qlue-ls 0.20.3 → 0.22.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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Ioannis Nezis <ioannis@nezis.de>"
6
6
  ],
7
7
  "description": "A language server for SPARQL",
8
- "version": "0.20.3",
8
+ "version": "0.22.0",
9
9
  "license": "SEE LICENSE IN LICENSE",
10
10
  "repository": {
11
11
  "type": "git",
package/qlue_ls.d.ts CHANGED
@@ -1,40 +1,47 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function format_raw(text: string): string;
4
- export function init_language_server(writer: WritableStreamDefaultWriter): Server;
5
- export function listen(server: Server, reader: ReadableStreamDefaultReader): Promise<void>;
6
- export function determine_operation_type(input: string): string;
7
- export function get_parse_tree(input: string, offset: number): any;
3
+
8
4
  export class Server {
9
5
  private constructor();
10
6
  free(): void;
11
7
  [Symbol.dispose](): void;
12
8
  }
13
9
 
10
+ export function determine_operation_type(input: string): string;
11
+
12
+ export function format_raw(text: string): string;
13
+
14
+ export function get_parse_tree(input: string, offset: number): any;
15
+
16
+ export function init_language_server(writer: WritableStreamDefaultWriter): Server;
17
+
18
+ export function listen(server: Server, reader: ReadableStreamDefaultReader): Promise<void>;
19
+
14
20
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
15
21
 
16
22
  export interface InitOutput {
17
23
  readonly memory: WebAssembly.Memory;
18
- readonly __wbg_server_free: (a: number, b: number) => void;
19
24
  readonly format_raw: (a: number, b: number) => [number, number, number, number];
20
25
  readonly init_language_server: (a: any) => number;
21
26
  readonly listen: (a: number, b: any) => any;
27
+ readonly __wbg_server_free: (a: number, b: number) => void;
22
28
  readonly determine_operation_type: (a: number, b: number) => [number, number];
23
29
  readonly get_parse_tree: (a: number, b: number, c: number) => any;
24
- readonly wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6: (a: number, b: number, c: any) => void;
25
- readonly wasm_bindgen__closure__destroy__h7f6f00ca22d0166f: (a: number, b: number) => void;
26
- readonly wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89: (a: number, b: number, c: any, d: any) => void;
30
+ readonly wasm_bindgen__convert__closures_____invoke__hf060df46011f9509: (a: number, b: number, c: any) => void;
31
+ readonly wasm_bindgen__closure__destroy__h28325e4e12848b80: (a: number, b: number) => void;
32
+ readonly wasm_bindgen__convert__closures_____invoke__hec3146db81f215d6: (a: number, b: number, c: any, d: any) => void;
27
33
  readonly __wbindgen_malloc: (a: number, b: number) => number;
28
34
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
29
- readonly __wbindgen_exn_store: (a: number) => void;
30
35
  readonly __externref_table_alloc: () => number;
31
36
  readonly __wbindgen_externrefs: WebAssembly.Table;
37
+ readonly __wbindgen_exn_store: (a: number) => void;
32
38
  readonly __externref_table_dealloc: (a: number) => void;
33
39
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
34
40
  readonly __wbindgen_start: () => void;
35
41
  }
36
42
 
37
43
  export type SyncInitInput = BufferSource | WebAssembly.Module;
44
+
38
45
  /**
39
46
  * Instantiates the given `module`, which can either be bytes or
40
47
  * a precompiled `WebAssembly.Module`.
package/qlue_ls.js CHANGED
@@ -1,101 +1,20 @@
1
1
  let wasm;
2
2
 
3
- let cachedUint8ArrayMemory0 = null;
4
-
5
- function getUint8ArrayMemory0() {
6
- if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
7
- cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
8
- }
9
- return cachedUint8ArrayMemory0;
10
- }
11
-
12
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
13
-
14
- cachedTextDecoder.decode();
15
-
16
- const MAX_SAFARI_DECODE_BYTES = 2146435072;
17
- let numBytesDecoded = 0;
18
- function decodeText(ptr, len) {
19
- numBytesDecoded += len;
20
- if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
21
- cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
22
- cachedTextDecoder.decode();
23
- numBytesDecoded = len;
24
- }
25
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
26
- }
27
-
28
- function getStringFromWasm0(ptr, len) {
29
- ptr = ptr >>> 0;
30
- return decodeText(ptr, len);
31
- }
32
-
33
- let WASM_VECTOR_LEN = 0;
34
-
35
- const cachedTextEncoder = new TextEncoder();
36
-
37
- if (!('encodeInto' in cachedTextEncoder)) {
38
- cachedTextEncoder.encodeInto = function (arg, view) {
39
- const buf = cachedTextEncoder.encode(arg);
40
- view.set(buf);
41
- return {
42
- read: arg.length,
43
- written: buf.length
44
- };
45
- }
46
- }
47
-
48
- function passStringToWasm0(arg, malloc, realloc) {
49
-
50
- if (realloc === undefined) {
51
- const buf = cachedTextEncoder.encode(arg);
52
- const ptr = malloc(buf.length, 1) >>> 0;
53
- getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
54
- WASM_VECTOR_LEN = buf.length;
55
- return ptr;
56
- }
57
-
58
- let len = arg.length;
59
- let ptr = malloc(len, 1) >>> 0;
60
-
61
- const mem = getUint8ArrayMemory0();
62
-
63
- let offset = 0;
64
-
65
- for (; offset < len; offset++) {
66
- const code = arg.charCodeAt(offset);
67
- if (code > 0x7F) break;
68
- mem[ptr + offset] = code;
69
- }
70
-
71
- if (offset !== len) {
72
- if (offset !== 0) {
73
- arg = arg.slice(offset);
74
- }
75
- ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
76
- const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
77
- const ret = cachedTextEncoder.encodeInto(arg, view);
78
-
79
- offset += ret.written;
80
- ptr = realloc(ptr, len, offset, 1) >>> 0;
81
- }
82
-
83
- WASM_VECTOR_LEN = offset;
84
- return ptr;
3
+ function addToExternrefTable0(obj) {
4
+ const idx = wasm.__externref_table_alloc();
5
+ wasm.__wbindgen_externrefs.set(idx, obj);
6
+ return idx;
85
7
  }
86
8
 
87
- let cachedDataViewMemory0 = null;
88
-
89
- function getDataViewMemory0() {
90
- if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
91
- cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
9
+ function _assertClass(instance, klass) {
10
+ if (!(instance instanceof klass)) {
11
+ throw new Error(`expected instance of ${klass.name}`);
92
12
  }
93
- return cachedDataViewMemory0;
94
13
  }
95
14
 
96
- function isLikeNone(x) {
97
- return x === undefined || x === null;
98
- }
15
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
16
+ ? { register: () => {}, unregister: () => {} }
17
+ : new FinalizationRegistry(state => state.dtor(state.a, state.b));
99
18
 
100
19
  function debugString(val) {
101
20
  // primitive types
@@ -162,10 +81,30 @@ function debugString(val) {
162
81
  return className;
163
82
  }
164
83
 
165
- function addToExternrefTable0(obj) {
166
- const idx = wasm.__externref_table_alloc();
167
- wasm.__wbindgen_externrefs.set(idx, obj);
168
- return idx;
84
+ function getArrayU8FromWasm0(ptr, len) {
85
+ ptr = ptr >>> 0;
86
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
87
+ }
88
+
89
+ let cachedDataViewMemory0 = null;
90
+ function getDataViewMemory0() {
91
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
92
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
93
+ }
94
+ return cachedDataViewMemory0;
95
+ }
96
+
97
+ function getStringFromWasm0(ptr, len) {
98
+ ptr = ptr >>> 0;
99
+ return decodeText(ptr, len);
100
+ }
101
+
102
+ let cachedUint8ArrayMemory0 = null;
103
+ function getUint8ArrayMemory0() {
104
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
105
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
106
+ }
107
+ return cachedUint8ArrayMemory0;
169
108
  }
170
109
 
171
110
  function handleError(f, args) {
@@ -177,15 +116,10 @@ function handleError(f, args) {
177
116
  }
178
117
  }
179
118
 
180
- function getArrayU8FromWasm0(ptr, len) {
181
- ptr = ptr >>> 0;
182
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
119
+ function isLikeNone(x) {
120
+ return x === undefined || x === null;
183
121
  }
184
122
 
185
- const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
186
- ? { register: () => {}, unregister: () => {} }
187
- : new FinalizationRegistry(state => state.dtor(state.a, state.b));
188
-
189
123
  function makeMutClosure(arg0, arg1, dtor, f) {
190
124
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
191
125
  const real = (...args) => {
@@ -214,11 +148,132 @@ function makeMutClosure(arg0, arg1, dtor, f) {
214
148
  return real;
215
149
  }
216
150
 
151
+ function passStringToWasm0(arg, malloc, realloc) {
152
+ if (realloc === undefined) {
153
+ const buf = cachedTextEncoder.encode(arg);
154
+ const ptr = malloc(buf.length, 1) >>> 0;
155
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
156
+ WASM_VECTOR_LEN = buf.length;
157
+ return ptr;
158
+ }
159
+
160
+ let len = arg.length;
161
+ let ptr = malloc(len, 1) >>> 0;
162
+
163
+ const mem = getUint8ArrayMemory0();
164
+
165
+ let offset = 0;
166
+
167
+ for (; offset < len; offset++) {
168
+ const code = arg.charCodeAt(offset);
169
+ if (code > 0x7F) break;
170
+ mem[ptr + offset] = code;
171
+ }
172
+ if (offset !== len) {
173
+ if (offset !== 0) {
174
+ arg = arg.slice(offset);
175
+ }
176
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
177
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
178
+ const ret = cachedTextEncoder.encodeInto(arg, view);
179
+
180
+ offset += ret.written;
181
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
182
+ }
183
+
184
+ WASM_VECTOR_LEN = offset;
185
+ return ptr;
186
+ }
187
+
217
188
  function takeFromExternrefTable0(idx) {
218
189
  const value = wasm.__wbindgen_externrefs.get(idx);
219
190
  wasm.__externref_table_dealloc(idx);
220
191
  return value;
221
192
  }
193
+
194
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
195
+ cachedTextDecoder.decode();
196
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
197
+ let numBytesDecoded = 0;
198
+ function decodeText(ptr, len) {
199
+ numBytesDecoded += len;
200
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
201
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
202
+ cachedTextDecoder.decode();
203
+ numBytesDecoded = len;
204
+ }
205
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
206
+ }
207
+
208
+ const cachedTextEncoder = new TextEncoder();
209
+
210
+ if (!('encodeInto' in cachedTextEncoder)) {
211
+ cachedTextEncoder.encodeInto = function (arg, view) {
212
+ const buf = cachedTextEncoder.encode(arg);
213
+ view.set(buf);
214
+ return {
215
+ read: arg.length,
216
+ written: buf.length
217
+ };
218
+ }
219
+ }
220
+
221
+ let WASM_VECTOR_LEN = 0;
222
+
223
+ function wasm_bindgen__convert__closures_____invoke__hf060df46011f9509(arg0, arg1, arg2) {
224
+ wasm.wasm_bindgen__convert__closures_____invoke__hf060df46011f9509(arg0, arg1, arg2);
225
+ }
226
+
227
+ function wasm_bindgen__convert__closures_____invoke__hec3146db81f215d6(arg0, arg1, arg2, arg3) {
228
+ wasm.wasm_bindgen__convert__closures_____invoke__hec3146db81f215d6(arg0, arg1, arg2, arg3);
229
+ }
230
+
231
+ const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
232
+
233
+ const ServerFinalization = (typeof FinalizationRegistry === 'undefined')
234
+ ? { register: () => {}, unregister: () => {} }
235
+ : new FinalizationRegistry(ptr => wasm.__wbg_server_free(ptr >>> 0, 1));
236
+
237
+ export class Server {
238
+ static __wrap(ptr) {
239
+ ptr = ptr >>> 0;
240
+ const obj = Object.create(Server.prototype);
241
+ obj.__wbg_ptr = ptr;
242
+ ServerFinalization.register(obj, obj.__wbg_ptr, obj);
243
+ return obj;
244
+ }
245
+ __destroy_into_raw() {
246
+ const ptr = this.__wbg_ptr;
247
+ this.__wbg_ptr = 0;
248
+ ServerFinalization.unregister(this);
249
+ return ptr;
250
+ }
251
+ free() {
252
+ const ptr = this.__destroy_into_raw();
253
+ wasm.__wbg_server_free(ptr, 0);
254
+ }
255
+ }
256
+ if (Symbol.dispose) Server.prototype[Symbol.dispose] = Server.prototype.free;
257
+
258
+ /**
259
+ * @param {string} input
260
+ * @returns {string}
261
+ */
262
+ export function determine_operation_type(input) {
263
+ let deferred2_0;
264
+ let deferred2_1;
265
+ try {
266
+ const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
267
+ const len0 = WASM_VECTOR_LEN;
268
+ const ret = wasm.determine_operation_type(ptr0, len0);
269
+ deferred2_0 = ret[0];
270
+ deferred2_1 = ret[1];
271
+ return getStringFromWasm0(ret[0], ret[1]);
272
+ } finally {
273
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
274
+ }
275
+ }
276
+
222
277
  /**
223
278
  * @param {string} text
224
279
  * @returns {string}
@@ -244,6 +299,18 @@ export function format_raw(text) {
244
299
  }
245
300
  }
246
301
 
302
+ /**
303
+ * @param {string} input
304
+ * @param {number} offset
305
+ * @returns {any}
306
+ */
307
+ export function get_parse_tree(input, offset) {
308
+ const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
309
+ const len0 = WASM_VECTOR_LEN;
310
+ const ret = wasm.get_parse_tree(ptr0, len0, offset);
311
+ return ret;
312
+ }
313
+
247
314
  /**
248
315
  * @param {WritableStreamDefaultWriter} writer
249
316
  * @returns {Server}
@@ -253,11 +320,6 @@ export function init_language_server(writer) {
253
320
  return Server.__wrap(ret);
254
321
  }
255
322
 
256
- function _assertClass(instance, klass) {
257
- if (!(instance instanceof klass)) {
258
- throw new Error(`expected instance of ${klass.name}`);
259
- }
260
- }
261
323
  /**
262
324
  * @param {Server} server
263
325
  * @param {ReadableStreamDefaultReader} reader
@@ -270,75 +332,6 @@ export function listen(server, reader) {
270
332
  return ret;
271
333
  }
272
334
 
273
- /**
274
- * @param {string} input
275
- * @returns {string}
276
- */
277
- export function determine_operation_type(input) {
278
- let deferred2_0;
279
- let deferred2_1;
280
- try {
281
- const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
282
- const len0 = WASM_VECTOR_LEN;
283
- const ret = wasm.determine_operation_type(ptr0, len0);
284
- deferred2_0 = ret[0];
285
- deferred2_1 = ret[1];
286
- return getStringFromWasm0(ret[0], ret[1]);
287
- } finally {
288
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
289
- }
290
- }
291
-
292
- /**
293
- * @param {string} input
294
- * @param {number} offset
295
- * @returns {any}
296
- */
297
- export function get_parse_tree(input, offset) {
298
- const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
299
- const len0 = WASM_VECTOR_LEN;
300
- const ret = wasm.get_parse_tree(ptr0, len0, offset);
301
- return ret;
302
- }
303
-
304
- function wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6(arg0, arg1, arg2) {
305
- wasm.wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6(arg0, arg1, arg2);
306
- }
307
-
308
- function wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(arg0, arg1, arg2, arg3) {
309
- wasm.wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(arg0, arg1, arg2, arg3);
310
- }
311
-
312
- const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
313
-
314
- const ServerFinalization = (typeof FinalizationRegistry === 'undefined')
315
- ? { register: () => {}, unregister: () => {} }
316
- : new FinalizationRegistry(ptr => wasm.__wbg_server_free(ptr >>> 0, 1));
317
-
318
- export class Server {
319
-
320
- static __wrap(ptr) {
321
- ptr = ptr >>> 0;
322
- const obj = Object.create(Server.prototype);
323
- obj.__wbg_ptr = ptr;
324
- ServerFinalization.register(obj, obj.__wbg_ptr, obj);
325
- return obj;
326
- }
327
-
328
- __destroy_into_raw() {
329
- const ptr = this.__wbg_ptr;
330
- this.__wbg_ptr = 0;
331
- ServerFinalization.unregister(this);
332
- return ptr;
333
- }
334
-
335
- free() {
336
- const ptr = this.__destroy_into_raw();
337
- wasm.__wbg_server_free(ptr, 0);
338
- }
339
- }
340
- if (Symbol.dispose) Server.prototype[Symbol.dispose] = Server.prototype.free;
341
-
342
335
  const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
343
336
 
344
337
  async function __wbg_load(module, imports) {
@@ -346,7 +339,6 @@ async function __wbg_load(module, imports) {
346
339
  if (typeof WebAssembly.instantiateStreaming === 'function') {
347
340
  try {
348
341
  return await WebAssembly.instantiateStreaming(module, imports);
349
-
350
342
  } catch (e) {
351
343
  const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
352
344
 
@@ -361,13 +353,11 @@ async function __wbg_load(module, imports) {
361
353
 
362
354
  const bytes = await module.arrayBuffer();
363
355
  return await WebAssembly.instantiate(bytes, imports);
364
-
365
356
  } else {
366
357
  const instance = await WebAssembly.instantiate(module, imports);
367
358
 
368
359
  if (instance instanceof WebAssembly.Instance) {
369
360
  return { instance, module };
370
-
371
361
  } else {
372
362
  return instance;
373
363
  }
@@ -377,11 +367,11 @@ async function __wbg_load(module, imports) {
377
367
  function __wbg_get_imports() {
378
368
  const imports = {};
379
369
  imports.wbg = {};
380
- imports.wbg.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
370
+ imports.wbg.__wbg_Error_52673b7de5a0ca89 = function(arg0, arg1) {
381
371
  const ret = Error(getStringFromWasm0(arg0, arg1));
382
372
  return ret;
383
373
  };
384
- imports.wbg.__wbg_Number_bb48ca12f395cd08 = function(arg0) {
374
+ imports.wbg.__wbg_Number_2d1dcfcf4ec51736 = function(arg0) {
385
375
  const ret = Number(arg0);
386
376
  return ret;
387
377
  };
@@ -392,50 +382,50 @@ function __wbg_get_imports() {
392
382
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
393
383
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
394
384
  };
395
- imports.wbg.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
385
+ imports.wbg.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(arg0) {
396
386
  const v = arg0;
397
387
  const ret = typeof(v) === 'boolean' ? v : undefined;
398
388
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
399
389
  };
400
- imports.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
390
+ imports.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, arg1) {
401
391
  const ret = debugString(arg1);
402
392
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
403
393
  const len1 = WASM_VECTOR_LEN;
404
394
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
405
395
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
406
396
  };
407
- imports.wbg.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function(arg0, arg1) {
397
+ imports.wbg.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(arg0, arg1) {
408
398
  const ret = arg0 in arg1;
409
399
  return ret;
410
400
  };
411
- imports.wbg.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
401
+ imports.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) {
412
402
  const ret = typeof(arg0) === 'function';
413
403
  return ret;
414
404
  };
415
- imports.wbg.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
405
+ imports.wbg.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) {
416
406
  const val = arg0;
417
407
  const ret = typeof(val) === 'object' && val !== null;
418
408
  return ret;
419
409
  };
420
- imports.wbg.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
410
+ imports.wbg.__wbg___wbindgen_is_string_704ef9c8fc131030 = function(arg0) {
421
411
  const ret = typeof(arg0) === 'string';
422
412
  return ret;
423
413
  };
424
- imports.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
414
+ imports.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) {
425
415
  const ret = arg0 === undefined;
426
416
  return ret;
427
417
  };
428
- imports.wbg.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
418
+ imports.wbg.__wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d = function(arg0, arg1) {
429
419
  const ret = arg0 == arg1;
430
420
  return ret;
431
421
  };
432
- imports.wbg.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
422
+ imports.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function(arg0, arg1) {
433
423
  const obj = arg1;
434
424
  const ret = typeof(obj) === 'number' ? obj : undefined;
435
425
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
436
426
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
437
427
  };
438
- imports.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
428
+ imports.wbg.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, arg1) {
439
429
  const obj = arg1;
440
430
  const ret = typeof(obj) === 'string' ? obj : undefined;
441
431
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -443,42 +433,50 @@ function __wbg_get_imports() {
443
433
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
444
434
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
445
435
  };
446
- imports.wbg.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
436
+ imports.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) {
447
437
  throw new Error(getStringFromWasm0(arg0, arg1));
448
438
  };
449
- imports.wbg.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
439
+ imports.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(arg0) {
450
440
  arg0._wbg_cb_unref();
451
441
  };
452
- imports.wbg.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
442
+ imports.wbg.__wbg_body_947b901c33f7fe32 = function(arg0) {
443
+ const ret = arg0.body;
444
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
445
+ };
446
+ imports.wbg.__wbg_call_3020136f7a2d6e44 = function() { return handleError(function (arg0, arg1, arg2) {
453
447
  const ret = arg0.call(arg1, arg2);
454
448
  return ret;
455
449
  }, arguments) };
456
- imports.wbg.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
450
+ imports.wbg.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) {
457
451
  const ret = arg0.call(arg1);
458
452
  return ret;
459
453
  }, arguments) };
460
- imports.wbg.__wbg_debug_e55e1461940eb14d = function(arg0, arg1, arg2, arg3) {
454
+ imports.wbg.__wbg_debug_9ad80675faf0c9cf = function(arg0, arg1, arg2, arg3) {
461
455
  console.debug(arg0, arg1, arg2, arg3);
462
456
  };
463
- imports.wbg.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
457
+ imports.wbg.__wbg_entries_83c79938054e065f = function(arg0) {
464
458
  const ret = Object.entries(arg0);
465
459
  return ret;
466
460
  };
467
- imports.wbg.__wbg_error_a7f8fbb0523dae15 = function(arg0) {
461
+ imports.wbg.__wbg_error_7bc7d576a6aaf855 = function(arg0) {
468
462
  console.error(arg0);
469
463
  };
470
- imports.wbg.__wbg_error_d8b22cf4e59a6791 = function(arg0, arg1, arg2, arg3) {
464
+ imports.wbg.__wbg_error_ad1ecdacd1bb600d = function(arg0, arg1, arg2, arg3) {
471
465
  console.error(arg0, arg1, arg2, arg3);
472
466
  };
473
- imports.wbg.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
467
+ imports.wbg.__wbg_fetch_90447c28cc0b095e = function(arg0, arg1) {
474
468
  const ret = arg0.fetch(arg1);
475
469
  return ret;
476
470
  };
477
- imports.wbg.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
471
+ imports.wbg.__wbg_getReader_b6676f6d8b326942 = function(arg0) {
472
+ const ret = arg0.getReader();
473
+ return ret;
474
+ };
475
+ imports.wbg.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) {
478
476
  const ret = arg0[arg1 >>> 0];
479
477
  return ret;
480
478
  };
481
- imports.wbg.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
479
+ imports.wbg.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) {
482
480
  const ret = Reflect.get(arg0, arg1);
483
481
  return ret;
484
482
  }, arguments) };
@@ -486,14 +484,14 @@ function __wbg_get_imports() {
486
484
  const ret = arg0[arg1];
487
485
  return ret;
488
486
  };
489
- imports.wbg.__wbg_headers_7ae6dbb1272f8fc6 = function(arg0) {
487
+ imports.wbg.__wbg_headers_850c3fb50632ae78 = function(arg0) {
490
488
  const ret = arg0.headers;
491
489
  return ret;
492
490
  };
493
- imports.wbg.__wbg_info_68cd5b51ef7e5137 = function(arg0, arg1, arg2, arg3) {
491
+ imports.wbg.__wbg_info_b7fa8ce2e59d29c6 = function(arg0, arg1, arg2, arg3) {
494
492
  console.info(arg0, arg1, arg2, arg3);
495
493
  };
496
- imports.wbg.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
494
+ imports.wbg.__wbg_instanceof_ArrayBuffer_f3320d2419cd0355 = function(arg0) {
497
495
  let result;
498
496
  try {
499
497
  result = arg0 instanceof ArrayBuffer;
@@ -503,7 +501,7 @@ function __wbg_get_imports() {
503
501
  const ret = result;
504
502
  return ret;
505
503
  };
506
- imports.wbg.__wbg_instanceof_Response_f4f3e87e07f3135c = function(arg0) {
504
+ imports.wbg.__wbg_instanceof_Response_cd74d1c2ac92cb0b = function(arg0) {
507
505
  let result;
508
506
  try {
509
507
  result = arg0 instanceof Response;
@@ -513,7 +511,7 @@ function __wbg_get_imports() {
513
511
  const ret = result;
514
512
  return ret;
515
513
  };
516
- imports.wbg.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
514
+ imports.wbg.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function(arg0) {
517
515
  let result;
518
516
  try {
519
517
  result = arg0 instanceof Uint8Array;
@@ -523,37 +521,45 @@ function __wbg_get_imports() {
523
521
  const ret = result;
524
522
  return ret;
525
523
  };
526
- imports.wbg.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
524
+ imports.wbg.__wbg_isSafeInteger_ae7d3f054d55fa16 = function(arg0) {
527
525
  const ret = Number.isSafeInteger(arg0);
528
526
  return ret;
529
527
  };
530
- imports.wbg.__wbg_json_5d2ba74e315ef6e6 = function() { return handleError(function (arg0) {
528
+ imports.wbg.__wbg_json_47d847e3a3f1cf40 = function() { return handleError(function (arg0) {
531
529
  const ret = arg0.json();
532
530
  return ret;
533
531
  }, arguments) };
534
- imports.wbg.__wbg_length_69bca3cb64fc8748 = function(arg0) {
532
+ imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) {
535
533
  const ret = arg0.length;
536
534
  return ret;
537
535
  };
538
- imports.wbg.__wbg_length_cdd215e10d9dd507 = function(arg0) {
536
+ imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) {
539
537
  const ret = arg0.length;
540
538
  return ret;
541
539
  };
542
- imports.wbg.__wbg_log_45eb3a49e7cdcb64 = function(arg0, arg1, arg2, arg3) {
540
+ imports.wbg.__wbg_log_f614673762e98966 = function(arg0, arg1, arg2, arg3) {
543
541
  console.log(arg0, arg1, arg2, arg3);
544
542
  };
545
- imports.wbg.__wbg_new_1acc0b6eea89d040 = function() {
543
+ imports.wbg.__wbg_new_1ba21ce319a06297 = function() {
546
544
  const ret = new Object();
547
545
  return ret;
548
546
  };
549
- imports.wbg.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
547
+ imports.wbg.__wbg_new_25f239778d6112b9 = function() {
548
+ const ret = new Array();
549
+ return ret;
550
+ };
551
+ imports.wbg.__wbg_new_6421f6084cc5bc5a = function(arg0) {
552
+ const ret = new Uint8Array(arg0);
553
+ return ret;
554
+ };
555
+ imports.wbg.__wbg_new_ff12d2b041fb48f1 = function(arg0, arg1) {
550
556
  try {
551
557
  var state0 = {a: arg0, b: arg1};
552
558
  var cb0 = (arg0, arg1) => {
553
559
  const a = state0.a;
554
560
  state0.a = 0;
555
561
  try {
556
- return wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(a, state0.b, arg0, arg1);
562
+ return wasm_bindgen__convert__closures_____invoke__hec3146db81f215d6(a, state0.b, arg0, arg1);
557
563
  } finally {
558
564
  state0.a = a;
559
565
  }
@@ -564,115 +570,107 @@ function __wbg_get_imports() {
564
570
  state0.a = state0.b = 0;
565
571
  }
566
572
  };
567
- imports.wbg.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
568
- const ret = new Uint8Array(arg0);
569
- return ret;
570
- };
571
- imports.wbg.__wbg_new_e17d9f43105b08be = function() {
572
- const ret = new Array();
573
- return ret;
574
- };
575
- imports.wbg.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
573
+ imports.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) {
576
574
  const ret = new Function(getStringFromWasm0(arg0, arg1));
577
575
  return ret;
578
576
  };
579
- imports.wbg.__wbg_new_with_args_02cbc439ce3fd7db = function(arg0, arg1, arg2, arg3) {
577
+ imports.wbg.__wbg_new_with_args_df9e7125ffe55248 = function(arg0, arg1, arg2, arg3) {
580
578
  const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
581
579
  return ret;
582
580
  };
583
- imports.wbg.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function() { return handleError(function (arg0, arg1, arg2) {
581
+ imports.wbg.__wbg_new_with_str_and_init_c5748f76f5108934 = function() { return handleError(function (arg0, arg1, arg2) {
584
582
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
585
583
  return ret;
586
584
  }, arguments) };
587
- imports.wbg.__wbg_now_f5ba683d8ce2c571 = function(arg0) {
585
+ imports.wbg.__wbg_now_8cf15d6e317793e1 = function(arg0) {
588
586
  const ret = arg0.now();
589
587
  return ret;
590
588
  };
591
- imports.wbg.__wbg_ok_5749966cb2b8535e = function(arg0) {
589
+ imports.wbg.__wbg_ok_dd98ecb60d721e20 = function(arg0) {
592
590
  const ret = arg0.ok;
593
591
  return ret;
594
592
  };
595
- imports.wbg.__wbg_performance_68c7f44d89a99380 = function(arg0) {
593
+ imports.wbg.__wbg_performance_64147f039018735c = function(arg0) {
596
594
  const ret = arg0.performance;
597
595
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
598
596
  };
599
- imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
597
+ imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
600
598
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
601
599
  };
602
- imports.wbg.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
600
+ imports.wbg.__wbg_push_7d9be8f38fc13975 = function(arg0, arg1) {
603
601
  const ret = arg0.push(arg1);
604
602
  return ret;
605
603
  };
606
- imports.wbg.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
604
+ imports.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function(arg0) {
607
605
  const ret = arg0.queueMicrotask;
608
606
  return ret;
609
607
  };
610
- imports.wbg.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
608
+ imports.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function(arg0) {
611
609
  queueMicrotask(arg0);
612
610
  };
613
- imports.wbg.__wbg_read_48f1593df542f968 = function(arg0) {
611
+ imports.wbg.__wbg_read_39c4b35efcd03c25 = function(arg0) {
614
612
  const ret = arg0.read();
615
613
  return ret;
616
614
  };
617
- imports.wbg.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
615
+ imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) {
618
616
  const ret = Promise.resolve(arg0);
619
617
  return ret;
620
618
  };
621
- imports.wbg.__wbg_set_8b342d8cd9d2a02c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
619
+ imports.wbg.__wbg_set_425eb8b710d5beee = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
622
620
  arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
623
621
  }, arguments) };
624
- imports.wbg.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
625
- arg0.body = arg1;
626
- };
627
- imports.wbg.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (arg0, arg1, arg2) {
622
+ imports.wbg.__wbg_set_781438a03c0c3c81 = function() { return handleError(function (arg0, arg1, arg2) {
628
623
  const ret = Reflect.set(arg0, arg1, arg2);
629
624
  return ret;
630
625
  }, arguments) };
631
- imports.wbg.__wbg_set_method_c02d8cbbe204ac2d = function(arg0, arg1, arg2) {
626
+ imports.wbg.__wbg_set_body_8e743242d6076a4f = function(arg0, arg1) {
627
+ arg0.body = arg1;
628
+ };
629
+ imports.wbg.__wbg_set_method_76c69e41b3570627 = function(arg0, arg1, arg2) {
632
630
  arg0.method = getStringFromWasm0(arg1, arg2);
633
631
  };
634
- imports.wbg.__wbg_set_mode_52ef73cfa79639cb = function(arg0, arg1) {
632
+ imports.wbg.__wbg_set_mode_611016a6818fc690 = function(arg0, arg1) {
635
633
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
636
634
  };
637
- imports.wbg.__wbg_set_signal_dda2cf7ccb6bee0f = function(arg0, arg1) {
635
+ imports.wbg.__wbg_set_signal_e89be862d0091009 = function(arg0, arg1) {
638
636
  arg0.signal = arg1;
639
637
  };
640
- imports.wbg.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
638
+ imports.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() {
641
639
  const ret = typeof global === 'undefined' ? null : global;
642
640
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
643
641
  };
644
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
642
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() {
645
643
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
646
644
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
647
645
  };
648
- imports.wbg.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
646
+ imports.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() {
649
647
  const ret = typeof self === 'undefined' ? null : self;
650
648
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
651
649
  };
652
- imports.wbg.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
650
+ imports.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() {
653
651
  const ret = typeof window === 'undefined' ? null : window;
654
652
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
655
653
  };
656
- imports.wbg.__wbg_text_dc33c15c17bdfb52 = function() { return handleError(function (arg0) {
654
+ imports.wbg.__wbg_text_51046bb33d257f63 = function() { return handleError(function (arg0) {
657
655
  const ret = arg0.text();
658
656
  return ret;
659
657
  }, arguments) };
660
- imports.wbg.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
661
- const ret = arg0.then(arg1);
658
+ imports.wbg.__wbg_then_429f7caf1026411d = function(arg0, arg1, arg2) {
659
+ const ret = arg0.then(arg1, arg2);
662
660
  return ret;
663
661
  };
664
- imports.wbg.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
665
- const ret = arg0.then(arg1, arg2);
662
+ imports.wbg.__wbg_then_4f95312d68691235 = function(arg0, arg1) {
663
+ const ret = arg0.then(arg1);
666
664
  return ret;
667
665
  };
668
- imports.wbg.__wbg_timeout_38cc9e1d85d89832 = function(arg0) {
666
+ imports.wbg.__wbg_timeout_c214cffbe559e9de = function(arg0) {
669
667
  const ret = AbortSignal.timeout(arg0 >>> 0);
670
668
  return ret;
671
669
  };
672
- imports.wbg.__wbg_warn_8f5b5437666d0885 = function(arg0, arg1, arg2, arg3) {
670
+ imports.wbg.__wbg_warn_165ef4f6bcfc05e7 = function(arg0, arg1, arg2, arg3) {
673
671
  console.warn(arg0, arg1, arg2, arg3);
674
672
  };
675
- imports.wbg.__wbg_write_5f693b62e780062e = function(arg0, arg1) {
673
+ imports.wbg.__wbg_write_0823b42435137c02 = function(arg0, arg1) {
676
674
  const ret = arg0.write(arg1);
677
675
  return ret;
678
676
  };
@@ -681,9 +679,9 @@ function __wbg_get_imports() {
681
679
  const ret = getStringFromWasm0(arg0, arg1);
682
680
  return ret;
683
681
  };
684
- imports.wbg.__wbindgen_cast_65dbcd985d3776e9 = function(arg0, arg1) {
685
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1392, function: Function { arguments: [Externref], shim_idx: 1393, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
686
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h7f6f00ca22d0166f, wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6);
682
+ imports.wbg.__wbindgen_cast_f8e98c272db65547 = function(arg0, arg1) {
683
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1413, function: Function { arguments: [Externref], shim_idx: 1414, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
684
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h28325e4e12848b80, wasm_bindgen__convert__closures_____invoke__hf060df46011f9509);
687
685
  return ret;
688
686
  };
689
687
  imports.wbg.__wbindgen_init_externref_table = function() {
@@ -694,7 +692,6 @@ function __wbg_get_imports() {
694
692
  table.set(offset + 1, null);
695
693
  table.set(offset + 2, true);
696
694
  table.set(offset + 3, false);
697
- ;
698
695
  };
699
696
 
700
697
  return imports;
@@ -724,13 +721,10 @@ function initSync(module) {
724
721
  }
725
722
 
726
723
  const imports = __wbg_get_imports();
727
-
728
724
  if (!(module instanceof WebAssembly.Module)) {
729
725
  module = new WebAssembly.Module(module);
730
726
  }
731
-
732
727
  const instance = new WebAssembly.Instance(module, imports);
733
-
734
728
  return __wbg_finalize_init(instance, module);
735
729
  }
736
730
 
package/qlue_ls_bg.wasm CHANGED
Binary file