@vitessce/dev 3.9.4 → 3.9.5

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,4 +1,4 @@
1
- import { aI as getDefaultExportFromCjs, aJ as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aK as PCFSoftShadowMap, aL as VSMShadowMap, aM as PCFShadowMap, aN as BasicShadowMap, aO as NoToneMapping, aP as ACESFilmicToneMapping, e as Vector3, V as Vector2, aQ as Clock, aR as WebGLRenderer, aS as Camera, x as BufferGeometry, r as Material, aT as Layers, a1 as Texture, aE as RGBAFormat, az as UnsignedByteType, C as Color, aj as _extends, aU as THREE, aV as EventDispatcher, aW as MOUSE, aX as TOUCH, aY as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-CjrZwFeM.js";
1
+ import { aI as getDefaultExportFromCjs, aJ as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aK as PCFSoftShadowMap, aL as VSMShadowMap, aM as PCFShadowMap, aN as BasicShadowMap, aO as NoToneMapping, aP as ACESFilmicToneMapping, e as Vector3, V as Vector2, aQ as Clock, aR as WebGLRenderer, aS as Camera, x as BufferGeometry, r as Material, aT as Layers, a1 as Texture, aE as RGBAFormat, az as UnsignedByteType, C as Color, aj as _extends, aU as THREE, aV as EventDispatcher, aW as MOUSE, aX as TOUCH, aY as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-BOSHQFXK.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,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { aI as getDefaultExportFromCjs, b3 as requireAssign, b4 as require_export, b5 as require_core, b6 as require_fails, b7 as require_toObject, b8 as require_objectKeys, b9 as require_cof, ba as require_wks, bb as require_iterators, bc as requireWeb_dom_iterable, bd as requireEs6_string_iterator, be as require_anObject, bf as require_hide, bg as require_ctx, bh as require_toLength, bi as require_global, bj as require_objectDp, bk as require_descriptors, bl as require_isObject, bm as require_objectCreate, bn as require_iterDefine, bo as require_iterStep, bp as require_meta, bq as require_isArray, br as require_iobject, bs as require_setToStringTag, bt as require_aFunction, bu as requireIterator, bv as require_propertyDesc, bw as require_root, bx as require_baseGetTag, by as requireIsObjectLike, bz as requireIsObject, bA as requireEs6_symbol, bB as requireDefineProperty, bC as require_toIobject, bD as require_objectGopd, bE as require_html, bF as require_domCreate, bG as require_library, bH as requireSymbol, bI as require_objectPie, bJ as require_has, bK as require_redefine, bL as require_objectAssign, bM as diffCameraState, ao as jsxRuntimeExports } from "./index-CjrZwFeM.js";
4
+ import { aI as getDefaultExportFromCjs, b3 as requireAssign, b4 as require_export, b5 as require_core, b6 as require_fails, b7 as require_toObject, b8 as require_objectKeys, b9 as require_cof, ba as require_wks, bb as require_iterators, bc as requireWeb_dom_iterable, bd as requireEs6_string_iterator, be as require_anObject, bf as require_hide, bg as require_ctx, bh as require_toLength, bi as require_global, bj as require_objectDp, bk as require_descriptors, bl as require_isObject, bm as require_objectCreate, bn as require_iterDefine, bo as require_iterStep, bp as require_meta, bq as require_isArray, br as require_iobject, bs as require_setToStringTag, bt as require_aFunction, bu as requireIterator, bv as require_propertyDesc, bw as require_root, bx as require_baseGetTag, by as requireIsObjectLike, bz as requireIsObject, bA as requireEs6_symbol, bB as requireDefineProperty, bC as require_toIobject, bD as require_objectGopd, bE as require_html, bF as require_domCreate, bG as require_library, bH as requireSymbol, bI as require_objectPie, bJ as require_has, bK as require_redefine, bL as require_objectAssign, bM as diffCameraState, ao as jsxRuntimeExports } from "./index-BOSHQFXK.js";
5
5
  import React__default from "react";
6
6
  var assignExports = requireAssign();
7
7
  const _Object$assign = /* @__PURE__ */ getDefaultExportFromCjs(assignExports);
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { aZ as BaseDecoder } from "./index-CjrZwFeM.js";
2
+ import { aZ as BaseDecoder } from "./index-BOSHQFXK.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 { b0 as commonjsGlobal$1, b1 as requireObjectAssign, aI as getDefaultExportFromCjs$1, b2 as earcut } from "./index-CjrZwFeM.js";
4
+ import { b0 as commonjsGlobal$1, b1 as requireObjectAssign, aI as getDefaultExportFromCjs$1, b2 as earcut } from "./index-BOSHQFXK.js";
5
5
  var promise = {};
6
6
  var hasRequiredPromise;
7
7
  function requirePromise() {
@@ -1357,7 +1357,7 @@ const COMPONENT_COORDINATION_TYPES = {
1357
1357
  CoordinationType$2.HIERARCHY_LEVELS
1358
1358
  ]
1359
1359
  };
1360
- const version$6 = "3.9.4";
1360
+ const version$6 = "3.9.5";
1361
1361
  const META_VERSION = {
1362
1362
  version: version$6
1363
1363
  };
@@ -230317,22 +230317,22 @@ async function getDecoder(fileDirectory) {
230317
230317
  const Decoder = await importFn();
230318
230318
  return new Decoder(fileDirectory);
230319
230319
  }
230320
- addDecoder([void 0, 1], () => import("./raw-DaPh9zAH.js").then((m2) => m2.default));
230321
- addDecoder(5, () => import("./lzw-BzR9EnvE.js").then((m2) => m2.default));
230320
+ addDecoder([void 0, 1], () => import("./raw-C9wxSTEx.js").then((m2) => m2.default));
230321
+ addDecoder(5, () => import("./lzw-CzubbbMJ.js").then((m2) => m2.default));
230322
230322
  addDecoder(6, () => {
230323
230323
  throw new Error("old style JPEG compression is not supported.");
230324
230324
  });
230325
- addDecoder(7, () => import("./jpeg-BPMAfJb0.js").then((m2) => m2.default));
230326
- addDecoder([8, 32946], () => import("./deflate-C0I5gtks.js").then((m2) => m2.default));
230327
- addDecoder(32773, () => import("./packbits-Ce-hCmNg.js").then((m2) => m2.default));
230325
+ addDecoder(7, () => import("./jpeg-BVOGozQR.js").then((m2) => m2.default));
230326
+ addDecoder([8, 32946], () => import("./deflate-bMqc070m.js").then((m2) => m2.default));
230327
+ addDecoder(32773, () => import("./packbits-h_xMBVqr.js").then((m2) => m2.default));
230328
230328
  addDecoder(
230329
230329
  34887,
230330
- () => import("./lerc-iE1wd1ee.js").then(async (m2) => {
230330
+ () => import("./lerc-mli9SB1o.js").then(async (m2) => {
230331
230331
  await m2.zstd.init();
230332
230332
  return m2;
230333
230333
  }).then((m2) => m2.default)
230334
230334
  );
230335
- addDecoder(50001, () => import("./webimage-JIdmi6ST.js").then((m2) => m2.default));
230335
+ addDecoder(50001, () => import("./webimage-D4la8kDB.js").then((m2) => m2.default));
230336
230336
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
230337
230337
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
230338
230338
  }
@@ -271745,12 +271745,12 @@ class ErrorBoundary2 extends React__default.Component {
271745
271745
  }
271746
271746
  }
271747
271747
  const LazySpatialThree = React__default.lazy(async () => {
271748
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index--WefMKNj.js");
271748
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-iE6KBbYh.js");
271749
271749
  return { default: SpatialWrapper2 };
271750
271750
  });
271751
271751
  const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary2, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
271752
271752
  const LazySpatialAccelerated = React__default.lazy(async () => {
271753
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-BlJhBB2A.js");
271753
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-oeCOA2zP.js");
271754
271754
  return { default: SpatialWrapper2 };
271755
271755
  });
271756
271756
  const SpatialAcceleratedAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary2, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialAccelerated, { ...props }) }) }) }));
