@duckdb/duckdb-wasm-shell 1.29.1-dev21.0 → 1.29.1-dev222.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.
- package/dist/img/duckdb_version_badge.svg +1 -1
- package/dist/shell.cjs +573 -578
- package/dist/shell.cjs.map +2 -2
- package/dist/shell.js +573 -578
- package/dist/shell.js.map +2 -2
- package/dist/shell.mjs +573 -578
- package/dist/shell.mjs.map +3 -3
- package/dist/shell_bg.wasm +0 -0
- package/package.json +2 -2
package/dist/shell.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@duckdb/duckdb-wasm-shell",
|
|
4
|
-
version: "1.29.1-
|
|
4
|
+
version: "1.29.1-dev222.0",
|
|
5
5
|
description: "",
|
|
6
6
|
author: "Andre Kohn <kohn.a@outlook.com>",
|
|
7
7
|
license: "MIT",
|
|
@@ -25,7 +25,7 @@ var package_default = {
|
|
|
25
25
|
"csv"
|
|
26
26
|
],
|
|
27
27
|
dependencies: {
|
|
28
|
-
"@duckdb/duckdb-wasm": "^1.29.1-
|
|
28
|
+
"@duckdb/duckdb-wasm": "^1.29.1-dev222.0",
|
|
29
29
|
xterm: "^5.3.0",
|
|
30
30
|
"xterm-addon-fit": "^0.8.0",
|
|
31
31
|
"xterm-addon-web-links": "^0.9.0",
|
|
@@ -92,55 +92,13 @@ import { FitAddon } from "xterm-addon-fit";
|
|
|
92
92
|
import { WebLinksAddon } from "xterm-addon-web-links";
|
|
93
93
|
import { WebglAddon } from "xterm-addon-webgl";
|
|
94
94
|
var wasm;
|
|
95
|
-
var heap = new Array(128).fill(void 0);
|
|
96
|
-
heap.push(void 0, null, true, false);
|
|
97
|
-
function getObject(idx) {
|
|
98
|
-
return heap[idx];
|
|
99
|
-
}
|
|
100
|
-
var heap_next = heap.length;
|
|
101
|
-
function dropObject(idx) {
|
|
102
|
-
if (idx < 132)
|
|
103
|
-
return;
|
|
104
|
-
heap[idx] = heap_next;
|
|
105
|
-
heap_next = idx;
|
|
106
|
-
}
|
|
107
|
-
function takeObject(idx) {
|
|
108
|
-
const ret = getObject(idx);
|
|
109
|
-
dropObject(idx);
|
|
110
|
-
return ret;
|
|
111
|
-
}
|
|
112
|
-
function isLikeNone(x) {
|
|
113
|
-
return x === void 0 || x === null;
|
|
114
|
-
}
|
|
115
|
-
var cachedFloat64Memory0 = null;
|
|
116
|
-
function getFloat64Memory0() {
|
|
117
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
118
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
119
|
-
}
|
|
120
|
-
return cachedFloat64Memory0;
|
|
121
|
-
}
|
|
122
|
-
var cachedInt32Memory0 = null;
|
|
123
|
-
function getInt32Memory0() {
|
|
124
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
125
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
126
|
-
}
|
|
127
|
-
return cachedInt32Memory0;
|
|
128
|
-
}
|
|
129
|
-
function addHeapObject(obj) {
|
|
130
|
-
if (heap_next === heap.length)
|
|
131
|
-
heap.push(heap.length + 1);
|
|
132
|
-
const idx = heap_next;
|
|
133
|
-
heap_next = heap[idx];
|
|
134
|
-
heap[idx] = obj;
|
|
135
|
-
return idx;
|
|
136
|
-
}
|
|
137
95
|
var WASM_VECTOR_LEN = 0;
|
|
138
|
-
var
|
|
139
|
-
function
|
|
140
|
-
if (
|
|
141
|
-
|
|
96
|
+
var cachedUint8ArrayMemory0 = null;
|
|
97
|
+
function getUint8ArrayMemory0() {
|
|
98
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
99
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
142
100
|
}
|
|
143
|
-
return
|
|
101
|
+
return cachedUint8ArrayMemory0;
|
|
144
102
|
}
|
|
145
103
|
var cachedTextEncoder = typeof TextEncoder !== "undefined" ? new TextEncoder("utf-8") : { encode: () => {
|
|
146
104
|
throw Error("TextEncoder not available");
|
|
@@ -159,13 +117,13 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
159
117
|
if (realloc === void 0) {
|
|
160
118
|
const buf = cachedTextEncoder.encode(arg);
|
|
161
119
|
const ptr2 = malloc(buf.length, 1) >>> 0;
|
|
162
|
-
|
|
120
|
+
getUint8ArrayMemory0().subarray(ptr2, ptr2 + buf.length).set(buf);
|
|
163
121
|
WASM_VECTOR_LEN = buf.length;
|
|
164
122
|
return ptr2;
|
|
165
123
|
}
|
|
166
124
|
let len = arg.length;
|
|
167
125
|
let ptr = malloc(len, 1) >>> 0;
|
|
168
|
-
const mem =
|
|
126
|
+
const mem = getUint8ArrayMemory0();
|
|
169
127
|
let offset = 0;
|
|
170
128
|
for (; offset < len; offset++) {
|
|
171
129
|
const code = arg.charCodeAt(offset);
|
|
@@ -178,13 +136,92 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
178
136
|
arg = arg.slice(offset);
|
|
179
137
|
}
|
|
180
138
|
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
181
|
-
const view =
|
|
139
|
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
182
140
|
const ret = encodeString(arg, view);
|
|
183
141
|
offset += ret.written;
|
|
142
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
184
143
|
}
|
|
185
144
|
WASM_VECTOR_LEN = offset;
|
|
186
145
|
return ptr;
|
|
187
146
|
}
|
|
147
|
+
var cachedDataViewMemory0 = null;
|
|
148
|
+
function getDataViewMemory0() {
|
|
149
|
+
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || cachedDataViewMemory0.buffer.detached === void 0 && cachedDataViewMemory0.buffer !== wasm.memory.buffer) {
|
|
150
|
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
151
|
+
}
|
|
152
|
+
return cachedDataViewMemory0;
|
|
153
|
+
}
|
|
154
|
+
function addToExternrefTable0(obj) {
|
|
155
|
+
const idx = wasm.__externref_table_alloc();
|
|
156
|
+
wasm.__wbindgen_export_4.set(idx, obj);
|
|
157
|
+
return idx;
|
|
158
|
+
}
|
|
159
|
+
function handleError(f, args) {
|
|
160
|
+
try {
|
|
161
|
+
return f.apply(this, args);
|
|
162
|
+
} catch (e) {
|
|
163
|
+
const idx = addToExternrefTable0(e);
|
|
164
|
+
wasm.__wbindgen_exn_store(idx);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
var cachedTextDecoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }) : { decode: () => {
|
|
168
|
+
throw Error("TextDecoder not available");
|
|
169
|
+
} };
|
|
170
|
+
if (typeof TextDecoder !== "undefined") {
|
|
171
|
+
cachedTextDecoder.decode();
|
|
172
|
+
}
|
|
173
|
+
function getStringFromWasm0(ptr, len) {
|
|
174
|
+
ptr = ptr >>> 0;
|
|
175
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
176
|
+
}
|
|
177
|
+
var cachedUint32ArrayMemory0 = null;
|
|
178
|
+
function getUint32ArrayMemory0() {
|
|
179
|
+
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
180
|
+
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
181
|
+
}
|
|
182
|
+
return cachedUint32ArrayMemory0;
|
|
183
|
+
}
|
|
184
|
+
function passArray32ToWasm0(arg, malloc) {
|
|
185
|
+
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
186
|
+
getUint32ArrayMemory0().set(arg, ptr / 4);
|
|
187
|
+
WASM_VECTOR_LEN = arg.length;
|
|
188
|
+
return ptr;
|
|
189
|
+
}
|
|
190
|
+
function isLikeNone(x) {
|
|
191
|
+
return x === void 0 || x === null;
|
|
192
|
+
}
|
|
193
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
194
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
195
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
196
|
+
WASM_VECTOR_LEN = arg.length;
|
|
197
|
+
return ptr;
|
|
198
|
+
}
|
|
199
|
+
var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
200
|
+
}, unregister: () => {
|
|
201
|
+
} } : new FinalizationRegistry((state) => {
|
|
202
|
+
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
|
|
203
|
+
});
|
|
204
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
205
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
206
|
+
const real = (...args) => {
|
|
207
|
+
state.cnt++;
|
|
208
|
+
const a = state.a;
|
|
209
|
+
state.a = 0;
|
|
210
|
+
try {
|
|
211
|
+
return f(a, state.b, ...args);
|
|
212
|
+
} finally {
|
|
213
|
+
if (--state.cnt === 0) {
|
|
214
|
+
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
|
215
|
+
CLOSURE_DTORS.unregister(state);
|
|
216
|
+
} else {
|
|
217
|
+
state.a = a;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
real.original = state;
|
|
222
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
223
|
+
return real;
|
|
224
|
+
}
|
|
188
225
|
function debugString(val) {
|
|
189
226
|
const type = typeof val;
|
|
190
227
|
if (type == "number" || type == "boolean" || val == null) {
|
|
@@ -223,7 +260,7 @@ function debugString(val) {
|
|
|
223
260
|
}
|
|
224
261
|
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
225
262
|
let className;
|
|
226
|
-
if (builtInMatches.length > 1) {
|
|
263
|
+
if (builtInMatches && builtInMatches.length > 1) {
|
|
227
264
|
className = builtInMatches[1];
|
|
228
265
|
} else {
|
|
229
266
|
return toString.call(val);
|
|
@@ -240,72 +277,15 @@ function debugString(val) {
|
|
|
240
277
|
}
|
|
241
278
|
return className;
|
|
242
279
|
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
cachedTextDecoder.decode();
|
|
248
|
-
}
|
|
249
|
-
function getStringFromWasm0(ptr, len) {
|
|
250
|
-
ptr = ptr >>> 0;
|
|
251
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
252
|
-
}
|
|
253
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
254
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
255
|
-
const real = (...args) => {
|
|
256
|
-
state.cnt++;
|
|
257
|
-
const a = state.a;
|
|
258
|
-
state.a = 0;
|
|
259
|
-
try {
|
|
260
|
-
return f(a, state.b, ...args);
|
|
261
|
-
} finally {
|
|
262
|
-
if (--state.cnt === 0) {
|
|
263
|
-
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
|
|
264
|
-
} else {
|
|
265
|
-
state.a = a;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
};
|
|
269
|
-
real.original = state;
|
|
270
|
-
return real;
|
|
271
|
-
}
|
|
272
|
-
function __wbg_adapter_22(arg0, arg1, arg2) {
|
|
273
|
-
const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hddb5167cc04b5326(arg0, arg1, addHeapObject(arg2));
|
|
274
|
-
return ret !== 0;
|
|
275
|
-
}
|
|
276
|
-
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
277
|
-
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h21e86434f3007437(arg0, arg1, addHeapObject(arg2));
|
|
278
|
-
}
|
|
279
|
-
var cachedUint32Memory0 = null;
|
|
280
|
-
function getUint32Memory0() {
|
|
281
|
-
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
282
|
-
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
283
|
-
}
|
|
284
|
-
return cachedUint32Memory0;
|
|
285
|
-
}
|
|
286
|
-
function passArray32ToWasm0(arg, malloc) {
|
|
287
|
-
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
288
|
-
getUint32Memory0().set(arg, ptr / 4);
|
|
289
|
-
WASM_VECTOR_LEN = arg.length;
|
|
290
|
-
return ptr;
|
|
291
|
-
}
|
|
292
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
293
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
294
|
-
getUint8Memory0().set(arg, ptr / 1);
|
|
295
|
-
WASM_VECTOR_LEN = arg.length;
|
|
296
|
-
return ptr;
|
|
280
|
+
function takeFromExternrefTable0(idx) {
|
|
281
|
+
const value = wasm.__wbindgen_export_4.get(idx);
|
|
282
|
+
wasm.__externref_table_dealloc(idx);
|
|
283
|
+
return value;
|
|
297
284
|
}
|
|
298
285
|
function embed(elem, runtime, options) {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
303
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
304
|
-
if (r1) {
|
|
305
|
-
throw takeObject(r0);
|
|
306
|
-
}
|
|
307
|
-
} finally {
|
|
308
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
286
|
+
const ret = wasm.embed(elem, runtime, options);
|
|
287
|
+
if (ret[1]) {
|
|
288
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
309
289
|
}
|
|
310
290
|
}
|
|
311
291
|
function write(text) {
|
|
@@ -321,78 +301,75 @@ function writeln(text) {
|
|
|
321
301
|
function resize(_width, _height) {
|
|
322
302
|
wasm.resize(_width, _height);
|
|
323
303
|
}
|
|
324
|
-
var stack_pointer = 128;
|
|
325
|
-
function addBorrowedObject(obj) {
|
|
326
|
-
if (stack_pointer == 1)
|
|
327
|
-
throw new Error("out of js stack");
|
|
328
|
-
heap[--stack_pointer] = obj;
|
|
329
|
-
return stack_pointer;
|
|
330
|
-
}
|
|
331
304
|
function loadHistory(history, cursor) {
|
|
332
|
-
|
|
333
|
-
wasm.loadHistory(addBorrowedObject(history), cursor);
|
|
334
|
-
} finally {
|
|
335
|
-
heap[stack_pointer++] = void 0;
|
|
336
|
-
}
|
|
305
|
+
wasm.loadHistory(history, cursor);
|
|
337
306
|
}
|
|
338
307
|
function passInitQueries(queries) {
|
|
339
|
-
const ret = wasm.passInitQueries(
|
|
340
|
-
return
|
|
308
|
+
const ret = wasm.passInitQueries(queries);
|
|
309
|
+
return ret;
|
|
341
310
|
}
|
|
342
311
|
function configureDatabase(db) {
|
|
343
|
-
const ret = wasm.configureDatabase(
|
|
344
|
-
return
|
|
312
|
+
const ret = wasm.configureDatabase(db);
|
|
313
|
+
return ret;
|
|
345
314
|
}
|
|
346
|
-
function
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
} catch (e) {
|
|
350
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
351
|
-
}
|
|
315
|
+
function __wbg_adapter_26(arg0, arg1, arg2) {
|
|
316
|
+
const ret = wasm.closure114_externref_shim(arg0, arg1, arg2);
|
|
317
|
+
return ret !== 0;
|
|
352
318
|
}
|
|
353
|
-
function
|
|
354
|
-
wasm.
|
|
319
|
+
function __wbg_adapter_29(arg0, arg1, arg2) {
|
|
320
|
+
wasm.closure177_externref_shim(arg0, arg1, arg2);
|
|
355
321
|
}
|
|
356
|
-
|
|
357
|
-
|
|
322
|
+
function __wbg_adapter_221(arg0, arg1, arg2, arg3) {
|
|
323
|
+
wasm.closure1172_externref_shim(arg0, arg1, arg2, arg3);
|
|
324
|
+
}
|
|
325
|
+
var ShellInputContext = Object.freeze({
|
|
326
|
+
FileInput: 0,
|
|
327
|
+
"0": "FileInput"
|
|
328
|
+
});
|
|
329
|
+
var WcWidth = Object.freeze({
|
|
330
|
+
Width0: 0,
|
|
331
|
+
"0": "Width0",
|
|
332
|
+
Width1: 1,
|
|
333
|
+
"1": "Width1",
|
|
334
|
+
Width2: 2,
|
|
335
|
+
"2": "Width2"
|
|
336
|
+
});
|
|
337
|
+
var DuckDBConfigFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
338
|
+
}, unregister: () => {
|
|
339
|
+
} } : new FinalizationRegistry((ptr) => wasm.__wbg_duckdbconfig_free(ptr >>> 0, 1));
|
|
358
340
|
var DuckDBConfig = class _DuckDBConfig {
|
|
359
341
|
static __wrap(ptr) {
|
|
360
342
|
ptr = ptr >>> 0;
|
|
361
343
|
const obj = Object.create(_DuckDBConfig.prototype);
|
|
362
344
|
obj.__wbg_ptr = ptr;
|
|
345
|
+
DuckDBConfigFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
363
346
|
return obj;
|
|
364
347
|
}
|
|
365
348
|
__destroy_into_raw() {
|
|
366
349
|
const ptr = this.__wbg_ptr;
|
|
367
350
|
this.__wbg_ptr = 0;
|
|
351
|
+
DuckDBConfigFinalization.unregister(this);
|
|
368
352
|
return ptr;
|
|
369
353
|
}
|
|
370
354
|
free() {
|
|
371
355
|
const ptr = this.__destroy_into_raw();
|
|
372
|
-
wasm.__wbg_duckdbconfig_free(ptr);
|
|
356
|
+
wasm.__wbg_duckdbconfig_free(ptr, 0);
|
|
373
357
|
}
|
|
374
358
|
/**
|
|
375
|
-
|
|
376
|
-
|
|
359
|
+
* @returns {string | undefined}
|
|
360
|
+
*/
|
|
377
361
|
get path() {
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
let v1;
|
|
384
|
-
if (r0 !== 0) {
|
|
385
|
-
v1 = getStringFromWasm0(r0, r1).slice();
|
|
386
|
-
wasm.__wbindgen_free(r0, r1 * 1);
|
|
387
|
-
}
|
|
388
|
-
return v1;
|
|
389
|
-
} finally {
|
|
390
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
362
|
+
const ret = wasm.duckdbconfig_path(this.__wbg_ptr);
|
|
363
|
+
let v1;
|
|
364
|
+
if (ret[0] !== 0) {
|
|
365
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
366
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
391
367
|
}
|
|
368
|
+
return v1;
|
|
392
369
|
}
|
|
393
370
|
/**
|
|
394
|
-
|
|
395
|
-
|
|
371
|
+
* @param {string | null} [path]
|
|
372
|
+
*/
|
|
396
373
|
set path(path) {
|
|
397
374
|
var ptr0 = isLikeNone(path) ? 0 : passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
398
375
|
var len0 = WASM_VECTOR_LEN;
|
|
@@ -406,7 +383,7 @@ async function __wbg_load(module, imports) {
|
|
|
406
383
|
return await WebAssembly.instantiateStreaming(module, imports);
|
|
407
384
|
} catch (e) {
|
|
408
385
|
if (module.headers.get("Content-Type") != "application/wasm") {
|
|
409
|
-
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve
|
|
386
|
+
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
|
|
410
387
|
} else {
|
|
411
388
|
throw e;
|
|
412
389
|
}
|
|
@@ -426,580 +403,598 @@ async function __wbg_load(module, imports) {
|
|
|
426
403
|
function __wbg_get_imports() {
|
|
427
404
|
const imports = {};
|
|
428
405
|
imports.wbg = {};
|
|
429
|
-
imports.wbg.
|
|
430
|
-
|
|
431
|
-
};
|
|
432
|
-
imports.wbg.__wbg_getFeatureFlags_9c3df152bef86fb8 = function() {
|
|
433
|
-
return handleError(function(arg0) {
|
|
434
|
-
const ret = getObject(arg0).getFeatureFlags();
|
|
435
|
-
return addHeapObject(ret);
|
|
436
|
-
}, arguments);
|
|
406
|
+
imports.wbg.__wbg_attachCustomKeyEventHandler_5c309ad8c2d6ff9c = function(arg0, arg1) {
|
|
407
|
+
arg0.attachCustomKeyEventHandler(arg1);
|
|
437
408
|
};
|
|
438
|
-
imports.wbg.
|
|
439
|
-
const
|
|
440
|
-
const
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
imports.wbg.__wbg_collectFileStatistics_e921aaaeffb34db1 = function() {
|
|
445
|
-
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
446
|
-
const ret = getObject(arg0).collectFileStatistics(getStringFromWasm0(arg1, arg2), arg3 !== 0);
|
|
447
|
-
return addHeapObject(ret);
|
|
448
|
-
}, arguments);
|
|
449
|
-
};
|
|
450
|
-
imports.wbg.__wbg_exportFileStatistics_6b72eb40ca2eb4d5 = function() {
|
|
451
|
-
return handleError(function(arg0, arg1, arg2) {
|
|
452
|
-
const ret = getObject(arg0).exportFileStatistics(getStringFromWasm0(arg1, arg2));
|
|
453
|
-
return addHeapObject(ret);
|
|
454
|
-
}, arguments);
|
|
455
|
-
};
|
|
456
|
-
imports.wbg.__wbg_construct_e68e1da98af9f9aa = function(arg0) {
|
|
457
|
-
const ret = new Terminal(getObject(arg0));
|
|
458
|
-
return addHeapObject(ret);
|
|
409
|
+
imports.wbg.__wbg_backgroundColor_51cf19ee7d4b277a = function(arg0, arg1) {
|
|
410
|
+
const ret = arg1.backgroundColor;
|
|
411
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
412
|
+
const len1 = WASM_VECTOR_LEN;
|
|
413
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
414
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
459
415
|
};
|
|
460
|
-
imports.wbg.
|
|
461
|
-
const ret =
|
|
416
|
+
imports.wbg.__wbg_bigInt64Array_c64b3751e74d5277 = function(arg0) {
|
|
417
|
+
const ret = arg0.bigInt64Array;
|
|
462
418
|
return ret;
|
|
463
419
|
};
|
|
464
|
-
imports.wbg.
|
|
465
|
-
const ret =
|
|
420
|
+
imports.wbg.__wbg_blockSize_cd30a6366d631ae8 = function(arg0) {
|
|
421
|
+
const ret = arg0.blockSize;
|
|
466
422
|
return ret;
|
|
467
423
|
};
|
|
468
|
-
imports.wbg.
|
|
469
|
-
|
|
424
|
+
imports.wbg.__wbg_blockStats_7e6019968a50af3b = function(arg0) {
|
|
425
|
+
const ret = arg0.blockStats;
|
|
426
|
+
return ret;
|
|
470
427
|
};
|
|
471
|
-
imports.wbg.
|
|
472
|
-
const ret =
|
|
473
|
-
return
|
|
428
|
+
imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
|
|
429
|
+
const ret = arg0.buffer;
|
|
430
|
+
return ret;
|
|
474
431
|
};
|
|
475
|
-
imports.wbg.
|
|
476
|
-
|
|
432
|
+
imports.wbg.__wbg_call_672a4d21634d4a24 = function() {
|
|
433
|
+
return handleError(function(arg0, arg1) {
|
|
434
|
+
const ret = arg0.call(arg1);
|
|
435
|
+
return ret;
|
|
436
|
+
}, arguments);
|
|
477
437
|
};
|
|
478
|
-
imports.wbg.
|
|
438
|
+
imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() {
|
|
479
439
|
return handleError(function(arg0, arg1, arg2) {
|
|
480
|
-
const ret =
|
|
481
|
-
return
|
|
440
|
+
const ret = arg0.call(arg1, arg2);
|
|
441
|
+
return ret;
|
|
482
442
|
}, arguments);
|
|
483
443
|
};
|
|
484
|
-
imports.wbg.
|
|
485
|
-
return handleError(function() {
|
|
486
|
-
const ret =
|
|
487
|
-
return
|
|
444
|
+
imports.wbg.__wbg_collectFileStatistics_d40af29ff6fc8c95 = function() {
|
|
445
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
446
|
+
const ret = arg0.collectFileStatistics(getStringFromWasm0(arg1, arg2), arg3 !== 0);
|
|
447
|
+
return ret;
|
|
488
448
|
}, arguments);
|
|
489
449
|
};
|
|
490
|
-
imports.wbg.
|
|
491
|
-
const ret =
|
|
492
|
-
return ret;
|
|
493
|
-
};
|
|
494
|
-
imports.wbg.__wbg_crossOriginIsolated_f7f727dc97628776 = function(arg0) {
|
|
495
|
-
const ret = getObject(arg0).crossOriginIsolated;
|
|
496
|
-
return ret;
|
|
497
|
-
};
|
|
498
|
-
imports.wbg.__wbg_wasmThreads_cbe2eebf031b26d7 = function(arg0) {
|
|
499
|
-
const ret = getObject(arg0).wasmThreads;
|
|
500
|
-
return ret;
|
|
501
|
-
};
|
|
502
|
-
imports.wbg.__wbg_wasmSIMD_f2cbc78c82c4d673 = function(arg0) {
|
|
503
|
-
const ret = getObject(arg0).wasmSIMD;
|
|
450
|
+
imports.wbg.__wbg_cols_77a8050235d63c90 = function(arg0) {
|
|
451
|
+
const ret = arg0.cols;
|
|
504
452
|
return ret;
|
|
505
453
|
};
|
|
506
|
-
imports.wbg.
|
|
507
|
-
|
|
508
|
-
|
|
454
|
+
imports.wbg.__wbg_connectInternal_818454f7281c00df = function() {
|
|
455
|
+
return handleError(function(arg0) {
|
|
456
|
+
const ret = arg0.connectInternal();
|
|
457
|
+
return ret;
|
|
458
|
+
}, arguments);
|
|
509
459
|
};
|
|
510
|
-
imports.wbg.
|
|
511
|
-
const ret =
|
|
460
|
+
imports.wbg.__wbg_construct_036a353ca42f67b4 = function(arg0) {
|
|
461
|
+
const ret = new Terminal(arg0);
|
|
512
462
|
return ret;
|
|
513
463
|
};
|
|
514
|
-
imports.wbg.
|
|
464
|
+
imports.wbg.__wbg_copyFileToBuffer_83cb2af8941ca82a = function() {
|
|
515
465
|
return handleError(function(arg0, arg1, arg2) {
|
|
516
|
-
const ret =
|
|
517
|
-
return
|
|
466
|
+
const ret = arg0.copyFileToBuffer(getStringFromWasm0(arg1, arg2));
|
|
467
|
+
return ret;
|
|
518
468
|
}, arguments);
|
|
519
469
|
};
|
|
520
|
-
imports.wbg.
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
return addHeapObject(ret);
|
|
524
|
-
}, arguments);
|
|
470
|
+
imports.wbg.__wbg_crossOriginIsolated_0118e2417ec095ee = function(arg0) {
|
|
471
|
+
const ret = arg0.crossOriginIsolated;
|
|
472
|
+
return ret;
|
|
525
473
|
};
|
|
526
|
-
imports.wbg.
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
return addHeapObject(ret);
|
|
530
|
-
}, arguments);
|
|
474
|
+
imports.wbg.__wbg_ctrlKey_1e826e468105ac11 = function(arg0) {
|
|
475
|
+
const ret = arg0.ctrlKey;
|
|
476
|
+
return ret;
|
|
531
477
|
};
|
|
532
|
-
imports.wbg.
|
|
478
|
+
imports.wbg.__wbg_disconnect_92d81f4ec3f107ec = function() {
|
|
533
479
|
return handleError(function(arg0, arg1) {
|
|
534
|
-
const ret =
|
|
535
|
-
return
|
|
536
|
-
}, arguments);
|
|
537
|
-
};
|
|
538
|
-
imports.wbg.__wbg_getVersion_6fe922c9d7787e50 = function() {
|
|
539
|
-
return handleError(function(arg0) {
|
|
540
|
-
const ret = getObject(arg0).getVersion();
|
|
541
|
-
return addHeapObject(ret);
|
|
542
|
-
}, arguments);
|
|
543
|
-
};
|
|
544
|
-
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
545
|
-
const obj = getObject(arg1);
|
|
546
|
-
const ret = typeof obj === "string" ? obj : void 0;
|
|
547
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
548
|
-
var len1 = WASM_VECTOR_LEN;
|
|
549
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
550
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
551
|
-
};
|
|
552
|
-
imports.wbg.__wbg_connectInternal_21690058186ac42a = function() {
|
|
553
|
-
return handleError(function(arg0) {
|
|
554
|
-
const ret = getObject(arg0).connectInternal();
|
|
555
|
-
return addHeapObject(ret);
|
|
480
|
+
const ret = arg0.disconnect(arg1 >>> 0);
|
|
481
|
+
return ret;
|
|
556
482
|
}, arguments);
|
|
557
483
|
};
|
|
558
|
-
imports.wbg.
|
|
484
|
+
imports.wbg.__wbg_downloadFile_d0dec3d05b3a9f19 = function() {
|
|
559
485
|
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
560
|
-
const ret =
|
|
561
|
-
return
|
|
486
|
+
const ret = arg0.downloadFile(getStringFromWasm0(arg1, arg2), arg3);
|
|
487
|
+
return ret;
|
|
562
488
|
}, arguments);
|
|
563
489
|
};
|
|
564
|
-
imports.wbg.
|
|
490
|
+
imports.wbg.__wbg_dropFile_6eb68222192e72fc = function() {
|
|
565
491
|
return handleError(function(arg0, arg1, arg2) {
|
|
566
|
-
const ret =
|
|
567
|
-
return
|
|
492
|
+
const ret = arg0.dropFile(getStringFromWasm0(arg1, arg2));
|
|
493
|
+
return ret;
|
|
568
494
|
}, arguments);
|
|
569
495
|
};
|
|
570
|
-
imports.wbg.
|
|
496
|
+
imports.wbg.__wbg_dropFiles_8bf37b450b4de5ee = function() {
|
|
571
497
|
return handleError(function(arg0) {
|
|
572
|
-
const ret =
|
|
573
|
-
return
|
|
498
|
+
const ret = arg0.dropFiles();
|
|
499
|
+
return ret;
|
|
574
500
|
}, arguments);
|
|
575
501
|
};
|
|
576
|
-
imports.wbg.
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
502
|
+
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
503
|
+
let deferred0_0;
|
|
504
|
+
let deferred0_1;
|
|
505
|
+
try {
|
|
506
|
+
deferred0_0 = arg0;
|
|
507
|
+
deferred0_1 = arg1;
|
|
508
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
509
|
+
} finally {
|
|
510
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
imports.wbg.__wbg_error_ebb9ec1bc5af2f31 = function(arg0, arg1) {
|
|
514
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
581
515
|
};
|
|
582
|
-
imports.wbg.
|
|
516
|
+
imports.wbg.__wbg_exportFileStatistics_d52b61d6c201da1c = function() {
|
|
583
517
|
return handleError(function(arg0, arg1, arg2) {
|
|
584
|
-
const ret =
|
|
585
|
-
return
|
|
518
|
+
const ret = arg0.exportFileStatistics(getStringFromWasm0(arg1, arg2));
|
|
519
|
+
return ret;
|
|
586
520
|
}, arguments);
|
|
587
521
|
};
|
|
588
|
-
imports.wbg.
|
|
589
|
-
|
|
590
|
-
const ptr1 = passArray32ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
591
|
-
const len1 = WASM_VECTOR_LEN;
|
|
592
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
593
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
522
|
+
imports.wbg.__wbg_fit_0db5c78a2a85f563 = function(arg0) {
|
|
523
|
+
arg0.fit();
|
|
594
524
|
};
|
|
595
|
-
imports.wbg.
|
|
596
|
-
|
|
597
|
-
|
|
525
|
+
imports.wbg.__wbg_focus_dd92db4314c4db81 = function(arg0) {
|
|
526
|
+
arg0.focus();
|
|
527
|
+
};
|
|
528
|
+
imports.wbg.__wbg_fontFamily_cac93414dbe897cf = function(arg0, arg1) {
|
|
529
|
+
const ret = arg1.fontFamily;
|
|
530
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
598
531
|
const len1 = WASM_VECTOR_LEN;
|
|
599
|
-
|
|
600
|
-
|
|
532
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
533
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
601
534
|
};
|
|
602
|
-
imports.wbg.
|
|
535
|
+
imports.wbg.__wbg_getFeatureFlags_14afaddbcef26858 = function() {
|
|
603
536
|
return handleError(function(arg0) {
|
|
604
|
-
const ret =
|
|
605
|
-
return
|
|
537
|
+
const ret = arg0.getFeatureFlags();
|
|
538
|
+
return ret;
|
|
606
539
|
}, arguments);
|
|
607
540
|
};
|
|
608
|
-
imports.wbg.
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
};
|
|
614
|
-
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
615
|
-
const ret = getObject(arg0).blockStats;
|
|
616
|
-
return addHeapObject(ret);
|
|
617
|
-
};
|
|
618
|
-
imports.wbg.__wbg_totalFileWrites_1b38029d29f47d43 = function(arg0) {
|
|
619
|
-
const ret = getObject(arg0).totalFileWrites;
|
|
620
|
-
return addHeapObject(ret);
|
|
621
|
-
};
|
|
622
|
-
imports.wbg.__wbg_totalFileReadsAhead_02c25545b2f63323 = function(arg0) {
|
|
623
|
-
const ret = getObject(arg0).totalFileReadsAhead;
|
|
624
|
-
return addHeapObject(ret);
|
|
625
|
-
};
|
|
626
|
-
imports.wbg.__wbg_totalFileReadsCold_304476ed0c49e111 = function(arg0) {
|
|
627
|
-
const ret = getObject(arg0).totalFileReadsCold;
|
|
628
|
-
return addHeapObject(ret);
|
|
629
|
-
};
|
|
630
|
-
imports.wbg.__wbg_totalFileReadsCached_2e8edfe7dbf14351 = function(arg0) {
|
|
631
|
-
const ret = getObject(arg0).totalFileReadsCached;
|
|
632
|
-
return addHeapObject(ret);
|
|
633
|
-
};
|
|
634
|
-
imports.wbg.__wbg_totalPageAccesses_2f654448ea273878 = function(arg0) {
|
|
635
|
-
const ret = getObject(arg0).totalPageAccesses;
|
|
636
|
-
return addHeapObject(ret);
|
|
541
|
+
imports.wbg.__wbg_getPlatformFeatures_40454c7f78791eb6 = function() {
|
|
542
|
+
return handleError(function() {
|
|
543
|
+
const ret = getPlatformFeatures();
|
|
544
|
+
return ret;
|
|
545
|
+
}, arguments);
|
|
637
546
|
};
|
|
638
|
-
imports.wbg.
|
|
639
|
-
|
|
640
|
-
|
|
547
|
+
imports.wbg.__wbg_getVersion_32486a199e795762 = function() {
|
|
548
|
+
return handleError(function(arg0) {
|
|
549
|
+
const ret = arg0.getVersion();
|
|
550
|
+
return ret;
|
|
551
|
+
}, arguments);
|
|
641
552
|
};
|
|
642
|
-
imports.wbg.
|
|
643
|
-
const ret =
|
|
644
|
-
return
|
|
553
|
+
imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
554
|
+
const ret = arg0[arg1 >>> 0];
|
|
555
|
+
return ret;
|
|
645
556
|
};
|
|
646
|
-
imports.wbg.
|
|
647
|
-
return handleError(function(arg0, arg1) {
|
|
648
|
-
const ret =
|
|
649
|
-
return
|
|
557
|
+
imports.wbg.__wbg_globFiles_542704d623854358 = function() {
|
|
558
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
559
|
+
const ret = arg0.globFiles(getStringFromWasm0(arg1, arg2));
|
|
560
|
+
return ret;
|
|
650
561
|
}, arguments);
|
|
651
562
|
};
|
|
652
|
-
imports.wbg.
|
|
563
|
+
imports.wbg.__wbg_instanceof_WebLinksAddon_3750ea42996e2252 = function(arg0) {
|
|
653
564
|
let result;
|
|
654
565
|
try {
|
|
655
|
-
result =
|
|
656
|
-
} catch (
|
|
566
|
+
result = arg0 instanceof WebLinksAddon;
|
|
567
|
+
} catch (_) {
|
|
657
568
|
result = false;
|
|
658
569
|
}
|
|
659
570
|
const ret = result;
|
|
660
571
|
return ret;
|
|
661
572
|
};
|
|
662
|
-
imports.wbg.
|
|
573
|
+
imports.wbg.__wbg_instanceof_WebglAddon_d96a60a43cae1674 = function(arg0) {
|
|
663
574
|
let result;
|
|
664
575
|
try {
|
|
665
|
-
result =
|
|
666
|
-
} catch (
|
|
576
|
+
result = arg0 instanceof WebglAddon;
|
|
577
|
+
} catch (_) {
|
|
667
578
|
result = false;
|
|
668
579
|
}
|
|
669
580
|
const ret = result;
|
|
670
581
|
return ret;
|
|
671
582
|
};
|
|
672
|
-
imports.wbg.
|
|
673
|
-
|
|
583
|
+
imports.wbg.__wbg_instanceof_Window_def73ea0955fc569 = function(arg0) {
|
|
584
|
+
let result;
|
|
585
|
+
try {
|
|
586
|
+
result = arg0 instanceof Window;
|
|
587
|
+
} catch (_) {
|
|
588
|
+
result = false;
|
|
589
|
+
}
|
|
590
|
+
const ret = result;
|
|
591
|
+
return ret;
|
|
674
592
|
};
|
|
675
|
-
imports.wbg.
|
|
676
|
-
|
|
593
|
+
imports.wbg.__wbg_key_7b5c6cb539be8e13 = function(arg0, arg1) {
|
|
594
|
+
const ret = arg1.key;
|
|
595
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
596
|
+
const len1 = WASM_VECTOR_LEN;
|
|
597
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
598
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
677
599
|
};
|
|
678
|
-
imports.wbg.
|
|
679
|
-
|
|
600
|
+
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
|
601
|
+
const ret = arg0.length;
|
|
602
|
+
return ret;
|
|
680
603
|
};
|
|
681
|
-
imports.wbg.
|
|
682
|
-
|
|
604
|
+
imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
|
|
605
|
+
const ret = arg0.length;
|
|
606
|
+
return ret;
|
|
683
607
|
};
|
|
684
|
-
imports.wbg.
|
|
685
|
-
|
|
608
|
+
imports.wbg.__wbg_loadAddon_143d540bb5725490 = function(arg0, arg1) {
|
|
609
|
+
arg0.loadAddon(arg1);
|
|
686
610
|
};
|
|
687
|
-
imports.wbg.
|
|
688
|
-
|
|
611
|
+
imports.wbg.__wbg_log_33ef14fd0c9ec1a3 = function(arg0, arg1) {
|
|
612
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
689
613
|
};
|
|
690
|
-
imports.wbg.
|
|
691
|
-
|
|
614
|
+
imports.wbg.__wbg_message_97a2af9b89d693a3 = function(arg0) {
|
|
615
|
+
const ret = arg0.message;
|
|
616
|
+
return ret;
|
|
692
617
|
};
|
|
693
|
-
imports.wbg.
|
|
694
|
-
|
|
618
|
+
imports.wbg.__wbg_metaKey_e1dd47d709a80ce5 = function(arg0) {
|
|
619
|
+
const ret = arg0.metaKey;
|
|
620
|
+
return ret;
|
|
695
621
|
};
|
|
696
|
-
imports.wbg.
|
|
697
|
-
|
|
622
|
+
imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
623
|
+
try {
|
|
624
|
+
var state0 = { a: arg0, b: arg1 };
|
|
625
|
+
var cb0 = (arg02, arg12) => {
|
|
626
|
+
const a = state0.a;
|
|
627
|
+
state0.a = 0;
|
|
628
|
+
try {
|
|
629
|
+
return __wbg_adapter_221(a, state0.b, arg02, arg12);
|
|
630
|
+
} finally {
|
|
631
|
+
state0.a = a;
|
|
632
|
+
}
|
|
633
|
+
};
|
|
634
|
+
const ret = new Promise(cb0);
|
|
635
|
+
return ret;
|
|
636
|
+
} finally {
|
|
637
|
+
state0.a = state0.b = 0;
|
|
638
|
+
}
|
|
698
639
|
};
|
|
699
|
-
imports.wbg.
|
|
700
|
-
|
|
640
|
+
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
|
|
641
|
+
const ret = new Object();
|
|
642
|
+
return ret;
|
|
701
643
|
};
|
|
702
|
-
imports.wbg.
|
|
703
|
-
|
|
644
|
+
imports.wbg.__wbg_new_7890702e2f921af0 = function(arg0) {
|
|
645
|
+
const ret = new WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
646
|
+
return ret;
|
|
704
647
|
};
|
|
705
|
-
imports.wbg.
|
|
706
|
-
|
|
648
|
+
imports.wbg.__wbg_new_7c075f00f439f1e0 = function() {
|
|
649
|
+
const ret = new FitAddon();
|
|
650
|
+
return ret;
|
|
707
651
|
};
|
|
708
|
-
imports.wbg.
|
|
709
|
-
const ret =
|
|
710
|
-
|
|
711
|
-
const len1 = WASM_VECTOR_LEN;
|
|
712
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
713
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
652
|
+
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
653
|
+
const ret = new Error();
|
|
654
|
+
return ret;
|
|
714
655
|
};
|
|
715
|
-
imports.wbg.
|
|
716
|
-
const ret =
|
|
717
|
-
|
|
656
|
+
imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
|
|
657
|
+
const ret = new Uint8Array(arg0);
|
|
658
|
+
return ret;
|
|
659
|
+
};
|
|
660
|
+
imports.wbg.__wbg_new_c2ccb7a35264c397 = function(arg0, arg1, arg2) {
|
|
661
|
+
const ret = new WebLinksAddon(arg0, arg1, arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
662
|
+
return ret;
|
|
663
|
+
};
|
|
664
|
+
imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
|
|
665
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
666
|
+
return ret;
|
|
667
|
+
};
|
|
668
|
+
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
669
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
670
|
+
return ret;
|
|
671
|
+
};
|
|
672
|
+
imports.wbg.__wbg_now_d18023d54d4e5500 = function(arg0) {
|
|
673
|
+
const ret = arg0.now();
|
|
674
|
+
return ret;
|
|
675
|
+
};
|
|
676
|
+
imports.wbg.__wbg_offsets_9a0c43647dfe8174 = function(arg0, arg1) {
|
|
677
|
+
const ret = arg1.offsets;
|
|
678
|
+
const ptr1 = passArray32ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
718
679
|
const len1 = WASM_VECTOR_LEN;
|
|
719
|
-
|
|
720
|
-
|
|
680
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
681
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
721
682
|
};
|
|
722
|
-
imports.wbg.
|
|
723
|
-
|
|
683
|
+
imports.wbg.__wbg_open_89ca330653f2b749 = function() {
|
|
684
|
+
return handleError(function(arg0, arg1) {
|
|
685
|
+
const ret = arg0.open(DuckDBConfig.__wrap(arg1));
|
|
686
|
+
return ret;
|
|
687
|
+
}, arguments);
|
|
724
688
|
};
|
|
725
|
-
imports.wbg.
|
|
726
|
-
|
|
689
|
+
imports.wbg.__wbg_open_ea472ea5209b0983 = function(arg0, arg1) {
|
|
690
|
+
arg0.open(arg1);
|
|
727
691
|
};
|
|
728
|
-
imports.wbg.
|
|
729
|
-
const ret =
|
|
730
|
-
return
|
|
692
|
+
imports.wbg.__wbg_performance_c185c0cdc2766575 = function(arg0) {
|
|
693
|
+
const ret = arg0.performance;
|
|
694
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
731
695
|
};
|
|
732
|
-
imports.wbg.
|
|
733
|
-
|
|
734
|
-
|
|
696
|
+
imports.wbg.__wbg_pickFiles_c443e685aed27e4f = function() {
|
|
697
|
+
return handleError(function(arg0) {
|
|
698
|
+
const ret = arg0.pickFiles();
|
|
699
|
+
return ret;
|
|
700
|
+
}, arguments);
|
|
735
701
|
};
|
|
736
|
-
imports.wbg.
|
|
737
|
-
|
|
702
|
+
imports.wbg.__wbg_pushInputToHistory_1549e9c17621ffd1 = function() {
|
|
703
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
704
|
+
const ret = arg0.pushInputToHistory(getStringFromWasm0(arg1, arg2));
|
|
705
|
+
return ret;
|
|
706
|
+
}, arguments);
|
|
738
707
|
};
|
|
739
|
-
imports.wbg.
|
|
740
|
-
|
|
708
|
+
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
|
709
|
+
queueMicrotask(arg0);
|
|
741
710
|
};
|
|
742
|
-
imports.wbg.
|
|
743
|
-
|
|
711
|
+
imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
|
|
712
|
+
const ret = arg0.queueMicrotask;
|
|
713
|
+
return ret;
|
|
744
714
|
};
|
|
745
|
-
imports.wbg.
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
715
|
+
imports.wbg.__wbg_readClipboardText_731ab326db907631 = function() {
|
|
716
|
+
return handleError(function(arg0) {
|
|
717
|
+
const ret = arg0.readClipboardText();
|
|
718
|
+
return ret;
|
|
719
|
+
}, arguments);
|
|
720
|
+
};
|
|
721
|
+
imports.wbg.__wbg_registerOPFSFileName_1ac109036d40476f = function() {
|
|
722
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
723
|
+
const ret = arg0.registerOPFSFileName(getStringFromWasm0(arg1, arg2));
|
|
724
|
+
return ret;
|
|
725
|
+
}, arguments);
|
|
726
|
+
};
|
|
727
|
+
imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
|
|
728
|
+
const ret = Promise.resolve(arg0);
|
|
752
729
|
return ret;
|
|
753
730
|
};
|
|
754
|
-
imports.wbg.
|
|
755
|
-
|
|
756
|
-
|
|
731
|
+
imports.wbg.__wbg_runQuery_dd923bfcee4eae4d = function() {
|
|
732
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
733
|
+
const ret = arg0.runQuery(arg1 >>> 0, getStringFromWasm0(arg2, arg3));
|
|
734
|
+
return ret;
|
|
735
|
+
}, arguments);
|
|
757
736
|
};
|
|
758
|
-
imports.wbg.
|
|
759
|
-
|
|
760
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
761
|
-
const len1 = WASM_VECTOR_LEN;
|
|
762
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
763
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
737
|
+
imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
|
|
738
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
764
739
|
};
|
|
765
|
-
imports.wbg.
|
|
766
|
-
|
|
767
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
768
|
-
const len1 = WASM_VECTOR_LEN;
|
|
769
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
770
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
740
|
+
imports.wbg.__wbg_setallowProposedApi_1e56ae3768e93420 = function(arg0, arg1) {
|
|
741
|
+
arg0.allowProposedApi = arg1 !== 0;
|
|
771
742
|
};
|
|
772
|
-
imports.wbg.
|
|
773
|
-
|
|
774
|
-
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
775
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
776
|
-
const len1 = WASM_VECTOR_LEN;
|
|
777
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
778
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
743
|
+
imports.wbg.__wbg_setbackground_94f13d2866b2e31b = function(arg0, arg1, arg2) {
|
|
744
|
+
arg0.background = getStringFromWasm0(arg1, arg2);
|
|
779
745
|
};
|
|
780
|
-
imports.wbg.
|
|
781
|
-
|
|
782
|
-
return addHeapObject(ret);
|
|
746
|
+
imports.wbg.__wbg_setbrightYellow_5858b72099992f03 = function(arg0, arg1, arg2) {
|
|
747
|
+
arg0.brightYellow = getStringFromWasm0(arg1, arg2);
|
|
783
748
|
};
|
|
784
|
-
imports.wbg.
|
|
785
|
-
|
|
786
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
787
|
-
const len1 = WASM_VECTOR_LEN;
|
|
788
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
789
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
749
|
+
imports.wbg.__wbg_setcursorBlink_850e871d6bcda748 = function(arg0, arg1) {
|
|
750
|
+
arg0.cursorBlink = arg1 !== 0;
|
|
790
751
|
};
|
|
791
|
-
imports.wbg.
|
|
792
|
-
|
|
793
|
-
let deferred0_1;
|
|
794
|
-
try {
|
|
795
|
-
deferred0_0 = arg0;
|
|
796
|
-
deferred0_1 = arg1;
|
|
797
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
798
|
-
} finally {
|
|
799
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
800
|
-
}
|
|
752
|
+
imports.wbg.__wbg_setcursorWidth_7899d7d19308befe = function(arg0, arg1) {
|
|
753
|
+
arg0.cursorWidth = arg1 >>> 0;
|
|
801
754
|
};
|
|
802
|
-
imports.wbg.
|
|
803
|
-
|
|
804
|
-
try {
|
|
805
|
-
result = getObject(arg0) instanceof Window;
|
|
806
|
-
} catch (e) {
|
|
807
|
-
result = false;
|
|
808
|
-
}
|
|
809
|
-
const ret = result;
|
|
810
|
-
return ret;
|
|
755
|
+
imports.wbg.__wbg_setdrawBoldTextInBrightColors_c3276731d7662d87 = function(arg0, arg1) {
|
|
756
|
+
arg0.drawBoldTextInBrightColors = arg1 !== 0;
|
|
811
757
|
};
|
|
812
|
-
imports.wbg.
|
|
813
|
-
|
|
814
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
758
|
+
imports.wbg.__wbg_setfontFamily_f2837e56dcf1e5a4 = function(arg0, arg1, arg2) {
|
|
759
|
+
arg0.fontFamily = getStringFromWasm0(arg1, arg2);
|
|
815
760
|
};
|
|
816
|
-
imports.wbg.
|
|
817
|
-
|
|
818
|
-
return ret;
|
|
761
|
+
imports.wbg.__wbg_setfontSize_7d8e3357cbc2a6ac = function(arg0, arg1) {
|
|
762
|
+
arg0.fontSize = arg1 >>> 0;
|
|
819
763
|
};
|
|
820
|
-
imports.wbg.
|
|
821
|
-
|
|
822
|
-
|
|
764
|
+
imports.wbg.__wbg_setforeground_bbda7a714f8f4254 = function(arg0, arg1, arg2) {
|
|
765
|
+
arg0.foreground = getStringFromWasm0(arg1, arg2);
|
|
766
|
+
};
|
|
767
|
+
imports.wbg.__wbg_setrightClickSelectsWord_e15e0a6c7e12c2f4 = function(arg0, arg1) {
|
|
768
|
+
arg0.rightClickSelectsWord = arg1 !== 0;
|
|
769
|
+
};
|
|
770
|
+
imports.wbg.__wbg_setrows_395bb2f6a40be664 = function(arg0, arg1) {
|
|
771
|
+
arg0.rows = arg1 >>> 0;
|
|
772
|
+
};
|
|
773
|
+
imports.wbg.__wbg_settheme_1b783323a8d2b858 = function(arg0, arg1) {
|
|
774
|
+
arg0.theme = arg1;
|
|
775
|
+
};
|
|
776
|
+
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
777
|
+
const ret = arg1.stack;
|
|
778
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
779
|
+
const len1 = WASM_VECTOR_LEN;
|
|
780
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
781
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
782
|
+
};
|
|
783
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
|
|
784
|
+
const ret = typeof global === "undefined" ? null : global;
|
|
785
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
786
|
+
};
|
|
787
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
|
|
788
|
+
const ret = typeof globalThis === "undefined" ? null : globalThis;
|
|
789
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
823
790
|
};
|
|
824
|
-
imports.wbg.
|
|
825
|
-
const ret =
|
|
791
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
792
|
+
const ret = PACKAGE_NAME2;
|
|
826
793
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
827
794
|
const len1 = WASM_VECTOR_LEN;
|
|
828
|
-
|
|
829
|
-
|
|
795
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
796
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
830
797
|
};
|
|
831
|
-
imports.wbg.
|
|
832
|
-
const ret =
|
|
798
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
799
|
+
const ret = PACKAGE_VERSION2;
|
|
833
800
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
834
801
|
const len1 = WASM_VECTOR_LEN;
|
|
835
|
-
|
|
836
|
-
|
|
802
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
803
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
837
804
|
};
|
|
838
|
-
imports.wbg.
|
|
839
|
-
const ret =
|
|
840
|
-
return ret;
|
|
805
|
+
imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
|
|
806
|
+
const ret = typeof self === "undefined" ? null : self;
|
|
807
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
841
808
|
};
|
|
842
|
-
imports.wbg.
|
|
843
|
-
const ret =
|
|
844
|
-
return
|
|
809
|
+
imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
|
|
810
|
+
const ret = typeof window === "undefined" ? null : window;
|
|
811
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
845
812
|
};
|
|
846
|
-
imports.wbg.
|
|
847
|
-
const ret =
|
|
813
|
+
imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
|
|
814
|
+
const ret = arg0.then(arg1);
|
|
848
815
|
return ret;
|
|
849
816
|
};
|
|
850
|
-
imports.wbg.
|
|
851
|
-
const ret =
|
|
852
|
-
return
|
|
817
|
+
imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
|
|
818
|
+
const ret = arg0.then(arg1, arg2);
|
|
819
|
+
return ret;
|
|
853
820
|
};
|
|
854
|
-
imports.wbg.
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
821
|
+
imports.wbg.__wbg_toString_c813bbd34d063839 = function(arg0) {
|
|
822
|
+
const ret = arg0.toString();
|
|
823
|
+
return ret;
|
|
824
|
+
};
|
|
825
|
+
imports.wbg.__wbg_tokenize_8a1699f08f37e193 = function() {
|
|
826
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
827
|
+
const ret = arg0.tokenize(getStringFromWasm0(arg1, arg2));
|
|
828
|
+
return ret;
|
|
858
829
|
}, arguments);
|
|
859
830
|
};
|
|
860
|
-
imports.wbg.
|
|
861
|
-
const ret =
|
|
862
|
-
return
|
|
831
|
+
imports.wbg.__wbg_totalFileReadsAhead_a8f3246739715872 = function(arg0) {
|
|
832
|
+
const ret = arg0.totalFileReadsAhead;
|
|
833
|
+
return ret;
|
|
863
834
|
};
|
|
864
|
-
imports.wbg.
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
return addHeapObject(ret);
|
|
868
|
-
}, arguments);
|
|
835
|
+
imports.wbg.__wbg_totalFileReadsCached_a9d725246d8113de = function(arg0) {
|
|
836
|
+
const ret = arg0.totalFileReadsCached;
|
|
837
|
+
return ret;
|
|
869
838
|
};
|
|
870
|
-
imports.wbg.
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
return addHeapObject(ret);
|
|
874
|
-
}, arguments);
|
|
839
|
+
imports.wbg.__wbg_totalFileReadsCold_969fc4fdc92ba928 = function(arg0) {
|
|
840
|
+
const ret = arg0.totalFileReadsCold;
|
|
841
|
+
return ret;
|
|
875
842
|
};
|
|
876
|
-
imports.wbg.
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
return addHeapObject(ret);
|
|
880
|
-
}, arguments);
|
|
843
|
+
imports.wbg.__wbg_totalFileWrites_a1979d03072ca561 = function(arg0) {
|
|
844
|
+
const ret = arg0.totalFileWrites;
|
|
845
|
+
return ret;
|
|
881
846
|
};
|
|
882
|
-
imports.wbg.
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
return addHeapObject(ret);
|
|
886
|
-
}, arguments);
|
|
847
|
+
imports.wbg.__wbg_totalPageAccesses_d1e0755e7c873650 = function(arg0) {
|
|
848
|
+
const ret = arg0.totalPageAccesses;
|
|
849
|
+
return ret;
|
|
887
850
|
};
|
|
888
|
-
imports.wbg.
|
|
889
|
-
const ret =
|
|
851
|
+
imports.wbg.__wbg_totalPageLoads_055280bed199c515 = function(arg0) {
|
|
852
|
+
const ret = arg0.totalPageLoads;
|
|
890
853
|
return ret;
|
|
891
854
|
};
|
|
892
|
-
imports.wbg.
|
|
893
|
-
const ret =
|
|
894
|
-
|
|
855
|
+
imports.wbg.__wbg_type_16f2b8031796512f = function(arg0, arg1) {
|
|
856
|
+
const ret = arg1.type;
|
|
857
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
858
|
+
const len1 = WASM_VECTOR_LEN;
|
|
859
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
860
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
895
861
|
};
|
|
896
|
-
imports.wbg.
|
|
897
|
-
const ret =
|
|
898
|
-
|
|
862
|
+
imports.wbg.__wbg_types_10068f549973c623 = function(arg0, arg1) {
|
|
863
|
+
const ret = arg1.types;
|
|
864
|
+
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
865
|
+
const len1 = WASM_VECTOR_LEN;
|
|
866
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
867
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
899
868
|
};
|
|
900
|
-
imports.wbg.
|
|
901
|
-
|
|
902
|
-
return addHeapObject(ret);
|
|
869
|
+
imports.wbg.__wbg_warn_45a3a6612d9f19fe = function(arg0, arg1) {
|
|
870
|
+
console.warn(getStringFromWasm0(arg0, arg1));
|
|
903
871
|
};
|
|
904
|
-
imports.wbg.
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
return addHeapObject(ret);
|
|
908
|
-
}, arguments);
|
|
872
|
+
imports.wbg.__wbg_wasmBulkMemory_551502ede47fbf09 = function(arg0) {
|
|
873
|
+
const ret = arg0.wasmBulkMemory;
|
|
874
|
+
return ret;
|
|
909
875
|
};
|
|
910
|
-
imports.wbg.
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
var cb0 = (arg02, arg12) => {
|
|
914
|
-
const a = state0.a;
|
|
915
|
-
state0.a = 0;
|
|
916
|
-
try {
|
|
917
|
-
return __wbg_adapter_210(a, state0.b, arg02, arg12);
|
|
918
|
-
} finally {
|
|
919
|
-
state0.a = a;
|
|
920
|
-
}
|
|
921
|
-
};
|
|
922
|
-
const ret = new Promise(cb0);
|
|
923
|
-
return addHeapObject(ret);
|
|
924
|
-
} finally {
|
|
925
|
-
state0.a = state0.b = 0;
|
|
926
|
-
}
|
|
876
|
+
imports.wbg.__wbg_wasmExceptions_4f3d6bc9c38eccd4 = function(arg0) {
|
|
877
|
+
const ret = arg0.wasmExceptions;
|
|
878
|
+
return ret;
|
|
927
879
|
};
|
|
928
|
-
imports.wbg.
|
|
929
|
-
const ret =
|
|
930
|
-
return
|
|
880
|
+
imports.wbg.__wbg_wasmSIMD_6e524010ac1b3712 = function(arg0) {
|
|
881
|
+
const ret = arg0.wasmSIMD;
|
|
882
|
+
return ret;
|
|
931
883
|
};
|
|
932
|
-
imports.wbg.
|
|
933
|
-
const ret =
|
|
934
|
-
return
|
|
884
|
+
imports.wbg.__wbg_wasmThreads_bb92f1f17739f197 = function(arg0) {
|
|
885
|
+
const ret = arg0.wasmThreads;
|
|
886
|
+
return ret;
|
|
935
887
|
};
|
|
936
|
-
imports.wbg.
|
|
937
|
-
const ret =
|
|
938
|
-
return
|
|
888
|
+
imports.wbg.__wbg_withWebGL_e7b2f98241b8125a = function(arg0) {
|
|
889
|
+
const ret = arg0.withWebGL;
|
|
890
|
+
return ret;
|
|
939
891
|
};
|
|
940
|
-
imports.wbg.
|
|
941
|
-
|
|
942
|
-
return addHeapObject(ret);
|
|
892
|
+
imports.wbg.__wbg_write_c3295e1c4c88047e = function(arg0, arg1, arg2) {
|
|
893
|
+
arg0.write(getStringFromWasm0(arg1, arg2));
|
|
943
894
|
};
|
|
944
|
-
imports.wbg.
|
|
945
|
-
const
|
|
946
|
-
|
|
895
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
896
|
+
const obj = arg0.original;
|
|
897
|
+
if (obj.cnt-- == 1) {
|
|
898
|
+
obj.a = 0;
|
|
899
|
+
return true;
|
|
900
|
+
}
|
|
901
|
+
const ret = false;
|
|
902
|
+
return ret;
|
|
947
903
|
};
|
|
948
|
-
imports.wbg.
|
|
949
|
-
|
|
904
|
+
imports.wbg.__wbindgen_closure_wrapper459 = function(arg0, arg1, arg2) {
|
|
905
|
+
const ret = makeMutClosure(arg0, arg1, 115, __wbg_adapter_26);
|
|
906
|
+
return ret;
|
|
950
907
|
};
|
|
951
|
-
imports.wbg.
|
|
952
|
-
const ret =
|
|
908
|
+
imports.wbg.__wbindgen_closure_wrapper889 = function(arg0, arg1, arg2) {
|
|
909
|
+
const ret = makeMutClosure(arg0, arg1, 178, __wbg_adapter_29);
|
|
953
910
|
return ret;
|
|
954
911
|
};
|
|
955
912
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
956
|
-
const ret = debugString(
|
|
913
|
+
const ret = debugString(arg1);
|
|
957
914
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
958
915
|
const len1 = WASM_VECTOR_LEN;
|
|
959
|
-
|
|
960
|
-
|
|
916
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
917
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
918
|
+
};
|
|
919
|
+
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
920
|
+
const table = wasm.__wbindgen_export_4;
|
|
921
|
+
const offset = table.grow(4);
|
|
922
|
+
table.set(0, void 0);
|
|
923
|
+
table.set(offset + 0, void 0);
|
|
924
|
+
table.set(offset + 1, null);
|
|
925
|
+
table.set(offset + 2, true);
|
|
926
|
+
table.set(offset + 3, false);
|
|
927
|
+
;
|
|
928
|
+
};
|
|
929
|
+
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
930
|
+
const ret = typeof arg0 === "function";
|
|
931
|
+
return ret;
|
|
961
932
|
};
|
|
962
|
-
imports.wbg.
|
|
963
|
-
|
|
933
|
+
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
934
|
+
const ret = arg0 === void 0;
|
|
935
|
+
return ret;
|
|
936
|
+
};
|
|
937
|
+
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
938
|
+
const obj = arg1;
|
|
939
|
+
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
940
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
941
|
+
const len1 = WASM_VECTOR_LEN;
|
|
942
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
943
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
964
944
|
};
|
|
965
945
|
imports.wbg.__wbindgen_memory = function() {
|
|
966
946
|
const ret = wasm.memory;
|
|
967
|
-
return
|
|
947
|
+
return ret;
|
|
968
948
|
};
|
|
969
|
-
imports.wbg.
|
|
970
|
-
const
|
|
971
|
-
|
|
949
|
+
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
950
|
+
const obj = arg1;
|
|
951
|
+
const ret = typeof obj === "number" ? obj : void 0;
|
|
952
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
953
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
954
|
+
};
|
|
955
|
+
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
956
|
+
const obj = arg1;
|
|
957
|
+
const ret = typeof obj === "string" ? obj : void 0;
|
|
958
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
959
|
+
var len1 = WASM_VECTOR_LEN;
|
|
960
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
961
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
972
962
|
};
|
|
973
|
-
imports.wbg.
|
|
974
|
-
|
|
975
|
-
return addHeapObject(ret);
|
|
963
|
+
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
|
964
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
976
965
|
};
|
|
977
966
|
return imports;
|
|
978
967
|
}
|
|
979
|
-
function __wbg_init_memory(imports,
|
|
968
|
+
function __wbg_init_memory(imports, memory) {
|
|
980
969
|
}
|
|
981
970
|
function __wbg_finalize_init(instance, module) {
|
|
982
971
|
wasm = instance.exports;
|
|
983
972
|
__wbg_init.__wbindgen_wasm_module = module;
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
cachedUint8Memory0 = null;
|
|
973
|
+
cachedDataViewMemory0 = null;
|
|
974
|
+
cachedUint32ArrayMemory0 = null;
|
|
975
|
+
cachedUint8ArrayMemory0 = null;
|
|
988
976
|
wasm.__wbindgen_start();
|
|
989
977
|
return wasm;
|
|
990
978
|
}
|
|
991
|
-
async function __wbg_init(
|
|
979
|
+
async function __wbg_init(module_or_path) {
|
|
992
980
|
if (wasm !== void 0)
|
|
993
981
|
return wasm;
|
|
994
|
-
if (typeof
|
|
995
|
-
|
|
982
|
+
if (typeof module_or_path !== "undefined") {
|
|
983
|
+
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
|
984
|
+
({ module_or_path } = module_or_path);
|
|
985
|
+
} else {
|
|
986
|
+
console.warn("using deprecated parameters for the initialization function; pass a single object instead");
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
if (typeof module_or_path === "undefined") {
|
|
990
|
+
module_or_path = new URL("shell_bg.wasm", import.meta.url);
|
|
996
991
|
}
|
|
997
992
|
const imports = __wbg_get_imports();
|
|
998
|
-
if (typeof
|
|
999
|
-
|
|
993
|
+
if (typeof module_or_path === "string" || typeof Request === "function" && module_or_path instanceof Request || typeof URL === "function" && module_or_path instanceof URL) {
|
|
994
|
+
module_or_path = fetch(module_or_path);
|
|
1000
995
|
}
|
|
1001
996
|
__wbg_init_memory(imports);
|
|
1002
|
-
const { instance, module } = await __wbg_load(await
|
|
997
|
+
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
1003
998
|
return __wbg_finalize_init(instance, module);
|
|
1004
999
|
}
|
|
1005
1000
|
var shell_default = __wbg_init;
|