@vitessce/scatterplot 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.
- package/dist/{deflate-162fa772.js → deflate-9421b4b7.js} +1 -1
- package/dist/{index-578beee3.js → index-e6103460.js} +873 -1142
- package/dist/index.js +1 -1
- package/dist/{jpeg-00fef901.js → jpeg-d5a25f84.js} +1 -1
- package/dist/{lerc-55d38607.js → lerc-16194edf.js} +1 -1
- package/dist/{lzw-c3bdd9f6.js → lzw-083aa612.js} +1 -1
- package/dist/{packbits-c1c71d64.js → packbits-014bd601.js} +1 -1
- package/dist/{raw-e1c8b3d7.js → raw-d6fe67be.js} +1 -1
- package/dist/{webimage-c7fc297e.js → webimage-f11362e1.js} +1 -1
- package/dist-tsc/ScatterplotTooltipSubscriber.js +1 -1
- package/dist-tsc/shared-spatial-scatterplot/AbstractSpatialOrScatterplot.d.ts.map +1 -1
- package/dist-tsc/shared-spatial-scatterplot/AbstractSpatialOrScatterplot.js +17 -2
- package/package.json +7 -7
- package/src/ScatterplotTooltipSubscriber.js +1 -1
- package/src/shared-spatial-scatterplot/AbstractSpatialOrScatterplot.js +16 -1
|
@@ -19510,10 +19510,10 @@ const DEFAULT_LIGHT_INTENSITY$2 = 1;
|
|
|
19510
19510
|
let idCount$2 = 0;
|
|
19511
19511
|
class AmbientLight {
|
|
19512
19512
|
constructor(props2 = {}) {
|
|
19513
|
-
_defineProperty$
|
|
19514
|
-
_defineProperty$
|
|
19515
|
-
_defineProperty$
|
|
19516
|
-
_defineProperty$
|
|
19513
|
+
_defineProperty$f(this, "id", void 0);
|
|
19514
|
+
_defineProperty$f(this, "color", void 0);
|
|
19515
|
+
_defineProperty$f(this, "intensity", void 0);
|
|
19516
|
+
_defineProperty$f(this, "type", "ambient");
|
|
19517
19517
|
const {
|
|
19518
19518
|
color = DEFAULT_LIGHT_COLOR$3
|
|
19519
19519
|
} = props2;
|
|
@@ -19531,12 +19531,12 @@ const DEFAULT_LIGHT_DIRECTION = [0, 0, -1];
|
|
|
19531
19531
|
let idCount$1 = 0;
|
|
19532
19532
|
class DirectionalLight {
|
|
19533
19533
|
constructor(props2 = {}) {
|
|
19534
|
-
_defineProperty$
|
|
19535
|
-
_defineProperty$
|
|
19536
|
-
_defineProperty$
|
|
19537
|
-
_defineProperty$
|
|
19538
|
-
_defineProperty$
|
|
19539
|
-
_defineProperty$
|
|
19534
|
+
_defineProperty$f(this, "id", void 0);
|
|
19535
|
+
_defineProperty$f(this, "color", void 0);
|
|
19536
|
+
_defineProperty$f(this, "intensity", void 0);
|
|
19537
|
+
_defineProperty$f(this, "type", "directional");
|
|
19538
|
+
_defineProperty$f(this, "direction", void 0);
|
|
19539
|
+
_defineProperty$f(this, "shadow", void 0);
|
|
19540
19540
|
const {
|
|
19541
19541
|
color = DEFAULT_LIGHT_COLOR$2
|
|
19542
19542
|
} = props2;
|
|
@@ -19564,9 +19564,9 @@ class Pass {
|
|
|
19564
19564
|
constructor(gl, props2 = {
|
|
19565
19565
|
id: "pass"
|
|
19566
19566
|
}) {
|
|
19567
|
-
_defineProperty$
|
|
19568
|
-
_defineProperty$
|
|
19569
|
-
_defineProperty$
|
|
19567
|
+
_defineProperty$f(this, "id", void 0);
|
|
19568
|
+
_defineProperty$f(this, "gl", void 0);
|
|
19569
|
+
_defineProperty$f(this, "props", void 0);
|
|
19570
19570
|
const {
|
|
19571
19571
|
id
|
|
19572
19572
|
} = props2;
|
|
@@ -19587,7 +19587,7 @@ class Pass {
|
|
|
19587
19587
|
class LayersPass extends Pass {
|
|
19588
19588
|
constructor(...args) {
|
|
19589
19589
|
super(...args);
|
|
19590
|
-
_defineProperty$
|
|
19590
|
+
_defineProperty$f(this, "_lastRenderIndex", -1);
|
|
19591
19591
|
}
|
|
19592
19592
|
render(options) {
|
|
19593
19593
|
const gl = this.gl;
|
|
@@ -19834,9 +19834,9 @@ function clearGLCanvas(gl) {
|
|
|
19834
19834
|
class ShadowPass extends LayersPass {
|
|
19835
19835
|
constructor(gl, props2) {
|
|
19836
19836
|
super(gl, props2);
|
|
19837
|
-
_defineProperty$
|
|
19838
|
-
_defineProperty$
|
|
19839
|
-
_defineProperty$
|
|
19837
|
+
_defineProperty$f(this, "shadowMap", void 0);
|
|
19838
|
+
_defineProperty$f(this, "depthBuffer", void 0);
|
|
19839
|
+
_defineProperty$f(this, "fbo", void 0);
|
|
19840
19840
|
this.shadowMap = new Texture2D(gl, {
|
|
19841
19841
|
width: 1,
|
|
19842
19842
|
height: 1,
|
|
@@ -19926,18 +19926,18 @@ const DEFAULT_DIRECTIONAL_LIGHT_PROPS = [{
|
|
|
19926
19926
|
const DEFAULT_SHADOW_COLOR = [0, 0, 0, 200 / 255];
|
|
19927
19927
|
class LightingEffect {
|
|
19928
19928
|
constructor(props2 = {}) {
|
|
19929
|
-
_defineProperty$
|
|
19930
|
-
_defineProperty$
|
|
19931
|
-
_defineProperty$
|
|
19932
|
-
_defineProperty$
|
|
19933
|
-
_defineProperty$
|
|
19934
|
-
_defineProperty$
|
|
19935
|
-
_defineProperty$
|
|
19936
|
-
_defineProperty$
|
|
19937
|
-
_defineProperty$
|
|
19938
|
-
_defineProperty$
|
|
19939
|
-
_defineProperty$
|
|
19940
|
-
_defineProperty$
|
|
19929
|
+
_defineProperty$f(this, "id", "lighting-effect");
|
|
19930
|
+
_defineProperty$f(this, "props", null);
|
|
19931
|
+
_defineProperty$f(this, "shadowColor", DEFAULT_SHADOW_COLOR);
|
|
19932
|
+
_defineProperty$f(this, "shadow", void 0);
|
|
19933
|
+
_defineProperty$f(this, "ambientLight", null);
|
|
19934
|
+
_defineProperty$f(this, "directionalLights", []);
|
|
19935
|
+
_defineProperty$f(this, "pointLights", []);
|
|
19936
|
+
_defineProperty$f(this, "shadowPasses", []);
|
|
19937
|
+
_defineProperty$f(this, "shadowMaps", []);
|
|
19938
|
+
_defineProperty$f(this, "dummyShadowMap", null);
|
|
19939
|
+
_defineProperty$f(this, "programManager", void 0);
|
|
19940
|
+
_defineProperty$f(this, "shadowMatrices", void 0);
|
|
19941
19941
|
for (const key in props2) {
|
|
19942
19942
|
const lightSource = props2[key];
|
|
19943
19943
|
switch (lightSource.type) {
|
|
@@ -20060,8 +20060,8 @@ class LightingEffect {
|
|
|
20060
20060
|
}
|
|
20061
20061
|
class TypedArrayManager {
|
|
20062
20062
|
constructor(options = {}) {
|
|
20063
|
-
_defineProperty$
|
|
20064
|
-
_defineProperty$
|
|
20063
|
+
_defineProperty$f(this, "_pool", []);
|
|
20064
|
+
_defineProperty$f(this, "opts", {
|
|
20065
20065
|
overAlloc: 2,
|
|
20066
20066
|
poolSize: 100
|
|
20067
20067
|
});
|
|
@@ -20246,30 +20246,30 @@ function createProjectionMatrix({
|
|
|
20246
20246
|
}
|
|
20247
20247
|
class Viewport {
|
|
20248
20248
|
constructor(opts2 = {}) {
|
|
20249
|
-
_defineProperty$
|
|
20250
|
-
_defineProperty$
|
|
20251
|
-
_defineProperty$
|
|
20252
|
-
_defineProperty$
|
|
20253
|
-
_defineProperty$
|
|
20254
|
-
_defineProperty$
|
|
20255
|
-
_defineProperty$
|
|
20256
|
-
_defineProperty$
|
|
20257
|
-
_defineProperty$
|
|
20258
|
-
_defineProperty$
|
|
20259
|
-
_defineProperty$
|
|
20260
|
-
_defineProperty$
|
|
20261
|
-
_defineProperty$
|
|
20262
|
-
_defineProperty$
|
|
20263
|
-
_defineProperty$
|
|
20264
|
-
_defineProperty$
|
|
20265
|
-
_defineProperty$
|
|
20266
|
-
_defineProperty$
|
|
20267
|
-
_defineProperty$
|
|
20268
|
-
_defineProperty$
|
|
20269
|
-
_defineProperty$
|
|
20270
|
-
_defineProperty$
|
|
20271
|
-
_defineProperty$
|
|
20272
|
-
_defineProperty$
|
|
20249
|
+
_defineProperty$f(this, "id", void 0);
|
|
20250
|
+
_defineProperty$f(this, "x", void 0);
|
|
20251
|
+
_defineProperty$f(this, "y", void 0);
|
|
20252
|
+
_defineProperty$f(this, "width", void 0);
|
|
20253
|
+
_defineProperty$f(this, "height", void 0);
|
|
20254
|
+
_defineProperty$f(this, "padding", void 0);
|
|
20255
|
+
_defineProperty$f(this, "isGeospatial", void 0);
|
|
20256
|
+
_defineProperty$f(this, "zoom", void 0);
|
|
20257
|
+
_defineProperty$f(this, "focalDistance", void 0);
|
|
20258
|
+
_defineProperty$f(this, "position", void 0);
|
|
20259
|
+
_defineProperty$f(this, "modelMatrix", void 0);
|
|
20260
|
+
_defineProperty$f(this, "distanceScales", void 0);
|
|
20261
|
+
_defineProperty$f(this, "scale", void 0);
|
|
20262
|
+
_defineProperty$f(this, "center", void 0);
|
|
20263
|
+
_defineProperty$f(this, "cameraPosition", void 0);
|
|
20264
|
+
_defineProperty$f(this, "projectionMatrix", void 0);
|
|
20265
|
+
_defineProperty$f(this, "viewMatrix", void 0);
|
|
20266
|
+
_defineProperty$f(this, "viewMatrixUncentered", void 0);
|
|
20267
|
+
_defineProperty$f(this, "viewMatrixInverse", void 0);
|
|
20268
|
+
_defineProperty$f(this, "viewProjectionMatrix", void 0);
|
|
20269
|
+
_defineProperty$f(this, "pixelProjectionMatrix", void 0);
|
|
20270
|
+
_defineProperty$f(this, "pixelUnprojectionMatrix", void 0);
|
|
20271
|
+
_defineProperty$f(this, "resolution", void 0);
|
|
20272
|
+
_defineProperty$f(this, "_frustumPlanes", {});
|
|
20273
20273
|
this.id = opts2.id || this.constructor.displayName || "viewport";
|
|
20274
20274
|
this.x = opts2.x || 0;
|
|
20275
20275
|
this.y = opts2.y || 0;
|
|
@@ -20472,7 +20472,7 @@ class Viewport {
|
|
|
20472
20472
|
}
|
|
20473
20473
|
}
|
|
20474
20474
|
}
|
|
20475
|
-
_defineProperty$
|
|
20475
|
+
_defineProperty$f(Viewport, "displayName", "Viewport");
|
|
20476
20476
|
const TILE_SIZE$4 = 512;
|
|
20477
20477
|
const EARTH_CIRCUMFERENCE = 4003e4;
|
|
20478
20478
|
const DEGREES_TO_RADIANS$3 = Math.PI / 180;
|
|
@@ -20548,15 +20548,15 @@ class WebMercatorViewport2 extends Viewport {
|
|
|
20548
20548
|
fovy,
|
|
20549
20549
|
focalDistance: altitude
|
|
20550
20550
|
});
|
|
20551
|
-
_defineProperty$
|
|
20552
|
-
_defineProperty$
|
|
20553
|
-
_defineProperty$
|
|
20554
|
-
_defineProperty$
|
|
20555
|
-
_defineProperty$
|
|
20556
|
-
_defineProperty$
|
|
20557
|
-
_defineProperty$
|
|
20558
|
-
_defineProperty$
|
|
20559
|
-
_defineProperty$
|
|
20551
|
+
_defineProperty$f(this, "longitude", void 0);
|
|
20552
|
+
_defineProperty$f(this, "latitude", void 0);
|
|
20553
|
+
_defineProperty$f(this, "pitch", void 0);
|
|
20554
|
+
_defineProperty$f(this, "bearing", void 0);
|
|
20555
|
+
_defineProperty$f(this, "altitude", void 0);
|
|
20556
|
+
_defineProperty$f(this, "fovy", void 0);
|
|
20557
|
+
_defineProperty$f(this, "orthographic", void 0);
|
|
20558
|
+
_defineProperty$f(this, "_subViewports", void 0);
|
|
20559
|
+
_defineProperty$f(this, "_pseudoMeters", void 0);
|
|
20560
20560
|
this.latitude = latitude;
|
|
20561
20561
|
this.longitude = longitude;
|
|
20562
20562
|
this.zoom = zoom;
|
|
@@ -20642,7 +20642,7 @@ class WebMercatorViewport2 extends Viewport {
|
|
|
20642
20642
|
});
|
|
20643
20643
|
}
|
|
20644
20644
|
}
|
|
20645
|
-
_defineProperty$
|
|
20645
|
+
_defineProperty$f(WebMercatorViewport2, "displayName", "WebMercatorViewport");
|
|
20646
20646
|
function lngLatZToWorldPosition(lngLatZ, viewport, offsetMode = false) {
|
|
20647
20647
|
const p = viewport.projectPosition(lngLatZ);
|
|
20648
20648
|
if (offsetMode && viewport instanceof WebMercatorViewport2) {
|
|
@@ -20738,13 +20738,13 @@ const DEFAULT_LIGHT_POSITION = [0, 0, 1];
|
|
|
20738
20738
|
let idCount = 0;
|
|
20739
20739
|
class PointLight {
|
|
20740
20740
|
constructor(props2 = {}) {
|
|
20741
|
-
_defineProperty$
|
|
20742
|
-
_defineProperty$
|
|
20743
|
-
_defineProperty$
|
|
20744
|
-
_defineProperty$
|
|
20745
|
-
_defineProperty$
|
|
20746
|
-
_defineProperty$
|
|
20747
|
-
_defineProperty$
|
|
20741
|
+
_defineProperty$f(this, "id", void 0);
|
|
20742
|
+
_defineProperty$f(this, "color", void 0);
|
|
20743
|
+
_defineProperty$f(this, "intensity", void 0);
|
|
20744
|
+
_defineProperty$f(this, "type", "point");
|
|
20745
|
+
_defineProperty$f(this, "position", void 0);
|
|
20746
|
+
_defineProperty$f(this, "attenuation", void 0);
|
|
20747
|
+
_defineProperty$f(this, "projectedLight", void 0);
|
|
20748
20748
|
const {
|
|
20749
20749
|
color = DEFAULT_LIGHT_COLOR$1
|
|
20750
20750
|
} = props2;
|
|
@@ -20901,7 +20901,7 @@ function getSunCoords(dates) {
|
|
|
20901
20901
|
class SunLight extends DirectionalLight {
|
|
20902
20902
|
constructor(opts2) {
|
|
20903
20903
|
super(opts2);
|
|
20904
|
-
_defineProperty$
|
|
20904
|
+
_defineProperty$f(this, "timestamp", void 0);
|
|
20905
20905
|
this.timestamp = opts2.timestamp;
|
|
20906
20906
|
}
|
|
20907
20907
|
getProjectedLight({
|
|
@@ -20927,7 +20927,7 @@ class SunLight extends DirectionalLight {
|
|
|
20927
20927
|
class ScreenPass extends Pass {
|
|
20928
20928
|
constructor(gl, props2) {
|
|
20929
20929
|
super(gl, props2);
|
|
20930
|
-
_defineProperty$
|
|
20930
|
+
_defineProperty$f(this, "model", void 0);
|
|
20931
20931
|
const {
|
|
20932
20932
|
module: module2,
|
|
20933
20933
|
fs: fs2,
|
|
@@ -20975,10 +20975,10 @@ class ScreenPass extends Pass {
|
|
|
20975
20975
|
}
|
|
20976
20976
|
class PostProcessEffect {
|
|
20977
20977
|
constructor(module2, props2 = {}) {
|
|
20978
|
-
_defineProperty$
|
|
20979
|
-
_defineProperty$
|
|
20980
|
-
_defineProperty$
|
|
20981
|
-
_defineProperty$
|
|
20978
|
+
_defineProperty$f(this, "id", void 0);
|
|
20979
|
+
_defineProperty$f(this, "props", void 0);
|
|
20980
|
+
_defineProperty$f(this, "module", void 0);
|
|
20981
|
+
_defineProperty$f(this, "passes", void 0);
|
|
20982
20982
|
this.id = "".concat(module2.name, "-pass");
|
|
20983
20983
|
this.props = props2;
|
|
20984
20984
|
normalizeShaderModule(module2);
|
|
@@ -21107,16 +21107,16 @@ function fillArray({
|
|
|
21107
21107
|
}
|
|
21108
21108
|
class Resource2 {
|
|
21109
21109
|
constructor(id, data, context) {
|
|
21110
|
-
_defineProperty$
|
|
21111
|
-
_defineProperty$
|
|
21112
|
-
_defineProperty$
|
|
21113
|
-
_defineProperty$
|
|
21114
|
-
_defineProperty$
|
|
21115
|
-
_defineProperty$
|
|
21116
|
-
_defineProperty$
|
|
21117
|
-
_defineProperty$
|
|
21118
|
-
_defineProperty$
|
|
21119
|
-
_defineProperty$
|
|
21110
|
+
_defineProperty$f(this, "id", void 0);
|
|
21111
|
+
_defineProperty$f(this, "context", void 0);
|
|
21112
|
+
_defineProperty$f(this, "isLoaded", void 0);
|
|
21113
|
+
_defineProperty$f(this, "persistent", void 0);
|
|
21114
|
+
_defineProperty$f(this, "_loadCount", 0);
|
|
21115
|
+
_defineProperty$f(this, "_subscribers", /* @__PURE__ */ new Set());
|
|
21116
|
+
_defineProperty$f(this, "_data", void 0);
|
|
21117
|
+
_defineProperty$f(this, "_loader", void 0);
|
|
21118
|
+
_defineProperty$f(this, "_error", void 0);
|
|
21119
|
+
_defineProperty$f(this, "_content", void 0);
|
|
21120
21120
|
this.id = id;
|
|
21121
21121
|
this.context = context;
|
|
21122
21122
|
this.setData(data);
|
|
@@ -21174,11 +21174,11 @@ class ResourceManager {
|
|
|
21174
21174
|
gl,
|
|
21175
21175
|
protocol
|
|
21176
21176
|
}) {
|
|
21177
|
-
_defineProperty$
|
|
21178
|
-
_defineProperty$
|
|
21179
|
-
_defineProperty$
|
|
21180
|
-
_defineProperty$
|
|
21181
|
-
_defineProperty$
|
|
21177
|
+
_defineProperty$f(this, "protocol", void 0);
|
|
21178
|
+
_defineProperty$f(this, "_context", void 0);
|
|
21179
|
+
_defineProperty$f(this, "_resources", void 0);
|
|
21180
|
+
_defineProperty$f(this, "_consumers", void 0);
|
|
21181
|
+
_defineProperty$f(this, "_pruneRequest", void 0);
|
|
21182
21182
|
this.protocol = protocol || "resource://";
|
|
21183
21183
|
this._context = {
|
|
21184
21184
|
gl,
|
|
@@ -21305,15 +21305,15 @@ class LayerManager {
|
|
|
21305
21305
|
viewport: _viewport,
|
|
21306
21306
|
timeline
|
|
21307
21307
|
} = {}) {
|
|
21308
|
-
_defineProperty$
|
|
21309
|
-
_defineProperty$
|
|
21310
|
-
_defineProperty$
|
|
21311
|
-
_defineProperty$
|
|
21312
|
-
_defineProperty$
|
|
21313
|
-
_defineProperty$
|
|
21314
|
-
_defineProperty$
|
|
21315
|
-
_defineProperty$
|
|
21316
|
-
_defineProperty$
|
|
21308
|
+
_defineProperty$f(this, "layers", void 0);
|
|
21309
|
+
_defineProperty$f(this, "context", void 0);
|
|
21310
|
+
_defineProperty$f(this, "resourceManager", void 0);
|
|
21311
|
+
_defineProperty$f(this, "_lastRenderedLayers", []);
|
|
21312
|
+
_defineProperty$f(this, "_needsRedraw", false);
|
|
21313
|
+
_defineProperty$f(this, "_needsUpdate", false);
|
|
21314
|
+
_defineProperty$f(this, "_nextLayers", null);
|
|
21315
|
+
_defineProperty$f(this, "_debug", false);
|
|
21316
|
+
_defineProperty$f(this, "activateViewport", (viewport) => {
|
|
21317
21317
|
debug$2(TRACE_ACTIVATE_VIEWPORT, this, viewport);
|
|
21318
21318
|
if (viewport) {
|
|
21319
21319
|
this.context.viewport = viewport;
|
|
@@ -21524,19 +21524,19 @@ function deepEqual$2(a2, b) {
|
|
|
21524
21524
|
}
|
|
21525
21525
|
class ViewManager {
|
|
21526
21526
|
constructor(props2) {
|
|
21527
|
-
_defineProperty$
|
|
21528
|
-
_defineProperty$
|
|
21529
|
-
_defineProperty$
|
|
21530
|
-
_defineProperty$
|
|
21531
|
-
_defineProperty$
|
|
21532
|
-
_defineProperty$
|
|
21533
|
-
_defineProperty$
|
|
21534
|
-
_defineProperty$
|
|
21535
|
-
_defineProperty$
|
|
21536
|
-
_defineProperty$
|
|
21537
|
-
_defineProperty$
|
|
21538
|
-
_defineProperty$
|
|
21539
|
-
_defineProperty$
|
|
21527
|
+
_defineProperty$f(this, "width", void 0);
|
|
21528
|
+
_defineProperty$f(this, "height", void 0);
|
|
21529
|
+
_defineProperty$f(this, "views", void 0);
|
|
21530
|
+
_defineProperty$f(this, "viewState", void 0);
|
|
21531
|
+
_defineProperty$f(this, "controllers", void 0);
|
|
21532
|
+
_defineProperty$f(this, "timeline", void 0);
|
|
21533
|
+
_defineProperty$f(this, "_viewports", void 0);
|
|
21534
|
+
_defineProperty$f(this, "_viewportMap", void 0);
|
|
21535
|
+
_defineProperty$f(this, "_isUpdating", void 0);
|
|
21536
|
+
_defineProperty$f(this, "_needsRedraw", void 0);
|
|
21537
|
+
_defineProperty$f(this, "_needsUpdate", void 0);
|
|
21538
|
+
_defineProperty$f(this, "_eventManager", void 0);
|
|
21539
|
+
_defineProperty$f(this, "_eventCallbacks", void 0);
|
|
21540
21540
|
this.views = [];
|
|
21541
21541
|
this.width = 100;
|
|
21542
21542
|
this.height = 100;
|
|
@@ -21810,14 +21810,14 @@ function assert$4(condition, message) {
|
|
|
21810
21810
|
}
|
|
21811
21811
|
class View {
|
|
21812
21812
|
constructor(props2) {
|
|
21813
|
-
_defineProperty$
|
|
21814
|
-
_defineProperty$
|
|
21815
|
-
_defineProperty$
|
|
21816
|
-
_defineProperty$
|
|
21817
|
-
_defineProperty$
|
|
21818
|
-
_defineProperty$
|
|
21819
|
-
_defineProperty$
|
|
21820
|
-
_defineProperty$
|
|
21813
|
+
_defineProperty$f(this, "id", void 0);
|
|
21814
|
+
_defineProperty$f(this, "viewportInstance", void 0);
|
|
21815
|
+
_defineProperty$f(this, "_x", void 0);
|
|
21816
|
+
_defineProperty$f(this, "_y", void 0);
|
|
21817
|
+
_defineProperty$f(this, "_width", void 0);
|
|
21818
|
+
_defineProperty$f(this, "_height", void 0);
|
|
21819
|
+
_defineProperty$f(this, "_padding", void 0);
|
|
21820
|
+
_defineProperty$f(this, "props", void 0);
|
|
21821
21821
|
const {
|
|
21822
21822
|
id,
|
|
21823
21823
|
x: x2 = 0,
|
|
@@ -21944,11 +21944,11 @@ class View {
|
|
|
21944
21944
|
}
|
|
21945
21945
|
class Transition {
|
|
21946
21946
|
constructor(timeline) {
|
|
21947
|
-
_defineProperty$
|
|
21948
|
-
_defineProperty$
|
|
21949
|
-
_defineProperty$
|
|
21950
|
-
_defineProperty$
|
|
21951
|
-
_defineProperty$
|
|
21947
|
+
_defineProperty$f(this, "_inProgress", void 0);
|
|
21948
|
+
_defineProperty$f(this, "_handle", void 0);
|
|
21949
|
+
_defineProperty$f(this, "_timeline", void 0);
|
|
21950
|
+
_defineProperty$f(this, "time", void 0);
|
|
21951
|
+
_defineProperty$f(this, "settings", void 0);
|
|
21952
21952
|
this._inProgress = false;
|
|
21953
21953
|
this._handle = null;
|
|
21954
21954
|
this._timeline = timeline;
|
|
@@ -22022,13 +22022,13 @@ const DEFAULT_EASING = (t2) => t2;
|
|
|
22022
22022
|
const DEFAULT_INTERRUPTION = TRANSITION_EVENTS.BREAK;
|
|
22023
22023
|
class TransitionManager {
|
|
22024
22024
|
constructor(opts2) {
|
|
22025
|
-
_defineProperty$
|
|
22026
|
-
_defineProperty$
|
|
22027
|
-
_defineProperty$
|
|
22028
|
-
_defineProperty$
|
|
22029
|
-
_defineProperty$
|
|
22030
|
-
_defineProperty$
|
|
22031
|
-
_defineProperty$
|
|
22025
|
+
_defineProperty$f(this, "getControllerState", void 0);
|
|
22026
|
+
_defineProperty$f(this, "props", void 0);
|
|
22027
|
+
_defineProperty$f(this, "propsInTransition", void 0);
|
|
22028
|
+
_defineProperty$f(this, "transition", void 0);
|
|
22029
|
+
_defineProperty$f(this, "onViewStateChange", void 0);
|
|
22030
|
+
_defineProperty$f(this, "onStateChange", void 0);
|
|
22031
|
+
_defineProperty$f(this, "_onTransitionUpdate", (transition2) => {
|
|
22032
22032
|
const {
|
|
22033
22033
|
time,
|
|
22034
22034
|
settings: {
|
|
@@ -22156,9 +22156,9 @@ class TransitionManager {
|
|
|
22156
22156
|
}
|
|
22157
22157
|
class TransitionInterpolator {
|
|
22158
22158
|
constructor(opts2) {
|
|
22159
|
-
_defineProperty$
|
|
22160
|
-
_defineProperty$
|
|
22161
|
-
_defineProperty$
|
|
22159
|
+
_defineProperty$f(this, "_propsToCompare", void 0);
|
|
22160
|
+
_defineProperty$f(this, "_propsToExtract", void 0);
|
|
22161
|
+
_defineProperty$f(this, "_requiredProps", void 0);
|
|
22162
22162
|
const {
|
|
22163
22163
|
compare: compare2,
|
|
22164
22164
|
extract,
|
|
@@ -22219,7 +22219,7 @@ class LinearInterpolator extends TransitionInterpolator {
|
|
|
22219
22219
|
required: DEFAULT_REQUIRED_PROPS
|
|
22220
22220
|
};
|
|
22221
22221
|
super(normalizedOpts.transitionProps);
|
|
22222
|
-
_defineProperty$
|
|
22222
|
+
_defineProperty$f(this, "opts", void 0);
|
|
22223
22223
|
this.opts = normalizedOpts;
|
|
22224
22224
|
}
|
|
22225
22225
|
initializeProps(startProps, endProps) {
|
|
@@ -22273,31 +22273,31 @@ const EVENT_TYPES = {
|
|
|
22273
22273
|
const pinchEventWorkaround = {};
|
|
22274
22274
|
class Controller {
|
|
22275
22275
|
constructor(opts2) {
|
|
22276
|
-
_defineProperty$
|
|
22277
|
-
_defineProperty$
|
|
22278
|
-
_defineProperty$
|
|
22279
|
-
_defineProperty$
|
|
22280
|
-
_defineProperty$
|
|
22281
|
-
_defineProperty$
|
|
22282
|
-
_defineProperty$
|
|
22283
|
-
_defineProperty$
|
|
22284
|
-
_defineProperty$
|
|
22285
|
-
_defineProperty$
|
|
22276
|
+
_defineProperty$f(this, "props", void 0);
|
|
22277
|
+
_defineProperty$f(this, "state", {});
|
|
22278
|
+
_defineProperty$f(this, "transitionManager", void 0);
|
|
22279
|
+
_defineProperty$f(this, "eventManager", void 0);
|
|
22280
|
+
_defineProperty$f(this, "onViewStateChange", void 0);
|
|
22281
|
+
_defineProperty$f(this, "onStateChange", void 0);
|
|
22282
|
+
_defineProperty$f(this, "makeViewport", void 0);
|
|
22283
|
+
_defineProperty$f(this, "_controllerState", void 0);
|
|
22284
|
+
_defineProperty$f(this, "_events", {});
|
|
22285
|
+
_defineProperty$f(this, "_interactionState", {
|
|
22286
22286
|
isDragging: false
|
|
22287
22287
|
});
|
|
22288
|
-
_defineProperty$
|
|
22289
|
-
_defineProperty$
|
|
22290
|
-
_defineProperty$
|
|
22291
|
-
_defineProperty$
|
|
22292
|
-
_defineProperty$
|
|
22293
|
-
_defineProperty$
|
|
22294
|
-
_defineProperty$
|
|
22295
|
-
_defineProperty$
|
|
22296
|
-
_defineProperty$
|
|
22297
|
-
_defineProperty$
|
|
22298
|
-
_defineProperty$
|
|
22299
|
-
_defineProperty$
|
|
22300
|
-
_defineProperty$
|
|
22288
|
+
_defineProperty$f(this, "_customEvents", []);
|
|
22289
|
+
_defineProperty$f(this, "_eventStartBlocked", null);
|
|
22290
|
+
_defineProperty$f(this, "_panMove", false);
|
|
22291
|
+
_defineProperty$f(this, "invertPan", false);
|
|
22292
|
+
_defineProperty$f(this, "dragMode", "rotate");
|
|
22293
|
+
_defineProperty$f(this, "inertia", 0);
|
|
22294
|
+
_defineProperty$f(this, "scrollZoom", true);
|
|
22295
|
+
_defineProperty$f(this, "dragPan", true);
|
|
22296
|
+
_defineProperty$f(this, "dragRotate", true);
|
|
22297
|
+
_defineProperty$f(this, "doubleClickZoom", true);
|
|
22298
|
+
_defineProperty$f(this, "touchZoom", true);
|
|
22299
|
+
_defineProperty$f(this, "touchRotate", false);
|
|
22300
|
+
_defineProperty$f(this, "keyboard", true);
|
|
22301
22301
|
this.transitionManager = new TransitionManager({
|
|
22302
22302
|
...opts2,
|
|
22303
22303
|
getControllerState: (props2) => new this.ControllerState(props2),
|
|
@@ -22908,8 +22908,8 @@ class Controller {
|
|
|
22908
22908
|
}
|
|
22909
22909
|
class ViewState {
|
|
22910
22910
|
constructor(props2, state) {
|
|
22911
|
-
_defineProperty$
|
|
22912
|
-
_defineProperty$
|
|
22911
|
+
_defineProperty$f(this, "_viewportProps", void 0);
|
|
22912
|
+
_defineProperty$f(this, "_state", void 0);
|
|
22913
22913
|
this._viewportProps = this.applyConstraints(props2);
|
|
22914
22914
|
this._state = state;
|
|
22915
22915
|
}
|
|
@@ -22972,7 +22972,7 @@ class MapState extends ViewState {
|
|
|
22972
22972
|
startPitch,
|
|
22973
22973
|
startZoom
|
|
22974
22974
|
});
|
|
22975
|
-
_defineProperty$
|
|
22975
|
+
_defineProperty$f(this, "makeViewport", void 0);
|
|
22976
22976
|
this.makeViewport = options.makeViewport;
|
|
22977
22977
|
}
|
|
22978
22978
|
panStart({
|
|
@@ -23232,8 +23232,8 @@ class MapState extends ViewState {
|
|
|
23232
23232
|
class MapController extends Controller {
|
|
23233
23233
|
constructor(...args) {
|
|
23234
23234
|
super(...args);
|
|
23235
|
-
_defineProperty$
|
|
23236
|
-
_defineProperty$
|
|
23235
|
+
_defineProperty$f(this, "ControllerState", MapState);
|
|
23236
|
+
_defineProperty$f(this, "transition", {
|
|
23237
23237
|
transitionDuration: 300,
|
|
23238
23238
|
transitionInterpolator: new LinearInterpolator({
|
|
23239
23239
|
transitionProps: {
|
|
@@ -23242,7 +23242,7 @@ class MapController extends Controller {
|
|
|
23242
23242
|
}
|
|
23243
23243
|
})
|
|
23244
23244
|
});
|
|
23245
|
-
_defineProperty$
|
|
23245
|
+
_defineProperty$f(this, "dragMode", "pan");
|
|
23246
23246
|
}
|
|
23247
23247
|
setProps(props2) {
|
|
23248
23248
|
props2.position = props2.position || [0, 0, 0];
|
|
@@ -23266,12 +23266,12 @@ class MapView extends View {
|
|
|
23266
23266
|
return MapController;
|
|
23267
23267
|
}
|
|
23268
23268
|
}
|
|
23269
|
-
_defineProperty$
|
|
23269
|
+
_defineProperty$f(MapView, "displayName", "MapView");
|
|
23270
23270
|
class MaskPass extends LayersPass {
|
|
23271
23271
|
constructor(gl, props2) {
|
|
23272
23272
|
super(gl, props2);
|
|
23273
|
-
_defineProperty$
|
|
23274
|
-
_defineProperty$
|
|
23273
|
+
_defineProperty$f(this, "maskMap", void 0);
|
|
23274
|
+
_defineProperty$f(this, "fbo", void 0);
|
|
23275
23275
|
const {
|
|
23276
23276
|
mapSize = 2048
|
|
23277
23277
|
} = props2;
|
|
@@ -23458,7 +23458,7 @@ class OrbitState extends ViewState {
|
|
|
23458
23458
|
startZoomPosition,
|
|
23459
23459
|
startZoom
|
|
23460
23460
|
});
|
|
23461
|
-
_defineProperty$
|
|
23461
|
+
_defineProperty$f(this, "makeViewport", void 0);
|
|
23462
23462
|
this.makeViewport = options.makeViewport;
|
|
23463
23463
|
}
|
|
23464
23464
|
panStart({
|
|
@@ -23695,8 +23695,8 @@ class OrbitState extends ViewState {
|
|
|
23695
23695
|
class OrbitController extends Controller {
|
|
23696
23696
|
constructor(...args) {
|
|
23697
23697
|
super(...args);
|
|
23698
|
-
_defineProperty$
|
|
23699
|
-
_defineProperty$
|
|
23698
|
+
_defineProperty$f(this, "ControllerState", OrbitState);
|
|
23699
|
+
_defineProperty$f(this, "transition", {
|
|
23700
23700
|
transitionDuration: 300,
|
|
23701
23701
|
transitionInterpolator: new LinearInterpolator({
|
|
23702
23702
|
transitionProps: {
|
|
@@ -23710,7 +23710,7 @@ class OrbitController extends Controller {
|
|
|
23710
23710
|
class OrthographicState extends OrbitState {
|
|
23711
23711
|
constructor(props2) {
|
|
23712
23712
|
super(props2);
|
|
23713
|
-
_defineProperty$
|
|
23713
|
+
_defineProperty$f(this, "zoomAxis", void 0);
|
|
23714
23714
|
this.zoomAxis = props2.zoomAxis || "all";
|
|
23715
23715
|
}
|
|
23716
23716
|
_calculateNewZoom({
|
|
@@ -23754,12 +23754,12 @@ class OrthographicState extends OrbitState {
|
|
|
23754
23754
|
class OrthographicController extends Controller {
|
|
23755
23755
|
constructor(...args) {
|
|
23756
23756
|
super(...args);
|
|
23757
|
-
_defineProperty$
|
|
23758
|
-
_defineProperty$
|
|
23757
|
+
_defineProperty$f(this, "ControllerState", OrthographicState);
|
|
23758
|
+
_defineProperty$f(this, "transition", {
|
|
23759
23759
|
transitionDuration: 300,
|
|
23760
23760
|
transitionInterpolator: new LinearInterpolator(["target", "zoom"])
|
|
23761
23761
|
});
|
|
23762
|
-
_defineProperty$
|
|
23762
|
+
_defineProperty$f(this, "dragMode", "pan");
|
|
23763
23763
|
}
|
|
23764
23764
|
_onPanRotate() {
|
|
23765
23765
|
return false;
|
|
@@ -23773,7 +23773,7 @@ class OrthographicView extends View {
|
|
|
23773
23773
|
return OrthographicController;
|
|
23774
23774
|
}
|
|
23775
23775
|
}
|
|
23776
|
-
_defineProperty$
|
|
23776
|
+
_defineProperty$f(OrthographicView, "displayName", "OrthographicView");
|
|
23777
23777
|
function getMaskBounds({
|
|
23778
23778
|
layers,
|
|
23779
23779
|
viewport
|
|
@@ -23866,15 +23866,15 @@ function _doubleBounds(bounds2) {
|
|
|
23866
23866
|
}
|
|
23867
23867
|
class MaskEffect {
|
|
23868
23868
|
constructor() {
|
|
23869
|
-
_defineProperty$
|
|
23870
|
-
_defineProperty$
|
|
23871
|
-
_defineProperty$
|
|
23872
|
-
_defineProperty$
|
|
23873
|
-
_defineProperty$
|
|
23874
|
-
_defineProperty$
|
|
23875
|
-
_defineProperty$
|
|
23876
|
-
_defineProperty$
|
|
23877
|
-
_defineProperty$
|
|
23869
|
+
_defineProperty$f(this, "id", "mask-effect");
|
|
23870
|
+
_defineProperty$f(this, "props", null);
|
|
23871
|
+
_defineProperty$f(this, "useInPicking", true);
|
|
23872
|
+
_defineProperty$f(this, "dummyMaskMap", void 0);
|
|
23873
|
+
_defineProperty$f(this, "channels", []);
|
|
23874
|
+
_defineProperty$f(this, "masks", null);
|
|
23875
|
+
_defineProperty$f(this, "maskPass", void 0);
|
|
23876
|
+
_defineProperty$f(this, "maskMap", void 0);
|
|
23877
|
+
_defineProperty$f(this, "lastViewport", void 0);
|
|
23878
23878
|
}
|
|
23879
23879
|
preRender(gl, {
|
|
23880
23880
|
layers,
|
|
@@ -24034,9 +24034,9 @@ class MaskEffect {
|
|
|
24034
24034
|
const DEFAULT_LIGHTING_EFFECT = new LightingEffect();
|
|
24035
24035
|
class EffectManager {
|
|
24036
24036
|
constructor() {
|
|
24037
|
-
_defineProperty$
|
|
24038
|
-
_defineProperty$
|
|
24039
|
-
_defineProperty$
|
|
24037
|
+
_defineProperty$f(this, "effects", void 0);
|
|
24038
|
+
_defineProperty$f(this, "_internalEffects", void 0);
|
|
24039
|
+
_defineProperty$f(this, "_needsRedraw", void 0);
|
|
24040
24040
|
this.effects = [];
|
|
24041
24041
|
this._internalEffects = [];
|
|
24042
24042
|
this._needsRedraw = "Initial render";
|
|
@@ -24097,8 +24097,8 @@ const PICKING_PARAMETERS = {
|
|
|
24097
24097
|
class PickLayersPass extends LayersPass {
|
|
24098
24098
|
constructor(...args) {
|
|
24099
24099
|
super(...args);
|
|
24100
|
-
_defineProperty$
|
|
24101
|
-
_defineProperty$
|
|
24100
|
+
_defineProperty$f(this, "pickZ", void 0);
|
|
24101
|
+
_defineProperty$f(this, "_colors", null);
|
|
24102
24102
|
}
|
|
24103
24103
|
render(props2) {
|
|
24104
24104
|
if (props2.pickingFBO) {
|
|
@@ -24529,13 +24529,13 @@ function getViewportFromCoordinates(viewports, pixel) {
|
|
|
24529
24529
|
}
|
|
24530
24530
|
class DeckPicker {
|
|
24531
24531
|
constructor(gl) {
|
|
24532
|
-
_defineProperty$
|
|
24533
|
-
_defineProperty$
|
|
24534
|
-
_defineProperty$
|
|
24535
|
-
_defineProperty$
|
|
24536
|
-
_defineProperty$
|
|
24537
|
-
_defineProperty$
|
|
24538
|
-
_defineProperty$
|
|
24532
|
+
_defineProperty$f(this, "gl", void 0);
|
|
24533
|
+
_defineProperty$f(this, "pickingFBO", void 0);
|
|
24534
|
+
_defineProperty$f(this, "depthFBO", void 0);
|
|
24535
|
+
_defineProperty$f(this, "pickLayersPass", void 0);
|
|
24536
|
+
_defineProperty$f(this, "layerFilter", void 0);
|
|
24537
|
+
_defineProperty$f(this, "lastPickedInfo", void 0);
|
|
24538
|
+
_defineProperty$f(this, "_pickable", true);
|
|
24539
24539
|
this.gl = gl;
|
|
24540
24540
|
this.pickLayersPass = new PickLayersPass(gl);
|
|
24541
24541
|
this.lastPickedInfo = {
|
|
@@ -24907,8 +24907,8 @@ const defaultStyle = {
|
|
|
24907
24907
|
};
|
|
24908
24908
|
let Tooltip$1 = class Tooltip {
|
|
24909
24909
|
constructor(canvas) {
|
|
24910
|
-
_defineProperty$
|
|
24911
|
-
_defineProperty$
|
|
24910
|
+
_defineProperty$f(this, "el", null);
|
|
24911
|
+
_defineProperty$f(this, "isVisible", false);
|
|
24912
24912
|
const canvasParent = canvas.parentElement;
|
|
24913
24913
|
if (canvasParent) {
|
|
24914
24914
|
this.el = document.createElement("div");
|
|
@@ -27638,28 +27638,28 @@ const defaultProps$M = {
|
|
|
27638
27638
|
};
|
|
27639
27639
|
class Deck {
|
|
27640
27640
|
constructor(props2) {
|
|
27641
|
-
_defineProperty$
|
|
27642
|
-
_defineProperty$
|
|
27643
|
-
_defineProperty$
|
|
27644
|
-
_defineProperty$
|
|
27645
|
-
_defineProperty$
|
|
27646
|
-
_defineProperty$
|
|
27647
|
-
_defineProperty$
|
|
27648
|
-
_defineProperty$
|
|
27649
|
-
_defineProperty$
|
|
27650
|
-
_defineProperty$
|
|
27651
|
-
_defineProperty$
|
|
27652
|
-
_defineProperty$
|
|
27653
|
-
_defineProperty$
|
|
27654
|
-
_defineProperty$
|
|
27655
|
-
_defineProperty$
|
|
27656
|
-
_defineProperty$
|
|
27657
|
-
_defineProperty$
|
|
27658
|
-
_defineProperty$
|
|
27659
|
-
_defineProperty$
|
|
27660
|
-
_defineProperty$
|
|
27661
|
-
_defineProperty$
|
|
27662
|
-
_defineProperty$
|
|
27641
|
+
_defineProperty$f(this, "props", void 0);
|
|
27642
|
+
_defineProperty$f(this, "width", 0);
|
|
27643
|
+
_defineProperty$f(this, "height", 0);
|
|
27644
|
+
_defineProperty$f(this, "userData", {});
|
|
27645
|
+
_defineProperty$f(this, "canvas", null);
|
|
27646
|
+
_defineProperty$f(this, "viewManager", null);
|
|
27647
|
+
_defineProperty$f(this, "layerManager", null);
|
|
27648
|
+
_defineProperty$f(this, "effectManager", null);
|
|
27649
|
+
_defineProperty$f(this, "deckRenderer", null);
|
|
27650
|
+
_defineProperty$f(this, "deckPicker", null);
|
|
27651
|
+
_defineProperty$f(this, "eventManager", null);
|
|
27652
|
+
_defineProperty$f(this, "tooltip", null);
|
|
27653
|
+
_defineProperty$f(this, "metrics", void 0);
|
|
27654
|
+
_defineProperty$f(this, "animationLoop", void 0);
|
|
27655
|
+
_defineProperty$f(this, "stats", void 0);
|
|
27656
|
+
_defineProperty$f(this, "viewState", void 0);
|
|
27657
|
+
_defineProperty$f(this, "cursorState", void 0);
|
|
27658
|
+
_defineProperty$f(this, "_needsRedraw", void 0);
|
|
27659
|
+
_defineProperty$f(this, "_pickRequest", void 0);
|
|
27660
|
+
_defineProperty$f(this, "_lastPointerDownInfo", null);
|
|
27661
|
+
_defineProperty$f(this, "_metricsCounter", void 0);
|
|
27662
|
+
_defineProperty$f(this, "_onPointerMove", (event) => {
|
|
27663
27663
|
const {
|
|
27664
27664
|
_pickRequest
|
|
27665
27665
|
} = this;
|
|
@@ -27686,7 +27686,7 @@ class Deck {
|
|
|
27686
27686
|
}
|
|
27687
27687
|
_pickRequest.event = event;
|
|
27688
27688
|
});
|
|
27689
|
-
_defineProperty$
|
|
27689
|
+
_defineProperty$f(this, "_onEvent", (event) => {
|
|
27690
27690
|
const eventOptions = EVENTS[event.type];
|
|
27691
27691
|
const pos = event.offsetCenter;
|
|
27692
27692
|
if (!eventOptions || !pos || !this.layerManager) {
|
|
@@ -27712,7 +27712,7 @@ class Deck {
|
|
|
27712
27712
|
rootHandler(info, event);
|
|
27713
27713
|
}
|
|
27714
27714
|
});
|
|
27715
|
-
_defineProperty$
|
|
27715
|
+
_defineProperty$f(this, "_onPointerDown", (event) => {
|
|
27716
27716
|
const pos = event.offsetCenter;
|
|
27717
27717
|
const pickedInfo = this._pick("pickObject", "pickObject Time", {
|
|
27718
27718
|
x: pos.x,
|
|
@@ -28224,12 +28224,12 @@ class Deck {
|
|
|
28224
28224
|
metrics.gpuMemory = memoryStats.get("GPU Memory").count;
|
|
28225
28225
|
}
|
|
28226
28226
|
}
|
|
28227
|
-
_defineProperty$
|
|
28228
|
-
_defineProperty$
|
|
28227
|
+
_defineProperty$f(Deck, "defaultProps", defaultProps$M);
|
|
28228
|
+
_defineProperty$f(Deck, "VERSION", deckGlobal.VERSION);
|
|
28229
28229
|
class ShaderAttribute {
|
|
28230
28230
|
constructor(dataColumn, opts2) {
|
|
28231
|
-
_defineProperty$
|
|
28232
|
-
_defineProperty$
|
|
28231
|
+
_defineProperty$f(this, "opts", void 0);
|
|
28232
|
+
_defineProperty$f(this, "source", void 0);
|
|
28233
28233
|
this.opts = opts2;
|
|
28234
28234
|
this.source = dataColumn;
|
|
28235
28235
|
}
|
|
@@ -28319,14 +28319,14 @@ function resolveDoublePrecisionShaderAttributes(baseAccessor, shaderAttributeOpt
|
|
|
28319
28319
|
}
|
|
28320
28320
|
class DataColumn {
|
|
28321
28321
|
constructor(gl, opts2, state) {
|
|
28322
|
-
_defineProperty$
|
|
28323
|
-
_defineProperty$
|
|
28324
|
-
_defineProperty$
|
|
28325
|
-
_defineProperty$
|
|
28326
|
-
_defineProperty$
|
|
28327
|
-
_defineProperty$
|
|
28328
|
-
_defineProperty$
|
|
28329
|
-
_defineProperty$
|
|
28322
|
+
_defineProperty$f(this, "gl", void 0);
|
|
28323
|
+
_defineProperty$f(this, "id", void 0);
|
|
28324
|
+
_defineProperty$f(this, "size", void 0);
|
|
28325
|
+
_defineProperty$f(this, "settings", void 0);
|
|
28326
|
+
_defineProperty$f(this, "value", void 0);
|
|
28327
|
+
_defineProperty$f(this, "doublePrecision", void 0);
|
|
28328
|
+
_defineProperty$f(this, "_buffer", void 0);
|
|
28329
|
+
_defineProperty$f(this, "state", void 0);
|
|
28330
28330
|
this.gl = gl;
|
|
28331
28331
|
this.id = opts2.id || "";
|
|
28332
28332
|
this.size = opts2.size || 1;
|
|
@@ -28979,7 +28979,7 @@ class Attribute extends DataColumn {
|
|
|
28979
28979
|
needsRedraw: false,
|
|
28980
28980
|
updateRanges: FULL
|
|
28981
28981
|
});
|
|
28982
|
-
_defineProperty$
|
|
28982
|
+
_defineProperty$f(this, "constant", false);
|
|
28983
28983
|
this.settings.update = opts2.update || (opts2.accessor ? this._autoUpdater : void 0);
|
|
28984
28984
|
Object.seal(this.settings);
|
|
28985
28985
|
Object.seal(this.state);
|
|
@@ -29301,16 +29301,16 @@ class GPUInterpolationTransition {
|
|
|
29301
29301
|
attribute,
|
|
29302
29302
|
timeline
|
|
29303
29303
|
}) {
|
|
29304
|
-
_defineProperty$
|
|
29305
|
-
_defineProperty$
|
|
29306
|
-
_defineProperty$
|
|
29307
|
-
_defineProperty$
|
|
29308
|
-
_defineProperty$
|
|
29309
|
-
_defineProperty$
|
|
29310
|
-
_defineProperty$
|
|
29311
|
-
_defineProperty$
|
|
29312
|
-
_defineProperty$
|
|
29313
|
-
_defineProperty$
|
|
29304
|
+
_defineProperty$f(this, "gl", void 0);
|
|
29305
|
+
_defineProperty$f(this, "type", "interpolation");
|
|
29306
|
+
_defineProperty$f(this, "attributeInTransition", void 0);
|
|
29307
|
+
_defineProperty$f(this, "settings", void 0);
|
|
29308
|
+
_defineProperty$f(this, "attribute", void 0);
|
|
29309
|
+
_defineProperty$f(this, "transition", void 0);
|
|
29310
|
+
_defineProperty$f(this, "currentStartIndices", void 0);
|
|
29311
|
+
_defineProperty$f(this, "currentLength", void 0);
|
|
29312
|
+
_defineProperty$f(this, "transform", void 0);
|
|
29313
|
+
_defineProperty$f(this, "buffers", void 0);
|
|
29314
29314
|
this.gl = gl;
|
|
29315
29315
|
this.transition = new Transition(timeline);
|
|
29316
29316
|
this.attribute = attribute;
|
|
@@ -29418,18 +29418,18 @@ class GPUSpringTransition {
|
|
|
29418
29418
|
attribute,
|
|
29419
29419
|
timeline
|
|
29420
29420
|
}) {
|
|
29421
|
-
_defineProperty$
|
|
29422
|
-
_defineProperty$
|
|
29423
|
-
_defineProperty$
|
|
29424
|
-
_defineProperty$
|
|
29425
|
-
_defineProperty$
|
|
29426
|
-
_defineProperty$
|
|
29427
|
-
_defineProperty$
|
|
29428
|
-
_defineProperty$
|
|
29429
|
-
_defineProperty$
|
|
29430
|
-
_defineProperty$
|
|
29431
|
-
_defineProperty$
|
|
29432
|
-
_defineProperty$
|
|
29421
|
+
_defineProperty$f(this, "gl", void 0);
|
|
29422
|
+
_defineProperty$f(this, "type", "spring");
|
|
29423
|
+
_defineProperty$f(this, "attributeInTransition", void 0);
|
|
29424
|
+
_defineProperty$f(this, "settings", void 0);
|
|
29425
|
+
_defineProperty$f(this, "attribute", void 0);
|
|
29426
|
+
_defineProperty$f(this, "transition", void 0);
|
|
29427
|
+
_defineProperty$f(this, "currentStartIndices", void 0);
|
|
29428
|
+
_defineProperty$f(this, "currentLength", void 0);
|
|
29429
|
+
_defineProperty$f(this, "texture", void 0);
|
|
29430
|
+
_defineProperty$f(this, "framebuffer", void 0);
|
|
29431
|
+
_defineProperty$f(this, "transform", void 0);
|
|
29432
|
+
_defineProperty$f(this, "buffers", void 0);
|
|
29433
29433
|
this.gl = gl;
|
|
29434
29434
|
this.type = "spring";
|
|
29435
29435
|
this.transition = new Transition(timeline);
|
|
@@ -29591,13 +29591,13 @@ class AttributeTransitionManager {
|
|
|
29591
29591
|
id,
|
|
29592
29592
|
timeline
|
|
29593
29593
|
}) {
|
|
29594
|
-
_defineProperty$
|
|
29595
|
-
_defineProperty$
|
|
29596
|
-
_defineProperty$
|
|
29597
|
-
_defineProperty$
|
|
29598
|
-
_defineProperty$
|
|
29599
|
-
_defineProperty$
|
|
29600
|
-
_defineProperty$
|
|
29594
|
+
_defineProperty$f(this, "id", void 0);
|
|
29595
|
+
_defineProperty$f(this, "isSupported", void 0);
|
|
29596
|
+
_defineProperty$f(this, "gl", void 0);
|
|
29597
|
+
_defineProperty$f(this, "timeline", void 0);
|
|
29598
|
+
_defineProperty$f(this, "transitions", void 0);
|
|
29599
|
+
_defineProperty$f(this, "needsRedraw", void 0);
|
|
29600
|
+
_defineProperty$f(this, "numInstances", void 0);
|
|
29601
29601
|
this.id = id;
|
|
29602
29602
|
this.gl = gl;
|
|
29603
29603
|
this.timeline = timeline;
|
|
@@ -29704,14 +29704,14 @@ class AttributeManager {
|
|
|
29704
29704
|
stats,
|
|
29705
29705
|
timeline
|
|
29706
29706
|
} = {}) {
|
|
29707
|
-
_defineProperty$
|
|
29708
|
-
_defineProperty$
|
|
29709
|
-
_defineProperty$
|
|
29710
|
-
_defineProperty$
|
|
29711
|
-
_defineProperty$
|
|
29712
|
-
_defineProperty$
|
|
29713
|
-
_defineProperty$
|
|
29714
|
-
_defineProperty$
|
|
29707
|
+
_defineProperty$f(this, "id", void 0);
|
|
29708
|
+
_defineProperty$f(this, "gl", void 0);
|
|
29709
|
+
_defineProperty$f(this, "attributes", void 0);
|
|
29710
|
+
_defineProperty$f(this, "updateTriggers", void 0);
|
|
29711
|
+
_defineProperty$f(this, "needsRedraw", void 0);
|
|
29712
|
+
_defineProperty$f(this, "userData", void 0);
|
|
29713
|
+
_defineProperty$f(this, "stats", void 0);
|
|
29714
|
+
_defineProperty$f(this, "attributeTransitionManager", void 0);
|
|
29715
29715
|
this.id = id;
|
|
29716
29716
|
this.gl = gl;
|
|
29717
29717
|
this.attributes = {};
|
|
@@ -30690,9 +30690,9 @@ function getComponentName(componentClass) {
|
|
|
30690
30690
|
let counter = 0;
|
|
30691
30691
|
class Component {
|
|
30692
30692
|
constructor(...propObjects) {
|
|
30693
|
-
_defineProperty$
|
|
30694
|
-
_defineProperty$
|
|
30695
|
-
_defineProperty$
|
|
30693
|
+
_defineProperty$f(this, "id", void 0);
|
|
30694
|
+
_defineProperty$f(this, "props", void 0);
|
|
30695
|
+
_defineProperty$f(this, "count", void 0);
|
|
30696
30696
|
this.props = createProps(this, propObjects);
|
|
30697
30697
|
this.id = this.props.id;
|
|
30698
30698
|
this.count = counter++;
|
|
@@ -30716,16 +30716,16 @@ class Component {
|
|
|
30716
30716
|
});
|
|
30717
30717
|
}
|
|
30718
30718
|
}
|
|
30719
|
-
_defineProperty$
|
|
30720
|
-
_defineProperty$
|
|
30719
|
+
_defineProperty$f(Component, "componentName", "Component");
|
|
30720
|
+
_defineProperty$f(Component, "defaultProps", {});
|
|
30721
30721
|
const EMPTY_PROPS = Object.freeze({});
|
|
30722
30722
|
class ComponentState {
|
|
30723
30723
|
constructor(component) {
|
|
30724
|
-
_defineProperty$
|
|
30725
|
-
_defineProperty$
|
|
30726
|
-
_defineProperty$
|
|
30727
|
-
_defineProperty$
|
|
30728
|
-
_defineProperty$
|
|
30724
|
+
_defineProperty$f(this, "component", void 0);
|
|
30725
|
+
_defineProperty$f(this, "onAsyncPropUpdated", void 0);
|
|
30726
|
+
_defineProperty$f(this, "asyncProps", void 0);
|
|
30727
|
+
_defineProperty$f(this, "oldProps", void 0);
|
|
30728
|
+
_defineProperty$f(this, "oldAsyncProps", void 0);
|
|
30729
30729
|
this.component = component;
|
|
30730
30730
|
this.asyncProps = {};
|
|
30731
30731
|
this.onAsyncPropUpdated = () => {
|
|
@@ -30928,15 +30928,15 @@ class LayerState extends ComponentState {
|
|
|
30928
30928
|
layer
|
|
30929
30929
|
}) {
|
|
30930
30930
|
super(layer);
|
|
30931
|
-
_defineProperty$
|
|
30932
|
-
_defineProperty$
|
|
30933
|
-
_defineProperty$
|
|
30934
|
-
_defineProperty$
|
|
30935
|
-
_defineProperty$
|
|
30936
|
-
_defineProperty$
|
|
30937
|
-
_defineProperty$
|
|
30938
|
-
_defineProperty$
|
|
30939
|
-
_defineProperty$
|
|
30931
|
+
_defineProperty$f(this, "attributeManager", void 0);
|
|
30932
|
+
_defineProperty$f(this, "needsRedraw", void 0);
|
|
30933
|
+
_defineProperty$f(this, "needsUpdate", void 0);
|
|
30934
|
+
_defineProperty$f(this, "subLayers", void 0);
|
|
30935
|
+
_defineProperty$f(this, "usesPickingColorCache", void 0);
|
|
30936
|
+
_defineProperty$f(this, "changeFlags", void 0);
|
|
30937
|
+
_defineProperty$f(this, "viewport", void 0);
|
|
30938
|
+
_defineProperty$f(this, "uniformTransitions", void 0);
|
|
30939
|
+
_defineProperty$f(this, "propsInTransition", void 0);
|
|
30940
30940
|
this.attributeManager = attributeManager;
|
|
30941
30941
|
this.needsRedraw = true;
|
|
30942
30942
|
this.needsUpdate = true;
|
|
@@ -31156,11 +31156,11 @@ const defaultProps$L = {
|
|
|
31156
31156
|
class Layer extends Component {
|
|
31157
31157
|
constructor(...args) {
|
|
31158
31158
|
super(...args);
|
|
31159
|
-
_defineProperty$
|
|
31160
|
-
_defineProperty$
|
|
31161
|
-
_defineProperty$
|
|
31162
|
-
_defineProperty$
|
|
31163
|
-
_defineProperty$
|
|
31159
|
+
_defineProperty$f(this, "internalState", null);
|
|
31160
|
+
_defineProperty$f(this, "lifecycle", LIFECYCLE.NO_STATE);
|
|
31161
|
+
_defineProperty$f(this, "context", void 0);
|
|
31162
|
+
_defineProperty$f(this, "state", void 0);
|
|
31163
|
+
_defineProperty$f(this, "parent", null);
|
|
31164
31164
|
}
|
|
31165
31165
|
get root() {
|
|
31166
31166
|
let layer = this;
|
|
@@ -31862,8 +31862,8 @@ class Layer extends Component {
|
|
|
31862
31862
|
this.setNeedsUpdate();
|
|
31863
31863
|
}
|
|
31864
31864
|
}
|
|
31865
|
-
_defineProperty$
|
|
31866
|
-
_defineProperty$
|
|
31865
|
+
_defineProperty$f(Layer, "defaultProps", defaultProps$L);
|
|
31866
|
+
_defineProperty$f(Layer, "layerName", "Layer");
|
|
31867
31867
|
const TRACE_RENDER_LAYERS = "compositeLayer.renderLayers";
|
|
31868
31868
|
class CompositeLayer extends Layer {
|
|
31869
31869
|
get isComposite() {
|
|
@@ -32025,7 +32025,7 @@ class CompositeLayer extends Layer {
|
|
|
32025
32025
|
}
|
|
32026
32026
|
}
|
|
32027
32027
|
}
|
|
32028
|
-
_defineProperty$
|
|
32028
|
+
_defineProperty$f(CompositeLayer, "layerName", "CompositeLayer");
|
|
32029
32029
|
const DEGREES_TO_RADIANS$1 = Math.PI / 180;
|
|
32030
32030
|
const RADIANS_TO_DEGREES = 180 / Math.PI;
|
|
32031
32031
|
const EARTH_RADIUS = 6370972;
|
|
@@ -32081,9 +32081,9 @@ class GlobeViewport extends Viewport {
|
|
|
32081
32081
|
near: nearZMultiplier,
|
|
32082
32082
|
far: Math.min(2, 1 / relativeScale + 1) * altitude * farZMultiplier
|
|
32083
32083
|
});
|
|
32084
|
-
_defineProperty$
|
|
32085
|
-
_defineProperty$
|
|
32086
|
-
_defineProperty$
|
|
32084
|
+
_defineProperty$f(this, "longitude", void 0);
|
|
32085
|
+
_defineProperty$f(this, "latitude", void 0);
|
|
32086
|
+
_defineProperty$f(this, "resolution", void 0);
|
|
32087
32087
|
this.latitude = latitude;
|
|
32088
32088
|
this.longitude = longitude;
|
|
32089
32089
|
this.resolution = resolution;
|
|
@@ -32231,7 +32231,7 @@ class OrbitViewport extends Viewport {
|
|
|
32231
32231
|
position: target,
|
|
32232
32232
|
zoom
|
|
32233
32233
|
});
|
|
32234
|
-
_defineProperty$
|
|
32234
|
+
_defineProperty$f(this, "projectedCenter", void 0);
|
|
32235
32235
|
this.projectedCenter = this.project(this.center);
|
|
32236
32236
|
}
|
|
32237
32237
|
unproject(xyz, {
|
|
@@ -32280,8 +32280,8 @@ class FirstPersonViewport extends Viewport {
|
|
|
32280
32280
|
zoom,
|
|
32281
32281
|
viewMatrix: viewMatrix2
|
|
32282
32282
|
});
|
|
32283
|
-
_defineProperty$
|
|
32284
|
-
_defineProperty$
|
|
32283
|
+
_defineProperty$f(this, "longitude", void 0);
|
|
32284
|
+
_defineProperty$f(this, "latitude", void 0);
|
|
32285
32285
|
this.latitude = latitude;
|
|
32286
32286
|
this.longitude = longitude;
|
|
32287
32287
|
}
|
|
@@ -32510,8 +32510,8 @@ class FirstPersonState extends ViewState {
|
|
|
32510
32510
|
class FirstPersonController extends Controller {
|
|
32511
32511
|
constructor(...args) {
|
|
32512
32512
|
super(...args);
|
|
32513
|
-
_defineProperty$
|
|
32514
|
-
_defineProperty$
|
|
32513
|
+
_defineProperty$f(this, "ControllerState", FirstPersonState);
|
|
32514
|
+
_defineProperty$f(this, "transition", {
|
|
32515
32515
|
transitionDuration: 300,
|
|
32516
32516
|
transitionInterpolator: new LinearInterpolator(["position", "pitch", "bearing"])
|
|
32517
32517
|
});
|
|
@@ -32525,7 +32525,7 @@ class FirstPersonView extends View {
|
|
|
32525
32525
|
return FirstPersonController;
|
|
32526
32526
|
}
|
|
32527
32527
|
}
|
|
32528
|
-
_defineProperty$
|
|
32528
|
+
_defineProperty$f(FirstPersonView, "displayName", "FirstPersonView");
|
|
32529
32529
|
class OrbitView extends View {
|
|
32530
32530
|
constructor(props2 = {}) {
|
|
32531
32531
|
super(props2);
|
|
@@ -32538,7 +32538,7 @@ class OrbitView extends View {
|
|
|
32538
32538
|
return OrbitController;
|
|
32539
32539
|
}
|
|
32540
32540
|
}
|
|
32541
|
-
_defineProperty$
|
|
32541
|
+
_defineProperty$f(OrbitView, "displayName", "OrbitView");
|
|
32542
32542
|
class GlobeState extends MapState {
|
|
32543
32543
|
applyConstraints(props2) {
|
|
32544
32544
|
const {
|
|
@@ -32561,12 +32561,12 @@ class GlobeState extends MapState {
|
|
|
32561
32561
|
class GlobeController extends Controller {
|
|
32562
32562
|
constructor(...args) {
|
|
32563
32563
|
super(...args);
|
|
32564
|
-
_defineProperty$
|
|
32565
|
-
_defineProperty$
|
|
32564
|
+
_defineProperty$f(this, "ControllerState", GlobeState);
|
|
32565
|
+
_defineProperty$f(this, "transition", {
|
|
32566
32566
|
transitionDuration: 300,
|
|
32567
32567
|
transitionInterpolator: new LinearInterpolator(["longitude", "latitude", "zoom"])
|
|
32568
32568
|
});
|
|
32569
|
-
_defineProperty$
|
|
32569
|
+
_defineProperty$f(this, "dragMode", "pan");
|
|
32570
32570
|
}
|
|
32571
32571
|
setProps(props2) {
|
|
32572
32572
|
super.setProps(props2);
|
|
@@ -32582,10 +32582,10 @@ class GlobeView extends View {
|
|
|
32582
32582
|
return GlobeController;
|
|
32583
32583
|
}
|
|
32584
32584
|
}
|
|
32585
|
-
_defineProperty$
|
|
32585
|
+
_defineProperty$f(GlobeView, "displayName", "GlobeView");
|
|
32586
32586
|
class LayerExtension {
|
|
32587
32587
|
constructor(opts2) {
|
|
32588
|
-
_defineProperty$
|
|
32588
|
+
_defineProperty$f(this, "opts", void 0);
|
|
32589
32589
|
if (opts2) {
|
|
32590
32590
|
this.opts = opts2;
|
|
32591
32591
|
}
|
|
@@ -32630,7 +32630,7 @@ class LayerExtension {
|
|
|
32630
32630
|
finalizeState(context, extension) {
|
|
32631
32631
|
}
|
|
32632
32632
|
}
|
|
32633
|
-
_defineProperty$
|
|
32633
|
+
_defineProperty$f(LayerExtension, "defaultProps", {});
|
|
32634
32634
|
const LINEARLY_INTERPOLATED_PROPS = ["bearing", "pitch"];
|
|
32635
32635
|
const DEFAULT_OPTS = {
|
|
32636
32636
|
speed: 1.2,
|
|
@@ -32643,7 +32643,7 @@ class FlyToInterpolator extends TransitionInterpolator {
|
|
|
32643
32643
|
extract: ["width", "height", "longitude", "latitude", "zoom", "bearing", "pitch"],
|
|
32644
32644
|
required: ["width", "height", "latitude", "longitude", "zoom"]
|
|
32645
32645
|
});
|
|
32646
|
-
_defineProperty$
|
|
32646
|
+
_defineProperty$f(this, "opts", void 0);
|
|
32647
32647
|
this.opts = {
|
|
32648
32648
|
...DEFAULT_OPTS,
|
|
32649
32649
|
...opts2
|
|
@@ -32668,20 +32668,20 @@ class FlyToInterpolator extends TransitionInterpolator {
|
|
|
32668
32668
|
}
|
|
32669
32669
|
class Tesselator {
|
|
32670
32670
|
constructor(opts2) {
|
|
32671
|
-
_defineProperty$
|
|
32672
|
-
_defineProperty$
|
|
32673
|
-
_defineProperty$
|
|
32674
|
-
_defineProperty$
|
|
32675
|
-
_defineProperty$
|
|
32676
|
-
_defineProperty$
|
|
32677
|
-
_defineProperty$
|
|
32678
|
-
_defineProperty$
|
|
32679
|
-
_defineProperty$
|
|
32680
|
-
_defineProperty$
|
|
32681
|
-
_defineProperty$
|
|
32682
|
-
_defineProperty$
|
|
32683
|
-
_defineProperty$
|
|
32684
|
-
_defineProperty$
|
|
32671
|
+
_defineProperty$f(this, "opts", void 0);
|
|
32672
|
+
_defineProperty$f(this, "typedArrayManager", void 0);
|
|
32673
|
+
_defineProperty$f(this, "indexStarts", [0]);
|
|
32674
|
+
_defineProperty$f(this, "vertexStarts", [0]);
|
|
32675
|
+
_defineProperty$f(this, "vertexCount", 0);
|
|
32676
|
+
_defineProperty$f(this, "instanceCount", 0);
|
|
32677
|
+
_defineProperty$f(this, "attributes", void 0);
|
|
32678
|
+
_defineProperty$f(this, "_attributeDefs", void 0);
|
|
32679
|
+
_defineProperty$f(this, "data", void 0);
|
|
32680
|
+
_defineProperty$f(this, "getGeometry", void 0);
|
|
32681
|
+
_defineProperty$f(this, "geometryBuffer", void 0);
|
|
32682
|
+
_defineProperty$f(this, "buffers", void 0);
|
|
32683
|
+
_defineProperty$f(this, "positionSize", void 0);
|
|
32684
|
+
_defineProperty$f(this, "normalize", void 0);
|
|
32685
32685
|
const {
|
|
32686
32686
|
attributes = {}
|
|
32687
32687
|
} = opts2;
|
|
@@ -32954,8 +32954,8 @@ class ClipExtension extends LayerExtension {
|
|
|
32954
32954
|
}
|
|
32955
32955
|
}
|
|
32956
32956
|
}
|
|
32957
|
-
_defineProperty$
|
|
32958
|
-
_defineProperty$
|
|
32957
|
+
_defineProperty$f(ClipExtension, "defaultProps", defaultProps$K);
|
|
32958
|
+
_defineProperty$f(ClipExtension, "extensionName", "ClipExtension");
|
|
32959
32959
|
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";
|
|
32960
32960
|
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";
|
|
32961
32961
|
const DEFAULT_COLOR$a = [0, 0, 0, 255];
|
|
@@ -33009,7 +33009,7 @@ const defaultProps$J = {
|
|
|
33009
33009
|
class ArcLayer extends Layer {
|
|
33010
33010
|
constructor(...args) {
|
|
33011
33011
|
super(...args);
|
|
33012
|
-
_defineProperty$
|
|
33012
|
+
_defineProperty$f(this, "state", void 0);
|
|
33013
33013
|
}
|
|
33014
33014
|
getShaders() {
|
|
33015
33015
|
return super.getShaders({
|
|
@@ -33129,8 +33129,8 @@ class ArcLayer extends Layer {
|
|
|
33129
33129
|
return model;
|
|
33130
33130
|
}
|
|
33131
33131
|
}
|
|
33132
|
-
_defineProperty$
|
|
33133
|
-
_defineProperty$
|
|
33132
|
+
_defineProperty$f(ArcLayer, "layerName", "ArcLayer");
|
|
33133
|
+
_defineProperty$f(ArcLayer, "defaultProps", defaultProps$J);
|
|
33134
33134
|
const DEFAULT_INDICES = new Uint16Array([0, 2, 1, 0, 3, 2]);
|
|
33135
33135
|
const DEFAULT_TEX_COORDS = new Float32Array([0, 1, 0, 0, 1, 0, 1, 1]);
|
|
33136
33136
|
function createMesh(bounds2, resolution) {
|
|
@@ -33225,7 +33225,7 @@ const defaultProps$I = {
|
|
|
33225
33225
|
let BitmapLayer$1 = class BitmapLayer extends Layer {
|
|
33226
33226
|
constructor(...args) {
|
|
33227
33227
|
super(...args);
|
|
33228
|
-
_defineProperty$
|
|
33228
|
+
_defineProperty$f(this, "state", void 0);
|
|
33229
33229
|
}
|
|
33230
33230
|
getShaders() {
|
|
33231
33231
|
return super.getShaders({
|
|
@@ -33427,8 +33427,8 @@ let BitmapLayer$1 = class BitmapLayer extends Layer {
|
|
|
33427
33427
|
};
|
|
33428
33428
|
}
|
|
33429
33429
|
};
|
|
33430
|
-
_defineProperty$
|
|
33431
|
-
_defineProperty$
|
|
33430
|
+
_defineProperty$f(BitmapLayer$1, "layerName", "BitmapLayer");
|
|
33431
|
+
_defineProperty$f(BitmapLayer$1, "defaultProps", defaultProps$I);
|
|
33432
33432
|
function unpackUVsFromRGB(color) {
|
|
33433
33433
|
const [u, v, fracUV] = color;
|
|
33434
33434
|
const vFrac = (fracUV & 240) / 256;
|
|
@@ -33576,23 +33576,23 @@ class IconManager {
|
|
|
33576
33576
|
onUpdate: onUpdate2 = noop$1,
|
|
33577
33577
|
onError = noop$1
|
|
33578
33578
|
}) {
|
|
33579
|
-
_defineProperty$
|
|
33580
|
-
_defineProperty$
|
|
33581
|
-
_defineProperty$
|
|
33582
|
-
_defineProperty$
|
|
33583
|
-
_defineProperty$
|
|
33584
|
-
_defineProperty$
|
|
33585
|
-
_defineProperty$
|
|
33586
|
-
_defineProperty$
|
|
33587
|
-
_defineProperty$
|
|
33588
|
-
_defineProperty$
|
|
33589
|
-
_defineProperty$
|
|
33590
|
-
_defineProperty$
|
|
33591
|
-
_defineProperty$
|
|
33592
|
-
_defineProperty$
|
|
33593
|
-
_defineProperty$
|
|
33594
|
-
_defineProperty$
|
|
33595
|
-
_defineProperty$
|
|
33579
|
+
_defineProperty$f(this, "gl", void 0);
|
|
33580
|
+
_defineProperty$f(this, "onUpdate", void 0);
|
|
33581
|
+
_defineProperty$f(this, "onError", void 0);
|
|
33582
|
+
_defineProperty$f(this, "_loadOptions", null);
|
|
33583
|
+
_defineProperty$f(this, "_texture", null);
|
|
33584
|
+
_defineProperty$f(this, "_externalTexture", null);
|
|
33585
|
+
_defineProperty$f(this, "_mapping", {});
|
|
33586
|
+
_defineProperty$f(this, "_textureParameters", null);
|
|
33587
|
+
_defineProperty$f(this, "_pendingCount", 0);
|
|
33588
|
+
_defineProperty$f(this, "_autoPacking", false);
|
|
33589
|
+
_defineProperty$f(this, "_xOffset", 0);
|
|
33590
|
+
_defineProperty$f(this, "_yOffset", 0);
|
|
33591
|
+
_defineProperty$f(this, "_rowHeight", 0);
|
|
33592
|
+
_defineProperty$f(this, "_buffer", DEFAULT_BUFFER$1);
|
|
33593
|
+
_defineProperty$f(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
|
|
33594
|
+
_defineProperty$f(this, "_canvasHeight", 0);
|
|
33595
|
+
_defineProperty$f(this, "_canvas", null);
|
|
33596
33596
|
this.gl = gl;
|
|
33597
33597
|
this.onUpdate = onUpdate2;
|
|
33598
33598
|
this.onError = onError;
|
|
@@ -33783,7 +33783,7 @@ const defaultProps$H = {
|
|
|
33783
33783
|
class IconLayer extends Layer {
|
|
33784
33784
|
constructor(...args) {
|
|
33785
33785
|
super(...args);
|
|
33786
|
-
_defineProperty$
|
|
33786
|
+
_defineProperty$f(this, "state", void 0);
|
|
33787
33787
|
}
|
|
33788
33788
|
getShaders() {
|
|
33789
33789
|
return super.getShaders({
|
|
@@ -33980,8 +33980,8 @@ class IconLayer extends Layer {
|
|
|
33980
33980
|
return [x2, y2, width, height];
|
|
33981
33981
|
}
|
|
33982
33982
|
}
|
|
33983
|
-
_defineProperty$
|
|
33984
|
-
_defineProperty$
|
|
33983
|
+
_defineProperty$f(IconLayer, "defaultProps", defaultProps$H);
|
|
33984
|
+
_defineProperty$f(IconLayer, "layerName", "IconLayer");
|
|
33985
33985
|
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";
|
|
33986
33986
|
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";
|
|
33987
33987
|
const DEFAULT_COLOR$8 = [0, 0, 0, 255];
|
|
@@ -34113,8 +34113,8 @@ class LineLayer extends Layer {
|
|
|
34113
34113
|
});
|
|
34114
34114
|
}
|
|
34115
34115
|
}
|
|
34116
|
-
_defineProperty$
|
|
34117
|
-
_defineProperty$
|
|
34116
|
+
_defineProperty$f(LineLayer, "layerName", "LineLayer");
|
|
34117
|
+
_defineProperty$f(LineLayer, "defaultProps", defaultProps$G);
|
|
34118
34118
|
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";
|
|
34119
34119
|
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";
|
|
34120
34120
|
const DEFAULT_COLOR$7 = [0, 0, 0, 255];
|
|
@@ -34245,8 +34245,8 @@ class PointCloudLayer extends Layer {
|
|
|
34245
34245
|
});
|
|
34246
34246
|
}
|
|
34247
34247
|
}
|
|
34248
|
-
_defineProperty$
|
|
34249
|
-
_defineProperty$
|
|
34248
|
+
_defineProperty$f(PointCloudLayer, "layerName", "PointCloudLayer");
|
|
34249
|
+
_defineProperty$f(PointCloudLayer, "defaultProps", defaultProps$F);
|
|
34250
34250
|
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";
|
|
34251
34251
|
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";
|
|
34252
34252
|
const DEFAULT_COLOR$6 = [0, 0, 0, 255];
|
|
@@ -34427,8 +34427,8 @@ class ScatterplotLayer extends Layer {
|
|
|
34427
34427
|
});
|
|
34428
34428
|
}
|
|
34429
34429
|
}
|
|
34430
|
-
_defineProperty$
|
|
34431
|
-
_defineProperty$
|
|
34430
|
+
_defineProperty$f(ScatterplotLayer, "defaultProps", defaultProps$E);
|
|
34431
|
+
_defineProperty$f(ScatterplotLayer, "layerName", "ScatterplotLayer");
|
|
34432
34432
|
const WINDING = {
|
|
34433
34433
|
CLOCKWISE: 1,
|
|
34434
34434
|
COUNTER_CLOCKWISE: -1
|
|
@@ -35696,8 +35696,8 @@ class ColumnLayer extends Layer {
|
|
|
35696
35696
|
}
|
|
35697
35697
|
}
|
|
35698
35698
|
}
|
|
35699
|
-
_defineProperty$
|
|
35700
|
-
_defineProperty$
|
|
35699
|
+
_defineProperty$f(ColumnLayer, "layerName", "ColumnLayer");
|
|
35700
|
+
_defineProperty$f(ColumnLayer, "defaultProps", defaultProps$D);
|
|
35701
35701
|
const defaultProps$C = {
|
|
35702
35702
|
cellSize: {
|
|
35703
35703
|
type: "number",
|
|
@@ -35738,8 +35738,8 @@ class GridCellLayer extends ColumnLayer {
|
|
|
35738
35738
|
}).draw();
|
|
35739
35739
|
}
|
|
35740
35740
|
}
|
|
35741
|
-
_defineProperty$
|
|
35742
|
-
_defineProperty$
|
|
35741
|
+
_defineProperty$f(GridCellLayer, "layerName", "GridCellLayer");
|
|
35742
|
+
_defineProperty$f(GridCellLayer, "defaultProps", defaultProps$C);
|
|
35743
35743
|
function normalizePath(path, size, gridResolution, wrapLongitude) {
|
|
35744
35744
|
let flatPath;
|
|
35745
35745
|
if (Array.isArray(path[0])) {
|
|
@@ -35954,7 +35954,7 @@ const ATTRIBUTE_TRANSITION$1 = {
|
|
|
35954
35954
|
class PathLayer extends Layer {
|
|
35955
35955
|
constructor(...args) {
|
|
35956
35956
|
super(...args);
|
|
35957
|
-
_defineProperty$
|
|
35957
|
+
_defineProperty$f(this, "state", void 0);
|
|
35958
35958
|
}
|
|
35959
35959
|
getShaders() {
|
|
35960
35960
|
return super.getShaders({
|
|
@@ -36157,8 +36157,8 @@ class PathLayer extends Layer {
|
|
|
36157
36157
|
attribute.value = pathTesselator.get("segmentTypes");
|
|
36158
36158
|
}
|
|
36159
36159
|
}
|
|
36160
|
-
_defineProperty$
|
|
36161
|
-
_defineProperty$
|
|
36160
|
+
_defineProperty$f(PathLayer, "defaultProps", defaultProps$B);
|
|
36161
|
+
_defineProperty$f(PathLayer, "layerName", "PathLayer");
|
|
36162
36162
|
var earcut$2 = { exports: {} };
|
|
36163
36163
|
earcut$2.exports = earcut;
|
|
36164
36164
|
earcut$2.exports.default = earcut;
|
|
@@ -36968,7 +36968,7 @@ const ATTRIBUTE_TRANSITION = {
|
|
|
36968
36968
|
class SolidPolygonLayer extends Layer {
|
|
36969
36969
|
constructor(...args) {
|
|
36970
36970
|
super(...args);
|
|
36971
|
-
_defineProperty$
|
|
36971
|
+
_defineProperty$f(this, "state", void 0);
|
|
36972
36972
|
}
|
|
36973
36973
|
getShaders(type) {
|
|
36974
36974
|
return super.getShaders({
|
|
@@ -37292,8 +37292,8 @@ class SolidPolygonLayer extends Layer {
|
|
|
37292
37292
|
attribute.value = this.state.polygonTesselator.get("vertexValid");
|
|
37293
37293
|
}
|
|
37294
37294
|
}
|
|
37295
|
-
_defineProperty$
|
|
37296
|
-
_defineProperty$
|
|
37295
|
+
_defineProperty$f(SolidPolygonLayer, "defaultProps", defaultProps$A);
|
|
37296
|
+
_defineProperty$f(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
|
|
37297
37297
|
function replaceInRange({
|
|
37298
37298
|
data,
|
|
37299
37299
|
getIndex,
|
|
@@ -37545,8 +37545,8 @@ class PolygonLayer extends CompositeLayer {
|
|
|
37545
37545
|
return [!extruded && polygonLayer, polygonLineLayer, extruded && polygonLayer];
|
|
37546
37546
|
}
|
|
37547
37547
|
}
|
|
37548
|
-
_defineProperty$
|
|
37549
|
-
_defineProperty$
|
|
37548
|
+
_defineProperty$f(PolygonLayer, "layerName", "PolygonLayer");
|
|
37549
|
+
_defineProperty$f(PolygonLayer, "defaultProps", defaultProps$z);
|
|
37550
37550
|
function binaryToFeatureForAccesor(data, index2) {
|
|
37551
37551
|
if (!data) {
|
|
37552
37552
|
return null;
|
|
@@ -37607,7 +37607,7 @@ const defaultProps$y = {
|
|
|
37607
37607
|
class MultiIconLayer extends IconLayer {
|
|
37608
37608
|
constructor(...args) {
|
|
37609
37609
|
super(...args);
|
|
37610
|
-
_defineProperty$
|
|
37610
|
+
_defineProperty$f(this, "state", void 0);
|
|
37611
37611
|
}
|
|
37612
37612
|
getShaders() {
|
|
37613
37613
|
return {
|
|
@@ -37682,8 +37682,8 @@ class MultiIconLayer extends IconLayer {
|
|
|
37682
37682
|
return icons ? Array.from(icons).flatMap((icon) => super.getInstanceIconFrame(icon)) : EMPTY_ARRAY;
|
|
37683
37683
|
}
|
|
37684
37684
|
}
|
|
37685
|
-
_defineProperty$
|
|
37686
|
-
_defineProperty$
|
|
37685
|
+
_defineProperty$f(MultiIconLayer, "defaultProps", defaultProps$y);
|
|
37686
|
+
_defineProperty$f(MultiIconLayer, "layerName", "MultiIconLayer");
|
|
37687
37687
|
var tinySdf = { exports: {} };
|
|
37688
37688
|
tinySdf.exports = TinySDF;
|
|
37689
37689
|
tinySdf.exports.default = TinySDF;
|
|
@@ -38051,9 +38051,9 @@ function getTextFromBuffer({
|
|
|
38051
38051
|
}
|
|
38052
38052
|
let LRUCache$1 = class LRUCache {
|
|
38053
38053
|
constructor(limit = 5) {
|
|
38054
|
-
_defineProperty$
|
|
38055
|
-
_defineProperty$
|
|
38056
|
-
_defineProperty$
|
|
38054
|
+
_defineProperty$f(this, "limit", void 0);
|
|
38055
|
+
_defineProperty$f(this, "_cache", {});
|
|
38056
|
+
_defineProperty$f(this, "_order", []);
|
|
38057
38057
|
this.limit = limit;
|
|
38058
38058
|
}
|
|
38059
38059
|
get(key) {
|
|
@@ -38152,11 +38152,11 @@ function setFontAtlasCacheLimit(limit) {
|
|
|
38152
38152
|
}
|
|
38153
38153
|
class FontAtlasManager {
|
|
38154
38154
|
constructor() {
|
|
38155
|
-
_defineProperty$
|
|
38155
|
+
_defineProperty$f(this, "props", {
|
|
38156
38156
|
...DEFAULT_FONT_SETTINGS
|
|
38157
38157
|
});
|
|
38158
|
-
_defineProperty$
|
|
38159
|
-
_defineProperty$
|
|
38158
|
+
_defineProperty$f(this, "_key", void 0);
|
|
38159
|
+
_defineProperty$f(this, "_atlas", void 0);
|
|
38160
38160
|
}
|
|
38161
38161
|
get texture() {
|
|
38162
38162
|
return this._atlas;
|
|
@@ -38308,7 +38308,7 @@ const defaultProps$x = {
|
|
|
38308
38308
|
class TextBackgroundLayer extends Layer {
|
|
38309
38309
|
constructor(...args) {
|
|
38310
38310
|
super(...args);
|
|
38311
|
-
_defineProperty$
|
|
38311
|
+
_defineProperty$f(this, "state", void 0);
|
|
38312
38312
|
}
|
|
38313
38313
|
getShaders() {
|
|
38314
38314
|
return super.getShaders({
|
|
@@ -38431,8 +38431,8 @@ class TextBackgroundLayer extends Layer {
|
|
|
38431
38431
|
});
|
|
38432
38432
|
}
|
|
38433
38433
|
}
|
|
38434
|
-
_defineProperty$
|
|
38435
|
-
_defineProperty$
|
|
38434
|
+
_defineProperty$f(TextBackgroundLayer, "defaultProps", defaultProps$x);
|
|
38435
|
+
_defineProperty$f(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
|
|
38436
38436
|
const TEXT_ANCHOR = {
|
|
38437
38437
|
start: 1,
|
|
38438
38438
|
middle: 0,
|
|
@@ -38529,8 +38529,8 @@ const defaultProps$w = {
|
|
|
38529
38529
|
class TextLayer extends CompositeLayer {
|
|
38530
38530
|
constructor(...args) {
|
|
38531
38531
|
super(...args);
|
|
38532
|
-
_defineProperty$
|
|
38533
|
-
_defineProperty$
|
|
38532
|
+
_defineProperty$f(this, "state", void 0);
|
|
38533
|
+
_defineProperty$f(this, "getBoundingRect", (object2, objectInfo) => {
|
|
38534
38534
|
const iconMapping = this.state.fontAtlasManager.mapping;
|
|
38535
38535
|
const getText = this.state.getText;
|
|
38536
38536
|
const {
|
|
@@ -38548,7 +38548,7 @@ class TextLayer extends CompositeLayer {
|
|
|
38548
38548
|
const anchorY = ALIGNMENT_BASELINE[typeof getAlignmentBaseline === "function" ? getAlignmentBaseline(object2, objectInfo) : getAlignmentBaseline];
|
|
38549
38549
|
return [(anchorX - 1) * width / 2, (anchorY - 1) * height / 2, width, height];
|
|
38550
38550
|
});
|
|
38551
|
-
_defineProperty$
|
|
38551
|
+
_defineProperty$f(this, "getIconOffsets", (object2, objectInfo) => {
|
|
38552
38552
|
const iconMapping = this.state.fontAtlasManager.mapping;
|
|
38553
38553
|
const getText = this.state.getText;
|
|
38554
38554
|
const {
|
|
@@ -38828,8 +38828,8 @@ class TextLayer extends CompositeLayer {
|
|
|
38828
38828
|
setFontAtlasCacheLimit(limit);
|
|
38829
38829
|
}
|
|
38830
38830
|
}
|
|
38831
|
-
_defineProperty$
|
|
38832
|
-
_defineProperty$
|
|
38831
|
+
_defineProperty$f(TextLayer, "defaultProps", defaultProps$w);
|
|
38832
|
+
_defineProperty$f(TextLayer, "layerName", "TextLayer");
|
|
38833
38833
|
const POINT_LAYER = {
|
|
38834
38834
|
circle: {
|
|
38835
38835
|
type: ScatterplotLayer,
|
|
@@ -39468,8 +39468,8 @@ class GeoJsonLayer extends CompositeLayer {
|
|
|
39468
39468
|
};
|
|
39469
39469
|
}
|
|
39470
39470
|
}
|
|
39471
|
-
_defineProperty$
|
|
39472
|
-
_defineProperty$
|
|
39471
|
+
_defineProperty$f(GeoJsonLayer, "layerName", "GeoJsonLayer");
|
|
39472
|
+
_defineProperty$f(GeoJsonLayer, "defaultProps", defaultProps$v);
|
|
39473
39473
|
const esm$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
39474
39474
|
__proto__: null,
|
|
39475
39475
|
ArcLayer,
|
|
@@ -39497,8 +39497,8 @@ const defaultProps$u = {
|
|
|
39497
39497
|
};
|
|
39498
39498
|
class GreatCircleLayer extends ArcLayer {
|
|
39499
39499
|
}
|
|
39500
|
-
_defineProperty$
|
|
39501
|
-
_defineProperty$
|
|
39500
|
+
_defineProperty$f(GreatCircleLayer, "layerName", "GreatCircleLayer");
|
|
39501
|
+
_defineProperty$f(GreatCircleLayer, "defaultProps", defaultProps$u);
|
|
39502
39502
|
const defaultProps$t = {
|
|
39503
39503
|
...PolygonLayer.defaultProps
|
|
39504
39504
|
};
|
|
@@ -39561,8 +39561,8 @@ class GeoCellLayer extends CompositeLayer {
|
|
|
39561
39561
|
}), this.indexToBounds());
|
|
39562
39562
|
}
|
|
39563
39563
|
}
|
|
39564
|
-
_defineProperty$
|
|
39565
|
-
_defineProperty$
|
|
39564
|
+
_defineProperty$f(GeoCellLayer, "layerName", "GeoCellLayer");
|
|
39565
|
+
_defineProperty$f(GeoCellLayer, "defaultProps", defaultProps$t);
|
|
39566
39566
|
function commonjsRequire(path) {
|
|
39567
39567
|
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.');
|
|
39568
39568
|
}
|
|
@@ -40279,8 +40279,8 @@ class S2Layer extends GeoCellLayer {
|
|
|
40279
40279
|
};
|
|
40280
40280
|
}
|
|
40281
40281
|
}
|
|
40282
|
-
_defineProperty$
|
|
40283
|
-
_defineProperty$
|
|
40282
|
+
_defineProperty$f(S2Layer, "layerName", "S2Layer");
|
|
40283
|
+
_defineProperty$f(S2Layer, "defaultProps", defaultProps$s);
|
|
40284
40284
|
const TILE_SIZE$3 = 512;
|
|
40285
40285
|
function quadkeyToWorldBounds(quadkey) {
|
|
40286
40286
|
let x2 = 0;
|
|
@@ -40323,28 +40323,28 @@ class QuadkeyLayer extends GeoCellLayer {
|
|
|
40323
40323
|
};
|
|
40324
40324
|
}
|
|
40325
40325
|
}
|
|
40326
|
-
_defineProperty$
|
|
40327
|
-
_defineProperty$
|
|
40326
|
+
_defineProperty$f(QuadkeyLayer, "layerName", "QuadkeyLayer");
|
|
40327
|
+
_defineProperty$f(QuadkeyLayer, "defaultProps", defaultProps$r);
|
|
40328
40328
|
class Tile2DHeader {
|
|
40329
40329
|
constructor(index2) {
|
|
40330
|
-
_defineProperty$
|
|
40331
|
-
_defineProperty$
|
|
40332
|
-
_defineProperty$
|
|
40333
|
-
_defineProperty$
|
|
40334
|
-
_defineProperty$
|
|
40335
|
-
_defineProperty$
|
|
40336
|
-
_defineProperty$
|
|
40337
|
-
_defineProperty$
|
|
40338
|
-
_defineProperty$
|
|
40339
|
-
_defineProperty$
|
|
40340
|
-
_defineProperty$
|
|
40341
|
-
_defineProperty$
|
|
40342
|
-
_defineProperty$
|
|
40343
|
-
_defineProperty$
|
|
40344
|
-
_defineProperty$
|
|
40345
|
-
_defineProperty$
|
|
40346
|
-
_defineProperty$
|
|
40347
|
-
_defineProperty$
|
|
40330
|
+
_defineProperty$f(this, "index", void 0);
|
|
40331
|
+
_defineProperty$f(this, "isVisible", void 0);
|
|
40332
|
+
_defineProperty$f(this, "isSelected", void 0);
|
|
40333
|
+
_defineProperty$f(this, "parent", void 0);
|
|
40334
|
+
_defineProperty$f(this, "children", void 0);
|
|
40335
|
+
_defineProperty$f(this, "content", void 0);
|
|
40336
|
+
_defineProperty$f(this, "state", void 0);
|
|
40337
|
+
_defineProperty$f(this, "layers", void 0);
|
|
40338
|
+
_defineProperty$f(this, "id", void 0);
|
|
40339
|
+
_defineProperty$f(this, "bbox", void 0);
|
|
40340
|
+
_defineProperty$f(this, "zoom", void 0);
|
|
40341
|
+
_defineProperty$f(this, "userData", void 0);
|
|
40342
|
+
_defineProperty$f(this, "_abortController", void 0);
|
|
40343
|
+
_defineProperty$f(this, "_loader", void 0);
|
|
40344
|
+
_defineProperty$f(this, "_loaderId", void 0);
|
|
40345
|
+
_defineProperty$f(this, "_isLoaded", void 0);
|
|
40346
|
+
_defineProperty$f(this, "_isCancelled", void 0);
|
|
40347
|
+
_defineProperty$f(this, "_needsReload", void 0);
|
|
40348
40348
|
this.index = index2;
|
|
40349
40349
|
this.isVisible = false;
|
|
40350
40350
|
this.isSelected = false;
|
|
@@ -41120,12 +41120,12 @@ const REF_POINTS_9 = REF_POINTS_5.concat([[0, 0.5], [0.5, 0], [1, 0.5], [0.5, 1]
|
|
|
41120
41120
|
const REF_POINTS_11 = REF_POINTS_9.concat([[0.25, 0.5], [0.75, 0.5]]);
|
|
41121
41121
|
class OSMNode {
|
|
41122
41122
|
constructor(x2, y2, z2) {
|
|
41123
|
-
_defineProperty$
|
|
41124
|
-
_defineProperty$
|
|
41125
|
-
_defineProperty$
|
|
41126
|
-
_defineProperty$
|
|
41127
|
-
_defineProperty$
|
|
41128
|
-
_defineProperty$
|
|
41123
|
+
_defineProperty$f(this, "x", void 0);
|
|
41124
|
+
_defineProperty$f(this, "y", void 0);
|
|
41125
|
+
_defineProperty$f(this, "z", void 0);
|
|
41126
|
+
_defineProperty$f(this, "childVisible", void 0);
|
|
41127
|
+
_defineProperty$f(this, "selected", void 0);
|
|
41128
|
+
_defineProperty$f(this, "_children", void 0);
|
|
41129
41129
|
this.x = x2;
|
|
41130
41130
|
this.y = y2;
|
|
41131
41131
|
this.z = z2;
|
|
@@ -41472,22 +41472,22 @@ const STRATEGIES = {
|
|
|
41472
41472
|
};
|
|
41473
41473
|
class Tileset2D {
|
|
41474
41474
|
constructor(opts2) {
|
|
41475
|
-
_defineProperty$
|
|
41476
|
-
_defineProperty$
|
|
41477
|
-
_defineProperty$
|
|
41478
|
-
_defineProperty$
|
|
41479
|
-
_defineProperty$
|
|
41480
|
-
_defineProperty$
|
|
41481
|
-
_defineProperty$
|
|
41482
|
-
_defineProperty$
|
|
41483
|
-
_defineProperty$
|
|
41484
|
-
_defineProperty$
|
|
41485
|
-
_defineProperty$
|
|
41486
|
-
_defineProperty$
|
|
41487
|
-
_defineProperty$
|
|
41488
|
-
_defineProperty$
|
|
41489
|
-
_defineProperty$
|
|
41490
|
-
_defineProperty$
|
|
41475
|
+
_defineProperty$f(this, "opts", void 0);
|
|
41476
|
+
_defineProperty$f(this, "_requestScheduler", void 0);
|
|
41477
|
+
_defineProperty$f(this, "_cache", void 0);
|
|
41478
|
+
_defineProperty$f(this, "_dirty", void 0);
|
|
41479
|
+
_defineProperty$f(this, "_tiles", void 0);
|
|
41480
|
+
_defineProperty$f(this, "_cacheByteSize", void 0);
|
|
41481
|
+
_defineProperty$f(this, "_viewport", void 0);
|
|
41482
|
+
_defineProperty$f(this, "_zRange", void 0);
|
|
41483
|
+
_defineProperty$f(this, "_selectedTiles", void 0);
|
|
41484
|
+
_defineProperty$f(this, "_frameNumber", void 0);
|
|
41485
|
+
_defineProperty$f(this, "_modelMatrix", void 0);
|
|
41486
|
+
_defineProperty$f(this, "_modelMatrixInverse", void 0);
|
|
41487
|
+
_defineProperty$f(this, "_maxZoom", void 0);
|
|
41488
|
+
_defineProperty$f(this, "_minZoom", void 0);
|
|
41489
|
+
_defineProperty$f(this, "onTileLoad", void 0);
|
|
41490
|
+
_defineProperty$f(this, "_getCullBounds", memoize$2(getCullBounds));
|
|
41491
41491
|
this.opts = opts2;
|
|
41492
41492
|
this.onTileLoad = (tile) => {
|
|
41493
41493
|
this.opts.onTileLoad(tile);
|
|
@@ -42100,8 +42100,8 @@ class TileLayer extends CompositeLayer {
|
|
|
42100
42100
|
return this.state.tileset.isTileVisible(tile, cullRect);
|
|
42101
42101
|
}
|
|
42102
42102
|
}
|
|
42103
|
-
_defineProperty$
|
|
42104
|
-
_defineProperty$
|
|
42103
|
+
_defineProperty$f(TileLayer, "defaultProps", defaultProps$q);
|
|
42104
|
+
_defineProperty$f(TileLayer, "layerName", "TileLayer");
|
|
42105
42105
|
const defaultProps$p = {
|
|
42106
42106
|
fadeTrail: true,
|
|
42107
42107
|
trailLength: {
|
|
@@ -42164,8 +42164,8 @@ class TripsLayer extends PathLayer {
|
|
|
42164
42164
|
super.draw(params);
|
|
42165
42165
|
}
|
|
42166
42166
|
}
|
|
42167
|
-
_defineProperty$
|
|
42168
|
-
_defineProperty$
|
|
42167
|
+
_defineProperty$f(TripsLayer, "layerName", "TripsLayer");
|
|
42168
|
+
_defineProperty$f(TripsLayer, "defaultProps", defaultProps$p);
|
|
42169
42169
|
var libh3 = function(libh32) {
|
|
42170
42170
|
libh32 = libh32 || {};
|
|
42171
42171
|
var Module = typeof libh32 !== "undefined" ? libh32 : {};
|
|
@@ -53724,8 +53724,8 @@ class H3ClusterLayer extends GeoCellLayer {
|
|
|
53724
53724
|
};
|
|
53725
53725
|
}
|
|
53726
53726
|
}
|
|
53727
|
-
_defineProperty$
|
|
53728
|
-
_defineProperty$
|
|
53727
|
+
_defineProperty$f(H3ClusterLayer, "layerName", "H3ClusterLayer");
|
|
53728
|
+
_defineProperty$f(H3ClusterLayer, "defaultProps", defaultProps$o);
|
|
53729
53729
|
const UPDATE_THRESHOLD_KM = 10;
|
|
53730
53730
|
function normalizeLongitudes(vertices, refLng) {
|
|
53731
53731
|
refLng = refLng === void 0 ? vertices[0][0] : refLng;
|
|
@@ -53807,7 +53807,7 @@ const defaultProps$n = {
|
|
|
53807
53807
|
class H3HexagonLayer extends CompositeLayer {
|
|
53808
53808
|
constructor(...args) {
|
|
53809
53809
|
super(...args);
|
|
53810
|
-
_defineProperty$
|
|
53810
|
+
_defineProperty$f(this, "state", void 0);
|
|
53811
53811
|
}
|
|
53812
53812
|
initializeState() {
|
|
53813
53813
|
H3HexagonLayer._checkH3Lib();
|
|
@@ -54008,9 +54008,9 @@ class H3HexagonLayer extends CompositeLayer {
|
|
|
54008
54008
|
});
|
|
54009
54009
|
}
|
|
54010
54010
|
}
|
|
54011
|
-
_defineProperty$
|
|
54012
|
-
_defineProperty$
|
|
54013
|
-
_defineProperty$
|
|
54011
|
+
_defineProperty$f(H3HexagonLayer, "defaultProps", defaultProps$n);
|
|
54012
|
+
_defineProperty$f(H3HexagonLayer, "layerName", "H3HexagonLayer");
|
|
54013
|
+
_defineProperty$f(H3HexagonLayer, "_checkH3Lib", () => {
|
|
54014
54014
|
});
|
|
54015
54015
|
const RADIAN_PER_DEGREE = Math.PI / 180;
|
|
54016
54016
|
const modelMatrix = new Float32Array(16);
|
|
@@ -54229,7 +54229,7 @@ const defaultProps$m = {
|
|
|
54229
54229
|
class SimpleMeshLayer extends Layer {
|
|
54230
54230
|
constructor(...args) {
|
|
54231
54231
|
super(...args);
|
|
54232
|
-
_defineProperty$
|
|
54232
|
+
_defineProperty$f(this, "state", void 0);
|
|
54233
54233
|
}
|
|
54234
54234
|
getShaders() {
|
|
54235
54235
|
const transpileToGLSL100 = !isWebGL2$1(this.context.gl);
|
|
@@ -54355,8 +54355,8 @@ class SimpleMeshLayer extends Layer {
|
|
|
54355
54355
|
}
|
|
54356
54356
|
}
|
|
54357
54357
|
}
|
|
54358
|
-
_defineProperty$
|
|
54359
|
-
_defineProperty$
|
|
54358
|
+
_defineProperty$f(SimpleMeshLayer, "defaultProps", defaultProps$m);
|
|
54359
|
+
_defineProperty$f(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
|
|
54360
54360
|
class ScenegraphNode {
|
|
54361
54361
|
constructor() {
|
|
54362
54362
|
let props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -55674,9 +55674,9 @@ const DEFAULT_GLTF_JSON = {
|
|
|
55674
55674
|
};
|
|
55675
55675
|
class GLTFScenegraph {
|
|
55676
55676
|
constructor(gltf) {
|
|
55677
|
-
_defineProperty$
|
|
55678
|
-
_defineProperty$
|
|
55679
|
-
_defineProperty$
|
|
55677
|
+
_defineProperty$f(this, "gltf", void 0);
|
|
55678
|
+
_defineProperty$f(this, "sourceBuffers", void 0);
|
|
55679
|
+
_defineProperty$f(this, "byteLength", void 0);
|
|
55680
55680
|
this.gltf = gltf || {
|
|
55681
55681
|
json: {
|
|
55682
55682
|
...DEFAULT_GLTF_JSON
|
|
@@ -56294,8 +56294,8 @@ function assert$2(condition, message) {
|
|
|
56294
56294
|
}
|
|
56295
56295
|
class Schema {
|
|
56296
56296
|
constructor(fields, metadata) {
|
|
56297
|
-
_defineProperty$
|
|
56298
|
-
_defineProperty$
|
|
56297
|
+
_defineProperty$f(this, "fields", void 0);
|
|
56298
|
+
_defineProperty$f(this, "metadata", void 0);
|
|
56299
56299
|
assert$2(Array.isArray(fields));
|
|
56300
56300
|
checkNames(fields);
|
|
56301
56301
|
this.fields = fields;
|
|
@@ -56362,10 +56362,10 @@ function mergeMaps(m1, m2) {
|
|
|
56362
56362
|
}
|
|
56363
56363
|
class Field {
|
|
56364
56364
|
constructor(name2, type, nullable = false, metadata = /* @__PURE__ */ new Map()) {
|
|
56365
|
-
_defineProperty$
|
|
56366
|
-
_defineProperty$
|
|
56367
|
-
_defineProperty$
|
|
56368
|
-
_defineProperty$
|
|
56365
|
+
_defineProperty$f(this, "name", void 0);
|
|
56366
|
+
_defineProperty$f(this, "type", void 0);
|
|
56367
|
+
_defineProperty$f(this, "nullable", void 0);
|
|
56368
|
+
_defineProperty$f(this, "metadata", void 0);
|
|
56369
56369
|
this.name = name2;
|
|
56370
56370
|
this.type = type;
|
|
56371
56371
|
this.nullable = nullable;
|
|
@@ -56498,8 +56498,8 @@ _Symbol$toStringTag = Symbol.toStringTag;
|
|
|
56498
56498
|
class Int extends DataType$2 {
|
|
56499
56499
|
constructor(isSigned, bitWidth) {
|
|
56500
56500
|
super();
|
|
56501
|
-
_defineProperty$
|
|
56502
|
-
_defineProperty$
|
|
56501
|
+
_defineProperty$f(this, "isSigned", void 0);
|
|
56502
|
+
_defineProperty$f(this, "bitWidth", void 0);
|
|
56503
56503
|
this.isSigned = isSigned;
|
|
56504
56504
|
this.bitWidth = bitWidth;
|
|
56505
56505
|
}
|
|
@@ -56552,7 +56552,7 @@ _Symbol$toStringTag2 = Symbol.toStringTag;
|
|
|
56552
56552
|
class Float extends DataType$2 {
|
|
56553
56553
|
constructor(precision) {
|
|
56554
56554
|
super();
|
|
56555
|
-
_defineProperty$
|
|
56555
|
+
_defineProperty$f(this, "precision", void 0);
|
|
56556
56556
|
this.precision = precision;
|
|
56557
56557
|
}
|
|
56558
56558
|
get typeId() {
|
|
@@ -56579,8 +56579,8 @@ _Symbol$toStringTag7 = Symbol.toStringTag;
|
|
|
56579
56579
|
class FixedSizeList extends DataType$2 {
|
|
56580
56580
|
constructor(listSize, child) {
|
|
56581
56581
|
super();
|
|
56582
|
-
_defineProperty$
|
|
56583
|
-
_defineProperty$
|
|
56582
|
+
_defineProperty$f(this, "listSize", void 0);
|
|
56583
|
+
_defineProperty$f(this, "children", void 0);
|
|
56584
56584
|
this.listSize = listSize;
|
|
56585
56585
|
this.children = [child];
|
|
56586
56586
|
}
|
|
@@ -57476,7 +57476,7 @@ const GLTF_KEYS = {
|
|
|
57476
57476
|
};
|
|
57477
57477
|
class GLTFV1Normalizer {
|
|
57478
57478
|
constructor() {
|
|
57479
|
-
_defineProperty$
|
|
57479
|
+
_defineProperty$f(this, "idToIndexMap", {
|
|
57480
57480
|
animations: {},
|
|
57481
57481
|
accessors: {},
|
|
57482
57482
|
buffers: {},
|
|
@@ -57490,7 +57490,7 @@ class GLTFV1Normalizer {
|
|
|
57490
57490
|
skins: {},
|
|
57491
57491
|
textures: {}
|
|
57492
57492
|
});
|
|
57493
|
-
_defineProperty$
|
|
57493
|
+
_defineProperty$f(this, "json", void 0);
|
|
57494
57494
|
}
|
|
57495
57495
|
normalize(gltf, options) {
|
|
57496
57496
|
this.json = gltf.json;
|
|
@@ -57692,10 +57692,10 @@ function getSizeFromAccessorType(type) {
|
|
|
57692
57692
|
}
|
|
57693
57693
|
class GLTFPostProcessor {
|
|
57694
57694
|
constructor() {
|
|
57695
|
-
_defineProperty$
|
|
57696
|
-
_defineProperty$
|
|
57697
|
-
_defineProperty$
|
|
57698
|
-
_defineProperty$
|
|
57695
|
+
_defineProperty$f(this, "baseUri", "");
|
|
57696
|
+
_defineProperty$f(this, "json", {});
|
|
57697
|
+
_defineProperty$f(this, "buffers", []);
|
|
57698
|
+
_defineProperty$f(this, "images", []);
|
|
57699
57699
|
}
|
|
57700
57700
|
postProcess(gltf, options = {}) {
|
|
57701
57701
|
const {
|
|
@@ -58350,7 +58350,7 @@ const defaultProps$l = {
|
|
|
58350
58350
|
class ScenegraphLayer extends Layer {
|
|
58351
58351
|
constructor(...args) {
|
|
58352
58352
|
super(...args);
|
|
58353
|
-
_defineProperty$
|
|
58353
|
+
_defineProperty$f(this, "state", void 0);
|
|
58354
58354
|
}
|
|
58355
58355
|
getShaders() {
|
|
58356
58356
|
const modules = [project32, picking];
|
|
@@ -58565,8 +58565,8 @@ class ScenegraphLayer extends Layer {
|
|
|
58565
58565
|
});
|
|
58566
58566
|
}
|
|
58567
58567
|
}
|
|
58568
|
-
_defineProperty$
|
|
58569
|
-
_defineProperty$
|
|
58568
|
+
_defineProperty$f(ScenegraphLayer, "defaultProps", defaultProps$l);
|
|
58569
|
+
_defineProperty$f(ScenegraphLayer, "layerName", "ScenegraphLayer");
|
|
58570
58570
|
const esm$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
58571
58571
|
__proto__: null,
|
|
58572
58572
|
ScenegraphLayer,
|
|
@@ -58725,8 +58725,8 @@ class MeshLayer extends SimpleMeshLayer {
|
|
|
58725
58725
|
});
|
|
58726
58726
|
}
|
|
58727
58727
|
}
|
|
58728
|
-
_defineProperty$
|
|
58729
|
-
_defineProperty$
|
|
58728
|
+
_defineProperty$f(MeshLayer, "layerName", "MeshLayer");
|
|
58729
|
+
_defineProperty$f(MeshLayer, "defaultProps", defaultProps$k);
|
|
58730
58730
|
const WGS84_RADIUS_X$1 = 6378137;
|
|
58731
58731
|
const WGS84_RADIUS_Y$1 = 6378137;
|
|
58732
58732
|
const WGS84_RADIUS_Z$1 = 6356752314245179e-9;
|
|
@@ -59066,9 +59066,9 @@ class Ellipsoid {
|
|
|
59066
59066
|
_defineProperty$f(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
|
|
59067
59067
|
class DoublyLinkedListNode {
|
|
59068
59068
|
constructor(item, previous, next) {
|
|
59069
|
-
_defineProperty$
|
|
59070
|
-
_defineProperty$
|
|
59071
|
-
_defineProperty$
|
|
59069
|
+
_defineProperty$f(this, "item", void 0);
|
|
59070
|
+
_defineProperty$f(this, "previous", void 0);
|
|
59071
|
+
_defineProperty$f(this, "next", void 0);
|
|
59072
59072
|
this.item = item;
|
|
59073
59073
|
this.previous = previous;
|
|
59074
59074
|
this.next = next;
|
|
@@ -59076,9 +59076,9 @@ class DoublyLinkedListNode {
|
|
|
59076
59076
|
}
|
|
59077
59077
|
class DoublyLinkedList {
|
|
59078
59078
|
constructor() {
|
|
59079
|
-
_defineProperty$
|
|
59080
|
-
_defineProperty$
|
|
59081
|
-
_defineProperty$
|
|
59079
|
+
_defineProperty$f(this, "head", null);
|
|
59080
|
+
_defineProperty$f(this, "tail", null);
|
|
59081
|
+
_defineProperty$f(this, "_length", 0);
|
|
59082
59082
|
}
|
|
59083
59083
|
get length() {
|
|
59084
59084
|
return this._length;
|
|
@@ -59141,9 +59141,9 @@ function defined$4(x2) {
|
|
|
59141
59141
|
}
|
|
59142
59142
|
class TilesetCache {
|
|
59143
59143
|
constructor() {
|
|
59144
|
-
_defineProperty$
|
|
59145
|
-
_defineProperty$
|
|
59146
|
-
_defineProperty$
|
|
59144
|
+
_defineProperty$f(this, "_list", void 0);
|
|
59145
|
+
_defineProperty$f(this, "_sentinel", void 0);
|
|
59146
|
+
_defineProperty$f(this, "_trimTiles", void 0);
|
|
59147
59147
|
this._list = new DoublyLinkedList();
|
|
59148
59148
|
this._sentinel = this._list.add("sentinel");
|
|
59149
59149
|
this._trimTiles = false;
|
|
@@ -59586,9 +59586,9 @@ function get3dTilesOptions(tileset) {
|
|
|
59586
59586
|
}
|
|
59587
59587
|
class ManagedArray {
|
|
59588
59588
|
constructor(length2 = 0) {
|
|
59589
|
-
_defineProperty$
|
|
59590
|
-
_defineProperty$
|
|
59591
|
-
_defineProperty$
|
|
59589
|
+
_defineProperty$f(this, "_map", /* @__PURE__ */ new Map());
|
|
59590
|
+
_defineProperty$f(this, "_array", void 0);
|
|
59591
|
+
_defineProperty$f(this, "_length", void 0);
|
|
59592
59592
|
this._array = new Array(length2);
|
|
59593
59593
|
this._length = length2;
|
|
59594
59594
|
}
|
|
@@ -59682,16 +59682,16 @@ class TilesetTraverser {
|
|
|
59682
59682
|
return true;
|
|
59683
59683
|
}
|
|
59684
59684
|
constructor(options) {
|
|
59685
|
-
_defineProperty$
|
|
59686
|
-
_defineProperty$
|
|
59687
|
-
_defineProperty$
|
|
59688
|
-
_defineProperty$
|
|
59689
|
-
_defineProperty$
|
|
59690
|
-
_defineProperty$
|
|
59691
|
-
_defineProperty$
|
|
59692
|
-
_defineProperty$
|
|
59693
|
-
_defineProperty$
|
|
59694
|
-
_defineProperty$
|
|
59685
|
+
_defineProperty$f(this, "options", void 0);
|
|
59686
|
+
_defineProperty$f(this, "root", void 0);
|
|
59687
|
+
_defineProperty$f(this, "requestedTiles", void 0);
|
|
59688
|
+
_defineProperty$f(this, "selectedTiles", void 0);
|
|
59689
|
+
_defineProperty$f(this, "emptyTiles", void 0);
|
|
59690
|
+
_defineProperty$f(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
|
|
59691
|
+
_defineProperty$f(this, "updateDebounceTime", 1e3);
|
|
59692
|
+
_defineProperty$f(this, "_traversalStack", void 0);
|
|
59693
|
+
_defineProperty$f(this, "_emptyTraversalStack", void 0);
|
|
59694
|
+
_defineProperty$f(this, "_frameNumber", void 0);
|
|
59695
59695
|
this.options = {
|
|
59696
59696
|
...DEFAULT_PROPS$1,
|
|
59697
59697
|
...options
|
|
@@ -59912,52 +59912,52 @@ function defined$2(x2) {
|
|
|
59912
59912
|
}
|
|
59913
59913
|
class TileHeader {
|
|
59914
59914
|
constructor(tileset, header, parentHeader, extendedId = "") {
|
|
59915
|
-
_defineProperty$
|
|
59916
|
-
_defineProperty$
|
|
59917
|
-
_defineProperty$
|
|
59918
|
-
_defineProperty$
|
|
59919
|
-
_defineProperty$
|
|
59920
|
-
_defineProperty$
|
|
59921
|
-
_defineProperty$
|
|
59922
|
-
_defineProperty$
|
|
59923
|
-
_defineProperty$
|
|
59924
|
-
_defineProperty$
|
|
59925
|
-
_defineProperty$
|
|
59926
|
-
_defineProperty$
|
|
59927
|
-
_defineProperty$
|
|
59928
|
-
_defineProperty$
|
|
59929
|
-
_defineProperty$
|
|
59930
|
-
_defineProperty$
|
|
59931
|
-
_defineProperty$
|
|
59932
|
-
_defineProperty$
|
|
59933
|
-
_defineProperty$
|
|
59934
|
-
_defineProperty$
|
|
59935
|
-
_defineProperty$
|
|
59936
|
-
_defineProperty$
|
|
59937
|
-
_defineProperty$
|
|
59938
|
-
_defineProperty$
|
|
59939
|
-
_defineProperty$
|
|
59940
|
-
_defineProperty$
|
|
59941
|
-
_defineProperty$
|
|
59942
|
-
_defineProperty$
|
|
59943
|
-
_defineProperty$
|
|
59944
|
-
_defineProperty$
|
|
59945
|
-
_defineProperty$
|
|
59946
|
-
_defineProperty$
|
|
59947
|
-
_defineProperty$
|
|
59948
|
-
_defineProperty$
|
|
59949
|
-
_defineProperty$
|
|
59950
|
-
_defineProperty$
|
|
59951
|
-
_defineProperty$
|
|
59952
|
-
_defineProperty$
|
|
59953
|
-
_defineProperty$
|
|
59954
|
-
_defineProperty$
|
|
59955
|
-
_defineProperty$
|
|
59956
|
-
_defineProperty$
|
|
59957
|
-
_defineProperty$
|
|
59958
|
-
_defineProperty$
|
|
59959
|
-
_defineProperty$
|
|
59960
|
-
_defineProperty$
|
|
59915
|
+
_defineProperty$f(this, "tileset", void 0);
|
|
59916
|
+
_defineProperty$f(this, "header", void 0);
|
|
59917
|
+
_defineProperty$f(this, "id", void 0);
|
|
59918
|
+
_defineProperty$f(this, "url", void 0);
|
|
59919
|
+
_defineProperty$f(this, "parent", void 0);
|
|
59920
|
+
_defineProperty$f(this, "refine", void 0);
|
|
59921
|
+
_defineProperty$f(this, "type", void 0);
|
|
59922
|
+
_defineProperty$f(this, "contentUrl", void 0);
|
|
59923
|
+
_defineProperty$f(this, "lodMetricType", void 0);
|
|
59924
|
+
_defineProperty$f(this, "lodMetricValue", void 0);
|
|
59925
|
+
_defineProperty$f(this, "boundingVolume", void 0);
|
|
59926
|
+
_defineProperty$f(this, "content", void 0);
|
|
59927
|
+
_defineProperty$f(this, "contentState", void 0);
|
|
59928
|
+
_defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
|
|
59929
|
+
_defineProperty$f(this, "children", void 0);
|
|
59930
|
+
_defineProperty$f(this, "depth", void 0);
|
|
59931
|
+
_defineProperty$f(this, "viewportIds", void 0);
|
|
59932
|
+
_defineProperty$f(this, "transform", void 0);
|
|
59933
|
+
_defineProperty$f(this, "extensions", void 0);
|
|
59934
|
+
_defineProperty$f(this, "userData", void 0);
|
|
59935
|
+
_defineProperty$f(this, "computedTransform", void 0);
|
|
59936
|
+
_defineProperty$f(this, "hasEmptyContent", void 0);
|
|
59937
|
+
_defineProperty$f(this, "hasTilesetContent", void 0);
|
|
59938
|
+
_defineProperty$f(this, "traverser", void 0);
|
|
59939
|
+
_defineProperty$f(this, "_cacheNode", void 0);
|
|
59940
|
+
_defineProperty$f(this, "_frameNumber", void 0);
|
|
59941
|
+
_defineProperty$f(this, "_lodJudge", void 0);
|
|
59942
|
+
_defineProperty$f(this, "_expireDate", void 0);
|
|
59943
|
+
_defineProperty$f(this, "_expiredContent", void 0);
|
|
59944
|
+
_defineProperty$f(this, "_shouldRefine", void 0);
|
|
59945
|
+
_defineProperty$f(this, "_distanceToCamera", void 0);
|
|
59946
|
+
_defineProperty$f(this, "_centerZDepth", void 0);
|
|
59947
|
+
_defineProperty$f(this, "_screenSpaceError", void 0);
|
|
59948
|
+
_defineProperty$f(this, "_visibilityPlaneMask", void 0);
|
|
59949
|
+
_defineProperty$f(this, "_visible", void 0);
|
|
59950
|
+
_defineProperty$f(this, "_inRequestVolume", void 0);
|
|
59951
|
+
_defineProperty$f(this, "_stackLength", void 0);
|
|
59952
|
+
_defineProperty$f(this, "_selectionDepth", void 0);
|
|
59953
|
+
_defineProperty$f(this, "_touchedFrame", void 0);
|
|
59954
|
+
_defineProperty$f(this, "_visitedFrame", void 0);
|
|
59955
|
+
_defineProperty$f(this, "_selectedFrame", void 0);
|
|
59956
|
+
_defineProperty$f(this, "_requestedFrame", void 0);
|
|
59957
|
+
_defineProperty$f(this, "_priority", void 0);
|
|
59958
|
+
_defineProperty$f(this, "_contentBoundingVolume", void 0);
|
|
59959
|
+
_defineProperty$f(this, "_viewerRequestVolume", void 0);
|
|
59960
|
+
_defineProperty$f(this, "_initialTransform", void 0);
|
|
59961
59961
|
this.header = header;
|
|
59962
59962
|
this.tileset = tileset;
|
|
59963
59963
|
this.id = extendedId || header.id;
|
|
@@ -60350,7 +60350,7 @@ class Tileset3DTraverser extends TilesetTraverser {
|
|
|
60350
60350
|
}
|
|
60351
60351
|
class I3SPendingTilesRegister {
|
|
60352
60352
|
constructor() {
|
|
60353
|
-
_defineProperty$
|
|
60353
|
+
_defineProperty$f(this, "frameNumberMap", /* @__PURE__ */ new Map());
|
|
60354
60354
|
}
|
|
60355
60355
|
register(viewportId, frameNumber) {
|
|
60356
60356
|
const viewportMap = this.frameNumberMap.get(viewportId) || /* @__PURE__ */ new Map();
|
|
@@ -60379,8 +60379,8 @@ const STATUS = {
|
|
|
60379
60379
|
};
|
|
60380
60380
|
class I3STileManager {
|
|
60381
60381
|
constructor() {
|
|
60382
|
-
_defineProperty$
|
|
60383
|
-
_defineProperty$
|
|
60382
|
+
_defineProperty$f(this, "_statusMap", void 0);
|
|
60383
|
+
_defineProperty$f(this, "pendingTilesRegister", new I3SPendingTilesRegister());
|
|
60384
60384
|
this._statusMap = {};
|
|
60385
60385
|
}
|
|
60386
60386
|
add(request, key, callback, frameState) {
|
|
@@ -60454,7 +60454,7 @@ class I3STilesetTraverser extends TilesetTraverser {
|
|
|
60454
60454
|
}
|
|
60455
60455
|
constructor(options) {
|
|
60456
60456
|
super(options);
|
|
60457
|
-
_defineProperty$
|
|
60457
|
+
_defineProperty$f(this, "_tileManager", void 0);
|
|
60458
60458
|
this._tileManager = new I3STileManager();
|
|
60459
60459
|
}
|
|
60460
60460
|
shouldRefine(tile, frameState) {
|
|
@@ -60551,52 +60551,52 @@ const POINTS_COUNT = "Points/Vertices";
|
|
|
60551
60551
|
const TILES_GPU_MEMORY = "Tile Memory Use";
|
|
60552
60552
|
class Tileset3D {
|
|
60553
60553
|
constructor(json, options) {
|
|
60554
|
-
_defineProperty$
|
|
60555
|
-
_defineProperty$
|
|
60556
|
-
_defineProperty$
|
|
60557
|
-
_defineProperty$
|
|
60558
|
-
_defineProperty$
|
|
60559
|
-
_defineProperty$
|
|
60560
|
-
_defineProperty$
|
|
60561
|
-
_defineProperty$
|
|
60562
|
-
_defineProperty$
|
|
60563
|
-
_defineProperty$
|
|
60564
|
-
_defineProperty$
|
|
60565
|
-
_defineProperty$
|
|
60566
|
-
_defineProperty$
|
|
60567
|
-
_defineProperty$
|
|
60568
|
-
_defineProperty$
|
|
60569
|
-
_defineProperty$
|
|
60570
|
-
_defineProperty$
|
|
60571
|
-
_defineProperty$
|
|
60572
|
-
_defineProperty$
|
|
60573
|
-
_defineProperty$
|
|
60574
|
-
_defineProperty$
|
|
60575
|
-
_defineProperty$
|
|
60576
|
-
_defineProperty$
|
|
60577
|
-
_defineProperty$
|
|
60578
|
-
_defineProperty$
|
|
60579
|
-
_defineProperty$
|
|
60580
|
-
_defineProperty$
|
|
60581
|
-
_defineProperty$
|
|
60582
|
-
_defineProperty$
|
|
60583
|
-
_defineProperty$
|
|
60584
|
-
_defineProperty$
|
|
60585
|
-
_defineProperty$
|
|
60586
|
-
_defineProperty$
|
|
60587
|
-
_defineProperty$
|
|
60588
|
-
_defineProperty$
|
|
60589
|
-
_defineProperty$
|
|
60590
|
-
_defineProperty$
|
|
60591
|
-
_defineProperty$
|
|
60592
|
-
_defineProperty$
|
|
60593
|
-
_defineProperty$
|
|
60594
|
-
_defineProperty$
|
|
60595
|
-
_defineProperty$
|
|
60596
|
-
_defineProperty$
|
|
60597
|
-
_defineProperty$
|
|
60598
|
-
_defineProperty$
|
|
60599
|
-
_defineProperty$
|
|
60554
|
+
_defineProperty$f(this, "options", void 0);
|
|
60555
|
+
_defineProperty$f(this, "loadOptions", void 0);
|
|
60556
|
+
_defineProperty$f(this, "type", void 0);
|
|
60557
|
+
_defineProperty$f(this, "tileset", void 0);
|
|
60558
|
+
_defineProperty$f(this, "loader", void 0);
|
|
60559
|
+
_defineProperty$f(this, "url", void 0);
|
|
60560
|
+
_defineProperty$f(this, "basePath", void 0);
|
|
60561
|
+
_defineProperty$f(this, "modelMatrix", void 0);
|
|
60562
|
+
_defineProperty$f(this, "ellipsoid", void 0);
|
|
60563
|
+
_defineProperty$f(this, "lodMetricType", void 0);
|
|
60564
|
+
_defineProperty$f(this, "lodMetricValue", void 0);
|
|
60565
|
+
_defineProperty$f(this, "refine", void 0);
|
|
60566
|
+
_defineProperty$f(this, "root", void 0);
|
|
60567
|
+
_defineProperty$f(this, "roots", void 0);
|
|
60568
|
+
_defineProperty$f(this, "asset", void 0);
|
|
60569
|
+
_defineProperty$f(this, "description", void 0);
|
|
60570
|
+
_defineProperty$f(this, "properties", void 0);
|
|
60571
|
+
_defineProperty$f(this, "extras", void 0);
|
|
60572
|
+
_defineProperty$f(this, "attributions", void 0);
|
|
60573
|
+
_defineProperty$f(this, "credits", void 0);
|
|
60574
|
+
_defineProperty$f(this, "stats", void 0);
|
|
60575
|
+
_defineProperty$f(this, "traverseCounter", void 0);
|
|
60576
|
+
_defineProperty$f(this, "geometricError", void 0);
|
|
60577
|
+
_defineProperty$f(this, "selectedTiles", void 0);
|
|
60578
|
+
_defineProperty$f(this, "updatePromise", null);
|
|
60579
|
+
_defineProperty$f(this, "tilesetInitializationPromise", void 0);
|
|
60580
|
+
_defineProperty$f(this, "cartographicCenter", void 0);
|
|
60581
|
+
_defineProperty$f(this, "cartesianCenter", void 0);
|
|
60582
|
+
_defineProperty$f(this, "zoom", void 0);
|
|
60583
|
+
_defineProperty$f(this, "boundingVolume", void 0);
|
|
60584
|
+
_defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
|
|
60585
|
+
_defineProperty$f(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
|
|
60586
|
+
_defineProperty$f(this, "_traverser", void 0);
|
|
60587
|
+
_defineProperty$f(this, "_cache", void 0);
|
|
60588
|
+
_defineProperty$f(this, "_requestScheduler", void 0);
|
|
60589
|
+
_defineProperty$f(this, "_frameNumber", void 0);
|
|
60590
|
+
_defineProperty$f(this, "_queryParamsString", void 0);
|
|
60591
|
+
_defineProperty$f(this, "_queryParams", void 0);
|
|
60592
|
+
_defineProperty$f(this, "_extensionsUsed", void 0);
|
|
60593
|
+
_defineProperty$f(this, "_tiles", void 0);
|
|
60594
|
+
_defineProperty$f(this, "_pendingCount", void 0);
|
|
60595
|
+
_defineProperty$f(this, "lastUpdatedVieports", void 0);
|
|
60596
|
+
_defineProperty$f(this, "_requestedTiles", void 0);
|
|
60597
|
+
_defineProperty$f(this, "_emptyTiles", void 0);
|
|
60598
|
+
_defineProperty$f(this, "frameStateData", void 0);
|
|
60599
|
+
_defineProperty$f(this, "maximumMemoryUsage", void 0);
|
|
60600
60600
|
assert$c(json);
|
|
60601
60601
|
this.options = {
|
|
60602
60602
|
...DEFAULT_PROPS,
|
|
@@ -61252,10 +61252,10 @@ function octDecode(x2, y2, result) {
|
|
|
61252
61252
|
}
|
|
61253
61253
|
class Tile3DFeatureTable {
|
|
61254
61254
|
constructor(featureTableJson, featureTableBinary) {
|
|
61255
|
-
_defineProperty$
|
|
61256
|
-
_defineProperty$
|
|
61257
|
-
_defineProperty$
|
|
61258
|
-
_defineProperty$
|
|
61255
|
+
_defineProperty$f(this, "json", void 0);
|
|
61256
|
+
_defineProperty$f(this, "buffer", void 0);
|
|
61257
|
+
_defineProperty$f(this, "featuresLength", 0);
|
|
61258
|
+
_defineProperty$f(this, "_cachedTypedArrays", {});
|
|
61259
61259
|
this.json = featureTableJson;
|
|
61260
61260
|
this.buffer = featureTableBinary;
|
|
61261
61261
|
}
|
|
@@ -61589,13 +61589,13 @@ const IGNORED_PROPERTY_FIELDS = {
|
|
|
61589
61589
|
class Tile3DBatchTableParser {
|
|
61590
61590
|
constructor(json, binary, featureCount, options = {}) {
|
|
61591
61591
|
var _this$json;
|
|
61592
|
-
_defineProperty$
|
|
61593
|
-
_defineProperty$
|
|
61594
|
-
_defineProperty$
|
|
61595
|
-
_defineProperty$
|
|
61596
|
-
_defineProperty$
|
|
61597
|
-
_defineProperty$
|
|
61598
|
-
_defineProperty$
|
|
61592
|
+
_defineProperty$f(this, "json", void 0);
|
|
61593
|
+
_defineProperty$f(this, "binary", void 0);
|
|
61594
|
+
_defineProperty$f(this, "featureCount", void 0);
|
|
61595
|
+
_defineProperty$f(this, "_extensions", void 0);
|
|
61596
|
+
_defineProperty$f(this, "_properties", void 0);
|
|
61597
|
+
_defineProperty$f(this, "_binaryProperties", void 0);
|
|
61598
|
+
_defineProperty$f(this, "_hierarchy", void 0);
|
|
61599
61599
|
assert$c(featureCount >= 0);
|
|
61600
61600
|
this.json = json || {};
|
|
61601
61601
|
this.binary = binary;
|
|
@@ -62940,7 +62940,7 @@ const defaultProps$j = {
|
|
|
62940
62940
|
class Tile3DLayer extends CompositeLayer {
|
|
62941
62941
|
constructor(...args) {
|
|
62942
62942
|
super(...args);
|
|
62943
|
-
_defineProperty$
|
|
62943
|
+
_defineProperty$f(this, "state", void 0);
|
|
62944
62944
|
}
|
|
62945
62945
|
initializeState() {
|
|
62946
62946
|
if ("onTileLoadFail" in this.props) {
|
|
@@ -63261,8 +63261,8 @@ class Tile3DLayer extends CompositeLayer {
|
|
|
63261
63261
|
}).filter(Boolean);
|
|
63262
63262
|
}
|
|
63263
63263
|
}
|
|
63264
|
-
_defineProperty$
|
|
63265
|
-
_defineProperty$
|
|
63264
|
+
_defineProperty$f(Tile3DLayer, "defaultProps", defaultProps$j);
|
|
63265
|
+
_defineProperty$f(Tile3DLayer, "layerName", "Tile3DLayer");
|
|
63266
63266
|
function getMeshGeometry(contentAttributes) {
|
|
63267
63267
|
const attributes = {};
|
|
63268
63268
|
attributes.positions = {
|
|
@@ -64092,7 +64092,7 @@ function urlTemplateToUpdateTrigger(template) {
|
|
|
64092
64092
|
class TerrainLayer extends CompositeLayer {
|
|
64093
64093
|
constructor(...args) {
|
|
64094
64094
|
super(...args);
|
|
64095
|
-
_defineProperty$
|
|
64095
|
+
_defineProperty$f(this, "state", void 0);
|
|
64096
64096
|
}
|
|
64097
64097
|
updateState({
|
|
64098
64098
|
props: props2,
|
|
@@ -64307,8 +64307,8 @@ class TerrainLayer extends CompositeLayer {
|
|
|
64307
64307
|
});
|
|
64308
64308
|
}
|
|
64309
64309
|
}
|
|
64310
|
-
_defineProperty$
|
|
64311
|
-
_defineProperty$
|
|
64310
|
+
_defineProperty$f(TerrainLayer, "defaultProps", defaultProps$i);
|
|
64311
|
+
_defineProperty$f(TerrainLayer, "layerName", "TerrainLayer");
|
|
64312
64312
|
function flatGeojsonToBinary(features, geometryInfo, options) {
|
|
64313
64313
|
const propArrayTypes = extractNumericPropTypes(features);
|
|
64314
64314
|
const numericPropKeys = Object.keys(propArrayTypes).filter((k) => propArrayTypes[k] !== Array);
|
|
@@ -65598,14 +65598,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
|
|
|
65598
65598
|
return ["Unknown", "Point", "LineString", "Polygon"];
|
|
65599
65599
|
}
|
|
65600
65600
|
constructor(pbf2, end, extent2, keys3, values2) {
|
|
65601
|
-
_defineProperty$
|
|
65602
|
-
_defineProperty$
|
|
65603
|
-
_defineProperty$
|
|
65604
|
-
_defineProperty$
|
|
65605
|
-
_defineProperty$
|
|
65606
|
-
_defineProperty$
|
|
65607
|
-
_defineProperty$
|
|
65608
|
-
_defineProperty$
|
|
65601
|
+
_defineProperty$f(this, "properties", void 0);
|
|
65602
|
+
_defineProperty$f(this, "extent", void 0);
|
|
65603
|
+
_defineProperty$f(this, "type", void 0);
|
|
65604
|
+
_defineProperty$f(this, "id", void 0);
|
|
65605
|
+
_defineProperty$f(this, "_pbf", void 0);
|
|
65606
|
+
_defineProperty$f(this, "_geometry", void 0);
|
|
65607
|
+
_defineProperty$f(this, "_keys", void 0);
|
|
65608
|
+
_defineProperty$f(this, "_values", void 0);
|
|
65609
65609
|
this.properties = {};
|
|
65610
65610
|
this.extent = extent2;
|
|
65611
65611
|
this.type = 0;
|
|
@@ -65762,14 +65762,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
|
|
|
65762
65762
|
};
|
|
65763
65763
|
let VectorTileLayer$1 = class VectorTileLayer {
|
|
65764
65764
|
constructor(pbf2, end) {
|
|
65765
|
-
_defineProperty$
|
|
65766
|
-
_defineProperty$
|
|
65767
|
-
_defineProperty$
|
|
65768
|
-
_defineProperty$
|
|
65769
|
-
_defineProperty$
|
|
65770
|
-
_defineProperty$
|
|
65771
|
-
_defineProperty$
|
|
65772
|
-
_defineProperty$
|
|
65765
|
+
_defineProperty$f(this, "version", void 0);
|
|
65766
|
+
_defineProperty$f(this, "name", void 0);
|
|
65767
|
+
_defineProperty$f(this, "extent", void 0);
|
|
65768
|
+
_defineProperty$f(this, "length", void 0);
|
|
65769
|
+
_defineProperty$f(this, "_pbf", void 0);
|
|
65770
|
+
_defineProperty$f(this, "_keys", void 0);
|
|
65771
|
+
_defineProperty$f(this, "_values", void 0);
|
|
65772
|
+
_defineProperty$f(this, "_features", void 0);
|
|
65773
65773
|
this.version = 1;
|
|
65774
65774
|
this.name = "";
|
|
65775
65775
|
this.extent = 4096;
|
|
@@ -65817,7 +65817,7 @@ function readValueMessage$1(pbf2) {
|
|
|
65817
65817
|
}
|
|
65818
65818
|
let VectorTile$1 = class VectorTile {
|
|
65819
65819
|
constructor(pbf2, end) {
|
|
65820
|
-
_defineProperty$
|
|
65820
|
+
_defineProperty$f(this, "layers", void 0);
|
|
65821
65821
|
this.layers = pbf2.readFields(readTile$1, {}, end);
|
|
65822
65822
|
}
|
|
65823
65823
|
};
|
|
@@ -65921,15 +65921,15 @@ let y;
|
|
|
65921
65921
|
let i$2;
|
|
65922
65922
|
class VectorTileFeature2 {
|
|
65923
65923
|
constructor(pbf2, end, extent2, keys3, values2, geometryInfo) {
|
|
65924
|
-
_defineProperty$
|
|
65925
|
-
_defineProperty$
|
|
65926
|
-
_defineProperty$
|
|
65927
|
-
_defineProperty$
|
|
65928
|
-
_defineProperty$
|
|
65929
|
-
_defineProperty$
|
|
65930
|
-
_defineProperty$
|
|
65931
|
-
_defineProperty$
|
|
65932
|
-
_defineProperty$
|
|
65924
|
+
_defineProperty$f(this, "properties", void 0);
|
|
65925
|
+
_defineProperty$f(this, "extent", void 0);
|
|
65926
|
+
_defineProperty$f(this, "type", void 0);
|
|
65927
|
+
_defineProperty$f(this, "id", void 0);
|
|
65928
|
+
_defineProperty$f(this, "_pbf", void 0);
|
|
65929
|
+
_defineProperty$f(this, "_geometry", void 0);
|
|
65930
|
+
_defineProperty$f(this, "_keys", void 0);
|
|
65931
|
+
_defineProperty$f(this, "_values", void 0);
|
|
65932
|
+
_defineProperty$f(this, "_geometryInfo", void 0);
|
|
65933
65933
|
this.properties = {};
|
|
65934
65934
|
this.extent = extent2;
|
|
65935
65935
|
this.type = 0;
|
|
@@ -66044,14 +66044,14 @@ class VectorTileFeature2 {
|
|
|
66044
66044
|
}
|
|
66045
66045
|
class VectorTileLayer2 {
|
|
66046
66046
|
constructor(pbf2, end) {
|
|
66047
|
-
_defineProperty$
|
|
66048
|
-
_defineProperty$
|
|
66049
|
-
_defineProperty$
|
|
66050
|
-
_defineProperty$
|
|
66051
|
-
_defineProperty$
|
|
66052
|
-
_defineProperty$
|
|
66053
|
-
_defineProperty$
|
|
66054
|
-
_defineProperty$
|
|
66047
|
+
_defineProperty$f(this, "version", void 0);
|
|
66048
|
+
_defineProperty$f(this, "name", void 0);
|
|
66049
|
+
_defineProperty$f(this, "extent", void 0);
|
|
66050
|
+
_defineProperty$f(this, "length", void 0);
|
|
66051
|
+
_defineProperty$f(this, "_pbf", void 0);
|
|
66052
|
+
_defineProperty$f(this, "_keys", void 0);
|
|
66053
|
+
_defineProperty$f(this, "_values", void 0);
|
|
66054
|
+
_defineProperty$f(this, "_features", void 0);
|
|
66055
66055
|
this.version = 1;
|
|
66056
66056
|
this.name = "";
|
|
66057
66057
|
this.extent = 4096;
|
|
@@ -66099,7 +66099,7 @@ function readValueMessage(pbf2) {
|
|
|
66099
66099
|
}
|
|
66100
66100
|
class VectorTile2 {
|
|
66101
66101
|
constructor(pbf2, end) {
|
|
66102
|
-
_defineProperty$
|
|
66102
|
+
_defineProperty$f(this, "layers", void 0);
|
|
66103
66103
|
this.layers = pbf2.readFields(readTile, {}, end);
|
|
66104
66104
|
}
|
|
66105
66105
|
}
|
|
@@ -66710,8 +66710,8 @@ class MVTLayer extends TileLayer {
|
|
|
66710
66710
|
});
|
|
66711
66711
|
}
|
|
66712
66712
|
}
|
|
66713
|
-
_defineProperty$
|
|
66714
|
-
_defineProperty$
|
|
66713
|
+
_defineProperty$f(MVTLayer, "layerName", "MVTLayer");
|
|
66714
|
+
_defineProperty$f(MVTLayer, "defaultProps", defaultProps$h);
|
|
66715
66715
|
function getFeatureUniqueId(feature2, uniqueIdProperty) {
|
|
66716
66716
|
if (feature2.properties && uniqueIdProperty) {
|
|
66717
66717
|
return feature2.properties[uniqueIdProperty];
|
|
@@ -66809,8 +66809,8 @@ class GeohashLayer extends GeoCellLayer {
|
|
|
66809
66809
|
};
|
|
66810
66810
|
}
|
|
66811
66811
|
}
|
|
66812
|
-
_defineProperty$
|
|
66813
|
-
_defineProperty$
|
|
66812
|
+
_defineProperty$f(GeohashLayer, "layerName", "GeohashLayer");
|
|
66813
|
+
_defineProperty$f(GeohashLayer, "defaultProps", defaultProps$g);
|
|
66814
66814
|
const esm$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
66815
66815
|
__proto__: null,
|
|
66816
66816
|
GeohashLayer,
|
|
@@ -70659,13 +70659,13 @@ var shams$1 = function hasSymbols() {
|
|
|
70659
70659
|
}
|
|
70660
70660
|
return true;
|
|
70661
70661
|
};
|
|
70662
|
-
var hasSymbols$
|
|
70662
|
+
var hasSymbols$3 = shams$1;
|
|
70663
70663
|
var shams = function hasToStringTagShams() {
|
|
70664
|
-
return hasSymbols$
|
|
70664
|
+
return hasSymbols$3() && !!Symbol.toStringTag;
|
|
70665
70665
|
};
|
|
70666
70666
|
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
70667
70667
|
var hasSymbolSham = shams$1;
|
|
70668
|
-
var hasSymbols$
|
|
70668
|
+
var hasSymbols$2 = function hasNativeSymbols() {
|
|
70669
70669
|
if (typeof origSymbol !== "function") {
|
|
70670
70670
|
return false;
|
|
70671
70671
|
}
|
|
@@ -70680,6 +70680,13 @@ var hasSymbols$3 = function hasNativeSymbols() {
|
|
|
70680
70680
|
}
|
|
70681
70681
|
return hasSymbolSham();
|
|
70682
70682
|
};
|
|
70683
|
+
var test = {
|
|
70684
|
+
foo: {}
|
|
70685
|
+
};
|
|
70686
|
+
var $Object = Object;
|
|
70687
|
+
var hasProto$1 = function hasProto() {
|
|
70688
|
+
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
70689
|
+
};
|
|
70683
70690
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
70684
70691
|
var slice = Array.prototype.slice;
|
|
70685
70692
|
var toStr$2 = Object.prototype.toString;
|
|
@@ -70725,374 +70732,8 @@ var implementation$7 = function bind2(that) {
|
|
|
70725
70732
|
};
|
|
70726
70733
|
var implementation$6 = implementation$7;
|
|
70727
70734
|
var functionBind = Function.prototype.bind || implementation$6;
|
|
70728
|
-
var bind$2 = functionBind;
|
|
70729
|
-
var src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
|
|
70730
|
-
var undefined$2;
|
|
70731
|
-
var $SyntaxError$1 = SyntaxError;
|
|
70732
|
-
var $Function$1 = Function;
|
|
70733
|
-
var $TypeError$1 = TypeError;
|
|
70734
|
-
var getEvalledConstructor$1 = function(expressionSyntax) {
|
|
70735
|
-
try {
|
|
70736
|
-
return $Function$1('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
70737
|
-
} catch (e2) {
|
|
70738
|
-
}
|
|
70739
|
-
};
|
|
70740
|
-
var $gOPD$2 = Object.getOwnPropertyDescriptor;
|
|
70741
|
-
if ($gOPD$2) {
|
|
70742
|
-
try {
|
|
70743
|
-
$gOPD$2({}, "");
|
|
70744
|
-
} catch (e2) {
|
|
70745
|
-
$gOPD$2 = null;
|
|
70746
|
-
}
|
|
70747
|
-
}
|
|
70748
|
-
var throwTypeError$1 = function() {
|
|
70749
|
-
throw new $TypeError$1();
|
|
70750
|
-
};
|
|
70751
|
-
var ThrowTypeError$1 = $gOPD$2 ? function() {
|
|
70752
|
-
try {
|
|
70753
|
-
arguments.callee;
|
|
70754
|
-
return throwTypeError$1;
|
|
70755
|
-
} catch (calleeThrows) {
|
|
70756
|
-
try {
|
|
70757
|
-
return $gOPD$2(arguments, "callee").get;
|
|
70758
|
-
} catch (gOPDthrows) {
|
|
70759
|
-
return throwTypeError$1;
|
|
70760
|
-
}
|
|
70761
|
-
}
|
|
70762
|
-
}() : throwTypeError$1;
|
|
70763
|
-
var hasSymbols$2 = hasSymbols$3();
|
|
70764
|
-
var getProto$2 = Object.getPrototypeOf || function(x2) {
|
|
70765
|
-
return x2.__proto__;
|
|
70766
|
-
};
|
|
70767
|
-
var needsEval$1 = {};
|
|
70768
|
-
var TypedArray$1 = typeof Uint8Array === "undefined" ? undefined$2 : getProto$2(Uint8Array);
|
|
70769
|
-
var INTRINSICS$1 = {
|
|
70770
|
-
"%AggregateError%": typeof AggregateError === "undefined" ? undefined$2 : AggregateError,
|
|
70771
|
-
"%Array%": Array,
|
|
70772
|
-
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$2 : ArrayBuffer,
|
|
70773
|
-
"%ArrayIteratorPrototype%": hasSymbols$2 ? getProto$2([][Symbol.iterator]()) : undefined$2,
|
|
70774
|
-
"%AsyncFromSyncIteratorPrototype%": undefined$2,
|
|
70775
|
-
"%AsyncFunction%": needsEval$1,
|
|
70776
|
-
"%AsyncGenerator%": needsEval$1,
|
|
70777
|
-
"%AsyncGeneratorFunction%": needsEval$1,
|
|
70778
|
-
"%AsyncIteratorPrototype%": needsEval$1,
|
|
70779
|
-
"%Atomics%": typeof Atomics === "undefined" ? undefined$2 : Atomics,
|
|
70780
|
-
"%BigInt%": typeof BigInt === "undefined" ? undefined$2 : BigInt,
|
|
70781
|
-
"%Boolean%": Boolean,
|
|
70782
|
-
"%DataView%": typeof DataView === "undefined" ? undefined$2 : DataView,
|
|
70783
|
-
"%Date%": Date,
|
|
70784
|
-
"%decodeURI%": decodeURI,
|
|
70785
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
70786
|
-
"%encodeURI%": encodeURI,
|
|
70787
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
70788
|
-
"%Error%": Error,
|
|
70789
|
-
"%eval%": eval,
|
|
70790
|
-
// eslint-disable-line no-eval
|
|
70791
|
-
"%EvalError%": EvalError,
|
|
70792
|
-
"%Float32Array%": typeof Float32Array === "undefined" ? undefined$2 : Float32Array,
|
|
70793
|
-
"%Float64Array%": typeof Float64Array === "undefined" ? undefined$2 : Float64Array,
|
|
70794
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$2 : FinalizationRegistry,
|
|
70795
|
-
"%Function%": $Function$1,
|
|
70796
|
-
"%GeneratorFunction%": needsEval$1,
|
|
70797
|
-
"%Int8Array%": typeof Int8Array === "undefined" ? undefined$2 : Int8Array,
|
|
70798
|
-
"%Int16Array%": typeof Int16Array === "undefined" ? undefined$2 : Int16Array,
|
|
70799
|
-
"%Int32Array%": typeof Int32Array === "undefined" ? undefined$2 : Int32Array,
|
|
70800
|
-
"%isFinite%": isFinite,
|
|
70801
|
-
"%isNaN%": isNaN,
|
|
70802
|
-
"%IteratorPrototype%": hasSymbols$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$2,
|
|
70803
|
-
"%JSON%": typeof JSON === "object" ? JSON : undefined$2,
|
|
70804
|
-
"%Map%": typeof Map === "undefined" ? undefined$2 : Map,
|
|
70805
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
70806
|
-
"%Math%": Math,
|
|
70807
|
-
"%Number%": Number,
|
|
70808
|
-
"%Object%": Object,
|
|
70809
|
-
"%parseFloat%": parseFloat,
|
|
70810
|
-
"%parseInt%": parseInt,
|
|
70811
|
-
"%Promise%": typeof Promise === "undefined" ? undefined$2 : Promise,
|
|
70812
|
-
"%Proxy%": typeof Proxy === "undefined" ? undefined$2 : Proxy,
|
|
70813
|
-
"%RangeError%": RangeError,
|
|
70814
|
-
"%ReferenceError%": ReferenceError,
|
|
70815
|
-
"%Reflect%": typeof Reflect === "undefined" ? undefined$2 : Reflect,
|
|
70816
|
-
"%RegExp%": RegExp,
|
|
70817
|
-
"%Set%": typeof Set === "undefined" ? undefined$2 : Set,
|
|
70818
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
70819
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$2 : SharedArrayBuffer,
|
|
70820
|
-
"%String%": String,
|
|
70821
|
-
"%StringIteratorPrototype%": hasSymbols$2 ? getProto$2(""[Symbol.iterator]()) : undefined$2,
|
|
70822
|
-
"%Symbol%": hasSymbols$2 ? Symbol : undefined$2,
|
|
70823
|
-
"%SyntaxError%": $SyntaxError$1,
|
|
70824
|
-
"%ThrowTypeError%": ThrowTypeError$1,
|
|
70825
|
-
"%TypedArray%": TypedArray$1,
|
|
70826
|
-
"%TypeError%": $TypeError$1,
|
|
70827
|
-
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$2 : Uint8Array,
|
|
70828
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$2 : Uint8ClampedArray,
|
|
70829
|
-
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$2 : Uint16Array,
|
|
70830
|
-
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$2 : Uint32Array,
|
|
70831
|
-
"%URIError%": URIError,
|
|
70832
|
-
"%WeakMap%": typeof WeakMap === "undefined" ? undefined$2 : WeakMap,
|
|
70833
|
-
"%WeakRef%": typeof WeakRef === "undefined" ? undefined$2 : WeakRef,
|
|
70834
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined$2 : WeakSet
|
|
70835
|
-
};
|
|
70836
|
-
var doEval$1 = function doEval(name2) {
|
|
70837
|
-
var value;
|
|
70838
|
-
if (name2 === "%AsyncFunction%") {
|
|
70839
|
-
value = getEvalledConstructor$1("async function () {}");
|
|
70840
|
-
} else if (name2 === "%GeneratorFunction%") {
|
|
70841
|
-
value = getEvalledConstructor$1("function* () {}");
|
|
70842
|
-
} else if (name2 === "%AsyncGeneratorFunction%") {
|
|
70843
|
-
value = getEvalledConstructor$1("async function* () {}");
|
|
70844
|
-
} else if (name2 === "%AsyncGenerator%") {
|
|
70845
|
-
var fn = doEval("%AsyncGeneratorFunction%");
|
|
70846
|
-
if (fn) {
|
|
70847
|
-
value = fn.prototype;
|
|
70848
|
-
}
|
|
70849
|
-
} else if (name2 === "%AsyncIteratorPrototype%") {
|
|
70850
|
-
var gen = doEval("%AsyncGenerator%");
|
|
70851
|
-
if (gen) {
|
|
70852
|
-
value = getProto$2(gen.prototype);
|
|
70853
|
-
}
|
|
70854
|
-
}
|
|
70855
|
-
INTRINSICS$1[name2] = value;
|
|
70856
|
-
return value;
|
|
70857
|
-
};
|
|
70858
|
-
var LEGACY_ALIASES$1 = {
|
|
70859
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
70860
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
70861
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
70862
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
70863
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
70864
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
70865
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
70866
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
70867
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
70868
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
70869
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
70870
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
70871
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
70872
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
70873
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
70874
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
70875
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
70876
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
70877
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
70878
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
70879
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
70880
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
70881
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
70882
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
70883
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
70884
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
70885
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
70886
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
70887
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
70888
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
70889
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
70890
|
-
"%Promise_all%": ["Promise", "all"],
|
|
70891
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
70892
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
70893
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
70894
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
70895
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
70896
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
70897
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
70898
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
70899
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
70900
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
70901
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
70902
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
70903
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
70904
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
70905
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
70906
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
70907
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
70908
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
70909
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
70910
|
-
};
|
|
70911
70735
|
var bind$1 = functionBind;
|
|
70912
|
-
var
|
|
70913
|
-
var $concat$1 = bind$1.call(Function.call, Array.prototype.concat);
|
|
70914
|
-
var $spliceApply$1 = bind$1.call(Function.apply, Array.prototype.splice);
|
|
70915
|
-
var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
|
|
70916
|
-
var $strSlice$1 = bind$1.call(Function.call, String.prototype.slice);
|
|
70917
|
-
var $exec$2 = bind$1.call(Function.call, RegExp.prototype.exec);
|
|
70918
|
-
var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
70919
|
-
var reEscapeChar$1 = /\\(\\)?/g;
|
|
70920
|
-
var stringToPath$1 = function stringToPath(string) {
|
|
70921
|
-
var first = $strSlice$1(string, 0, 1);
|
|
70922
|
-
var last = $strSlice$1(string, -1);
|
|
70923
|
-
if (first === "%" && last !== "%") {
|
|
70924
|
-
throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
|
|
70925
|
-
} else if (last === "%" && first !== "%") {
|
|
70926
|
-
throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
|
|
70927
|
-
}
|
|
70928
|
-
var result = [];
|
|
70929
|
-
$replace$1(string, rePropName$1, function(match, number, quote, subString) {
|
|
70930
|
-
result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, "$1") : number || match;
|
|
70931
|
-
});
|
|
70932
|
-
return result;
|
|
70933
|
-
};
|
|
70934
|
-
var getBaseIntrinsic$1 = function getBaseIntrinsic(name2, allowMissing) {
|
|
70935
|
-
var intrinsicName = name2;
|
|
70936
|
-
var alias;
|
|
70937
|
-
if (hasOwn$1(LEGACY_ALIASES$1, intrinsicName)) {
|
|
70938
|
-
alias = LEGACY_ALIASES$1[intrinsicName];
|
|
70939
|
-
intrinsicName = "%" + alias[0] + "%";
|
|
70940
|
-
}
|
|
70941
|
-
if (hasOwn$1(INTRINSICS$1, intrinsicName)) {
|
|
70942
|
-
var value = INTRINSICS$1[intrinsicName];
|
|
70943
|
-
if (value === needsEval$1) {
|
|
70944
|
-
value = doEval$1(intrinsicName);
|
|
70945
|
-
}
|
|
70946
|
-
if (typeof value === "undefined" && !allowMissing) {
|
|
70947
|
-
throw new $TypeError$1("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
|
|
70948
|
-
}
|
|
70949
|
-
return {
|
|
70950
|
-
alias,
|
|
70951
|
-
name: intrinsicName,
|
|
70952
|
-
value
|
|
70953
|
-
};
|
|
70954
|
-
}
|
|
70955
|
-
throw new $SyntaxError$1("intrinsic " + name2 + " does not exist!");
|
|
70956
|
-
};
|
|
70957
|
-
var getIntrinsic$1 = function GetIntrinsic(name2, allowMissing) {
|
|
70958
|
-
if (typeof name2 !== "string" || name2.length === 0) {
|
|
70959
|
-
throw new $TypeError$1("intrinsic name must be a non-empty string");
|
|
70960
|
-
}
|
|
70961
|
-
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
70962
|
-
throw new $TypeError$1('"allowMissing" argument must be a boolean');
|
|
70963
|
-
}
|
|
70964
|
-
if ($exec$2(/^%?[^%]*%?$/, name2) === null) {
|
|
70965
|
-
throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
70966
|
-
}
|
|
70967
|
-
var parts = stringToPath$1(name2);
|
|
70968
|
-
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
70969
|
-
var intrinsic = getBaseIntrinsic$1("%" + intrinsicBaseName + "%", allowMissing);
|
|
70970
|
-
var intrinsicRealName = intrinsic.name;
|
|
70971
|
-
var value = intrinsic.value;
|
|
70972
|
-
var skipFurtherCaching = false;
|
|
70973
|
-
var alias = intrinsic.alias;
|
|
70974
|
-
if (alias) {
|
|
70975
|
-
intrinsicBaseName = alias[0];
|
|
70976
|
-
$spliceApply$1(parts, $concat$1([0, 1], alias));
|
|
70977
|
-
}
|
|
70978
|
-
for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
|
|
70979
|
-
var part = parts[i2];
|
|
70980
|
-
var first = $strSlice$1(part, 0, 1);
|
|
70981
|
-
var last = $strSlice$1(part, -1);
|
|
70982
|
-
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
70983
|
-
throw new $SyntaxError$1("property names with quotes must have matching quotes");
|
|
70984
|
-
}
|
|
70985
|
-
if (part === "constructor" || !isOwn) {
|
|
70986
|
-
skipFurtherCaching = true;
|
|
70987
|
-
}
|
|
70988
|
-
intrinsicBaseName += "." + part;
|
|
70989
|
-
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
70990
|
-
if (hasOwn$1(INTRINSICS$1, intrinsicRealName)) {
|
|
70991
|
-
value = INTRINSICS$1[intrinsicRealName];
|
|
70992
|
-
} else if (value != null) {
|
|
70993
|
-
if (!(part in value)) {
|
|
70994
|
-
if (!allowMissing) {
|
|
70995
|
-
throw new $TypeError$1("base intrinsic for " + name2 + " exists, but the property is not available.");
|
|
70996
|
-
}
|
|
70997
|
-
return void 0;
|
|
70998
|
-
}
|
|
70999
|
-
if ($gOPD$2 && i2 + 1 >= parts.length) {
|
|
71000
|
-
var desc = $gOPD$2(value, part);
|
|
71001
|
-
isOwn = !!desc;
|
|
71002
|
-
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
71003
|
-
value = desc.get;
|
|
71004
|
-
} else {
|
|
71005
|
-
value = value[part];
|
|
71006
|
-
}
|
|
71007
|
-
} else {
|
|
71008
|
-
isOwn = hasOwn$1(value, part);
|
|
71009
|
-
value = value[part];
|
|
71010
|
-
}
|
|
71011
|
-
if (isOwn && !skipFurtherCaching) {
|
|
71012
|
-
INTRINSICS$1[intrinsicRealName] = value;
|
|
71013
|
-
}
|
|
71014
|
-
}
|
|
71015
|
-
}
|
|
71016
|
-
return value;
|
|
71017
|
-
};
|
|
71018
|
-
var callBind$3 = { exports: {} };
|
|
71019
|
-
(function(module2) {
|
|
71020
|
-
var bind4 = functionBind;
|
|
71021
|
-
var GetIntrinsic4 = getIntrinsic$1;
|
|
71022
|
-
var $apply = GetIntrinsic4("%Function.prototype.apply%");
|
|
71023
|
-
var $call = GetIntrinsic4("%Function.prototype.call%");
|
|
71024
|
-
var $reflectApply = GetIntrinsic4("%Reflect.apply%", true) || bind4.call($call, $apply);
|
|
71025
|
-
var $gOPD2 = GetIntrinsic4("%Object.getOwnPropertyDescriptor%", true);
|
|
71026
|
-
var $defineProperty2 = GetIntrinsic4("%Object.defineProperty%", true);
|
|
71027
|
-
var $max = GetIntrinsic4("%Math.max%");
|
|
71028
|
-
if ($defineProperty2) {
|
|
71029
|
-
try {
|
|
71030
|
-
$defineProperty2({}, "a", { value: 1 });
|
|
71031
|
-
} catch (e2) {
|
|
71032
|
-
$defineProperty2 = null;
|
|
71033
|
-
}
|
|
71034
|
-
}
|
|
71035
|
-
module2.exports = function callBind2(originalFunction) {
|
|
71036
|
-
var func = $reflectApply(bind4, $call, arguments);
|
|
71037
|
-
if ($gOPD2 && $defineProperty2) {
|
|
71038
|
-
var desc = $gOPD2(func, "length");
|
|
71039
|
-
if (desc.configurable) {
|
|
71040
|
-
$defineProperty2(
|
|
71041
|
-
func,
|
|
71042
|
-
"length",
|
|
71043
|
-
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
71044
|
-
);
|
|
71045
|
-
}
|
|
71046
|
-
}
|
|
71047
|
-
return func;
|
|
71048
|
-
};
|
|
71049
|
-
var applyBind = function applyBind2() {
|
|
71050
|
-
return $reflectApply(bind4, $apply, arguments);
|
|
71051
|
-
};
|
|
71052
|
-
if ($defineProperty2) {
|
|
71053
|
-
$defineProperty2(module2.exports, "apply", { value: applyBind });
|
|
71054
|
-
} else {
|
|
71055
|
-
module2.exports.apply = applyBind;
|
|
71056
|
-
}
|
|
71057
|
-
})(callBind$3);
|
|
71058
|
-
var callBindExports = callBind$3.exports;
|
|
71059
|
-
var GetIntrinsic$1 = getIntrinsic$1;
|
|
71060
|
-
var callBind$2 = callBindExports;
|
|
71061
|
-
var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
|
|
71062
|
-
var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
|
|
71063
|
-
var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
|
|
71064
|
-
if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
|
|
71065
|
-
return callBind$2(intrinsic);
|
|
71066
|
-
}
|
|
71067
|
-
return intrinsic;
|
|
71068
|
-
};
|
|
71069
|
-
var hasToStringTag$2 = shams();
|
|
71070
|
-
var callBound$1 = callBound$2;
|
|
71071
|
-
var $toString$1 = callBound$1("Object.prototype.toString");
|
|
71072
|
-
var isStandardArguments = function isArguments2(value) {
|
|
71073
|
-
if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
|
|
71074
|
-
return false;
|
|
71075
|
-
}
|
|
71076
|
-
return $toString$1(value) === "[object Arguments]";
|
|
71077
|
-
};
|
|
71078
|
-
var isLegacyArguments = function isArguments3(value) {
|
|
71079
|
-
if (isStandardArguments(value)) {
|
|
71080
|
-
return true;
|
|
71081
|
-
}
|
|
71082
|
-
return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
|
|
71083
|
-
};
|
|
71084
|
-
var supportsStandardArguments = function() {
|
|
71085
|
-
return isStandardArguments(arguments);
|
|
71086
|
-
}();
|
|
71087
|
-
isStandardArguments.isLegacyArguments = isLegacyArguments;
|
|
71088
|
-
var isArguments$3 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
71089
|
-
var test = {
|
|
71090
|
-
foo: {}
|
|
71091
|
-
};
|
|
71092
|
-
var $Object = Object;
|
|
71093
|
-
var hasProto$1 = function hasProto() {
|
|
71094
|
-
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
71095
|
-
};
|
|
70736
|
+
var src = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
|
|
71096
70737
|
var undefined$1;
|
|
71097
70738
|
var $SyntaxError = SyntaxError;
|
|
71098
70739
|
var $Function = Function;
|
|
@@ -71126,7 +70767,7 @@ var ThrowTypeError = $gOPD$1 ? function() {
|
|
|
71126
70767
|
}
|
|
71127
70768
|
}
|
|
71128
70769
|
}() : throwTypeError;
|
|
71129
|
-
var hasSymbols$1 = hasSymbols$
|
|
70770
|
+
var hasSymbols$1 = hasSymbols$2();
|
|
71130
70771
|
var hasProto2 = hasProto$1();
|
|
71131
70772
|
var getProto$1 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
|
|
71132
70773
|
return x2.__proto__;
|
|
@@ -71210,7 +70851,7 @@ if (getProto$1) {
|
|
|
71210
70851
|
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
71211
70852
|
}
|
|
71212
70853
|
}
|
|
71213
|
-
var
|
|
70854
|
+
var doEval = function doEval2(name2) {
|
|
71214
70855
|
var value;
|
|
71215
70856
|
if (name2 === "%AsyncFunction%") {
|
|
71216
70857
|
value = getEvalledConstructor("async function () {}");
|
|
@@ -71219,12 +70860,12 @@ var doEval2 = function doEval3(name2) {
|
|
|
71219
70860
|
} else if (name2 === "%AsyncGeneratorFunction%") {
|
|
71220
70861
|
value = getEvalledConstructor("async function* () {}");
|
|
71221
70862
|
} else if (name2 === "%AsyncGenerator%") {
|
|
71222
|
-
var fn =
|
|
70863
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
71223
70864
|
if (fn) {
|
|
71224
70865
|
value = fn.prototype;
|
|
71225
70866
|
}
|
|
71226
70867
|
} else if (name2 === "%AsyncIteratorPrototype%") {
|
|
71227
|
-
var gen =
|
|
70868
|
+
var gen = doEval2("%AsyncGenerator%");
|
|
71228
70869
|
if (gen && getProto$1) {
|
|
71229
70870
|
value = getProto$1(gen.prototype);
|
|
71230
70871
|
}
|
|
@@ -71294,7 +70935,7 @@ var $strSlice = bind3.call(Function.call, String.prototype.slice);
|
|
|
71294
70935
|
var $exec$1 = bind3.call(Function.call, RegExp.prototype.exec);
|
|
71295
70936
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
71296
70937
|
var reEscapeChar = /\\(\\)?/g;
|
|
71297
|
-
var
|
|
70938
|
+
var stringToPath = function stringToPath2(string) {
|
|
71298
70939
|
var first = $strSlice(string, 0, 1);
|
|
71299
70940
|
var last = $strSlice(string, -1);
|
|
71300
70941
|
if (first === "%" && last !== "%") {
|
|
@@ -71308,7 +70949,7 @@ var stringToPath2 = function stringToPath3(string) {
|
|
|
71308
70949
|
});
|
|
71309
70950
|
return result;
|
|
71310
70951
|
};
|
|
71311
|
-
var
|
|
70952
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
|
|
71312
70953
|
var intrinsicName = name2;
|
|
71313
70954
|
var alias;
|
|
71314
70955
|
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
@@ -71318,7 +70959,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
|
|
|
71318
70959
|
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
71319
70960
|
var value = INTRINSICS[intrinsicName];
|
|
71320
70961
|
if (value === needsEval) {
|
|
71321
|
-
value =
|
|
70962
|
+
value = doEval(intrinsicName);
|
|
71322
70963
|
}
|
|
71323
70964
|
if (typeof value === "undefined" && !allowMissing) {
|
|
71324
70965
|
throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
|
|
@@ -71331,7 +70972,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
|
|
|
71331
70972
|
}
|
|
71332
70973
|
throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
|
|
71333
70974
|
};
|
|
71334
|
-
var getIntrinsic = function
|
|
70975
|
+
var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
|
|
71335
70976
|
if (typeof name2 !== "string" || name2.length === 0) {
|
|
71336
70977
|
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
71337
70978
|
}
|
|
@@ -71341,9 +70982,9 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
|
|
|
71341
70982
|
if ($exec$1(/^%?[^%]*%?$/, name2) === null) {
|
|
71342
70983
|
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
71343
70984
|
}
|
|
71344
|
-
var parts =
|
|
70985
|
+
var parts = stringToPath(name2);
|
|
71345
70986
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
71346
|
-
var intrinsic =
|
|
70987
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
71347
70988
|
var intrinsicRealName = intrinsic.name;
|
|
71348
70989
|
var value = intrinsic.value;
|
|
71349
70990
|
var skipFurtherCaching = false;
|
|
@@ -71392,8 +71033,79 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
|
|
|
71392
71033
|
}
|
|
71393
71034
|
return value;
|
|
71394
71035
|
};
|
|
71395
|
-
var
|
|
71396
|
-
|
|
71036
|
+
var callBind$3 = { exports: {} };
|
|
71037
|
+
(function(module2) {
|
|
71038
|
+
var bind4 = functionBind;
|
|
71039
|
+
var GetIntrinsic3 = getIntrinsic;
|
|
71040
|
+
var $apply = GetIntrinsic3("%Function.prototype.apply%");
|
|
71041
|
+
var $call = GetIntrinsic3("%Function.prototype.call%");
|
|
71042
|
+
var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
|
|
71043
|
+
var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
|
|
71044
|
+
var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true);
|
|
71045
|
+
var $max = GetIntrinsic3("%Math.max%");
|
|
71046
|
+
if ($defineProperty2) {
|
|
71047
|
+
try {
|
|
71048
|
+
$defineProperty2({}, "a", { value: 1 });
|
|
71049
|
+
} catch (e2) {
|
|
71050
|
+
$defineProperty2 = null;
|
|
71051
|
+
}
|
|
71052
|
+
}
|
|
71053
|
+
module2.exports = function callBind2(originalFunction) {
|
|
71054
|
+
var func = $reflectApply(bind4, $call, arguments);
|
|
71055
|
+
if ($gOPD2 && $defineProperty2) {
|
|
71056
|
+
var desc = $gOPD2(func, "length");
|
|
71057
|
+
if (desc.configurable) {
|
|
71058
|
+
$defineProperty2(
|
|
71059
|
+
func,
|
|
71060
|
+
"length",
|
|
71061
|
+
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
71062
|
+
);
|
|
71063
|
+
}
|
|
71064
|
+
}
|
|
71065
|
+
return func;
|
|
71066
|
+
};
|
|
71067
|
+
var applyBind = function applyBind2() {
|
|
71068
|
+
return $reflectApply(bind4, $apply, arguments);
|
|
71069
|
+
};
|
|
71070
|
+
if ($defineProperty2) {
|
|
71071
|
+
$defineProperty2(module2.exports, "apply", { value: applyBind });
|
|
71072
|
+
} else {
|
|
71073
|
+
module2.exports.apply = applyBind;
|
|
71074
|
+
}
|
|
71075
|
+
})(callBind$3);
|
|
71076
|
+
var callBindExports = callBind$3.exports;
|
|
71077
|
+
var GetIntrinsic$1 = getIntrinsic;
|
|
71078
|
+
var callBind$2 = callBindExports;
|
|
71079
|
+
var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
|
|
71080
|
+
var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
|
|
71081
|
+
var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
|
|
71082
|
+
if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
|
|
71083
|
+
return callBind$2(intrinsic);
|
|
71084
|
+
}
|
|
71085
|
+
return intrinsic;
|
|
71086
|
+
};
|
|
71087
|
+
var hasToStringTag$2 = shams();
|
|
71088
|
+
var callBound$1 = callBound$2;
|
|
71089
|
+
var $toString$1 = callBound$1("Object.prototype.toString");
|
|
71090
|
+
var isStandardArguments = function isArguments2(value) {
|
|
71091
|
+
if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
|
|
71092
|
+
return false;
|
|
71093
|
+
}
|
|
71094
|
+
return $toString$1(value) === "[object Arguments]";
|
|
71095
|
+
};
|
|
71096
|
+
var isLegacyArguments = function isArguments3(value) {
|
|
71097
|
+
if (isStandardArguments(value)) {
|
|
71098
|
+
return true;
|
|
71099
|
+
}
|
|
71100
|
+
return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
|
|
71101
|
+
};
|
|
71102
|
+
var supportsStandardArguments = function() {
|
|
71103
|
+
return isStandardArguments(arguments);
|
|
71104
|
+
}();
|
|
71105
|
+
isStandardArguments.isLegacyArguments = isLegacyArguments;
|
|
71106
|
+
var isArguments$3 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
71107
|
+
var GetIntrinsic2 = getIntrinsic;
|
|
71108
|
+
var $defineProperty = GetIntrinsic2("%Object.defineProperty%", true);
|
|
71397
71109
|
var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
|
|
71398
71110
|
if ($defineProperty) {
|
|
71399
71111
|
try {
|
|
@@ -104995,16 +104707,16 @@ function addDecoder(cases, importFn) {
|
|
|
104995
104707
|
}
|
|
104996
104708
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
104997
104709
|
}
|
|
104998
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
104999
|
-
addDecoder(5, () => import("./lzw-
|
|
104710
|
+
addDecoder([void 0, 1], () => import("./raw-d6fe67be.js").then((m2) => m2.default));
|
|
104711
|
+
addDecoder(5, () => import("./lzw-083aa612.js").then((m2) => m2.default));
|
|
105000
104712
|
addDecoder(6, () => {
|
|
105001
104713
|
throw new Error("old style JPEG compression is not supported.");
|
|
105002
104714
|
});
|
|
105003
|
-
addDecoder(7, () => import("./jpeg-
|
|
105004
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
105005
|
-
addDecoder(32773, () => import("./packbits-
|
|
105006
|
-
addDecoder(34887, () => import("./lerc-
|
|
105007
|
-
addDecoder(50001, () => import("./webimage-
|
|
104715
|
+
addDecoder(7, () => import("./jpeg-d5a25f84.js").then((m2) => m2.default));
|
|
104716
|
+
addDecoder([8, 32946], () => import("./deflate-9421b4b7.js").then((m2) => m2.default));
|
|
104717
|
+
addDecoder(32773, () => import("./packbits-014bd601.js").then((m2) => m2.default));
|
|
104718
|
+
addDecoder(34887, () => import("./lerc-16194edf.js").then((m2) => m2.default));
|
|
104719
|
+
addDecoder(50001, () => import("./webimage-f11362e1.js").then((m2) => m2.default));
|
|
105008
104720
|
function decodeRowAcc(row, stride) {
|
|
105009
104721
|
let length2 = row.length - stride;
|
|
105010
104722
|
let offset5 = 0;
|
|
@@ -123893,6 +123605,10 @@ const FileType$1 = {
|
|
|
123893
123605
|
ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
|
|
123894
123606
|
};
|
|
123895
123607
|
const CoordinationType$1 = {
|
|
123608
|
+
// Meta coordination scopes
|
|
123609
|
+
META_COORDINATION_SCOPES: "metaCoordinationScopes",
|
|
123610
|
+
META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
|
|
123611
|
+
// Other coordination scopes
|
|
123896
123612
|
DATASET: "dataset",
|
|
123897
123613
|
// Entity types
|
|
123898
123614
|
OBS_TYPE: "obsType",
|
|
@@ -129545,7 +129261,7 @@ var json2csv_umd = { exports: {} };
|
|
|
129545
129261
|
return result == "0" && 1 / value == -INFINITY2 ? "-0" : result;
|
|
129546
129262
|
}
|
|
129547
129263
|
function castPath(value) {
|
|
129548
|
-
return isArray$22(value) ? value :
|
|
129264
|
+
return isArray$22(value) ? value : stringToPath3(value);
|
|
129549
129265
|
}
|
|
129550
129266
|
function getMapData2(map2, key) {
|
|
129551
129267
|
var data = map2.__data__;
|
|
@@ -129572,7 +129288,7 @@ var json2csv_umd = { exports: {} };
|
|
|
129572
129288
|
function isMasked2(func) {
|
|
129573
129289
|
return !!maskSrcKey2 && maskSrcKey2 in func;
|
|
129574
129290
|
}
|
|
129575
|
-
var
|
|
129291
|
+
var stringToPath3 = memoize3(function(string) {
|
|
129576
129292
|
string = toString$12(string);
|
|
129577
129293
|
var result = [];
|
|
129578
129294
|
if (reLeadingDot.test(string)) {
|
|
@@ -130988,16 +130704,8 @@ function _extends$2() {
|
|
|
130988
130704
|
};
|
|
130989
130705
|
return _extends$2.apply(this, arguments);
|
|
130990
130706
|
}
|
|
130991
|
-
function _typeof$1(obj) {
|
|
130992
|
-
"@babel/helpers - typeof";
|
|
130993
|
-
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
130994
|
-
return typeof obj2;
|
|
130995
|
-
} : function(obj2) {
|
|
130996
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
130997
|
-
}, _typeof$1(obj);
|
|
130998
|
-
}
|
|
130999
130707
|
function isPlainObject(item) {
|
|
131000
|
-
return item && _typeof$
|
|
130708
|
+
return item && _typeof$x(item) === "object" && item.constructor === Object;
|
|
131001
130709
|
}
|
|
131002
130710
|
function deepmerge(target, source) {
|
|
131003
130711
|
var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
@@ -131772,7 +131480,7 @@ function elementTypeAcceptingRef(props2, propName, componentName, location, prop
|
|
|
131772
131480
|
const elementTypeAcceptingRef$1 = chainPropTypes(propTypesExports.elementType, elementTypeAcceptingRef);
|
|
131773
131481
|
var specialProperty = "exact-prop: ";
|
|
131774
131482
|
function exactProp(propTypes2) {
|
|
131775
|
-
return _extends$2({}, propTypes2, _defineProperty$
|
|
131483
|
+
return _extends$2({}, propTypes2, _defineProperty$f({}, specialProperty, function(props2) {
|
|
131776
131484
|
var unsupportedProps = Object.keys(props2).filter(function(prop) {
|
|
131777
131485
|
return !propTypes2.hasOwnProperty(prop);
|
|
131778
131486
|
});
|
|
@@ -132003,7 +131711,7 @@ function getDisplayName(Component2) {
|
|
|
132003
131711
|
if (typeof Component2 === "function") {
|
|
132004
131712
|
return getFunctionComponentName(Component2, "Component");
|
|
132005
131713
|
}
|
|
132006
|
-
if (_typeof$
|
|
131714
|
+
if (_typeof$x(Component2) === "object") {
|
|
132007
131715
|
switch (Component2.$$typeof) {
|
|
132008
131716
|
case reactIsExports.ForwardRef:
|
|
132009
131717
|
return getWrappedName(Component2, Component2.render, "ForwardRef");
|
|
@@ -132186,6 +131894,20 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
132186
131894
|
}
|
|
132187
131895
|
return target;
|
|
132188
131896
|
}
|
|
131897
|
+
function _extends$1() {
|
|
131898
|
+
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
131899
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
131900
|
+
var source = arguments[i2];
|
|
131901
|
+
for (var key in source) {
|
|
131902
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
131903
|
+
target[key] = source[key];
|
|
131904
|
+
}
|
|
131905
|
+
}
|
|
131906
|
+
}
|
|
131907
|
+
return target;
|
|
131908
|
+
};
|
|
131909
|
+
return _extends$1.apply(this, arguments);
|
|
131910
|
+
}
|
|
132189
131911
|
var keys2 = ["xs", "sm", "md", "lg", "xl"];
|
|
132190
131912
|
function createBreakpoints(breakpoints) {
|
|
132191
131913
|
var _breakpoints$values = breakpoints.values, values2 = _breakpoints$values === void 0 ? {
|
|
@@ -132228,7 +131950,7 @@ function createBreakpoints(breakpoints) {
|
|
|
132228
131950
|
}
|
|
132229
131951
|
return values2[key];
|
|
132230
131952
|
}
|
|
132231
|
-
return _extends$
|
|
131953
|
+
return _extends$1({
|
|
132232
131954
|
keys: keys2,
|
|
132233
131955
|
values: values2,
|
|
132234
131956
|
up,
|
|
@@ -132240,14 +131962,14 @@ function createBreakpoints(breakpoints) {
|
|
|
132240
131962
|
}
|
|
132241
131963
|
function createMixins(breakpoints, spacing, mixins) {
|
|
132242
131964
|
var _toolbar;
|
|
132243
|
-
return _extends$
|
|
131965
|
+
return _extends$1({
|
|
132244
131966
|
gutters: function gutters() {
|
|
132245
131967
|
var styles11 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
132246
131968
|
console.warn(["Material-UI: theme.mixins.gutters() is deprecated.", "You can use the source of the mixin directly:", "\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n"));
|
|
132247
|
-
return _extends$
|
|
131969
|
+
return _extends$1({
|
|
132248
131970
|
paddingLeft: spacing(2),
|
|
132249
131971
|
paddingRight: spacing(2)
|
|
132250
|
-
}, styles11, _defineProperty$e({}, breakpoints.up("sm"), _extends$
|
|
131972
|
+
}, styles11, _defineProperty$e({}, breakpoints.up("sm"), _extends$1({
|
|
132251
131973
|
paddingLeft: spacing(3),
|
|
132252
131974
|
paddingRight: spacing(3)
|
|
132253
131975
|
}, styles11[breakpoints.up("sm")])));
|
|
@@ -132381,7 +132103,7 @@ function createPalette(palette) {
|
|
|
132381
132103
|
var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
|
|
132382
132104
|
var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
|
|
132383
132105
|
var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
|
|
132384
|
-
color = _extends$
|
|
132106
|
+
color = _extends$1({}, color);
|
|
132385
132107
|
if (!color.main && color[mainShade]) {
|
|
132386
132108
|
color.main = color[mainShade];
|
|
132387
132109
|
}
|
|
@@ -132407,7 +132129,7 @@ function createPalette(palette) {
|
|
|
132407
132129
|
console.error("Material-UI: The palette type `".concat(type, "` is not supported."));
|
|
132408
132130
|
}
|
|
132409
132131
|
}
|
|
132410
|
-
var paletteOutput = deepmerge(_extends$
|
|
132132
|
+
var paletteOutput = deepmerge(_extends$1({
|
|
132411
132133
|
// A collection of common colors.
|
|
132412
132134
|
common: common$1,
|
|
132413
132135
|
// The palette type, can be light or dark.
|
|
@@ -132472,7 +132194,7 @@ function createTypography(palette, typography) {
|
|
|
132472
132194
|
return "".concat(size / htmlFontSize * coef, "rem");
|
|
132473
132195
|
};
|
|
132474
132196
|
var buildVariant = function buildVariant2(fontWeight, size, lineHeight, letterSpacing, casing) {
|
|
132475
|
-
return _extends$
|
|
132197
|
+
return _extends$1({
|
|
132476
132198
|
fontFamily,
|
|
132477
132199
|
fontWeight,
|
|
132478
132200
|
fontSize: pxToRem(size),
|
|
@@ -132497,7 +132219,7 @@ function createTypography(palette, typography) {
|
|
|
132497
132219
|
caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
|
|
132498
132220
|
overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
|
|
132499
132221
|
};
|
|
132500
|
-
return deepmerge(_extends$
|
|
132222
|
+
return deepmerge(_extends$1({
|
|
132501
132223
|
htmlFontSize,
|
|
132502
132224
|
pxToRem,
|
|
132503
132225
|
round: roundWithDeprecationWarning,
|
|
@@ -132562,6 +132284,14 @@ function _nonIterableSpread$1() {
|
|
|
132562
132284
|
function _toConsumableArray$1(arr) {
|
|
132563
132285
|
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread$1();
|
|
132564
132286
|
}
|
|
132287
|
+
function _typeof$1(obj) {
|
|
132288
|
+
"@babel/helpers - typeof";
|
|
132289
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
132290
|
+
return typeof obj2;
|
|
132291
|
+
} : function(obj2) {
|
|
132292
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
132293
|
+
}, _typeof$1(obj);
|
|
132294
|
+
}
|
|
132565
132295
|
function _arrayWithHoles(arr) {
|
|
132566
132296
|
if (Array.isArray(arr))
|
|
132567
132297
|
return arr;
|
|
@@ -132883,20 +132613,6 @@ function warning(condition, message) {
|
|
|
132883
132613
|
}
|
|
132884
132614
|
}
|
|
132885
132615
|
}
|
|
132886
|
-
function _extends$1() {
|
|
132887
|
-
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
132888
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
132889
|
-
var source = arguments[i2];
|
|
132890
|
-
for (var key in source) {
|
|
132891
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
132892
|
-
target[key] = source[key];
|
|
132893
|
-
}
|
|
132894
|
-
}
|
|
132895
|
-
}
|
|
132896
|
-
return target;
|
|
132897
|
-
};
|
|
132898
|
-
return _extends$1.apply(this, arguments);
|
|
132899
|
-
}
|
|
132900
132616
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
|
|
132901
132617
|
return typeof obj;
|
|
132902
132618
|
} : function(obj) {
|
|
@@ -133180,7 +132896,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
|
133180
132896
|
_proto2.toString = function toString2(options) {
|
|
133181
132897
|
var sheet = this.options.sheet;
|
|
133182
132898
|
var link2 = sheet ? sheet.options.link : false;
|
|
133183
|
-
var opts2 = link2 ? _extends$
|
|
132899
|
+
var opts2 = link2 ? _extends$2({}, options, {
|
|
133184
132900
|
allowEmpty: true
|
|
133185
132901
|
}) : options;
|
|
133186
132902
|
return toCss(this.selectorText, this.style, opts2);
|
|
@@ -133227,7 +132943,7 @@ var ConditionalRule = /* @__PURE__ */ function() {
|
|
|
133227
132943
|
this.at = atMatch ? atMatch[1] : "unknown";
|
|
133228
132944
|
this.query = options.name || "@" + this.at;
|
|
133229
132945
|
this.options = options;
|
|
133230
|
-
this.rules = new RuleList(_extends$
|
|
132946
|
+
this.rules = new RuleList(_extends$2({}, options, {
|
|
133231
132947
|
parent: this
|
|
133232
132948
|
}));
|
|
133233
132949
|
for (var name2 in styles11) {
|
|
@@ -133299,11 +133015,11 @@ var KeyframesRule = /* @__PURE__ */ function() {
|
|
|
133299
133015
|
this.options = options;
|
|
133300
133016
|
var scoped = options.scoped, sheet = options.sheet, generateId = options.generateId;
|
|
133301
133017
|
this.id = scoped === false ? this.name : escape(generateId(this, sheet));
|
|
133302
|
-
this.rules = new RuleList(_extends$
|
|
133018
|
+
this.rules = new RuleList(_extends$2({}, options, {
|
|
133303
133019
|
parent: this
|
|
133304
133020
|
}));
|
|
133305
133021
|
for (var name2 in frames) {
|
|
133306
|
-
this.rules.add(name2, frames[name2], _extends$
|
|
133022
|
+
this.rules.add(name2, frames[name2], _extends$2({}, options, {
|
|
133307
133023
|
parent: this
|
|
133308
133024
|
}));
|
|
133309
133025
|
}
|
|
@@ -133388,7 +133104,7 @@ var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
|
133388
133104
|
_proto.toString = function toString2(options) {
|
|
133389
133105
|
var sheet = this.options.sheet;
|
|
133390
133106
|
var link2 = sheet ? sheet.options.link : false;
|
|
133391
|
-
var opts2 = link2 ? _extends$
|
|
133107
|
+
var opts2 = link2 ? _extends$2({}, options, {
|
|
133392
133108
|
allowEmpty: true
|
|
133393
133109
|
}) : options;
|
|
133394
133110
|
return toCss(this.key, this.style, opts2);
|
|
@@ -133512,7 +133228,7 @@ var RuleList = /* @__PURE__ */ function() {
|
|
|
133512
133228
|
var _proto = RuleList2.prototype;
|
|
133513
133229
|
_proto.add = function add2(name2, decl, ruleOptions) {
|
|
133514
133230
|
var _this$options = this.options, parent = _this$options.parent, sheet = _this$options.sheet, jss2 = _this$options.jss, Renderer = _this$options.Renderer, generateId = _this$options.generateId, scoped = _this$options.scoped;
|
|
133515
|
-
var options = _extends$
|
|
133231
|
+
var options = _extends$2({
|
|
133516
133232
|
classes: this.classes,
|
|
133517
133233
|
parent,
|
|
133518
133234
|
sheet,
|
|
@@ -133548,7 +133264,7 @@ var RuleList = /* @__PURE__ */ function() {
|
|
|
133548
133264
|
}
|
|
133549
133265
|
var options = ruleOptions;
|
|
133550
133266
|
if (oldIndex !== -1)
|
|
133551
|
-
options = _extends$
|
|
133267
|
+
options = _extends$2({}, ruleOptions, {
|
|
133552
133268
|
index: oldIndex
|
|
133553
133269
|
});
|
|
133554
133270
|
return this.add(name2, decl, options);
|
|
@@ -133661,7 +133377,7 @@ var StyleSheet = /* @__PURE__ */ function() {
|
|
|
133661
133377
|
this.deployed = false;
|
|
133662
133378
|
this.classes = {};
|
|
133663
133379
|
this.keyframes = {};
|
|
133664
|
-
this.options = _extends$
|
|
133380
|
+
this.options = _extends$2({}, options, {
|
|
133665
133381
|
sheet: this,
|
|
133666
133382
|
parent: this,
|
|
133667
133383
|
classes: this.classes,
|
|
@@ -134280,7 +133996,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
134280
133996
|
this.options.createGenerateId = options.createGenerateId;
|
|
134281
133997
|
}
|
|
134282
133998
|
if (options.id) {
|
|
134283
|
-
this.options.id = _extends$
|
|
133999
|
+
this.options.id = _extends$2({}, this.options.id, options.id);
|
|
134284
134000
|
}
|
|
134285
134001
|
if (options.createGenerateId || options.id) {
|
|
134286
134002
|
this.generateId = this.options.createGenerateId(this.options.id);
|
|
@@ -134302,7 +134018,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
134302
134018
|
if (typeof index2 !== "number") {
|
|
134303
134019
|
index2 = sheets.index === 0 ? 0 : sheets.index + 1;
|
|
134304
134020
|
}
|
|
134305
|
-
var sheet = new StyleSheet(styles11, _extends$
|
|
134021
|
+
var sheet = new StyleSheet(styles11, _extends$2({}, options, {
|
|
134306
134022
|
jss: this,
|
|
134307
134023
|
generateId: options.generateId || this.generateId,
|
|
134308
134024
|
insertionPoint: this.options.insertionPoint,
|
|
@@ -134327,7 +134043,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
134327
134043
|
if (typeof name2 === "object") {
|
|
134328
134044
|
return this.createRule(void 0, name2, style);
|
|
134329
134045
|
}
|
|
134330
|
-
var ruleOptions = _extends$
|
|
134046
|
+
var ruleOptions = _extends$2({}, options, {
|
|
134331
134047
|
name: name2,
|
|
134332
134048
|
jss: this,
|
|
134333
134049
|
Renderer: this.options.Renderer
|
|
@@ -134438,7 +134154,7 @@ var GlobalContainerRule = /* @__PURE__ */ function() {
|
|
|
134438
134154
|
this.isProcessed = false;
|
|
134439
134155
|
this.key = key;
|
|
134440
134156
|
this.options = options;
|
|
134441
|
-
this.rules = new RuleList(_extends$
|
|
134157
|
+
this.rules = new RuleList(_extends$1({}, options, {
|
|
134442
134158
|
parent: this
|
|
134443
134159
|
}));
|
|
134444
134160
|
for (var selector in styles11) {
|
|
@@ -134478,7 +134194,7 @@ var GlobalPrefixedRule = /* @__PURE__ */ function() {
|
|
|
134478
134194
|
this.key = key;
|
|
134479
134195
|
this.options = options;
|
|
134480
134196
|
var selector = key.substr(atPrefix.length);
|
|
134481
|
-
this.rule = options.jss.createRule(selector, style, _extends$
|
|
134197
|
+
this.rule = options.jss.createRule(selector, style, _extends$1({}, options, {
|
|
134482
134198
|
parent: this
|
|
134483
134199
|
}));
|
|
134484
134200
|
}
|
|
@@ -134505,7 +134221,7 @@ function handleNestedGlobalContainerRule(rule, sheet) {
|
|
|
134505
134221
|
if (!rules)
|
|
134506
134222
|
return;
|
|
134507
134223
|
for (var name2 in rules) {
|
|
134508
|
-
sheet.addRule(name2, rules[name2], _extends$
|
|
134224
|
+
sheet.addRule(name2, rules[name2], _extends$1({}, options, {
|
|
134509
134225
|
selector: addScope(name2, rule.selector)
|
|
134510
134226
|
}));
|
|
134511
134227
|
}
|
|
@@ -134517,7 +134233,7 @@ function handlePrefixedGlobalRule(rule, sheet) {
|
|
|
134517
134233
|
if (prop[0] !== "@" || prop.substr(0, at.length) !== at)
|
|
134518
134234
|
continue;
|
|
134519
134235
|
var selector = addScope(prop.substr(at.length), rule.selector);
|
|
134520
|
-
sheet.addRule(selector, style[prop], _extends$
|
|
134236
|
+
sheet.addRule(selector, style[prop], _extends$1({}, options, {
|
|
134521
134237
|
selector
|
|
134522
134238
|
}));
|
|
134523
134239
|
delete style[prop];
|
|
@@ -134586,12 +134302,12 @@ function jssNested() {
|
|
|
134586
134302
|
}
|
|
134587
134303
|
function getOptions(rule, container, prevOptions) {
|
|
134588
134304
|
if (prevOptions)
|
|
134589
|
-
return _extends$
|
|
134305
|
+
return _extends$2({}, prevOptions, {
|
|
134590
134306
|
index: prevOptions.index + 1
|
|
134591
134307
|
});
|
|
134592
134308
|
var nestingLevel = rule.options.nestingLevel;
|
|
134593
134309
|
nestingLevel = nestingLevel === void 0 ? 1 : nestingLevel + 1;
|
|
134594
|
-
var options = _extends$
|
|
134310
|
+
var options = _extends$2({}, rule.options, {
|
|
134595
134311
|
nestingLevel,
|
|
134596
134312
|
index: container.indexOf(rule) + 1
|
|
134597
134313
|
// We don't need the parent name to be set options for chlid.
|
|
@@ -134619,11 +134335,11 @@ function jssNested() {
|
|
|
134619
134335
|
selector = selector.replace(refRegExp, replaceRef3);
|
|
134620
134336
|
var name2 = styleRule.key + "-" + prop;
|
|
134621
134337
|
if ("replaceRule" in container) {
|
|
134622
|
-
container.replaceRule(name2, style[prop], _extends$
|
|
134338
|
+
container.replaceRule(name2, style[prop], _extends$2({}, options, {
|
|
134623
134339
|
selector
|
|
134624
134340
|
}));
|
|
134625
134341
|
} else {
|
|
134626
|
-
container.addRule(name2, style[prop], _extends$
|
|
134342
|
+
container.addRule(name2, style[prop], _extends$2({}, options, {
|
|
134627
134343
|
selector
|
|
134628
134344
|
}));
|
|
134629
134345
|
}
|
|
@@ -135393,7 +135109,7 @@ function mergeClasses() {
|
|
|
135393
135109
|
if (!newClasses) {
|
|
135394
135110
|
return baseClasses;
|
|
135395
135111
|
}
|
|
135396
|
-
var nextClasses = _extends$
|
|
135112
|
+
var nextClasses = _extends$1({}, baseClasses);
|
|
135397
135113
|
{
|
|
135398
135114
|
if (typeof newClasses === "string") {
|
|
135399
135115
|
console.error(["Material-UI: The value `".concat(newClasses, "` ") + "provided to the classes prop of ".concat(getDisplayName(Component2), " is incorrect."), "You might want to use the className prop instead."].join("\n"));
|
|
@@ -135465,7 +135181,7 @@ var injectFirstNode;
|
|
|
135465
135181
|
function StylesProvider(props2) {
|
|
135466
135182
|
var children = props2.children, _props$injectFirst = props2.injectFirst, injectFirst = _props$injectFirst === void 0 ? false : _props$injectFirst, _props$disableGenerat = props2.disableGeneration, disableGeneration = _props$disableGenerat === void 0 ? false : _props$disableGenerat, localOptions = _objectWithoutProperties(props2, ["children", "injectFirst", "disableGeneration"]);
|
|
135467
135183
|
var outerOptions = React__default.useContext(StylesContext);
|
|
135468
|
-
var context = _extends$
|
|
135184
|
+
var context = _extends$1({}, outerOptions, {
|
|
135469
135185
|
disableGeneration
|
|
135470
135186
|
}, localOptions);
|
|
135471
135187
|
{
|
|
@@ -135591,7 +135307,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
|
135591
135307
|
return styles11;
|
|
135592
135308
|
}
|
|
135593
135309
|
var overrides = theme.overrides[name2];
|
|
135594
|
-
var stylesWithOverrides = _extends$
|
|
135310
|
+
var stylesWithOverrides = _extends$1({}, styles11);
|
|
135595
135311
|
Object.keys(overrides).forEach(function(key) {
|
|
135596
135312
|
{
|
|
135597
135313
|
if (!stylesWithOverrides[key]) {
|
|
@@ -135652,7 +135368,7 @@ function attach(_ref2, props2) {
|
|
|
135652
135368
|
};
|
|
135653
135369
|
multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
|
|
135654
135370
|
}
|
|
135655
|
-
var options = _extends$
|
|
135371
|
+
var options = _extends$1({}, stylesCreator.options, stylesOptions, {
|
|
135656
135372
|
theme,
|
|
135657
135373
|
flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
|
|
135658
135374
|
});
|
|
@@ -135665,7 +135381,7 @@ function attach(_ref2, props2) {
|
|
|
135665
135381
|
}
|
|
135666
135382
|
var styles11 = stylesCreator.create(theme, name2);
|
|
135667
135383
|
if (!staticSheet) {
|
|
135668
|
-
staticSheet = stylesOptions.jss.createStyleSheet(styles11, _extends$
|
|
135384
|
+
staticSheet = stylesOptions.jss.createStyleSheet(styles11, _extends$1({
|
|
135669
135385
|
link: false
|
|
135670
135386
|
}, options));
|
|
135671
135387
|
staticSheet.attach();
|
|
@@ -135680,7 +135396,7 @@ function attach(_ref2, props2) {
|
|
|
135680
135396
|
sheetManager.dynamicStyles = getDynamicStyles(styles11);
|
|
135681
135397
|
}
|
|
135682
135398
|
if (sheetManager.dynamicStyles) {
|
|
135683
|
-
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$
|
|
135399
|
+
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$1({
|
|
135684
135400
|
link: true
|
|
135685
135401
|
}, options));
|
|
135686
135402
|
dynamicSheet.update(props2);
|
|
@@ -135762,7 +135478,7 @@ function makeStyles$1(stylesOrCreator) {
|
|
|
135762
135478
|
var useStyles2 = function useStyles3() {
|
|
135763
135479
|
var props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
135764
135480
|
var theme = useTheme$1() || defaultTheme2;
|
|
135765
|
-
var stylesOptions = _extends$
|
|
135481
|
+
var stylesOptions = _extends$1({}, React__default.useContext(StylesContext), stylesOptions2);
|
|
135766
135482
|
var instance = React__default.useRef();
|
|
135767
135483
|
var shouldUpdate = React__default.useRef();
|
|
135768
135484
|
useSynchronousEffect(function() {
|
|
@@ -135894,7 +135610,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
135894
135610
|
}
|
|
135895
135611
|
}
|
|
135896
135612
|
}
|
|
135897
|
-
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$
|
|
135613
|
+
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$1({
|
|
135898
135614
|
defaultTheme: defaultTheme2,
|
|
135899
135615
|
Component: Component2,
|
|
135900
135616
|
name: name2 || Component2.displayName,
|
|
@@ -135903,7 +135619,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
135903
135619
|
var WithStyles = /* @__PURE__ */ React__default.forwardRef(function WithStyles2(props2, ref) {
|
|
135904
135620
|
props2.classes;
|
|
135905
135621
|
var innerRef = props2.innerRef, other = _objectWithoutProperties(props2, ["classes", "innerRef"]);
|
|
135906
|
-
var classes = useStyles2(_extends$
|
|
135622
|
+
var classes = useStyles2(_extends$1({}, Component2.defaultProps, props2));
|
|
135907
135623
|
var theme;
|
|
135908
135624
|
var more = other;
|
|
135909
135625
|
if (typeof name2 === "string" || withTheme) {
|
|
@@ -135919,7 +135635,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
135919
135635
|
more.theme = theme;
|
|
135920
135636
|
}
|
|
135921
135637
|
}
|
|
135922
|
-
return /* @__PURE__ */ React__default.createElement(Component2, _extends$
|
|
135638
|
+
return /* @__PURE__ */ React__default.createElement(Component2, _extends$1({
|
|
135923
135639
|
ref: innerRef || ref,
|
|
135924
135640
|
classes
|
|
135925
135641
|
}, more));
|
|
@@ -135957,7 +135673,7 @@ var defaultTheme = createTheme();
|
|
|
135957
135673
|
const defaultTheme$1 = defaultTheme;
|
|
135958
135674
|
function makeStyles(stylesOrCreator) {
|
|
135959
135675
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
135960
|
-
return makeStyles$1(stylesOrCreator, _extends$
|
|
135676
|
+
return makeStyles$1(stylesOrCreator, _extends$1({
|
|
135961
135677
|
defaultTheme: defaultTheme$1
|
|
135962
135678
|
}, options));
|
|
135963
135679
|
}
|
|
@@ -135969,7 +135685,7 @@ function useTheme() {
|
|
|
135969
135685
|
return theme;
|
|
135970
135686
|
}
|
|
135971
135687
|
function withStyles2(stylesOrCreator, options) {
|
|
135972
|
-
return withStylesWithoutDefault(stylesOrCreator, _extends$
|
|
135688
|
+
return withStylesWithoutDefault(stylesOrCreator, _extends$1({
|
|
135973
135689
|
defaultTheme: defaultTheme$1
|
|
135974
135690
|
}, options));
|
|
135975
135691
|
}
|
|
@@ -136053,7 +135769,7 @@ var styles$b = function styles(theme) {
|
|
|
136053
135769
|
};
|
|
136054
135770
|
var SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(props2, ref) {
|
|
136055
135771
|
var children = props2.children, classes = props2.classes, className = props2.className, _props$color = props2.color, color = _props$color === void 0 ? "inherit" : _props$color, _props$component = props2.component, Component2 = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props2.fontSize, fontSize = _props$fontSize === void 0 ? "medium" : _props$fontSize, htmlColor = props2.htmlColor, titleAccess = props2.titleAccess, _props$viewBox = props2.viewBox, viewBox = _props$viewBox === void 0 ? "0 0 24 24" : _props$viewBox, other = _objectWithoutProperties(props2, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
|
|
136056
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
135772
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
136057
135773
|
className: clsx(classes.root, className, color !== "inherit" && classes["color".concat(capitalize(color))], fontSize !== "default" && fontSize !== "medium" && classes["fontSize".concat(capitalize(fontSize))]),
|
|
136058
135774
|
focusable: "false",
|
|
136059
135775
|
viewBox,
|
|
@@ -136131,7 +135847,7 @@ const SvgIcon$1 = withStyles2(styles$b, {
|
|
|
136131
135847
|
})(SvgIcon);
|
|
136132
135848
|
function createSvgIcon(path, displayName) {
|
|
136133
135849
|
var Component2 = function Component3(props2, ref) {
|
|
136134
|
-
return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$
|
|
135850
|
+
return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$1({
|
|
136135
135851
|
ref
|
|
136136
135852
|
}, props2), path);
|
|
136137
135853
|
};
|
|
@@ -136459,7 +136175,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
136459
136175
|
}
|
|
136460
136176
|
if (this.mounted) {
|
|
136461
136177
|
this.setState(function(state) {
|
|
136462
|
-
var children = _extends$
|
|
136178
|
+
var children = _extends$1({}, state.children);
|
|
136463
136179
|
delete children[child.key];
|
|
136464
136180
|
return {
|
|
136465
136181
|
children
|
|
@@ -136547,7 +136263,7 @@ var styles$a = function styles2(theme) {
|
|
|
136547
136263
|
boxShadow: shadow2
|
|
136548
136264
|
};
|
|
136549
136265
|
});
|
|
136550
|
-
return _extends$
|
|
136266
|
+
return _extends$1({
|
|
136551
136267
|
/* Styles applied to the root element. */
|
|
136552
136268
|
root: {
|
|
136553
136269
|
backgroundColor: theme.palette.background.paper,
|
|
@@ -136566,7 +136282,7 @@ var styles$a = function styles2(theme) {
|
|
|
136566
136282
|
};
|
|
136567
136283
|
var Paper = /* @__PURE__ */ React.forwardRef(function Paper2(props2, ref) {
|
|
136568
136284
|
var classes = props2.classes, className = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$square = props2.square, square = _props$square === void 0 ? false : _props$square, _props$elevation = props2.elevation, elevation = _props$elevation === void 0 ? 1 : _props$elevation, _props$variant = props2.variant, variant = _props$variant === void 0 ? "elevation" : _props$variant, other = _objectWithoutProperties(props2, ["classes", "className", "component", "square", "elevation", "variant"]);
|
|
136569
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
136285
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
136570
136286
|
className: clsx(classes.root, className, variant === "outlined" ? classes.outlined : classes["elevation".concat(elevation)], !square && classes.rounded),
|
|
136571
136287
|
ref
|
|
136572
136288
|
}, other));
|
|
@@ -136905,7 +136621,7 @@ var TouchRipple = /* @__PURE__ */ React.forwardRef(function TouchRipple2(props2,
|
|
|
136905
136621
|
stop
|
|
136906
136622
|
};
|
|
136907
136623
|
}, [pulsate, start, stop]);
|
|
136908
|
-
return /* @__PURE__ */ React.createElement("span", _extends$
|
|
136624
|
+
return /* @__PURE__ */ React.createElement("span", _extends$1({
|
|
136909
136625
|
className: clsx(classes.root, className),
|
|
136910
136626
|
ref: container
|
|
136911
136627
|
}, other), /* @__PURE__ */ React.createElement(TransitionGroup$1, {
|
|
@@ -137124,7 +136840,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props2, r
|
|
|
137124
136840
|
}
|
|
137125
136841
|
}, [enableTouchRipple]);
|
|
137126
136842
|
}
|
|
137127
|
-
return /* @__PURE__ */ React.createElement(ComponentProp, _extends$
|
|
136843
|
+
return /* @__PURE__ */ React.createElement(ComponentProp, _extends$1({
|
|
137128
136844
|
className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),
|
|
137129
136845
|
onBlur: handleBlur,
|
|
137130
136846
|
onClick,
|
|
@@ -137142,7 +136858,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props2, r
|
|
|
137142
136858
|
tabIndex: disabled ? -1 : tabIndex
|
|
137143
136859
|
}, buttonProps, other), children, enableTouchRipple ? (
|
|
137144
136860
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
137145
|
-
/* @__PURE__ */ React.createElement(TouchRipple$1, _extends$
|
|
136861
|
+
/* @__PURE__ */ React.createElement(TouchRipple$1, _extends$1({
|
|
137146
136862
|
ref: rippleRef,
|
|
137147
136863
|
center: centerRipple
|
|
137148
136864
|
}, TouchRippleProps))
|
|
@@ -137374,7 +137090,7 @@ var styles$7 = function styles4(theme) {
|
|
|
137374
137090
|
};
|
|
137375
137091
|
var IconButton$1 = /* @__PURE__ */ React.forwardRef(function IconButton(props2, ref) {
|
|
137376
137092
|
var _props$edge = props2.edge, edge = _props$edge === void 0 ? false : _props$edge, children = props2.children, classes = props2.classes, className = props2.className, _props$color = props2.color, color = _props$color === void 0 ? "default" : _props$color, _props$disabled = props2.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableFocusRi = props2.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, _props$size = props2.size, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties(props2, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
|
|
137377
|
-
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$
|
|
137093
|
+
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
|
|
137378
137094
|
className: clsx(classes.root, className, color !== "default" && classes["color".concat(capitalize(color))], disabled && classes.disabled, size === "small" && classes["size".concat(capitalize(size))], {
|
|
137379
137095
|
"start": classes.edgeStart,
|
|
137380
137096
|
"end": classes.edgeEnd
|
|
@@ -137507,7 +137223,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props2, r
|
|
|
137507
137223
|
}
|
|
137508
137224
|
}
|
|
137509
137225
|
var hasLabelFor = type === "checkbox" || type === "radio";
|
|
137510
|
-
return /* @__PURE__ */ React.createElement(IconButton$2, _extends$
|
|
137226
|
+
return /* @__PURE__ */ React.createElement(IconButton$2, _extends$1({
|
|
137511
137227
|
component: "span",
|
|
137512
137228
|
className: clsx(classes.root, className, checked && classes.checked, disabled && classes.disabled),
|
|
137513
137229
|
disabled,
|
|
@@ -137516,7 +137232,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props2, r
|
|
|
137516
137232
|
onFocus: handleFocus,
|
|
137517
137233
|
onBlur: handleBlur,
|
|
137518
137234
|
ref
|
|
137519
|
-
}, other), /* @__PURE__ */ React.createElement("input", _extends$
|
|
137235
|
+
}, other), /* @__PURE__ */ React.createElement("input", _extends$1({
|
|
137520
137236
|
autoFocus,
|
|
137521
137237
|
checked: checkedProp,
|
|
137522
137238
|
defaultChecked,
|
|
@@ -137685,7 +137401,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props2, ref)
|
|
|
137685
137401
|
var _props$checkedIcon = props2.checkedIcon, checkedIcon = _props$checkedIcon === void 0 ? defaultCheckedIcon : _props$checkedIcon, classes = props2.classes, _props$color = props2.color, color = _props$color === void 0 ? "secondary" : _props$color, _props$icon = props2.icon, iconProp = _props$icon === void 0 ? defaultIcon : _props$icon, _props$indeterminate = props2.indeterminate, indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate, _props$indeterminateI = props2.indeterminateIcon, indeterminateIconProp = _props$indeterminateI === void 0 ? defaultIndeterminateIcon : _props$indeterminateI, inputProps = props2.inputProps, _props$size = props2.size, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties(props2, ["checkedIcon", "classes", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"]);
|
|
137686
137402
|
var icon = indeterminate ? indeterminateIconProp : iconProp;
|
|
137687
137403
|
var indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
|
137688
|
-
return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$
|
|
137404
|
+
return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$1({
|
|
137689
137405
|
type: "checkbox",
|
|
137690
137406
|
classes: {
|
|
137691
137407
|
root: clsx(classes.root, classes["color".concat(capitalize(color))], indeterminate && classes.indeterminate),
|
|
@@ -137693,7 +137409,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props2, ref)
|
|
|
137693
137409
|
disabled: classes.disabled
|
|
137694
137410
|
},
|
|
137695
137411
|
color,
|
|
137696
|
-
inputProps: _extends$
|
|
137412
|
+
inputProps: _extends$1({
|
|
137697
137413
|
"data-indeterminate": indeterminate
|
|
137698
137414
|
}, inputProps),
|
|
137699
137415
|
icon: /* @__PURE__ */ React.cloneElement(icon, {
|
|
@@ -139465,10 +139181,10 @@ var Popper = /* @__PURE__ */ React.forwardRef(function Popper2(props2, ref) {
|
|
|
139465
139181
|
}
|
|
139466
139182
|
}
|
|
139467
139183
|
}
|
|
139468
|
-
var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$
|
|
139184
|
+
var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$1({
|
|
139469
139185
|
placement: rtlPlacement
|
|
139470
139186
|
}, popperOptions, {
|
|
139471
|
-
modifiers: _extends$
|
|
139187
|
+
modifiers: _extends$1({}, disablePortal ? {} : {
|
|
139472
139188
|
// It's using scrollParent by default, we can use the viewport when using a portal.
|
|
139473
139189
|
preventOverflow: {
|
|
139474
139190
|
boundariesElement: "window"
|
|
@@ -139525,11 +139241,11 @@ var Popper = /* @__PURE__ */ React.forwardRef(function Popper2(props2, ref) {
|
|
|
139525
139241
|
return /* @__PURE__ */ React.createElement(Portal$1, {
|
|
139526
139242
|
disablePortal,
|
|
139527
139243
|
container
|
|
139528
|
-
}, /* @__PURE__ */ React.createElement("div", _extends$
|
|
139244
|
+
}, /* @__PURE__ */ React.createElement("div", _extends$1({
|
|
139529
139245
|
ref: handleRef,
|
|
139530
139246
|
role: "tooltip"
|
|
139531
139247
|
}, other, {
|
|
139532
|
-
style: _extends$
|
|
139248
|
+
style: _extends$1({
|
|
139533
139249
|
// Prevents scroll issue, waiting for Popper.js to add this style once initiated.
|
|
139534
139250
|
position: "fixed",
|
|
139535
139251
|
// Fix Popper.js display issue
|
|
@@ -139633,7 +139349,7 @@ var styles$4 = function styles6(theme) {
|
|
|
139633
139349
|
}
|
|
139634
139350
|
},
|
|
139635
139351
|
open: {},
|
|
139636
|
-
offset: _extends$
|
|
139352
|
+
offset: _extends$1({
|
|
139637
139353
|
zIndex: 1
|
|
139638
139354
|
}, theme.typography.body2, {
|
|
139639
139355
|
fontSize: theme.typography.pxToRem(12),
|
|
@@ -139984,7 +139700,7 @@ var styles$3 = function styles7(theme) {
|
|
|
139984
139700
|
opacity: 0.8
|
|
139985
139701
|
},
|
|
139986
139702
|
/* Styles applied to the mark label element. */
|
|
139987
|
-
markLabel: _extends$
|
|
139703
|
+
markLabel: _extends$1({}, theme.typography.body2, {
|
|
139988
139704
|
color: theme.palette.text.secondary,
|
|
139989
139705
|
position: "absolute",
|
|
139990
139706
|
top: 26,
|
|
@@ -140290,8 +140006,8 @@ var Slider = /* @__PURE__ */ React.forwardRef(function Slider2(props2, ref) {
|
|
|
140290
140006
|
});
|
|
140291
140007
|
var trackOffset = valueToPercent(range2 ? values2[0] : min, min, max);
|
|
140292
140008
|
var trackLeap = valueToPercent(values2[values2.length - 1], min, max) - trackOffset;
|
|
140293
|
-
var trackStyle = _extends$
|
|
140294
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
140009
|
+
var trackStyle = _extends$1({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap));
|
|
140010
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
140295
140011
|
ref: handleRef,
|
|
140296
140012
|
className: clsx(classes.root, classes["color".concat(capitalize(color))], className, disabled && classes.disabled, marks.length > 0 && marks.some(function(mark) {
|
|
140297
140013
|
return mark.label;
|
|
@@ -140535,7 +140251,7 @@ const Tablelvl2Context$1 = Tablelvl2Context;
|
|
|
140535
140251
|
var styles$2 = function styles8(theme) {
|
|
140536
140252
|
return {
|
|
140537
140253
|
/* Styles applied to the root element. */
|
|
140538
|
-
root: _extends$
|
|
140254
|
+
root: _extends$1({}, theme.typography.body2, {
|
|
140539
140255
|
display: "table-cell",
|
|
140540
140256
|
verticalAlign: "inherit",
|
|
140541
140257
|
// Workaround for a rendering bug with spanned columns in Chrome 62.0.
|
|
@@ -140647,7 +140363,7 @@ var TableCell = /* @__PURE__ */ React.forwardRef(function TableCell2(props2, ref
|
|
|
140647
140363
|
if (sortDirection) {
|
|
140648
140364
|
ariaSort = sortDirection === "asc" ? "ascending" : "descending";
|
|
140649
140365
|
}
|
|
140650
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
140366
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
140651
140367
|
ref,
|
|
140652
140368
|
className: clsx(classes.root, classes[variant], className, align !== "inherit" && classes["align".concat(capitalize(align))], padding !== "normal" && classes["padding".concat(capitalize(padding))], size !== "medium" && classes["size".concat(capitalize(size))], variant === "head" && table && table.stickyHeader && classes.stickyHeader),
|
|
140653
140369
|
"aria-sort": ariaSort,
|
|
@@ -140744,7 +140460,7 @@ var defaultComponent = "tr";
|
|
|
140744
140460
|
var TableRow = /* @__PURE__ */ React.forwardRef(function TableRow2(props2, ref) {
|
|
140745
140461
|
var classes = props2.classes, className = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? defaultComponent : _props$component, _props$hover = props2.hover, hover = _props$hover === void 0 ? false : _props$hover, _props$selected = props2.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties(props2, ["classes", "className", "component", "hover", "selected"]);
|
|
140746
140462
|
var tablelvl2 = React.useContext(Tablelvl2Context$1);
|
|
140747
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
140463
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
140748
140464
|
ref,
|
|
140749
140465
|
className: clsx(classes.root, className, tablelvl2 && {
|
|
140750
140466
|
"head": classes.head,
|
|
@@ -141030,7 +140746,8 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
|
141030
140746
|
setCellHighlight,
|
|
141031
140747
|
cellHighlight,
|
|
141032
140748
|
setComponentHover,
|
|
141033
|
-
layers
|
|
140749
|
+
layers,
|
|
140750
|
+
setHoverInfo
|
|
141034
140751
|
} = this.props;
|
|
141035
140752
|
const hasBitmask = (layers || []).some((l2) => l2.type === "bitmask");
|
|
141036
140753
|
if (!setCellHighlight || !tile) {
|
|
@@ -141040,6 +140757,9 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
|
141040
140757
|
if (cellHighlight && hasBitmask) {
|
|
141041
140758
|
setCellHighlight(null);
|
|
141042
140759
|
}
|
|
140760
|
+
if (setHoverInfo) {
|
|
140761
|
+
setHoverInfo(null, null);
|
|
140762
|
+
}
|
|
141043
140763
|
return null;
|
|
141044
140764
|
}
|
|
141045
140765
|
const {
|
|
@@ -141051,6 +140771,9 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
|
141051
140771
|
if (cellHighlight && hasBitmask) {
|
|
141052
140772
|
setCellHighlight(null);
|
|
141053
140773
|
}
|
|
140774
|
+
if (setHoverInfo) {
|
|
140775
|
+
setHoverInfo(null, null);
|
|
140776
|
+
}
|
|
141054
140777
|
return null;
|
|
141055
140778
|
}
|
|
141056
140779
|
const { data, width, height } = content;
|
|
@@ -141090,6 +140813,13 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
|
141090
140813
|
}
|
|
141091
140814
|
setCellHighlight(cellId ? String(cellId) : null);
|
|
141092
140815
|
}
|
|
140816
|
+
if (setHoverInfo) {
|
|
140817
|
+
if (cellId) {
|
|
140818
|
+
setHoverInfo(hoverData, coordinate);
|
|
140819
|
+
} else {
|
|
140820
|
+
setHoverInfo(null, null);
|
|
140821
|
+
}
|
|
140822
|
+
}
|
|
141093
140823
|
}
|
|
141094
140824
|
}
|
|
141095
140825
|
/**
|
|
@@ -141104,7 +140834,8 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
|
141104
140834
|
if (updateViewInfo && viewport) {
|
|
141105
140835
|
updateViewInfo({
|
|
141106
140836
|
uuid,
|
|
141107
|
-
project:
|
|
140837
|
+
project: viewport.project,
|
|
140838
|
+
projectFromId: (obsId) => {
|
|
141108
140839
|
try {
|
|
141109
140840
|
if (obsIndex && obsLocations) {
|
|
141110
140841
|
const getObsCoords = makeGetObsCoords(obsLocations);
|
|
@@ -141999,7 +141730,7 @@ function ScatterplotTooltipSubscriber(props2) {
|
|
|
141999
141730
|
const viewInfo = useComponentViewInfo(parentUuid);
|
|
142000
141731
|
const [cellInfo, x2, y2] = obsHighlight && getObsInfo ? [
|
|
142001
141732
|
getObsInfo(obsHighlight),
|
|
142002
|
-
...viewInfo && viewInfo.
|
|
141733
|
+
...viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(obsHighlight) : [null, null]
|
|
142003
141734
|
] : [null, null, null];
|
|
142004
141735
|
return cellInfo ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
142005
141736
|
Tooltip2D,
|