@vitessce/layer-controller 4.1.3 → 4.2.1
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/{deflate-C2UQgGog.js → deflate-Bz5JPtu4.js} +1 -1
- package/dist/{index-D02mrrF9.js → index-CEwIns0G.js} +729 -231
- package/dist/index.js +1 -1
- package/dist/{jpeg-CmPtEpc0.js → jpeg-BHKqui43.js} +1 -1
- package/dist/{lerc-Rid4JLXA.js → lerc-AOF-TnoY.js} +1 -1
- package/dist/{lzw-DDjeHDA5.js → lzw-JjIpY5kV.js} +1 -1
- package/dist/{packbits-y8Rve0qs.js → packbits-BhmPQimY.js} +1 -1
- package/dist/{raw-Dqdv3Ys2.js → raw-CvMGDaqi.js} +1 -1
- package/dist/{webimage-HwcV0mHJ.js → webimage-DRvMSa2H.js} +1 -1
- package/package.json +7 -7
|
@@ -6814,13 +6814,13 @@ const parseAddition = (str) => {
|
|
|
6814
6814
|
if (!Number.isNaN(+str)) {
|
|
6815
6815
|
return +str;
|
|
6816
6816
|
}
|
|
6817
|
-
const
|
|
6818
|
-
if (!
|
|
6817
|
+
const numbers2 = str.match(/\d*\.?\d+/g);
|
|
6818
|
+
if (!numbers2) {
|
|
6819
6819
|
return 0;
|
|
6820
6820
|
}
|
|
6821
6821
|
let sum2 = 0;
|
|
6822
|
-
for (let i2 = 0; i2 <
|
|
6823
|
-
sum2 += +
|
|
6822
|
+
for (let i2 = 0; i2 < numbers2.length; i2 += 1) {
|
|
6823
|
+
sum2 += +numbers2[i2];
|
|
6824
6824
|
}
|
|
6825
6825
|
return sum2;
|
|
6826
6826
|
};
|
|
@@ -29400,16 +29400,16 @@ class Stats {
|
|
|
29400
29400
|
}
|
|
29401
29401
|
}
|
|
29402
29402
|
getTable() {
|
|
29403
|
-
const
|
|
29403
|
+
const table2 = {};
|
|
29404
29404
|
this.forEach((stat) => {
|
|
29405
|
-
|
|
29405
|
+
table2[stat.name] = {
|
|
29406
29406
|
time: stat.time || 0,
|
|
29407
29407
|
count: stat.count || 0,
|
|
29408
29408
|
average: stat.getAverageTime() || 0,
|
|
29409
29409
|
hz: stat.getHz() || 0
|
|
29410
29410
|
};
|
|
29411
29411
|
});
|
|
29412
|
-
return
|
|
29412
|
+
return table2;
|
|
29413
29413
|
}
|
|
29414
29414
|
_initializeStats() {
|
|
29415
29415
|
let stats = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
@@ -30067,10 +30067,10 @@ class Log {
|
|
|
30067
30067
|
}
|
|
30068
30068
|
return this._getLogFunction(logLevel, message, originalConsole.debug || originalConsole.info, arguments, ONCE);
|
|
30069
30069
|
}
|
|
30070
|
-
table(logLevel,
|
|
30071
|
-
if (
|
|
30072
|
-
return this._getLogFunction(logLevel,
|
|
30073
|
-
tag: getTableHeader(
|
|
30070
|
+
table(logLevel, table2, columns) {
|
|
30071
|
+
if (table2) {
|
|
30072
|
+
return this._getLogFunction(logLevel, table2, console.table || noop$4, columns && [columns], {
|
|
30073
|
+
tag: getTableHeader(table2)
|
|
30074
30074
|
});
|
|
30075
30075
|
}
|
|
30076
30076
|
return noop$4;
|
|
@@ -30270,9 +30270,9 @@ function logImageInBrowser(_ref3) {
|
|
|
30270
30270
|
}
|
|
30271
30271
|
return noop$4;
|
|
30272
30272
|
}
|
|
30273
|
-
function getTableHeader(
|
|
30274
|
-
for (const key in
|
|
30275
|
-
for (const title in
|
|
30273
|
+
function getTableHeader(table2) {
|
|
30274
|
+
for (const key in table2) {
|
|
30275
|
+
for (const title in table2[key]) {
|
|
30276
30276
|
return title || "untitled";
|
|
30277
30277
|
}
|
|
30278
30278
|
}
|
|
@@ -37716,13 +37716,13 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37716
37716
|
const SHADER_MODULE_UNIFORM_REGEXP = ".*_.*";
|
|
37717
37717
|
const PROJECT_MODULE_UNIFORM_REGEXP = ".*Matrix";
|
|
37718
37718
|
const uniformLocations = program._uniformSetters;
|
|
37719
|
-
const
|
|
37719
|
+
const table2 = {};
|
|
37720
37720
|
const uniformNames = Object.keys(uniformLocations).sort();
|
|
37721
37721
|
let count2 = 0;
|
|
37722
37722
|
for (const uniformName of uniformNames) {
|
|
37723
37723
|
if (!uniformName.match(SHADER_MODULE_UNIFORM_REGEXP) && !uniformName.match(PROJECT_MODULE_UNIFORM_REGEXP)) {
|
|
37724
37724
|
if (addUniformToTable({
|
|
37725
|
-
table,
|
|
37725
|
+
table: table2,
|
|
37726
37726
|
header,
|
|
37727
37727
|
uniforms,
|
|
37728
37728
|
uniformName,
|
|
@@ -37735,7 +37735,7 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37735
37735
|
for (const uniformName of uniformNames) {
|
|
37736
37736
|
if (uniformName.match(PROJECT_MODULE_UNIFORM_REGEXP)) {
|
|
37737
37737
|
if (addUniformToTable({
|
|
37738
|
-
table,
|
|
37738
|
+
table: table2,
|
|
37739
37739
|
header,
|
|
37740
37740
|
uniforms,
|
|
37741
37741
|
uniformName,
|
|
@@ -37746,9 +37746,9 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37746
37746
|
}
|
|
37747
37747
|
}
|
|
37748
37748
|
for (const uniformName of uniformNames) {
|
|
37749
|
-
if (!
|
|
37749
|
+
if (!table2[uniformName]) {
|
|
37750
37750
|
if (addUniformToTable({
|
|
37751
|
-
table,
|
|
37751
|
+
table: table2,
|
|
37752
37752
|
header,
|
|
37753
37753
|
uniforms,
|
|
37754
37754
|
uniformName,
|
|
@@ -37763,7 +37763,7 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37763
37763
|
if (!undefinedOnly) {
|
|
37764
37764
|
for (const uniformName in uniforms) {
|
|
37765
37765
|
const uniform = uniforms[uniformName];
|
|
37766
|
-
if (!
|
|
37766
|
+
if (!table2[uniformName]) {
|
|
37767
37767
|
unusedCount++;
|
|
37768
37768
|
unusedTable[uniformName] = {
|
|
37769
37769
|
Type: "NOT USED: ".concat(uniform),
|
|
@@ -37773,7 +37773,7 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37773
37773
|
}
|
|
37774
37774
|
}
|
|
37775
37775
|
return {
|
|
37776
|
-
table,
|
|
37776
|
+
table: table2,
|
|
37777
37777
|
count: count2,
|
|
37778
37778
|
unusedTable,
|
|
37779
37779
|
unusedCount
|
|
@@ -37781,7 +37781,7 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37781
37781
|
}
|
|
37782
37782
|
function addUniformToTable(_ref2) {
|
|
37783
37783
|
let {
|
|
37784
|
-
table,
|
|
37784
|
+
table: table2,
|
|
37785
37785
|
header,
|
|
37786
37786
|
uniforms,
|
|
37787
37787
|
uniformName,
|
|
@@ -37790,7 +37790,7 @@ function addUniformToTable(_ref2) {
|
|
|
37790
37790
|
const value = uniforms[uniformName];
|
|
37791
37791
|
const isDefined = isUniformDefined(value);
|
|
37792
37792
|
if (!undefinedOnly || !isDefined) {
|
|
37793
|
-
|
|
37793
|
+
table2[uniformName] = {
|
|
37794
37794
|
[header]: isDefined ? formatValue(value) : "N/A",
|
|
37795
37795
|
"Uniform Type": isDefined ? value : "NOT PROVIDED"
|
|
37796
37796
|
};
|
|
@@ -37809,9 +37809,9 @@ function getDebugTableForVertexArray(_ref) {
|
|
|
37809
37809
|
if (!vertexArray.configuration) {
|
|
37810
37810
|
return {};
|
|
37811
37811
|
}
|
|
37812
|
-
const
|
|
37812
|
+
const table2 = {};
|
|
37813
37813
|
if (vertexArray.elements) {
|
|
37814
|
-
|
|
37814
|
+
table2.ELEMENT_ARRAY_BUFFER = getDebugTableRow(vertexArray, vertexArray.elements, null, header);
|
|
37815
37815
|
}
|
|
37816
37816
|
const attributes = vertexArray.values;
|
|
37817
37817
|
for (const attributeLocation in attributes) {
|
|
@@ -37822,10 +37822,10 @@ function getDebugTableForVertexArray(_ref) {
|
|
|
37822
37822
|
if (accessor) {
|
|
37823
37823
|
rowHeader = "".concat(attributeLocation, ": ").concat(getGLSLDeclaration$1(info.name, accessor));
|
|
37824
37824
|
}
|
|
37825
|
-
|
|
37825
|
+
table2[rowHeader] = getDebugTableRow(vertexArray, attributes[attributeLocation], accessor, header);
|
|
37826
37826
|
}
|
|
37827
37827
|
}
|
|
37828
|
-
return
|
|
37828
|
+
return table2;
|
|
37829
37829
|
}
|
|
37830
37830
|
function getDebugTableRow(vertexArray, attribute, accessor, header) {
|
|
37831
37831
|
const {
|
|
@@ -37897,12 +37897,12 @@ function getGLSLDeclaration$1(name2, accessor) {
|
|
|
37897
37897
|
return typeAndName ? "".concat(name2, " (").concat(typeAndName.name, ")") : name2;
|
|
37898
37898
|
}
|
|
37899
37899
|
function getDebugTableForProgramConfiguration(config2) {
|
|
37900
|
-
const
|
|
37900
|
+
const table2 = {};
|
|
37901
37901
|
const header = "Accessors for ".concat(config2.id);
|
|
37902
37902
|
for (const attributeInfo of config2.attributeInfos) {
|
|
37903
37903
|
if (attributeInfo) {
|
|
37904
37904
|
const glslDeclaration = getGLSLDeclaration(attributeInfo);
|
|
37905
|
-
|
|
37905
|
+
table2["in ".concat(glslDeclaration)] = {
|
|
37906
37906
|
[header]: JSON.stringify(attributeInfo.accessor)
|
|
37907
37907
|
};
|
|
37908
37908
|
}
|
|
@@ -37910,12 +37910,12 @@ function getDebugTableForProgramConfiguration(config2) {
|
|
|
37910
37910
|
for (const varyingInfo of config2.varyingInfos) {
|
|
37911
37911
|
if (varyingInfo) {
|
|
37912
37912
|
const glslDeclaration = getGLSLDeclaration(varyingInfo);
|
|
37913
|
-
|
|
37913
|
+
table2["out ".concat(glslDeclaration)] = {
|
|
37914
37914
|
[header]: JSON.stringify(varyingInfo.accessor)
|
|
37915
37915
|
};
|
|
37916
37916
|
}
|
|
37917
37917
|
}
|
|
37918
|
-
return
|
|
37918
|
+
return table2;
|
|
37919
37919
|
}
|
|
37920
37920
|
function getGLSLDeclaration(attributeInfo) {
|
|
37921
37921
|
const {
|
|
@@ -106065,223 +106065,373 @@ function requireLayerMouseEvent() {
|
|
|
106065
106065
|
return layerMouseEvent;
|
|
106066
106066
|
}
|
|
106067
106067
|
var nebulaLayer = {};
|
|
106068
|
-
var events;
|
|
106068
|
+
var events = { exports: {} };
|
|
106069
106069
|
var hasRequiredEvents;
|
|
106070
106070
|
function requireEvents() {
|
|
106071
|
-
if (hasRequiredEvents) return events;
|
|
106071
|
+
if (hasRequiredEvents) return events.exports;
|
|
106072
106072
|
hasRequiredEvents = 1;
|
|
106073
|
+
var R = typeof Reflect === "object" ? Reflect : null;
|
|
106074
|
+
var ReflectApply = R && typeof R.apply === "function" ? R.apply : function ReflectApply2(target, receiver, args) {
|
|
106075
|
+
return Function.prototype.apply.call(target, receiver, args);
|
|
106076
|
+
};
|
|
106077
|
+
var ReflectOwnKeys;
|
|
106078
|
+
if (R && typeof R.ownKeys === "function") {
|
|
106079
|
+
ReflectOwnKeys = R.ownKeys;
|
|
106080
|
+
} else if (Object.getOwnPropertySymbols) {
|
|
106081
|
+
ReflectOwnKeys = function ReflectOwnKeys2(target) {
|
|
106082
|
+
return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));
|
|
106083
|
+
};
|
|
106084
|
+
} else {
|
|
106085
|
+
ReflectOwnKeys = function ReflectOwnKeys2(target) {
|
|
106086
|
+
return Object.getOwnPropertyNames(target);
|
|
106087
|
+
};
|
|
106088
|
+
}
|
|
106089
|
+
function ProcessEmitWarning(warning) {
|
|
106090
|
+
if (console && console.warn) console.warn(warning);
|
|
106091
|
+
}
|
|
106092
|
+
var NumberIsNaN = Number.isNaN || function NumberIsNaN2(value) {
|
|
106093
|
+
return value !== value;
|
|
106094
|
+
};
|
|
106073
106095
|
function EventEmitter() {
|
|
106074
|
-
|
|
106075
|
-
this._maxListeners = this._maxListeners || void 0;
|
|
106096
|
+
EventEmitter.init.call(this);
|
|
106076
106097
|
}
|
|
106077
|
-
events = EventEmitter;
|
|
106098
|
+
events.exports = EventEmitter;
|
|
106099
|
+
events.exports.once = once;
|
|
106078
106100
|
EventEmitter.EventEmitter = EventEmitter;
|
|
106079
106101
|
EventEmitter.prototype._events = void 0;
|
|
106102
|
+
EventEmitter.prototype._eventsCount = 0;
|
|
106080
106103
|
EventEmitter.prototype._maxListeners = void 0;
|
|
106081
|
-
|
|
106082
|
-
|
|
106083
|
-
if (
|
|
106084
|
-
throw TypeError("
|
|
106104
|
+
var defaultMaxListeners = 10;
|
|
106105
|
+
function checkListener(listener) {
|
|
106106
|
+
if (typeof listener !== "function") {
|
|
106107
|
+
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener);
|
|
106108
|
+
}
|
|
106109
|
+
}
|
|
106110
|
+
Object.defineProperty(EventEmitter, "defaultMaxListeners", {
|
|
106111
|
+
enumerable: true,
|
|
106112
|
+
get: function() {
|
|
106113
|
+
return defaultMaxListeners;
|
|
106114
|
+
},
|
|
106115
|
+
set: function(arg2) {
|
|
106116
|
+
if (typeof arg2 !== "number" || arg2 < 0 || NumberIsNaN(arg2)) {
|
|
106117
|
+
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg2 + ".");
|
|
106118
|
+
}
|
|
106119
|
+
defaultMaxListeners = arg2;
|
|
106120
|
+
}
|
|
106121
|
+
});
|
|
106122
|
+
EventEmitter.init = function() {
|
|
106123
|
+
if (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) {
|
|
106124
|
+
this._events = /* @__PURE__ */ Object.create(null);
|
|
106125
|
+
this._eventsCount = 0;
|
|
106126
|
+
}
|
|
106127
|
+
this._maxListeners = this._maxListeners || void 0;
|
|
106128
|
+
};
|
|
106129
|
+
EventEmitter.prototype.setMaxListeners = function setMaxListeners(n2) {
|
|
106130
|
+
if (typeof n2 !== "number" || n2 < 0 || NumberIsNaN(n2)) {
|
|
106131
|
+
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n2 + ".");
|
|
106132
|
+
}
|
|
106085
106133
|
this._maxListeners = n2;
|
|
106086
106134
|
return this;
|
|
106087
106135
|
};
|
|
106088
|
-
|
|
106089
|
-
|
|
106090
|
-
|
|
106091
|
-
|
|
106092
|
-
|
|
106093
|
-
|
|
106094
|
-
|
|
106095
|
-
|
|
106096
|
-
|
|
106097
|
-
|
|
106098
|
-
|
|
106099
|
-
|
|
106100
|
-
|
|
106101
|
-
|
|
106102
|
-
|
|
106103
|
-
|
|
106104
|
-
handler = this._events[type];
|
|
106105
|
-
if (isUndefined(handler))
|
|
106136
|
+
function _getMaxListeners(that) {
|
|
106137
|
+
if (that._maxListeners === void 0)
|
|
106138
|
+
return EventEmitter.defaultMaxListeners;
|
|
106139
|
+
return that._maxListeners;
|
|
106140
|
+
}
|
|
106141
|
+
EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
|
|
106142
|
+
return _getMaxListeners(this);
|
|
106143
|
+
};
|
|
106144
|
+
EventEmitter.prototype.emit = function emit(type) {
|
|
106145
|
+
var args = [];
|
|
106146
|
+
for (var i2 = 1; i2 < arguments.length; i2++) args.push(arguments[i2]);
|
|
106147
|
+
var doError = type === "error";
|
|
106148
|
+
var events2 = this._events;
|
|
106149
|
+
if (events2 !== void 0)
|
|
106150
|
+
doError = doError && events2.error === void 0;
|
|
106151
|
+
else if (!doError)
|
|
106106
106152
|
return false;
|
|
106107
|
-
if (
|
|
106108
|
-
|
|
106109
|
-
|
|
106110
|
-
|
|
106111
|
-
|
|
106112
|
-
|
|
106113
|
-
|
|
106114
|
-
|
|
106115
|
-
|
|
106116
|
-
|
|
106117
|
-
|
|
106118
|
-
|
|
106119
|
-
|
|
106120
|
-
|
|
106121
|
-
|
|
106122
|
-
|
|
106123
|
-
|
|
106124
|
-
|
|
106125
|
-
|
|
106126
|
-
|
|
106127
|
-
|
|
106128
|
-
for (i2 = 0; i2 < len2; i2++)
|
|
106129
|
-
listeners[i2].apply(this, args);
|
|
106153
|
+
if (doError) {
|
|
106154
|
+
var er;
|
|
106155
|
+
if (args.length > 0)
|
|
106156
|
+
er = args[0];
|
|
106157
|
+
if (er instanceof Error) {
|
|
106158
|
+
throw er;
|
|
106159
|
+
}
|
|
106160
|
+
var err2 = new Error("Unhandled error." + (er ? " (" + er.message + ")" : ""));
|
|
106161
|
+
err2.context = er;
|
|
106162
|
+
throw err2;
|
|
106163
|
+
}
|
|
106164
|
+
var handler = events2[type];
|
|
106165
|
+
if (handler === void 0)
|
|
106166
|
+
return false;
|
|
106167
|
+
if (typeof handler === "function") {
|
|
106168
|
+
ReflectApply(handler, this, args);
|
|
106169
|
+
} else {
|
|
106170
|
+
var len2 = handler.length;
|
|
106171
|
+
var listeners = arrayClone(handler, len2);
|
|
106172
|
+
for (var i2 = 0; i2 < len2; ++i2)
|
|
106173
|
+
ReflectApply(listeners[i2], this, args);
|
|
106130
106174
|
}
|
|
106131
106175
|
return true;
|
|
106132
106176
|
};
|
|
106133
|
-
|
|
106177
|
+
function _addListener(target, type, listener, prepend) {
|
|
106134
106178
|
var m;
|
|
106135
|
-
|
|
106136
|
-
|
|
106137
|
-
|
|
106138
|
-
|
|
106139
|
-
if (
|
|
106140
|
-
|
|
106141
|
-
|
|
106142
|
-
|
|
106143
|
-
|
|
106144
|
-
|
|
106145
|
-
|
|
106146
|
-
|
|
106147
|
-
|
|
106148
|
-
|
|
106149
|
-
|
|
106150
|
-
|
|
106151
|
-
|
|
106152
|
-
|
|
106153
|
-
|
|
106179
|
+
var events2;
|
|
106180
|
+
var existing;
|
|
106181
|
+
checkListener(listener);
|
|
106182
|
+
events2 = target._events;
|
|
106183
|
+
if (events2 === void 0) {
|
|
106184
|
+
events2 = target._events = /* @__PURE__ */ Object.create(null);
|
|
106185
|
+
target._eventsCount = 0;
|
|
106186
|
+
} else {
|
|
106187
|
+
if (events2.newListener !== void 0) {
|
|
106188
|
+
target.emit(
|
|
106189
|
+
"newListener",
|
|
106190
|
+
type,
|
|
106191
|
+
listener.listener ? listener.listener : listener
|
|
106192
|
+
);
|
|
106193
|
+
events2 = target._events;
|
|
106194
|
+
}
|
|
106195
|
+
existing = events2[type];
|
|
106196
|
+
}
|
|
106197
|
+
if (existing === void 0) {
|
|
106198
|
+
existing = events2[type] = listener;
|
|
106199
|
+
++target._eventsCount;
|
|
106200
|
+
} else {
|
|
106201
|
+
if (typeof existing === "function") {
|
|
106202
|
+
existing = events2[type] = prepend ? [listener, existing] : [existing, listener];
|
|
106203
|
+
} else if (prepend) {
|
|
106204
|
+
existing.unshift(listener);
|
|
106154
106205
|
} else {
|
|
106155
|
-
|
|
106206
|
+
existing.push(listener);
|
|
106156
106207
|
}
|
|
106157
|
-
|
|
106158
|
-
|
|
106159
|
-
|
|
106160
|
-
|
|
106161
|
-
|
|
106162
|
-
|
|
106163
|
-
|
|
106164
|
-
|
|
106165
|
-
|
|
106208
|
+
m = _getMaxListeners(target);
|
|
106209
|
+
if (m > 0 && existing.length > m && !existing.warned) {
|
|
106210
|
+
existing.warned = true;
|
|
106211
|
+
var w2 = new Error("Possible EventEmitter memory leak detected. " + existing.length + " " + String(type) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
106212
|
+
w2.name = "MaxListenersExceededWarning";
|
|
106213
|
+
w2.emitter = target;
|
|
106214
|
+
w2.type = type;
|
|
106215
|
+
w2.count = existing.length;
|
|
106216
|
+
ProcessEmitWarning(w2);
|
|
106166
106217
|
}
|
|
106167
106218
|
}
|
|
106168
|
-
return
|
|
106219
|
+
return target;
|
|
106220
|
+
}
|
|
106221
|
+
EventEmitter.prototype.addListener = function addListener(type, listener) {
|
|
106222
|
+
return _addListener(this, type, listener, false);
|
|
106169
106223
|
};
|
|
106170
106224
|
EventEmitter.prototype.on = EventEmitter.prototype.addListener;
|
|
106171
|
-
EventEmitter.prototype.
|
|
106172
|
-
|
|
106173
|
-
|
|
106174
|
-
|
|
106175
|
-
|
|
106176
|
-
this.removeListener(type,
|
|
106177
|
-
|
|
106178
|
-
|
|
106179
|
-
listener.
|
|
106180
|
-
|
|
106181
|
-
}
|
|
106182
|
-
|
|
106183
|
-
|
|
106225
|
+
EventEmitter.prototype.prependListener = function prependListener(type, listener) {
|
|
106226
|
+
return _addListener(this, type, listener, true);
|
|
106227
|
+
};
|
|
106228
|
+
function onceWrapper() {
|
|
106229
|
+
if (!this.fired) {
|
|
106230
|
+
this.target.removeListener(this.type, this.wrapFn);
|
|
106231
|
+
this.fired = true;
|
|
106232
|
+
if (arguments.length === 0)
|
|
106233
|
+
return this.listener.call(this.target);
|
|
106234
|
+
return this.listener.apply(this.target, arguments);
|
|
106235
|
+
}
|
|
106236
|
+
}
|
|
106237
|
+
function _onceWrap(target, type, listener) {
|
|
106238
|
+
var state = { fired: false, wrapFn: void 0, target, type, listener };
|
|
106239
|
+
var wrapped = onceWrapper.bind(state);
|
|
106240
|
+
wrapped.listener = listener;
|
|
106241
|
+
state.wrapFn = wrapped;
|
|
106242
|
+
return wrapped;
|
|
106243
|
+
}
|
|
106244
|
+
EventEmitter.prototype.once = function once2(type, listener) {
|
|
106245
|
+
checkListener(listener);
|
|
106246
|
+
this.on(type, _onceWrap(this, type, listener));
|
|
106247
|
+
return this;
|
|
106248
|
+
};
|
|
106249
|
+
EventEmitter.prototype.prependOnceListener = function prependOnceListener(type, listener) {
|
|
106250
|
+
checkListener(listener);
|
|
106251
|
+
this.prependListener(type, _onceWrap(this, type, listener));
|
|
106184
106252
|
return this;
|
|
106185
106253
|
};
|
|
106186
|
-
EventEmitter.prototype.removeListener = function(type, listener) {
|
|
106187
|
-
var list, position2,
|
|
106188
|
-
|
|
106189
|
-
|
|
106190
|
-
if (
|
|
106254
|
+
EventEmitter.prototype.removeListener = function removeListener(type, listener) {
|
|
106255
|
+
var list, events2, position2, i2, originalListener;
|
|
106256
|
+
checkListener(listener);
|
|
106257
|
+
events2 = this._events;
|
|
106258
|
+
if (events2 === void 0)
|
|
106259
|
+
return this;
|
|
106260
|
+
list = events2[type];
|
|
106261
|
+
if (list === void 0)
|
|
106191
106262
|
return this;
|
|
106192
|
-
list
|
|
106193
|
-
|
|
106194
|
-
|
|
106195
|
-
|
|
106196
|
-
|
|
106197
|
-
|
|
106198
|
-
|
|
106199
|
-
|
|
106200
|
-
|
|
106201
|
-
|
|
106263
|
+
if (list === listener || list.listener === listener) {
|
|
106264
|
+
if (--this._eventsCount === 0)
|
|
106265
|
+
this._events = /* @__PURE__ */ Object.create(null);
|
|
106266
|
+
else {
|
|
106267
|
+
delete events2[type];
|
|
106268
|
+
if (events2.removeListener)
|
|
106269
|
+
this.emit("removeListener", type, list.listener || listener);
|
|
106270
|
+
}
|
|
106271
|
+
} else if (typeof list !== "function") {
|
|
106272
|
+
position2 = -1;
|
|
106273
|
+
for (i2 = list.length - 1; i2 >= 0; i2--) {
|
|
106274
|
+
if (list[i2] === listener || list[i2].listener === listener) {
|
|
106275
|
+
originalListener = list[i2].listener;
|
|
106202
106276
|
position2 = i2;
|
|
106203
106277
|
break;
|
|
106204
106278
|
}
|
|
106205
106279
|
}
|
|
106206
106280
|
if (position2 < 0)
|
|
106207
106281
|
return this;
|
|
106208
|
-
if (
|
|
106209
|
-
list.
|
|
106210
|
-
|
|
106211
|
-
|
|
106212
|
-
list.splice(position2, 1);
|
|
106282
|
+
if (position2 === 0)
|
|
106283
|
+
list.shift();
|
|
106284
|
+
else {
|
|
106285
|
+
spliceOne(list, position2);
|
|
106213
106286
|
}
|
|
106214
|
-
if (
|
|
106215
|
-
|
|
106287
|
+
if (list.length === 1)
|
|
106288
|
+
events2[type] = list[0];
|
|
106289
|
+
if (events2.removeListener !== void 0)
|
|
106290
|
+
this.emit("removeListener", type, originalListener || listener);
|
|
106216
106291
|
}
|
|
106217
106292
|
return this;
|
|
106218
106293
|
};
|
|
106219
|
-
EventEmitter.prototype.
|
|
106220
|
-
|
|
106221
|
-
|
|
106294
|
+
EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
|
|
106295
|
+
EventEmitter.prototype.removeAllListeners = function removeAllListeners(type) {
|
|
106296
|
+
var listeners, events2, i2;
|
|
106297
|
+
events2 = this._events;
|
|
106298
|
+
if (events2 === void 0)
|
|
106222
106299
|
return this;
|
|
106223
|
-
if (
|
|
106224
|
-
if (arguments.length === 0)
|
|
106225
|
-
this._events =
|
|
106226
|
-
|
|
106227
|
-
|
|
106300
|
+
if (events2.removeListener === void 0) {
|
|
106301
|
+
if (arguments.length === 0) {
|
|
106302
|
+
this._events = /* @__PURE__ */ Object.create(null);
|
|
106303
|
+
this._eventsCount = 0;
|
|
106304
|
+
} else if (events2[type] !== void 0) {
|
|
106305
|
+
if (--this._eventsCount === 0)
|
|
106306
|
+
this._events = /* @__PURE__ */ Object.create(null);
|
|
106307
|
+
else
|
|
106308
|
+
delete events2[type];
|
|
106309
|
+
}
|
|
106228
106310
|
return this;
|
|
106229
106311
|
}
|
|
106230
106312
|
if (arguments.length === 0) {
|
|
106231
|
-
|
|
106313
|
+
var keys2 = Object.keys(events2);
|
|
106314
|
+
var key;
|
|
106315
|
+
for (i2 = 0; i2 < keys2.length; ++i2) {
|
|
106316
|
+
key = keys2[i2];
|
|
106232
106317
|
if (key === "removeListener") continue;
|
|
106233
106318
|
this.removeAllListeners(key);
|
|
106234
106319
|
}
|
|
106235
106320
|
this.removeAllListeners("removeListener");
|
|
106236
|
-
this._events =
|
|
106321
|
+
this._events = /* @__PURE__ */ Object.create(null);
|
|
106322
|
+
this._eventsCount = 0;
|
|
106237
106323
|
return this;
|
|
106238
106324
|
}
|
|
106239
|
-
listeners =
|
|
106240
|
-
if (
|
|
106325
|
+
listeners = events2[type];
|
|
106326
|
+
if (typeof listeners === "function") {
|
|
106241
106327
|
this.removeListener(type, listeners);
|
|
106242
|
-
} else if (listeners) {
|
|
106243
|
-
|
|
106244
|
-
this.removeListener(type, listeners[
|
|
106328
|
+
} else if (listeners !== void 0) {
|
|
106329
|
+
for (i2 = listeners.length - 1; i2 >= 0; i2--) {
|
|
106330
|
+
this.removeListener(type, listeners[i2]);
|
|
106331
|
+
}
|
|
106245
106332
|
}
|
|
106246
|
-
delete this._events[type];
|
|
106247
106333
|
return this;
|
|
106248
106334
|
};
|
|
106249
|
-
|
|
106250
|
-
var
|
|
106251
|
-
if (
|
|
106252
|
-
|
|
106253
|
-
|
|
106254
|
-
|
|
106255
|
-
|
|
106256
|
-
|
|
106257
|
-
|
|
106335
|
+
function _listeners(target, type, unwrap) {
|
|
106336
|
+
var events2 = target._events;
|
|
106337
|
+
if (events2 === void 0)
|
|
106338
|
+
return [];
|
|
106339
|
+
var evlistener = events2[type];
|
|
106340
|
+
if (evlistener === void 0)
|
|
106341
|
+
return [];
|
|
106342
|
+
if (typeof evlistener === "function")
|
|
106343
|
+
return unwrap ? [evlistener.listener || evlistener] : [evlistener];
|
|
106344
|
+
return unwrap ? unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
|
|
106345
|
+
}
|
|
106346
|
+
EventEmitter.prototype.listeners = function listeners(type) {
|
|
106347
|
+
return _listeners(this, type, true);
|
|
106348
|
+
};
|
|
106349
|
+
EventEmitter.prototype.rawListeners = function rawListeners(type) {
|
|
106350
|
+
return _listeners(this, type, false);
|
|
106351
|
+
};
|
|
106352
|
+
EventEmitter.listenerCount = function(emitter, type) {
|
|
106353
|
+
if (typeof emitter.listenerCount === "function") {
|
|
106354
|
+
return emitter.listenerCount(type);
|
|
106355
|
+
} else {
|
|
106356
|
+
return listenerCount.call(emitter, type);
|
|
106357
|
+
}
|
|
106258
106358
|
};
|
|
106259
|
-
EventEmitter.prototype.listenerCount =
|
|
106260
|
-
|
|
106261
|
-
|
|
106262
|
-
|
|
106359
|
+
EventEmitter.prototype.listenerCount = listenerCount;
|
|
106360
|
+
function listenerCount(type) {
|
|
106361
|
+
var events2 = this._events;
|
|
106362
|
+
if (events2 !== void 0) {
|
|
106363
|
+
var evlistener = events2[type];
|
|
106364
|
+
if (typeof evlistener === "function") {
|
|
106263
106365
|
return 1;
|
|
106264
|
-
else if (evlistener)
|
|
106366
|
+
} else if (evlistener !== void 0) {
|
|
106265
106367
|
return evlistener.length;
|
|
106368
|
+
}
|
|
106266
106369
|
}
|
|
106267
106370
|
return 0;
|
|
106371
|
+
}
|
|
106372
|
+
EventEmitter.prototype.eventNames = function eventNames() {
|
|
106373
|
+
return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
|
|
106268
106374
|
};
|
|
106269
|
-
|
|
106270
|
-
|
|
106271
|
-
|
|
106272
|
-
|
|
106273
|
-
return
|
|
106375
|
+
function arrayClone(arr, n2) {
|
|
106376
|
+
var copy2 = new Array(n2);
|
|
106377
|
+
for (var i2 = 0; i2 < n2; ++i2)
|
|
106378
|
+
copy2[i2] = arr[i2];
|
|
106379
|
+
return copy2;
|
|
106274
106380
|
}
|
|
106275
|
-
function
|
|
106276
|
-
|
|
106381
|
+
function spliceOne(list, index2) {
|
|
106382
|
+
for (; index2 + 1 < list.length; index2++)
|
|
106383
|
+
list[index2] = list[index2 + 1];
|
|
106384
|
+
list.pop();
|
|
106277
106385
|
}
|
|
106278
|
-
function
|
|
106279
|
-
|
|
106386
|
+
function unwrapListeners(arr) {
|
|
106387
|
+
var ret = new Array(arr.length);
|
|
106388
|
+
for (var i2 = 0; i2 < ret.length; ++i2) {
|
|
106389
|
+
ret[i2] = arr[i2].listener || arr[i2];
|
|
106390
|
+
}
|
|
106391
|
+
return ret;
|
|
106280
106392
|
}
|
|
106281
|
-
function
|
|
106282
|
-
return
|
|
106393
|
+
function once(emitter, name2) {
|
|
106394
|
+
return new Promise(function(resolve, reject) {
|
|
106395
|
+
function errorListener(err2) {
|
|
106396
|
+
emitter.removeListener(name2, resolver);
|
|
106397
|
+
reject(err2);
|
|
106398
|
+
}
|
|
106399
|
+
function resolver() {
|
|
106400
|
+
if (typeof emitter.removeListener === "function") {
|
|
106401
|
+
emitter.removeListener("error", errorListener);
|
|
106402
|
+
}
|
|
106403
|
+
resolve([].slice.call(arguments));
|
|
106404
|
+
}
|
|
106405
|
+
eventTargetAgnosticAddListener(emitter, name2, resolver, { once: true });
|
|
106406
|
+
if (name2 !== "error") {
|
|
106407
|
+
addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });
|
|
106408
|
+
}
|
|
106409
|
+
});
|
|
106410
|
+
}
|
|
106411
|
+
function addErrorHandlerIfEventEmitter(emitter, handler, flags) {
|
|
106412
|
+
if (typeof emitter.on === "function") {
|
|
106413
|
+
eventTargetAgnosticAddListener(emitter, "error", handler, flags);
|
|
106414
|
+
}
|
|
106415
|
+
}
|
|
106416
|
+
function eventTargetAgnosticAddListener(emitter, name2, listener, flags) {
|
|
106417
|
+
if (typeof emitter.on === "function") {
|
|
106418
|
+
if (flags.once) {
|
|
106419
|
+
emitter.once(name2, listener);
|
|
106420
|
+
} else {
|
|
106421
|
+
emitter.on(name2, listener);
|
|
106422
|
+
}
|
|
106423
|
+
} else if (typeof emitter.addEventListener === "function") {
|
|
106424
|
+
emitter.addEventListener(name2, function wrapListener(arg2) {
|
|
106425
|
+
if (flags.once) {
|
|
106426
|
+
emitter.removeEventListener(name2, wrapListener);
|
|
106427
|
+
}
|
|
106428
|
+
listener(arg2);
|
|
106429
|
+
});
|
|
106430
|
+
} else {
|
|
106431
|
+
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof emitter);
|
|
106432
|
+
}
|
|
106283
106433
|
}
|
|
106284
|
-
return events;
|
|
106434
|
+
return events.exports;
|
|
106285
106435
|
}
|
|
106286
106436
|
var getRandomValues = typeof crypto != "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto != "undefined" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto);
|
|
106287
106437
|
var rnds8 = new Uint8Array(16);
|
|
@@ -106834,7 +106984,7 @@ function requireBignumber() {
|
|
|
106834
106984
|
suffix: ""
|
|
106835
106985
|
}, ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyz", alphabetHasNormalDecimalDigits = true;
|
|
106836
106986
|
function BigNumber3(v, b) {
|
|
106837
|
-
var
|
|
106987
|
+
var alphabet2, c, caseChanged, e2, i2, isNum, len2, str, x = this;
|
|
106838
106988
|
if (!(x instanceof BigNumber3)) return new BigNumber3(v, b);
|
|
106839
106989
|
if (b == null) {
|
|
106840
106990
|
if (v && v._isBigNumber === true) {
|
|
@@ -106890,10 +107040,10 @@ function requireBignumber() {
|
|
|
106890
107040
|
} else {
|
|
106891
107041
|
x.s = str.charCodeAt(0) === 45 ? (str = str.slice(1), -1) : 1;
|
|
106892
107042
|
}
|
|
106893
|
-
|
|
107043
|
+
alphabet2 = ALPHABET.slice(0, b);
|
|
106894
107044
|
e2 = i2 = 0;
|
|
106895
107045
|
for (len2 = str.length; i2 < len2; i2++) {
|
|
106896
|
-
if (
|
|
107046
|
+
if (alphabet2.indexOf(c = str.charAt(i2)) < 0) {
|
|
106897
107047
|
if (c == ".") {
|
|
106898
107048
|
if (i2 > e2) {
|
|
106899
107049
|
e2 = len2;
|
|
@@ -107164,11 +107314,11 @@ function requireBignumber() {
|
|
|
107164
107314
|
};
|
|
107165
107315
|
convertBase = /* @__PURE__ */ function() {
|
|
107166
107316
|
var decimal = "0123456789";
|
|
107167
|
-
function toBaseOut(str, baseIn, baseOut,
|
|
107317
|
+
function toBaseOut(str, baseIn, baseOut, alphabet2) {
|
|
107168
107318
|
var j, arr = [0], arrL, i2 = 0, len2 = str.length;
|
|
107169
107319
|
for (; i2 < len2; ) {
|
|
107170
107320
|
for (arrL = arr.length; arrL--; arr[arrL] *= baseIn) ;
|
|
107171
|
-
arr[0] +=
|
|
107321
|
+
arr[0] += alphabet2.indexOf(str.charAt(i2++));
|
|
107172
107322
|
for (j = 0; j < arr.length; j++) {
|
|
107173
107323
|
if (arr[j] > baseOut - 1) {
|
|
107174
107324
|
if (arr[j + 1] == null) arr[j + 1] = 0;
|
|
@@ -107180,7 +107330,7 @@ function requireBignumber() {
|
|
|
107180
107330
|
return arr.reverse();
|
|
107181
107331
|
}
|
|
107182
107332
|
return function(str, baseIn, baseOut, sign2, callerIsToString) {
|
|
107183
|
-
var
|
|
107333
|
+
var alphabet2, d, e2, k, r2, x, xc, y, i2 = str.indexOf("."), dp = DECIMAL_PLACES, rm = ROUNDING_MODE;
|
|
107184
107334
|
if (i2 >= 0) {
|
|
107185
107335
|
k = POW_PRECISION;
|
|
107186
107336
|
POW_PRECISION = 0;
|
|
@@ -107196,10 +107346,10 @@ function requireBignumber() {
|
|
|
107196
107346
|
);
|
|
107197
107347
|
y.e = y.c.length;
|
|
107198
107348
|
}
|
|
107199
|
-
xc = toBaseOut(str, baseIn, baseOut, callerIsToString ? (
|
|
107349
|
+
xc = toBaseOut(str, baseIn, baseOut, callerIsToString ? (alphabet2 = ALPHABET, decimal) : (alphabet2 = decimal, ALPHABET));
|
|
107200
107350
|
e2 = k = xc.length;
|
|
107201
107351
|
for (; xc[--k] == 0; xc.pop()) ;
|
|
107202
|
-
if (!xc[0]) return
|
|
107352
|
+
if (!xc[0]) return alphabet2.charAt(0);
|
|
107203
107353
|
if (i2 < 0) {
|
|
107204
107354
|
--e2;
|
|
107205
107355
|
} else {
|
|
@@ -107217,7 +107367,7 @@ function requireBignumber() {
|
|
|
107217
107367
|
r2 = r2 || d < 0 || xc[d + 1] != null;
|
|
107218
107368
|
r2 = rm < 4 ? (i2 != null || r2) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) : i2 > k || i2 == k && (rm == 4 || r2 || rm == 6 && xc[d - 1] & 1 || rm == (x.s < 0 ? 8 : 7));
|
|
107219
107369
|
if (d < 1 || !xc[0]) {
|
|
107220
|
-
str = r2 ? toFixedPoint2(
|
|
107370
|
+
str = r2 ? toFixedPoint2(alphabet2.charAt(1), -dp, alphabet2.charAt(0)) : alphabet2.charAt(0);
|
|
107221
107371
|
} else {
|
|
107222
107372
|
xc.length = d;
|
|
107223
107373
|
if (r2) {
|
|
@@ -107230,8 +107380,8 @@ function requireBignumber() {
|
|
|
107230
107380
|
}
|
|
107231
107381
|
}
|
|
107232
107382
|
for (k = xc.length; !xc[--k]; ) ;
|
|
107233
|
-
for (i2 = 0, str = ""; i2 <= k; str +=
|
|
107234
|
-
str = toFixedPoint2(str, e2,
|
|
107383
|
+
for (i2 = 0, str = ""; i2 <= k; str += alphabet2.charAt(xc[i2++])) ;
|
|
107384
|
+
str = toFixedPoint2(str, e2, alphabet2.charAt(0));
|
|
107235
107385
|
}
|
|
107236
107386
|
return str;
|
|
107237
107387
|
};
|
|
@@ -127241,22 +127391,22 @@ function addDecoder(cases, importFn) {
|
|
|
127241
127391
|
}
|
|
127242
127392
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
127243
127393
|
}
|
|
127244
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
127245
|
-
addDecoder(5, () => import("./lzw-
|
|
127394
|
+
addDecoder([void 0, 1], () => import("./raw-CvMGDaqi.js").then((m) => m.default));
|
|
127395
|
+
addDecoder(5, () => import("./lzw-JjIpY5kV.js").then((m) => m.default));
|
|
127246
127396
|
addDecoder(6, () => {
|
|
127247
127397
|
throw new Error("old style JPEG compression is not supported.");
|
|
127248
127398
|
});
|
|
127249
|
-
addDecoder(7, () => import("./jpeg-
|
|
127250
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
127251
|
-
addDecoder(32773, () => import("./packbits-
|
|
127399
|
+
addDecoder(7, () => import("./jpeg-BHKqui43.js").then((m) => m.default));
|
|
127400
|
+
addDecoder([8, 32946], () => import("./deflate-Bz5JPtu4.js").then((m) => m.default));
|
|
127401
|
+
addDecoder(32773, () => import("./packbits-BhmPQimY.js").then((m) => m.default));
|
|
127252
127402
|
addDecoder(
|
|
127253
127403
|
34887,
|
|
127254
|
-
() => import("./lerc-
|
|
127404
|
+
() => import("./lerc-AOF-TnoY.js").then(async (m) => {
|
|
127255
127405
|
await m.zstd.init();
|
|
127256
127406
|
return m;
|
|
127257
127407
|
}).then((m) => m.default)
|
|
127258
127408
|
);
|
|
127259
|
-
addDecoder(50001, () => import("./webimage-
|
|
127409
|
+
addDecoder(50001, () => import("./webimage-DRvMSa2H.js").then((m) => m.default));
|
|
127260
127410
|
function decodeRowAcc(row, stride) {
|
|
127261
127411
|
let length2 = row.length - stride;
|
|
127262
127412
|
let offset2 = 0;
|
|
@@ -131888,15 +132038,15 @@ const adler32 = (adler, buf, len2, pos) => {
|
|
|
131888
132038
|
};
|
|
131889
132039
|
var adler32_1 = adler32;
|
|
131890
132040
|
const makeTable = () => {
|
|
131891
|
-
let c,
|
|
132041
|
+
let c, table2 = [];
|
|
131892
132042
|
for (var n2 = 0; n2 < 256; n2++) {
|
|
131893
132043
|
c = n2;
|
|
131894
132044
|
for (var k = 0; k < 8; k++) {
|
|
131895
132045
|
c = c & 1 ? 3988292384 ^ c >>> 1 : c >>> 1;
|
|
131896
132046
|
}
|
|
131897
|
-
|
|
132047
|
+
table2[n2] = c;
|
|
131898
132048
|
}
|
|
131899
|
-
return
|
|
132049
|
+
return table2;
|
|
131900
132050
|
};
|
|
131901
132051
|
const crcTable = new Uint32Array(makeTable());
|
|
131902
132052
|
const crc32 = (crc, buf, len2, pos) => {
|
|
@@ -133704,7 +133854,7 @@ const dext = new Uint8Array([
|
|
|
133704
133854
|
64,
|
|
133705
133855
|
64
|
|
133706
133856
|
]);
|
|
133707
|
-
const inflate_table = (type, lens2, lens_index, codes,
|
|
133857
|
+
const inflate_table = (type, lens2, lens_index, codes, table2, table_index, work, opts) => {
|
|
133708
133858
|
const bits = opts.bits;
|
|
133709
133859
|
let len2 = 0;
|
|
133710
133860
|
let sym = 0;
|
|
@@ -133744,8 +133894,8 @@ const inflate_table = (type, lens2, lens_index, codes, table, table_index, work,
|
|
|
133744
133894
|
root2 = max2;
|
|
133745
133895
|
}
|
|
133746
133896
|
if (max2 === 0) {
|
|
133747
|
-
|
|
133748
|
-
|
|
133897
|
+
table2[table_index++] = 1 << 24 | 64 << 16 | 0;
|
|
133898
|
+
table2[table_index++] = 1 << 24 | 64 << 16 | 0;
|
|
133749
133899
|
opts.bits = 1;
|
|
133750
133900
|
return 0;
|
|
133751
133901
|
}
|
|
@@ -133820,7 +133970,7 @@ const inflate_table = (type, lens2, lens_index, codes, table, table_index, work,
|
|
|
133820
133970
|
min = fill;
|
|
133821
133971
|
do {
|
|
133822
133972
|
fill -= incr;
|
|
133823
|
-
|
|
133973
|
+
table2[next2 + (huff >> drop) + fill] = here_bits << 24 | here_op << 16 | here_val | 0;
|
|
133824
133974
|
} while (fill !== 0);
|
|
133825
133975
|
incr = 1 << len2 - 1;
|
|
133826
133976
|
while (huff & incr) {
|
|
@@ -133859,11 +134009,11 @@ const inflate_table = (type, lens2, lens_index, codes, table, table_index, work,
|
|
|
133859
134009
|
return 1;
|
|
133860
134010
|
}
|
|
133861
134011
|
low = huff & mask;
|
|
133862
|
-
|
|
134012
|
+
table2[low] = root2 << 24 | curr << 16 | next2 - table_index | 0;
|
|
133863
134013
|
}
|
|
133864
134014
|
}
|
|
133865
134015
|
if (huff !== 0) {
|
|
133866
|
-
|
|
134016
|
+
table2[next2 + huff] = len2 - drop << 24 | 64 << 16 | 0;
|
|
133867
134017
|
}
|
|
133868
134018
|
opts.bits = root2;
|
|
133869
134019
|
return 0;
|
|
@@ -136250,13 +136400,13 @@ var blosc_codec = function() {
|
|
|
136250
136400
|
}();
|
|
136251
136401
|
var __isNode = typeof process !== "undefined" && process.versions != null && process.versions.node != null;
|
|
136252
136402
|
var __toBinary = __isNode ? (base64) => new Uint8Array(Buffer.from(base64, "base64")) : /* @__PURE__ */ (() => {
|
|
136253
|
-
var
|
|
136254
|
-
for (var i2 = 0; i2 < 64; i2++)
|
|
136403
|
+
var table2 = new Uint8Array(128);
|
|
136404
|
+
for (var i2 = 0; i2 < 64; i2++) table2[i2 < 26 ? i2 + 65 : i2 < 52 ? i2 + 71 : i2 < 62 ? i2 - 4 : i2 * 4 - 205] = i2;
|
|
136255
136405
|
return (base64) => {
|
|
136256
136406
|
var n2 = base64.length, bytes = new Uint8Array((n2 - (base64[n2 - 1] == "=") - (base64[n2 - 2] == "=")) * 3 / 4 | 0);
|
|
136257
136407
|
for (var i3 = 0, j = 0; i3 < n2; ) {
|
|
136258
|
-
var c0 =
|
|
136259
|
-
var c2 =
|
|
136408
|
+
var c0 = table2[base64.charCodeAt(i3++)], c1 = table2[base64.charCodeAt(i3++)];
|
|
136409
|
+
var c2 = table2[base64.charCodeAt(i3++)], c3 = table2[base64.charCodeAt(i3++)];
|
|
136260
136410
|
bytes[j++] = c0 << 2 | c1 >> 4;
|
|
136261
136411
|
bytes[j++] = c1 << 4 | c2 >> 2;
|
|
136262
136412
|
bytes[j++] = c2 << 6 | c3;
|
|
@@ -141448,7 +141598,7 @@ function clone(configObject) {
|
|
|
141448
141598
|
suffix: ""
|
|
141449
141599
|
}, ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyz", alphabetHasNormalDecimalDigits = true;
|
|
141450
141600
|
function BigNumber2(v, b) {
|
|
141451
|
-
var
|
|
141601
|
+
var alphabet2, c, caseChanged, e2, i2, isNum, len2, str, x = this;
|
|
141452
141602
|
if (!(x instanceof BigNumber2)) return new BigNumber2(v, b);
|
|
141453
141603
|
if (b == null) {
|
|
141454
141604
|
if (v && v._isBigNumber === true) {
|
|
@@ -141504,10 +141654,10 @@ function clone(configObject) {
|
|
|
141504
141654
|
} else {
|
|
141505
141655
|
x.s = str.charCodeAt(0) === 45 ? (str = str.slice(1), -1) : 1;
|
|
141506
141656
|
}
|
|
141507
|
-
|
|
141657
|
+
alphabet2 = ALPHABET.slice(0, b);
|
|
141508
141658
|
e2 = i2 = 0;
|
|
141509
141659
|
for (len2 = str.length; i2 < len2; i2++) {
|
|
141510
|
-
if (
|
|
141660
|
+
if (alphabet2.indexOf(c = str.charAt(i2)) < 0) {
|
|
141511
141661
|
if (c == ".") {
|
|
141512
141662
|
if (i2 > e2) {
|
|
141513
141663
|
e2 = len2;
|
|
@@ -141778,11 +141928,11 @@ function clone(configObject) {
|
|
|
141778
141928
|
};
|
|
141779
141929
|
convertBase = /* @__PURE__ */ function() {
|
|
141780
141930
|
var decimal = "0123456789";
|
|
141781
|
-
function toBaseOut(str, baseIn, baseOut,
|
|
141931
|
+
function toBaseOut(str, baseIn, baseOut, alphabet2) {
|
|
141782
141932
|
var j, arr = [0], arrL, i2 = 0, len2 = str.length;
|
|
141783
141933
|
for (; i2 < len2; ) {
|
|
141784
141934
|
for (arrL = arr.length; arrL--; arr[arrL] *= baseIn) ;
|
|
141785
|
-
arr[0] +=
|
|
141935
|
+
arr[0] += alphabet2.indexOf(str.charAt(i2++));
|
|
141786
141936
|
for (j = 0; j < arr.length; j++) {
|
|
141787
141937
|
if (arr[j] > baseOut - 1) {
|
|
141788
141938
|
if (arr[j + 1] == null) arr[j + 1] = 0;
|
|
@@ -141794,7 +141944,7 @@ function clone(configObject) {
|
|
|
141794
141944
|
return arr.reverse();
|
|
141795
141945
|
}
|
|
141796
141946
|
return function(str, baseIn, baseOut, sign2, callerIsToString) {
|
|
141797
|
-
var
|
|
141947
|
+
var alphabet2, d, e2, k, r2, x, xc, y, i2 = str.indexOf("."), dp = DECIMAL_PLACES, rm = ROUNDING_MODE;
|
|
141798
141948
|
if (i2 >= 0) {
|
|
141799
141949
|
k = POW_PRECISION;
|
|
141800
141950
|
POW_PRECISION = 0;
|
|
@@ -141810,10 +141960,10 @@ function clone(configObject) {
|
|
|
141810
141960
|
);
|
|
141811
141961
|
y.e = y.c.length;
|
|
141812
141962
|
}
|
|
141813
|
-
xc = toBaseOut(str, baseIn, baseOut, callerIsToString ? (
|
|
141963
|
+
xc = toBaseOut(str, baseIn, baseOut, callerIsToString ? (alphabet2 = ALPHABET, decimal) : (alphabet2 = decimal, ALPHABET));
|
|
141814
141964
|
e2 = k = xc.length;
|
|
141815
141965
|
for (; xc[--k] == 0; xc.pop()) ;
|
|
141816
|
-
if (!xc[0]) return
|
|
141966
|
+
if (!xc[0]) return alphabet2.charAt(0);
|
|
141817
141967
|
if (i2 < 0) {
|
|
141818
141968
|
--e2;
|
|
141819
141969
|
} else {
|
|
@@ -141831,7 +141981,7 @@ function clone(configObject) {
|
|
|
141831
141981
|
r2 = r2 || d < 0 || xc[d + 1] != null;
|
|
141832
141982
|
r2 = rm < 4 ? (i2 != null || r2) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) : i2 > k || i2 == k && (rm == 4 || r2 || rm == 6 && xc[d - 1] & 1 || rm == (x.s < 0 ? 8 : 7));
|
|
141833
141983
|
if (d < 1 || !xc[0]) {
|
|
141834
|
-
str = r2 ? toFixedPoint(
|
|
141984
|
+
str = r2 ? toFixedPoint(alphabet2.charAt(1), -dp, alphabet2.charAt(0)) : alphabet2.charAt(0);
|
|
141835
141985
|
} else {
|
|
141836
141986
|
xc.length = d;
|
|
141837
141987
|
if (r2) {
|
|
@@ -141844,8 +141994,8 @@ function clone(configObject) {
|
|
|
141844
141994
|
}
|
|
141845
141995
|
}
|
|
141846
141996
|
for (k = xc.length; !xc[--k]; ) ;
|
|
141847
|
-
for (i2 = 0, str = ""; i2 <= k; str +=
|
|
141848
|
-
str = toFixedPoint(str, e2,
|
|
141997
|
+
for (i2 = 0, str = ""; i2 <= k; str += alphabet2.charAt(xc[i2++])) ;
|
|
141998
|
+
str = toFixedPoint(str, e2, alphabet2.charAt(0));
|
|
141849
141999
|
}
|
|
141850
142000
|
return str;
|
|
141851
142001
|
};
|
|
@@ -145912,6 +146062,354 @@ async function initializeLayerChannels(loader, use3d) {
|
|
|
145912
146062
|
});
|
|
145913
146063
|
return result;
|
|
145914
146064
|
}
|
|
146065
|
+
const alphabet = "abcdefghijklmnopqrstuvwxyz";
|
|
146066
|
+
const numbers = "01234569789";
|
|
146067
|
+
const expr = "()*/+-";
|
|
146068
|
+
const space = " ";
|
|
146069
|
+
new Set(
|
|
146070
|
+
alphabet + alphabet.toUpperCase() + numbers + expr + space
|
|
146071
|
+
);
|
|
146072
|
+
(() => {
|
|
146073
|
+
var table2 = new Uint8Array(128);
|
|
146074
|
+
for (var i2 = 0; i2 < 64; i2++) {
|
|
146075
|
+
table2[i2 < 26 ? i2 + 65 : i2 < 52 ? i2 + 71 : i2 < 62 ? i2 - 4 : i2 * 4 - 205] = i2;
|
|
146076
|
+
}
|
|
146077
|
+
return (base64) => {
|
|
146078
|
+
var n2 = base64.length;
|
|
146079
|
+
var bytes = new Uint8Array(
|
|
146080
|
+
// @ts-expect-error
|
|
146081
|
+
(n2 - (base64[n2 - 1] == "=") - (base64[n2 - 2] == "=")) * 3 / 4 | 0
|
|
146082
|
+
);
|
|
146083
|
+
for (var i22 = 0, j = 0; i22 < n2; ) {
|
|
146084
|
+
var c0 = table2[base64.charCodeAt(i22++)], c1 = table2[base64.charCodeAt(i22++)];
|
|
146085
|
+
var c2 = table2[base64.charCodeAt(i22++)], c3 = table2[base64.charCodeAt(i22++)];
|
|
146086
|
+
bytes[j++] = c0 << 2 | c1 >> 4;
|
|
146087
|
+
bytes[j++] = c1 << 4 | c2 >> 2;
|
|
146088
|
+
bytes[j++] = c2 << 6 | c3;
|
|
146089
|
+
}
|
|
146090
|
+
return bytes;
|
|
146091
|
+
};
|
|
146092
|
+
})();
|
|
146093
|
+
new TextEncoder();
|
|
146094
|
+
function _structure_size(structure) {
|
|
146095
|
+
const fmt = "<" + Array.from(structure.values()).join("");
|
|
146096
|
+
return struct.calcsize(fmt);
|
|
146097
|
+
}
|
|
146098
|
+
function isBigEndian() {
|
|
146099
|
+
const array = new Uint8Array(4);
|
|
146100
|
+
const view = new Uint32Array(array.buffer);
|
|
146101
|
+
return !((view[0] = 1) & array[0]);
|
|
146102
|
+
}
|
|
146103
|
+
function decodeFloat16(low, high) {
|
|
146104
|
+
const sign2 = (high & 128) >> 7;
|
|
146105
|
+
const exponent = (high & 124) >> 2;
|
|
146106
|
+
const fraction = ((high & 3) << 8) + low;
|
|
146107
|
+
let magnitude;
|
|
146108
|
+
if (exponent === 31) {
|
|
146109
|
+
magnitude = fraction === 0 ? Infinity : NaN;
|
|
146110
|
+
} else if (exponent === 0) {
|
|
146111
|
+
magnitude = 2 ** -14 * (fraction / 1024);
|
|
146112
|
+
} else {
|
|
146113
|
+
magnitude = 2 ** (exponent - 15) * (1 + fraction / 1024);
|
|
146114
|
+
}
|
|
146115
|
+
return sign2 ? -magnitude : magnitude;
|
|
146116
|
+
}
|
|
146117
|
+
class DataView64 extends DataView {
|
|
146118
|
+
getFloat16(byteOffset, littleEndian) {
|
|
146119
|
+
const bytes = [this.getUint8(byteOffset), this.getUint8(byteOffset + 1)];
|
|
146120
|
+
if (!littleEndian)
|
|
146121
|
+
bytes.reverse();
|
|
146122
|
+
return decodeFloat16(bytes[0], bytes[1]);
|
|
146123
|
+
}
|
|
146124
|
+
getUint64(byteOffset, littleEndian) {
|
|
146125
|
+
const left = BigInt(this.getUint32(byteOffset, littleEndian));
|
|
146126
|
+
const right = BigInt(this.getUint32(byteOffset + 4, littleEndian));
|
|
146127
|
+
const combined = littleEndian ? left + (right << 32n) : (left << 32n) + right;
|
|
146128
|
+
return Number(combined);
|
|
146129
|
+
}
|
|
146130
|
+
getInt64(byteOffset, littleEndian) {
|
|
146131
|
+
let low, high;
|
|
146132
|
+
if (littleEndian) {
|
|
146133
|
+
low = this.getUint32(byteOffset, true);
|
|
146134
|
+
high = this.getInt32(byteOffset + 4, true);
|
|
146135
|
+
} else {
|
|
146136
|
+
high = this.getInt32(byteOffset, false);
|
|
146137
|
+
low = this.getUint32(byteOffset + 4, false);
|
|
146138
|
+
}
|
|
146139
|
+
const combined = BigInt(low) + (BigInt(high) << 32n);
|
|
146140
|
+
return Number(combined);
|
|
146141
|
+
}
|
|
146142
|
+
getString(byteOffset, _littleEndian, length2) {
|
|
146143
|
+
const str_buffer = this.buffer.slice(byteOffset, byteOffset + length2);
|
|
146144
|
+
return new TextDecoder().decode(str_buffer);
|
|
146145
|
+
}
|
|
146146
|
+
getVLENStruct(byteOffset, littleEndian, _length) {
|
|
146147
|
+
const item_size = this.getUint32(byteOffset, littleEndian);
|
|
146148
|
+
const collection_address = this.getUint64(byteOffset + 4, littleEndian);
|
|
146149
|
+
const object_index = this.getUint32(byteOffset + 12, littleEndian);
|
|
146150
|
+
return [item_size, collection_address, object_index];
|
|
146151
|
+
}
|
|
146152
|
+
}
|
|
146153
|
+
class Struct {
|
|
146154
|
+
big_endian;
|
|
146155
|
+
getters;
|
|
146156
|
+
byte_lengths;
|
|
146157
|
+
fmt_size_regex;
|
|
146158
|
+
constructor() {
|
|
146159
|
+
this.big_endian = isBigEndian();
|
|
146160
|
+
this.getters = {
|
|
146161
|
+
s: "getUint8",
|
|
146162
|
+
b: "getInt8",
|
|
146163
|
+
B: "getUint8",
|
|
146164
|
+
h: "getInt16",
|
|
146165
|
+
H: "getUint16",
|
|
146166
|
+
i: "getInt32",
|
|
146167
|
+
I: "getUint32",
|
|
146168
|
+
l: "getInt32",
|
|
146169
|
+
L: "getUint32",
|
|
146170
|
+
q: "getInt64",
|
|
146171
|
+
Q: "getUint64",
|
|
146172
|
+
e: "getFloat16",
|
|
146173
|
+
f: "getFloat32",
|
|
146174
|
+
d: "getFloat64"
|
|
146175
|
+
};
|
|
146176
|
+
this.byte_lengths = {
|
|
146177
|
+
s: 1,
|
|
146178
|
+
b: 1,
|
|
146179
|
+
B: 1,
|
|
146180
|
+
h: 2,
|
|
146181
|
+
H: 2,
|
|
146182
|
+
i: 4,
|
|
146183
|
+
I: 4,
|
|
146184
|
+
l: 4,
|
|
146185
|
+
L: 4,
|
|
146186
|
+
q: 8,
|
|
146187
|
+
Q: 8,
|
|
146188
|
+
e: 2,
|
|
146189
|
+
f: 4,
|
|
146190
|
+
d: 8
|
|
146191
|
+
};
|
|
146192
|
+
const all_formats = Object.keys(this.byte_lengths).join("");
|
|
146193
|
+
this.fmt_size_regex = "(\\d*)([" + all_formats + "])";
|
|
146194
|
+
}
|
|
146195
|
+
calcsize(fmt) {
|
|
146196
|
+
let size2 = 0;
|
|
146197
|
+
const regex = new RegExp(this.fmt_size_regex, "g");
|
|
146198
|
+
let match2;
|
|
146199
|
+
while ((match2 = regex.exec(fmt)) !== null) {
|
|
146200
|
+
const n2 = parseInt(match2[1] || "1", 10);
|
|
146201
|
+
const f2 = match2[2];
|
|
146202
|
+
size2 += n2 * this.byte_lengths[f2];
|
|
146203
|
+
}
|
|
146204
|
+
return size2;
|
|
146205
|
+
}
|
|
146206
|
+
_is_big_endian(fmt) {
|
|
146207
|
+
if (/^</.test(fmt))
|
|
146208
|
+
return false;
|
|
146209
|
+
if (/^(!|>)/.test(fmt))
|
|
146210
|
+
return true;
|
|
146211
|
+
return this.big_endian;
|
|
146212
|
+
}
|
|
146213
|
+
unpack_from(fmt, buffer, offset2) {
|
|
146214
|
+
offset2 = Number(offset2 || 0);
|
|
146215
|
+
const view = new DataView64(buffer, 0);
|
|
146216
|
+
const output = [];
|
|
146217
|
+
const big_endian = this._is_big_endian(fmt);
|
|
146218
|
+
const regex = new RegExp(this.fmt_size_regex, "g");
|
|
146219
|
+
let match2;
|
|
146220
|
+
while ((match2 = regex.exec(fmt)) !== null) {
|
|
146221
|
+
const n2 = parseInt(match2[1] || "1", 10);
|
|
146222
|
+
const f2 = match2[2];
|
|
146223
|
+
const getter = this.getters[f2];
|
|
146224
|
+
const size2 = this.byte_lengths[f2];
|
|
146225
|
+
if (f2 === "s") {
|
|
146226
|
+
output.push(new TextDecoder().decode(buffer.slice(offset2, offset2 + n2)));
|
|
146227
|
+
offset2 += n2;
|
|
146228
|
+
} else {
|
|
146229
|
+
for (let i2 = 0; i2 < n2; i2++) {
|
|
146230
|
+
output.push(view[getter](offset2, !big_endian));
|
|
146231
|
+
offset2 += size2;
|
|
146232
|
+
}
|
|
146233
|
+
}
|
|
146234
|
+
}
|
|
146235
|
+
return output;
|
|
146236
|
+
}
|
|
146237
|
+
}
|
|
146238
|
+
const struct = new Struct();
|
|
146239
|
+
const DATATYPE_MSG = /* @__PURE__ */ new Map([
|
|
146240
|
+
["class_and_version", "B"],
|
|
146241
|
+
["class_bit_field_0", "B"],
|
|
146242
|
+
["class_bit_field_1", "B"],
|
|
146243
|
+
["class_bit_field_2", "B"],
|
|
146244
|
+
["size", "I"]
|
|
146245
|
+
]);
|
|
146246
|
+
_structure_size(DATATYPE_MSG);
|
|
146247
|
+
const B_LINK_NODE_V1 = /* @__PURE__ */ new Map([
|
|
146248
|
+
["signature", "4s"],
|
|
146249
|
+
["node_type", "B"],
|
|
146250
|
+
["node_level", "B"],
|
|
146251
|
+
["entries_used", "H"],
|
|
146252
|
+
["left_sibling", "Q"],
|
|
146253
|
+
["right_sibling", "Q"]
|
|
146254
|
+
]);
|
|
146255
|
+
_structure_size(B_LINK_NODE_V1);
|
|
146256
|
+
const B_LINK_NODE_V2 = /* @__PURE__ */ new Map([
|
|
146257
|
+
["signature", "4s"],
|
|
146258
|
+
["version", "B"],
|
|
146259
|
+
["node_type", "B"]
|
|
146260
|
+
]);
|
|
146261
|
+
_structure_size(B_LINK_NODE_V2);
|
|
146262
|
+
struct.unpack_from("8s", new Uint8Array([137, 72, 68, 70, 13, 10, 26, 10]).buffer)[0];
|
|
146263
|
+
struct.unpack_from("<Q", new Uint8Array([255, 255, 255, 255, 255, 255, 255, 255]).buffer)[0];
|
|
146264
|
+
const SUPERBLOCK_V0 = /* @__PURE__ */ new Map([
|
|
146265
|
+
["format_signature", "8s"],
|
|
146266
|
+
["superblock_version", "B"],
|
|
146267
|
+
["free_storage_version", "B"],
|
|
146268
|
+
["root_group_version", "B"],
|
|
146269
|
+
["reserved_0", "B"],
|
|
146270
|
+
["shared_header_version", "B"],
|
|
146271
|
+
["offset_size", "B"],
|
|
146272
|
+
["length_size", "B"],
|
|
146273
|
+
["reserved_1", "B"],
|
|
146274
|
+
["group_leaf_node_k", "H"],
|
|
146275
|
+
["group_internal_node_k", "H"],
|
|
146276
|
+
["file_consistency_flags", "L"],
|
|
146277
|
+
["base_address_lower", "Q"],
|
|
146278
|
+
["free_space_address", "Q"],
|
|
146279
|
+
["end_of_file_address", "Q"],
|
|
146280
|
+
["driver_information_address", "Q"]
|
|
146281
|
+
]);
|
|
146282
|
+
_structure_size(SUPERBLOCK_V0);
|
|
146283
|
+
const SUPERBLOCK_V2_V3 = /* @__PURE__ */ new Map([
|
|
146284
|
+
["format_signature", "8s"],
|
|
146285
|
+
["superblock_version", "B"],
|
|
146286
|
+
["offset_size", "B"],
|
|
146287
|
+
["length_size", "B"],
|
|
146288
|
+
["file_consistency_flags", "B"],
|
|
146289
|
+
["base_address", "Q"],
|
|
146290
|
+
["superblock_extension_address", "Q"],
|
|
146291
|
+
["end_of_file_address", "Q"],
|
|
146292
|
+
["root_group_address", "Q"],
|
|
146293
|
+
["superblock_checksum", "I"]
|
|
146294
|
+
]);
|
|
146295
|
+
_structure_size(SUPERBLOCK_V2_V3);
|
|
146296
|
+
const SYMBOL_TABLE_ENTRY = /* @__PURE__ */ new Map([
|
|
146297
|
+
["link_name_offset", "Q"],
|
|
146298
|
+
["object_header_address", "Q"],
|
|
146299
|
+
["cache_type", "I"],
|
|
146300
|
+
["reserved", "I"],
|
|
146301
|
+
["scratch", "16s"]
|
|
146302
|
+
]);
|
|
146303
|
+
_structure_size(SYMBOL_TABLE_ENTRY);
|
|
146304
|
+
const SYMBOL_TABLE_NODE = /* @__PURE__ */ new Map([
|
|
146305
|
+
["signature", "4s"],
|
|
146306
|
+
["version", "B"],
|
|
146307
|
+
["reserved_0", "B"],
|
|
146308
|
+
["symbols", "H"]
|
|
146309
|
+
]);
|
|
146310
|
+
_structure_size(SYMBOL_TABLE_NODE);
|
|
146311
|
+
const GLOBAL_HEAP_HEADER = /* @__PURE__ */ new Map([
|
|
146312
|
+
["signature", "4s"],
|
|
146313
|
+
["version", "B"],
|
|
146314
|
+
["reserved", "3s"],
|
|
146315
|
+
["collection_size", "Q"]
|
|
146316
|
+
]);
|
|
146317
|
+
_structure_size(GLOBAL_HEAP_HEADER);
|
|
146318
|
+
const GLOBAL_HEAP_OBJECT = /* @__PURE__ */ new Map([
|
|
146319
|
+
["object_index", "H"],
|
|
146320
|
+
["reference_count", "H"],
|
|
146321
|
+
["reserved", "I"],
|
|
146322
|
+
["object_size", "Q"]
|
|
146323
|
+
]);
|
|
146324
|
+
_structure_size(GLOBAL_HEAP_OBJECT);
|
|
146325
|
+
const OBJECT_HEADER_V1 = /* @__PURE__ */ new Map([
|
|
146326
|
+
["version", "B"],
|
|
146327
|
+
["reserved", "B"],
|
|
146328
|
+
["total_header_messages", "H"],
|
|
146329
|
+
["object_reference_count", "I"],
|
|
146330
|
+
["object_header_size", "I"],
|
|
146331
|
+
["padding", "I"]
|
|
146332
|
+
]);
|
|
146333
|
+
_structure_size(OBJECT_HEADER_V1);
|
|
146334
|
+
const OBJECT_HEADER_V2 = /* @__PURE__ */ new Map([
|
|
146335
|
+
["signature", "4s"],
|
|
146336
|
+
["version", "B"],
|
|
146337
|
+
["flags", "B"]
|
|
146338
|
+
]);
|
|
146339
|
+
_structure_size(OBJECT_HEADER_V2);
|
|
146340
|
+
const HEADER_MSG_INFO_V1 = /* @__PURE__ */ new Map([
|
|
146341
|
+
["type", "H"],
|
|
146342
|
+
["size", "H"],
|
|
146343
|
+
["flags", "B"],
|
|
146344
|
+
["reserved", "3s"]
|
|
146345
|
+
]);
|
|
146346
|
+
_structure_size(HEADER_MSG_INFO_V1);
|
|
146347
|
+
const HEADER_MSG_INFO_V2 = /* @__PURE__ */ new Map([
|
|
146348
|
+
["type", "B"],
|
|
146349
|
+
["size", "H"],
|
|
146350
|
+
["flags", "B"]
|
|
146351
|
+
]);
|
|
146352
|
+
_structure_size(HEADER_MSG_INFO_V2);
|
|
146353
|
+
const ATTR_MSG_HEADER_V1 = /* @__PURE__ */ new Map([
|
|
146354
|
+
["version", "B"],
|
|
146355
|
+
["reserved", "B"],
|
|
146356
|
+
["name_size", "H"],
|
|
146357
|
+
["datatype_size", "H"],
|
|
146358
|
+
["dataspace_size", "H"]
|
|
146359
|
+
]);
|
|
146360
|
+
_structure_size(ATTR_MSG_HEADER_V1);
|
|
146361
|
+
const ATTR_MSG_HEADER_V3 = /* @__PURE__ */ new Map([
|
|
146362
|
+
["version", "B"],
|
|
146363
|
+
["flags", "B"],
|
|
146364
|
+
["name_size", "H"],
|
|
146365
|
+
["datatype_size", "H"],
|
|
146366
|
+
["dataspace_size", "H"],
|
|
146367
|
+
["character_set_encoding", "B"]
|
|
146368
|
+
]);
|
|
146369
|
+
_structure_size(ATTR_MSG_HEADER_V3);
|
|
146370
|
+
const DATASPACE_MSG_HEADER_V1 = /* @__PURE__ */ new Map([
|
|
146371
|
+
["version", "B"],
|
|
146372
|
+
["dimensionality", "B"],
|
|
146373
|
+
["flags", "B"],
|
|
146374
|
+
["reserved_0", "B"],
|
|
146375
|
+
["reserved_1", "I"]
|
|
146376
|
+
]);
|
|
146377
|
+
_structure_size(DATASPACE_MSG_HEADER_V1);
|
|
146378
|
+
const DATASPACE_MSG_HEADER_V2 = /* @__PURE__ */ new Map([
|
|
146379
|
+
["version", "B"],
|
|
146380
|
+
["dimensionality", "B"],
|
|
146381
|
+
["flags", "B"],
|
|
146382
|
+
["type", "B"]
|
|
146383
|
+
]);
|
|
146384
|
+
_structure_size(DATASPACE_MSG_HEADER_V2);
|
|
146385
|
+
const FILLVAL_MSG_V1V2 = /* @__PURE__ */ new Map([
|
|
146386
|
+
["version", "B"],
|
|
146387
|
+
["space_allocation_time", "B"],
|
|
146388
|
+
["fillvalue_write_time", "B"],
|
|
146389
|
+
["fillvalue_defined", "B"]
|
|
146390
|
+
]);
|
|
146391
|
+
_structure_size(FILLVAL_MSG_V1V2);
|
|
146392
|
+
const FILLVAL_MSG_V3 = /* @__PURE__ */ new Map([
|
|
146393
|
+
["version", "B"],
|
|
146394
|
+
["flags", "B"]
|
|
146395
|
+
]);
|
|
146396
|
+
_structure_size(FILLVAL_MSG_V3);
|
|
146397
|
+
const FILTER_PIPELINE_DESCR_V1 = /* @__PURE__ */ new Map([
|
|
146398
|
+
["filter_id", "H"],
|
|
146399
|
+
["name_length", "H"],
|
|
146400
|
+
["flags", "H"],
|
|
146401
|
+
["client_data_values", "H"]
|
|
146402
|
+
]);
|
|
146403
|
+
_structure_size(FILTER_PIPELINE_DESCR_V1);
|
|
146404
|
+
const GLOBAL_HEAP_ID = /* @__PURE__ */ new Map([
|
|
146405
|
+
["collection_address", "Q"],
|
|
146406
|
+
["object_index", "I"]
|
|
146407
|
+
]);
|
|
146408
|
+
_structure_size(GLOBAL_HEAP_ID);
|
|
146409
|
+
let table = new Uint8Array(128);
|
|
146410
|
+
for (let i2 = 0; i2 < 64; i2++) {
|
|
146411
|
+
table[i2 < 26 ? i2 + 65 : i2 < 52 ? i2 + 71 : i2 < 62 ? i2 - 4 : i2 * 4 - 205] = i2;
|
|
146412
|
+
}
|
|
145915
146413
|
function getDomains() {
|
|
145916
146414
|
const domains = {};
|
|
145917
146415
|
const needMin = ["Int8", "Int16", "Int32"];
|