@vitessce/scatterplot-embedding 3.5.7 → 3.5.8
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-7ff395f6.js → deflate-38080dfa.js} +1 -1
- package/dist/{index-6931089e.js → index-5909753b.js} +599 -622
- package/dist/index.js +1 -1
- package/dist/{jpeg-db1f9adb.js → jpeg-8c087dbd.js} +1 -1
- package/dist/{lerc-9859e1c5.js → lerc-6f97422d.js} +1 -1
- package/dist/{lzw-4b6e12be.js → lzw-551d533e.js} +1 -1
- package/dist/{packbits-61eb655b.js → packbits-da285c36.js} +1 -1
- package/dist/{raw-3928687d.js → raw-44cfcc64.js} +1 -1
- package/dist/{webimage-62020543.js → webimage-201fd4a3.js} +1 -1
- package/dist-tsc/DualEmbeddingScatterplotSubscriber.d.ts.map +1 -1
- package/dist-tsc/DualEmbeddingScatterplotSubscriber.js +2 -2
- package/package.json +7 -7
- package/src/DualEmbeddingScatterplotSubscriber.js +3 -0
|
@@ -939,9 +939,64 @@ var reactJsxRuntime_development = {};
|
|
|
939
939
|
jsxRuntime.exports = reactJsxRuntime_development;
|
|
940
940
|
}
|
|
941
941
|
var jsxRuntimeExports = jsxRuntime.exports;
|
|
942
|
-
function
|
|
942
|
+
function ascending$3(a2, b) {
|
|
943
|
+
return a2 < b ? -1 : a2 > b ? 1 : a2 >= b ? 0 : NaN;
|
|
944
|
+
}
|
|
945
|
+
function bisector$1(f2) {
|
|
946
|
+
let delta = f2;
|
|
947
|
+
let compare2 = f2;
|
|
948
|
+
if (f2.length === 1) {
|
|
949
|
+
delta = (d, x2) => f2(d) - x2;
|
|
950
|
+
compare2 = ascendingComparator$1(f2);
|
|
951
|
+
}
|
|
952
|
+
function left2(a2, x2, lo, hi) {
|
|
953
|
+
if (lo == null)
|
|
954
|
+
lo = 0;
|
|
955
|
+
if (hi == null)
|
|
956
|
+
hi = a2.length;
|
|
957
|
+
while (lo < hi) {
|
|
958
|
+
const mid = lo + hi >>> 1;
|
|
959
|
+
if (compare2(a2[mid], x2) < 0)
|
|
960
|
+
lo = mid + 1;
|
|
961
|
+
else
|
|
962
|
+
hi = mid;
|
|
963
|
+
}
|
|
964
|
+
return lo;
|
|
965
|
+
}
|
|
966
|
+
function right2(a2, x2, lo, hi) {
|
|
967
|
+
if (lo == null)
|
|
968
|
+
lo = 0;
|
|
969
|
+
if (hi == null)
|
|
970
|
+
hi = a2.length;
|
|
971
|
+
while (lo < hi) {
|
|
972
|
+
const mid = lo + hi >>> 1;
|
|
973
|
+
if (compare2(a2[mid], x2) > 0)
|
|
974
|
+
hi = mid;
|
|
975
|
+
else
|
|
976
|
+
lo = mid + 1;
|
|
977
|
+
}
|
|
978
|
+
return lo;
|
|
979
|
+
}
|
|
980
|
+
function center2(a2, x2, lo, hi) {
|
|
981
|
+
if (lo == null)
|
|
982
|
+
lo = 0;
|
|
983
|
+
if (hi == null)
|
|
984
|
+
hi = a2.length;
|
|
985
|
+
const i2 = left2(a2, x2, lo, hi - 1);
|
|
986
|
+
return i2 > lo && delta(a2[i2 - 1], x2) > -delta(a2[i2], x2) ? i2 - 1 : i2;
|
|
987
|
+
}
|
|
988
|
+
return { left: left2, center: center2, right: right2 };
|
|
989
|
+
}
|
|
990
|
+
function ascendingComparator$1(f2) {
|
|
991
|
+
return (d, x2) => ascending$3(f2(d), x2);
|
|
992
|
+
}
|
|
993
|
+
function number$3(x2) {
|
|
943
994
|
return x2 === null ? NaN : +x2;
|
|
944
995
|
}
|
|
996
|
+
const ascendingBisect = bisector$1(ascending$3);
|
|
997
|
+
const bisectRight = ascendingBisect.right;
|
|
998
|
+
bisector$1(number$3).center;
|
|
999
|
+
const bisect = bisectRight;
|
|
945
1000
|
function extent$1(values2, valueof) {
|
|
946
1001
|
let min;
|
|
947
1002
|
let max2;
|
|
@@ -977,6 +1032,54 @@ function extent$1(values2, valueof) {
|
|
|
977
1032
|
}
|
|
978
1033
|
return [min, max2];
|
|
979
1034
|
}
|
|
1035
|
+
var e10 = Math.sqrt(50), e5 = Math.sqrt(10), e2 = Math.sqrt(2);
|
|
1036
|
+
function ticks(start, stop, count2) {
|
|
1037
|
+
var reverse, i2 = -1, n2, ticks2, step;
|
|
1038
|
+
stop = +stop, start = +start, count2 = +count2;
|
|
1039
|
+
if (start === stop && count2 > 0)
|
|
1040
|
+
return [start];
|
|
1041
|
+
if (reverse = stop < start)
|
|
1042
|
+
n2 = start, start = stop, stop = n2;
|
|
1043
|
+
if ((step = tickIncrement(start, stop, count2)) === 0 || !isFinite(step))
|
|
1044
|
+
return [];
|
|
1045
|
+
if (step > 0) {
|
|
1046
|
+
let r0 = Math.round(start / step), r1 = Math.round(stop / step);
|
|
1047
|
+
if (r0 * step < start)
|
|
1048
|
+
++r0;
|
|
1049
|
+
if (r1 * step > stop)
|
|
1050
|
+
--r1;
|
|
1051
|
+
ticks2 = new Array(n2 = r1 - r0 + 1);
|
|
1052
|
+
while (++i2 < n2)
|
|
1053
|
+
ticks2[i2] = (r0 + i2) * step;
|
|
1054
|
+
} else {
|
|
1055
|
+
step = -step;
|
|
1056
|
+
let r0 = Math.round(start * step), r1 = Math.round(stop * step);
|
|
1057
|
+
if (r0 / step < start)
|
|
1058
|
+
++r0;
|
|
1059
|
+
if (r1 / step > stop)
|
|
1060
|
+
--r1;
|
|
1061
|
+
ticks2 = new Array(n2 = r1 - r0 + 1);
|
|
1062
|
+
while (++i2 < n2)
|
|
1063
|
+
ticks2[i2] = (r0 + i2) / step;
|
|
1064
|
+
}
|
|
1065
|
+
if (reverse)
|
|
1066
|
+
ticks2.reverse();
|
|
1067
|
+
return ticks2;
|
|
1068
|
+
}
|
|
1069
|
+
function tickIncrement(start, stop, count2) {
|
|
1070
|
+
var step = (stop - start) / Math.max(0, count2), power = Math.floor(Math.log(step) / Math.LN10), error2 = step / Math.pow(10, power);
|
|
1071
|
+
return power >= 0 ? (error2 >= e10 ? 10 : error2 >= e5 ? 5 : error2 >= e2 ? 2 : 1) * Math.pow(10, power) : -Math.pow(10, -power) / (error2 >= e10 ? 10 : error2 >= e5 ? 5 : error2 >= e2 ? 2 : 1);
|
|
1072
|
+
}
|
|
1073
|
+
function tickStep(start, stop, count2) {
|
|
1074
|
+
var step0 = Math.abs(stop - start) / Math.max(0, count2), step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)), error2 = step0 / step1;
|
|
1075
|
+
if (error2 >= e10)
|
|
1076
|
+
step1 *= 10;
|
|
1077
|
+
else if (error2 >= e5)
|
|
1078
|
+
step1 *= 5;
|
|
1079
|
+
else if (error2 >= e2)
|
|
1080
|
+
step1 *= 2;
|
|
1081
|
+
return stop < start ? -step1 : step1;
|
|
1082
|
+
}
|
|
980
1083
|
function max$1(values2, valueof) {
|
|
981
1084
|
let max2;
|
|
982
1085
|
if (valueof === void 0) {
|
|
@@ -995,7 +1098,7 @@ function max$1(values2, valueof) {
|
|
|
995
1098
|
}
|
|
996
1099
|
return max2;
|
|
997
1100
|
}
|
|
998
|
-
function quantileSorted(values2, p, valueof = number$
|
|
1101
|
+
function quantileSorted(values2, p, valueof = number$3) {
|
|
999
1102
|
if (!(n2 = values2.length))
|
|
1000
1103
|
return;
|
|
1001
1104
|
if ((p = +p) <= 0 || n2 < 2)
|
|
@@ -1066,7 +1169,7 @@ var reTrimStart = /^\s+/;
|
|
|
1066
1169
|
function baseTrim(string2) {
|
|
1067
1170
|
return string2 ? string2.slice(0, trimmedEndIndex(string2) + 1).replace(reTrimStart, "") : string2;
|
|
1068
1171
|
}
|
|
1069
|
-
function isObject$
|
|
1172
|
+
function isObject$5(value) {
|
|
1070
1173
|
var type2 = typeof value;
|
|
1071
1174
|
return value != null && (type2 == "object" || type2 == "function");
|
|
1072
1175
|
}
|
|
@@ -1082,9 +1185,9 @@ function toNumber$1(value) {
|
|
|
1082
1185
|
if (isSymbol$1(value)) {
|
|
1083
1186
|
return NAN$1;
|
|
1084
1187
|
}
|
|
1085
|
-
if (isObject$
|
|
1188
|
+
if (isObject$5(value)) {
|
|
1086
1189
|
var other = typeof value.valueOf == "function" ? value.valueOf() : value;
|
|
1087
|
-
value = isObject$
|
|
1190
|
+
value = isObject$5(other) ? other + "" : other;
|
|
1088
1191
|
}
|
|
1089
1192
|
if (typeof value != "string") {
|
|
1090
1193
|
return value === 0 ? value : +value;
|
|
@@ -1106,8 +1209,8 @@ function toFinite$1(value) {
|
|
|
1106
1209
|
return value === value ? value : 0;
|
|
1107
1210
|
}
|
|
1108
1211
|
var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
|
|
1109
|
-
function isFunction$
|
|
1110
|
-
if (!isObject$
|
|
1212
|
+
function isFunction$4(value) {
|
|
1213
|
+
if (!isObject$5(value)) {
|
|
1111
1214
|
return false;
|
|
1112
1215
|
}
|
|
1113
1216
|
var tag = baseGetTag(value);
|
|
@@ -1146,10 +1249,10 @@ var reIsNative = RegExp(
|
|
|
1146
1249
|
"^" + funcToString.call(hasOwnProperty$c).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1147
1250
|
);
|
|
1148
1251
|
function baseIsNative(value) {
|
|
1149
|
-
if (!isObject$
|
|
1252
|
+
if (!isObject$5(value) || isMasked(value)) {
|
|
1150
1253
|
return false;
|
|
1151
1254
|
}
|
|
1152
|
-
var pattern = isFunction$
|
|
1255
|
+
var pattern = isFunction$4(value) ? reIsNative : reIsHostCtor;
|
|
1153
1256
|
return pattern.test(toSource(value));
|
|
1154
1257
|
}
|
|
1155
1258
|
function getValue$1(object2, key) {
|
|
@@ -1166,7 +1269,7 @@ var baseCreate = function() {
|
|
|
1166
1269
|
function object2() {
|
|
1167
1270
|
}
|
|
1168
1271
|
return function(proto) {
|
|
1169
|
-
if (!isObject$
|
|
1272
|
+
if (!isObject$5(proto)) {
|
|
1170
1273
|
return {};
|
|
1171
1274
|
}
|
|
1172
1275
|
if (objectCreate) {
|
|
@@ -1258,10 +1361,10 @@ function isLength(value) {
|
|
|
1258
1361
|
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$2;
|
|
1259
1362
|
}
|
|
1260
1363
|
function isArrayLike(value) {
|
|
1261
|
-
return value != null && isLength(value.length) && !isFunction$
|
|
1364
|
+
return value != null && isLength(value.length) && !isFunction$4(value);
|
|
1262
1365
|
}
|
|
1263
1366
|
function isIterateeCall(value, index2, object2) {
|
|
1264
|
-
if (!isObject$
|
|
1367
|
+
if (!isObject$5(object2)) {
|
|
1265
1368
|
return false;
|
|
1266
1369
|
}
|
|
1267
1370
|
var type2 = typeof index2;
|
|
@@ -1387,7 +1490,7 @@ function nativeKeysIn(object2) {
|
|
|
1387
1490
|
var objectProto$7 = Object.prototype;
|
|
1388
1491
|
var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
|
|
1389
1492
|
function baseKeysIn(object2) {
|
|
1390
|
-
if (!isObject$
|
|
1493
|
+
if (!isObject$5(object2)) {
|
|
1391
1494
|
return nativeKeysIn(object2);
|
|
1392
1495
|
}
|
|
1393
1496
|
var isProto = isPrototype(object2), result = [];
|
|
@@ -1833,7 +1936,7 @@ function baseClone(value, bitmask, customizer, key, object2, stack2) {
|
|
|
1833
1936
|
if (result !== void 0) {
|
|
1834
1937
|
return result;
|
|
1835
1938
|
}
|
|
1836
|
-
if (!isObject$
|
|
1939
|
+
if (!isObject$5(value)) {
|
|
1837
1940
|
return value;
|
|
1838
1941
|
}
|
|
1839
1942
|
var isArr = isArray$4(value);
|
|
@@ -2127,7 +2230,7 @@ function debounce$2(func, wait, options) {
|
|
|
2127
2230
|
throw new TypeError(FUNC_ERROR_TEXT$1);
|
|
2128
2231
|
}
|
|
2129
2232
|
wait = toNumber$1(wait) || 0;
|
|
2130
|
-
if (isObject$
|
|
2233
|
+
if (isObject$5(options)) {
|
|
2131
2234
|
leading = !!options.leading;
|
|
2132
2235
|
maxing = "maxWait" in options;
|
|
2133
2236
|
maxWait = maxing ? nativeMax$2(toNumber$1(options.maxWait) || 0, wait) : maxWait;
|
|
@@ -2371,7 +2474,7 @@ function point(coordinates2, properties, options) {
|
|
|
2371
2474
|
if (coordinates2.length < 2) {
|
|
2372
2475
|
throw new Error("coordinates must be at least 2 numbers long");
|
|
2373
2476
|
}
|
|
2374
|
-
if (!isNumber(coordinates2[0]) || !isNumber(coordinates2[1])) {
|
|
2477
|
+
if (!isNumber$1(coordinates2[0]) || !isNumber$1(coordinates2[1])) {
|
|
2375
2478
|
throw new Error("coordinates must contain numbers");
|
|
2376
2479
|
}
|
|
2377
2480
|
var geom = {
|
|
@@ -2572,10 +2675,10 @@ function convertArea(area2, originalUnit, finalUnit) {
|
|
|
2572
2675
|
}
|
|
2573
2676
|
return area2 / startFactor * finalFactor;
|
|
2574
2677
|
}
|
|
2575
|
-
function isNumber(num) {
|
|
2678
|
+
function isNumber$1(num) {
|
|
2576
2679
|
return !isNaN(num) && num !== null && !Array.isArray(num);
|
|
2577
2680
|
}
|
|
2578
|
-
function isObject$
|
|
2681
|
+
function isObject$4(input) {
|
|
2579
2682
|
return !!input && input.constructor === Object;
|
|
2580
2683
|
}
|
|
2581
2684
|
function validateBBox(bbox2) {
|
|
@@ -2589,7 +2692,7 @@ function validateBBox(bbox2) {
|
|
|
2589
2692
|
throw new Error("bbox must be an Array of 4 or 6 numbers");
|
|
2590
2693
|
}
|
|
2591
2694
|
bbox2.forEach(function(num) {
|
|
2592
|
-
if (!isNumber(num)) {
|
|
2695
|
+
if (!isNumber$1(num)) {
|
|
2593
2696
|
throw new Error("bbox must only contain numbers");
|
|
2594
2697
|
}
|
|
2595
2698
|
});
|
|
@@ -2615,8 +2718,8 @@ const es$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
|
|
|
2615
2718
|
featureCollection: featureCollection$1,
|
|
2616
2719
|
geometry: geometry$1,
|
|
2617
2720
|
geometryCollection,
|
|
2618
|
-
isNumber,
|
|
2619
|
-
isObject: isObject$
|
|
2721
|
+
isNumber: isNumber$1,
|
|
2722
|
+
isObject: isObject$4,
|
|
2620
2723
|
lengthToDegrees,
|
|
2621
2724
|
lengthToRadians,
|
|
2622
2725
|
lineString,
|
|
@@ -3058,7 +3161,7 @@ function lineReduce$1(geojson, callback, initialValue) {
|
|
|
3058
3161
|
}
|
|
3059
3162
|
function findSegment$1(geojson, options) {
|
|
3060
3163
|
options = options || {};
|
|
3061
|
-
if (!isObject$
|
|
3164
|
+
if (!isObject$4(options))
|
|
3062
3165
|
throw new Error("options is invalid");
|
|
3063
3166
|
var featureIndex = options.featureIndex || 0;
|
|
3064
3167
|
var multiFeatureIndex = options.multiFeatureIndex || 0;
|
|
@@ -3150,7 +3253,7 @@ function findSegment$1(geojson, options) {
|
|
|
3150
3253
|
}
|
|
3151
3254
|
function findPoint$1(geojson, options) {
|
|
3152
3255
|
options = options || {};
|
|
3153
|
-
if (!isObject$
|
|
3256
|
+
if (!isObject$4(options))
|
|
3154
3257
|
throw new Error("options is invalid");
|
|
3155
3258
|
var featureIndex = options.featureIndex || 0;
|
|
3156
3259
|
var multiFeatureIndex = options.multiFeatureIndex || 0;
|
|
@@ -9168,9 +9271,9 @@ var debug_1 = debug$2;
|
|
|
9168
9271
|
const re2 = exports2.re = [];
|
|
9169
9272
|
const src = exports2.src = [];
|
|
9170
9273
|
const t2 = exports2.t = {};
|
|
9171
|
-
let
|
|
9274
|
+
let R = 0;
|
|
9172
9275
|
const createToken = (name2, value, isGlobal) => {
|
|
9173
|
-
const index2 =
|
|
9276
|
+
const index2 = R++;
|
|
9174
9277
|
debug2(name2, index2, value);
|
|
9175
9278
|
t2[name2] = index2;
|
|
9176
9279
|
src[index2] = value;
|
|
@@ -11269,8 +11372,13 @@ const ViewType$1 = {
|
|
|
11269
11372
|
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
|
|
11270
11373
|
DOT_PLOT: "dotPlot",
|
|
11271
11374
|
FEATURE_BAR_PLOT: "featureBarPlot",
|
|
11375
|
+
VOLCANO_PLOT: "volcanoPlot",
|
|
11376
|
+
OBS_SET_COMPOSITION_BAR_PLOT: "obsSetCompositionBarPlot",
|
|
11377
|
+
FEATURE_SET_ENRICHMENT_BAR_PLOT: "featureSetEnrichmentBarPlot",
|
|
11272
11378
|
BIOMARKER_SELECT: "biomarkerSelect",
|
|
11379
|
+
COMPARATIVE_HEADING: "comparativeHeading",
|
|
11273
11380
|
LINK_CONTROLLER: "linkController",
|
|
11381
|
+
NEUROGLANCER: "neuroglancer",
|
|
11274
11382
|
DUAL_SCATTERPLOT: "dualScatterplot",
|
|
11275
11383
|
TREEMAP: "treemap"
|
|
11276
11384
|
};
|
|
@@ -11288,7 +11396,11 @@ const DataType$2 = {
|
|
|
11288
11396
|
OBS_POINTS: "obsPoints",
|
|
11289
11397
|
OBS_LOCATIONS: "obsLocations",
|
|
11290
11398
|
SAMPLE_SETS: "sampleSets",
|
|
11291
|
-
SAMPLE_EDGES: "sampleEdges"
|
|
11399
|
+
SAMPLE_EDGES: "sampleEdges",
|
|
11400
|
+
COMPARISON_METADATA: "comparisonMetadata",
|
|
11401
|
+
FEATURE_STATS: "featureStats",
|
|
11402
|
+
FEATURE_SET_STATS: "featureSetStats",
|
|
11403
|
+
OBS_SET_STATS: "obsSetStats"
|
|
11292
11404
|
};
|
|
11293
11405
|
const FileType$1 = {
|
|
11294
11406
|
// Joint file types
|
|
@@ -11327,6 +11439,10 @@ const FileType$1 = {
|
|
|
11327
11439
|
FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
|
|
11328
11440
|
SAMPLE_EDGES_ANNDATA_ZARR: "sampleEdges.anndata.zarr",
|
|
11329
11441
|
SAMPLE_SETS_ANNDATA_ZARR: "sampleSets.anndata.zarr",
|
|
11442
|
+
COMPARISON_METADATA_ANNDATA_ZARR: "comparisonMetadata.anndata.zarr",
|
|
11443
|
+
COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR: "comparativeFeatureStats.anndata.zarr",
|
|
11444
|
+
COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR: "comparativeFeatureSetStats.anndata.zarr",
|
|
11445
|
+
COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR: "comparativeObsSetStats.anndata.zarr",
|
|
11330
11446
|
// AnnData - zipped
|
|
11331
11447
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP: "obsFeatureMatrix.anndata.zarr.zip",
|
|
11332
11448
|
OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP: "obsFeatureColumns.anndata.zarr.zip",
|
|
@@ -11340,6 +11456,10 @@ const FileType$1 = {
|
|
|
11340
11456
|
FEATURE_LABELS_ANNDATA_ZARR_ZIP: "featureLabels.anndata.zarr.zip",
|
|
11341
11457
|
SAMPLE_EDGES_ANNDATA_ZARR_ZIP: "sampleEdges.anndata.zarr.zip",
|
|
11342
11458
|
SAMPLE_SETS_ANNDATA_ZARR_ZIP: "sampleSets.anndata.zarr.zip",
|
|
11459
|
+
COMPARISON_METADATA_ANNDATA_ZARR_ZIP: "comparisonMetadata.anndata.zarr.zip",
|
|
11460
|
+
COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureStats.anndata.zarr.zip",
|
|
11461
|
+
COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureSetStats.anndata.zarr.zip",
|
|
11462
|
+
COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeObsSetStats.anndata.zarr.zip",
|
|
11343
11463
|
// AnnData - h5ad via reference spec
|
|
11344
11464
|
OBS_FEATURE_MATRIX_ANNDATA_H5AD: "obsFeatureMatrix.anndata.h5ad",
|
|
11345
11465
|
OBS_FEATURE_COLUMNS_ANNDATA_H5AD: "obsFeatureColumns.anndata.h5ad",
|
|
@@ -11353,6 +11473,10 @@ const FileType$1 = {
|
|
|
11353
11473
|
FEATURE_LABELS_ANNDATA_H5AD: "featureLabels.anndata.h5ad",
|
|
11354
11474
|
SAMPLE_EDGES_ANNDATA_H5AD: "sampleEdges.anndata.h5ad",
|
|
11355
11475
|
SAMPLE_SETS_ANNDATA_H5AD: "sampleSets.anndata.h5ad",
|
|
11476
|
+
COMPARISON_METADATA_ANNDATA_H5AD: "comparisonMetadata.anndata.h5ad",
|
|
11477
|
+
COMPARATIVE_FEATURE_STATS_ANNDATA_H5AD: "comparativeFeatureStats.anndata.h5ad",
|
|
11478
|
+
COMPARATIVE_FEATURE_SET_STATS_ANNDATA_H5AD: "comparativeFeatureSetStats.anndata.h5ad",
|
|
11479
|
+
COMPARATIVE_OBS_SET_STATS_ANNDATA_H5AD: "comparativeObsSetStats.anndata.h5ad",
|
|
11356
11480
|
// SpatialData
|
|
11357
11481
|
IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
|
|
11358
11482
|
LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
|
|
@@ -11551,6 +11675,11 @@ const CoordinationType$1 = {
|
|
|
11551
11675
|
EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
|
|
11552
11676
|
CONTOUR_COLOR_ENCODING: "contourColorEncoding",
|
|
11553
11677
|
CONTOUR_COLOR: "contourColor",
|
|
11678
|
+
// For volcano plot:
|
|
11679
|
+
FEATURE_POINT_SIGNIFICANCE_THRESHOLD: "featurePointSignificanceThreshold",
|
|
11680
|
+
FEATURE_LABEL_SIGNIFICANCE_THRESHOLD: "featureLabelSignificanceThreshold",
|
|
11681
|
+
FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
|
|
11682
|
+
FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
|
|
11554
11683
|
// Treemap
|
|
11555
11684
|
HIERARCHY_LEVELS: "hierarchyLevels"
|
|
11556
11685
|
};
|
|
@@ -11570,9 +11699,16 @@ const ViewHelpMapping = {
|
|
|
11570
11699
|
FEATURE_VALUE_HISTOGRAM: "The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).",
|
|
11571
11700
|
DOT_PLOT: "The dot plot displays summary information about expression of the selected features (e.g., genes) for each selected observation set (e.g., cell type).",
|
|
11572
11701
|
FEATURE_BAR_PLOT: "The feature bar plot displays one bar per observation (e.g., cell) along the x-axis, where the value of a selected feature (e.g., gene) is encoded along the y-axis.",
|
|
11573
|
-
|
|
11702
|
+
NEUROGLANCER: "The Neuroglancer view displays 3d meshes using Neuroglancer developed by Google.",
|
|
11703
|
+
TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering.",
|
|
11704
|
+
VOLCANO_PLOT: "The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).",
|
|
11705
|
+
OBS_SET_COMPOSITION_BAR_PLOT: "The set composition bar plot displays the results of a compositional analysis conducted using the scCODA method (Büttner et al. 2021 Nature Communications).",
|
|
11706
|
+
FEATURE_SET_ENRICHMENT_BAR_PLOT: "The feature set enrichment bar plot displays the results of a hypergeometric test applied to the differential expression test results to identify enriched pathway gene sets."
|
|
11574
11707
|
};
|
|
11575
11708
|
const COMPONENT_COORDINATION_TYPES = {
|
|
11709
|
+
[ViewType$1.NEUROGLANCER]: [
|
|
11710
|
+
CoordinationType$1.DATASET
|
|
11711
|
+
],
|
|
11576
11712
|
[ViewType$1.SCATTERPLOT]: [
|
|
11577
11713
|
CoordinationType$1.DATASET,
|
|
11578
11714
|
CoordinationType$1.OBS_TYPE,
|
|
@@ -12042,8 +12178,64 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
12042
12178
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
12043
12179
|
CoordinationType$1.ADDITIONAL_OBS_SETS
|
|
12044
12180
|
],
|
|
12181
|
+
[ViewType$1.VOLCANO_PLOT]: [
|
|
12182
|
+
CoordinationType$1.DATASET,
|
|
12183
|
+
CoordinationType$1.OBS_TYPE,
|
|
12184
|
+
CoordinationType$1.FEATURE_TYPE,
|
|
12185
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
12186
|
+
// For selection of case-control sets of samples:
|
|
12187
|
+
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12188
|
+
// For selection of one-vs-others sets of observations:
|
|
12189
|
+
CoordinationType$1.OBS_SET_SELECTION,
|
|
12190
|
+
// TODO: CoordinationType.FEATURE_SET_SELECTION,
|
|
12191
|
+
// TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
|
|
12192
|
+
// TODO: CoordinationType.FEATURE_SET_COLOR,
|
|
12193
|
+
CoordinationType$1.FEATURE_HIGHLIGHT,
|
|
12194
|
+
CoordinationType$1.FEATURE_SELECTION,
|
|
12195
|
+
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
12196
|
+
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
12197
|
+
// TODO: CoordinationType.FEATURE_COLOR_ENCODING,
|
|
12198
|
+
// TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
|
|
12199
|
+
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
12200
|
+
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
12201
|
+
CoordinationType$1.OBS_SET_COLOR,
|
|
12202
|
+
CoordinationType$1.SAMPLE_SET_COLOR,
|
|
12203
|
+
CoordinationType$1.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
|
|
12204
|
+
CoordinationType$1.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
|
|
12205
|
+
CoordinationType$1.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
12206
|
+
CoordinationType$1.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
|
|
12207
|
+
],
|
|
12208
|
+
[ViewType$1.OBS_SET_COMPOSITION_BAR_PLOT]: [
|
|
12209
|
+
CoordinationType$1.DATASET,
|
|
12210
|
+
CoordinationType$1.OBS_TYPE,
|
|
12211
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
12212
|
+
// For selection of case-control sets of samples:
|
|
12213
|
+
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12214
|
+
// For selection of one-vs-others sets of observations:
|
|
12215
|
+
CoordinationType$1.OBS_SET_SELECTION,
|
|
12216
|
+
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
12217
|
+
CoordinationType$1.OBS_SET_COLOR,
|
|
12218
|
+
CoordinationType$1.SAMPLE_SET_COLOR
|
|
12219
|
+
],
|
|
12220
|
+
[ViewType$1.FEATURE_SET_ENRICHMENT_BAR_PLOT]: [
|
|
12221
|
+
CoordinationType$1.DATASET,
|
|
12222
|
+
CoordinationType$1.OBS_TYPE,
|
|
12223
|
+
CoordinationType$1.FEATURE_TYPE,
|
|
12224
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
12225
|
+
// For selection of case-control sets of samples:
|
|
12226
|
+
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12227
|
+
// For selection of one-vs-others sets of observations:
|
|
12228
|
+
CoordinationType$1.OBS_SET_SELECTION,
|
|
12229
|
+
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
12230
|
+
CoordinationType$1.OBS_SET_COLOR,
|
|
12231
|
+
CoordinationType$1.SAMPLE_SET_COLOR,
|
|
12232
|
+
CoordinationType$1.FEATURE_SELECTION
|
|
12233
|
+
],
|
|
12045
12234
|
[ViewType$1.LINK_CONTROLLER]: [],
|
|
12046
12235
|
[ViewType$1.BIOMARKER_SELECT]: [
|
|
12236
|
+
CoordinationType$1.DATASET,
|
|
12237
|
+
CoordinationType$1.OBS_TYPE,
|
|
12238
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
12047
12239
|
CoordinationType$1.FEATURE_SELECTION,
|
|
12048
12240
|
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12049
12241
|
CoordinationType$1.SAMPLE_SET_FILTER,
|
|
@@ -12051,6 +12243,16 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
12051
12243
|
CoordinationType$1.OBS_SET_FILTER
|
|
12052
12244
|
// TODO: create coordination types for internal state of the biomarker selection view?
|
|
12053
12245
|
],
|
|
12246
|
+
[ViewType$1.COMPARATIVE_HEADING]: [
|
|
12247
|
+
CoordinationType$1.DATASET,
|
|
12248
|
+
CoordinationType$1.OBS_TYPE,
|
|
12249
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
12250
|
+
CoordinationType$1.FEATURE_SELECTION,
|
|
12251
|
+
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12252
|
+
CoordinationType$1.SAMPLE_SET_FILTER,
|
|
12253
|
+
CoordinationType$1.OBS_SET_SELECTION,
|
|
12254
|
+
CoordinationType$1.OBS_SET_FILTER
|
|
12255
|
+
],
|
|
12054
12256
|
[ViewType$1.TREEMAP]: [
|
|
12055
12257
|
CoordinationType$1.DATASET,
|
|
12056
12258
|
CoordinationType$1.OBS_TYPE,
|
|
@@ -12323,6 +12525,42 @@ const annDataConvenienceObsEmbeddingItem = z.object({
|
|
|
12323
12525
|
dims: z.array(z.number()).optional(),
|
|
12324
12526
|
embeddingType: z.string()
|
|
12325
12527
|
});
|
|
12528
|
+
z.object({
|
|
12529
|
+
path: z.string().describe("Path to the comparison metadata, such as /uns/comparison_metadata")
|
|
12530
|
+
});
|
|
12531
|
+
z.object({
|
|
12532
|
+
// TODO: implement a featureStats.anndata.zarr loader
|
|
12533
|
+
// which does not depend on comparisonMetadata
|
|
12534
|
+
// (instead, would point directly to the root of
|
|
12535
|
+
// the dataframe containing a set of diff exp results)
|
|
12536
|
+
// path: z.string().describe('Path to the dataframe containing the results.'),
|
|
12537
|
+
metadataPath: z.string().describe("Path to the comparison metadata."),
|
|
12538
|
+
indexColumn: z.string().optional().describe("Provide a column to use for the feature index, if different than the default dataframe index."),
|
|
12539
|
+
pValueColumn: z.string(),
|
|
12540
|
+
foldChangeColumn: z.string(),
|
|
12541
|
+
pValueTransformation: z.enum(["minuslog10"]).optional(),
|
|
12542
|
+
pValueAdjusted: z.boolean().optional(),
|
|
12543
|
+
foldChangeTransformation: z.enum(["log2"]).optional()
|
|
12544
|
+
});
|
|
12545
|
+
z.object({
|
|
12546
|
+
metadataPath: z.string().describe("Path to the comparison metadata."),
|
|
12547
|
+
indexColumn: z.string().optional().describe("Provide a column to use for the feature set index, if different than the default dataframe index."),
|
|
12548
|
+
termColumn: z.string().optional(),
|
|
12549
|
+
pValueColumn: z.string(),
|
|
12550
|
+
pValueAdjusted: z.boolean().optional(),
|
|
12551
|
+
analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, pertpy_hypergeometric.")
|
|
12552
|
+
});
|
|
12553
|
+
z.object({
|
|
12554
|
+
metadataPath: z.string().describe("Path to the comparison metadata."),
|
|
12555
|
+
indexColumn: z.string().optional().describe("Provide a column to use for the obs set index, if different than the default dataframe index."),
|
|
12556
|
+
interceptExpectedSampleColumn: z.string().describe("If we had a new sample (with no active covariates) with a total number of cells equal to the mean sampling depth of the dataset, then this distribution over the cell types would be most likely."),
|
|
12557
|
+
effectExpectedSampleColumn: z.string().describe("If we had a new sample (with no active covariates) with a total number of cells equal to the mean sampling depth of the dataset, then this distribution over the cell types would be most likely."),
|
|
12558
|
+
foldChangeColumn: z.string().describe("The log-fold change is then calculated between this expected sample and the expected sample with no active covariates from the intercept section."),
|
|
12559
|
+
foldChangeTransformation: z.enum(["log2"]).optional(),
|
|
12560
|
+
isCredibleEffectColumn: z.string().describe("Column which annotates effects as being credible or not (boolean)."),
|
|
12561
|
+
covariateColumn: z.string().describe("Column which defines the covariate used in the analysis."),
|
|
12562
|
+
analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, sccoda_df.")
|
|
12563
|
+
});
|
|
12326
12564
|
const annDataObsLabels = annDataObs;
|
|
12327
12565
|
const annDataFeatureLabels = annDataObs;
|
|
12328
12566
|
const annDataSampleEdges = annDataObs;
|
|
@@ -12642,14 +12880,14 @@ var tinycolor = { exports: {} };
|
|
|
12642
12880
|
},
|
|
12643
12881
|
getLuminance: function() {
|
|
12644
12882
|
var rgb2 = this.toRgb();
|
|
12645
|
-
var RsRGB, GsRGB, BsRGB,
|
|
12883
|
+
var RsRGB, GsRGB, BsRGB, R, G2, B2;
|
|
12646
12884
|
RsRGB = rgb2.r / 255;
|
|
12647
12885
|
GsRGB = rgb2.g / 255;
|
|
12648
12886
|
BsRGB = rgb2.b / 255;
|
|
12649
12887
|
if (RsRGB <= 0.03928) {
|
|
12650
|
-
|
|
12888
|
+
R = RsRGB / 12.92;
|
|
12651
12889
|
} else {
|
|
12652
|
-
|
|
12890
|
+
R = Math2.pow((RsRGB + 0.055) / 1.055, 2.4);
|
|
12653
12891
|
}
|
|
12654
12892
|
if (GsRGB <= 0.03928) {
|
|
12655
12893
|
G2 = GsRGB / 12.92;
|
|
@@ -12661,7 +12899,7 @@ var tinycolor = { exports: {} };
|
|
|
12661
12899
|
} else {
|
|
12662
12900
|
B2 = Math2.pow((BsRGB + 0.055) / 1.055, 2.4);
|
|
12663
12901
|
}
|
|
12664
|
-
return 0.2126 *
|
|
12902
|
+
return 0.2126 * R + 0.7152 * G2 + 0.0722 * B2;
|
|
12665
12903
|
},
|
|
12666
12904
|
setAlpha: function(value) {
|
|
12667
12905
|
this._a = boundAlpha(value);
|
|
@@ -13731,7 +13969,7 @@ var json2csv_umd = { exports: {} };
|
|
|
13731
13969
|
}
|
|
13732
13970
|
this._maxListeners = this._maxListeners || void 0;
|
|
13733
13971
|
};
|
|
13734
|
-
EventEmitter2.prototype.setMaxListeners = function
|
|
13972
|
+
EventEmitter2.prototype.setMaxListeners = function setMaxListeners(n2) {
|
|
13735
13973
|
if (typeof n2 !== "number" || n2 < 0 || isNaN(n2))
|
|
13736
13974
|
throw new TypeError('"n" argument must be a positive number');
|
|
13737
13975
|
this._maxListeners = n2;
|
|
@@ -13742,7 +13980,7 @@ var json2csv_umd = { exports: {} };
|
|
|
13742
13980
|
return EventEmitter2.defaultMaxListeners;
|
|
13743
13981
|
return that._maxListeners;
|
|
13744
13982
|
}
|
|
13745
|
-
EventEmitter2.prototype.getMaxListeners = function
|
|
13983
|
+
EventEmitter2.prototype.getMaxListeners = function getMaxListeners() {
|
|
13746
13984
|
return $getMaxListeners(this);
|
|
13747
13985
|
};
|
|
13748
13986
|
function emitNone(handler, isFn, self2) {
|
|
@@ -13750,9 +13988,9 @@ var json2csv_umd = { exports: {} };
|
|
|
13750
13988
|
handler.call(self2);
|
|
13751
13989
|
else {
|
|
13752
13990
|
var len2 = handler.length;
|
|
13753
|
-
var
|
|
13991
|
+
var listeners = arrayClone(handler, len2);
|
|
13754
13992
|
for (var i2 = 0; i2 < len2; ++i2)
|
|
13755
|
-
|
|
13993
|
+
listeners[i2].call(self2);
|
|
13756
13994
|
}
|
|
13757
13995
|
}
|
|
13758
13996
|
function emitOne(handler, isFn, self2, arg1) {
|
|
@@ -13760,9 +13998,9 @@ var json2csv_umd = { exports: {} };
|
|
|
13760
13998
|
handler.call(self2, arg1);
|
|
13761
13999
|
else {
|
|
13762
14000
|
var len2 = handler.length;
|
|
13763
|
-
var
|
|
14001
|
+
var listeners = arrayClone(handler, len2);
|
|
13764
14002
|
for (var i2 = 0; i2 < len2; ++i2)
|
|
13765
|
-
|
|
14003
|
+
listeners[i2].call(self2, arg1);
|
|
13766
14004
|
}
|
|
13767
14005
|
}
|
|
13768
14006
|
function emitTwo(handler, isFn, self2, arg1, arg2) {
|
|
@@ -13770,9 +14008,9 @@ var json2csv_umd = { exports: {} };
|
|
|
13770
14008
|
handler.call(self2, arg1, arg2);
|
|
13771
14009
|
else {
|
|
13772
14010
|
var len2 = handler.length;
|
|
13773
|
-
var
|
|
14011
|
+
var listeners = arrayClone(handler, len2);
|
|
13774
14012
|
for (var i2 = 0; i2 < len2; ++i2)
|
|
13775
|
-
|
|
14013
|
+
listeners[i2].call(self2, arg1, arg2);
|
|
13776
14014
|
}
|
|
13777
14015
|
}
|
|
13778
14016
|
function emitThree(handler, isFn, self2, arg1, arg2, arg3) {
|
|
@@ -13780,9 +14018,9 @@ var json2csv_umd = { exports: {} };
|
|
|
13780
14018
|
handler.call(self2, arg1, arg2, arg3);
|
|
13781
14019
|
else {
|
|
13782
14020
|
var len2 = handler.length;
|
|
13783
|
-
var
|
|
14021
|
+
var listeners = arrayClone(handler, len2);
|
|
13784
14022
|
for (var i2 = 0; i2 < len2; ++i2)
|
|
13785
|
-
|
|
14023
|
+
listeners[i2].call(self2, arg1, arg2, arg3);
|
|
13786
14024
|
}
|
|
13787
14025
|
}
|
|
13788
14026
|
function emitMany(handler, isFn, self2, args) {
|
|
@@ -13790,12 +14028,12 @@ var json2csv_umd = { exports: {} };
|
|
|
13790
14028
|
handler.apply(self2, args);
|
|
13791
14029
|
else {
|
|
13792
14030
|
var len2 = handler.length;
|
|
13793
|
-
var
|
|
14031
|
+
var listeners = arrayClone(handler, len2);
|
|
13794
14032
|
for (var i2 = 0; i2 < len2; ++i2)
|
|
13795
|
-
|
|
14033
|
+
listeners[i2].apply(self2, args);
|
|
13796
14034
|
}
|
|
13797
14035
|
}
|
|
13798
|
-
EventEmitter2.prototype.emit = function
|
|
14036
|
+
EventEmitter2.prototype.emit = function emit(type3) {
|
|
13799
14037
|
var er, handler, len2, args, i2, events2, domain2;
|
|
13800
14038
|
var doError = type3 === "error";
|
|
13801
14039
|
events2 = this._events;
|
|
@@ -13848,7 +14086,7 @@ var json2csv_umd = { exports: {} };
|
|
|
13848
14086
|
}
|
|
13849
14087
|
return true;
|
|
13850
14088
|
};
|
|
13851
|
-
function
|
|
14089
|
+
function _addListener(target, type3, listener, prepend) {
|
|
13852
14090
|
var m2;
|
|
13853
14091
|
var events2;
|
|
13854
14092
|
var existing;
|
|
@@ -13900,14 +14138,14 @@ var json2csv_umd = { exports: {} };
|
|
|
13900
14138
|
function emitWarning(e3) {
|
|
13901
14139
|
typeof console.warn === "function" ? console.warn(e3) : console.log(e3);
|
|
13902
14140
|
}
|
|
13903
|
-
EventEmitter2.prototype.addListener = function
|
|
13904
|
-
return
|
|
14141
|
+
EventEmitter2.prototype.addListener = function addListener(type3, listener) {
|
|
14142
|
+
return _addListener(this, type3, listener, false);
|
|
13905
14143
|
};
|
|
13906
14144
|
EventEmitter2.prototype.on = EventEmitter2.prototype.addListener;
|
|
13907
|
-
EventEmitter2.prototype.prependListener = function
|
|
13908
|
-
return
|
|
14145
|
+
EventEmitter2.prototype.prependListener = function prependListener2(type3, listener) {
|
|
14146
|
+
return _addListener(this, type3, listener, true);
|
|
13909
14147
|
};
|
|
13910
|
-
function
|
|
14148
|
+
function _onceWrap(target, type3, listener) {
|
|
13911
14149
|
var fired = false;
|
|
13912
14150
|
function g2() {
|
|
13913
14151
|
target.removeListener(type3, g2);
|
|
@@ -13919,19 +14157,19 @@ var json2csv_umd = { exports: {} };
|
|
|
13919
14157
|
g2.listener = listener;
|
|
13920
14158
|
return g2;
|
|
13921
14159
|
}
|
|
13922
|
-
EventEmitter2.prototype.once = function
|
|
14160
|
+
EventEmitter2.prototype.once = function once(type3, listener) {
|
|
13923
14161
|
if (typeof listener !== "function")
|
|
13924
14162
|
throw new TypeError('"listener" argument must be a function');
|
|
13925
|
-
this.on(type3,
|
|
14163
|
+
this.on(type3, _onceWrap(this, type3, listener));
|
|
13926
14164
|
return this;
|
|
13927
14165
|
};
|
|
13928
|
-
EventEmitter2.prototype.prependOnceListener = function
|
|
14166
|
+
EventEmitter2.prototype.prependOnceListener = function prependOnceListener(type3, listener) {
|
|
13929
14167
|
if (typeof listener !== "function")
|
|
13930
14168
|
throw new TypeError('"listener" argument must be a function');
|
|
13931
|
-
this.prependListener(type3,
|
|
14169
|
+
this.prependListener(type3, _onceWrap(this, type3, listener));
|
|
13932
14170
|
return this;
|
|
13933
14171
|
};
|
|
13934
|
-
EventEmitter2.prototype.removeListener = function
|
|
14172
|
+
EventEmitter2.prototype.removeListener = function removeListener(type3, listener) {
|
|
13935
14173
|
var list, events2, position, i2, originalListener;
|
|
13936
14174
|
if (typeof listener !== "function")
|
|
13937
14175
|
throw new TypeError('"listener" argument must be a function');
|
|
@@ -13969,15 +14207,15 @@ var json2csv_umd = { exports: {} };
|
|
|
13969
14207
|
delete events2[type3];
|
|
13970
14208
|
}
|
|
13971
14209
|
} else {
|
|
13972
|
-
|
|
14210
|
+
spliceOne(list, position);
|
|
13973
14211
|
}
|
|
13974
14212
|
if (events2.removeListener)
|
|
13975
14213
|
this.emit("removeListener", type3, originalListener || listener);
|
|
13976
14214
|
}
|
|
13977
14215
|
return this;
|
|
13978
14216
|
};
|
|
13979
|
-
EventEmitter2.prototype.removeAllListeners = function
|
|
13980
|
-
var
|
|
14217
|
+
EventEmitter2.prototype.removeAllListeners = function removeAllListeners(type3) {
|
|
14218
|
+
var listeners, events2;
|
|
13981
14219
|
events2 = this._events;
|
|
13982
14220
|
if (!events2)
|
|
13983
14221
|
return this;
|
|
@@ -14006,17 +14244,17 @@ var json2csv_umd = { exports: {} };
|
|
|
14006
14244
|
this._eventsCount = 0;
|
|
14007
14245
|
return this;
|
|
14008
14246
|
}
|
|
14009
|
-
|
|
14010
|
-
if (typeof
|
|
14011
|
-
this.removeListener(type3,
|
|
14012
|
-
} else if (
|
|
14247
|
+
listeners = events2[type3];
|
|
14248
|
+
if (typeof listeners === "function") {
|
|
14249
|
+
this.removeListener(type3, listeners);
|
|
14250
|
+
} else if (listeners) {
|
|
14013
14251
|
do {
|
|
14014
|
-
this.removeListener(type3,
|
|
14015
|
-
} while (
|
|
14252
|
+
this.removeListener(type3, listeners[listeners.length - 1]);
|
|
14253
|
+
} while (listeners[0]);
|
|
14016
14254
|
}
|
|
14017
14255
|
return this;
|
|
14018
14256
|
};
|
|
14019
|
-
EventEmitter2.prototype.listeners = function
|
|
14257
|
+
EventEmitter2.prototype.listeners = function listeners(type3) {
|
|
14020
14258
|
var evlistener;
|
|
14021
14259
|
var ret;
|
|
14022
14260
|
var events2 = this._events;
|
|
@@ -14029,7 +14267,7 @@ var json2csv_umd = { exports: {} };
|
|
|
14029
14267
|
else if (typeof evlistener === "function")
|
|
14030
14268
|
ret = [evlistener.listener || evlistener];
|
|
14031
14269
|
else
|
|
14032
|
-
ret =
|
|
14270
|
+
ret = unwrapListeners(evlistener);
|
|
14033
14271
|
}
|
|
14034
14272
|
return ret;
|
|
14035
14273
|
};
|
|
@@ -14037,11 +14275,11 @@ var json2csv_umd = { exports: {} };
|
|
|
14037
14275
|
if (typeof emitter.listenerCount === "function") {
|
|
14038
14276
|
return emitter.listenerCount(type3);
|
|
14039
14277
|
} else {
|
|
14040
|
-
return
|
|
14278
|
+
return listenerCount.call(emitter, type3);
|
|
14041
14279
|
}
|
|
14042
14280
|
};
|
|
14043
|
-
EventEmitter2.prototype.listenerCount =
|
|
14044
|
-
function
|
|
14281
|
+
EventEmitter2.prototype.listenerCount = listenerCount;
|
|
14282
|
+
function listenerCount(type3) {
|
|
14045
14283
|
var events2 = this._events;
|
|
14046
14284
|
if (events2) {
|
|
14047
14285
|
var evlistener = events2[type3];
|
|
@@ -14053,21 +14291,21 @@ var json2csv_umd = { exports: {} };
|
|
|
14053
14291
|
}
|
|
14054
14292
|
return 0;
|
|
14055
14293
|
}
|
|
14056
|
-
EventEmitter2.prototype.eventNames = function
|
|
14294
|
+
EventEmitter2.prototype.eventNames = function eventNames() {
|
|
14057
14295
|
return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];
|
|
14058
14296
|
};
|
|
14059
|
-
function
|
|
14297
|
+
function spliceOne(list, index2) {
|
|
14060
14298
|
for (var i2 = index2, k = i2 + 1, n2 = list.length; k < n2; i2 += 1, k += 1)
|
|
14061
14299
|
list[i2] = list[k];
|
|
14062
14300
|
list.pop();
|
|
14063
14301
|
}
|
|
14064
|
-
function
|
|
14302
|
+
function arrayClone(arr, i2) {
|
|
14065
14303
|
var copy2 = new Array(i2);
|
|
14066
14304
|
while (i2--)
|
|
14067
14305
|
copy2[i2] = arr[i2];
|
|
14068
14306
|
return copy2;
|
|
14069
14307
|
}
|
|
14070
|
-
function
|
|
14308
|
+
function unwrapListeners(arr) {
|
|
14071
14309
|
var ret = new Array(arr.length);
|
|
14072
14310
|
for (var i2 = 0; i2 < ret.length; ++i2) {
|
|
14073
14311
|
ret[i2] = arr[i2].listener || arr[i2];
|
|
@@ -15859,7 +16097,7 @@ var json2csv_umd = { exports: {} };
|
|
|
15859
16097
|
return str;
|
|
15860
16098
|
}
|
|
15861
16099
|
function deprecate(fn, msg) {
|
|
15862
|
-
if (
|
|
16100
|
+
if (isUndefined2(global$1.process)) {
|
|
15863
16101
|
return function() {
|
|
15864
16102
|
return deprecate(fn, msg).apply(this, arguments);
|
|
15865
16103
|
};
|
|
@@ -15879,7 +16117,7 @@ var json2csv_umd = { exports: {} };
|
|
|
15879
16117
|
var debugs = {};
|
|
15880
16118
|
var debugEnviron;
|
|
15881
16119
|
function debuglog(set3) {
|
|
15882
|
-
if (
|
|
16120
|
+
if (isUndefined2(debugEnviron))
|
|
15883
16121
|
debugEnviron = "";
|
|
15884
16122
|
set3 = set3.toUpperCase();
|
|
15885
16123
|
if (!debugs[set3]) {
|
|
@@ -15910,13 +16148,13 @@ var json2csv_umd = { exports: {} };
|
|
|
15910
16148
|
} else if (opts2) {
|
|
15911
16149
|
_extend(ctx, opts2);
|
|
15912
16150
|
}
|
|
15913
|
-
if (
|
|
16151
|
+
if (isUndefined2(ctx.showHidden))
|
|
15914
16152
|
ctx.showHidden = false;
|
|
15915
|
-
if (
|
|
16153
|
+
if (isUndefined2(ctx.depth))
|
|
15916
16154
|
ctx.depth = 2;
|
|
15917
|
-
if (
|
|
16155
|
+
if (isUndefined2(ctx.colors))
|
|
15918
16156
|
ctx.colors = false;
|
|
15919
|
-
if (
|
|
16157
|
+
if (isUndefined2(ctx.customInspect))
|
|
15920
16158
|
ctx.customInspect = true;
|
|
15921
16159
|
if (ctx.colors)
|
|
15922
16160
|
ctx.stylize = stylizeWithColor;
|
|
@@ -16044,7 +16282,7 @@ var json2csv_umd = { exports: {} };
|
|
|
16044
16282
|
return reduceToSingleString(output, base, braces);
|
|
16045
16283
|
}
|
|
16046
16284
|
function formatPrimitive(ctx, value) {
|
|
16047
|
-
if (
|
|
16285
|
+
if (isUndefined2(value))
|
|
16048
16286
|
return ctx.stylize("undefined", "undefined");
|
|
16049
16287
|
if (isString(value)) {
|
|
16050
16288
|
var simple = "'" + JSON.stringify(value).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
@@ -16129,7 +16367,7 @@ var json2csv_umd = { exports: {} };
|
|
|
16129
16367
|
str = ctx.stylize("[Circular]", "special");
|
|
16130
16368
|
}
|
|
16131
16369
|
}
|
|
16132
|
-
if (
|
|
16370
|
+
if (isUndefined2(name2)) {
|
|
16133
16371
|
if (array2 && key.match(/^\d+$/)) {
|
|
16134
16372
|
return str;
|
|
16135
16373
|
}
|
|
@@ -16170,7 +16408,7 @@ var json2csv_umd = { exports: {} };
|
|
|
16170
16408
|
function isString(arg) {
|
|
16171
16409
|
return typeof arg === "string";
|
|
16172
16410
|
}
|
|
16173
|
-
function
|
|
16411
|
+
function isUndefined2(arg) {
|
|
16174
16412
|
return arg === void 0;
|
|
16175
16413
|
}
|
|
16176
16414
|
function isRegExp(re2) {
|
|
@@ -16399,7 +16637,7 @@ var json2csv_umd = { exports: {} };
|
|
|
16399
16637
|
Readable.ReadableState = ReadableState;
|
|
16400
16638
|
var debug2 = debuglog("stream");
|
|
16401
16639
|
inherits$1(Readable, EventEmitter2);
|
|
16402
|
-
function
|
|
16640
|
+
function prependListener(emitter, event, fn) {
|
|
16403
16641
|
if (typeof emitter.prependListener === "function") {
|
|
16404
16642
|
return emitter.prependListener(event, fn);
|
|
16405
16643
|
} else {
|
|
@@ -16753,7 +16991,7 @@ var json2csv_umd = { exports: {} };
|
|
|
16753
16991
|
if (listenerCount$1(dest, "error") === 0)
|
|
16754
16992
|
dest.emit("error", er);
|
|
16755
16993
|
}
|
|
16756
|
-
|
|
16994
|
+
prependListener(dest, "error", onerror);
|
|
16757
16995
|
function onclose() {
|
|
16758
16996
|
dest.removeListener("finish", onfinish);
|
|
16759
16997
|
unpipe();
|
|
@@ -21093,16 +21331,16 @@ function dirname(url) {
|
|
|
21093
21331
|
return slashIndex >= 0 ? url.substr(0, slashIndex) : "";
|
|
21094
21332
|
}
|
|
21095
21333
|
const isBoolean = (x2) => typeof x2 === "boolean";
|
|
21096
|
-
const isFunction$
|
|
21097
|
-
const isObject$
|
|
21098
|
-
const isPureObject = (x2) => isObject$
|
|
21334
|
+
const isFunction$3 = (x2) => typeof x2 === "function";
|
|
21335
|
+
const isObject$3 = (x2) => x2 !== null && typeof x2 === "object";
|
|
21336
|
+
const isPureObject = (x2) => isObject$3(x2) && x2.constructor === {}.constructor;
|
|
21099
21337
|
const isIterable = (x2) => x2 && typeof x2[Symbol.iterator] === "function";
|
|
21100
21338
|
const isAsyncIterable$1 = (x2) => x2 && typeof x2[Symbol.asyncIterator] === "function";
|
|
21101
21339
|
const isResponse = (x2) => typeof Response !== "undefined" && x2 instanceof Response || x2 && x2.arrayBuffer && x2.text && x2.json;
|
|
21102
21340
|
const isBlob = (x2) => typeof Blob !== "undefined" && x2 instanceof Blob;
|
|
21103
21341
|
const isBuffer$1 = (x2) => x2 && typeof x2 === "object" && x2.isBuffer;
|
|
21104
|
-
const isReadableDOMStream = (x2) => typeof ReadableStream !== "undefined" && x2 instanceof ReadableStream || isObject$
|
|
21105
|
-
const isReadableNodeStream = (x2) => isObject$
|
|
21342
|
+
const isReadableDOMStream = (x2) => typeof ReadableStream !== "undefined" && x2 instanceof ReadableStream || isObject$3(x2) && isFunction$3(x2.tee) && isFunction$3(x2.cancel) && isFunction$3(x2.getReader);
|
|
21343
|
+
const isReadableNodeStream = (x2) => isObject$3(x2) && isFunction$3(x2.read) && isFunction$3(x2.pipe) && isBoolean(x2.readable);
|
|
21106
21344
|
const isReadableStream = (x2) => isReadableDOMStream(x2) || isReadableNodeStream(x2);
|
|
21107
21345
|
const DATA_URL_PATTERN = /^data:([-\w.]+\/[-\w.+]+)(;|,)/;
|
|
21108
21346
|
const MIME_TYPE_PATTERN = /^([-\w.]+\/[-\w.+]+)/;
|
|
@@ -21902,7 +22140,7 @@ function getFetchFunction(options, context) {
|
|
|
21902
22140
|
if (typeof fetchOptions.fetch === "function") {
|
|
21903
22141
|
return fetchOptions.fetch;
|
|
21904
22142
|
}
|
|
21905
|
-
if (isObject$
|
|
22143
|
+
if (isObject$3(fetchOptions.fetch)) {
|
|
21906
22144
|
return (url) => fetchFile(url, fetchOptions);
|
|
21907
22145
|
}
|
|
21908
22146
|
if (context !== null && context !== void 0 && context.fetch) {
|
|
@@ -21923,7 +22161,7 @@ function validateOptionsObject(options, id, defaultOptions2, deprecatedOptions,
|
|
|
21923
22161
|
const loaderName = id || "Top level";
|
|
21924
22162
|
const prefix2 = id ? "".concat(id, ".") : "";
|
|
21925
22163
|
for (const key in options) {
|
|
21926
|
-
const isSubOptions = !id && isObject$
|
|
22164
|
+
const isSubOptions = !id && isObject$3(options[key]);
|
|
21927
22165
|
const isBaseUriOption = key === "baseUri" && !id;
|
|
21928
22166
|
const isWorkerUrlOption = key === "workerUrl" && id;
|
|
21929
22167
|
if (!(key in defaultOptions2) && !isBaseUriOption && !isWorkerUrlOption) {
|
|
@@ -40891,9 +41129,9 @@ class Controller {
|
|
|
40891
41129
|
updateTransition() {
|
|
40892
41130
|
this.transitionManager.updateTransition();
|
|
40893
41131
|
}
|
|
40894
|
-
toggleEvents(
|
|
41132
|
+
toggleEvents(eventNames, enabled) {
|
|
40895
41133
|
if (this.eventManager) {
|
|
40896
|
-
|
|
41134
|
+
eventNames.forEach((eventName) => {
|
|
40897
41135
|
if (this._events[eventName] !== enabled) {
|
|
40898
41136
|
this._events[eventName] = enabled;
|
|
40899
41137
|
if (enabled) {
|
|
@@ -44344,18 +44582,18 @@ var hammer$1 = { exports: {} };
|
|
|
44344
44582
|
emit: function(input) {
|
|
44345
44583
|
var self2 = this;
|
|
44346
44584
|
var state = this.state;
|
|
44347
|
-
function
|
|
44585
|
+
function emit(event) {
|
|
44348
44586
|
self2.manager.emit(event, input);
|
|
44349
44587
|
}
|
|
44350
44588
|
if (state < STATE_ENDED) {
|
|
44351
|
-
|
|
44589
|
+
emit(self2.options.event + stateStr(state));
|
|
44352
44590
|
}
|
|
44353
|
-
|
|
44591
|
+
emit(self2.options.event);
|
|
44354
44592
|
if (input.additionalEvent) {
|
|
44355
|
-
|
|
44593
|
+
emit(input.additionalEvent);
|
|
44356
44594
|
}
|
|
44357
44595
|
if (state >= STATE_ENDED) {
|
|
44358
|
-
|
|
44596
|
+
emit(self2.options.event + stateStr(state));
|
|
44359
44597
|
}
|
|
44360
44598
|
},
|
|
44361
44599
|
/**
|
|
@@ -45715,7 +45953,7 @@ class EventRegistrar {
|
|
|
45715
45953
|
isEmpty() {
|
|
45716
45954
|
return !this._active;
|
|
45717
45955
|
}
|
|
45718
|
-
add(type2, handler, options,
|
|
45956
|
+
add(type2, handler, options, once = false, passive = false) {
|
|
45719
45957
|
const { handlers, handlersByElement } = this;
|
|
45720
45958
|
let opts2 = DEFAULT_OPTIONS$2;
|
|
45721
45959
|
if (typeof options === "string" || options && options.addEventListener) {
|
|
@@ -45734,7 +45972,7 @@ class EventRegistrar {
|
|
|
45734
45972
|
srcElement: opts2.srcElement,
|
|
45735
45973
|
priority: opts2.priority
|
|
45736
45974
|
};
|
|
45737
|
-
if (
|
|
45975
|
+
if (once) {
|
|
45738
45976
|
entry.once = true;
|
|
45739
45977
|
}
|
|
45740
45978
|
if (passive) {
|
|
@@ -45782,7 +46020,7 @@ class EventRegistrar {
|
|
|
45782
46020
|
};
|
|
45783
46021
|
const entriesToRemove = [];
|
|
45784
46022
|
for (let i2 = 0; i2 < entries.length; i2++) {
|
|
45785
|
-
const { type: type2, handler, once
|
|
46023
|
+
const { type: type2, handler, once } = entries[i2];
|
|
45786
46024
|
handler({
|
|
45787
46025
|
...event,
|
|
45788
46026
|
// @ts-ignore
|
|
@@ -45790,7 +46028,7 @@ class EventRegistrar {
|
|
|
45790
46028
|
stopPropagation,
|
|
45791
46029
|
stopImmediatePropagation
|
|
45792
46030
|
});
|
|
45793
|
-
if (
|
|
46031
|
+
if (once) {
|
|
45794
46032
|
entriesToRemove.push(entries[i2]);
|
|
45795
46033
|
}
|
|
45796
46034
|
if (immediatePropagationStopped) {
|
|
@@ -45971,11 +46209,11 @@ class EventManager {
|
|
|
45971
46209
|
/**
|
|
45972
46210
|
* Process the event registration for a single event + handler.
|
|
45973
46211
|
*/
|
|
45974
|
-
_addEventHandler(event, handler, opts2,
|
|
46212
|
+
_addEventHandler(event, handler, opts2, once, passive) {
|
|
45975
46213
|
if (typeof event !== "string") {
|
|
45976
46214
|
opts2 = handler;
|
|
45977
46215
|
for (const eventName in event) {
|
|
45978
|
-
this._addEventHandler(eventName, event[eventName], opts2,
|
|
46216
|
+
this._addEventHandler(eventName, event[eventName], opts2, once, passive);
|
|
45979
46217
|
}
|
|
45980
46218
|
return;
|
|
45981
46219
|
}
|
|
@@ -45990,7 +46228,7 @@ class EventManager {
|
|
|
45990
46228
|
manager.on(eventAlias, eventRegistrar.handleEvent);
|
|
45991
46229
|
}
|
|
45992
46230
|
}
|
|
45993
|
-
eventRegistrar.add(event, handler, opts2,
|
|
46231
|
+
eventRegistrar.add(event, handler, opts2, once, passive);
|
|
45994
46232
|
if (!eventRegistrar.isEmpty()) {
|
|
45995
46233
|
this._toggleRecognizer(eventRegistrar.recognizerName, true);
|
|
45996
46234
|
}
|
|
@@ -48711,7 +48949,7 @@ function getPropTypes(props) {
|
|
|
48711
48949
|
const ERR_NOT_OBJECT = "count(): argument not an object";
|
|
48712
48950
|
const ERR_NOT_CONTAINER = "count(): argument not a container";
|
|
48713
48951
|
function count(container) {
|
|
48714
|
-
if (!isObject$
|
|
48952
|
+
if (!isObject$2(container)) {
|
|
48715
48953
|
throw new Error(ERR_NOT_OBJECT);
|
|
48716
48954
|
}
|
|
48717
48955
|
if (typeof container.count === "function") {
|
|
@@ -48731,7 +48969,7 @@ function count(container) {
|
|
|
48731
48969
|
function isPlainObject$1(value) {
|
|
48732
48970
|
return value !== null && typeof value === "object" && value.constructor === Object;
|
|
48733
48971
|
}
|
|
48734
|
-
function isObject$
|
|
48972
|
+
function isObject$2(value) {
|
|
48735
48973
|
return value !== null && typeof value === "object";
|
|
48736
48974
|
}
|
|
48737
48975
|
function mergeShaders(target, source) {
|
|
@@ -58857,7 +59095,7 @@ const defaultGetValue = (points2) => points2.length;
|
|
|
58857
59095
|
const MAX_32_BIT_FLOAT = 3402823466e29;
|
|
58858
59096
|
const defaultGetPoints = (bin) => bin.points;
|
|
58859
59097
|
const defaultGetIndex = (bin) => bin.index;
|
|
58860
|
-
const ascending$
|
|
59098
|
+
const ascending$2 = (a2, b) => a2 < b ? -1 : a2 > b ? 1 : a2 >= b ? 0 : NaN;
|
|
58861
59099
|
const defaultProps$w = {
|
|
58862
59100
|
getValue: defaultGetValue,
|
|
58863
59101
|
getPoints: defaultGetPoints,
|
|
@@ -58941,7 +59179,7 @@ class BinSorter {
|
|
|
58941
59179
|
}
|
|
58942
59180
|
getValueRange(percentileRange) {
|
|
58943
59181
|
if (!this.sortedBins) {
|
|
58944
|
-
this.sortedBins = this.aggregatedBins.sort((a2, b) => ascending$
|
|
59182
|
+
this.sortedBins = this.aggregatedBins.sort((a2, b) => ascending$2(a2.value, b.value));
|
|
58945
59183
|
}
|
|
58946
59184
|
if (!this.sortedBins.length) {
|
|
58947
59185
|
return [];
|
|
@@ -58957,7 +59195,7 @@ class BinSorter {
|
|
|
58957
59195
|
}
|
|
58958
59196
|
getValueDomainByScale(scale2, [lower2 = 0, upper = 100] = []) {
|
|
58959
59197
|
if (!this.sortedBins) {
|
|
58960
|
-
this.sortedBins = this.aggregatedBins.sort((a2, b) => ascending$
|
|
59198
|
+
this.sortedBins = this.aggregatedBins.sort((a2, b) => ascending$2(a2.value, b.value));
|
|
58961
59199
|
}
|
|
58962
59200
|
if (!this.sortedBins.length) {
|
|
58963
59201
|
return [];
|
|
@@ -87920,7 +88158,7 @@ function getCoords$1(coords) {
|
|
|
87920
88158
|
throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array");
|
|
87921
88159
|
}
|
|
87922
88160
|
function containsNumber$1(coordinates2) {
|
|
87923
|
-
if (coordinates2.length > 1 && isNumber(coordinates2[0]) && isNumber(coordinates2[1])) {
|
|
88161
|
+
if (coordinates2.length > 1 && isNumber$1(coordinates2[0]) && isNumber$1(coordinates2[1])) {
|
|
87924
88162
|
return true;
|
|
87925
88163
|
}
|
|
87926
88164
|
if (Array.isArray(coordinates2[0]) && coordinates2[0].length) {
|
|
@@ -90743,7 +90981,7 @@ var hasSymbols2 = typeof Symbol === "function" && typeof Symbol("foo") === "symb
|
|
|
90743
90981
|
var toStr$1 = Object.prototype.toString;
|
|
90744
90982
|
var concat = Array.prototype.concat;
|
|
90745
90983
|
var defineDataProperty2 = defineDataProperty$1;
|
|
90746
|
-
var isFunction$
|
|
90984
|
+
var isFunction$2 = function(fn) {
|
|
90747
90985
|
return typeof fn === "function" && toStr$1.call(fn) === "[object Function]";
|
|
90748
90986
|
};
|
|
90749
90987
|
var supportsDescriptors$2 = hasPropertyDescriptors_1();
|
|
@@ -90753,7 +90991,7 @@ var defineProperty$3 = function(object2, name2, value, predicate) {
|
|
|
90753
90991
|
if (object2[name2] === value) {
|
|
90754
90992
|
return;
|
|
90755
90993
|
}
|
|
90756
|
-
} else if (!isFunction$
|
|
90994
|
+
} else if (!isFunction$2(predicate) || !predicate()) {
|
|
90757
90995
|
return;
|
|
90758
90996
|
}
|
|
90759
90997
|
}
|
|
@@ -91137,7 +91375,7 @@ function lineOverlap(line1, line2, options) {
|
|
|
91137
91375
|
options = {};
|
|
91138
91376
|
}
|
|
91139
91377
|
options = options || {};
|
|
91140
|
-
if (!isObject$
|
|
91378
|
+
if (!isObject$4(options))
|
|
91141
91379
|
throw new Error("options is invalid");
|
|
91142
91380
|
var tolerance = options.tolerance || 0;
|
|
91143
91381
|
var features = [];
|
|
@@ -91697,19 +91935,19 @@ var jsts_min = { exports: {} };
|
|
|
91697
91935
|
}, Object.defineProperties(w2, O);
|
|
91698
91936
|
var T = function(t3, e4) {
|
|
91699
91937
|
return t3.interfaces_ && t3.interfaces_().indexOf(e4) > -1;
|
|
91700
|
-
},
|
|
91938
|
+
}, R = function() {
|
|
91701
91939
|
}, P = { LOG_10: { configurable: true } };
|
|
91702
|
-
|
|
91940
|
+
R.prototype.interfaces_ = function() {
|
|
91703
91941
|
return [];
|
|
91704
|
-
},
|
|
91705
|
-
return
|
|
91706
|
-
},
|
|
91942
|
+
}, R.prototype.getClass = function() {
|
|
91943
|
+
return R;
|
|
91944
|
+
}, R.log10 = function(t3) {
|
|
91707
91945
|
var e4 = Math.log(t3);
|
|
91708
|
-
return v.isInfinite(e4) ? e4 : v.isNaN(e4) ? e4 : e4 /
|
|
91709
|
-
},
|
|
91946
|
+
return v.isInfinite(e4) ? e4 : v.isNaN(e4) ? e4 : e4 / R.LOG_10;
|
|
91947
|
+
}, R.min = function(t3, e4, n3, i3) {
|
|
91710
91948
|
var r3 = t3;
|
|
91711
91949
|
return e4 < r3 && (r3 = e4), n3 < r3 && (r3 = n3), i3 < r3 && (r3 = i3), r3;
|
|
91712
|
-
},
|
|
91950
|
+
}, R.clamp = function() {
|
|
91713
91951
|
if ("number" == typeof arguments[2] && "number" == typeof arguments[0] && "number" == typeof arguments[1]) {
|
|
91714
91952
|
var t3 = arguments[0], e4 = arguments[1], n3 = arguments[2];
|
|
91715
91953
|
return t3 < e4 ? e4 : t3 > n3 ? n3 : t3;
|
|
@@ -91718,9 +91956,9 @@ var jsts_min = { exports: {} };
|
|
|
91718
91956
|
var i3 = arguments[0], r3 = arguments[1], o3 = arguments[2];
|
|
91719
91957
|
return i3 < r3 ? r3 : i3 > o3 ? o3 : i3;
|
|
91720
91958
|
}
|
|
91721
|
-
},
|
|
91959
|
+
}, R.wrap = function(t3, e4) {
|
|
91722
91960
|
return t3 < 0 ? e4 - -t3 % e4 : t3 % e4;
|
|
91723
|
-
},
|
|
91961
|
+
}, R.max = function() {
|
|
91724
91962
|
if (3 === arguments.length) {
|
|
91725
91963
|
var t3 = arguments[0], e4 = arguments[1], n3 = arguments[2], i3 = t3;
|
|
91726
91964
|
return e4 > i3 && (i3 = e4), n3 > i3 && (i3 = n3), i3;
|
|
@@ -91729,11 +91967,11 @@ var jsts_min = { exports: {} };
|
|
|
91729
91967
|
var r3 = arguments[0], o3 = arguments[1], s3 = arguments[2], a3 = arguments[3], u2 = r3;
|
|
91730
91968
|
return o3 > u2 && (u2 = o3), s3 > u2 && (u2 = s3), a3 > u2 && (u2 = a3), u2;
|
|
91731
91969
|
}
|
|
91732
|
-
},
|
|
91970
|
+
}, R.average = function(t3, e4) {
|
|
91733
91971
|
return (t3 + e4) / 2;
|
|
91734
91972
|
}, P.LOG_10.get = function() {
|
|
91735
91973
|
return Math.log(10);
|
|
91736
|
-
}, Object.defineProperties(
|
|
91974
|
+
}, Object.defineProperties(R, P);
|
|
91737
91975
|
var D2 = function(t3) {
|
|
91738
91976
|
this.str = t3;
|
|
91739
91977
|
};
|
|
@@ -92888,7 +93126,7 @@ var jsts_min = { exports: {} };
|
|
|
92888
93126
|
}
|
|
92889
93127
|
} else
|
|
92890
93128
|
r3 = true;
|
|
92891
|
-
return r3 ?
|
|
93129
|
+
return r3 ? R.min(at2.distancePointLine(t3, n3, i3), at2.distancePointLine(e4, n3, i3), at2.distancePointLine(n3, t3, e4), at2.distancePointLine(i3, t3, e4)) : 0;
|
|
92892
93130
|
}, at2.isPointInRing = function(t3, e4) {
|
|
92893
93131
|
return at2.locatePointInRing(t3, e4) !== w2.EXTERIOR;
|
|
92894
93132
|
}, at2.computeLength = function(t3) {
|
|
@@ -93478,8 +93716,8 @@ var jsts_min = { exports: {} };
|
|
|
93478
93716
|
(null === e4 || e4.compareTo(t3[n3]) > 0) && (e4 = t3[n3]);
|
|
93479
93717
|
return e4;
|
|
93480
93718
|
}, Lt.extract = function(t3, e4, n3) {
|
|
93481
|
-
e4 =
|
|
93482
|
-
var i3 = (n3 =
|
|
93719
|
+
e4 = R.clamp(e4, 0, t3.length);
|
|
93720
|
+
var i3 = (n3 = R.clamp(n3, -1, t3.length)) - e4 + 1;
|
|
93483
93721
|
n3 < 0 && (i3 = 0), e4 >= t3.length && (i3 = 0), n3 < e4 && (i3 = 0);
|
|
93484
93722
|
var r3 = new Array(i3).fill(null);
|
|
93485
93723
|
if (0 === i3)
|
|
@@ -99224,7 +99462,7 @@ var jsts_min = { exports: {} };
|
|
|
99224
99462
|
return f3.getResultGeometry(c3);
|
|
99225
99463
|
}
|
|
99226
99464
|
}, di.precisionScaleFactor = function(t3, e4, n3) {
|
|
99227
|
-
var i3 = t3.getEnvelopeInternal(), r3 =
|
|
99465
|
+
var i3 = t3.getEnvelopeInternal(), r3 = R.max(Math.abs(i3.getMaxX()), Math.abs(i3.getMaxY()), Math.abs(i3.getMinX()), Math.abs(i3.getMinY())) + 2 * (e4 > 0 ? e4 : 0), o3 = n3 - Math.trunc(Math.log(r3) / Math.log(10) + 1);
|
|
99228
99466
|
return Math.pow(10, o3);
|
|
99229
99467
|
}, yi.CAP_ROUND.get = function() {
|
|
99230
99468
|
return Cn.CAP_ROUND;
|
|
@@ -102273,10 +102511,10 @@ function link(array2) {
|
|
|
102273
102511
|
a2.n = b = array2[0];
|
|
102274
102512
|
b.p = a2;
|
|
102275
102513
|
}
|
|
102276
|
-
function ascending$
|
|
102514
|
+
function ascending$1(a2, b) {
|
|
102277
102515
|
return a2 < b ? -1 : a2 > b ? 1 : a2 >= b ? 0 : NaN;
|
|
102278
102516
|
}
|
|
102279
|
-
function bisector
|
|
102517
|
+
function bisector(compare2) {
|
|
102280
102518
|
if (compare2.length === 1)
|
|
102281
102519
|
compare2 = ascendingComparator(compare2);
|
|
102282
102520
|
return {
|
|
@@ -102312,10 +102550,10 @@ function bisector$1(compare2) {
|
|
|
102312
102550
|
}
|
|
102313
102551
|
function ascendingComparator(f2) {
|
|
102314
102552
|
return function(d, x2) {
|
|
102315
|
-
return ascending$
|
|
102553
|
+
return ascending$1(f2(d), x2);
|
|
102316
102554
|
};
|
|
102317
102555
|
}
|
|
102318
|
-
bisector
|
|
102556
|
+
bisector(ascending$1);
|
|
102319
102557
|
function range$1(start, stop, step) {
|
|
102320
102558
|
start = +start, stop = +stop, step = (n2 = arguments.length) < 2 ? (stop = start, start = 0, 1) : n2 < 3 ? 1 : +step;
|
|
102321
102559
|
var i2 = -1, n2 = Math.max(0, Math.ceil((stop - start) / step)) | 0, range2 = new Array(n2);
|
|
@@ -106615,372 +106853,216 @@ var layerMouseEvent = {};
|
|
|
106615
106853
|
exports2["default"] = LayerMouseEvent;
|
|
106616
106854
|
})(layerMouseEvent);
|
|
106617
106855
|
var nebulaLayer = {};
|
|
106618
|
-
var events = { exports: {} };
|
|
106619
|
-
var R = typeof Reflect === "object" ? Reflect : null;
|
|
106620
|
-
var ReflectApply = R && typeof R.apply === "function" ? R.apply : function ReflectApply2(target, receiver, args) {
|
|
106621
|
-
return Function.prototype.apply.call(target, receiver, args);
|
|
106622
|
-
};
|
|
106623
|
-
var ReflectOwnKeys;
|
|
106624
|
-
if (R && typeof R.ownKeys === "function") {
|
|
106625
|
-
ReflectOwnKeys = R.ownKeys;
|
|
106626
|
-
} else if (Object.getOwnPropertySymbols) {
|
|
106627
|
-
ReflectOwnKeys = function ReflectOwnKeys2(target) {
|
|
106628
|
-
return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));
|
|
106629
|
-
};
|
|
106630
|
-
} else {
|
|
106631
|
-
ReflectOwnKeys = function ReflectOwnKeys2(target) {
|
|
106632
|
-
return Object.getOwnPropertyNames(target);
|
|
106633
|
-
};
|
|
106634
|
-
}
|
|
106635
|
-
function ProcessEmitWarning(warning2) {
|
|
106636
|
-
if (console && console.warn)
|
|
106637
|
-
console.warn(warning2);
|
|
106638
|
-
}
|
|
106639
|
-
var NumberIsNaN = Number.isNaN || function NumberIsNaN2(value) {
|
|
106640
|
-
return value !== value;
|
|
106641
|
-
};
|
|
106642
106856
|
function EventEmitter() {
|
|
106643
|
-
|
|
106857
|
+
this._events = this._events || {};
|
|
106858
|
+
this._maxListeners = this._maxListeners || void 0;
|
|
106644
106859
|
}
|
|
106645
|
-
events
|
|
106646
|
-
events.exports.once = once2;
|
|
106860
|
+
var events = EventEmitter;
|
|
106647
106861
|
EventEmitter.EventEmitter = EventEmitter;
|
|
106648
106862
|
EventEmitter.prototype._events = void 0;
|
|
106649
|
-
EventEmitter.prototype._eventsCount = 0;
|
|
106650
106863
|
EventEmitter.prototype._maxListeners = void 0;
|
|
106651
|
-
|
|
106652
|
-
function
|
|
106653
|
-
if (
|
|
106654
|
-
throw
|
|
106655
|
-
}
|
|
106656
|
-
}
|
|
106657
|
-
Object.defineProperty(EventEmitter, "defaultMaxListeners", {
|
|
106658
|
-
enumerable: true,
|
|
106659
|
-
get: function() {
|
|
106660
|
-
return defaultMaxListeners;
|
|
106661
|
-
},
|
|
106662
|
-
set: function(arg) {
|
|
106663
|
-
if (typeof arg !== "number" || arg < 0 || NumberIsNaN(arg)) {
|
|
106664
|
-
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + ".");
|
|
106665
|
-
}
|
|
106666
|
-
defaultMaxListeners = arg;
|
|
106667
|
-
}
|
|
106668
|
-
});
|
|
106669
|
-
EventEmitter.init = function() {
|
|
106670
|
-
if (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) {
|
|
106671
|
-
this._events = /* @__PURE__ */ Object.create(null);
|
|
106672
|
-
this._eventsCount = 0;
|
|
106673
|
-
}
|
|
106674
|
-
this._maxListeners = this._maxListeners || void 0;
|
|
106675
|
-
};
|
|
106676
|
-
EventEmitter.prototype.setMaxListeners = function setMaxListeners(n2) {
|
|
106677
|
-
if (typeof n2 !== "number" || n2 < 0 || NumberIsNaN(n2)) {
|
|
106678
|
-
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n2 + ".");
|
|
106679
|
-
}
|
|
106864
|
+
EventEmitter.defaultMaxListeners = 10;
|
|
106865
|
+
EventEmitter.prototype.setMaxListeners = function(n2) {
|
|
106866
|
+
if (!isNumber(n2) || n2 < 0 || isNaN(n2))
|
|
106867
|
+
throw TypeError("n must be a positive number");
|
|
106680
106868
|
this._maxListeners = n2;
|
|
106681
106869
|
return this;
|
|
106682
106870
|
};
|
|
106683
|
-
function
|
|
106684
|
-
|
|
106685
|
-
|
|
106686
|
-
|
|
106687
|
-
|
|
106688
|
-
|
|
106689
|
-
|
|
106690
|
-
|
|
106691
|
-
|
|
106692
|
-
|
|
106693
|
-
|
|
106694
|
-
|
|
106695
|
-
|
|
106696
|
-
|
|
106697
|
-
|
|
106698
|
-
|
|
106699
|
-
|
|
106700
|
-
|
|
106701
|
-
if (doError) {
|
|
106702
|
-
var er;
|
|
106703
|
-
if (args.length > 0)
|
|
106704
|
-
er = args[0];
|
|
106705
|
-
if (er instanceof Error) {
|
|
106706
|
-
throw er;
|
|
106707
|
-
}
|
|
106708
|
-
var err2 = new Error("Unhandled error." + (er ? " (" + er.message + ")" : ""));
|
|
106709
|
-
err2.context = er;
|
|
106710
|
-
throw err2;
|
|
106711
|
-
}
|
|
106712
|
-
var handler = events2[type2];
|
|
106713
|
-
if (handler === void 0)
|
|
106871
|
+
EventEmitter.prototype.emit = function(type2) {
|
|
106872
|
+
var er, handler, len2, args, i2, listeners;
|
|
106873
|
+
if (!this._events)
|
|
106874
|
+
this._events = {};
|
|
106875
|
+
if (type2 === "error") {
|
|
106876
|
+
if (!this._events.error || isObject$1(this._events.error) && !this._events.error.length) {
|
|
106877
|
+
er = arguments[1];
|
|
106878
|
+
if (er instanceof Error) {
|
|
106879
|
+
throw er;
|
|
106880
|
+
} else {
|
|
106881
|
+
var err2 = new Error('Uncaught, unspecified "error" event. (' + er + ")");
|
|
106882
|
+
err2.context = er;
|
|
106883
|
+
throw err2;
|
|
106884
|
+
}
|
|
106885
|
+
}
|
|
106886
|
+
}
|
|
106887
|
+
handler = this._events[type2];
|
|
106888
|
+
if (isUndefined(handler))
|
|
106714
106889
|
return false;
|
|
106715
|
-
if (
|
|
106716
|
-
|
|
106717
|
-
|
|
106718
|
-
|
|
106719
|
-
|
|
106720
|
-
|
|
106721
|
-
|
|
106890
|
+
if (isFunction$1(handler)) {
|
|
106891
|
+
switch (arguments.length) {
|
|
106892
|
+
case 1:
|
|
106893
|
+
handler.call(this);
|
|
106894
|
+
break;
|
|
106895
|
+
case 2:
|
|
106896
|
+
handler.call(this, arguments[1]);
|
|
106897
|
+
break;
|
|
106898
|
+
case 3:
|
|
106899
|
+
handler.call(this, arguments[1], arguments[2]);
|
|
106900
|
+
break;
|
|
106901
|
+
default:
|
|
106902
|
+
args = Array.prototype.slice.call(arguments, 1);
|
|
106903
|
+
handler.apply(this, args);
|
|
106904
|
+
}
|
|
106905
|
+
} else if (isObject$1(handler)) {
|
|
106906
|
+
args = Array.prototype.slice.call(arguments, 1);
|
|
106907
|
+
listeners = handler.slice();
|
|
106908
|
+
len2 = listeners.length;
|
|
106909
|
+
for (i2 = 0; i2 < len2; i2++)
|
|
106910
|
+
listeners[i2].apply(this, args);
|
|
106722
106911
|
}
|
|
106723
106912
|
return true;
|
|
106724
106913
|
};
|
|
106725
|
-
function
|
|
106914
|
+
EventEmitter.prototype.addListener = function(type2, listener) {
|
|
106726
106915
|
var m2;
|
|
106727
|
-
|
|
106728
|
-
|
|
106729
|
-
|
|
106730
|
-
|
|
106731
|
-
if (
|
|
106732
|
-
|
|
106733
|
-
|
|
106734
|
-
|
|
106735
|
-
|
|
106736
|
-
|
|
106737
|
-
|
|
106738
|
-
|
|
106739
|
-
|
|
106740
|
-
|
|
106741
|
-
|
|
106742
|
-
|
|
106743
|
-
|
|
106744
|
-
|
|
106745
|
-
|
|
106746
|
-
existing = events2[type2] = listener;
|
|
106747
|
-
++target._eventsCount;
|
|
106748
|
-
} else {
|
|
106749
|
-
if (typeof existing === "function") {
|
|
106750
|
-
existing = events2[type2] = prepend ? [listener, existing] : [existing, listener];
|
|
106751
|
-
} else if (prepend) {
|
|
106752
|
-
existing.unshift(listener);
|
|
106916
|
+
if (!isFunction$1(listener))
|
|
106917
|
+
throw TypeError("listener must be a function");
|
|
106918
|
+
if (!this._events)
|
|
106919
|
+
this._events = {};
|
|
106920
|
+
if (this._events.newListener)
|
|
106921
|
+
this.emit(
|
|
106922
|
+
"newListener",
|
|
106923
|
+
type2,
|
|
106924
|
+
isFunction$1(listener.listener) ? listener.listener : listener
|
|
106925
|
+
);
|
|
106926
|
+
if (!this._events[type2])
|
|
106927
|
+
this._events[type2] = listener;
|
|
106928
|
+
else if (isObject$1(this._events[type2]))
|
|
106929
|
+
this._events[type2].push(listener);
|
|
106930
|
+
else
|
|
106931
|
+
this._events[type2] = [this._events[type2], listener];
|
|
106932
|
+
if (isObject$1(this._events[type2]) && !this._events[type2].warned) {
|
|
106933
|
+
if (!isUndefined(this._maxListeners)) {
|
|
106934
|
+
m2 = this._maxListeners;
|
|
106753
106935
|
} else {
|
|
106754
|
-
|
|
106936
|
+
m2 = EventEmitter.defaultMaxListeners;
|
|
106755
106937
|
}
|
|
106756
|
-
m2
|
|
106757
|
-
|
|
106758
|
-
|
|
106759
|
-
|
|
106760
|
-
|
|
106761
|
-
|
|
106762
|
-
|
|
106763
|
-
|
|
106764
|
-
|
|
106938
|
+
if (m2 && m2 > 0 && this._events[type2].length > m2) {
|
|
106939
|
+
this._events[type2].warned = true;
|
|
106940
|
+
console.error(
|
|
106941
|
+
"(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",
|
|
106942
|
+
this._events[type2].length
|
|
106943
|
+
);
|
|
106944
|
+
if (typeof console.trace === "function") {
|
|
106945
|
+
console.trace();
|
|
106946
|
+
}
|
|
106765
106947
|
}
|
|
106766
106948
|
}
|
|
106767
|
-
return target;
|
|
106768
|
-
}
|
|
106769
|
-
EventEmitter.prototype.addListener = function addListener(type2, listener) {
|
|
106770
|
-
return _addListener(this, type2, listener, false);
|
|
106771
|
-
};
|
|
106772
|
-
EventEmitter.prototype.on = EventEmitter.prototype.addListener;
|
|
106773
|
-
EventEmitter.prototype.prependListener = function prependListener(type2, listener) {
|
|
106774
|
-
return _addListener(this, type2, listener, true);
|
|
106775
|
-
};
|
|
106776
|
-
function onceWrapper() {
|
|
106777
|
-
if (!this.fired) {
|
|
106778
|
-
this.target.removeListener(this.type, this.wrapFn);
|
|
106779
|
-
this.fired = true;
|
|
106780
|
-
if (arguments.length === 0)
|
|
106781
|
-
return this.listener.call(this.target);
|
|
106782
|
-
return this.listener.apply(this.target, arguments);
|
|
106783
|
-
}
|
|
106784
|
-
}
|
|
106785
|
-
function _onceWrap(target, type2, listener) {
|
|
106786
|
-
var state = { fired: false, wrapFn: void 0, target, type: type2, listener };
|
|
106787
|
-
var wrapped = onceWrapper.bind(state);
|
|
106788
|
-
wrapped.listener = listener;
|
|
106789
|
-
state.wrapFn = wrapped;
|
|
106790
|
-
return wrapped;
|
|
106791
|
-
}
|
|
106792
|
-
EventEmitter.prototype.once = function once(type2, listener) {
|
|
106793
|
-
checkListener(listener);
|
|
106794
|
-
this.on(type2, _onceWrap(this, type2, listener));
|
|
106795
106949
|
return this;
|
|
106796
106950
|
};
|
|
106797
|
-
EventEmitter.prototype.
|
|
106798
|
-
|
|
106799
|
-
|
|
106951
|
+
EventEmitter.prototype.on = EventEmitter.prototype.addListener;
|
|
106952
|
+
EventEmitter.prototype.once = function(type2, listener) {
|
|
106953
|
+
if (!isFunction$1(listener))
|
|
106954
|
+
throw TypeError("listener must be a function");
|
|
106955
|
+
var fired = false;
|
|
106956
|
+
function g2() {
|
|
106957
|
+
this.removeListener(type2, g2);
|
|
106958
|
+
if (!fired) {
|
|
106959
|
+
fired = true;
|
|
106960
|
+
listener.apply(this, arguments);
|
|
106961
|
+
}
|
|
106962
|
+
}
|
|
106963
|
+
g2.listener = listener;
|
|
106964
|
+
this.on(type2, g2);
|
|
106800
106965
|
return this;
|
|
106801
106966
|
};
|
|
106802
|
-
EventEmitter.prototype.removeListener = function
|
|
106803
|
-
var list,
|
|
106804
|
-
|
|
106805
|
-
|
|
106806
|
-
if (
|
|
106807
|
-
return this;
|
|
106808
|
-
list = events2[type2];
|
|
106809
|
-
if (list === void 0)
|
|
106967
|
+
EventEmitter.prototype.removeListener = function(type2, listener) {
|
|
106968
|
+
var list, position, length2, i2;
|
|
106969
|
+
if (!isFunction$1(listener))
|
|
106970
|
+
throw TypeError("listener must be a function");
|
|
106971
|
+
if (!this._events || !this._events[type2])
|
|
106810
106972
|
return this;
|
|
106811
|
-
|
|
106812
|
-
|
|
106813
|
-
|
|
106814
|
-
|
|
106815
|
-
|
|
106816
|
-
|
|
106817
|
-
|
|
106818
|
-
|
|
106819
|
-
|
|
106820
|
-
|
|
106821
|
-
for (i2 = list.length - 1; i2 >= 0; i2--) {
|
|
106822
|
-
if (list[i2] === listener || list[i2].listener === listener) {
|
|
106823
|
-
originalListener = list[i2].listener;
|
|
106973
|
+
list = this._events[type2];
|
|
106974
|
+
length2 = list.length;
|
|
106975
|
+
position = -1;
|
|
106976
|
+
if (list === listener || isFunction$1(list.listener) && list.listener === listener) {
|
|
106977
|
+
delete this._events[type2];
|
|
106978
|
+
if (this._events.removeListener)
|
|
106979
|
+
this.emit("removeListener", type2, listener);
|
|
106980
|
+
} else if (isObject$1(list)) {
|
|
106981
|
+
for (i2 = length2; i2-- > 0; ) {
|
|
106982
|
+
if (list[i2] === listener || list[i2].listener && list[i2].listener === listener) {
|
|
106824
106983
|
position = i2;
|
|
106825
106984
|
break;
|
|
106826
106985
|
}
|
|
106827
106986
|
}
|
|
106828
106987
|
if (position < 0)
|
|
106829
106988
|
return this;
|
|
106830
|
-
if (
|
|
106831
|
-
list.
|
|
106832
|
-
|
|
106833
|
-
|
|
106989
|
+
if (list.length === 1) {
|
|
106990
|
+
list.length = 0;
|
|
106991
|
+
delete this._events[type2];
|
|
106992
|
+
} else {
|
|
106993
|
+
list.splice(position, 1);
|
|
106834
106994
|
}
|
|
106835
|
-
if (
|
|
106836
|
-
|
|
106837
|
-
if (events2.removeListener !== void 0)
|
|
106838
|
-
this.emit("removeListener", type2, originalListener || listener);
|
|
106995
|
+
if (this._events.removeListener)
|
|
106996
|
+
this.emit("removeListener", type2, listener);
|
|
106839
106997
|
}
|
|
106840
106998
|
return this;
|
|
106841
106999
|
};
|
|
106842
|
-
EventEmitter.prototype.
|
|
106843
|
-
|
|
106844
|
-
|
|
106845
|
-
events2 = this._events;
|
|
106846
|
-
if (events2 === void 0)
|
|
107000
|
+
EventEmitter.prototype.removeAllListeners = function(type2) {
|
|
107001
|
+
var key, listeners;
|
|
107002
|
+
if (!this._events)
|
|
106847
107003
|
return this;
|
|
106848
|
-
if (
|
|
106849
|
-
if (arguments.length === 0)
|
|
106850
|
-
this._events =
|
|
106851
|
-
|
|
106852
|
-
|
|
106853
|
-
if (--this._eventsCount === 0)
|
|
106854
|
-
this._events = /* @__PURE__ */ Object.create(null);
|
|
106855
|
-
else
|
|
106856
|
-
delete events2[type2];
|
|
106857
|
-
}
|
|
107004
|
+
if (!this._events.removeListener) {
|
|
107005
|
+
if (arguments.length === 0)
|
|
107006
|
+
this._events = {};
|
|
107007
|
+
else if (this._events[type2])
|
|
107008
|
+
delete this._events[type2];
|
|
106858
107009
|
return this;
|
|
106859
107010
|
}
|
|
106860
107011
|
if (arguments.length === 0) {
|
|
106861
|
-
|
|
106862
|
-
var key;
|
|
106863
|
-
for (i2 = 0; i2 < keys3.length; ++i2) {
|
|
106864
|
-
key = keys3[i2];
|
|
107012
|
+
for (key in this._events) {
|
|
106865
107013
|
if (key === "removeListener")
|
|
106866
107014
|
continue;
|
|
106867
107015
|
this.removeAllListeners(key);
|
|
106868
107016
|
}
|
|
106869
107017
|
this.removeAllListeners("removeListener");
|
|
106870
|
-
this._events =
|
|
106871
|
-
this._eventsCount = 0;
|
|
107018
|
+
this._events = {};
|
|
106872
107019
|
return this;
|
|
106873
107020
|
}
|
|
106874
|
-
|
|
106875
|
-
if (
|
|
106876
|
-
this.removeListener(type2,
|
|
106877
|
-
} else if (
|
|
106878
|
-
|
|
106879
|
-
this.removeListener(type2,
|
|
106880
|
-
}
|
|
107021
|
+
listeners = this._events[type2];
|
|
107022
|
+
if (isFunction$1(listeners)) {
|
|
107023
|
+
this.removeListener(type2, listeners);
|
|
107024
|
+
} else if (listeners) {
|
|
107025
|
+
while (listeners.length)
|
|
107026
|
+
this.removeListener(type2, listeners[listeners.length - 1]);
|
|
106881
107027
|
}
|
|
107028
|
+
delete this._events[type2];
|
|
106882
107029
|
return this;
|
|
106883
107030
|
};
|
|
106884
|
-
function
|
|
106885
|
-
var
|
|
106886
|
-
if (
|
|
106887
|
-
|
|
106888
|
-
|
|
106889
|
-
|
|
106890
|
-
|
|
106891
|
-
|
|
106892
|
-
|
|
106893
|
-
return unwrap ? unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
|
|
106894
|
-
}
|
|
106895
|
-
EventEmitter.prototype.listeners = function listeners(type2) {
|
|
106896
|
-
return _listeners(this, type2, true);
|
|
106897
|
-
};
|
|
106898
|
-
EventEmitter.prototype.rawListeners = function rawListeners(type2) {
|
|
106899
|
-
return _listeners(this, type2, false);
|
|
106900
|
-
};
|
|
106901
|
-
EventEmitter.listenerCount = function(emitter, type2) {
|
|
106902
|
-
if (typeof emitter.listenerCount === "function") {
|
|
106903
|
-
return emitter.listenerCount(type2);
|
|
106904
|
-
} else {
|
|
106905
|
-
return listenerCount.call(emitter, type2);
|
|
106906
|
-
}
|
|
107031
|
+
EventEmitter.prototype.listeners = function(type2) {
|
|
107032
|
+
var ret;
|
|
107033
|
+
if (!this._events || !this._events[type2])
|
|
107034
|
+
ret = [];
|
|
107035
|
+
else if (isFunction$1(this._events[type2]))
|
|
107036
|
+
ret = [this._events[type2]];
|
|
107037
|
+
else
|
|
107038
|
+
ret = this._events[type2].slice();
|
|
107039
|
+
return ret;
|
|
106907
107040
|
};
|
|
106908
|
-
EventEmitter.prototype.listenerCount =
|
|
106909
|
-
|
|
106910
|
-
|
|
106911
|
-
|
|
106912
|
-
var evlistener = events2[type2];
|
|
106913
|
-
if (typeof evlistener === "function") {
|
|
107041
|
+
EventEmitter.prototype.listenerCount = function(type2) {
|
|
107042
|
+
if (this._events) {
|
|
107043
|
+
var evlistener = this._events[type2];
|
|
107044
|
+
if (isFunction$1(evlistener))
|
|
106914
107045
|
return 1;
|
|
106915
|
-
|
|
107046
|
+
else if (evlistener)
|
|
106916
107047
|
return evlistener.length;
|
|
106917
|
-
}
|
|
106918
107048
|
}
|
|
106919
107049
|
return 0;
|
|
106920
|
-
}
|
|
106921
|
-
EventEmitter.prototype.eventNames = function eventNames() {
|
|
106922
|
-
return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
|
|
106923
107050
|
};
|
|
106924
|
-
function
|
|
106925
|
-
|
|
106926
|
-
|
|
106927
|
-
|
|
106928
|
-
return
|
|
106929
|
-
}
|
|
106930
|
-
function spliceOne(list, index2) {
|
|
106931
|
-
for (; index2 + 1 < list.length; index2++)
|
|
106932
|
-
list[index2] = list[index2 + 1];
|
|
106933
|
-
list.pop();
|
|
106934
|
-
}
|
|
106935
|
-
function unwrapListeners(arr) {
|
|
106936
|
-
var ret = new Array(arr.length);
|
|
106937
|
-
for (var i2 = 0; i2 < ret.length; ++i2) {
|
|
106938
|
-
ret[i2] = arr[i2].listener || arr[i2];
|
|
106939
|
-
}
|
|
106940
|
-
return ret;
|
|
107051
|
+
EventEmitter.listenerCount = function(emitter, type2) {
|
|
107052
|
+
return emitter.listenerCount(type2);
|
|
107053
|
+
};
|
|
107054
|
+
function isFunction$1(arg) {
|
|
107055
|
+
return typeof arg === "function";
|
|
106941
107056
|
}
|
|
106942
|
-
function
|
|
106943
|
-
return
|
|
106944
|
-
function errorListener(err2) {
|
|
106945
|
-
emitter.removeListener(name2, resolver);
|
|
106946
|
-
reject(err2);
|
|
106947
|
-
}
|
|
106948
|
-
function resolver() {
|
|
106949
|
-
if (typeof emitter.removeListener === "function") {
|
|
106950
|
-
emitter.removeListener("error", errorListener);
|
|
106951
|
-
}
|
|
106952
|
-
resolve([].slice.call(arguments));
|
|
106953
|
-
}
|
|
106954
|
-
eventTargetAgnosticAddListener(emitter, name2, resolver, { once: true });
|
|
106955
|
-
if (name2 !== "error") {
|
|
106956
|
-
addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });
|
|
106957
|
-
}
|
|
106958
|
-
});
|
|
107057
|
+
function isNumber(arg) {
|
|
107058
|
+
return typeof arg === "number";
|
|
106959
107059
|
}
|
|
106960
|
-
function
|
|
106961
|
-
|
|
106962
|
-
eventTargetAgnosticAddListener(emitter, "error", handler, flags3);
|
|
106963
|
-
}
|
|
107060
|
+
function isObject$1(arg) {
|
|
107061
|
+
return typeof arg === "object" && arg !== null;
|
|
106964
107062
|
}
|
|
106965
|
-
function
|
|
106966
|
-
|
|
106967
|
-
if (flags3.once) {
|
|
106968
|
-
emitter.once(name2, listener);
|
|
106969
|
-
} else {
|
|
106970
|
-
emitter.on(name2, listener);
|
|
106971
|
-
}
|
|
106972
|
-
} else if (typeof emitter.addEventListener === "function") {
|
|
106973
|
-
emitter.addEventListener(name2, function wrapListener(arg) {
|
|
106974
|
-
if (flags3.once) {
|
|
106975
|
-
emitter.removeEventListener(name2, wrapListener);
|
|
106976
|
-
}
|
|
106977
|
-
listener(arg);
|
|
106978
|
-
});
|
|
106979
|
-
} else {
|
|
106980
|
-
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof emitter);
|
|
106981
|
-
}
|
|
107063
|
+
function isUndefined(arg) {
|
|
107064
|
+
return arg === void 0;
|
|
106982
107065
|
}
|
|
106983
|
-
var eventsExports = events.exports;
|
|
106984
107066
|
var getRandomValues = typeof crypto != "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto != "undefined" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto);
|
|
106985
107067
|
var rnds8 = new Uint8Array(16);
|
|
106986
107068
|
function rng() {
|
|
@@ -107346,7 +107428,7 @@ const require$$1$3 = /* @__PURE__ */ getAugmentedNamespace(esmBrowser);
|
|
|
107346
107428
|
value: true
|
|
107347
107429
|
});
|
|
107348
107430
|
exports2["default"] = void 0;
|
|
107349
|
-
var _events = _interopRequireDefault2(
|
|
107431
|
+
var _events = _interopRequireDefault2(events);
|
|
107350
107432
|
var _uuid = _interopRequireDefault2(require$$1$3);
|
|
107351
107433
|
function _interopRequireDefault2(obj) {
|
|
107352
107434
|
return obj && obj.__esModule ? obj : { "default": obj };
|
|
@@ -107830,7 +107912,7 @@ function rhumbDistance$2(from, to, options) {
|
|
|
107830
107912
|
}
|
|
107831
107913
|
function calculateRhumbDistance(origin, destination2, radius) {
|
|
107832
107914
|
radius = radius === void 0 ? helpers_1$9.earthRadius : Number(radius);
|
|
107833
|
-
var
|
|
107915
|
+
var R = radius;
|
|
107834
107916
|
var phi12 = origin[1] * Math.PI / 180;
|
|
107835
107917
|
var phi2 = destination2[1] * Math.PI / 180;
|
|
107836
107918
|
var DeltaPhi = phi2 - phi12;
|
|
@@ -107841,7 +107923,7 @@ function calculateRhumbDistance(origin, destination2, radius) {
|
|
|
107841
107923
|
var DeltaPsi = Math.log(Math.tan(phi2 / 2 + Math.PI / 4) / Math.tan(phi12 / 2 + Math.PI / 4));
|
|
107842
107924
|
var q = Math.abs(DeltaPsi) > 1e-11 ? DeltaPhi / DeltaPsi : Math.cos(phi12);
|
|
107843
107925
|
var delta = Math.sqrt(DeltaPhi * DeltaPhi + q * q * DeltaLambda * DeltaLambda);
|
|
107844
|
-
var dist = delta *
|
|
107926
|
+
var dist = delta * R;
|
|
107845
107927
|
return dist;
|
|
107846
107928
|
}
|
|
107847
107929
|
js$f.default = rhumbDistance$2;
|
|
@@ -122388,7 +122470,7 @@ var document_1 = doccy;
|
|
|
122388
122470
|
value: true
|
|
122389
122471
|
});
|
|
122390
122472
|
exports2["default"] = void 0;
|
|
122391
|
-
var _events =
|
|
122473
|
+
var _events = events;
|
|
122392
122474
|
var _document = _interopRequireDefault2(document_1);
|
|
122393
122475
|
var _core = require$$2$2;
|
|
122394
122476
|
var _deckDrawer = _interopRequireDefault2(deckDrawer);
|
|
@@ -124343,16 +124425,16 @@ function addDecoder(cases, importFn) {
|
|
|
124343
124425
|
}
|
|
124344
124426
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
124345
124427
|
}
|
|
124346
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
124347
|
-
addDecoder(5, () => import("./lzw-
|
|
124428
|
+
addDecoder([void 0, 1], () => import("./raw-44cfcc64.js").then((m2) => m2.default));
|
|
124429
|
+
addDecoder(5, () => import("./lzw-551d533e.js").then((m2) => m2.default));
|
|
124348
124430
|
addDecoder(6, () => {
|
|
124349
124431
|
throw new Error("old style JPEG compression is not supported.");
|
|
124350
124432
|
});
|
|
124351
|
-
addDecoder(7, () => import("./jpeg-
|
|
124352
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
124353
|
-
addDecoder(32773, () => import("./packbits-
|
|
124354
|
-
addDecoder(34887, () => import("./lerc-
|
|
124355
|
-
addDecoder(50001, () => import("./webimage-
|
|
124433
|
+
addDecoder(7, () => import("./jpeg-8c087dbd.js").then((m2) => m2.default));
|
|
124434
|
+
addDecoder([8, 32946], () => import("./deflate-38080dfa.js").then((m2) => m2.default));
|
|
124435
|
+
addDecoder(32773, () => import("./packbits-da285c36.js").then((m2) => m2.default));
|
|
124436
|
+
addDecoder(34887, () => import("./lerc-6f97422d.js").then((m2) => m2.default));
|
|
124437
|
+
addDecoder(50001, () => import("./webimage-201fd4a3.js").then((m2) => m2.default));
|
|
124356
124438
|
function decodeRowAcc(row, stride) {
|
|
124357
124439
|
let length2 = row.length - stride;
|
|
124358
124440
|
let offset5 = 0;
|
|
@@ -124542,16 +124624,16 @@ createCommonjsModule(function(module2) {
|
|
|
124542
124624
|
if (!new Events().__proto__)
|
|
124543
124625
|
prefix2 = false;
|
|
124544
124626
|
}
|
|
124545
|
-
function EE(fn, context,
|
|
124627
|
+
function EE(fn, context, once) {
|
|
124546
124628
|
this.fn = fn;
|
|
124547
124629
|
this.context = context;
|
|
124548
|
-
this.once =
|
|
124630
|
+
this.once = once || false;
|
|
124549
124631
|
}
|
|
124550
|
-
function
|
|
124632
|
+
function addListener(emitter, event, fn, context, once) {
|
|
124551
124633
|
if (typeof fn !== "function") {
|
|
124552
124634
|
throw new TypeError("The listener must be a function");
|
|
124553
124635
|
}
|
|
124554
|
-
var listener = new EE(fn, context || emitter,
|
|
124636
|
+
var listener = new EE(fn, context || emitter, once), evt = prefix2 ? prefix2 + event : event;
|
|
124555
124637
|
if (!emitter._events[evt])
|
|
124556
124638
|
emitter._events[evt] = listener, emitter._eventsCount++;
|
|
124557
124639
|
else if (!emitter._events[evt].fn)
|
|
@@ -124570,7 +124652,7 @@ createCommonjsModule(function(module2) {
|
|
|
124570
124652
|
this._events = new Events();
|
|
124571
124653
|
this._eventsCount = 0;
|
|
124572
124654
|
}
|
|
124573
|
-
EventEmitter2.prototype.eventNames = function
|
|
124655
|
+
EventEmitter2.prototype.eventNames = function eventNames() {
|
|
124574
124656
|
var names = [], events2, name2;
|
|
124575
124657
|
if (this._eventsCount === 0)
|
|
124576
124658
|
return names;
|
|
@@ -124583,7 +124665,7 @@ createCommonjsModule(function(module2) {
|
|
|
124583
124665
|
}
|
|
124584
124666
|
return names;
|
|
124585
124667
|
};
|
|
124586
|
-
EventEmitter2.prototype.listeners = function
|
|
124668
|
+
EventEmitter2.prototype.listeners = function listeners(event) {
|
|
124587
124669
|
var evt = prefix2 ? prefix2 + event : event, handlers = this._events[evt];
|
|
124588
124670
|
if (!handlers)
|
|
124589
124671
|
return [];
|
|
@@ -124594,76 +124676,76 @@ createCommonjsModule(function(module2) {
|
|
|
124594
124676
|
}
|
|
124595
124677
|
return ee;
|
|
124596
124678
|
};
|
|
124597
|
-
EventEmitter2.prototype.listenerCount = function
|
|
124598
|
-
var evt = prefix2 ? prefix2 + event : event,
|
|
124599
|
-
if (!
|
|
124679
|
+
EventEmitter2.prototype.listenerCount = function listenerCount(event) {
|
|
124680
|
+
var evt = prefix2 ? prefix2 + event : event, listeners = this._events[evt];
|
|
124681
|
+
if (!listeners)
|
|
124600
124682
|
return 0;
|
|
124601
|
-
if (
|
|
124683
|
+
if (listeners.fn)
|
|
124602
124684
|
return 1;
|
|
124603
|
-
return
|
|
124685
|
+
return listeners.length;
|
|
124604
124686
|
};
|
|
124605
|
-
EventEmitter2.prototype.emit = function
|
|
124687
|
+
EventEmitter2.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
|
|
124606
124688
|
var evt = prefix2 ? prefix2 + event : event;
|
|
124607
124689
|
if (!this._events[evt])
|
|
124608
124690
|
return false;
|
|
124609
|
-
var
|
|
124610
|
-
if (
|
|
124611
|
-
if (
|
|
124612
|
-
this.removeListener(event,
|
|
124691
|
+
var listeners = this._events[evt], len2 = arguments.length, args, i2;
|
|
124692
|
+
if (listeners.fn) {
|
|
124693
|
+
if (listeners.once)
|
|
124694
|
+
this.removeListener(event, listeners.fn, void 0, true);
|
|
124613
124695
|
switch (len2) {
|
|
124614
124696
|
case 1:
|
|
124615
|
-
return
|
|
124697
|
+
return listeners.fn.call(listeners.context), true;
|
|
124616
124698
|
case 2:
|
|
124617
|
-
return
|
|
124699
|
+
return listeners.fn.call(listeners.context, a1), true;
|
|
124618
124700
|
case 3:
|
|
124619
|
-
return
|
|
124701
|
+
return listeners.fn.call(listeners.context, a1, a2), true;
|
|
124620
124702
|
case 4:
|
|
124621
|
-
return
|
|
124703
|
+
return listeners.fn.call(listeners.context, a1, a2, a3), true;
|
|
124622
124704
|
case 5:
|
|
124623
|
-
return
|
|
124705
|
+
return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
|
|
124624
124706
|
case 6:
|
|
124625
|
-
return
|
|
124707
|
+
return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
|
|
124626
124708
|
}
|
|
124627
124709
|
for (i2 = 1, args = new Array(len2 - 1); i2 < len2; i2++) {
|
|
124628
124710
|
args[i2 - 1] = arguments[i2];
|
|
124629
124711
|
}
|
|
124630
|
-
|
|
124712
|
+
listeners.fn.apply(listeners.context, args);
|
|
124631
124713
|
} else {
|
|
124632
|
-
var length2 =
|
|
124714
|
+
var length2 = listeners.length, j;
|
|
124633
124715
|
for (i2 = 0; i2 < length2; i2++) {
|
|
124634
|
-
if (
|
|
124635
|
-
this.removeListener(event,
|
|
124716
|
+
if (listeners[i2].once)
|
|
124717
|
+
this.removeListener(event, listeners[i2].fn, void 0, true);
|
|
124636
124718
|
switch (len2) {
|
|
124637
124719
|
case 1:
|
|
124638
|
-
|
|
124720
|
+
listeners[i2].fn.call(listeners[i2].context);
|
|
124639
124721
|
break;
|
|
124640
124722
|
case 2:
|
|
124641
|
-
|
|
124723
|
+
listeners[i2].fn.call(listeners[i2].context, a1);
|
|
124642
124724
|
break;
|
|
124643
124725
|
case 3:
|
|
124644
|
-
|
|
124726
|
+
listeners[i2].fn.call(listeners[i2].context, a1, a2);
|
|
124645
124727
|
break;
|
|
124646
124728
|
case 4:
|
|
124647
|
-
|
|
124729
|
+
listeners[i2].fn.call(listeners[i2].context, a1, a2, a3);
|
|
124648
124730
|
break;
|
|
124649
124731
|
default:
|
|
124650
124732
|
if (!args)
|
|
124651
124733
|
for (j = 1, args = new Array(len2 - 1); j < len2; j++) {
|
|
124652
124734
|
args[j - 1] = arguments[j];
|
|
124653
124735
|
}
|
|
124654
|
-
|
|
124736
|
+
listeners[i2].fn.apply(listeners[i2].context, args);
|
|
124655
124737
|
}
|
|
124656
124738
|
}
|
|
124657
124739
|
}
|
|
124658
124740
|
return true;
|
|
124659
124741
|
};
|
|
124660
124742
|
EventEmitter2.prototype.on = function on(event, fn, context) {
|
|
124661
|
-
return
|
|
124743
|
+
return addListener(this, event, fn, context, false);
|
|
124662
124744
|
};
|
|
124663
|
-
EventEmitter2.prototype.once = function
|
|
124664
|
-
return
|
|
124745
|
+
EventEmitter2.prototype.once = function once(event, fn, context) {
|
|
124746
|
+
return addListener(this, event, fn, context, true);
|
|
124665
124747
|
};
|
|
124666
|
-
EventEmitter2.prototype.removeListener = function
|
|
124748
|
+
EventEmitter2.prototype.removeListener = function removeListener(event, fn, context, once) {
|
|
124667
124749
|
var evt = prefix2 ? prefix2 + event : event;
|
|
124668
124750
|
if (!this._events[evt])
|
|
124669
124751
|
return this;
|
|
@@ -124671,15 +124753,15 @@ createCommonjsModule(function(module2) {
|
|
|
124671
124753
|
clearEvent(this, evt);
|
|
124672
124754
|
return this;
|
|
124673
124755
|
}
|
|
124674
|
-
var
|
|
124675
|
-
if (
|
|
124676
|
-
if (
|
|
124756
|
+
var listeners = this._events[evt];
|
|
124757
|
+
if (listeners.fn) {
|
|
124758
|
+
if (listeners.fn === fn && (!once || listeners.once) && (!context || listeners.context === context)) {
|
|
124677
124759
|
clearEvent(this, evt);
|
|
124678
124760
|
}
|
|
124679
124761
|
} else {
|
|
124680
|
-
for (var i2 = 0, events2 = [], length2 =
|
|
124681
|
-
if (
|
|
124682
|
-
events2.push(
|
|
124762
|
+
for (var i2 = 0, events2 = [], length2 = listeners.length; i2 < length2; i2++) {
|
|
124763
|
+
if (listeners[i2].fn !== fn || once && !listeners[i2].once || context && listeners[i2].context !== context) {
|
|
124764
|
+
events2.push(listeners[i2]);
|
|
124683
124765
|
}
|
|
124684
124766
|
}
|
|
124685
124767
|
if (events2.length)
|
|
@@ -124689,7 +124771,7 @@ createCommonjsModule(function(module2) {
|
|
|
124689
124771
|
}
|
|
124690
124772
|
return this;
|
|
124691
124773
|
};
|
|
124692
|
-
EventEmitter2.prototype.removeAllListeners = function
|
|
124774
|
+
EventEmitter2.prototype.removeAllListeners = function removeAllListeners(event) {
|
|
124693
124775
|
var evt;
|
|
124694
124776
|
if (event) {
|
|
124695
124777
|
evt = prefix2 ? prefix2 + event : event;
|
|
@@ -124779,7 +124861,7 @@ const Z_FIXED = 4;
|
|
|
124779
124861
|
const Z_BINARY = 0;
|
|
124780
124862
|
const Z_TEXT = 1;
|
|
124781
124863
|
const Z_UNKNOWN = 2;
|
|
124782
|
-
function zero$
|
|
124864
|
+
function zero$2(buf) {
|
|
124783
124865
|
let len2 = buf.length;
|
|
124784
124866
|
while (--len2 >= 0) {
|
|
124785
124867
|
buf[len2] = 0;
|
|
@@ -124818,17 +124900,17 @@ const extra_blbits = (
|
|
|
124818
124900
|
const bl_order = new Uint8Array([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]);
|
|
124819
124901
|
const DIST_CODE_LEN = 512;
|
|
124820
124902
|
const static_ltree = new Array((L_CODES + 2) * 2);
|
|
124821
|
-
zero$
|
|
124903
|
+
zero$2(static_ltree);
|
|
124822
124904
|
const static_dtree = new Array(D_CODES * 2);
|
|
124823
|
-
zero$
|
|
124905
|
+
zero$2(static_dtree);
|
|
124824
124906
|
const _dist_code = new Array(DIST_CODE_LEN);
|
|
124825
|
-
zero$
|
|
124907
|
+
zero$2(_dist_code);
|
|
124826
124908
|
const _length_code = new Array(MAX_MATCH - MIN_MATCH + 1);
|
|
124827
|
-
zero$
|
|
124909
|
+
zero$2(_length_code);
|
|
124828
124910
|
const base_length = new Array(LENGTH_CODES);
|
|
124829
|
-
zero$
|
|
124911
|
+
zero$2(base_length);
|
|
124830
124912
|
const base_dist = new Array(D_CODES);
|
|
124831
|
-
zero$
|
|
124913
|
+
zero$2(base_dist);
|
|
124832
124914
|
function StaticTreeDesc(static_tree, extra_bits, extra_base, elems, max_length) {
|
|
124833
124915
|
this.static_tree = static_tree;
|
|
124834
124916
|
this.extra_bits = extra_bits;
|
|
@@ -129172,7 +129254,7 @@ var blosc_codec = function() {
|
|
|
129172
129254
|
b += Ga[z2[a2++]];
|
|
129173
129255
|
return b;
|
|
129174
129256
|
}
|
|
129175
|
-
var Q2 = {},
|
|
129257
|
+
var Q2 = {}, R = {}, S = {};
|
|
129176
129258
|
function Ha(a2) {
|
|
129177
129259
|
if (void 0 === a2)
|
|
129178
129260
|
return "_unknown";
|
|
@@ -129217,8 +129299,8 @@ var blosc_codec = function() {
|
|
|
129217
129299
|
});
|
|
129218
129300
|
var e3 = Array(a2.length), g2 = [], k = 0;
|
|
129219
129301
|
a2.forEach(function(h, l2) {
|
|
129220
|
-
|
|
129221
|
-
e3[l2] =
|
|
129302
|
+
R.hasOwnProperty(h) ? e3[l2] = R[h] : (g2.push(h), Q2.hasOwnProperty(h) || (Q2[h] = []), Q2[h].push(function() {
|
|
129303
|
+
e3[l2] = R[h];
|
|
129222
129304
|
++k;
|
|
129223
129305
|
k === g2.length && c2(e3);
|
|
129224
129306
|
}));
|
|
@@ -129231,12 +129313,12 @@ var blosc_codec = function() {
|
|
|
129231
129313
|
throw new TypeError("registerType registeredInstance requires argPackAdvance");
|
|
129232
129314
|
var d = b.name;
|
|
129233
129315
|
a2 || T('type "' + d + '" must have a positive integer typeid pointer');
|
|
129234
|
-
if (
|
|
129316
|
+
if (R.hasOwnProperty(a2)) {
|
|
129235
129317
|
if (c2.U)
|
|
129236
129318
|
return;
|
|
129237
129319
|
T("Cannot register type '" + d + "' twice");
|
|
129238
129320
|
}
|
|
129239
|
-
|
|
129321
|
+
R[a2] = b;
|
|
129240
129322
|
delete S[a2];
|
|
129241
129323
|
Q2.hasOwnProperty(a2) && (b = Q2[a2], delete Q2[a2], b.forEach(function(e3) {
|
|
129242
129324
|
e3();
|
|
@@ -129349,7 +129431,7 @@ var blosc_codec = function() {
|
|
|
129349
129431
|
}
|
|
129350
129432
|
function eb(a2, b) {
|
|
129351
129433
|
function c2(g2) {
|
|
129352
|
-
e3[g2] ||
|
|
129434
|
+
e3[g2] || R[g2] || (S[g2] ? S[g2].forEach(c2) : (d.push(g2), e3[g2] = true));
|
|
129353
129435
|
}
|
|
129354
129436
|
var d = [], e3 = {};
|
|
129355
129437
|
b.forEach(c2);
|
|
@@ -129637,7 +129719,7 @@ var blosc_codec = function() {
|
|
|
129637
129719
|
}, n: Qa, x: function(a2) {
|
|
129638
129720
|
4 < a2 && (V[a2].P += 1);
|
|
129639
129721
|
}, C: function(a2, b) {
|
|
129640
|
-
var c2 =
|
|
129722
|
+
var c2 = R[a2];
|
|
129641
129723
|
void 0 === c2 && T("_emval_take_value has unknown type " + cb(a2));
|
|
129642
129724
|
a2 = c2.readValueFromPointer(b);
|
|
129643
129725
|
return Ra(a2);
|
|
@@ -146101,7 +146183,7 @@ function selection_order() {
|
|
|
146101
146183
|
}
|
|
146102
146184
|
function selection_sort(compare2) {
|
|
146103
146185
|
if (!compare2)
|
|
146104
|
-
compare2 = ascending
|
|
146186
|
+
compare2 = ascending;
|
|
146105
146187
|
function compareNode(a2, b) {
|
|
146106
146188
|
return a2 && b ? compare2(a2.__data__, b.__data__) : !a2 - !b;
|
|
146107
146189
|
}
|
|
@@ -146115,7 +146197,7 @@ function selection_sort(compare2) {
|
|
|
146115
146197
|
}
|
|
146116
146198
|
return new Selection(sortgroups, this._parents).order();
|
|
146117
146199
|
}
|
|
146118
|
-
function ascending
|
|
146200
|
+
function ascending(a2, b) {
|
|
146119
146201
|
return a2 < b ? -1 : a2 > b ? 1 : a2 >= b ? 0 : NaN;
|
|
146120
146202
|
}
|
|
146121
146203
|
function selection_call() {
|
|
@@ -146554,115 +146636,6 @@ Selection.prototype = {
|
|
|
146554
146636
|
function select(selector2) {
|
|
146555
146637
|
return typeof selector2 === "string" ? new Selection([[document.querySelector(selector2)]], [document.documentElement]) : new Selection([[selector2]], root);
|
|
146556
146638
|
}
|
|
146557
|
-
function ascending(a2, b) {
|
|
146558
|
-
return a2 == null || b == null ? NaN : a2 < b ? -1 : a2 > b ? 1 : a2 >= b ? 0 : NaN;
|
|
146559
|
-
}
|
|
146560
|
-
function descending(a2, b) {
|
|
146561
|
-
return a2 == null || b == null ? NaN : b < a2 ? -1 : b > a2 ? 1 : b >= a2 ? 0 : NaN;
|
|
146562
|
-
}
|
|
146563
|
-
function bisector(f2) {
|
|
146564
|
-
let compare1, compare2, delta;
|
|
146565
|
-
if (f2.length !== 2) {
|
|
146566
|
-
compare1 = ascending;
|
|
146567
|
-
compare2 = (d, x2) => ascending(f2(d), x2);
|
|
146568
|
-
delta = (d, x2) => f2(d) - x2;
|
|
146569
|
-
} else {
|
|
146570
|
-
compare1 = f2 === ascending || f2 === descending ? f2 : zero$2;
|
|
146571
|
-
compare2 = f2;
|
|
146572
|
-
delta = f2;
|
|
146573
|
-
}
|
|
146574
|
-
function left2(a2, x2, lo = 0, hi = a2.length) {
|
|
146575
|
-
if (lo < hi) {
|
|
146576
|
-
if (compare1(x2, x2) !== 0)
|
|
146577
|
-
return hi;
|
|
146578
|
-
do {
|
|
146579
|
-
const mid = lo + hi >>> 1;
|
|
146580
|
-
if (compare2(a2[mid], x2) < 0)
|
|
146581
|
-
lo = mid + 1;
|
|
146582
|
-
else
|
|
146583
|
-
hi = mid;
|
|
146584
|
-
} while (lo < hi);
|
|
146585
|
-
}
|
|
146586
|
-
return lo;
|
|
146587
|
-
}
|
|
146588
|
-
function right2(a2, x2, lo = 0, hi = a2.length) {
|
|
146589
|
-
if (lo < hi) {
|
|
146590
|
-
if (compare1(x2, x2) !== 0)
|
|
146591
|
-
return hi;
|
|
146592
|
-
do {
|
|
146593
|
-
const mid = lo + hi >>> 1;
|
|
146594
|
-
if (compare2(a2[mid], x2) <= 0)
|
|
146595
|
-
lo = mid + 1;
|
|
146596
|
-
else
|
|
146597
|
-
hi = mid;
|
|
146598
|
-
} while (lo < hi);
|
|
146599
|
-
}
|
|
146600
|
-
return lo;
|
|
146601
|
-
}
|
|
146602
|
-
function center2(a2, x2, lo = 0, hi = a2.length) {
|
|
146603
|
-
const i2 = left2(a2, x2, lo, hi - 1);
|
|
146604
|
-
return i2 > lo && delta(a2[i2 - 1], x2) > -delta(a2[i2], x2) ? i2 - 1 : i2;
|
|
146605
|
-
}
|
|
146606
|
-
return { left: left2, center: center2, right: right2 };
|
|
146607
|
-
}
|
|
146608
|
-
function zero$2() {
|
|
146609
|
-
return 0;
|
|
146610
|
-
}
|
|
146611
|
-
function number$3(x2) {
|
|
146612
|
-
return x2 === null ? NaN : +x2;
|
|
146613
|
-
}
|
|
146614
|
-
const ascendingBisect = bisector(ascending);
|
|
146615
|
-
const bisectRight = ascendingBisect.right;
|
|
146616
|
-
bisector(number$3).center;
|
|
146617
|
-
const bisect = bisectRight;
|
|
146618
|
-
var e10 = Math.sqrt(50), e5 = Math.sqrt(10), e2 = Math.sqrt(2);
|
|
146619
|
-
function ticks(start, stop, count2) {
|
|
146620
|
-
var reverse, i2 = -1, n2, ticks2, step;
|
|
146621
|
-
stop = +stop, start = +start, count2 = +count2;
|
|
146622
|
-
if (start === stop && count2 > 0)
|
|
146623
|
-
return [start];
|
|
146624
|
-
if (reverse = stop < start)
|
|
146625
|
-
n2 = start, start = stop, stop = n2;
|
|
146626
|
-
if ((step = tickIncrement(start, stop, count2)) === 0 || !isFinite(step))
|
|
146627
|
-
return [];
|
|
146628
|
-
if (step > 0) {
|
|
146629
|
-
let r0 = Math.round(start / step), r1 = Math.round(stop / step);
|
|
146630
|
-
if (r0 * step < start)
|
|
146631
|
-
++r0;
|
|
146632
|
-
if (r1 * step > stop)
|
|
146633
|
-
--r1;
|
|
146634
|
-
ticks2 = new Array(n2 = r1 - r0 + 1);
|
|
146635
|
-
while (++i2 < n2)
|
|
146636
|
-
ticks2[i2] = (r0 + i2) * step;
|
|
146637
|
-
} else {
|
|
146638
|
-
step = -step;
|
|
146639
|
-
let r0 = Math.round(start * step), r1 = Math.round(stop * step);
|
|
146640
|
-
if (r0 / step < start)
|
|
146641
|
-
++r0;
|
|
146642
|
-
if (r1 / step > stop)
|
|
146643
|
-
--r1;
|
|
146644
|
-
ticks2 = new Array(n2 = r1 - r0 + 1);
|
|
146645
|
-
while (++i2 < n2)
|
|
146646
|
-
ticks2[i2] = (r0 + i2) / step;
|
|
146647
|
-
}
|
|
146648
|
-
if (reverse)
|
|
146649
|
-
ticks2.reverse();
|
|
146650
|
-
return ticks2;
|
|
146651
|
-
}
|
|
146652
|
-
function tickIncrement(start, stop, count2) {
|
|
146653
|
-
var step = (stop - start) / Math.max(0, count2), power = Math.floor(Math.log(step) / Math.LN10), error2 = step / Math.pow(10, power);
|
|
146654
|
-
return power >= 0 ? (error2 >= e10 ? 10 : error2 >= e5 ? 5 : error2 >= e2 ? 2 : 1) * Math.pow(10, power) : -Math.pow(10, -power) / (error2 >= e10 ? 10 : error2 >= e5 ? 5 : error2 >= e2 ? 2 : 1);
|
|
146655
|
-
}
|
|
146656
|
-
function tickStep(start, stop, count2) {
|
|
146657
|
-
var step0 = Math.abs(stop - start) / Math.max(0, count2), step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)), error2 = step0 / step1;
|
|
146658
|
-
if (error2 >= e10)
|
|
146659
|
-
step1 *= 10;
|
|
146660
|
-
else if (error2 >= e5)
|
|
146661
|
-
step1 *= 5;
|
|
146662
|
-
else if (error2 >= e2)
|
|
146663
|
-
step1 *= 2;
|
|
146664
|
-
return stop < start ? -step1 : step1;
|
|
146665
|
-
}
|
|
146666
146639
|
function initRange(domain, range2) {
|
|
146667
146640
|
switch (arguments.length) {
|
|
146668
146641
|
case 0:
|
|
@@ -149041,11 +149014,13 @@ function EmbeddingScatterplotSubscriber(props) {
|
|
|
149041
149014
|
);
|
|
149042
149015
|
}
|
|
149043
149016
|
function DualEmbeddingScatterplotSubscriber(props) {
|
|
149017
|
+
var _a2, _b;
|
|
149044
149018
|
const {
|
|
149045
149019
|
uuid,
|
|
149046
149020
|
coordinationScopes
|
|
149047
149021
|
} = props;
|
|
149048
149022
|
const [{
|
|
149023
|
+
embeddingType,
|
|
149049
149024
|
sampleSetSelection
|
|
149050
149025
|
}] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.DUAL_SCATTERPLOT], coordinationScopes);
|
|
149051
149026
|
const caseSampleSetSelection = useMemo(() => (sampleSetSelection == null ? void 0 : sampleSetSelection[0]) ? [sampleSetSelection[0]] : null, [sampleSetSelection]);
|
|
@@ -149056,6 +149031,7 @@ function DualEmbeddingScatterplotSubscriber(props) {
|
|
|
149056
149031
|
{
|
|
149057
149032
|
...props,
|
|
149058
149033
|
uuid: `${uuid}-case`,
|
|
149034
|
+
title: `Scatterplot (${embeddingType}), ${(_a2 = caseSampleSetSelection == null ? void 0 : caseSampleSetSelection[0]) == null ? void 0 : _a2.at(-1)}`,
|
|
149059
149035
|
sampleSetSelection: caseSampleSetSelection
|
|
149060
149036
|
}
|
|
149061
149037
|
) }),
|
|
@@ -149064,6 +149040,7 @@ function DualEmbeddingScatterplotSubscriber(props) {
|
|
|
149064
149040
|
{
|
|
149065
149041
|
...props,
|
|
149066
149042
|
uuid: `${uuid}-ctrl`,
|
|
149043
|
+
title: `Scatterplot (${embeddingType}), ${(_b = ctrlSampleSetSelection == null ? void 0 : ctrlSampleSetSelection[0]) == null ? void 0 : _b.at(-1)}`,
|
|
149067
149044
|
sampleSetSelection: ctrlSampleSetSelection
|
|
149068
149045
|
}
|
|
149069
149046
|
) })
|