@@ -284082,7 +284082,7 @@ function HiglassGlobalStyles(props) {
284082
284082
  }
284083
284083
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
284084
284084
  const LazyHiGlassComponent = React__default.lazy(async () => {
284085
- const { HiGlassComponent } = await import("./higlass-BwvPxncu.js");
284085
+ const { HiGlassComponent } = await import("./higlass-B7oMqAJq.js");
284086
284086
  return { default: HiGlassComponent };
284087
284087
  });
284088
284088
  const HG_SIZE = 800;
@@ -287029,7 +287029,7 @@ function NeuroglancerGlobalStyles(props) {
287029
287029
  const { classes: classes2 } = props;
287030
287030
  return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
287031
287031
  }
287032
- const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-D5cizHry.js"));
287032
+ const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-BKhY1M3y.js"));
287033
287033
  function createWorker() {
287034
287034
  return new WorkerFactory();
287035
287035
  }
@@ -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-CjrZwFeM.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-BOSHQFXK.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-C07_Mag2.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-g3V6AQrL.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-x33bJ1eV.js"), []);
5030
+ } = suspend(async () => import("./troika-three-text.esm-DwvolRZ3.js"), []);
5031
5031
  const invalidate = useThree(({
5032
5032
  invalidate: invalidate2
5033
5033
  }) => invalidate2);
