mons-rust 0.1.131 → 0.1.133
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/README.md +17 -36
- package/mons-rust.d.ts +66 -66
- package/mons-rust.js +104 -103
- package/mons-rust_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,27 +11,18 @@ or
|
|
|
11
11
|
Docs:
|
|
12
12
|
|
|
13
13
|
- runbook: `HOW_TO_ITERATE_ON_AUTOMOVE.md`
|
|
14
|
-
-
|
|
15
|
-
- durable
|
|
16
|
-
- archive: `docs/automove-archive.md`
|
|
14
|
+
- next mechanism: `AUTOMOVE_IDEAS.md`
|
|
15
|
+
- durable evidence and lessons: `docs/automove-knowledge.md`
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
Shipping surface:
|
|
19
18
|
|
|
20
|
-
-
|
|
21
|
-
-
|
|
19
|
+
- Fast and Normal retain shipping search; Pro uses the promoted bounded tactical policy
|
|
20
|
+
- complete independently cold selector calls must remain below `700ms`
|
|
22
21
|
|
|
23
|
-
|
|
22
|
+
Experiments use a small candidate-specific `#[cfg(test)]` harness:
|
|
24
23
|
|
|
25
|
-
-
|
|
26
|
-
- `./scripts/
|
|
27
|
-
- `./scripts/run-automove-experiment.sh <stage> frontier_pro_v2_guarded`
|
|
28
|
-
- `./scripts/clean-experiment-artifacts.sh --dry-run`
|
|
29
|
-
|
|
30
|
-
Artifacts:
|
|
31
|
-
|
|
32
|
-
- selected-profile logs: `target/experiment-runs/<profile>/`
|
|
33
|
-
- workflow-only logs: `target/experiment-runs/misc/`
|
|
34
|
-
- runtime-preflight stamps: `target/experiment-stamps/`
|
|
24
|
+
- `cargo test --release --lib <test_name> -- --ignored --nocapture --test-threads=1`
|
|
25
|
+
- `./scripts/check-automove-hygiene.sh`
|
|
35
26
|
|
|
36
27
|
## Rules Tests
|
|
37
28
|
|
|
@@ -41,25 +32,15 @@ Runner:
|
|
|
41
32
|
- `./scripts/run-rules-tests.sh --limit 100`
|
|
42
33
|
- `./scripts/run-rules-tests.sh --log /tmp/rules-tests.log`
|
|
43
34
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
- `./scripts/pack-rules-tests.sh --dir /tmp/rules-tests-work --chunks-dir ./rules-tests-chunks --chunk-size 100000`
|
|
49
|
-
|
|
50
|
-
## Repo Cleanup
|
|
51
|
-
|
|
52
|
-
- `./repo-clean.sh`
|
|
53
|
-
- `./repo-clean.sh --local-only`
|
|
54
|
-
|
|
55
|
-
Use `keep/<name>` for any branch that should survive repo cleanup.
|
|
35
|
+
The checked-in corpus is `test-data/rules-regressions.jsonl.gz`. Its manifest records
|
|
36
|
+
the deterministic 10,000-case selection policy, source archive hashes, coverage, and
|
|
37
|
+
artifact hashes. The runner verifies the complete stream even when `--limit` executes
|
|
38
|
+
only a prefix.
|
|
56
39
|
|
|
57
40
|
## Publishing
|
|
58
41
|
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
- Run `
|
|
64
|
-
- Run `cargo test --release --lib smart_automove_release_mixed_runtime_speed_gate -- --ignored --nocapture`.
|
|
65
|
-
- Clean disposable experiment artifacts after validation with `./scripts/clean-experiment-artifacts.sh`.
|
|
42
|
+
- Set the release version in `Cargo.toml` and regenerate `Cargo.lock`, then commit the
|
|
43
|
+
complete release change set. Publishing requires a clean worktree.
|
|
44
|
+
- Run `./publish.sh --check-only` for the complete rules, Rust, release-gate, Wasm,
|
|
45
|
+
public-surface, cold-route, and npm-size validation without publishing.
|
|
46
|
+
- Run `./publish.sh` only after the check-only path passes and the release commit is clean.
|
package/mons-rust.d.ts
CHANGED
|
@@ -10,42 +10,12 @@
|
|
|
10
10
|
export function winner(fen_w: string, fen_b: string, flat_moves_string_w: string, flat_moves_string_b: string): string;
|
|
11
11
|
/**
|
|
12
12
|
*/
|
|
13
|
-
export enum
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export enum ItemModelKind {
|
|
20
|
-
Mon = 0,
|
|
21
|
-
Mana = 1,
|
|
22
|
-
MonWithMana = 2,
|
|
23
|
-
MonWithConsumable = 3,
|
|
24
|
-
Consumable = 4,
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
*/
|
|
28
|
-
export enum EventModelKind {
|
|
29
|
-
MonMove = 0,
|
|
30
|
-
ManaMove = 1,
|
|
31
|
-
ManaScored = 2,
|
|
32
|
-
MysticAction = 3,
|
|
33
|
-
DemonAction = 4,
|
|
34
|
-
DemonAdditionalStep = 5,
|
|
35
|
-
SpiritTargetMove = 6,
|
|
36
|
-
PickupBomb = 7,
|
|
37
|
-
PickupPotion = 8,
|
|
38
|
-
PickupMana = 9,
|
|
39
|
-
MonFainted = 10,
|
|
40
|
-
ManaDropped = 11,
|
|
41
|
-
SupermanaBackToBase = 12,
|
|
42
|
-
BombAttack = 13,
|
|
43
|
-
MonAwake = 14,
|
|
44
|
-
BombExplosion = 15,
|
|
45
|
-
NextTurn = 16,
|
|
46
|
-
GameOver = 17,
|
|
47
|
-
Takeback = 18,
|
|
48
|
-
UsePotion = 19,
|
|
13
|
+
export enum MonKind {
|
|
14
|
+
Demon = 0,
|
|
15
|
+
Drainer = 1,
|
|
16
|
+
Angel = 2,
|
|
17
|
+
Spirit = 3,
|
|
18
|
+
Mystic = 4,
|
|
49
19
|
}
|
|
50
20
|
/**
|
|
51
21
|
*/
|
|
@@ -59,6 +29,21 @@ export enum SquareModelKind {
|
|
|
59
29
|
}
|
|
60
30
|
/**
|
|
61
31
|
*/
|
|
32
|
+
export enum Modifier {
|
|
33
|
+
SelectPotion = 0,
|
|
34
|
+
SelectBomb = 1,
|
|
35
|
+
Cancel = 2,
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
*/
|
|
39
|
+
export enum OutputModelKind {
|
|
40
|
+
InvalidInput = 0,
|
|
41
|
+
LocationsToStartFrom = 1,
|
|
42
|
+
NextInputOptions = 2,
|
|
43
|
+
Events = 3,
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
*/
|
|
62
47
|
export enum GameVariant {
|
|
63
48
|
Classic = 0,
|
|
64
49
|
SwappedManaRows = 1,
|
|
@@ -75,6 +60,13 @@ export enum GameVariant {
|
|
|
75
60
|
}
|
|
76
61
|
/**
|
|
77
62
|
*/
|
|
63
|
+
export enum Consumable {
|
|
64
|
+
Potion = 0,
|
|
65
|
+
Bomb = 1,
|
|
66
|
+
BombOrPotion = 2,
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
*/
|
|
78
70
|
export enum NextInputKind {
|
|
79
71
|
MonMove = 0,
|
|
80
72
|
ManaMove = 1,
|
|
@@ -88,48 +80,56 @@ export enum NextInputKind {
|
|
|
88
80
|
}
|
|
89
81
|
/**
|
|
90
82
|
*/
|
|
91
|
-
export enum
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
*/
|
|
99
|
-
export enum Color {
|
|
100
|
-
White = 0,
|
|
101
|
-
Black = 1,
|
|
83
|
+
export enum ItemModelKind {
|
|
84
|
+
Mon = 0,
|
|
85
|
+
Mana = 1,
|
|
86
|
+
MonWithMana = 2,
|
|
87
|
+
MonWithConsumable = 3,
|
|
88
|
+
Consumable = 4,
|
|
102
89
|
}
|
|
103
90
|
/**
|
|
104
91
|
*/
|
|
105
|
-
export enum
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
Cancel = 2,
|
|
92
|
+
export enum ManaKind {
|
|
93
|
+
Regular = 0,
|
|
94
|
+
Supermana = 1,
|
|
109
95
|
}
|
|
110
96
|
/**
|
|
111
97
|
*/
|
|
112
|
-
export enum
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
98
|
+
export enum EventModelKind {
|
|
99
|
+
MonMove = 0,
|
|
100
|
+
ManaMove = 1,
|
|
101
|
+
ManaScored = 2,
|
|
102
|
+
MysticAction = 3,
|
|
103
|
+
DemonAction = 4,
|
|
104
|
+
DemonAdditionalStep = 5,
|
|
105
|
+
SpiritTargetMove = 6,
|
|
106
|
+
PickupBomb = 7,
|
|
107
|
+
PickupPotion = 8,
|
|
108
|
+
PickupMana = 9,
|
|
109
|
+
MonFainted = 10,
|
|
110
|
+
ManaDropped = 11,
|
|
111
|
+
SupermanaBackToBase = 12,
|
|
112
|
+
BombAttack = 13,
|
|
113
|
+
MonAwake = 14,
|
|
114
|
+
BombExplosion = 15,
|
|
115
|
+
NextTurn = 16,
|
|
116
|
+
GameOver = 17,
|
|
117
|
+
Takeback = 18,
|
|
118
|
+
UsePotion = 19,
|
|
116
119
|
}
|
|
117
120
|
/**
|
|
118
121
|
*/
|
|
119
|
-
export enum
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
export enum AvailableMoveKind {
|
|
123
|
+
MonMove = 0,
|
|
124
|
+
ManaMove = 1,
|
|
125
|
+
Action = 2,
|
|
126
|
+
Potion = 3,
|
|
124
127
|
}
|
|
125
128
|
/**
|
|
126
129
|
*/
|
|
127
|
-
export enum
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
Angel = 2,
|
|
131
|
-
Spirit = 3,
|
|
132
|
-
Mystic = 4,
|
|
130
|
+
export enum Color {
|
|
131
|
+
White = 0,
|
|
132
|
+
Black = 1,
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
135
|
*/
|
package/mons-rust.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
let imports = {};
|
|
2
|
+
imports['./snippets/mons-rust-4fcb9fbcc93443ef/inline0.js'] = require('./snippets/mons-rust-4fcb9fbcc93443ef/inline0.js');
|
|
2
3
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
3
4
|
let wasm;
|
|
4
5
|
const { TextDecoder, TextEncoder } = require(`util`);
|
|
@@ -118,6 +119,37 @@ function getInt32Memory0() {
|
|
|
118
119
|
}
|
|
119
120
|
return cachedInt32Memory0;
|
|
120
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* @param {string} fen_w
|
|
124
|
+
* @param {string} fen_b
|
|
125
|
+
* @param {string} flat_moves_string_w
|
|
126
|
+
* @param {string} flat_moves_string_b
|
|
127
|
+
* @returns {string}
|
|
128
|
+
*/
|
|
129
|
+
module.exports.winner = function(fen_w, fen_b, flat_moves_string_w, flat_moves_string_b) {
|
|
130
|
+
let deferred5_0;
|
|
131
|
+
let deferred5_1;
|
|
132
|
+
try {
|
|
133
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
134
|
+
const ptr0 = passStringToWasm0(fen_w, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
135
|
+
const len0 = WASM_VECTOR_LEN;
|
|
136
|
+
const ptr1 = passStringToWasm0(fen_b, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
137
|
+
const len1 = WASM_VECTOR_LEN;
|
|
138
|
+
const ptr2 = passStringToWasm0(flat_moves_string_w, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
139
|
+
const len2 = WASM_VECTOR_LEN;
|
|
140
|
+
const ptr3 = passStringToWasm0(flat_moves_string_b, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
141
|
+
const len3 = WASM_VECTOR_LEN;
|
|
142
|
+
wasm.winner(retptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
143
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
144
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
145
|
+
deferred5_0 = r0;
|
|
146
|
+
deferred5_1 = r1;
|
|
147
|
+
return getStringFromWasm0(r0, r1);
|
|
148
|
+
} finally {
|
|
149
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
150
|
+
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
151
|
+
}
|
|
152
|
+
};
|
|
121
153
|
|
|
122
154
|
let cachedUint32Memory0 = null;
|
|
123
155
|
|
|
@@ -160,37 +192,6 @@ function getArrayI32FromWasm0(ptr, len) {
|
|
|
160
192
|
ptr = ptr >>> 0;
|
|
161
193
|
return getInt32Memory0().subarray(ptr / 4, ptr / 4 + len);
|
|
162
194
|
}
|
|
163
|
-
/**
|
|
164
|
-
* @param {string} fen_w
|
|
165
|
-
* @param {string} fen_b
|
|
166
|
-
* @param {string} flat_moves_string_w
|
|
167
|
-
* @param {string} flat_moves_string_b
|
|
168
|
-
* @returns {string}
|
|
169
|
-
*/
|
|
170
|
-
module.exports.winner = function(fen_w, fen_b, flat_moves_string_w, flat_moves_string_b) {
|
|
171
|
-
let deferred5_0;
|
|
172
|
-
let deferred5_1;
|
|
173
|
-
try {
|
|
174
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
175
|
-
const ptr0 = passStringToWasm0(fen_w, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
176
|
-
const len0 = WASM_VECTOR_LEN;
|
|
177
|
-
const ptr1 = passStringToWasm0(fen_b, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
178
|
-
const len1 = WASM_VECTOR_LEN;
|
|
179
|
-
const ptr2 = passStringToWasm0(flat_moves_string_w, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
180
|
-
const len2 = WASM_VECTOR_LEN;
|
|
181
|
-
const ptr3 = passStringToWasm0(flat_moves_string_b, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
182
|
-
const len3 = WASM_VECTOR_LEN;
|
|
183
|
-
wasm.winner(retptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
184
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
185
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
186
|
-
deferred5_0 = r0;
|
|
187
|
-
deferred5_1 = r1;
|
|
188
|
-
return getStringFromWasm0(r0, r1);
|
|
189
|
-
} finally {
|
|
190
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
191
|
-
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
192
|
-
}
|
|
193
|
-
};
|
|
194
195
|
|
|
195
196
|
function handleError(f, args) {
|
|
196
197
|
try {
|
|
@@ -201,40 +202,40 @@ function handleError(f, args) {
|
|
|
201
202
|
}
|
|
202
203
|
/**
|
|
203
204
|
*/
|
|
204
|
-
module.exports.
|
|
205
|
+
module.exports.MonKind = Object.freeze({ Demon:0,"0":"Demon",Drainer:1,"1":"Drainer",Angel:2,"2":"Angel",Spirit:3,"3":"Spirit",Mystic:4,"4":"Mystic", });
|
|
205
206
|
/**
|
|
206
207
|
*/
|
|
207
|
-
module.exports.
|
|
208
|
+
module.exports.SquareModelKind = Object.freeze({ Regular:0,"0":"Regular",ConsumableBase:1,"1":"ConsumableBase",SupermanaBase:2,"2":"SupermanaBase",ManaBase:3,"3":"ManaBase",ManaPool:4,"4":"ManaPool",MonBase:5,"5":"MonBase", });
|
|
208
209
|
/**
|
|
209
210
|
*/
|
|
210
|
-
module.exports.
|
|
211
|
+
module.exports.Modifier = Object.freeze({ SelectPotion:0,"0":"SelectPotion",SelectBomb:1,"1":"SelectBomb",Cancel:2,"2":"Cancel", });
|
|
211
212
|
/**
|
|
212
213
|
*/
|
|
213
|
-
module.exports.
|
|
214
|
+
module.exports.OutputModelKind = Object.freeze({ InvalidInput:0,"0":"InvalidInput",LocationsToStartFrom:1,"1":"LocationsToStartFrom",NextInputOptions:2,"2":"NextInputOptions",Events:3,"3":"Events", });
|
|
214
215
|
/**
|
|
215
216
|
*/
|
|
216
217
|
module.exports.GameVariant = Object.freeze({ Classic:0,"0":"Classic",SwappedManaRows:1,"1":"SwappedManaRows",OffsetArcManaRows:2,"2":"OffsetArcManaRows",CenterSpokeManaRows:3,"3":"CenterSpokeManaRows",AlternatingManaRows:4,"4":"AlternatingManaRows",InnerWedgeManaRows:5,"5":"InnerWedgeManaRows",OuterWedgeManaRows:6,"6":"OuterWedgeManaRows",BentCenterManaRows:7,"7":"BentCenterManaRows",OuterEdgeManaRows:8,"8":"OuterEdgeManaRows",SplitFlankManaRows:9,"9":"SplitFlankManaRows",ForwardBridgeManaRows:10,"10":"ForwardBridgeManaRows",CornerChainManaRows:11,"11":"CornerChainManaRows", });
|
|
217
218
|
/**
|
|
218
219
|
*/
|
|
219
|
-
module.exports.
|
|
220
|
+
module.exports.Consumable = Object.freeze({ Potion:0,"0":"Potion",Bomb:1,"1":"Bomb",BombOrPotion:2,"2":"BombOrPotion", });
|
|
220
221
|
/**
|
|
221
222
|
*/
|
|
222
|
-
module.exports.
|
|
223
|
+
module.exports.NextInputKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",MysticAction:2,"2":"MysticAction",DemonAction:3,"3":"DemonAction",DemonAdditionalStep:4,"4":"DemonAdditionalStep",SpiritTargetCapture:5,"5":"SpiritTargetCapture",SpiritTargetMove:6,"6":"SpiritTargetMove",SelectConsumable:7,"7":"SelectConsumable",BombAttack:8,"8":"BombAttack", });
|
|
223
224
|
/**
|
|
224
225
|
*/
|
|
225
|
-
module.exports.
|
|
226
|
+
module.exports.ItemModelKind = Object.freeze({ Mon:0,"0":"Mon",Mana:1,"1":"Mana",MonWithMana:2,"2":"MonWithMana",MonWithConsumable:3,"3":"MonWithConsumable",Consumable:4,"4":"Consumable", });
|
|
226
227
|
/**
|
|
227
228
|
*/
|
|
228
|
-
module.exports.
|
|
229
|
+
module.exports.ManaKind = Object.freeze({ Regular:0,"0":"Regular",Supermana:1,"1":"Supermana", });
|
|
229
230
|
/**
|
|
230
231
|
*/
|
|
231
|
-
module.exports.
|
|
232
|
+
module.exports.EventModelKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",ManaScored:2,"2":"ManaScored",MysticAction:3,"3":"MysticAction",DemonAction:4,"4":"DemonAction",DemonAdditionalStep:5,"5":"DemonAdditionalStep",SpiritTargetMove:6,"6":"SpiritTargetMove",PickupBomb:7,"7":"PickupBomb",PickupPotion:8,"8":"PickupPotion",PickupMana:9,"9":"PickupMana",MonFainted:10,"10":"MonFainted",ManaDropped:11,"11":"ManaDropped",SupermanaBackToBase:12,"12":"SupermanaBackToBase",BombAttack:13,"13":"BombAttack",MonAwake:14,"14":"MonAwake",BombExplosion:15,"15":"BombExplosion",NextTurn:16,"16":"NextTurn",GameOver:17,"17":"GameOver",Takeback:18,"18":"Takeback",UsePotion:19,"19":"UsePotion", });
|
|
232
233
|
/**
|
|
233
234
|
*/
|
|
234
|
-
module.exports.
|
|
235
|
+
module.exports.AvailableMoveKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",Action:2,"2":"Action",Potion:3,"3":"Potion", });
|
|
235
236
|
/**
|
|
236
237
|
*/
|
|
237
|
-
module.exports.
|
|
238
|
+
module.exports.Color = Object.freeze({ White:0,"0":"White",Black:1,"1":"Black", });
|
|
238
239
|
|
|
239
240
|
const EventModelFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
240
241
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1393,18 +1394,13 @@ class VerboseTrackingEntityModel {
|
|
|
1393
1394
|
}
|
|
1394
1395
|
module.exports.VerboseTrackingEntityModel = VerboseTrackingEntityModel;
|
|
1395
1396
|
|
|
1396
|
-
module.exports.
|
|
1397
|
-
takeObject(arg0);
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
1401
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
1402
|
-
return addHeapObject(ret);
|
|
1397
|
+
module.exports.__wbg_location_unwrap = function(arg0) {
|
|
1398
|
+
const ret = Location.__unwrap(takeObject(arg0));
|
|
1399
|
+
return ret;
|
|
1403
1400
|
};
|
|
1404
1401
|
|
|
1405
|
-
module.exports.
|
|
1406
|
-
|
|
1407
|
-
return addHeapObject(ret);
|
|
1402
|
+
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
1403
|
+
takeObject(arg0);
|
|
1408
1404
|
};
|
|
1409
1405
|
|
|
1410
1406
|
module.exports.__wbg_eventmodel_new = function(arg0) {
|
|
@@ -1417,9 +1413,9 @@ module.exports.__wbg_nextinputmodel_new = function(arg0) {
|
|
|
1417
1413
|
return addHeapObject(ret);
|
|
1418
1414
|
};
|
|
1419
1415
|
|
|
1420
|
-
module.exports.
|
|
1421
|
-
const ret =
|
|
1422
|
-
return ret;
|
|
1416
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
1417
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
1418
|
+
return addHeapObject(ret);
|
|
1423
1419
|
};
|
|
1424
1420
|
|
|
1425
1421
|
module.exports.__wbg_verbosetrackingentitymodel_new = function(arg0) {
|
|
@@ -1427,8 +1423,8 @@ module.exports.__wbg_verbosetrackingentitymodel_new = function(arg0) {
|
|
|
1427
1423
|
return addHeapObject(ret);
|
|
1428
1424
|
};
|
|
1429
1425
|
|
|
1430
|
-
module.exports.
|
|
1431
|
-
const ret =
|
|
1426
|
+
module.exports.__wbg_location_new = function(arg0) {
|
|
1427
|
+
const ret = Location.__wrap(arg0);
|
|
1432
1428
|
return addHeapObject(ret);
|
|
1433
1429
|
};
|
|
1434
1430
|
|
|
@@ -1438,6 +1434,11 @@ module.exports.__wbindgen_is_object = function(arg0) {
|
|
|
1438
1434
|
return ret;
|
|
1439
1435
|
};
|
|
1440
1436
|
|
|
1437
|
+
module.exports.__wbg_crypto_1d1f22824a6a080c = function(arg0) {
|
|
1438
|
+
const ret = getObject(arg0).crypto;
|
|
1439
|
+
return addHeapObject(ret);
|
|
1440
|
+
};
|
|
1441
|
+
|
|
1441
1442
|
module.exports.__wbg_process_4a72847cc503995b = function(arg0) {
|
|
1442
1443
|
const ret = getObject(arg0).process;
|
|
1443
1444
|
return addHeapObject(ret);
|
|
@@ -1463,41 +1464,62 @@ module.exports.__wbg_require_cca90b1a94a0255b = function() { return handleError(
|
|
|
1463
1464
|
return addHeapObject(ret);
|
|
1464
1465
|
}, arguments) };
|
|
1465
1466
|
|
|
1466
|
-
module.exports.__wbindgen_is_function = function(arg0) {
|
|
1467
|
-
const ret = typeof(getObject(arg0)) === 'function';
|
|
1468
|
-
return ret;
|
|
1469
|
-
};
|
|
1470
|
-
|
|
1471
1467
|
module.exports.__wbg_msCrypto_eb05e62b530a1508 = function(arg0) {
|
|
1472
1468
|
const ret = getObject(arg0).msCrypto;
|
|
1473
1469
|
return addHeapObject(ret);
|
|
1474
1470
|
};
|
|
1475
1471
|
|
|
1472
|
+
module.exports.__wbg_getRandomValues_3aa56aa6edec874c = function() { return handleError(function (arg0, arg1) {
|
|
1473
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
|
1474
|
+
}, arguments) };
|
|
1475
|
+
|
|
1476
1476
|
module.exports.__wbg_randomFillSync_5c9c955aa56b6049 = function() { return handleError(function (arg0, arg1) {
|
|
1477
1477
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
1478
1478
|
}, arguments) };
|
|
1479
1479
|
|
|
1480
|
-
module.exports.
|
|
1481
|
-
getObject(arg0)
|
|
1480
|
+
module.exports.__wbindgen_is_function = function(arg0) {
|
|
1481
|
+
const ret = typeof(getObject(arg0)) === 'function';
|
|
1482
|
+
return ret;
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
module.exports.__wbg_self_ce0dbfc45cf2f5be = function() { return handleError(function () {
|
|
1486
|
+
const ret = self.self;
|
|
1487
|
+
return addHeapObject(ret);
|
|
1488
|
+
}, arguments) };
|
|
1489
|
+
|
|
1490
|
+
module.exports.__wbg_window_c6fb939a7f436783 = function() { return handleError(function () {
|
|
1491
|
+
const ret = window.window;
|
|
1492
|
+
return addHeapObject(ret);
|
|
1493
|
+
}, arguments) };
|
|
1494
|
+
|
|
1495
|
+
module.exports.__wbg_globalThis_d1e6af4856ba331b = function() { return handleError(function () {
|
|
1496
|
+
const ret = globalThis.globalThis;
|
|
1497
|
+
return addHeapObject(ret);
|
|
1482
1498
|
}, arguments) };
|
|
1483
1499
|
|
|
1500
|
+
module.exports.__wbg_global_207b558942527489 = function() { return handleError(function () {
|
|
1501
|
+
const ret = global.global;
|
|
1502
|
+
return addHeapObject(ret);
|
|
1503
|
+
}, arguments) };
|
|
1504
|
+
|
|
1505
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
1506
|
+
const ret = getObject(arg0) === undefined;
|
|
1507
|
+
return ret;
|
|
1508
|
+
};
|
|
1509
|
+
|
|
1484
1510
|
module.exports.__wbg_newnoargs_e258087cd0daa0ea = function(arg0, arg1) {
|
|
1485
1511
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1486
1512
|
return addHeapObject(ret);
|
|
1487
1513
|
};
|
|
1488
1514
|
|
|
1489
|
-
module.exports.
|
|
1490
|
-
const ret =
|
|
1515
|
+
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
1516
|
+
const ret = getObject(arg0);
|
|
1491
1517
|
return addHeapObject(ret);
|
|
1492
1518
|
};
|
|
1493
1519
|
|
|
1494
|
-
module.exports.
|
|
1495
|
-
const
|
|
1496
|
-
|
|
1497
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1498
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1499
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
1500
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
1520
|
+
module.exports.__wbg_new_63b92bc8671ed464 = function(arg0) {
|
|
1521
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
1522
|
+
return addHeapObject(ret);
|
|
1501
1523
|
};
|
|
1502
1524
|
|
|
1503
1525
|
module.exports.__wbg_buffer_12d079cc21e14bdb = function(arg0) {
|
|
@@ -1524,46 +1546,25 @@ module.exports.__wbg_subarray_a1f73cd4b5b42fe1 = function(arg0, arg1, arg2) {
|
|
|
1524
1546
|
return addHeapObject(ret);
|
|
1525
1547
|
};
|
|
1526
1548
|
|
|
1527
|
-
module.exports.__wbg_self_ce0dbfc45cf2f5be = function() { return handleError(function () {
|
|
1528
|
-
const ret = self.self;
|
|
1529
|
-
return addHeapObject(ret);
|
|
1530
|
-
}, arguments) };
|
|
1531
|
-
|
|
1532
|
-
module.exports.__wbg_window_c6fb939a7f436783 = function() { return handleError(function () {
|
|
1533
|
-
const ret = window.window;
|
|
1534
|
-
return addHeapObject(ret);
|
|
1535
|
-
}, arguments) };
|
|
1536
|
-
|
|
1537
|
-
module.exports.__wbg_globalThis_d1e6af4856ba331b = function() { return handleError(function () {
|
|
1538
|
-
const ret = globalThis.globalThis;
|
|
1539
|
-
return addHeapObject(ret);
|
|
1540
|
-
}, arguments) };
|
|
1541
|
-
|
|
1542
|
-
module.exports.__wbg_global_207b558942527489 = function() { return handleError(function () {
|
|
1543
|
-
const ret = global.global;
|
|
1544
|
-
return addHeapObject(ret);
|
|
1545
|
-
}, arguments) };
|
|
1546
|
-
|
|
1547
|
-
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
1548
|
-
const ret = getObject(arg0) === undefined;
|
|
1549
|
-
return ret;
|
|
1550
|
-
};
|
|
1551
|
-
|
|
1552
1549
|
module.exports.__wbg_call_27c0f87801dedf93 = function() { return handleError(function (arg0, arg1) {
|
|
1553
1550
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
1554
1551
|
return addHeapObject(ret);
|
|
1555
1552
|
}, arguments) };
|
|
1556
1553
|
|
|
1557
|
-
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
1558
|
-
const ret = getObject(arg0);
|
|
1559
|
-
return addHeapObject(ret);
|
|
1560
|
-
};
|
|
1561
|
-
|
|
1562
1554
|
module.exports.__wbg_call_b3ca7c6051f9bec1 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1563
1555
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
1564
1556
|
return addHeapObject(ret);
|
|
1565
1557
|
}, arguments) };
|
|
1566
1558
|
|
|
1559
|
+
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
1560
|
+
const obj = getObject(arg1);
|
|
1561
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1562
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1563
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1564
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
1565
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
1566
|
+
};
|
|
1567
|
+
|
|
1567
1568
|
module.exports.__wbindgen_memory = function() {
|
|
1568
1569
|
const ret = wasm.memory;
|
|
1569
1570
|
return addHeapObject(ret);
|
package/mons-rust_bg.wasm
CHANGED
|
Binary file
|