@vitessce/scatterplot-gating 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.
@@ -1054,7 +1054,7 @@ var reTrimStart = /^\s+/;
1054
1054
  function baseTrim(string) {
1055
1055
  return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
1056
1056
  }
1057
- function isObject$4(value) {
1057
+ function isObject$5(value) {
1058
1058
  var type2 = typeof value;
1059
1059
  return value != null && (type2 == "object" || type2 == "function");
1060
1060
  }
@@ -1070,9 +1070,9 @@ function toNumber$1(value) {
1070
1070
  if (isSymbol$1(value)) {
1071
1071
  return NAN$1;
1072
1072
  }
1073
- if (isObject$4(value)) {
1073
+ if (isObject$5(value)) {
1074
1074
  var other = typeof value.valueOf == "function" ? value.valueOf() : value;
1075
- value = isObject$4(other) ? other + "" : other;
1075
+ value = isObject$5(other) ? other + "" : other;
1076
1076
  }
1077
1077
  if (typeof value != "string") {
1078
1078
  return value === 0 ? value : +value;
@@ -1094,8 +1094,8 @@ function toFinite$1(value) {
1094
1094
  return value === value ? value : 0;
1095
1095
  }
1096
1096
  var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
1097
- function isFunction$3(value) {
1098
- if (!isObject$4(value)) {
1097
+ function isFunction$4(value) {
1098
+ if (!isObject$5(value)) {
1099
1099
  return false;
1100
1100
  }
1101
1101
  var tag = baseGetTag(value);
@@ -1134,10 +1134,10 @@ var reIsNative = RegExp(
1134
1134
  "^" + funcToString.call(hasOwnProperty$c).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1135
1135
  );
1136
1136
  function baseIsNative(value) {
1137
- if (!isObject$4(value) || isMasked(value)) {
1137
+ if (!isObject$5(value) || isMasked(value)) {
1138
1138
  return false;
1139
1139
  }
1140
- var pattern = isFunction$3(value) ? reIsNative : reIsHostCtor;
1140
+ var pattern = isFunction$4(value) ? reIsNative : reIsHostCtor;
1141
1141
  return pattern.test(toSource(value));
1142
1142
  }
1143
1143
  function getValue$1(object2, key) {
@@ -1154,7 +1154,7 @@ var baseCreate = function() {
1154
1154
  function object2() {
1155
1155
  }
1156
1156
  return function(proto) {
1157
- if (!isObject$4(proto)) {
1157
+ if (!isObject$5(proto)) {
1158
1158
  return {};
1159
1159
  }
1160
1160
  if (objectCreate) {
@@ -1246,10 +1246,10 @@ function isLength(value) {
1246
1246
  return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$2;
1247
1247
  }
1248
1248
  function isArrayLike(value) {
1249
- return value != null && isLength(value.length) && !isFunction$3(value);
1249
+ return value != null && isLength(value.length) && !isFunction$4(value);
1250
1250
  }
1251
1251
  function isIterateeCall(value, index2, object2) {
1252
- if (!isObject$4(object2)) {
1252
+ if (!isObject$5(object2)) {
1253
1253
  return false;
1254
1254
  }
1255
1255
  var type2 = typeof index2;
@@ -1375,7 +1375,7 @@ function nativeKeysIn(object2) {
1375
1375
  var objectProto$7 = Object.prototype;
1376
1376
  var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
1377
1377
  function baseKeysIn(object2) {
1378
- if (!isObject$4(object2)) {
1378
+ if (!isObject$5(object2)) {
1379
1379
  return nativeKeysIn(object2);
1380
1380
  }
1381
1381
  var isProto = isPrototype(object2), result = [];
@@ -1821,7 +1821,7 @@ function baseClone(value, bitmask, customizer, key, object2, stack2) {
1821
1821
  if (result !== void 0) {
1822
1822
  return result;
1823
1823
  }
1824
- if (!isObject$4(value)) {
1824
+ if (!isObject$5(value)) {
1825
1825
  return value;
1826
1826
  }
1827
1827
  var isArr = isArray$4(value);
@@ -2115,7 +2115,7 @@ function debounce$3(func, wait, options) {
2115
2115
  throw new TypeError(FUNC_ERROR_TEXT$1);
2116
2116
  }
2117
2117
  wait = toNumber$1(wait) || 0;
2118
- if (isObject$4(options)) {
2118
+ if (isObject$5(options)) {
2119
2119
  leading = !!options.leading;
2120
2120
  maxing = "maxWait" in options;
2121
2121
  maxWait = maxing ? nativeMax$2(toNumber$1(options.maxWait) || 0, wait) : maxWait;
@@ -3049,7 +3049,7 @@ function point(coordinates2, properties, options) {
3049
3049
  if (coordinates2.length < 2) {
3050
3050
  throw new Error("coordinates must be at least 2 numbers long");
3051
3051
  }
3052
- if (!isNumber(coordinates2[0]) || !isNumber(coordinates2[1])) {
3052
+ if (!isNumber$1(coordinates2[0]) || !isNumber$1(coordinates2[1])) {
3053
3053
  throw new Error("coordinates must contain numbers");
3054
3054
  }
3055
3055
  var geom = {
@@ -3250,10 +3250,10 @@ function convertArea(area2, originalUnit, finalUnit) {
3250
3250
  }
3251
3251
  return area2 / startFactor * finalFactor;
3252
3252
  }
3253
- function isNumber(num) {
3253
+ function isNumber$1(num) {
3254
3254
  return !isNaN(num) && num !== null && !Array.isArray(num);
3255
3255
  }
3256
- function isObject$3(input) {
3256
+ function isObject$4(input) {
3257
3257
  return !!input && input.constructor === Object;
3258
3258
  }
3259
3259
  function validateBBox(bbox2) {
@@ -3267,7 +3267,7 @@ function validateBBox(bbox2) {
3267
3267
  throw new Error("bbox must be an Array of 4 or 6 numbers");
3268
3268
  }
3269
3269
  bbox2.forEach(function(num) {
3270
- if (!isNumber(num)) {
3270
+ if (!isNumber$1(num)) {
3271
3271
  throw new Error("bbox must only contain numbers");
3272
3272
  }
3273
3273
  });
@@ -3293,8 +3293,8 @@ const es$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
3293
3293
  featureCollection: featureCollection$1,
3294
3294
  geometry: geometry$1,
3295
3295
  geometryCollection,
3296
- isNumber,
3297
- isObject: isObject$3,
3296
+ isNumber: isNumber$1,
3297
+ isObject: isObject$4,
3298
3298
  lengthToDegrees,
3299
3299
  lengthToRadians,
3300
3300
  lineString,
@@ -3736,7 +3736,7 @@ function lineReduce$1(geojson, callback, initialValue) {
3736
3736
  }
3737
3737
  function findSegment$1(geojson, options) {
3738
3738
  options = options || {};
3739
- if (!isObject$3(options))
3739
+ if (!isObject$4(options))
3740
3740
  throw new Error("options is invalid");
3741
3741
  var featureIndex = options.featureIndex || 0;
3742
3742
  var multiFeatureIndex = options.multiFeatureIndex || 0;
@@ -3828,7 +3828,7 @@ function findSegment$1(geojson, options) {
3828
3828
  }
3829
3829
  function findPoint$1(geojson, options) {
3830
3830
  options = options || {};
3831
- if (!isObject$3(options))
3831
+ if (!isObject$4(options))
3832
3832
  throw new Error("options is invalid");
3833
3833
  var featureIndex = options.featureIndex || 0;
3834
3834
  var multiFeatureIndex = options.multiFeatureIndex || 0;
@@ -9175,9 +9175,9 @@ var debug_1 = debug$2;
9175
9175
  const re2 = exports2.re = [];
9176
9176
  const src = exports2.src = [];
9177
9177
  const t2 = exports2.t = {};
9178
- let R2 = 0;
9178
+ let R = 0;
9179
9179
  const createToken = (name2, value, isGlobal) => {
9180
- const index2 = R2++;
9180
+ const index2 = R++;
9181
9181
  debug2(name2, index2, value);
9182
9182
  t2[name2] = index2;
9183
9183
  src[index2] = value;
@@ -11276,8 +11276,13 @@ const ViewType$1 = {
11276
11276
  FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
11277
11277
  DOT_PLOT: "dotPlot",
11278
11278
  FEATURE_BAR_PLOT: "featureBarPlot",
11279
+ VOLCANO_PLOT: "volcanoPlot",
11280
+ OBS_SET_COMPOSITION_BAR_PLOT: "obsSetCompositionBarPlot",
11281
+ FEATURE_SET_ENRICHMENT_BAR_PLOT: "featureSetEnrichmentBarPlot",
11279
11282
  BIOMARKER_SELECT: "biomarkerSelect",
11283
+ COMPARATIVE_HEADING: "comparativeHeading",
11280
11284
  LINK_CONTROLLER: "linkController",
11285
+ NEUROGLANCER: "neuroglancer",
11281
11286
  DUAL_SCATTERPLOT: "dualScatterplot",
11282
11287
  TREEMAP: "treemap"
11283
11288
  };
@@ -11295,7 +11300,11 @@ const DataType$2 = {
11295
11300
  OBS_POINTS: "obsPoints",
11296
11301
  OBS_LOCATIONS: "obsLocations",
11297
11302
  SAMPLE_SETS: "sampleSets",
11298
- SAMPLE_EDGES: "sampleEdges"
11303
+ SAMPLE_EDGES: "sampleEdges",
11304
+ COMPARISON_METADATA: "comparisonMetadata",
11305
+ FEATURE_STATS: "featureStats",
11306
+ FEATURE_SET_STATS: "featureSetStats",
11307
+ OBS_SET_STATS: "obsSetStats"
11299
11308
  };
11300
11309
  const FileType$1 = {
11301
11310
  // Joint file types
@@ -11334,6 +11343,10 @@ const FileType$1 = {
11334
11343
  FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
11335
11344
  SAMPLE_EDGES_ANNDATA_ZARR: "sampleEdges.anndata.zarr",
11336
11345
  SAMPLE_SETS_ANNDATA_ZARR: "sampleSets.anndata.zarr",
11346
+ COMPARISON_METADATA_ANNDATA_ZARR: "comparisonMetadata.anndata.zarr",
11347
+ COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR: "comparativeFeatureStats.anndata.zarr",
11348
+ COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR: "comparativeFeatureSetStats.anndata.zarr",
11349
+ COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR: "comparativeObsSetStats.anndata.zarr",
11337
11350
  // AnnData - zipped
11338
11351
  OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP: "obsFeatureMatrix.anndata.zarr.zip",
11339
11352
  OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP: "obsFeatureColumns.anndata.zarr.zip",
@@ -11347,6 +11360,10 @@ const FileType$1 = {
11347
11360
  FEATURE_LABELS_ANNDATA_ZARR_ZIP: "featureLabels.anndata.zarr.zip",
11348
11361
  SAMPLE_EDGES_ANNDATA_ZARR_ZIP: "sampleEdges.anndata.zarr.zip",
11349
11362
  SAMPLE_SETS_ANNDATA_ZARR_ZIP: "sampleSets.anndata.zarr.zip",
11363
+ COMPARISON_METADATA_ANNDATA_ZARR_ZIP: "comparisonMetadata.anndata.zarr.zip",
11364
+ COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureStats.anndata.zarr.zip",
11365
+ COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureSetStats.anndata.zarr.zip",
11366
+ COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeObsSetStats.anndata.zarr.zip",
11350
11367
  // AnnData - h5ad via reference spec
11351
11368
  OBS_FEATURE_MATRIX_ANNDATA_H5AD: "obsFeatureMatrix.anndata.h5ad",
11352
11369
  OBS_FEATURE_COLUMNS_ANNDATA_H5AD: "obsFeatureColumns.anndata.h5ad",
@@ -11360,6 +11377,10 @@ const FileType$1 = {
11360
11377
  FEATURE_LABELS_ANNDATA_H5AD: "featureLabels.anndata.h5ad",
11361
11378
  SAMPLE_EDGES_ANNDATA_H5AD: "sampleEdges.anndata.h5ad",
11362
11379
  SAMPLE_SETS_ANNDATA_H5AD: "sampleSets.anndata.h5ad",
11380
+ COMPARISON_METADATA_ANNDATA_H5AD: "comparisonMetadata.anndata.h5ad",
11381
+ COMPARATIVE_FEATURE_STATS_ANNDATA_H5AD: "comparativeFeatureStats.anndata.h5ad",
11382
+ COMPARATIVE_FEATURE_SET_STATS_ANNDATA_H5AD: "comparativeFeatureSetStats.anndata.h5ad",
11383
+ COMPARATIVE_OBS_SET_STATS_ANNDATA_H5AD: "comparativeObsSetStats.anndata.h5ad",
11363
11384
  // SpatialData
11364
11385
  IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
11365
11386
  LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
@@ -11558,6 +11579,11 @@ const CoordinationType$1 = {
11558
11579
  EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
11559
11580
  CONTOUR_COLOR_ENCODING: "contourColorEncoding",
11560
11581
  CONTOUR_COLOR: "contourColor",
11582
+ // For volcano plot:
11583
+ FEATURE_POINT_SIGNIFICANCE_THRESHOLD: "featurePointSignificanceThreshold",
11584
+ FEATURE_LABEL_SIGNIFICANCE_THRESHOLD: "featureLabelSignificanceThreshold",
11585
+ FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
11586
+ FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
11561
11587
  // Treemap
11562
11588
  HIERARCHY_LEVELS: "hierarchyLevels"
11563
11589
  };
@@ -11577,9 +11603,16 @@ const ViewHelpMapping = {
11577
11603
  FEATURE_VALUE_HISTOGRAM: "The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).",
11578
11604
  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).",
11579
11605
  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.",
11580
- TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering."
11606
+ NEUROGLANCER: "The Neuroglancer view displays 3d meshes using Neuroglancer developed by Google.",
11607
+ TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering.",
11608
+ VOLCANO_PLOT: "The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).",
11609
+ 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).",
11610
+ 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."
11581
11611
  };
11582
11612
  const COMPONENT_COORDINATION_TYPES = {
11613
+ [ViewType$1.NEUROGLANCER]: [
11614
+ CoordinationType$1.DATASET
11615
+ ],
11583
11616
  [ViewType$1.SCATTERPLOT]: [
11584
11617
  CoordinationType$1.DATASET,
11585
11618
  CoordinationType$1.OBS_TYPE,
@@ -12049,8 +12082,64 @@ const COMPONENT_COORDINATION_TYPES = {
12049
12082
  CoordinationType$1.OBS_COLOR_ENCODING,
12050
12083
  CoordinationType$1.ADDITIONAL_OBS_SETS
12051
12084
  ],
12085
+ [ViewType$1.VOLCANO_PLOT]: [
12086
+ CoordinationType$1.DATASET,
12087
+ CoordinationType$1.OBS_TYPE,
12088
+ CoordinationType$1.FEATURE_TYPE,
12089
+ CoordinationType$1.SAMPLE_TYPE,
12090
+ // For selection of case-control sets of samples:
12091
+ CoordinationType$1.SAMPLE_SET_SELECTION,
12092
+ // For selection of one-vs-others sets of observations:
12093
+ CoordinationType$1.OBS_SET_SELECTION,
12094
+ // TODO: CoordinationType.FEATURE_SET_SELECTION,
12095
+ // TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
12096
+ // TODO: CoordinationType.FEATURE_SET_COLOR,
12097
+ CoordinationType$1.FEATURE_HIGHLIGHT,
12098
+ CoordinationType$1.FEATURE_SELECTION,
12099
+ CoordinationType$1.FEATURE_VALUE_COLORMAP,
12100
+ CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
12101
+ // TODO: CoordinationType.FEATURE_COLOR_ENCODING,
12102
+ // TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
12103
+ CoordinationType$1.TOOLTIPS_VISIBLE,
12104
+ CoordinationType$1.ADDITIONAL_OBS_SETS,
12105
+ CoordinationType$1.OBS_SET_COLOR,
12106
+ CoordinationType$1.SAMPLE_SET_COLOR,
12107
+ CoordinationType$1.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
12108
+ CoordinationType$1.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
12109
+ CoordinationType$1.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
12110
+ CoordinationType$1.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
12111
+ ],
12112
+ [ViewType$1.OBS_SET_COMPOSITION_BAR_PLOT]: [
12113
+ CoordinationType$1.DATASET,
12114
+ CoordinationType$1.OBS_TYPE,
12115
+ CoordinationType$1.SAMPLE_TYPE,
12116
+ // For selection of case-control sets of samples:
12117
+ CoordinationType$1.SAMPLE_SET_SELECTION,
12118
+ // For selection of one-vs-others sets of observations:
12119
+ CoordinationType$1.OBS_SET_SELECTION,
12120
+ CoordinationType$1.ADDITIONAL_OBS_SETS,
12121
+ CoordinationType$1.OBS_SET_COLOR,
12122
+ CoordinationType$1.SAMPLE_SET_COLOR
12123
+ ],
12124
+ [ViewType$1.FEATURE_SET_ENRICHMENT_BAR_PLOT]: [
12125
+ CoordinationType$1.DATASET,
12126
+ CoordinationType$1.OBS_TYPE,
12127
+ CoordinationType$1.FEATURE_TYPE,
12128
+ CoordinationType$1.SAMPLE_TYPE,
12129
+ // For selection of case-control sets of samples:
12130
+ CoordinationType$1.SAMPLE_SET_SELECTION,
12131
+ // For selection of one-vs-others sets of observations:
12132
+ CoordinationType$1.OBS_SET_SELECTION,
12133
+ CoordinationType$1.ADDITIONAL_OBS_SETS,
12134
+ CoordinationType$1.OBS_SET_COLOR,
12135
+ CoordinationType$1.SAMPLE_SET_COLOR,
12136
+ CoordinationType$1.FEATURE_SELECTION
12137
+ ],
12052
12138
  [ViewType$1.LINK_CONTROLLER]: [],
12053
12139
  [ViewType$1.BIOMARKER_SELECT]: [
12140
+ CoordinationType$1.DATASET,
12141
+ CoordinationType$1.OBS_TYPE,
12142
+ CoordinationType$1.SAMPLE_TYPE,
12054
12143
  CoordinationType$1.FEATURE_SELECTION,
12055
12144
  CoordinationType$1.SAMPLE_SET_SELECTION,
12056
12145
  CoordinationType$1.SAMPLE_SET_FILTER,
@@ -12058,6 +12147,16 @@ const COMPONENT_COORDINATION_TYPES = {
12058
12147
  CoordinationType$1.OBS_SET_FILTER
12059
12148
  // TODO: create coordination types for internal state of the biomarker selection view?
12060
12149
  ],
12150
+ [ViewType$1.COMPARATIVE_HEADING]: [
12151
+ CoordinationType$1.DATASET,
12152
+ CoordinationType$1.OBS_TYPE,
12153
+ CoordinationType$1.SAMPLE_TYPE,
12154
+ CoordinationType$1.FEATURE_SELECTION,
12155
+ CoordinationType$1.SAMPLE_SET_SELECTION,
12156
+ CoordinationType$1.SAMPLE_SET_FILTER,
12157
+ CoordinationType$1.OBS_SET_SELECTION,
12158
+ CoordinationType$1.OBS_SET_FILTER
12159
+ ],
12061
12160
  [ViewType$1.TREEMAP]: [
12062
12161
  CoordinationType$1.DATASET,
12063
12162
  CoordinationType$1.OBS_TYPE,
@@ -12330,6 +12429,42 @@ const annDataConvenienceObsEmbeddingItem = z.object({
12330
12429
  dims: z.array(z.number()).optional(),
12331
12430
  embeddingType: z.string()
12332
12431
  });
12432
+ z.object({
12433
+ path: z.string().describe("Path to the comparison metadata, such as /uns/comparison_metadata")
12434
+ });
12435
+ z.object({
12436
+ // TODO: implement a featureStats.anndata.zarr loader
12437
+ // which does not depend on comparisonMetadata
12438
+ // (instead, would point directly to the root of
12439
+ // the dataframe containing a set of diff exp results)
12440
+ // path: z.string().describe('Path to the dataframe containing the results.'),
12441
+ metadataPath: z.string().describe("Path to the comparison metadata."),
12442
+ indexColumn: z.string().optional().describe("Provide a column to use for the feature index, if different than the default dataframe index."),
12443
+ pValueColumn: z.string(),
12444
+ foldChangeColumn: z.string(),
12445
+ pValueTransformation: z.enum(["minuslog10"]).optional(),
12446
+ pValueAdjusted: z.boolean().optional(),
12447
+ foldChangeTransformation: z.enum(["log2"]).optional()
12448
+ });
12449
+ z.object({
12450
+ metadataPath: z.string().describe("Path to the comparison metadata."),
12451
+ indexColumn: z.string().optional().describe("Provide a column to use for the feature set index, if different than the default dataframe index."),
12452
+ termColumn: z.string().optional(),
12453
+ pValueColumn: z.string(),
12454
+ pValueAdjusted: z.boolean().optional(),
12455
+ analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, pertpy_hypergeometric.")
12456
+ });
12457
+ z.object({
12458
+ metadataPath: z.string().describe("Path to the comparison metadata."),
12459
+ indexColumn: z.string().optional().describe("Provide a column to use for the obs set index, if different than the default dataframe index."),
12460
+ 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."),
12461
+ 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."),
12462
+ 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."),
12463
+ foldChangeTransformation: z.enum(["log2"]).optional(),
12464
+ isCredibleEffectColumn: z.string().describe("Column which annotates effects as being credible or not (boolean)."),
12465
+ covariateColumn: z.string().describe("Column which defines the covariate used in the analysis."),
12466
+ analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, sccoda_df.")
12467
+ });
12333
12468
  const annDataObsLabels = annDataObs;
12334
12469
  const annDataFeatureLabels = annDataObs;
12335
12470
  const annDataSampleEdges = annDataObs;
@@ -12649,14 +12784,14 @@ var tinycolor = { exports: {} };
12649
12784
  },
12650
12785
  getLuminance: function() {
12651
12786
  var rgb = this.toRgb();
12652
- var RsRGB, GsRGB, BsRGB, R2, G2, B2;
12787
+ var RsRGB, GsRGB, BsRGB, R, G2, B2;
12653
12788
  RsRGB = rgb.r / 255;
12654
12789
  GsRGB = rgb.g / 255;
12655
12790
  BsRGB = rgb.b / 255;
12656
12791
  if (RsRGB <= 0.03928) {
12657
- R2 = RsRGB / 12.92;
12792
+ R = RsRGB / 12.92;
12658
12793
  } else {
12659
- R2 = Math2.pow((RsRGB + 0.055) / 1.055, 2.4);
12794
+ R = Math2.pow((RsRGB + 0.055) / 1.055, 2.4);
12660
12795
  }
12661
12796
  if (GsRGB <= 0.03928) {
12662
12797
  G2 = GsRGB / 12.92;
@@ -12668,7 +12803,7 @@ var tinycolor = { exports: {} };
12668
12803
  } else {
12669
12804
  B2 = Math2.pow((BsRGB + 0.055) / 1.055, 2.4);
12670
12805
  }
12671
- return 0.2126 * R2 + 0.7152 * G2 + 0.0722 * B2;
12806
+ return 0.2126 * R + 0.7152 * G2 + 0.0722 * B2;
12672
12807
  },
12673
12808
  setAlpha: function(value) {
12674
12809
  this._a = boundAlpha(value);
@@ -13695,7 +13830,7 @@ var json2csv_umd = { exports: {} };
13695
13830
  }
13696
13831
  this._maxListeners = this._maxListeners || void 0;
13697
13832
  };
13698
- EventEmitter2.prototype.setMaxListeners = function setMaxListeners2(n2) {
13833
+ EventEmitter2.prototype.setMaxListeners = function setMaxListeners(n2) {
13699
13834
  if (typeof n2 !== "number" || n2 < 0 || isNaN(n2))
13700
13835
  throw new TypeError('"n" argument must be a positive number');
13701
13836
  this._maxListeners = n2;
@@ -13706,7 +13841,7 @@ var json2csv_umd = { exports: {} };
13706
13841
  return EventEmitter2.defaultMaxListeners;
13707
13842
  return that._maxListeners;
13708
13843
  }
13709
- EventEmitter2.prototype.getMaxListeners = function getMaxListeners2() {
13844
+ EventEmitter2.prototype.getMaxListeners = function getMaxListeners() {
13710
13845
  return $getMaxListeners(this);
13711
13846
  };
13712
13847
  function emitNone(handler, isFn, self2) {
@@ -13714,9 +13849,9 @@ var json2csv_umd = { exports: {} };
13714
13849
  handler.call(self2);
13715
13850
  else {
13716
13851
  var len2 = handler.length;
13717
- var listeners2 = arrayClone2(handler, len2);
13852
+ var listeners = arrayClone(handler, len2);
13718
13853
  for (var i2 = 0; i2 < len2; ++i2)
13719
- listeners2[i2].call(self2);
13854
+ listeners[i2].call(self2);
13720
13855
  }
13721
13856
  }
13722
13857
  function emitOne(handler, isFn, self2, arg1) {
@@ -13724,9 +13859,9 @@ var json2csv_umd = { exports: {} };
13724
13859
  handler.call(self2, arg1);
13725
13860
  else {
13726
13861
  var len2 = handler.length;
13727
- var listeners2 = arrayClone2(handler, len2);
13862
+ var listeners = arrayClone(handler, len2);
13728
13863
  for (var i2 = 0; i2 < len2; ++i2)
13729
- listeners2[i2].call(self2, arg1);
13864
+ listeners[i2].call(self2, arg1);
13730
13865
  }
13731
13866
  }
13732
13867
  function emitTwo(handler, isFn, self2, arg1, arg2) {
@@ -13734,9 +13869,9 @@ var json2csv_umd = { exports: {} };
13734
13869
  handler.call(self2, arg1, arg2);
13735
13870
  else {
13736
13871
  var len2 = handler.length;
13737
- var listeners2 = arrayClone2(handler, len2);
13872
+ var listeners = arrayClone(handler, len2);
13738
13873
  for (var i2 = 0; i2 < len2; ++i2)
13739
- listeners2[i2].call(self2, arg1, arg2);
13874
+ listeners[i2].call(self2, arg1, arg2);
13740
13875
  }
13741
13876
  }
13742
13877
  function emitThree(handler, isFn, self2, arg1, arg2, arg3) {
@@ -13744,9 +13879,9 @@ var json2csv_umd = { exports: {} };
13744
13879
  handler.call(self2, arg1, arg2, arg3);
13745
13880
  else {
13746
13881
  var len2 = handler.length;
13747
- var listeners2 = arrayClone2(handler, len2);
13882
+ var listeners = arrayClone(handler, len2);
13748
13883
  for (var i2 = 0; i2 < len2; ++i2)
13749
- listeners2[i2].call(self2, arg1, arg2, arg3);
13884
+ listeners[i2].call(self2, arg1, arg2, arg3);
13750
13885
  }
13751
13886
  }
13752
13887
  function emitMany(handler, isFn, self2, args) {
@@ -13754,12 +13889,12 @@ var json2csv_umd = { exports: {} };
13754
13889
  handler.apply(self2, args);
13755
13890
  else {
13756
13891
  var len2 = handler.length;
13757
- var listeners2 = arrayClone2(handler, len2);
13892
+ var listeners = arrayClone(handler, len2);
13758
13893
  for (var i2 = 0; i2 < len2; ++i2)
13759
- listeners2[i2].apply(self2, args);
13894
+ listeners[i2].apply(self2, args);
13760
13895
  }
13761
13896
  }
13762
- EventEmitter2.prototype.emit = function emit2(type3) {
13897
+ EventEmitter2.prototype.emit = function emit(type3) {
13763
13898
  var er, handler, len2, args, i2, events2, domain2;
13764
13899
  var doError = type3 === "error";
13765
13900
  events2 = this._events;
@@ -13812,7 +13947,7 @@ var json2csv_umd = { exports: {} };
13812
13947
  }
13813
13948
  return true;
13814
13949
  };
13815
- function _addListener2(target, type3, listener, prepend) {
13950
+ function _addListener(target, type3, listener, prepend) {
13816
13951
  var m2;
13817
13952
  var events2;
13818
13953
  var existing;
@@ -13864,14 +13999,14 @@ var json2csv_umd = { exports: {} };
13864
13999
  function emitWarning(e2) {
13865
14000
  typeof console.warn === "function" ? console.warn(e2) : console.log(e2);
13866
14001
  }
13867
- EventEmitter2.prototype.addListener = function addListener2(type3, listener) {
13868
- return _addListener2(this, type3, listener, false);
14002
+ EventEmitter2.prototype.addListener = function addListener(type3, listener) {
14003
+ return _addListener(this, type3, listener, false);
13869
14004
  };
13870
14005
  EventEmitter2.prototype.on = EventEmitter2.prototype.addListener;
13871
- EventEmitter2.prototype.prependListener = function prependListener3(type3, listener) {
13872
- return _addListener2(this, type3, listener, true);
14006
+ EventEmitter2.prototype.prependListener = function prependListener2(type3, listener) {
14007
+ return _addListener(this, type3, listener, true);
13873
14008
  };
13874
- function _onceWrap2(target, type3, listener) {
14009
+ function _onceWrap(target, type3, listener) {
13875
14010
  var fired = false;
13876
14011
  function g2() {
13877
14012
  target.removeListener(type3, g2);
@@ -13883,19 +14018,19 @@ var json2csv_umd = { exports: {} };
13883
14018
  g2.listener = listener;
13884
14019
  return g2;
13885
14020
  }
13886
- EventEmitter2.prototype.once = function once3(type3, listener) {
14021
+ EventEmitter2.prototype.once = function once(type3, listener) {
13887
14022
  if (typeof listener !== "function")
13888
14023
  throw new TypeError('"listener" argument must be a function');
13889
- this.on(type3, _onceWrap2(this, type3, listener));
14024
+ this.on(type3, _onceWrap(this, type3, listener));
13890
14025
  return this;
13891
14026
  };
13892
- EventEmitter2.prototype.prependOnceListener = function prependOnceListener2(type3, listener) {
14027
+ EventEmitter2.prototype.prependOnceListener = function prependOnceListener(type3, listener) {
13893
14028
  if (typeof listener !== "function")
13894
14029
  throw new TypeError('"listener" argument must be a function');
13895
- this.prependListener(type3, _onceWrap2(this, type3, listener));
14030
+ this.prependListener(type3, _onceWrap(this, type3, listener));
13896
14031
  return this;
13897
14032
  };
13898
- EventEmitter2.prototype.removeListener = function removeListener2(type3, listener) {
14033
+ EventEmitter2.prototype.removeListener = function removeListener(type3, listener) {
13899
14034
  var list, events2, position, i2, originalListener;
13900
14035
  if (typeof listener !== "function")
13901
14036
  throw new TypeError('"listener" argument must be a function');
@@ -13933,15 +14068,15 @@ var json2csv_umd = { exports: {} };
13933
14068
  delete events2[type3];
13934
14069
  }
13935
14070
  } else {
13936
- spliceOne2(list, position);
14071
+ spliceOne(list, position);
13937
14072
  }
13938
14073
  if (events2.removeListener)
13939
14074
  this.emit("removeListener", type3, originalListener || listener);
13940
14075
  }
13941
14076
  return this;
13942
14077
  };
13943
- EventEmitter2.prototype.removeAllListeners = function removeAllListeners2(type3) {
13944
- var listeners2, events2;
14078
+ EventEmitter2.prototype.removeAllListeners = function removeAllListeners(type3) {
14079
+ var listeners, events2;
13945
14080
  events2 = this._events;
13946
14081
  if (!events2)
13947
14082
  return this;
@@ -13970,17 +14105,17 @@ var json2csv_umd = { exports: {} };
13970
14105
  this._eventsCount = 0;
13971
14106
  return this;
13972
14107
  }
13973
- listeners2 = events2[type3];
13974
- if (typeof listeners2 === "function") {
13975
- this.removeListener(type3, listeners2);
13976
- } else if (listeners2) {
14108
+ listeners = events2[type3];
14109
+ if (typeof listeners === "function") {
14110
+ this.removeListener(type3, listeners);
14111
+ } else if (listeners) {
13977
14112
  do {
13978
- this.removeListener(type3, listeners2[listeners2.length - 1]);
13979
- } while (listeners2[0]);
14113
+ this.removeListener(type3, listeners[listeners.length - 1]);
14114
+ } while (listeners[0]);
13980
14115
  }
13981
14116
  return this;
13982
14117
  };
13983
- EventEmitter2.prototype.listeners = function listeners2(type3) {
14118
+ EventEmitter2.prototype.listeners = function listeners(type3) {
13984
14119
  var evlistener;
13985
14120
  var ret;
13986
14121
  var events2 = this._events;
@@ -13993,7 +14128,7 @@ var json2csv_umd = { exports: {} };
13993
14128
  else if (typeof evlistener === "function")
13994
14129
  ret = [evlistener.listener || evlistener];
13995
14130
  else
13996
- ret = unwrapListeners2(evlistener);
14131
+ ret = unwrapListeners(evlistener);
13997
14132
  }
13998
14133
  return ret;
13999
14134
  };
@@ -14001,11 +14136,11 @@ var json2csv_umd = { exports: {} };
14001
14136
  if (typeof emitter.listenerCount === "function") {
14002
14137
  return emitter.listenerCount(type3);
14003
14138
  } else {
14004
- return listenerCount2.call(emitter, type3);
14139
+ return listenerCount.call(emitter, type3);
14005
14140
  }
14006
14141
  };
14007
- EventEmitter2.prototype.listenerCount = listenerCount2;
14008
- function listenerCount2(type3) {
14142
+ EventEmitter2.prototype.listenerCount = listenerCount;
14143
+ function listenerCount(type3) {
14009
14144
  var events2 = this._events;
14010
14145
  if (events2) {
14011
14146
  var evlistener = events2[type3];
@@ -14017,21 +14152,21 @@ var json2csv_umd = { exports: {} };
14017
14152
  }
14018
14153
  return 0;
14019
14154
  }
14020
- EventEmitter2.prototype.eventNames = function eventNames2() {
14155
+ EventEmitter2.prototype.eventNames = function eventNames() {
14021
14156
  return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];
14022
14157
  };
14023
- function spliceOne2(list, index2) {
14158
+ function spliceOne(list, index2) {
14024
14159
  for (var i2 = index2, k = i2 + 1, n2 = list.length; k < n2; i2 += 1, k += 1)
14025
14160
  list[i2] = list[k];
14026
14161
  list.pop();
14027
14162
  }
14028
- function arrayClone2(arr, i2) {
14163
+ function arrayClone(arr, i2) {
14029
14164
  var copy2 = new Array(i2);
14030
14165
  while (i2--)
14031
14166
  copy2[i2] = arr[i2];
14032
14167
  return copy2;
14033
14168
  }
14034
- function unwrapListeners2(arr) {
14169
+ function unwrapListeners(arr) {
14035
14170
  var ret = new Array(arr.length);
14036
14171
  for (var i2 = 0; i2 < ret.length; ++i2) {
14037
14172
  ret[i2] = arr[i2].listener || arr[i2];
@@ -15823,7 +15958,7 @@ var json2csv_umd = { exports: {} };
15823
15958
  return str;
15824
15959
  }
15825
15960
  function deprecate(fn, msg) {
15826
- if (isUndefined(global$1.process)) {
15961
+ if (isUndefined2(global$1.process)) {
15827
15962
  return function() {
15828
15963
  return deprecate(fn, msg).apply(this, arguments);
15829
15964
  };
@@ -15843,7 +15978,7 @@ var json2csv_umd = { exports: {} };
15843
15978
  var debugs = {};
15844
15979
  var debugEnviron;
15845
15980
  function debuglog(set3) {
15846
- if (isUndefined(debugEnviron))
15981
+ if (isUndefined2(debugEnviron))
15847
15982
  debugEnviron = "";
15848
15983
  set3 = set3.toUpperCase();
15849
15984
  if (!debugs[set3]) {
@@ -15874,13 +16009,13 @@ var json2csv_umd = { exports: {} };
15874
16009
  } else if (opts2) {
15875
16010
  _extend(ctx, opts2);
15876
16011
  }
15877
- if (isUndefined(ctx.showHidden))
16012
+ if (isUndefined2(ctx.showHidden))
15878
16013
  ctx.showHidden = false;
15879
- if (isUndefined(ctx.depth))
16014
+ if (isUndefined2(ctx.depth))
15880
16015
  ctx.depth = 2;
15881
- if (isUndefined(ctx.colors))
16016
+ if (isUndefined2(ctx.colors))
15882
16017
  ctx.colors = false;
15883
- if (isUndefined(ctx.customInspect))
16018
+ if (isUndefined2(ctx.customInspect))
15884
16019
  ctx.customInspect = true;
15885
16020
  if (ctx.colors)
15886
16021
  ctx.stylize = stylizeWithColor;
@@ -16008,7 +16143,7 @@ var json2csv_umd = { exports: {} };
16008
16143
  return reduceToSingleString(output, base, braces);
16009
16144
  }
16010
16145
  function formatPrimitive(ctx, value) {
16011
- if (isUndefined(value))
16146
+ if (isUndefined2(value))
16012
16147
  return ctx.stylize("undefined", "undefined");
16013
16148
  if (isString(value)) {
16014
16149
  var simple = "'" + JSON.stringify(value).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
@@ -16093,7 +16228,7 @@ var json2csv_umd = { exports: {} };
16093
16228
  str = ctx.stylize("[Circular]", "special");
16094
16229
  }
16095
16230
  }
16096
- if (isUndefined(name2)) {
16231
+ if (isUndefined2(name2)) {
16097
16232
  if (array && key.match(/^\d+$/)) {
16098
16233
  return str;
16099
16234
  }
@@ -16134,7 +16269,7 @@ var json2csv_umd = { exports: {} };
16134
16269
  function isString(arg) {
16135
16270
  return typeof arg === "string";
16136
16271
  }
16137
- function isUndefined(arg) {
16272
+ function isUndefined2(arg) {
16138
16273
  return arg === void 0;
16139
16274
  }
16140
16275
  function isRegExp(re2) {
@@ -16363,7 +16498,7 @@ var json2csv_umd = { exports: {} };
16363
16498
  Readable.ReadableState = ReadableState;
16364
16499
  var debug2 = debuglog("stream");
16365
16500
  inherits$1(Readable, EventEmitter2);
16366
- function prependListener2(emitter, event, fn) {
16501
+ function prependListener(emitter, event, fn) {
16367
16502
  if (typeof emitter.prependListener === "function") {
16368
16503
  return emitter.prependListener(event, fn);
16369
16504
  } else {
@@ -16717,7 +16852,7 @@ var json2csv_umd = { exports: {} };
16717
16852
  if (listenerCount$1(dest, "error") === 0)
16718
16853
  dest.emit("error", er);
16719
16854
  }
16720
- prependListener2(dest, "error", onerror);
16855
+ prependListener(dest, "error", onerror);
16721
16856
  function onclose() {
16722
16857
  dest.removeListener("finish", onfinish);
16723
16858
  unpipe();
@@ -20946,16 +21081,16 @@ function dirname(url) {
20946
21081
  return slashIndex >= 0 ? url.substr(0, slashIndex) : "";
20947
21082
  }
20948
21083
  const isBoolean = (x2) => typeof x2 === "boolean";
20949
- const isFunction$2 = (x2) => typeof x2 === "function";
20950
- const isObject$2 = (x2) => x2 !== null && typeof x2 === "object";
20951
- const isPureObject = (x2) => isObject$2(x2) && x2.constructor === {}.constructor;
21084
+ const isFunction$3 = (x2) => typeof x2 === "function";
21085
+ const isObject$3 = (x2) => x2 !== null && typeof x2 === "object";
21086
+ const isPureObject = (x2) => isObject$3(x2) && x2.constructor === {}.constructor;
20952
21087
  const isIterable = (x2) => x2 && typeof x2[Symbol.iterator] === "function";
20953
21088
  const isAsyncIterable$1 = (x2) => x2 && typeof x2[Symbol.asyncIterator] === "function";
20954
21089
  const isResponse = (x2) => typeof Response !== "undefined" && x2 instanceof Response || x2 && x2.arrayBuffer && x2.text && x2.json;
20955
21090
  const isBlob = (x2) => typeof Blob !== "undefined" && x2 instanceof Blob;
20956
21091
  const isBuffer$1 = (x2) => x2 && typeof x2 === "object" && x2.isBuffer;
20957
- const isReadableDOMStream = (x2) => typeof ReadableStream !== "undefined" && x2 instanceof ReadableStream || isObject$2(x2) && isFunction$2(x2.tee) && isFunction$2(x2.cancel) && isFunction$2(x2.getReader);
20958
- const isReadableNodeStream = (x2) => isObject$2(x2) && isFunction$2(x2.read) && isFunction$2(x2.pipe) && isBoolean(x2.readable);
21092
+ const isReadableDOMStream = (x2) => typeof ReadableStream !== "undefined" && x2 instanceof ReadableStream || isObject$3(x2) && isFunction$3(x2.tee) && isFunction$3(x2.cancel) && isFunction$3(x2.getReader);
21093
+ const isReadableNodeStream = (x2) => isObject$3(x2) && isFunction$3(x2.read) && isFunction$3(x2.pipe) && isBoolean(x2.readable);
20959
21094
  const isReadableStream = (x2) => isReadableDOMStream(x2) || isReadableNodeStream(x2);
20960
21095
  const DATA_URL_PATTERN = /^data:([-\w.]+\/[-\w.+]+)(;|,)/;
20961
21096
  const MIME_TYPE_PATTERN = /^([-\w.]+\/[-\w.+]+)/;
@@ -21755,7 +21890,7 @@ function getFetchFunction(options, context) {
21755
21890
  if (typeof fetchOptions.fetch === "function") {
21756
21891
  return fetchOptions.fetch;
21757
21892
  }
21758
- if (isObject$2(fetchOptions.fetch)) {
21893
+ if (isObject$3(fetchOptions.fetch)) {
21759
21894
  return (url) => fetchFile(url, fetchOptions);
21760
21895
  }
21761
21896
  if (context !== null && context !== void 0 && context.fetch) {
@@ -21776,7 +21911,7 @@ function validateOptionsObject(options, id, defaultOptions2, deprecatedOptions,
21776
21911
  const loaderName = id || "Top level";
21777
21912
  const prefix2 = id ? "".concat(id, ".") : "";
21778
21913
  for (const key in options) {
21779
- const isSubOptions = !id && isObject$2(options[key]);
21914
+ const isSubOptions = !id && isObject$3(options[key]);
21780
21915
  const isBaseUriOption = key === "baseUri" && !id;
21781
21916
  const isWorkerUrlOption = key === "workerUrl" && id;
21782
21917
  if (!(key in defaultOptions2) && !isBaseUriOption && !isWorkerUrlOption) {
@@ -40744,9 +40879,9 @@ class Controller {
40744
40879
  updateTransition() {
40745
40880
  this.transitionManager.updateTransition();
40746
40881
  }
40747
- toggleEvents(eventNames2, enabled) {
40882
+ toggleEvents(eventNames, enabled) {
40748
40883
  if (this.eventManager) {
40749
- eventNames2.forEach((eventName) => {
40884
+ eventNames.forEach((eventName) => {
40750
40885
  if (this._events[eventName] !== enabled) {
40751
40886
  this._events[eventName] = enabled;
40752
40887
  if (enabled) {
@@ -44197,18 +44332,18 @@ var hammer$1 = { exports: {} };
44197
44332
  emit: function(input) {
44198
44333
  var self2 = this;
44199
44334
  var state = this.state;
44200
- function emit2(event) {
44335
+ function emit(event) {
44201
44336
  self2.manager.emit(event, input);
44202
44337
  }
44203
44338
  if (state < STATE_ENDED) {
44204
- emit2(self2.options.event + stateStr(state));
44339
+ emit(self2.options.event + stateStr(state));
44205
44340
  }
44206
- emit2(self2.options.event);
44341
+ emit(self2.options.event);
44207
44342
  if (input.additionalEvent) {
44208
- emit2(input.additionalEvent);
44343
+ emit(input.additionalEvent);
44209
44344
  }
44210
44345
  if (state >= STATE_ENDED) {
44211
- emit2(self2.options.event + stateStr(state));
44346
+ emit(self2.options.event + stateStr(state));
44212
44347
  }
44213
44348
  },
44214
44349
  /**
@@ -45568,7 +45703,7 @@ class EventRegistrar {
45568
45703
  isEmpty() {
45569
45704
  return !this._active;
45570
45705
  }
45571
- add(type2, handler, options, once3 = false, passive = false) {
45706
+ add(type2, handler, options, once = false, passive = false) {
45572
45707
  const { handlers, handlersByElement } = this;
45573
45708
  let opts2 = DEFAULT_OPTIONS$2;
45574
45709
  if (typeof options === "string" || options && options.addEventListener) {
@@ -45587,7 +45722,7 @@ class EventRegistrar {
45587
45722
  srcElement: opts2.srcElement,
45588
45723
  priority: opts2.priority
45589
45724
  };
45590
- if (once3) {
45725
+ if (once) {
45591
45726
  entry.once = true;
45592
45727
  }
45593
45728
  if (passive) {
@@ -45635,7 +45770,7 @@ class EventRegistrar {
45635
45770
  };
45636
45771
  const entriesToRemove = [];
45637
45772
  for (let i2 = 0; i2 < entries.length; i2++) {
45638
- const { type: type2, handler, once: once3 } = entries[i2];
45773
+ const { type: type2, handler, once } = entries[i2];
45639
45774
  handler({
45640
45775
  ...event,
45641
45776
  // @ts-ignore
@@ -45643,7 +45778,7 @@ class EventRegistrar {
45643
45778
  stopPropagation,
45644
45779
  stopImmediatePropagation
45645
45780
  });
45646
- if (once3) {
45781
+ if (once) {
45647
45782
  entriesToRemove.push(entries[i2]);
45648
45783
  }
45649
45784
  if (immediatePropagationStopped) {
@@ -45824,11 +45959,11 @@ class EventManager {
45824
45959
  /**
45825
45960
  * Process the event registration for a single event + handler.
45826
45961
  */
45827
- _addEventHandler(event, handler, opts2, once3, passive) {
45962
+ _addEventHandler(event, handler, opts2, once, passive) {
45828
45963
  if (typeof event !== "string") {
45829
45964
  opts2 = handler;
45830
45965
  for (const eventName in event) {
45831
- this._addEventHandler(eventName, event[eventName], opts2, once3, passive);
45966
+ this._addEventHandler(eventName, event[eventName], opts2, once, passive);
45832
45967
  }
45833
45968
  return;
45834
45969
  }
@@ -45843,7 +45978,7 @@ class EventManager {
45843
45978
  manager.on(eventAlias, eventRegistrar.handleEvent);
45844
45979
  }
45845
45980
  }
45846
- eventRegistrar.add(event, handler, opts2, once3, passive);
45981
+ eventRegistrar.add(event, handler, opts2, once, passive);
45847
45982
  if (!eventRegistrar.isEmpty()) {
45848
45983
  this._toggleRecognizer(eventRegistrar.recognizerName, true);
45849
45984
  }
@@ -48564,7 +48699,7 @@ function getPropTypes(props) {
48564
48699
  const ERR_NOT_OBJECT = "count(): argument not an object";
48565
48700
  const ERR_NOT_CONTAINER = "count(): argument not a container";
48566
48701
  function count(container) {
48567
- if (!isObject$1(container)) {
48702
+ if (!isObject$2(container)) {
48568
48703
  throw new Error(ERR_NOT_OBJECT);
48569
48704
  }
48570
48705
  if (typeof container.count === "function") {
@@ -48584,7 +48719,7 @@ function count(container) {
48584
48719
  function isPlainObject$1(value) {
48585
48720
  return value !== null && typeof value === "object" && value.constructor === Object;
48586
48721
  }
48587
- function isObject$1(value) {
48722
+ function isObject$2(value) {
48588
48723
  return value !== null && typeof value === "object";
48589
48724
  }
48590
48725
  function mergeShaders(target, source) {
@@ -87773,7 +87908,7 @@ function getCoords$1(coords) {
87773
87908
  throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array");
87774
87909
  }
87775
87910
  function containsNumber$1(coordinates2) {
87776
- if (coordinates2.length > 1 && isNumber(coordinates2[0]) && isNumber(coordinates2[1])) {
87911
+ if (coordinates2.length > 1 && isNumber$1(coordinates2[0]) && isNumber$1(coordinates2[1])) {
87777
87912
  return true;
87778
87913
  }
87779
87914
  if (Array.isArray(coordinates2[0]) && coordinates2[0].length) {
@@ -90596,7 +90731,7 @@ var hasSymbols2 = typeof Symbol === "function" && typeof Symbol("foo") === "symb
90596
90731
  var toStr$1 = Object.prototype.toString;
90597
90732
  var concat = Array.prototype.concat;
90598
90733
  var defineDataProperty2 = defineDataProperty$1;
90599
- var isFunction$1 = function(fn) {
90734
+ var isFunction$2 = function(fn) {
90600
90735
  return typeof fn === "function" && toStr$1.call(fn) === "[object Function]";
90601
90736
  };
90602
90737
  var supportsDescriptors$2 = hasPropertyDescriptors_1();
@@ -90606,7 +90741,7 @@ var defineProperty$3 = function(object2, name2, value, predicate) {
90606
90741
  if (object2[name2] === value) {
90607
90742
  return;
90608
90743
  }
90609
- } else if (!isFunction$1(predicate) || !predicate()) {
90744
+ } else if (!isFunction$2(predicate) || !predicate()) {
90610
90745
  return;
90611
90746
  }
90612
90747
  }
@@ -90990,7 +91125,7 @@ function lineOverlap(line1, line2, options) {
90990
91125
  options = {};
90991
91126
  }
90992
91127
  options = options || {};
90993
- if (!isObject$3(options))
91128
+ if (!isObject$4(options))
90994
91129
  throw new Error("options is invalid");
90995
91130
  var tolerance = options.tolerance || 0;
90996
91131
  var features = [];
@@ -91550,19 +91685,19 @@ var jsts_min = { exports: {} };
91550
91685
  }, Object.defineProperties(w2, O);
91551
91686
  var T = function(t3, e3) {
91552
91687
  return t3.interfaces_ && t3.interfaces_().indexOf(e3) > -1;
91553
- }, R2 = function() {
91688
+ }, R = function() {
91554
91689
  }, P = { LOG_10: { configurable: true } };
91555
- R2.prototype.interfaces_ = function() {
91690
+ R.prototype.interfaces_ = function() {
91556
91691
  return [];
91557
- }, R2.prototype.getClass = function() {
91558
- return R2;
91559
- }, R2.log10 = function(t3) {
91692
+ }, R.prototype.getClass = function() {
91693
+ return R;
91694
+ }, R.log10 = function(t3) {
91560
91695
  var e3 = Math.log(t3);
91561
- return v.isInfinite(e3) ? e3 : v.isNaN(e3) ? e3 : e3 / R2.LOG_10;
91562
- }, R2.min = function(t3, e3, n3, i3) {
91696
+ return v.isInfinite(e3) ? e3 : v.isNaN(e3) ? e3 : e3 / R.LOG_10;
91697
+ }, R.min = function(t3, e3, n3, i3) {
91563
91698
  var r3 = t3;
91564
91699
  return e3 < r3 && (r3 = e3), n3 < r3 && (r3 = n3), i3 < r3 && (r3 = i3), r3;
91565
- }, R2.clamp = function() {
91700
+ }, R.clamp = function() {
91566
91701
  if ("number" == typeof arguments[2] && "number" == typeof arguments[0] && "number" == typeof arguments[1]) {
91567
91702
  var t3 = arguments[0], e3 = arguments[1], n3 = arguments[2];
91568
91703
  return t3 < e3 ? e3 : t3 > n3 ? n3 : t3;
@@ -91571,9 +91706,9 @@ var jsts_min = { exports: {} };
91571
91706
  var i3 = arguments[0], r3 = arguments[1], o3 = arguments[2];
91572
91707
  return i3 < r3 ? r3 : i3 > o3 ? o3 : i3;
91573
91708
  }
91574
- }, R2.wrap = function(t3, e3) {
91709
+ }, R.wrap = function(t3, e3) {
91575
91710
  return t3 < 0 ? e3 - -t3 % e3 : t3 % e3;
91576
- }, R2.max = function() {
91711
+ }, R.max = function() {
91577
91712
  if (3 === arguments.length) {
91578
91713
  var t3 = arguments[0], e3 = arguments[1], n3 = arguments[2], i3 = t3;
91579
91714
  return e3 > i3 && (i3 = e3), n3 > i3 && (i3 = n3), i3;
@@ -91582,11 +91717,11 @@ var jsts_min = { exports: {} };
91582
91717
  var r3 = arguments[0], o3 = arguments[1], s3 = arguments[2], a3 = arguments[3], u2 = r3;
91583
91718
  return o3 > u2 && (u2 = o3), s3 > u2 && (u2 = s3), a3 > u2 && (u2 = a3), u2;
91584
91719
  }
91585
- }, R2.average = function(t3, e3) {
91720
+ }, R.average = function(t3, e3) {
91586
91721
  return (t3 + e3) / 2;
91587
91722
  }, P.LOG_10.get = function() {
91588
91723
  return Math.log(10);
91589
- }, Object.defineProperties(R2, P);
91724
+ }, Object.defineProperties(R, P);
91590
91725
  var D2 = function(t3) {
91591
91726
  this.str = t3;
91592
91727
  };
@@ -92741,7 +92876,7 @@ var jsts_min = { exports: {} };
92741
92876
  }
92742
92877
  } else
92743
92878
  r3 = true;
92744
- return r3 ? R2.min(at2.distancePointLine(t3, n3, i3), at2.distancePointLine(e3, n3, i3), at2.distancePointLine(n3, t3, e3), at2.distancePointLine(i3, t3, e3)) : 0;
92879
+ return r3 ? R.min(at2.distancePointLine(t3, n3, i3), at2.distancePointLine(e3, n3, i3), at2.distancePointLine(n3, t3, e3), at2.distancePointLine(i3, t3, e3)) : 0;
92745
92880
  }, at2.isPointInRing = function(t3, e3) {
92746
92881
  return at2.locatePointInRing(t3, e3) !== w2.EXTERIOR;
92747
92882
  }, at2.computeLength = function(t3) {
@@ -93331,8 +93466,8 @@ var jsts_min = { exports: {} };
93331
93466
  (null === e3 || e3.compareTo(t3[n3]) > 0) && (e3 = t3[n3]);
93332
93467
  return e3;
93333
93468
  }, Lt.extract = function(t3, e3, n3) {
93334
- e3 = R2.clamp(e3, 0, t3.length);
93335
- var i3 = (n3 = R2.clamp(n3, -1, t3.length)) - e3 + 1;
93469
+ e3 = R.clamp(e3, 0, t3.length);
93470
+ var i3 = (n3 = R.clamp(n3, -1, t3.length)) - e3 + 1;
93336
93471
  n3 < 0 && (i3 = 0), e3 >= t3.length && (i3 = 0), n3 < e3 && (i3 = 0);
93337
93472
  var r3 = new Array(i3).fill(null);
93338
93473
  if (0 === i3)
@@ -99077,7 +99212,7 @@ var jsts_min = { exports: {} };
99077
99212
  return f3.getResultGeometry(c3);
99078
99213
  }
99079
99214
  }, di.precisionScaleFactor = function(t3, e3, n3) {
99080
- var i3 = t3.getEnvelopeInternal(), r3 = R2.max(Math.abs(i3.getMaxX()), Math.abs(i3.getMaxY()), Math.abs(i3.getMinX()), Math.abs(i3.getMinY())) + 2 * (e3 > 0 ? e3 : 0), o3 = n3 - Math.trunc(Math.log(r3) / Math.log(10) + 1);
99215
+ var i3 = t3.getEnvelopeInternal(), r3 = R.max(Math.abs(i3.getMaxX()), Math.abs(i3.getMaxY()), Math.abs(i3.getMinX()), Math.abs(i3.getMinY())) + 2 * (e3 > 0 ? e3 : 0), o3 = n3 - Math.trunc(Math.log(r3) / Math.log(10) + 1);
99081
99216
  return Math.pow(10, o3);
99082
99217
  }, yi.CAP_ROUND.get = function() {
99083
99218
  return Cn.CAP_ROUND;
@@ -106468,372 +106603,216 @@ var layerMouseEvent = {};
106468
106603
  exports2["default"] = LayerMouseEvent;
106469
106604
  })(layerMouseEvent);
106470
106605
  var nebulaLayer = {};
106471
- var events = { exports: {} };
106472
- var R = typeof Reflect === "object" ? Reflect : null;
106473
- var ReflectApply = R && typeof R.apply === "function" ? R.apply : function ReflectApply2(target, receiver, args) {
106474
- return Function.prototype.apply.call(target, receiver, args);
106475
- };
106476
- var ReflectOwnKeys;
106477
- if (R && typeof R.ownKeys === "function") {
106478
- ReflectOwnKeys = R.ownKeys;
106479
- } else if (Object.getOwnPropertySymbols) {
106480
- ReflectOwnKeys = function ReflectOwnKeys2(target) {
106481
- return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));
106482
- };
106483
- } else {
106484
- ReflectOwnKeys = function ReflectOwnKeys2(target) {
106485
- return Object.getOwnPropertyNames(target);
106486
- };
106487
- }
106488
- function ProcessEmitWarning(warning2) {
106489
- if (console && console.warn)
106490
- console.warn(warning2);
106491
- }
106492
- var NumberIsNaN = Number.isNaN || function NumberIsNaN2(value) {
106493
- return value !== value;
106494
- };
106495
106606
  function EventEmitter() {
106496
- EventEmitter.init.call(this);
106607
+ this._events = this._events || {};
106608
+ this._maxListeners = this._maxListeners || void 0;
106497
106609
  }
106498
- events.exports = EventEmitter;
106499
- events.exports.once = once2;
106610
+ var events = EventEmitter;
106500
106611
  EventEmitter.EventEmitter = EventEmitter;
106501
106612
  EventEmitter.prototype._events = void 0;
106502
- EventEmitter.prototype._eventsCount = 0;
106503
106613
  EventEmitter.prototype._maxListeners = void 0;
106504
- var defaultMaxListeners = 10;
106505
- function checkListener(listener) {
106506
- if (typeof listener !== "function") {
106507
- throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener);
106508
- }
106509
- }
106510
- Object.defineProperty(EventEmitter, "defaultMaxListeners", {
106511
- enumerable: true,
106512
- get: function() {
106513
- return defaultMaxListeners;
106514
- },
106515
- set: function(arg) {
106516
- if (typeof arg !== "number" || arg < 0 || NumberIsNaN(arg)) {
106517
- throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + ".");
106518
- }
106519
- defaultMaxListeners = arg;
106520
- }
106521
- });
106522
- EventEmitter.init = function() {
106523
- if (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) {
106524
- this._events = /* @__PURE__ */ Object.create(null);
106525
- this._eventsCount = 0;
106526
- }
106527
- this._maxListeners = this._maxListeners || void 0;
106528
- };
106529
- EventEmitter.prototype.setMaxListeners = function setMaxListeners(n2) {
106530
- if (typeof n2 !== "number" || n2 < 0 || NumberIsNaN(n2)) {
106531
- throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n2 + ".");
106532
- }
106614
+ EventEmitter.defaultMaxListeners = 10;
106615
+ EventEmitter.prototype.setMaxListeners = function(n2) {
106616
+ if (!isNumber(n2) || n2 < 0 || isNaN(n2))
106617
+ throw TypeError("n must be a positive number");
106533
106618
  this._maxListeners = n2;
106534
106619
  return this;
106535
106620
  };
106536
- function _getMaxListeners(that) {
106537
- if (that._maxListeners === void 0)
106538
- return EventEmitter.defaultMaxListeners;
106539
- return that._maxListeners;
106540
- }
106541
- EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
106542
- return _getMaxListeners(this);
106543
- };
106544
- EventEmitter.prototype.emit = function emit(type2) {
106545
- var args = [];
106546
- for (var i2 = 1; i2 < arguments.length; i2++)
106547
- args.push(arguments[i2]);
106548
- var doError = type2 === "error";
106549
- var events2 = this._events;
106550
- if (events2 !== void 0)
106551
- doError = doError && events2.error === void 0;
106552
- else if (!doError)
106553
- return false;
106554
- if (doError) {
106555
- var er;
106556
- if (args.length > 0)
106557
- er = args[0];
106558
- if (er instanceof Error) {
106559
- throw er;
106560
- }
106561
- var err2 = new Error("Unhandled error." + (er ? " (" + er.message + ")" : ""));
106562
- err2.context = er;
106563
- throw err2;
106564
- }
106565
- var handler = events2[type2];
106566
- if (handler === void 0)
106621
+ EventEmitter.prototype.emit = function(type2) {
106622
+ var er, handler, len2, args, i2, listeners;
106623
+ if (!this._events)
106624
+ this._events = {};
106625
+ if (type2 === "error") {
106626
+ if (!this._events.error || isObject$1(this._events.error) && !this._events.error.length) {
106627
+ er = arguments[1];
106628
+ if (er instanceof Error) {
106629
+ throw er;
106630
+ } else {
106631
+ var err2 = new Error('Uncaught, unspecified "error" event. (' + er + ")");
106632
+ err2.context = er;
106633
+ throw err2;
106634
+ }
106635
+ }
106636
+ }
106637
+ handler = this._events[type2];
106638
+ if (isUndefined(handler))
106567
106639
  return false;
106568
- if (typeof handler === "function") {
106569
- ReflectApply(handler, this, args);
106570
- } else {
106571
- var len2 = handler.length;
106572
- var listeners2 = arrayClone(handler, len2);
106573
- for (var i2 = 0; i2 < len2; ++i2)
106574
- ReflectApply(listeners2[i2], this, args);
106640
+ if (isFunction$1(handler)) {
106641
+ switch (arguments.length) {
106642
+ case 1:
106643
+ handler.call(this);
106644
+ break;
106645
+ case 2:
106646
+ handler.call(this, arguments[1]);
106647
+ break;
106648
+ case 3:
106649
+ handler.call(this, arguments[1], arguments[2]);
106650
+ break;
106651
+ default:
106652
+ args = Array.prototype.slice.call(arguments, 1);
106653
+ handler.apply(this, args);
106654
+ }
106655
+ } else if (isObject$1(handler)) {
106656
+ args = Array.prototype.slice.call(arguments, 1);
106657
+ listeners = handler.slice();
106658
+ len2 = listeners.length;
106659
+ for (i2 = 0; i2 < len2; i2++)
106660
+ listeners[i2].apply(this, args);
106575
106661
  }
106576
106662
  return true;
106577
106663
  };
106578
- function _addListener(target, type2, listener, prepend) {
106664
+ EventEmitter.prototype.addListener = function(type2, listener) {
106579
106665
  var m2;
106580
- var events2;
106581
- var existing;
106582
- checkListener(listener);
106583
- events2 = target._events;
106584
- if (events2 === void 0) {
106585
- events2 = target._events = /* @__PURE__ */ Object.create(null);
106586
- target._eventsCount = 0;
106587
- } else {
106588
- if (events2.newListener !== void 0) {
106589
- target.emit(
106590
- "newListener",
106591
- type2,
106592
- listener.listener ? listener.listener : listener
106593
- );
106594
- events2 = target._events;
106595
- }
106596
- existing = events2[type2];
106597
- }
106598
- if (existing === void 0) {
106599
- existing = events2[type2] = listener;
106600
- ++target._eventsCount;
106601
- } else {
106602
- if (typeof existing === "function") {
106603
- existing = events2[type2] = prepend ? [listener, existing] : [existing, listener];
106604
- } else if (prepend) {
106605
- existing.unshift(listener);
106666
+ if (!isFunction$1(listener))
106667
+ throw TypeError("listener must be a function");
106668
+ if (!this._events)
106669
+ this._events = {};
106670
+ if (this._events.newListener)
106671
+ this.emit(
106672
+ "newListener",
106673
+ type2,
106674
+ isFunction$1(listener.listener) ? listener.listener : listener
106675
+ );
106676
+ if (!this._events[type2])
106677
+ this._events[type2] = listener;
106678
+ else if (isObject$1(this._events[type2]))
106679
+ this._events[type2].push(listener);
106680
+ else
106681
+ this._events[type2] = [this._events[type2], listener];
106682
+ if (isObject$1(this._events[type2]) && !this._events[type2].warned) {
106683
+ if (!isUndefined(this._maxListeners)) {
106684
+ m2 = this._maxListeners;
106606
106685
  } else {
106607
- existing.push(listener);
106686
+ m2 = EventEmitter.defaultMaxListeners;
106608
106687
  }
106609
- m2 = _getMaxListeners(target);
106610
- if (m2 > 0 && existing.length > m2 && !existing.warned) {
106611
- existing.warned = true;
106612
- var w2 = new Error("Possible EventEmitter memory leak detected. " + existing.length + " " + String(type2) + " listeners added. Use emitter.setMaxListeners() to increase limit");
106613
- w2.name = "MaxListenersExceededWarning";
106614
- w2.emitter = target;
106615
- w2.type = type2;
106616
- w2.count = existing.length;
106617
- ProcessEmitWarning(w2);
106688
+ if (m2 && m2 > 0 && this._events[type2].length > m2) {
106689
+ this._events[type2].warned = true;
106690
+ console.error(
106691
+ "(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",
106692
+ this._events[type2].length
106693
+ );
106694
+ if (typeof console.trace === "function") {
106695
+ console.trace();
106696
+ }
106618
106697
  }
106619
106698
  }
106620
- return target;
106621
- }
106622
- EventEmitter.prototype.addListener = function addListener(type2, listener) {
106623
- return _addListener(this, type2, listener, false);
106624
- };
106625
- EventEmitter.prototype.on = EventEmitter.prototype.addListener;
106626
- EventEmitter.prototype.prependListener = function prependListener(type2, listener) {
106627
- return _addListener(this, type2, listener, true);
106628
- };
106629
- function onceWrapper() {
106630
- if (!this.fired) {
106631
- this.target.removeListener(this.type, this.wrapFn);
106632
- this.fired = true;
106633
- if (arguments.length === 0)
106634
- return this.listener.call(this.target);
106635
- return this.listener.apply(this.target, arguments);
106636
- }
106637
- }
106638
- function _onceWrap(target, type2, listener) {
106639
- var state = { fired: false, wrapFn: void 0, target, type: type2, listener };
106640
- var wrapped = onceWrapper.bind(state);
106641
- wrapped.listener = listener;
106642
- state.wrapFn = wrapped;
106643
- return wrapped;
106644
- }
106645
- EventEmitter.prototype.once = function once(type2, listener) {
106646
- checkListener(listener);
106647
- this.on(type2, _onceWrap(this, type2, listener));
106648
106699
  return this;
106649
106700
  };
106650
- EventEmitter.prototype.prependOnceListener = function prependOnceListener(type2, listener) {
106651
- checkListener(listener);
106652
- this.prependListener(type2, _onceWrap(this, type2, listener));
106701
+ EventEmitter.prototype.on = EventEmitter.prototype.addListener;
106702
+ EventEmitter.prototype.once = function(type2, listener) {
106703
+ if (!isFunction$1(listener))
106704
+ throw TypeError("listener must be a function");
106705
+ var fired = false;
106706
+ function g2() {
106707
+ this.removeListener(type2, g2);
106708
+ if (!fired) {
106709
+ fired = true;
106710
+ listener.apply(this, arguments);
106711
+ }
106712
+ }
106713
+ g2.listener = listener;
106714
+ this.on(type2, g2);
106653
106715
  return this;
106654
106716
  };
106655
- EventEmitter.prototype.removeListener = function removeListener(type2, listener) {
106656
- var list, events2, position, i2, originalListener;
106657
- checkListener(listener);
106658
- events2 = this._events;
106659
- if (events2 === void 0)
106660
- return this;
106661
- list = events2[type2];
106662
- if (list === void 0)
106717
+ EventEmitter.prototype.removeListener = function(type2, listener) {
106718
+ var list, position, length2, i2;
106719
+ if (!isFunction$1(listener))
106720
+ throw TypeError("listener must be a function");
106721
+ if (!this._events || !this._events[type2])
106663
106722
  return this;
106664
- if (list === listener || list.listener === listener) {
106665
- if (--this._eventsCount === 0)
106666
- this._events = /* @__PURE__ */ Object.create(null);
106667
- else {
106668
- delete events2[type2];
106669
- if (events2.removeListener)
106670
- this.emit("removeListener", type2, list.listener || listener);
106671
- }
106672
- } else if (typeof list !== "function") {
106673
- position = -1;
106674
- for (i2 = list.length - 1; i2 >= 0; i2--) {
106675
- if (list[i2] === listener || list[i2].listener === listener) {
106676
- originalListener = list[i2].listener;
106723
+ list = this._events[type2];
106724
+ length2 = list.length;
106725
+ position = -1;
106726
+ if (list === listener || isFunction$1(list.listener) && list.listener === listener) {
106727
+ delete this._events[type2];
106728
+ if (this._events.removeListener)
106729
+ this.emit("removeListener", type2, listener);
106730
+ } else if (isObject$1(list)) {
106731
+ for (i2 = length2; i2-- > 0; ) {
106732
+ if (list[i2] === listener || list[i2].listener && list[i2].listener === listener) {
106677
106733
  position = i2;
106678
106734
  break;
106679
106735
  }
106680
106736
  }
106681
106737
  if (position < 0)
106682
106738
  return this;
106683
- if (position === 0)
106684
- list.shift();
106685
- else {
106686
- spliceOne(list, position);
106739
+ if (list.length === 1) {
106740
+ list.length = 0;
106741
+ delete this._events[type2];
106742
+ } else {
106743
+ list.splice(position, 1);
106687
106744
  }
106688
- if (list.length === 1)
106689
- events2[type2] = list[0];
106690
- if (events2.removeListener !== void 0)
106691
- this.emit("removeListener", type2, originalListener || listener);
106745
+ if (this._events.removeListener)
106746
+ this.emit("removeListener", type2, listener);
106692
106747
  }
106693
106748
  return this;
106694
106749
  };
106695
- EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
106696
- EventEmitter.prototype.removeAllListeners = function removeAllListeners(type2) {
106697
- var listeners2, events2, i2;
106698
- events2 = this._events;
106699
- if (events2 === void 0)
106750
+ EventEmitter.prototype.removeAllListeners = function(type2) {
106751
+ var key, listeners;
106752
+ if (!this._events)
106700
106753
  return this;
106701
- if (events2.removeListener === void 0) {
106702
- if (arguments.length === 0) {
106703
- this._events = /* @__PURE__ */ Object.create(null);
106704
- this._eventsCount = 0;
106705
- } else if (events2[type2] !== void 0) {
106706
- if (--this._eventsCount === 0)
106707
- this._events = /* @__PURE__ */ Object.create(null);
106708
- else
106709
- delete events2[type2];
106710
- }
106754
+ if (!this._events.removeListener) {
106755
+ if (arguments.length === 0)
106756
+ this._events = {};
106757
+ else if (this._events[type2])
106758
+ delete this._events[type2];
106711
106759
  return this;
106712
106760
  }
106713
106761
  if (arguments.length === 0) {
106714
- var keys3 = Object.keys(events2);
106715
- var key;
106716
- for (i2 = 0; i2 < keys3.length; ++i2) {
106717
- key = keys3[i2];
106762
+ for (key in this._events) {
106718
106763
  if (key === "removeListener")
106719
106764
  continue;
106720
106765
  this.removeAllListeners(key);
106721
106766
  }
106722
106767
  this.removeAllListeners("removeListener");
106723
- this._events = /* @__PURE__ */ Object.create(null);
106724
- this._eventsCount = 0;
106768
+ this._events = {};
106725
106769
  return this;
106726
106770
  }
106727
- listeners2 = events2[type2];
106728
- if (typeof listeners2 === "function") {
106729
- this.removeListener(type2, listeners2);
106730
- } else if (listeners2 !== void 0) {
106731
- for (i2 = listeners2.length - 1; i2 >= 0; i2--) {
106732
- this.removeListener(type2, listeners2[i2]);
106733
- }
106771
+ listeners = this._events[type2];
106772
+ if (isFunction$1(listeners)) {
106773
+ this.removeListener(type2, listeners);
106774
+ } else if (listeners) {
106775
+ while (listeners.length)
106776
+ this.removeListener(type2, listeners[listeners.length - 1]);
106734
106777
  }
106778
+ delete this._events[type2];
106735
106779
  return this;
106736
106780
  };
106737
- function _listeners(target, type2, unwrap) {
106738
- var events2 = target._events;
106739
- if (events2 === void 0)
106740
- return [];
106741
- var evlistener = events2[type2];
106742
- if (evlistener === void 0)
106743
- return [];
106744
- if (typeof evlistener === "function")
106745
- return unwrap ? [evlistener.listener || evlistener] : [evlistener];
106746
- return unwrap ? unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
106747
- }
106748
- EventEmitter.prototype.listeners = function listeners(type2) {
106749
- return _listeners(this, type2, true);
106750
- };
106751
- EventEmitter.prototype.rawListeners = function rawListeners(type2) {
106752
- return _listeners(this, type2, false);
106753
- };
106754
- EventEmitter.listenerCount = function(emitter, type2) {
106755
- if (typeof emitter.listenerCount === "function") {
106756
- return emitter.listenerCount(type2);
106757
- } else {
106758
- return listenerCount.call(emitter, type2);
106759
- }
106781
+ EventEmitter.prototype.listeners = function(type2) {
106782
+ var ret;
106783
+ if (!this._events || !this._events[type2])
106784
+ ret = [];
106785
+ else if (isFunction$1(this._events[type2]))
106786
+ ret = [this._events[type2]];
106787
+ else
106788
+ ret = this._events[type2].slice();
106789
+ return ret;
106760
106790
  };
106761
- EventEmitter.prototype.listenerCount = listenerCount;
106762
- function listenerCount(type2) {
106763
- var events2 = this._events;
106764
- if (events2 !== void 0) {
106765
- var evlistener = events2[type2];
106766
- if (typeof evlistener === "function") {
106791
+ EventEmitter.prototype.listenerCount = function(type2) {
106792
+ if (this._events) {
106793
+ var evlistener = this._events[type2];
106794
+ if (isFunction$1(evlistener))
106767
106795
  return 1;
106768
- } else if (evlistener !== void 0) {
106796
+ else if (evlistener)
106769
106797
  return evlistener.length;
106770
- }
106771
106798
  }
106772
106799
  return 0;
106773
- }
106774
- EventEmitter.prototype.eventNames = function eventNames() {
106775
- return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
106776
106800
  };
106777
- function arrayClone(arr, n2) {
106778
- var copy2 = new Array(n2);
106779
- for (var i2 = 0; i2 < n2; ++i2)
106780
- copy2[i2] = arr[i2];
106781
- return copy2;
106801
+ EventEmitter.listenerCount = function(emitter, type2) {
106802
+ return emitter.listenerCount(type2);
106803
+ };
106804
+ function isFunction$1(arg) {
106805
+ return typeof arg === "function";
106782
106806
  }
106783
- function spliceOne(list, index2) {
106784
- for (; index2 + 1 < list.length; index2++)
106785
- list[index2] = list[index2 + 1];
106786
- list.pop();
106807
+ function isNumber(arg) {
106808
+ return typeof arg === "number";
106787
106809
  }
106788
- function unwrapListeners(arr) {
106789
- var ret = new Array(arr.length);
106790
- for (var i2 = 0; i2 < ret.length; ++i2) {
106791
- ret[i2] = arr[i2].listener || arr[i2];
106792
- }
106793
- return ret;
106810
+ function isObject$1(arg) {
106811
+ return typeof arg === "object" && arg !== null;
106794
106812
  }
106795
- function once2(emitter, name2) {
106796
- return new Promise(function(resolve, reject) {
106797
- function errorListener(err2) {
106798
- emitter.removeListener(name2, resolver);
106799
- reject(err2);
106800
- }
106801
- function resolver() {
106802
- if (typeof emitter.removeListener === "function") {
106803
- emitter.removeListener("error", errorListener);
106804
- }
106805
- resolve([].slice.call(arguments));
106806
- }
106807
- eventTargetAgnosticAddListener(emitter, name2, resolver, { once: true });
106808
- if (name2 !== "error") {
106809
- addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });
106810
- }
106811
- });
106812
- }
106813
- function addErrorHandlerIfEventEmitter(emitter, handler, flags3) {
106814
- if (typeof emitter.on === "function") {
106815
- eventTargetAgnosticAddListener(emitter, "error", handler, flags3);
106816
- }
106817
- }
106818
- function eventTargetAgnosticAddListener(emitter, name2, listener, flags3) {
106819
- if (typeof emitter.on === "function") {
106820
- if (flags3.once) {
106821
- emitter.once(name2, listener);
106822
- } else {
106823
- emitter.on(name2, listener);
106824
- }
106825
- } else if (typeof emitter.addEventListener === "function") {
106826
- emitter.addEventListener(name2, function wrapListener(arg) {
106827
- if (flags3.once) {
106828
- emitter.removeEventListener(name2, wrapListener);
106829
- }
106830
- listener(arg);
106831
- });
106832
- } else {
106833
- throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof emitter);
106834
- }
106813
+ function isUndefined(arg) {
106814
+ return arg === void 0;
106835
106815
  }
106836
- var eventsExports = events.exports;
106837
106816
  var getRandomValues = typeof crypto != "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto != "undefined" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto);
106838
106817
  var rnds8 = new Uint8Array(16);
106839
106818
  function rng() {
@@ -107199,7 +107178,7 @@ const require$$1$3 = /* @__PURE__ */ getAugmentedNamespace(esmBrowser);
107199
107178
  value: true
107200
107179
  });
107201
107180
  exports2["default"] = void 0;
107202
- var _events = _interopRequireDefault2(eventsExports);
107181
+ var _events = _interopRequireDefault2(events);
107203
107182
  var _uuid = _interopRequireDefault2(require$$1$3);
107204
107183
  function _interopRequireDefault2(obj) {
107205
107184
  return obj && obj.__esModule ? obj : { "default": obj };
@@ -107683,7 +107662,7 @@ function rhumbDistance$2(from, to, options) {
107683
107662
  }
107684
107663
  function calculateRhumbDistance(origin, destination2, radius) {
107685
107664
  radius = radius === void 0 ? helpers_1$9.earthRadius : Number(radius);
107686
- var R2 = radius;
107665
+ var R = radius;
107687
107666
  var phi12 = origin[1] * Math.PI / 180;
107688
107667
  var phi2 = destination2[1] * Math.PI / 180;
107689
107668
  var DeltaPhi = phi2 - phi12;
@@ -107694,7 +107673,7 @@ function calculateRhumbDistance(origin, destination2, radius) {
107694
107673
  var DeltaPsi = Math.log(Math.tan(phi2 / 2 + Math.PI / 4) / Math.tan(phi12 / 2 + Math.PI / 4));
107695
107674
  var q = Math.abs(DeltaPsi) > 1e-11 ? DeltaPhi / DeltaPsi : Math.cos(phi12);
107696
107675
  var delta = Math.sqrt(DeltaPhi * DeltaPhi + q * q * DeltaLambda * DeltaLambda);
107697
- var dist = delta * R2;
107676
+ var dist = delta * R;
107698
107677
  return dist;
107699
107678
  }
107700
107679
  js$f.default = rhumbDistance$2;
@@ -122241,7 +122220,7 @@ var document_1 = doccy;
122241
122220
  value: true
122242
122221
  });
122243
122222
  exports2["default"] = void 0;
122244
- var _events = eventsExports;
122223
+ var _events = events;
122245
122224
  var _document = _interopRequireDefault2(document_1);
122246
122225
  var _core = require$$2$2;
122247
122226
  var _deckDrawer = _interopRequireDefault2(deckDrawer);
@@ -124196,16 +124175,16 @@ function addDecoder(cases, importFn) {
124196
124175
  }
124197
124176
  cases.forEach((c2) => registry$1.set(c2, importFn));
124198
124177
  }
124199
- addDecoder([void 0, 1], () => import("./raw-95876e92.js").then((m2) => m2.default));
124200
- addDecoder(5, () => import("./lzw-89de4d17.js").then((m2) => m2.default));
124178
+ addDecoder([void 0, 1], () => import("./raw-1fdeda18.js").then((m2) => m2.default));
124179
+ addDecoder(5, () => import("./lzw-9f2b5c3c.js").then((m2) => m2.default));
124201
124180
  addDecoder(6, () => {
124202
124181
  throw new Error("old style JPEG compression is not supported.");
124203
124182
  });
124204
- addDecoder(7, () => import("./jpeg-3de2dfe4.js").then((m2) => m2.default));
124205
- addDecoder([8, 32946], () => import("./deflate-c2972ee6.js").then((m2) => m2.default));
124206
- addDecoder(32773, () => import("./packbits-baef831e.js").then((m2) => m2.default));
124207
- addDecoder(34887, () => import("./lerc-e0259484.js").then((m2) => m2.default));
124208
- addDecoder(50001, () => import("./webimage-dcda894c.js").then((m2) => m2.default));
124183
+ addDecoder(7, () => import("./jpeg-a050d76f.js").then((m2) => m2.default));
124184
+ addDecoder([8, 32946], () => import("./deflate-32671b11.js").then((m2) => m2.default));
124185
+ addDecoder(32773, () => import("./packbits-b7b88028.js").then((m2) => m2.default));
124186
+ addDecoder(34887, () => import("./lerc-f8bbfebc.js").then((m2) => m2.default));
124187
+ addDecoder(50001, () => import("./webimage-72e65b82.js").then((m2) => m2.default));
124209
124188
  function decodeRowAcc(row, stride) {
124210
124189
  let length2 = row.length - stride;
124211
124190
  let offset5 = 0;
@@ -124395,16 +124374,16 @@ createCommonjsModule(function(module2) {
124395
124374
  if (!new Events().__proto__)
124396
124375
  prefix2 = false;
124397
124376
  }
124398
- function EE(fn, context, once3) {
124377
+ function EE(fn, context, once) {
124399
124378
  this.fn = fn;
124400
124379
  this.context = context;
124401
- this.once = once3 || false;
124380
+ this.once = once || false;
124402
124381
  }
124403
- function addListener2(emitter, event, fn, context, once3) {
124382
+ function addListener(emitter, event, fn, context, once) {
124404
124383
  if (typeof fn !== "function") {
124405
124384
  throw new TypeError("The listener must be a function");
124406
124385
  }
124407
- var listener = new EE(fn, context || emitter, once3), evt = prefix2 ? prefix2 + event : event;
124386
+ var listener = new EE(fn, context || emitter, once), evt = prefix2 ? prefix2 + event : event;
124408
124387
  if (!emitter._events[evt])
124409
124388
  emitter._events[evt] = listener, emitter._eventsCount++;
124410
124389
  else if (!emitter._events[evt].fn)
@@ -124423,7 +124402,7 @@ createCommonjsModule(function(module2) {
124423
124402
  this._events = new Events();
124424
124403
  this._eventsCount = 0;
124425
124404
  }
124426
- EventEmitter2.prototype.eventNames = function eventNames2() {
124405
+ EventEmitter2.prototype.eventNames = function eventNames() {
124427
124406
  var names = [], events2, name2;
124428
124407
  if (this._eventsCount === 0)
124429
124408
  return names;
@@ -124436,7 +124415,7 @@ createCommonjsModule(function(module2) {
124436
124415
  }
124437
124416
  return names;
124438
124417
  };
124439
- EventEmitter2.prototype.listeners = function listeners2(event) {
124418
+ EventEmitter2.prototype.listeners = function listeners(event) {
124440
124419
  var evt = prefix2 ? prefix2 + event : event, handlers = this._events[evt];
124441
124420
  if (!handlers)
124442
124421
  return [];
@@ -124447,76 +124426,76 @@ createCommonjsModule(function(module2) {
124447
124426
  }
124448
124427
  return ee;
124449
124428
  };
124450
- EventEmitter2.prototype.listenerCount = function listenerCount2(event) {
124451
- var evt = prefix2 ? prefix2 + event : event, listeners2 = this._events[evt];
124452
- if (!listeners2)
124429
+ EventEmitter2.prototype.listenerCount = function listenerCount(event) {
124430
+ var evt = prefix2 ? prefix2 + event : event, listeners = this._events[evt];
124431
+ if (!listeners)
124453
124432
  return 0;
124454
- if (listeners2.fn)
124433
+ if (listeners.fn)
124455
124434
  return 1;
124456
- return listeners2.length;
124435
+ return listeners.length;
124457
124436
  };
124458
- EventEmitter2.prototype.emit = function emit2(event, a1, a2, a3, a4, a5) {
124437
+ EventEmitter2.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
124459
124438
  var evt = prefix2 ? prefix2 + event : event;
124460
124439
  if (!this._events[evt])
124461
124440
  return false;
124462
- var listeners2 = this._events[evt], len2 = arguments.length, args, i2;
124463
- if (listeners2.fn) {
124464
- if (listeners2.once)
124465
- this.removeListener(event, listeners2.fn, void 0, true);
124441
+ var listeners = this._events[evt], len2 = arguments.length, args, i2;
124442
+ if (listeners.fn) {
124443
+ if (listeners.once)
124444
+ this.removeListener(event, listeners.fn, void 0, true);
124466
124445
  switch (len2) {
124467
124446
  case 1:
124468
- return listeners2.fn.call(listeners2.context), true;
124447
+ return listeners.fn.call(listeners.context), true;
124469
124448
  case 2:
124470
- return listeners2.fn.call(listeners2.context, a1), true;
124449
+ return listeners.fn.call(listeners.context, a1), true;
124471
124450
  case 3:
124472
- return listeners2.fn.call(listeners2.context, a1, a2), true;
124451
+ return listeners.fn.call(listeners.context, a1, a2), true;
124473
124452
  case 4:
124474
- return listeners2.fn.call(listeners2.context, a1, a2, a3), true;
124453
+ return listeners.fn.call(listeners.context, a1, a2, a3), true;
124475
124454
  case 5:
124476
- return listeners2.fn.call(listeners2.context, a1, a2, a3, a4), true;
124455
+ return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
124477
124456
  case 6:
124478
- return listeners2.fn.call(listeners2.context, a1, a2, a3, a4, a5), true;
124457
+ return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
124479
124458
  }
124480
124459
  for (i2 = 1, args = new Array(len2 - 1); i2 < len2; i2++) {
124481
124460
  args[i2 - 1] = arguments[i2];
124482
124461
  }
124483
- listeners2.fn.apply(listeners2.context, args);
124462
+ listeners.fn.apply(listeners.context, args);
124484
124463
  } else {
124485
- var length2 = listeners2.length, j;
124464
+ var length2 = listeners.length, j;
124486
124465
  for (i2 = 0; i2 < length2; i2++) {
124487
- if (listeners2[i2].once)
124488
- this.removeListener(event, listeners2[i2].fn, void 0, true);
124466
+ if (listeners[i2].once)
124467
+ this.removeListener(event, listeners[i2].fn, void 0, true);
124489
124468
  switch (len2) {
124490
124469
  case 1:
124491
- listeners2[i2].fn.call(listeners2[i2].context);
124470
+ listeners[i2].fn.call(listeners[i2].context);
124492
124471
  break;
124493
124472
  case 2:
124494
- listeners2[i2].fn.call(listeners2[i2].context, a1);
124473
+ listeners[i2].fn.call(listeners[i2].context, a1);
124495
124474
  break;
124496
124475
  case 3:
124497
- listeners2[i2].fn.call(listeners2[i2].context, a1, a2);
124476
+ listeners[i2].fn.call(listeners[i2].context, a1, a2);
124498
124477
  break;
124499
124478
  case 4:
124500
- listeners2[i2].fn.call(listeners2[i2].context, a1, a2, a3);
124479
+ listeners[i2].fn.call(listeners[i2].context, a1, a2, a3);
124501
124480
  break;
124502
124481
  default:
124503
124482
  if (!args)
124504
124483
  for (j = 1, args = new Array(len2 - 1); j < len2; j++) {
124505
124484
  args[j - 1] = arguments[j];
124506
124485
  }
124507
- listeners2[i2].fn.apply(listeners2[i2].context, args);
124486
+ listeners[i2].fn.apply(listeners[i2].context, args);
124508
124487
  }
124509
124488
  }
124510
124489
  }
124511
124490
  return true;
124512
124491
  };
124513
124492
  EventEmitter2.prototype.on = function on(event, fn, context) {
124514
- return addListener2(this, event, fn, context, false);
124493
+ return addListener(this, event, fn, context, false);
124515
124494
  };
124516
- EventEmitter2.prototype.once = function once3(event, fn, context) {
124517
- return addListener2(this, event, fn, context, true);
124495
+ EventEmitter2.prototype.once = function once(event, fn, context) {
124496
+ return addListener(this, event, fn, context, true);
124518
124497
  };
124519
- EventEmitter2.prototype.removeListener = function removeListener2(event, fn, context, once3) {
124498
+ EventEmitter2.prototype.removeListener = function removeListener(event, fn, context, once) {
124520
124499
  var evt = prefix2 ? prefix2 + event : event;
124521
124500
  if (!this._events[evt])
124522
124501
  return this;
@@ -124524,15 +124503,15 @@ createCommonjsModule(function(module2) {
124524
124503
  clearEvent(this, evt);
124525
124504
  return this;
124526
124505
  }
124527
- var listeners2 = this._events[evt];
124528
- if (listeners2.fn) {
124529
- if (listeners2.fn === fn && (!once3 || listeners2.once) && (!context || listeners2.context === context)) {
124506
+ var listeners = this._events[evt];
124507
+ if (listeners.fn) {
124508
+ if (listeners.fn === fn && (!once || listeners.once) && (!context || listeners.context === context)) {
124530
124509
  clearEvent(this, evt);
124531
124510
  }
124532
124511
  } else {
124533
- for (var i2 = 0, events2 = [], length2 = listeners2.length; i2 < length2; i2++) {
124534
- if (listeners2[i2].fn !== fn || once3 && !listeners2[i2].once || context && listeners2[i2].context !== context) {
124535
- events2.push(listeners2[i2]);
124512
+ for (var i2 = 0, events2 = [], length2 = listeners.length; i2 < length2; i2++) {
124513
+ if (listeners[i2].fn !== fn || once && !listeners[i2].once || context && listeners[i2].context !== context) {
124514
+ events2.push(listeners[i2]);
124536
124515
  }
124537
124516
  }
124538
124517
  if (events2.length)
@@ -124542,7 +124521,7 @@ createCommonjsModule(function(module2) {
124542
124521
  }
124543
124522
  return this;
124544
124523
  };
124545
- EventEmitter2.prototype.removeAllListeners = function removeAllListeners2(event) {
124524
+ EventEmitter2.prototype.removeAllListeners = function removeAllListeners(event) {
124546
124525
  var evt;
124547
124526
  if (event) {
124548
124527
  evt = prefix2 ? prefix2 + event : event;
@@ -129025,7 +129004,7 @@ var blosc_codec = function() {
129025
129004
  b += Ga[z2[a2++]];
129026
129005
  return b;
129027
129006
  }
129028
- var Q2 = {}, R2 = {}, S = {};
129007
+ var Q2 = {}, R = {}, S = {};
129029
129008
  function Ha(a2) {
129030
129009
  if (void 0 === a2)
129031
129010
  return "_unknown";
@@ -129070,8 +129049,8 @@ var blosc_codec = function() {
129070
129049
  });
129071
129050
  var e2 = Array(a2.length), g2 = [], k = 0;
129072
129051
  a2.forEach(function(h, l2) {
129073
- R2.hasOwnProperty(h) ? e2[l2] = R2[h] : (g2.push(h), Q2.hasOwnProperty(h) || (Q2[h] = []), Q2[h].push(function() {
129074
- e2[l2] = R2[h];
129052
+ R.hasOwnProperty(h) ? e2[l2] = R[h] : (g2.push(h), Q2.hasOwnProperty(h) || (Q2[h] = []), Q2[h].push(function() {
129053
+ e2[l2] = R[h];
129075
129054
  ++k;
129076
129055
  k === g2.length && c2(e2);
129077
129056
  }));
@@ -129084,12 +129063,12 @@ var blosc_codec = function() {
129084
129063
  throw new TypeError("registerType registeredInstance requires argPackAdvance");
129085
129064
  var d = b.name;
129086
129065
  a2 || T('type "' + d + '" must have a positive integer typeid pointer');
129087
- if (R2.hasOwnProperty(a2)) {
129066
+ if (R.hasOwnProperty(a2)) {
129088
129067
  if (c2.U)
129089
129068
  return;
129090
129069
  T("Cannot register type '" + d + "' twice");
129091
129070
  }
129092
- R2[a2] = b;
129071
+ R[a2] = b;
129093
129072
  delete S[a2];
129094
129073
  Q2.hasOwnProperty(a2) && (b = Q2[a2], delete Q2[a2], b.forEach(function(e2) {
129095
129074
  e2();
@@ -129202,7 +129181,7 @@ var blosc_codec = function() {
129202
129181
  }
129203
129182
  function eb(a2, b) {
129204
129183
  function c2(g2) {
129205
- e2[g2] || R2[g2] || (S[g2] ? S[g2].forEach(c2) : (d.push(g2), e2[g2] = true));
129184
+ e2[g2] || R[g2] || (S[g2] ? S[g2].forEach(c2) : (d.push(g2), e2[g2] = true));
129206
129185
  }
129207
129186
  var d = [], e2 = {};
129208
129187
  b.forEach(c2);
@@ -129490,7 +129469,7 @@ var blosc_codec = function() {
129490
129469
  }, n: Qa, x: function(a2) {
129491
129470
  4 < a2 && (V[a2].P += 1);
129492
129471
  }, C: function(a2, b) {
129493
- var c2 = R2[a2];
129472
+ var c2 = R[a2];
129494
129473
  void 0 === c2 && T("_emval_take_value has unknown type " + cb(a2));
129495
129474
  a2 = c2.readValueFromPointer(b);
129496
129475
  return Ra(a2);