@vitessce/json 3.0.1 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,6 +131,10 @@ const FileType$1 = {
131
131
  ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
132
132
  };
133
133
  const CoordinationType$1 = {
134
+ // Meta coordination scopes
135
+ META_COORDINATION_SCOPES: "metaCoordinationScopes",
136
+ META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
137
+ // Other coordination scopes
134
138
  DATASET: "dataset",
135
139
  // Entity types
136
140
  OBS_TYPE: "obsType",
@@ -12114,7 +12118,7 @@ var json2csv_umd = { exports: {} };
12114
12118
  return result == "0" && 1 / value == -INFINITY2 ? "-0" : result;
12115
12119
  }
12116
12120
  function castPath(value) {
12117
- return isArray$22(value) ? value : stringToPath4(value);
12121
+ return isArray$22(value) ? value : stringToPath3(value);
12118
12122
  }
12119
12123
  function getMapData2(map2, key) {
12120
12124
  var data = map2.__data__;
@@ -12141,7 +12145,7 @@ var json2csv_umd = { exports: {} };
12141
12145
  function isMasked2(func) {
12142
12146
  return !!maskSrcKey2 && maskSrcKey2 in func;
12143
12147
  }
12144
- var stringToPath4 = memoize2(function(string) {
12148
+ var stringToPath3 = memoize2(function(string) {
12145
12149
  string = toString$12(string);
12146
12150
  var result = [];
12147
12151
  if (reLeadingDot.test(string)) {
@@ -49890,10 +49894,10 @@ const DEFAULT_LIGHT_INTENSITY$2 = 1;
49890
49894
  let idCount$2 = 0;
49891
49895
  class AmbientLight {
49892
49896
  constructor(props2 = {}) {
49893
- _defineProperty$f(this, "id", void 0);
49894
- _defineProperty$f(this, "color", void 0);
49895
- _defineProperty$f(this, "intensity", void 0);
49896
- _defineProperty$f(this, "type", "ambient");
49897
+ _defineProperty$e(this, "id", void 0);
49898
+ _defineProperty$e(this, "color", void 0);
49899
+ _defineProperty$e(this, "intensity", void 0);
49900
+ _defineProperty$e(this, "type", "ambient");
49897
49901
  const {
49898
49902
  color = DEFAULT_LIGHT_COLOR$2
49899
49903
  } = props2;
@@ -49911,12 +49915,12 @@ const DEFAULT_LIGHT_DIRECTION = [0, 0, -1];
49911
49915
  let idCount$1 = 0;
49912
49916
  class DirectionalLight {
49913
49917
  constructor(props2 = {}) {
49914
- _defineProperty$f(this, "id", void 0);
49915
- _defineProperty$f(this, "color", void 0);
49916
- _defineProperty$f(this, "intensity", void 0);
49917
- _defineProperty$f(this, "type", "directional");
49918
- _defineProperty$f(this, "direction", void 0);
49919
- _defineProperty$f(this, "shadow", void 0);
49918
+ _defineProperty$e(this, "id", void 0);
49919
+ _defineProperty$e(this, "color", void 0);
49920
+ _defineProperty$e(this, "intensity", void 0);
49921
+ _defineProperty$e(this, "type", "directional");
49922
+ _defineProperty$e(this, "direction", void 0);
49923
+ _defineProperty$e(this, "shadow", void 0);
49920
49924
  const {
49921
49925
  color = DEFAULT_LIGHT_COLOR$1
49922
49926
  } = props2;
@@ -49944,9 +49948,9 @@ class Pass {
49944
49948
  constructor(gl, props2 = {
49945
49949
  id: "pass"
49946
49950
  }) {
49947
- _defineProperty$f(this, "id", void 0);
49948
- _defineProperty$f(this, "gl", void 0);
49949
- _defineProperty$f(this, "props", void 0);
49951
+ _defineProperty$e(this, "id", void 0);
49952
+ _defineProperty$e(this, "gl", void 0);
49953
+ _defineProperty$e(this, "props", void 0);
49950
49954
  const {
49951
49955
  id
49952
49956
  } = props2;
@@ -49967,7 +49971,7 @@ class Pass {
49967
49971
  class LayersPass extends Pass {
49968
49972
  constructor(...args) {
49969
49973
  super(...args);
49970
- _defineProperty$f(this, "_lastRenderIndex", -1);
49974
+ _defineProperty$e(this, "_lastRenderIndex", -1);
49971
49975
  }
49972
49976
  render(options) {
49973
49977
  const gl = this.gl;
@@ -50214,9 +50218,9 @@ function clearGLCanvas(gl) {
50214
50218
  class ShadowPass extends LayersPass {
50215
50219
  constructor(gl, props2) {
50216
50220
  super(gl, props2);
50217
- _defineProperty$f(this, "shadowMap", void 0);
50218
- _defineProperty$f(this, "depthBuffer", void 0);
50219
- _defineProperty$f(this, "fbo", void 0);
50221
+ _defineProperty$e(this, "shadowMap", void 0);
50222
+ _defineProperty$e(this, "depthBuffer", void 0);
50223
+ _defineProperty$e(this, "fbo", void 0);
50220
50224
  this.shadowMap = new Texture2D(gl, {
50221
50225
  width: 1,
50222
50226
  height: 1,
@@ -50306,18 +50310,18 @@ const DEFAULT_DIRECTIONAL_LIGHT_PROPS = [{
50306
50310
  const DEFAULT_SHADOW_COLOR = [0, 0, 0, 200 / 255];
50307
50311
  class LightingEffect {
50308
50312
  constructor(props2 = {}) {
50309
- _defineProperty$f(this, "id", "lighting-effect");
50310
- _defineProperty$f(this, "props", null);
50311
- _defineProperty$f(this, "shadowColor", DEFAULT_SHADOW_COLOR);
50312
- _defineProperty$f(this, "shadow", void 0);
50313
- _defineProperty$f(this, "ambientLight", null);
50314
- _defineProperty$f(this, "directionalLights", []);
50315
- _defineProperty$f(this, "pointLights", []);
50316
- _defineProperty$f(this, "shadowPasses", []);
50317
- _defineProperty$f(this, "shadowMaps", []);
50318
- _defineProperty$f(this, "dummyShadowMap", null);
50319
- _defineProperty$f(this, "programManager", void 0);
50320
- _defineProperty$f(this, "shadowMatrices", void 0);
50313
+ _defineProperty$e(this, "id", "lighting-effect");
50314
+ _defineProperty$e(this, "props", null);
50315
+ _defineProperty$e(this, "shadowColor", DEFAULT_SHADOW_COLOR);
50316
+ _defineProperty$e(this, "shadow", void 0);
50317
+ _defineProperty$e(this, "ambientLight", null);
50318
+ _defineProperty$e(this, "directionalLights", []);
50319
+ _defineProperty$e(this, "pointLights", []);
50320
+ _defineProperty$e(this, "shadowPasses", []);
50321
+ _defineProperty$e(this, "shadowMaps", []);
50322
+ _defineProperty$e(this, "dummyShadowMap", null);
50323
+ _defineProperty$e(this, "programManager", void 0);
50324
+ _defineProperty$e(this, "shadowMatrices", void 0);
50321
50325
  for (const key in props2) {
50322
50326
  const lightSource = props2[key];
50323
50327
  switch (lightSource.type) {
@@ -50440,8 +50444,8 @@ class LightingEffect {
50440
50444
  }
50441
50445
  class TypedArrayManager {
50442
50446
  constructor(options = {}) {
50443
- _defineProperty$f(this, "_pool", []);
50444
- _defineProperty$f(this, "opts", {
50447
+ _defineProperty$e(this, "_pool", []);
50448
+ _defineProperty$e(this, "opts", {
50445
50449
  overAlloc: 2,
50446
50450
  poolSize: 100
50447
50451
  });
@@ -50626,30 +50630,30 @@ function createProjectionMatrix({
50626
50630
  }
50627
50631
  class Viewport {
50628
50632
  constructor(opts2 = {}) {
50629
- _defineProperty$f(this, "id", void 0);
50630
- _defineProperty$f(this, "x", void 0);
50631
- _defineProperty$f(this, "y", void 0);
50632
- _defineProperty$f(this, "width", void 0);
50633
- _defineProperty$f(this, "height", void 0);
50634
- _defineProperty$f(this, "padding", void 0);
50635
- _defineProperty$f(this, "isGeospatial", void 0);
50636
- _defineProperty$f(this, "zoom", void 0);
50637
- _defineProperty$f(this, "focalDistance", void 0);
50638
- _defineProperty$f(this, "position", void 0);
50639
- _defineProperty$f(this, "modelMatrix", void 0);
50640
- _defineProperty$f(this, "distanceScales", void 0);
50641
- _defineProperty$f(this, "scale", void 0);
50642
- _defineProperty$f(this, "center", void 0);
50643
- _defineProperty$f(this, "cameraPosition", void 0);
50644
- _defineProperty$f(this, "projectionMatrix", void 0);
50645
- _defineProperty$f(this, "viewMatrix", void 0);
50646
- _defineProperty$f(this, "viewMatrixUncentered", void 0);
50647
- _defineProperty$f(this, "viewMatrixInverse", void 0);
50648
- _defineProperty$f(this, "viewProjectionMatrix", void 0);
50649
- _defineProperty$f(this, "pixelProjectionMatrix", void 0);
50650
- _defineProperty$f(this, "pixelUnprojectionMatrix", void 0);
50651
- _defineProperty$f(this, "resolution", void 0);
50652
- _defineProperty$f(this, "_frustumPlanes", {});
50633
+ _defineProperty$e(this, "id", void 0);
50634
+ _defineProperty$e(this, "x", void 0);
50635
+ _defineProperty$e(this, "y", void 0);
50636
+ _defineProperty$e(this, "width", void 0);
50637
+ _defineProperty$e(this, "height", void 0);
50638
+ _defineProperty$e(this, "padding", void 0);
50639
+ _defineProperty$e(this, "isGeospatial", void 0);
50640
+ _defineProperty$e(this, "zoom", void 0);
50641
+ _defineProperty$e(this, "focalDistance", void 0);
50642
+ _defineProperty$e(this, "position", void 0);
50643
+ _defineProperty$e(this, "modelMatrix", void 0);
50644
+ _defineProperty$e(this, "distanceScales", void 0);
50645
+ _defineProperty$e(this, "scale", void 0);
50646
+ _defineProperty$e(this, "center", void 0);
50647
+ _defineProperty$e(this, "cameraPosition", void 0);
50648
+ _defineProperty$e(this, "projectionMatrix", void 0);
50649
+ _defineProperty$e(this, "viewMatrix", void 0);
50650
+ _defineProperty$e(this, "viewMatrixUncentered", void 0);
50651
+ _defineProperty$e(this, "viewMatrixInverse", void 0);
50652
+ _defineProperty$e(this, "viewProjectionMatrix", void 0);
50653
+ _defineProperty$e(this, "pixelProjectionMatrix", void 0);
50654
+ _defineProperty$e(this, "pixelUnprojectionMatrix", void 0);
50655
+ _defineProperty$e(this, "resolution", void 0);
50656
+ _defineProperty$e(this, "_frustumPlanes", {});
50653
50657
  this.id = opts2.id || this.constructor.displayName || "viewport";
50654
50658
  this.x = opts2.x || 0;
50655
50659
  this.y = opts2.y || 0;
@@ -50852,7 +50856,7 @@ class Viewport {
50852
50856
  }
50853
50857
  }
50854
50858
  }
50855
- _defineProperty$f(Viewport, "displayName", "Viewport");
50859
+ _defineProperty$e(Viewport, "displayName", "Viewport");
50856
50860
  const TILE_SIZE$4 = 512;
50857
50861
  const EARTH_CIRCUMFERENCE = 4003e4;
50858
50862
  const DEGREES_TO_RADIANS$3 = Math.PI / 180;
@@ -50928,15 +50932,15 @@ class WebMercatorViewport2 extends Viewport {
50928
50932
  fovy,
50929
50933
  focalDistance: altitude
50930
50934
  });
50931
- _defineProperty$f(this, "longitude", void 0);
50932
- _defineProperty$f(this, "latitude", void 0);
50933
- _defineProperty$f(this, "pitch", void 0);
50934
- _defineProperty$f(this, "bearing", void 0);
50935
- _defineProperty$f(this, "altitude", void 0);
50936
- _defineProperty$f(this, "fovy", void 0);
50937
- _defineProperty$f(this, "orthographic", void 0);
50938
- _defineProperty$f(this, "_subViewports", void 0);
50939
- _defineProperty$f(this, "_pseudoMeters", void 0);
50935
+ _defineProperty$e(this, "longitude", void 0);
50936
+ _defineProperty$e(this, "latitude", void 0);
50937
+ _defineProperty$e(this, "pitch", void 0);
50938
+ _defineProperty$e(this, "bearing", void 0);
50939
+ _defineProperty$e(this, "altitude", void 0);
50940
+ _defineProperty$e(this, "fovy", void 0);
50941
+ _defineProperty$e(this, "orthographic", void 0);
50942
+ _defineProperty$e(this, "_subViewports", void 0);
50943
+ _defineProperty$e(this, "_pseudoMeters", void 0);
50940
50944
  this.latitude = latitude;
50941
50945
  this.longitude = longitude;
50942
50946
  this.zoom = zoom;
@@ -51022,7 +51026,7 @@ class WebMercatorViewport2 extends Viewport {
51022
51026
  });
51023
51027
  }
51024
51028
  }
51025
- _defineProperty$f(WebMercatorViewport2, "displayName", "WebMercatorViewport");
51029
+ _defineProperty$e(WebMercatorViewport2, "displayName", "WebMercatorViewport");
51026
51030
  function lngLatZToWorldPosition(lngLatZ, viewport, offsetMode = false) {
51027
51031
  const p = viewport.projectPosition(lngLatZ);
51028
51032
  if (offsetMode && viewport instanceof WebMercatorViewport2) {
@@ -51118,13 +51122,13 @@ const DEFAULT_LIGHT_POSITION = [0, 0, 1];
51118
51122
  let idCount = 0;
51119
51123
  class PointLight {
51120
51124
  constructor(props2 = {}) {
51121
- _defineProperty$f(this, "id", void 0);
51122
- _defineProperty$f(this, "color", void 0);
51123
- _defineProperty$f(this, "intensity", void 0);
51124
- _defineProperty$f(this, "type", "point");
51125
- _defineProperty$f(this, "position", void 0);
51126
- _defineProperty$f(this, "attenuation", void 0);
51127
- _defineProperty$f(this, "projectedLight", void 0);
51125
+ _defineProperty$e(this, "id", void 0);
51126
+ _defineProperty$e(this, "color", void 0);
51127
+ _defineProperty$e(this, "intensity", void 0);
51128
+ _defineProperty$e(this, "type", "point");
51129
+ _defineProperty$e(this, "position", void 0);
51130
+ _defineProperty$e(this, "attenuation", void 0);
51131
+ _defineProperty$e(this, "projectedLight", void 0);
51128
51132
  const {
51129
51133
  color = DEFAULT_LIGHT_COLOR
51130
51134
  } = props2;
@@ -51281,7 +51285,7 @@ function getSunCoords(dates) {
51281
51285
  class SunLight extends DirectionalLight {
51282
51286
  constructor(opts2) {
51283
51287
  super(opts2);
51284
- _defineProperty$f(this, "timestamp", void 0);
51288
+ _defineProperty$e(this, "timestamp", void 0);
51285
51289
  this.timestamp = opts2.timestamp;
51286
51290
  }
51287
51291
  getProjectedLight({
@@ -51307,7 +51311,7 @@ class SunLight extends DirectionalLight {
51307
51311
  class ScreenPass extends Pass {
51308
51312
  constructor(gl, props2) {
51309
51313
  super(gl, props2);
51310
- _defineProperty$f(this, "model", void 0);
51314
+ _defineProperty$e(this, "model", void 0);
51311
51315
  const {
51312
51316
  module: module2,
51313
51317
  fs: fs2,
@@ -51355,10 +51359,10 @@ class ScreenPass extends Pass {
51355
51359
  }
51356
51360
  class PostProcessEffect {
51357
51361
  constructor(module2, props2 = {}) {
51358
- _defineProperty$f(this, "id", void 0);
51359
- _defineProperty$f(this, "props", void 0);
51360
- _defineProperty$f(this, "module", void 0);
51361
- _defineProperty$f(this, "passes", void 0);
51362
+ _defineProperty$e(this, "id", void 0);
51363
+ _defineProperty$e(this, "props", void 0);
51364
+ _defineProperty$e(this, "module", void 0);
51365
+ _defineProperty$e(this, "passes", void 0);
51362
51366
  this.id = "".concat(module2.name, "-pass");
51363
51367
  this.props = props2;
51364
51368
  normalizeShaderModule(module2);
@@ -51487,16 +51491,16 @@ function fillArray({
51487
51491
  }
51488
51492
  class Resource2 {
51489
51493
  constructor(id, data, context) {
51490
- _defineProperty$f(this, "id", void 0);
51491
- _defineProperty$f(this, "context", void 0);
51492
- _defineProperty$f(this, "isLoaded", void 0);
51493
- _defineProperty$f(this, "persistent", void 0);
51494
- _defineProperty$f(this, "_loadCount", 0);
51495
- _defineProperty$f(this, "_subscribers", /* @__PURE__ */ new Set());
51496
- _defineProperty$f(this, "_data", void 0);
51497
- _defineProperty$f(this, "_loader", void 0);
51498
- _defineProperty$f(this, "_error", void 0);
51499
- _defineProperty$f(this, "_content", void 0);
51494
+ _defineProperty$e(this, "id", void 0);
51495
+ _defineProperty$e(this, "context", void 0);
51496
+ _defineProperty$e(this, "isLoaded", void 0);
51497
+ _defineProperty$e(this, "persistent", void 0);
51498
+ _defineProperty$e(this, "_loadCount", 0);
51499
+ _defineProperty$e(this, "_subscribers", /* @__PURE__ */ new Set());
51500
+ _defineProperty$e(this, "_data", void 0);
51501
+ _defineProperty$e(this, "_loader", void 0);
51502
+ _defineProperty$e(this, "_error", void 0);
51503
+ _defineProperty$e(this, "_content", void 0);
51500
51504
  this.id = id;
51501
51505
  this.context = context;
51502
51506
  this.setData(data);
@@ -51554,11 +51558,11 @@ class ResourceManager {
51554
51558
  gl,
51555
51559
  protocol
51556
51560
  }) {
51557
- _defineProperty$f(this, "protocol", void 0);
51558
- _defineProperty$f(this, "_context", void 0);
51559
- _defineProperty$f(this, "_resources", void 0);
51560
- _defineProperty$f(this, "_consumers", void 0);
51561
- _defineProperty$f(this, "_pruneRequest", void 0);
51561
+ _defineProperty$e(this, "protocol", void 0);
51562
+ _defineProperty$e(this, "_context", void 0);
51563
+ _defineProperty$e(this, "_resources", void 0);
51564
+ _defineProperty$e(this, "_consumers", void 0);
51565
+ _defineProperty$e(this, "_pruneRequest", void 0);
51562
51566
  this.protocol = protocol || "resource://";
51563
51567
  this._context = {
51564
51568
  gl,
@@ -51685,15 +51689,15 @@ class LayerManager {
51685
51689
  viewport: _viewport,
51686
51690
  timeline
51687
51691
  } = {}) {
51688
- _defineProperty$f(this, "layers", void 0);
51689
- _defineProperty$f(this, "context", void 0);
51690
- _defineProperty$f(this, "resourceManager", void 0);
51691
- _defineProperty$f(this, "_lastRenderedLayers", []);
51692
- _defineProperty$f(this, "_needsRedraw", false);
51693
- _defineProperty$f(this, "_needsUpdate", false);
51694
- _defineProperty$f(this, "_nextLayers", null);
51695
- _defineProperty$f(this, "_debug", false);
51696
- _defineProperty$f(this, "activateViewport", (viewport) => {
51692
+ _defineProperty$e(this, "layers", void 0);
51693
+ _defineProperty$e(this, "context", void 0);
51694
+ _defineProperty$e(this, "resourceManager", void 0);
51695
+ _defineProperty$e(this, "_lastRenderedLayers", []);
51696
+ _defineProperty$e(this, "_needsRedraw", false);
51697
+ _defineProperty$e(this, "_needsUpdate", false);
51698
+ _defineProperty$e(this, "_nextLayers", null);
51699
+ _defineProperty$e(this, "_debug", false);
51700
+ _defineProperty$e(this, "activateViewport", (viewport) => {
51697
51701
  debug(TRACE_ACTIVATE_VIEWPORT, this, viewport);
51698
51702
  if (viewport) {
51699
51703
  this.context.viewport = viewport;
@@ -51904,19 +51908,19 @@ function deepEqual$2(a2, b) {
51904
51908
  }
51905
51909
  class ViewManager {
51906
51910
  constructor(props2) {
51907
- _defineProperty$f(this, "width", void 0);
51908
- _defineProperty$f(this, "height", void 0);
51909
- _defineProperty$f(this, "views", void 0);
51910
- _defineProperty$f(this, "viewState", void 0);
51911
- _defineProperty$f(this, "controllers", void 0);
51912
- _defineProperty$f(this, "timeline", void 0);
51913
- _defineProperty$f(this, "_viewports", void 0);
51914
- _defineProperty$f(this, "_viewportMap", void 0);
51915
- _defineProperty$f(this, "_isUpdating", void 0);
51916
- _defineProperty$f(this, "_needsRedraw", void 0);
51917
- _defineProperty$f(this, "_needsUpdate", void 0);
51918
- _defineProperty$f(this, "_eventManager", void 0);
51919
- _defineProperty$f(this, "_eventCallbacks", void 0);
51911
+ _defineProperty$e(this, "width", void 0);
51912
+ _defineProperty$e(this, "height", void 0);
51913
+ _defineProperty$e(this, "views", void 0);
51914
+ _defineProperty$e(this, "viewState", void 0);
51915
+ _defineProperty$e(this, "controllers", void 0);
51916
+ _defineProperty$e(this, "timeline", void 0);
51917
+ _defineProperty$e(this, "_viewports", void 0);
51918
+ _defineProperty$e(this, "_viewportMap", void 0);
51919
+ _defineProperty$e(this, "_isUpdating", void 0);
51920
+ _defineProperty$e(this, "_needsRedraw", void 0);
51921
+ _defineProperty$e(this, "_needsUpdate", void 0);
51922
+ _defineProperty$e(this, "_eventManager", void 0);
51923
+ _defineProperty$e(this, "_eventCallbacks", void 0);
51920
51924
  this.views = [];
51921
51925
  this.width = 100;
51922
51926
  this.height = 100;
@@ -52190,14 +52194,14 @@ function assert$4(condition, message) {
52190
52194
  }
52191
52195
  class View {
52192
52196
  constructor(props2) {
52193
- _defineProperty$f(this, "id", void 0);
52194
- _defineProperty$f(this, "viewportInstance", void 0);
52195
- _defineProperty$f(this, "_x", void 0);
52196
- _defineProperty$f(this, "_y", void 0);
52197
- _defineProperty$f(this, "_width", void 0);
52198
- _defineProperty$f(this, "_height", void 0);
52199
- _defineProperty$f(this, "_padding", void 0);
52200
- _defineProperty$f(this, "props", void 0);
52197
+ _defineProperty$e(this, "id", void 0);
52198
+ _defineProperty$e(this, "viewportInstance", void 0);
52199
+ _defineProperty$e(this, "_x", void 0);
52200
+ _defineProperty$e(this, "_y", void 0);
52201
+ _defineProperty$e(this, "_width", void 0);
52202
+ _defineProperty$e(this, "_height", void 0);
52203
+ _defineProperty$e(this, "_padding", void 0);
52204
+ _defineProperty$e(this, "props", void 0);
52201
52205
  const {
52202
52206
  id,
52203
52207
  x: x2 = 0,
@@ -52324,11 +52328,11 @@ class View {
52324
52328
  }
52325
52329
  class Transition {
52326
52330
  constructor(timeline) {
52327
- _defineProperty$f(this, "_inProgress", void 0);
52328
- _defineProperty$f(this, "_handle", void 0);
52329
- _defineProperty$f(this, "_timeline", void 0);
52330
- _defineProperty$f(this, "time", void 0);
52331
- _defineProperty$f(this, "settings", void 0);
52331
+ _defineProperty$e(this, "_inProgress", void 0);
52332
+ _defineProperty$e(this, "_handle", void 0);
52333
+ _defineProperty$e(this, "_timeline", void 0);
52334
+ _defineProperty$e(this, "time", void 0);
52335
+ _defineProperty$e(this, "settings", void 0);
52332
52336
  this._inProgress = false;
52333
52337
  this._handle = null;
52334
52338
  this._timeline = timeline;
@@ -52402,13 +52406,13 @@ const DEFAULT_EASING = (t2) => t2;
52402
52406
  const DEFAULT_INTERRUPTION = TRANSITION_EVENTS.BREAK;
52403
52407
  class TransitionManager {
52404
52408
  constructor(opts2) {
52405
- _defineProperty$f(this, "getControllerState", void 0);
52406
- _defineProperty$f(this, "props", void 0);
52407
- _defineProperty$f(this, "propsInTransition", void 0);
52408
- _defineProperty$f(this, "transition", void 0);
52409
- _defineProperty$f(this, "onViewStateChange", void 0);
52410
- _defineProperty$f(this, "onStateChange", void 0);
52411
- _defineProperty$f(this, "_onTransitionUpdate", (transition) => {
52409
+ _defineProperty$e(this, "getControllerState", void 0);
52410
+ _defineProperty$e(this, "props", void 0);
52411
+ _defineProperty$e(this, "propsInTransition", void 0);
52412
+ _defineProperty$e(this, "transition", void 0);
52413
+ _defineProperty$e(this, "onViewStateChange", void 0);
52414
+ _defineProperty$e(this, "onStateChange", void 0);
52415
+ _defineProperty$e(this, "_onTransitionUpdate", (transition) => {
52412
52416
  const {
52413
52417
  time,
52414
52418
  settings: {
@@ -52536,9 +52540,9 @@ class TransitionManager {
52536
52540
  }
52537
52541
  class TransitionInterpolator {
52538
52542
  constructor(opts2) {
52539
- _defineProperty$f(this, "_propsToCompare", void 0);
52540
- _defineProperty$f(this, "_propsToExtract", void 0);
52541
- _defineProperty$f(this, "_requiredProps", void 0);
52543
+ _defineProperty$e(this, "_propsToCompare", void 0);
52544
+ _defineProperty$e(this, "_propsToExtract", void 0);
52545
+ _defineProperty$e(this, "_requiredProps", void 0);
52542
52546
  const {
52543
52547
  compare: compare2,
52544
52548
  extract,
@@ -52599,7 +52603,7 @@ class LinearInterpolator extends TransitionInterpolator {
52599
52603
  required: DEFAULT_REQUIRED_PROPS
52600
52604
  };
52601
52605
  super(normalizedOpts.transitionProps);
52602
- _defineProperty$f(this, "opts", void 0);
52606
+ _defineProperty$e(this, "opts", void 0);
52603
52607
  this.opts = normalizedOpts;
52604
52608
  }
52605
52609
  initializeProps(startProps, endProps) {
@@ -52653,31 +52657,31 @@ const EVENT_TYPES = {
52653
52657
  const pinchEventWorkaround = {};
52654
52658
  class Controller {
52655
52659
  constructor(opts2) {
52656
- _defineProperty$f(this, "props", void 0);
52657
- _defineProperty$f(this, "state", {});
52658
- _defineProperty$f(this, "transitionManager", void 0);
52659
- _defineProperty$f(this, "eventManager", void 0);
52660
- _defineProperty$f(this, "onViewStateChange", void 0);
52661
- _defineProperty$f(this, "onStateChange", void 0);
52662
- _defineProperty$f(this, "makeViewport", void 0);
52663
- _defineProperty$f(this, "_controllerState", void 0);
52664
- _defineProperty$f(this, "_events", {});
52665
- _defineProperty$f(this, "_interactionState", {
52660
+ _defineProperty$e(this, "props", void 0);
52661
+ _defineProperty$e(this, "state", {});
52662
+ _defineProperty$e(this, "transitionManager", void 0);
52663
+ _defineProperty$e(this, "eventManager", void 0);
52664
+ _defineProperty$e(this, "onViewStateChange", void 0);
52665
+ _defineProperty$e(this, "onStateChange", void 0);
52666
+ _defineProperty$e(this, "makeViewport", void 0);
52667
+ _defineProperty$e(this, "_controllerState", void 0);
52668
+ _defineProperty$e(this, "_events", {});
52669
+ _defineProperty$e(this, "_interactionState", {
52666
52670
  isDragging: false
52667
52671
  });
52668
- _defineProperty$f(this, "_customEvents", []);
52669
- _defineProperty$f(this, "_eventStartBlocked", null);
52670
- _defineProperty$f(this, "_panMove", false);
52671
- _defineProperty$f(this, "invertPan", false);
52672
- _defineProperty$f(this, "dragMode", "rotate");
52673
- _defineProperty$f(this, "inertia", 0);
52674
- _defineProperty$f(this, "scrollZoom", true);
52675
- _defineProperty$f(this, "dragPan", true);
52676
- _defineProperty$f(this, "dragRotate", true);
52677
- _defineProperty$f(this, "doubleClickZoom", true);
52678
- _defineProperty$f(this, "touchZoom", true);
52679
- _defineProperty$f(this, "touchRotate", false);
52680
- _defineProperty$f(this, "keyboard", true);
52672
+ _defineProperty$e(this, "_customEvents", []);
52673
+ _defineProperty$e(this, "_eventStartBlocked", null);
52674
+ _defineProperty$e(this, "_panMove", false);
52675
+ _defineProperty$e(this, "invertPan", false);
52676
+ _defineProperty$e(this, "dragMode", "rotate");
52677
+ _defineProperty$e(this, "inertia", 0);
52678
+ _defineProperty$e(this, "scrollZoom", true);
52679
+ _defineProperty$e(this, "dragPan", true);
52680
+ _defineProperty$e(this, "dragRotate", true);
52681
+ _defineProperty$e(this, "doubleClickZoom", true);
52682
+ _defineProperty$e(this, "touchZoom", true);
52683
+ _defineProperty$e(this, "touchRotate", false);
52684
+ _defineProperty$e(this, "keyboard", true);
52681
52685
  this.transitionManager = new TransitionManager({
52682
52686
  ...opts2,
52683
52687
  getControllerState: (props2) => new this.ControllerState(props2),
@@ -53288,8 +53292,8 @@ class Controller {
53288
53292
  }
53289
53293
  class ViewState {
53290
53294
  constructor(props2, state) {
53291
- _defineProperty$f(this, "_viewportProps", void 0);
53292
- _defineProperty$f(this, "_state", void 0);
53295
+ _defineProperty$e(this, "_viewportProps", void 0);
53296
+ _defineProperty$e(this, "_state", void 0);
53293
53297
  this._viewportProps = this.applyConstraints(props2);
53294
53298
  this._state = state;
53295
53299
  }
@@ -53352,7 +53356,7 @@ class MapState extends ViewState {
53352
53356
  startPitch,
53353
53357
  startZoom
53354
53358
  });
53355
- _defineProperty$f(this, "makeViewport", void 0);
53359
+ _defineProperty$e(this, "makeViewport", void 0);
53356
53360
  this.makeViewport = options.makeViewport;
53357
53361
  }
53358
53362
  panStart({
@@ -53612,8 +53616,8 @@ class MapState extends ViewState {
53612
53616
  class MapController extends Controller {
53613
53617
  constructor(...args) {
53614
53618
  super(...args);
53615
- _defineProperty$f(this, "ControllerState", MapState);
53616
- _defineProperty$f(this, "transition", {
53619
+ _defineProperty$e(this, "ControllerState", MapState);
53620
+ _defineProperty$e(this, "transition", {
53617
53621
  transitionDuration: 300,
53618
53622
  transitionInterpolator: new LinearInterpolator({
53619
53623
  transitionProps: {
@@ -53622,7 +53626,7 @@ class MapController extends Controller {
53622
53626
  }
53623
53627
  })
53624
53628
  });
53625
- _defineProperty$f(this, "dragMode", "pan");
53629
+ _defineProperty$e(this, "dragMode", "pan");
53626
53630
  }
53627
53631
  setProps(props2) {
53628
53632
  props2.position = props2.position || [0, 0, 0];
@@ -53646,12 +53650,12 @@ class MapView extends View {
53646
53650
  return MapController;
53647
53651
  }
53648
53652
  }
53649
- _defineProperty$f(MapView, "displayName", "MapView");
53653
+ _defineProperty$e(MapView, "displayName", "MapView");
53650
53654
  class MaskPass extends LayersPass {
53651
53655
  constructor(gl, props2) {
53652
53656
  super(gl, props2);
53653
- _defineProperty$f(this, "maskMap", void 0);
53654
- _defineProperty$f(this, "fbo", void 0);
53657
+ _defineProperty$e(this, "maskMap", void 0);
53658
+ _defineProperty$e(this, "fbo", void 0);
53655
53659
  const {
53656
53660
  mapSize = 2048
53657
53661
  } = props2;
@@ -53838,7 +53842,7 @@ class OrbitState extends ViewState {
53838
53842
  startZoomPosition,
53839
53843
  startZoom
53840
53844
  });
53841
- _defineProperty$f(this, "makeViewport", void 0);
53845
+ _defineProperty$e(this, "makeViewport", void 0);
53842
53846
  this.makeViewport = options.makeViewport;
53843
53847
  }
53844
53848
  panStart({
@@ -54075,8 +54079,8 @@ class OrbitState extends ViewState {
54075
54079
  class OrbitController extends Controller {
54076
54080
  constructor(...args) {
54077
54081
  super(...args);
54078
- _defineProperty$f(this, "ControllerState", OrbitState);
54079
- _defineProperty$f(this, "transition", {
54082
+ _defineProperty$e(this, "ControllerState", OrbitState);
54083
+ _defineProperty$e(this, "transition", {
54080
54084
  transitionDuration: 300,
54081
54085
  transitionInterpolator: new LinearInterpolator({
54082
54086
  transitionProps: {
@@ -54090,7 +54094,7 @@ class OrbitController extends Controller {
54090
54094
  class OrthographicState extends OrbitState {
54091
54095
  constructor(props2) {
54092
54096
  super(props2);
54093
- _defineProperty$f(this, "zoomAxis", void 0);
54097
+ _defineProperty$e(this, "zoomAxis", void 0);
54094
54098
  this.zoomAxis = props2.zoomAxis || "all";
54095
54099
  }
54096
54100
  _calculateNewZoom({
@@ -54134,12 +54138,12 @@ class OrthographicState extends OrbitState {
54134
54138
  class OrthographicController extends Controller {
54135
54139
  constructor(...args) {
54136
54140
  super(...args);
54137
- _defineProperty$f(this, "ControllerState", OrthographicState);
54138
- _defineProperty$f(this, "transition", {
54141
+ _defineProperty$e(this, "ControllerState", OrthographicState);
54142
+ _defineProperty$e(this, "transition", {
54139
54143
  transitionDuration: 300,
54140
54144
  transitionInterpolator: new LinearInterpolator(["target", "zoom"])
54141
54145
  });
54142
- _defineProperty$f(this, "dragMode", "pan");
54146
+ _defineProperty$e(this, "dragMode", "pan");
54143
54147
  }
54144
54148
  _onPanRotate() {
54145
54149
  return false;
@@ -54153,7 +54157,7 @@ class OrthographicView extends View {
54153
54157
  return OrthographicController;
54154
54158
  }
54155
54159
  }
54156
- _defineProperty$f(OrthographicView, "displayName", "OrthographicView");
54160
+ _defineProperty$e(OrthographicView, "displayName", "OrthographicView");
54157
54161
  function getMaskBounds({
54158
54162
  layers,
54159
54163
  viewport
@@ -54246,15 +54250,15 @@ function _doubleBounds(bounds2) {
54246
54250
  }
54247
54251
  class MaskEffect {
54248
54252
  constructor() {
54249
- _defineProperty$f(this, "id", "mask-effect");
54250
- _defineProperty$f(this, "props", null);
54251
- _defineProperty$f(this, "useInPicking", true);
54252
- _defineProperty$f(this, "dummyMaskMap", void 0);
54253
- _defineProperty$f(this, "channels", []);
54254
- _defineProperty$f(this, "masks", null);
54255
- _defineProperty$f(this, "maskPass", void 0);
54256
- _defineProperty$f(this, "maskMap", void 0);
54257
- _defineProperty$f(this, "lastViewport", void 0);
54253
+ _defineProperty$e(this, "id", "mask-effect");
54254
+ _defineProperty$e(this, "props", null);
54255
+ _defineProperty$e(this, "useInPicking", true);
54256
+ _defineProperty$e(this, "dummyMaskMap", void 0);
54257
+ _defineProperty$e(this, "channels", []);
54258
+ _defineProperty$e(this, "masks", null);
54259
+ _defineProperty$e(this, "maskPass", void 0);
54260
+ _defineProperty$e(this, "maskMap", void 0);
54261
+ _defineProperty$e(this, "lastViewport", void 0);
54258
54262
  }
54259
54263
  preRender(gl, {
54260
54264
  layers,
@@ -54414,9 +54418,9 @@ class MaskEffect {
54414
54418
  const DEFAULT_LIGHTING_EFFECT = new LightingEffect();
54415
54419
  class EffectManager {
54416
54420
  constructor() {
54417
- _defineProperty$f(this, "effects", void 0);
54418
- _defineProperty$f(this, "_internalEffects", void 0);
54419
- _defineProperty$f(this, "_needsRedraw", void 0);
54421
+ _defineProperty$e(this, "effects", void 0);
54422
+ _defineProperty$e(this, "_internalEffects", void 0);
54423
+ _defineProperty$e(this, "_needsRedraw", void 0);
54420
54424
  this.effects = [];
54421
54425
  this._internalEffects = [];
54422
54426
  this._needsRedraw = "Initial render";
@@ -54477,8 +54481,8 @@ const PICKING_PARAMETERS = {
54477
54481
  class PickLayersPass extends LayersPass {
54478
54482
  constructor(...args) {
54479
54483
  super(...args);
54480
- _defineProperty$f(this, "pickZ", void 0);
54481
- _defineProperty$f(this, "_colors", null);
54484
+ _defineProperty$e(this, "pickZ", void 0);
54485
+ _defineProperty$e(this, "_colors", null);
54482
54486
  }
54483
54487
  render(props2) {
54484
54488
  if (props2.pickingFBO) {
@@ -54909,13 +54913,13 @@ function getViewportFromCoordinates(viewports, pixel) {
54909
54913
  }
54910
54914
  class DeckPicker {
54911
54915
  constructor(gl) {
54912
- _defineProperty$f(this, "gl", void 0);
54913
- _defineProperty$f(this, "pickingFBO", void 0);
54914
- _defineProperty$f(this, "depthFBO", void 0);
54915
- _defineProperty$f(this, "pickLayersPass", void 0);
54916
- _defineProperty$f(this, "layerFilter", void 0);
54917
- _defineProperty$f(this, "lastPickedInfo", void 0);
54918
- _defineProperty$f(this, "_pickable", true);
54916
+ _defineProperty$e(this, "gl", void 0);
54917
+ _defineProperty$e(this, "pickingFBO", void 0);
54918
+ _defineProperty$e(this, "depthFBO", void 0);
54919
+ _defineProperty$e(this, "pickLayersPass", void 0);
54920
+ _defineProperty$e(this, "layerFilter", void 0);
54921
+ _defineProperty$e(this, "lastPickedInfo", void 0);
54922
+ _defineProperty$e(this, "_pickable", true);
54919
54923
  this.gl = gl;
54920
54924
  this.pickLayersPass = new PickLayersPass(gl);
54921
54925
  this.lastPickedInfo = {
@@ -55287,8 +55291,8 @@ const defaultStyle = {
55287
55291
  };
55288
55292
  class Tooltip {
55289
55293
  constructor(canvas) {
55290
- _defineProperty$f(this, "el", null);
55291
- _defineProperty$f(this, "isVisible", false);
55294
+ _defineProperty$e(this, "el", null);
55295
+ _defineProperty$e(this, "isVisible", false);
55292
55296
  const canvasParent = canvas.parentElement;
55293
55297
  if (canvasParent) {
55294
55298
  this.el = document.createElement("div");
@@ -58018,28 +58022,28 @@ const defaultProps$M = {
58018
58022
  };
58019
58023
  class Deck {
58020
58024
  constructor(props2) {
58021
- _defineProperty$f(this, "props", void 0);
58022
- _defineProperty$f(this, "width", 0);
58023
- _defineProperty$f(this, "height", 0);
58024
- _defineProperty$f(this, "userData", {});
58025
- _defineProperty$f(this, "canvas", null);
58026
- _defineProperty$f(this, "viewManager", null);
58027
- _defineProperty$f(this, "layerManager", null);
58028
- _defineProperty$f(this, "effectManager", null);
58029
- _defineProperty$f(this, "deckRenderer", null);
58030
- _defineProperty$f(this, "deckPicker", null);
58031
- _defineProperty$f(this, "eventManager", null);
58032
- _defineProperty$f(this, "tooltip", null);
58033
- _defineProperty$f(this, "metrics", void 0);
58034
- _defineProperty$f(this, "animationLoop", void 0);
58035
- _defineProperty$f(this, "stats", void 0);
58036
- _defineProperty$f(this, "viewState", void 0);
58037
- _defineProperty$f(this, "cursorState", void 0);
58038
- _defineProperty$f(this, "_needsRedraw", void 0);
58039
- _defineProperty$f(this, "_pickRequest", void 0);
58040
- _defineProperty$f(this, "_lastPointerDownInfo", null);
58041
- _defineProperty$f(this, "_metricsCounter", void 0);
58042
- _defineProperty$f(this, "_onPointerMove", (event) => {
58025
+ _defineProperty$e(this, "props", void 0);
58026
+ _defineProperty$e(this, "width", 0);
58027
+ _defineProperty$e(this, "height", 0);
58028
+ _defineProperty$e(this, "userData", {});
58029
+ _defineProperty$e(this, "canvas", null);
58030
+ _defineProperty$e(this, "viewManager", null);
58031
+ _defineProperty$e(this, "layerManager", null);
58032
+ _defineProperty$e(this, "effectManager", null);
58033
+ _defineProperty$e(this, "deckRenderer", null);
58034
+ _defineProperty$e(this, "deckPicker", null);
58035
+ _defineProperty$e(this, "eventManager", null);
58036
+ _defineProperty$e(this, "tooltip", null);
58037
+ _defineProperty$e(this, "metrics", void 0);
58038
+ _defineProperty$e(this, "animationLoop", void 0);
58039
+ _defineProperty$e(this, "stats", void 0);
58040
+ _defineProperty$e(this, "viewState", void 0);
58041
+ _defineProperty$e(this, "cursorState", void 0);
58042
+ _defineProperty$e(this, "_needsRedraw", void 0);
58043
+ _defineProperty$e(this, "_pickRequest", void 0);
58044
+ _defineProperty$e(this, "_lastPointerDownInfo", null);
58045
+ _defineProperty$e(this, "_metricsCounter", void 0);
58046
+ _defineProperty$e(this, "_onPointerMove", (event) => {
58043
58047
  const {
58044
58048
  _pickRequest
58045
58049
  } = this;
@@ -58066,7 +58070,7 @@ class Deck {
58066
58070
  }
58067
58071
  _pickRequest.event = event;
58068
58072
  });
58069
- _defineProperty$f(this, "_onEvent", (event) => {
58073
+ _defineProperty$e(this, "_onEvent", (event) => {
58070
58074
  const eventOptions = EVENTS[event.type];
58071
58075
  const pos = event.offsetCenter;
58072
58076
  if (!eventOptions || !pos || !this.layerManager) {
@@ -58092,7 +58096,7 @@ class Deck {
58092
58096
  rootHandler(info, event);
58093
58097
  }
58094
58098
  });
58095
- _defineProperty$f(this, "_onPointerDown", (event) => {
58099
+ _defineProperty$e(this, "_onPointerDown", (event) => {
58096
58100
  const pos = event.offsetCenter;
58097
58101
  const pickedInfo = this._pick("pickObject", "pickObject Time", {
58098
58102
  x: pos.x,
@@ -58604,12 +58608,12 @@ class Deck {
58604
58608
  metrics.gpuMemory = memoryStats.get("GPU Memory").count;
58605
58609
  }
58606
58610
  }
58607
- _defineProperty$f(Deck, "defaultProps", defaultProps$M);
58608
- _defineProperty$f(Deck, "VERSION", deckGlobal.VERSION);
58611
+ _defineProperty$e(Deck, "defaultProps", defaultProps$M);
58612
+ _defineProperty$e(Deck, "VERSION", deckGlobal.VERSION);
58609
58613
  class ShaderAttribute {
58610
58614
  constructor(dataColumn, opts2) {
58611
- _defineProperty$f(this, "opts", void 0);
58612
- _defineProperty$f(this, "source", void 0);
58615
+ _defineProperty$e(this, "opts", void 0);
58616
+ _defineProperty$e(this, "source", void 0);
58613
58617
  this.opts = opts2;
58614
58618
  this.source = dataColumn;
58615
58619
  }
@@ -58699,14 +58703,14 @@ function resolveDoublePrecisionShaderAttributes(baseAccessor, shaderAttributeOpt
58699
58703
  }
58700
58704
  class DataColumn {
58701
58705
  constructor(gl, opts2, state) {
58702
- _defineProperty$f(this, "gl", void 0);
58703
- _defineProperty$f(this, "id", void 0);
58704
- _defineProperty$f(this, "size", void 0);
58705
- _defineProperty$f(this, "settings", void 0);
58706
- _defineProperty$f(this, "value", void 0);
58707
- _defineProperty$f(this, "doublePrecision", void 0);
58708
- _defineProperty$f(this, "_buffer", void 0);
58709
- _defineProperty$f(this, "state", void 0);
58706
+ _defineProperty$e(this, "gl", void 0);
58707
+ _defineProperty$e(this, "id", void 0);
58708
+ _defineProperty$e(this, "size", void 0);
58709
+ _defineProperty$e(this, "settings", void 0);
58710
+ _defineProperty$e(this, "value", void 0);
58711
+ _defineProperty$e(this, "doublePrecision", void 0);
58712
+ _defineProperty$e(this, "_buffer", void 0);
58713
+ _defineProperty$e(this, "state", void 0);
58710
58714
  this.gl = gl;
58711
58715
  this.id = opts2.id || "";
58712
58716
  this.size = opts2.size || 1;
@@ -59359,7 +59363,7 @@ class Attribute extends DataColumn {
59359
59363
  needsRedraw: false,
59360
59364
  updateRanges: FULL
59361
59365
  });
59362
- _defineProperty$f(this, "constant", false);
59366
+ _defineProperty$e(this, "constant", false);
59363
59367
  this.settings.update = opts2.update || (opts2.accessor ? this._autoUpdater : void 0);
59364
59368
  Object.seal(this.settings);
59365
59369
  Object.seal(this.state);
@@ -59681,16 +59685,16 @@ class GPUInterpolationTransition {
59681
59685
  attribute,
59682
59686
  timeline
59683
59687
  }) {
59684
- _defineProperty$f(this, "gl", void 0);
59685
- _defineProperty$f(this, "type", "interpolation");
59686
- _defineProperty$f(this, "attributeInTransition", void 0);
59687
- _defineProperty$f(this, "settings", void 0);
59688
- _defineProperty$f(this, "attribute", void 0);
59689
- _defineProperty$f(this, "transition", void 0);
59690
- _defineProperty$f(this, "currentStartIndices", void 0);
59691
- _defineProperty$f(this, "currentLength", void 0);
59692
- _defineProperty$f(this, "transform", void 0);
59693
- _defineProperty$f(this, "buffers", void 0);
59688
+ _defineProperty$e(this, "gl", void 0);
59689
+ _defineProperty$e(this, "type", "interpolation");
59690
+ _defineProperty$e(this, "attributeInTransition", void 0);
59691
+ _defineProperty$e(this, "settings", void 0);
59692
+ _defineProperty$e(this, "attribute", void 0);
59693
+ _defineProperty$e(this, "transition", void 0);
59694
+ _defineProperty$e(this, "currentStartIndices", void 0);
59695
+ _defineProperty$e(this, "currentLength", void 0);
59696
+ _defineProperty$e(this, "transform", void 0);
59697
+ _defineProperty$e(this, "buffers", void 0);
59694
59698
  this.gl = gl;
59695
59699
  this.transition = new Transition(timeline);
59696
59700
  this.attribute = attribute;
@@ -59798,18 +59802,18 @@ class GPUSpringTransition {
59798
59802
  attribute,
59799
59803
  timeline
59800
59804
  }) {
59801
- _defineProperty$f(this, "gl", void 0);
59802
- _defineProperty$f(this, "type", "spring");
59803
- _defineProperty$f(this, "attributeInTransition", void 0);
59804
- _defineProperty$f(this, "settings", void 0);
59805
- _defineProperty$f(this, "attribute", void 0);
59806
- _defineProperty$f(this, "transition", void 0);
59807
- _defineProperty$f(this, "currentStartIndices", void 0);
59808
- _defineProperty$f(this, "currentLength", void 0);
59809
- _defineProperty$f(this, "texture", void 0);
59810
- _defineProperty$f(this, "framebuffer", void 0);
59811
- _defineProperty$f(this, "transform", void 0);
59812
- _defineProperty$f(this, "buffers", void 0);
59805
+ _defineProperty$e(this, "gl", void 0);
59806
+ _defineProperty$e(this, "type", "spring");
59807
+ _defineProperty$e(this, "attributeInTransition", void 0);
59808
+ _defineProperty$e(this, "settings", void 0);
59809
+ _defineProperty$e(this, "attribute", void 0);
59810
+ _defineProperty$e(this, "transition", void 0);
59811
+ _defineProperty$e(this, "currentStartIndices", void 0);
59812
+ _defineProperty$e(this, "currentLength", void 0);
59813
+ _defineProperty$e(this, "texture", void 0);
59814
+ _defineProperty$e(this, "framebuffer", void 0);
59815
+ _defineProperty$e(this, "transform", void 0);
59816
+ _defineProperty$e(this, "buffers", void 0);
59813
59817
  this.gl = gl;
59814
59818
  this.type = "spring";
59815
59819
  this.transition = new Transition(timeline);
@@ -59971,13 +59975,13 @@ class AttributeTransitionManager {
59971
59975
  id,
59972
59976
  timeline
59973
59977
  }) {
59974
- _defineProperty$f(this, "id", void 0);
59975
- _defineProperty$f(this, "isSupported", void 0);
59976
- _defineProperty$f(this, "gl", void 0);
59977
- _defineProperty$f(this, "timeline", void 0);
59978
- _defineProperty$f(this, "transitions", void 0);
59979
- _defineProperty$f(this, "needsRedraw", void 0);
59980
- _defineProperty$f(this, "numInstances", void 0);
59978
+ _defineProperty$e(this, "id", void 0);
59979
+ _defineProperty$e(this, "isSupported", void 0);
59980
+ _defineProperty$e(this, "gl", void 0);
59981
+ _defineProperty$e(this, "timeline", void 0);
59982
+ _defineProperty$e(this, "transitions", void 0);
59983
+ _defineProperty$e(this, "needsRedraw", void 0);
59984
+ _defineProperty$e(this, "numInstances", void 0);
59981
59985
  this.id = id;
59982
59986
  this.gl = gl;
59983
59987
  this.timeline = timeline;
@@ -60084,14 +60088,14 @@ class AttributeManager {
60084
60088
  stats,
60085
60089
  timeline
60086
60090
  } = {}) {
60087
- _defineProperty$f(this, "id", void 0);
60088
- _defineProperty$f(this, "gl", void 0);
60089
- _defineProperty$f(this, "attributes", void 0);
60090
- _defineProperty$f(this, "updateTriggers", void 0);
60091
- _defineProperty$f(this, "needsRedraw", void 0);
60092
- _defineProperty$f(this, "userData", void 0);
60093
- _defineProperty$f(this, "stats", void 0);
60094
- _defineProperty$f(this, "attributeTransitionManager", void 0);
60091
+ _defineProperty$e(this, "id", void 0);
60092
+ _defineProperty$e(this, "gl", void 0);
60093
+ _defineProperty$e(this, "attributes", void 0);
60094
+ _defineProperty$e(this, "updateTriggers", void 0);
60095
+ _defineProperty$e(this, "needsRedraw", void 0);
60096
+ _defineProperty$e(this, "userData", void 0);
60097
+ _defineProperty$e(this, "stats", void 0);
60098
+ _defineProperty$e(this, "attributeTransitionManager", void 0);
60095
60099
  this.id = id;
60096
60100
  this.gl = gl;
60097
60101
  this.attributes = {};
@@ -61070,9 +61074,9 @@ function getComponentName(componentClass) {
61070
61074
  let counter = 0;
61071
61075
  class Component {
61072
61076
  constructor(...propObjects) {
61073
- _defineProperty$f(this, "id", void 0);
61074
- _defineProperty$f(this, "props", void 0);
61075
- _defineProperty$f(this, "count", void 0);
61077
+ _defineProperty$e(this, "id", void 0);
61078
+ _defineProperty$e(this, "props", void 0);
61079
+ _defineProperty$e(this, "count", void 0);
61076
61080
  this.props = createProps(this, propObjects);
61077
61081
  this.id = this.props.id;
61078
61082
  this.count = counter++;
@@ -61096,16 +61100,16 @@ class Component {
61096
61100
  });
61097
61101
  }
61098
61102
  }
61099
- _defineProperty$f(Component, "componentName", "Component");
61100
- _defineProperty$f(Component, "defaultProps", {});
61103
+ _defineProperty$e(Component, "componentName", "Component");
61104
+ _defineProperty$e(Component, "defaultProps", {});
61101
61105
  const EMPTY_PROPS = Object.freeze({});
61102
61106
  class ComponentState {
61103
61107
  constructor(component) {
61104
- _defineProperty$f(this, "component", void 0);
61105
- _defineProperty$f(this, "onAsyncPropUpdated", void 0);
61106
- _defineProperty$f(this, "asyncProps", void 0);
61107
- _defineProperty$f(this, "oldProps", void 0);
61108
- _defineProperty$f(this, "oldAsyncProps", void 0);
61108
+ _defineProperty$e(this, "component", void 0);
61109
+ _defineProperty$e(this, "onAsyncPropUpdated", void 0);
61110
+ _defineProperty$e(this, "asyncProps", void 0);
61111
+ _defineProperty$e(this, "oldProps", void 0);
61112
+ _defineProperty$e(this, "oldAsyncProps", void 0);
61109
61113
  this.component = component;
61110
61114
  this.asyncProps = {};
61111
61115
  this.onAsyncPropUpdated = () => {
@@ -61308,15 +61312,15 @@ class LayerState extends ComponentState {
61308
61312
  layer
61309
61313
  }) {
61310
61314
  super(layer);
61311
- _defineProperty$f(this, "attributeManager", void 0);
61312
- _defineProperty$f(this, "needsRedraw", void 0);
61313
- _defineProperty$f(this, "needsUpdate", void 0);
61314
- _defineProperty$f(this, "subLayers", void 0);
61315
- _defineProperty$f(this, "usesPickingColorCache", void 0);
61316
- _defineProperty$f(this, "changeFlags", void 0);
61317
- _defineProperty$f(this, "viewport", void 0);
61318
- _defineProperty$f(this, "uniformTransitions", void 0);
61319
- _defineProperty$f(this, "propsInTransition", void 0);
61315
+ _defineProperty$e(this, "attributeManager", void 0);
61316
+ _defineProperty$e(this, "needsRedraw", void 0);
61317
+ _defineProperty$e(this, "needsUpdate", void 0);
61318
+ _defineProperty$e(this, "subLayers", void 0);
61319
+ _defineProperty$e(this, "usesPickingColorCache", void 0);
61320
+ _defineProperty$e(this, "changeFlags", void 0);
61321
+ _defineProperty$e(this, "viewport", void 0);
61322
+ _defineProperty$e(this, "uniformTransitions", void 0);
61323
+ _defineProperty$e(this, "propsInTransition", void 0);
61320
61324
  this.attributeManager = attributeManager;
61321
61325
  this.needsRedraw = true;
61322
61326
  this.needsUpdate = true;
@@ -61536,11 +61540,11 @@ const defaultProps$L = {
61536
61540
  class Layer extends Component {
61537
61541
  constructor(...args) {
61538
61542
  super(...args);
61539
- _defineProperty$f(this, "internalState", null);
61540
- _defineProperty$f(this, "lifecycle", LIFECYCLE.NO_STATE);
61541
- _defineProperty$f(this, "context", void 0);
61542
- _defineProperty$f(this, "state", void 0);
61543
- _defineProperty$f(this, "parent", null);
61543
+ _defineProperty$e(this, "internalState", null);
61544
+ _defineProperty$e(this, "lifecycle", LIFECYCLE.NO_STATE);
61545
+ _defineProperty$e(this, "context", void 0);
61546
+ _defineProperty$e(this, "state", void 0);
61547
+ _defineProperty$e(this, "parent", null);
61544
61548
  }
61545
61549
  get root() {
61546
61550
  let layer = this;
@@ -62242,8 +62246,8 @@ class Layer extends Component {
62242
62246
  this.setNeedsUpdate();
62243
62247
  }
62244
62248
  }
62245
- _defineProperty$f(Layer, "defaultProps", defaultProps$L);
62246
- _defineProperty$f(Layer, "layerName", "Layer");
62249
+ _defineProperty$e(Layer, "defaultProps", defaultProps$L);
62250
+ _defineProperty$e(Layer, "layerName", "Layer");
62247
62251
  const TRACE_RENDER_LAYERS = "compositeLayer.renderLayers";
62248
62252
  class CompositeLayer extends Layer {
62249
62253
  get isComposite() {
@@ -62405,7 +62409,7 @@ class CompositeLayer extends Layer {
62405
62409
  }
62406
62410
  }
62407
62411
  }
62408
- _defineProperty$f(CompositeLayer, "layerName", "CompositeLayer");
62412
+ _defineProperty$e(CompositeLayer, "layerName", "CompositeLayer");
62409
62413
  const DEGREES_TO_RADIANS$1 = Math.PI / 180;
62410
62414
  const RADIANS_TO_DEGREES = 180 / Math.PI;
62411
62415
  const EARTH_RADIUS = 6370972;
@@ -62461,9 +62465,9 @@ class GlobeViewport extends Viewport {
62461
62465
  near: nearZMultiplier,
62462
62466
  far: Math.min(2, 1 / relativeScale + 1) * altitude * farZMultiplier
62463
62467
  });
62464
- _defineProperty$f(this, "longitude", void 0);
62465
- _defineProperty$f(this, "latitude", void 0);
62466
- _defineProperty$f(this, "resolution", void 0);
62468
+ _defineProperty$e(this, "longitude", void 0);
62469
+ _defineProperty$e(this, "latitude", void 0);
62470
+ _defineProperty$e(this, "resolution", void 0);
62467
62471
  this.latitude = latitude;
62468
62472
  this.longitude = longitude;
62469
62473
  this.resolution = resolution;
@@ -62611,7 +62615,7 @@ class OrbitViewport extends Viewport {
62611
62615
  position: target,
62612
62616
  zoom
62613
62617
  });
62614
- _defineProperty$f(this, "projectedCenter", void 0);
62618
+ _defineProperty$e(this, "projectedCenter", void 0);
62615
62619
  this.projectedCenter = this.project(this.center);
62616
62620
  }
62617
62621
  unproject(xyz, {
@@ -62660,8 +62664,8 @@ class FirstPersonViewport extends Viewport {
62660
62664
  zoom,
62661
62665
  viewMatrix: viewMatrix2
62662
62666
  });
62663
- _defineProperty$f(this, "longitude", void 0);
62664
- _defineProperty$f(this, "latitude", void 0);
62667
+ _defineProperty$e(this, "longitude", void 0);
62668
+ _defineProperty$e(this, "latitude", void 0);
62665
62669
  this.latitude = latitude;
62666
62670
  this.longitude = longitude;
62667
62671
  }
@@ -62890,8 +62894,8 @@ class FirstPersonState extends ViewState {
62890
62894
  class FirstPersonController extends Controller {
62891
62895
  constructor(...args) {
62892
62896
  super(...args);
62893
- _defineProperty$f(this, "ControllerState", FirstPersonState);
62894
- _defineProperty$f(this, "transition", {
62897
+ _defineProperty$e(this, "ControllerState", FirstPersonState);
62898
+ _defineProperty$e(this, "transition", {
62895
62899
  transitionDuration: 300,
62896
62900
  transitionInterpolator: new LinearInterpolator(["position", "pitch", "bearing"])
62897
62901
  });
@@ -62905,7 +62909,7 @@ class FirstPersonView extends View {
62905
62909
  return FirstPersonController;
62906
62910
  }
62907
62911
  }
62908
- _defineProperty$f(FirstPersonView, "displayName", "FirstPersonView");
62912
+ _defineProperty$e(FirstPersonView, "displayName", "FirstPersonView");
62909
62913
  class OrbitView extends View {
62910
62914
  constructor(props2 = {}) {
62911
62915
  super(props2);
@@ -62918,7 +62922,7 @@ class OrbitView extends View {
62918
62922
  return OrbitController;
62919
62923
  }
62920
62924
  }
62921
- _defineProperty$f(OrbitView, "displayName", "OrbitView");
62925
+ _defineProperty$e(OrbitView, "displayName", "OrbitView");
62922
62926
  class GlobeState extends MapState {
62923
62927
  applyConstraints(props2) {
62924
62928
  const {
@@ -62941,12 +62945,12 @@ class GlobeState extends MapState {
62941
62945
  class GlobeController extends Controller {
62942
62946
  constructor(...args) {
62943
62947
  super(...args);
62944
- _defineProperty$f(this, "ControllerState", GlobeState);
62945
- _defineProperty$f(this, "transition", {
62948
+ _defineProperty$e(this, "ControllerState", GlobeState);
62949
+ _defineProperty$e(this, "transition", {
62946
62950
  transitionDuration: 300,
62947
62951
  transitionInterpolator: new LinearInterpolator(["longitude", "latitude", "zoom"])
62948
62952
  });
62949
- _defineProperty$f(this, "dragMode", "pan");
62953
+ _defineProperty$e(this, "dragMode", "pan");
62950
62954
  }
62951
62955
  setProps(props2) {
62952
62956
  super.setProps(props2);
@@ -62962,10 +62966,10 @@ class GlobeView extends View {
62962
62966
  return GlobeController;
62963
62967
  }
62964
62968
  }
62965
- _defineProperty$f(GlobeView, "displayName", "GlobeView");
62969
+ _defineProperty$e(GlobeView, "displayName", "GlobeView");
62966
62970
  class LayerExtension {
62967
62971
  constructor(opts2) {
62968
- _defineProperty$f(this, "opts", void 0);
62972
+ _defineProperty$e(this, "opts", void 0);
62969
62973
  if (opts2) {
62970
62974
  this.opts = opts2;
62971
62975
  }
@@ -63010,7 +63014,7 @@ class LayerExtension {
63010
63014
  finalizeState(context, extension) {
63011
63015
  }
63012
63016
  }
63013
- _defineProperty$f(LayerExtension, "defaultProps", {});
63017
+ _defineProperty$e(LayerExtension, "defaultProps", {});
63014
63018
  const LINEARLY_INTERPOLATED_PROPS = ["bearing", "pitch"];
63015
63019
  const DEFAULT_OPTS = {
63016
63020
  speed: 1.2,
@@ -63023,7 +63027,7 @@ class FlyToInterpolator extends TransitionInterpolator {
63023
63027
  extract: ["width", "height", "longitude", "latitude", "zoom", "bearing", "pitch"],
63024
63028
  required: ["width", "height", "latitude", "longitude", "zoom"]
63025
63029
  });
63026
- _defineProperty$f(this, "opts", void 0);
63030
+ _defineProperty$e(this, "opts", void 0);
63027
63031
  this.opts = {
63028
63032
  ...DEFAULT_OPTS,
63029
63033
  ...opts2
@@ -63048,20 +63052,20 @@ class FlyToInterpolator extends TransitionInterpolator {
63048
63052
  }
63049
63053
  class Tesselator {
63050
63054
  constructor(opts2) {
63051
- _defineProperty$f(this, "opts", void 0);
63052
- _defineProperty$f(this, "typedArrayManager", void 0);
63053
- _defineProperty$f(this, "indexStarts", [0]);
63054
- _defineProperty$f(this, "vertexStarts", [0]);
63055
- _defineProperty$f(this, "vertexCount", 0);
63056
- _defineProperty$f(this, "instanceCount", 0);
63057
- _defineProperty$f(this, "attributes", void 0);
63058
- _defineProperty$f(this, "_attributeDefs", void 0);
63059
- _defineProperty$f(this, "data", void 0);
63060
- _defineProperty$f(this, "getGeometry", void 0);
63061
- _defineProperty$f(this, "geometryBuffer", void 0);
63062
- _defineProperty$f(this, "buffers", void 0);
63063
- _defineProperty$f(this, "positionSize", void 0);
63064
- _defineProperty$f(this, "normalize", void 0);
63055
+ _defineProperty$e(this, "opts", void 0);
63056
+ _defineProperty$e(this, "typedArrayManager", void 0);
63057
+ _defineProperty$e(this, "indexStarts", [0]);
63058
+ _defineProperty$e(this, "vertexStarts", [0]);
63059
+ _defineProperty$e(this, "vertexCount", 0);
63060
+ _defineProperty$e(this, "instanceCount", 0);
63061
+ _defineProperty$e(this, "attributes", void 0);
63062
+ _defineProperty$e(this, "_attributeDefs", void 0);
63063
+ _defineProperty$e(this, "data", void 0);
63064
+ _defineProperty$e(this, "getGeometry", void 0);
63065
+ _defineProperty$e(this, "geometryBuffer", void 0);
63066
+ _defineProperty$e(this, "buffers", void 0);
63067
+ _defineProperty$e(this, "positionSize", void 0);
63068
+ _defineProperty$e(this, "normalize", void 0);
63065
63069
  const {
63066
63070
  attributes = {}
63067
63071
  } = opts2;
@@ -63334,8 +63338,8 @@ class ClipExtension extends LayerExtension {
63334
63338
  }
63335
63339
  }
63336
63340
  }
63337
- _defineProperty$f(ClipExtension, "defaultProps", defaultProps$K);
63338
- _defineProperty$f(ClipExtension, "extensionName", "ClipExtension");
63341
+ _defineProperty$e(ClipExtension, "defaultProps", defaultProps$K);
63342
+ _defineProperty$e(ClipExtension, "extensionName", "ClipExtension");
63339
63343
  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";
63340
63344
  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";
63341
63345
  const DEFAULT_COLOR$a = [0, 0, 0, 255];
@@ -63389,7 +63393,7 @@ const defaultProps$J = {
63389
63393
  class ArcLayer extends Layer {
63390
63394
  constructor(...args) {
63391
63395
  super(...args);
63392
- _defineProperty$f(this, "state", void 0);
63396
+ _defineProperty$e(this, "state", void 0);
63393
63397
  }
63394
63398
  getShaders() {
63395
63399
  return super.getShaders({
@@ -63509,8 +63513,8 @@ class ArcLayer extends Layer {
63509
63513
  return model;
63510
63514
  }
63511
63515
  }
63512
- _defineProperty$f(ArcLayer, "layerName", "ArcLayer");
63513
- _defineProperty$f(ArcLayer, "defaultProps", defaultProps$J);
63516
+ _defineProperty$e(ArcLayer, "layerName", "ArcLayer");
63517
+ _defineProperty$e(ArcLayer, "defaultProps", defaultProps$J);
63514
63518
  const DEFAULT_INDICES = new Uint16Array([0, 2, 1, 0, 3, 2]);
63515
63519
  const DEFAULT_TEX_COORDS = new Float32Array([0, 1, 0, 0, 1, 0, 1, 1]);
63516
63520
  function createMesh(bounds2, resolution) {
@@ -63605,7 +63609,7 @@ const defaultProps$I = {
63605
63609
  let BitmapLayer$1 = class BitmapLayer extends Layer {
63606
63610
  constructor(...args) {
63607
63611
  super(...args);
63608
- _defineProperty$f(this, "state", void 0);
63612
+ _defineProperty$e(this, "state", void 0);
63609
63613
  }
63610
63614
  getShaders() {
63611
63615
  return super.getShaders({
@@ -63807,8 +63811,8 @@ let BitmapLayer$1 = class BitmapLayer extends Layer {
63807
63811
  };
63808
63812
  }
63809
63813
  };
63810
- _defineProperty$f(BitmapLayer$1, "layerName", "BitmapLayer");
63811
- _defineProperty$f(BitmapLayer$1, "defaultProps", defaultProps$I);
63814
+ _defineProperty$e(BitmapLayer$1, "layerName", "BitmapLayer");
63815
+ _defineProperty$e(BitmapLayer$1, "defaultProps", defaultProps$I);
63812
63816
  function unpackUVsFromRGB(color) {
63813
63817
  const [u, v, fracUV] = color;
63814
63818
  const vFrac = (fracUV & 240) / 256;
@@ -63956,23 +63960,23 @@ class IconManager {
63956
63960
  onUpdate = noop$1,
63957
63961
  onError = noop$1
63958
63962
  }) {
63959
- _defineProperty$f(this, "gl", void 0);
63960
- _defineProperty$f(this, "onUpdate", void 0);
63961
- _defineProperty$f(this, "onError", void 0);
63962
- _defineProperty$f(this, "_loadOptions", null);
63963
- _defineProperty$f(this, "_texture", null);
63964
- _defineProperty$f(this, "_externalTexture", null);
63965
- _defineProperty$f(this, "_mapping", {});
63966
- _defineProperty$f(this, "_textureParameters", null);
63967
- _defineProperty$f(this, "_pendingCount", 0);
63968
- _defineProperty$f(this, "_autoPacking", false);
63969
- _defineProperty$f(this, "_xOffset", 0);
63970
- _defineProperty$f(this, "_yOffset", 0);
63971
- _defineProperty$f(this, "_rowHeight", 0);
63972
- _defineProperty$f(this, "_buffer", DEFAULT_BUFFER$1);
63973
- _defineProperty$f(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
63974
- _defineProperty$f(this, "_canvasHeight", 0);
63975
- _defineProperty$f(this, "_canvas", null);
63963
+ _defineProperty$e(this, "gl", void 0);
63964
+ _defineProperty$e(this, "onUpdate", void 0);
63965
+ _defineProperty$e(this, "onError", void 0);
63966
+ _defineProperty$e(this, "_loadOptions", null);
63967
+ _defineProperty$e(this, "_texture", null);
63968
+ _defineProperty$e(this, "_externalTexture", null);
63969
+ _defineProperty$e(this, "_mapping", {});
63970
+ _defineProperty$e(this, "_textureParameters", null);
63971
+ _defineProperty$e(this, "_pendingCount", 0);
63972
+ _defineProperty$e(this, "_autoPacking", false);
63973
+ _defineProperty$e(this, "_xOffset", 0);
63974
+ _defineProperty$e(this, "_yOffset", 0);
63975
+ _defineProperty$e(this, "_rowHeight", 0);
63976
+ _defineProperty$e(this, "_buffer", DEFAULT_BUFFER$1);
63977
+ _defineProperty$e(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
63978
+ _defineProperty$e(this, "_canvasHeight", 0);
63979
+ _defineProperty$e(this, "_canvas", null);
63976
63980
  this.gl = gl;
63977
63981
  this.onUpdate = onUpdate;
63978
63982
  this.onError = onError;
@@ -64163,7 +64167,7 @@ const defaultProps$H = {
64163
64167
  class IconLayer extends Layer {
64164
64168
  constructor(...args) {
64165
64169
  super(...args);
64166
- _defineProperty$f(this, "state", void 0);
64170
+ _defineProperty$e(this, "state", void 0);
64167
64171
  }
64168
64172
  getShaders() {
64169
64173
  return super.getShaders({
@@ -64360,8 +64364,8 @@ class IconLayer extends Layer {
64360
64364
  return [x2, y2, width, height];
64361
64365
  }
64362
64366
  }
64363
- _defineProperty$f(IconLayer, "defaultProps", defaultProps$H);
64364
- _defineProperty$f(IconLayer, "layerName", "IconLayer");
64367
+ _defineProperty$e(IconLayer, "defaultProps", defaultProps$H);
64368
+ _defineProperty$e(IconLayer, "layerName", "IconLayer");
64365
64369
  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";
64366
64370
  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";
64367
64371
  const DEFAULT_COLOR$8 = [0, 0, 0, 255];
@@ -64493,8 +64497,8 @@ class LineLayer extends Layer {
64493
64497
  });
64494
64498
  }
64495
64499
  }
64496
- _defineProperty$f(LineLayer, "layerName", "LineLayer");
64497
- _defineProperty$f(LineLayer, "defaultProps", defaultProps$G);
64500
+ _defineProperty$e(LineLayer, "layerName", "LineLayer");
64501
+ _defineProperty$e(LineLayer, "defaultProps", defaultProps$G);
64498
64502
  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";
64499
64503
  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";
64500
64504
  const DEFAULT_COLOR$7 = [0, 0, 0, 255];
@@ -64625,8 +64629,8 @@ class PointCloudLayer extends Layer {
64625
64629
  });
64626
64630
  }
64627
64631
  }
64628
- _defineProperty$f(PointCloudLayer, "layerName", "PointCloudLayer");
64629
- _defineProperty$f(PointCloudLayer, "defaultProps", defaultProps$F);
64632
+ _defineProperty$e(PointCloudLayer, "layerName", "PointCloudLayer");
64633
+ _defineProperty$e(PointCloudLayer, "defaultProps", defaultProps$F);
64630
64634
  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";
64631
64635
  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";
64632
64636
  const DEFAULT_COLOR$6 = [0, 0, 0, 255];
@@ -64807,8 +64811,8 @@ class ScatterplotLayer extends Layer {
64807
64811
  });
64808
64812
  }
64809
64813
  }
64810
- _defineProperty$f(ScatterplotLayer, "defaultProps", defaultProps$E);
64811
- _defineProperty$f(ScatterplotLayer, "layerName", "ScatterplotLayer");
64814
+ _defineProperty$e(ScatterplotLayer, "defaultProps", defaultProps$E);
64815
+ _defineProperty$e(ScatterplotLayer, "layerName", "ScatterplotLayer");
64812
64816
  const WINDING = {
64813
64817
  CLOCKWISE: 1,
64814
64818
  COUNTER_CLOCKWISE: -1
@@ -66076,8 +66080,8 @@ class ColumnLayer extends Layer {
66076
66080
  }
66077
66081
  }
66078
66082
  }
66079
- _defineProperty$f(ColumnLayer, "layerName", "ColumnLayer");
66080
- _defineProperty$f(ColumnLayer, "defaultProps", defaultProps$D);
66083
+ _defineProperty$e(ColumnLayer, "layerName", "ColumnLayer");
66084
+ _defineProperty$e(ColumnLayer, "defaultProps", defaultProps$D);
66081
66085
  const defaultProps$C = {
66082
66086
  cellSize: {
66083
66087
  type: "number",
@@ -66118,8 +66122,8 @@ class GridCellLayer extends ColumnLayer {
66118
66122
  }).draw();
66119
66123
  }
66120
66124
  }
66121
- _defineProperty$f(GridCellLayer, "layerName", "GridCellLayer");
66122
- _defineProperty$f(GridCellLayer, "defaultProps", defaultProps$C);
66125
+ _defineProperty$e(GridCellLayer, "layerName", "GridCellLayer");
66126
+ _defineProperty$e(GridCellLayer, "defaultProps", defaultProps$C);
66123
66127
  function normalizePath(path, size2, gridResolution, wrapLongitude) {
66124
66128
  let flatPath;
66125
66129
  if (Array.isArray(path[0])) {
@@ -66334,7 +66338,7 @@ const ATTRIBUTE_TRANSITION$1 = {
66334
66338
  class PathLayer extends Layer {
66335
66339
  constructor(...args) {
66336
66340
  super(...args);
66337
- _defineProperty$f(this, "state", void 0);
66341
+ _defineProperty$e(this, "state", void 0);
66338
66342
  }
66339
66343
  getShaders() {
66340
66344
  return super.getShaders({
@@ -66537,8 +66541,8 @@ class PathLayer extends Layer {
66537
66541
  attribute.value = pathTesselator.get("segmentTypes");
66538
66542
  }
66539
66543
  }
66540
- _defineProperty$f(PathLayer, "defaultProps", defaultProps$B);
66541
- _defineProperty$f(PathLayer, "layerName", "PathLayer");
66544
+ _defineProperty$e(PathLayer, "defaultProps", defaultProps$B);
66545
+ _defineProperty$e(PathLayer, "layerName", "PathLayer");
66542
66546
  var earcut$2 = { exports: {} };
66543
66547
  earcut$2.exports = earcut;
66544
66548
  earcut$2.exports.default = earcut;
@@ -67348,7 +67352,7 @@ const ATTRIBUTE_TRANSITION = {
67348
67352
  class SolidPolygonLayer extends Layer {
67349
67353
  constructor(...args) {
67350
67354
  super(...args);
67351
- _defineProperty$f(this, "state", void 0);
67355
+ _defineProperty$e(this, "state", void 0);
67352
67356
  }
67353
67357
  getShaders(type) {
67354
67358
  return super.getShaders({
@@ -67672,8 +67676,8 @@ class SolidPolygonLayer extends Layer {
67672
67676
  attribute.value = this.state.polygonTesselator.get("vertexValid");
67673
67677
  }
67674
67678
  }
67675
- _defineProperty$f(SolidPolygonLayer, "defaultProps", defaultProps$A);
67676
- _defineProperty$f(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
67679
+ _defineProperty$e(SolidPolygonLayer, "defaultProps", defaultProps$A);
67680
+ _defineProperty$e(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
67677
67681
  function replaceInRange({
67678
67682
  data,
67679
67683
  getIndex,
@@ -67925,8 +67929,8 @@ class PolygonLayer extends CompositeLayer {
67925
67929
  return [!extruded && polygonLayer, polygonLineLayer, extruded && polygonLayer];
67926
67930
  }
67927
67931
  }
67928
- _defineProperty$f(PolygonLayer, "layerName", "PolygonLayer");
67929
- _defineProperty$f(PolygonLayer, "defaultProps", defaultProps$z);
67932
+ _defineProperty$e(PolygonLayer, "layerName", "PolygonLayer");
67933
+ _defineProperty$e(PolygonLayer, "defaultProps", defaultProps$z);
67930
67934
  function binaryToFeatureForAccesor(data, index2) {
67931
67935
  if (!data) {
67932
67936
  return null;
@@ -67987,7 +67991,7 @@ const defaultProps$y = {
67987
67991
  class MultiIconLayer extends IconLayer {
67988
67992
  constructor(...args) {
67989
67993
  super(...args);
67990
- _defineProperty$f(this, "state", void 0);
67994
+ _defineProperty$e(this, "state", void 0);
67991
67995
  }
67992
67996
  getShaders() {
67993
67997
  return {
@@ -68062,8 +68066,8 @@ class MultiIconLayer extends IconLayer {
68062
68066
  return icons ? Array.from(icons).flatMap((icon) => super.getInstanceIconFrame(icon)) : EMPTY_ARRAY;
68063
68067
  }
68064
68068
  }
68065
- _defineProperty$f(MultiIconLayer, "defaultProps", defaultProps$y);
68066
- _defineProperty$f(MultiIconLayer, "layerName", "MultiIconLayer");
68069
+ _defineProperty$e(MultiIconLayer, "defaultProps", defaultProps$y);
68070
+ _defineProperty$e(MultiIconLayer, "layerName", "MultiIconLayer");
68067
68071
  var tinySdf = { exports: {} };
68068
68072
  tinySdf.exports = TinySDF;
68069
68073
  tinySdf.exports.default = TinySDF;
@@ -68431,9 +68435,9 @@ function getTextFromBuffer({
68431
68435
  }
68432
68436
  class LRUCache2 {
68433
68437
  constructor(limit = 5) {
68434
- _defineProperty$f(this, "limit", void 0);
68435
- _defineProperty$f(this, "_cache", {});
68436
- _defineProperty$f(this, "_order", []);
68438
+ _defineProperty$e(this, "limit", void 0);
68439
+ _defineProperty$e(this, "_cache", {});
68440
+ _defineProperty$e(this, "_order", []);
68437
68441
  this.limit = limit;
68438
68442
  }
68439
68443
  get(key) {
@@ -68532,11 +68536,11 @@ function setFontAtlasCacheLimit(limit) {
68532
68536
  }
68533
68537
  class FontAtlasManager {
68534
68538
  constructor() {
68535
- _defineProperty$f(this, "props", {
68539
+ _defineProperty$e(this, "props", {
68536
68540
  ...DEFAULT_FONT_SETTINGS
68537
68541
  });
68538
- _defineProperty$f(this, "_key", void 0);
68539
- _defineProperty$f(this, "_atlas", void 0);
68542
+ _defineProperty$e(this, "_key", void 0);
68543
+ _defineProperty$e(this, "_atlas", void 0);
68540
68544
  }
68541
68545
  get texture() {
68542
68546
  return this._atlas;
@@ -68688,7 +68692,7 @@ const defaultProps$x = {
68688
68692
  class TextBackgroundLayer extends Layer {
68689
68693
  constructor(...args) {
68690
68694
  super(...args);
68691
- _defineProperty$f(this, "state", void 0);
68695
+ _defineProperty$e(this, "state", void 0);
68692
68696
  }
68693
68697
  getShaders() {
68694
68698
  return super.getShaders({
@@ -68811,8 +68815,8 @@ class TextBackgroundLayer extends Layer {
68811
68815
  });
68812
68816
  }
68813
68817
  }
68814
- _defineProperty$f(TextBackgroundLayer, "defaultProps", defaultProps$x);
68815
- _defineProperty$f(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
68818
+ _defineProperty$e(TextBackgroundLayer, "defaultProps", defaultProps$x);
68819
+ _defineProperty$e(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
68816
68820
  const TEXT_ANCHOR = {
68817
68821
  start: 1,
68818
68822
  middle: 0,
@@ -68909,8 +68913,8 @@ const defaultProps$w = {
68909
68913
  class TextLayer extends CompositeLayer {
68910
68914
  constructor(...args) {
68911
68915
  super(...args);
68912
- _defineProperty$f(this, "state", void 0);
68913
- _defineProperty$f(this, "getBoundingRect", (object2, objectInfo) => {
68916
+ _defineProperty$e(this, "state", void 0);
68917
+ _defineProperty$e(this, "getBoundingRect", (object2, objectInfo) => {
68914
68918
  const iconMapping = this.state.fontAtlasManager.mapping;
68915
68919
  const getText = this.state.getText;
68916
68920
  const {
@@ -68928,7 +68932,7 @@ class TextLayer extends CompositeLayer {
68928
68932
  const anchorY = ALIGNMENT_BASELINE[typeof getAlignmentBaseline === "function" ? getAlignmentBaseline(object2, objectInfo) : getAlignmentBaseline];
68929
68933
  return [(anchorX - 1) * width / 2, (anchorY - 1) * height / 2, width, height];
68930
68934
  });
68931
- _defineProperty$f(this, "getIconOffsets", (object2, objectInfo) => {
68935
+ _defineProperty$e(this, "getIconOffsets", (object2, objectInfo) => {
68932
68936
  const iconMapping = this.state.fontAtlasManager.mapping;
68933
68937
  const getText = this.state.getText;
68934
68938
  const {
@@ -69208,8 +69212,8 @@ class TextLayer extends CompositeLayer {
69208
69212
  setFontAtlasCacheLimit(limit);
69209
69213
  }
69210
69214
  }
69211
- _defineProperty$f(TextLayer, "defaultProps", defaultProps$w);
69212
- _defineProperty$f(TextLayer, "layerName", "TextLayer");
69215
+ _defineProperty$e(TextLayer, "defaultProps", defaultProps$w);
69216
+ _defineProperty$e(TextLayer, "layerName", "TextLayer");
69213
69217
  const POINT_LAYER = {
69214
69218
  circle: {
69215
69219
  type: ScatterplotLayer,
@@ -69848,8 +69852,8 @@ class GeoJsonLayer extends CompositeLayer {
69848
69852
  };
69849
69853
  }
69850
69854
  }
69851
- _defineProperty$f(GeoJsonLayer, "layerName", "GeoJsonLayer");
69852
- _defineProperty$f(GeoJsonLayer, "defaultProps", defaultProps$v);
69855
+ _defineProperty$e(GeoJsonLayer, "layerName", "GeoJsonLayer");
69856
+ _defineProperty$e(GeoJsonLayer, "defaultProps", defaultProps$v);
69853
69857
  const esm$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
69854
69858
  __proto__: null,
69855
69859
  ArcLayer,
@@ -69877,8 +69881,8 @@ const defaultProps$u = {
69877
69881
  };
69878
69882
  class GreatCircleLayer extends ArcLayer {
69879
69883
  }
69880
- _defineProperty$f(GreatCircleLayer, "layerName", "GreatCircleLayer");
69881
- _defineProperty$f(GreatCircleLayer, "defaultProps", defaultProps$u);
69884
+ _defineProperty$e(GreatCircleLayer, "layerName", "GreatCircleLayer");
69885
+ _defineProperty$e(GreatCircleLayer, "defaultProps", defaultProps$u);
69882
69886
  const defaultProps$t = {
69883
69887
  ...PolygonLayer.defaultProps
69884
69888
  };
@@ -69941,8 +69945,8 @@ class GeoCellLayer extends CompositeLayer {
69941
69945
  }), this.indexToBounds());
69942
69946
  }
69943
69947
  }
69944
- _defineProperty$f(GeoCellLayer, "layerName", "GeoCellLayer");
69945
- _defineProperty$f(GeoCellLayer, "defaultProps", defaultProps$t);
69948
+ _defineProperty$e(GeoCellLayer, "layerName", "GeoCellLayer");
69949
+ _defineProperty$e(GeoCellLayer, "defaultProps", defaultProps$t);
69946
69950
  function commonjsRequire(path) {
69947
69951
  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.');
69948
69952
  }
@@ -70659,8 +70663,8 @@ class S2Layer extends GeoCellLayer {
70659
70663
  };
70660
70664
  }
70661
70665
  }
70662
- _defineProperty$f(S2Layer, "layerName", "S2Layer");
70663
- _defineProperty$f(S2Layer, "defaultProps", defaultProps$s);
70666
+ _defineProperty$e(S2Layer, "layerName", "S2Layer");
70667
+ _defineProperty$e(S2Layer, "defaultProps", defaultProps$s);
70664
70668
  const TILE_SIZE$3 = 512;
70665
70669
  function quadkeyToWorldBounds(quadkey) {
70666
70670
  let x2 = 0;
@@ -70703,28 +70707,28 @@ class QuadkeyLayer extends GeoCellLayer {
70703
70707
  };
70704
70708
  }
70705
70709
  }
70706
- _defineProperty$f(QuadkeyLayer, "layerName", "QuadkeyLayer");
70707
- _defineProperty$f(QuadkeyLayer, "defaultProps", defaultProps$r);
70710
+ _defineProperty$e(QuadkeyLayer, "layerName", "QuadkeyLayer");
70711
+ _defineProperty$e(QuadkeyLayer, "defaultProps", defaultProps$r);
70708
70712
  class Tile2DHeader {
70709
70713
  constructor(index2) {
70710
- _defineProperty$f(this, "index", void 0);
70711
- _defineProperty$f(this, "isVisible", void 0);
70712
- _defineProperty$f(this, "isSelected", void 0);
70713
- _defineProperty$f(this, "parent", void 0);
70714
- _defineProperty$f(this, "children", void 0);
70715
- _defineProperty$f(this, "content", void 0);
70716
- _defineProperty$f(this, "state", void 0);
70717
- _defineProperty$f(this, "layers", void 0);
70718
- _defineProperty$f(this, "id", void 0);
70719
- _defineProperty$f(this, "bbox", void 0);
70720
- _defineProperty$f(this, "zoom", void 0);
70721
- _defineProperty$f(this, "userData", void 0);
70722
- _defineProperty$f(this, "_abortController", void 0);
70723
- _defineProperty$f(this, "_loader", void 0);
70724
- _defineProperty$f(this, "_loaderId", void 0);
70725
- _defineProperty$f(this, "_isLoaded", void 0);
70726
- _defineProperty$f(this, "_isCancelled", void 0);
70727
- _defineProperty$f(this, "_needsReload", void 0);
70714
+ _defineProperty$e(this, "index", void 0);
70715
+ _defineProperty$e(this, "isVisible", void 0);
70716
+ _defineProperty$e(this, "isSelected", void 0);
70717
+ _defineProperty$e(this, "parent", void 0);
70718
+ _defineProperty$e(this, "children", void 0);
70719
+ _defineProperty$e(this, "content", void 0);
70720
+ _defineProperty$e(this, "state", void 0);
70721
+ _defineProperty$e(this, "layers", void 0);
70722
+ _defineProperty$e(this, "id", void 0);
70723
+ _defineProperty$e(this, "bbox", void 0);
70724
+ _defineProperty$e(this, "zoom", void 0);
70725
+ _defineProperty$e(this, "userData", void 0);
70726
+ _defineProperty$e(this, "_abortController", void 0);
70727
+ _defineProperty$e(this, "_loader", void 0);
70728
+ _defineProperty$e(this, "_loaderId", void 0);
70729
+ _defineProperty$e(this, "_isLoaded", void 0);
70730
+ _defineProperty$e(this, "_isCancelled", void 0);
70731
+ _defineProperty$e(this, "_needsReload", void 0);
70728
70732
  this.index = index2;
70729
70733
  this.isVisible = false;
70730
70734
  this.isSelected = false;
@@ -71500,12 +71504,12 @@ const REF_POINTS_9 = REF_POINTS_5.concat([[0, 0.5], [0.5, 0], [1, 0.5], [0.5, 1]
71500
71504
  const REF_POINTS_11 = REF_POINTS_9.concat([[0.25, 0.5], [0.75, 0.5]]);
71501
71505
  class OSMNode {
71502
71506
  constructor(x2, y2, z2) {
71503
- _defineProperty$f(this, "x", void 0);
71504
- _defineProperty$f(this, "y", void 0);
71505
- _defineProperty$f(this, "z", void 0);
71506
- _defineProperty$f(this, "childVisible", void 0);
71507
- _defineProperty$f(this, "selected", void 0);
71508
- _defineProperty$f(this, "_children", void 0);
71507
+ _defineProperty$e(this, "x", void 0);
71508
+ _defineProperty$e(this, "y", void 0);
71509
+ _defineProperty$e(this, "z", void 0);
71510
+ _defineProperty$e(this, "childVisible", void 0);
71511
+ _defineProperty$e(this, "selected", void 0);
71512
+ _defineProperty$e(this, "_children", void 0);
71509
71513
  this.x = x2;
71510
71514
  this.y = y2;
71511
71515
  this.z = z2;
@@ -71852,22 +71856,22 @@ const STRATEGIES = {
71852
71856
  };
71853
71857
  class Tileset2D {
71854
71858
  constructor(opts2) {
71855
- _defineProperty$f(this, "opts", void 0);
71856
- _defineProperty$f(this, "_requestScheduler", void 0);
71857
- _defineProperty$f(this, "_cache", void 0);
71858
- _defineProperty$f(this, "_dirty", void 0);
71859
- _defineProperty$f(this, "_tiles", void 0);
71860
- _defineProperty$f(this, "_cacheByteSize", void 0);
71861
- _defineProperty$f(this, "_viewport", void 0);
71862
- _defineProperty$f(this, "_zRange", void 0);
71863
- _defineProperty$f(this, "_selectedTiles", void 0);
71864
- _defineProperty$f(this, "_frameNumber", void 0);
71865
- _defineProperty$f(this, "_modelMatrix", void 0);
71866
- _defineProperty$f(this, "_modelMatrixInverse", void 0);
71867
- _defineProperty$f(this, "_maxZoom", void 0);
71868
- _defineProperty$f(this, "_minZoom", void 0);
71869
- _defineProperty$f(this, "onTileLoad", void 0);
71870
- _defineProperty$f(this, "_getCullBounds", memoize$1(getCullBounds));
71859
+ _defineProperty$e(this, "opts", void 0);
71860
+ _defineProperty$e(this, "_requestScheduler", void 0);
71861
+ _defineProperty$e(this, "_cache", void 0);
71862
+ _defineProperty$e(this, "_dirty", void 0);
71863
+ _defineProperty$e(this, "_tiles", void 0);
71864
+ _defineProperty$e(this, "_cacheByteSize", void 0);
71865
+ _defineProperty$e(this, "_viewport", void 0);
71866
+ _defineProperty$e(this, "_zRange", void 0);
71867
+ _defineProperty$e(this, "_selectedTiles", void 0);
71868
+ _defineProperty$e(this, "_frameNumber", void 0);
71869
+ _defineProperty$e(this, "_modelMatrix", void 0);
71870
+ _defineProperty$e(this, "_modelMatrixInverse", void 0);
71871
+ _defineProperty$e(this, "_maxZoom", void 0);
71872
+ _defineProperty$e(this, "_minZoom", void 0);
71873
+ _defineProperty$e(this, "onTileLoad", void 0);
71874
+ _defineProperty$e(this, "_getCullBounds", memoize$1(getCullBounds));
71871
71875
  this.opts = opts2;
71872
71876
  this.onTileLoad = (tile) => {
71873
71877
  this.opts.onTileLoad(tile);
@@ -72480,8 +72484,8 @@ class TileLayer extends CompositeLayer {
72480
72484
  return this.state.tileset.isTileVisible(tile, cullRect);
72481
72485
  }
72482
72486
  }
72483
- _defineProperty$f(TileLayer, "defaultProps", defaultProps$q);
72484
- _defineProperty$f(TileLayer, "layerName", "TileLayer");
72487
+ _defineProperty$e(TileLayer, "defaultProps", defaultProps$q);
72488
+ _defineProperty$e(TileLayer, "layerName", "TileLayer");
72485
72489
  const defaultProps$p = {
72486
72490
  fadeTrail: true,
72487
72491
  trailLength: {
@@ -72544,8 +72548,8 @@ class TripsLayer extends PathLayer {
72544
72548
  super.draw(params);
72545
72549
  }
72546
72550
  }
72547
- _defineProperty$f(TripsLayer, "layerName", "TripsLayer");
72548
- _defineProperty$f(TripsLayer, "defaultProps", defaultProps$p);
72551
+ _defineProperty$e(TripsLayer, "layerName", "TripsLayer");
72552
+ _defineProperty$e(TripsLayer, "defaultProps", defaultProps$p);
72549
72553
  var libh3 = function(libh32) {
72550
72554
  libh32 = libh32 || {};
72551
72555
  var Module = typeof libh32 !== "undefined" ? libh32 : {};
@@ -84104,8 +84108,8 @@ class H3ClusterLayer extends GeoCellLayer {
84104
84108
  };
84105
84109
  }
84106
84110
  }
84107
- _defineProperty$f(H3ClusterLayer, "layerName", "H3ClusterLayer");
84108
- _defineProperty$f(H3ClusterLayer, "defaultProps", defaultProps$o);
84111
+ _defineProperty$e(H3ClusterLayer, "layerName", "H3ClusterLayer");
84112
+ _defineProperty$e(H3ClusterLayer, "defaultProps", defaultProps$o);
84109
84113
  const UPDATE_THRESHOLD_KM = 10;
84110
84114
  function normalizeLongitudes(vertices, refLng) {
84111
84115
  refLng = refLng === void 0 ? vertices[0][0] : refLng;
@@ -84187,7 +84191,7 @@ const defaultProps$n = {
84187
84191
  class H3HexagonLayer extends CompositeLayer {
84188
84192
  constructor(...args) {
84189
84193
  super(...args);
84190
- _defineProperty$f(this, "state", void 0);
84194
+ _defineProperty$e(this, "state", void 0);
84191
84195
  }
84192
84196
  initializeState() {
84193
84197
  H3HexagonLayer._checkH3Lib();
@@ -84388,9 +84392,9 @@ class H3HexagonLayer extends CompositeLayer {
84388
84392
  });
84389
84393
  }
84390
84394
  }
84391
- _defineProperty$f(H3HexagonLayer, "defaultProps", defaultProps$n);
84392
- _defineProperty$f(H3HexagonLayer, "layerName", "H3HexagonLayer");
84393
- _defineProperty$f(H3HexagonLayer, "_checkH3Lib", () => {
84395
+ _defineProperty$e(H3HexagonLayer, "defaultProps", defaultProps$n);
84396
+ _defineProperty$e(H3HexagonLayer, "layerName", "H3HexagonLayer");
84397
+ _defineProperty$e(H3HexagonLayer, "_checkH3Lib", () => {
84394
84398
  });
84395
84399
  const RADIAN_PER_DEGREE = Math.PI / 180;
84396
84400
  const modelMatrix = new Float32Array(16);
@@ -84609,7 +84613,7 @@ const defaultProps$m = {
84609
84613
  class SimpleMeshLayer extends Layer {
84610
84614
  constructor(...args) {
84611
84615
  super(...args);
84612
- _defineProperty$f(this, "state", void 0);
84616
+ _defineProperty$e(this, "state", void 0);
84613
84617
  }
84614
84618
  getShaders() {
84615
84619
  const transpileToGLSL100 = !isWebGL2$1(this.context.gl);
@@ -84735,8 +84739,8 @@ class SimpleMeshLayer extends Layer {
84735
84739
  }
84736
84740
  }
84737
84741
  }
84738
- _defineProperty$f(SimpleMeshLayer, "defaultProps", defaultProps$m);
84739
- _defineProperty$f(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
84742
+ _defineProperty$e(SimpleMeshLayer, "defaultProps", defaultProps$m);
84743
+ _defineProperty$e(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
84740
84744
  class ScenegraphNode {
84741
84745
  constructor() {
84742
84746
  let props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -86054,9 +86058,9 @@ const DEFAULT_GLTF_JSON = {
86054
86058
  };
86055
86059
  class GLTFScenegraph {
86056
86060
  constructor(gltf) {
86057
- _defineProperty$f(this, "gltf", void 0);
86058
- _defineProperty$f(this, "sourceBuffers", void 0);
86059
- _defineProperty$f(this, "byteLength", void 0);
86061
+ _defineProperty$e(this, "gltf", void 0);
86062
+ _defineProperty$e(this, "sourceBuffers", void 0);
86063
+ _defineProperty$e(this, "byteLength", void 0);
86060
86064
  this.gltf = gltf || {
86061
86065
  json: {
86062
86066
  ...DEFAULT_GLTF_JSON
@@ -86674,8 +86678,8 @@ function assert$2(condition, message) {
86674
86678
  }
86675
86679
  class Schema {
86676
86680
  constructor(fields, metadata) {
86677
- _defineProperty$f(this, "fields", void 0);
86678
- _defineProperty$f(this, "metadata", void 0);
86681
+ _defineProperty$e(this, "fields", void 0);
86682
+ _defineProperty$e(this, "metadata", void 0);
86679
86683
  assert$2(Array.isArray(fields));
86680
86684
  checkNames(fields);
86681
86685
  this.fields = fields;
@@ -86742,10 +86746,10 @@ function mergeMaps(m1, m2) {
86742
86746
  }
86743
86747
  class Field {
86744
86748
  constructor(name2, type, nullable = false, metadata = /* @__PURE__ */ new Map()) {
86745
- _defineProperty$f(this, "name", void 0);
86746
- _defineProperty$f(this, "type", void 0);
86747
- _defineProperty$f(this, "nullable", void 0);
86748
- _defineProperty$f(this, "metadata", void 0);
86749
+ _defineProperty$e(this, "name", void 0);
86750
+ _defineProperty$e(this, "type", void 0);
86751
+ _defineProperty$e(this, "nullable", void 0);
86752
+ _defineProperty$e(this, "metadata", void 0);
86749
86753
  this.name = name2;
86750
86754
  this.type = type;
86751
86755
  this.nullable = nullable;
@@ -86878,8 +86882,8 @@ _Symbol$toStringTag = Symbol.toStringTag;
86878
86882
  class Int extends DataType {
86879
86883
  constructor(isSigned, bitWidth) {
86880
86884
  super();
86881
- _defineProperty$f(this, "isSigned", void 0);
86882
- _defineProperty$f(this, "bitWidth", void 0);
86885
+ _defineProperty$e(this, "isSigned", void 0);
86886
+ _defineProperty$e(this, "bitWidth", void 0);
86883
86887
  this.isSigned = isSigned;
86884
86888
  this.bitWidth = bitWidth;
86885
86889
  }
@@ -86932,7 +86936,7 @@ _Symbol$toStringTag2 = Symbol.toStringTag;
86932
86936
  class Float extends DataType {
86933
86937
  constructor(precision) {
86934
86938
  super();
86935
- _defineProperty$f(this, "precision", void 0);
86939
+ _defineProperty$e(this, "precision", void 0);
86936
86940
  this.precision = precision;
86937
86941
  }
86938
86942
  get typeId() {
@@ -86959,8 +86963,8 @@ _Symbol$toStringTag7 = Symbol.toStringTag;
86959
86963
  class FixedSizeList extends DataType {
86960
86964
  constructor(listSize, child) {
86961
86965
  super();
86962
- _defineProperty$f(this, "listSize", void 0);
86963
- _defineProperty$f(this, "children", void 0);
86966
+ _defineProperty$e(this, "listSize", void 0);
86967
+ _defineProperty$e(this, "children", void 0);
86964
86968
  this.listSize = listSize;
86965
86969
  this.children = [child];
86966
86970
  }
@@ -87856,7 +87860,7 @@ const GLTF_KEYS = {
87856
87860
  };
87857
87861
  class GLTFV1Normalizer {
87858
87862
  constructor() {
87859
- _defineProperty$f(this, "idToIndexMap", {
87863
+ _defineProperty$e(this, "idToIndexMap", {
87860
87864
  animations: {},
87861
87865
  accessors: {},
87862
87866
  buffers: {},
@@ -87870,7 +87874,7 @@ class GLTFV1Normalizer {
87870
87874
  skins: {},
87871
87875
  textures: {}
87872
87876
  });
87873
- _defineProperty$f(this, "json", void 0);
87877
+ _defineProperty$e(this, "json", void 0);
87874
87878
  }
87875
87879
  normalize(gltf, options) {
87876
87880
  this.json = gltf.json;
@@ -88072,10 +88076,10 @@ function getSizeFromAccessorType(type) {
88072
88076
  }
88073
88077
  class GLTFPostProcessor {
88074
88078
  constructor() {
88075
- _defineProperty$f(this, "baseUri", "");
88076
- _defineProperty$f(this, "json", {});
88077
- _defineProperty$f(this, "buffers", []);
88078
- _defineProperty$f(this, "images", []);
88079
+ _defineProperty$e(this, "baseUri", "");
88080
+ _defineProperty$e(this, "json", {});
88081
+ _defineProperty$e(this, "buffers", []);
88082
+ _defineProperty$e(this, "images", []);
88079
88083
  }
88080
88084
  postProcess(gltf, options = {}) {
88081
88085
  const {
@@ -88730,7 +88734,7 @@ const defaultProps$l = {
88730
88734
  class ScenegraphLayer extends Layer {
88731
88735
  constructor(...args) {
88732
88736
  super(...args);
88733
- _defineProperty$f(this, "state", void 0);
88737
+ _defineProperty$e(this, "state", void 0);
88734
88738
  }
88735
88739
  getShaders() {
88736
88740
  const modules = [project32, picking];
@@ -88945,8 +88949,8 @@ class ScenegraphLayer extends Layer {
88945
88949
  });
88946
88950
  }
88947
88951
  }
88948
- _defineProperty$f(ScenegraphLayer, "defaultProps", defaultProps$l);
88949
- _defineProperty$f(ScenegraphLayer, "layerName", "ScenegraphLayer");
88952
+ _defineProperty$e(ScenegraphLayer, "defaultProps", defaultProps$l);
88953
+ _defineProperty$e(ScenegraphLayer, "layerName", "ScenegraphLayer");
88950
88954
  const esm$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
88951
88955
  __proto__: null,
88952
88956
  ScenegraphLayer,
@@ -89105,8 +89109,8 @@ class MeshLayer extends SimpleMeshLayer {
89105
89109
  });
89106
89110
  }
89107
89111
  }
89108
- _defineProperty$f(MeshLayer, "layerName", "MeshLayer");
89109
- _defineProperty$f(MeshLayer, "defaultProps", defaultProps$k);
89112
+ _defineProperty$e(MeshLayer, "layerName", "MeshLayer");
89113
+ _defineProperty$e(MeshLayer, "defaultProps", defaultProps$k);
89110
89114
  const WGS84_RADIUS_X$1 = 6378137;
89111
89115
  const WGS84_RADIUS_Y$1 = 6378137;
89112
89116
  const WGS84_RADIUS_Z$1 = 6356752314245179e-9;
@@ -89446,9 +89450,9 @@ class Ellipsoid {
89446
89450
  _defineProperty$e(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
89447
89451
  class DoublyLinkedListNode {
89448
89452
  constructor(item, previous, next3) {
89449
- _defineProperty$f(this, "item", void 0);
89450
- _defineProperty$f(this, "previous", void 0);
89451
- _defineProperty$f(this, "next", void 0);
89453
+ _defineProperty$e(this, "item", void 0);
89454
+ _defineProperty$e(this, "previous", void 0);
89455
+ _defineProperty$e(this, "next", void 0);
89452
89456
  this.item = item;
89453
89457
  this.previous = previous;
89454
89458
  this.next = next3;
@@ -89456,9 +89460,9 @@ class DoublyLinkedListNode {
89456
89460
  }
89457
89461
  class DoublyLinkedList {
89458
89462
  constructor() {
89459
- _defineProperty$f(this, "head", null);
89460
- _defineProperty$f(this, "tail", null);
89461
- _defineProperty$f(this, "_length", 0);
89463
+ _defineProperty$e(this, "head", null);
89464
+ _defineProperty$e(this, "tail", null);
89465
+ _defineProperty$e(this, "_length", 0);
89462
89466
  }
89463
89467
  get length() {
89464
89468
  return this._length;
@@ -89521,9 +89525,9 @@ function defined$4(x2) {
89521
89525
  }
89522
89526
  class TilesetCache {
89523
89527
  constructor() {
89524
- _defineProperty$f(this, "_list", void 0);
89525
- _defineProperty$f(this, "_sentinel", void 0);
89526
- _defineProperty$f(this, "_trimTiles", void 0);
89528
+ _defineProperty$e(this, "_list", void 0);
89529
+ _defineProperty$e(this, "_sentinel", void 0);
89530
+ _defineProperty$e(this, "_trimTiles", void 0);
89527
89531
  this._list = new DoublyLinkedList();
89528
89532
  this._sentinel = this._list.add("sentinel");
89529
89533
  this._trimTiles = false;
@@ -89966,9 +89970,9 @@ function get3dTilesOptions(tileset) {
89966
89970
  }
89967
89971
  class ManagedArray {
89968
89972
  constructor(length2 = 0) {
89969
- _defineProperty$f(this, "_map", /* @__PURE__ */ new Map());
89970
- _defineProperty$f(this, "_array", void 0);
89971
- _defineProperty$f(this, "_length", void 0);
89973
+ _defineProperty$e(this, "_map", /* @__PURE__ */ new Map());
89974
+ _defineProperty$e(this, "_array", void 0);
89975
+ _defineProperty$e(this, "_length", void 0);
89972
89976
  this._array = new Array(length2);
89973
89977
  this._length = length2;
89974
89978
  }
@@ -90062,16 +90066,16 @@ class TilesetTraverser {
90062
90066
  return true;
90063
90067
  }
90064
90068
  constructor(options) {
90065
- _defineProperty$f(this, "options", void 0);
90066
- _defineProperty$f(this, "root", void 0);
90067
- _defineProperty$f(this, "requestedTiles", void 0);
90068
- _defineProperty$f(this, "selectedTiles", void 0);
90069
- _defineProperty$f(this, "emptyTiles", void 0);
90070
- _defineProperty$f(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
90071
- _defineProperty$f(this, "updateDebounceTime", 1e3);
90072
- _defineProperty$f(this, "_traversalStack", void 0);
90073
- _defineProperty$f(this, "_emptyTraversalStack", void 0);
90074
- _defineProperty$f(this, "_frameNumber", void 0);
90069
+ _defineProperty$e(this, "options", void 0);
90070
+ _defineProperty$e(this, "root", void 0);
90071
+ _defineProperty$e(this, "requestedTiles", void 0);
90072
+ _defineProperty$e(this, "selectedTiles", void 0);
90073
+ _defineProperty$e(this, "emptyTiles", void 0);
90074
+ _defineProperty$e(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
90075
+ _defineProperty$e(this, "updateDebounceTime", 1e3);
90076
+ _defineProperty$e(this, "_traversalStack", void 0);
90077
+ _defineProperty$e(this, "_emptyTraversalStack", void 0);
90078
+ _defineProperty$e(this, "_frameNumber", void 0);
90075
90079
  this.options = {
90076
90080
  ...DEFAULT_PROPS$1,
90077
90081
  ...options
@@ -90292,52 +90296,52 @@ function defined$2(x2) {
90292
90296
  }
90293
90297
  class TileHeader {
90294
90298
  constructor(tileset, header, parentHeader, extendedId = "") {
90295
- _defineProperty$f(this, "tileset", void 0);
90296
- _defineProperty$f(this, "header", void 0);
90297
- _defineProperty$f(this, "id", void 0);
90298
- _defineProperty$f(this, "url", void 0);
90299
- _defineProperty$f(this, "parent", void 0);
90300
- _defineProperty$f(this, "refine", void 0);
90301
- _defineProperty$f(this, "type", void 0);
90302
- _defineProperty$f(this, "contentUrl", void 0);
90303
- _defineProperty$f(this, "lodMetricType", void 0);
90304
- _defineProperty$f(this, "lodMetricValue", void 0);
90305
- _defineProperty$f(this, "boundingVolume", void 0);
90306
- _defineProperty$f(this, "content", void 0);
90307
- _defineProperty$f(this, "contentState", void 0);
90308
- _defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
90309
- _defineProperty$f(this, "children", void 0);
90310
- _defineProperty$f(this, "depth", void 0);
90311
- _defineProperty$f(this, "viewportIds", void 0);
90312
- _defineProperty$f(this, "transform", void 0);
90313
- _defineProperty$f(this, "extensions", void 0);
90314
- _defineProperty$f(this, "userData", void 0);
90315
- _defineProperty$f(this, "computedTransform", void 0);
90316
- _defineProperty$f(this, "hasEmptyContent", void 0);
90317
- _defineProperty$f(this, "hasTilesetContent", void 0);
90318
- _defineProperty$f(this, "traverser", void 0);
90319
- _defineProperty$f(this, "_cacheNode", void 0);
90320
- _defineProperty$f(this, "_frameNumber", void 0);
90321
- _defineProperty$f(this, "_lodJudge", void 0);
90322
- _defineProperty$f(this, "_expireDate", void 0);
90323
- _defineProperty$f(this, "_expiredContent", void 0);
90324
- _defineProperty$f(this, "_shouldRefine", void 0);
90325
- _defineProperty$f(this, "_distanceToCamera", void 0);
90326
- _defineProperty$f(this, "_centerZDepth", void 0);
90327
- _defineProperty$f(this, "_screenSpaceError", void 0);
90328
- _defineProperty$f(this, "_visibilityPlaneMask", void 0);
90329
- _defineProperty$f(this, "_visible", void 0);
90330
- _defineProperty$f(this, "_inRequestVolume", void 0);
90331
- _defineProperty$f(this, "_stackLength", void 0);
90332
- _defineProperty$f(this, "_selectionDepth", void 0);
90333
- _defineProperty$f(this, "_touchedFrame", void 0);
90334
- _defineProperty$f(this, "_visitedFrame", void 0);
90335
- _defineProperty$f(this, "_selectedFrame", void 0);
90336
- _defineProperty$f(this, "_requestedFrame", void 0);
90337
- _defineProperty$f(this, "_priority", void 0);
90338
- _defineProperty$f(this, "_contentBoundingVolume", void 0);
90339
- _defineProperty$f(this, "_viewerRequestVolume", void 0);
90340
- _defineProperty$f(this, "_initialTransform", void 0);
90299
+ _defineProperty$e(this, "tileset", void 0);
90300
+ _defineProperty$e(this, "header", void 0);
90301
+ _defineProperty$e(this, "id", void 0);
90302
+ _defineProperty$e(this, "url", void 0);
90303
+ _defineProperty$e(this, "parent", void 0);
90304
+ _defineProperty$e(this, "refine", void 0);
90305
+ _defineProperty$e(this, "type", void 0);
90306
+ _defineProperty$e(this, "contentUrl", void 0);
90307
+ _defineProperty$e(this, "lodMetricType", void 0);
90308
+ _defineProperty$e(this, "lodMetricValue", void 0);
90309
+ _defineProperty$e(this, "boundingVolume", void 0);
90310
+ _defineProperty$e(this, "content", void 0);
90311
+ _defineProperty$e(this, "contentState", void 0);
90312
+ _defineProperty$e(this, "gpuMemoryUsageInBytes", void 0);
90313
+ _defineProperty$e(this, "children", void 0);
90314
+ _defineProperty$e(this, "depth", void 0);
90315
+ _defineProperty$e(this, "viewportIds", void 0);
90316
+ _defineProperty$e(this, "transform", void 0);
90317
+ _defineProperty$e(this, "extensions", void 0);
90318
+ _defineProperty$e(this, "userData", void 0);
90319
+ _defineProperty$e(this, "computedTransform", void 0);
90320
+ _defineProperty$e(this, "hasEmptyContent", void 0);
90321
+ _defineProperty$e(this, "hasTilesetContent", void 0);
90322
+ _defineProperty$e(this, "traverser", void 0);
90323
+ _defineProperty$e(this, "_cacheNode", void 0);
90324
+ _defineProperty$e(this, "_frameNumber", void 0);
90325
+ _defineProperty$e(this, "_lodJudge", void 0);
90326
+ _defineProperty$e(this, "_expireDate", void 0);
90327
+ _defineProperty$e(this, "_expiredContent", void 0);
90328
+ _defineProperty$e(this, "_shouldRefine", void 0);
90329
+ _defineProperty$e(this, "_distanceToCamera", void 0);
90330
+ _defineProperty$e(this, "_centerZDepth", void 0);
90331
+ _defineProperty$e(this, "_screenSpaceError", void 0);
90332
+ _defineProperty$e(this, "_visibilityPlaneMask", void 0);
90333
+ _defineProperty$e(this, "_visible", void 0);
90334
+ _defineProperty$e(this, "_inRequestVolume", void 0);
90335
+ _defineProperty$e(this, "_stackLength", void 0);
90336
+ _defineProperty$e(this, "_selectionDepth", void 0);
90337
+ _defineProperty$e(this, "_touchedFrame", void 0);
90338
+ _defineProperty$e(this, "_visitedFrame", void 0);
90339
+ _defineProperty$e(this, "_selectedFrame", void 0);
90340
+ _defineProperty$e(this, "_requestedFrame", void 0);
90341
+ _defineProperty$e(this, "_priority", void 0);
90342
+ _defineProperty$e(this, "_contentBoundingVolume", void 0);
90343
+ _defineProperty$e(this, "_viewerRequestVolume", void 0);
90344
+ _defineProperty$e(this, "_initialTransform", void 0);
90341
90345
  this.header = header;
90342
90346
  this.tileset = tileset;
90343
90347
  this.id = extendedId || header.id;
@@ -90730,7 +90734,7 @@ class Tileset3DTraverser extends TilesetTraverser {
90730
90734
  }
90731
90735
  class I3SPendingTilesRegister {
90732
90736
  constructor() {
90733
- _defineProperty$f(this, "frameNumberMap", /* @__PURE__ */ new Map());
90737
+ _defineProperty$e(this, "frameNumberMap", /* @__PURE__ */ new Map());
90734
90738
  }
90735
90739
  register(viewportId, frameNumber) {
90736
90740
  const viewportMap = this.frameNumberMap.get(viewportId) || /* @__PURE__ */ new Map();
@@ -90759,8 +90763,8 @@ const STATUS = {
90759
90763
  };
90760
90764
  class I3STileManager {
90761
90765
  constructor() {
90762
- _defineProperty$f(this, "_statusMap", void 0);
90763
- _defineProperty$f(this, "pendingTilesRegister", new I3SPendingTilesRegister());
90766
+ _defineProperty$e(this, "_statusMap", void 0);
90767
+ _defineProperty$e(this, "pendingTilesRegister", new I3SPendingTilesRegister());
90764
90768
  this._statusMap = {};
90765
90769
  }
90766
90770
  add(request, key, callback, frameState) {
@@ -90834,7 +90838,7 @@ class I3STilesetTraverser extends TilesetTraverser {
90834
90838
  }
90835
90839
  constructor(options) {
90836
90840
  super(options);
90837
- _defineProperty$f(this, "_tileManager", void 0);
90841
+ _defineProperty$e(this, "_tileManager", void 0);
90838
90842
  this._tileManager = new I3STileManager();
90839
90843
  }
90840
90844
  shouldRefine(tile, frameState) {
@@ -90931,52 +90935,52 @@ const POINTS_COUNT = "Points/Vertices";
90931
90935
  const TILES_GPU_MEMORY = "Tile Memory Use";
90932
90936
  class Tileset3D {
90933
90937
  constructor(json, options) {
90934
- _defineProperty$f(this, "options", void 0);
90935
- _defineProperty$f(this, "loadOptions", void 0);
90936
- _defineProperty$f(this, "type", void 0);
90937
- _defineProperty$f(this, "tileset", void 0);
90938
- _defineProperty$f(this, "loader", void 0);
90939
- _defineProperty$f(this, "url", void 0);
90940
- _defineProperty$f(this, "basePath", void 0);
90941
- _defineProperty$f(this, "modelMatrix", void 0);
90942
- _defineProperty$f(this, "ellipsoid", void 0);
90943
- _defineProperty$f(this, "lodMetricType", void 0);
90944
- _defineProperty$f(this, "lodMetricValue", void 0);
90945
- _defineProperty$f(this, "refine", void 0);
90946
- _defineProperty$f(this, "root", void 0);
90947
- _defineProperty$f(this, "roots", void 0);
90948
- _defineProperty$f(this, "asset", void 0);
90949
- _defineProperty$f(this, "description", void 0);
90950
- _defineProperty$f(this, "properties", void 0);
90951
- _defineProperty$f(this, "extras", void 0);
90952
- _defineProperty$f(this, "attributions", void 0);
90953
- _defineProperty$f(this, "credits", void 0);
90954
- _defineProperty$f(this, "stats", void 0);
90955
- _defineProperty$f(this, "traverseCounter", void 0);
90956
- _defineProperty$f(this, "geometricError", void 0);
90957
- _defineProperty$f(this, "selectedTiles", void 0);
90958
- _defineProperty$f(this, "updatePromise", null);
90959
- _defineProperty$f(this, "tilesetInitializationPromise", void 0);
90960
- _defineProperty$f(this, "cartographicCenter", void 0);
90961
- _defineProperty$f(this, "cartesianCenter", void 0);
90962
- _defineProperty$f(this, "zoom", void 0);
90963
- _defineProperty$f(this, "boundingVolume", void 0);
90964
- _defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
90965
- _defineProperty$f(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
90966
- _defineProperty$f(this, "_traverser", void 0);
90967
- _defineProperty$f(this, "_cache", void 0);
90968
- _defineProperty$f(this, "_requestScheduler", void 0);
90969
- _defineProperty$f(this, "_frameNumber", void 0);
90970
- _defineProperty$f(this, "_queryParamsString", void 0);
90971
- _defineProperty$f(this, "_queryParams", void 0);
90972
- _defineProperty$f(this, "_extensionsUsed", void 0);
90973
- _defineProperty$f(this, "_tiles", void 0);
90974
- _defineProperty$f(this, "_pendingCount", void 0);
90975
- _defineProperty$f(this, "lastUpdatedVieports", void 0);
90976
- _defineProperty$f(this, "_requestedTiles", void 0);
90977
- _defineProperty$f(this, "_emptyTiles", void 0);
90978
- _defineProperty$f(this, "frameStateData", void 0);
90979
- _defineProperty$f(this, "maximumMemoryUsage", void 0);
90938
+ _defineProperty$e(this, "options", void 0);
90939
+ _defineProperty$e(this, "loadOptions", void 0);
90940
+ _defineProperty$e(this, "type", void 0);
90941
+ _defineProperty$e(this, "tileset", void 0);
90942
+ _defineProperty$e(this, "loader", void 0);
90943
+ _defineProperty$e(this, "url", void 0);
90944
+ _defineProperty$e(this, "basePath", void 0);
90945
+ _defineProperty$e(this, "modelMatrix", void 0);
90946
+ _defineProperty$e(this, "ellipsoid", void 0);
90947
+ _defineProperty$e(this, "lodMetricType", void 0);
90948
+ _defineProperty$e(this, "lodMetricValue", void 0);
90949
+ _defineProperty$e(this, "refine", void 0);
90950
+ _defineProperty$e(this, "root", void 0);
90951
+ _defineProperty$e(this, "roots", void 0);
90952
+ _defineProperty$e(this, "asset", void 0);
90953
+ _defineProperty$e(this, "description", void 0);
90954
+ _defineProperty$e(this, "properties", void 0);
90955
+ _defineProperty$e(this, "extras", void 0);
90956
+ _defineProperty$e(this, "attributions", void 0);
90957
+ _defineProperty$e(this, "credits", void 0);
90958
+ _defineProperty$e(this, "stats", void 0);
90959
+ _defineProperty$e(this, "traverseCounter", void 0);
90960
+ _defineProperty$e(this, "geometricError", void 0);
90961
+ _defineProperty$e(this, "selectedTiles", void 0);
90962
+ _defineProperty$e(this, "updatePromise", null);
90963
+ _defineProperty$e(this, "tilesetInitializationPromise", void 0);
90964
+ _defineProperty$e(this, "cartographicCenter", void 0);
90965
+ _defineProperty$e(this, "cartesianCenter", void 0);
90966
+ _defineProperty$e(this, "zoom", void 0);
90967
+ _defineProperty$e(this, "boundingVolume", void 0);
90968
+ _defineProperty$e(this, "gpuMemoryUsageInBytes", void 0);
90969
+ _defineProperty$e(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
90970
+ _defineProperty$e(this, "_traverser", void 0);
90971
+ _defineProperty$e(this, "_cache", void 0);
90972
+ _defineProperty$e(this, "_requestScheduler", void 0);
90973
+ _defineProperty$e(this, "_frameNumber", void 0);
90974
+ _defineProperty$e(this, "_queryParamsString", void 0);
90975
+ _defineProperty$e(this, "_queryParams", void 0);
90976
+ _defineProperty$e(this, "_extensionsUsed", void 0);
90977
+ _defineProperty$e(this, "_tiles", void 0);
90978
+ _defineProperty$e(this, "_pendingCount", void 0);
90979
+ _defineProperty$e(this, "lastUpdatedVieports", void 0);
90980
+ _defineProperty$e(this, "_requestedTiles", void 0);
90981
+ _defineProperty$e(this, "_emptyTiles", void 0);
90982
+ _defineProperty$e(this, "frameStateData", void 0);
90983
+ _defineProperty$e(this, "maximumMemoryUsage", void 0);
90980
90984
  assert$b(json);
90981
90985
  this.options = {
90982
90986
  ...DEFAULT_PROPS,
@@ -91632,10 +91636,10 @@ function octDecode(x2, y2, result) {
91632
91636
  }
91633
91637
  class Tile3DFeatureTable {
91634
91638
  constructor(featureTableJson, featureTableBinary) {
91635
- _defineProperty$f(this, "json", void 0);
91636
- _defineProperty$f(this, "buffer", void 0);
91637
- _defineProperty$f(this, "featuresLength", 0);
91638
- _defineProperty$f(this, "_cachedTypedArrays", {});
91639
+ _defineProperty$e(this, "json", void 0);
91640
+ _defineProperty$e(this, "buffer", void 0);
91641
+ _defineProperty$e(this, "featuresLength", 0);
91642
+ _defineProperty$e(this, "_cachedTypedArrays", {});
91639
91643
  this.json = featureTableJson;
91640
91644
  this.buffer = featureTableBinary;
91641
91645
  }
@@ -91969,13 +91973,13 @@ const IGNORED_PROPERTY_FIELDS = {
91969
91973
  class Tile3DBatchTableParser {
91970
91974
  constructor(json, binary, featureCount, options = {}) {
91971
91975
  var _this$json;
91972
- _defineProperty$f(this, "json", void 0);
91973
- _defineProperty$f(this, "binary", void 0);
91974
- _defineProperty$f(this, "featureCount", void 0);
91975
- _defineProperty$f(this, "_extensions", void 0);
91976
- _defineProperty$f(this, "_properties", void 0);
91977
- _defineProperty$f(this, "_binaryProperties", void 0);
91978
- _defineProperty$f(this, "_hierarchy", void 0);
91976
+ _defineProperty$e(this, "json", void 0);
91977
+ _defineProperty$e(this, "binary", void 0);
91978
+ _defineProperty$e(this, "featureCount", void 0);
91979
+ _defineProperty$e(this, "_extensions", void 0);
91980
+ _defineProperty$e(this, "_properties", void 0);
91981
+ _defineProperty$e(this, "_binaryProperties", void 0);
91982
+ _defineProperty$e(this, "_hierarchy", void 0);
91979
91983
  assert$b(featureCount >= 0);
91980
91984
  this.json = json || {};
91981
91985
  this.binary = binary;
@@ -93320,7 +93324,7 @@ const defaultProps$j = {
93320
93324
  class Tile3DLayer extends CompositeLayer {
93321
93325
  constructor(...args) {
93322
93326
  super(...args);
93323
- _defineProperty$f(this, "state", void 0);
93327
+ _defineProperty$e(this, "state", void 0);
93324
93328
  }
93325
93329
  initializeState() {
93326
93330
  if ("onTileLoadFail" in this.props) {
@@ -93641,8 +93645,8 @@ class Tile3DLayer extends CompositeLayer {
93641
93645
  }).filter(Boolean);
93642
93646
  }
93643
93647
  }
93644
- _defineProperty$f(Tile3DLayer, "defaultProps", defaultProps$j);
93645
- _defineProperty$f(Tile3DLayer, "layerName", "Tile3DLayer");
93648
+ _defineProperty$e(Tile3DLayer, "defaultProps", defaultProps$j);
93649
+ _defineProperty$e(Tile3DLayer, "layerName", "Tile3DLayer");
93646
93650
  function getMeshGeometry(contentAttributes) {
93647
93651
  const attributes = {};
93648
93652
  attributes.positions = {
@@ -94472,7 +94476,7 @@ function urlTemplateToUpdateTrigger(template) {
94472
94476
  class TerrainLayer extends CompositeLayer {
94473
94477
  constructor(...args) {
94474
94478
  super(...args);
94475
- _defineProperty$f(this, "state", void 0);
94479
+ _defineProperty$e(this, "state", void 0);
94476
94480
  }
94477
94481
  updateState({
94478
94482
  props: props2,
@@ -94687,8 +94691,8 @@ class TerrainLayer extends CompositeLayer {
94687
94691
  });
94688
94692
  }
94689
94693
  }
94690
- _defineProperty$f(TerrainLayer, "defaultProps", defaultProps$i);
94691
- _defineProperty$f(TerrainLayer, "layerName", "TerrainLayer");
94694
+ _defineProperty$e(TerrainLayer, "defaultProps", defaultProps$i);
94695
+ _defineProperty$e(TerrainLayer, "layerName", "TerrainLayer");
94692
94696
  function flatGeojsonToBinary(features, geometryInfo, options) {
94693
94697
  const propArrayTypes = extractNumericPropTypes(features);
94694
94698
  const numericPropKeys = Object.keys(propArrayTypes).filter((k) => propArrayTypes[k] !== Array);
@@ -95978,14 +95982,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
95978
95982
  return ["Unknown", "Point", "LineString", "Polygon"];
95979
95983
  }
95980
95984
  constructor(pbf2, end, extent2, keys3, values2) {
95981
- _defineProperty$f(this, "properties", void 0);
95982
- _defineProperty$f(this, "extent", void 0);
95983
- _defineProperty$f(this, "type", void 0);
95984
- _defineProperty$f(this, "id", void 0);
95985
- _defineProperty$f(this, "_pbf", void 0);
95986
- _defineProperty$f(this, "_geometry", void 0);
95987
- _defineProperty$f(this, "_keys", void 0);
95988
- _defineProperty$f(this, "_values", void 0);
95985
+ _defineProperty$e(this, "properties", void 0);
95986
+ _defineProperty$e(this, "extent", void 0);
95987
+ _defineProperty$e(this, "type", void 0);
95988
+ _defineProperty$e(this, "id", void 0);
95989
+ _defineProperty$e(this, "_pbf", void 0);
95990
+ _defineProperty$e(this, "_geometry", void 0);
95991
+ _defineProperty$e(this, "_keys", void 0);
95992
+ _defineProperty$e(this, "_values", void 0);
95989
95993
  this.properties = {};
95990
95994
  this.extent = extent2;
95991
95995
  this.type = 0;
@@ -96142,14 +96146,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
96142
96146
  };
96143
96147
  let VectorTileLayer$1 = class VectorTileLayer {
96144
96148
  constructor(pbf2, end) {
96145
- _defineProperty$f(this, "version", void 0);
96146
- _defineProperty$f(this, "name", void 0);
96147
- _defineProperty$f(this, "extent", void 0);
96148
- _defineProperty$f(this, "length", void 0);
96149
- _defineProperty$f(this, "_pbf", void 0);
96150
- _defineProperty$f(this, "_keys", void 0);
96151
- _defineProperty$f(this, "_values", void 0);
96152
- _defineProperty$f(this, "_features", void 0);
96149
+ _defineProperty$e(this, "version", void 0);
96150
+ _defineProperty$e(this, "name", void 0);
96151
+ _defineProperty$e(this, "extent", void 0);
96152
+ _defineProperty$e(this, "length", void 0);
96153
+ _defineProperty$e(this, "_pbf", void 0);
96154
+ _defineProperty$e(this, "_keys", void 0);
96155
+ _defineProperty$e(this, "_values", void 0);
96156
+ _defineProperty$e(this, "_features", void 0);
96153
96157
  this.version = 1;
96154
96158
  this.name = "";
96155
96159
  this.extent = 4096;
@@ -96197,7 +96201,7 @@ function readValueMessage$1(pbf2) {
96197
96201
  }
96198
96202
  let VectorTile$1 = class VectorTile {
96199
96203
  constructor(pbf2, end) {
96200
- _defineProperty$f(this, "layers", void 0);
96204
+ _defineProperty$e(this, "layers", void 0);
96201
96205
  this.layers = pbf2.readFields(readTile$1, {}, end);
96202
96206
  }
96203
96207
  };
@@ -96301,15 +96305,15 @@ let y;
96301
96305
  let i$2;
96302
96306
  class VectorTileFeature2 {
96303
96307
  constructor(pbf2, end, extent2, keys3, values2, geometryInfo) {
96304
- _defineProperty$f(this, "properties", void 0);
96305
- _defineProperty$f(this, "extent", void 0);
96306
- _defineProperty$f(this, "type", void 0);
96307
- _defineProperty$f(this, "id", void 0);
96308
- _defineProperty$f(this, "_pbf", void 0);
96309
- _defineProperty$f(this, "_geometry", void 0);
96310
- _defineProperty$f(this, "_keys", void 0);
96311
- _defineProperty$f(this, "_values", void 0);
96312
- _defineProperty$f(this, "_geometryInfo", void 0);
96308
+ _defineProperty$e(this, "properties", void 0);
96309
+ _defineProperty$e(this, "extent", void 0);
96310
+ _defineProperty$e(this, "type", void 0);
96311
+ _defineProperty$e(this, "id", void 0);
96312
+ _defineProperty$e(this, "_pbf", void 0);
96313
+ _defineProperty$e(this, "_geometry", void 0);
96314
+ _defineProperty$e(this, "_keys", void 0);
96315
+ _defineProperty$e(this, "_values", void 0);
96316
+ _defineProperty$e(this, "_geometryInfo", void 0);
96313
96317
  this.properties = {};
96314
96318
  this.extent = extent2;
96315
96319
  this.type = 0;
@@ -96424,14 +96428,14 @@ class VectorTileFeature2 {
96424
96428
  }
96425
96429
  class VectorTileLayer2 {
96426
96430
  constructor(pbf2, end) {
96427
- _defineProperty$f(this, "version", void 0);
96428
- _defineProperty$f(this, "name", void 0);
96429
- _defineProperty$f(this, "extent", void 0);
96430
- _defineProperty$f(this, "length", void 0);
96431
- _defineProperty$f(this, "_pbf", void 0);
96432
- _defineProperty$f(this, "_keys", void 0);
96433
- _defineProperty$f(this, "_values", void 0);
96434
- _defineProperty$f(this, "_features", void 0);
96431
+ _defineProperty$e(this, "version", void 0);
96432
+ _defineProperty$e(this, "name", void 0);
96433
+ _defineProperty$e(this, "extent", void 0);
96434
+ _defineProperty$e(this, "length", void 0);
96435
+ _defineProperty$e(this, "_pbf", void 0);
96436
+ _defineProperty$e(this, "_keys", void 0);
96437
+ _defineProperty$e(this, "_values", void 0);
96438
+ _defineProperty$e(this, "_features", void 0);
96435
96439
  this.version = 1;
96436
96440
  this.name = "";
96437
96441
  this.extent = 4096;
@@ -96479,7 +96483,7 @@ function readValueMessage(pbf2) {
96479
96483
  }
96480
96484
  class VectorTile2 {
96481
96485
  constructor(pbf2, end) {
96482
- _defineProperty$f(this, "layers", void 0);
96486
+ _defineProperty$e(this, "layers", void 0);
96483
96487
  this.layers = pbf2.readFields(readTile, {}, end);
96484
96488
  }
96485
96489
  }
@@ -97090,8 +97094,8 @@ class MVTLayer extends TileLayer {
97090
97094
  });
97091
97095
  }
97092
97096
  }
97093
- _defineProperty$f(MVTLayer, "layerName", "MVTLayer");
97094
- _defineProperty$f(MVTLayer, "defaultProps", defaultProps$h);
97097
+ _defineProperty$e(MVTLayer, "layerName", "MVTLayer");
97098
+ _defineProperty$e(MVTLayer, "defaultProps", defaultProps$h);
97095
97099
  function getFeatureUniqueId(feature2, uniqueIdProperty) {
97096
97100
  if (feature2.properties && uniqueIdProperty) {
97097
97101
  return feature2.properties[uniqueIdProperty];
@@ -97189,8 +97193,8 @@ class GeohashLayer extends GeoCellLayer {
97189
97193
  };
97190
97194
  }
97191
97195
  }
97192
- _defineProperty$f(GeohashLayer, "layerName", "GeohashLayer");
97193
- _defineProperty$f(GeohashLayer, "defaultProps", defaultProps$g);
97196
+ _defineProperty$e(GeohashLayer, "layerName", "GeohashLayer");
97197
+ _defineProperty$e(GeohashLayer, "defaultProps", defaultProps$g);
97194
97198
  const esm$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
97195
97199
  __proto__: null,
97196
97200
  GeohashLayer,
@@ -99454,13 +99458,13 @@ var shams$1 = function hasSymbols() {
99454
99458
  }
99455
99459
  return true;
99456
99460
  };
99457
- var hasSymbols$4 = shams$1;
99461
+ var hasSymbols$3 = shams$1;
99458
99462
  var shams = function hasToStringTagShams() {
99459
- return hasSymbols$4() && !!Symbol.toStringTag;
99463
+ return hasSymbols$3() && !!Symbol.toStringTag;
99460
99464
  };
99461
99465
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
99462
99466
  var hasSymbolSham = shams$1;
99463
- var hasSymbols$3 = function hasNativeSymbols() {
99467
+ var hasSymbols$2 = function hasNativeSymbols() {
99464
99468
  if (typeof origSymbol !== "function") {
99465
99469
  return false;
99466
99470
  }
@@ -99475,6 +99479,13 @@ var hasSymbols$3 = function hasNativeSymbols() {
99475
99479
  }
99476
99480
  return hasSymbolSham();
99477
99481
  };
99482
+ var test = {
99483
+ foo: {}
99484
+ };
99485
+ var $Object = Object;
99486
+ var hasProto$1 = function hasProto() {
99487
+ return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
99488
+ };
99478
99489
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
99479
99490
  var slice$1 = Array.prototype.slice;
99480
99491
  var toStr$2 = Object.prototype.toString;
@@ -99520,374 +99531,8 @@ var implementation$7 = function bind2(that) {
99520
99531
  };
99521
99532
  var implementation$6 = implementation$7;
99522
99533
  var functionBind = Function.prototype.bind || implementation$6;
99523
- var bind$2 = functionBind;
99524
- var src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
99525
- var undefined$2;
99526
- var $SyntaxError$1 = SyntaxError;
99527
- var $Function$1 = Function;
99528
- var $TypeError$1 = TypeError;
99529
- var getEvalledConstructor$1 = function(expressionSyntax) {
99530
- try {
99531
- return $Function$1('"use strict"; return (' + expressionSyntax + ").constructor;")();
99532
- } catch (e2) {
99533
- }
99534
- };
99535
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
99536
- if ($gOPD$2) {
99537
- try {
99538
- $gOPD$2({}, "");
99539
- } catch (e2) {
99540
- $gOPD$2 = null;
99541
- }
99542
- }
99543
- var throwTypeError$1 = function() {
99544
- throw new $TypeError$1();
99545
- };
99546
- var ThrowTypeError$1 = $gOPD$2 ? function() {
99547
- try {
99548
- arguments.callee;
99549
- return throwTypeError$1;
99550
- } catch (calleeThrows) {
99551
- try {
99552
- return $gOPD$2(arguments, "callee").get;
99553
- } catch (gOPDthrows) {
99554
- return throwTypeError$1;
99555
- }
99556
- }
99557
- }() : throwTypeError$1;
99558
- var hasSymbols$2 = hasSymbols$3();
99559
- var getProto$2 = Object.getPrototypeOf || function(x2) {
99560
- return x2.__proto__;
99561
- };
99562
- var needsEval$1 = {};
99563
- var TypedArray$2 = typeof Uint8Array === "undefined" ? undefined$2 : getProto$2(Uint8Array);
99564
- var INTRINSICS$1 = {
99565
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$2 : AggregateError,
99566
- "%Array%": Array,
99567
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$2 : ArrayBuffer,
99568
- "%ArrayIteratorPrototype%": hasSymbols$2 ? getProto$2([][Symbol.iterator]()) : undefined$2,
99569
- "%AsyncFromSyncIteratorPrototype%": undefined$2,
99570
- "%AsyncFunction%": needsEval$1,
99571
- "%AsyncGenerator%": needsEval$1,
99572
- "%AsyncGeneratorFunction%": needsEval$1,
99573
- "%AsyncIteratorPrototype%": needsEval$1,
99574
- "%Atomics%": typeof Atomics === "undefined" ? undefined$2 : Atomics,
99575
- "%BigInt%": typeof BigInt === "undefined" ? undefined$2 : BigInt,
99576
- "%Boolean%": Boolean,
99577
- "%DataView%": typeof DataView === "undefined" ? undefined$2 : DataView,
99578
- "%Date%": Date,
99579
- "%decodeURI%": decodeURI,
99580
- "%decodeURIComponent%": decodeURIComponent,
99581
- "%encodeURI%": encodeURI,
99582
- "%encodeURIComponent%": encodeURIComponent,
99583
- "%Error%": Error,
99584
- "%eval%": eval,
99585
- // eslint-disable-line no-eval
99586
- "%EvalError%": EvalError,
99587
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$2 : Float32Array,
99588
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$2 : Float64Array,
99589
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$2 : FinalizationRegistry,
99590
- "%Function%": $Function$1,
99591
- "%GeneratorFunction%": needsEval$1,
99592
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$2 : Int8Array,
99593
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$2 : Int16Array,
99594
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$2 : Int32Array,
99595
- "%isFinite%": isFinite,
99596
- "%isNaN%": isNaN,
99597
- "%IteratorPrototype%": hasSymbols$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$2,
99598
- "%JSON%": typeof JSON === "object" ? JSON : undefined$2,
99599
- "%Map%": typeof Map === "undefined" ? undefined$2 : Map,
99600
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
99601
- "%Math%": Math,
99602
- "%Number%": Number,
99603
- "%Object%": Object,
99604
- "%parseFloat%": parseFloat,
99605
- "%parseInt%": parseInt,
99606
- "%Promise%": typeof Promise === "undefined" ? undefined$2 : Promise,
99607
- "%Proxy%": typeof Proxy === "undefined" ? undefined$2 : Proxy,
99608
- "%RangeError%": RangeError,
99609
- "%ReferenceError%": ReferenceError,
99610
- "%Reflect%": typeof Reflect === "undefined" ? undefined$2 : Reflect,
99611
- "%RegExp%": RegExp,
99612
- "%Set%": typeof Set === "undefined" ? undefined$2 : Set,
99613
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
99614
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$2 : SharedArrayBuffer,
99615
- "%String%": String,
99616
- "%StringIteratorPrototype%": hasSymbols$2 ? getProto$2(""[Symbol.iterator]()) : undefined$2,
99617
- "%Symbol%": hasSymbols$2 ? Symbol : undefined$2,
99618
- "%SyntaxError%": $SyntaxError$1,
99619
- "%ThrowTypeError%": ThrowTypeError$1,
99620
- "%TypedArray%": TypedArray$2,
99621
- "%TypeError%": $TypeError$1,
99622
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$2 : Uint8Array,
99623
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$2 : Uint8ClampedArray,
99624
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$2 : Uint16Array,
99625
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$2 : Uint32Array,
99626
- "%URIError%": URIError,
99627
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$2 : WeakMap,
99628
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$2 : WeakRef,
99629
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$2 : WeakSet
99630
- };
99631
- var doEval$1 = function doEval(name2) {
99632
- var value;
99633
- if (name2 === "%AsyncFunction%") {
99634
- value = getEvalledConstructor$1("async function () {}");
99635
- } else if (name2 === "%GeneratorFunction%") {
99636
- value = getEvalledConstructor$1("function* () {}");
99637
- } else if (name2 === "%AsyncGeneratorFunction%") {
99638
- value = getEvalledConstructor$1("async function* () {}");
99639
- } else if (name2 === "%AsyncGenerator%") {
99640
- var fn = doEval("%AsyncGeneratorFunction%");
99641
- if (fn) {
99642
- value = fn.prototype;
99643
- }
99644
- } else if (name2 === "%AsyncIteratorPrototype%") {
99645
- var gen = doEval("%AsyncGenerator%");
99646
- if (gen) {
99647
- value = getProto$2(gen.prototype);
99648
- }
99649
- }
99650
- INTRINSICS$1[name2] = value;
99651
- return value;
99652
- };
99653
- var LEGACY_ALIASES$1 = {
99654
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
99655
- "%ArrayPrototype%": ["Array", "prototype"],
99656
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
99657
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
99658
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
99659
- "%ArrayProto_values%": ["Array", "prototype", "values"],
99660
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
99661
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
99662
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
99663
- "%BooleanPrototype%": ["Boolean", "prototype"],
99664
- "%DataViewPrototype%": ["DataView", "prototype"],
99665
- "%DatePrototype%": ["Date", "prototype"],
99666
- "%ErrorPrototype%": ["Error", "prototype"],
99667
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
99668
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
99669
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
99670
- "%FunctionPrototype%": ["Function", "prototype"],
99671
- "%Generator%": ["GeneratorFunction", "prototype"],
99672
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
99673
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
99674
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
99675
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
99676
- "%JSONParse%": ["JSON", "parse"],
99677
- "%JSONStringify%": ["JSON", "stringify"],
99678
- "%MapPrototype%": ["Map", "prototype"],
99679
- "%NumberPrototype%": ["Number", "prototype"],
99680
- "%ObjectPrototype%": ["Object", "prototype"],
99681
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
99682
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
99683
- "%PromisePrototype%": ["Promise", "prototype"],
99684
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
99685
- "%Promise_all%": ["Promise", "all"],
99686
- "%Promise_reject%": ["Promise", "reject"],
99687
- "%Promise_resolve%": ["Promise", "resolve"],
99688
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
99689
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
99690
- "%RegExpPrototype%": ["RegExp", "prototype"],
99691
- "%SetPrototype%": ["Set", "prototype"],
99692
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
99693
- "%StringPrototype%": ["String", "prototype"],
99694
- "%SymbolPrototype%": ["Symbol", "prototype"],
99695
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
99696
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
99697
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
99698
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
99699
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
99700
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
99701
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
99702
- "%URIErrorPrototype%": ["URIError", "prototype"],
99703
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
99704
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
99705
- };
99706
99534
  var bind$1 = functionBind;
99707
- var hasOwn$1 = src;
99708
- var $concat$1 = bind$1.call(Function.call, Array.prototype.concat);
99709
- var $spliceApply$1 = bind$1.call(Function.apply, Array.prototype.splice);
99710
- var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
99711
- var $strSlice$1 = bind$1.call(Function.call, String.prototype.slice);
99712
- var $exec$2 = bind$1.call(Function.call, RegExp.prototype.exec);
99713
- var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
99714
- var reEscapeChar$1 = /\\(\\)?/g;
99715
- var stringToPath$1 = function stringToPath(string) {
99716
- var first = $strSlice$1(string, 0, 1);
99717
- var last = $strSlice$1(string, -1);
99718
- if (first === "%" && last !== "%") {
99719
- throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
99720
- } else if (last === "%" && first !== "%") {
99721
- throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
99722
- }
99723
- var result = [];
99724
- $replace$1(string, rePropName$1, function(match, number2, quote, subString) {
99725
- result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, "$1") : number2 || match;
99726
- });
99727
- return result;
99728
- };
99729
- var getBaseIntrinsic$1 = function getBaseIntrinsic(name2, allowMissing) {
99730
- var intrinsicName = name2;
99731
- var alias;
99732
- if (hasOwn$1(LEGACY_ALIASES$1, intrinsicName)) {
99733
- alias = LEGACY_ALIASES$1[intrinsicName];
99734
- intrinsicName = "%" + alias[0] + "%";
99735
- }
99736
- if (hasOwn$1(INTRINSICS$1, intrinsicName)) {
99737
- var value = INTRINSICS$1[intrinsicName];
99738
- if (value === needsEval$1) {
99739
- value = doEval$1(intrinsicName);
99740
- }
99741
- if (typeof value === "undefined" && !allowMissing) {
99742
- throw new $TypeError$1("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
99743
- }
99744
- return {
99745
- alias,
99746
- name: intrinsicName,
99747
- value
99748
- };
99749
- }
99750
- throw new $SyntaxError$1("intrinsic " + name2 + " does not exist!");
99751
- };
99752
- var getIntrinsic$1 = function GetIntrinsic(name2, allowMissing) {
99753
- if (typeof name2 !== "string" || name2.length === 0) {
99754
- throw new $TypeError$1("intrinsic name must be a non-empty string");
99755
- }
99756
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
99757
- throw new $TypeError$1('"allowMissing" argument must be a boolean');
99758
- }
99759
- if ($exec$2(/^%?[^%]*%?$/, name2) === null) {
99760
- throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
99761
- }
99762
- var parts = stringToPath$1(name2);
99763
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
99764
- var intrinsic = getBaseIntrinsic$1("%" + intrinsicBaseName + "%", allowMissing);
99765
- var intrinsicRealName = intrinsic.name;
99766
- var value = intrinsic.value;
99767
- var skipFurtherCaching = false;
99768
- var alias = intrinsic.alias;
99769
- if (alias) {
99770
- intrinsicBaseName = alias[0];
99771
- $spliceApply$1(parts, $concat$1([0, 1], alias));
99772
- }
99773
- for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
99774
- var part = parts[i2];
99775
- var first = $strSlice$1(part, 0, 1);
99776
- var last = $strSlice$1(part, -1);
99777
- if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
99778
- throw new $SyntaxError$1("property names with quotes must have matching quotes");
99779
- }
99780
- if (part === "constructor" || !isOwn) {
99781
- skipFurtherCaching = true;
99782
- }
99783
- intrinsicBaseName += "." + part;
99784
- intrinsicRealName = "%" + intrinsicBaseName + "%";
99785
- if (hasOwn$1(INTRINSICS$1, intrinsicRealName)) {
99786
- value = INTRINSICS$1[intrinsicRealName];
99787
- } else if (value != null) {
99788
- if (!(part in value)) {
99789
- if (!allowMissing) {
99790
- throw new $TypeError$1("base intrinsic for " + name2 + " exists, but the property is not available.");
99791
- }
99792
- return void 0;
99793
- }
99794
- if ($gOPD$2 && i2 + 1 >= parts.length) {
99795
- var desc = $gOPD$2(value, part);
99796
- isOwn = !!desc;
99797
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
99798
- value = desc.get;
99799
- } else {
99800
- value = value[part];
99801
- }
99802
- } else {
99803
- isOwn = hasOwn$1(value, part);
99804
- value = value[part];
99805
- }
99806
- if (isOwn && !skipFurtherCaching) {
99807
- INTRINSICS$1[intrinsicRealName] = value;
99808
- }
99809
- }
99810
- }
99811
- return value;
99812
- };
99813
- var callBind$3 = { exports: {} };
99814
- (function(module2) {
99815
- var bind4 = functionBind;
99816
- var GetIntrinsic4 = getIntrinsic$1;
99817
- var $apply = GetIntrinsic4("%Function.prototype.apply%");
99818
- var $call = GetIntrinsic4("%Function.prototype.call%");
99819
- var $reflectApply = GetIntrinsic4("%Reflect.apply%", true) || bind4.call($call, $apply);
99820
- var $gOPD2 = GetIntrinsic4("%Object.getOwnPropertyDescriptor%", true);
99821
- var $defineProperty2 = GetIntrinsic4("%Object.defineProperty%", true);
99822
- var $max = GetIntrinsic4("%Math.max%");
99823
- if ($defineProperty2) {
99824
- try {
99825
- $defineProperty2({}, "a", { value: 1 });
99826
- } catch (e2) {
99827
- $defineProperty2 = null;
99828
- }
99829
- }
99830
- module2.exports = function callBind2(originalFunction) {
99831
- var func = $reflectApply(bind4, $call, arguments);
99832
- if ($gOPD2 && $defineProperty2) {
99833
- var desc = $gOPD2(func, "length");
99834
- if (desc.configurable) {
99835
- $defineProperty2(
99836
- func,
99837
- "length",
99838
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
99839
- );
99840
- }
99841
- }
99842
- return func;
99843
- };
99844
- var applyBind = function applyBind2() {
99845
- return $reflectApply(bind4, $apply, arguments);
99846
- };
99847
- if ($defineProperty2) {
99848
- $defineProperty2(module2.exports, "apply", { value: applyBind });
99849
- } else {
99850
- module2.exports.apply = applyBind;
99851
- }
99852
- })(callBind$3);
99853
- var callBindExports = callBind$3.exports;
99854
- var GetIntrinsic$1 = getIntrinsic$1;
99855
- var callBind$2 = callBindExports;
99856
- var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
99857
- var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
99858
- var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
99859
- if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
99860
- return callBind$2(intrinsic);
99861
- }
99862
- return intrinsic;
99863
- };
99864
- var hasToStringTag$2 = shams();
99865
- var callBound$1 = callBound$2;
99866
- var $toString$1 = callBound$1("Object.prototype.toString");
99867
- var isStandardArguments = function isArguments2(value) {
99868
- if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
99869
- return false;
99870
- }
99871
- return $toString$1(value) === "[object Arguments]";
99872
- };
99873
- var isLegacyArguments = function isArguments3(value) {
99874
- if (isStandardArguments(value)) {
99875
- return true;
99876
- }
99877
- return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
99878
- };
99879
- var supportsStandardArguments = function() {
99880
- return isStandardArguments(arguments);
99881
- }();
99882
- isStandardArguments.isLegacyArguments = isLegacyArguments;
99883
- var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
99884
- var test = {
99885
- foo: {}
99886
- };
99887
- var $Object = Object;
99888
- var hasProto$1 = function hasProto() {
99889
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
99890
- };
99535
+ var src = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
99891
99536
  var undefined$1;
99892
99537
  var $SyntaxError = SyntaxError;
99893
99538
  var $Function = Function;
@@ -99921,7 +99566,7 @@ var ThrowTypeError = $gOPD$1 ? function() {
99921
99566
  }
99922
99567
  }
99923
99568
  }() : throwTypeError;
99924
- var hasSymbols$1 = hasSymbols$3();
99569
+ var hasSymbols$1 = hasSymbols$2();
99925
99570
  var hasProto2 = hasProto$1();
99926
99571
  var getProto$1 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
99927
99572
  return x2.__proto__;
@@ -100005,7 +99650,7 @@ if (getProto$1) {
100005
99650
  INTRINSICS["%Error.prototype%"] = errorProto;
100006
99651
  }
100007
99652
  }
100008
- var doEval2 = function doEval3(name2) {
99653
+ var doEval = function doEval2(name2) {
100009
99654
  var value;
100010
99655
  if (name2 === "%AsyncFunction%") {
100011
99656
  value = getEvalledConstructor("async function () {}");
@@ -100014,12 +99659,12 @@ var doEval2 = function doEval3(name2) {
100014
99659
  } else if (name2 === "%AsyncGeneratorFunction%") {
100015
99660
  value = getEvalledConstructor("async function* () {}");
100016
99661
  } else if (name2 === "%AsyncGenerator%") {
100017
- var fn = doEval3("%AsyncGeneratorFunction%");
99662
+ var fn = doEval2("%AsyncGeneratorFunction%");
100018
99663
  if (fn) {
100019
99664
  value = fn.prototype;
100020
99665
  }
100021
99666
  } else if (name2 === "%AsyncIteratorPrototype%") {
100022
- var gen = doEval3("%AsyncGenerator%");
99667
+ var gen = doEval2("%AsyncGenerator%");
100023
99668
  if (gen && getProto$1) {
100024
99669
  value = getProto$1(gen.prototype);
100025
99670
  }
@@ -100089,7 +99734,7 @@ var $strSlice = bind3.call(Function.call, String.prototype.slice);
100089
99734
  var $exec$1 = bind3.call(Function.call, RegExp.prototype.exec);
100090
99735
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
100091
99736
  var reEscapeChar = /\\(\\)?/g;
100092
- var stringToPath2 = function stringToPath3(string) {
99737
+ var stringToPath = function stringToPath2(string) {
100093
99738
  var first = $strSlice(string, 0, 1);
100094
99739
  var last = $strSlice(string, -1);
100095
99740
  if (first === "%" && last !== "%") {
@@ -100103,7 +99748,7 @@ var stringToPath2 = function stringToPath3(string) {
100103
99748
  });
100104
99749
  return result;
100105
99750
  };
100106
- var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
99751
+ var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
100107
99752
  var intrinsicName = name2;
100108
99753
  var alias;
100109
99754
  if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
@@ -100113,7 +99758,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
100113
99758
  if (hasOwn(INTRINSICS, intrinsicName)) {
100114
99759
  var value = INTRINSICS[intrinsicName];
100115
99760
  if (value === needsEval) {
100116
- value = doEval2(intrinsicName);
99761
+ value = doEval(intrinsicName);
100117
99762
  }
100118
99763
  if (typeof value === "undefined" && !allowMissing) {
100119
99764
  throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
@@ -100126,7 +99771,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
100126
99771
  }
100127
99772
  throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
100128
99773
  };
100129
- var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
99774
+ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
100130
99775
  if (typeof name2 !== "string" || name2.length === 0) {
100131
99776
  throw new $TypeError("intrinsic name must be a non-empty string");
100132
99777
  }
@@ -100136,9 +99781,9 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
100136
99781
  if ($exec$1(/^%?[^%]*%?$/, name2) === null) {
100137
99782
  throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
100138
99783
  }
100139
- var parts = stringToPath2(name2);
99784
+ var parts = stringToPath(name2);
100140
99785
  var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
100141
- var intrinsic = getBaseIntrinsic2("%" + intrinsicBaseName + "%", allowMissing);
99786
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
100142
99787
  var intrinsicRealName = intrinsic.name;
100143
99788
  var value = intrinsic.value;
100144
99789
  var skipFurtherCaching = false;
@@ -100187,8 +99832,79 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
100187
99832
  }
100188
99833
  return value;
100189
99834
  };
100190
- var GetIntrinsic3 = getIntrinsic;
100191
- var $defineProperty = GetIntrinsic3("%Object.defineProperty%", true);
99835
+ var callBind$3 = { exports: {} };
99836
+ (function(module2) {
99837
+ var bind4 = functionBind;
99838
+ var GetIntrinsic3 = getIntrinsic;
99839
+ var $apply = GetIntrinsic3("%Function.prototype.apply%");
99840
+ var $call = GetIntrinsic3("%Function.prototype.call%");
99841
+ var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
99842
+ var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
99843
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true);
99844
+ var $max = GetIntrinsic3("%Math.max%");
99845
+ if ($defineProperty2) {
99846
+ try {
99847
+ $defineProperty2({}, "a", { value: 1 });
99848
+ } catch (e2) {
99849
+ $defineProperty2 = null;
99850
+ }
99851
+ }
99852
+ module2.exports = function callBind2(originalFunction) {
99853
+ var func = $reflectApply(bind4, $call, arguments);
99854
+ if ($gOPD2 && $defineProperty2) {
99855
+ var desc = $gOPD2(func, "length");
99856
+ if (desc.configurable) {
99857
+ $defineProperty2(
99858
+ func,
99859
+ "length",
99860
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
99861
+ );
99862
+ }
99863
+ }
99864
+ return func;
99865
+ };
99866
+ var applyBind = function applyBind2() {
99867
+ return $reflectApply(bind4, $apply, arguments);
99868
+ };
99869
+ if ($defineProperty2) {
99870
+ $defineProperty2(module2.exports, "apply", { value: applyBind });
99871
+ } else {
99872
+ module2.exports.apply = applyBind;
99873
+ }
99874
+ })(callBind$3);
99875
+ var callBindExports = callBind$3.exports;
99876
+ var GetIntrinsic$1 = getIntrinsic;
99877
+ var callBind$2 = callBindExports;
99878
+ var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
99879
+ var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
99880
+ var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
99881
+ if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
99882
+ return callBind$2(intrinsic);
99883
+ }
99884
+ return intrinsic;
99885
+ };
99886
+ var hasToStringTag$2 = shams();
99887
+ var callBound$1 = callBound$2;
99888
+ var $toString$1 = callBound$1("Object.prototype.toString");
99889
+ var isStandardArguments = function isArguments2(value) {
99890
+ if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
99891
+ return false;
99892
+ }
99893
+ return $toString$1(value) === "[object Arguments]";
99894
+ };
99895
+ var isLegacyArguments = function isArguments3(value) {
99896
+ if (isStandardArguments(value)) {
99897
+ return true;
99898
+ }
99899
+ return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
99900
+ };
99901
+ var supportsStandardArguments = function() {
99902
+ return isStandardArguments(arguments);
99903
+ }();
99904
+ isStandardArguments.isLegacyArguments = isLegacyArguments;
99905
+ var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
99906
+ var GetIntrinsic2 = getIntrinsic;
99907
+ var $defineProperty = GetIntrinsic2("%Object.defineProperty%", true);
100192
99908
  var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
100193
99909
  if ($defineProperty) {
100194
99910
  try {
@@ -134395,16 +134111,16 @@ async function getDecoder(fileDirectory) {
134395
134111
  const Decoder = await importFn();
134396
134112
  return new Decoder(fileDirectory);
134397
134113
  }
134398
- addDecoder([void 0, 1], () => import("./raw-88c5a59c.js").then((m) => m.default));
134399
- addDecoder(5, () => import("./lzw-0f433a46.js").then((m) => m.default));
134114
+ addDecoder([void 0, 1], () => import("./raw-fc3a808c.js").then((m) => m.default));
134115
+ addDecoder(5, () => import("./lzw-10a09468.js").then((m) => m.default));
134400
134116
  addDecoder(6, () => {
134401
134117
  throw new Error("old style JPEG compression is not supported.");
134402
134118
  });
134403
- addDecoder(7, () => import("./jpeg-cf883268.js").then((m) => m.default));
134404
- addDecoder([8, 32946], () => import("./deflate-ba4bbf4e.js").then((m) => m.default));
134405
- addDecoder(32773, () => import("./packbits-9f8b76b3.js").then((m) => m.default));
134406
- addDecoder(34887, () => import("./lerc-eb8b24d4.js").then((m) => m.default));
134407
- addDecoder(50001, () => import("./webimage-32a7a116.js").then((m) => m.default));
134119
+ addDecoder(7, () => import("./jpeg-abb345c7.js").then((m) => m.default));
134120
+ addDecoder([8, 32946], () => import("./deflate-4ca42b76.js").then((m) => m.default));
134121
+ addDecoder(32773, () => import("./packbits-d8a8e4a5.js").then((m) => m.default));
134122
+ addDecoder(34887, () => import("./lerc-9046df68.js").then((m) => m.default));
134123
+ addDecoder(50001, () => import("./webimage-1a311fc4.js").then((m) => m.default));
134408
134124
  function copyNewSize(array2, width, height, samplesPerPixel = 1) {
134409
134125
  return new (Object.getPrototypeOf(array2)).constructor(width * height * samplesPerPixel);
134410
134126
  }