@vitessce/dev 3.8.5 → 3.8.6

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.
@@ -1,6 +1,6 @@
1
- import { aw as log, ax as isEqual, ay as atLeastLogLevel, ar as Data3DTexture, as as RedFormat, az as UnsignedByteType, l as LinearFilter, aA as RedIntegerFormat, aB as UnsignedIntType, m as NearestFilter, aC as LogLevel, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aD as WebGLMultipleRenderTargets, aE as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aF as PlaneGeometry, ao as jsxRuntimeExports, aG as GLSL3, am as BackSide } from "./index-COS5slCL.js";
1
+ import { aw as log, ax as isEqual, ay as atLeastLogLevel, ar as Data3DTexture, as as RedFormat, az as UnsignedByteType, l as LinearFilter, aA as RedIntegerFormat, aB as UnsignedIntType, m as NearestFilter, aC as LogLevel, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aD as WebGLMultipleRenderTargets, aE as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aF as PlaneGeometry, ao as jsxRuntimeExports, aG as GLSL3, am as BackSide } from "./index-CjaAGVsZ.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-Cbe7_IQ9.js";
3
+ import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-DSrlNsWT.js";
4
4
  const BRICK_SIZE = 32;
5
5
  const BRICK_CACHE_SIZE_X = 64;
6
6
  const BRICK_CACHE_SIZE_Y = 64;
