vitessce 3.9.8 → 3.9.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.
@@ -1,4 +1,4 @@
1
- import { aI as vs, aJ as gs, W as sr, K as ar, av as Qu, aK as Ao, aL as Qa, aM as Ya, aN as Va, aO as Xa, aP as Ka, e as Te, V as tt, aQ as Ga, aR as Za, aS as Ja, x as qa, r as $a, aT as Fo, a1 as ba, aE as ec, az as tc, C as nc, aj as ti, aU as rc, aV as lc, aW as xn, aX as zn, aY as Yu, Q as Vu, an as oc, ak as ic } from "./index-Lh_L2nvG.js";
1
+ import { aI as vs, aJ as gs, W as sr, K as ar, av as Qu, aK as Ao, aL as Qa, aM as Ya, aN as Va, aO as Xa, aP as Ka, e as Te, V as tt, aQ as Ga, aR as Za, aS as Ja, x as qa, r as $a, aT as Fo, a1 as ba, aE as ec, az as tc, C as nc, aj as ti, aU as rc, aV as lc, aW as xn, aX as zn, aY as Yu, Q as Vu, an as oc, ak as ic } from "./index-CoGvuUCw.js";
2
2
  import * as X from "react";
3
3
  import uc, { useReducer as sc, useRef as Gt, useEffect as Nn, useLayoutEffect as ac, useDebugValue as cc, useState as fc, useMemo as dc } from "react";
4
4
  var Uo = { exports: {} }, Xt = {};
@@ -1,7 +1,7 @@
1
1
  var f_ = Object.defineProperty;
