fleethub-core 1.7.1 → 1.7.5

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.
@@ -2,24 +2,55 @@ let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
4
  const { createEquipmentBonuses } = require(`equipment-bonus`);
5
- const { TextEncoder, TextDecoder } = require(`util`);
5
+ const { TextDecoder, TextEncoder } = require(`util`);
6
+
7
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
8
+
9
+ cachedTextDecoder.decode();
10
+
11
+ let cachedUint8Memory0;
12
+ function getUint8Memory0() {
13
+ if (cachedUint8Memory0.byteLength === 0) {
14
+ cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
15
+ }
16
+ return cachedUint8Memory0;
17
+ }
18
+
19
+ function getStringFromWasm0(ptr, len) {
20
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
21
+ }
6
22
 
7
23
  const heap = new Array(32).fill(undefined);
8
24
 
9
25
  heap.push(undefined, null, true, false);
10
26
 
27
+ let heap_next = heap.length;
28
+
29
+ function addHeapObject(obj) {
30
+ if (heap_next === heap.length) heap.push(heap.length + 1);
31
+ const idx = heap_next;
32
+ heap_next = heap[idx];
33
+
34
+ heap[idx] = obj;
35
+ return idx;
36
+ }
37
+
11
38
  function getObject(idx) { return heap[idx]; }
12
39
 
13
- let WASM_VECTOR_LEN = 0;
40
+ function dropObject(idx) {
41
+ if (idx < 36) return;
42
+ heap[idx] = heap_next;
43
+ heap_next = idx;
44
+ }
14
45
 
15
- let cachegetUint8Memory0 = null;
16
- function getUint8Memory0() {
17
- if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {
18
- cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);
19
- }
20
- return cachegetUint8Memory0;
46
+ function takeObject(idx) {
47
+ const ret = getObject(idx);
48
+ dropObject(idx);
49
+ return ret;
21
50
  }
22
51
 
52
+ let WASM_VECTOR_LEN = 0;
53
+
23
54
  let cachedTextEncoder = new TextEncoder('utf-8');
24
55
 
25
56
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -73,43 +104,12 @@ function passStringToWasm0(arg, malloc, realloc) {
73
104
  return ptr;
74
105
  }
75
106
 
76
- let cachegetInt32Memory0 = null;
107
+ let cachedInt32Memory0;
77
108
  function getInt32Memory0() {
78
- if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {
79
- cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);
109
+ if (cachedInt32Memory0.byteLength === 0) {
110
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
80
111
  }
81
- return cachegetInt32Memory0;
82
- }
83
-
84
- let heap_next = heap.length;
85
-
86
- function dropObject(idx) {
87
- if (idx < 36) return;
88
- heap[idx] = heap_next;
89
- heap_next = idx;
90
- }
91
-
92
- function takeObject(idx) {
93
- const ret = getObject(idx);
94
- dropObject(idx);
95
- return ret;
96
- }
97
-
98
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
99
-
100
- cachedTextDecoder.decode();
101
-
102
- function getStringFromWasm0(ptr, len) {
103
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
104
- }
105
-
106
- function addHeapObject(obj) {
107
- if (heap_next === heap.length) heap.push(heap.length + 1);
108
- const idx = heap_next;
109
- heap_next = heap[idx];
110
-
111
- heap[idx] = obj;
112
- return idx;
112
+ return cachedInt32Memory0;
113
113
  }
114
114
 
115
115
  const u32CvtShim = new Uint32Array(2);
@@ -123,24 +123,24 @@ function _assertClass(instance, klass) {
123
123
  return instance.ptr;
124
124
  }
125
125
 
126
- let cachegetFloat64Memory0 = null;
126
+ let cachedFloat64Memory0;
127
127
  function getFloat64Memory0() {
128
- if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) {
129
- cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer);
128
+ if (cachedFloat64Memory0.byteLength === 0) {
129
+ cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
130
130
  }
131
- return cachegetFloat64Memory0;
131
+ return cachedFloat64Memory0;
132
132
  }
133
133
 
134
134
  function isLikeNone(x) {
135
135
  return x === undefined || x === null;
136
136
  }
137
137
 
