radames HF staff commited on
Commit
c544d0d
1 Parent(s): be91136

Upload 6 files

Browse files
Files changed (2) hide show
  1. build/m.js +45 -45
  2. build/m_bg.wasm +2 -2
build/m.js CHANGED
@@ -6,23 +6,7 @@ heap.push(undefined, null, true, false);
6
 
7
  function getObject(idx) { return heap[idx]; }
8
 
9
- let heap_next = heap.length;
10
-
11
- function dropObject(idx) {
12
- if (idx < 132) return;
13
- heap[idx] = heap_next;
14
- heap_next = idx;
15
- }
16
-
17
- function takeObject(idx) {
18
- const ret = getObject(idx);
19
- dropObject(idx);
20
- return ret;
21
- }
22
-
23
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
24
-
25
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
26
 
27
  let cachedUint8Memory0 = null;
28
 
@@ -33,22 +17,6 @@ function getUint8Memory0() {
33
  return cachedUint8Memory0;
34
  }
35
 
36
- function getStringFromWasm0(ptr, len) {
37
- ptr = ptr >>> 0;
38
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
39
- }
40
-
41
- function addHeapObject(obj) {
42
- if (heap_next === heap.length) heap.push(heap.length + 1);
43
- const idx = heap_next;
44
- heap_next = heap[idx];
45
-
46
- heap[idx] = obj;
47
- return idx;
48
- }
49
-
50
- let WASM_VECTOR_LEN = 0;
51
-
52
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
53
 
54
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -116,6 +84,38 @@ function getInt32Memory0() {
116
  return cachedInt32Memory0;
117
  }
118
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  let cachedFloat64Memory0 = null;
120
 
121
  function getFloat64Memory0() {
@@ -348,10 +348,13 @@ async function __wbg_load(module, imports) {
348
  function __wbg_get_imports() {
349
  const imports = {};
350
  imports.wbg = {};
351
- imports.wbg.__wbindgen_boolean_get = function(arg0) {
352
- const v = getObject(arg0);
353
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
354
- return ret;
 
 
 
355
  };
356
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
357
  takeObject(arg0);
@@ -360,6 +363,11 @@ function __wbg_get_imports() {
360
  const ret = new Error(getStringFromWasm0(arg0, arg1));
361
  return addHeapObject(ret);
362
  };
 
 
 
 
 
363
  imports.wbg.__wbindgen_is_object = function(arg0) {
364
  const val = getObject(arg0);
365
  const ret = typeof(val) === 'object' && val !== null;
@@ -373,14 +381,6 @@ function __wbg_get_imports() {
373
  const ret = getObject(arg0) in getObject(arg1);
374
  return ret;
375
  };
376
- imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
377
- const obj = getObject(arg1);
378
- const ret = typeof(obj) === 'string' ? obj : undefined;
379
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
380
- var len1 = WASM_VECTOR_LEN;
381
- getInt32Memory0()[arg0 / 4 + 1] = len1;
382
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
383
- };
384
  imports.wbg.__wbindgen_is_bigint = function(arg0) {
385
  const ret = typeof(getObject(arg0)) === 'bigint';
386
  return ret;
 
6
 
7
  function getObject(idx) { return heap[idx]; }
8
 
9
+ let WASM_VECTOR_LEN = 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
  let cachedUint8Memory0 = null;
12
 
 
17
  return cachedUint8Memory0;
18
  }
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
21
 
22
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
 
84
  return cachedInt32Memory0;
85
  }
86
 
87
+ let heap_next = heap.length;
88
+
89
+ function dropObject(idx) {
90
+ if (idx < 132) return;
91
+ heap[idx] = heap_next;
92
+ heap_next = idx;
93
+ }
94
+
95
+ function takeObject(idx) {
96
+ const ret = getObject(idx);
97
+ dropObject(idx);
98
+ return ret;
99
+ }
100
+
101
+ const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
102
+
103
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
104
+
105
+ function getStringFromWasm0(ptr, len) {
106
+ ptr = ptr >>> 0;
107
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
108
+ }
109
+
110
+ function addHeapObject(obj) {
111
+ if (heap_next === heap.length) heap.push(heap.length + 1);
112
+ const idx = heap_next;
113
+ heap_next = heap[idx];
114
+
115
+ heap[idx] = obj;
116
+ return idx;
117
+ }
118
+
119
  let cachedFloat64Memory0 = null;
120
 
121
  function getFloat64Memory0() {
 
348
  function __wbg_get_imports() {
349
  const imports = {};
350
  imports.wbg = {};
351
+ imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
352
+ const obj = getObject(arg1);
353
+ const ret = typeof(obj) === 'string' ? obj : undefined;
354
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
355
+ var len1 = WASM_VECTOR_LEN;
356
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
357
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
358
  };
359
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
360
  takeObject(arg0);
 
363
  const ret = new Error(getStringFromWasm0(arg0, arg1));
364
  return addHeapObject(ret);
365
  };
366
+ imports.wbg.__wbindgen_boolean_get = function(arg0) {
367
+ const v = getObject(arg0);
368
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
369
+ return ret;
370
+ };
371
  imports.wbg.__wbindgen_is_object = function(arg0) {
372
  const val = getObject(arg0);
373
  const ret = typeof(val) === 'object' && val !== null;
 
381
  const ret = getObject(arg0) in getObject(arg1);
382
  return ret;
383
  };
 
 
 
 
 
 
 
 
384
  imports.wbg.__wbindgen_is_bigint = function(arg0) {
385
  const ret = typeof(getObject(arg0)) === 'bigint';
386
  return ret;
build/m_bg.wasm CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7c97d08221b1b7c8ac5f50142aae73165b35abf29d9a17621c83f1e01761e53
3
- size 5367634
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a9baaccee00c74d7d21b40460c702044c3eeab0ec1d5f7f6af490ad34e51c8a
3
+ size 5366992