@vitessce/all 3.5.11 → 3.6.0

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,11 +1,8 @@
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
- var __publicField = (obj, key, value) => {
4
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
- return value;
6
- };
3
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
7
4
  var _a;
8
- import { _ as __toBinary } from "./chunk-INHXZS53-bee20a28.js";
5
+ import { _ as __toBinary } from "./chunk-INHXZS53-DHVJiuU3.js";
9
6
  var blosc_codec = (() => {
10
7
  typeof document !== "undefined" && document.currentScript ? document.currentScript.src : void 0;
11
8
  return function(moduleArg = {}) {
@@ -164,8 +164,6 @@ var shft = function(p) {
164
164
  return (p + 7) / 8 | 0;
165
165
  };
166
166
  var slc = function(v, s, e) {
167
- if (s == null || s < 0)
168
- s = 0;
169
167
  if (e == null || e > v.length)
170
168
  e = v.length;
171
169
  return new u8(v.subarray(s, e));
@@ -197,7 +195,7 @@ var err = function(ind, msg, nt) {
197
195
  return e;
198
196
  };
199
197
  var inflt = function(dat, st, buf, dict) {
200
- var sl = dat.length, dl = dict ? dict.length : 0;
198
+ var sl = dat.length, dl = 0;
201
199
  if (!sl || st.f && !st.l)
202
200
  return buf || new u8(0);
203
201
  var noBuf = !buf;
@@ -742,7 +740,7 @@ var zlh = function(c, o) {
742
740
  var zls = function(d, dict) {
743
741
  if ((d[0] & 15) != 8 || d[0] >> 4 > 7 || (d[0] << 8 | d[1]) % 31)
744
742
  err(6, "invalid zlib data");
745
- if ((d[1] >> 5 & 1) == +!dict)
743
+ if ((d[1] >> 5 & 1) == 1)
746
744
  err(6, "invalid zlib data: " + (d[1] & 32 ? "need" : "unexpected") + " dictionary");
747
745
  return (d[1] >> 3 & 4) + 2;
748
746
  };
@@ -758,7 +756,7 @@ function gunzipSync(data, opts) {
758
756
  var st = gzs(data);
759
757
  if (st + 8 > data.length)
760
758
  err(6, "invalid gzip data");
761
- return inflt(data.subarray(st, -8), { i: 2 }, opts && opts.out || new u8(gzl(data)), opts && opts.dictionary);
759
+ return inflt(data.subarray(st, -8), { i: 2 }, new u8(gzl(data)), opts);
762
760
  }
763
761
  function zlibSync(data, opts) {
764
762
  if (!opts)
@@ -769,7 +767,7 @@ function zlibSync(data, opts) {
769
767
  return zlh(d, opts), wbytes(d, d.length - 4, a.d()), d;
770
768
  }
771
769
  function unzlibSync(data, opts) {
772
- return inflt(data.subarray(zls(data, opts && opts.dictionary), -4), { i: 2 }, opts && opts.out, opts && opts.dictionary);
770
+ return inflt(data.subarray(zls(data), -4), { i: 2 }, opts, opts);
773
771
  }
774
772
  var td = typeof TextDecoder != "undefined" && /* @__PURE__ */ new TextDecoder();
775
773
  var tds = 0;
@@ -0,0 +1,10 @@
1
+ import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
+ import { aP as BaseDecoder } from "./index-Bhk2pxIQ.js";
3
+ class DeflateDecoder extends BaseDecoder {
4
+ decodeBlock(buffer) {
5
+ return inflate_1(new Uint8Array(buffer)).buffer;
6
+ }
7
+ }
8
+ export {
9
+ DeflateDecoder as default
10
+ };
@@ -1,11 +1,8 @@
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
- var __publicField = (obj, key, value) => {
4
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
- return value;
6
- };
3
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
7
4
  var _a;
8
- import { g as gzipSync, a as gunzipSync } from "./browser-122c4c35.js";
5
+ import { g as gzipSync, a as gunzipSync } from "./browser-CwsEWr7C.js";
9
6
  var GZip = (_a = class {
10
7
  constructor(level = 1) {
11
8
  __publicField(this, "level");