2
2
  var p_ = (i, e, t) => e in i ? f_(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
3
  var Qn = (i, e, t) => p_(i, typeof e != "symbol" ? e + "" : e, t);
4
- import { aI as Qe, b2 as g_, b3 as Ot, b4 as ut, b5 as Hv, b6 as qv, b7 as $k, b8 as jv, b9 as Nr, ba as Jv, bb as aa, bc as Ro, bd as Ao, be as Gk, bf as oa, bg as qu, bh as Or, bi as ju, bj as Ju, bk as xs, bl as m_, bm as v_, bn as y_, bo as Ku, bp as S_, bq as b_, br as Wk, bs as Yu, bt as w_, bu as C_, bv as x_, bw as E_, bx as k_, by as Kv, bz as Hk, bA as T_, bB as Yv, bC as L_, bD as D_, bE as I_, bF as P_, bG as R_, bH as A_, bI as __, bJ as M_, bK as N_, bL as O_, ao as Hb } from "./index-Lh_L2nvG.js";
4
+ import { aI as Qe, b2 as g_, b3 as Ot, b4 as ut, b5 as Hv, b6 as qv, b7 as $k, b8 as jv, b9 as Nr, ba as Jv, bb as aa, bc as Ro, bd as Ao, be as Gk, bf as oa, bg as qu, bh as Or, bi as ju, bj as Ju, bk as xs, bl as m_, bm as v_, bn as y_, bo as Ku, bp as S_, bq as b_, br as Wk, bs as Yu, bt as w_, bu as C_, bv as x_, bw as E_, bx as k_, by as Kv, bz as Hk, bA as T_, bB as Yv, bC as L_, bD as D_, bE as I_, bF as P_, bG as R_, bH as A_, bI as __, bJ as M_, bK as N_, bL as O_, ao as Hb } from "./index-CoGvuUCw.js";
5
5
  import qb from "react";
6
6
  var V_ = g_();
7
7
  const H = /* @__PURE__ */ Qe(V_);
@@ -1,5 +1,5 @@
1
1
  import { i as r } from "./pako.esm-D68R8YXe.js";
2
- import { aZ as a } from "./index-Lh_L2nvG.js";
2
+ import { aZ as a } from "./index-CoGvuUCw.js";
3
3
  class s extends a {
4
4
  decodeBlock(e) {
5
5
  return r(new Uint8Array(e)).buffer;
@@ -1,7 +1,7 @@
1
1
  import * as iK from "react";
2
2
  import C, { isValidElement as oK, PureComponent as c1, Component as Ps, createElement as av, createContext as aK, createRef as jC } from "react";
3
3
  import Xo, { findDOMNode as BC } from "react-dom";
4
- import { b0 as sv, aI as W0, b1 as FC } from "./index-Lh_L2nvG.js";
4
+ import { b0 as sv, aI as W0, b1 as FC } from "./index-CoGvuUCw.js";
5
5
  var pm = {}, oI;
6
6
  function sK() {
7
7
  return oI || (oI = 1, function(t) {
@@ -1,7 +1,7 @@
1
- import { G as Ge, M as J, T as di, a as vn, b as Bs, R as Ds, L as hi, c as Xe, F as Os, d as Re, V as k, C as Ue, S as pi, P as mi, D as gi, e as L, I as xi, Q as Fs, O as Fn, f as yi, g as vi, B as _t, h as Ai, i as Us, N as _i, j as Ti, k as wi, l as Wt, m as Si, n as An, o as bi, p as Ei, q as Mi, r as Jt, s as Li, t as Un, u as zs, v as ke, w as Ci, x as js, y as Pi, z as ze, A as Ri, E as Ii, H as Ni, J as Bi, K as Di, U as Hs, W as Oi, X as Fi, Y as Ui, Z as ks, _ as zi, $ as ji, a0 as Ve, a1 as qn, a2 as Hi, a3 as Kn, a4 as ki, a5 as at, a6 as Vi, a7 as Y, a8 as ct, a9 as Gi, aa as Wn, ab as _n, ac as Xi, ad as qi, ae as Tn, af as $n, ag as bt, ah as Ee, ai as Ki, aj as St, ak as Vs, al as vt, am as Gs, an as Wi, ao as N, ap as $i, aq as ue, ar as Yi, as as Zi, at as Qi, au as Ji, av as eo } from "./index-Lh_L2nvG.js";
1
+ import { G as Ge, M as J, T as di, a as vn, b as Bs, R as Ds, L as hi, c as Xe, F as Os, d as Re, V as k, C as Ue, S as pi, P as mi, D as gi, e as L, I as xi, Q as Fs, O as Fn, f as yi, g as vi, B as _t, h as Ai, i as Us, N as _i, j as Ti, k as wi, l as Wt, m as Si, n as An, o as bi, p as Ei, q as Mi, r as Jt, s as Li, t as Un, u as zs, v as ke, w as Ci, x as js, y as Pi, z as ze, A as Ri, E as Ii, H as Ni, J as Bi, K as Di, U as Hs, W as Oi, X as Fi, Y as Ui, Z as ks, _ as zi, $ as ji, a0 as Ve, a1 as qn, a2 as Hi, a3 as Kn, a4 as ki, a5 as at, a6 as Vi, a7 as Y, a8 as ct, a9 as Gi, aa as Wn, ab as _n, ac as Xi, ad as qi, ae as Tn, af as $n, ag as bt, ah as Ee, ai as Ki, aj as St, ak as Vs, al as vt, am as Gs, an as Wi, ao as N, ap as $i, aq as ue, ar as Yi, as as Zi, at as Qi, au as Ji, av as eo } from "./index-CoGvuUCw.js";
2
2
  import * as C from "react";
3
3
  import { useRef as Fe, useEffect as qt, useState as oe, forwardRef as to } from "react";
4
- import { u as Ce, a as lt, c as Xs, e as qs, b as wn, O as no, C as so } from "./OrbitControls-D_35Lmef.js";
4
+ import { u as Ce, a as lt, c as Xs, e as qs, b as wn, O as no, C as so } from "./OrbitControls-z_0GLqk2.js";
5
5
  const io = (r) => typeof r == "object" && typeof r.then == "function", Mt = [];
6
6
  function oo(r, e, t = (s, n) => s === n) {
7
7
  if (r === e) return !0;
@@ -3346,7 +3346,7 @@ const Mr = /* @__PURE__ */ C.forwardRef(function({
3346
3346
  const {
3347
3347
  Text: u,
3348
3348
  preloadFont: f
3349
- } = Yn(async () => import("./troika-three-text.esm-DxGGCFY9.js"), []), d = Ce(({
3349
+ } = Yn(async () => import("./troika-three-text.esm-hSuq1e_H.js"), []), d = Ce(({
3350
3350
  invalidate: x
3351
3351
  }) => x), [h] = C.useState(() => new u()), [y, A] = C.useMemo(() => {
3352
3352
  const x = [];
@@ -1294,7 +1294,7 @@ const n3t = {
1294
1294
  re.SAMPLE_HIGHLIGHT,
1295
1295
  re.HIERARCHY_LEVELS
1296
1296
  ]
1297
- }, r3t = "3.9.8", o3t = {
1297
+ }, r3t = "3.9.9", o3t = {
1298
1298
  version: r3t
1299
1299
  }, yY = ["z", "t"], cct = "Min/Max", s3t = {
1300
1300
  opacity: 1,
@@ -159672,19 +159672,19 @@ async function e0i(t) {
159672
159672
  const n = await e();
159673
159673
  return new n(t);
159674
159674
  }
159675
- TR([void 0, 1], () => import("./raw-CZo0mf9j.js").then((t) => t.default));
159676
- TR(5, () => import("./lzw-DxkDYaHu.js").then((t) => t.default));
159675
+ TR([void 0, 1], () => import("./raw-Bdjrijly.js").then((t) => t.default));
159676
+ TR(5, () => import("./lzw-CqgNgHcv.js").then((t) => t.default));
159677
159677
  TR(6, () => {
159678
159678
  throw new Error("old style JPEG compression is not supported.");
159679
159679
  });
159680
- TR(7, () => import("./jpeg-Dd3y6ZAP.js").then((t) => t.default));
159681
- TR([8, 32946], () => import("./deflate-Be1hgzWU.js").then((t) => t.default));
159682
- TR(32773, () => import("./packbits-BKt2Yorx.js").then((t) => t.default));
159680
+ TR(7, () => import("./jpeg-BlaLkNo6.js").then((t) => t.default));
159681
+ TR([8, 32946], () => import("./deflate-Be9Tzo_F.js").then((t) => t.default));
159682
+ TR(32773, () => import("./packbits-fWwqpH6m.js").then((t) => t.default));
159683
159683
  TR(
159684
159684
  34887,
159685
- () => import("./lerc-rHG43_TC.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
159685
+ () => import("./lerc-n5GTkk5D.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
159686
159686
  );
159687
- TR(50001, () => import("./webimage-BGafESl6.js").then((t) => t.default));
159687
+ TR(50001, () => import("./webimage-rLaU0UvY.js").then((t) => t.default));
159688
159688
  function are(t, e, n, i = 1) {
159689
159689
  return new (Object.getPrototypeOf(t)).constructor(e * n * i);
159690
159690
  }
@@ -188690,10 +188690,10 @@ class LZt extends pn.Component {
188690
188690
  }
188691
188691
  }
188692
188692
  const i2i = pn.lazy(async () => {
188693
- const { SpatialWrapper: t } = await import("./index-CwlGK_NN.js");
188693
+ const { SpatialWrapper: t } = await import("./index-Cbn3KdIH.js");
188694
188694
  return { default: t };
188695
188695
  }), r2i = pn.forwardRef((t, e) => D.jsx("div", { ref: e, style: { width: "100%", height: "100%" }, children: D.jsx(LZt, { children: D.jsx(yX, { fallback: D.jsx("div", { children: "Loading..." }), children: D.jsx(i2i, { ...t }) }) }) })), o2i = pn.lazy(async () => {
188696
- const { SpatialWrapper: t } = await import("./index-DVqwP-AB.js");
188696
+ const { SpatialWrapper: t } = await import("./index-mrZfq-JA.js");
188697
188697
  return { default: t };
188698
188698
  }), s2i = pn.forwardRef((t, e) => D.jsx("div", { ref: e, style: { width: "100%", height: "100%" }, children: D.jsx(LZt, { children: D.jsx(yX, { fallback: D.jsx("div", { children: "Loading..." }), children: D.jsx(o2i, { ...t }) }) }) })), OZt = "first";
188699
188699
  function a2i({ multiExpressionData: t, layerScopes: e, layerCoordination: n }) {
@@ -195637,7 +195637,7 @@ function ewi(t) {
195637
195637
  }, [C, E]), z = Rn((te, Ae) => b(Ae), [b]);
195638
195638
  Rn(() => g((te) => !te), []);
195639
195639
  const [ne, Ue] = Zn(0), { featureIndex: fe } = s || {}, he = Array.isArray(f) && f.length > 0;
195640
- return D.jsxs(Kt, { className: Ie.layerControllerGrid, children: [D.jsxs(Rc, { elevation: 4, className: Ie.layerControllerRoot, children: [D.jsxs(Kt, { container: !0, direction: "row", justifyContent: "space-between", children: [D.jsx(Kt, { size: 1, children: D.jsx(CA, { onClick: Ce, className: oe.imageLayerVisibleButton, "aria-label": "Toggle layer visibility", children: D.jsx(P, {}) }) }), D.jsx(Kt, { size: 1, children: D.jsx(yG, { theme: e, color: Se, setColor: de, palette: o, isStaticColor: ae, isColormap: Re, featureValueColormap: F, visible: C }) }), D.jsx(Kt, { size: 6, children: D.jsx(Go, { className: oe.imageLayerName, children: L }) }), D.jsx(Kt, { size: 2, children: D.jsx(qo, { value: d, min: 0, max: 1, step: 1e-3, onChange: z, className: oe.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": `Adjust opacity for layer ${L}` }) }), D.jsx(Kt, { size: 1, children: D.jsx($1i, { featureSelection: f, obsColorEncoding: u, setObsColorEncoding: V, featureValueColormapRange: U, setFeatureValueColormapRange: W, tooltipsVisible: Q, setTooltipsVisible: T, tooltipCrosshairsVisible: R, setTooltipCrosshairsVisible: _, legendVisible: S, setLegendVisible: M, featureFilterMode: B, setFeatureFilterMode: v }) }), D.jsxs(Kt, { size: 1, container: !0, direction: "row", children: [D.jsx(iUe, { className: be.layerTypePointIcon }), null] })] }), c < 1 ? D.jsx(Kt, { size: 12, container: !0, direction: "column", justifyContent: "space-between", className: be.pointFeatureControllerGrid, children: D.jsx(Yte, { variant: c === 0 ? "indeterminate" : "determinate", value: c * 100 }) }) : null, null] }), he ? D.jsxs(D.Fragment, { children: [f.map((te) => D.jsx(j1i, { theme: e, featureName: te, featureColor: h, setFeatureColor: Z, spatialLayerColor: m, featureIndex: fe, featureValueColormap: F, featureSelection: f, setFeatureSelection: N, obsColorEncoding: u, loadingDoneFraction: c, opacity: d, handleOpacityChange: z }, te)), D.jsx(Kt, { className: Ie.layerControllerGrid, children: D.jsx(Rc, { elevation: 2, className: Ie.layerControllerSubRow, children: D.jsxs(Kt, { container: !0, direction: "row", justifyContent: "space-between", children: [D.jsx(Kt, { size: 1, children: D.jsx(CA, { onClick: () => v(B === "featureSelection" ? null : "featureSelection"), className: oe.imageLayerVisibleButton, "aria-label": "Toggle visibility of unselected points", children: B === "featureSelection" ? D.jsx(Gw, {}) : D.jsx(ww, {}) }) }), D.jsx(Kt, { size: 1, children: D.jsx(yG, { theme: e, color: va("dark"), setColor: null, isStaticColor: !0, isColormap: !1, visible: !0 }) }), D.jsx(Kt, { size: 6, children: D.jsx(Go, { className: oe.imageLayerName, children: "Unselected" }) }), D.jsx(Kt, { size: 2, sx: { paddingRight: "12px", overflow: "visible" }, children: D.jsx(qo, { value: d, min: 0, max: 1, step: 1e-3, onChange: z, className: oe.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": "Adjust opacity for unselected layer" }) }), D.jsx(Kt, { size: 1, children: D.jsx(iUe, { className: be.layerTypePointIcon }) })] }) }) })] }) : null] });
195640
+ return D.jsxs(Kt, { className: Ie.layerControllerGrid, children: [D.jsxs(Rc, { elevation: 4, className: Ie.layerControllerRoot, children: [D.jsxs(Kt, { container: !0, direction: "row", justifyContent: "space-between", children: [D.jsx(Kt, { size: 1, children: D.jsx(CA, { onClick: Ce, className: oe.imageLayerVisibleButton, "aria-label": "Toggle layer visibility", children: D.jsx(P, {}) }) }), D.jsx(Kt, { size: 1, children: D.jsx(yG, { theme: e, color: Se, setColor: de, palette: o, isStaticColor: ae, isColormap: Re, featureValueColormap: F, visible: C }) }), D.jsx(Kt, { size: 6, children: D.jsx(Go, { className: oe.imageLayerName, children: L }) }), D.jsx(Kt, { size: 2, children: D.jsx(qo, { value: d, min: 0, max: 1, step: 1e-3, onChange: z, className: oe.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": `Adjust opacity for layer ${L}` }) }), D.jsx(Kt, { size: 1, children: D.jsx($1i, { featureSelection: f, obsColorEncoding: u, setObsColorEncoding: V, featureValueColormapRange: U, setFeatureValueColormapRange: W, tooltipsVisible: Q, setTooltipsVisible: T, tooltipCrosshairsVisible: R, setTooltipCrosshairsVisible: _, legendVisible: S, setLegendVisible: M, featureFilterMode: B, setFeatureFilterMode: v }) }), D.jsxs(Kt, { size: 1, container: !0, direction: "row", children: [D.jsx(iUe, { className: be.layerTypePointIcon }), null] })] }), c < 1 ? D.jsx(Kt, { size: 12, container: !0, direction: "column", justifyContent: "space-between", className: be.pointFeatureControllerGrid, children: D.jsx(Yte, { variant: c === 0 ? "indeterminate" : "determinate", value: c * 100 }) }) : null, null] }), A && he ? D.jsxs(D.Fragment, { children: [f.map((te) => D.jsx(j1i, { theme: e, featureName: te, featureColor: h, setFeatureColor: Z, spatialLayerColor: m, featureIndex: fe, featureValueColormap: F, featureSelection: f, setFeatureSelection: N, obsColorEncoding: u, loadingDoneFraction: c, opacity: d, handleOpacityChange: z }, te)), D.jsx(Kt, { className: Ie.layerControllerGrid, children: D.jsx(Rc, { elevation: 2, className: Ie.layerControllerSubRow, children: D.jsxs(Kt, { container: !0, direction: "row", justifyContent: "space-between", children: [D.jsx(Kt, { size: 1, children: D.jsx(CA, { onClick: () => v(B === "featureSelection" ? null : "featureSelection"), className: oe.imageLayerVisibleButton, "aria-label": "Toggle visibility of unselected points", children: B === "featureSelection" ? D.jsx(Gw, {}) : D.jsx(ww, {}) }) }), D.jsx(Kt, { size: 1, children: D.jsx(yG, { theme: e, color: va("dark"), setColor: null, isStaticColor: !0, isColormap: !1, visible: !0 }) }), D.jsx(Kt, { size: 6, children: D.jsx(Go, { className: oe.imageLayerName, children: "Unselected" }) }), D.jsx(Kt, { size: 2, sx: { paddingRight: "12px", overflow: "visible" }, children: D.jsx(qo, { value: d, min: 0, max: 1, step: 1e-3, onChange: z, className: oe.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": "Adjust opacity for unselected layer" }) }), D.jsx(Kt, { size: 1, children: D.jsx(iUe, { className: be.layerTypePointIcon }) })] }) }) })] }) : null] });
195641
195641
  }
195642
195642
  const WNt = cr()(() => ({
195643
195643
  layerTypeSegmentationIcon: {
@@ -197574,7 +197574,7 @@ function MNt(t) {
197574
197574
  }
197575
197575
  Wwi({ dataFetcher: wpe, config: wpe.config }, { pluginType: "dataFetcher" });
197576
197576
  const EGi = pn.lazy(async () => {
197577
- const { HiGlassComponent: t } = await import("./higlass-BrqTsrI7.js");
197577
+ const { HiGlassComponent: t } = await import("./higlass-Drd_iixN.js");
197578
197578
  return { default: t };
197579
197579
  }), JK = 800;
197580
197580
  function yGi(t, e) {
@@ -200448,7 +200448,7 @@ function xGi(t) {
200448
200448
  const { classes: e } = t;
200449
200449
  return D.jsxs(D.Fragment, { children: [D.jsx(Ebe, { styles: DGi }), D.jsx(YT, { styles: kGi, parentClassName: e.neuroglancerWrapper })] });
200450
200450
  }
200451
- const MGi = pn.lazy(() => import("./ReactNeuroglancer-CNJu83Py.js"));
200451
+ const MGi = pn.lazy(() => import("./ReactNeuroglancer-B0PE_pfg.js"));
200452
200452
  function _Gi() {
200453
200453
  const t = new wGi();
200454
200454
  return t.AsyncComputationWorker = GGi, t;
@@ -261402,9 +261402,19 @@ class lc extends kV {
261402
261402
  const { dtype: d } = await Pa(n.resolve(`${o}/${s}`), { kind: "array" });
261403
261403
  (d === "v2:object" || d === "|O") && (A = await this.getFlatArrDecompressed(`${o}/${s}`));
261404
261404
  } else if (a === "categorical") {
261405
- const { dtype: d } = await Pa(n.resolve(`${i}/categories`), { kind: "array" });
261406
- (d === "v2:object" || d === "|O") && (A = await this.getFlatArrDecompressed(`${i}/categories`)), l = `${i}/codes`;
261405
+ const u = (await this.getJson(`${i}/categories/.zattrs`))?.["encoding-type"];
261406
+ if (u === "nullable-string-array")
261407
+ A = await this.getFlatArrDecompressed(`${i}/categories/values`);
261408
+ else if (u === "string-array")
261409
+ A = await this.getFlatArrDecompressed(`${i}/categories`);
261410
+ else {
261411
+ const { dtype: h } = await Pa(n.resolve(`${i}/categories`), { kind: "array" });
261412
+ (h === "v2:object" || h === "|O") && (A = await this.getFlatArrDecompressed(`${i}/categories`));
261413
+ }
261414
+ l = `${i}/codes`;
261407
261415
  } else {
261416
+ if (a === "nullable-string-array")
261417
+ return this.getFlatArrDecompressed(`${i}/values`);
261408
261418
  if (a === "string-array")
261409
261419
  return this.getFlatArrDecompressed(i);
261410
261420
  {
@@ -263236,7 +263246,8 @@ class sBr extends Ga {
263236
263246
  if (this.locations)
263237
263247
  return this.locations;
263238
263248
  let n;
263239
- if (await this.dataSource.getPointsFormatVersion(e) === "0.1")
263249
+ const i = await this.dataSource.getPointsFormatVersion(e);
263250
+ if (i === "0.1" || i === "0.2")
263240
263251
  n = await this.dataSource.loadPoints(e);
263241
263252
  else
263242
263253
  throw new Sce("Only points format version 0.1 is supported.");
@@ -263251,7 +263262,8 @@ class sBr extends Ga {
263251
263262
  if (this.locationsFeatureIndex)
263252
263263
  return this.locationsFeatureIndex;
263253
263264
  let n;
263254
- if (await this.dataSource.getPointsFormatVersion(e) === "0.1")
263265
+ const i = await this.dataSource.getPointsFormatVersion(e);
263266
+ if (i === "0.1" || i === "0.2")
263255
263267
  n = await this.dataSource.loadPointsFeatureIds(e);
263256
263268
  else
263257
263269
  throw new Sce("Only points format version 0.1 is supported.");
@@ -263260,7 +263272,8 @@ class sBr extends Ga {
263260
263272
  async loadPointsInRect(e, n) {
263261
263273
  const { path: i, featureIndexColumn: r, mortonCodeColumn: o } = this.options;
263262
263274
  let s;
263263
- if (await this.dataSource.getPointsFormatVersion(i) === "0.1")
263275
+ const a = await this.dataSource.getPointsFormatVersion(i);
263276
+ if (a === "0.1" || a === "0.2")
263264
263277
  s = await this.dataSource.loadPointsInRect(i, e, n, r, o);
263265
263278
  else
263266
263279
  throw new Sce("Only points format version 0.1 is supported.");
@@ -263280,7 +263293,7 @@ class sBr extends Ga {
263280
263293
  // Check the size of parquet row groups,
263281
263294
  // and for the presence of morton_code_2d and feature_index columns.
263282
263295
  this.dataSource.supportsLoadPointsInRect(e, a, i)
263283
- ]), g = A === "0.1", c = r?.bounding_box, I = typeof c?.x_max == "number" && typeof c?.x_min == "number" && typeof c?.y_max == "number" && typeof c?.y_min == "number";
263296
+ ]), g = A === "0.1" || A === "0.2", c = r?.bounding_box, I = typeof c?.x_max == "number" && typeof c?.x_min == "number" && typeof c?.y_max == "number" && typeof c?.y_min == "number";
263284
263297
  return g && I && l;
263285
263298
  }
263286
263299
  async load() {
@@ -270724,7 +270737,7 @@ async function Lfr({ queryClient: t, store: e }, n, i = void 0) {
270724
270737
  suffixLength: a
270725
270738
  })), !l || l.length < a)
270726
270739
  throw new Error(`Failed to load parquet footerLength for ${A}`);
270727
- const g = new DataView(l.buffer).getInt32(0, !0);
270740
+ const g = new DataView(l.buffer, l.byteOffset, l.byteLength).getInt32(0, !0);
270728
270741
  if (new TextDecoder().decode(l.slice(4, 8)) !== "PAR1")
270729
270742
  throw new Error("Invalid Parquet file: missing PAR1 magic number");
270730
270743
  const I = await s(`/${A}`, {
@@ -276077,7 +276090,7 @@ class yQr extends i1 {
276077
276090
  */
276078
276091
  async getPointsFormatVersion(e) {
276079
276092
  const n = await this.loadSpatialDataElementAttrs(e), i = n.spatialdata_attrs.version;
276080
- if (n["encoding-type"] === "ngff:points" && i !== "0.1")
276093
+ if (n["encoding-type"] === "ngff:points" && !(i === "0.1" || i === "0.2"))
276081
276094
  throw new Error(`Unexpected version for points spatialdata_attrs: ${i}`);
276082
276095
  return i;
276083
276096
  }
@@ -1,6 +1,6 @@
1
- import { aw as n, ax as we, ay as se, ar as ue, as as ze, az as _e, l as he, aA as ke, aB as Ie, m as re, aC as le, e as C, V as _, ag as Z, ae as De, aq as M, aD as Me, aE as Pe, av as Ae, W as Be, ad as Ne, z as Ue, aF as Le, aG as j, ao as N, aH as Oe, am as Fe } from "./index-Lh_L2nvG.js";
1
+ import { aw as n, ax as we, ay as se, ar as ue, as as ze, az as _e, l as he, aA as ke, aB as Ie, m as re, aC as le, e as C, V as _, ag as Z, ae as De, aq as M, aD as Me, aE as Pe, av as Ae, W as Be, ad as Ne, z as Ue, aF as Le, aG as j, ao as N, aH as Oe, am as Fe } from "./index-CoGvuUCw.js";
2
2
  import { useRef as P, useState as fe, useMemo as de, useEffect as $, Suspense as Ve } from "react";
3
- import { u as ve, a as Ge, O as me, C as qe } from "./OrbitControls-D_35Lmef.js";
3
+ import { u as ve, a as Ge, O as me, C as qe } from "./OrbitControls-z_0GLqk2.js";
4
4
  const S = 32, B = 64, G = 64, ce = 4, oe = B * G * ce, ge = B * S, xe = G * S, pe = ce * S, V = {
5
5
  NOT_STARTED: "not_started",
6
6
  IN_PROGRESS: "in_progress",
package/dist/index.min.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b$ as s, bW as i, bU as n, bV as c, c3 as t, c4 as r, bX as l, cf as p, cd as d, cb as C, ce as u, cc as g, bT as T, ca as S, bY as y, bS as b, bR as P, c1 as m, c7 as f, c0 as I, c2 as N, c6 as F, c5 as _, b_ as V, c8 as U, c9 as x, ck as A, cn as M, ch as O, co as w, cp as E, ci as H, cl as L, cm as Y, cj as h, bZ as v, cg as z } from "./index-Lh_L2nvG.js";
1
+ import { b$ as s, bW as i, bU as n, bV as c, c3 as t, c4 as r, bX as l, cf as p, cd as d, cb as C, ce as u, cc as g, bT as T, ca as S, bY as y, bS as b, bR as P, c1 as m, c7 as f, c0 as I, c2 as N, c6 as F, c5 as _, b_ as V, c8 as U, c9 as x, ck as A, cn as M, ch as O, co as w, cp as E, ci as H, cl as L, cm as Y, cj as h, bZ as v, cg as z } from "./index-CoGvuUCw.js";
2
2
  import "react";
3
3
  export {
4
4
  s as CoordinationLevel,
@@ -1,4 +1,4 @@
1
- import { aZ as re } from "./index-Lh_L2nvG.js";
1
+ import { aZ as re } from "./index-CoGvuUCw.js";
2
2
  const O = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as sA } from "./pako.esm-D68R8YXe.js";
2
- import { aI as DA, aZ as nA, a_ as fA, a$ as gA } from "./index-Lh_L2nvG.js";
2
+ import { aI as DA, aZ as nA, a_ as fA, a$ as gA } from "./index-CoGvuUCw.js";
3
3
  var BA = { exports: {} }, iA;
4
4
  function tA() {
5
5
  return iA || (iA = 1, function(j) {
@@ -1,4 +1,4 @@
1
- import { aZ as k } from "./index-Lh_L2nvG.js";
1
+ import { aZ as k } from "./index-CoGvuUCw.js";
2
2
  const b = 9, E = 256, p = 257, x = 12;
3
3
  function A(c, o, r) {
4
4
  const i = o % 8, n = Math.floor(o / 8), h = 8 - i, g = o + r - (n + 1) * 8;
@@ -1,4 +1,4 @@
1
- import { aZ as c } from "./index-Lh_L2nvG.js";
1
+ import { aZ as c } from "./index-CoGvuUCw.js";
2
2
  class l extends c {
3
3
  decodeBlock(r) {
4
4
  const a = new DataView(r), n = [];
@@ -1,4 +1,4 @@
1
- import { aZ as a } from "./index-Lh_L2nvG.js";
1
+ import { aZ as a } from "./index-CoGvuUCw.js";
2
2
  class d extends a {
3
3
  decodeBlock(e) {
4
4
  return e;
@@ -1,4 +1,4 @@
1
- import { bM as wn, bN as Tn, bO as Fn, ae as Cn, bP as An, a9 as Dn, a8 as En, a7 as Mn, am as Rn, u as on, z as vr, a5 as Gn, v as On, C as pr, e as gr, M as Ln, V as Bt, ap as Bn, ag as Wr, a1 as Pn, l as zr, aF as mr, x as In, aa as Nn, bQ as Wn } from "./index-Lh_L2nvG.js";
1
+ import { bM as wn, bN as Tn, bO as Fn, ae as Cn, bP as An, a9 as Dn, a8 as En, a7 as Mn, am as Rn, u as on, z as vr, a5 as Gn, v as On, C as pr, e as gr, M as Ln, V as Bt, ap as Bn, ag as Wr, a1 as Pn, l as zr, aF as mr, x as In, aa as Nn, bQ as Wn } from "./index-CoGvuUCw.js";
2
2
  function zn() {
3
3
  var c = /* @__PURE__ */ Object.create(null);
4
4
  function r(t, e) {
@@ -1,4 +1,4 @@
1
- import { aZ as r } from "./index-Lh_L2nvG.js";
1
+ import { aZ as r } from "./index-CoGvuUCw.js";
2
2
  class s extends r {
3
3
  constructor() {
4
4
  if (super(), typeof createImageBitmap > "u")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitessce",
3
- "version": "3.9.8",
3
+ "version": "3.9.9",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -16,12 +16,12 @@
16
16
  "dist-tsc"
17
17
  ],
18
18
  "dependencies": {
19
- "@vitessce/abstract": "3.9.8",
20
- "@vitessce/error": "3.9.8",
21
- "@vitessce/all": "3.9.8",
22
- "@vitessce/constants": "3.9.8",
23
- "@vitessce/export-utils": "3.9.8",
24
- "@vitessce/config": "3.9.8"
19
+ "@vitessce/abstract": "3.9.9",
20
+ "@vitessce/error": "3.9.9",
21
+ "@vitessce/all": "3.9.9",
22
+ "@vitessce/constants": "3.9.9",
23
+ "@vitessce/config": "3.9.9",
24
+ "@vitessce/export-utils": "3.9.9"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@vitejs/plugin-react": "^4.5.0",