@@ -197,6 +197,7 @@ function _requestBufferToRequestObjects(buffer, k) {
197
197
  class VolumeDataManager {
198
198
  constructor(glParam) {
199
199
  logWithColor$2("CLASS INITIALIZING");
200
+ log.debug("VolumeDataManager constructor", { glParam, glParamContext: glParam.getContext?.() });
200
201
  const gl = glParam.getContext?.() || glParam;
201
202
  const renderer = glParam;
202
203
  if (gl.domElement && gl.getContext) {
@@ -219,12 +220,20 @@ class VolumeDataManager {
219
220
  };
220
221
  return defaults[param] || 0;
221
222
  },
223
+ isContextLost: () => false,
222
224
  MAX_TEXTURE_SIZE: "MAX_TEXTURE_SIZE",
223
225
  MAX_3D_TEXTURE_SIZE: "MAX_3D_TEXTURE_SIZE",
224
226
  MAX_RENDERBUFFER_SIZE: "MAX_RENDERBUFFER_SIZE",
225
227
  MAX_UNIFORM_BUFFER_BINDINGS: "MAX_UNIFORM_BUFFER_BINDINGS"
226
228
  };
227
229
  }
230
+ this._originalGlParam = glParam;
231
+ this._isContextLost = false;
232
+ this._contextRestoredCallbacks = [];
233
+ if (this.gl && this.gl.canvas) {
234
+ this.gl.canvas.addEventListener("webglcontextlost", this._handleContextLost.bind(this));
235
+ this.gl.canvas.addEventListener("webglcontextrestored", this._handleContextRestored.bind(this));
236
+ }
228
237
  log.debug("GL CONSTANTS");
229
238
  log.debug(this.gl);
230
239
  log.debug(this.gl.TEXTURE0);
@@ -316,8 +325,78 @@ class VolumeDataManager {
316
325
  this.needsBailout = false;
317
326
  this.initStatus = INIT_STATUS.NOT_STARTED;
318
327
  this.initError = null;
328
+ this._lastChannelConfig = null;
319
329
  logWithColor$2("VolumeDataManager constructor complete");
320
330
  }
331
+ /**
332
+ * Handle WebGL context loss
333
+ */
334
+ _handleContextLost(event) {
335
+ logWithColor$2("CONTEXT LOST");
336
+ log.warn("WebGL context lost, preventing default and setting flag");
337
+ event.preventDefault();
338
+ this._isContextLost = true;
339
+ if (this.channels && this.channels.zarrMappings) {
340
+ this._lastChannelConfig = {
341
+ zarrMappings: [...this.channels.zarrMappings],
342
+ colorMappings: [...this.channels.colorMappings],
343
+ downsampleMin: [...this.channels.downsampleMin],
344
+ downsampleMax: [...this.channels.downsampleMax]
345
+ };
346
+ }
347
+ }
348
+ /**
349
+ * Handle WebGL context restoration
350
+ */
351
+ _handleContextRestored(event) {
352
+ logWithColor$2("CONTEXT RESTORED");
353
+ log.warn("WebGL context restored, reinitializing textures");
354
+ this._isContextLost = false;
355
+ if (this._originalGlParam && this._originalGlParam.getContext) {
356
+ this.gl = this._originalGlParam.getContext();
357
+ }
358
+ if (this._lastChannelConfig) {
359
+ this.channels.zarrMappings = [...this._lastChannelConfig.zarrMappings];
360
+ this.channels.colorMappings = [...this._lastChannelConfig.colorMappings];
361
+ this.channels.downsampleMin = [...this._lastChannelConfig.downsampleMin];
362
+ this.channels.downsampleMax = [...this._lastChannelConfig.downsampleMax];
363
+ log.debug("Restored channel configuration after context loss");
364
+ }
365
+ if (this.PT && this.zarrStore && this.zarrStore.brickLayout) {
366
+ try {
367
+ this.initMRMCPT();
368
+ log.debug("Successfully reinitialized MRMCPT after context restoration");
369
+ } catch (error) {
370
+ log.error("Failed to reinitialize MRMCPT after context restoration:", error);
371
+ }
372
+ }
373
+ this._contextRestoredCallbacks.forEach((callback) => {
374
+ try {
375
+ callback();
376
+ } catch (error) {
377
+ log.error("Error in context restored callback:", error);
378
+ }
379
+ });
380
+ }
381
+ /**
382
+ * Check if WebGL context is lost
383
+ */
384
+ isContextLost() {
385
+ if (this._isContextLost)
386
+ return true;
387
+ if (this.gl && typeof this.gl.isContextLost === "function") {
388
+ return this.gl.isContextLost();
389
+ }
390
+ return false;
391
+ }
392
+ /**
393
+ * Register a callback to be called when context is restored
394
+ */
395
+ onContextRestored(callback) {
396
+ if (typeof callback === "function") {
397
+ this._contextRestoredCallbacks.push(callback);
398
+ }
399
+ }
321
400
  initImages(images, imageLayerScopes) {
322
401
  logWithColor$2("INIT IMAGES");
323
402
  this.images = images;
@@ -606,6 +685,12 @@ class VolumeDataManager {
606
685
  log.debug("newColorMappings", newColorMappings);
607
686
  this.channels.colorMappings = newColorMappings;
608
687
  log.debug("updatedChannels", this.channels);
688
+ this._lastChannelConfig = {
689
+ zarrMappings: [...this.channels.zarrMappings],
690
+ colorMappings: [...this.channels.colorMappings],
691
+ downsampleMin: [...this.channels.downsampleMin],
692
+ downsampleMax: [...this.channels.downsampleMax]
693
+ };
609
694
  }
610
695
  /**
611
696
  * Try to load a resolution level
@@ -723,6 +808,10 @@ class VolumeDataManager {
723
808
  log.debug("processRequestData: already busy, skipping");
724
809
  return;
725
810
  }
811
+ if (this.isContextLost()) {
812
+ log.debug("processRequestData: WebGL context is lost, skipping");
813
+ return;
814
+ }
726
815
  this.isBusy = true;
727
816
  this.triggerRequest = false;
728
817
  const { requests, origRequestCount } = _requestBufferToRequestObjects(buffer, this.k);
@@ -740,6 +829,10 @@ class VolumeDataManager {
740
829
  this.needsBailout = true;
741
830
  return;
742
831
  }
832
+ if (this.isContextLost()) {
833
+ log.debug("processUsageData: WebGL context is lost, skipping");
834
+ return;
835
+ }
743
836
  this.isBusy = true;
744
837
  this.triggerUsage = false;
745
838
  const now = ++this.timeStamp;
@@ -781,6 +874,10 @@ class VolumeDataManager {
781
874
  log.error("pagetable texture not initialized");
782
875
  return;
783
876
  }
877
+ if (this.isContextLost()) {
878
+ log.warn("WebGL context is lost, skipping channel purge");
879
+ return;
880
+ }
784
881
  this.channels.downsampleMin[ptChannelIndex] = void 0;
785
882
  this.channels.downsampleMax[ptChannelIndex] = void 0;
786
883
  this.channels.zarrMappings[ptChannelIndex] = void 0;
@@ -810,6 +907,10 @@ class VolumeDataManager {
810
907
  _updatePTEntry(ptX, ptY, ptZ, ptVal) {
811
908
  if (!this.ptTHREE)
812
909
  return;
910
+ if (this.isContextLost()) {
911
+ log.warn("WebGL context is lost, skipping PT entry update");
912
+ return;
913
+ }
813
914
  const { gl } = this;
814
915
  const texPT = this.renderer.properties.get(this.ptTHREE).__webglTexture;
815
916
  gl.activeTexture(gl.TEXTURE0);
@@ -860,16 +961,51 @@ class VolumeDataManager {
860
961
  * 4. Upload one brick + PT entry *
861
962
  * ------------------------------------------------------------- */
862
963
  async _uploadBrick(ptCoord, bcSlot) {
964
+ log.debug("uploading brick", ptCoord, bcSlot);
965
+ if (this.isContextLost()) {
966
+ log.warn("WebGL context is lost, skipping brick upload");
967
+ return;
968
+ }
863
969
  if (ptCoord.x >= this.PT.xExtent || ptCoord.y >= this.PT.yExtent || ptCoord.z >= this.PT.zTotal || ptCoord.x < 0 || ptCoord.y < 0 || ptCoord.z < 0) {
864
970
  log.error("this.PT", this.PT);
865
971
  log.error("ptCoord out of bounds", ptCoord);
866
972
  return;
867
973
  }
868
974
  const { channel, resolution, x, y, z } = _ptToZarr(ptCoord.x, ptCoord.y, ptCoord.z, { PT_zExtent: this.PT.zExtent, PT_z0Extent: this.PT.z0Extent, PT_anchors: this.PT.anchors });
975
+ if (!this.channels || !this.channels.zarrMappings || this.channels.zarrMappings.length === 0) {
976
+ log.error("Channel mappings not initialized, skipping brick upload");
977
+ return;
978
+ }
979
+ if (channel < 0 || channel >= this.channels.zarrMappings.length) {
980
+ log.error("Channel index out of bounds", { channel, mappingsLength: this.channels.zarrMappings.length });
981
+ return;
982
+ }
869
983
  const zarrChannel = this.channels.zarrMappings[channel];
870
984
  if (zarrChannel === void 0 || zarrChannel === -1) {
871
- log.error("zarrChannel is undefined or -1", zarrChannel);
872
- return;
985
+ log.warn("zarrChannel is undefined or -1", {
986
+ zarrChannel,
987
+ channel,
988
+ ptCoord,
989
+ channelMappings: this.channels.zarrMappings,
990
+ contextLost: this.isContextLost()
991
+ });
992
+ if (this._lastChannelConfig && this._lastChannelConfig.zarrMappings[channel] !== void 0) {
993
+ log.warn("Attempting to use last known channel config");
994
+ this.channels.zarrMappings = [...this._lastChannelConfig.zarrMappings];
995
+ this.channels.colorMappings = [...this._lastChannelConfig.colorMappings];
996
+ this.channels.downsampleMin = [...this._lastChannelConfig.downsampleMin];
997
+ this.channels.downsampleMax = [...this._lastChannelConfig.downsampleMax];
998
+ const restoredZarrChannel = this.channels.zarrMappings[channel];
999
+ if (restoredZarrChannel !== void 0 && restoredZarrChannel !== -1) {
1000
+ log.debug("Successfully restored channel mapping, continuing with upload");
1001
+ } else {
1002
+ log.error("Could not restore valid channel mapping, aborting brick upload");
1003
+ return;
1004
+ }
1005
+ } else {
1006
+ log.error("No fallback channel config available, aborting brick upload");
1007
+ return;
1008
+ }
873
1009
  }
874
1010
  log.debug("starting to load zarr chunk", { resolution, z, y, x, zarrChannel });
875
1011
  let chunk = await this.loadZarrChunk(0, zarrChannel, z, y, x, resolution);
@@ -939,6 +1075,7 @@ class VolumeDataManager {
939
1075
  if (ptRequests.length === 0)
940
1076
  return;
941
1077
  const slots = this._allocateBCSlots(ptRequests.length);
1078
+ log.debug("Handling brick requests:", { requestCount: ptRequests.length, slotCount: slots.length });
942
1079
  log.debug("handleBrickRequests: starting for loop");
943
1080
  for (let i = 0; i < ptRequests.length; ++i) {
944
1081
  log.debug("uploading brick", ptRequests[i], slots[i]);
@@ -3441,6 +3578,8 @@ function VolumeView(props) {
3441
3578
  useFrame((state, delta, xrFrame) => {
3442
3579
  if (!mrtRef.current || !dataManager || !renderManager)
3443
3580
  return;
3581
+ if (!renderState.shader)
3582
+ return;
3444
3583
  const { gl: frameGl, camera: frameCamera, scene: frameScene, clock } = state;
3445
3584
  if (!stillRef.current) {
3446
3585
  performGeometryPass(frameGl, frameCamera, frameScene, { mrtRef });
@@ -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-COS5slCL.js";
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-CjaAGVsZ.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-Cbe7_IQ9.js";
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-DSrlNsWT.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-BPmD8MJH.js"), []);
5030
+ } = suspend(async () => import("./troika-three-text.esm-DsxLD2q8.js"), []);
5031
5031
  const invalidate = useThree(({
5032
5032
  invalidate: invalidate2
5033
5033
  }) => invalidate2);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b$, bW, bU, bV, c3, c4, bX, cc, ca, c8, cb, c9, bT, c7, bY, bS, bR, c1, c0, c2, c6, c5, b_, ch, ck, ce, cl, cm, cf, ci, cj, cg, bZ, cd } from "./index-COS5slCL.js";
1
+ import { b$, bW, bU, bV, c3, c4, bX, cf, cd, cb, ce, cc, bT, ca, bY, bS, bR, c1, c7, c0, c2, c6, c5, b_, c8, c9, ck, cn, ch, co, cp, ci, cl, cm, cj, bZ, cg } from "./index-CjaAGVsZ.js";
2
2
  import "react";
3
3
  export {
4
4
  b$ as CoordinationLevel,
@@ -8,31 +8,34 @@ export {
8
8
  c3 as HINTS_CONFIG,
9
9
  c4 as HINT_TYPE_TO_FILE_TYPE_MAP,
10
10
  bX as OldCoordinationType,
11
- cc as PluginAsyncFunction,
12
- ca as PluginCoordinationType,
13
- c8 as PluginFileType,
14
- cb as PluginJointFileType,
15
- c9 as PluginViewType,
11
+ cf as PluginAsyncFunction,
12
+ cd as PluginCoordinationType,
13
+ cb as PluginFileType,
14
+ ce as PluginJointFileType,
15
+ cc as PluginViewType,
16
16
  bT as ViewType,
17
- c7 as Vitessce,
17
+ ca as Vitessce,
18
18
  bY as VitessceConfig,
19
19
  bS as decodeURLParamsToConf,
20
20
  bR as encodeConfInUrl,
21
21
  c1 as generateConfig,
22
+ c7 as generateConfigAlt,
22
23
  c0 as getCoordinationSpaceAndScopes,
23
24
  c2 as getHintOptions,
24
25
  c6 as getInitialCoordinationScopeName,
25
26
  c5 as getInitialCoordinationScopePrefix,
26
27
  b_ as hconcat,
27
- ch as useComplexCoordination,
28
- ck as useComplexCoordinationSecondary,
29
- ce as useCoordination,
30
- cl as useCoordinationScopes,
31
- cm as useCoordinationScopesBy,
32
- cf as useGridItemSize,
33
- ci as useMultiCoordinationScopesNonNull,
34
- cj as useMultiCoordinationScopesSecondaryNonNull,
35
- cg as usePageModeView,
28
+ c8 as parseUrls,
29
+ c9 as parseUrlsFromString,
30
+ ck as useComplexCoordination,
31
+ cn as useComplexCoordinationSecondary,
32
+ ch as useCoordination,
33
+ co as useCoordinationScopes,
34
+ cp as useCoordinationScopesBy,
35
+ ci as useGridItemSize,
36
+ cl as useMultiCoordinationScopesNonNull,
37
+ cm as useMultiCoordinationScopesSecondaryNonNull,
38
+ cj as usePageModeView,
36
39
  bZ as vconcat,
37
- cd as z
40
+ cg as z
38
41
  };
@@ -1,4 +1,4 @@
1
- import { aY as BaseDecoder } from "./index-COS5slCL.js";
1
+ import { aY as BaseDecoder } from "./index-CjaAGVsZ.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { aH as getDefaultExportFromCjs, aY as BaseDecoder, aZ as LercParameters, a_ as LercAddCompression } from "./index-COS5slCL.js";
2
+ import { aH as getDefaultExportFromCjs, aY as BaseDecoder, aZ as LercParameters, a_ as LercAddCompression } from "./index-CjaAGVsZ.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { aY as BaseDecoder } from "./index-COS5slCL.js";
1
+ import { aY as BaseDecoder } from "./index-CjaAGVsZ.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { aY as BaseDecoder } from "./index-COS5slCL.js";
1
+ import { aY as BaseDecoder } from "./index-CjaAGVsZ.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { aY as BaseDecoder } from "./index-COS5slCL.js";
1
+ import { aY as BaseDecoder } from "./index-CjaAGVsZ.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { bM as MeshDistanceMaterial, bN as MeshDepthMaterial, bO as RGBADepthPacking, ae as UniformsUtils, bP 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, aF as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bQ as InstancedBufferAttribute } from "./index-COS5slCL.js";
1
+ import { bM as MeshDistanceMaterial, bN as MeshDepthMaterial, bO as RGBADepthPacking, ae as UniformsUtils, bP 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, aF as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bQ as InstancedBufferAttribute } from "./index-CjaAGVsZ.js";
2
2
  function workerBootstrap() {
3
3
  var modules = /* @__PURE__ */ Object.create(null);
4
4
  function registerModule(ref, callback) {
@@ -1,4 +1,4 @@
1
- import { aY as BaseDecoder } from "./index-COS5slCL.js";
1
+ import { aY as BaseDecoder } from "./index-CjaAGVsZ.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/dev",
3
- "version": "3.8.5",
3
+ "version": "3.8.6",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -16,10 +16,10 @@
16
16
  "dist-tsc"
17
17
  ],
18
18
  "dependencies": {
19
- "@vitessce/all": "3.8.5",
20
- "@vitessce/constants": "3.8.5",
21
- "@vitessce/export-utils": "3.8.5",
22
- "@vitessce/config": "3.8.5"
19
+ "@vitessce/all": "3.8.6",
20
+ "@vitessce/config": "3.8.6",
21
+ "@vitessce/constants": "3.8.6",
22
+ "@vitessce/export-utils": "3.8.6"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.5.0",