@vitessce/scatterplot-gating 3.0.1 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{deflate-9e0df7d6.js → deflate-13b0fa24.js} +1 -1
- package/dist/{index-55139ae6.js → index-c974ea79.js} +934 -1204
- package/dist/index.js +1 -1
- package/dist/{jpeg-401dc42f.js → jpeg-108c168d.js} +1 -1
- package/dist/{lerc-0b18eed1.js → lerc-d4cf2fcd.js} +1 -1
- package/dist/{lzw-4ce0a11f.js → lzw-18e51214.js} +1 -1
- package/dist/{packbits-2356dc29.js → packbits-c341c469.js} +1 -1
- package/dist/{raw-cb261cd1.js → raw-2ff96293.js} +1 -1
- package/dist/{webimage-a363de79.js → webimage-51ac6f70.js} +1 -1
- package/package.json +6 -6
|
@@ -10954,6 +10954,10 @@ const FileType$1 = {
|
|
|
10954
10954
|
ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
|
|
10955
10955
|
};
|
|
10956
10956
|
const CoordinationType$1 = {
|
|
10957
|
+
// Meta coordination scopes
|
|
10958
|
+
META_COORDINATION_SCOPES: "metaCoordinationScopes",
|
|
10959
|
+
META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
|
|
10960
|
+
// Other coordination scopes
|
|
10957
10961
|
DATASET: "dataset",
|
|
10958
10962
|
// Entity types
|
|
10959
10963
|
OBS_TYPE: "obsType",
|
|
@@ -17007,7 +17011,7 @@ var json2csv_umd = { exports: {} };
|
|
|
17007
17011
|
return result == "0" && 1 / value == -INFINITY2 ? "-0" : result;
|
|
17008
17012
|
}
|
|
17009
17013
|
function castPath(value) {
|
|
17010
|
-
return isArray$22(value) ? value :
|
|
17014
|
+
return isArray$22(value) ? value : stringToPath3(value);
|
|
17011
17015
|
}
|
|
17012
17016
|
function getMapData2(map2, key) {
|
|
17013
17017
|
var data = map2.__data__;
|
|
@@ -17034,7 +17038,7 @@ var json2csv_umd = { exports: {} };
|
|
|
17034
17038
|
function isMasked2(func) {
|
|
17035
17039
|
return !!maskSrcKey2 && maskSrcKey2 in func;
|
|
17036
17040
|
}
|
|
17037
|
-
var
|
|
17041
|
+
var stringToPath3 = memoize3(function(string) {
|
|
17038
17042
|
string = toString$12(string);
|
|
17039
17043
|
var result = [];
|
|
17040
17044
|
if (reLeadingDot.test(string)) {
|
|
@@ -36866,10 +36870,10 @@ const DEFAULT_LIGHT_INTENSITY$2 = 1;
|
|
|
36866
36870
|
let idCount$2 = 0;
|
|
36867
36871
|
class AmbientLight {
|
|
36868
36872
|
constructor(props2 = {}) {
|
|
36869
|
-
_defineProperty$
|
|
36870
|
-
_defineProperty$
|
|
36871
|
-
_defineProperty$
|
|
36872
|
-
_defineProperty$
|
|
36873
|
+
_defineProperty$f(this, "id", void 0);
|
|
36874
|
+
_defineProperty$f(this, "color", void 0);
|
|
36875
|
+
_defineProperty$f(this, "intensity", void 0);
|
|
36876
|
+
_defineProperty$f(this, "type", "ambient");
|
|
36873
36877
|
const {
|
|
36874
36878
|
color = DEFAULT_LIGHT_COLOR$2
|
|
36875
36879
|
} = props2;
|
|
@@ -36887,12 +36891,12 @@ const DEFAULT_LIGHT_DIRECTION = [0, 0, -1];
|
|
|
36887
36891
|
let idCount$1 = 0;
|
|
36888
36892
|
class DirectionalLight {
|
|
36889
36893
|
constructor(props2 = {}) {
|
|
36890
|
-
_defineProperty$
|
|
36891
|
-
_defineProperty$
|
|
36892
|
-
_defineProperty$
|
|
36893
|
-
_defineProperty$
|
|
36894
|
-
_defineProperty$
|
|
36895
|
-
_defineProperty$
|
|
36894
|
+
_defineProperty$f(this, "id", void 0);
|
|
36895
|
+
_defineProperty$f(this, "color", void 0);
|
|
36896
|
+
_defineProperty$f(this, "intensity", void 0);
|
|
36897
|
+
_defineProperty$f(this, "type", "directional");
|
|
36898
|
+
_defineProperty$f(this, "direction", void 0);
|
|
36899
|
+
_defineProperty$f(this, "shadow", void 0);
|
|
36896
36900
|
const {
|
|
36897
36901
|
color = DEFAULT_LIGHT_COLOR$1
|
|
36898
36902
|
} = props2;
|
|
@@ -36920,9 +36924,9 @@ class Pass {
|
|
|
36920
36924
|
constructor(gl, props2 = {
|
|
36921
36925
|
id: "pass"
|
|
36922
36926
|
}) {
|
|
36923
|
-
_defineProperty$
|
|
36924
|
-
_defineProperty$
|
|
36925
|
-
_defineProperty$
|
|
36927
|
+
_defineProperty$f(this, "id", void 0);
|
|
36928
|
+
_defineProperty$f(this, "gl", void 0);
|
|
36929
|
+
_defineProperty$f(this, "props", void 0);
|
|
36926
36930
|
const {
|
|
36927
36931
|
id
|
|
36928
36932
|
} = props2;
|
|
@@ -36943,7 +36947,7 @@ class Pass {
|
|
|
36943
36947
|
class LayersPass extends Pass {
|
|
36944
36948
|
constructor(...args) {
|
|
36945
36949
|
super(...args);
|
|
36946
|
-
_defineProperty$
|
|
36950
|
+
_defineProperty$f(this, "_lastRenderIndex", -1);
|
|
36947
36951
|
}
|
|
36948
36952
|
render(options) {
|
|
36949
36953
|
const gl = this.gl;
|
|
@@ -37190,9 +37194,9 @@ function clearGLCanvas(gl) {
|
|
|
37190
37194
|
class ShadowPass extends LayersPass {
|
|
37191
37195
|
constructor(gl, props2) {
|
|
37192
37196
|
super(gl, props2);
|
|
37193
|
-
_defineProperty$
|
|
37194
|
-
_defineProperty$
|
|
37195
|
-
_defineProperty$
|
|
37197
|
+
_defineProperty$f(this, "shadowMap", void 0);
|
|
37198
|
+
_defineProperty$f(this, "depthBuffer", void 0);
|
|
37199
|
+
_defineProperty$f(this, "fbo", void 0);
|
|
37196
37200
|
this.shadowMap = new Texture2D(gl, {
|
|
37197
37201
|
width: 1,
|
|
37198
37202
|
height: 1,
|
|
@@ -37282,18 +37286,18 @@ const DEFAULT_DIRECTIONAL_LIGHT_PROPS = [{
|
|
|
37282
37286
|
const DEFAULT_SHADOW_COLOR = [0, 0, 0, 200 / 255];
|
|
37283
37287
|
class LightingEffect {
|
|
37284
37288
|
constructor(props2 = {}) {
|
|
37285
|
-
_defineProperty$
|
|
37286
|
-
_defineProperty$
|
|
37287
|
-
_defineProperty$
|
|
37288
|
-
_defineProperty$
|
|
37289
|
-
_defineProperty$
|
|
37290
|
-
_defineProperty$
|
|
37291
|
-
_defineProperty$
|
|
37292
|
-
_defineProperty$
|
|
37293
|
-
_defineProperty$
|
|
37294
|
-
_defineProperty$
|
|
37295
|
-
_defineProperty$
|
|
37296
|
-
_defineProperty$
|
|
37289
|
+
_defineProperty$f(this, "id", "lighting-effect");
|
|
37290
|
+
_defineProperty$f(this, "props", null);
|
|
37291
|
+
_defineProperty$f(this, "shadowColor", DEFAULT_SHADOW_COLOR);
|
|
37292
|
+
_defineProperty$f(this, "shadow", void 0);
|
|
37293
|
+
_defineProperty$f(this, "ambientLight", null);
|
|
37294
|
+
_defineProperty$f(this, "directionalLights", []);
|
|
37295
|
+
_defineProperty$f(this, "pointLights", []);
|
|
37296
|
+
_defineProperty$f(this, "shadowPasses", []);
|
|
37297
|
+
_defineProperty$f(this, "shadowMaps", []);
|
|
37298
|
+
_defineProperty$f(this, "dummyShadowMap", null);
|
|
37299
|
+
_defineProperty$f(this, "programManager", void 0);
|
|
37300
|
+
_defineProperty$f(this, "shadowMatrices", void 0);
|
|
37297
37301
|
for (const key in props2) {
|
|
37298
37302
|
const lightSource = props2[key];
|
|
37299
37303
|
switch (lightSource.type) {
|
|
@@ -37416,8 +37420,8 @@ class LightingEffect {
|
|
|
37416
37420
|
}
|
|
37417
37421
|
class TypedArrayManager {
|
|
37418
37422
|
constructor(options = {}) {
|
|
37419
|
-
_defineProperty$
|
|
37420
|
-
_defineProperty$
|
|
37423
|
+
_defineProperty$f(this, "_pool", []);
|
|
37424
|
+
_defineProperty$f(this, "opts", {
|
|
37421
37425
|
overAlloc: 2,
|
|
37422
37426
|
poolSize: 100
|
|
37423
37427
|
});
|
|
@@ -37602,30 +37606,30 @@ function createProjectionMatrix({
|
|
|
37602
37606
|
}
|
|
37603
37607
|
class Viewport {
|
|
37604
37608
|
constructor(opts2 = {}) {
|
|
37605
|
-
_defineProperty$
|
|
37606
|
-
_defineProperty$
|
|
37607
|
-
_defineProperty$
|
|
37608
|
-
_defineProperty$
|
|
37609
|
-
_defineProperty$
|
|
37610
|
-
_defineProperty$
|
|
37611
|
-
_defineProperty$
|
|
37612
|
-
_defineProperty$
|
|
37613
|
-
_defineProperty$
|
|
37614
|
-
_defineProperty$
|
|
37615
|
-
_defineProperty$
|
|
37616
|
-
_defineProperty$
|
|
37617
|
-
_defineProperty$
|
|
37618
|
-
_defineProperty$
|
|
37619
|
-
_defineProperty$
|
|
37620
|
-
_defineProperty$
|
|
37621
|
-
_defineProperty$
|
|
37622
|
-
_defineProperty$
|
|
37623
|
-
_defineProperty$
|
|
37624
|
-
_defineProperty$
|
|
37625
|
-
_defineProperty$
|
|
37626
|
-
_defineProperty$
|
|
37627
|
-
_defineProperty$
|
|
37628
|
-
_defineProperty$
|
|
37609
|
+
_defineProperty$f(this, "id", void 0);
|
|
37610
|
+
_defineProperty$f(this, "x", void 0);
|
|
37611
|
+
_defineProperty$f(this, "y", void 0);
|
|
37612
|
+
_defineProperty$f(this, "width", void 0);
|
|
37613
|
+
_defineProperty$f(this, "height", void 0);
|
|
37614
|
+
_defineProperty$f(this, "padding", void 0);
|
|
37615
|
+
_defineProperty$f(this, "isGeospatial", void 0);
|
|
37616
|
+
_defineProperty$f(this, "zoom", void 0);
|
|
37617
|
+
_defineProperty$f(this, "focalDistance", void 0);
|
|
37618
|
+
_defineProperty$f(this, "position", void 0);
|
|
37619
|
+
_defineProperty$f(this, "modelMatrix", void 0);
|
|
37620
|
+
_defineProperty$f(this, "distanceScales", void 0);
|
|
37621
|
+
_defineProperty$f(this, "scale", void 0);
|
|
37622
|
+
_defineProperty$f(this, "center", void 0);
|
|
37623
|
+
_defineProperty$f(this, "cameraPosition", void 0);
|
|
37624
|
+
_defineProperty$f(this, "projectionMatrix", void 0);
|
|
37625
|
+
_defineProperty$f(this, "viewMatrix", void 0);
|
|
37626
|
+
_defineProperty$f(this, "viewMatrixUncentered", void 0);
|
|
37627
|
+
_defineProperty$f(this, "viewMatrixInverse", void 0);
|
|
37628
|
+
_defineProperty$f(this, "viewProjectionMatrix", void 0);
|
|
37629
|
+
_defineProperty$f(this, "pixelProjectionMatrix", void 0);
|
|
37630
|
+
_defineProperty$f(this, "pixelUnprojectionMatrix", void 0);
|
|
37631
|
+
_defineProperty$f(this, "resolution", void 0);
|
|
37632
|
+
_defineProperty$f(this, "_frustumPlanes", {});
|
|
37629
37633
|
this.id = opts2.id || this.constructor.displayName || "viewport";
|
|
37630
37634
|
this.x = opts2.x || 0;
|
|
37631
37635
|
this.y = opts2.y || 0;
|
|
@@ -37828,7 +37832,7 @@ class Viewport {
|
|
|
37828
37832
|
}
|
|
37829
37833
|
}
|
|
37830
37834
|
}
|
|
37831
|
-
_defineProperty$
|
|
37835
|
+
_defineProperty$f(Viewport, "displayName", "Viewport");
|
|
37832
37836
|
const TILE_SIZE$4 = 512;
|
|
37833
37837
|
const EARTH_CIRCUMFERENCE = 4003e4;
|
|
37834
37838
|
const DEGREES_TO_RADIANS$3 = Math.PI / 180;
|
|
@@ -37904,15 +37908,15 @@ class WebMercatorViewport2 extends Viewport {
|
|
|
37904
37908
|
fovy,
|
|
37905
37909
|
focalDistance: altitude
|
|
37906
37910
|
});
|
|
37907
|
-
_defineProperty$
|
|
37908
|
-
_defineProperty$
|
|
37909
|
-
_defineProperty$
|
|
37910
|
-
_defineProperty$
|
|
37911
|
-
_defineProperty$
|
|
37912
|
-
_defineProperty$
|
|
37913
|
-
_defineProperty$
|
|
37914
|
-
_defineProperty$
|
|
37915
|
-
_defineProperty$
|
|
37911
|
+
_defineProperty$f(this, "longitude", void 0);
|
|
37912
|
+
_defineProperty$f(this, "latitude", void 0);
|
|
37913
|
+
_defineProperty$f(this, "pitch", void 0);
|
|
37914
|
+
_defineProperty$f(this, "bearing", void 0);
|
|
37915
|
+
_defineProperty$f(this, "altitude", void 0);
|
|
37916
|
+
_defineProperty$f(this, "fovy", void 0);
|
|
37917
|
+
_defineProperty$f(this, "orthographic", void 0);
|
|
37918
|
+
_defineProperty$f(this, "_subViewports", void 0);
|
|
37919
|
+
_defineProperty$f(this, "_pseudoMeters", void 0);
|
|
37916
37920
|
this.latitude = latitude;
|
|
37917
37921
|
this.longitude = longitude;
|
|
37918
37922
|
this.zoom = zoom;
|
|
@@ -37998,7 +38002,7 @@ class WebMercatorViewport2 extends Viewport {
|
|
|
37998
38002
|
});
|
|
37999
38003
|
}
|
|
38000
38004
|
}
|
|
38001
|
-
_defineProperty$
|
|
38005
|
+
_defineProperty$f(WebMercatorViewport2, "displayName", "WebMercatorViewport");
|
|
38002
38006
|
function lngLatZToWorldPosition(lngLatZ, viewport, offsetMode = false) {
|
|
38003
38007
|
const p = viewport.projectPosition(lngLatZ);
|
|
38004
38008
|
if (offsetMode && viewport instanceof WebMercatorViewport2) {
|
|
@@ -38094,13 +38098,13 @@ const DEFAULT_LIGHT_POSITION = [0, 0, 1];
|
|
|
38094
38098
|
let idCount = 0;
|
|
38095
38099
|
class PointLight {
|
|
38096
38100
|
constructor(props2 = {}) {
|
|
38097
|
-
_defineProperty$
|
|
38098
|
-
_defineProperty$
|
|
38099
|
-
_defineProperty$
|
|
38100
|
-
_defineProperty$
|
|
38101
|
-
_defineProperty$
|
|
38102
|
-
_defineProperty$
|
|
38103
|
-
_defineProperty$
|
|
38101
|
+
_defineProperty$f(this, "id", void 0);
|
|
38102
|
+
_defineProperty$f(this, "color", void 0);
|
|
38103
|
+
_defineProperty$f(this, "intensity", void 0);
|
|
38104
|
+
_defineProperty$f(this, "type", "point");
|
|
38105
|
+
_defineProperty$f(this, "position", void 0);
|
|
38106
|
+
_defineProperty$f(this, "attenuation", void 0);
|
|
38107
|
+
_defineProperty$f(this, "projectedLight", void 0);
|
|
38104
38108
|
const {
|
|
38105
38109
|
color = DEFAULT_LIGHT_COLOR
|
|
38106
38110
|
} = props2;
|
|
@@ -38257,7 +38261,7 @@ function getSunCoords(dates) {
|
|
|
38257
38261
|
class SunLight extends DirectionalLight {
|
|
38258
38262
|
constructor(opts2) {
|
|
38259
38263
|
super(opts2);
|
|
38260
|
-
_defineProperty$
|
|
38264
|
+
_defineProperty$f(this, "timestamp", void 0);
|
|
38261
38265
|
this.timestamp = opts2.timestamp;
|
|
38262
38266
|
}
|
|
38263
38267
|
getProjectedLight({
|
|
@@ -38283,7 +38287,7 @@ class SunLight extends DirectionalLight {
|
|
|
38283
38287
|
class ScreenPass extends Pass {
|
|
38284
38288
|
constructor(gl, props2) {
|
|
38285
38289
|
super(gl, props2);
|
|
38286
|
-
_defineProperty$
|
|
38290
|
+
_defineProperty$f(this, "model", void 0);
|
|
38287
38291
|
const {
|
|
38288
38292
|
module: module2,
|
|
38289
38293
|
fs: fs2,
|
|
@@ -38331,10 +38335,10 @@ class ScreenPass extends Pass {
|
|
|
38331
38335
|
}
|
|
38332
38336
|
class PostProcessEffect {
|
|
38333
38337
|
constructor(module2, props2 = {}) {
|
|
38334
|
-
_defineProperty$
|
|
38335
|
-
_defineProperty$
|
|
38336
|
-
_defineProperty$
|
|
38337
|
-
_defineProperty$
|
|
38338
|
+
_defineProperty$f(this, "id", void 0);
|
|
38339
|
+
_defineProperty$f(this, "props", void 0);
|
|
38340
|
+
_defineProperty$f(this, "module", void 0);
|
|
38341
|
+
_defineProperty$f(this, "passes", void 0);
|
|
38338
38342
|
this.id = "".concat(module2.name, "-pass");
|
|
38339
38343
|
this.props = props2;
|
|
38340
38344
|
normalizeShaderModule(module2);
|
|
@@ -38463,16 +38467,16 @@ function fillArray({
|
|
|
38463
38467
|
}
|
|
38464
38468
|
class Resource2 {
|
|
38465
38469
|
constructor(id, data, context) {
|
|
38466
|
-
_defineProperty$
|
|
38467
|
-
_defineProperty$
|
|
38468
|
-
_defineProperty$
|
|
38469
|
-
_defineProperty$
|
|
38470
|
-
_defineProperty$
|
|
38471
|
-
_defineProperty$
|
|
38472
|
-
_defineProperty$
|
|
38473
|
-
_defineProperty$
|
|
38474
|
-
_defineProperty$
|
|
38475
|
-
_defineProperty$
|
|
38470
|
+
_defineProperty$f(this, "id", void 0);
|
|
38471
|
+
_defineProperty$f(this, "context", void 0);
|
|
38472
|
+
_defineProperty$f(this, "isLoaded", void 0);
|
|
38473
|
+
_defineProperty$f(this, "persistent", void 0);
|
|
38474
|
+
_defineProperty$f(this, "_loadCount", 0);
|
|
38475
|
+
_defineProperty$f(this, "_subscribers", /* @__PURE__ */ new Set());
|
|
38476
|
+
_defineProperty$f(this, "_data", void 0);
|
|
38477
|
+
_defineProperty$f(this, "_loader", void 0);
|
|
38478
|
+
_defineProperty$f(this, "_error", void 0);
|
|
38479
|
+
_defineProperty$f(this, "_content", void 0);
|
|
38476
38480
|
this.id = id;
|
|
38477
38481
|
this.context = context;
|
|
38478
38482
|
this.setData(data);
|
|
@@ -38530,11 +38534,11 @@ class ResourceManager {
|
|
|
38530
38534
|
gl,
|
|
38531
38535
|
protocol
|
|
38532
38536
|
}) {
|
|
38533
|
-
_defineProperty$
|
|
38534
|
-
_defineProperty$
|
|
38535
|
-
_defineProperty$
|
|
38536
|
-
_defineProperty$
|
|
38537
|
-
_defineProperty$
|
|
38537
|
+
_defineProperty$f(this, "protocol", void 0);
|
|
38538
|
+
_defineProperty$f(this, "_context", void 0);
|
|
38539
|
+
_defineProperty$f(this, "_resources", void 0);
|
|
38540
|
+
_defineProperty$f(this, "_consumers", void 0);
|
|
38541
|
+
_defineProperty$f(this, "_pruneRequest", void 0);
|
|
38538
38542
|
this.protocol = protocol || "resource://";
|
|
38539
38543
|
this._context = {
|
|
38540
38544
|
gl,
|
|
@@ -38661,15 +38665,15 @@ class LayerManager {
|
|
|
38661
38665
|
viewport: _viewport,
|
|
38662
38666
|
timeline
|
|
38663
38667
|
} = {}) {
|
|
38664
|
-
_defineProperty$
|
|
38665
|
-
_defineProperty$
|
|
38666
|
-
_defineProperty$
|
|
38667
|
-
_defineProperty$
|
|
38668
|
-
_defineProperty$
|
|
38669
|
-
_defineProperty$
|
|
38670
|
-
_defineProperty$
|
|
38671
|
-
_defineProperty$
|
|
38672
|
-
_defineProperty$
|
|
38668
|
+
_defineProperty$f(this, "layers", void 0);
|
|
38669
|
+
_defineProperty$f(this, "context", void 0);
|
|
38670
|
+
_defineProperty$f(this, "resourceManager", void 0);
|
|
38671
|
+
_defineProperty$f(this, "_lastRenderedLayers", []);
|
|
38672
|
+
_defineProperty$f(this, "_needsRedraw", false);
|
|
38673
|
+
_defineProperty$f(this, "_needsUpdate", false);
|
|
38674
|
+
_defineProperty$f(this, "_nextLayers", null);
|
|
38675
|
+
_defineProperty$f(this, "_debug", false);
|
|
38676
|
+
_defineProperty$f(this, "activateViewport", (viewport) => {
|
|
38673
38677
|
debug(TRACE_ACTIVATE_VIEWPORT, this, viewport);
|
|
38674
38678
|
if (viewport) {
|
|
38675
38679
|
this.context.viewport = viewport;
|
|
@@ -38880,19 +38884,19 @@ function deepEqual$2(a2, b) {
|
|
|
38880
38884
|
}
|
|
38881
38885
|
class ViewManager {
|
|
38882
38886
|
constructor(props2) {
|
|
38883
|
-
_defineProperty$
|
|
38884
|
-
_defineProperty$
|
|
38885
|
-
_defineProperty$
|
|
38886
|
-
_defineProperty$
|
|
38887
|
-
_defineProperty$
|
|
38888
|
-
_defineProperty$
|
|
38889
|
-
_defineProperty$
|
|
38890
|
-
_defineProperty$
|
|
38891
|
-
_defineProperty$
|
|
38892
|
-
_defineProperty$
|
|
38893
|
-
_defineProperty$
|
|
38894
|
-
_defineProperty$
|
|
38895
|
-
_defineProperty$
|
|
38887
|
+
_defineProperty$f(this, "width", void 0);
|
|
38888
|
+
_defineProperty$f(this, "height", void 0);
|
|
38889
|
+
_defineProperty$f(this, "views", void 0);
|
|
38890
|
+
_defineProperty$f(this, "viewState", void 0);
|
|
38891
|
+
_defineProperty$f(this, "controllers", void 0);
|
|
38892
|
+
_defineProperty$f(this, "timeline", void 0);
|
|
38893
|
+
_defineProperty$f(this, "_viewports", void 0);
|
|
38894
|
+
_defineProperty$f(this, "_viewportMap", void 0);
|
|
38895
|
+
_defineProperty$f(this, "_isUpdating", void 0);
|
|
38896
|
+
_defineProperty$f(this, "_needsRedraw", void 0);
|
|
38897
|
+
_defineProperty$f(this, "_needsUpdate", void 0);
|
|
38898
|
+
_defineProperty$f(this, "_eventManager", void 0);
|
|
38899
|
+
_defineProperty$f(this, "_eventCallbacks", void 0);
|
|
38896
38900
|
this.views = [];
|
|
38897
38901
|
this.width = 100;
|
|
38898
38902
|
this.height = 100;
|
|
@@ -39166,14 +39170,14 @@ function assert$4(condition, message) {
|
|
|
39166
39170
|
}
|
|
39167
39171
|
class View {
|
|
39168
39172
|
constructor(props2) {
|
|
39169
|
-
_defineProperty$
|
|
39170
|
-
_defineProperty$
|
|
39171
|
-
_defineProperty$
|
|
39172
|
-
_defineProperty$
|
|
39173
|
-
_defineProperty$
|
|
39174
|
-
_defineProperty$
|
|
39175
|
-
_defineProperty$
|
|
39176
|
-
_defineProperty$
|
|
39173
|
+
_defineProperty$f(this, "id", void 0);
|
|
39174
|
+
_defineProperty$f(this, "viewportInstance", void 0);
|
|
39175
|
+
_defineProperty$f(this, "_x", void 0);
|
|
39176
|
+
_defineProperty$f(this, "_y", void 0);
|
|
39177
|
+
_defineProperty$f(this, "_width", void 0);
|
|
39178
|
+
_defineProperty$f(this, "_height", void 0);
|
|
39179
|
+
_defineProperty$f(this, "_padding", void 0);
|
|
39180
|
+
_defineProperty$f(this, "props", void 0);
|
|
39177
39181
|
const {
|
|
39178
39182
|
id,
|
|
39179
39183
|
x: x2 = 0,
|
|
@@ -39300,11 +39304,11 @@ class View {
|
|
|
39300
39304
|
}
|
|
39301
39305
|
let Transition$2 = class Transition {
|
|
39302
39306
|
constructor(timeline) {
|
|
39303
|
-
_defineProperty$
|
|
39304
|
-
_defineProperty$
|
|
39305
|
-
_defineProperty$
|
|
39306
|
-
_defineProperty$
|
|
39307
|
-
_defineProperty$
|
|
39307
|
+
_defineProperty$f(this, "_inProgress", void 0);
|
|
39308
|
+
_defineProperty$f(this, "_handle", void 0);
|
|
39309
|
+
_defineProperty$f(this, "_timeline", void 0);
|
|
39310
|
+
_defineProperty$f(this, "time", void 0);
|
|
39311
|
+
_defineProperty$f(this, "settings", void 0);
|
|
39308
39312
|
this._inProgress = false;
|
|
39309
39313
|
this._handle = null;
|
|
39310
39314
|
this._timeline = timeline;
|
|
@@ -39378,13 +39382,13 @@ const DEFAULT_EASING = (t2) => t2;
|
|
|
39378
39382
|
const DEFAULT_INTERRUPTION = TRANSITION_EVENTS.BREAK;
|
|
39379
39383
|
class TransitionManager {
|
|
39380
39384
|
constructor(opts2) {
|
|
39381
|
-
_defineProperty$
|
|
39382
|
-
_defineProperty$
|
|
39383
|
-
_defineProperty$
|
|
39384
|
-
_defineProperty$
|
|
39385
|
-
_defineProperty$
|
|
39386
|
-
_defineProperty$
|
|
39387
|
-
_defineProperty$
|
|
39385
|
+
_defineProperty$f(this, "getControllerState", void 0);
|
|
39386
|
+
_defineProperty$f(this, "props", void 0);
|
|
39387
|
+
_defineProperty$f(this, "propsInTransition", void 0);
|
|
39388
|
+
_defineProperty$f(this, "transition", void 0);
|
|
39389
|
+
_defineProperty$f(this, "onViewStateChange", void 0);
|
|
39390
|
+
_defineProperty$f(this, "onStateChange", void 0);
|
|
39391
|
+
_defineProperty$f(this, "_onTransitionUpdate", (transition2) => {
|
|
39388
39392
|
const {
|
|
39389
39393
|
time,
|
|
39390
39394
|
settings: {
|
|
@@ -39512,9 +39516,9 @@ class TransitionManager {
|
|
|
39512
39516
|
}
|
|
39513
39517
|
class TransitionInterpolator {
|
|
39514
39518
|
constructor(opts2) {
|
|
39515
|
-
_defineProperty$
|
|
39516
|
-
_defineProperty$
|
|
39517
|
-
_defineProperty$
|
|
39519
|
+
_defineProperty$f(this, "_propsToCompare", void 0);
|
|
39520
|
+
_defineProperty$f(this, "_propsToExtract", void 0);
|
|
39521
|
+
_defineProperty$f(this, "_requiredProps", void 0);
|
|
39518
39522
|
const {
|
|
39519
39523
|
compare: compare2,
|
|
39520
39524
|
extract,
|
|
@@ -39575,7 +39579,7 @@ class LinearInterpolator extends TransitionInterpolator {
|
|
|
39575
39579
|
required: DEFAULT_REQUIRED_PROPS
|
|
39576
39580
|
};
|
|
39577
39581
|
super(normalizedOpts.transitionProps);
|
|
39578
|
-
_defineProperty$
|
|
39582
|
+
_defineProperty$f(this, "opts", void 0);
|
|
39579
39583
|
this.opts = normalizedOpts;
|
|
39580
39584
|
}
|
|
39581
39585
|
initializeProps(startProps, endProps) {
|
|
@@ -39629,31 +39633,31 @@ const EVENT_TYPES = {
|
|
|
39629
39633
|
const pinchEventWorkaround = {};
|
|
39630
39634
|
class Controller {
|
|
39631
39635
|
constructor(opts2) {
|
|
39632
|
-
_defineProperty$
|
|
39633
|
-
_defineProperty$
|
|
39634
|
-
_defineProperty$
|
|
39635
|
-
_defineProperty$
|
|
39636
|
-
_defineProperty$
|
|
39637
|
-
_defineProperty$
|
|
39638
|
-
_defineProperty$
|
|
39639
|
-
_defineProperty$
|
|
39640
|
-
_defineProperty$
|
|
39641
|
-
_defineProperty$
|
|
39636
|
+
_defineProperty$f(this, "props", void 0);
|
|
39637
|
+
_defineProperty$f(this, "state", {});
|
|
39638
|
+
_defineProperty$f(this, "transitionManager", void 0);
|
|
39639
|
+
_defineProperty$f(this, "eventManager", void 0);
|
|
39640
|
+
_defineProperty$f(this, "onViewStateChange", void 0);
|
|
39641
|
+
_defineProperty$f(this, "onStateChange", void 0);
|
|
39642
|
+
_defineProperty$f(this, "makeViewport", void 0);
|
|
39643
|
+
_defineProperty$f(this, "_controllerState", void 0);
|
|
39644
|
+
_defineProperty$f(this, "_events", {});
|
|
39645
|
+
_defineProperty$f(this, "_interactionState", {
|
|
39642
39646
|
isDragging: false
|
|
39643
39647
|
});
|
|
39644
|
-
_defineProperty$
|
|
39645
|
-
_defineProperty$
|
|
39646
|
-
_defineProperty$
|
|
39647
|
-
_defineProperty$
|
|
39648
|
-
_defineProperty$
|
|
39649
|
-
_defineProperty$
|
|
39650
|
-
_defineProperty$
|
|
39651
|
-
_defineProperty$
|
|
39652
|
-
_defineProperty$
|
|
39653
|
-
_defineProperty$
|
|
39654
|
-
_defineProperty$
|
|
39655
|
-
_defineProperty$
|
|
39656
|
-
_defineProperty$
|
|
39648
|
+
_defineProperty$f(this, "_customEvents", []);
|
|
39649
|
+
_defineProperty$f(this, "_eventStartBlocked", null);
|
|
39650
|
+
_defineProperty$f(this, "_panMove", false);
|
|
39651
|
+
_defineProperty$f(this, "invertPan", false);
|
|
39652
|
+
_defineProperty$f(this, "dragMode", "rotate");
|
|
39653
|
+
_defineProperty$f(this, "inertia", 0);
|
|
39654
|
+
_defineProperty$f(this, "scrollZoom", true);
|
|
39655
|
+
_defineProperty$f(this, "dragPan", true);
|
|
39656
|
+
_defineProperty$f(this, "dragRotate", true);
|
|
39657
|
+
_defineProperty$f(this, "doubleClickZoom", true);
|
|
39658
|
+
_defineProperty$f(this, "touchZoom", true);
|
|
39659
|
+
_defineProperty$f(this, "touchRotate", false);
|
|
39660
|
+
_defineProperty$f(this, "keyboard", true);
|
|
39657
39661
|
this.transitionManager = new TransitionManager({
|
|
39658
39662
|
...opts2,
|
|
39659
39663
|
getControllerState: (props2) => new this.ControllerState(props2),
|
|
@@ -40264,8 +40268,8 @@ class Controller {
|
|
|
40264
40268
|
}
|
|
40265
40269
|
class ViewState {
|
|
40266
40270
|
constructor(props2, state) {
|
|
40267
|
-
_defineProperty$
|
|
40268
|
-
_defineProperty$
|
|
40271
|
+
_defineProperty$f(this, "_viewportProps", void 0);
|
|
40272
|
+
_defineProperty$f(this, "_state", void 0);
|
|
40269
40273
|
this._viewportProps = this.applyConstraints(props2);
|
|
40270
40274
|
this._state = state;
|
|
40271
40275
|
}
|
|
@@ -40328,7 +40332,7 @@ class MapState extends ViewState {
|
|
|
40328
40332
|
startPitch,
|
|
40329
40333
|
startZoom
|
|
40330
40334
|
});
|
|
40331
|
-
_defineProperty$
|
|
40335
|
+
_defineProperty$f(this, "makeViewport", void 0);
|
|
40332
40336
|
this.makeViewport = options.makeViewport;
|
|
40333
40337
|
}
|
|
40334
40338
|
panStart({
|
|
@@ -40588,8 +40592,8 @@ class MapState extends ViewState {
|
|
|
40588
40592
|
class MapController extends Controller {
|
|
40589
40593
|
constructor(...args) {
|
|
40590
40594
|
super(...args);
|
|
40591
|
-
_defineProperty$
|
|
40592
|
-
_defineProperty$
|
|
40595
|
+
_defineProperty$f(this, "ControllerState", MapState);
|
|
40596
|
+
_defineProperty$f(this, "transition", {
|
|
40593
40597
|
transitionDuration: 300,
|
|
40594
40598
|
transitionInterpolator: new LinearInterpolator({
|
|
40595
40599
|
transitionProps: {
|
|
@@ -40598,7 +40602,7 @@ class MapController extends Controller {
|
|
|
40598
40602
|
}
|
|
40599
40603
|
})
|
|
40600
40604
|
});
|
|
40601
|
-
_defineProperty$
|
|
40605
|
+
_defineProperty$f(this, "dragMode", "pan");
|
|
40602
40606
|
}
|
|
40603
40607
|
setProps(props2) {
|
|
40604
40608
|
props2.position = props2.position || [0, 0, 0];
|
|
@@ -40622,12 +40626,12 @@ class MapView extends View {
|
|
|
40622
40626
|
return MapController;
|
|
40623
40627
|
}
|
|
40624
40628
|
}
|
|
40625
|
-
_defineProperty$
|
|
40629
|
+
_defineProperty$f(MapView, "displayName", "MapView");
|
|
40626
40630
|
class MaskPass extends LayersPass {
|
|
40627
40631
|
constructor(gl, props2) {
|
|
40628
40632
|
super(gl, props2);
|
|
40629
|
-
_defineProperty$
|
|
40630
|
-
_defineProperty$
|
|
40633
|
+
_defineProperty$f(this, "maskMap", void 0);
|
|
40634
|
+
_defineProperty$f(this, "fbo", void 0);
|
|
40631
40635
|
const {
|
|
40632
40636
|
mapSize = 2048
|
|
40633
40637
|
} = props2;
|
|
@@ -40814,7 +40818,7 @@ class OrbitState extends ViewState {
|
|
|
40814
40818
|
startZoomPosition,
|
|
40815
40819
|
startZoom
|
|
40816
40820
|
});
|
|
40817
|
-
_defineProperty$
|
|
40821
|
+
_defineProperty$f(this, "makeViewport", void 0);
|
|
40818
40822
|
this.makeViewport = options.makeViewport;
|
|
40819
40823
|
}
|
|
40820
40824
|
panStart({
|
|
@@ -41051,8 +41055,8 @@ class OrbitState extends ViewState {
|
|
|
41051
41055
|
class OrbitController extends Controller {
|
|
41052
41056
|
constructor(...args) {
|
|
41053
41057
|
super(...args);
|
|
41054
|
-
_defineProperty$
|
|
41055
|
-
_defineProperty$
|
|
41058
|
+
_defineProperty$f(this, "ControllerState", OrbitState);
|
|
41059
|
+
_defineProperty$f(this, "transition", {
|
|
41056
41060
|
transitionDuration: 300,
|
|
41057
41061
|
transitionInterpolator: new LinearInterpolator({
|
|
41058
41062
|
transitionProps: {
|
|
@@ -41066,7 +41070,7 @@ class OrbitController extends Controller {
|
|
|
41066
41070
|
class OrthographicState extends OrbitState {
|
|
41067
41071
|
constructor(props2) {
|
|
41068
41072
|
super(props2);
|
|
41069
|
-
_defineProperty$
|
|
41073
|
+
_defineProperty$f(this, "zoomAxis", void 0);
|
|
41070
41074
|
this.zoomAxis = props2.zoomAxis || "all";
|
|
41071
41075
|
}
|
|
41072
41076
|
_calculateNewZoom({
|
|
@@ -41110,12 +41114,12 @@ class OrthographicState extends OrbitState {
|
|
|
41110
41114
|
class OrthographicController extends Controller {
|
|
41111
41115
|
constructor(...args) {
|
|
41112
41116
|
super(...args);
|
|
41113
|
-
_defineProperty$
|
|
41114
|
-
_defineProperty$
|
|
41117
|
+
_defineProperty$f(this, "ControllerState", OrthographicState);
|
|
41118
|
+
_defineProperty$f(this, "transition", {
|
|
41115
41119
|
transitionDuration: 300,
|
|
41116
41120
|
transitionInterpolator: new LinearInterpolator(["target", "zoom"])
|
|
41117
41121
|
});
|
|
41118
|
-
_defineProperty$
|
|
41122
|
+
_defineProperty$f(this, "dragMode", "pan");
|
|
41119
41123
|
}
|
|
41120
41124
|
_onPanRotate() {
|
|
41121
41125
|
return false;
|
|
@@ -41129,7 +41133,7 @@ class OrthographicView extends View {
|
|
|
41129
41133
|
return OrthographicController;
|
|
41130
41134
|
}
|
|
41131
41135
|
}
|
|
41132
|
-
_defineProperty$
|
|
41136
|
+
_defineProperty$f(OrthographicView, "displayName", "OrthographicView");
|
|
41133
41137
|
function getMaskBounds({
|
|
41134
41138
|
layers,
|
|
41135
41139
|
viewport
|
|
@@ -41222,15 +41226,15 @@ function _doubleBounds(bounds2) {
|
|
|
41222
41226
|
}
|
|
41223
41227
|
class MaskEffect {
|
|
41224
41228
|
constructor() {
|
|
41225
|
-
_defineProperty$
|
|
41226
|
-
_defineProperty$
|
|
41227
|
-
_defineProperty$
|
|
41228
|
-
_defineProperty$
|
|
41229
|
-
_defineProperty$
|
|
41230
|
-
_defineProperty$
|
|
41231
|
-
_defineProperty$
|
|
41232
|
-
_defineProperty$
|
|
41233
|
-
_defineProperty$
|
|
41229
|
+
_defineProperty$f(this, "id", "mask-effect");
|
|
41230
|
+
_defineProperty$f(this, "props", null);
|
|
41231
|
+
_defineProperty$f(this, "useInPicking", true);
|
|
41232
|
+
_defineProperty$f(this, "dummyMaskMap", void 0);
|
|
41233
|
+
_defineProperty$f(this, "channels", []);
|
|
41234
|
+
_defineProperty$f(this, "masks", null);
|
|
41235
|
+
_defineProperty$f(this, "maskPass", void 0);
|
|
41236
|
+
_defineProperty$f(this, "maskMap", void 0);
|
|
41237
|
+
_defineProperty$f(this, "lastViewport", void 0);
|
|
41234
41238
|
}
|
|
41235
41239
|
preRender(gl, {
|
|
41236
41240
|
layers,
|
|
@@ -41390,9 +41394,9 @@ class MaskEffect {
|
|
|
41390
41394
|
const DEFAULT_LIGHTING_EFFECT = new LightingEffect();
|
|
41391
41395
|
class EffectManager {
|
|
41392
41396
|
constructor() {
|
|
41393
|
-
_defineProperty$
|
|
41394
|
-
_defineProperty$
|
|
41395
|
-
_defineProperty$
|
|
41397
|
+
_defineProperty$f(this, "effects", void 0);
|
|
41398
|
+
_defineProperty$f(this, "_internalEffects", void 0);
|
|
41399
|
+
_defineProperty$f(this, "_needsRedraw", void 0);
|
|
41396
41400
|
this.effects = [];
|
|
41397
41401
|
this._internalEffects = [];
|
|
41398
41402
|
this._needsRedraw = "Initial render";
|
|
@@ -41453,8 +41457,8 @@ const PICKING_PARAMETERS = {
|
|
|
41453
41457
|
class PickLayersPass extends LayersPass {
|
|
41454
41458
|
constructor(...args) {
|
|
41455
41459
|
super(...args);
|
|
41456
|
-
_defineProperty$
|
|
41457
|
-
_defineProperty$
|
|
41460
|
+
_defineProperty$f(this, "pickZ", void 0);
|
|
41461
|
+
_defineProperty$f(this, "_colors", null);
|
|
41458
41462
|
}
|
|
41459
41463
|
render(props2) {
|
|
41460
41464
|
if (props2.pickingFBO) {
|
|
@@ -41885,13 +41889,13 @@ function getViewportFromCoordinates(viewports, pixel) {
|
|
|
41885
41889
|
}
|
|
41886
41890
|
class DeckPicker {
|
|
41887
41891
|
constructor(gl) {
|
|
41888
|
-
_defineProperty$
|
|
41889
|
-
_defineProperty$
|
|
41890
|
-
_defineProperty$
|
|
41891
|
-
_defineProperty$
|
|
41892
|
-
_defineProperty$
|
|
41893
|
-
_defineProperty$
|
|
41894
|
-
_defineProperty$
|
|
41892
|
+
_defineProperty$f(this, "gl", void 0);
|
|
41893
|
+
_defineProperty$f(this, "pickingFBO", void 0);
|
|
41894
|
+
_defineProperty$f(this, "depthFBO", void 0);
|
|
41895
|
+
_defineProperty$f(this, "pickLayersPass", void 0);
|
|
41896
|
+
_defineProperty$f(this, "layerFilter", void 0);
|
|
41897
|
+
_defineProperty$f(this, "lastPickedInfo", void 0);
|
|
41898
|
+
_defineProperty$f(this, "_pickable", true);
|
|
41895
41899
|
this.gl = gl;
|
|
41896
41900
|
this.pickLayersPass = new PickLayersPass(gl);
|
|
41897
41901
|
this.lastPickedInfo = {
|
|
@@ -42263,8 +42267,8 @@ const defaultStyle = {
|
|
|
42263
42267
|
};
|
|
42264
42268
|
let Tooltip$1 = class Tooltip {
|
|
42265
42269
|
constructor(canvas) {
|
|
42266
|
-
_defineProperty$
|
|
42267
|
-
_defineProperty$
|
|
42270
|
+
_defineProperty$f(this, "el", null);
|
|
42271
|
+
_defineProperty$f(this, "isVisible", false);
|
|
42268
42272
|
const canvasParent = canvas.parentElement;
|
|
42269
42273
|
if (canvasParent) {
|
|
42270
42274
|
this.el = document.createElement("div");
|
|
@@ -44994,28 +44998,28 @@ const defaultProps$M = {
|
|
|
44994
44998
|
};
|
|
44995
44999
|
class Deck {
|
|
44996
45000
|
constructor(props2) {
|
|
44997
|
-
_defineProperty$
|
|
44998
|
-
_defineProperty$
|
|
44999
|
-
_defineProperty$
|
|
45000
|
-
_defineProperty$
|
|
45001
|
-
_defineProperty$
|
|
45002
|
-
_defineProperty$
|
|
45003
|
-
_defineProperty$
|
|
45004
|
-
_defineProperty$
|
|
45005
|
-
_defineProperty$
|
|
45006
|
-
_defineProperty$
|
|
45007
|
-
_defineProperty$
|
|
45008
|
-
_defineProperty$
|
|
45009
|
-
_defineProperty$
|
|
45010
|
-
_defineProperty$
|
|
45011
|
-
_defineProperty$
|
|
45012
|
-
_defineProperty$
|
|
45013
|
-
_defineProperty$
|
|
45014
|
-
_defineProperty$
|
|
45015
|
-
_defineProperty$
|
|
45016
|
-
_defineProperty$
|
|
45017
|
-
_defineProperty$
|
|
45018
|
-
_defineProperty$
|
|
45001
|
+
_defineProperty$f(this, "props", void 0);
|
|
45002
|
+
_defineProperty$f(this, "width", 0);
|
|
45003
|
+
_defineProperty$f(this, "height", 0);
|
|
45004
|
+
_defineProperty$f(this, "userData", {});
|
|
45005
|
+
_defineProperty$f(this, "canvas", null);
|
|
45006
|
+
_defineProperty$f(this, "viewManager", null);
|
|
45007
|
+
_defineProperty$f(this, "layerManager", null);
|
|
45008
|
+
_defineProperty$f(this, "effectManager", null);
|
|
45009
|
+
_defineProperty$f(this, "deckRenderer", null);
|
|
45010
|
+
_defineProperty$f(this, "deckPicker", null);
|
|
45011
|
+
_defineProperty$f(this, "eventManager", null);
|
|
45012
|
+
_defineProperty$f(this, "tooltip", null);
|
|
45013
|
+
_defineProperty$f(this, "metrics", void 0);
|
|
45014
|
+
_defineProperty$f(this, "animationLoop", void 0);
|
|
45015
|
+
_defineProperty$f(this, "stats", void 0);
|
|
45016
|
+
_defineProperty$f(this, "viewState", void 0);
|
|
45017
|
+
_defineProperty$f(this, "cursorState", void 0);
|
|
45018
|
+
_defineProperty$f(this, "_needsRedraw", void 0);
|
|
45019
|
+
_defineProperty$f(this, "_pickRequest", void 0);
|
|
45020
|
+
_defineProperty$f(this, "_lastPointerDownInfo", null);
|
|
45021
|
+
_defineProperty$f(this, "_metricsCounter", void 0);
|
|
45022
|
+
_defineProperty$f(this, "_onPointerMove", (event) => {
|
|
45019
45023
|
const {
|
|
45020
45024
|
_pickRequest
|
|
45021
45025
|
} = this;
|
|
@@ -45042,7 +45046,7 @@ class Deck {
|
|
|
45042
45046
|
}
|
|
45043
45047
|
_pickRequest.event = event;
|
|
45044
45048
|
});
|
|
45045
|
-
_defineProperty$
|
|
45049
|
+
_defineProperty$f(this, "_onEvent", (event) => {
|
|
45046
45050
|
const eventOptions = EVENTS[event.type];
|
|
45047
45051
|
const pos = event.offsetCenter;
|
|
45048
45052
|
if (!eventOptions || !pos || !this.layerManager) {
|
|
@@ -45068,7 +45072,7 @@ class Deck {
|
|
|
45068
45072
|
rootHandler(info, event);
|
|
45069
45073
|
}
|
|
45070
45074
|
});
|
|
45071
|
-
_defineProperty$
|
|
45075
|
+
_defineProperty$f(this, "_onPointerDown", (event) => {
|
|
45072
45076
|
const pos = event.offsetCenter;
|
|
45073
45077
|
const pickedInfo = this._pick("pickObject", "pickObject Time", {
|
|
45074
45078
|
x: pos.x,
|
|
@@ -45580,12 +45584,12 @@ class Deck {
|
|
|
45580
45584
|
metrics.gpuMemory = memoryStats.get("GPU Memory").count;
|
|
45581
45585
|
}
|
|
45582
45586
|
}
|
|
45583
|
-
_defineProperty$
|
|
45584
|
-
_defineProperty$
|
|
45587
|
+
_defineProperty$f(Deck, "defaultProps", defaultProps$M);
|
|
45588
|
+
_defineProperty$f(Deck, "VERSION", deckGlobal.VERSION);
|
|
45585
45589
|
class ShaderAttribute {
|
|
45586
45590
|
constructor(dataColumn, opts2) {
|
|
45587
|
-
_defineProperty$
|
|
45588
|
-
_defineProperty$
|
|
45591
|
+
_defineProperty$f(this, "opts", void 0);
|
|
45592
|
+
_defineProperty$f(this, "source", void 0);
|
|
45589
45593
|
this.opts = opts2;
|
|
45590
45594
|
this.source = dataColumn;
|
|
45591
45595
|
}
|
|
@@ -45675,14 +45679,14 @@ function resolveDoublePrecisionShaderAttributes(baseAccessor, shaderAttributeOpt
|
|
|
45675
45679
|
}
|
|
45676
45680
|
class DataColumn {
|
|
45677
45681
|
constructor(gl, opts2, state) {
|
|
45678
|
-
_defineProperty$
|
|
45679
|
-
_defineProperty$
|
|
45680
|
-
_defineProperty$
|
|
45681
|
-
_defineProperty$
|
|
45682
|
-
_defineProperty$
|
|
45683
|
-
_defineProperty$
|
|
45684
|
-
_defineProperty$
|
|
45685
|
-
_defineProperty$
|
|
45682
|
+
_defineProperty$f(this, "gl", void 0);
|
|
45683
|
+
_defineProperty$f(this, "id", void 0);
|
|
45684
|
+
_defineProperty$f(this, "size", void 0);
|
|
45685
|
+
_defineProperty$f(this, "settings", void 0);
|
|
45686
|
+
_defineProperty$f(this, "value", void 0);
|
|
45687
|
+
_defineProperty$f(this, "doublePrecision", void 0);
|
|
45688
|
+
_defineProperty$f(this, "_buffer", void 0);
|
|
45689
|
+
_defineProperty$f(this, "state", void 0);
|
|
45686
45690
|
this.gl = gl;
|
|
45687
45691
|
this.id = opts2.id || "";
|
|
45688
45692
|
this.size = opts2.size || 1;
|
|
@@ -46335,7 +46339,7 @@ class Attribute extends DataColumn {
|
|
|
46335
46339
|
needsRedraw: false,
|
|
46336
46340
|
updateRanges: FULL
|
|
46337
46341
|
});
|
|
46338
|
-
_defineProperty$
|
|
46342
|
+
_defineProperty$f(this, "constant", false);
|
|
46339
46343
|
this.settings.update = opts2.update || (opts2.accessor ? this._autoUpdater : void 0);
|
|
46340
46344
|
Object.seal(this.settings);
|
|
46341
46345
|
Object.seal(this.state);
|
|
@@ -46657,16 +46661,16 @@ class GPUInterpolationTransition {
|
|
|
46657
46661
|
attribute,
|
|
46658
46662
|
timeline
|
|
46659
46663
|
}) {
|
|
46660
|
-
_defineProperty$
|
|
46661
|
-
_defineProperty$
|
|
46662
|
-
_defineProperty$
|
|
46663
|
-
_defineProperty$
|
|
46664
|
-
_defineProperty$
|
|
46665
|
-
_defineProperty$
|
|
46666
|
-
_defineProperty$
|
|
46667
|
-
_defineProperty$
|
|
46668
|
-
_defineProperty$
|
|
46669
|
-
_defineProperty$
|
|
46664
|
+
_defineProperty$f(this, "gl", void 0);
|
|
46665
|
+
_defineProperty$f(this, "type", "interpolation");
|
|
46666
|
+
_defineProperty$f(this, "attributeInTransition", void 0);
|
|
46667
|
+
_defineProperty$f(this, "settings", void 0);
|
|
46668
|
+
_defineProperty$f(this, "attribute", void 0);
|
|
46669
|
+
_defineProperty$f(this, "transition", void 0);
|
|
46670
|
+
_defineProperty$f(this, "currentStartIndices", void 0);
|
|
46671
|
+
_defineProperty$f(this, "currentLength", void 0);
|
|
46672
|
+
_defineProperty$f(this, "transform", void 0);
|
|
46673
|
+
_defineProperty$f(this, "buffers", void 0);
|
|
46670
46674
|
this.gl = gl;
|
|
46671
46675
|
this.transition = new Transition$2(timeline);
|
|
46672
46676
|
this.attribute = attribute;
|
|
@@ -46774,18 +46778,18 @@ class GPUSpringTransition {
|
|
|
46774
46778
|
attribute,
|
|
46775
46779
|
timeline
|
|
46776
46780
|
}) {
|
|
46777
|
-
_defineProperty$
|
|
46778
|
-
_defineProperty$
|
|
46779
|
-
_defineProperty$
|
|
46780
|
-
_defineProperty$
|
|
46781
|
-
_defineProperty$
|
|
46782
|
-
_defineProperty$
|
|
46783
|
-
_defineProperty$
|
|
46784
|
-
_defineProperty$
|
|
46785
|
-
_defineProperty$
|
|
46786
|
-
_defineProperty$
|
|
46787
|
-
_defineProperty$
|
|
46788
|
-
_defineProperty$
|
|
46781
|
+
_defineProperty$f(this, "gl", void 0);
|
|
46782
|
+
_defineProperty$f(this, "type", "spring");
|
|
46783
|
+
_defineProperty$f(this, "attributeInTransition", void 0);
|
|
46784
|
+
_defineProperty$f(this, "settings", void 0);
|
|
46785
|
+
_defineProperty$f(this, "attribute", void 0);
|
|
46786
|
+
_defineProperty$f(this, "transition", void 0);
|
|
46787
|
+
_defineProperty$f(this, "currentStartIndices", void 0);
|
|
46788
|
+
_defineProperty$f(this, "currentLength", void 0);
|
|
46789
|
+
_defineProperty$f(this, "texture", void 0);
|
|
46790
|
+
_defineProperty$f(this, "framebuffer", void 0);
|
|
46791
|
+
_defineProperty$f(this, "transform", void 0);
|
|
46792
|
+
_defineProperty$f(this, "buffers", void 0);
|
|
46789
46793
|
this.gl = gl;
|
|
46790
46794
|
this.type = "spring";
|
|
46791
46795
|
this.transition = new Transition$2(timeline);
|
|
@@ -46947,13 +46951,13 @@ class AttributeTransitionManager {
|
|
|
46947
46951
|
id,
|
|
46948
46952
|
timeline
|
|
46949
46953
|
}) {
|
|
46950
|
-
_defineProperty$
|
|
46951
|
-
_defineProperty$
|
|
46952
|
-
_defineProperty$
|
|
46953
|
-
_defineProperty$
|
|
46954
|
-
_defineProperty$
|
|
46955
|
-
_defineProperty$
|
|
46956
|
-
_defineProperty$
|
|
46954
|
+
_defineProperty$f(this, "id", void 0);
|
|
46955
|
+
_defineProperty$f(this, "isSupported", void 0);
|
|
46956
|
+
_defineProperty$f(this, "gl", void 0);
|
|
46957
|
+
_defineProperty$f(this, "timeline", void 0);
|
|
46958
|
+
_defineProperty$f(this, "transitions", void 0);
|
|
46959
|
+
_defineProperty$f(this, "needsRedraw", void 0);
|
|
46960
|
+
_defineProperty$f(this, "numInstances", void 0);
|
|
46957
46961
|
this.id = id;
|
|
46958
46962
|
this.gl = gl;
|
|
46959
46963
|
this.timeline = timeline;
|
|
@@ -47060,14 +47064,14 @@ class AttributeManager {
|
|
|
47060
47064
|
stats,
|
|
47061
47065
|
timeline
|
|
47062
47066
|
} = {}) {
|
|
47063
|
-
_defineProperty$
|
|
47064
|
-
_defineProperty$
|
|
47065
|
-
_defineProperty$
|
|
47066
|
-
_defineProperty$
|
|
47067
|
-
_defineProperty$
|
|
47068
|
-
_defineProperty$
|
|
47069
|
-
_defineProperty$
|
|
47070
|
-
_defineProperty$
|
|
47067
|
+
_defineProperty$f(this, "id", void 0);
|
|
47068
|
+
_defineProperty$f(this, "gl", void 0);
|
|
47069
|
+
_defineProperty$f(this, "attributes", void 0);
|
|
47070
|
+
_defineProperty$f(this, "updateTriggers", void 0);
|
|
47071
|
+
_defineProperty$f(this, "needsRedraw", void 0);
|
|
47072
|
+
_defineProperty$f(this, "userData", void 0);
|
|
47073
|
+
_defineProperty$f(this, "stats", void 0);
|
|
47074
|
+
_defineProperty$f(this, "attributeTransitionManager", void 0);
|
|
47071
47075
|
this.id = id;
|
|
47072
47076
|
this.gl = gl;
|
|
47073
47077
|
this.attributes = {};
|
|
@@ -48046,9 +48050,9 @@ function getComponentName(componentClass) {
|
|
|
48046
48050
|
let counter = 0;
|
|
48047
48051
|
class Component {
|
|
48048
48052
|
constructor(...propObjects) {
|
|
48049
|
-
_defineProperty$
|
|
48050
|
-
_defineProperty$
|
|
48051
|
-
_defineProperty$
|
|
48053
|
+
_defineProperty$f(this, "id", void 0);
|
|
48054
|
+
_defineProperty$f(this, "props", void 0);
|
|
48055
|
+
_defineProperty$f(this, "count", void 0);
|
|
48052
48056
|
this.props = createProps(this, propObjects);
|
|
48053
48057
|
this.id = this.props.id;
|
|
48054
48058
|
this.count = counter++;
|
|
@@ -48072,16 +48076,16 @@ class Component {
|
|
|
48072
48076
|
});
|
|
48073
48077
|
}
|
|
48074
48078
|
}
|
|
48075
|
-
_defineProperty$
|
|
48076
|
-
_defineProperty$
|
|
48079
|
+
_defineProperty$f(Component, "componentName", "Component");
|
|
48080
|
+
_defineProperty$f(Component, "defaultProps", {});
|
|
48077
48081
|
const EMPTY_PROPS = Object.freeze({});
|
|
48078
48082
|
class ComponentState {
|
|
48079
48083
|
constructor(component) {
|
|
48080
|
-
_defineProperty$
|
|
48081
|
-
_defineProperty$
|
|
48082
|
-
_defineProperty$
|
|
48083
|
-
_defineProperty$
|
|
48084
|
-
_defineProperty$
|
|
48084
|
+
_defineProperty$f(this, "component", void 0);
|
|
48085
|
+
_defineProperty$f(this, "onAsyncPropUpdated", void 0);
|
|
48086
|
+
_defineProperty$f(this, "asyncProps", void 0);
|
|
48087
|
+
_defineProperty$f(this, "oldProps", void 0);
|
|
48088
|
+
_defineProperty$f(this, "oldAsyncProps", void 0);
|
|
48085
48089
|
this.component = component;
|
|
48086
48090
|
this.asyncProps = {};
|
|
48087
48091
|
this.onAsyncPropUpdated = () => {
|
|
@@ -48284,15 +48288,15 @@ class LayerState extends ComponentState {
|
|
|
48284
48288
|
layer
|
|
48285
48289
|
}) {
|
|
48286
48290
|
super(layer);
|
|
48287
|
-
_defineProperty$
|
|
48288
|
-
_defineProperty$
|
|
48289
|
-
_defineProperty$
|
|
48290
|
-
_defineProperty$
|
|
48291
|
-
_defineProperty$
|
|
48292
|
-
_defineProperty$
|
|
48293
|
-
_defineProperty$
|
|
48294
|
-
_defineProperty$
|
|
48295
|
-
_defineProperty$
|
|
48291
|
+
_defineProperty$f(this, "attributeManager", void 0);
|
|
48292
|
+
_defineProperty$f(this, "needsRedraw", void 0);
|
|
48293
|
+
_defineProperty$f(this, "needsUpdate", void 0);
|
|
48294
|
+
_defineProperty$f(this, "subLayers", void 0);
|
|
48295
|
+
_defineProperty$f(this, "usesPickingColorCache", void 0);
|
|
48296
|
+
_defineProperty$f(this, "changeFlags", void 0);
|
|
48297
|
+
_defineProperty$f(this, "viewport", void 0);
|
|
48298
|
+
_defineProperty$f(this, "uniformTransitions", void 0);
|
|
48299
|
+
_defineProperty$f(this, "propsInTransition", void 0);
|
|
48296
48300
|
this.attributeManager = attributeManager;
|
|
48297
48301
|
this.needsRedraw = true;
|
|
48298
48302
|
this.needsUpdate = true;
|
|
@@ -48512,11 +48516,11 @@ const defaultProps$L = {
|
|
|
48512
48516
|
class Layer extends Component {
|
|
48513
48517
|
constructor(...args) {
|
|
48514
48518
|
super(...args);
|
|
48515
|
-
_defineProperty$
|
|
48516
|
-
_defineProperty$
|
|
48517
|
-
_defineProperty$
|
|
48518
|
-
_defineProperty$
|
|
48519
|
-
_defineProperty$
|
|
48519
|
+
_defineProperty$f(this, "internalState", null);
|
|
48520
|
+
_defineProperty$f(this, "lifecycle", LIFECYCLE.NO_STATE);
|
|
48521
|
+
_defineProperty$f(this, "context", void 0);
|
|
48522
|
+
_defineProperty$f(this, "state", void 0);
|
|
48523
|
+
_defineProperty$f(this, "parent", null);
|
|
48520
48524
|
}
|
|
48521
48525
|
get root() {
|
|
48522
48526
|
let layer = this;
|
|
@@ -49218,8 +49222,8 @@ class Layer extends Component {
|
|
|
49218
49222
|
this.setNeedsUpdate();
|
|
49219
49223
|
}
|
|
49220
49224
|
}
|
|
49221
|
-
_defineProperty$
|
|
49222
|
-
_defineProperty$
|
|
49225
|
+
_defineProperty$f(Layer, "defaultProps", defaultProps$L);
|
|
49226
|
+
_defineProperty$f(Layer, "layerName", "Layer");
|
|
49223
49227
|
const TRACE_RENDER_LAYERS = "compositeLayer.renderLayers";
|
|
49224
49228
|
class CompositeLayer extends Layer {
|
|
49225
49229
|
get isComposite() {
|
|
@@ -49381,7 +49385,7 @@ class CompositeLayer extends Layer {
|
|
|
49381
49385
|
}
|
|
49382
49386
|
}
|
|
49383
49387
|
}
|
|
49384
|
-
_defineProperty$
|
|
49388
|
+
_defineProperty$f(CompositeLayer, "layerName", "CompositeLayer");
|
|
49385
49389
|
const DEGREES_TO_RADIANS$1 = Math.PI / 180;
|
|
49386
49390
|
const RADIANS_TO_DEGREES = 180 / Math.PI;
|
|
49387
49391
|
const EARTH_RADIUS = 6370972;
|
|
@@ -49437,9 +49441,9 @@ class GlobeViewport extends Viewport {
|
|
|
49437
49441
|
near: nearZMultiplier,
|
|
49438
49442
|
far: Math.min(2, 1 / relativeScale + 1) * altitude * farZMultiplier
|
|
49439
49443
|
});
|
|
49440
|
-
_defineProperty$
|
|
49441
|
-
_defineProperty$
|
|
49442
|
-
_defineProperty$
|
|
49444
|
+
_defineProperty$f(this, "longitude", void 0);
|
|
49445
|
+
_defineProperty$f(this, "latitude", void 0);
|
|
49446
|
+
_defineProperty$f(this, "resolution", void 0);
|
|
49443
49447
|
this.latitude = latitude;
|
|
49444
49448
|
this.longitude = longitude;
|
|
49445
49449
|
this.resolution = resolution;
|
|
@@ -49587,7 +49591,7 @@ class OrbitViewport extends Viewport {
|
|
|
49587
49591
|
position: target,
|
|
49588
49592
|
zoom
|
|
49589
49593
|
});
|
|
49590
|
-
_defineProperty$
|
|
49594
|
+
_defineProperty$f(this, "projectedCenter", void 0);
|
|
49591
49595
|
this.projectedCenter = this.project(this.center);
|
|
49592
49596
|
}
|
|
49593
49597
|
unproject(xyz, {
|
|
@@ -49636,8 +49640,8 @@ class FirstPersonViewport extends Viewport {
|
|
|
49636
49640
|
zoom,
|
|
49637
49641
|
viewMatrix: viewMatrix2
|
|
49638
49642
|
});
|
|
49639
|
-
_defineProperty$
|
|
49640
|
-
_defineProperty$
|
|
49643
|
+
_defineProperty$f(this, "longitude", void 0);
|
|
49644
|
+
_defineProperty$f(this, "latitude", void 0);
|
|
49641
49645
|
this.latitude = latitude;
|
|
49642
49646
|
this.longitude = longitude;
|
|
49643
49647
|
}
|
|
@@ -49866,8 +49870,8 @@ class FirstPersonState extends ViewState {
|
|
|
49866
49870
|
class FirstPersonController extends Controller {
|
|
49867
49871
|
constructor(...args) {
|
|
49868
49872
|
super(...args);
|
|
49869
|
-
_defineProperty$
|
|
49870
|
-
_defineProperty$
|
|
49873
|
+
_defineProperty$f(this, "ControllerState", FirstPersonState);
|
|
49874
|
+
_defineProperty$f(this, "transition", {
|
|
49871
49875
|
transitionDuration: 300,
|
|
49872
49876
|
transitionInterpolator: new LinearInterpolator(["position", "pitch", "bearing"])
|
|
49873
49877
|
});
|
|
@@ -49881,7 +49885,7 @@ class FirstPersonView extends View {
|
|
|
49881
49885
|
return FirstPersonController;
|
|
49882
49886
|
}
|
|
49883
49887
|
}
|
|
49884
|
-
_defineProperty$
|
|
49888
|
+
_defineProperty$f(FirstPersonView, "displayName", "FirstPersonView");
|
|
49885
49889
|
class OrbitView extends View {
|
|
49886
49890
|
constructor(props2 = {}) {
|
|
49887
49891
|
super(props2);
|
|
@@ -49894,7 +49898,7 @@ class OrbitView extends View {
|
|
|
49894
49898
|
return OrbitController;
|
|
49895
49899
|
}
|
|
49896
49900
|
}
|
|
49897
|
-
_defineProperty$
|
|
49901
|
+
_defineProperty$f(OrbitView, "displayName", "OrbitView");
|
|
49898
49902
|
class GlobeState extends MapState {
|
|
49899
49903
|
applyConstraints(props2) {
|
|
49900
49904
|
const {
|
|
@@ -49917,12 +49921,12 @@ class GlobeState extends MapState {
|
|
|
49917
49921
|
class GlobeController extends Controller {
|
|
49918
49922
|
constructor(...args) {
|
|
49919
49923
|
super(...args);
|
|
49920
|
-
_defineProperty$
|
|
49921
|
-
_defineProperty$
|
|
49924
|
+
_defineProperty$f(this, "ControllerState", GlobeState);
|
|
49925
|
+
_defineProperty$f(this, "transition", {
|
|
49922
49926
|
transitionDuration: 300,
|
|
49923
49927
|
transitionInterpolator: new LinearInterpolator(["longitude", "latitude", "zoom"])
|
|
49924
49928
|
});
|
|
49925
|
-
_defineProperty$
|
|
49929
|
+
_defineProperty$f(this, "dragMode", "pan");
|
|
49926
49930
|
}
|
|
49927
49931
|
setProps(props2) {
|
|
49928
49932
|
super.setProps(props2);
|
|
@@ -49938,10 +49942,10 @@ class GlobeView extends View {
|
|
|
49938
49942
|
return GlobeController;
|
|
49939
49943
|
}
|
|
49940
49944
|
}
|
|
49941
|
-
_defineProperty$
|
|
49945
|
+
_defineProperty$f(GlobeView, "displayName", "GlobeView");
|
|
49942
49946
|
class LayerExtension {
|
|
49943
49947
|
constructor(opts2) {
|
|
49944
|
-
_defineProperty$
|
|
49948
|
+
_defineProperty$f(this, "opts", void 0);
|
|
49945
49949
|
if (opts2) {
|
|
49946
49950
|
this.opts = opts2;
|
|
49947
49951
|
}
|
|
@@ -49986,7 +49990,7 @@ class LayerExtension {
|
|
|
49986
49990
|
finalizeState(context, extension) {
|
|
49987
49991
|
}
|
|
49988
49992
|
}
|
|
49989
|
-
_defineProperty$
|
|
49993
|
+
_defineProperty$f(LayerExtension, "defaultProps", {});
|
|
49990
49994
|
const LINEARLY_INTERPOLATED_PROPS = ["bearing", "pitch"];
|
|
49991
49995
|
const DEFAULT_OPTS = {
|
|
49992
49996
|
speed: 1.2,
|
|
@@ -49999,7 +50003,7 @@ class FlyToInterpolator extends TransitionInterpolator {
|
|
|
49999
50003
|
extract: ["width", "height", "longitude", "latitude", "zoom", "bearing", "pitch"],
|
|
50000
50004
|
required: ["width", "height", "latitude", "longitude", "zoom"]
|
|
50001
50005
|
});
|
|
50002
|
-
_defineProperty$
|
|
50006
|
+
_defineProperty$f(this, "opts", void 0);
|
|
50003
50007
|
this.opts = {
|
|
50004
50008
|
...DEFAULT_OPTS,
|
|
50005
50009
|
...opts2
|
|
@@ -50024,20 +50028,20 @@ class FlyToInterpolator extends TransitionInterpolator {
|
|
|
50024
50028
|
}
|
|
50025
50029
|
class Tesselator {
|
|
50026
50030
|
constructor(opts2) {
|
|
50027
|
-
_defineProperty$
|
|
50028
|
-
_defineProperty$
|
|
50029
|
-
_defineProperty$
|
|
50030
|
-
_defineProperty$
|
|
50031
|
-
_defineProperty$
|
|
50032
|
-
_defineProperty$
|
|
50033
|
-
_defineProperty$
|
|
50034
|
-
_defineProperty$
|
|
50035
|
-
_defineProperty$
|
|
50036
|
-
_defineProperty$
|
|
50037
|
-
_defineProperty$
|
|
50038
|
-
_defineProperty$
|
|
50039
|
-
_defineProperty$
|
|
50040
|
-
_defineProperty$
|
|
50031
|
+
_defineProperty$f(this, "opts", void 0);
|
|
50032
|
+
_defineProperty$f(this, "typedArrayManager", void 0);
|
|
50033
|
+
_defineProperty$f(this, "indexStarts", [0]);
|
|
50034
|
+
_defineProperty$f(this, "vertexStarts", [0]);
|
|
50035
|
+
_defineProperty$f(this, "vertexCount", 0);
|
|
50036
|
+
_defineProperty$f(this, "instanceCount", 0);
|
|
50037
|
+
_defineProperty$f(this, "attributes", void 0);
|
|
50038
|
+
_defineProperty$f(this, "_attributeDefs", void 0);
|
|
50039
|
+
_defineProperty$f(this, "data", void 0);
|
|
50040
|
+
_defineProperty$f(this, "getGeometry", void 0);
|
|
50041
|
+
_defineProperty$f(this, "geometryBuffer", void 0);
|
|
50042
|
+
_defineProperty$f(this, "buffers", void 0);
|
|
50043
|
+
_defineProperty$f(this, "positionSize", void 0);
|
|
50044
|
+
_defineProperty$f(this, "normalize", void 0);
|
|
50041
50045
|
const {
|
|
50042
50046
|
attributes = {}
|
|
50043
50047
|
} = opts2;
|
|
@@ -50310,8 +50314,8 @@ class ClipExtension extends LayerExtension {
|
|
|
50310
50314
|
}
|
|
50311
50315
|
}
|
|
50312
50316
|
}
|
|
50313
|
-
_defineProperty$
|
|
50314
|
-
_defineProperty$
|
|
50317
|
+
_defineProperty$f(ClipExtension, "defaultProps", defaultProps$K);
|
|
50318
|
+
_defineProperty$f(ClipExtension, "extensionName", "ClipExtension");
|
|
50315
50319
|
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";
|
|
50316
50320
|
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";
|
|
50317
50321
|
const DEFAULT_COLOR$a = [0, 0, 0, 255];
|
|
@@ -50365,7 +50369,7 @@ const defaultProps$J = {
|
|
|
50365
50369
|
class ArcLayer extends Layer {
|
|
50366
50370
|
constructor(...args) {
|
|
50367
50371
|
super(...args);
|
|
50368
|
-
_defineProperty$
|
|
50372
|
+
_defineProperty$f(this, "state", void 0);
|
|
50369
50373
|
}
|
|
50370
50374
|
getShaders() {
|
|
50371
50375
|
return super.getShaders({
|
|
@@ -50485,8 +50489,8 @@ class ArcLayer extends Layer {
|
|
|
50485
50489
|
return model;
|
|
50486
50490
|
}
|
|
50487
50491
|
}
|
|
50488
|
-
_defineProperty$
|
|
50489
|
-
_defineProperty$
|
|
50492
|
+
_defineProperty$f(ArcLayer, "layerName", "ArcLayer");
|
|
50493
|
+
_defineProperty$f(ArcLayer, "defaultProps", defaultProps$J);
|
|
50490
50494
|
const DEFAULT_INDICES = new Uint16Array([0, 2, 1, 0, 3, 2]);
|
|
50491
50495
|
const DEFAULT_TEX_COORDS = new Float32Array([0, 1, 0, 0, 1, 0, 1, 1]);
|
|
50492
50496
|
function createMesh(bounds2, resolution) {
|
|
@@ -50581,7 +50585,7 @@ const defaultProps$I = {
|
|
|
50581
50585
|
let BitmapLayer$1 = class BitmapLayer extends Layer {
|
|
50582
50586
|
constructor(...args) {
|
|
50583
50587
|
super(...args);
|
|
50584
|
-
_defineProperty$
|
|
50588
|
+
_defineProperty$f(this, "state", void 0);
|
|
50585
50589
|
}
|
|
50586
50590
|
getShaders() {
|
|
50587
50591
|
return super.getShaders({
|
|
@@ -50783,8 +50787,8 @@ let BitmapLayer$1 = class BitmapLayer extends Layer {
|
|
|
50783
50787
|
};
|
|
50784
50788
|
}
|
|
50785
50789
|
};
|
|
50786
|
-
_defineProperty$
|
|
50787
|
-
_defineProperty$
|
|
50790
|
+
_defineProperty$f(BitmapLayer$1, "layerName", "BitmapLayer");
|
|
50791
|
+
_defineProperty$f(BitmapLayer$1, "defaultProps", defaultProps$I);
|
|
50788
50792
|
function unpackUVsFromRGB(color) {
|
|
50789
50793
|
const [u, v, fracUV] = color;
|
|
50790
50794
|
const vFrac = (fracUV & 240) / 256;
|
|
@@ -50932,23 +50936,23 @@ class IconManager {
|
|
|
50932
50936
|
onUpdate: onUpdate2 = noop$2,
|
|
50933
50937
|
onError = noop$2
|
|
50934
50938
|
}) {
|
|
50935
|
-
_defineProperty$
|
|
50936
|
-
_defineProperty$
|
|
50937
|
-
_defineProperty$
|
|
50938
|
-
_defineProperty$
|
|
50939
|
-
_defineProperty$
|
|
50940
|
-
_defineProperty$
|
|
50941
|
-
_defineProperty$
|
|
50942
|
-
_defineProperty$
|
|
50943
|
-
_defineProperty$
|
|
50944
|
-
_defineProperty$
|
|
50945
|
-
_defineProperty$
|
|
50946
|
-
_defineProperty$
|
|
50947
|
-
_defineProperty$
|
|
50948
|
-
_defineProperty$
|
|
50949
|
-
_defineProperty$
|
|
50950
|
-
_defineProperty$
|
|
50951
|
-
_defineProperty$
|
|
50939
|
+
_defineProperty$f(this, "gl", void 0);
|
|
50940
|
+
_defineProperty$f(this, "onUpdate", void 0);
|
|
50941
|
+
_defineProperty$f(this, "onError", void 0);
|
|
50942
|
+
_defineProperty$f(this, "_loadOptions", null);
|
|
50943
|
+
_defineProperty$f(this, "_texture", null);
|
|
50944
|
+
_defineProperty$f(this, "_externalTexture", null);
|
|
50945
|
+
_defineProperty$f(this, "_mapping", {});
|
|
50946
|
+
_defineProperty$f(this, "_textureParameters", null);
|
|
50947
|
+
_defineProperty$f(this, "_pendingCount", 0);
|
|
50948
|
+
_defineProperty$f(this, "_autoPacking", false);
|
|
50949
|
+
_defineProperty$f(this, "_xOffset", 0);
|
|
50950
|
+
_defineProperty$f(this, "_yOffset", 0);
|
|
50951
|
+
_defineProperty$f(this, "_rowHeight", 0);
|
|
50952
|
+
_defineProperty$f(this, "_buffer", DEFAULT_BUFFER$1);
|
|
50953
|
+
_defineProperty$f(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
|
|
50954
|
+
_defineProperty$f(this, "_canvasHeight", 0);
|
|
50955
|
+
_defineProperty$f(this, "_canvas", null);
|
|
50952
50956
|
this.gl = gl;
|
|
50953
50957
|
this.onUpdate = onUpdate2;
|
|
50954
50958
|
this.onError = onError;
|
|
@@ -51139,7 +51143,7 @@ const defaultProps$H = {
|
|
|
51139
51143
|
class IconLayer extends Layer {
|
|
51140
51144
|
constructor(...args) {
|
|
51141
51145
|
super(...args);
|
|
51142
|
-
_defineProperty$
|
|
51146
|
+
_defineProperty$f(this, "state", void 0);
|
|
51143
51147
|
}
|
|
51144
51148
|
getShaders() {
|
|
51145
51149
|
return super.getShaders({
|
|
@@ -51336,8 +51340,8 @@ class IconLayer extends Layer {
|
|
|
51336
51340
|
return [x2, y2, width, height];
|
|
51337
51341
|
}
|
|
51338
51342
|
}
|
|
51339
|
-
_defineProperty$
|
|
51340
|
-
_defineProperty$
|
|
51343
|
+
_defineProperty$f(IconLayer, "defaultProps", defaultProps$H);
|
|
51344
|
+
_defineProperty$f(IconLayer, "layerName", "IconLayer");
|
|
51341
51345
|
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";
|
|
51342
51346
|
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";
|
|
51343
51347
|
const DEFAULT_COLOR$8 = [0, 0, 0, 255];
|
|
@@ -51469,8 +51473,8 @@ class LineLayer extends Layer {
|
|
|
51469
51473
|
});
|
|
51470
51474
|
}
|
|
51471
51475
|
}
|
|
51472
|
-
_defineProperty$
|
|
51473
|
-
_defineProperty$
|
|
51476
|
+
_defineProperty$f(LineLayer, "layerName", "LineLayer");
|
|
51477
|
+
_defineProperty$f(LineLayer, "defaultProps", defaultProps$G);
|
|
51474
51478
|
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";
|
|
51475
51479
|
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";
|
|
51476
51480
|
const DEFAULT_COLOR$7 = [0, 0, 0, 255];
|
|
@@ -51601,8 +51605,8 @@ class PointCloudLayer extends Layer {
|
|
|
51601
51605
|
});
|
|
51602
51606
|
}
|
|
51603
51607
|
}
|
|
51604
|
-
_defineProperty$
|
|
51605
|
-
_defineProperty$
|
|
51608
|
+
_defineProperty$f(PointCloudLayer, "layerName", "PointCloudLayer");
|
|
51609
|
+
_defineProperty$f(PointCloudLayer, "defaultProps", defaultProps$F);
|
|
51606
51610
|
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";
|
|
51607
51611
|
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";
|
|
51608
51612
|
const DEFAULT_COLOR$6 = [0, 0, 0, 255];
|
|
@@ -51783,8 +51787,8 @@ class ScatterplotLayer extends Layer {
|
|
|
51783
51787
|
});
|
|
51784
51788
|
}
|
|
51785
51789
|
}
|
|
51786
|
-
_defineProperty$
|
|
51787
|
-
_defineProperty$
|
|
51790
|
+
_defineProperty$f(ScatterplotLayer, "defaultProps", defaultProps$E);
|
|
51791
|
+
_defineProperty$f(ScatterplotLayer, "layerName", "ScatterplotLayer");
|
|
51788
51792
|
const WINDING = {
|
|
51789
51793
|
CLOCKWISE: 1,
|
|
51790
51794
|
COUNTER_CLOCKWISE: -1
|
|
@@ -53052,8 +53056,8 @@ class ColumnLayer extends Layer {
|
|
|
53052
53056
|
}
|
|
53053
53057
|
}
|
|
53054
53058
|
}
|
|
53055
|
-
_defineProperty$
|
|
53056
|
-
_defineProperty$
|
|
53059
|
+
_defineProperty$f(ColumnLayer, "layerName", "ColumnLayer");
|
|
53060
|
+
_defineProperty$f(ColumnLayer, "defaultProps", defaultProps$D);
|
|
53057
53061
|
const defaultProps$C = {
|
|
53058
53062
|
cellSize: {
|
|
53059
53063
|
type: "number",
|
|
@@ -53094,8 +53098,8 @@ class GridCellLayer extends ColumnLayer {
|
|
|
53094
53098
|
}).draw();
|
|
53095
53099
|
}
|
|
53096
53100
|
}
|
|
53097
|
-
_defineProperty$
|
|
53098
|
-
_defineProperty$
|
|
53101
|
+
_defineProperty$f(GridCellLayer, "layerName", "GridCellLayer");
|
|
53102
|
+
_defineProperty$f(GridCellLayer, "defaultProps", defaultProps$C);
|
|
53099
53103
|
function normalizePath(path, size, gridResolution, wrapLongitude) {
|
|
53100
53104
|
let flatPath;
|
|
53101
53105
|
if (Array.isArray(path[0])) {
|
|
@@ -53310,7 +53314,7 @@ const ATTRIBUTE_TRANSITION$1 = {
|
|
|
53310
53314
|
class PathLayer extends Layer {
|
|
53311
53315
|
constructor(...args) {
|
|
53312
53316
|
super(...args);
|
|
53313
|
-
_defineProperty$
|
|
53317
|
+
_defineProperty$f(this, "state", void 0);
|
|
53314
53318
|
}
|
|
53315
53319
|
getShaders() {
|
|
53316
53320
|
return super.getShaders({
|
|
@@ -53513,8 +53517,8 @@ class PathLayer extends Layer {
|
|
|
53513
53517
|
attribute.value = pathTesselator.get("segmentTypes");
|
|
53514
53518
|
}
|
|
53515
53519
|
}
|
|
53516
|
-
_defineProperty$
|
|
53517
|
-
_defineProperty$
|
|
53520
|
+
_defineProperty$f(PathLayer, "defaultProps", defaultProps$B);
|
|
53521
|
+
_defineProperty$f(PathLayer, "layerName", "PathLayer");
|
|
53518
53522
|
var earcut$2 = { exports: {} };
|
|
53519
53523
|
earcut$2.exports = earcut;
|
|
53520
53524
|
earcut$2.exports.default = earcut;
|
|
@@ -54324,7 +54328,7 @@ const ATTRIBUTE_TRANSITION = {
|
|
|
54324
54328
|
class SolidPolygonLayer extends Layer {
|
|
54325
54329
|
constructor(...args) {
|
|
54326
54330
|
super(...args);
|
|
54327
|
-
_defineProperty$
|
|
54331
|
+
_defineProperty$f(this, "state", void 0);
|
|
54328
54332
|
}
|
|
54329
54333
|
getShaders(type) {
|
|
54330
54334
|
return super.getShaders({
|
|
@@ -54648,8 +54652,8 @@ class SolidPolygonLayer extends Layer {
|
|
|
54648
54652
|
attribute.value = this.state.polygonTesselator.get("vertexValid");
|
|
54649
54653
|
}
|
|
54650
54654
|
}
|
|
54651
|
-
_defineProperty$
|
|
54652
|
-
_defineProperty$
|
|
54655
|
+
_defineProperty$f(SolidPolygonLayer, "defaultProps", defaultProps$A);
|
|
54656
|
+
_defineProperty$f(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
|
|
54653
54657
|
function replaceInRange({
|
|
54654
54658
|
data,
|
|
54655
54659
|
getIndex,
|
|
@@ -54901,8 +54905,8 @@ class PolygonLayer extends CompositeLayer {
|
|
|
54901
54905
|
return [!extruded && polygonLayer, polygonLineLayer, extruded && polygonLayer];
|
|
54902
54906
|
}
|
|
54903
54907
|
}
|
|
54904
|
-
_defineProperty$
|
|
54905
|
-
_defineProperty$
|
|
54908
|
+
_defineProperty$f(PolygonLayer, "layerName", "PolygonLayer");
|
|
54909
|
+
_defineProperty$f(PolygonLayer, "defaultProps", defaultProps$z);
|
|
54906
54910
|
function binaryToFeatureForAccesor(data, index2) {
|
|
54907
54911
|
if (!data) {
|
|
54908
54912
|
return null;
|
|
@@ -54963,7 +54967,7 @@ const defaultProps$y = {
|
|
|
54963
54967
|
class MultiIconLayer extends IconLayer {
|
|
54964
54968
|
constructor(...args) {
|
|
54965
54969
|
super(...args);
|
|
54966
|
-
_defineProperty$
|
|
54970
|
+
_defineProperty$f(this, "state", void 0);
|
|
54967
54971
|
}
|
|
54968
54972
|
getShaders() {
|
|
54969
54973
|
return {
|
|
@@ -55038,8 +55042,8 @@ class MultiIconLayer extends IconLayer {
|
|
|
55038
55042
|
return icons ? Array.from(icons).flatMap((icon) => super.getInstanceIconFrame(icon)) : EMPTY_ARRAY;
|
|
55039
55043
|
}
|
|
55040
55044
|
}
|
|
55041
|
-
_defineProperty$
|
|
55042
|
-
_defineProperty$
|
|
55045
|
+
_defineProperty$f(MultiIconLayer, "defaultProps", defaultProps$y);
|
|
55046
|
+
_defineProperty$f(MultiIconLayer, "layerName", "MultiIconLayer");
|
|
55043
55047
|
var tinySdf = { exports: {} };
|
|
55044
55048
|
tinySdf.exports = TinySDF;
|
|
55045
55049
|
tinySdf.exports.default = TinySDF;
|
|
@@ -55407,9 +55411,9 @@ function getTextFromBuffer({
|
|
|
55407
55411
|
}
|
|
55408
55412
|
class LRUCache2 {
|
|
55409
55413
|
constructor(limit = 5) {
|
|
55410
|
-
_defineProperty$
|
|
55411
|
-
_defineProperty$
|
|
55412
|
-
_defineProperty$
|
|
55414
|
+
_defineProperty$f(this, "limit", void 0);
|
|
55415
|
+
_defineProperty$f(this, "_cache", {});
|
|
55416
|
+
_defineProperty$f(this, "_order", []);
|
|
55413
55417
|
this.limit = limit;
|
|
55414
55418
|
}
|
|
55415
55419
|
get(key) {
|
|
@@ -55508,11 +55512,11 @@ function setFontAtlasCacheLimit(limit) {
|
|
|
55508
55512
|
}
|
|
55509
55513
|
class FontAtlasManager {
|
|
55510
55514
|
constructor() {
|
|
55511
|
-
_defineProperty$
|
|
55515
|
+
_defineProperty$f(this, "props", {
|
|
55512
55516
|
...DEFAULT_FONT_SETTINGS
|
|
55513
55517
|
});
|
|
55514
|
-
_defineProperty$
|
|
55515
|
-
_defineProperty$
|
|
55518
|
+
_defineProperty$f(this, "_key", void 0);
|
|
55519
|
+
_defineProperty$f(this, "_atlas", void 0);
|
|
55516
55520
|
}
|
|
55517
55521
|
get texture() {
|
|
55518
55522
|
return this._atlas;
|
|
@@ -55664,7 +55668,7 @@ const defaultProps$x = {
|
|
|
55664
55668
|
class TextBackgroundLayer extends Layer {
|
|
55665
55669
|
constructor(...args) {
|
|
55666
55670
|
super(...args);
|
|
55667
|
-
_defineProperty$
|
|
55671
|
+
_defineProperty$f(this, "state", void 0);
|
|
55668
55672
|
}
|
|
55669
55673
|
getShaders() {
|
|
55670
55674
|
return super.getShaders({
|
|
@@ -55787,8 +55791,8 @@ class TextBackgroundLayer extends Layer {
|
|
|
55787
55791
|
});
|
|
55788
55792
|
}
|
|
55789
55793
|
}
|
|
55790
|
-
_defineProperty$
|
|
55791
|
-
_defineProperty$
|
|
55794
|
+
_defineProperty$f(TextBackgroundLayer, "defaultProps", defaultProps$x);
|
|
55795
|
+
_defineProperty$f(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
|
|
55792
55796
|
const TEXT_ANCHOR = {
|
|
55793
55797
|
start: 1,
|
|
55794
55798
|
middle: 0,
|
|
@@ -55885,8 +55889,8 @@ const defaultProps$w = {
|
|
|
55885
55889
|
class TextLayer extends CompositeLayer {
|
|
55886
55890
|
constructor(...args) {
|
|
55887
55891
|
super(...args);
|
|
55888
|
-
_defineProperty$
|
|
55889
|
-
_defineProperty$
|
|
55892
|
+
_defineProperty$f(this, "state", void 0);
|
|
55893
|
+
_defineProperty$f(this, "getBoundingRect", (object2, objectInfo) => {
|
|
55890
55894
|
const iconMapping = this.state.fontAtlasManager.mapping;
|
|
55891
55895
|
const getText = this.state.getText;
|
|
55892
55896
|
const {
|
|
@@ -55904,7 +55908,7 @@ class TextLayer extends CompositeLayer {
|
|
|
55904
55908
|
const anchorY = ALIGNMENT_BASELINE[typeof getAlignmentBaseline === "function" ? getAlignmentBaseline(object2, objectInfo) : getAlignmentBaseline];
|
|
55905
55909
|
return [(anchorX - 1) * width / 2, (anchorY - 1) * height / 2, width, height];
|
|
55906
55910
|
});
|
|
55907
|
-
_defineProperty$
|
|
55911
|
+
_defineProperty$f(this, "getIconOffsets", (object2, objectInfo) => {
|
|
55908
55912
|
const iconMapping = this.state.fontAtlasManager.mapping;
|
|
55909
55913
|
const getText = this.state.getText;
|
|
55910
55914
|
const {
|
|
@@ -56184,8 +56188,8 @@ class TextLayer extends CompositeLayer {
|
|
|
56184
56188
|
setFontAtlasCacheLimit(limit);
|
|
56185
56189
|
}
|
|
56186
56190
|
}
|
|
56187
|
-
_defineProperty$
|
|
56188
|
-
_defineProperty$
|
|
56191
|
+
_defineProperty$f(TextLayer, "defaultProps", defaultProps$w);
|
|
56192
|
+
_defineProperty$f(TextLayer, "layerName", "TextLayer");
|
|
56189
56193
|
const POINT_LAYER = {
|
|
56190
56194
|
circle: {
|
|
56191
56195
|
type: ScatterplotLayer,
|
|
@@ -56824,8 +56828,8 @@ class GeoJsonLayer extends CompositeLayer {
|
|
|
56824
56828
|
};
|
|
56825
56829
|
}
|
|
56826
56830
|
}
|
|
56827
|
-
_defineProperty$
|
|
56828
|
-
_defineProperty$
|
|
56831
|
+
_defineProperty$f(GeoJsonLayer, "layerName", "GeoJsonLayer");
|
|
56832
|
+
_defineProperty$f(GeoJsonLayer, "defaultProps", defaultProps$v);
|
|
56829
56833
|
const esm$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
56830
56834
|
__proto__: null,
|
|
56831
56835
|
ArcLayer,
|
|
@@ -56853,8 +56857,8 @@ const defaultProps$u = {
|
|
|
56853
56857
|
};
|
|
56854
56858
|
class GreatCircleLayer extends ArcLayer {
|
|
56855
56859
|
}
|
|
56856
|
-
_defineProperty$
|
|
56857
|
-
_defineProperty$
|
|
56860
|
+
_defineProperty$f(GreatCircleLayer, "layerName", "GreatCircleLayer");
|
|
56861
|
+
_defineProperty$f(GreatCircleLayer, "defaultProps", defaultProps$u);
|
|
56858
56862
|
const defaultProps$t = {
|
|
56859
56863
|
...PolygonLayer.defaultProps
|
|
56860
56864
|
};
|
|
@@ -56917,8 +56921,8 @@ class GeoCellLayer extends CompositeLayer {
|
|
|
56917
56921
|
}), this.indexToBounds());
|
|
56918
56922
|
}
|
|
56919
56923
|
}
|
|
56920
|
-
_defineProperty$
|
|
56921
|
-
_defineProperty$
|
|
56924
|
+
_defineProperty$f(GeoCellLayer, "layerName", "GeoCellLayer");
|
|
56925
|
+
_defineProperty$f(GeoCellLayer, "defaultProps", defaultProps$t);
|
|
56922
56926
|
function commonjsRequire(path) {
|
|
56923
56927
|
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.');
|
|
56924
56928
|
}
|
|
@@ -57635,8 +57639,8 @@ class S2Layer extends GeoCellLayer {
|
|
|
57635
57639
|
};
|
|
57636
57640
|
}
|
|
57637
57641
|
}
|
|
57638
|
-
_defineProperty$
|
|
57639
|
-
_defineProperty$
|
|
57642
|
+
_defineProperty$f(S2Layer, "layerName", "S2Layer");
|
|
57643
|
+
_defineProperty$f(S2Layer, "defaultProps", defaultProps$s);
|
|
57640
57644
|
const TILE_SIZE$3 = 512;
|
|
57641
57645
|
function quadkeyToWorldBounds(quadkey) {
|
|
57642
57646
|
let x2 = 0;
|
|
@@ -57679,28 +57683,28 @@ class QuadkeyLayer extends GeoCellLayer {
|
|
|
57679
57683
|
};
|
|
57680
57684
|
}
|
|
57681
57685
|
}
|
|
57682
|
-
_defineProperty$
|
|
57683
|
-
_defineProperty$
|
|
57686
|
+
_defineProperty$f(QuadkeyLayer, "layerName", "QuadkeyLayer");
|
|
57687
|
+
_defineProperty$f(QuadkeyLayer, "defaultProps", defaultProps$r);
|
|
57684
57688
|
class Tile2DHeader {
|
|
57685
57689
|
constructor(index2) {
|
|
57686
|
-
_defineProperty$
|
|
57687
|
-
_defineProperty$
|
|
57688
|
-
_defineProperty$
|
|
57689
|
-
_defineProperty$
|
|
57690
|
-
_defineProperty$
|
|
57691
|
-
_defineProperty$
|
|
57692
|
-
_defineProperty$
|
|
57693
|
-
_defineProperty$
|
|
57694
|
-
_defineProperty$
|
|
57695
|
-
_defineProperty$
|
|
57696
|
-
_defineProperty$
|
|
57697
|
-
_defineProperty$
|
|
57698
|
-
_defineProperty$
|
|
57699
|
-
_defineProperty$
|
|
57700
|
-
_defineProperty$
|
|
57701
|
-
_defineProperty$
|
|
57702
|
-
_defineProperty$
|
|
57703
|
-
_defineProperty$
|
|
57690
|
+
_defineProperty$f(this, "index", void 0);
|
|
57691
|
+
_defineProperty$f(this, "isVisible", void 0);
|
|
57692
|
+
_defineProperty$f(this, "isSelected", void 0);
|
|
57693
|
+
_defineProperty$f(this, "parent", void 0);
|
|
57694
|
+
_defineProperty$f(this, "children", void 0);
|
|
57695
|
+
_defineProperty$f(this, "content", void 0);
|
|
57696
|
+
_defineProperty$f(this, "state", void 0);
|
|
57697
|
+
_defineProperty$f(this, "layers", void 0);
|
|
57698
|
+
_defineProperty$f(this, "id", void 0);
|
|
57699
|
+
_defineProperty$f(this, "bbox", void 0);
|
|
57700
|
+
_defineProperty$f(this, "zoom", void 0);
|
|
57701
|
+
_defineProperty$f(this, "userData", void 0);
|
|
57702
|
+
_defineProperty$f(this, "_abortController", void 0);
|
|
57703
|
+
_defineProperty$f(this, "_loader", void 0);
|
|
57704
|
+
_defineProperty$f(this, "_loaderId", void 0);
|
|
57705
|
+
_defineProperty$f(this, "_isLoaded", void 0);
|
|
57706
|
+
_defineProperty$f(this, "_isCancelled", void 0);
|
|
57707
|
+
_defineProperty$f(this, "_needsReload", void 0);
|
|
57704
57708
|
this.index = index2;
|
|
57705
57709
|
this.isVisible = false;
|
|
57706
57710
|
this.isSelected = false;
|
|
@@ -58476,12 +58480,12 @@ const REF_POINTS_9 = REF_POINTS_5.concat([[0, 0.5], [0.5, 0], [1, 0.5], [0.5, 1]
|
|
|
58476
58480
|
const REF_POINTS_11 = REF_POINTS_9.concat([[0.25, 0.5], [0.75, 0.5]]);
|
|
58477
58481
|
class OSMNode {
|
|
58478
58482
|
constructor(x2, y2, z2) {
|
|
58479
|
-
_defineProperty$
|
|
58480
|
-
_defineProperty$
|
|
58481
|
-
_defineProperty$
|
|
58482
|
-
_defineProperty$
|
|
58483
|
-
_defineProperty$
|
|
58484
|
-
_defineProperty$
|
|
58483
|
+
_defineProperty$f(this, "x", void 0);
|
|
58484
|
+
_defineProperty$f(this, "y", void 0);
|
|
58485
|
+
_defineProperty$f(this, "z", void 0);
|
|
58486
|
+
_defineProperty$f(this, "childVisible", void 0);
|
|
58487
|
+
_defineProperty$f(this, "selected", void 0);
|
|
58488
|
+
_defineProperty$f(this, "_children", void 0);
|
|
58485
58489
|
this.x = x2;
|
|
58486
58490
|
this.y = y2;
|
|
58487
58491
|
this.z = z2;
|
|
@@ -58828,22 +58832,22 @@ const STRATEGIES = {
|
|
|
58828
58832
|
};
|
|
58829
58833
|
class Tileset2D {
|
|
58830
58834
|
constructor(opts2) {
|
|
58831
|
-
_defineProperty$
|
|
58832
|
-
_defineProperty$
|
|
58833
|
-
_defineProperty$
|
|
58834
|
-
_defineProperty$
|
|
58835
|
-
_defineProperty$
|
|
58836
|
-
_defineProperty$
|
|
58837
|
-
_defineProperty$
|
|
58838
|
-
_defineProperty$
|
|
58839
|
-
_defineProperty$
|
|
58840
|
-
_defineProperty$
|
|
58841
|
-
_defineProperty$
|
|
58842
|
-
_defineProperty$
|
|
58843
|
-
_defineProperty$
|
|
58844
|
-
_defineProperty$
|
|
58845
|
-
_defineProperty$
|
|
58846
|
-
_defineProperty$
|
|
58835
|
+
_defineProperty$f(this, "opts", void 0);
|
|
58836
|
+
_defineProperty$f(this, "_requestScheduler", void 0);
|
|
58837
|
+
_defineProperty$f(this, "_cache", void 0);
|
|
58838
|
+
_defineProperty$f(this, "_dirty", void 0);
|
|
58839
|
+
_defineProperty$f(this, "_tiles", void 0);
|
|
58840
|
+
_defineProperty$f(this, "_cacheByteSize", void 0);
|
|
58841
|
+
_defineProperty$f(this, "_viewport", void 0);
|
|
58842
|
+
_defineProperty$f(this, "_zRange", void 0);
|
|
58843
|
+
_defineProperty$f(this, "_selectedTiles", void 0);
|
|
58844
|
+
_defineProperty$f(this, "_frameNumber", void 0);
|
|
58845
|
+
_defineProperty$f(this, "_modelMatrix", void 0);
|
|
58846
|
+
_defineProperty$f(this, "_modelMatrixInverse", void 0);
|
|
58847
|
+
_defineProperty$f(this, "_maxZoom", void 0);
|
|
58848
|
+
_defineProperty$f(this, "_minZoom", void 0);
|
|
58849
|
+
_defineProperty$f(this, "onTileLoad", void 0);
|
|
58850
|
+
_defineProperty$f(this, "_getCullBounds", memoize$2(getCullBounds));
|
|
58847
58851
|
this.opts = opts2;
|
|
58848
58852
|
this.onTileLoad = (tile) => {
|
|
58849
58853
|
this.opts.onTileLoad(tile);
|
|
@@ -59456,8 +59460,8 @@ class TileLayer extends CompositeLayer {
|
|
|
59456
59460
|
return this.state.tileset.isTileVisible(tile, cullRect);
|
|
59457
59461
|
}
|
|
59458
59462
|
}
|
|
59459
|
-
_defineProperty$
|
|
59460
|
-
_defineProperty$
|
|
59463
|
+
_defineProperty$f(TileLayer, "defaultProps", defaultProps$q);
|
|
59464
|
+
_defineProperty$f(TileLayer, "layerName", "TileLayer");
|
|
59461
59465
|
const defaultProps$p = {
|
|
59462
59466
|
fadeTrail: true,
|
|
59463
59467
|
trailLength: {
|
|
@@ -59520,8 +59524,8 @@ class TripsLayer extends PathLayer {
|
|
|
59520
59524
|
super.draw(params);
|
|
59521
59525
|
}
|
|
59522
59526
|
}
|
|
59523
|
-
_defineProperty$
|
|
59524
|
-
_defineProperty$
|
|
59527
|
+
_defineProperty$f(TripsLayer, "layerName", "TripsLayer");
|
|
59528
|
+
_defineProperty$f(TripsLayer, "defaultProps", defaultProps$p);
|
|
59525
59529
|
var libh3 = function(libh32) {
|
|
59526
59530
|
libh32 = libh32 || {};
|
|
59527
59531
|
var Module = typeof libh32 !== "undefined" ? libh32 : {};
|
|
@@ -71080,8 +71084,8 @@ class H3ClusterLayer extends GeoCellLayer {
|
|
|
71080
71084
|
};
|
|
71081
71085
|
}
|
|
71082
71086
|
}
|
|
71083
|
-
_defineProperty$
|
|
71084
|
-
_defineProperty$
|
|
71087
|
+
_defineProperty$f(H3ClusterLayer, "layerName", "H3ClusterLayer");
|
|
71088
|
+
_defineProperty$f(H3ClusterLayer, "defaultProps", defaultProps$o);
|
|
71085
71089
|
const UPDATE_THRESHOLD_KM = 10;
|
|
71086
71090
|
function normalizeLongitudes(vertices, refLng) {
|
|
71087
71091
|
refLng = refLng === void 0 ? vertices[0][0] : refLng;
|
|
@@ -71163,7 +71167,7 @@ const defaultProps$n = {
|
|
|
71163
71167
|
class H3HexagonLayer extends CompositeLayer {
|
|
71164
71168
|
constructor(...args) {
|
|
71165
71169
|
super(...args);
|
|
71166
|
-
_defineProperty$
|
|
71170
|
+
_defineProperty$f(this, "state", void 0);
|
|
71167
71171
|
}
|
|
71168
71172
|
initializeState() {
|
|
71169
71173
|
H3HexagonLayer._checkH3Lib();
|
|
@@ -71364,9 +71368,9 @@ class H3HexagonLayer extends CompositeLayer {
|
|
|
71364
71368
|
});
|
|
71365
71369
|
}
|
|
71366
71370
|
}
|
|
71367
|
-
_defineProperty$
|
|
71368
|
-
_defineProperty$
|
|
71369
|
-
_defineProperty$
|
|
71371
|
+
_defineProperty$f(H3HexagonLayer, "defaultProps", defaultProps$n);
|
|
71372
|
+
_defineProperty$f(H3HexagonLayer, "layerName", "H3HexagonLayer");
|
|
71373
|
+
_defineProperty$f(H3HexagonLayer, "_checkH3Lib", () => {
|
|
71370
71374
|
});
|
|
71371
71375
|
const RADIAN_PER_DEGREE = Math.PI / 180;
|
|
71372
71376
|
const modelMatrix = new Float32Array(16);
|
|
@@ -71585,7 +71589,7 @@ const defaultProps$m = {
|
|
|
71585
71589
|
class SimpleMeshLayer extends Layer {
|
|
71586
71590
|
constructor(...args) {
|
|
71587
71591
|
super(...args);
|
|
71588
|
-
_defineProperty$
|
|
71592
|
+
_defineProperty$f(this, "state", void 0);
|
|
71589
71593
|
}
|
|
71590
71594
|
getShaders() {
|
|
71591
71595
|
const transpileToGLSL100 = !isWebGL2$1(this.context.gl);
|
|
@@ -71711,8 +71715,8 @@ class SimpleMeshLayer extends Layer {
|
|
|
71711
71715
|
}
|
|
71712
71716
|
}
|
|
71713
71717
|
}
|
|
71714
|
-
_defineProperty$
|
|
71715
|
-
_defineProperty$
|
|
71718
|
+
_defineProperty$f(SimpleMeshLayer, "defaultProps", defaultProps$m);
|
|
71719
|
+
_defineProperty$f(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
|
|
71716
71720
|
class ScenegraphNode {
|
|
71717
71721
|
constructor() {
|
|
71718
71722
|
let props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -73030,9 +73034,9 @@ const DEFAULT_GLTF_JSON = {
|
|
|
73030
73034
|
};
|
|
73031
73035
|
class GLTFScenegraph {
|
|
73032
73036
|
constructor(gltf) {
|
|
73033
|
-
_defineProperty$
|
|
73034
|
-
_defineProperty$
|
|
73035
|
-
_defineProperty$
|
|
73037
|
+
_defineProperty$f(this, "gltf", void 0);
|
|
73038
|
+
_defineProperty$f(this, "sourceBuffers", void 0);
|
|
73039
|
+
_defineProperty$f(this, "byteLength", void 0);
|
|
73036
73040
|
this.gltf = gltf || {
|
|
73037
73041
|
json: {
|
|
73038
73042
|
...DEFAULT_GLTF_JSON
|
|
@@ -73650,8 +73654,8 @@ function assert$2(condition, message) {
|
|
|
73650
73654
|
}
|
|
73651
73655
|
class Schema {
|
|
73652
73656
|
constructor(fields, metadata) {
|
|
73653
|
-
_defineProperty$
|
|
73654
|
-
_defineProperty$
|
|
73657
|
+
_defineProperty$f(this, "fields", void 0);
|
|
73658
|
+
_defineProperty$f(this, "metadata", void 0);
|
|
73655
73659
|
assert$2(Array.isArray(fields));
|
|
73656
73660
|
checkNames(fields);
|
|
73657
73661
|
this.fields = fields;
|
|
@@ -73718,10 +73722,10 @@ function mergeMaps(m1, m2) {
|
|
|
73718
73722
|
}
|
|
73719
73723
|
class Field {
|
|
73720
73724
|
constructor(name2, type, nullable = false, metadata = /* @__PURE__ */ new Map()) {
|
|
73721
|
-
_defineProperty$
|
|
73722
|
-
_defineProperty$
|
|
73723
|
-
_defineProperty$
|
|
73724
|
-
_defineProperty$
|
|
73725
|
+
_defineProperty$f(this, "name", void 0);
|
|
73726
|
+
_defineProperty$f(this, "type", void 0);
|
|
73727
|
+
_defineProperty$f(this, "nullable", void 0);
|
|
73728
|
+
_defineProperty$f(this, "metadata", void 0);
|
|
73725
73729
|
this.name = name2;
|
|
73726
73730
|
this.type = type;
|
|
73727
73731
|
this.nullable = nullable;
|
|
@@ -73854,8 +73858,8 @@ _Symbol$toStringTag = Symbol.toStringTag;
|
|
|
73854
73858
|
class Int extends DataType {
|
|
73855
73859
|
constructor(isSigned, bitWidth) {
|
|
73856
73860
|
super();
|
|
73857
|
-
_defineProperty$
|
|
73858
|
-
_defineProperty$
|
|
73861
|
+
_defineProperty$f(this, "isSigned", void 0);
|
|
73862
|
+
_defineProperty$f(this, "bitWidth", void 0);
|
|
73859
73863
|
this.isSigned = isSigned;
|
|
73860
73864
|
this.bitWidth = bitWidth;
|
|
73861
73865
|
}
|
|
@@ -73908,7 +73912,7 @@ _Symbol$toStringTag2 = Symbol.toStringTag;
|
|
|
73908
73912
|
class Float extends DataType {
|
|
73909
73913
|
constructor(precision) {
|
|
73910
73914
|
super();
|
|
73911
|
-
_defineProperty$
|
|
73915
|
+
_defineProperty$f(this, "precision", void 0);
|
|
73912
73916
|
this.precision = precision;
|
|
73913
73917
|
}
|
|
73914
73918
|
get typeId() {
|
|
@@ -73935,8 +73939,8 @@ _Symbol$toStringTag7 = Symbol.toStringTag;
|
|
|
73935
73939
|
class FixedSizeList extends DataType {
|
|
73936
73940
|
constructor(listSize, child2) {
|
|
73937
73941
|
super();
|
|
73938
|
-
_defineProperty$
|
|
73939
|
-
_defineProperty$
|
|
73942
|
+
_defineProperty$f(this, "listSize", void 0);
|
|
73943
|
+
_defineProperty$f(this, "children", void 0);
|
|
73940
73944
|
this.listSize = listSize;
|
|
73941
73945
|
this.children = [child2];
|
|
73942
73946
|
}
|
|
@@ -74832,7 +74836,7 @@ const GLTF_KEYS = {
|
|
|
74832
74836
|
};
|
|
74833
74837
|
class GLTFV1Normalizer {
|
|
74834
74838
|
constructor() {
|
|
74835
|
-
_defineProperty$
|
|
74839
|
+
_defineProperty$f(this, "idToIndexMap", {
|
|
74836
74840
|
animations: {},
|
|
74837
74841
|
accessors: {},
|
|
74838
74842
|
buffers: {},
|
|
@@ -74846,7 +74850,7 @@ class GLTFV1Normalizer {
|
|
|
74846
74850
|
skins: {},
|
|
74847
74851
|
textures: {}
|
|
74848
74852
|
});
|
|
74849
|
-
_defineProperty$
|
|
74853
|
+
_defineProperty$f(this, "json", void 0);
|
|
74850
74854
|
}
|
|
74851
74855
|
normalize(gltf, options) {
|
|
74852
74856
|
this.json = gltf.json;
|
|
@@ -75048,10 +75052,10 @@ function getSizeFromAccessorType(type) {
|
|
|
75048
75052
|
}
|
|
75049
75053
|
class GLTFPostProcessor {
|
|
75050
75054
|
constructor() {
|
|
75051
|
-
_defineProperty$
|
|
75052
|
-
_defineProperty$
|
|
75053
|
-
_defineProperty$
|
|
75054
|
-
_defineProperty$
|
|
75055
|
+
_defineProperty$f(this, "baseUri", "");
|
|
75056
|
+
_defineProperty$f(this, "json", {});
|
|
75057
|
+
_defineProperty$f(this, "buffers", []);
|
|
75058
|
+
_defineProperty$f(this, "images", []);
|
|
75055
75059
|
}
|
|
75056
75060
|
postProcess(gltf, options = {}) {
|
|
75057
75061
|
const {
|
|
@@ -75706,7 +75710,7 @@ const defaultProps$l = {
|
|
|
75706
75710
|
class ScenegraphLayer extends Layer {
|
|
75707
75711
|
constructor(...args) {
|
|
75708
75712
|
super(...args);
|
|
75709
|
-
_defineProperty$
|
|
75713
|
+
_defineProperty$f(this, "state", void 0);
|
|
75710
75714
|
}
|
|
75711
75715
|
getShaders() {
|
|
75712
75716
|
const modules = [project32, picking];
|
|
@@ -75921,8 +75925,8 @@ class ScenegraphLayer extends Layer {
|
|
|
75921
75925
|
});
|
|
75922
75926
|
}
|
|
75923
75927
|
}
|
|
75924
|
-
_defineProperty$
|
|
75925
|
-
_defineProperty$
|
|
75928
|
+
_defineProperty$f(ScenegraphLayer, "defaultProps", defaultProps$l);
|
|
75929
|
+
_defineProperty$f(ScenegraphLayer, "layerName", "ScenegraphLayer");
|
|
75926
75930
|
const esm$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
75927
75931
|
__proto__: null,
|
|
75928
75932
|
ScenegraphLayer,
|
|
@@ -76081,8 +76085,8 @@ class MeshLayer extends SimpleMeshLayer {
|
|
|
76081
76085
|
});
|
|
76082
76086
|
}
|
|
76083
76087
|
}
|
|
76084
|
-
_defineProperty$
|
|
76085
|
-
_defineProperty$
|
|
76088
|
+
_defineProperty$f(MeshLayer, "layerName", "MeshLayer");
|
|
76089
|
+
_defineProperty$f(MeshLayer, "defaultProps", defaultProps$k);
|
|
76086
76090
|
const WGS84_RADIUS_X$1 = 6378137;
|
|
76087
76091
|
const WGS84_RADIUS_Y$1 = 6378137;
|
|
76088
76092
|
const WGS84_RADIUS_Z$1 = 6356752314245179e-9;
|
|
@@ -76422,9 +76426,9 @@ class Ellipsoid {
|
|
|
76422
76426
|
_defineProperty$f(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
|
|
76423
76427
|
class DoublyLinkedListNode {
|
|
76424
76428
|
constructor(item, previous, next) {
|
|
76425
|
-
_defineProperty$
|
|
76426
|
-
_defineProperty$
|
|
76427
|
-
_defineProperty$
|
|
76429
|
+
_defineProperty$f(this, "item", void 0);
|
|
76430
|
+
_defineProperty$f(this, "previous", void 0);
|
|
76431
|
+
_defineProperty$f(this, "next", void 0);
|
|
76428
76432
|
this.item = item;
|
|
76429
76433
|
this.previous = previous;
|
|
76430
76434
|
this.next = next;
|
|
@@ -76432,9 +76436,9 @@ class DoublyLinkedListNode {
|
|
|
76432
76436
|
}
|
|
76433
76437
|
class DoublyLinkedList {
|
|
76434
76438
|
constructor() {
|
|
76435
|
-
_defineProperty$
|
|
76436
|
-
_defineProperty$
|
|
76437
|
-
_defineProperty$
|
|
76439
|
+
_defineProperty$f(this, "head", null);
|
|
76440
|
+
_defineProperty$f(this, "tail", null);
|
|
76441
|
+
_defineProperty$f(this, "_length", 0);
|
|
76438
76442
|
}
|
|
76439
76443
|
get length() {
|
|
76440
76444
|
return this._length;
|
|
@@ -76497,9 +76501,9 @@ function defined$4(x2) {
|
|
|
76497
76501
|
}
|
|
76498
76502
|
class TilesetCache {
|
|
76499
76503
|
constructor() {
|
|
76500
|
-
_defineProperty$
|
|
76501
|
-
_defineProperty$
|
|
76502
|
-
_defineProperty$
|
|
76504
|
+
_defineProperty$f(this, "_list", void 0);
|
|
76505
|
+
_defineProperty$f(this, "_sentinel", void 0);
|
|
76506
|
+
_defineProperty$f(this, "_trimTiles", void 0);
|
|
76503
76507
|
this._list = new DoublyLinkedList();
|
|
76504
76508
|
this._sentinel = this._list.add("sentinel");
|
|
76505
76509
|
this._trimTiles = false;
|
|
@@ -76942,9 +76946,9 @@ function get3dTilesOptions(tileset) {
|
|
|
76942
76946
|
}
|
|
76943
76947
|
class ManagedArray {
|
|
76944
76948
|
constructor(length2 = 0) {
|
|
76945
|
-
_defineProperty$
|
|
76946
|
-
_defineProperty$
|
|
76947
|
-
_defineProperty$
|
|
76949
|
+
_defineProperty$f(this, "_map", /* @__PURE__ */ new Map());
|
|
76950
|
+
_defineProperty$f(this, "_array", void 0);
|
|
76951
|
+
_defineProperty$f(this, "_length", void 0);
|
|
76948
76952
|
this._array = new Array(length2);
|
|
76949
76953
|
this._length = length2;
|
|
76950
76954
|
}
|
|
@@ -77038,16 +77042,16 @@ class TilesetTraverser {
|
|
|
77038
77042
|
return true;
|
|
77039
77043
|
}
|
|
77040
77044
|
constructor(options) {
|
|
77041
|
-
_defineProperty$
|
|
77042
|
-
_defineProperty$
|
|
77043
|
-
_defineProperty$
|
|
77044
|
-
_defineProperty$
|
|
77045
|
-
_defineProperty$
|
|
77046
|
-
_defineProperty$
|
|
77047
|
-
_defineProperty$
|
|
77048
|
-
_defineProperty$
|
|
77049
|
-
_defineProperty$
|
|
77050
|
-
_defineProperty$
|
|
77045
|
+
_defineProperty$f(this, "options", void 0);
|
|
77046
|
+
_defineProperty$f(this, "root", void 0);
|
|
77047
|
+
_defineProperty$f(this, "requestedTiles", void 0);
|
|
77048
|
+
_defineProperty$f(this, "selectedTiles", void 0);
|
|
77049
|
+
_defineProperty$f(this, "emptyTiles", void 0);
|
|
77050
|
+
_defineProperty$f(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
|
|
77051
|
+
_defineProperty$f(this, "updateDebounceTime", 1e3);
|
|
77052
|
+
_defineProperty$f(this, "_traversalStack", void 0);
|
|
77053
|
+
_defineProperty$f(this, "_emptyTraversalStack", void 0);
|
|
77054
|
+
_defineProperty$f(this, "_frameNumber", void 0);
|
|
77051
77055
|
this.options = {
|
|
77052
77056
|
...DEFAULT_PROPS$1,
|
|
77053
77057
|
...options
|
|
@@ -77268,52 +77272,52 @@ function defined$2(x2) {
|
|
|
77268
77272
|
}
|
|
77269
77273
|
class TileHeader {
|
|
77270
77274
|
constructor(tileset, header, parentHeader, extendedId = "") {
|
|
77271
|
-
_defineProperty$
|
|
77272
|
-
_defineProperty$
|
|
77273
|
-
_defineProperty$
|
|
77274
|
-
_defineProperty$
|
|
77275
|
-
_defineProperty$
|
|
77276
|
-
_defineProperty$
|
|
77277
|
-
_defineProperty$
|
|
77278
|
-
_defineProperty$
|
|
77279
|
-
_defineProperty$
|
|
77280
|
-
_defineProperty$
|
|
77281
|
-
_defineProperty$
|
|
77282
|
-
_defineProperty$
|
|
77283
|
-
_defineProperty$
|
|
77284
|
-
_defineProperty$
|
|
77285
|
-
_defineProperty$
|
|
77286
|
-
_defineProperty$
|
|
77287
|
-
_defineProperty$
|
|
77288
|
-
_defineProperty$
|
|
77289
|
-
_defineProperty$
|
|
77290
|
-
_defineProperty$
|
|
77291
|
-
_defineProperty$
|
|
77292
|
-
_defineProperty$
|
|
77293
|
-
_defineProperty$
|
|
77294
|
-
_defineProperty$
|
|
77295
|
-
_defineProperty$
|
|
77296
|
-
_defineProperty$
|
|
77297
|
-
_defineProperty$
|
|
77298
|
-
_defineProperty$
|
|
77299
|
-
_defineProperty$
|
|
77300
|
-
_defineProperty$
|
|
77301
|
-
_defineProperty$
|
|
77302
|
-
_defineProperty$
|
|
77303
|
-
_defineProperty$
|
|
77304
|
-
_defineProperty$
|
|
77305
|
-
_defineProperty$
|
|
77306
|
-
_defineProperty$
|
|
77307
|
-
_defineProperty$
|
|
77308
|
-
_defineProperty$
|
|
77309
|
-
_defineProperty$
|
|
77310
|
-
_defineProperty$
|
|
77311
|
-
_defineProperty$
|
|
77312
|
-
_defineProperty$
|
|
77313
|
-
_defineProperty$
|
|
77314
|
-
_defineProperty$
|
|
77315
|
-
_defineProperty$
|
|
77316
|
-
_defineProperty$
|
|
77275
|
+
_defineProperty$f(this, "tileset", void 0);
|
|
77276
|
+
_defineProperty$f(this, "header", void 0);
|
|
77277
|
+
_defineProperty$f(this, "id", void 0);
|
|
77278
|
+
_defineProperty$f(this, "url", void 0);
|
|
77279
|
+
_defineProperty$f(this, "parent", void 0);
|
|
77280
|
+
_defineProperty$f(this, "refine", void 0);
|
|
77281
|
+
_defineProperty$f(this, "type", void 0);
|
|
77282
|
+
_defineProperty$f(this, "contentUrl", void 0);
|
|
77283
|
+
_defineProperty$f(this, "lodMetricType", void 0);
|
|
77284
|
+
_defineProperty$f(this, "lodMetricValue", void 0);
|
|
77285
|
+
_defineProperty$f(this, "boundingVolume", void 0);
|
|
77286
|
+
_defineProperty$f(this, "content", void 0);
|
|
77287
|
+
_defineProperty$f(this, "contentState", void 0);
|
|
77288
|
+
_defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
|
|
77289
|
+
_defineProperty$f(this, "children", void 0);
|
|
77290
|
+
_defineProperty$f(this, "depth", void 0);
|
|
77291
|
+
_defineProperty$f(this, "viewportIds", void 0);
|
|
77292
|
+
_defineProperty$f(this, "transform", void 0);
|
|
77293
|
+
_defineProperty$f(this, "extensions", void 0);
|
|
77294
|
+
_defineProperty$f(this, "userData", void 0);
|
|
77295
|
+
_defineProperty$f(this, "computedTransform", void 0);
|
|
77296
|
+
_defineProperty$f(this, "hasEmptyContent", void 0);
|
|
77297
|
+
_defineProperty$f(this, "hasTilesetContent", void 0);
|
|
77298
|
+
_defineProperty$f(this, "traverser", void 0);
|
|
77299
|
+
_defineProperty$f(this, "_cacheNode", void 0);
|
|
77300
|
+
_defineProperty$f(this, "_frameNumber", void 0);
|
|
77301
|
+
_defineProperty$f(this, "_lodJudge", void 0);
|
|
77302
|
+
_defineProperty$f(this, "_expireDate", void 0);
|
|
77303
|
+
_defineProperty$f(this, "_expiredContent", void 0);
|
|
77304
|
+
_defineProperty$f(this, "_shouldRefine", void 0);
|
|
77305
|
+
_defineProperty$f(this, "_distanceToCamera", void 0);
|
|
77306
|
+
_defineProperty$f(this, "_centerZDepth", void 0);
|
|
77307
|
+
_defineProperty$f(this, "_screenSpaceError", void 0);
|
|
77308
|
+
_defineProperty$f(this, "_visibilityPlaneMask", void 0);
|
|
77309
|
+
_defineProperty$f(this, "_visible", void 0);
|
|
77310
|
+
_defineProperty$f(this, "_inRequestVolume", void 0);
|
|
77311
|
+
_defineProperty$f(this, "_stackLength", void 0);
|
|
77312
|
+
_defineProperty$f(this, "_selectionDepth", void 0);
|
|
77313
|
+
_defineProperty$f(this, "_touchedFrame", void 0);
|
|
77314
|
+
_defineProperty$f(this, "_visitedFrame", void 0);
|
|
77315
|
+
_defineProperty$f(this, "_selectedFrame", void 0);
|
|
77316
|
+
_defineProperty$f(this, "_requestedFrame", void 0);
|
|
77317
|
+
_defineProperty$f(this, "_priority", void 0);
|
|
77318
|
+
_defineProperty$f(this, "_contentBoundingVolume", void 0);
|
|
77319
|
+
_defineProperty$f(this, "_viewerRequestVolume", void 0);
|
|
77320
|
+
_defineProperty$f(this, "_initialTransform", void 0);
|
|
77317
77321
|
this.header = header;
|
|
77318
77322
|
this.tileset = tileset;
|
|
77319
77323
|
this.id = extendedId || header.id;
|
|
@@ -77706,7 +77710,7 @@ class Tileset3DTraverser extends TilesetTraverser {
|
|
|
77706
77710
|
}
|
|
77707
77711
|
class I3SPendingTilesRegister {
|
|
77708
77712
|
constructor() {
|
|
77709
|
-
_defineProperty$
|
|
77713
|
+
_defineProperty$f(this, "frameNumberMap", /* @__PURE__ */ new Map());
|
|
77710
77714
|
}
|
|
77711
77715
|
register(viewportId, frameNumber) {
|
|
77712
77716
|
const viewportMap = this.frameNumberMap.get(viewportId) || /* @__PURE__ */ new Map();
|
|
@@ -77735,8 +77739,8 @@ const STATUS = {
|
|
|
77735
77739
|
};
|
|
77736
77740
|
class I3STileManager {
|
|
77737
77741
|
constructor() {
|
|
77738
|
-
_defineProperty$
|
|
77739
|
-
_defineProperty$
|
|
77742
|
+
_defineProperty$f(this, "_statusMap", void 0);
|
|
77743
|
+
_defineProperty$f(this, "pendingTilesRegister", new I3SPendingTilesRegister());
|
|
77740
77744
|
this._statusMap = {};
|
|
77741
77745
|
}
|
|
77742
77746
|
add(request, key, callback, frameState) {
|
|
@@ -77810,7 +77814,7 @@ class I3STilesetTraverser extends TilesetTraverser {
|
|
|
77810
77814
|
}
|
|
77811
77815
|
constructor(options) {
|
|
77812
77816
|
super(options);
|
|
77813
|
-
_defineProperty$
|
|
77817
|
+
_defineProperty$f(this, "_tileManager", void 0);
|
|
77814
77818
|
this._tileManager = new I3STileManager();
|
|
77815
77819
|
}
|
|
77816
77820
|
shouldRefine(tile, frameState) {
|
|
@@ -77907,52 +77911,52 @@ const POINTS_COUNT = "Points/Vertices";
|
|
|
77907
77911
|
const TILES_GPU_MEMORY = "Tile Memory Use";
|
|
77908
77912
|
class Tileset3D {
|
|
77909
77913
|
constructor(json, options) {
|
|
77910
|
-
_defineProperty$
|
|
77911
|
-
_defineProperty$
|
|
77912
|
-
_defineProperty$
|
|
77913
|
-
_defineProperty$
|
|
77914
|
-
_defineProperty$
|
|
77915
|
-
_defineProperty$
|
|
77916
|
-
_defineProperty$
|
|
77917
|
-
_defineProperty$
|
|
77918
|
-
_defineProperty$
|
|
77919
|
-
_defineProperty$
|
|
77920
|
-
_defineProperty$
|
|
77921
|
-
_defineProperty$
|
|
77922
|
-
_defineProperty$
|
|
77923
|
-
_defineProperty$
|
|
77924
|
-
_defineProperty$
|
|
77925
|
-
_defineProperty$
|
|
77926
|
-
_defineProperty$
|
|
77927
|
-
_defineProperty$
|
|
77928
|
-
_defineProperty$
|
|
77929
|
-
_defineProperty$
|
|
77930
|
-
_defineProperty$
|
|
77931
|
-
_defineProperty$
|
|
77932
|
-
_defineProperty$
|
|
77933
|
-
_defineProperty$
|
|
77934
|
-
_defineProperty$
|
|
77935
|
-
_defineProperty$
|
|
77936
|
-
_defineProperty$
|
|
77937
|
-
_defineProperty$
|
|
77938
|
-
_defineProperty$
|
|
77939
|
-
_defineProperty$
|
|
77940
|
-
_defineProperty$
|
|
77941
|
-
_defineProperty$
|
|
77942
|
-
_defineProperty$
|
|
77943
|
-
_defineProperty$
|
|
77944
|
-
_defineProperty$
|
|
77945
|
-
_defineProperty$
|
|
77946
|
-
_defineProperty$
|
|
77947
|
-
_defineProperty$
|
|
77948
|
-
_defineProperty$
|
|
77949
|
-
_defineProperty$
|
|
77950
|
-
_defineProperty$
|
|
77951
|
-
_defineProperty$
|
|
77952
|
-
_defineProperty$
|
|
77953
|
-
_defineProperty$
|
|
77954
|
-
_defineProperty$
|
|
77955
|
-
_defineProperty$
|
|
77914
|
+
_defineProperty$f(this, "options", void 0);
|
|
77915
|
+
_defineProperty$f(this, "loadOptions", void 0);
|
|
77916
|
+
_defineProperty$f(this, "type", void 0);
|
|
77917
|
+
_defineProperty$f(this, "tileset", void 0);
|
|
77918
|
+
_defineProperty$f(this, "loader", void 0);
|
|
77919
|
+
_defineProperty$f(this, "url", void 0);
|
|
77920
|
+
_defineProperty$f(this, "basePath", void 0);
|
|
77921
|
+
_defineProperty$f(this, "modelMatrix", void 0);
|
|
77922
|
+
_defineProperty$f(this, "ellipsoid", void 0);
|
|
77923
|
+
_defineProperty$f(this, "lodMetricType", void 0);
|
|
77924
|
+
_defineProperty$f(this, "lodMetricValue", void 0);
|
|
77925
|
+
_defineProperty$f(this, "refine", void 0);
|
|
77926
|
+
_defineProperty$f(this, "root", void 0);
|
|
77927
|
+
_defineProperty$f(this, "roots", void 0);
|
|
77928
|
+
_defineProperty$f(this, "asset", void 0);
|
|
77929
|
+
_defineProperty$f(this, "description", void 0);
|
|
77930
|
+
_defineProperty$f(this, "properties", void 0);
|
|
77931
|
+
_defineProperty$f(this, "extras", void 0);
|
|
77932
|
+
_defineProperty$f(this, "attributions", void 0);
|
|
77933
|
+
_defineProperty$f(this, "credits", void 0);
|
|
77934
|
+
_defineProperty$f(this, "stats", void 0);
|
|
77935
|
+
_defineProperty$f(this, "traverseCounter", void 0);
|
|
77936
|
+
_defineProperty$f(this, "geometricError", void 0);
|
|
77937
|
+
_defineProperty$f(this, "selectedTiles", void 0);
|
|
77938
|
+
_defineProperty$f(this, "updatePromise", null);
|
|
77939
|
+
_defineProperty$f(this, "tilesetInitializationPromise", void 0);
|
|
77940
|
+
_defineProperty$f(this, "cartographicCenter", void 0);
|
|
77941
|
+
_defineProperty$f(this, "cartesianCenter", void 0);
|
|
77942
|
+
_defineProperty$f(this, "zoom", void 0);
|
|
77943
|
+
_defineProperty$f(this, "boundingVolume", void 0);
|
|
77944
|
+
_defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
|
|
77945
|
+
_defineProperty$f(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
|
|
77946
|
+
_defineProperty$f(this, "_traverser", void 0);
|
|
77947
|
+
_defineProperty$f(this, "_cache", void 0);
|
|
77948
|
+
_defineProperty$f(this, "_requestScheduler", void 0);
|
|
77949
|
+
_defineProperty$f(this, "_frameNumber", void 0);
|
|
77950
|
+
_defineProperty$f(this, "_queryParamsString", void 0);
|
|
77951
|
+
_defineProperty$f(this, "_queryParams", void 0);
|
|
77952
|
+
_defineProperty$f(this, "_extensionsUsed", void 0);
|
|
77953
|
+
_defineProperty$f(this, "_tiles", void 0);
|
|
77954
|
+
_defineProperty$f(this, "_pendingCount", void 0);
|
|
77955
|
+
_defineProperty$f(this, "lastUpdatedVieports", void 0);
|
|
77956
|
+
_defineProperty$f(this, "_requestedTiles", void 0);
|
|
77957
|
+
_defineProperty$f(this, "_emptyTiles", void 0);
|
|
77958
|
+
_defineProperty$f(this, "frameStateData", void 0);
|
|
77959
|
+
_defineProperty$f(this, "maximumMemoryUsage", void 0);
|
|
77956
77960
|
assert$c(json);
|
|
77957
77961
|
this.options = {
|
|
77958
77962
|
...DEFAULT_PROPS,
|
|
@@ -78608,10 +78612,10 @@ function octDecode(x2, y2, result) {
|
|
|
78608
78612
|
}
|
|
78609
78613
|
class Tile3DFeatureTable {
|
|
78610
78614
|
constructor(featureTableJson, featureTableBinary) {
|
|
78611
|
-
_defineProperty$
|
|
78612
|
-
_defineProperty$
|
|
78613
|
-
_defineProperty$
|
|
78614
|
-
_defineProperty$
|
|
78615
|
+
_defineProperty$f(this, "json", void 0);
|
|
78616
|
+
_defineProperty$f(this, "buffer", void 0);
|
|
78617
|
+
_defineProperty$f(this, "featuresLength", 0);
|
|
78618
|
+
_defineProperty$f(this, "_cachedTypedArrays", {});
|
|
78615
78619
|
this.json = featureTableJson;
|
|
78616
78620
|
this.buffer = featureTableBinary;
|
|
78617
78621
|
}
|
|
@@ -78945,13 +78949,13 @@ const IGNORED_PROPERTY_FIELDS = {
|
|
|
78945
78949
|
class Tile3DBatchTableParser {
|
|
78946
78950
|
constructor(json, binary, featureCount, options = {}) {
|
|
78947
78951
|
var _this$json;
|
|
78948
|
-
_defineProperty$
|
|
78949
|
-
_defineProperty$
|
|
78950
|
-
_defineProperty$
|
|
78951
|
-
_defineProperty$
|
|
78952
|
-
_defineProperty$
|
|
78953
|
-
_defineProperty$
|
|
78954
|
-
_defineProperty$
|
|
78952
|
+
_defineProperty$f(this, "json", void 0);
|
|
78953
|
+
_defineProperty$f(this, "binary", void 0);
|
|
78954
|
+
_defineProperty$f(this, "featureCount", void 0);
|
|
78955
|
+
_defineProperty$f(this, "_extensions", void 0);
|
|
78956
|
+
_defineProperty$f(this, "_properties", void 0);
|
|
78957
|
+
_defineProperty$f(this, "_binaryProperties", void 0);
|
|
78958
|
+
_defineProperty$f(this, "_hierarchy", void 0);
|
|
78955
78959
|
assert$c(featureCount >= 0);
|
|
78956
78960
|
this.json = json || {};
|
|
78957
78961
|
this.binary = binary;
|
|
@@ -80296,7 +80300,7 @@ const defaultProps$j = {
|
|
|
80296
80300
|
class Tile3DLayer extends CompositeLayer {
|
|
80297
80301
|
constructor(...args) {
|
|
80298
80302
|
super(...args);
|
|
80299
|
-
_defineProperty$
|
|
80303
|
+
_defineProperty$f(this, "state", void 0);
|
|
80300
80304
|
}
|
|
80301
80305
|
initializeState() {
|
|
80302
80306
|
if ("onTileLoadFail" in this.props) {
|
|
@@ -80617,8 +80621,8 @@ class Tile3DLayer extends CompositeLayer {
|
|
|
80617
80621
|
}).filter(Boolean);
|
|
80618
80622
|
}
|
|
80619
80623
|
}
|
|
80620
|
-
_defineProperty$
|
|
80621
|
-
_defineProperty$
|
|
80624
|
+
_defineProperty$f(Tile3DLayer, "defaultProps", defaultProps$j);
|
|
80625
|
+
_defineProperty$f(Tile3DLayer, "layerName", "Tile3DLayer");
|
|
80622
80626
|
function getMeshGeometry(contentAttributes) {
|
|
80623
80627
|
const attributes = {};
|
|
80624
80628
|
attributes.positions = {
|
|
@@ -81448,7 +81452,7 @@ function urlTemplateToUpdateTrigger(template) {
|
|
|
81448
81452
|
class TerrainLayer extends CompositeLayer {
|
|
81449
81453
|
constructor(...args) {
|
|
81450
81454
|
super(...args);
|
|
81451
|
-
_defineProperty$
|
|
81455
|
+
_defineProperty$f(this, "state", void 0);
|
|
81452
81456
|
}
|
|
81453
81457
|
updateState({
|
|
81454
81458
|
props: props2,
|
|
@@ -81663,8 +81667,8 @@ class TerrainLayer extends CompositeLayer {
|
|
|
81663
81667
|
});
|
|
81664
81668
|
}
|
|
81665
81669
|
}
|
|
81666
|
-
_defineProperty$
|
|
81667
|
-
_defineProperty$
|
|
81670
|
+
_defineProperty$f(TerrainLayer, "defaultProps", defaultProps$i);
|
|
81671
|
+
_defineProperty$f(TerrainLayer, "layerName", "TerrainLayer");
|
|
81668
81672
|
function flatGeojsonToBinary(features, geometryInfo, options) {
|
|
81669
81673
|
const propArrayTypes = extractNumericPropTypes(features);
|
|
81670
81674
|
const numericPropKeys = Object.keys(propArrayTypes).filter((k) => propArrayTypes[k] !== Array);
|
|
@@ -82954,14 +82958,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
|
|
|
82954
82958
|
return ["Unknown", "Point", "LineString", "Polygon"];
|
|
82955
82959
|
}
|
|
82956
82960
|
constructor(pbf2, end, extent2, keys3, values2) {
|
|
82957
|
-
_defineProperty$
|
|
82958
|
-
_defineProperty$
|
|
82959
|
-
_defineProperty$
|
|
82960
|
-
_defineProperty$
|
|
82961
|
-
_defineProperty$
|
|
82962
|
-
_defineProperty$
|
|
82963
|
-
_defineProperty$
|
|
82964
|
-
_defineProperty$
|
|
82961
|
+
_defineProperty$f(this, "properties", void 0);
|
|
82962
|
+
_defineProperty$f(this, "extent", void 0);
|
|
82963
|
+
_defineProperty$f(this, "type", void 0);
|
|
82964
|
+
_defineProperty$f(this, "id", void 0);
|
|
82965
|
+
_defineProperty$f(this, "_pbf", void 0);
|
|
82966
|
+
_defineProperty$f(this, "_geometry", void 0);
|
|
82967
|
+
_defineProperty$f(this, "_keys", void 0);
|
|
82968
|
+
_defineProperty$f(this, "_values", void 0);
|
|
82965
82969
|
this.properties = {};
|
|
82966
82970
|
this.extent = extent2;
|
|
82967
82971
|
this.type = 0;
|
|
@@ -83118,14 +83122,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
|
|
|
83118
83122
|
};
|
|
83119
83123
|
let VectorTileLayer$1 = class VectorTileLayer {
|
|
83120
83124
|
constructor(pbf2, end) {
|
|
83121
|
-
_defineProperty$
|
|
83122
|
-
_defineProperty$
|
|
83123
|
-
_defineProperty$
|
|
83124
|
-
_defineProperty$
|
|
83125
|
-
_defineProperty$
|
|
83126
|
-
_defineProperty$
|
|
83127
|
-
_defineProperty$
|
|
83128
|
-
_defineProperty$
|
|
83125
|
+
_defineProperty$f(this, "version", void 0);
|
|
83126
|
+
_defineProperty$f(this, "name", void 0);
|
|
83127
|
+
_defineProperty$f(this, "extent", void 0);
|
|
83128
|
+
_defineProperty$f(this, "length", void 0);
|
|
83129
|
+
_defineProperty$f(this, "_pbf", void 0);
|
|
83130
|
+
_defineProperty$f(this, "_keys", void 0);
|
|
83131
|
+
_defineProperty$f(this, "_values", void 0);
|
|
83132
|
+
_defineProperty$f(this, "_features", void 0);
|
|
83129
83133
|
this.version = 1;
|
|
83130
83134
|
this.name = "";
|
|
83131
83135
|
this.extent = 4096;
|
|
@@ -83173,7 +83177,7 @@ function readValueMessage$1(pbf2) {
|
|
|
83173
83177
|
}
|
|
83174
83178
|
let VectorTile$1 = class VectorTile {
|
|
83175
83179
|
constructor(pbf2, end) {
|
|
83176
|
-
_defineProperty$
|
|
83180
|
+
_defineProperty$f(this, "layers", void 0);
|
|
83177
83181
|
this.layers = pbf2.readFields(readTile$1, {}, end);
|
|
83178
83182
|
}
|
|
83179
83183
|
};
|
|
@@ -83277,15 +83281,15 @@ let y;
|
|
|
83277
83281
|
let i$2;
|
|
83278
83282
|
class VectorTileFeature2 {
|
|
83279
83283
|
constructor(pbf2, end, extent2, keys3, values2, geometryInfo) {
|
|
83280
|
-
_defineProperty$
|
|
83281
|
-
_defineProperty$
|
|
83282
|
-
_defineProperty$
|
|
83283
|
-
_defineProperty$
|
|
83284
|
-
_defineProperty$
|
|
83285
|
-
_defineProperty$
|
|
83286
|
-
_defineProperty$
|
|
83287
|
-
_defineProperty$
|
|
83288
|
-
_defineProperty$
|
|
83284
|
+
_defineProperty$f(this, "properties", void 0);
|
|
83285
|
+
_defineProperty$f(this, "extent", void 0);
|
|
83286
|
+
_defineProperty$f(this, "type", void 0);
|
|
83287
|
+
_defineProperty$f(this, "id", void 0);
|
|
83288
|
+
_defineProperty$f(this, "_pbf", void 0);
|
|
83289
|
+
_defineProperty$f(this, "_geometry", void 0);
|
|
83290
|
+
_defineProperty$f(this, "_keys", void 0);
|
|
83291
|
+
_defineProperty$f(this, "_values", void 0);
|
|
83292
|
+
_defineProperty$f(this, "_geometryInfo", void 0);
|
|
83289
83293
|
this.properties = {};
|
|
83290
83294
|
this.extent = extent2;
|
|
83291
83295
|
this.type = 0;
|
|
@@ -83400,14 +83404,14 @@ class VectorTileFeature2 {
|
|
|
83400
83404
|
}
|
|
83401
83405
|
class VectorTileLayer2 {
|
|
83402
83406
|
constructor(pbf2, end) {
|
|
83403
|
-
_defineProperty$
|
|
83404
|
-
_defineProperty$
|
|
83405
|
-
_defineProperty$
|
|
83406
|
-
_defineProperty$
|
|
83407
|
-
_defineProperty$
|
|
83408
|
-
_defineProperty$
|
|
83409
|
-
_defineProperty$
|
|
83410
|
-
_defineProperty$
|
|
83407
|
+
_defineProperty$f(this, "version", void 0);
|
|
83408
|
+
_defineProperty$f(this, "name", void 0);
|
|
83409
|
+
_defineProperty$f(this, "extent", void 0);
|
|
83410
|
+
_defineProperty$f(this, "length", void 0);
|
|
83411
|
+
_defineProperty$f(this, "_pbf", void 0);
|
|
83412
|
+
_defineProperty$f(this, "_keys", void 0);
|
|
83413
|
+
_defineProperty$f(this, "_values", void 0);
|
|
83414
|
+
_defineProperty$f(this, "_features", void 0);
|
|
83411
83415
|
this.version = 1;
|
|
83412
83416
|
this.name = "";
|
|
83413
83417
|
this.extent = 4096;
|
|
@@ -83455,7 +83459,7 @@ function readValueMessage(pbf2) {
|
|
|
83455
83459
|
}
|
|
83456
83460
|
class VectorTile2 {
|
|
83457
83461
|
constructor(pbf2, end) {
|
|
83458
|
-
_defineProperty$
|
|
83462
|
+
_defineProperty$f(this, "layers", void 0);
|
|
83459
83463
|
this.layers = pbf2.readFields(readTile, {}, end);
|
|
83460
83464
|
}
|
|
83461
83465
|
}
|
|
@@ -84066,8 +84070,8 @@ class MVTLayer extends TileLayer {
|
|
|
84066
84070
|
});
|
|
84067
84071
|
}
|
|
84068
84072
|
}
|
|
84069
|
-
_defineProperty$
|
|
84070
|
-
_defineProperty$
|
|
84073
|
+
_defineProperty$f(MVTLayer, "layerName", "MVTLayer");
|
|
84074
|
+
_defineProperty$f(MVTLayer, "defaultProps", defaultProps$h);
|
|
84071
84075
|
function getFeatureUniqueId(feature2, uniqueIdProperty) {
|
|
84072
84076
|
if (feature2.properties && uniqueIdProperty) {
|
|
84073
84077
|
return feature2.properties[uniqueIdProperty];
|
|
@@ -84165,8 +84169,8 @@ class GeohashLayer extends GeoCellLayer {
|
|
|
84165
84169
|
};
|
|
84166
84170
|
}
|
|
84167
84171
|
}
|
|
84168
|
-
_defineProperty$
|
|
84169
|
-
_defineProperty$
|
|
84172
|
+
_defineProperty$f(GeohashLayer, "layerName", "GeohashLayer");
|
|
84173
|
+
_defineProperty$f(GeohashLayer, "defaultProps", defaultProps$g);
|
|
84170
84174
|
const esm$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84171
84175
|
__proto__: null,
|
|
84172
84176
|
GeohashLayer,
|
|
@@ -86814,13 +86818,13 @@ var shams$1 = function hasSymbols() {
|
|
|
86814
86818
|
}
|
|
86815
86819
|
return true;
|
|
86816
86820
|
};
|
|
86817
|
-
var hasSymbols$
|
|
86821
|
+
var hasSymbols$3 = shams$1;
|
|
86818
86822
|
var shams = function hasToStringTagShams() {
|
|
86819
|
-
return hasSymbols$
|
|
86823
|
+
return hasSymbols$3() && !!Symbol.toStringTag;
|
|
86820
86824
|
};
|
|
86821
86825
|
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
86822
86826
|
var hasSymbolSham = shams$1;
|
|
86823
|
-
var hasSymbols$
|
|
86827
|
+
var hasSymbols$2 = function hasNativeSymbols() {
|
|
86824
86828
|
if (typeof origSymbol !== "function") {
|
|
86825
86829
|
return false;
|
|
86826
86830
|
}
|
|
@@ -86835,6 +86839,13 @@ var hasSymbols$3 = function hasNativeSymbols() {
|
|
|
86835
86839
|
}
|
|
86836
86840
|
return hasSymbolSham();
|
|
86837
86841
|
};
|
|
86842
|
+
var test = {
|
|
86843
|
+
foo: {}
|
|
86844
|
+
};
|
|
86845
|
+
var $Object = Object;
|
|
86846
|
+
var hasProto$1 = function hasProto() {
|
|
86847
|
+
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
86848
|
+
};
|
|
86838
86849
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
86839
86850
|
var slice = Array.prototype.slice;
|
|
86840
86851
|
var toStr$2 = Object.prototype.toString;
|
|
@@ -86880,374 +86891,8 @@ var implementation$7 = function bind2(that2) {
|
|
|
86880
86891
|
};
|
|
86881
86892
|
var implementation$6 = implementation$7;
|
|
86882
86893
|
var functionBind = Function.prototype.bind || implementation$6;
|
|
86883
|
-
var bind$2 = functionBind;
|
|
86884
|
-
var src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
|
|
86885
|
-
var undefined$2;
|
|
86886
|
-
var $SyntaxError$1 = SyntaxError;
|
|
86887
|
-
var $Function$1 = Function;
|
|
86888
|
-
var $TypeError$1 = TypeError;
|
|
86889
|
-
var getEvalledConstructor$1 = function(expressionSyntax) {
|
|
86890
|
-
try {
|
|
86891
|
-
return $Function$1('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
86892
|
-
} catch (e2) {
|
|
86893
|
-
}
|
|
86894
|
-
};
|
|
86895
|
-
var $gOPD$2 = Object.getOwnPropertyDescriptor;
|
|
86896
|
-
if ($gOPD$2) {
|
|
86897
|
-
try {
|
|
86898
|
-
$gOPD$2({}, "");
|
|
86899
|
-
} catch (e2) {
|
|
86900
|
-
$gOPD$2 = null;
|
|
86901
|
-
}
|
|
86902
|
-
}
|
|
86903
|
-
var throwTypeError$1 = function() {
|
|
86904
|
-
throw new $TypeError$1();
|
|
86905
|
-
};
|
|
86906
|
-
var ThrowTypeError$1 = $gOPD$2 ? function() {
|
|
86907
|
-
try {
|
|
86908
|
-
arguments.callee;
|
|
86909
|
-
return throwTypeError$1;
|
|
86910
|
-
} catch (calleeThrows) {
|
|
86911
|
-
try {
|
|
86912
|
-
return $gOPD$2(arguments, "callee").get;
|
|
86913
|
-
} catch (gOPDthrows) {
|
|
86914
|
-
return throwTypeError$1;
|
|
86915
|
-
}
|
|
86916
|
-
}
|
|
86917
|
-
}() : throwTypeError$1;
|
|
86918
|
-
var hasSymbols$2 = hasSymbols$3();
|
|
86919
|
-
var getProto$2 = Object.getPrototypeOf || function(x2) {
|
|
86920
|
-
return x2.__proto__;
|
|
86921
|
-
};
|
|
86922
|
-
var needsEval$1 = {};
|
|
86923
|
-
var TypedArray$1 = typeof Uint8Array === "undefined" ? undefined$2 : getProto$2(Uint8Array);
|
|
86924
|
-
var INTRINSICS$1 = {
|
|
86925
|
-
"%AggregateError%": typeof AggregateError === "undefined" ? undefined$2 : AggregateError,
|
|
86926
|
-
"%Array%": Array,
|
|
86927
|
-
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$2 : ArrayBuffer,
|
|
86928
|
-
"%ArrayIteratorPrototype%": hasSymbols$2 ? getProto$2([][Symbol.iterator]()) : undefined$2,
|
|
86929
|
-
"%AsyncFromSyncIteratorPrototype%": undefined$2,
|
|
86930
|
-
"%AsyncFunction%": needsEval$1,
|
|
86931
|
-
"%AsyncGenerator%": needsEval$1,
|
|
86932
|
-
"%AsyncGeneratorFunction%": needsEval$1,
|
|
86933
|
-
"%AsyncIteratorPrototype%": needsEval$1,
|
|
86934
|
-
"%Atomics%": typeof Atomics === "undefined" ? undefined$2 : Atomics,
|
|
86935
|
-
"%BigInt%": typeof BigInt === "undefined" ? undefined$2 : BigInt,
|
|
86936
|
-
"%Boolean%": Boolean,
|
|
86937
|
-
"%DataView%": typeof DataView === "undefined" ? undefined$2 : DataView,
|
|
86938
|
-
"%Date%": Date,
|
|
86939
|
-
"%decodeURI%": decodeURI,
|
|
86940
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
86941
|
-
"%encodeURI%": encodeURI,
|
|
86942
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
86943
|
-
"%Error%": Error,
|
|
86944
|
-
"%eval%": eval,
|
|
86945
|
-
// eslint-disable-line no-eval
|
|
86946
|
-
"%EvalError%": EvalError,
|
|
86947
|
-
"%Float32Array%": typeof Float32Array === "undefined" ? undefined$2 : Float32Array,
|
|
86948
|
-
"%Float64Array%": typeof Float64Array === "undefined" ? undefined$2 : Float64Array,
|
|
86949
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$2 : FinalizationRegistry,
|
|
86950
|
-
"%Function%": $Function$1,
|
|
86951
|
-
"%GeneratorFunction%": needsEval$1,
|
|
86952
|
-
"%Int8Array%": typeof Int8Array === "undefined" ? undefined$2 : Int8Array,
|
|
86953
|
-
"%Int16Array%": typeof Int16Array === "undefined" ? undefined$2 : Int16Array,
|
|
86954
|
-
"%Int32Array%": typeof Int32Array === "undefined" ? undefined$2 : Int32Array,
|
|
86955
|
-
"%isFinite%": isFinite,
|
|
86956
|
-
"%isNaN%": isNaN,
|
|
86957
|
-
"%IteratorPrototype%": hasSymbols$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$2,
|
|
86958
|
-
"%JSON%": typeof JSON === "object" ? JSON : undefined$2,
|
|
86959
|
-
"%Map%": typeof Map === "undefined" ? undefined$2 : Map,
|
|
86960
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
86961
|
-
"%Math%": Math,
|
|
86962
|
-
"%Number%": Number,
|
|
86963
|
-
"%Object%": Object,
|
|
86964
|
-
"%parseFloat%": parseFloat,
|
|
86965
|
-
"%parseInt%": parseInt,
|
|
86966
|
-
"%Promise%": typeof Promise === "undefined" ? undefined$2 : Promise,
|
|
86967
|
-
"%Proxy%": typeof Proxy === "undefined" ? undefined$2 : Proxy,
|
|
86968
|
-
"%RangeError%": RangeError,
|
|
86969
|
-
"%ReferenceError%": ReferenceError,
|
|
86970
|
-
"%Reflect%": typeof Reflect === "undefined" ? undefined$2 : Reflect,
|
|
86971
|
-
"%RegExp%": RegExp,
|
|
86972
|
-
"%Set%": typeof Set === "undefined" ? undefined$2 : Set,
|
|
86973
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
86974
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$2 : SharedArrayBuffer,
|
|
86975
|
-
"%String%": String,
|
|
86976
|
-
"%StringIteratorPrototype%": hasSymbols$2 ? getProto$2(""[Symbol.iterator]()) : undefined$2,
|
|
86977
|
-
"%Symbol%": hasSymbols$2 ? Symbol : undefined$2,
|
|
86978
|
-
"%SyntaxError%": $SyntaxError$1,
|
|
86979
|
-
"%ThrowTypeError%": ThrowTypeError$1,
|
|
86980
|
-
"%TypedArray%": TypedArray$1,
|
|
86981
|
-
"%TypeError%": $TypeError$1,
|
|
86982
|
-
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$2 : Uint8Array,
|
|
86983
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$2 : Uint8ClampedArray,
|
|
86984
|
-
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$2 : Uint16Array,
|
|
86985
|
-
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$2 : Uint32Array,
|
|
86986
|
-
"%URIError%": URIError,
|
|
86987
|
-
"%WeakMap%": typeof WeakMap === "undefined" ? undefined$2 : WeakMap,
|
|
86988
|
-
"%WeakRef%": typeof WeakRef === "undefined" ? undefined$2 : WeakRef,
|
|
86989
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined$2 : WeakSet
|
|
86990
|
-
};
|
|
86991
|
-
var doEval$1 = function doEval(name2) {
|
|
86992
|
-
var value;
|
|
86993
|
-
if (name2 === "%AsyncFunction%") {
|
|
86994
|
-
value = getEvalledConstructor$1("async function () {}");
|
|
86995
|
-
} else if (name2 === "%GeneratorFunction%") {
|
|
86996
|
-
value = getEvalledConstructor$1("function* () {}");
|
|
86997
|
-
} else if (name2 === "%AsyncGeneratorFunction%") {
|
|
86998
|
-
value = getEvalledConstructor$1("async function* () {}");
|
|
86999
|
-
} else if (name2 === "%AsyncGenerator%") {
|
|
87000
|
-
var fn = doEval("%AsyncGeneratorFunction%");
|
|
87001
|
-
if (fn) {
|
|
87002
|
-
value = fn.prototype;
|
|
87003
|
-
}
|
|
87004
|
-
} else if (name2 === "%AsyncIteratorPrototype%") {
|
|
87005
|
-
var gen = doEval("%AsyncGenerator%");
|
|
87006
|
-
if (gen) {
|
|
87007
|
-
value = getProto$2(gen.prototype);
|
|
87008
|
-
}
|
|
87009
|
-
}
|
|
87010
|
-
INTRINSICS$1[name2] = value;
|
|
87011
|
-
return value;
|
|
87012
|
-
};
|
|
87013
|
-
var LEGACY_ALIASES$1 = {
|
|
87014
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
87015
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
87016
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
87017
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
87018
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
87019
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
87020
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
87021
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
87022
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
87023
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
87024
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
87025
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
87026
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
87027
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
87028
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
87029
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
87030
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
87031
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
87032
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
87033
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
87034
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
87035
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
87036
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
87037
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
87038
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
87039
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
87040
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
87041
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
87042
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
87043
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
87044
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
87045
|
-
"%Promise_all%": ["Promise", "all"],
|
|
87046
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
87047
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
87048
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
87049
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
87050
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
87051
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
87052
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
87053
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
87054
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
87055
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
87056
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
87057
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
87058
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
87059
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
87060
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
87061
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
87062
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
87063
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
87064
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
87065
|
-
};
|
|
87066
86894
|
var bind$1 = functionBind;
|
|
87067
|
-
var
|
|
87068
|
-
var $concat$1 = bind$1.call(Function.call, Array.prototype.concat);
|
|
87069
|
-
var $spliceApply$1 = bind$1.call(Function.apply, Array.prototype.splice);
|
|
87070
|
-
var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
|
|
87071
|
-
var $strSlice$1 = bind$1.call(Function.call, String.prototype.slice);
|
|
87072
|
-
var $exec$2 = bind$1.call(Function.call, RegExp.prototype.exec);
|
|
87073
|
-
var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
87074
|
-
var reEscapeChar$1 = /\\(\\)?/g;
|
|
87075
|
-
var stringToPath$1 = function stringToPath(string) {
|
|
87076
|
-
var first = $strSlice$1(string, 0, 1);
|
|
87077
|
-
var last = $strSlice$1(string, -1);
|
|
87078
|
-
if (first === "%" && last !== "%") {
|
|
87079
|
-
throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
|
|
87080
|
-
} else if (last === "%" && first !== "%") {
|
|
87081
|
-
throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
|
|
87082
|
-
}
|
|
87083
|
-
var result = [];
|
|
87084
|
-
$replace$1(string, rePropName$1, function(match, number, quote, subString) {
|
|
87085
|
-
result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, "$1") : number || match;
|
|
87086
|
-
});
|
|
87087
|
-
return result;
|
|
87088
|
-
};
|
|
87089
|
-
var getBaseIntrinsic$1 = function getBaseIntrinsic(name2, allowMissing) {
|
|
87090
|
-
var intrinsicName = name2;
|
|
87091
|
-
var alias;
|
|
87092
|
-
if (hasOwn$1(LEGACY_ALIASES$1, intrinsicName)) {
|
|
87093
|
-
alias = LEGACY_ALIASES$1[intrinsicName];
|
|
87094
|
-
intrinsicName = "%" + alias[0] + "%";
|
|
87095
|
-
}
|
|
87096
|
-
if (hasOwn$1(INTRINSICS$1, intrinsicName)) {
|
|
87097
|
-
var value = INTRINSICS$1[intrinsicName];
|
|
87098
|
-
if (value === needsEval$1) {
|
|
87099
|
-
value = doEval$1(intrinsicName);
|
|
87100
|
-
}
|
|
87101
|
-
if (typeof value === "undefined" && !allowMissing) {
|
|
87102
|
-
throw new $TypeError$1("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
|
|
87103
|
-
}
|
|
87104
|
-
return {
|
|
87105
|
-
alias,
|
|
87106
|
-
name: intrinsicName,
|
|
87107
|
-
value
|
|
87108
|
-
};
|
|
87109
|
-
}
|
|
87110
|
-
throw new $SyntaxError$1("intrinsic " + name2 + " does not exist!");
|
|
87111
|
-
};
|
|
87112
|
-
var getIntrinsic$1 = function GetIntrinsic(name2, allowMissing) {
|
|
87113
|
-
if (typeof name2 !== "string" || name2.length === 0) {
|
|
87114
|
-
throw new $TypeError$1("intrinsic name must be a non-empty string");
|
|
87115
|
-
}
|
|
87116
|
-
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
87117
|
-
throw new $TypeError$1('"allowMissing" argument must be a boolean');
|
|
87118
|
-
}
|
|
87119
|
-
if ($exec$2(/^%?[^%]*%?$/, name2) === null) {
|
|
87120
|
-
throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
87121
|
-
}
|
|
87122
|
-
var parts = stringToPath$1(name2);
|
|
87123
|
-
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
87124
|
-
var intrinsic = getBaseIntrinsic$1("%" + intrinsicBaseName + "%", allowMissing);
|
|
87125
|
-
var intrinsicRealName = intrinsic.name;
|
|
87126
|
-
var value = intrinsic.value;
|
|
87127
|
-
var skipFurtherCaching = false;
|
|
87128
|
-
var alias = intrinsic.alias;
|
|
87129
|
-
if (alias) {
|
|
87130
|
-
intrinsicBaseName = alias[0];
|
|
87131
|
-
$spliceApply$1(parts, $concat$1([0, 1], alias));
|
|
87132
|
-
}
|
|
87133
|
-
for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
|
|
87134
|
-
var part = parts[i2];
|
|
87135
|
-
var first = $strSlice$1(part, 0, 1);
|
|
87136
|
-
var last = $strSlice$1(part, -1);
|
|
87137
|
-
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
87138
|
-
throw new $SyntaxError$1("property names with quotes must have matching quotes");
|
|
87139
|
-
}
|
|
87140
|
-
if (part === "constructor" || !isOwn) {
|
|
87141
|
-
skipFurtherCaching = true;
|
|
87142
|
-
}
|
|
87143
|
-
intrinsicBaseName += "." + part;
|
|
87144
|
-
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
87145
|
-
if (hasOwn$1(INTRINSICS$1, intrinsicRealName)) {
|
|
87146
|
-
value = INTRINSICS$1[intrinsicRealName];
|
|
87147
|
-
} else if (value != null) {
|
|
87148
|
-
if (!(part in value)) {
|
|
87149
|
-
if (!allowMissing) {
|
|
87150
|
-
throw new $TypeError$1("base intrinsic for " + name2 + " exists, but the property is not available.");
|
|
87151
|
-
}
|
|
87152
|
-
return void 0;
|
|
87153
|
-
}
|
|
87154
|
-
if ($gOPD$2 && i2 + 1 >= parts.length) {
|
|
87155
|
-
var desc = $gOPD$2(value, part);
|
|
87156
|
-
isOwn = !!desc;
|
|
87157
|
-
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
87158
|
-
value = desc.get;
|
|
87159
|
-
} else {
|
|
87160
|
-
value = value[part];
|
|
87161
|
-
}
|
|
87162
|
-
} else {
|
|
87163
|
-
isOwn = hasOwn$1(value, part);
|
|
87164
|
-
value = value[part];
|
|
87165
|
-
}
|
|
87166
|
-
if (isOwn && !skipFurtherCaching) {
|
|
87167
|
-
INTRINSICS$1[intrinsicRealName] = value;
|
|
87168
|
-
}
|
|
87169
|
-
}
|
|
87170
|
-
}
|
|
87171
|
-
return value;
|
|
87172
|
-
};
|
|
87173
|
-
var callBind$3 = { exports: {} };
|
|
87174
|
-
(function(module2) {
|
|
87175
|
-
var bind4 = functionBind;
|
|
87176
|
-
var GetIntrinsic4 = getIntrinsic$1;
|
|
87177
|
-
var $apply = GetIntrinsic4("%Function.prototype.apply%");
|
|
87178
|
-
var $call = GetIntrinsic4("%Function.prototype.call%");
|
|
87179
|
-
var $reflectApply = GetIntrinsic4("%Reflect.apply%", true) || bind4.call($call, $apply);
|
|
87180
|
-
var $gOPD2 = GetIntrinsic4("%Object.getOwnPropertyDescriptor%", true);
|
|
87181
|
-
var $defineProperty2 = GetIntrinsic4("%Object.defineProperty%", true);
|
|
87182
|
-
var $max = GetIntrinsic4("%Math.max%");
|
|
87183
|
-
if ($defineProperty2) {
|
|
87184
|
-
try {
|
|
87185
|
-
$defineProperty2({}, "a", { value: 1 });
|
|
87186
|
-
} catch (e2) {
|
|
87187
|
-
$defineProperty2 = null;
|
|
87188
|
-
}
|
|
87189
|
-
}
|
|
87190
|
-
module2.exports = function callBind2(originalFunction) {
|
|
87191
|
-
var func = $reflectApply(bind4, $call, arguments);
|
|
87192
|
-
if ($gOPD2 && $defineProperty2) {
|
|
87193
|
-
var desc = $gOPD2(func, "length");
|
|
87194
|
-
if (desc.configurable) {
|
|
87195
|
-
$defineProperty2(
|
|
87196
|
-
func,
|
|
87197
|
-
"length",
|
|
87198
|
-
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
87199
|
-
);
|
|
87200
|
-
}
|
|
87201
|
-
}
|
|
87202
|
-
return func;
|
|
87203
|
-
};
|
|
87204
|
-
var applyBind = function applyBind2() {
|
|
87205
|
-
return $reflectApply(bind4, $apply, arguments);
|
|
87206
|
-
};
|
|
87207
|
-
if ($defineProperty2) {
|
|
87208
|
-
$defineProperty2(module2.exports, "apply", { value: applyBind });
|
|
87209
|
-
} else {
|
|
87210
|
-
module2.exports.apply = applyBind;
|
|
87211
|
-
}
|
|
87212
|
-
})(callBind$3);
|
|
87213
|
-
var callBindExports = callBind$3.exports;
|
|
87214
|
-
var GetIntrinsic$1 = getIntrinsic$1;
|
|
87215
|
-
var callBind$2 = callBindExports;
|
|
87216
|
-
var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
|
|
87217
|
-
var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
|
|
87218
|
-
var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
|
|
87219
|
-
if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
|
|
87220
|
-
return callBind$2(intrinsic);
|
|
87221
|
-
}
|
|
87222
|
-
return intrinsic;
|
|
87223
|
-
};
|
|
87224
|
-
var hasToStringTag$2 = shams();
|
|
87225
|
-
var callBound$1 = callBound$2;
|
|
87226
|
-
var $toString$1 = callBound$1("Object.prototype.toString");
|
|
87227
|
-
var isStandardArguments = function isArguments2(value) {
|
|
87228
|
-
if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
|
|
87229
|
-
return false;
|
|
87230
|
-
}
|
|
87231
|
-
return $toString$1(value) === "[object Arguments]";
|
|
87232
|
-
};
|
|
87233
|
-
var isLegacyArguments = function isArguments3(value) {
|
|
87234
|
-
if (isStandardArguments(value)) {
|
|
87235
|
-
return true;
|
|
87236
|
-
}
|
|
87237
|
-
return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
|
|
87238
|
-
};
|
|
87239
|
-
var supportsStandardArguments = function() {
|
|
87240
|
-
return isStandardArguments(arguments);
|
|
87241
|
-
}();
|
|
87242
|
-
isStandardArguments.isLegacyArguments = isLegacyArguments;
|
|
87243
|
-
var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
87244
|
-
var test = {
|
|
87245
|
-
foo: {}
|
|
87246
|
-
};
|
|
87247
|
-
var $Object = Object;
|
|
87248
|
-
var hasProto$1 = function hasProto() {
|
|
87249
|
-
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
87250
|
-
};
|
|
86895
|
+
var src = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
|
|
87251
86896
|
var undefined$1;
|
|
87252
86897
|
var $SyntaxError = SyntaxError;
|
|
87253
86898
|
var $Function = Function;
|
|
@@ -87281,7 +86926,7 @@ var ThrowTypeError = $gOPD$1 ? function() {
|
|
|
87281
86926
|
}
|
|
87282
86927
|
}
|
|
87283
86928
|
}() : throwTypeError;
|
|
87284
|
-
var hasSymbols$1 = hasSymbols$
|
|
86929
|
+
var hasSymbols$1 = hasSymbols$2();
|
|
87285
86930
|
var hasProto2 = hasProto$1();
|
|
87286
86931
|
var getProto$1 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
|
|
87287
86932
|
return x2.__proto__;
|
|
@@ -87365,7 +87010,7 @@ if (getProto$1) {
|
|
|
87365
87010
|
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
87366
87011
|
}
|
|
87367
87012
|
}
|
|
87368
|
-
var
|
|
87013
|
+
var doEval = function doEval2(name2) {
|
|
87369
87014
|
var value;
|
|
87370
87015
|
if (name2 === "%AsyncFunction%") {
|
|
87371
87016
|
value = getEvalledConstructor("async function () {}");
|
|
@@ -87374,12 +87019,12 @@ var doEval2 = function doEval3(name2) {
|
|
|
87374
87019
|
} else if (name2 === "%AsyncGeneratorFunction%") {
|
|
87375
87020
|
value = getEvalledConstructor("async function* () {}");
|
|
87376
87021
|
} else if (name2 === "%AsyncGenerator%") {
|
|
87377
|
-
var fn =
|
|
87022
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
87378
87023
|
if (fn) {
|
|
87379
87024
|
value = fn.prototype;
|
|
87380
87025
|
}
|
|
87381
87026
|
} else if (name2 === "%AsyncIteratorPrototype%") {
|
|
87382
|
-
var gen =
|
|
87027
|
+
var gen = doEval2("%AsyncGenerator%");
|
|
87383
87028
|
if (gen && getProto$1) {
|
|
87384
87029
|
value = getProto$1(gen.prototype);
|
|
87385
87030
|
}
|
|
@@ -87449,7 +87094,7 @@ var $strSlice = bind3.call(Function.call, String.prototype.slice);
|
|
|
87449
87094
|
var $exec$1 = bind3.call(Function.call, RegExp.prototype.exec);
|
|
87450
87095
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
87451
87096
|
var reEscapeChar = /\\(\\)?/g;
|
|
87452
|
-
var
|
|
87097
|
+
var stringToPath = function stringToPath2(string) {
|
|
87453
87098
|
var first = $strSlice(string, 0, 1);
|
|
87454
87099
|
var last = $strSlice(string, -1);
|
|
87455
87100
|
if (first === "%" && last !== "%") {
|
|
@@ -87463,7 +87108,7 @@ var stringToPath2 = function stringToPath3(string) {
|
|
|
87463
87108
|
});
|
|
87464
87109
|
return result;
|
|
87465
87110
|
};
|
|
87466
|
-
var
|
|
87111
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
|
|
87467
87112
|
var intrinsicName = name2;
|
|
87468
87113
|
var alias;
|
|
87469
87114
|
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
@@ -87473,7 +87118,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
|
|
|
87473
87118
|
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
87474
87119
|
var value = INTRINSICS[intrinsicName];
|
|
87475
87120
|
if (value === needsEval) {
|
|
87476
|
-
value =
|
|
87121
|
+
value = doEval(intrinsicName);
|
|
87477
87122
|
}
|
|
87478
87123
|
if (typeof value === "undefined" && !allowMissing) {
|
|
87479
87124
|
throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
|
|
@@ -87486,7 +87131,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
|
|
|
87486
87131
|
}
|
|
87487
87132
|
throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
|
|
87488
87133
|
};
|
|
87489
|
-
var getIntrinsic = function
|
|
87134
|
+
var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
|
|
87490
87135
|
if (typeof name2 !== "string" || name2.length === 0) {
|
|
87491
87136
|
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
87492
87137
|
}
|
|
@@ -87496,9 +87141,9 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
|
|
|
87496
87141
|
if ($exec$1(/^%?[^%]*%?$/, name2) === null) {
|
|
87497
87142
|
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
87498
87143
|
}
|
|
87499
|
-
var parts =
|
|
87144
|
+
var parts = stringToPath(name2);
|
|
87500
87145
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
87501
|
-
var intrinsic =
|
|
87146
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
87502
87147
|
var intrinsicRealName = intrinsic.name;
|
|
87503
87148
|
var value = intrinsic.value;
|
|
87504
87149
|
var skipFurtherCaching = false;
|
|
@@ -87547,8 +87192,79 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
|
|
|
87547
87192
|
}
|
|
87548
87193
|
return value;
|
|
87549
87194
|
};
|
|
87550
|
-
var
|
|
87551
|
-
|
|
87195
|
+
var callBind$3 = { exports: {} };
|
|
87196
|
+
(function(module2) {
|
|
87197
|
+
var bind4 = functionBind;
|
|
87198
|
+
var GetIntrinsic3 = getIntrinsic;
|
|
87199
|
+
var $apply = GetIntrinsic3("%Function.prototype.apply%");
|
|
87200
|
+
var $call = GetIntrinsic3("%Function.prototype.call%");
|
|
87201
|
+
var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
|
|
87202
|
+
var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
|
|
87203
|
+
var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true);
|
|
87204
|
+
var $max = GetIntrinsic3("%Math.max%");
|
|
87205
|
+
if ($defineProperty2) {
|
|
87206
|
+
try {
|
|
87207
|
+
$defineProperty2({}, "a", { value: 1 });
|
|
87208
|
+
} catch (e2) {
|
|
87209
|
+
$defineProperty2 = null;
|
|
87210
|
+
}
|
|
87211
|
+
}
|
|
87212
|
+
module2.exports = function callBind2(originalFunction) {
|
|
87213
|
+
var func = $reflectApply(bind4, $call, arguments);
|
|
87214
|
+
if ($gOPD2 && $defineProperty2) {
|
|
87215
|
+
var desc = $gOPD2(func, "length");
|
|
87216
|
+
if (desc.configurable) {
|
|
87217
|
+
$defineProperty2(
|
|
87218
|
+
func,
|
|
87219
|
+
"length",
|
|
87220
|
+
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
87221
|
+
);
|
|
87222
|
+
}
|
|
87223
|
+
}
|
|
87224
|
+
return func;
|
|
87225
|
+
};
|
|
87226
|
+
var applyBind = function applyBind2() {
|
|
87227
|
+
return $reflectApply(bind4, $apply, arguments);
|
|
87228
|
+
};
|
|
87229
|
+
if ($defineProperty2) {
|
|
87230
|
+
$defineProperty2(module2.exports, "apply", { value: applyBind });
|
|
87231
|
+
} else {
|
|
87232
|
+
module2.exports.apply = applyBind;
|
|
87233
|
+
}
|
|
87234
|
+
})(callBind$3);
|
|
87235
|
+
var callBindExports = callBind$3.exports;
|
|
87236
|
+
var GetIntrinsic$1 = getIntrinsic;
|
|
87237
|
+
var callBind$2 = callBindExports;
|
|
87238
|
+
var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
|
|
87239
|
+
var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
|
|
87240
|
+
var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
|
|
87241
|
+
if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
|
|
87242
|
+
return callBind$2(intrinsic);
|
|
87243
|
+
}
|
|
87244
|
+
return intrinsic;
|
|
87245
|
+
};
|
|
87246
|
+
var hasToStringTag$2 = shams();
|
|
87247
|
+
var callBound$1 = callBound$2;
|
|
87248
|
+
var $toString$1 = callBound$1("Object.prototype.toString");
|
|
87249
|
+
var isStandardArguments = function isArguments2(value) {
|
|
87250
|
+
if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
|
|
87251
|
+
return false;
|
|
87252
|
+
}
|
|
87253
|
+
return $toString$1(value) === "[object Arguments]";
|
|
87254
|
+
};
|
|
87255
|
+
var isLegacyArguments = function isArguments3(value) {
|
|
87256
|
+
if (isStandardArguments(value)) {
|
|
87257
|
+
return true;
|
|
87258
|
+
}
|
|
87259
|
+
return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
|
|
87260
|
+
};
|
|
87261
|
+
var supportsStandardArguments = function() {
|
|
87262
|
+
return isStandardArguments(arguments);
|
|
87263
|
+
}();
|
|
87264
|
+
isStandardArguments.isLegacyArguments = isLegacyArguments;
|
|
87265
|
+
var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
87266
|
+
var GetIntrinsic2 = getIntrinsic;
|
|
87267
|
+
var $defineProperty = GetIntrinsic2("%Object.defineProperty%", true);
|
|
87552
87268
|
var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
|
|
87553
87269
|
if ($defineProperty) {
|
|
87554
87270
|
try {
|
|
@@ -121150,16 +120866,16 @@ function addDecoder(cases, importFn) {
|
|
|
121150
120866
|
}
|
|
121151
120867
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
121152
120868
|
}
|
|
121153
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
121154
|
-
addDecoder(5, () => import("./lzw-
|
|
120869
|
+
addDecoder([void 0, 1], () => import("./raw-2ff96293.js").then((m2) => m2.default));
|
|
120870
|
+
addDecoder(5, () => import("./lzw-18e51214.js").then((m2) => m2.default));
|
|
121155
120871
|
addDecoder(6, () => {
|
|
121156
120872
|
throw new Error("old style JPEG compression is not supported.");
|
|
121157
120873
|
});
|
|
121158
|
-
addDecoder(7, () => import("./jpeg-
|
|
121159
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
121160
|
-
addDecoder(32773, () => import("./packbits-
|
|
121161
|
-
addDecoder(34887, () => import("./lerc-
|
|
121162
|
-
addDecoder(50001, () => import("./webimage-
|
|
120874
|
+
addDecoder(7, () => import("./jpeg-108c168d.js").then((m2) => m2.default));
|
|
120875
|
+
addDecoder([8, 32946], () => import("./deflate-13b0fa24.js").then((m2) => m2.default));
|
|
120876
|
+
addDecoder(32773, () => import("./packbits-c341c469.js").then((m2) => m2.default));
|
|
120877
|
+
addDecoder(34887, () => import("./lerc-d4cf2fcd.js").then((m2) => m2.default));
|
|
120878
|
+
addDecoder(50001, () => import("./webimage-51ac6f70.js").then((m2) => m2.default));
|
|
121163
120879
|
function decodeRowAcc(row, stride) {
|
|
121164
120880
|
let length2 = row.length - stride;
|
|
121165
120881
|
let offset5 = 0;
|
|
@@ -132043,16 +131759,8 @@ function _extends$2() {
|
|
|
132043
131759
|
};
|
|
132044
131760
|
return _extends$2.apply(this, arguments);
|
|
132045
131761
|
}
|
|
132046
|
-
function _typeof$1(obj) {
|
|
132047
|
-
"@babel/helpers - typeof";
|
|
132048
|
-
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
132049
|
-
return typeof obj2;
|
|
132050
|
-
} : function(obj2) {
|
|
132051
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
132052
|
-
}, _typeof$1(obj);
|
|
132053
|
-
}
|
|
132054
131762
|
function isPlainObject(item) {
|
|
132055
|
-
return item && _typeof$
|
|
131763
|
+
return item && _typeof$x(item) === "object" && item.constructor === Object;
|
|
132056
131764
|
}
|
|
132057
131765
|
function deepmerge(target, source) {
|
|
132058
131766
|
var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
@@ -132850,7 +132558,7 @@ function elementTypeAcceptingRef(props2, propName, componentName, location, prop
|
|
|
132850
132558
|
const elementTypeAcceptingRef$1 = chainPropTypes(propTypesExports.elementType, elementTypeAcceptingRef);
|
|
132851
132559
|
var specialProperty = "exact-prop: ";
|
|
132852
132560
|
function exactProp(propTypes2) {
|
|
132853
|
-
return _extends$2({}, propTypes2, _defineProperty$
|
|
132561
|
+
return _extends$2({}, propTypes2, _defineProperty$f({}, specialProperty, function(props2) {
|
|
132854
132562
|
var unsupportedProps = Object.keys(props2).filter(function(prop) {
|
|
132855
132563
|
return !propTypes2.hasOwnProperty(prop);
|
|
132856
132564
|
});
|
|
@@ -133081,7 +132789,7 @@ function getDisplayName(Component2) {
|
|
|
133081
132789
|
if (typeof Component2 === "function") {
|
|
133082
132790
|
return getFunctionComponentName(Component2, "Component");
|
|
133083
132791
|
}
|
|
133084
|
-
if (_typeof$
|
|
132792
|
+
if (_typeof$x(Component2) === "object") {
|
|
133085
132793
|
switch (Component2.$$typeof) {
|
|
133086
132794
|
case reactIsExports.ForwardRef:
|
|
133087
132795
|
return getWrappedName(Component2, Component2.render, "ForwardRef");
|
|
@@ -133264,6 +132972,20 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
133264
132972
|
}
|
|
133265
132973
|
return target;
|
|
133266
132974
|
}
|
|
132975
|
+
function _extends$1() {
|
|
132976
|
+
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
132977
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
132978
|
+
var source = arguments[i2];
|
|
132979
|
+
for (var key in source) {
|
|
132980
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
132981
|
+
target[key] = source[key];
|
|
132982
|
+
}
|
|
132983
|
+
}
|
|
132984
|
+
}
|
|
132985
|
+
return target;
|
|
132986
|
+
};
|
|
132987
|
+
return _extends$1.apply(this, arguments);
|
|
132988
|
+
}
|
|
133267
132989
|
var keys2 = ["xs", "sm", "md", "lg", "xl"];
|
|
133268
132990
|
function createBreakpoints(breakpoints) {
|
|
133269
132991
|
var _breakpoints$values = breakpoints.values, values2 = _breakpoints$values === void 0 ? {
|
|
@@ -133306,7 +133028,7 @@ function createBreakpoints(breakpoints) {
|
|
|
133306
133028
|
}
|
|
133307
133029
|
return values2[key];
|
|
133308
133030
|
}
|
|
133309
|
-
return _extends$
|
|
133031
|
+
return _extends$1({
|
|
133310
133032
|
keys: keys2,
|
|
133311
133033
|
values: values2,
|
|
133312
133034
|
up,
|
|
@@ -133318,14 +133040,14 @@ function createBreakpoints(breakpoints) {
|
|
|
133318
133040
|
}
|
|
133319
133041
|
function createMixins(breakpoints, spacing, mixins) {
|
|
133320
133042
|
var _toolbar;
|
|
133321
|
-
return _extends$
|
|
133043
|
+
return _extends$1({
|
|
133322
133044
|
gutters: function gutters() {
|
|
133323
133045
|
var styles21 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
133324
133046
|
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"));
|
|
133325
|
-
return _extends$
|
|
133047
|
+
return _extends$1({
|
|
133326
133048
|
paddingLeft: spacing(2),
|
|
133327
133049
|
paddingRight: spacing(2)
|
|
133328
|
-
}, styles21, _defineProperty$e({}, breakpoints.up("sm"), _extends$
|
|
133050
|
+
}, styles21, _defineProperty$e({}, breakpoints.up("sm"), _extends$1({
|
|
133329
133051
|
paddingLeft: spacing(3),
|
|
133330
133052
|
paddingRight: spacing(3)
|
|
133331
133053
|
}, styles21[breakpoints.up("sm")])));
|
|
@@ -133459,7 +133181,7 @@ function createPalette(palette) {
|
|
|
133459
133181
|
var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
|
|
133460
133182
|
var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
|
|
133461
133183
|
var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
|
|
133462
|
-
color = _extends$
|
|
133184
|
+
color = _extends$1({}, color);
|
|
133463
133185
|
if (!color.main && color[mainShade]) {
|
|
133464
133186
|
color.main = color[mainShade];
|
|
133465
133187
|
}
|
|
@@ -133485,7 +133207,7 @@ function createPalette(palette) {
|
|
|
133485
133207
|
console.error("Material-UI: The palette type `".concat(type, "` is not supported."));
|
|
133486
133208
|
}
|
|
133487
133209
|
}
|
|
133488
|
-
var paletteOutput = deepmerge(_extends$
|
|
133210
|
+
var paletteOutput = deepmerge(_extends$1({
|
|
133489
133211
|
// A collection of common colors.
|
|
133490
133212
|
common: common$1,
|
|
133491
133213
|
// The palette type, can be light or dark.
|
|
@@ -133550,7 +133272,7 @@ function createTypography(palette, typography) {
|
|
|
133550
133272
|
return "".concat(size / htmlFontSize * coef, "rem");
|
|
133551
133273
|
};
|
|
133552
133274
|
var buildVariant = function buildVariant2(fontWeight, size, lineHeight, letterSpacing, casing) {
|
|
133553
|
-
return _extends$
|
|
133275
|
+
return _extends$1({
|
|
133554
133276
|
fontFamily,
|
|
133555
133277
|
fontWeight,
|
|
133556
133278
|
fontSize: pxToRem(size),
|
|
@@ -133575,7 +133297,7 @@ function createTypography(palette, typography) {
|
|
|
133575
133297
|
caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
|
|
133576
133298
|
overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
|
|
133577
133299
|
};
|
|
133578
|
-
return deepmerge(_extends$
|
|
133300
|
+
return deepmerge(_extends$1({
|
|
133579
133301
|
htmlFontSize,
|
|
133580
133302
|
pxToRem,
|
|
133581
133303
|
round: roundWithDeprecationWarning,
|
|
@@ -133640,6 +133362,14 @@ function _nonIterableSpread$1() {
|
|
|
133640
133362
|
function _toConsumableArray$1(arr) {
|
|
133641
133363
|
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread$1();
|
|
133642
133364
|
}
|
|
133365
|
+
function _typeof$1(obj) {
|
|
133366
|
+
"@babel/helpers - typeof";
|
|
133367
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
133368
|
+
return typeof obj2;
|
|
133369
|
+
} : function(obj2) {
|
|
133370
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
133371
|
+
}, _typeof$1(obj);
|
|
133372
|
+
}
|
|
133643
133373
|
function _arrayWithHoles(arr) {
|
|
133644
133374
|
if (Array.isArray(arr))
|
|
133645
133375
|
return arr;
|
|
@@ -133961,20 +133691,6 @@ function warning(condition, message) {
|
|
|
133961
133691
|
}
|
|
133962
133692
|
}
|
|
133963
133693
|
}
|
|
133964
|
-
function _extends$1() {
|
|
133965
|
-
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
133966
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
133967
|
-
var source = arguments[i2];
|
|
133968
|
-
for (var key in source) {
|
|
133969
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
133970
|
-
target[key] = source[key];
|
|
133971
|
-
}
|
|
133972
|
-
}
|
|
133973
|
-
}
|
|
133974
|
-
return target;
|
|
133975
|
-
};
|
|
133976
|
-
return _extends$1.apply(this, arguments);
|
|
133977
|
-
}
|
|
133978
133694
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
|
|
133979
133695
|
return typeof obj;
|
|
133980
133696
|
} : function(obj) {
|
|
@@ -134258,7 +133974,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
|
134258
133974
|
_proto2.toString = function toString2(options) {
|
|
134259
133975
|
var sheet = this.options.sheet;
|
|
134260
133976
|
var link2 = sheet ? sheet.options.link : false;
|
|
134261
|
-
var opts2 = link2 ? _extends$
|
|
133977
|
+
var opts2 = link2 ? _extends$2({}, options, {
|
|
134262
133978
|
allowEmpty: true
|
|
134263
133979
|
}) : options;
|
|
134264
133980
|
return toCss(this.selectorText, this.style, opts2);
|
|
@@ -134305,7 +134021,7 @@ var ConditionalRule = /* @__PURE__ */ function() {
|
|
|
134305
134021
|
this.at = atMatch ? atMatch[1] : "unknown";
|
|
134306
134022
|
this.query = options.name || "@" + this.at;
|
|
134307
134023
|
this.options = options;
|
|
134308
|
-
this.rules = new RuleList(_extends$
|
|
134024
|
+
this.rules = new RuleList(_extends$2({}, options, {
|
|
134309
134025
|
parent: this
|
|
134310
134026
|
}));
|
|
134311
134027
|
for (var name2 in styles21) {
|
|
@@ -134377,11 +134093,11 @@ var KeyframesRule = /* @__PURE__ */ function() {
|
|
|
134377
134093
|
this.options = options;
|
|
134378
134094
|
var scoped = options.scoped, sheet = options.sheet, generateId = options.generateId;
|
|
134379
134095
|
this.id = scoped === false ? this.name : escape(generateId(this, sheet));
|
|
134380
|
-
this.rules = new RuleList(_extends$
|
|
134096
|
+
this.rules = new RuleList(_extends$2({}, options, {
|
|
134381
134097
|
parent: this
|
|
134382
134098
|
}));
|
|
134383
134099
|
for (var name2 in frames) {
|
|
134384
|
-
this.rules.add(name2, frames[name2], _extends$
|
|
134100
|
+
this.rules.add(name2, frames[name2], _extends$2({}, options, {
|
|
134385
134101
|
parent: this
|
|
134386
134102
|
}));
|
|
134387
134103
|
}
|
|
@@ -134466,7 +134182,7 @@ var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
|
134466
134182
|
_proto.toString = function toString2(options) {
|
|
134467
134183
|
var sheet = this.options.sheet;
|
|
134468
134184
|
var link2 = sheet ? sheet.options.link : false;
|
|
134469
|
-
var opts2 = link2 ? _extends$
|
|
134185
|
+
var opts2 = link2 ? _extends$2({}, options, {
|
|
134470
134186
|
allowEmpty: true
|
|
134471
134187
|
}) : options;
|
|
134472
134188
|
return toCss(this.key, this.style, opts2);
|
|
@@ -134590,7 +134306,7 @@ var RuleList = /* @__PURE__ */ function() {
|
|
|
134590
134306
|
var _proto = RuleList2.prototype;
|
|
134591
134307
|
_proto.add = function add2(name2, decl, ruleOptions) {
|
|
134592
134308
|
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;
|
|
134593
|
-
var options = _extends$
|
|
134309
|
+
var options = _extends$2({
|
|
134594
134310
|
classes: this.classes,
|
|
134595
134311
|
parent,
|
|
134596
134312
|
sheet,
|
|
@@ -134626,7 +134342,7 @@ var RuleList = /* @__PURE__ */ function() {
|
|
|
134626
134342
|
}
|
|
134627
134343
|
var options = ruleOptions;
|
|
134628
134344
|
if (oldIndex !== -1)
|
|
134629
|
-
options = _extends$
|
|
134345
|
+
options = _extends$2({}, ruleOptions, {
|
|
134630
134346
|
index: oldIndex
|
|
134631
134347
|
});
|
|
134632
134348
|
return this.add(name2, decl, options);
|
|
@@ -134739,7 +134455,7 @@ var StyleSheet = /* @__PURE__ */ function() {
|
|
|
134739
134455
|
this.deployed = false;
|
|
134740
134456
|
this.classes = {};
|
|
134741
134457
|
this.keyframes = {};
|
|
134742
|
-
this.options = _extends$
|
|
134458
|
+
this.options = _extends$2({}, options, {
|
|
134743
134459
|
sheet: this,
|
|
134744
134460
|
parent: this,
|
|
134745
134461
|
classes: this.classes,
|
|
@@ -135358,7 +135074,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
135358
135074
|
this.options.createGenerateId = options.createGenerateId;
|
|
135359
135075
|
}
|
|
135360
135076
|
if (options.id) {
|
|
135361
|
-
this.options.id = _extends$
|
|
135077
|
+
this.options.id = _extends$2({}, this.options.id, options.id);
|
|
135362
135078
|
}
|
|
135363
135079
|
if (options.createGenerateId || options.id) {
|
|
135364
135080
|
this.generateId = this.options.createGenerateId(this.options.id);
|
|
@@ -135380,7 +135096,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
135380
135096
|
if (typeof index2 !== "number") {
|
|
135381
135097
|
index2 = sheets.index === 0 ? 0 : sheets.index + 1;
|
|
135382
135098
|
}
|
|
135383
|
-
var sheet = new StyleSheet(styles21, _extends$
|
|
135099
|
+
var sheet = new StyleSheet(styles21, _extends$2({}, options, {
|
|
135384
135100
|
jss: this,
|
|
135385
135101
|
generateId: options.generateId || this.generateId,
|
|
135386
135102
|
insertionPoint: this.options.insertionPoint,
|
|
@@ -135405,7 +135121,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
135405
135121
|
if (typeof name2 === "object") {
|
|
135406
135122
|
return this.createRule(void 0, name2, style);
|
|
135407
135123
|
}
|
|
135408
|
-
var ruleOptions = _extends$
|
|
135124
|
+
var ruleOptions = _extends$2({}, options, {
|
|
135409
135125
|
name: name2,
|
|
135410
135126
|
jss: this,
|
|
135411
135127
|
Renderer: this.options.Renderer
|
|
@@ -135516,7 +135232,7 @@ var GlobalContainerRule = /* @__PURE__ */ function() {
|
|
|
135516
135232
|
this.isProcessed = false;
|
|
135517
135233
|
this.key = key;
|
|
135518
135234
|
this.options = options;
|
|
135519
|
-
this.rules = new RuleList(_extends$
|
|
135235
|
+
this.rules = new RuleList(_extends$1({}, options, {
|
|
135520
135236
|
parent: this
|
|
135521
135237
|
}));
|
|
135522
135238
|
for (var selector in styles21) {
|
|
@@ -135556,7 +135272,7 @@ var GlobalPrefixedRule = /* @__PURE__ */ function() {
|
|
|
135556
135272
|
this.key = key;
|
|
135557
135273
|
this.options = options;
|
|
135558
135274
|
var selector = key.substr(atPrefix.length);
|
|
135559
|
-
this.rule = options.jss.createRule(selector, style, _extends$
|
|
135275
|
+
this.rule = options.jss.createRule(selector, style, _extends$1({}, options, {
|
|
135560
135276
|
parent: this
|
|
135561
135277
|
}));
|
|
135562
135278
|
}
|
|
@@ -135583,7 +135299,7 @@ function handleNestedGlobalContainerRule(rule, sheet) {
|
|
|
135583
135299
|
if (!rules)
|
|
135584
135300
|
return;
|
|
135585
135301
|
for (var name2 in rules) {
|
|
135586
|
-
sheet.addRule(name2, rules[name2], _extends$
|
|
135302
|
+
sheet.addRule(name2, rules[name2], _extends$1({}, options, {
|
|
135587
135303
|
selector: addScope(name2, rule.selector)
|
|
135588
135304
|
}));
|
|
135589
135305
|
}
|
|
@@ -135595,7 +135311,7 @@ function handlePrefixedGlobalRule(rule, sheet) {
|
|
|
135595
135311
|
if (prop[0] !== "@" || prop.substr(0, at.length) !== at)
|
|
135596
135312
|
continue;
|
|
135597
135313
|
var selector = addScope(prop.substr(at.length), rule.selector);
|
|
135598
|
-
sheet.addRule(selector, style[prop], _extends$
|
|
135314
|
+
sheet.addRule(selector, style[prop], _extends$1({}, options, {
|
|
135599
135315
|
selector
|
|
135600
135316
|
}));
|
|
135601
135317
|
delete style[prop];
|
|
@@ -135664,12 +135380,12 @@ function jssNested() {
|
|
|
135664
135380
|
}
|
|
135665
135381
|
function getOptions(rule, container, prevOptions) {
|
|
135666
135382
|
if (prevOptions)
|
|
135667
|
-
return _extends$
|
|
135383
|
+
return _extends$2({}, prevOptions, {
|
|
135668
135384
|
index: prevOptions.index + 1
|
|
135669
135385
|
});
|
|
135670
135386
|
var nestingLevel = rule.options.nestingLevel;
|
|
135671
135387
|
nestingLevel = nestingLevel === void 0 ? 1 : nestingLevel + 1;
|
|
135672
|
-
var options = _extends$
|
|
135388
|
+
var options = _extends$2({}, rule.options, {
|
|
135673
135389
|
nestingLevel,
|
|
135674
135390
|
index: container.indexOf(rule) + 1
|
|
135675
135391
|
// We don't need the parent name to be set options for chlid.
|
|
@@ -135697,11 +135413,11 @@ function jssNested() {
|
|
|
135697
135413
|
selector = selector.replace(refRegExp, replaceRef3);
|
|
135698
135414
|
var name2 = styleRule.key + "-" + prop;
|
|
135699
135415
|
if ("replaceRule" in container) {
|
|
135700
|
-
container.replaceRule(name2, style[prop], _extends$
|
|
135416
|
+
container.replaceRule(name2, style[prop], _extends$2({}, options, {
|
|
135701
135417
|
selector
|
|
135702
135418
|
}));
|
|
135703
135419
|
} else {
|
|
135704
|
-
container.addRule(name2, style[prop], _extends$
|
|
135420
|
+
container.addRule(name2, style[prop], _extends$2({}, options, {
|
|
135705
135421
|
selector
|
|
135706
135422
|
}));
|
|
135707
135423
|
}
|
|
@@ -136471,7 +136187,7 @@ function mergeClasses() {
|
|
|
136471
136187
|
if (!newClasses) {
|
|
136472
136188
|
return baseClasses;
|
|
136473
136189
|
}
|
|
136474
|
-
var nextClasses = _extends$
|
|
136190
|
+
var nextClasses = _extends$1({}, baseClasses);
|
|
136475
136191
|
{
|
|
136476
136192
|
if (typeof newClasses === "string") {
|
|
136477
136193
|
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"));
|
|
@@ -136543,7 +136259,7 @@ var injectFirstNode;
|
|
|
136543
136259
|
function StylesProvider(props2) {
|
|
136544
136260
|
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"]);
|
|
136545
136261
|
var outerOptions = React__default.useContext(StylesContext);
|
|
136546
|
-
var context = _extends$
|
|
136262
|
+
var context = _extends$1({}, outerOptions, {
|
|
136547
136263
|
disableGeneration
|
|
136548
136264
|
}, localOptions);
|
|
136549
136265
|
{
|
|
@@ -136669,7 +136385,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
|
136669
136385
|
return styles21;
|
|
136670
136386
|
}
|
|
136671
136387
|
var overrides = theme.overrides[name2];
|
|
136672
|
-
var stylesWithOverrides = _extends$
|
|
136388
|
+
var stylesWithOverrides = _extends$1({}, styles21);
|
|
136673
136389
|
Object.keys(overrides).forEach(function(key) {
|
|
136674
136390
|
{
|
|
136675
136391
|
if (!stylesWithOverrides[key]) {
|
|
@@ -136730,7 +136446,7 @@ function attach(_ref22, props2) {
|
|
|
136730
136446
|
};
|
|
136731
136447
|
multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
|
|
136732
136448
|
}
|
|
136733
|
-
var options = _extends$
|
|
136449
|
+
var options = _extends$1({}, stylesCreator.options, stylesOptions, {
|
|
136734
136450
|
theme,
|
|
136735
136451
|
flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
|
|
136736
136452
|
});
|
|
@@ -136743,7 +136459,7 @@ function attach(_ref22, props2) {
|
|
|
136743
136459
|
}
|
|
136744
136460
|
var styles21 = stylesCreator.create(theme, name2);
|
|
136745
136461
|
if (!staticSheet) {
|
|
136746
|
-
staticSheet = stylesOptions.jss.createStyleSheet(styles21, _extends$
|
|
136462
|
+
staticSheet = stylesOptions.jss.createStyleSheet(styles21, _extends$1({
|
|
136747
136463
|
link: false
|
|
136748
136464
|
}, options));
|
|
136749
136465
|
staticSheet.attach();
|
|
@@ -136758,7 +136474,7 @@ function attach(_ref22, props2) {
|
|
|
136758
136474
|
sheetManager.dynamicStyles = getDynamicStyles(styles21);
|
|
136759
136475
|
}
|
|
136760
136476
|
if (sheetManager.dynamicStyles) {
|
|
136761
|
-
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$
|
|
136477
|
+
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$1({
|
|
136762
136478
|
link: true
|
|
136763
136479
|
}, options));
|
|
136764
136480
|
dynamicSheet.update(props2);
|
|
@@ -136840,7 +136556,7 @@ function makeStyles$1(stylesOrCreator) {
|
|
|
136840
136556
|
var useStyles2 = function useStyles3() {
|
|
136841
136557
|
var props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
136842
136558
|
var theme = useTheme$1() || defaultTheme2;
|
|
136843
|
-
var stylesOptions = _extends$
|
|
136559
|
+
var stylesOptions = _extends$1({}, React__default.useContext(StylesContext), stylesOptions2);
|
|
136844
136560
|
var instance = React__default.useRef();
|
|
136845
136561
|
var shouldUpdate = React__default.useRef();
|
|
136846
136562
|
useSynchronousEffect(function() {
|
|
@@ -136997,7 +136713,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
136997
136713
|
}
|
|
136998
136714
|
}
|
|
136999
136715
|
}
|
|
137000
|
-
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$
|
|
136716
|
+
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$1({
|
|
137001
136717
|
defaultTheme: defaultTheme2,
|
|
137002
136718
|
Component: Component2,
|
|
137003
136719
|
name: name2 || Component2.displayName,
|
|
@@ -137006,7 +136722,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
137006
136722
|
var WithStyles = /* @__PURE__ */ React__default.forwardRef(function WithStyles2(props2, ref) {
|
|
137007
136723
|
props2.classes;
|
|
137008
136724
|
var innerRef = props2.innerRef, other = _objectWithoutProperties(props2, ["classes", "innerRef"]);
|
|
137009
|
-
var classes = useStyles2(_extends$
|
|
136725
|
+
var classes = useStyles2(_extends$1({}, Component2.defaultProps, props2));
|
|
137010
136726
|
var theme;
|
|
137011
136727
|
var more = other;
|
|
137012
136728
|
if (typeof name2 === "string" || withTheme) {
|
|
@@ -137022,7 +136738,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
137022
136738
|
more.theme = theme;
|
|
137023
136739
|
}
|
|
137024
136740
|
}
|
|
137025
|
-
return /* @__PURE__ */ React__default.createElement(Component2, _extends$
|
|
136741
|
+
return /* @__PURE__ */ React__default.createElement(Component2, _extends$1({
|
|
137026
136742
|
ref: innerRef || ref,
|
|
137027
136743
|
classes
|
|
137028
136744
|
}, more));
|
|
@@ -137060,7 +136776,7 @@ var defaultTheme = createTheme();
|
|
|
137060
136776
|
const defaultTheme$1 = defaultTheme;
|
|
137061
136777
|
function makeStyles(stylesOrCreator) {
|
|
137062
136778
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
137063
|
-
return makeStyles$1(stylesOrCreator, _extends$
|
|
136779
|
+
return makeStyles$1(stylesOrCreator, _extends$1({
|
|
137064
136780
|
defaultTheme: defaultTheme$1
|
|
137065
136781
|
}, options));
|
|
137066
136782
|
}
|
|
@@ -137072,7 +136788,7 @@ function useTheme() {
|
|
|
137072
136788
|
return theme;
|
|
137073
136789
|
}
|
|
137074
136790
|
function withStyles2(stylesOrCreator, options) {
|
|
137075
|
-
return withStylesWithoutDefault(stylesOrCreator, _extends$
|
|
136791
|
+
return withStylesWithoutDefault(stylesOrCreator, _extends$1({
|
|
137076
136792
|
defaultTheme: defaultTheme$1
|
|
137077
136793
|
}, options));
|
|
137078
136794
|
}
|
|
@@ -137156,7 +136872,7 @@ var styles$u = function styles(theme) {
|
|
|
137156
136872
|
};
|
|
137157
136873
|
var SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(props2, ref) {
|
|
137158
136874
|
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"]);
|
|
137159
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
136875
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
137160
136876
|
className: clsx(classes.root, className, color !== "inherit" && classes["color".concat(capitalize(color))], fontSize !== "default" && fontSize !== "medium" && classes["fontSize".concat(capitalize(fontSize))]),
|
|
137161
136877
|
focusable: "false",
|
|
137162
136878
|
viewBox,
|
|
@@ -137234,7 +136950,7 @@ const SvgIcon$1 = withStyles2(styles$u, {
|
|
|
137234
136950
|
})(SvgIcon);
|
|
137235
136951
|
function createSvgIcon(path, displayName) {
|
|
137236
136952
|
var Component2 = function Component3(props2, ref) {
|
|
137237
|
-
return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$
|
|
136953
|
+
return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$1({
|
|
137238
136954
|
ref
|
|
137239
136955
|
}, props2), path);
|
|
137240
136956
|
};
|
|
@@ -138036,7 +137752,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
138036
137752
|
}
|
|
138037
137753
|
if (this.mounted) {
|
|
138038
137754
|
this.setState(function(state) {
|
|
138039
|
-
var children = _extends$
|
|
137755
|
+
var children = _extends$1({}, state.children);
|
|
138040
137756
|
delete children[child2.key];
|
|
138041
137757
|
return {
|
|
138042
137758
|
children
|
|
@@ -138134,7 +137850,7 @@ var styles$t = function styles2(theme) {
|
|
|
138134
137850
|
boxShadow: shadow2
|
|
138135
137851
|
};
|
|
138136
137852
|
});
|
|
138137
|
-
return _extends$
|
|
137853
|
+
return _extends$1({
|
|
138138
137854
|
/* Styles applied to the root element. */
|
|
138139
137855
|
root: {
|
|
138140
137856
|
backgroundColor: theme.palette.background.paper,
|
|
@@ -138153,7 +137869,7 @@ var styles$t = function styles2(theme) {
|
|
|
138153
137869
|
};
|
|
138154
137870
|
var Paper = /* @__PURE__ */ React.forwardRef(function Paper2(props2, ref) {
|
|
138155
137871
|
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"]);
|
|
138156
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
137872
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
138157
137873
|
className: clsx(classes.root, className, variant === "outlined" ? classes.outlined : classes["elevation".concat(elevation)], !square && classes.rounded),
|
|
138158
137874
|
ref
|
|
138159
137875
|
}, other));
|
|
@@ -138492,7 +138208,7 @@ var TouchRipple = /* @__PURE__ */ React.forwardRef(function TouchRipple2(props2,
|
|
|
138492
138208
|
stop
|
|
138493
138209
|
};
|
|
138494
138210
|
}, [pulsate, start, stop]);
|
|
138495
|
-
return /* @__PURE__ */ React.createElement("span", _extends$
|
|
138211
|
+
return /* @__PURE__ */ React.createElement("span", _extends$1({
|
|
138496
138212
|
className: clsx(classes.root, className),
|
|
138497
138213
|
ref: container
|
|
138498
138214
|
}, other), /* @__PURE__ */ React.createElement(TransitionGroup$1, {
|
|
@@ -138711,7 +138427,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props2, r
|
|
|
138711
138427
|
}
|
|
138712
138428
|
}, [enableTouchRipple]);
|
|
138713
138429
|
}
|
|
138714
|
-
return /* @__PURE__ */ React.createElement(ComponentProp, _extends$
|
|
138430
|
+
return /* @__PURE__ */ React.createElement(ComponentProp, _extends$1({
|
|
138715
138431
|
className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),
|
|
138716
138432
|
onBlur: handleBlur,
|
|
138717
138433
|
onClick,
|
|
@@ -138729,7 +138445,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props2, r
|
|
|
138729
138445
|
tabIndex: disabled ? -1 : tabIndex
|
|
138730
138446
|
}, buttonProps, other), children, enableTouchRipple ? (
|
|
138731
138447
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
138732
|
-
/* @__PURE__ */ React.createElement(TouchRipple$1, _extends$
|
|
138448
|
+
/* @__PURE__ */ React.createElement(TouchRipple$1, _extends$1({
|
|
138733
138449
|
ref: rippleRef,
|
|
138734
138450
|
center: centerRipple
|
|
138735
138451
|
}, TouchRippleProps))
|
|
@@ -138961,7 +138677,7 @@ var styles$q = function styles4(theme) {
|
|
|
138961
138677
|
};
|
|
138962
138678
|
var IconButton$1 = /* @__PURE__ */ React.forwardRef(function IconButton(props2, ref) {
|
|
138963
138679
|
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"]);
|
|
138964
|
-
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$
|
|
138680
|
+
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
|
|
138965
138681
|
className: clsx(classes.root, className, color !== "default" && classes["color".concat(capitalize(color))], disabled && classes.disabled, size === "small" && classes["size".concat(capitalize(size))], {
|
|
138966
138682
|
"start": classes.edgeStart,
|
|
138967
138683
|
"end": classes.edgeEnd
|
|
@@ -139097,7 +138813,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props2, r
|
|
|
139097
138813
|
}
|
|
139098
138814
|
}
|
|
139099
138815
|
var hasLabelFor = type === "checkbox" || type === "radio";
|
|
139100
|
-
return /* @__PURE__ */ React.createElement(IconButton$2, _extends$
|
|
138816
|
+
return /* @__PURE__ */ React.createElement(IconButton$2, _extends$1({
|
|
139101
138817
|
component: "span",
|
|
139102
138818
|
className: clsx(classes.root, className, checked && classes.checked, disabled && classes.disabled),
|
|
139103
138819
|
disabled,
|
|
@@ -139106,7 +138822,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props2, r
|
|
|
139106
138822
|
onFocus: handleFocus,
|
|
139107
138823
|
onBlur: handleBlur,
|
|
139108
138824
|
ref
|
|
139109
|
-
}, other), /* @__PURE__ */ React.createElement("input", _extends$
|
|
138825
|
+
}, other), /* @__PURE__ */ React.createElement("input", _extends$1({
|
|
139110
138826
|
autoFocus,
|
|
139111
138827
|
checked: checkedProp,
|
|
139112
138828
|
defaultChecked,
|
|
@@ -139275,7 +138991,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props2, ref)
|
|
|
139275
138991
|
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"]);
|
|
139276
138992
|
var icon = indeterminate ? indeterminateIconProp : iconProp;
|
|
139277
138993
|
var indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
|
139278
|
-
return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$
|
|
138994
|
+
return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$1({
|
|
139279
138995
|
type: "checkbox",
|
|
139280
138996
|
classes: {
|
|
139281
138997
|
root: clsx(classes.root, classes["color".concat(capitalize(color))], indeterminate && classes.indeterminate),
|
|
@@ -139283,7 +138999,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props2, ref)
|
|
|
139283
138999
|
disabled: classes.disabled
|
|
139284
139000
|
},
|
|
139285
139001
|
color,
|
|
139286
|
-
inputProps: _extends$
|
|
139002
|
+
inputProps: _extends$1({
|
|
139287
139003
|
"data-indeterminate": indeterminate
|
|
139288
139004
|
}, inputProps),
|
|
139289
139005
|
icon: /* @__PURE__ */ React.cloneElement(icon, {
|
|
@@ -139797,11 +139513,11 @@ var styles$n = {
|
|
|
139797
139513
|
};
|
|
139798
139514
|
var SimpleBackdrop = /* @__PURE__ */ React.forwardRef(function SimpleBackdrop2(props2, ref) {
|
|
139799
139515
|
var _props$invisible = props2.invisible, invisible = _props$invisible === void 0 ? false : _props$invisible, open = props2.open, other = _objectWithoutProperties(props2, ["invisible", "open"]);
|
|
139800
|
-
return open ? /* @__PURE__ */ React.createElement("div", _extends$
|
|
139516
|
+
return open ? /* @__PURE__ */ React.createElement("div", _extends$1({
|
|
139801
139517
|
"aria-hidden": true,
|
|
139802
139518
|
ref
|
|
139803
139519
|
}, other, {
|
|
139804
|
-
style: _extends$
|
|
139520
|
+
style: _extends$1({}, styles$n.root, invisible ? styles$n.invisible : {}, other.style)
|
|
139805
139521
|
})) : null;
|
|
139806
139522
|
});
|
|
139807
139523
|
SimpleBackdrop.propTypes = {
|
|
@@ -139845,7 +139561,7 @@ var Modal = /* @__PURE__ */ React.forwardRef(function Modal2(inProps, ref) {
|
|
|
139845
139561
|
var theme = useTheme$1();
|
|
139846
139562
|
var props2 = getThemeProps({
|
|
139847
139563
|
name: "MuiModal",
|
|
139848
|
-
props: _extends$
|
|
139564
|
+
props: _extends$1({}, inProps),
|
|
139849
139565
|
theme
|
|
139850
139566
|
});
|
|
139851
139567
|
var _props$BackdropCompon = props2.BackdropComponent, BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop$1 : _props$BackdropCompon, BackdropProps = props2.BackdropProps, children = props2.children, _props$closeAfterTran = props2.closeAfterTransition, closeAfterTransition = _props$closeAfterTran === void 0 ? false : _props$closeAfterTran, container = props2.container, _props$disableAutoFoc = props2.disableAutoFocus, disableAutoFocus = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc, _props$disableBackdro = props2.disableBackdropClick, disableBackdropClick = _props$disableBackdro === void 0 ? false : _props$disableBackdro, _props$disableEnforce = props2.disableEnforceFocus, disableEnforceFocus = _props$disableEnforce === void 0 ? false : _props$disableEnforce, _props$disableEscapeK = props2.disableEscapeKeyDown, disableEscapeKeyDown = _props$disableEscapeK === void 0 ? false : _props$disableEscapeK, _props$disablePortal = props2.disablePortal, disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal, _props$disableRestore = props2.disableRestoreFocus, disableRestoreFocus = _props$disableRestore === void 0 ? false : _props$disableRestore, _props$disableScrollL = props2.disableScrollLock, disableScrollLock = _props$disableScrollL === void 0 ? false : _props$disableScrollL, _props$hideBackdrop = props2.hideBackdrop, hideBackdrop = _props$hideBackdrop === void 0 ? false : _props$hideBackdrop, _props$keepMounted = props2.keepMounted, keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted, _props$manager = props2.manager, manager = _props$manager === void 0 ? defaultManager : _props$manager, onBackdropClick = props2.onBackdropClick, onClose = props2.onClose, onEscapeKeyDown = props2.onEscapeKeyDown, onRendered = props2.onRendered, open = props2.open, other = _objectWithoutProperties(props2, ["BackdropComponent", "BackdropProps", "children", "closeAfterTransition", "container", "disableAutoFocus", "disableBackdropClick", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onEscapeKeyDown", "onRendered", "open"]);
|
|
@@ -139960,13 +139676,13 @@ var Modal = /* @__PURE__ */ React.forwardRef(function Modal2(inProps, ref) {
|
|
|
139960
139676
|
ref: handlePortalRef,
|
|
139961
139677
|
container,
|
|
139962
139678
|
disablePortal
|
|
139963
|
-
}, /* @__PURE__ */ React.createElement("div", _extends$
|
|
139679
|
+
}, /* @__PURE__ */ React.createElement("div", _extends$1({
|
|
139964
139680
|
ref: handleRef,
|
|
139965
139681
|
onKeyDown: handleKeyDown2,
|
|
139966
139682
|
role: "presentation"
|
|
139967
139683
|
}, other, {
|
|
139968
|
-
style: _extends$
|
|
139969
|
-
}), hideBackdrop ? null : /* @__PURE__ */ React.createElement(BackdropComponent, _extends$
|
|
139684
|
+
style: _extends$1({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
|
|
139685
|
+
}), hideBackdrop ? null : /* @__PURE__ */ React.createElement(BackdropComponent, _extends$1({
|
|
139970
139686
|
open,
|
|
139971
139687
|
onClick: handleBackdropClick
|
|
139972
139688
|
}, BackdropProps)), /* @__PURE__ */ React.createElement(Unstable_TrapFocus, {
|
|
@@ -140194,12 +139910,12 @@ var TextareaAutosize = /* @__PURE__ */ React.forwardRef(function TextareaAutosiz
|
|
|
140194
139910
|
onChange(event);
|
|
140195
139911
|
}
|
|
140196
139912
|
};
|
|
140197
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("textarea", _extends$
|
|
139913
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("textarea", _extends$1({
|
|
140198
139914
|
value,
|
|
140199
139915
|
onChange: handleChange,
|
|
140200
139916
|
ref: handleRef,
|
|
140201
139917
|
rows: minRows,
|
|
140202
|
-
style: _extends$
|
|
139918
|
+
style: _extends$1({
|
|
140203
139919
|
height: state.outerHeightStyle,
|
|
140204
139920
|
// Need a large enough difference to allow scrolling.
|
|
140205
139921
|
// This prevents infinite rendering loop.
|
|
@@ -140211,7 +139927,7 @@ var TextareaAutosize = /* @__PURE__ */ React.forwardRef(function TextareaAutosiz
|
|
|
140211
139927
|
readOnly: true,
|
|
140212
139928
|
ref: shadowRef,
|
|
140213
139929
|
tabIndex: -1,
|
|
140214
|
-
style: _extends$
|
|
139930
|
+
style: _extends$1({}, styles$l.shadow, style)
|
|
140215
139931
|
}));
|
|
140216
139932
|
});
|
|
140217
139933
|
TextareaAutosize.propTypes = {
|
|
@@ -140295,7 +140011,7 @@ var styles$k = function styles7(theme) {
|
|
|
140295
140011
|
"@keyframes mui-auto-fill-cancel": {}
|
|
140296
140012
|
},
|
|
140297
140013
|
/* Styles applied to the root element. */
|
|
140298
|
-
root: _extends$
|
|
140014
|
+
root: _extends$1({}, theme.typography.body1, {
|
|
140299
140015
|
color: theme.palette.text.primary,
|
|
140300
140016
|
lineHeight: "1.1876em",
|
|
140301
140017
|
// Reset (19px), match the native input line-height
|
|
@@ -140552,11 +140268,11 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
|
|
|
140552
140268
|
}
|
|
140553
140269
|
};
|
|
140554
140270
|
var InputComponent = inputComponent;
|
|
140555
|
-
var inputProps = _extends$
|
|
140271
|
+
var inputProps = _extends$1({}, inputPropsProp, {
|
|
140556
140272
|
ref: handleInputRef
|
|
140557
140273
|
});
|
|
140558
140274
|
if (typeof InputComponent !== "string") {
|
|
140559
|
-
inputProps = _extends$
|
|
140275
|
+
inputProps = _extends$1({
|
|
140560
140276
|
// Rename ref to inputRef as we don't know the
|
|
140561
140277
|
// provided `inputComponent` structure.
|
|
140562
140278
|
inputRef: handleInputRef,
|
|
@@ -140568,7 +140284,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
|
|
|
140568
140284
|
if (rows && !maxRows && !minRows && !rowsMax && !rowsMin) {
|
|
140569
140285
|
InputComponent = "textarea";
|
|
140570
140286
|
} else {
|
|
140571
|
-
inputProps = _extends$
|
|
140287
|
+
inputProps = _extends$1({
|
|
140572
140288
|
minRows: rows || minRows,
|
|
140573
140289
|
rowsMax,
|
|
140574
140290
|
maxRows
|
|
@@ -140576,7 +140292,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
|
|
|
140576
140292
|
InputComponent = TextareaAutosize$1;
|
|
140577
140293
|
}
|
|
140578
140294
|
} else {
|
|
140579
|
-
inputProps = _extends$
|
|
140295
|
+
inputProps = _extends$1({
|
|
140580
140296
|
type
|
|
140581
140297
|
}, inputProps);
|
|
140582
140298
|
}
|
|
@@ -140590,13 +140306,13 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
|
|
|
140590
140306
|
muiFormControl.setAdornedStart(Boolean(startAdornment));
|
|
140591
140307
|
}
|
|
140592
140308
|
}, [muiFormControl, startAdornment]);
|
|
140593
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
140309
|
+
return /* @__PURE__ */ React.createElement("div", _extends$1({
|
|
140594
140310
|
className: clsx(classes.root, classes["color".concat(capitalize(fcs.color || "primary"))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fullWidth && classes.fullWidth, fcs.focused && classes.focused, muiFormControl && classes.formControl, multiline && classes.multiline, startAdornment && classes.adornedStart, endAdornment && classes.adornedEnd, fcs.margin === "dense" && classes.marginDense),
|
|
140595
140311
|
onClick: handleClick,
|
|
140596
140312
|
ref
|
|
140597
140313
|
}, other), startAdornment, /* @__PURE__ */ React.createElement(FormControlContext$1.Provider, {
|
|
140598
140314
|
value: null
|
|
140599
|
-
}, /* @__PURE__ */ React.createElement(InputComponent, _extends$
|
|
140315
|
+
}, /* @__PURE__ */ React.createElement(InputComponent, _extends$1({
|
|
140600
140316
|
"aria-invalid": fcs.error,
|
|
140601
140317
|
"aria-describedby": ariaDescribedby,
|
|
140602
140318
|
autoComplete,
|
|
@@ -140618,7 +140334,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
|
|
|
140618
140334
|
onBlur: handleBlur,
|
|
140619
140335
|
onChange: handleChange,
|
|
140620
140336
|
onFocus: handleFocus
|
|
140621
|
-
}))), endAdornment, renderSuffix ? renderSuffix(_extends$
|
|
140337
|
+
}))), endAdornment, renderSuffix ? renderSuffix(_extends$1({}, fcs, {
|
|
140622
140338
|
startAdornment
|
|
140623
140339
|
})) : null);
|
|
140624
140340
|
});
|
|
@@ -140936,8 +140652,8 @@ var styles$j = function styles8(theme) {
|
|
|
140936
140652
|
};
|
|
140937
140653
|
var FilledInput = /* @__PURE__ */ React.forwardRef(function FilledInput2(props2, ref) {
|
|
140938
140654
|
var disableUnderline = props2.disableUnderline, classes = props2.classes, _props$fullWidth = props2.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props2.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props2.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props2.type, type = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties(props2, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
|
|
140939
|
-
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$
|
|
140940
|
-
classes: _extends$
|
|
140655
|
+
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$1({
|
|
140656
|
+
classes: _extends$1({}, classes, {
|
|
140941
140657
|
root: clsx(classes.root, !disableUnderline && classes.underline),
|
|
140942
140658
|
underline: null
|
|
140943
140659
|
}),
|
|
@@ -141181,7 +140897,7 @@ var FormControl = /* @__PURE__ */ React.forwardRef(function FormControl2(props2,
|
|
|
141181
140897
|
};
|
|
141182
140898
|
return /* @__PURE__ */ React.createElement(FormControlContext$1.Provider, {
|
|
141183
140899
|
value: childContext
|
|
141184
|
-
}, /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
140900
|
+
}, /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
141185
140901
|
className: clsx(classes.root, className, margin !== "none" && classes["margin".concat(capitalize(margin))], fullWidth && classes.fullWidth),
|
|
141186
140902
|
ref
|
|
141187
140903
|
}, other), children));
|
|
@@ -141258,7 +140974,7 @@ const FormControl$1 = withStyles2(styles$i, {
|
|
|
141258
140974
|
var styles$h = function styles9(theme) {
|
|
141259
140975
|
return {
|
|
141260
140976
|
/* Styles applied to the root element. */
|
|
141261
|
-
root: _extends$
|
|
140977
|
+
root: _extends$1({
|
|
141262
140978
|
color: theme.palette.text.secondary
|
|
141263
140979
|
}, theme.typography.caption, {
|
|
141264
140980
|
textAlign: "left",
|
|
@@ -141308,7 +141024,7 @@ var FormHelperText = /* @__PURE__ */ React.forwardRef(function FormHelperText2(p
|
|
|
141308
141024
|
muiFormControl,
|
|
141309
141025
|
states: ["variant", "margin", "disabled", "error", "filled", "focused", "required"]
|
|
141310
141026
|
});
|
|
141311
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
141027
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
141312
141028
|
className: clsx(classes.root, (fcs.variant === "filled" || fcs.variant === "outlined") && classes.contained, className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required, fcs.margin === "dense" && classes.marginDense),
|
|
141313
141029
|
ref
|
|
141314
141030
|
}, other), children === " " ? (
|
|
@@ -141381,7 +141097,7 @@ const FormHelperText$1 = withStyles2(styles$h, {
|
|
|
141381
141097
|
var styles$g = function styles10(theme) {
|
|
141382
141098
|
return {
|
|
141383
141099
|
/* Styles applied to the root element. */
|
|
141384
|
-
root: _extends$
|
|
141100
|
+
root: _extends$1({
|
|
141385
141101
|
color: theme.palette.text.secondary
|
|
141386
141102
|
}, theme.typography.body1, {
|
|
141387
141103
|
lineHeight: 1,
|
|
@@ -141436,7 +141152,7 @@ var FormLabel = /* @__PURE__ */ React.forwardRef(function FormLabel2(props2, ref
|
|
|
141436
141152
|
muiFormControl,
|
|
141437
141153
|
states: ["color", "required", "focused", "disabled", "error", "filled"]
|
|
141438
141154
|
});
|
|
141439
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
141155
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
141440
141156
|
className: clsx(classes.root, classes["color".concat(capitalize(fcs.color || "primary"))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required),
|
|
141441
141157
|
ref
|
|
141442
141158
|
}, other), children, fcs.required && /* @__PURE__ */ React.createElement("span", {
|
|
@@ -141597,7 +141313,7 @@ var Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props2, ref) {
|
|
|
141597
141313
|
clearTimeout(timer2.current);
|
|
141598
141314
|
};
|
|
141599
141315
|
}, []);
|
|
141600
|
-
return /* @__PURE__ */ React.createElement(TransitionComponent, _extends$
|
|
141316
|
+
return /* @__PURE__ */ React.createElement(TransitionComponent, _extends$1({
|
|
141601
141317
|
appear: true,
|
|
141602
141318
|
in: inProp,
|
|
141603
141319
|
nodeRef: enableStrictModeCompat ? nodeRef : void 0,
|
|
@@ -141610,8 +141326,8 @@ var Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props2, ref) {
|
|
|
141610
141326
|
addEndListener,
|
|
141611
141327
|
timeout: timeout3 === "auto" ? null : timeout3
|
|
141612
141328
|
}, other), function(state, childProps) {
|
|
141613
|
-
return /* @__PURE__ */ React.cloneElement(children, _extends$
|
|
141614
|
-
style: _extends$
|
|
141329
|
+
return /* @__PURE__ */ React.cloneElement(children, _extends$1({
|
|
141330
|
+
style: _extends$1({
|
|
141615
141331
|
opacity: 0,
|
|
141616
141332
|
transform: getScale(0.75),
|
|
141617
141333
|
visibility: state === "exited" && !inProp ? "hidden" : void 0
|
|
@@ -141776,8 +141492,8 @@ var styles$e = function styles11(theme) {
|
|
|
141776
141492
|
};
|
|
141777
141493
|
var Input2 = /* @__PURE__ */ React.forwardRef(function Input3(props2, ref) {
|
|
141778
141494
|
var disableUnderline = props2.disableUnderline, classes = props2.classes, _props$fullWidth = props2.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props2.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props2.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props2.type, type = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties(props2, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
|
|
141779
|
-
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$
|
|
141780
|
-
classes: _extends$
|
|
141495
|
+
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$1({
|
|
141496
|
+
classes: _extends$1({}, classes, {
|
|
141781
141497
|
root: clsx(classes.root, !disableUnderline && classes.underline),
|
|
141782
141498
|
underline: null
|
|
141783
141499
|
}),
|
|
@@ -142004,7 +141720,7 @@ var InputLabel = /* @__PURE__ */ React.forwardRef(function InputLabel2(props2, r
|
|
|
142004
141720
|
muiFormControl,
|
|
142005
141721
|
states: ["margin", "variant"]
|
|
142006
141722
|
});
|
|
142007
|
-
return /* @__PURE__ */ React.createElement(FormLabel$1, _extends$
|
|
141723
|
+
return /* @__PURE__ */ React.createElement(FormLabel$1, _extends$1({
|
|
142008
141724
|
"data-shrink": shrink,
|
|
142009
141725
|
className: clsx(classes.root, className, muiFormControl && classes.formControl, !disableAnimation && classes.animated, shrink && classes.shrink, fcs.margin === "dense" && classes.marginDense, {
|
|
142010
141726
|
"filled": classes.filled,
|
|
@@ -142113,7 +141829,7 @@ var List = /* @__PURE__ */ React.forwardRef(function List2(props2, ref) {
|
|
|
142113
141829
|
}, [dense]);
|
|
142114
141830
|
return /* @__PURE__ */ React.createElement(ListContext$1.Provider, {
|
|
142115
141831
|
value: context
|
|
142116
|
-
}, /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
141832
|
+
}, /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
142117
141833
|
className: clsx(classes.root, className, dense && classes.dense, !disablePadding && classes.padding, subheader && classes.subheader),
|
|
142118
141834
|
ref
|
|
142119
141835
|
}, other), subheader, children));
|
|
@@ -142372,7 +142088,7 @@ var Popover = /* @__PURE__ */ React.forwardRef(function Popover2(props2, ref) {
|
|
|
142372
142088
|
transitionDuration = void 0;
|
|
142373
142089
|
}
|
|
142374
142090
|
var container = containerProp || (anchorEl ? ownerDocument(getAnchorEl$1(anchorEl)).body : void 0);
|
|
142375
|
-
return /* @__PURE__ */ React.createElement(Modal$1, _extends$
|
|
142091
|
+
return /* @__PURE__ */ React.createElement(Modal$1, _extends$1({
|
|
142376
142092
|
container,
|
|
142377
142093
|
open,
|
|
142378
142094
|
ref,
|
|
@@ -142380,7 +142096,7 @@ var Popover = /* @__PURE__ */ React.forwardRef(function Popover2(props2, ref) {
|
|
|
142380
142096
|
invisible: true
|
|
142381
142097
|
},
|
|
142382
142098
|
className: clsx(classes.root, className)
|
|
142383
|
-
}, other), /* @__PURE__ */ React.createElement(TransitionComponent, _extends$
|
|
142099
|
+
}, other), /* @__PURE__ */ React.createElement(TransitionComponent, _extends$1({
|
|
142384
142100
|
appear: true,
|
|
142385
142101
|
in: open,
|
|
142386
142102
|
onEnter,
|
|
@@ -142391,7 +142107,7 @@ var Popover = /* @__PURE__ */ React.forwardRef(function Popover2(props2, ref) {
|
|
|
142391
142107
|
timeout: transitionDuration
|
|
142392
142108
|
}, TransitionProps, {
|
|
142393
142109
|
onEntering: createChainedFunction(handleEntering, TransitionProps.onEntering)
|
|
142394
|
-
}), /* @__PURE__ */ React.createElement(Paper$1, _extends$
|
|
142110
|
+
}), /* @__PURE__ */ React.createElement(Paper$1, _extends$1({
|
|
142395
142111
|
elevation,
|
|
142396
142112
|
ref: handlePaperRef
|
|
142397
142113
|
}, PaperProps, {
|
|
@@ -142728,7 +142444,7 @@ var MenuList = /* @__PURE__ */ React.forwardRef(function MenuList2(props2, ref)
|
|
|
142728
142444
|
}
|
|
142729
142445
|
return child2;
|
|
142730
142446
|
});
|
|
142731
|
-
return /* @__PURE__ */ React.createElement(List$1, _extends$
|
|
142447
|
+
return /* @__PURE__ */ React.createElement(List$1, _extends$1({
|
|
142732
142448
|
role: "menu",
|
|
142733
142449
|
ref: handleRef,
|
|
142734
142450
|
className,
|
|
@@ -142860,24 +142576,24 @@ var Menu = /* @__PURE__ */ React.forwardRef(function Menu2(props2, ref) {
|
|
|
142860
142576
|
}
|
|
142861
142577
|
return child2;
|
|
142862
142578
|
});
|
|
142863
|
-
return /* @__PURE__ */ React.createElement(Popover$1, _extends$
|
|
142579
|
+
return /* @__PURE__ */ React.createElement(Popover$1, _extends$1({
|
|
142864
142580
|
getContentAnchorEl,
|
|
142865
142581
|
classes: PopoverClasses,
|
|
142866
142582
|
onClose,
|
|
142867
|
-
TransitionProps: _extends$
|
|
142583
|
+
TransitionProps: _extends$1({
|
|
142868
142584
|
onEntering: handleEntering
|
|
142869
142585
|
}, TransitionProps),
|
|
142870
142586
|
anchorOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
|
|
142871
142587
|
transformOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
|
|
142872
|
-
PaperProps: _extends$
|
|
142873
|
-
classes: _extends$
|
|
142588
|
+
PaperProps: _extends$1({}, PaperProps, {
|
|
142589
|
+
classes: _extends$1({}, PaperProps.classes, {
|
|
142874
142590
|
root: classes.paper
|
|
142875
142591
|
})
|
|
142876
142592
|
}),
|
|
142877
142593
|
open,
|
|
142878
142594
|
ref,
|
|
142879
142595
|
transitionDuration
|
|
142880
|
-
}, other), /* @__PURE__ */ React.createElement(MenuList$1, _extends$
|
|
142596
|
+
}, other), /* @__PURE__ */ React.createElement(MenuList$1, _extends$1({
|
|
142881
142597
|
onKeyDown: handleListKeyDown,
|
|
142882
142598
|
actions: menuListActionsRef,
|
|
142883
142599
|
autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
|
|
@@ -142997,7 +142713,7 @@ const Menu$1 = withStyles2(styles$a, {
|
|
|
142997
142713
|
})(Menu);
|
|
142998
142714
|
var NativeSelectInput = /* @__PURE__ */ React.forwardRef(function NativeSelectInput2(props2, ref) {
|
|
142999
142715
|
var classes = props2.classes, className = props2.className, disabled = props2.disabled, IconComponent = props2.IconComponent, inputRef = props2.inputRef, _props$variant = props2.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties(props2, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
|
|
143000
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("select", _extends$
|
|
142716
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("select", _extends$1({
|
|
143001
142717
|
className: clsx(
|
|
143002
142718
|
classes.root,
|
|
143003
142719
|
// TODO v5: merge root and select
|
|
@@ -143183,11 +142899,11 @@ var NativeSelect = /* @__PURE__ */ React.forwardRef(function NativeSelect2(props
|
|
|
143183
142899
|
muiFormControl,
|
|
143184
142900
|
states: ["variant"]
|
|
143185
142901
|
});
|
|
143186
|
-
return /* @__PURE__ */ React.cloneElement(input, _extends$
|
|
142902
|
+
return /* @__PURE__ */ React.cloneElement(input, _extends$1({
|
|
143187
142903
|
// Most of the logic is implemented in `NativeSelectInput`.
|
|
143188
142904
|
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
143189
142905
|
inputComponent: NativeSelectInput$1,
|
|
143190
|
-
inputProps: _extends$
|
|
142906
|
+
inputProps: _extends$1({
|
|
143191
142907
|
children,
|
|
143192
142908
|
classes,
|
|
143193
142909
|
IconComponent,
|
|
@@ -143310,7 +143026,7 @@ var NotchedOutline = /* @__PURE__ */ React.forwardRef(function NotchedOutline2(p
|
|
|
143310
143026
|
var theme = useTheme();
|
|
143311
143027
|
var align = theme.direction === "rtl" ? "right" : "left";
|
|
143312
143028
|
if (label !== void 0) {
|
|
143313
|
-
return /* @__PURE__ */ React.createElement("fieldset", _extends$
|
|
143029
|
+
return /* @__PURE__ */ React.createElement("fieldset", _extends$1({
|
|
143314
143030
|
"aria-hidden": true,
|
|
143315
143031
|
className: clsx(classes.root, className),
|
|
143316
143032
|
ref,
|
|
@@ -143324,9 +143040,9 @@ var NotchedOutline = /* @__PURE__ */ React.forwardRef(function NotchedOutline2(p
|
|
|
143324
143040
|
})));
|
|
143325
143041
|
}
|
|
143326
143042
|
var labelWidth = labelWidthProp > 0 ? labelWidthProp * 0.75 + 8 : 0.01;
|
|
143327
|
-
return /* @__PURE__ */ React.createElement("fieldset", _extends$
|
|
143043
|
+
return /* @__PURE__ */ React.createElement("fieldset", _extends$1({
|
|
143328
143044
|
"aria-hidden": true,
|
|
143329
|
-
style: _extends$
|
|
143045
|
+
style: _extends$1(_defineProperty$e({}, "padding".concat(capitalize(align)), 8), style),
|
|
143330
143046
|
className: clsx(classes.root, className),
|
|
143331
143047
|
ref
|
|
143332
143048
|
}, other), /* @__PURE__ */ React.createElement("legend", {
|
|
@@ -143469,7 +143185,7 @@ var styles$7 = function styles15(theme) {
|
|
|
143469
143185
|
};
|
|
143470
143186
|
var OutlinedInput = /* @__PURE__ */ React.forwardRef(function OutlinedInput2(props2, ref) {
|
|
143471
143187
|
var classes = props2.classes, _props$fullWidth = props2.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props2.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, label = props2.label, _props$labelWidth = props2.labelWidth, labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth, _props$multiline = props2.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, notched = props2.notched, _props$type = props2.type, type = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties(props2, ["classes", "fullWidth", "inputComponent", "label", "labelWidth", "multiline", "notched", "type"]);
|
|
143472
|
-
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$
|
|
143188
|
+
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$1({
|
|
143473
143189
|
renderSuffix: function renderSuffix(state) {
|
|
143474
143190
|
return /* @__PURE__ */ React.createElement(NotchedOutline$1, {
|
|
143475
143191
|
className: classes.notchedOutline,
|
|
@@ -143478,7 +143194,7 @@ var OutlinedInput = /* @__PURE__ */ React.forwardRef(function OutlinedInput2(pro
|
|
|
143478
143194
|
notched: typeof notched !== "undefined" ? notched : Boolean(state.startAdornment || state.filled || state.focused)
|
|
143479
143195
|
});
|
|
143480
143196
|
},
|
|
143481
|
-
classes: _extends$
|
|
143197
|
+
classes: _extends$1({}, classes, {
|
|
143482
143198
|
root: clsx(classes.root, classes.underline),
|
|
143483
143199
|
notchedOutline: null
|
|
143484
143200
|
}),
|
|
@@ -145229,10 +144945,10 @@ var Popper = /* @__PURE__ */ React.forwardRef(function Popper2(props2, ref) {
|
|
|
145229
144945
|
}
|
|
145230
144946
|
}
|
|
145231
144947
|
}
|
|
145232
|
-
var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$
|
|
144948
|
+
var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$1({
|
|
145233
144949
|
placement: rtlPlacement
|
|
145234
144950
|
}, popperOptions, {
|
|
145235
|
-
modifiers: _extends$
|
|
144951
|
+
modifiers: _extends$1({}, disablePortal ? {} : {
|
|
145236
144952
|
// It's using scrollParent by default, we can use the viewport when using a portal.
|
|
145237
144953
|
preventOverflow: {
|
|
145238
144954
|
boundariesElement: "window"
|
|
@@ -145289,11 +145005,11 @@ var Popper = /* @__PURE__ */ React.forwardRef(function Popper2(props2, ref) {
|
|
|
145289
145005
|
return /* @__PURE__ */ React.createElement(Portal$1, {
|
|
145290
145006
|
disablePortal,
|
|
145291
145007
|
container
|
|
145292
|
-
}, /* @__PURE__ */ React.createElement("div", _extends$
|
|
145008
|
+
}, /* @__PURE__ */ React.createElement("div", _extends$1({
|
|
145293
145009
|
ref: handleRef,
|
|
145294
145010
|
role: "tooltip"
|
|
145295
145011
|
}, other, {
|
|
145296
|
-
style: _extends$
|
|
145012
|
+
style: _extends$1({
|
|
145297
145013
|
// Prevents scroll issue, waiting for Popper.js to add this style once initiated.
|
|
145298
145014
|
position: "fixed",
|
|
145299
145015
|
// Fix Popper.js display issue
|
|
@@ -145638,7 +145354,7 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props2,
|
|
|
145638
145354
|
tabIndex = disabled ? null : 0;
|
|
145639
145355
|
}
|
|
145640
145356
|
var buttonId = SelectDisplayProps.id || (name2 ? "mui-component-select-".concat(name2) : void 0);
|
|
145641
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", _extends$
|
|
145357
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", _extends$1({
|
|
145642
145358
|
className: clsx(
|
|
145643
145359
|
classes.root,
|
|
145644
145360
|
// TODO v5: merge root and select
|
|
@@ -145670,7 +145386,7 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props2,
|
|
|
145670
145386
|
__html: "​"
|
|
145671
145387
|
}
|
|
145672
145388
|
})
|
|
145673
|
-
) : display), /* @__PURE__ */ React.createElement("input", _extends$
|
|
145389
|
+
) : display), /* @__PURE__ */ React.createElement("input", _extends$1({
|
|
145674
145390
|
value: Array.isArray(value) ? value.join(",") : value,
|
|
145675
145391
|
name: name2,
|
|
145676
145392
|
ref: inputRef,
|
|
@@ -145681,19 +145397,19 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props2,
|
|
|
145681
145397
|
autoFocus
|
|
145682
145398
|
}, other)), /* @__PURE__ */ React.createElement(IconComponent, {
|
|
145683
145399
|
className: clsx(classes.icon, classes["icon".concat(capitalize(variant))], open && classes.iconOpen, disabled && classes.disabled)
|
|
145684
|
-
}), /* @__PURE__ */ React.createElement(Menu$1, _extends$
|
|
145400
|
+
}), /* @__PURE__ */ React.createElement(Menu$1, _extends$1({
|
|
145685
145401
|
id: "menu-".concat(name2 || ""),
|
|
145686
145402
|
anchorEl: displayNode,
|
|
145687
145403
|
open,
|
|
145688
145404
|
onClose: handleClose
|
|
145689
145405
|
}, MenuProps, {
|
|
145690
|
-
MenuListProps: _extends$
|
|
145406
|
+
MenuListProps: _extends$1({
|
|
145691
145407
|
"aria-labelledby": labelId,
|
|
145692
145408
|
role: "listbox",
|
|
145693
145409
|
disableListWrap: true
|
|
145694
145410
|
}, MenuProps.MenuListProps),
|
|
145695
|
-
PaperProps: _extends$
|
|
145696
|
-
style: _extends$
|
|
145411
|
+
PaperProps: _extends$1({}, MenuProps.PaperProps, {
|
|
145412
|
+
style: _extends$1({
|
|
145697
145413
|
minWidth: menuMinWidth
|
|
145698
145414
|
}, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)
|
|
145699
145415
|
})
|
|
@@ -145853,11 +145569,11 @@ var Select = /* @__PURE__ */ React.forwardRef(function Select2(props2, ref) {
|
|
|
145853
145569
|
}),
|
|
145854
145570
|
filled: _ref2
|
|
145855
145571
|
}[variant];
|
|
145856
|
-
return /* @__PURE__ */ React.cloneElement(InputComponent, _extends$
|
|
145572
|
+
return /* @__PURE__ */ React.cloneElement(InputComponent, _extends$1({
|
|
145857
145573
|
// Most of the logic is implemented in `SelectInput`.
|
|
145858
145574
|
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
145859
145575
|
inputComponent,
|
|
145860
|
-
inputProps: _extends$
|
|
145576
|
+
inputProps: _extends$1({
|
|
145861
145577
|
children,
|
|
145862
145578
|
IconComponent,
|
|
145863
145579
|
variant,
|
|
@@ -145875,7 +145591,7 @@ var Select = /* @__PURE__ */ React.forwardRef(function Select2(props2, ref) {
|
|
|
145875
145591
|
onOpen,
|
|
145876
145592
|
open,
|
|
145877
145593
|
renderValue,
|
|
145878
|
-
SelectDisplayProps: _extends$
|
|
145594
|
+
SelectDisplayProps: _extends$1({
|
|
145879
145595
|
id
|
|
145880
145596
|
}, SelectDisplayProps)
|
|
145881
145597
|
}, inputProps, {
|
|
@@ -146030,7 +145746,7 @@ var styles$5 = function styles16(theme) {
|
|
|
146030
145746
|
}
|
|
146031
145747
|
},
|
|
146032
145748
|
open: {},
|
|
146033
|
-
offset: _extends$
|
|
145749
|
+
offset: _extends$1({
|
|
146034
145750
|
zIndex: 1
|
|
146035
145751
|
}, theme.typography.body2, {
|
|
146036
145752
|
fontSize: theme.typography.pxToRem(12),
|
|
@@ -146381,7 +146097,7 @@ var styles$4 = function styles17(theme) {
|
|
|
146381
146097
|
opacity: 0.8
|
|
146382
146098
|
},
|
|
146383
146099
|
/* Styles applied to the mark label element. */
|
|
146384
|
-
markLabel: _extends$
|
|
146100
|
+
markLabel: _extends$1({}, theme.typography.body2, {
|
|
146385
146101
|
color: theme.palette.text.secondary,
|
|
146386
146102
|
position: "absolute",
|
|
146387
146103
|
top: 26,
|
|
@@ -146687,8 +146403,8 @@ var Slider = /* @__PURE__ */ React.forwardRef(function Slider2(props2, ref) {
|
|
|
146687
146403
|
});
|
|
146688
146404
|
var trackOffset = valueToPercent(range2 ? values2[0] : min, min, max);
|
|
146689
146405
|
var trackLeap = valueToPercent(values2[values2.length - 1], min, max) - trackOffset;
|
|
146690
|
-
var trackStyle = _extends$
|
|
146691
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
146406
|
+
var trackStyle = _extends$1({}, axisProps[axis2].offset(trackOffset), axisProps[axis2].leap(trackLeap));
|
|
146407
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
146692
146408
|
ref: handleRef,
|
|
146693
146409
|
className: clsx(classes.root, classes["color".concat(capitalize(color))], className, disabled && classes.disabled, marks.length > 0 && marks.some(function(mark) {
|
|
146694
146410
|
return mark.label;
|
|
@@ -146932,7 +146648,7 @@ const Tablelvl2Context$1 = Tablelvl2Context;
|
|
|
146932
146648
|
var styles$3 = function styles18(theme) {
|
|
146933
146649
|
return {
|
|
146934
146650
|
/* Styles applied to the root element. */
|
|
146935
|
-
root: _extends$
|
|
146651
|
+
root: _extends$1({}, theme.typography.body2, {
|
|
146936
146652
|
display: "table-cell",
|
|
146937
146653
|
verticalAlign: "inherit",
|
|
146938
146654
|
// Workaround for a rendering bug with spanned columns in Chrome 62.0.
|
|
@@ -147044,7 +146760,7 @@ var TableCell = /* @__PURE__ */ React.forwardRef(function TableCell2(props2, ref
|
|
|
147044
146760
|
if (sortDirection) {
|
|
147045
146761
|
ariaSort = sortDirection === "asc" ? "ascending" : "descending";
|
|
147046
146762
|
}
|
|
147047
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
146763
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
147048
146764
|
ref,
|
|
147049
146765
|
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),
|
|
147050
146766
|
"aria-sort": ariaSort,
|
|
@@ -147141,7 +146857,7 @@ var defaultComponent = "tr";
|
|
|
147141
146857
|
var TableRow = /* @__PURE__ */ React.forwardRef(function TableRow2(props2, ref) {
|
|
147142
146858
|
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"]);
|
|
147143
146859
|
var tablelvl2 = React.useContext(Tablelvl2Context$1);
|
|
147144
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
146860
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
147145
146861
|
ref,
|
|
147146
146862
|
className: clsx(classes.root, className, tablelvl2 && {
|
|
147147
146863
|
"head": classes.head,
|
|
@@ -147217,7 +146933,7 @@ var TextField = /* @__PURE__ */ React.forwardRef(function TextField2(props2, ref
|
|
|
147217
146933
|
var helperTextId = helperText && id ? "".concat(id, "-helper-text") : void 0;
|
|
147218
146934
|
var inputLabelId = label && id ? "".concat(id, "-label") : void 0;
|
|
147219
146935
|
var InputComponent = variantComponent[variant];
|
|
147220
|
-
var InputElement = /* @__PURE__ */ React.createElement(InputComponent, _extends$
|
|
146936
|
+
var InputElement = /* @__PURE__ */ React.createElement(InputComponent, _extends$1({
|
|
147221
146937
|
"aria-describedby": helperTextId,
|
|
147222
146938
|
autoComplete,
|
|
147223
146939
|
autoFocus,
|
|
@@ -147239,7 +146955,7 @@ var TextField = /* @__PURE__ */ React.forwardRef(function TextField2(props2, ref
|
|
|
147239
146955
|
placeholder,
|
|
147240
146956
|
inputProps
|
|
147241
146957
|
}, InputMore, InputProps));
|
|
147242
|
-
return /* @__PURE__ */ React.createElement(FormControl$1, _extends$
|
|
146958
|
+
return /* @__PURE__ */ React.createElement(FormControl$1, _extends$1({
|
|
147243
146959
|
className: clsx(classes.root, className),
|
|
147244
146960
|
disabled,
|
|
147245
146961
|
error: error2,
|
|
@@ -147249,16 +146965,16 @@ var TextField = /* @__PURE__ */ React.forwardRef(function TextField2(props2, ref
|
|
|
147249
146965
|
required,
|
|
147250
146966
|
color,
|
|
147251
146967
|
variant
|
|
147252
|
-
}, other), label && /* @__PURE__ */ React.createElement(InputLabel$1, _extends$
|
|
146968
|
+
}, other), label && /* @__PURE__ */ React.createElement(InputLabel$1, _extends$1({
|
|
147253
146969
|
htmlFor: id,
|
|
147254
146970
|
id: inputLabelId
|
|
147255
|
-
}, InputLabelProps), label), select ? /* @__PURE__ */ React.createElement(Select$1, _extends$
|
|
146971
|
+
}, InputLabelProps), label), select ? /* @__PURE__ */ React.createElement(Select$1, _extends$1({
|
|
147256
146972
|
"aria-describedby": helperTextId,
|
|
147257
146973
|
id,
|
|
147258
146974
|
labelId: inputLabelId,
|
|
147259
146975
|
value,
|
|
147260
146976
|
input: InputElement
|
|
147261
|
-
}, SelectProps), children) : InputElement, helperText && /* @__PURE__ */ React.createElement(FormHelperText$1, _extends$
|
|
146977
|
+
}, SelectProps), children) : InputElement, helperText && /* @__PURE__ */ React.createElement(FormHelperText$1, _extends$1({
|
|
147262
146978
|
id: helperTextId
|
|
147263
146979
|
}, FormHelperTextProps), helperText));
|
|
147264
146980
|
});
|
|
@@ -147606,7 +147322,7 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
|
147606
147322
|
// eslint-disable-next-line consistent-return
|
|
147607
147323
|
onHover(info) {
|
|
147608
147324
|
const { coordinate, sourceLayer: layer, tile } = info;
|
|
147609
|
-
const { setCellHighlight, cellHighlight, setComponentHover, layers } = this.props;
|
|
147325
|
+
const { setCellHighlight, cellHighlight, setComponentHover, layers, setHoverInfo } = this.props;
|
|
147610
147326
|
const hasBitmask = (layers || []).some((l2) => l2.type === "bitmask");
|
|
147611
147327
|
if (!setCellHighlight || !tile) {
|
|
147612
147328
|
return null;
|
|
@@ -147615,6 +147331,9 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
|
147615
147331
|
if (cellHighlight && hasBitmask) {
|
|
147616
147332
|
setCellHighlight(null);
|
|
147617
147333
|
}
|
|
147334
|
+
if (setHoverInfo) {
|
|
147335
|
+
setHoverInfo(null, null);
|
|
147336
|
+
}
|
|
147618
147337
|
return null;
|
|
147619
147338
|
}
|
|
147620
147339
|
const { content, bbox: bbox2, index: { z: z2 } } = tile;
|
|
@@ -147622,6 +147341,9 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
|
147622
147341
|
if (cellHighlight && hasBitmask) {
|
|
147623
147342
|
setCellHighlight(null);
|
|
147624
147343
|
}
|
|
147344
|
+
if (setHoverInfo) {
|
|
147345
|
+
setHoverInfo(null, null);
|
|
147346
|
+
}
|
|
147625
147347
|
return null;
|
|
147626
147348
|
}
|
|
147627
147349
|
const { data, width, height } = content;
|
|
@@ -147653,6 +147375,13 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
|
147653
147375
|
}
|
|
147654
147376
|
setCellHighlight(cellId ? String(cellId) : null);
|
|
147655
147377
|
}
|
|
147378
|
+
if (setHoverInfo) {
|
|
147379
|
+
if (cellId) {
|
|
147380
|
+
setHoverInfo(hoverData, coordinate);
|
|
147381
|
+
} else {
|
|
147382
|
+
setHoverInfo(null, null);
|
|
147383
|
+
}
|
|
147384
|
+
}
|
|
147656
147385
|
}
|
|
147657
147386
|
}
|
|
147658
147387
|
/**
|
|
@@ -147667,7 +147396,8 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
|
147667
147396
|
if (updateViewInfo && viewport) {
|
|
147668
147397
|
updateViewInfo({
|
|
147669
147398
|
uuid,
|
|
147670
|
-
project:
|
|
147399
|
+
project: viewport.project,
|
|
147400
|
+
projectFromId: (obsId) => {
|
|
147671
147401
|
try {
|
|
147672
147402
|
if (obsIndex && obsLocations) {
|
|
147673
147403
|
const getObsCoords = makeGetObsCoords(obsLocations);
|
|
@@ -148282,7 +148012,7 @@ function ScatterplotTooltipSubscriber(props2) {
|
|
|
148282
148012
|
const viewInfo = useComponentViewInfo(parentUuid);
|
|
148283
148013
|
const [cellInfo, x2, y2] = obsHighlight && getObsInfo ? [
|
|
148284
148014
|
getObsInfo(obsHighlight),
|
|
148285
|
-
...viewInfo && viewInfo.
|
|
148015
|
+
...viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(obsHighlight) : [null, null]
|
|
148286
148016
|
] : [null, null, null];
|
|
148287
148017
|
return cellInfo ? jsxRuntimeExports.jsx(Tooltip2D, { x: x2, y: y2, parentUuid, sourceUuid, parentWidth: width, parentHeight: height, children: jsxRuntimeExports.jsx(TooltipContent, { info: cellInfo }) }) : null;
|
|
148288
148018
|
}
|