138
- let cachegetUint32Memory0 = null;
138
+ let cachedUint32Memory0;
139
139
  function getUint32Memory0() {
140
- if (cachegetUint32Memory0 === null || cachegetUint32Memory0.buffer !== wasm.memory.buffer) {
141
- cachegetUint32Memory0 = new Uint32Array(wasm.memory.buffer);
140
+ if (cachedUint32Memory0.byteLength === 0) {
141
+ cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
142
142
  }
143
- return cachegetUint32Memory0;
143
+ return cachedUint32Memory0;
144
144
  }
145
145
 
146
146
  function getArrayJsValueFromWasm0(ptr, len) {
@@ -153,12 +153,12 @@ function getArrayJsValueFromWasm0(ptr, len) {
153
153
  return result;
154
154
  }
155
155
 
156
- let cachegetUint16Memory0 = null;
156
+ let cachedUint16Memory0;
157
157
  function getUint16Memory0() {
158
- if (cachegetUint16Memory0 === null || cachegetUint16Memory0.buffer !== wasm.memory.buffer) {
159
- cachegetUint16Memory0 = new Uint16Array(wasm.memory.buffer);
158
+ if (cachedUint16Memory0.byteLength === 0) {
159
+ cachedUint16Memory0 = new Uint16Array(wasm.memory.buffer);
160
160
  }
161
- return cachegetUint16Memory0;
161
+ return cachedUint16Memory0;
162
162
  }
163
163
 
164
164
  function getArrayU16FromWasm0(ptr, len) {
@@ -234,7 +234,6 @@ class AirSquadron {
234
234
  }
235
235
  }
236
236
  /**
237
- * @param {string} arg0
238
237
  */
239
238
  set id(arg0) {
240
239
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -258,7 +257,6 @@ class AirSquadron {
258
257
  }
259
258
  }
260
259
  /**
261
- * @param {BigInt} arg0
262
260
  */
263
261
  set xxh3(arg0) {
264
262
  uint64CvtShim[0] = arg0;
@@ -273,7 +271,6 @@ class AirSquadron {
273
271
  return takeObject(ret);
274
272
  }
275
273
  /**
276
- * @param {AirSquadronMode} arg0
277
274
  */
278
275
  set mode(arg0) {
279
276
  wasm.__wbg_set_airsquadron_mode(this.ptr, addHeapObject(arg0));
@@ -471,7 +468,6 @@ class Comp {
471
468
  return takeObject(ret);
472
469
  }
473
470
  /**
474
- * @param {OrgType} arg0
475
471
  */
476
472
  set org_type(arg0) {
477
473
  wasm.__wbg_set_comp_org_type(this.ptr, addHeapObject(arg0));
@@ -483,7 +479,6 @@ class Comp {
483
479
  return ret;
484
480
  }
485
481
  /**
486
- * @param {number} arg0
487
482
  */
488
483
  set hq_level(arg0) {
489
484
  wasm.__wbg_set_comp_hq_level(this.ptr, arg0);
@@ -495,7 +490,6 @@ class Comp {
495
490
  return Fleet.__wrap(ret);
496
491
  }
497
492
  /**
498
- * @param {Fleet} arg0
499
493
  */
500
494
  set main(arg0) {
501
495
  _assertClass(arg0, Fleet);
@@ -510,7 +504,6 @@ class Comp {
510
504
  return ret === 0 ? undefined : Fleet.__wrap(ret);
511
505
  }
512
506
  /**
513
- * @param {Fleet | undefined} arg0
514
507
  */
515
508
  set escort(arg0) {
516
509
  let ptr0 = 0;
@@ -528,7 +521,6 @@ class Comp {
528
521
  return ret === 0 ? undefined : Fleet.__wrap(ret);
529
522
  }
530
523
  /**
531
- * @param {Fleet | undefined} arg0
532
524
  */
533
525
  set route_sup(arg0) {
534
526
  let ptr0 = 0;
@@ -546,7 +538,6 @@ class Comp {
546
538
  return ret === 0 ? undefined : Fleet.__wrap(ret);
547
539
  }
548
540
  /**
549
- * @param {Fleet | undefined} arg0
550
541
  */
551
542
  set boss_sup(arg0) {
552
543
  let ptr0 = 0;
@@ -914,7 +905,6 @@ class Fleet {
914
905
  }
915
906
  }
916
907
  /**
917
- * @param {string} arg0
918
908
  */
919
909
  set id(arg0) {
920
910
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -926,7 +916,7 @@ class Fleet {
926
916
  get xxh3() {
927
917
  try {
928
918
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
929
- wasm.__wbg_get_airsquadron_xxh3(retptr, this.ptr);
919
+ wasm.__wbg_get_fleet_xxh3(retptr, this.ptr);
930
920
  var r0 = getInt32Memory0()[retptr / 4 + 0];
931
921
  var r1 = getInt32Memory0()[retptr / 4 + 1];
932
922
  u32CvtShim[0] = r0;
@@ -938,13 +928,12 @@ class Fleet {
938
928
  }
939
929
  }
940
930
  /**
941
- * @param {BigInt} arg0
942
931
  */
943
932
  set xxh3(arg0) {
944
933
  uint64CvtShim[0] = arg0;
945
934
  const low0 = u32CvtShim[0];
946
935
  const high0 = u32CvtShim[1];
947
- wasm.__wbg_set_airsquadron_xxh3(this.ptr, low0, high0);
936
+ wasm.__wbg_set_fleet_xxh3(this.ptr, low0, high0);
948
937
  }
949
938
  /**
950
939
  */
@@ -953,7 +942,6 @@ class Fleet {
953
942
  return ret >>> 0;
954
943
  }
955
944
  /**
956
- * @param {number} arg0
957
945
  */
958
946
  set len(arg0) {
959
947
  wasm.__wbg_set_fleet_len(this.ptr, arg0);
@@ -1082,7 +1070,6 @@ class Fleet {
1082
1070
  return ret === 0 ? undefined : Ship.__wrap(ret);
1083
1071
  }
1084
1072
  /**
1085
- * @returns {number | undefined}
1086
1073
  */
1087
1074
  get fleet_los_mod() {
1088
1075
  try {
@@ -1213,7 +1200,6 @@ class Gear {
1213
1200
  }
1214
1201
  }
1215
1202
  /**
1216
- * @param {string} arg0
1217
1203
  */
1218
1204
  set id(arg0) {
1219
1205
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1237,7 +1223,6 @@ class Gear {
1237
1223
  }
1238
1224
  }
1239
1225
  /**
1240
- * @param {BigInt} arg0
1241
1226
  */
1242
1227
  set xxh3(arg0) {
1243
1228
  uint64CvtShim[0] = arg0;
@@ -1252,7 +1237,6 @@ class Gear {
1252
1237
  return ret;
1253
1238
  }
1254
1239
  /**
1255
- * @param {number} arg0
1256
1240
  */
1257
1241
  set gear_id(arg0) {
1258
1242
  wasm.__wbg_set_gear_gear_id(this.ptr, arg0);
@@ -1264,7 +1248,6 @@ class Gear {
1264
1248
  return ret;
1265
1249
  }
1266
1250
  /**
1267
- * @param {number} arg0
1268
1251
  */
1269
1252
  set stars(arg0) {
1270
1253
  wasm.__wbg_set_gear_stars(this.ptr, arg0);
@@ -1276,7 +1259,6 @@ class Gear {
1276
1259
  return ret;
1277
1260
  }
1278
1261
  /**
1279
- * @param {number} arg0
1280
1262
  */
1281
1263
  set exp(arg0) {
1282
1264
  wasm.__wbg_set_gear_exp(this.ptr, arg0);
@@ -1288,7 +1270,6 @@ class Gear {
1288
1270
  return ret;
1289
1271
  }
1290
1272
  /**
1291
- * @param {number} arg0
1292
1273
  */
1293
1274
  set default_exp(arg0) {
1294
1275
  wasm.__wbg_set_gear_default_exp(this.ptr, arg0);
@@ -1308,7 +1289,6 @@ class Gear {
1308
1289
  }
1309
1290
  }
1310
1291
  /**
1311
- * @param {string} arg0
1312
1292
  */
1313
1293
  set name(arg0) {
1314
1294
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1331,7 +1311,6 @@ class Gear {
1331
1311
  }
1332
1312
  }
1333
1313
  /**
1334
- * @param {Uint8Array} arg0
1335
1314
  */
1336
1315
  set types(arg0) {
1337
1316
  const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
@@ -1345,7 +1324,6 @@ class Gear {
1345
1324
  return takeObject(ret);
1346
1325
  }
1347
1326
  /**
1348
- * @param {GearType} arg0
1349
1327
  */
1350
1328
  set gear_type(arg0) {
1351
1329
  wasm.__wbg_set_gear_gear_type(this.ptr, addHeapObject(arg0));
@@ -1357,7 +1335,6 @@ class Gear {
1357
1335
  return ret;
1358
1336
  }
1359
1337
  /**
1360
- * @param {number} arg0
1361
1338
  */
1362
1339
  set max_hp(arg0) {
1363
1340
  wasm.__wbg_set_gear_max_hp(this.ptr, arg0);
@@ -1369,7 +1346,6 @@ class Gear {
1369
1346
  return ret;
1370
1347
  }
1371
1348
  /**
1372
- * @param {number} arg0
1373
1349
  */
1374
1350
  set firepower(arg0) {
1375
1351
  wasm.__wbg_set_gear_firepower(this.ptr, arg0);
@@ -1381,7 +1357,6 @@ class Gear {
1381
1357
  return ret;
1382
1358
  }
1383
1359
  /**
1384
- * @param {number} arg0
1385
1360
  */
1386
1361
  set armor(arg0) {
1387
1362
  wasm.__wbg_set_gear_armor(this.ptr, arg0);
@@ -1393,7 +1368,6 @@ class Gear {
1393
1368
  return ret;
1394
1369
  }
1395
1370
  /**
1396
- * @param {number} arg0
1397
1371
  */
1398
1372
  set torpedo(arg0) {
1399
1373
  wasm.__wbg_set_gear_torpedo(this.ptr, arg0);
@@ -1405,7 +1379,6 @@ class Gear {
1405
1379
  return ret;
1406
1380
  }
1407
1381
  /**
1408
- * @param {number} arg0
1409
1382
  */
1410
1383
  set anti_air(arg0) {
1411
1384
  wasm.__wbg_set_gear_anti_air(this.ptr, arg0);
@@ -1417,7 +1390,6 @@ class Gear {
1417
1390
  return ret;
1418
1391
  }
1419
1392
  /**
1420
- * @param {number} arg0
1421
1393
  */
1422
1394
  set speed(arg0) {
1423
1395
  wasm.__wbg_set_gear_speed(this.ptr, arg0);
@@ -1429,7 +1401,6 @@ class Gear {
1429
1401
  return ret;
1430
1402
  }
1431
1403
  /**
1432
- * @param {number} arg0
1433
1404
  */
1434
1405
  set bombing(arg0) {
1435
1406
  wasm.__wbg_set_gear_bombing(this.ptr, arg0);
@@ -1441,7 +1412,6 @@ class Gear {
1441
1412
  return ret;
1442
1413
  }
1443
1414
  /**
1444
- * @param {number} arg0
1445
1415
  */
1446
1416
  set asw(arg0) {
1447
1417
  wasm.__wbg_set_gear_asw(this.ptr, arg0);
@@ -1453,7 +1423,6 @@ class Gear {
1453
1423
  return ret;
1454
1424
  }
1455
1425
  /**
1456
- * @param {number} arg0
1457
1426
  */
1458
1427
  set los(arg0) {
1459
1428
  wasm.__wbg_set_gear_los(this.ptr, arg0);
@@ -1465,7 +1434,6 @@ class Gear {
1465
1434
  return ret;
1466
1435
  }
1467
1436
  /**
1468
- * @param {number} arg0
1469
1437
  */
1470
1438
  set luck(arg0) {
1471
1439
  wasm.__wbg_set_gear_luck(this.ptr, arg0);
@@ -1477,7 +1445,6 @@ class Gear {
1477
1445
  return ret;
1478
1446
  }
1479
1447
  /**
1480
- * @param {number} arg0
1481
1448
  */
1482
1449
  set accuracy(arg0) {
1483
1450
  wasm.__wbg_set_gear_accuracy(this.ptr, arg0);
@@ -1489,7 +1456,6 @@ class Gear {
1489
1456
  return ret;
1490
1457
  }
1491
1458
  /**
1492
- * @param {number} arg0
1493
1459
  */
1494
1460
  set evasion(arg0) {
1495
1461
  wasm.__wbg_set_gear_evasion(this.ptr, arg0);
@@ -1501,7 +1467,6 @@ class Gear {
1501
1467
  return ret;
1502
1468
  }
1503
1469
  /**
1504
- * @param {number} arg0
1505
1470
  */
1506
1471
  set range(arg0) {
1507
1472
  wasm.__wbg_set_gear_range(this.ptr, arg0);
@@ -1513,7 +1478,6 @@ class Gear {
1513
1478
  return ret;
1514
1479
  }
1515
1480
  /**
1516
- * @param {number} arg0
1517
1481
  */
1518
1482
  set radius(arg0) {
1519
1483
  wasm.__wbg_set_gear_radius(this.ptr, arg0);
@@ -1525,7 +1489,6 @@ class Gear {
1525
1489
  return ret;
1526
1490
  }
1527
1491
  /**
1528
- * @param {number} arg0
1529
1492
  */
1530
1493
  set cost(arg0) {
1531
1494
  wasm.__wbg_set_gear_cost(this.ptr, arg0);
@@ -1537,7 +1500,6 @@ class Gear {
1537
1500
  return ret !== 0;
1538
1501
  }
1539
1502
  /**
1540
- * @param {boolean} arg0
1541
1503
  */
1542
1504
  set improvable(arg0) {
1543
1505
  wasm.__wbg_set_gear_improvable(this.ptr, arg0);
@@ -1549,7 +1511,6 @@ class Gear {
1549
1511
  return ret;
1550
1512
  }
1551
1513
  /**
1552
- * @param {number} arg0
1553
1514
  */
1554
1515
  set ship_anti_air_resistance(arg0) {
1555
1516
  wasm.__wbg_set_gear_ship_anti_air_resistance(this.ptr, arg0);
@@ -1561,7 +1522,6 @@ class Gear {
1561
1522
  return ret;
1562
1523
  }
1563
1524
  /**
1564
- * @param {number} arg0
1565
1525
  */
1566
1526
  set fleet_anti_air_resistance(arg0) {
1567
1527
  wasm.__wbg_set_gear_fleet_anti_air_resistance(this.ptr, arg0);
@@ -1574,21 +1534,18 @@ class Gear {
1574
1534
  return Gear.__wrap(ret);
1575
1535
  }
1576
1536
  /**
1577
- * @returns {number}
1578
1537
  */
1579
1538
  get gear_type_id() {
1580
1539
  const ret = wasm.gear_gear_type_id(this.ptr);
1581
1540
  return ret;
1582
1541
  }
1583
1542
  /**
1584
- * @returns {number}
1585
1543
  */
1586
1544
  get special_type_id() {
1587
1545
  const ret = wasm.gear_special_type_id(this.ptr);
1588
1546
  return ret;
1589
1547
  }
1590
1548
  /**
1591
- * @returns {number}
1592
1549
  */
1593
1550
  get icon_id() {
1594
1551
  const ret = wasm.gear_icon_id(this.ptr);
@@ -1610,21 +1567,18 @@ class Gear {
1610
1567
  return takeObject(ret);
1611
1568
  }
1612
1569
  /**
1613
- * @returns {number}
1614
1570
  */
1615
1571
  get ace() {
1616
1572
  const ret = wasm.gear_ace(this.ptr);
1617
1573
  return ret;
1618
1574
  }
1619
1575
  /**
1620
- * @returns {number}
1621
1576
  */
1622
1577
  get anti_bomber() {
1623
1578
  const ret = wasm.gear_anti_bomber(this.ptr);
1624
1579
  return ret;
1625
1580
  }
1626
1581
  /**
1627
- * @returns {number}
1628
1582
  */
1629
1583
  get interception() {
1630
1584
  const ret = wasm.gear_interception(this.ptr);
@@ -1817,7 +1771,6 @@ class IBonuses {
1817
1771
  return ret;
1818
1772
  }
1819
1773
  /**
1820
- * @param {number} arg0
1821
1774
  */
1822
1775
  set shelling_power(arg0) {
1823
1776
  wasm.__wbg_set_ibonuses_shelling_power(this.ptr, arg0);
@@ -1829,7 +1782,6 @@ class IBonuses {
1829
1782
  return ret;
1830
1783
  }
1831
1784
  /**
1832
- * @param {number} arg0
1833
1785
  */
1834
1786
  set carrier_shelling_power(arg0) {
1835
1787
  wasm.__wbg_set_ibonuses_carrier_shelling_power(this.ptr, arg0);
@@ -1841,7 +1793,6 @@ class IBonuses {
1841
1793
  return ret;
1842
1794
  }
1843
1795
  /**
1844
- * @param {number} arg0
1845
1796
  */
1846
1797
  set shelling_accuracy(arg0) {
1847
1798
  wasm.__wbg_set_ibonuses_shelling_accuracy(this.ptr, arg0);
@@ -1853,7 +1804,6 @@ class IBonuses {
1853
1804
  return ret;
1854
1805
  }
1855
1806
  /**
1856
- * @param {number} arg0
1857
1807
  */
1858
1808
  set torpedo_power(arg0) {
1859
1809
  wasm.__wbg_set_ibonuses_torpedo_power(this.ptr, arg0);
@@ -1865,7 +1815,6 @@ class IBonuses {
1865
1815
  return ret;
1866
1816
  }
1867
1817
  /**
1868
- * @param {number} arg0
1869
1818
  */
1870
1819
  set torpedo_accuracy(arg0) {
1871
1820
  wasm.__wbg_set_ibonuses_torpedo_accuracy(this.ptr, arg0);
@@ -1877,7 +1826,6 @@ class IBonuses {
1877
1826
  return ret;
1878
1827
  }
1879
1828
  /**
1880
- * @param {number} arg0
1881
1829
  */
1882
1830
  set torpedo_evasion(arg0) {
1883
1831
  wasm.__wbg_set_ibonuses_torpedo_evasion(this.ptr, arg0);
@@ -1889,7 +1837,6 @@ class IBonuses {
1889
1837
  return ret;
1890
1838
  }
1891
1839
  /**
1892
- * @param {number} arg0
1893
1840
  */
1894
1841
  set asw_power(arg0) {
1895
1842
  wasm.__wbg_set_ibonuses_asw_power(this.ptr, arg0);
@@ -1901,7 +1848,6 @@ class IBonuses {
1901
1848
  return ret;
1902
1849
  }
1903
1850
  /**
1904
- * @param {number} arg0
1905
1851
  */
1906
1852
  set asw_accuracy(arg0) {
1907
1853
  wasm.__wbg_set_ibonuses_asw_accuracy(this.ptr, arg0);
@@ -1913,7 +1859,6 @@ class IBonuses {
1913
1859
  return ret;
1914
1860
  }
1915
1861
  /**
1916
- * @param {number} arg0
1917
1862
  */
1918
1863
  set night_power(arg0) {
1919
1864
  wasm.__wbg_set_ibonuses_night_power(this.ptr, arg0);
@@ -1925,7 +1870,6 @@ class IBonuses {
1925
1870
  return ret;
1926
1871
  }
1927
1872
  /**
1928
- * @param {number} arg0
1929
1873
  */
1930
1874
  set night_accuracy(arg0) {
1931
1875
  wasm.__wbg_set_ibonuses_night_accuracy(this.ptr, arg0);
@@ -1937,7 +1881,6 @@ class IBonuses {
1937
1881
  return ret;
1938
1882
  }
1939
1883
  /**
1940
- * @param {number} arg0
1941
1884
  */
1942
1885
  set defense_power(arg0) {
1943
1886
  wasm.__wbg_set_ibonuses_defense_power(this.ptr, arg0);
@@ -1949,7 +1892,6 @@ class IBonuses {
1949
1892
  return ret;
1950
1893
  }
1951
1894
  /**
1952
- * @param {number} arg0
1953
1895
  */
1954
1896
  set contact_selection(arg0) {
1955
1897
  wasm.__wbg_set_ibonuses_contact_selection(this.ptr, arg0);
@@ -1961,7 +1903,6 @@ class IBonuses {
1961
1903
  return ret;
1962
1904
  }
1963
1905
  /**
1964
- * @param {number} arg0
1965
1906
  */
1966
1907
  set fighter_power(arg0) {
1967
1908
  wasm.__wbg_set_ibonuses_fighter_power(this.ptr, arg0);
@@ -1973,7 +1914,6 @@ class IBonuses {
1973
1914
  return ret;
1974
1915
  }
1975
1916
  /**
1976
- * @param {number} arg0
1977
1917
  */
1978
1918
  set ship_anti_air(arg0) {
1979
1919
  wasm.__wbg_set_ibonuses_ship_anti_air(this.ptr, arg0);
@@ -1985,7 +1925,6 @@ class IBonuses {
1985
1925
  return ret;
1986
1926
  }
1987
1927
  /**
1988
- * @param {number} arg0
1989
1928
  */
1990
1929
  set fleet_anti_air(arg0) {
1991
1930
  wasm.__wbg_set_ibonuses_fleet_anti_air(this.ptr, arg0);
@@ -1997,7 +1936,6 @@ class IBonuses {
1997
1936
  return ret;
1998
1937
  }
1999
1938
  /**
2000
- * @param {number} arg0
2001
1939
  */
2002
1940
  set elos(arg0) {
2003
1941
  wasm.__wbg_set_ibonuses_elos(this.ptr, arg0);
@@ -2043,7 +1981,6 @@ class Org {
2043
1981
  }
2044
1982
  }
2045
1983
  /**
2046
- * @param {string} arg0
2047
1984
  */
2048
1985
  set id(arg0) {
2049
1986
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2067,7 +2004,6 @@ class Org {
2067
2004
  }
2068
2005
  }
2069
2006
  /**
2070
- * @param {BigInt} arg0
2071
2007
  */
2072
2008
  set xxh3(arg0) {
2073
2009
  uint64CvtShim[0] = arg0;
@@ -2082,7 +2018,6 @@ class Org {
2082
2018
  return ret;
2083
2019
  }
2084
2020
  /**
2085
- * @param {number} arg0
2086
2021
  */
2087
2022
  set hq_level(arg0) {
2088
2023
  wasm.__wbg_set_org_hq_level(this.ptr, arg0);
@@ -2094,7 +2029,6 @@ class Org {
2094
2029
  return takeObject(ret);
2095
2030
  }
2096
2031
  /**
2097
- * @param {OrgType} arg0
2098
2032
  */
2099
2033
  set org_type(arg0) {
2100
2034
  wasm.__wbg_set_org_org_type(this.ptr, addHeapObject(arg0));
@@ -2114,7 +2048,6 @@ class Org {
2114
2048
  }
2115
2049
  }
2116
2050
  /**
2117
- * @param {string} arg0
2118
2051
  */
2119
2052
  set sortie(arg0) {
2120
2053
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2140,7 +2073,6 @@ class Org {
2140
2073
  }
2141
2074
  }
2142
2075
  /**
2143
- * @param {string | undefined} arg0
2144
2076
  */
2145
2077
  set route_sup(arg0) {
2146
2078
  var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2166,7 +2098,6 @@ class Org {
2166
2098
  }
2167
2099
  }
2168
2100
  /**
2169
- * @param {string | undefined} arg0
2170
2101
  */
2171
2102
  set boss_sup(arg0) {
2172
2103
  var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2493,7 +2424,6 @@ class Ship {
2493
2424
  }
2494
2425
  }
2495
2426
  /**
2496
- * @param {string} arg0
2497
2427
  */
2498
2428
  set id(arg0) {
2499
2429
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2517,7 +2447,6 @@ class Ship {
2517
2447
  }
2518
2448
  }
2519
2449
  /**
2520
- * @param {BigInt} arg0
2521
2450
  */
2522
2451
  set xxh3(arg0) {
2523
2452
  uint64CvtShim[0] = arg0;
@@ -2532,7 +2461,6 @@ class Ship {
2532
2461
  return ret;
2533
2462
  }
2534
2463
  /**
2535
- * @param {number} arg0
2536
2464
  */
2537
2465
  set ship_id(arg0) {
2538
2466
  wasm.__wbg_set_ship_ship_id(this.ptr, arg0);
@@ -2544,7 +2472,6 @@ class Ship {
2544
2472
  return ret;
2545
2473
  }
2546
2474
  /**
2547
- * @param {number} arg0
2548
2475
  */
2549
2476
  set level(arg0) {
2550
2477
  wasm.__wbg_set_ship_level(this.ptr, arg0);
@@ -2556,7 +2483,6 @@ class Ship {
2556
2483
  return ret;
2557
2484
  }
2558
2485
  /**
2559
- * @param {number} arg0
2560
2486
  */
2561
2487
  set current_hp(arg0) {
2562
2488
  wasm.__wbg_set_ship_current_hp(this.ptr, arg0);
@@ -2568,7 +2494,6 @@ class Ship {
2568
2494
  return ret;
2569
2495
  }
2570
2496
  /**
2571
- * @param {number} arg0
2572
2497
  */
2573
2498
  set morale(arg0) {
2574
2499
  wasm.__wbg_set_ship_morale(this.ptr, arg0);
@@ -2580,7 +2505,6 @@ class Ship {
2580
2505
  return ret;
2581
2506
  }
2582
2507
  /**
2583
- * @param {number} arg0
2584
2508
  */
2585
2509
  set ammo(arg0) {
2586
2510
  wasm.__wbg_set_ship_ammo(this.ptr, arg0);
@@ -2592,7 +2516,6 @@ class Ship {
2592
2516
  return ret;
2593
2517
  }
2594
2518
  /**
2595
- * @param {number} arg0
2596
2519
  */
2597
2520
  set fuel(arg0) {
2598
2521
  wasm.__wbg_set_ship_fuel(this.ptr, arg0);
@@ -2604,7 +2527,6 @@ class Ship {
2604
2527
  return takeObject(ret);
2605
2528
  }
2606
2529
  /**
2607
- * @param {ShipType} arg0
2608
2530
  */
2609
2531
  set ship_type(arg0) {
2610
2532
  wasm.__wbg_set_ship_ship_type(this.ptr, addHeapObject(arg0));
@@ -2616,7 +2538,6 @@ class Ship {
2616
2538
  return ret;
2617
2539
  }
2618
2540
  /**
2619
- * @param {number} arg0
2620
2541
  */
2621
2542
  set ctype(arg0) {
2622
2543
  wasm.__wbg_set_ship_ctype(this.ptr, arg0);
@@ -2628,104 +2549,89 @@ class Ship {
2628
2549
  return takeObject(ret);
2629
2550
  }
2630
2551
  /**
2631
- * @param {SlotSizeVec} arg0
2632
2552
  */
2633
2553
  set slots(arg0) {
2634
2554
  wasm.__wbg_set_ship_slots(this.ptr, addHeapObject(arg0));
2635
2555
  }
2636
2556
  /**
2637
- * @returns {number | undefined}
2638
2557
  */
2639
2558
  get naked_firepower() {
2640
2559
  const ret = wasm.ship_naked_firepower(this.ptr);
2641
2560
  return ret === 0xFFFFFF ? undefined : ret;
2642
2561
  }
2643
2562
  /**
2644
- * @returns {number | undefined}
2645
2563
  */
2646
2564
  get naked_torpedo() {
2647
2565
  const ret = wasm.ship_naked_torpedo(this.ptr);
2648
2566
  return ret === 0xFFFFFF ? undefined : ret;
2649
2567
  }
2650
2568
  /**
2651
- * @returns {number | undefined}
2652
2569
  */
2653
2570
  get naked_armor() {
2654
2571
  const ret = wasm.ship_naked_armor(this.ptr);
2655
2572
  return ret === 0xFFFFFF ? undefined : ret;
2656
2573
  }
2657
2574
  /**
2658
- * @returns {number | undefined}
2659
2575
  */
2660
2576
  get naked_anti_air() {
2661
2577
  const ret = wasm.ship_naked_anti_air(this.ptr);
2662
2578
  return ret === 0xFFFFFF ? undefined : ret;
2663
2579
  }
2664
2580
  /**
2665
- * @returns {number | undefined}
2666
2581
  */
2667
2582
  get naked_evasion() {
2668
2583
  const ret = wasm.ship_naked_evasion(this.ptr);
2669
2584
  return ret === 0xFFFFFF ? undefined : ret;
2670
2585
  }
2671
2586
  /**
2672
- * @returns {number | undefined}
2673
2587
  */
2674
2588
  get naked_asw() {
2675
2589
  const ret = wasm.ship_naked_asw(this.ptr);
2676
2590
  return ret === 0xFFFFFF ? undefined : ret;
2677
2591
  }
2678
2592
  /**
2679
- * @returns {number | undefined}
2680
2593
  */
2681
2594
  get naked_los() {
2682
2595
  const ret = wasm.ship_naked_los(this.ptr);
2683
2596
  return ret === 0xFFFFFF ? undefined : ret;
2684
2597
  }
2685
2598
  /**
2686
- * @returns {number | undefined}
2687
2599
  */
2688
2600
  get firepower() {
2689
2601
  const ret = wasm.ship_firepower(this.ptr);
2690
2602
  return ret === 0xFFFFFF ? undefined : ret;
2691
2603
  }
2692
2604
  /**
2693
- * @returns {number | undefined}
2694
2605
  */
2695
2606
  get torpedo() {
2696
2607
  const ret = wasm.ship_torpedo(this.ptr);
2697
2608
  return ret === 0xFFFFFF ? undefined : ret;
2698
2609
  }
2699
2610
  /**
2700
- * @returns {number | undefined}
2701
2611
  */
2702
2612
  get armor() {
2703
2613
  const ret = wasm.ship_armor(this.ptr);
2704
2614
  return ret === 0xFFFFFF ? undefined : ret;
2705
2615
  }
2706
2616
  /**
2707
- * @returns {number | undefined}
2708
2617
  */
2709
2618
  get anti_air() {
2710
2619
  const ret = wasm.ship_anti_air(this.ptr);
2711
2620
  return ret === 0xFFFFFF ? undefined : ret;
2712
2621
  }
2713
2622
  /**
2714
- * @returns {number | undefined}
2715
2623
  */
2716
2624
  get evasion() {
2717
2625
  const ret = wasm.ship_evasion(this.ptr);
2718
2626
  return ret === 0xFFFFFF ? undefined : ret;
2719
2627
  }
2720
2628
  /**
2721
- * @returns {number | undefined}
2722
2629
  */
2723
2630
  get asw() {
2724
2631
  const ret = wasm.ship_asw(this.ptr);
2725
2632
  return ret === 0xFFFFFF ? undefined : ret;
2726
2633
  }
2727
2634
  /**
2728
- * @returns {number | undefined}
2729
2635
  */
2730
2636
  get los() {
2731
2637
  const ret = wasm.ship_los(this.ptr);
@@ -2756,6 +2662,13 @@ class Ship {
2756
2662
  return takeObject(ret);
2757
2663
  }
2758
2664
  /**
2665
+ * @returns {CustomPowerModifiers}
2666
+ */
2667
+ custom_power_mods() {
2668
+ const ret = wasm.ship_custom_power_mods(this.ptr);
2669
+ return takeObject(ret);
2670
+ }
2671
+ /**
2759
2672
  * @returns {ShipMeta}
2760
2673
  */
2761
2674
  meta() {
@@ -2763,7 +2676,6 @@ class Ship {
2763
2676
  return takeObject(ret);
2764
2677
  }
2765
2678
  /**
2766
- * @returns {string}
2767
2679
  */
2768
2680
  get name() {
2769
2681
  try {
@@ -2778,7 +2690,6 @@ class Ship {
2778
2690
  }
2779
2691
  }
2780
2692
  /**
2781
- * @returns {string}
2782
2693
  */
2783
2694
  get yomi() {
2784
2695
  try {
@@ -2793,14 +2704,12 @@ class Ship {
2793
2704
  }
2794
2705
  }
2795
2706
  /**
2796
- * @returns {number}
2797
2707
  */
2798
2708
  get stype() {
2799
2709
  const ret = wasm.ship_stype(this.ptr);
2800
2710
  return ret;
2801
2711
  }
2802
2712
  /**
2803
- * @returns {number}
2804
2713
  */
2805
2714
  get sort_id() {
2806
2715
  const ret = wasm.ship_sort_id(this.ptr);
@@ -2814,21 +2723,18 @@ class Ship {
2814
2723
  return ret;
2815
2724
  }
2816
2725
  /**
2817
- * @returns {number}
2818
2726
  */
2819
2727
  get slotnum() {
2820
2728
  const ret = wasm.ship_slotnum(this.ptr);
2821
2729
  return ret >>> 0;
2822
2730
  }
2823
2731
  /**
2824
- * @returns {number}
2825
2732
  */
2826
2733
  get next_id() {
2827
2734
  const ret = wasm.ship_next_id(this.ptr);
2828
2735
  return ret;
2829
2736
  }
2830
2737
  /**
2831
- * @returns {boolean}
2832
2738
  */
2833
2739
  get useful() {
2834
2740
  const ret = wasm.ship_useful(this.ptr);
@@ -3003,70 +2909,60 @@ class Ship {
3003
2909
  return ret !== 0;
3004
2910
  }
3005
2911
  /**
3006
- * @returns {number | undefined}
3007
2912
  */
3008
2913
  get max_hp() {
3009
2914
  const ret = wasm.ship_max_hp(this.ptr);
3010
2915
  return ret === 0xFFFFFF ? undefined : ret;
3011
2916
  }
3012
2917
  /**
3013
- * @returns {number}
3014
2918
  */
3015
2919
  get max_ammo() {
3016
2920
  const ret = wasm.ship_max_ammo(this.ptr);
3017
2921
  return ret;
3018
2922
  }
3019
2923
  /**
3020
- * @returns {number}
3021
2924
  */
3022
2925
  get max_fuel() {
3023
2926
  const ret = wasm.ship_max_fuel(this.ptr);
3024
2927
  return ret;
3025
2928
  }
3026
2929
  /**
3027
- * @returns {number | undefined}
3028
2930
  */
3029
2931
  get naked_range() {
3030
2932
  const ret = wasm.ship_naked_range(this.ptr);
3031
2933
  return ret === 0xFFFFFF ? undefined : ret;
3032
2934
  }
3033
2935
  /**
3034
- * @returns {number}
3035
2936
  */
3036
2937
  get naked_speed() {
3037
2938
  const ret = wasm.ship_naked_speed(this.ptr);
3038
2939
  return ret;
3039
2940
  }
3040
2941
  /**
3041
- * @returns {number | undefined}
3042
2942
  */
3043
2943
  get luck() {
3044
2944
  const ret = wasm.ship_luck(this.ptr);
3045
2945
  return ret === 0xFFFFFF ? undefined : ret;
3046
2946
  }
3047
2947
  /**
3048
- * @returns {number | undefined}
3049
2948
  */
3050
2949
  get range() {
3051
2950
  const ret = wasm.ship_range(this.ptr);
3052
2951
  return ret === 0xFFFFFF ? undefined : ret;
3053
2952
  }
3054
2953
  /**
3055
- * @returns {number}
3056
2954
  */
3057
2955
  get speed() {
3058
2956
  const ret = wasm.ship_speed(this.ptr);
3059
2957
  return ret;
3060
2958
  }
3061
2959
  /**
3062
- * @returns {number}
3063
2960
  */
3064
2961
  get accuracy() {
3065
2962
  const ret = wasm.ship_accuracy(this.ptr);
3066
2963
  return ret;
3067
2964
  }
3068
2965
  /**
3069
- * @returns {number}
3070
2966
  */
3071
2967
  get innate_torpedo_accuracy() {
3072
2968
  const ret = wasm.ship_innate_torpedo_accuracy(this.ptr);
@@ -3153,14 +3049,6 @@ class Ship {
3153
3049
  return ret;
3154
3050
  }
3155
3051
  /**
3156
- * @param {boolean} is_night
3157
- * @returns {number}
3158
- */
3159
- fit_gun_bonus(is_night) {
3160
- const ret = wasm.ship_fit_gun_bonus(this.ptr, is_night);
3161
- return ret;
3162
- }
3163
- /**
3164
3052
  * @returns {number | undefined}
3165
3053
  */
3166
3054
  basic_accuracy_term() {
@@ -3263,9 +3151,55 @@ class Ship {
3263
3151
  take_damage(value) {
3264
3152
  wasm.ship_take_damage(this.ptr, value);
3265
3153
  }
3154
+ /**
3155
+ * @returns {number | undefined}
3156
+ */
3157
+ state_day_gunfit_accuracy() {
3158
+ try {
3159
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3160
+ wasm.ship_state_day_gunfit_accuracy(retptr, this.ptr);
3161
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
3162
+ var r2 = getFloat64Memory0()[retptr / 8 + 1];
3163
+ return r0 === 0 ? undefined : r2;
3164
+ } finally {
3165
+ wasm.__wbindgen_add_to_stack_pointer(16);
3166
+ }
3167
+ }
3168
+ /**
3169
+ * @returns {number | undefined}
3170
+ */
3171
+ state_night_gunfit_accuracy() {
3172
+ try {
3173
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3174
+ wasm.ship_state_night_gunfit_accuracy(retptr, this.ptr);
3175
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
3176
+ var r2 = getFloat64Memory0()[retptr / 8 + 1];
3177
+ return r0 === 0 ? undefined : r2;
3178
+ } finally {
3179
+ wasm.__wbindgen_add_to_stack_pointer(16);
3180
+ }
3181
+ }
3182
+ /**
3183
+ * フィット砲補正
3184
+ * @param {boolean} is_night
3185
+ * @returns {number}
3186
+ */
3187
+ gunfit_accuracy(is_night) {
3188
+ const ret = wasm.ship_gunfit_accuracy(this.ptr, is_night);
3189
+ return ret;
3190
+ }
3266
3191
  }
3267
3192
  module.exports.Ship = Ship;
3268
3193
 
3194
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
3195
+ const ret = getStringFromWasm0(arg0, arg1);
3196
+ return addHeapObject(ret);
3197
+ };
3198
+
3199
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
3200
+ takeObject(arg0);
3201
+ };
3202
+
3269
3203
  module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
3270
3204
  const obj = getObject(arg1);
3271
3205
  const ret = JSON.stringify(obj === undefined ? null : obj);
@@ -3275,25 +3209,16 @@ module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
3275
3209
  getInt32Memory0()[arg0 / 4 + 0] = ptr0;
3276
3210
  };
3277
3211
 
3278
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
3279
- takeObject(arg0);
3280
- };
3281
-
3282
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
3283
- const ret = getStringFromWasm0(arg0, arg1);
3212
+ module.exports.__wbg_ship_new = function(arg0) {
3213
+ const ret = Ship.__wrap(arg0);
3284
3214
  return addHeapObject(ret);
3285
3215
  };
3286
3216
 
3287
- module.exports.__wbg_createEquipmentBonuses_2a069c9b82b680dc = function(arg0, arg1) {
3217
+ module.exports.__wbg_createEquipmentBonuses_d9b8540538a6cce0 = function(arg0, arg1) {
3288
3218
  const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
3289
3219
  return addHeapObject(ret);
3290
3220
  };
3291
3221
 
3292
- module.exports.__wbg_ship_new = function(arg0) {
3293
- const ret = Ship.__wrap(arg0);
3294
- return addHeapObject(ret);
3295
- };
3296
-
3297
3222
  module.exports.__wbindgen_json_parse = function(arg0, arg1) {
3298
3223
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
3299
3224
  return addHeapObject(ret);
@@ -3320,14 +3245,6 @@ module.exports.__wbg_error_09919627ac0992f5 = function(arg0, arg1) {
3320
3245
  }
3321
3246
  };
3322
3247
 
3323
- module.exports.__wbg_randomFillSync_91e2b39becca6147 = function() { return handleError(function (arg0, arg1, arg2) {
3324
- getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
3325
- }, arguments) };
3326
-
3327
- module.exports.__wbg_getRandomValues_b14734aa289bc356 = function() { return handleError(function (arg0, arg1) {
3328
- getObject(arg0).getRandomValues(getObject(arg1));
3329
- }, arguments) };
3330
-
3331
3248
  module.exports.__wbg_process_e56fd54cf6319b6c = function(arg0) {
3332
3249
  const ret = getObject(arg0).process;
3333
3250
  return addHeapObject(ret);
@@ -3374,17 +3291,25 @@ module.exports.__wbg_msCrypto_5a86d77a66230f81 = function(arg0) {
3374
3291
  return addHeapObject(ret);
3375
3292
  };
3376
3293
 
3377
- module.exports.__wbg_new_94fb1279cf6afea5 = function() {
3294
+ module.exports.__wbg_getRandomValues_b14734aa289bc356 = function() { return handleError(function (arg0, arg1) {
3295
+ getObject(arg0).getRandomValues(getObject(arg1));
3296
+ }, arguments) };
3297
+
3298
+ module.exports.__wbg_randomFillSync_91e2b39becca6147 = function() { return handleError(function (arg0, arg1, arg2) {
3299
+ getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
3300
+ }, arguments) };
3301
+
3302
+ module.exports.__wbg_new_2ab697f1555e0dbc = function() {
3378
3303
  const ret = new Array();
3379
3304
  return addHeapObject(ret);
3380
3305
  };
3381
3306
 
3382
- module.exports.__wbg_newnoargs_e23b458e372830de = function(arg0, arg1) {
3307
+ module.exports.__wbg_newnoargs_fc5356289219b93b = function(arg0, arg1) {
3383
3308
  const ret = new Function(getStringFromWasm0(arg0, arg1));
3384
3309
  return addHeapObject(ret);
3385
3310
  };
3386
3311
 
3387
- module.exports.__wbg_call_ae78342adc33730a = function() { return handleError(function (arg0, arg1) {
3312
+ module.exports.__wbg_call_4573f605ca4b5f10 = function() { return handleError(function (arg0, arg1) {
3388
3313
  const ret = getObject(arg0).call(getObject(arg1));
3389
3314
  return addHeapObject(ret);
3390
3315
  }, arguments) };
@@ -3394,22 +3319,22 @@ module.exports.__wbindgen_object_clone_ref = function(arg0) {
3394
3319
  return addHeapObject(ret);
3395
3320
  };
3396
3321
 
3397
- module.exports.__wbg_self_99737b4dcdf6f0d8 = function() { return handleError(function () {
3322
+ module.exports.__wbg_self_ba1ddafe9ea7a3a2 = function() { return handleError(function () {
3398
3323
  const ret = self.self;
3399
3324
  return addHeapObject(ret);
3400
3325
  }, arguments) };
3401
3326
 
3402
- module.exports.__wbg_window_9b61fbbf3564c4fb = function() { return handleError(function () {
3327
+ module.exports.__wbg_window_be3cc430364fd32c = function() { return handleError(function () {
3403
3328
  const ret = window.window;
3404
3329
  return addHeapObject(ret);
3405
3330
  }, arguments) };
3406
3331
 
3407
- module.exports.__wbg_globalThis_8e275ef40caea3a3 = function() { return handleError(function () {
3332
+ module.exports.__wbg_globalThis_56d9c9f814daeeee = function() { return handleError(function () {
3408
3333
  const ret = globalThis.globalThis;
3409
3334
  return addHeapObject(ret);
3410
3335
  }, arguments) };
3411
3336
 
3412
- module.exports.__wbg_global_5de1e0f82bddcd27 = function() { return handleError(function () {
3337
+ module.exports.__wbg_global_8c35aeee4ac77f2b = function() { return handleError(function () {
3413
3338
  const ret = global.global;
3414
3339
  return addHeapObject(ret);
3415
3340
  }, arguments) };
@@ -3419,36 +3344,36 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
3419
3344
  return ret;
3420
3345
  };
3421
3346
 
3422
- module.exports.__wbg_push_40c6a90f1805aa90 = function(arg0, arg1) {
3347
+ module.exports.__wbg_push_811c8b08bf4ff9d5 = function(arg0, arg1) {
3423
3348
  const ret = getObject(arg0).push(getObject(arg1));
3424
3349
  return ret;
3425
3350
  };
3426
3351
 
3427
- module.exports.__wbg_buffer_7af23f65f6c64548 = function(arg0) {
3352
+ module.exports.__wbg_buffer_de1150f91b23aa89 = function(arg0) {
3428
3353
  const ret = getObject(arg0).buffer;
3429
3354
  return addHeapObject(ret);
3430
3355
  };
3431
3356
 
3432
- module.exports.__wbg_new_cc9018bd6f283b6f = function(arg0) {
3357
+ module.exports.__wbg_new_97cf52648830a70d = function(arg0) {
3433
3358
  const ret = new Uint8Array(getObject(arg0));
3434
3359
  return addHeapObject(ret);
3435
3360
  };
3436
3361
 
3437
- module.exports.__wbg_set_f25e869e4565d2a2 = function(arg0, arg1, arg2) {
3362
+ module.exports.__wbg_set_a0172b213e2469e9 = function(arg0, arg1, arg2) {
3438
3363
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
3439
3364
  };
3440
3365
 
3441
- module.exports.__wbg_length_0acb1cf9bbaf8519 = function(arg0) {
3366
+ module.exports.__wbg_length_e09c0b925ab8de5d = function(arg0) {
3442
3367
  const ret = getObject(arg0).length;
3443
3368
  return ret;
3444
3369
  };
3445
3370
 
3446
- module.exports.__wbg_newwithlength_8f0657faca9f1422 = function(arg0) {
3371
+ module.exports.__wbg_newwithlength_e833b89f9db02732 = function(arg0) {
3447
3372
  const ret = new Uint8Array(arg0 >>> 0);
3448
3373
  return addHeapObject(ret);
3449
3374
  };
3450
3375
 
3451
- module.exports.__wbg_subarray_da527dbd24eafb6b = function(arg0, arg1, arg2) {
3376
+ module.exports.__wbg_subarray_9482ae5cd5cd99d3 = function(arg0, arg1, arg2) {
3452
3377
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
3453
3378
  return addHeapObject(ret);
3454
3379
  };
@@ -3470,3 +3395,9 @@ const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
3470
3395
  wasm = wasmInstance.exports;
3471
3396
  module.exports.__wasm = wasm;
3472
3397
 
3398
+ cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
3399
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
3400
+ cachedUint16Memory0 = new Uint16Array(wasm.memory.buffer);
3401
+ cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
3402
+ cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
3403
+