@vitessce/all 3.8.7 → 3.8.9
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/{OrbitControls-BihamWQc.js → OrbitControls-Dm5R32wb.js} +1 -1
- package/dist/{ReactNeuroglancer-Cd-eoVyU.js → ReactNeuroglancer-Bn39ATeL.js} +1 -1
- package/dist/{deflate-YfGOvzab.js → deflate-Yy00XXjl.js} +1 -1
- package/dist/{higlass-n5FnMrCn.js → higlass-Dfzm4Aif.js} +1 -1
- package/dist/{index-BAP2AnIF.js → index-BATko5ux.js} +2 -2
- package/dist/{index-TF8hfyKX.js → index-BmH3S4VU.js} +108 -309
- package/dist/{index-S_FSh1nk.js → index-DNRC-wrS.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{jpeg-CjgDlwi_.js → jpeg-DnYEHHlA.js} +1 -1
- package/dist/{lerc-CL4MdbCg.js → lerc-xK3UlYuK.js} +1 -1
- package/dist/{lzw-BCI0B7dw.js → lzw-Dq9ewDsx.js} +1 -1
- package/dist/{packbits-DYn86_iq.js → packbits-DUvZwRme.js} +1 -1
- package/dist/{raw-awn9z18M.js → raw-CCF7Hnlb.js} +1 -1
- package/dist/{troika-three-text.esm-CSvaWiu2.js → troika-three-text.esm-CPzJMQ38.js} +1 -1
- package/dist/{webimage-Bo4F4TPe.js → webimage-mUI4EmOE.js} +1 -1
- package/package.json +33 -33
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aF as getDefaultExportFromCjs, aG as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aH as PCFSoftShadowMap, aI as VSMShadowMap, aJ as PCFShadowMap, aK as BasicShadowMap, aL as NoToneMapping, aM as ACESFilmicToneMapping, e as Vector3, V as Vector2, aN as Clock, aO as WebGLRenderer, aP as Camera, x as BufferGeometry, r as Material, aQ as Layers, a1 as Texture, aC as RGBAFormat, ay as UnsignedByteType, C as Color, aj as _extends, aR as THREE, aS as EventDispatcher, aT as MOUSE, aU as TOUCH, aV as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-
|
|
1
|
+
import { aF as getDefaultExportFromCjs, aG as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aH as PCFSoftShadowMap, aI as VSMShadowMap, aJ as PCFShadowMap, aK as BasicShadowMap, aL as NoToneMapping, aM as ACESFilmicToneMapping, e as Vector3, V as Vector2, aN as Clock, aO as WebGLRenderer, aP as Camera, x as BufferGeometry, r as Material, aQ as Layers, a1 as Texture, aC as RGBAFormat, ay as UnsignedByteType, C as Color, aj as _extends, aR as THREE, aS as EventDispatcher, aT as MOUSE, aU as TOUCH, aV as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-BmH3S4VU.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { useReducer, useRef, useEffect, useLayoutEffect, useDebugValue, useState, useMemo } from "react";
|
|
4
4
|
var constants = { exports: {} };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aF as getDefaultExportFromCjs, b0 as requireAssign, b1 as require_export, b2 as require_core, b3 as require_fails, b4 as require_toObject, b5 as require_objectKeys, b6 as require_cof, b7 as require_wks, b8 as require_iterators, b9 as requireWeb_dom_iterable, ba as requireEs6_string_iterator, bb as require_anObject, bc as require_hide, bd as require_ctx, be as require_toLength, bf as require_global, bg as require_objectDp, bh as require_descriptors, bi as require_isObject, bj as require_objectCreate, bk as require_iterDefine, bl as require_iterStep, bm as require_meta, bn as require_isArray, bo as require_iobject, bp as require_setToStringTag, bq as require_aFunction, br as requireIterator, bs as require_propertyDesc, aZ as commonjsGlobal, bt as requireEs6_symbol, bu as requireDefineProperty, bv as require_toIobject, bw as require_objectGopd, bx as require_html, by as require_domCreate, bz as require_library, bA as requireSymbol, bB as require_objectPie, bC as require_has, bD as require_redefine, bE as require_objectAssign, bF as diffCameraState, ao as jsxRuntimeExports } from "./index-
|
|
1
|
+
import { aF as getDefaultExportFromCjs, b0 as requireAssign, b1 as require_export, b2 as require_core, b3 as require_fails, b4 as require_toObject, b5 as require_objectKeys, b6 as require_cof, b7 as require_wks, b8 as require_iterators, b9 as requireWeb_dom_iterable, ba as requireEs6_string_iterator, bb as require_anObject, bc as require_hide, bd as require_ctx, be as require_toLength, bf as require_global, bg as require_objectDp, bh as require_descriptors, bi as require_isObject, bj as require_objectCreate, bk as require_iterDefine, bl as require_iterStep, bm as require_meta, bn as require_isArray, bo as require_iobject, bp as require_setToStringTag, bq as require_aFunction, br as requireIterator, bs as require_propertyDesc, aZ as commonjsGlobal, bt as requireEs6_symbol, bu as requireDefineProperty, bv as require_toIobject, bw as require_objectGopd, bx as require_html, by as require_domCreate, bz as require_library, bA as requireSymbol, bB as require_objectPie, bC as require_has, bD as require_redefine, bE as require_objectAssign, bF as diffCameraState, ao as jsxRuntimeExports } from "./index-BmH3S4VU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
var assignExports = requireAssign();
|
|
4
4
|
const _Object$assign = /* @__PURE__ */ getDefaultExportFromCjs(assignExports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { aW as BaseDecoder } from "./index-
|
|
2
|
+
import { aW as BaseDecoder } from "./index-BmH3S4VU.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$7 from "react";
|
|
2
2
|
import React__default, { isValidElement, PureComponent, Component, createElement, createContext, createRef } from "react";
|
|
3
3
|
import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
|
|
4
|
-
import { aZ as commonjsGlobal$1, a_ as requireObjectAssign, aF as getDefaultExportFromCjs$1, a$ as earcut } from "./index-
|
|
4
|
+
import { aZ as commonjsGlobal$1, a_ as requireObjectAssign, aF as getDefaultExportFromCjs$1, a$ as earcut } from "./index-BmH3S4VU.js";
|
|
5
5
|
var promise = {};
|
|
6
6
|
var hasRequiredPromise;
|
|
7
7
|
function requirePromise() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aw as log, ax as isEqual, ar as Data3DTexture, as as RedFormat, ay as UnsignedByteType, l as LinearFilter, az as RedIntegerFormat, aA as UnsignedIntType, m as NearestFilter, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aB as WebGLMultipleRenderTargets, aC as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aD as PlaneGeometry, ao as jsxRuntimeExports, aE as GLSL3, am as BackSide } from "./index-
|
|
1
|
+
import { aw as log, ax as isEqual, ar as Data3DTexture, as as RedFormat, ay as UnsignedByteType, l as LinearFilter, az as RedIntegerFormat, aA as UnsignedIntType, m as NearestFilter, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aB as WebGLMultipleRenderTargets, aC as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aD as PlaneGeometry, ao as jsxRuntimeExports, aE as GLSL3, am as BackSide } from "./index-BmH3S4VU.js";
|
|
2
2
|
import { useRef, useState, useMemo, useEffect, useCallback } from "react";
|
|
3
|
-
import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-
|
|
3
|
+
import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-Dm5R32wb.js";
|
|
4
4
|
const LogLevel = {
|
|
5
5
|
INFO: "info",
|
|
6
6
|
WARN: "warn",
|
|
@@ -4369,28 +4369,7 @@ var symbolTag$7 = "[object Symbol]";
|
|
|
4369
4369
|
function isSymbol$5(value2) {
|
|
4370
4370
|
return typeof value2 == "symbol" || isObjectLike$c(value2) && baseGetTag$8(value2) == symbolTag$7;
|
|
4371
4371
|
}
|
|
4372
|
-
function arrayMap$3(array2, iteratee) {
|
|
4373
|
-
var index2 = -1, length2 = array2 == null ? 0 : array2.length, result = Array(length2);
|
|
4374
|
-
while (++index2 < length2) {
|
|
4375
|
-
result[index2] = iteratee(array2[index2], index2, array2);
|
|
4376
|
-
}
|
|
4377
|
-
return result;
|
|
4378
|
-
}
|
|
4379
4372
|
var isArray$f = Array.isArray;
|
|
4380
|
-
var symbolProto$5 = Symbol$7 ? Symbol$7.prototype : void 0, symbolToString$1 = symbolProto$5 ? symbolProto$5.toString : void 0;
|
|
4381
|
-
function baseToString$3(value2) {
|
|
4382
|
-
if (typeof value2 == "string") {
|
|
4383
|
-
return value2;
|
|
4384
|
-
}
|
|
4385
|
-
if (isArray$f(value2)) {
|
|
4386
|
-
return arrayMap$3(value2, baseToString$3) + "";
|
|
4387
|
-
}
|
|
4388
|
-
if (isSymbol$5(value2)) {
|
|
4389
|
-
return symbolToString$1 ? symbolToString$1.call(value2) : "";
|
|
4390
|
-
}
|
|
4391
|
-
var result = value2 + "";
|
|
4392
|
-
return result == "0" && 1 / value2 == -Infinity ? "-0" : result;
|
|
4393
|
-
}
|
|
4394
4373
|
var reWhitespace$1 = /\s/;
|
|
4395
4374
|
function trimmedEndIndex$2(string2) {
|
|
4396
4375
|
var index2 = string2.length;
|
|
@@ -4773,17 +4752,6 @@ function baseKeys$2(object2) {
|
|
|
4773
4752
|
function keys$9(object2) {
|
|
4774
4753
|
return isArrayLike$7(object2) ? arrayLikeKeys$3(object2) : baseKeys$2(object2);
|
|
4775
4754
|
}
|
|
4776
|
-
var reIsDeepProp$1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp$1 = /^\w*$/;
|
|
4777
|
-
function isKey$4(value2, object2) {
|
|
4778
|
-
if (isArray$f(value2)) {
|
|
4779
|
-
return false;
|
|
4780
|
-
}
|
|
4781
|
-
var type2 = typeof value2;
|
|
4782
|
-
if (type2 == "number" || type2 == "symbol" || type2 == "boolean" || value2 == null || isSymbol$5(value2)) {
|
|
4783
|
-
return true;
|
|
4784
|
-
}
|
|
4785
|
-
return reIsPlainProp$1.test(value2) || !reIsDeepProp$1.test(value2) || object2 != null && value2 in Object(object2);
|
|
4786
|
-
}
|
|
4787
4755
|
var nativeCreate$5 = getNative$8(Object, "create");
|
|
4788
4756
|
function hashClear$2() {
|
|
4789
4757
|
this.__data__ = nativeCreate$5 ? nativeCreate$5(null) : {};
|
|
@@ -4937,75 +4905,6 @@ MapCache$4.prototype["delete"] = mapCacheDelete$2;
|
|
|
4937
4905
|
MapCache$4.prototype.get = mapCacheGet$2;
|
|
4938
4906
|
MapCache$4.prototype.has = mapCacheHas$2;
|
|
4939
4907
|
MapCache$4.prototype.set = mapCacheSet$2;
|
|
4940
|
-
var FUNC_ERROR_TEXT$3 = "Expected a function";
|
|
4941
|
-
function memoize$7(func, resolver2) {
|
|
4942
|
-
if (typeof func != "function" || resolver2 != null && typeof resolver2 != "function") {
|
|
4943
|
-
throw new TypeError(FUNC_ERROR_TEXT$3);
|
|
4944
|
-
}
|
|
4945
|
-
var memoized = function() {
|
|
4946
|
-
var args = arguments, key2 = resolver2 ? resolver2.apply(this, args) : args[0], cache2 = memoized.cache;
|
|
4947
|
-
if (cache2.has(key2)) {
|
|
4948
|
-
return cache2.get(key2);
|
|
4949
|
-
}
|
|
4950
|
-
var result = func.apply(this, args);
|
|
4951
|
-
memoized.cache = cache2.set(key2, result) || cache2;
|
|
4952
|
-
return result;
|
|
4953
|
-
};
|
|
4954
|
-
memoized.cache = new (memoize$7.Cache || MapCache$4)();
|
|
4955
|
-
return memoized;
|
|
4956
|
-
}
|
|
4957
|
-
memoize$7.Cache = MapCache$4;
|
|
4958
|
-
var MAX_MEMOIZE_SIZE$1 = 500;
|
|
4959
|
-
function memoizeCapped$2(func) {
|
|
4960
|
-
var result = memoize$7(func, function(key2) {
|
|
4961
|
-
if (cache2.size === MAX_MEMOIZE_SIZE$1) {
|
|
4962
|
-
cache2.clear();
|
|
4963
|
-
}
|
|
4964
|
-
return key2;
|
|
4965
|
-
});
|
|
4966
|
-
var cache2 = result.cache;
|
|
4967
|
-
return result;
|
|
4968
|
-
}
|
|
4969
|
-
var rePropName$1 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
4970
|
-
var reEscapeChar$1 = /\\(\\)?/g;
|
|
4971
|
-
var stringToPath$2 = memoizeCapped$2(function(string2) {
|
|
4972
|
-
var result = [];
|
|
4973
|
-
if (string2.charCodeAt(0) === 46) {
|
|
4974
|
-
result.push("");
|
|
4975
|
-
}
|
|
4976
|
-
string2.replace(rePropName$1, function(match2, number2, quote, subString) {
|
|
4977
|
-
result.push(quote ? subString.replace(reEscapeChar$1, "$1") : number2 || match2);
|
|
4978
|
-
});
|
|
4979
|
-
return result;
|
|
4980
|
-
});
|
|
4981
|
-
function toString$6(value2) {
|
|
4982
|
-
return value2 == null ? "" : baseToString$3(value2);
|
|
4983
|
-
}
|
|
4984
|
-
function castPath$3(value2, object2) {
|
|
4985
|
-
if (isArray$f(value2)) {
|
|
4986
|
-
return value2;
|
|
4987
|
-
}
|
|
4988
|
-
return isKey$4(value2, object2) ? [value2] : stringToPath$2(toString$6(value2));
|
|
4989
|
-
}
|
|
4990
|
-
function toKey$5(value2) {
|
|
4991
|
-
if (typeof value2 == "string" || isSymbol$5(value2)) {
|
|
4992
|
-
return value2;
|
|
4993
|
-
}
|
|
4994
|
-
var result = value2 + "";
|
|
4995
|
-
return result == "0" && 1 / value2 == -Infinity ? "-0" : result;
|
|
4996
|
-
}
|
|
4997
|
-
function baseGet$3(object2, path2) {
|
|
4998
|
-
path2 = castPath$3(path2, object2);
|
|
4999
|
-
var index2 = 0, length2 = path2.length;
|
|
5000
|
-
while (object2 != null && index2 < length2) {
|
|
5001
|
-
object2 = object2[toKey$5(path2[index2++])];
|
|
5002
|
-
}
|
|
5003
|
-
return index2 && index2 == length2 ? object2 : void 0;
|
|
5004
|
-
}
|
|
5005
|
-
function get$g(object2, path2, defaultValue2) {
|
|
5006
|
-
var result = object2 == null ? void 0 : baseGet$3(object2, path2);
|
|
5007
|
-
return result === void 0 ? defaultValue2 : result;
|
|
5008
|
-
}
|
|
5009
4908
|
function arrayPush$3(array2, values3) {
|
|
5010
4909
|
var index2 = -1, length2 = values3.length, offset2 = array2.length;
|
|
5011
4910
|
while (++index2 < length2) {
|
|
@@ -5340,9 +5239,9 @@ function arraySome$2(array2, predicate) {
|
|
|
5340
5239
|
function cacheHas$2(cache2, key2) {
|
|
5341
5240
|
return cache2.has(key2);
|
|
5342
5241
|
}
|
|
5343
|
-
var COMPARE_PARTIAL_FLAG$
|
|
5242
|
+
var COMPARE_PARTIAL_FLAG$9 = 1, COMPARE_UNORDERED_FLAG$5 = 2;
|
|
5344
5243
|
function equalArrays$3(array2, other, bitmask, customizer, equalFunc, stack2) {
|
|
5345
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$
|
|
5244
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$9, arrLength = array2.length, othLength = other.length;
|
|
5346
5245
|
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
|
5347
5246
|
return false;
|
|
5348
5247
|
}
|
|
@@ -5351,7 +5250,7 @@ function equalArrays$3(array2, other, bitmask, customizer, equalFunc, stack2) {
|
|
|
5351
5250
|
if (arrStacked && othStacked) {
|
|
5352
5251
|
return arrStacked == other && othStacked == array2;
|
|
5353
5252
|
}
|
|
5354
|
-
var index2 = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$
|
|
5253
|
+
var index2 = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$5 ? new SetCache$2() : void 0;
|
|
5355
5254
|
stack2.set(array2, other);
|
|
5356
5255
|
stack2.set(other, array2);
|
|
5357
5256
|
while (++index2 < arrLength) {
|
|
@@ -5398,7 +5297,7 @@ function setToArray$2(set2) {
|
|
|
5398
5297
|
});
|
|
5399
5298
|
return result;
|
|
5400
5299
|
}
|
|
5401
|
-
var COMPARE_PARTIAL_FLAG$
|
|
5300
|
+
var COMPARE_PARTIAL_FLAG$8 = 1, COMPARE_UNORDERED_FLAG$4 = 2;
|
|
5402
5301
|
var boolTag$4 = "[object Boolean]", dateTag$4 = "[object Date]", errorTag$3 = "[object Error]", mapTag$6 = "[object Map]", numberTag$4 = "[object Number]", regexpTag$4 = "[object RegExp]", setTag$6 = "[object Set]", stringTag$5 = "[object String]", symbolTag$4 = "[object Symbol]";
|
|
5403
5302
|
var arrayBufferTag$4 = "[object ArrayBuffer]", dataViewTag$5 = "[object DataView]";
|
|
5404
5303
|
var symbolProto$3 = Symbol$7 ? Symbol$7.prototype : void 0, symbolValueOf$2 = symbolProto$3 ? symbolProto$3.valueOf : void 0;
|
|
@@ -5427,7 +5326,7 @@ function equalByTag$2(object2, other, tag2, bitmask, customizer, equalFunc, stac
|
|
|
5427
5326
|
case mapTag$6:
|
|
5428
5327
|
var convert2 = mapToArray$2;
|
|
5429
5328
|
case setTag$6:
|
|
5430
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$
|
|
5329
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$8;
|
|
5431
5330
|
convert2 || (convert2 = setToArray$2);
|
|
5432
5331
|
if (object2.size != other.size && !isPartial) {
|
|
5433
5332
|
return false;
|
|
@@ -5436,7 +5335,7 @@ function equalByTag$2(object2, other, tag2, bitmask, customizer, equalFunc, stac
|
|
|
5436
5335
|
if (stacked) {
|
|
5437
5336
|
return stacked == other;
|
|
5438
5337
|
}
|
|
5439
|
-
bitmask |= COMPARE_UNORDERED_FLAG$
|
|
5338
|
+
bitmask |= COMPARE_UNORDERED_FLAG$4;
|
|
5440
5339
|
stack2.set(object2, other);
|
|
5441
5340
|
var result = equalArrays$3(convert2(object2), convert2(other), bitmask, customizer, equalFunc, stack2);
|
|
5442
5341
|
stack2["delete"](object2);
|
|
@@ -5448,11 +5347,11 @@ function equalByTag$2(object2, other, tag2, bitmask, customizer, equalFunc, stac
|
|
|
5448
5347
|
}
|
|
5449
5348
|
return false;
|
|
5450
5349
|
}
|
|
5451
|
-
var COMPARE_PARTIAL_FLAG$
|
|
5350
|
+
var COMPARE_PARTIAL_FLAG$7 = 1;
|
|
5452
5351
|
var objectProto$h = Object.prototype;
|
|
5453
5352
|
var hasOwnProperty$g = objectProto$h.hasOwnProperty;
|
|
5454
5353
|
function equalObjects$2(object2, other, bitmask, customizer, equalFunc, stack2) {
|
|
5455
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$
|
|
5354
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$7, objProps = getAllKeys$4(object2), objLength = objProps.length, othProps = getAllKeys$4(other), othLength = othProps.length;
|
|
5456
5355
|
if (objLength != othLength && !isPartial) {
|
|
5457
5356
|
return false;
|
|
5458
5357
|
}
|
|
@@ -5494,7 +5393,7 @@ function equalObjects$2(object2, other, bitmask, customizer, equalFunc, stack2)
|
|
|
5494
5393
|
stack2["delete"](other);
|
|
5495
5394
|
return result;
|
|
5496
5395
|
}
|
|
5497
|
-
var COMPARE_PARTIAL_FLAG$
|
|
5396
|
+
var COMPARE_PARTIAL_FLAG$6 = 1;
|
|
5498
5397
|
var argsTag$4 = "[object Arguments]", arrayTag$3 = "[object Array]", objectTag$5 = "[object Object]";
|
|
5499
5398
|
var objectProto$g = Object.prototype;
|
|
5500
5399
|
var hasOwnProperty$f = objectProto$g.hasOwnProperty;
|
|
@@ -5514,7 +5413,7 @@ function baseIsEqualDeep$2(object2, other, bitmask, customizer, equalFunc, stack
|
|
|
5514
5413
|
stack2 || (stack2 = new Stack$6());
|
|
5515
5414
|
return objIsArr || isTypedArray$5(object2) ? equalArrays$3(object2, other, bitmask, customizer, equalFunc, stack2) : equalByTag$2(object2, other, objTag, bitmask, customizer, equalFunc, stack2);
|
|
5516
5415
|
}
|
|
5517
|
-
if (!(bitmask & COMPARE_PARTIAL_FLAG$
|
|
5416
|
+
if (!(bitmask & COMPARE_PARTIAL_FLAG$6)) {
|
|
5518
5417
|
var objIsWrapped = objIsObj && hasOwnProperty$f.call(object2, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$f.call(other, "__wrapped__");
|
|
5519
5418
|
if (objIsWrapped || othIsWrapped) {
|
|
5520
5419
|
var objUnwrapped = objIsWrapped ? object2.value() : object2, othUnwrapped = othIsWrapped ? other.value() : other;
|
|
@@ -5537,155 +5436,6 @@ function baseIsEqual$3(value2, other, bitmask, customizer, stack2) {
|
|
|
5537
5436
|
}
|
|
5538
5437
|
return baseIsEqualDeep$2(value2, other, bitmask, customizer, baseIsEqual$3, stack2);
|
|
5539
5438
|
}
|
|
5540
|
-
var COMPARE_PARTIAL_FLAG$7 = 1, COMPARE_UNORDERED_FLAG$5 = 2;
|
|
5541
|
-
function baseIsMatch$2(object2, source2, matchData, customizer) {
|
|
5542
|
-
var index2 = matchData.length, length2 = index2;
|
|
5543
|
-
if (object2 == null) {
|
|
5544
|
-
return !length2;
|
|
5545
|
-
}
|
|
5546
|
-
object2 = Object(object2);
|
|
5547
|
-
while (index2--) {
|
|
5548
|
-
var data2 = matchData[index2];
|
|
5549
|
-
if (data2[2] ? data2[1] !== object2[data2[0]] : !(data2[0] in object2)) {
|
|
5550
|
-
return false;
|
|
5551
|
-
}
|
|
5552
|
-
}
|
|
5553
|
-
while (++index2 < length2) {
|
|
5554
|
-
data2 = matchData[index2];
|
|
5555
|
-
var key2 = data2[0], objValue = object2[key2], srcValue = data2[1];
|
|
5556
|
-
if (data2[2]) {
|
|
5557
|
-
if (objValue === void 0 && !(key2 in object2)) {
|
|
5558
|
-
return false;
|
|
5559
|
-
}
|
|
5560
|
-
} else {
|
|
5561
|
-
var stack2 = new Stack$6();
|
|
5562
|
-
var result;
|
|
5563
|
-
if (!(result === void 0 ? baseIsEqual$3(srcValue, objValue, COMPARE_PARTIAL_FLAG$7 | COMPARE_UNORDERED_FLAG$5, customizer, stack2) : result)) {
|
|
5564
|
-
return false;
|
|
5565
|
-
}
|
|
5566
|
-
}
|
|
5567
|
-
}
|
|
5568
|
-
return true;
|
|
5569
|
-
}
|
|
5570
|
-
function isStrictComparable$3(value2) {
|
|
5571
|
-
return value2 === value2 && !isObject$f(value2);
|
|
5572
|
-
}
|
|
5573
|
-
function getMatchData$2(object2) {
|
|
5574
|
-
var result = keys$9(object2), length2 = result.length;
|
|
5575
|
-
while (length2--) {
|
|
5576
|
-
var key2 = result[length2], value2 = object2[key2];
|
|
5577
|
-
result[length2] = [key2, value2, isStrictComparable$3(value2)];
|
|
5578
|
-
}
|
|
5579
|
-
return result;
|
|
5580
|
-
}
|
|
5581
|
-
function matchesStrictComparable$3(key2, srcValue) {
|
|
5582
|
-
return function(object2) {
|
|
5583
|
-
if (object2 == null) {
|
|
5584
|
-
return false;
|
|
5585
|
-
}
|
|
5586
|
-
return object2[key2] === srcValue && (srcValue !== void 0 || key2 in Object(object2));
|
|
5587
|
-
};
|
|
5588
|
-
}
|
|
5589
|
-
function baseMatches$2(source2) {
|
|
5590
|
-
var matchData = getMatchData$2(source2);
|
|
5591
|
-
if (matchData.length == 1 && matchData[0][2]) {
|
|
5592
|
-
return matchesStrictComparable$3(matchData[0][0], matchData[0][1]);
|
|
5593
|
-
}
|
|
5594
|
-
return function(object2) {
|
|
5595
|
-
return object2 === source2 || baseIsMatch$2(object2, source2, matchData);
|
|
5596
|
-
};
|
|
5597
|
-
}
|
|
5598
|
-
function baseHasIn$2(object2, key2) {
|
|
5599
|
-
return object2 != null && key2 in Object(object2);
|
|
5600
|
-
}
|
|
5601
|
-
function hasPath$2(object2, path2, hasFunc) {
|
|
5602
|
-
path2 = castPath$3(path2, object2);
|
|
5603
|
-
var index2 = -1, length2 = path2.length, result = false;
|
|
5604
|
-
while (++index2 < length2) {
|
|
5605
|
-
var key2 = toKey$5(path2[index2]);
|
|
5606
|
-
if (!(result = object2 != null && hasFunc(object2, key2))) {
|
|
5607
|
-
break;
|
|
5608
|
-
}
|
|
5609
|
-
object2 = object2[key2];
|
|
5610
|
-
}
|
|
5611
|
-
if (result || ++index2 != length2) {
|
|
5612
|
-
return result;
|
|
5613
|
-
}
|
|
5614
|
-
length2 = object2 == null ? 0 : object2.length;
|
|
5615
|
-
return !!length2 && isLength$4(length2) && isIndex$5(key2, length2) && (isArray$f(object2) || isArguments$4(object2));
|
|
5616
|
-
}
|
|
5617
|
-
function hasIn$2(object2, path2) {
|
|
5618
|
-
return object2 != null && hasPath$2(object2, path2, baseHasIn$2);
|
|
5619
|
-
}
|
|
5620
|
-
var COMPARE_PARTIAL_FLAG$6 = 1, COMPARE_UNORDERED_FLAG$4 = 2;
|
|
5621
|
-
function baseMatchesProperty$2(path2, srcValue) {
|
|
5622
|
-
if (isKey$4(path2) && isStrictComparable$3(srcValue)) {
|
|
5623
|
-
return matchesStrictComparable$3(toKey$5(path2), srcValue);
|
|
5624
|
-
}
|
|
5625
|
-
return function(object2) {
|
|
5626
|
-
var objValue = get$g(object2, path2);
|
|
5627
|
-
return objValue === void 0 && objValue === srcValue ? hasIn$2(object2, path2) : baseIsEqual$3(srcValue, objValue, COMPARE_PARTIAL_FLAG$6 | COMPARE_UNORDERED_FLAG$4);
|
|
5628
|
-
};
|
|
5629
|
-
}
|
|
5630
|
-
function baseProperty$2(key2) {
|
|
5631
|
-
return function(object2) {
|
|
5632
|
-
return object2 == null ? void 0 : object2[key2];
|
|
5633
|
-
};
|
|
5634
|
-
}
|
|
5635
|
-
function basePropertyDeep$2(path2) {
|
|
5636
|
-
return function(object2) {
|
|
5637
|
-
return baseGet$3(object2, path2);
|
|
5638
|
-
};
|
|
5639
|
-
}
|
|
5640
|
-
function property$3(path2) {
|
|
5641
|
-
return isKey$4(path2) ? baseProperty$2(toKey$5(path2)) : basePropertyDeep$2(path2);
|
|
5642
|
-
}
|
|
5643
|
-
function baseIteratee$2(value2) {
|
|
5644
|
-
if (typeof value2 == "function") {
|
|
5645
|
-
return value2;
|
|
5646
|
-
}
|
|
5647
|
-
if (value2 == null) {
|
|
5648
|
-
return identity$h;
|
|
5649
|
-
}
|
|
5650
|
-
if (typeof value2 == "object") {
|
|
5651
|
-
return isArray$f(value2) ? baseMatchesProperty$2(value2[0], value2[1]) : baseMatches$2(value2);
|
|
5652
|
-
}
|
|
5653
|
-
return property$3(value2);
|
|
5654
|
-
}
|
|
5655
|
-
function createBaseFor$2(fromRight) {
|
|
5656
|
-
return function(object2, iteratee, keysFunc) {
|
|
5657
|
-
var index2 = -1, iterable = Object(object2), props = keysFunc(object2), length2 = props.length;
|
|
5658
|
-
while (length2--) {
|
|
5659
|
-
var key2 = props[++index2];
|
|
5660
|
-
if (iteratee(iterable[key2], key2, iterable) === false) {
|
|
5661
|
-
break;
|
|
5662
|
-
}
|
|
5663
|
-
}
|
|
5664
|
-
return object2;
|
|
5665
|
-
};
|
|
5666
|
-
}
|
|
5667
|
-
var baseFor$3 = createBaseFor$2();
|
|
5668
|
-
function baseForOwn$3(object2, iteratee) {
|
|
5669
|
-
return object2 && baseFor$3(object2, iteratee, keys$9);
|
|
5670
|
-
}
|
|
5671
|
-
function createBaseEach$2(eachFunc, fromRight) {
|
|
5672
|
-
return function(collection, iteratee) {
|
|
5673
|
-
if (collection == null) {
|
|
5674
|
-
return collection;
|
|
5675
|
-
}
|
|
5676
|
-
if (!isArrayLike$7(collection)) {
|
|
5677
|
-
return eachFunc(collection, iteratee);
|
|
5678
|
-
}
|
|
5679
|
-
var length2 = collection.length, index2 = -1, iterable = Object(collection);
|
|
5680
|
-
while (++index2 < length2) {
|
|
5681
|
-
if (iteratee(iterable[index2], index2, iterable) === false) {
|
|
5682
|
-
break;
|
|
5683
|
-
}
|
|
5684
|
-
}
|
|
5685
|
-
return collection;
|
|
5686
|
-
};
|
|
5687
|
-
}
|
|
5688
|
-
var baseEach$3 = createBaseEach$2(baseForOwn$3);
|
|
5689
5439
|
var now$5 = function() {
|
|
5690
5440
|
return root$d.Date.now();
|
|
5691
5441
|
};
|
|
@@ -5807,27 +5557,6 @@ function baseDifference(array2, values3, iteratee, comparator2) {
|
|
|
5807
5557
|
var difference$1 = baseRest$2(function(array2, values3) {
|
|
5808
5558
|
return isArrayLikeObject$2(array2) ? baseDifference(array2, baseFlatten(values3, 1, isArrayLikeObject$2)) : [];
|
|
5809
5559
|
});
|
|
5810
|
-
function arrayEvery(array2, predicate) {
|
|
5811
|
-
var index2 = -1, length2 = array2 == null ? 0 : array2.length;
|
|
5812
|
-
while (++index2 < length2) {
|
|
5813
|
-
if (!predicate(array2[index2], index2, array2)) {
|
|
5814
|
-
return false;
|
|
5815
|
-
}
|
|
5816
|
-
}
|
|
5817
|
-
return true;
|
|
5818
|
-
}
|
|
5819
|
-
function baseEvery(collection, predicate) {
|
|
5820
|
-
var result = true;
|
|
5821
|
-
baseEach$3(collection, function(value2, index2, collection2) {
|
|
5822
|
-
result = !!predicate(value2, index2, collection2);
|
|
5823
|
-
return result;
|
|
5824
|
-
});
|
|
5825
|
-
return result;
|
|
5826
|
-
}
|
|
5827
|
-
function every$1(collection, predicate, guard) {
|
|
5828
|
-
var func = isArray$f(collection) ? arrayEvery : baseEvery;
|
|
5829
|
-
return func(collection, baseIteratee$2(predicate));
|
|
5830
|
-
}
|
|
5831
5560
|
function isEqual$3(value2, other) {
|
|
5832
5561
|
return baseIsEqual$3(value2, other);
|
|
5833
5562
|
}
|
|
@@ -6490,6 +6219,59 @@ class Pool {
|
|
|
6490
6219
|
}
|
|
6491
6220
|
}
|
|
6492
6221
|
}
|
|
6222
|
+
function aggregateFeatureArrays(arrays, strategy) {
|
|
6223
|
+
if (!arrays || arrays.length === 0)
|
|
6224
|
+
return null;
|
|
6225
|
+
let targetArray;
|
|
6226
|
+
if (strategy === "first" || typeof strategy === "number" && strategy === 0) {
|
|
6227
|
+
targetArray = arrays[0];
|
|
6228
|
+
} else if (strategy === "last") {
|
|
6229
|
+
targetArray = arrays[arrays.length - 1];
|
|
6230
|
+
} else if (typeof strategy === "number") {
|
|
6231
|
+
if (strategy >= 0 && strategy < arrays.length) {
|
|
6232
|
+
targetArray = arrays[strategy];
|
|
6233
|
+
} else {
|
|
6234
|
+
throw new Error(`Array index out of bounds: ${strategy}`);
|
|
6235
|
+
}
|
|
6236
|
+
}
|
|
6237
|
+
if (targetArray) {
|
|
6238
|
+
return targetArray;
|
|
6239
|
+
}
|
|
6240
|
+
const numArrays = arrays.length;
|
|
6241
|
+
const firstArrayLength = arrays[0].length;
|
|
6242
|
+
if (arrays.some((arr) => arr.length !== firstArrayLength)) {
|
|
6243
|
+
throw new Error("All arrays must have the same length for aggregation.");
|
|
6244
|
+
}
|
|
6245
|
+
if (strategy === "sum" || strategy === "mean") {
|
|
6246
|
+
const resultArray = new Float64Array(firstArrayLength);
|
|
6247
|
+
for (let i2 = 0; i2 < numArrays; i2++) {
|
|
6248
|
+
const arr = arrays[i2];
|
|
6249
|
+
for (let j = 0; j < firstArrayLength; j++) {
|
|
6250
|
+
resultArray[j] += arr[j];
|
|
6251
|
+
}
|
|
6252
|
+
}
|
|
6253
|
+
if (strategy === "mean") {
|
|
6254
|
+
for (let i2 = 0; i2 < firstArrayLength; i2++) {
|
|
6255
|
+
resultArray[i2] /= numArrays;
|
|
6256
|
+
}
|
|
6257
|
+
}
|
|
6258
|
+
return resultArray;
|
|
6259
|
+
}
|
|
6260
|
+
if (strategy === "difference") {
|
|
6261
|
+
if (numArrays !== 2) {
|
|
6262
|
+
console.warn("Difference strategy requires exactly 2 arrays.");
|
|
6263
|
+
return arrays[0];
|
|
6264
|
+
}
|
|
6265
|
+
const arr0 = arrays[0];
|
|
6266
|
+
const arr1 = arrays[1];
|
|
6267
|
+
const resultArray = new Float64Array(firstArrayLength);
|
|
6268
|
+
for (let i2 = 0; i2 < firstArrayLength; i2++) {
|
|
6269
|
+
resultArray[i2] = arr0[i2] - arr1[i2];
|
|
6270
|
+
}
|
|
6271
|
+
return resultArray;
|
|
6272
|
+
}
|
|
6273
|
+
throw new Error(`Unknown aggregation strategy: ${strategy}`);
|
|
6274
|
+
}
|
|
6493
6275
|
configSchema1_0_0.shape.coordinationSpace.unwrap();
|
|
6494
6276
|
configSchema1_0_0.shape.layout.element.shape.coordinationScopes.unwrap();
|
|
6495
6277
|
function upgradeReplaceViewProp(prefix2, view, coordinationSpace) {
|
|
@@ -209323,22 +209105,22 @@ async function getDecoder(fileDirectory) {
|
|
|
209323
209105
|
const Decoder = await importFn();
|
|
209324
209106
|
return new Decoder(fileDirectory);
|
|
209325
209107
|
}
|
|
209326
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
209327
|
-
addDecoder(5, () => import("./lzw-
|
|
209108
|
+
addDecoder([void 0, 1], () => import("./raw-CCF7Hnlb.js").then((m2) => m2.default));
|
|
209109
|
+
addDecoder(5, () => import("./lzw-Dq9ewDsx.js").then((m2) => m2.default));
|
|
209328
209110
|
addDecoder(6, () => {
|
|
209329
209111
|
throw new Error("old style JPEG compression is not supported.");
|
|
209330
209112
|
});
|
|
209331
|
-
addDecoder(7, () => import("./jpeg-
|
|
209332
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
209333
|
-
addDecoder(32773, () => import("./packbits-
|
|
209113
|
+
addDecoder(7, () => import("./jpeg-DnYEHHlA.js").then((m2) => m2.default));
|
|
209114
|
+
addDecoder([8, 32946], () => import("./deflate-Yy00XXjl.js").then((m2) => m2.default));
|
|
209115
|
+
addDecoder(32773, () => import("./packbits-DUvZwRme.js").then((m2) => m2.default));
|
|
209334
209116
|
addDecoder(
|
|
209335
209117
|
34887,
|
|
209336
|
-
() => import("./lerc-
|
|
209118
|
+
() => import("./lerc-xK3UlYuK.js").then(async (m2) => {
|
|
209337
209119
|
await m2.zstd.init();
|
|
209338
209120
|
return m2;
|
|
209339
209121
|
}).then((m2) => m2.default)
|
|
209340
209122
|
);
|
|
209341
|
-
addDecoder(50001, () => import("./webimage-
|
|
209123
|
+
addDecoder(50001, () => import("./webimage-mUI4EmOE.js").then((m2) => m2.default));
|
|
209342
209124
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
209343
209125
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
209344
209126
|
}
|
|
@@ -231886,7 +231668,14 @@ function EmbeddingScatterplotSubscriber(props) {
|
|
|
231886
231668
|
const getCellIsSelected = useCallback((object2, { index: index2 }) => (cellSelectionSet || /* @__PURE__ */ new Set([])).has(obsEmbeddingIndex[index2]) ? 1 : 0, [cellSelectionSet, obsEmbeddingIndex]);
|
|
231887
231669
|
const cellRadius = cellRadiusMode === "manual" ? cellRadiusFixed : dynamicCellRadius;
|
|
231888
231670
|
const cellOpacity = cellOpacityMode === "manual" ? cellOpacityFixed : dynamicCellOpacity;
|
|
231889
|
-
const
|
|
231671
|
+
const aggregatedExpressionData = useMemo$1(() => {
|
|
231672
|
+
if (featureAggregationStrategyToUse != null && expressionData && expressionData.length > 1) {
|
|
231673
|
+
const aggregated = aggregateFeatureArrays(expressionData, featureAggregationStrategyToUse);
|
|
231674
|
+
return [aggregated];
|
|
231675
|
+
}
|
|
231676
|
+
return expressionData;
|
|
231677
|
+
}, [expressionData, featureAggregationStrategyToUse]);
|
|
231678
|
+
const { normData: uint8ExpressionData, extents: expressionExtents, missing: expressionMissing } = useUint8FeatureSelection(aggregatedExpressionData);
|
|
231890
231679
|
const getExpressionValue = useExpressionValueGetter({
|
|
231891
231680
|
instanceObsIndex: obsEmbeddingIndex,
|
|
231892
231681
|
matrixObsIndex,
|
|
@@ -252183,7 +251972,7 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
|
|
|
252183
251972
|
}
|
|
252184
251973
|
return target2;
|
|
252185
251974
|
};
|
|
252186
|
-
const { obsPointsModelMatrix, obsPoints } = this.obsPointsData[layerScope]
|
|
251975
|
+
const { obsPointsModelMatrix, obsPoints } = this.obsPointsData?.[layerScope]?.src ?? {};
|
|
252187
251976
|
const hasZ = obsPoints?.shape?.[0] === 3;
|
|
252188
251977
|
const modelMatrix2 = obsPointsModelMatrix?.clone();
|
|
252189
251978
|
if (hasZ && typeof targetZ !== "number") {
|
|
@@ -253147,12 +252936,12 @@ class ErrorBoundary extends React__default.Component {
|
|
|
253147
252936
|
}
|
|
253148
252937
|
}
|
|
253149
252938
|
const LazySpatialThree = React__default.lazy(async () => {
|
|
253150
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
252939
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-DNRC-wrS.js");
|
|
253151
252940
|
return { default: SpatialWrapper2 };
|
|
253152
252941
|
});
|
|
253153
252942
|
const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
|
|
253154
252943
|
const LazySpatialAccelerated = React__default.lazy(async () => {
|
|
253155
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
252944
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-BATko5ux.js");
|
|
253156
252945
|
return { default: SpatialWrapper2 };
|
|
253157
252946
|
});
|
|
253158
252947
|
const SpatialAcceleratedAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialAccelerated, { ...props }) }) }) }));
|
|
@@ -261313,22 +261102,18 @@ function FeatureList(props) {
|
|
|
261313
261102
|
const { width: width2, height: height2, hasColorEncoding, geneList = [], featureLabelsMap, geneSelection = [], geneFilter = null, setGeneSelection, enableMultiSelect, showFeatureTable, featureListSort, featureListSortKey, hasFeatureLabels, primaryColumnName } = props;
|
|
261314
261103
|
const { classes: classes2 } = useStyles$l();
|
|
261315
261104
|
const [searchTerm, setSearchTerm] = useState("");
|
|
261316
|
-
const [searchResults, setSearchResults] = useState(geneList);
|
|
261317
261105
|
const selectableTableSortKey = featureListSortKey === "featureIndex" ? "key" : "name";
|
|
261318
|
-
|
|
261319
|
-
const results = geneList.filter((gene) => gene.toLowerCase().includes(searchTerm.toLowerCase()) || featureLabelsMap?.get(gene)?.toLowerCase().includes(searchTerm.toLowerCase()) || featureLabelsMap?.get(cleanFeatureId(gene))?.toLowerCase().includes(searchTerm.toLowerCase()));
|
|
261320
|
-
setSearchResults(results);
|
|
261321
|
-
}, [searchTerm, geneList, featureLabelsMap]);
|
|
261106
|
+
const searchResults = useMemo$1(() => geneList.filter((gene) => gene.toLowerCase().includes(searchTerm.toLowerCase()) || featureLabelsMap?.get(gene)?.toLowerCase().includes(searchTerm.toLowerCase()) || featureLabelsMap?.get(cleanFeatureId(gene))?.toLowerCase().includes(searchTerm.toLowerCase())), [geneList, searchTerm, featureLabelsMap]);
|
|
261322
261107
|
function onChange(selection) {
|
|
261323
261108
|
if (setGeneSelection && selection) {
|
|
261324
|
-
|
|
261325
|
-
|
|
261326
|
-
|
|
261327
|
-
|
|
261328
|
-
|
|
261329
|
-
|
|
261330
|
-
} else
|
|
261331
|
-
setGeneSelection(
|
|
261109
|
+
const selectedHiddenKeys = (geneSelection || []).filter((key2) => !searchResults.includes(key2));
|
|
261110
|
+
const selectionArray = Array.isArray(selection) ? selection : [selection];
|
|
261111
|
+
const selectedVisibleKeys = selectionArray.map((s2) => s2.key).filter((key2) => searchResults.includes(key2));
|
|
261112
|
+
const newSelection = [...selectedHiddenKeys, ...selectedVisibleKeys].filter(Boolean);
|
|
261113
|
+
if (newSelection.length > 0) {
|
|
261114
|
+
setGeneSelection(newSelection);
|
|
261115
|
+
} else {
|
|
261116
|
+
setGeneSelection(null);
|
|
261332
261117
|
}
|
|
261333
261118
|
}
|
|
261334
261119
|
}
|
|
@@ -266292,7 +266077,7 @@ function HiglassGlobalStyles(props) {
|
|
|
266292
266077
|
}
|
|
266293
266078
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
266294
266079
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
266295
|
-
const { HiGlassComponent } = await import("./higlass-
|
|
266080
|
+
const { HiGlassComponent } = await import("./higlass-Dfzm4Aif.js");
|
|
266296
266081
|
return { default: HiGlassComponent };
|
|
266297
266082
|
});
|
|
266298
266083
|
const HG_SIZE = 800;
|
|
@@ -269239,7 +269024,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
|
269239
269024
|
const { classes: classes2 } = props;
|
|
269240
269025
|
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
|
|
269241
269026
|
}
|
|
269242
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
|
269027
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-Bn39ATeL.js"));
|
|
269243
269028
|
function createWorker() {
|
|
269244
269029
|
return new WorkerFactory();
|
|
269245
269030
|
}
|
|
@@ -367142,7 +366927,14 @@ function tableToIndexColumnName(arrowTable) {
|
|
|
367142
366927
|
if (pandasMetadata) {
|
|
367143
366928
|
const pandasMetadataJson = JSON.parse(pandasMetadata);
|
|
367144
366929
|
if (Array.isArray(pandasMetadataJson.index_columns) && pandasMetadataJson.index_columns.length === 1) {
|
|
367145
|
-
|
|
366930
|
+
const result = pandasMetadataJson.index_columns?.[0];
|
|
366931
|
+
if (typeof result === "string") {
|
|
366932
|
+
return result;
|
|
366933
|
+
}
|
|
366934
|
+
if (result?.kind === "range") {
|
|
366935
|
+
return null;
|
|
366936
|
+
}
|
|
366937
|
+
throw new Error("Unexpected type in the pandas metadata index_columns array.");
|
|
367146
366938
|
}
|
|
367147
366939
|
throw new Error("Expected a single index column in the pandas metadata.");
|
|
367148
366940
|
}
|
|
@@ -367289,7 +367081,14 @@ class SpatialDataTableSource extends AnnDataSource {
|
|
|
367289
367081
|
if (!tailBytes || tailBytes.length < TAIL_LENGTH) {
|
|
367290
367082
|
throw new Error(`Failed to load parquet footerLength for ${parquetPath}`);
|
|
367291
367083
|
}
|
|
367292
|
-
const footerLength = new DataView(
|
|
367084
|
+
const footerLength = new DataView(
|
|
367085
|
+
tailBytes.buffer,
|
|
367086
|
+
// It is possible that tailBytes is a subarray,
|
|
367087
|
+
// e.g., if the ArrayBuffer was created inside
|
|
367088
|
+
// FlatFileSystemStore.getRange.
|
|
367089
|
+
tailBytes.byteOffset,
|
|
367090
|
+
tailBytes.byteLength
|
|
367091
|
+
).getInt32(0, true);
|
|
367293
367092
|
const magic = new TextDecoder().decode(tailBytes.slice(4, 8));
|
|
367294
367093
|
if (magic !== "PAR1") {
|
|
367295
367094
|
throw new Error("Invalid Parquet file: missing PAR1 magic number");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-
|
|
1
|
+
import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-BmH3S4VU.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { useRef, useEffect, useState, forwardRef } from "react";
|
|
4
|
-
import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-
|
|
4
|
+
import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-Dm5R32wb.js";
|
|
5
5
|
const isPromise = (promise) => typeof promise === "object" && typeof promise.then === "function";
|
|
6
6
|
const globalCache = [];
|
|
7
7
|
function shallowEqualArrays(arrA, arrB, equal = (a, b) => a === b) {
|
|
@@ -5027,7 +5027,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
|
|
|
5027
5027
|
const {
|
|
5028
5028
|
Text: TextMeshImpl,
|
|
5029
5029
|
preloadFont
|
|
5030
|
-
} = suspend(async () => import("./troika-three-text.esm-
|
|
5030
|
+
} = suspend(async () => import("./troika-three-text.esm-CPzJMQ38.js"), []);
|
|
5031
5031
|
const invalidate = useThree(({
|
|
5032
5032
|
invalidate: invalidate2
|
|
5033
5033
|
}) => invalidate2);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bQ, bO, bM, bP, bN, bL, bR } from "./index-
|
|
1
|
+
import { bQ, bO, bM, bP, bN, bL, bR } from "./index-BmH3S4VU.js";
|
|
2
2
|
import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
|
|
3
3
|
export {
|
|
4
4
|
bQ as PluginAsyncFunction,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { aF as getDefaultExportFromCjs, aW as BaseDecoder, aX as LercParameters, aY as LercAddCompression } from "./index-
|
|
2
|
+
import { aF as getDefaultExportFromCjs, aW as BaseDecoder, aX as LercParameters, aY as LercAddCompression } from "./index-BmH3S4VU.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bG as MeshDistanceMaterial, bH as MeshDepthMaterial, bI as RGBADepthPacking, ae as UniformsUtils, bJ as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aD as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bK as InstancedBufferAttribute } from "./index-
|
|
1
|
+
import { bG as MeshDistanceMaterial, bH as MeshDepthMaterial, bI as RGBADepthPacking, ae as UniformsUtils, bJ as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aD as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bK as InstancedBufferAttribute } from "./index-BmH3S4VU.js";
|
|
2
2
|
function workerBootstrap() {
|
|
3
3
|
var modules = /* @__PURE__ */ Object.create(null);
|
|
4
4
|
function registerModule(ref, callback) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/all",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.9",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -17,38 +17,38 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "^3.21.4",
|
|
20
|
-
"@vitessce/styles": "3.8.
|
|
21
|
-
"@vitessce/constants-internal": "3.8.
|
|
22
|
-
"@vitessce/abstract": "3.8.
|
|
23
|
-
"@vitessce/error": "3.8.
|
|
24
|
-
"@vitessce/csv": "3.8.
|
|
25
|
-
"@vitessce/description": "3.8.
|
|
26
|
-
"@vitessce/feature-list": "3.8.
|
|
27
|
-
"@vitessce/genomic-profiles": "3.8.
|
|
28
|
-
"@vitessce/heatmap": "3.8.
|
|
29
|
-
"@vitessce/glb": "3.8.
|
|
30
|
-
"@vitessce/json": "3.8.
|
|
31
|
-
"@vitessce/layer-controller": "3.8.
|
|
32
|
-
"@vitessce/layer-controller-beta": "3.8.
|
|
33
|
-
"@vitessce/link-controller": "3.8.
|
|
34
|
-
"@vitessce/obs-sets-manager": "3.8.
|
|
35
|
-
"@vitessce/ome-tiff": "3.8.
|
|
36
|
-
"@vitessce/plugins": "3.8.
|
|
37
|
-
"@vitessce/scatterplot-embedding": "3.8.
|
|
38
|
-
"@vitessce/scatterplot-gating": "3.8.
|
|
39
|
-
"@vitessce/schemas": "3.8.
|
|
40
|
-
"@vitessce/spatial": "3.8.
|
|
41
|
-
"@vitessce/spatial-beta": "3.8.
|
|
42
|
-
"@vitessce/statistical-plots": "3.8.
|
|
43
|
-
"@vitessce/status": "3.8.
|
|
44
|
-
"@vitessce/vit-s": "3.8.
|
|
45
|
-
"@vitessce/zarr": "3.8.
|
|
46
|
-
"@vitessce/globals": "3.8.
|
|
47
|
-
"@vitessce/spatial-zarr": "3.8.
|
|
48
|
-
"@vitessce/spatial-three": "3.8.
|
|
49
|
-
"@vitessce/spatial-accelerated": "3.8.
|
|
50
|
-
"@vitessce/biomarker-select": "3.8.
|
|
51
|
-
"@vitessce/neuroglancer": "3.8.
|
|
20
|
+
"@vitessce/styles": "3.8.9",
|
|
21
|
+
"@vitessce/constants-internal": "3.8.9",
|
|
22
|
+
"@vitessce/abstract": "3.8.9",
|
|
23
|
+
"@vitessce/error": "3.8.9",
|
|
24
|
+
"@vitessce/csv": "3.8.9",
|
|
25
|
+
"@vitessce/description": "3.8.9",
|
|
26
|
+
"@vitessce/feature-list": "3.8.9",
|
|
27
|
+
"@vitessce/genomic-profiles": "3.8.9",
|
|
28
|
+
"@vitessce/heatmap": "3.8.9",
|
|
29
|
+
"@vitessce/glb": "3.8.9",
|
|
30
|
+
"@vitessce/json": "3.8.9",
|
|
31
|
+
"@vitessce/layer-controller": "3.8.9",
|
|
32
|
+
"@vitessce/layer-controller-beta": "3.8.9",
|
|
33
|
+
"@vitessce/link-controller": "3.8.9",
|
|
34
|
+
"@vitessce/obs-sets-manager": "3.8.9",
|
|
35
|
+
"@vitessce/ome-tiff": "3.8.9",
|
|
36
|
+
"@vitessce/plugins": "3.8.9",
|
|
37
|
+
"@vitessce/scatterplot-embedding": "3.8.9",
|
|
38
|
+
"@vitessce/scatterplot-gating": "3.8.9",
|
|
39
|
+
"@vitessce/schemas": "3.8.9",
|
|
40
|
+
"@vitessce/spatial": "3.8.9",
|
|
41
|
+
"@vitessce/spatial-beta": "3.8.9",
|
|
42
|
+
"@vitessce/statistical-plots": "3.8.9",
|
|
43
|
+
"@vitessce/status": "3.8.9",
|
|
44
|
+
"@vitessce/vit-s": "3.8.9",
|
|
45
|
+
"@vitessce/zarr": "3.8.9",
|
|
46
|
+
"@vitessce/globals": "3.8.9",
|
|
47
|
+
"@vitessce/spatial-zarr": "3.8.9",
|
|
48
|
+
"@vitessce/spatial-three": "3.8.9",
|
|
49
|
+
"@vitessce/spatial-accelerated": "3.8.9",
|
|
50
|
+
"@vitessce/biomarker-select": "3.8.9",
|
|
51
|
+
"@vitessce/neuroglancer": "3.8.9"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/react": "^18.0.28",
|