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