@takumi-rs/wasm 1.0.12 → 1.0.13
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/dist/export.cjs +198 -199
- package/dist/export.mjs +198 -199
- package/package.json +2 -2
- package/pkg/takumi_wasm_bg.wasm +0 -0
package/dist/export.cjs
CHANGED
|
@@ -132,209 +132,208 @@ var Renderer$1 = class {
|
|
|
132
132
|
};
|
|
133
133
|
if (Symbol.dispose) Renderer$1.prototype[Symbol.dispose] = Renderer$1.prototype.free;
|
|
134
134
|
function __wbg_get_imports() {
|
|
135
|
-
|
|
135
|
+
return {
|
|
136
136
|
__proto__: null,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
},
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
result
|
|
237
|
-
|
|
238
|
-
|
|
137
|
+
"./takumi_wasm_bg.js": {
|
|
138
|
+
__proto__: null,
|
|
139
|
+
__wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
|
|
140
|
+
return Error(getStringFromWasm0(arg0, arg1));
|
|
141
|
+
},
|
|
142
|
+
__wbg_Number_32bf70a599af1d4b: function(arg0) {
|
|
143
|
+
return Number(arg0);
|
|
144
|
+
},
|
|
145
|
+
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
146
|
+
const ptr1 = passStringToWasm0(String(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
147
|
+
const len1 = WASM_VECTOR_LEN;
|
|
148
|
+
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
149
|
+
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
150
|
+
},
|
|
151
|
+
__wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
|
|
152
|
+
const v = arg1;
|
|
153
|
+
const ret = typeof v === "bigint" ? v : void 0;
|
|
154
|
+
getDataViewMemory0().setBigInt64(arg0 + 8, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
155
|
+
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
156
|
+
},
|
|
157
|
+
__wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
|
|
158
|
+
const v = arg0;
|
|
159
|
+
const ret = typeof v === "boolean" ? v : void 0;
|
|
160
|
+
return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
|
|
161
|
+
},
|
|
162
|
+
__wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
|
|
163
|
+
const ptr1 = passStringToWasm0(debugString(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
164
|
+
const len1 = WASM_VECTOR_LEN;
|
|
165
|
+
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
166
|
+
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
167
|
+
},
|
|
168
|
+
__wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
|
|
169
|
+
return arg0 in arg1;
|
|
170
|
+
},
|
|
171
|
+
__wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
|
|
172
|
+
return typeof arg0 === "bigint";
|
|
173
|
+
},
|
|
174
|
+
__wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
|
|
175
|
+
return typeof arg0 === "function";
|
|
176
|
+
},
|
|
177
|
+
__wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
|
|
178
|
+
const val = arg0;
|
|
179
|
+
return typeof val === "object" && val !== null;
|
|
180
|
+
},
|
|
181
|
+
__wbg___wbindgen_is_string_6df3bf7ef1164ed3: function(arg0) {
|
|
182
|
+
return typeof arg0 === "string";
|
|
183
|
+
},
|
|
184
|
+
__wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
|
|
185
|
+
return arg0 === void 0;
|
|
186
|
+
},
|
|
187
|
+
__wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
|
|
188
|
+
return arg0 === arg1;
|
|
189
|
+
},
|
|
190
|
+
__wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
|
|
191
|
+
return arg0 == arg1;
|
|
192
|
+
},
|
|
193
|
+
__wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
|
|
194
|
+
const obj = arg1;
|
|
195
|
+
const ret = typeof obj === "number" ? obj : void 0;
|
|
196
|
+
getDataViewMemory0().setFloat64(arg0 + 8, isLikeNone(ret) ? 0 : ret, true);
|
|
197
|
+
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
198
|
+
},
|
|
199
|
+
__wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
|
|
200
|
+
const obj = arg1;
|
|
201
|
+
const ret = typeof obj === "string" ? obj : void 0;
|
|
202
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
203
|
+
var len1 = WASM_VECTOR_LEN;
|
|
204
|
+
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
205
|
+
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
206
|
+
},
|
|
207
|
+
__wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
|
|
208
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
209
|
+
},
|
|
210
|
+
__wbg_call_14b169f759b26747: function() {
|
|
211
|
+
return handleError(function(arg0, arg1) {
|
|
212
|
+
return arg0.call(arg1);
|
|
213
|
+
}, arguments);
|
|
214
|
+
},
|
|
215
|
+
__wbg_done_9158f7cc8751ba32: function(arg0) {
|
|
216
|
+
return arg0.done;
|
|
217
|
+
},
|
|
218
|
+
__wbg_entries_e0b73aa8571ddb56: function(arg0) {
|
|
219
|
+
return Object.entries(arg0);
|
|
220
|
+
},
|
|
221
|
+
__wbg_get_1affdbdd5573b16a: function() {
|
|
222
|
+
return handleError(function(arg0, arg1) {
|
|
223
|
+
return Reflect.get(arg0, arg1);
|
|
224
|
+
}, arguments);
|
|
225
|
+
},
|
|
226
|
+
__wbg_get_8360291721e2339f: function(arg0, arg1) {
|
|
227
|
+
return arg0[arg1 >>> 0];
|
|
228
|
+
},
|
|
229
|
+
__wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
|
|
230
|
+
return arg0[arg1 >>> 0];
|
|
231
|
+
},
|
|
232
|
+
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
233
|
+
return arg0[arg1];
|
|
234
|
+
},
|
|
235
|
+
__wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
|
|
236
|
+
let result;
|
|
237
|
+
try {
|
|
238
|
+
result = arg0 instanceof ArrayBuffer;
|
|
239
|
+
} catch (_) {
|
|
240
|
+
result = false;
|
|
241
|
+
}
|
|
242
|
+
return result;
|
|
243
|
+
},
|
|
244
|
+
__wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
|
|
245
|
+
let result;
|
|
246
|
+
try {
|
|
247
|
+
result = arg0 instanceof Map;
|
|
248
|
+
} catch (_) {
|
|
249
|
+
result = false;
|
|
250
|
+
}
|
|
251
|
+
return result;
|
|
252
|
+
},
|
|
253
|
+
__wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
|
|
254
|
+
let result;
|
|
255
|
+
try {
|
|
256
|
+
result = arg0 instanceof Uint8Array;
|
|
257
|
+
} catch (_) {
|
|
258
|
+
result = false;
|
|
259
|
+
}
|
|
260
|
+
return result;
|
|
261
|
+
},
|
|
262
|
+
__wbg_isArray_c3109d14ffc06469: function(arg0) {
|
|
263
|
+
return Array.isArray(arg0);
|
|
264
|
+
},
|
|
265
|
+
__wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
|
|
266
|
+
return Number.isSafeInteger(arg0);
|
|
267
|
+
},
|
|
268
|
+
__wbg_iterator_013bc09ec998c2a7: function() {
|
|
269
|
+
return Symbol.iterator;
|
|
270
|
+
},
|
|
271
|
+
__wbg_length_3d4ecd04bd8d22f1: function(arg0) {
|
|
272
|
+
return arg0.length;
|
|
273
|
+
},
|
|
274
|
+
__wbg_length_9f1775224cf1d815: function(arg0) {
|
|
275
|
+
return arg0.length;
|
|
276
|
+
},
|
|
277
|
+
__wbg_new_0c7403db6e782f19: function(arg0) {
|
|
278
|
+
return new Uint8Array(arg0);
|
|
279
|
+
},
|
|
280
|
+
__wbg_new_5e360d2ff7b9e1c3: function(arg0, arg1) {
|
|
281
|
+
return new Error(getStringFromWasm0(arg0, arg1));
|
|
282
|
+
},
|
|
283
|
+
__wbg_new_682678e2f47e32bc: function() {
|
|
284
|
+
return new Array();
|
|
285
|
+
},
|
|
286
|
+
__wbg_new_aa8d0fa9762c29bd: function() {
|
|
287
|
+
return /* @__PURE__ */ new Object();
|
|
288
|
+
},
|
|
289
|
+
__wbg_next_0340c4ae324393c3: function() {
|
|
290
|
+
return handleError(function(arg0) {
|
|
291
|
+
return arg0.next();
|
|
292
|
+
}, arguments);
|
|
293
|
+
},
|
|
294
|
+
__wbg_next_7646edaa39458ef7: function(arg0) {
|
|
295
|
+
return arg0.next;
|
|
296
|
+
},
|
|
297
|
+
__wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
|
|
298
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
299
|
+
},
|
|
300
|
+
__wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
|
|
301
|
+
arg0[arg1 >>> 0] = arg2;
|
|
302
|
+
},
|
|
303
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
304
|
+
arg0[arg1] = arg2;
|
|
305
|
+
},
|
|
306
|
+
__wbg_value_ee3a06f4579184fa: function(arg0) {
|
|
307
|
+
return arg0.value;
|
|
308
|
+
},
|
|
309
|
+
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
310
|
+
return arg0;
|
|
311
|
+
},
|
|
312
|
+
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
313
|
+
return arg0;
|
|
314
|
+
},
|
|
315
|
+
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
316
|
+
return getStringFromWasm0(arg0, arg1);
|
|
317
|
+
},
|
|
318
|
+
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
319
|
+
return BigInt.asUintN(64, arg0);
|
|
320
|
+
},
|
|
321
|
+
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
322
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
323
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
324
|
+
return v0;
|
|
325
|
+
},
|
|
326
|
+
__wbindgen_init_externref_table: function() {
|
|
327
|
+
const table = wasm.__wbindgen_externrefs;
|
|
328
|
+
const offset = table.grow(4);
|
|
329
|
+
table.set(0, void 0);
|
|
330
|
+
table.set(offset + 0, void 0);
|
|
331
|
+
table.set(offset + 1, null);
|
|
332
|
+
table.set(offset + 2, true);
|
|
333
|
+
table.set(offset + 3, false);
|
|
239
334
|
}
|
|
240
|
-
return result;
|
|
241
|
-
},
|
|
242
|
-
__wbg_instanceof_Map_a10a2795ef4bfe97: function(arg0) {
|
|
243
|
-
let result;
|
|
244
|
-
try {
|
|
245
|
-
result = arg0 instanceof Map;
|
|
246
|
-
} catch (_) {
|
|
247
|
-
result = false;
|
|
248
|
-
}
|
|
249
|
-
return result;
|
|
250
|
-
},
|
|
251
|
-
__wbg_instanceof_Uint8Array_4b8da683deb25d72: function(arg0) {
|
|
252
|
-
let result;
|
|
253
|
-
try {
|
|
254
|
-
result = arg0 instanceof Uint8Array;
|
|
255
|
-
} catch (_) {
|
|
256
|
-
result = false;
|
|
257
|
-
}
|
|
258
|
-
return result;
|
|
259
|
-
},
|
|
260
|
-
__wbg_isArray_db61795ad004c139: function(arg0) {
|
|
261
|
-
return Array.isArray(arg0);
|
|
262
|
-
},
|
|
263
|
-
__wbg_isSafeInteger_ea83862ba994770c: function(arg0) {
|
|
264
|
-
return Number.isSafeInteger(arg0);
|
|
265
|
-
},
|
|
266
|
-
__wbg_iterator_de403ef31815a3e6: function() {
|
|
267
|
-
return Symbol.iterator;
|
|
268
|
-
},
|
|
269
|
-
__wbg_length_0c32cb8543c8e4c8: function(arg0) {
|
|
270
|
-
return arg0.length;
|
|
271
|
-
},
|
|
272
|
-
__wbg_length_6e821edde497a532: function(arg0) {
|
|
273
|
-
return arg0.length;
|
|
274
|
-
},
|
|
275
|
-
__wbg_new_4f9fafbb3909af72: function() {
|
|
276
|
-
return /* @__PURE__ */ new Object();
|
|
277
|
-
},
|
|
278
|
-
__wbg_new_a560378ea1240b14: function(arg0) {
|
|
279
|
-
return new Uint8Array(arg0);
|
|
280
|
-
},
|
|
281
|
-
__wbg_new_e3b04b4d53d1b593: function(arg0, arg1) {
|
|
282
|
-
return new Error(getStringFromWasm0(arg0, arg1));
|
|
283
|
-
},
|
|
284
|
-
__wbg_new_f3c9df4f38f3f798: function() {
|
|
285
|
-
return new Array();
|
|
286
|
-
},
|
|
287
|
-
__wbg_next_01132ed6134b8ef5: function(arg0) {
|
|
288
|
-
return arg0.next;
|
|
289
|
-
},
|
|
290
|
-
__wbg_next_b3713ec761a9dbfd: function() {
|
|
291
|
-
return handleError(function(arg0) {
|
|
292
|
-
return arg0.next();
|
|
293
|
-
}, arguments);
|
|
294
|
-
},
|
|
295
|
-
__wbg_prototypesetcall_3e05eb9545565046: function(arg0, arg1, arg2) {
|
|
296
|
-
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
297
|
-
},
|
|
298
|
-
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
299
|
-
arg0[arg1] = arg2;
|
|
300
|
-
},
|
|
301
|
-
__wbg_set_6c60b2e8ad0e9383: function(arg0, arg1, arg2) {
|
|
302
|
-
arg0[arg1 >>> 0] = arg2;
|
|
303
|
-
},
|
|
304
|
-
__wbg_value_7f6052747ccf940f: function(arg0) {
|
|
305
|
-
return arg0.value;
|
|
306
|
-
},
|
|
307
|
-
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
308
|
-
return arg0;
|
|
309
|
-
},
|
|
310
|
-
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
311
|
-
return arg0;
|
|
312
|
-
},
|
|
313
|
-
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
314
|
-
return getStringFromWasm0(arg0, arg1);
|
|
315
|
-
},
|
|
316
|
-
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
317
|
-
return BigInt.asUintN(64, arg0);
|
|
318
|
-
},
|
|
319
|
-
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
320
|
-
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
321
|
-
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
322
|
-
return v0;
|
|
323
|
-
},
|
|
324
|
-
__wbindgen_init_externref_table: function() {
|
|
325
|
-
const table = wasm.__wbindgen_externrefs;
|
|
326
|
-
const offset = table.grow(4);
|
|
327
|
-
table.set(0, void 0);
|
|
328
|
-
table.set(offset + 0, void 0);
|
|
329
|
-
table.set(offset + 1, null);
|
|
330
|
-
table.set(offset + 2, true);
|
|
331
|
-
table.set(offset + 3, false);
|
|
332
335
|
}
|
|
333
336
|
};
|
|
334
|
-
return {
|
|
335
|
-
__proto__: null,
|
|
336
|
-
"./takumi_wasm_bg.js": import0
|
|
337
|
-
};
|
|
338
337
|
}
|
|
339
338
|
const RendererFinalization = typeof FinalizationRegistry === "undefined" ? {
|
|
340
339
|
register: () => {},
|
package/dist/export.mjs
CHANGED
|
@@ -128,209 +128,208 @@ var Renderer$1 = class {
|
|
|
128
128
|
};
|
|
129
129
|
if (Symbol.dispose) Renderer$1.prototype[Symbol.dispose] = Renderer$1.prototype.free;
|
|
130
130
|
function __wbg_get_imports() {
|
|
131
|
-
|
|
131
|
+
return {
|
|
132
132
|
__proto__: null,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
},
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
result
|
|
233
|
-
|
|
234
|
-
|
|
133
|
+
"./takumi_wasm_bg.js": {
|
|
134
|
+
__proto__: null,
|
|
135
|
+
__wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
|
|
136
|
+
return Error(getStringFromWasm0(arg0, arg1));
|
|
137
|
+
},
|
|
138
|
+
__wbg_Number_32bf70a599af1d4b: function(arg0) {
|
|
139
|
+
return Number(arg0);
|
|
140
|
+
},
|
|
141
|
+
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
142
|
+
const ptr1 = passStringToWasm0(String(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
143
|
+
const len1 = WASM_VECTOR_LEN;
|
|
144
|
+
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
145
|
+
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
146
|
+
},
|
|
147
|
+
__wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
|
|
148
|
+
const v = arg1;
|
|
149
|
+
const ret = typeof v === "bigint" ? v : void 0;
|
|
150
|
+
getDataViewMemory0().setBigInt64(arg0 + 8, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
151
|
+
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
152
|
+
},
|
|
153
|
+
__wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
|
|
154
|
+
const v = arg0;
|
|
155
|
+
const ret = typeof v === "boolean" ? v : void 0;
|
|
156
|
+
return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
|
|
157
|
+
},
|
|
158
|
+
__wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
|
|
159
|
+
const ptr1 = passStringToWasm0(debugString(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
160
|
+
const len1 = WASM_VECTOR_LEN;
|
|
161
|
+
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
162
|
+
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
163
|
+
},
|
|
164
|
+
__wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
|
|
165
|
+
return arg0 in arg1;
|
|
166
|
+
},
|
|
167
|
+
__wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
|
|
168
|
+
return typeof arg0 === "bigint";
|
|
169
|
+
},
|
|
170
|
+
__wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
|
|
171
|
+
return typeof arg0 === "function";
|
|
172
|
+
},
|
|
173
|
+
__wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
|
|
174
|
+
const val = arg0;
|
|
175
|
+
return typeof val === "object" && val !== null;
|
|
176
|
+
},
|
|
177
|
+
__wbg___wbindgen_is_string_6df3bf7ef1164ed3: function(arg0) {
|
|
178
|
+
return typeof arg0 === "string";
|
|
179
|
+
},
|
|
180
|
+
__wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
|
|
181
|
+
return arg0 === void 0;
|
|
182
|
+
},
|
|
183
|
+
__wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
|
|
184
|
+
return arg0 === arg1;
|
|
185
|
+
},
|
|
186
|
+
__wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
|
|
187
|
+
return arg0 == arg1;
|
|
188
|
+
},
|
|
189
|
+
__wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
|
|
190
|
+
const obj = arg1;
|
|
191
|
+
const ret = typeof obj === "number" ? obj : void 0;
|
|
192
|
+
getDataViewMemory0().setFloat64(arg0 + 8, isLikeNone(ret) ? 0 : ret, true);
|
|
193
|
+
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
194
|
+
},
|
|
195
|
+
__wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
|
|
196
|
+
const obj = arg1;
|
|
197
|
+
const ret = typeof obj === "string" ? obj : void 0;
|
|
198
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
199
|
+
var len1 = WASM_VECTOR_LEN;
|
|
200
|
+
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
201
|
+
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
202
|
+
},
|
|
203
|
+
__wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
|
|
204
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
205
|
+
},
|
|
206
|
+
__wbg_call_14b169f759b26747: function() {
|
|
207
|
+
return handleError(function(arg0, arg1) {
|
|
208
|
+
return arg0.call(arg1);
|
|
209
|
+
}, arguments);
|
|
210
|
+
},
|
|
211
|
+
__wbg_done_9158f7cc8751ba32: function(arg0) {
|
|
212
|
+
return arg0.done;
|
|
213
|
+
},
|
|
214
|
+
__wbg_entries_e0b73aa8571ddb56: function(arg0) {
|
|
215
|
+
return Object.entries(arg0);
|
|
216
|
+
},
|
|
217
|
+
__wbg_get_1affdbdd5573b16a: function() {
|
|
218
|
+
return handleError(function(arg0, arg1) {
|
|
219
|
+
return Reflect.get(arg0, arg1);
|
|
220
|
+
}, arguments);
|
|
221
|
+
},
|
|
222
|
+
__wbg_get_8360291721e2339f: function(arg0, arg1) {
|
|
223
|
+
return arg0[arg1 >>> 0];
|
|
224
|
+
},
|
|
225
|
+
__wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
|
|
226
|
+
return arg0[arg1 >>> 0];
|
|
227
|
+
},
|
|
228
|
+
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
229
|
+
return arg0[arg1];
|
|
230
|
+
},
|
|
231
|
+
__wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
|
|
232
|
+
let result;
|
|
233
|
+
try {
|
|
234
|
+
result = arg0 instanceof ArrayBuffer;
|
|
235
|
+
} catch (_) {
|
|
236
|
+
result = false;
|
|
237
|
+
}
|
|
238
|
+
return result;
|
|
239
|
+
},
|
|
240
|
+
__wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
|
|
241
|
+
let result;
|
|
242
|
+
try {
|
|
243
|
+
result = arg0 instanceof Map;
|
|
244
|
+
} catch (_) {
|
|
245
|
+
result = false;
|
|
246
|
+
}
|
|
247
|
+
return result;
|
|
248
|
+
},
|
|
249
|
+
__wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
|
|
250
|
+
let result;
|
|
251
|
+
try {
|
|
252
|
+
result = arg0 instanceof Uint8Array;
|
|
253
|
+
} catch (_) {
|
|
254
|
+
result = false;
|
|
255
|
+
}
|
|
256
|
+
return result;
|
|
257
|
+
},
|
|
258
|
+
__wbg_isArray_c3109d14ffc06469: function(arg0) {
|
|
259
|
+
return Array.isArray(arg0);
|
|
260
|
+
},
|
|
261
|
+
__wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
|
|
262
|
+
return Number.isSafeInteger(arg0);
|
|
263
|
+
},
|
|
264
|
+
__wbg_iterator_013bc09ec998c2a7: function() {
|
|
265
|
+
return Symbol.iterator;
|
|
266
|
+
},
|
|
267
|
+
__wbg_length_3d4ecd04bd8d22f1: function(arg0) {
|
|
268
|
+
return arg0.length;
|
|
269
|
+
},
|
|
270
|
+
__wbg_length_9f1775224cf1d815: function(arg0) {
|
|
271
|
+
return arg0.length;
|
|
272
|
+
},
|
|
273
|
+
__wbg_new_0c7403db6e782f19: function(arg0) {
|
|
274
|
+
return new Uint8Array(arg0);
|
|
275
|
+
},
|
|
276
|
+
__wbg_new_5e360d2ff7b9e1c3: function(arg0, arg1) {
|
|
277
|
+
return new Error(getStringFromWasm0(arg0, arg1));
|
|
278
|
+
},
|
|
279
|
+
__wbg_new_682678e2f47e32bc: function() {
|
|
280
|
+
return new Array();
|
|
281
|
+
},
|
|
282
|
+
__wbg_new_aa8d0fa9762c29bd: function() {
|
|
283
|
+
return /* @__PURE__ */ new Object();
|
|
284
|
+
},
|
|
285
|
+
__wbg_next_0340c4ae324393c3: function() {
|
|
286
|
+
return handleError(function(arg0) {
|
|
287
|
+
return arg0.next();
|
|
288
|
+
}, arguments);
|
|
289
|
+
},
|
|
290
|
+
__wbg_next_7646edaa39458ef7: function(arg0) {
|
|
291
|
+
return arg0.next;
|
|
292
|
+
},
|
|
293
|
+
__wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
|
|
294
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
295
|
+
},
|
|
296
|
+
__wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
|
|
297
|
+
arg0[arg1 >>> 0] = arg2;
|
|
298
|
+
},
|
|
299
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
300
|
+
arg0[arg1] = arg2;
|
|
301
|
+
},
|
|
302
|
+
__wbg_value_ee3a06f4579184fa: function(arg0) {
|
|
303
|
+
return arg0.value;
|
|
304
|
+
},
|
|
305
|
+
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
306
|
+
return arg0;
|
|
307
|
+
},
|
|
308
|
+
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
309
|
+
return arg0;
|
|
310
|
+
},
|
|
311
|
+
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
312
|
+
return getStringFromWasm0(arg0, arg1);
|
|
313
|
+
},
|
|
314
|
+
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
315
|
+
return BigInt.asUintN(64, arg0);
|
|
316
|
+
},
|
|
317
|
+
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
318
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
319
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
320
|
+
return v0;
|
|
321
|
+
},
|
|
322
|
+
__wbindgen_init_externref_table: function() {
|
|
323
|
+
const table = wasm.__wbindgen_externrefs;
|
|
324
|
+
const offset = table.grow(4);
|
|
325
|
+
table.set(0, void 0);
|
|
326
|
+
table.set(offset + 0, void 0);
|
|
327
|
+
table.set(offset + 1, null);
|
|
328
|
+
table.set(offset + 2, true);
|
|
329
|
+
table.set(offset + 3, false);
|
|
235
330
|
}
|
|
236
|
-
return result;
|
|
237
|
-
},
|
|
238
|
-
__wbg_instanceof_Map_a10a2795ef4bfe97: function(arg0) {
|
|
239
|
-
let result;
|
|
240
|
-
try {
|
|
241
|
-
result = arg0 instanceof Map;
|
|
242
|
-
} catch (_) {
|
|
243
|
-
result = false;
|
|
244
|
-
}
|
|
245
|
-
return result;
|
|
246
|
-
},
|
|
247
|
-
__wbg_instanceof_Uint8Array_4b8da683deb25d72: function(arg0) {
|
|
248
|
-
let result;
|
|
249
|
-
try {
|
|
250
|
-
result = arg0 instanceof Uint8Array;
|
|
251
|
-
} catch (_) {
|
|
252
|
-
result = false;
|
|
253
|
-
}
|
|
254
|
-
return result;
|
|
255
|
-
},
|
|
256
|
-
__wbg_isArray_db61795ad004c139: function(arg0) {
|
|
257
|
-
return Array.isArray(arg0);
|
|
258
|
-
},
|
|
259
|
-
__wbg_isSafeInteger_ea83862ba994770c: function(arg0) {
|
|
260
|
-
return Number.isSafeInteger(arg0);
|
|
261
|
-
},
|
|
262
|
-
__wbg_iterator_de403ef31815a3e6: function() {
|
|
263
|
-
return Symbol.iterator;
|
|
264
|
-
},
|
|
265
|
-
__wbg_length_0c32cb8543c8e4c8: function(arg0) {
|
|
266
|
-
return arg0.length;
|
|
267
|
-
},
|
|
268
|
-
__wbg_length_6e821edde497a532: function(arg0) {
|
|
269
|
-
return arg0.length;
|
|
270
|
-
},
|
|
271
|
-
__wbg_new_4f9fafbb3909af72: function() {
|
|
272
|
-
return /* @__PURE__ */ new Object();
|
|
273
|
-
},
|
|
274
|
-
__wbg_new_a560378ea1240b14: function(arg0) {
|
|
275
|
-
return new Uint8Array(arg0);
|
|
276
|
-
},
|
|
277
|
-
__wbg_new_e3b04b4d53d1b593: function(arg0, arg1) {
|
|
278
|
-
return new Error(getStringFromWasm0(arg0, arg1));
|
|
279
|
-
},
|
|
280
|
-
__wbg_new_f3c9df4f38f3f798: function() {
|
|
281
|
-
return new Array();
|
|
282
|
-
},
|
|
283
|
-
__wbg_next_01132ed6134b8ef5: function(arg0) {
|
|
284
|
-
return arg0.next;
|
|
285
|
-
},
|
|
286
|
-
__wbg_next_b3713ec761a9dbfd: function() {
|
|
287
|
-
return handleError(function(arg0) {
|
|
288
|
-
return arg0.next();
|
|
289
|
-
}, arguments);
|
|
290
|
-
},
|
|
291
|
-
__wbg_prototypesetcall_3e05eb9545565046: function(arg0, arg1, arg2) {
|
|
292
|
-
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
293
|
-
},
|
|
294
|
-
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
295
|
-
arg0[arg1] = arg2;
|
|
296
|
-
},
|
|
297
|
-
__wbg_set_6c60b2e8ad0e9383: function(arg0, arg1, arg2) {
|
|
298
|
-
arg0[arg1 >>> 0] = arg2;
|
|
299
|
-
},
|
|
300
|
-
__wbg_value_7f6052747ccf940f: function(arg0) {
|
|
301
|
-
return arg0.value;
|
|
302
|
-
},
|
|
303
|
-
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
304
|
-
return arg0;
|
|
305
|
-
},
|
|
306
|
-
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
307
|
-
return arg0;
|
|
308
|
-
},
|
|
309
|
-
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
310
|
-
return getStringFromWasm0(arg0, arg1);
|
|
311
|
-
},
|
|
312
|
-
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
313
|
-
return BigInt.asUintN(64, arg0);
|
|
314
|
-
},
|
|
315
|
-
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
316
|
-
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
317
|
-
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
318
|
-
return v0;
|
|
319
|
-
},
|
|
320
|
-
__wbindgen_init_externref_table: function() {
|
|
321
|
-
const table = wasm.__wbindgen_externrefs;
|
|
322
|
-
const offset = table.grow(4);
|
|
323
|
-
table.set(0, void 0);
|
|
324
|
-
table.set(offset + 0, void 0);
|
|
325
|
-
table.set(offset + 1, null);
|
|
326
|
-
table.set(offset + 2, true);
|
|
327
|
-
table.set(offset + 3, false);
|
|
328
331
|
}
|
|
329
332
|
};
|
|
330
|
-
return {
|
|
331
|
-
__proto__: null,
|
|
332
|
-
"./takumi_wasm_bg.js": import0
|
|
333
|
-
};
|
|
334
333
|
}
|
|
335
334
|
const RendererFinalization = typeof FinalizationRegistry === "undefined" ? {
|
|
336
335
|
register: () => {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takumi-rs/wasm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"css",
|
|
6
6
|
"image",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"prepublishOnly": "jq '.dependencies[\"@takumi-rs/helpers\"] = .version' package.json > tmp.json && mv tmp.json package.json"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@takumi-rs/helpers": "1.0.
|
|
79
|
+
"@takumi-rs/helpers": "1.0.13"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@types/bun": "catalog:",
|
package/pkg/takumi_wasm_bg.wasm
CHANGED
|
Binary file
|