@@ -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, aG as useEventCallback, ao as jsxRuntimeExports, aH as GLSL3, am as BackSide } from "./index-CjrZwFeM.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, aG as useEventCallback, ao as jsxRuntimeExports, aH as GLSL3, am as BackSide } from "./index-BOSHQFXK.js";
2
2
  import { useRef, useState, useMemo, useEffect, Suspense } from "react";
3
- import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-C07_Mag2.js";
3
+ import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-g3V6AQrL.js";
4
4
  const BRICK_SIZE = 32;
5
5
  const BRICK_CACHE_SIZE_X = 64;
6
6
  const BRICK_CACHE_SIZE_Y = 64;
@@ -174,9 +174,17 @@ function _ptToZarr(ptx, pty, ptz, ptInfo) {
174
174
  z
175
175
  };
176
176
  }
177
- function _requestBufferToRequestObjects(buffer, k) {
177
+ const DEFAULT_SIGMA_NORMALIZED = 0.25;
178
+ function _requestBufferToRequestObjects(buffer, k, optsForWeighting) {
178
179
  const counts = /* @__PURE__ */ new Map();
179
- for (let i = 0; i < buffer.length; i += 4) {
180
+ const { width, height, sigmaNormalized } = optsForWeighting;
181
+ const useWeighting = Number.isInteger(width) && Number.isInteger(height) && width > 0 && height > 0 && typeof sigmaNormalized === "number";
182
+ if (!useWeighting) {
183
+ log.warn("_requestBufferToRequestObjects: proceeding without weighting");
184
+ }
185
+ const maxPixels = Math.floor(buffer.length / 4);
186
+ for (let pix = 0; pix < maxPixels; pix += 1) {
187
+ const i = pix * 4;
180
188
  const r = buffer[i];
181
189
  const g = buffer[i + 1];
182
190
  const b = buffer[i + 2];
@@ -185,7 +193,17 @@ function _requestBufferToRequestObjects(buffer, k) {
185
193
  continue;
186
194
  }
187
195
  const packed = (r << 24 | g << 16 | b << 8 | a) >>> 0;
188
- counts.set(packed, (counts.get(packed) || 0) + 1);
196
+ let weight = 1;
197
+ if (useWeighting) {
198
+ const x = pix % width;
199
+ const y = Math.floor(pix / width);
200
+ const dx = x - width / 2;
201
+ const dy = y - height / 2;
202
+ const nd = Math.sqrt(dx * dx / (width * width) + dy * dy / (height * height));
203
+ const norm = nd / sigmaNormalized;
204
+ weight = Math.exp(-0.5 * norm * norm);
205
+ }
206
+ counts.set(packed, (counts.get(packed) || 0) + weight);
189
207
  }
190
208
  const requests = [...counts.entries()].sort((a, b) => b[1] - a[1]).slice(0, k).map(([packed]) => ({
191
209
  x: packed >> 22 & 1023,
@@ -842,7 +860,19 @@ class VolumeDataManager {
842
860
  }
843
861
  return chunkEntry.data;
844
862
  }
845
- async processRequestData(buffer) {
863
+ /**
864
+ * Process the buffer of brick requests from the shader, turning them into
865
+ * actual Promises for Zarr chunks on the JS side.
866
+ * @param {Uint8Array} buffer The bufRequest (of length width*height*4)
867
+ * containing the brick requests from the shader.
868
+ * @param {object} optsForWeighting
869
+ * @param {number} optsForWeighting.width The width of the render target.
870
+ * @param {number} optsForWeighting.height The height of the render target.
871
+ * @param {number} optsForWeighting.sigmaNormalized The normalized sigma value
872
+ * to use for weighting the brick requests based on their distance from
873
+ * the center of the render target.
874
+ */
875
+ async processRequestData(buffer, optsForWeighting) {
846
876
  if (this.isBusy) {
847
877
  log.debug("processRequestData: already busy, skipping");
848
878
  return;
@@ -857,7 +887,7 @@ class VolumeDataManager {
857
887
  }
858
888
  this.isBusy = true;
859
889
  this.triggerRequest = false;
860
- const { requests, origRequestCount } = _requestBufferToRequestObjects(buffer, this.k);
890
+ const { requests, origRequestCount } = _requestBufferToRequestObjects(buffer, this.k, optsForWeighting);
861
891
  if (requests.length === 0) {
862
892
  this.noNewRequests = true;
863
893
  }
@@ -3420,7 +3450,14 @@ function handleRequests(_gl, { frameRef, dataManager, mrtRef, bufRequest, bufUsa
3420
3450
  ctx.bindFramebuffer(ctx.READ_FRAMEBUFFER, framebufferFor(_gl, mrtRef.current));
3421
3451
  ctx.readBuffer(ctx.COLOR_ATTACHMENT1);
3422
3452
  ctx.readPixels(0, 0, mrtRef.current.width, mrtRef.current.height, ctx.RGBA, ctx.UNSIGNED_BYTE, bufRequest.current);
3423
- dataManager.processRequestData(bufRequest.current);
3453
+ dataManager.processRequestData(bufRequest.current, {
3454
+ // If width/height are not yet available,
3455
+ // processRequestData will proceed without weighting.
3456
+ width: mrtRef?.current?.width,
3457
+ height: mrtRef?.current?.height,
3458
+ // Default sigmaNormalized = 0.25; can be tuned
3459
+ sigmaNormalized: DEFAULT_SIGMA_NORMALIZED
3460
+ });
3424
3461
  } else if (dataManager.triggerUsage === true && dataManager.noNewRequests === false) {
3425
3462
  ctx.bindFramebuffer(ctx.READ_FRAMEBUFFER, framebufferFor(_gl, mrtRef.current));
3426
3463
  ctx.readBuffer(ctx.COLOR_ATTACHMENT2);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c0, bX, bV, bW, c4, c5, bY, cg, ce, cc, cf, cd, bU, cb, bZ, bT, bS, c2, c8, c1, c3, c7, c6, b$, c9, ca, cl, co, ci, cp, cq, cj, cm, cn, ck, b_, ch } from "./index-CjrZwFeM.js";
1
+ import { c0, bX, bV, bW, c4, c5, bY, cg, ce, cc, cf, cd, bU, cb, bZ, bT, bS, c2, c8, c1, c3, c7, c6, b$, c9, ca, cl, co, ci, cp, cq, cj, cm, cn, ck, b_, ch } from "./index-BOSHQFXK.js";
2
2
  import "react";
3
3
  export {
4
4
  c0 as CoordinationLevel,
@@ -1,4 +1,4 @@
1
- import { aZ as BaseDecoder } from "./index-CjrZwFeM.js";
1
+ import { aZ as BaseDecoder } from "./index-BOSHQFXK.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 { aI as getDefaultExportFromCjs, aZ as BaseDecoder, a_ as LercParameters, a$ as LercAddCompression } from "./index-CjrZwFeM.js";
2
+ import { aI as getDefaultExportFromCjs, aZ as BaseDecoder, a_ as LercParameters, a$ as LercAddCompression } from "./index-BOSHQFXK.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { aZ as BaseDecoder } from "./index-CjrZwFeM.js";
1
+ import { aZ as BaseDecoder } from "./index-BOSHQFXK.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 { aZ as BaseDecoder } from "./index-CjrZwFeM.js";
1
+ import { aZ as BaseDecoder } from "./index-BOSHQFXK.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { aZ as BaseDecoder } from "./index-CjrZwFeM.js";
1
+ import { aZ as BaseDecoder } from "./index-BOSHQFXK.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { bN as MeshDistanceMaterial, bO as MeshDepthMaterial, bP as RGBADepthPacking, ae as UniformsUtils, bQ 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, bR as InstancedBufferAttribute } from "./index-CjrZwFeM.js";
1
+ import { bN as MeshDistanceMaterial, bO as MeshDepthMaterial, bP as RGBADepthPacking, ae as UniformsUtils, bQ 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, bR as InstancedBufferAttribute } from "./index-BOSHQFXK.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 { aZ as BaseDecoder } from "./index-CjrZwFeM.js";
1
+ import { aZ as BaseDecoder } from "./index-BOSHQFXK.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.9.4",
3
+ "version": "3.9.5",
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.9.4",
20
- "@vitessce/config": "3.9.4",
21
- "@vitessce/constants": "3.9.4",
22
- "@vitessce/export-utils": "3.9.4"
19
+ "@vitessce/all": "3.9.5",
20
+ "@vitessce/config": "3.9.5",
21
+ "@vitessce/constants": "3.9.5",
22
+ "@vitessce/export-utils": "3.9.5"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.5.0",