qlue-ls 0.20.2 → 0.21.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.2",
8
+ "version": "0.21.0",
9
9
  "license": "SEE LICENSE IN LICENSE",
10
10
  "repository": {
11
11
  "type": "git",
package/qlue_ls.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function format_raw(text: string): string;
4
3
  export function listen(server: Server, reader: ReadableStreamDefaultReader): Promise<void>;
5
4
  export function init_language_server(writer: WritableStreamDefaultWriter): Server;
5
+ export function format_raw(text: string): string;
6
6
  export function determine_operation_type(input: string): string;
7
7
  export function get_parse_tree(input: string, offset: number): any;
8
8
  export class Server {
@@ -16,21 +16,21 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
16
16
  export interface InitOutput {
17
17
  readonly memory: WebAssembly.Memory;
18
18
  readonly __wbg_server_free: (a: number, b: number) => void;
19
- readonly format_raw: (a: number, b: number) => [number, number, number, number];
20
19
  readonly init_language_server: (a: any) => number;
21
20
  readonly listen: (a: number, b: any) => any;
21
+ readonly format_raw: (a: number, b: number) => [number, number, number, number];
22
22
  readonly determine_operation_type: (a: number, b: number) => [number, number];
23
23
  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;
24
27
  readonly __wbindgen_malloc: (a: number, b: number) => number;
25
28
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
26
29
  readonly __wbindgen_exn_store: (a: number) => void;
27
30
  readonly __externref_table_alloc: () => number;
28
- readonly __wbindgen_export_4: WebAssembly.Table;
29
- readonly __wbindgen_export_5: WebAssembly.Table;
31
+ readonly __wbindgen_externrefs: WebAssembly.Table;
30
32
  readonly __externref_table_dealloc: (a: number) => void;
31
33
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
32
- readonly closure1386_externref_shim: (a: number, b: number, c: any) => void;
33
- readonly closure1920_externref_shim: (a: number, b: number, c: any, d: any) => void;
34
34
  readonly __wbindgen_start: () => void;
35
35
  }
36
36
 
package/qlue_ls.js CHANGED
@@ -93,30 +93,10 @@ function getDataViewMemory0() {
93
93
  return cachedDataViewMemory0;
94
94
  }
95
95
 
96
- function addToExternrefTable0(obj) {
97
- const idx = wasm.__externref_table_alloc();
98
- wasm.__wbindgen_export_4.set(idx, obj);
99
- return idx;
100
- }
101
-
102
- function handleError(f, args) {
103
- try {
104
- return f.apply(this, args);
105
- } catch (e) {
106
- const idx = addToExternrefTable0(e);
107
- wasm.__wbindgen_exn_store(idx);
108
- }
109
- }
110
-
111
96
  function isLikeNone(x) {
112
97
  return x === undefined || x === null;
113
98
  }
114
99
 
115
- function getArrayU8FromWasm0(ptr, len) {
116
- ptr = ptr >>> 0;
117
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
118
- }
119
-
120
100
  function debugString(val) {
121
101
  // primitive types
122
102
  const type = typeof val;
@@ -182,13 +162,29 @@ function debugString(val) {
182
162
  return className;
183
163
  }
184
164
 
165
+ function addToExternrefTable0(obj) {
166
+ const idx = wasm.__externref_table_alloc();
167
+ wasm.__wbindgen_externrefs.set(idx, obj);
168
+ return idx;
169
+ }
170
+
171
+ function handleError(f, args) {
172
+ try {
173
+ return f.apply(this, args);
174
+ } catch (e) {
175
+ const idx = addToExternrefTable0(e);
176
+ wasm.__wbindgen_exn_store(idx);
177
+ }
178
+ }
179
+
180
+ function getArrayU8FromWasm0(ptr, len) {
181
+ ptr = ptr >>> 0;
182
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
183
+ }
184
+
185
185
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
186
186
  ? { register: () => {}, unregister: () => {} }
187
- : new FinalizationRegistry(
188
- state => {
189
- wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
190
- }
191
- );
187
+ : new FinalizationRegistry(state => state.dtor(state.a, state.b));
192
188
 
193
189
  function makeMutClosure(arg0, arg1, dtor, f) {
194
190
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
@@ -203,21 +199,49 @@ function makeMutClosure(arg0, arg1, dtor, f) {
203
199
  try {
204
200
  return f(a, state.b, ...args);
205
201
  } finally {
206
- if (--state.cnt === 0) {
207
- wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
208
- CLOSURE_DTORS.unregister(state);
209
- } else {
210
- state.a = a;
211
- }
202
+ state.a = a;
203
+ real._wbg_cb_unref();
204
+ }
205
+ };
206
+ real._wbg_cb_unref = () => {
207
+ if (--state.cnt === 0) {
208
+ state.dtor(state.a, state.b);
209
+ state.a = 0;
210
+ CLOSURE_DTORS.unregister(state);
212
211
  }
213
212
  };
214
- real.original = state;
215
213
  CLOSURE_DTORS.register(real, state, state);
216
214
  return real;
217
215
  }
218
216
 
217
+ function _assertClass(instance, klass) {
218
+ if (!(instance instanceof klass)) {
219
+ throw new Error(`expected instance of ${klass.name}`);
220
+ }
221
+ }
222
+ /**
223
+ * @param {Server} server
224
+ * @param {ReadableStreamDefaultReader} reader
225
+ * @returns {Promise<void>}
226
+ */
227
+ export function listen(server, reader) {
228
+ _assertClass(server, Server);
229
+ var ptr0 = server.__destroy_into_raw();
230
+ const ret = wasm.listen(ptr0, reader);
231
+ return ret;
232
+ }
233
+
234
+ /**
235
+ * @param {WritableStreamDefaultWriter} writer
236
+ * @returns {Server}
237
+ */
238
+ export function init_language_server(writer) {
239
+ const ret = wasm.init_language_server(writer);
240
+ return Server.__wrap(ret);
241
+ }
242
+
219
243
  function takeFromExternrefTable0(idx) {
220
- const value = wasm.__wbindgen_export_4.get(idx);
244
+ const value = wasm.__wbindgen_externrefs.get(idx);
221
245
  wasm.__externref_table_dealloc(idx);
222
246
  return value;
223
247
  }
@@ -246,32 +270,6 @@ export function format_raw(text) {
246
270
  }
247
271
  }
248
272
 
249
- function _assertClass(instance, klass) {
250
- if (!(instance instanceof klass)) {
251
- throw new Error(`expected instance of ${klass.name}`);
252
- }
253
- }
254
- /**
255
- * @param {Server} server
256
- * @param {ReadableStreamDefaultReader} reader
257
- * @returns {Promise<void>}
258
- */
259
- export function listen(server, reader) {
260
- _assertClass(server, Server);
261
- var ptr0 = server.__destroy_into_raw();
262
- const ret = wasm.listen(ptr0, reader);
263
- return ret;
264
- }
265
-
266
- /**
267
- * @param {WritableStreamDefaultWriter} writer
268
- * @returns {Server}
269
- */
270
- export function init_language_server(writer) {
271
- const ret = wasm.init_language_server(writer);
272
- return Server.__wrap(ret);
273
- }
274
-
275
273
  /**
276
274
  * @param {string} input
277
275
  * @returns {string}
@@ -303,12 +301,12 @@ export function get_parse_tree(input, offset) {
303
301
  return ret;
304
302
  }
305
303
 
306
- function __wbg_adapter_8(arg0, arg1, arg2) {
307
- wasm.closure1386_externref_shim(arg0, arg1, arg2);
304
+ function wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6(arg0, arg1, arg2) {
305
+ wasm.wasm_bindgen__convert__closures_____invoke__h6d297ed87e03f1c6(arg0, arg1, arg2);
308
306
  }
309
307
 
310
- function __wbg_adapter_94(arg0, arg1, arg2, arg3) {
311
- wasm.closure1920_externref_shim(arg0, arg1, arg2, arg3);
308
+ function wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(arg0, arg1, arg2, arg3) {
309
+ wasm.wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(arg0, arg1, arg2, arg3);
312
310
  }
313
311
 
314
312
  const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
@@ -379,11 +377,11 @@ async function __wbg_load(module, imports) {
379
377
  function __wbg_get_imports() {
380
378
  const imports = {};
381
379
  imports.wbg = {};
382
- imports.wbg.__wbg_Error_e17e777aac105295 = function(arg0, arg1) {
380
+ imports.wbg.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
383
381
  const ret = Error(getStringFromWasm0(arg0, arg1));
384
382
  return ret;
385
383
  };
386
- imports.wbg.__wbg_Number_998bea33bd87c3e0 = function(arg0) {
384
+ imports.wbg.__wbg_Number_bb48ca12f395cd08 = function(arg0) {
387
385
  const ret = Number(arg0);
388
386
  return ret;
389
387
  };
@@ -394,51 +392,108 @@ function __wbg_get_imports() {
394
392
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
395
393
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
396
394
  };
397
- imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
398
- const ret = arg0.call(arg1);
395
+ imports.wbg.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
396
+ const v = arg0;
397
+ const ret = typeof(v) === 'boolean' ? v : undefined;
398
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
399
+ };
400
+ imports.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
401
+ const ret = debugString(arg1);
402
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
403
+ const len1 = WASM_VECTOR_LEN;
404
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
405
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
406
+ };
407
+ imports.wbg.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function(arg0, arg1) {
408
+ const ret = arg0 in arg1;
399
409
  return ret;
400
- }, arguments) };
401
- imports.wbg.__wbg_call_a5400b25a865cfd8 = function() { return handleError(function (arg0, arg1, arg2) {
410
+ };
411
+ imports.wbg.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
412
+ const ret = typeof(arg0) === 'function';
413
+ return ret;
414
+ };
415
+ imports.wbg.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
416
+ const val = arg0;
417
+ const ret = typeof(val) === 'object' && val !== null;
418
+ return ret;
419
+ };
420
+ imports.wbg.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
421
+ const ret = typeof(arg0) === 'string';
422
+ return ret;
423
+ };
424
+ imports.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
425
+ const ret = arg0 === undefined;
426
+ return ret;
427
+ };
428
+ imports.wbg.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
429
+ const ret = arg0 == arg1;
430
+ return ret;
431
+ };
432
+ imports.wbg.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
433
+ const obj = arg1;
434
+ const ret = typeof(obj) === 'number' ? obj : undefined;
435
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
436
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
437
+ };
438
+ imports.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
439
+ const obj = arg1;
440
+ const ret = typeof(obj) === 'string' ? obj : undefined;
441
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
442
+ var len1 = WASM_VECTOR_LEN;
443
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
444
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
445
+ };
446
+ imports.wbg.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
447
+ throw new Error(getStringFromWasm0(arg0, arg1));
448
+ };
449
+ imports.wbg.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
450
+ arg0._wbg_cb_unref();
451
+ };
452
+ imports.wbg.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
402
453
  const ret = arg0.call(arg1, arg2);
403
454
  return ret;
404
455
  }, arguments) };
405
- imports.wbg.__wbg_debug_7f3000e7358ea482 = function(arg0, arg1, arg2, arg3) {
456
+ imports.wbg.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
457
+ const ret = arg0.call(arg1);
458
+ return ret;
459
+ }, arguments) };
460
+ imports.wbg.__wbg_debug_e55e1461940eb14d = function(arg0, arg1, arg2, arg3) {
406
461
  console.debug(arg0, arg1, arg2, arg3);
407
462
  };
408
- imports.wbg.__wbg_entries_2be2f15bd5554996 = function(arg0) {
463
+ imports.wbg.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
409
464
  const ret = Object.entries(arg0);
410
465
  return ret;
411
466
  };
412
- imports.wbg.__wbg_error_0889f151acea569e = function(arg0, arg1, arg2, arg3) {
413
- console.error(arg0, arg1, arg2, arg3);
414
- };
415
- imports.wbg.__wbg_error_99981e16d476aa5c = function(arg0) {
467
+ imports.wbg.__wbg_error_a7f8fbb0523dae15 = function(arg0) {
416
468
  console.error(arg0);
417
469
  };
418
- imports.wbg.__wbg_fetch_87aed7f306ec6d63 = function(arg0, arg1) {
470
+ imports.wbg.__wbg_error_d8b22cf4e59a6791 = function(arg0, arg1, arg2, arg3) {
471
+ console.error(arg0, arg1, arg2, arg3);
472
+ };
473
+ imports.wbg.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
419
474
  const ret = arg0.fetch(arg1);
420
475
  return ret;
421
476
  };
422
- imports.wbg.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) {
477
+ imports.wbg.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
423
478
  const ret = arg0[arg1 >>> 0];
424
479
  return ret;
425
480
  };
426
- imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
481
+ imports.wbg.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
427
482
  const ret = Reflect.get(arg0, arg1);
428
483
  return ret;
429
484
  }, arguments) };
430
- imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
485
+ imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
431
486
  const ret = arg0[arg1];
432
487
  return ret;
433
488
  };
434
- imports.wbg.__wbg_headers_af04c3eb495104ed = function(arg0) {
489
+ imports.wbg.__wbg_headers_7ae6dbb1272f8fc6 = function(arg0) {
435
490
  const ret = arg0.headers;
436
491
  return ret;
437
492
  };
438
- imports.wbg.__wbg_info_15c3631232fceddb = function(arg0, arg1, arg2, arg3) {
493
+ imports.wbg.__wbg_info_68cd5b51ef7e5137 = function(arg0, arg1, arg2, arg3) {
439
494
  console.info(arg0, arg1, arg2, arg3);
440
495
  };
441
- imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
496
+ imports.wbg.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
442
497
  let result;
443
498
  try {
444
499
  result = arg0 instanceof ArrayBuffer;
@@ -448,7 +503,7 @@ function __wbg_get_imports() {
448
503
  const ret = result;
449
504
  return ret;
450
505
  };
451
- imports.wbg.__wbg_instanceof_Response_50fde2cd696850bf = function(arg0) {
506
+ imports.wbg.__wbg_instanceof_Response_f4f3e87e07f3135c = function(arg0) {
452
507
  let result;
453
508
  try {
454
509
  result = arg0 instanceof Response;
@@ -458,7 +513,7 @@ function __wbg_get_imports() {
458
513
  const ret = result;
459
514
  return ret;
460
515
  };
461
- imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
516
+ imports.wbg.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
462
517
  let result;
463
518
  try {
464
519
  result = arg0 instanceof Uint8Array;
@@ -468,41 +523,37 @@ function __wbg_get_imports() {
468
523
  const ret = result;
469
524
  return ret;
470
525
  };
471
- imports.wbg.__wbg_isSafeInteger_1c0d1af5542e102a = function(arg0) {
526
+ imports.wbg.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
472
527
  const ret = Number.isSafeInteger(arg0);
473
528
  return ret;
474
529
  };
475
- imports.wbg.__wbg_json_267c5cee469b58ab = function() { return handleError(function (arg0) {
530
+ imports.wbg.__wbg_json_5d2ba74e315ef6e6 = function() { return handleError(function (arg0) {
476
531
  const ret = arg0.json();
477
532
  return ret;
478
533
  }, arguments) };
479
- imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) {
534
+ imports.wbg.__wbg_length_69bca3cb64fc8748 = function(arg0) {
480
535
  const ret = arg0.length;
481
536
  return ret;
482
537
  };
483
- imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
538
+ imports.wbg.__wbg_length_cdd215e10d9dd507 = function(arg0) {
484
539
  const ret = arg0.length;
485
540
  return ret;
486
541
  };
487
- imports.wbg.__wbg_log_ddbf5bc3d4dae44c = function(arg0, arg1, arg2, arg3) {
542
+ imports.wbg.__wbg_log_45eb3a49e7cdcb64 = function(arg0, arg1, arg2, arg3) {
488
543
  console.log(arg0, arg1, arg2, arg3);
489
544
  };
490
- imports.wbg.__wbg_new_19c25a3f2fa63a02 = function() {
545
+ imports.wbg.__wbg_new_1acc0b6eea89d040 = function() {
491
546
  const ret = new Object();
492
547
  return ret;
493
548
  };
494
- imports.wbg.__wbg_new_1f3a344cf3123716 = function() {
495
- const ret = new Array();
496
- return ret;
497
- };
498
- imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) {
549
+ imports.wbg.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
499
550
  try {
500
551
  var state0 = {a: arg0, b: arg1};
501
552
  var cb0 = (arg0, arg1) => {
502
553
  const a = state0.a;
503
554
  state0.a = 0;
504
555
  try {
505
- return __wbg_adapter_94(a, state0.b, arg0, arg1);
556
+ return wasm_bindgen__convert__closures_____invoke__h21ad5d49422b5b89(a, state0.b, arg0, arg1);
506
557
  } finally {
507
558
  state0.a = a;
508
559
  }
@@ -513,174 +564,115 @@ function __wbg_get_imports() {
513
564
  state0.a = state0.b = 0;
514
565
  }
515
566
  };
516
- imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) {
567
+ imports.wbg.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
517
568
  const ret = new Uint8Array(arg0);
518
569
  return ret;
519
570
  };
520
- imports.wbg.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) {
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) {
521
576
  const ret = new Function(getStringFromWasm0(arg0, arg1));
522
577
  return ret;
523
578
  };
524
- imports.wbg.__wbg_newwithargs_b8065bb443501079 = function(arg0, arg1, arg2, arg3) {
579
+ imports.wbg.__wbg_new_with_args_02cbc439ce3fd7db = function(arg0, arg1, arg2, arg3) {
525
580
  const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
526
581
  return ret;
527
582
  };
528
- imports.wbg.__wbg_newwithstrandinit_b5d168a29a3fd85f = function() { return handleError(function (arg0, arg1, arg2) {
583
+ imports.wbg.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function() { return handleError(function (arg0, arg1, arg2) {
529
584
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
530
585
  return ret;
531
586
  }, arguments) };
532
- imports.wbg.__wbg_now_886b39d7ec380719 = function(arg0) {
587
+ imports.wbg.__wbg_now_f5ba683d8ce2c571 = function(arg0) {
533
588
  const ret = arg0.now();
534
589
  return ret;
535
590
  };
536
- imports.wbg.__wbg_ok_2eac216b65d90573 = function(arg0) {
591
+ imports.wbg.__wbg_ok_5749966cb2b8535e = function(arg0) {
537
592
  const ret = arg0.ok;
538
593
  return ret;
539
594
  };
540
- imports.wbg.__wbg_performance_b1fe690813bd12a2 = function(arg0) {
595
+ imports.wbg.__wbg_performance_68c7f44d89a99380 = function(arg0) {
541
596
  const ret = arg0.performance;
542
597
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
543
598
  };
544
- imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
599
+ imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
545
600
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
546
601
  };
547
- imports.wbg.__wbg_push_330b2eb93e4e1212 = function(arg0, arg1) {
602
+ imports.wbg.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
548
603
  const ret = arg0.push(arg1);
549
604
  return ret;
550
605
  };
551
- imports.wbg.__wbg_queueMicrotask_25d0739ac89e8c88 = function(arg0) {
552
- queueMicrotask(arg0);
553
- };
554
- imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function(arg0) {
606
+ imports.wbg.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
555
607
  const ret = arg0.queueMicrotask;
556
608
  return ret;
557
609
  };
558
- imports.wbg.__wbg_read_bc925c758aa4d897 = function(arg0) {
610
+ imports.wbg.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
611
+ queueMicrotask(arg0);
612
+ };
613
+ imports.wbg.__wbg_read_48f1593df542f968 = function(arg0) {
559
614
  const ret = arg0.read();
560
615
  return ret;
561
616
  };
562
- imports.wbg.__wbg_resolve_4055c623acdd6a1b = function(arg0) {
617
+ imports.wbg.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
563
618
  const ret = Promise.resolve(arg0);
564
619
  return ret;
565
620
  };
566
- imports.wbg.__wbg_set_1c17f9738fac2718 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
621
+ imports.wbg.__wbg_set_8b342d8cd9d2a02c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
567
622
  arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
568
623
  }, arguments) };
569
- imports.wbg.__wbg_set_453345bcda80b89a = function() { return handleError(function (arg0, arg1, arg2) {
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) {
570
628
  const ret = Reflect.set(arg0, arg1, arg2);
571
629
  return ret;
572
630
  }, arguments) };
573
- imports.wbg.__wbg_setbody_c8460bdf44147df8 = function(arg0, arg1) {
574
- arg0.body = arg1;
575
- };
576
- imports.wbg.__wbg_setmethod_9b504d5b855b329c = function(arg0, arg1, arg2) {
631
+ imports.wbg.__wbg_set_method_c02d8cbbe204ac2d = function(arg0, arg1, arg2) {
577
632
  arg0.method = getStringFromWasm0(arg1, arg2);
578
633
  };
579
- imports.wbg.__wbg_setmode_a23e1a2ad8b512f8 = function(arg0, arg1) {
634
+ imports.wbg.__wbg_set_mode_52ef73cfa79639cb = function(arg0, arg1) {
580
635
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
581
636
  };
582
- imports.wbg.__wbg_setsignal_8c45ad1247a74809 = function(arg0, arg1) {
637
+ imports.wbg.__wbg_set_signal_dda2cf7ccb6bee0f = function(arg0, arg1) {
583
638
  arg0.signal = arg1;
584
639
  };
585
- imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() {
640
+ imports.wbg.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
586
641
  const ret = typeof global === 'undefined' ? null : global;
587
642
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
588
643
  };
589
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() {
644
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
590
645
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
591
646
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
592
647
  };
593
- imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function() {
648
+ imports.wbg.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
594
649
  const ret = typeof self === 'undefined' ? null : self;
595
650
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
596
651
  };
597
- imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() {
652
+ imports.wbg.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
598
653
  const ret = typeof window === 'undefined' ? null : window;
599
654
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
600
655
  };
601
- imports.wbg.__wbg_text_0f69a215637b9b34 = function() { return handleError(function (arg0) {
656
+ imports.wbg.__wbg_text_dc33c15c17bdfb52 = function() { return handleError(function (arg0) {
602
657
  const ret = arg0.text();
603
658
  return ret;
604
659
  }, arguments) };
605
- imports.wbg.__wbg_then_b33a773d723afa3e = function(arg0, arg1, arg2) {
606
- const ret = arg0.then(arg1, arg2);
660
+ imports.wbg.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
661
+ const ret = arg0.then(arg1);
607
662
  return ret;
608
663
  };
609
- imports.wbg.__wbg_then_e22500defe16819f = function(arg0, arg1) {
610
- const ret = arg0.then(arg1);
664
+ imports.wbg.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
665
+ const ret = arg0.then(arg1, arg2);
611
666
  return ret;
612
667
  };
613
- imports.wbg.__wbg_timeout_bb40af0cb18c62cf = function(arg0) {
668
+ imports.wbg.__wbg_timeout_38cc9e1d85d89832 = function(arg0) {
614
669
  const ret = AbortSignal.timeout(arg0 >>> 0);
615
670
  return ret;
616
671
  };
617
- imports.wbg.__wbg_warn_90eb15d986910fe9 = function(arg0, arg1, arg2, arg3) {
672
+ imports.wbg.__wbg_warn_8f5b5437666d0885 = function(arg0, arg1, arg2, arg3) {
618
673
  console.warn(arg0, arg1, arg2, arg3);
619
674
  };
620
- imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
621
- const v = arg0;
622
- const ret = typeof(v) === 'boolean' ? v : undefined;
623
- return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
624
- };
625
- imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function(arg0) {
626
- const obj = arg0.original;
627
- if (obj.cnt-- == 1) {
628
- obj.a = 0;
629
- return true;
630
- }
631
- const ret = false;
632
- return ret;
633
- };
634
- imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
635
- const ret = debugString(arg1);
636
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
637
- const len1 = WASM_VECTOR_LEN;
638
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
639
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
640
- };
641
- imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
642
- const ret = arg0 in arg1;
643
- return ret;
644
- };
645
- imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
646
- const ret = typeof(arg0) === 'function';
647
- return ret;
648
- };
649
- imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
650
- const val = arg0;
651
- const ret = typeof(val) === 'object' && val !== null;
652
- return ret;
653
- };
654
- imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
655
- const ret = typeof(arg0) === 'string';
656
- return ret;
657
- };
658
- imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
659
- const ret = arg0 === undefined;
660
- return ret;
661
- };
662
- imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
663
- const ret = arg0 == arg1;
664
- return ret;
665
- };
666
- imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
667
- const obj = arg1;
668
- const ret = typeof(obj) === 'number' ? obj : undefined;
669
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
670
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
671
- };
672
- imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
673
- const obj = arg1;
674
- const ret = typeof(obj) === 'string' ? obj : undefined;
675
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
676
- var len1 = WASM_VECTOR_LEN;
677
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
678
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
679
- };
680
- imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
681
- throw new Error(getStringFromWasm0(arg0, arg1));
682
- };
683
- imports.wbg.__wbg_write_2e39e04a4c8c9e9d = function(arg0, arg1) {
675
+ imports.wbg.__wbg_write_5f693b62e780062e = function(arg0, arg1) {
684
676
  const ret = arg0.write(arg1);
685
677
  return ret;
686
678
  };
@@ -689,13 +681,13 @@ function __wbg_get_imports() {
689
681
  const ret = getStringFromWasm0(arg0, arg1);
690
682
  return ret;
691
683
  };
692
- imports.wbg.__wbindgen_cast_dafff06e652c3783 = function(arg0, arg1) {
693
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1385, function: Function { arguments: [Externref], shim_idx: 1386, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
694
- const ret = makeMutClosure(arg0, arg1, 1385, __wbg_adapter_8);
684
+ imports.wbg.__wbindgen_cast_7c0064388dae459f = function(arg0, arg1) {
685
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1391, function: Function { arguments: [Externref], shim_idx: 1392, 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);
695
687
  return ret;
696
688
  };
697
689
  imports.wbg.__wbindgen_init_externref_table = function() {
698
- const table = wasm.__wbindgen_export_4;
690
+ const table = wasm.__wbindgen_externrefs;
699
691
  const offset = table.grow(4);
700
692
  table.set(0, undefined);
701
693
  table.set(offset + 0, undefined);
@@ -708,10 +700,6 @@ function __wbg_get_imports() {
708
700
  return imports;
709
701
  }
710
702
 
711
- function __wbg_init_memory(imports, memory) {
712
-
713
- }
714
-
715
703
  function __wbg_finalize_init(instance, module) {
716
704
  wasm = instance.exports;
717
705
  __wbg_init.__wbindgen_wasm_module = module;
@@ -737,8 +725,6 @@ function initSync(module) {
737
725
 
738
726
  const imports = __wbg_get_imports();
739
727
 
740
- __wbg_init_memory(imports);
741
-
742
728
  if (!(module instanceof WebAssembly.Module)) {
743
729
  module = new WebAssembly.Module(module);
744
730
  }
@@ -769,8 +755,6 @@ async function __wbg_init(module_or_path) {
769
755
  module_or_path = fetch(module_or_path);
770
756
  }
771
757
 
772
- __wbg_init_memory(imports);
773
-
774
758
  const { instance, module } = await __wbg_load(await module_or_path, imports);
775
759
 
776
760
  return __wbg_finalize_init(instance, module);
package/qlue_ls_bg.wasm CHANGED
Binary file