astroceleste-engine 0.0.12 → 0.0.14
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/NOTICE +6 -0
- package/README.md +15 -4
- package/astroceleste_engine_wasm.d.ts +28 -0
- package/astroceleste_engine_wasm.js +113 -48
- package/astroceleste_engine_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -33,6 +33,12 @@ Ephemeris data: NASA JPL planetary ephemerides (DE440s and others) are public do
|
|
|
33
33
|
works of the U.S. Government, fetched at build/run time and not distributed here, except
|
|
34
34
|
for a one-year DE440s excerpt used by the tests (tests/data/de440s_2000.bsp).
|
|
35
35
|
|
|
36
|
+
The minor-body longitude tables (src/data/minor/*.bin) and their test check points
|
|
37
|
+
(tests/fixtures/minor_bodies.json) are sampled from the JPL Horizons on-line solar system
|
|
38
|
+
data and ephemeris computation service (https://ssd.jpl.nasa.gov/horizons/), Solar
|
|
39
|
+
System Dynamics Group, Jet Propulsion Laboratory, California Institute of Technology, by
|
|
40
|
+
scripts/fetch_minor_bodies.py.
|
|
41
|
+
|
|
36
42
|
The Zi Wei Dou Shu star brightness table (src/chinese/ziwei.rs) is taken from iztro
|
|
37
43
|
(https://github.com/SylarLong/iztro), used under the MIT license:
|
|
38
44
|
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ computed entirely in the browser (or Node), identical to the Astroceleste server
|
|
|
12
12
|
[API guide](https://github.com/ffalcinelli/astroceleste-engine/blob/main/docs/api.md)
|
|
13
13
|
|
|
14
14
|
```js
|
|
15
|
-
import init, { Engine, synastry, derivedChart } from "astroceleste-engine";
|
|
15
|
+
import init, { Engine, synastry, derivedChart, bazi, ziWei, timeLords } from "astroceleste-engine";
|
|
16
16
|
|
|
17
17
|
await init();
|
|
18
18
|
const engine = new Engine();
|
|
@@ -23,16 +23,27 @@ const chart = engine.chart({
|
|
|
23
23
|
utc: "1987-05-17T14:30:00Z",
|
|
24
24
|
latitude: 41.9,
|
|
25
25
|
longitude: 12.5,
|
|
26
|
-
house_system: "P", // optional: P,
|
|
26
|
+
house_system: "P", // optional: P, K, R, C, T, B, M, O, S, E, V, W
|
|
27
27
|
zodiac_type: "sidereal", // optional: tropical (default) or sidereal
|
|
28
28
|
ayanamsa: "lahiri", // optional
|
|
29
|
+
chinese_calendar: true, // optional: add the Chinese calendar of the moment
|
|
29
30
|
});
|
|
30
|
-
const horary = engine.horary(request);
|
|
31
|
+
const horary = engine.horary({ ...request, quesited_house: 7 }); // chart + horary_data
|
|
31
32
|
const transit = engine.transit(chart.planets, request);
|
|
33
|
+
const election = engine.election(request, { purpose: "contract" });
|
|
34
|
+
const windows = engine.elections(request, "1987-06-17T00:00:00Z", { purpose: "launch" });
|
|
32
35
|
synastry(chartA.planets, chartB.planets);
|
|
33
36
|
derivedChart(chart, 5);
|
|
37
|
+
timeLords(birthUtc, sunLongitude, ascendantLongitude, fromUtc, toUtc);
|
|
38
|
+
bazi(chart.chinese_calendar, request.utc, 12.5, 60); // Four Pillars, UTC offset in minutes
|
|
39
|
+
ziWei(chart.chinese_calendar, request.utc, 12.5, 60); // Zi Wei Dou Shu
|
|
34
40
|
```
|
|
35
41
|
|
|
42
|
+
Also: `engine.chineseCalendar(utc)`, `engine.kernels`, `engine.coverage`,
|
|
43
|
+
`engine.supports(jd)`, `chartDignities(chart, "dorothean")`, `degreeQualities(longitude)`,
|
|
44
|
+
`degreeQualityTable()` and `julianDay(utc)`. The [API guide](https://github.com/ffalcinelli/astroceleste-engine/blob/main/docs/api.md)
|
|
45
|
+
describes every option and result.
|
|
46
|
+
|
|
36
47
|
To ship a smaller kernel, cut the range you need (positions are unchanged inside it):
|
|
37
48
|
|
|
38
49
|
```js
|
|
@@ -41,7 +52,7 @@ const small = excerptKernel(fullKernelBytes, 2415020.5, 2488069.5); // 1900-2100
|
|
|
41
52
|
```
|
|
42
53
|
|
|
43
54
|
Errors are thrown as `Error` objects with a `code` (`ephemeris_out_of_range`,
|
|
44
|
-
`invalid_input`, `invalid_kernel`).
|
|
55
|
+
`ephemeris_error`, `invalid_input`, `invalid_kernel`, `internal_error`).
|
|
45
56
|
|
|
46
57
|
JPL kernels: https://ssd.jpl.nasa.gov/ftp/eph/planets/bsp/ (`de440s.bsp` covers 1849-2150,
|
|
47
58
|
32 MB). Licensed under MIT OR Apache-2.0.
|
|
@@ -16,6 +16,12 @@ export class Engine {
|
|
|
16
16
|
* The chart of a moment and place.
|
|
17
17
|
*/
|
|
18
18
|
chart(request: any): any;
|
|
19
|
+
/**
|
|
20
|
+
* The Chinese calendar around `utc` (ISO 8601): solar terms, lunar months and the
|
|
21
|
+
* equation of time; `null` when the loaded kernels do not cover the year or so it
|
|
22
|
+
* needs.
|
|
23
|
+
*/
|
|
24
|
+
chineseCalendar(utc: string): any;
|
|
19
25
|
/**
|
|
20
26
|
* A chart with its electional assessment under `election_data`. `criteria` may be
|
|
21
27
|
* `undefined` for the defaults.
|
|
@@ -39,10 +45,20 @@ export class Engine {
|
|
|
39
45
|
* The sky of `request`, with its cross-aspects to `natalPlanets`.
|
|
40
46
|
*/
|
|
41
47
|
transit(natal_planets: any, request: any): any;
|
|
48
|
+
/**
|
|
49
|
+
* The panchanga at `utc` (ISO 8601) for a place: sunrise, vara, tithi, nakshatra,
|
|
50
|
+
* yoga, karana, lunar month and year; `null` when the loaded kernels do not cover the
|
|
51
|
+
* lunar month around it.
|
|
52
|
+
*/
|
|
53
|
+
vedicCalendar(utc: string, latitude: number, longitude: number): any;
|
|
42
54
|
/**
|
|
43
55
|
* `[firstJD, lastJD]` covered by the loaded kernels, or `undefined`.
|
|
44
56
|
*/
|
|
45
57
|
readonly coverage: Float64Array | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* The loaded kernels as `[name, firstJD, lastJD]`, in preference order.
|
|
60
|
+
*/
|
|
61
|
+
readonly kernels: any;
|
|
46
62
|
}
|
|
47
63
|
|
|
48
64
|
/**
|
|
@@ -85,6 +101,14 @@ export function excerptKernel(kernel: Uint8Array, start_jd: number, end_jd: numb
|
|
|
85
101
|
*/
|
|
86
102
|
export function julianDay(utc: string): number;
|
|
87
103
|
|
|
104
|
+
/**
|
|
105
|
+
* The Vedic reading of a computed `chart` born at `birth` (ISO 8601 UTC): sidereal
|
|
106
|
+
* placements with their nakshatras, the vargas and the Vimshottari dasha. `options`:
|
|
107
|
+
* `{ ayanamsa?, outer_planets?, vargas?, hora?, dasha_year?, dasha_path?, dasha_depth?,
|
|
108
|
+
* date? }`, or `undefined` for the defaults. No kernel is needed.
|
|
109
|
+
*/
|
|
110
|
+
export function jyotish(chart: any, birth: string, options: any): any;
|
|
111
|
+
|
|
88
112
|
/**
|
|
89
113
|
* Cross-aspects from chart B's planets (overlay) to chart A's (base).
|
|
90
114
|
*/
|
|
@@ -116,15 +140,19 @@ export interface InitOutput {
|
|
|
116
140
|
readonly derivedChart: (a: any, b: number, c: number, d: number) => [number, number, number];
|
|
117
141
|
readonly engine_addKernel: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
118
142
|
readonly engine_chart: (a: number, b: any) => [number, number, number];
|
|
143
|
+
readonly engine_chineseCalendar: (a: number, b: number, c: number) => [number, number, number];
|
|
119
144
|
readonly engine_coverage: (a: number) => [number, number];
|
|
120
145
|
readonly engine_election: (a: number, b: any, c: any) => [number, number, number];
|
|
121
146
|
readonly engine_elections: (a: number, b: any, c: number, d: number, e: any) => [number, number, number];
|
|
122
147
|
readonly engine_horary: (a: number, b: any) => [number, number, number];
|
|
148
|
+
readonly engine_kernels: (a: number) => [number, number, number];
|
|
123
149
|
readonly engine_new: () => number;
|
|
124
150
|
readonly engine_supports: (a: number, b: number) => number;
|
|
125
151
|
readonly engine_transit: (a: number, b: any, c: any) => [number, number, number];
|
|
152
|
+
readonly engine_vedicCalendar: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
126
153
|
readonly excerptKernel: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
127
154
|
readonly julianDay: (a: number, b: number) => [number, number, number];
|
|
155
|
+
readonly jyotish: (a: any, b: number, c: number, d: any) => [number, number, number];
|
|
128
156
|
readonly synastry: (a: any, b: any, c: any) => [number, number, number];
|
|
129
157
|
readonly timeLords: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number];
|
|
130
158
|
readonly ziWei: (a: any, b: number, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
@@ -42,6 +42,22 @@ export class Engine {
|
|
|
42
42
|
}
|
|
43
43
|
return takeFromExternrefTable0(ret[0]);
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* The Chinese calendar around `utc` (ISO 8601): solar terms, lunar months and the
|
|
47
|
+
* equation of time; `null` when the loaded kernels do not cover the year or so it
|
|
48
|
+
* needs.
|
|
49
|
+
* @param {string} utc
|
|
50
|
+
* @returns {any}
|
|
51
|
+
*/
|
|
52
|
+
chineseCalendar(utc) {
|
|
53
|
+
const ptr0 = passStringToWasm0(utc, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
54
|
+
const len0 = WASM_VECTOR_LEN;
|
|
55
|
+
const ret = wasm.engine_chineseCalendar(this.__wbg_ptr, ptr0, len0);
|
|
56
|
+
if (ret[2]) {
|
|
57
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
58
|
+
}
|
|
59
|
+
return takeFromExternrefTable0(ret[0]);
|
|
60
|
+
}
|
|
45
61
|
/**
|
|
46
62
|
* `[firstJD, lastJD]` covered by the loaded kernels, or `undefined`.
|
|
47
63
|
* @returns {Float64Array | undefined}
|
|
@@ -98,6 +114,17 @@ export class Engine {
|
|
|
98
114
|
}
|
|
99
115
|
return takeFromExternrefTable0(ret[0]);
|
|
100
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* The loaded kernels as `[name, firstJD, lastJD]`, in preference order.
|
|
119
|
+
* @returns {any}
|
|
120
|
+
*/
|
|
121
|
+
get kernels() {
|
|
122
|
+
const ret = wasm.engine_kernels(this.__wbg_ptr);
|
|
123
|
+
if (ret[2]) {
|
|
124
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
125
|
+
}
|
|
126
|
+
return takeFromExternrefTable0(ret[0]);
|
|
127
|
+
}
|
|
101
128
|
constructor() {
|
|
102
129
|
const ret = wasm.engine_new();
|
|
103
130
|
this.__wbg_ptr = ret;
|
|
@@ -126,6 +153,24 @@ export class Engine {
|
|
|
126
153
|
}
|
|
127
154
|
return takeFromExternrefTable0(ret[0]);
|
|
128
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* The panchanga at `utc` (ISO 8601) for a place: sunrise, vara, tithi, nakshatra,
|
|
158
|
+
* yoga, karana, lunar month and year; `null` when the loaded kernels do not cover the
|
|
159
|
+
* lunar month around it.
|
|
160
|
+
* @param {string} utc
|
|
161
|
+
* @param {number} latitude
|
|
162
|
+
* @param {number} longitude
|
|
163
|
+
* @returns {any}
|
|
164
|
+
*/
|
|
165
|
+
vedicCalendar(utc, latitude, longitude) {
|
|
166
|
+
const ptr0 = passStringToWasm0(utc, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
167
|
+
const len0 = WASM_VECTOR_LEN;
|
|
168
|
+
const ret = wasm.engine_vedicCalendar(this.__wbg_ptr, ptr0, len0, latitude, longitude);
|
|
169
|
+
if (ret[2]) {
|
|
170
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
171
|
+
}
|
|
172
|
+
return takeFromExternrefTable0(ret[0]);
|
|
173
|
+
}
|
|
129
174
|
}
|
|
130
175
|
if (Symbol.dispose) Engine.prototype[Symbol.dispose] = Engine.prototype.free;
|
|
131
176
|
|
|
@@ -245,6 +290,26 @@ export function julianDay(utc) {
|
|
|
245
290
|
return ret[0];
|
|
246
291
|
}
|
|
247
292
|
|
|
293
|
+
/**
|
|
294
|
+
* The Vedic reading of a computed `chart` born at `birth` (ISO 8601 UTC): sidereal
|
|
295
|
+
* placements with their nakshatras, the vargas and the Vimshottari dasha. `options`:
|
|
296
|
+
* `{ ayanamsa?, outer_planets?, vargas?, hora?, dasha_year?, dasha_path?, dasha_depth?,
|
|
297
|
+
* date? }`, or `undefined` for the defaults. No kernel is needed.
|
|
298
|
+
* @param {any} chart
|
|
299
|
+
* @param {string} birth
|
|
300
|
+
* @param {any} options
|
|
301
|
+
* @returns {any}
|
|
302
|
+
*/
|
|
303
|
+
export function jyotish(chart, birth, options) {
|
|
304
|
+
const ptr0 = passStringToWasm0(birth, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
305
|
+
const len0 = WASM_VECTOR_LEN;
|
|
306
|
+
const ret = wasm.jyotish(chart, ptr0, len0, options);
|
|
307
|
+
if (ret[2]) {
|
|
308
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
309
|
+
}
|
|
310
|
+
return takeFromExternrefTable0(ret[0]);
|
|
311
|
+
}
|
|
312
|
+
|
|
248
313
|
/**
|
|
249
314
|
* Cross-aspects from chart B's planets (overlay) to chart A's (base).
|
|
250
315
|
* @param {any} chart_a_planets
|
|
@@ -308,11 +373,11 @@ export function ziWei(calendar, birth, longitude, utcOffsetMinutes, options) {
|
|
|
308
373
|
function __wbg_get_imports() {
|
|
309
374
|
const import0 = {
|
|
310
375
|
__proto__: null,
|
|
311
|
-
|
|
376
|
+
__wbg_Error_30c8987f7c2ed4e2: function(arg0, arg1) {
|
|
312
377
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
313
378
|
return ret;
|
|
314
379
|
},
|
|
315
|
-
|
|
380
|
+
__wbg_Number_14af1003b8dd5ead: function(arg0) {
|
|
316
381
|
const ret = Number(arg0);
|
|
317
382
|
return ret;
|
|
318
383
|
},
|
|
@@ -323,68 +388,68 @@ function __wbg_get_imports() {
|
|
|
323
388
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
324
389
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
325
390
|
},
|
|
326
|
-
|
|
391
|
+
__wbg___wbindgen_bigint_get_as_i64_a2383202b9353e4c: function(arg0, arg1) {
|
|
327
392
|
const v = arg1;
|
|
328
393
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
329
394
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
330
395
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
331
396
|
},
|
|
332
|
-
|
|
397
|
+
__wbg___wbindgen_boolean_get_5b446f51afd21013: function(arg0) {
|
|
333
398
|
const v = arg0;
|
|
334
399
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
335
400
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
336
401
|
},
|
|
337
|
-
|
|
402
|
+
__wbg___wbindgen_debug_string_4687d8d8c2017d52: function(arg0, arg1) {
|
|
338
403
|
const ret = debugString(arg1);
|
|
339
404
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
340
405
|
const len1 = WASM_VECTOR_LEN;
|
|
341
406
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
342
407
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
343
408
|
},
|
|
344
|
-
|
|
409
|
+
__wbg___wbindgen_in_92f62ee1427d9e49: function(arg0, arg1) {
|
|
345
410
|
const ret = arg0 in arg1;
|
|
346
411
|
return ret;
|
|
347
412
|
},
|
|
348
|
-
|
|
413
|
+
__wbg___wbindgen_is_bigint_b123553bed3bb382: function(arg0) {
|
|
349
414
|
const ret = typeof(arg0) === 'bigint';
|
|
350
415
|
return ret;
|
|
351
416
|
},
|
|
352
|
-
|
|
417
|
+
__wbg___wbindgen_is_function_1f9d30630b8b1d3d: function(arg0) {
|
|
353
418
|
const ret = typeof(arg0) === 'function';
|
|
354
419
|
return ret;
|
|
355
420
|
},
|
|
356
|
-
|
|
421
|
+
__wbg___wbindgen_is_null_e343b7d08827ba72: function(arg0) {
|
|
357
422
|
const ret = arg0 === null;
|
|
358
423
|
return ret;
|
|
359
424
|
},
|
|
360
|
-
|
|
425
|
+
__wbg___wbindgen_is_object_3c45d4f2dde4e749: function(arg0) {
|
|
361
426
|
const val = arg0;
|
|
362
427
|
const ret = typeof(val) === 'object' && val !== null;
|
|
363
428
|
return ret;
|
|
364
429
|
},
|
|
365
|
-
|
|
430
|
+
__wbg___wbindgen_is_string_90b56bc79aad6f6c: function(arg0) {
|
|
366
431
|
const ret = typeof(arg0) === 'string';
|
|
367
432
|
return ret;
|
|
368
433
|
},
|
|
369
|
-
|
|
434
|
+
__wbg___wbindgen_is_undefined_8865fb403f8fe9d8: function(arg0) {
|
|
370
435
|
const ret = arg0 === undefined;
|
|
371
436
|
return ret;
|
|
372
437
|
},
|
|
373
|
-
|
|
438
|
+
__wbg___wbindgen_jsval_eq_02babf21faa37971: function(arg0, arg1) {
|
|
374
439
|
const ret = arg0 === arg1;
|
|
375
440
|
return ret;
|
|
376
441
|
},
|
|
377
|
-
|
|
442
|
+
__wbg___wbindgen_jsval_loose_eq_677f21e468d6b461: function(arg0, arg1) {
|
|
378
443
|
const ret = arg0 == arg1;
|
|
379
444
|
return ret;
|
|
380
445
|
},
|
|
381
|
-
|
|
446
|
+
__wbg___wbindgen_number_get_2e0e7dee9f701a71: function(arg0, arg1) {
|
|
382
447
|
const obj = arg1;
|
|
383
448
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
384
449
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
385
450
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
386
451
|
},
|
|
387
|
-
|
|
452
|
+
__wbg___wbindgen_string_get_0380ccaa2f57f0d9: function(arg0, arg1) {
|
|
388
453
|
const obj = arg1;
|
|
389
454
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
390
455
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -392,30 +457,30 @@ function __wbg_get_imports() {
|
|
|
392
457
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
393
458
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
394
459
|
},
|
|
395
|
-
|
|
460
|
+
__wbg___wbindgen_throw_41e9ee4f547fc59a: function(arg0, arg1) {
|
|
396
461
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
397
462
|
},
|
|
398
|
-
|
|
463
|
+
__wbg_call_6137034ef55c9d0f: function() { return handleError(function (arg0, arg1) {
|
|
399
464
|
const ret = arg0.call(arg1);
|
|
400
465
|
return ret;
|
|
401
466
|
}, arguments); },
|
|
402
|
-
|
|
467
|
+
__wbg_done_b41a1d26cdb37fb6: function(arg0) {
|
|
403
468
|
const ret = arg0.done;
|
|
404
469
|
return ret;
|
|
405
470
|
},
|
|
406
|
-
|
|
471
|
+
__wbg_entries_fb6397112b1de25f: function(arg0) {
|
|
407
472
|
const ret = Object.entries(arg0);
|
|
408
473
|
return ret;
|
|
409
474
|
},
|
|
410
|
-
|
|
475
|
+
__wbg_get_658f6698067d9515: function() { return handleError(function (arg0, arg1) {
|
|
411
476
|
const ret = Reflect.get(arg0, arg1);
|
|
412
477
|
return ret;
|
|
413
478
|
}, arguments); },
|
|
414
|
-
|
|
479
|
+
__wbg_get_6c896e0571ddae51: function(arg0, arg1) {
|
|
415
480
|
const ret = arg0[arg1 >>> 0];
|
|
416
481
|
return ret;
|
|
417
482
|
},
|
|
418
|
-
|
|
483
|
+
__wbg_get_unchecked_288889d017702237: function(arg0, arg1) {
|
|
419
484
|
const ret = arg0[arg1 >>> 0];
|
|
420
485
|
return ret;
|
|
421
486
|
},
|
|
@@ -423,7 +488,7 @@ function __wbg_get_imports() {
|
|
|
423
488
|
const ret = arg0[arg1];
|
|
424
489
|
return ret;
|
|
425
490
|
},
|
|
426
|
-
|
|
491
|
+
__wbg_instanceof_ArrayBuffer_a99f175873e5d9b8: function(arg0) {
|
|
427
492
|
let result;
|
|
428
493
|
try {
|
|
429
494
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -433,7 +498,7 @@ function __wbg_get_imports() {
|
|
|
433
498
|
const ret = result;
|
|
434
499
|
return ret;
|
|
435
500
|
},
|
|
436
|
-
|
|
501
|
+
__wbg_instanceof_Map_b2611749102d7ba3: function(arg0) {
|
|
437
502
|
let result;
|
|
438
503
|
try {
|
|
439
504
|
result = arg0 instanceof Map;
|
|
@@ -443,7 +508,7 @@ function __wbg_get_imports() {
|
|
|
443
508
|
const ret = result;
|
|
444
509
|
return ret;
|
|
445
510
|
},
|
|
446
|
-
|
|
511
|
+
__wbg_instanceof_Uint8Array_828cef2aaacafc31: function(arg0) {
|
|
447
512
|
let result;
|
|
448
513
|
try {
|
|
449
514
|
result = arg0 instanceof Uint8Array;
|
|
@@ -453,72 +518,72 @@ function __wbg_get_imports() {
|
|
|
453
518
|
const ret = result;
|
|
454
519
|
return ret;
|
|
455
520
|
},
|
|
456
|
-
|
|
521
|
+
__wbg_isArray_e15a2ff68ffdbef2: function(arg0) {
|
|
457
522
|
const ret = Array.isArray(arg0);
|
|
458
523
|
return ret;
|
|
459
524
|
},
|
|
460
|
-
|
|
525
|
+
__wbg_isSafeInteger_717808ad6a54bd9e: function(arg0) {
|
|
461
526
|
const ret = Number.isSafeInteger(arg0);
|
|
462
527
|
return ret;
|
|
463
528
|
},
|
|
464
|
-
|
|
529
|
+
__wbg_iterator_e3c31c892080e444: function() {
|
|
465
530
|
const ret = Symbol.iterator;
|
|
466
531
|
return ret;
|
|
467
532
|
},
|
|
468
|
-
|
|
533
|
+
__wbg_length_7f3c00c40364105e: function(arg0) {
|
|
469
534
|
const ret = arg0.length;
|
|
470
535
|
return ret;
|
|
471
536
|
},
|
|
472
|
-
|
|
537
|
+
__wbg_length_d4bdea10311bd9cf: function(arg0) {
|
|
473
538
|
const ret = arg0.length;
|
|
474
539
|
return ret;
|
|
475
540
|
},
|
|
476
|
-
|
|
541
|
+
__wbg_new_1dbf7428bba60a42: function(arg0) {
|
|
477
542
|
const ret = new Uint8Array(arg0);
|
|
478
543
|
return ret;
|
|
479
544
|
},
|
|
480
|
-
|
|
545
|
+
__wbg_new_28744009d011f847: function() {
|
|
481
546
|
const ret = new Map();
|
|
482
547
|
return ret;
|
|
483
548
|
},
|
|
484
|
-
|
|
549
|
+
__wbg_new_343a093a3c2ffb4e: function(arg0, arg1) {
|
|
485
550
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
486
551
|
return ret;
|
|
487
552
|
},
|
|
488
|
-
|
|
553
|
+
__wbg_new_617a8cdb8bb1130e: function() {
|
|
489
554
|
const ret = new Object();
|
|
490
555
|
return ret;
|
|
491
556
|
},
|
|
492
|
-
|
|
557
|
+
__wbg_new_ee2291f50781bf1d: function() {
|
|
493
558
|
const ret = new Array();
|
|
494
559
|
return ret;
|
|
495
560
|
},
|
|
496
|
-
|
|
561
|
+
__wbg_next_33784799010f1bbe: function(arg0) {
|
|
497
562
|
const ret = arg0.next;
|
|
498
563
|
return ret;
|
|
499
564
|
},
|
|
500
|
-
|
|
565
|
+
__wbg_next_f4aac29c42af995c: function() { return handleError(function (arg0) {
|
|
501
566
|
const ret = arg0.next();
|
|
502
567
|
return ret;
|
|
503
568
|
}, arguments); },
|
|
504
|
-
|
|
569
|
+
__wbg_prototypesetcall_bc27214492979395: function(arg0, arg1, arg2) {
|
|
505
570
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
506
571
|
},
|
|
507
|
-
|
|
508
|
-
arg0[arg1 >>> 0] = arg2;
|
|
509
|
-
},
|
|
510
|
-
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
511
|
-
arg0[arg1] = arg2;
|
|
512
|
-
},
|
|
513
|
-
__wbg_set_a377297433dfea63: function() { return handleError(function (arg0, arg1, arg2) {
|
|
572
|
+
__wbg_set_145a351398b48c65: function() { return handleError(function (arg0, arg1, arg2) {
|
|
514
573
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
515
574
|
return ret;
|
|
516
575
|
}, arguments); },
|
|
517
|
-
|
|
576
|
+
__wbg_set_6ae97e73113c4f0b: function(arg0, arg1, arg2) {
|
|
518
577
|
const ret = arg0.set(arg1, arg2);
|
|
519
578
|
return ret;
|
|
520
579
|
},
|
|
521
|
-
|
|
580
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
581
|
+
arg0[arg1] = arg2;
|
|
582
|
+
},
|
|
583
|
+
__wbg_set_bea140a88be9b277: function(arg0, arg1, arg2) {
|
|
584
|
+
arg0[arg1 >>> 0] = arg2;
|
|
585
|
+
},
|
|
586
|
+
__wbg_value_f3c585ee8f5ba40c: function(arg0) {
|
|
522
587
|
const ret = arg0.value;
|
|
523
588
|
return ret;
|
|
524
589
|
},
|
|
Binary file
|