diff --git a/2b11d3022815a425c67f.module.wasm b/2b11d3022815a425c67f.module.wasm
new file mode 100644
index 0000000..898fd16
Binary files /dev/null and b/2b11d3022815a425c67f.module.wasm differ
diff --git a/4dae9f9f24e003c613b2.module.wasm b/4dae9f9f24e003c613b2.module.wasm
deleted file mode 100644
index 6119049..0000000
Binary files a/4dae9f9f24e003c613b2.module.wasm and /dev/null differ
diff --git a/b42096eacb37f01773bb.module.wasm b/b42096eacb37f01773bb.module.wasm
deleted file mode 100644
index 13565ba..0000000
Binary files a/b42096eacb37f01773bb.module.wasm and /dev/null differ
diff --git a/bb95a1350a95e05a44a5.module.wasm b/bb95a1350a95e05a44a5.module.wasm
deleted file mode 100644
index b5f14cf..0000000
Binary files a/bb95a1350a95e05a44a5.module.wasm and /dev/null differ
diff --git a/bootstrap.js b/bootstrap.js
index 25e97fa..f7226ee 100644
--- a/bootstrap.js
+++ b/bootstrap.js
@@ -339,173 +339,178 @@ eval("// A dependency graph that contains any wasm must all be imported\n// asyn
/******/ var wasmImportedFuncCache38;
/******/ var wasmImportedFuncCache39;
/******/ var wasmImportedFuncCache40;
+/******/ var wasmImportedFuncCache41;
/******/ var wasmImportObjects = {
/******/ "../binding/pkg/binding_bg.wasm": function() {
/******/ return {
/******/ "./binding_bg.js": {
-/******/ "__wbindgen_string_get": function(p0i32,p1i32) {
+/******/ "__wbindgen_string_new": function(p0i32,p1i32) {
/******/ if(wasmImportedFuncCache0 === undefined) wasmImportedFuncCache0 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache0["__wbindgen_string_get"](p0i32,p1i32);
+/******/ return wasmImportedFuncCache0["__wbindgen_string_new"](p0i32,p1i32);
/******/ },
-/******/ "__wbindgen_number_new": function(p0f64) {
+/******/ "__wbindgen_string_get": function(p0i32,p1i32) {
/******/ if(wasmImportedFuncCache1 === undefined) wasmImportedFuncCache1 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache1["__wbindgen_number_new"](p0f64);
+/******/ return wasmImportedFuncCache1["__wbindgen_string_get"](p0i32,p1i32);
/******/ },
-/******/ "__wbindgen_string_new": function(p0i32,p1i32) {
+/******/ "__wbindgen_number_new": function(p0f64) {
/******/ if(wasmImportedFuncCache2 === undefined) wasmImportedFuncCache2 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache2["__wbindgen_string_new"](p0i32,p1i32);
+/******/ return wasmImportedFuncCache2["__wbindgen_number_new"](p0f64);
/******/ },
/******/ "__wbg_new_b525de17f44a8943": function() {
/******/ if(wasmImportedFuncCache3 === undefined) wasmImportedFuncCache3 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
/******/ return wasmImportedFuncCache3["__wbg_new_b525de17f44a8943"]();
/******/ },
-/******/ "__wbg_push_49c286f04dd3bf59": function(p0i32,p1i32) {
+/******/ "__wbg_searchresultitem_new": function(p0i32) {
/******/ if(wasmImportedFuncCache4 === undefined) wasmImportedFuncCache4 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache4["__wbg_push_49c286f04dd3bf59"](p0i32,p1i32);
+/******/ return wasmImportedFuncCache4["__wbg_searchresultitem_new"](p0i32);
/******/ },
-/******/ "__wbindgen_object_drop_ref": function(p0i32) {
+/******/ "__wbg_push_49c286f04dd3bf59": function(p0i32,p1i32) {
/******/ if(wasmImportedFuncCache5 === undefined) wasmImportedFuncCache5 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache5["__wbindgen_object_drop_ref"](p0i32);
+/******/ return wasmImportedFuncCache5["__wbg_push_49c286f04dd3bf59"](p0i32,p1i32);
/******/ },
-/******/ "__wbg_error_fe807da27c4a4ced": function(p0i32) {
+/******/ "__wbindgen_object_drop_ref": function(p0i32) {
/******/ if(wasmImportedFuncCache6 === undefined) wasmImportedFuncCache6 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache6["__wbg_error_fe807da27c4a4ced"](p0i32);
+/******/ return wasmImportedFuncCache6["__wbindgen_object_drop_ref"](p0i32);
/******/ },
-/******/ "__wbg_graph_new": function(p0i32) {
+/******/ "__wbg_error_fe807da27c4a4ced": function(p0i32) {
/******/ if(wasmImportedFuncCache7 === undefined) wasmImportedFuncCache7 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache7["__wbg_graph_new"](p0i32);
+/******/ return wasmImportedFuncCache7["__wbg_error_fe807da27c4a4ced"](p0i32);
/******/ },
-/******/ "__wbg_self_e7c1f827057f6584": function() {
+/******/ "__wbg_graph_new": function(p0i32) {
/******/ if(wasmImportedFuncCache8 === undefined) wasmImportedFuncCache8 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache8["__wbg_self_e7c1f827057f6584"]();
+/******/ return wasmImportedFuncCache8["__wbg_graph_new"](p0i32);
/******/ },
-/******/ "__wbg_window_a09ec664e14b1b81": function() {
+/******/ "__wbg_self_e7c1f827057f6584": function() {
/******/ if(wasmImportedFuncCache9 === undefined) wasmImportedFuncCache9 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache9["__wbg_window_a09ec664e14b1b81"]();
+/******/ return wasmImportedFuncCache9["__wbg_self_e7c1f827057f6584"]();
/******/ },
-/******/ "__wbg_globalThis_87cbb8506fecf3a9": function() {
+/******/ "__wbg_window_a09ec664e14b1b81": function() {
/******/ if(wasmImportedFuncCache10 === undefined) wasmImportedFuncCache10 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache10["__wbg_globalThis_87cbb8506fecf3a9"]();
+/******/ return wasmImportedFuncCache10["__wbg_window_a09ec664e14b1b81"]();
/******/ },
-/******/ "__wbg_global_c85a9259e621f3db": function() {
+/******/ "__wbg_globalThis_87cbb8506fecf3a9": function() {
/******/ if(wasmImportedFuncCache11 === undefined) wasmImportedFuncCache11 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache11["__wbg_global_c85a9259e621f3db"]();
+/******/ return wasmImportedFuncCache11["__wbg_globalThis_87cbb8506fecf3a9"]();
/******/ },
-/******/ "__wbindgen_is_undefined": function(p0i32) {
+/******/ "__wbg_global_c85a9259e621f3db": function() {
/******/ if(wasmImportedFuncCache12 === undefined) wasmImportedFuncCache12 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache12["__wbindgen_is_undefined"](p0i32);
+/******/ return wasmImportedFuncCache12["__wbg_global_c85a9259e621f3db"]();
/******/ },
-/******/ "__wbg_newnoargs_2b8b6bd7753c76ba": function(p0i32,p1i32) {
+/******/ "__wbindgen_is_undefined": function(p0i32) {
/******/ if(wasmImportedFuncCache13 === undefined) wasmImportedFuncCache13 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache13["__wbg_newnoargs_2b8b6bd7753c76ba"](p0i32,p1i32);
+/******/ return wasmImportedFuncCache13["__wbindgen_is_undefined"](p0i32);
/******/ },
-/******/ "__wbg_call_95d1ea488d03e4e8": function(p0i32,p1i32) {
+/******/ "__wbg_newnoargs_2b8b6bd7753c76ba": function(p0i32,p1i32) {
/******/ if(wasmImportedFuncCache14 === undefined) wasmImportedFuncCache14 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache14["__wbg_call_95d1ea488d03e4e8"](p0i32,p1i32);
+/******/ return wasmImportedFuncCache14["__wbg_newnoargs_2b8b6bd7753c76ba"](p0i32,p1i32);
/******/ },
-/******/ "__wbindgen_object_clone_ref": function(p0i32) {
+/******/ "__wbg_call_95d1ea488d03e4e8": function(p0i32,p1i32) {
/******/ if(wasmImportedFuncCache15 === undefined) wasmImportedFuncCache15 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache15["__wbindgen_object_clone_ref"](p0i32);
+/******/ return wasmImportedFuncCache15["__wbg_call_95d1ea488d03e4e8"](p0i32,p1i32);
/******/ },
-/******/ "__wbg_crypto_70a96de3b6b73dac": function(p0i32) {
+/******/ "__wbindgen_object_clone_ref": function(p0i32) {
/******/ if(wasmImportedFuncCache16 === undefined) wasmImportedFuncCache16 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache16["__wbg_crypto_70a96de3b6b73dac"](p0i32);
+/******/ return wasmImportedFuncCache16["__wbindgen_object_clone_ref"](p0i32);
/******/ },
-/******/ "__wbindgen_is_object": function(p0i32) {
+/******/ "__wbg_crypto_70a96de3b6b73dac": function(p0i32) {
/******/ if(wasmImportedFuncCache17 === undefined) wasmImportedFuncCache17 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache17["__wbindgen_is_object"](p0i32);
+/******/ return wasmImportedFuncCache17["__wbg_crypto_70a96de3b6b73dac"](p0i32);
/******/ },
-/******/ "__wbg_process_dd1577445152112e": function(p0i32) {
+/******/ "__wbindgen_is_object": function(p0i32) {
/******/ if(wasmImportedFuncCache18 === undefined) wasmImportedFuncCache18 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache18["__wbg_process_dd1577445152112e"](p0i32);
+/******/ return wasmImportedFuncCache18["__wbindgen_is_object"](p0i32);
/******/ },
-/******/ "__wbg_versions_58036bec3add9e6f": function(p0i32) {
+/******/ "__wbg_process_dd1577445152112e": function(p0i32) {
/******/ if(wasmImportedFuncCache19 === undefined) wasmImportedFuncCache19 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache19["__wbg_versions_58036bec3add9e6f"](p0i32);
+/******/ return wasmImportedFuncCache19["__wbg_process_dd1577445152112e"](p0i32);
/******/ },
-/******/ "__wbg_node_6a9d28205ed5b0d8": function(p0i32) {
+/******/ "__wbg_versions_58036bec3add9e6f": function(p0i32) {
/******/ if(wasmImportedFuncCache20 === undefined) wasmImportedFuncCache20 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache20["__wbg_node_6a9d28205ed5b0d8"](p0i32);
+/******/ return wasmImportedFuncCache20["__wbg_versions_58036bec3add9e6f"](p0i32);
/******/ },
-/******/ "__wbindgen_is_string": function(p0i32) {
+/******/ "__wbg_node_6a9d28205ed5b0d8": function(p0i32) {
/******/ if(wasmImportedFuncCache21 === undefined) wasmImportedFuncCache21 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache21["__wbindgen_is_string"](p0i32);
+/******/ return wasmImportedFuncCache21["__wbg_node_6a9d28205ed5b0d8"](p0i32);
/******/ },
-/******/ "__wbg_msCrypto_adbc770ec9eca9c7": function(p0i32) {
+/******/ "__wbindgen_is_string": function(p0i32) {
/******/ if(wasmImportedFuncCache22 === undefined) wasmImportedFuncCache22 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache22["__wbg_msCrypto_adbc770ec9eca9c7"](p0i32);
+/******/ return wasmImportedFuncCache22["__wbindgen_is_string"](p0i32);
/******/ },
-/******/ "__wbg_newwithlength_b56c882b57805732": function(p0i32) {
+/******/ "__wbg_msCrypto_adbc770ec9eca9c7": function(p0i32) {
/******/ if(wasmImportedFuncCache23 === undefined) wasmImportedFuncCache23 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache23["__wbg_newwithlength_b56c882b57805732"](p0i32);
+/******/ return wasmImportedFuncCache23["__wbg_msCrypto_adbc770ec9eca9c7"](p0i32);
/******/ },
-/******/ "__wbg_require_f05d779769764e82": function() {
+/******/ "__wbg_newwithlength_b56c882b57805732": function(p0i32) {
/******/ if(wasmImportedFuncCache24 === undefined) wasmImportedFuncCache24 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache24["__wbg_require_f05d779769764e82"]();
+/******/ return wasmImportedFuncCache24["__wbg_newwithlength_b56c882b57805732"](p0i32);
/******/ },
-/******/ "__wbindgen_is_function": function(p0i32) {
+/******/ "__wbg_require_f05d779769764e82": function() {
/******/ if(wasmImportedFuncCache25 === undefined) wasmImportedFuncCache25 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache25["__wbindgen_is_function"](p0i32);
+/******/ return wasmImportedFuncCache25["__wbg_require_f05d779769764e82"]();
/******/ },
-/******/ "__wbg_call_9495de66fdbe016b": function(p0i32,p1i32,p2i32) {
+/******/ "__wbindgen_is_function": function(p0i32) {
/******/ if(wasmImportedFuncCache26 === undefined) wasmImportedFuncCache26 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache26["__wbg_call_9495de66fdbe016b"](p0i32,p1i32,p2i32);
+/******/ return wasmImportedFuncCache26["__wbindgen_is_function"](p0i32);
/******/ },
-/******/ "__wbindgen_memory": function() {
+/******/ "__wbg_call_9495de66fdbe016b": function(p0i32,p1i32,p2i32) {
/******/ if(wasmImportedFuncCache27 === undefined) wasmImportedFuncCache27 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache27["__wbindgen_memory"]();
+/******/ return wasmImportedFuncCache27["__wbg_call_9495de66fdbe016b"](p0i32,p1i32,p2i32);
/******/ },
-/******/ "__wbg_buffer_cf65c07de34b9a08": function(p0i32) {
+/******/ "__wbindgen_memory": function() {
/******/ if(wasmImportedFuncCache28 === undefined) wasmImportedFuncCache28 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache28["__wbg_buffer_cf65c07de34b9a08"](p0i32);
+/******/ return wasmImportedFuncCache28["__wbindgen_memory"]();
/******/ },
-/******/ "__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5": function(p0i32,p1i32,p2i32) {
+/******/ "__wbg_buffer_cf65c07de34b9a08": function(p0i32) {
/******/ if(wasmImportedFuncCache29 === undefined) wasmImportedFuncCache29 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache29["__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5"](p0i32,p1i32,p2i32);
+/******/ return wasmImportedFuncCache29["__wbg_buffer_cf65c07de34b9a08"](p0i32);
/******/ },
-/******/ "__wbg_randomFillSync_e950366c42764a07": function(p0i32,p1i32) {
+/******/ "__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5": function(p0i32,p1i32,p2i32) {
/******/ if(wasmImportedFuncCache30 === undefined) wasmImportedFuncCache30 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache30["__wbg_randomFillSync_e950366c42764a07"](p0i32,p1i32);
+/******/ return wasmImportedFuncCache30["__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5"](p0i32,p1i32,p2i32);
/******/ },
-/******/ "__wbg_subarray_7526649b91a252a6": function(p0i32,p1i32,p2i32) {
+/******/ "__wbg_randomFillSync_e950366c42764a07": function(p0i32,p1i32) {
/******/ if(wasmImportedFuncCache31 === undefined) wasmImportedFuncCache31 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache31["__wbg_subarray_7526649b91a252a6"](p0i32,p1i32,p2i32);
+/******/ return wasmImportedFuncCache31["__wbg_randomFillSync_e950366c42764a07"](p0i32,p1i32);
/******/ },
-/******/ "__wbg_getRandomValues_3774744e221a22ad": function(p0i32,p1i32) {
+/******/ "__wbg_subarray_7526649b91a252a6": function(p0i32,p1i32,p2i32) {
/******/ if(wasmImportedFuncCache32 === undefined) wasmImportedFuncCache32 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache32["__wbg_getRandomValues_3774744e221a22ad"](p0i32,p1i32);
+/******/ return wasmImportedFuncCache32["__wbg_subarray_7526649b91a252a6"](p0i32,p1i32,p2i32);
/******/ },
-/******/ "__wbg_new_537b7341ce90bb31": function(p0i32) {
+/******/ "__wbg_getRandomValues_3774744e221a22ad": function(p0i32,p1i32) {
/******/ if(wasmImportedFuncCache33 === undefined) wasmImportedFuncCache33 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache33["__wbg_new_537b7341ce90bb31"](p0i32);
+/******/ return wasmImportedFuncCache33["__wbg_getRandomValues_3774744e221a22ad"](p0i32,p1i32);
/******/ },
-/******/ "__wbg_set_17499e8aa4003ebd": function(p0i32,p1i32,p2i32) {
+/******/ "__wbg_new_537b7341ce90bb31": function(p0i32) {
/******/ if(wasmImportedFuncCache34 === undefined) wasmImportedFuncCache34 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache34["__wbg_set_17499e8aa4003ebd"](p0i32,p1i32,p2i32);
+/******/ return wasmImportedFuncCache34["__wbg_new_537b7341ce90bb31"](p0i32);
/******/ },
-/******/ "__wbindgen_throw": function(p0i32,p1i32) {
+/******/ "__wbg_set_17499e8aa4003ebd": function(p0i32,p1i32,p2i32) {
/******/ if(wasmImportedFuncCache35 === undefined) wasmImportedFuncCache35 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache35["__wbindgen_throw"](p0i32,p1i32);
+/******/ return wasmImportedFuncCache35["__wbg_set_17499e8aa4003ebd"](p0i32,p1i32,p2i32);
/******/ },
-/******/ "__wbg_error_fd84ca2a8a977774": function(p0i32,p1i32,p2i32,p3i32) {
+/******/ "__wbindgen_throw": function(p0i32,p1i32) {
/******/ if(wasmImportedFuncCache36 === undefined) wasmImportedFuncCache36 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache36["__wbg_error_fd84ca2a8a977774"](p0i32,p1i32,p2i32,p3i32);
+/******/ return wasmImportedFuncCache36["__wbindgen_throw"](p0i32,p1i32);
/******/ },
-/******/ "__wbg_warn_48cbddced45e5414": function(p0i32,p1i32,p2i32,p3i32) {
+/******/ "__wbg_error_fd84ca2a8a977774": function(p0i32,p1i32,p2i32,p3i32) {
/******/ if(wasmImportedFuncCache37 === undefined) wasmImportedFuncCache37 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache37["__wbg_warn_48cbddced45e5414"](p0i32,p1i32,p2i32,p3i32);
+/******/ return wasmImportedFuncCache37["__wbg_error_fd84ca2a8a977774"](p0i32,p1i32,p2i32,p3i32);
/******/ },
-/******/ "__wbg_info_5566be377f5b52ae": function(p0i32,p1i32,p2i32,p3i32) {
+/******/ "__wbg_warn_48cbddced45e5414": function(p0i32,p1i32,p2i32,p3i32) {
/******/ if(wasmImportedFuncCache38 === undefined) wasmImportedFuncCache38 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache38["__wbg_info_5566be377f5b52ae"](p0i32,p1i32,p2i32,p3i32);
+/******/ return wasmImportedFuncCache38["__wbg_warn_48cbddced45e5414"](p0i32,p1i32,p2i32,p3i32);
/******/ },
-/******/ "__wbg_log_7b690f184ae4519b": function(p0i32,p1i32,p2i32,p3i32) {
+/******/ "__wbg_info_5566be377f5b52ae": function(p0i32,p1i32,p2i32,p3i32) {
/******/ if(wasmImportedFuncCache39 === undefined) wasmImportedFuncCache39 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache39["__wbg_log_7b690f184ae4519b"](p0i32,p1i32,p2i32,p3i32);
+/******/ return wasmImportedFuncCache39["__wbg_info_5566be377f5b52ae"](p0i32,p1i32,p2i32,p3i32);
/******/ },
-/******/ "__wbg_debug_7960d327fd96f71a": function(p0i32,p1i32,p2i32,p3i32) {
+/******/ "__wbg_log_7b690f184ae4519b": function(p0i32,p1i32,p2i32,p3i32) {
/******/ if(wasmImportedFuncCache40 === undefined) wasmImportedFuncCache40 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
-/******/ return wasmImportedFuncCache40["__wbg_debug_7960d327fd96f71a"](p0i32,p1i32,p2i32,p3i32);
+/******/ return wasmImportedFuncCache40["__wbg_log_7b690f184ae4519b"](p0i32,p1i32,p2i32,p3i32);
+/******/ },
+/******/ "__wbg_debug_7960d327fd96f71a": function(p0i32,p1i32,p2i32,p3i32) {
+/******/ if(wasmImportedFuncCache41 === undefined) wasmImportedFuncCache41 = __webpack_require__.c["../binding/pkg/binding_bg.js"].exports;
+/******/ return wasmImportedFuncCache41["__wbg_debug_7960d327fd96f71a"](p0i32,p1i32,p2i32,p3i32);
/******/ }
/******/ }
/******/ };
@@ -534,7 +539,7 @@ eval("// A dependency graph that contains any wasm must all be imported\n// asyn
/******/ promises.push(installedWasmModuleData);
/******/ else {
/******/ var importObject = wasmImportObjects[wasmModuleId]();
-/******/ var req = fetch(__webpack_require__.p + "" + {"index_js":{"../binding/pkg/binding_bg.wasm":"f40983668b7276a6aeb1"}}[chunkId][wasmModuleId] + ".module.wasm");
+/******/ var req = fetch(__webpack_require__.p + "" + {"index_js":{"../binding/pkg/binding_bg.wasm":"2b11d3022815a425c67f"}}[chunkId][wasmModuleId] + ".module.wasm");
/******/ var promise;
/******/ if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {
/******/ promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {
diff --git a/f40983668b7276a6aeb1.module.wasm b/f40983668b7276a6aeb1.module.wasm
deleted file mode 100644
index e2266fe..0000000
Binary files a/f40983668b7276a6aeb1.module.wasm and /dev/null differ
diff --git a/index.html b/index.html
index 86cce8f..e3383e0 100644
--- a/index.html
+++ b/index.html
@@ -11,7 +11,7 @@
Graphoscope
-
+
@@ -54,10 +54,16 @@
Graphoscope
-
This page contains webassembly and javascript content, please enable javascript in your browser.
+
Graphoscope is an interactive graph visualization based on DOT algorithm.
+ Currently only simple dot files are supported (see examples and generated graphs for the details).
+ To navigate over a big graph you can use "Focus on" by node name or label or click on node you want to focus.
+ Touch devices are not fully supported.
+
+
@@ -81,7 +87,8 @@
Graphoscope
Examples:
- Simple
+ Simple
{
-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Graph: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.Graph),\n/* harmony export */ __wbg_buffer_cf65c07de34b9a08: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_buffer_cf65c07de34b9a08),\n/* harmony export */ __wbg_call_9495de66fdbe016b: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_call_9495de66fdbe016b),\n/* harmony export */ __wbg_call_95d1ea488d03e4e8: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_call_95d1ea488d03e4e8),\n/* harmony export */ __wbg_crypto_70a96de3b6b73dac: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_crypto_70a96de3b6b73dac),\n/* harmony export */ __wbg_debug_7960d327fd96f71a: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_debug_7960d327fd96f71a),\n/* harmony export */ __wbg_error_fd84ca2a8a977774: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_error_fd84ca2a8a977774),\n/* harmony export */ __wbg_error_fe807da27c4a4ced: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_error_fe807da27c4a4ced),\n/* harmony export */ __wbg_getRandomValues_3774744e221a22ad: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_getRandomValues_3774744e221a22ad),\n/* harmony export */ __wbg_globalThis_87cbb8506fecf3a9: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_globalThis_87cbb8506fecf3a9),\n/* harmony export */ __wbg_global_c85a9259e621f3db: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_global_c85a9259e621f3db),\n/* harmony export */ __wbg_graph_new: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_graph_new),\n/* harmony export */ __wbg_info_5566be377f5b52ae: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_info_5566be377f5b52ae),\n/* harmony export */ __wbg_log_7b690f184ae4519b: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_log_7b690f184ae4519b),\n/* harmony export */ __wbg_msCrypto_adbc770ec9eca9c7: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_msCrypto_adbc770ec9eca9c7),\n/* harmony export */ __wbg_new_537b7341ce90bb31: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_new_537b7341ce90bb31),\n/* harmony export */ __wbg_new_b525de17f44a8943: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_new_b525de17f44a8943),\n/* harmony export */ __wbg_newnoargs_2b8b6bd7753c76ba: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_newnoargs_2b8b6bd7753c76ba),\n/* harmony export */ __wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5),\n/* harmony export */ __wbg_newwithlength_b56c882b57805732: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_newwithlength_b56c882b57805732),\n/* harmony export */ __wbg_node_6a9d28205ed5b0d8: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_node_6a9d28205ed5b0d8),\n/* harmony export */ __wbg_process_dd1577445152112e: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_process_dd1577445152112e),\n/* harmony export */ __wbg_push_49c286f04dd3bf59: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_push_49c286f04dd3bf59),\n/* harmony export */ __wbg_randomFillSync_e950366c42764a07: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_randomFillSync_e950366c42764a07),\n/* harmony export */ __wbg_require_f05d779769764e82: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_require_f05d779769764e82),\n/* harmony export */ __wbg_self_e7c1f827057f6584: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_self_e7c1f827057f6584),\n/* harmony export */ __wbg_set_17499e8aa4003ebd: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_set_17499e8aa4003ebd),\n/* harmony export */ __wbg_set_wasm: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_set_wasm),\n/* harmony export */ __wbg_subarray_7526649b91a252a6: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_subarray_7526649b91a252a6),\n/* harmony export */ __wbg_versions_58036bec3add9e6f: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_versions_58036bec3add9e6f),\n/* harmony export */ __wbg_warn_48cbddced45e5414: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_warn_48cbddced45e5414),\n/* harmony export */ __wbg_window_a09ec664e14b1b81: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_window_a09ec664e14b1b81),\n/* harmony export */ __wbindgen_is_function: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_is_function),\n/* harmony export */ __wbindgen_is_object: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_is_object),\n/* harmony export */ __wbindgen_is_string: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_is_string),\n/* harmony export */ __wbindgen_is_undefined: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_is_undefined),\n/* harmony export */ __wbindgen_memory: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_memory),\n/* harmony export */ __wbindgen_number_new: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_number_new),\n/* harmony export */ __wbindgen_object_clone_ref: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_object_clone_ref),\n/* harmony export */ __wbindgen_object_drop_ref: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_object_drop_ref),\n/* harmony export */ __wbindgen_string_get: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_string_get),\n/* harmony export */ __wbindgen_string_new: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_string_new),\n/* harmony export */ __wbindgen_throw: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_throw),\n/* harmony export */ main_js: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.main_js),\n/* harmony export */ parse: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.parse),\n/* harmony export */ render_random: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.render_random)\n/* harmony export */ });\n/* harmony import */ var _binding_bg_wasm__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./binding_bg.wasm */ \"../binding/pkg/binding_bg.wasm\");\n/* harmony import */ var _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./binding_bg.js */ \"../binding/pkg/binding_bg.js\");\n\n\n(0,_binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_set_wasm)(_binding_bg_wasm__WEBPACK_IMPORTED_MODULE_1__);\n\n\n_binding_bg_wasm__WEBPACK_IMPORTED_MODULE_1__.__wbindgen_start();\n\n\n//# sourceURL=webpack://create-wasm-app/../binding/pkg/binding.js?");
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Graph: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.Graph),\n/* harmony export */ SearchResultItem: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.SearchResultItem),\n/* harmony export */ __wbg_buffer_cf65c07de34b9a08: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_buffer_cf65c07de34b9a08),\n/* harmony export */ __wbg_call_9495de66fdbe016b: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_call_9495de66fdbe016b),\n/* harmony export */ __wbg_call_95d1ea488d03e4e8: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_call_95d1ea488d03e4e8),\n/* harmony export */ __wbg_crypto_70a96de3b6b73dac: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_crypto_70a96de3b6b73dac),\n/* harmony export */ __wbg_debug_7960d327fd96f71a: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_debug_7960d327fd96f71a),\n/* harmony export */ __wbg_error_fd84ca2a8a977774: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_error_fd84ca2a8a977774),\n/* harmony export */ __wbg_error_fe807da27c4a4ced: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_error_fe807da27c4a4ced),\n/* harmony export */ __wbg_getRandomValues_3774744e221a22ad: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_getRandomValues_3774744e221a22ad),\n/* harmony export */ __wbg_globalThis_87cbb8506fecf3a9: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_globalThis_87cbb8506fecf3a9),\n/* harmony export */ __wbg_global_c85a9259e621f3db: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_global_c85a9259e621f3db),\n/* harmony export */ __wbg_graph_new: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_graph_new),\n/* harmony export */ __wbg_info_5566be377f5b52ae: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_info_5566be377f5b52ae),\n/* harmony export */ __wbg_log_7b690f184ae4519b: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_log_7b690f184ae4519b),\n/* harmony export */ __wbg_msCrypto_adbc770ec9eca9c7: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_msCrypto_adbc770ec9eca9c7),\n/* harmony export */ __wbg_new_537b7341ce90bb31: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_new_537b7341ce90bb31),\n/* harmony export */ __wbg_new_b525de17f44a8943: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_new_b525de17f44a8943),\n/* harmony export */ __wbg_newnoargs_2b8b6bd7753c76ba: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_newnoargs_2b8b6bd7753c76ba),\n/* harmony export */ __wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5),\n/* harmony export */ __wbg_newwithlength_b56c882b57805732: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_newwithlength_b56c882b57805732),\n/* harmony export */ __wbg_node_6a9d28205ed5b0d8: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_node_6a9d28205ed5b0d8),\n/* harmony export */ __wbg_process_dd1577445152112e: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_process_dd1577445152112e),\n/* harmony export */ __wbg_push_49c286f04dd3bf59: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_push_49c286f04dd3bf59),\n/* harmony export */ __wbg_randomFillSync_e950366c42764a07: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_randomFillSync_e950366c42764a07),\n/* harmony export */ __wbg_require_f05d779769764e82: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_require_f05d779769764e82),\n/* harmony export */ __wbg_searchresultitem_new: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_searchresultitem_new),\n/* harmony export */ __wbg_self_e7c1f827057f6584: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_self_e7c1f827057f6584),\n/* harmony export */ __wbg_set_17499e8aa4003ebd: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_set_17499e8aa4003ebd),\n/* harmony export */ __wbg_set_wasm: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_set_wasm),\n/* harmony export */ __wbg_subarray_7526649b91a252a6: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_subarray_7526649b91a252a6),\n/* harmony export */ __wbg_versions_58036bec3add9e6f: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_versions_58036bec3add9e6f),\n/* harmony export */ __wbg_warn_48cbddced45e5414: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_warn_48cbddced45e5414),\n/* harmony export */ __wbg_window_a09ec664e14b1b81: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_window_a09ec664e14b1b81),\n/* harmony export */ __wbindgen_is_function: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_is_function),\n/* harmony export */ __wbindgen_is_object: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_is_object),\n/* harmony export */ __wbindgen_is_string: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_is_string),\n/* harmony export */ __wbindgen_is_undefined: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_is_undefined),\n/* harmony export */ __wbindgen_memory: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_memory),\n/* harmony export */ __wbindgen_number_new: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_number_new),\n/* harmony export */ __wbindgen_object_clone_ref: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_object_clone_ref),\n/* harmony export */ __wbindgen_object_drop_ref: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_object_drop_ref),\n/* harmony export */ __wbindgen_string_get: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_string_get),\n/* harmony export */ __wbindgen_string_new: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_string_new),\n/* harmony export */ __wbindgen_throw: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_throw),\n/* harmony export */ main_js: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.main_js),\n/* harmony export */ parse: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.parse),\n/* harmony export */ render_random: () => (/* reexport safe */ _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.render_random)\n/* harmony export */ });\n/* harmony import */ var _binding_bg_wasm__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./binding_bg.wasm */ \"../binding/pkg/binding_bg.wasm\");\n/* harmony import */ var _binding_bg_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./binding_bg.js */ \"../binding/pkg/binding_bg.js\");\n\n\n(0,_binding_bg_js__WEBPACK_IMPORTED_MODULE_0__.__wbg_set_wasm)(_binding_bg_wasm__WEBPACK_IMPORTED_MODULE_1__);\n\n\n_binding_bg_wasm__WEBPACK_IMPORTED_MODULE_1__.__wbindgen_start();\n\n\n//# sourceURL=webpack://create-wasm-app/../binding/pkg/binding.js?");
/***/ }),
@@ -25,7 +25,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
\************************************/
/***/ ((module, __webpack_exports__, __webpack_require__) => {
-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Graph: () => (/* binding */ Graph),\n/* harmony export */ __wbg_buffer_cf65c07de34b9a08: () => (/* binding */ __wbg_buffer_cf65c07de34b9a08),\n/* harmony export */ __wbg_call_9495de66fdbe016b: () => (/* binding */ __wbg_call_9495de66fdbe016b),\n/* harmony export */ __wbg_call_95d1ea488d03e4e8: () => (/* binding */ __wbg_call_95d1ea488d03e4e8),\n/* harmony export */ __wbg_crypto_70a96de3b6b73dac: () => (/* binding */ __wbg_crypto_70a96de3b6b73dac),\n/* harmony export */ __wbg_debug_7960d327fd96f71a: () => (/* binding */ __wbg_debug_7960d327fd96f71a),\n/* harmony export */ __wbg_error_fd84ca2a8a977774: () => (/* binding */ __wbg_error_fd84ca2a8a977774),\n/* harmony export */ __wbg_error_fe807da27c4a4ced: () => (/* binding */ __wbg_error_fe807da27c4a4ced),\n/* harmony export */ __wbg_getRandomValues_3774744e221a22ad: () => (/* binding */ __wbg_getRandomValues_3774744e221a22ad),\n/* harmony export */ __wbg_globalThis_87cbb8506fecf3a9: () => (/* binding */ __wbg_globalThis_87cbb8506fecf3a9),\n/* harmony export */ __wbg_global_c85a9259e621f3db: () => (/* binding */ __wbg_global_c85a9259e621f3db),\n/* harmony export */ __wbg_graph_new: () => (/* binding */ __wbg_graph_new),\n/* harmony export */ __wbg_info_5566be377f5b52ae: () => (/* binding */ __wbg_info_5566be377f5b52ae),\n/* harmony export */ __wbg_log_7b690f184ae4519b: () => (/* binding */ __wbg_log_7b690f184ae4519b),\n/* harmony export */ __wbg_msCrypto_adbc770ec9eca9c7: () => (/* binding */ __wbg_msCrypto_adbc770ec9eca9c7),\n/* harmony export */ __wbg_new_537b7341ce90bb31: () => (/* binding */ __wbg_new_537b7341ce90bb31),\n/* harmony export */ __wbg_new_b525de17f44a8943: () => (/* binding */ __wbg_new_b525de17f44a8943),\n/* harmony export */ __wbg_newnoargs_2b8b6bd7753c76ba: () => (/* binding */ __wbg_newnoargs_2b8b6bd7753c76ba),\n/* harmony export */ __wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5: () => (/* binding */ __wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5),\n/* harmony export */ __wbg_newwithlength_b56c882b57805732: () => (/* binding */ __wbg_newwithlength_b56c882b57805732),\n/* harmony export */ __wbg_node_6a9d28205ed5b0d8: () => (/* binding */ __wbg_node_6a9d28205ed5b0d8),\n/* harmony export */ __wbg_process_dd1577445152112e: () => (/* binding */ __wbg_process_dd1577445152112e),\n/* harmony export */ __wbg_push_49c286f04dd3bf59: () => (/* binding */ __wbg_push_49c286f04dd3bf59),\n/* harmony export */ __wbg_randomFillSync_e950366c42764a07: () => (/* binding */ __wbg_randomFillSync_e950366c42764a07),\n/* harmony export */ __wbg_require_f05d779769764e82: () => (/* binding */ __wbg_require_f05d779769764e82),\n/* harmony export */ __wbg_self_e7c1f827057f6584: () => (/* binding */ __wbg_self_e7c1f827057f6584),\n/* harmony export */ __wbg_set_17499e8aa4003ebd: () => (/* binding */ __wbg_set_17499e8aa4003ebd),\n/* harmony export */ __wbg_set_wasm: () => (/* binding */ __wbg_set_wasm),\n/* harmony export */ __wbg_subarray_7526649b91a252a6: () => (/* binding */ __wbg_subarray_7526649b91a252a6),\n/* harmony export */ __wbg_versions_58036bec3add9e6f: () => (/* binding */ __wbg_versions_58036bec3add9e6f),\n/* harmony export */ __wbg_warn_48cbddced45e5414: () => (/* binding */ __wbg_warn_48cbddced45e5414),\n/* harmony export */ __wbg_window_a09ec664e14b1b81: () => (/* binding */ __wbg_window_a09ec664e14b1b81),\n/* harmony export */ __wbindgen_is_function: () => (/* binding */ __wbindgen_is_function),\n/* harmony export */ __wbindgen_is_object: () => (/* binding */ __wbindgen_is_object),\n/* harmony export */ __wbindgen_is_string: () => (/* binding */ __wbindgen_is_string),\n/* harmony export */ __wbindgen_is_undefined: () => (/* binding */ __wbindgen_is_undefined),\n/* harmony export */ __wbindgen_memory: () => (/* binding */ __wbindgen_memory),\n/* harmony export */ __wbindgen_number_new: () => (/* binding */ __wbindgen_number_new),\n/* harmony export */ __wbindgen_object_clone_ref: () => (/* binding */ __wbindgen_object_clone_ref),\n/* harmony export */ __wbindgen_object_drop_ref: () => (/* binding */ __wbindgen_object_drop_ref),\n/* harmony export */ __wbindgen_string_get: () => (/* binding */ __wbindgen_string_get),\n/* harmony export */ __wbindgen_string_new: () => (/* binding */ __wbindgen_string_new),\n/* harmony export */ __wbindgen_throw: () => (/* binding */ __wbindgen_throw),\n/* harmony export */ main_js: () => (/* binding */ main_js),\n/* harmony export */ parse: () => (/* binding */ parse),\n/* harmony export */ render_random: () => (/* binding */ render_random)\n/* harmony export */ });\n/* module decorator */ module = __webpack_require__.hmd(module);\nlet wasm;\nfunction __wbg_set_wasm(val) {\n wasm = val;\n}\n\n\nconst heap = new Array(128).fill(undefined);\n\nheap.push(undefined, null, true, false);\n\nfunction getObject(idx) { return heap[idx]; }\n\nlet WASM_VECTOR_LEN = 0;\n\nlet cachedUint8Memory0 = null;\n\nfunction getUint8Memory0() {\n if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {\n cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachedUint8Memory0;\n}\n\nconst lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;\n\nlet cachedTextEncoder = new lTextEncoder('utf-8');\n\nconst encodeString = (typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n}\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length\n };\n});\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length);\n getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len);\n\n const mem = getUint8Memory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7F) break;\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, len = offset + arg.length * 3);\n const view = getUint8Memory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nlet cachedInt32Memory0 = null;\n\nfunction getInt32Memory0() {\n if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {\n cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);\n }\n return cachedInt32Memory0;\n}\n\nlet heap_next = heap.length;\n\nfunction addHeapObject(obj) {\n if (heap_next === heap.length) heap.push(heap.length + 1);\n const idx = heap_next;\n heap_next = heap[idx];\n\n heap[idx] = obj;\n return idx;\n}\n\nconst lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;\n\nlet cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });\n\ncachedTextDecoder.decode();\n\nfunction getStringFromWasm0(ptr, len) {\n return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));\n}\n\nfunction dropObject(idx) {\n if (idx < 132) return;\n heap[idx] = heap_next;\n heap_next = idx;\n}\n\nfunction takeObject(idx) {\n const ret = getObject(idx);\n dropObject(idx);\n return ret;\n}\n\nlet stack_pointer = 128;\n\nfunction addBorrowedObject(obj) {\n if (stack_pointer == 1) throw new Error('out of js stack');\n heap[--stack_pointer] = obj;\n return stack_pointer;\n}\n/**\n*/\nfunction main_js() {\n wasm.main_js();\n}\n\n/**\n* @param {any} dot\n* @returns {any}\n*/\nfunction parse(dot) {\n try {\n const ret = wasm.parse(addBorrowedObject(dot));\n return takeObject(ret);\n } finally {\n heap[stack_pointer++] = undefined;\n }\n}\n\n/**\n* @param {number} nodes_count\n* @param {number} edges_count\n* @returns {any}\n*/\nfunction render_random(nodes_count, edges_count) {\n const ret = wasm.render_random(nodes_count, edges_count);\n return takeObject(ret);\n}\n\nfunction handleError(f, args) {\n try {\n return f.apply(this, args);\n } catch (e) {\n wasm.__wbindgen_exn_store(addHeapObject(e));\n }\n}\n/**\n*/\nclass Graph {\n\n static __wrap(ptr) {\n const obj = Object.create(Graph.prototype);\n obj.ptr = ptr;\n\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.ptr;\n this.ptr = 0;\n\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_graph_free(ptr);\n }\n /**\n * @param {any} dot\n * @returns {Graph}\n */\n static new(dot) {\n try {\n const ret = wasm.graph_new(addBorrowedObject(dot));\n return Graph.__wrap(ret);\n } finally {\n heap[stack_pointer++] = undefined;\n }\n }\n /**\n * @returns {any}\n */\n node_count() {\n const ret = wasm.graph_node_count(this.ptr);\n return takeObject(ret);\n }\n /**\n * @returns {any}\n */\n is_error() {\n const ret = wasm.graph_is_error(this.ptr);\n return takeObject(ret);\n }\n /**\n * @param {string} around_node_id\n * @param {number} max_nodes\n * @param {number} max_edges\n * @returns {any}\n */\n render(around_node_id, max_nodes, max_edges) {\n const ptr0 = passStringToWasm0(around_node_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ret = wasm.graph_render(this.ptr, ptr0, len0, max_nodes, max_edges);\n return takeObject(ret);\n }\n /**\n * @param {string} value\n * @returns {any}\n */\n find_nodes(value) {\n const ptr0 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ret = wasm.graph_find_nodes(this.ptr, ptr0, len0);\n return takeObject(ret);\n }\n}\n\nfunction __wbindgen_string_get(arg0, arg1) {\n const obj = getObject(arg1);\n const ret = typeof(obj) === 'string' ? obj : undefined;\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n};\n\nfunction __wbindgen_number_new(arg0) {\n const ret = arg0;\n return addHeapObject(ret);\n};\n\nfunction __wbindgen_string_new(arg0, arg1) {\n const ret = getStringFromWasm0(arg0, arg1);\n return addHeapObject(ret);\n};\n\nfunction __wbg_new_b525de17f44a8943() {\n const ret = new Array();\n return addHeapObject(ret);\n};\n\nfunction __wbg_push_49c286f04dd3bf59(arg0, arg1) {\n const ret = getObject(arg0).push(getObject(arg1));\n return ret;\n};\n\nfunction __wbindgen_object_drop_ref(arg0) {\n takeObject(arg0);\n};\n\nfunction __wbg_error_fe807da27c4a4ced(arg0) {\n console.error(getObject(arg0));\n};\n\nfunction __wbg_graph_new(arg0) {\n const ret = Graph.__wrap(arg0);\n return addHeapObject(ret);\n};\n\nfunction __wbg_self_e7c1f827057f6584() { return handleError(function () {\n const ret = self.self;\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbg_window_a09ec664e14b1b81() { return handleError(function () {\n const ret = window.window;\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbg_globalThis_87cbb8506fecf3a9() { return handleError(function () {\n const ret = globalThis.globalThis;\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbg_global_c85a9259e621f3db() { return handleError(function () {\n const ret = __webpack_require__.g.global;\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbindgen_is_undefined(arg0) {\n const ret = getObject(arg0) === undefined;\n return ret;\n};\n\nfunction __wbg_newnoargs_2b8b6bd7753c76ba(arg0, arg1) {\n const ret = new Function(getStringFromWasm0(arg0, arg1));\n return addHeapObject(ret);\n};\n\nfunction __wbg_call_95d1ea488d03e4e8() { return handleError(function (arg0, arg1) {\n const ret = getObject(arg0).call(getObject(arg1));\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbindgen_object_clone_ref(arg0) {\n const ret = getObject(arg0);\n return addHeapObject(ret);\n};\n\nfunction __wbg_crypto_70a96de3b6b73dac(arg0) {\n const ret = getObject(arg0).crypto;\n return addHeapObject(ret);\n};\n\nfunction __wbindgen_is_object(arg0) {\n const val = getObject(arg0);\n const ret = typeof(val) === 'object' && val !== null;\n return ret;\n};\n\nfunction __wbg_process_dd1577445152112e(arg0) {\n const ret = getObject(arg0).process;\n return addHeapObject(ret);\n};\n\nfunction __wbg_versions_58036bec3add9e6f(arg0) {\n const ret = getObject(arg0).versions;\n return addHeapObject(ret);\n};\n\nfunction __wbg_node_6a9d28205ed5b0d8(arg0) {\n const ret = getObject(arg0).node;\n return addHeapObject(ret);\n};\n\nfunction __wbindgen_is_string(arg0) {\n const ret = typeof(getObject(arg0)) === 'string';\n return ret;\n};\n\nfunction __wbg_msCrypto_adbc770ec9eca9c7(arg0) {\n const ret = getObject(arg0).msCrypto;\n return addHeapObject(ret);\n};\n\nfunction __wbg_newwithlength_b56c882b57805732(arg0) {\n const ret = new Uint8Array(arg0 >>> 0);\n return addHeapObject(ret);\n};\n\nfunction __wbg_require_f05d779769764e82() { return handleError(function () {\n const ret = module.require;\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbindgen_is_function(arg0) {\n const ret = typeof(getObject(arg0)) === 'function';\n return ret;\n};\n\nfunction __wbg_call_9495de66fdbe016b() { return handleError(function (arg0, arg1, arg2) {\n const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbindgen_memory() {\n const ret = wasm.memory;\n return addHeapObject(ret);\n};\n\nfunction __wbg_buffer_cf65c07de34b9a08(arg0) {\n const ret = getObject(arg0).buffer;\n return addHeapObject(ret);\n};\n\nfunction __wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5(arg0, arg1, arg2) {\n const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n};\n\nfunction __wbg_randomFillSync_e950366c42764a07() { return handleError(function (arg0, arg1) {\n getObject(arg0).randomFillSync(takeObject(arg1));\n}, arguments) };\n\nfunction __wbg_subarray_7526649b91a252a6(arg0, arg1, arg2) {\n const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n};\n\nfunction __wbg_getRandomValues_3774744e221a22ad() { return handleError(function (arg0, arg1) {\n getObject(arg0).getRandomValues(getObject(arg1));\n}, arguments) };\n\nfunction __wbg_new_537b7341ce90bb31(arg0) {\n const ret = new Uint8Array(getObject(arg0));\n return addHeapObject(ret);\n};\n\nfunction __wbg_set_17499e8aa4003ebd(arg0, arg1, arg2) {\n getObject(arg0).set(getObject(arg1), arg2 >>> 0);\n};\n\nfunction __wbindgen_throw(arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n};\n\nfunction __wbg_error_fd84ca2a8a977774(arg0, arg1, arg2, arg3) {\n console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));\n};\n\nfunction __wbg_warn_48cbddced45e5414(arg0, arg1, arg2, arg3) {\n console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));\n};\n\nfunction __wbg_info_5566be377f5b52ae(arg0, arg1, arg2, arg3) {\n console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));\n};\n\nfunction __wbg_log_7b690f184ae4519b(arg0, arg1, arg2, arg3) {\n console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));\n};\n\nfunction __wbg_debug_7960d327fd96f71a(arg0, arg1, arg2, arg3) {\n console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));\n};\n\n\n\n//# sourceURL=webpack://create-wasm-app/../binding/pkg/binding_bg.js?");
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Graph: () => (/* binding */ Graph),\n/* harmony export */ SearchResultItem: () => (/* binding */ SearchResultItem),\n/* harmony export */ __wbg_buffer_cf65c07de34b9a08: () => (/* binding */ __wbg_buffer_cf65c07de34b9a08),\n/* harmony export */ __wbg_call_9495de66fdbe016b: () => (/* binding */ __wbg_call_9495de66fdbe016b),\n/* harmony export */ __wbg_call_95d1ea488d03e4e8: () => (/* binding */ __wbg_call_95d1ea488d03e4e8),\n/* harmony export */ __wbg_crypto_70a96de3b6b73dac: () => (/* binding */ __wbg_crypto_70a96de3b6b73dac),\n/* harmony export */ __wbg_debug_7960d327fd96f71a: () => (/* binding */ __wbg_debug_7960d327fd96f71a),\n/* harmony export */ __wbg_error_fd84ca2a8a977774: () => (/* binding */ __wbg_error_fd84ca2a8a977774),\n/* harmony export */ __wbg_error_fe807da27c4a4ced: () => (/* binding */ __wbg_error_fe807da27c4a4ced),\n/* harmony export */ __wbg_getRandomValues_3774744e221a22ad: () => (/* binding */ __wbg_getRandomValues_3774744e221a22ad),\n/* harmony export */ __wbg_globalThis_87cbb8506fecf3a9: () => (/* binding */ __wbg_globalThis_87cbb8506fecf3a9),\n/* harmony export */ __wbg_global_c85a9259e621f3db: () => (/* binding */ __wbg_global_c85a9259e621f3db),\n/* harmony export */ __wbg_graph_new: () => (/* binding */ __wbg_graph_new),\n/* harmony export */ __wbg_info_5566be377f5b52ae: () => (/* binding */ __wbg_info_5566be377f5b52ae),\n/* harmony export */ __wbg_log_7b690f184ae4519b: () => (/* binding */ __wbg_log_7b690f184ae4519b),\n/* harmony export */ __wbg_msCrypto_adbc770ec9eca9c7: () => (/* binding */ __wbg_msCrypto_adbc770ec9eca9c7),\n/* harmony export */ __wbg_new_537b7341ce90bb31: () => (/* binding */ __wbg_new_537b7341ce90bb31),\n/* harmony export */ __wbg_new_b525de17f44a8943: () => (/* binding */ __wbg_new_b525de17f44a8943),\n/* harmony export */ __wbg_newnoargs_2b8b6bd7753c76ba: () => (/* binding */ __wbg_newnoargs_2b8b6bd7753c76ba),\n/* harmony export */ __wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5: () => (/* binding */ __wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5),\n/* harmony export */ __wbg_newwithlength_b56c882b57805732: () => (/* binding */ __wbg_newwithlength_b56c882b57805732),\n/* harmony export */ __wbg_node_6a9d28205ed5b0d8: () => (/* binding */ __wbg_node_6a9d28205ed5b0d8),\n/* harmony export */ __wbg_process_dd1577445152112e: () => (/* binding */ __wbg_process_dd1577445152112e),\n/* harmony export */ __wbg_push_49c286f04dd3bf59: () => (/* binding */ __wbg_push_49c286f04dd3bf59),\n/* harmony export */ __wbg_randomFillSync_e950366c42764a07: () => (/* binding */ __wbg_randomFillSync_e950366c42764a07),\n/* harmony export */ __wbg_require_f05d779769764e82: () => (/* binding */ __wbg_require_f05d779769764e82),\n/* harmony export */ __wbg_searchresultitem_new: () => (/* binding */ __wbg_searchresultitem_new),\n/* harmony export */ __wbg_self_e7c1f827057f6584: () => (/* binding */ __wbg_self_e7c1f827057f6584),\n/* harmony export */ __wbg_set_17499e8aa4003ebd: () => (/* binding */ __wbg_set_17499e8aa4003ebd),\n/* harmony export */ __wbg_set_wasm: () => (/* binding */ __wbg_set_wasm),\n/* harmony export */ __wbg_subarray_7526649b91a252a6: () => (/* binding */ __wbg_subarray_7526649b91a252a6),\n/* harmony export */ __wbg_versions_58036bec3add9e6f: () => (/* binding */ __wbg_versions_58036bec3add9e6f),\n/* harmony export */ __wbg_warn_48cbddced45e5414: () => (/* binding */ __wbg_warn_48cbddced45e5414),\n/* harmony export */ __wbg_window_a09ec664e14b1b81: () => (/* binding */ __wbg_window_a09ec664e14b1b81),\n/* harmony export */ __wbindgen_is_function: () => (/* binding */ __wbindgen_is_function),\n/* harmony export */ __wbindgen_is_object: () => (/* binding */ __wbindgen_is_object),\n/* harmony export */ __wbindgen_is_string: () => (/* binding */ __wbindgen_is_string),\n/* harmony export */ __wbindgen_is_undefined: () => (/* binding */ __wbindgen_is_undefined),\n/* harmony export */ __wbindgen_memory: () => (/* binding */ __wbindgen_memory),\n/* harmony export */ __wbindgen_number_new: () => (/* binding */ __wbindgen_number_new),\n/* harmony export */ __wbindgen_object_clone_ref: () => (/* binding */ __wbindgen_object_clone_ref),\n/* harmony export */ __wbindgen_object_drop_ref: () => (/* binding */ __wbindgen_object_drop_ref),\n/* harmony export */ __wbindgen_string_get: () => (/* binding */ __wbindgen_string_get),\n/* harmony export */ __wbindgen_string_new: () => (/* binding */ __wbindgen_string_new),\n/* harmony export */ __wbindgen_throw: () => (/* binding */ __wbindgen_throw),\n/* harmony export */ main_js: () => (/* binding */ main_js),\n/* harmony export */ parse: () => (/* binding */ parse),\n/* harmony export */ render_random: () => (/* binding */ render_random)\n/* harmony export */ });\n/* module decorator */ module = __webpack_require__.hmd(module);\nlet wasm;\nfunction __wbg_set_wasm(val) {\n wasm = val;\n}\n\n\nconst lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;\n\nlet cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });\n\ncachedTextDecoder.decode();\n\nlet cachedUint8Memory0 = null;\n\nfunction getUint8Memory0() {\n if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {\n cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachedUint8Memory0;\n}\n\nfunction getStringFromWasm0(ptr, len) {\n return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));\n}\n\nconst heap = new Array(128).fill(undefined);\n\nheap.push(undefined, null, true, false);\n\nlet heap_next = heap.length;\n\nfunction addHeapObject(obj) {\n if (heap_next === heap.length) heap.push(heap.length + 1);\n const idx = heap_next;\n heap_next = heap[idx];\n\n heap[idx] = obj;\n return idx;\n}\n\nfunction getObject(idx) { return heap[idx]; }\n\nlet WASM_VECTOR_LEN = 0;\n\nconst lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;\n\nlet cachedTextEncoder = new lTextEncoder('utf-8');\n\nconst encodeString = (typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n}\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length\n };\n});\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length);\n getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len);\n\n const mem = getUint8Memory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7F) break;\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, len = offset + arg.length * 3);\n const view = getUint8Memory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nlet cachedInt32Memory0 = null;\n\nfunction getInt32Memory0() {\n if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {\n cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);\n }\n return cachedInt32Memory0;\n}\n\nfunction dropObject(idx) {\n if (idx < 132) return;\n heap[idx] = heap_next;\n heap_next = idx;\n}\n\nfunction takeObject(idx) {\n const ret = getObject(idx);\n dropObject(idx);\n return ret;\n}\n\nlet stack_pointer = 128;\n\nfunction addBorrowedObject(obj) {\n if (stack_pointer == 1) throw new Error('out of js stack');\n heap[--stack_pointer] = obj;\n return stack_pointer;\n}\n/**\n*/\nfunction main_js() {\n wasm.main_js();\n}\n\n/**\n* @param {any} dot\n* @returns {any}\n*/\nfunction parse(dot) {\n try {\n const ret = wasm.parse(addBorrowedObject(dot));\n return takeObject(ret);\n } finally {\n heap[stack_pointer++] = undefined;\n }\n}\n\n/**\n* @param {number} nodes_count\n* @param {number} edges_count\n* @returns {any}\n*/\nfunction render_random(nodes_count, edges_count) {\n const ret = wasm.render_random(nodes_count, edges_count);\n return takeObject(ret);\n}\n\nfunction handleError(f, args) {\n try {\n return f.apply(this, args);\n } catch (e) {\n wasm.__wbindgen_exn_store(addHeapObject(e));\n }\n}\n/**\n*/\nclass Graph {\n\n static __wrap(ptr) {\n const obj = Object.create(Graph.prototype);\n obj.ptr = ptr;\n\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.ptr;\n this.ptr = 0;\n\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_graph_free(ptr);\n }\n /**\n * @param {any} dot\n * @returns {Graph}\n */\n static new(dot) {\n try {\n const ret = wasm.graph_new(addBorrowedObject(dot));\n return Graph.__wrap(ret);\n } finally {\n heap[stack_pointer++] = undefined;\n }\n }\n /**\n * @returns {any}\n */\n node_count() {\n const ret = wasm.graph_node_count(this.ptr);\n return takeObject(ret);\n }\n /**\n * @returns {any}\n */\n is_error() {\n const ret = wasm.graph_is_error(this.ptr);\n return takeObject(ret);\n }\n /**\n * @param {string} around_node_id\n * @param {number} max_nodes\n * @param {number} max_edges\n * @returns {any}\n */\n render(around_node_id, max_nodes, max_edges) {\n const ptr0 = passStringToWasm0(around_node_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ret = wasm.graph_render(this.ptr, ptr0, len0, max_nodes, max_edges);\n return takeObject(ret);\n }\n /**\n * @param {string} value\n * @returns {any}\n */\n find_nodes(value) {\n const ptr0 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ret = wasm.graph_find_nodes(this.ptr, ptr0, len0);\n return takeObject(ret);\n }\n}\n/**\n*/\nclass SearchResultItem {\n\n static __wrap(ptr) {\n const obj = Object.create(SearchResultItem.prototype);\n obj.ptr = ptr;\n\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.ptr;\n this.ptr = 0;\n\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_searchresultitem_free(ptr);\n }\n /**\n * @returns {any}\n */\n id() {\n const ret = wasm.searchresultitem_id(this.ptr);\n return takeObject(ret);\n }\n /**\n * @returns {any}\n */\n label() {\n const ret = wasm.searchresultitem_label(this.ptr);\n return takeObject(ret);\n }\n}\n\nfunction __wbindgen_string_new(arg0, arg1) {\n const ret = getStringFromWasm0(arg0, arg1);\n return addHeapObject(ret);\n};\n\nfunction __wbindgen_string_get(arg0, arg1) {\n const obj = getObject(arg1);\n const ret = typeof(obj) === 'string' ? obj : undefined;\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n};\n\nfunction __wbindgen_number_new(arg0) {\n const ret = arg0;\n return addHeapObject(ret);\n};\n\nfunction __wbg_new_b525de17f44a8943() {\n const ret = new Array();\n return addHeapObject(ret);\n};\n\nfunction __wbg_searchresultitem_new(arg0) {\n const ret = SearchResultItem.__wrap(arg0);\n return addHeapObject(ret);\n};\n\nfunction __wbg_push_49c286f04dd3bf59(arg0, arg1) {\n const ret = getObject(arg0).push(getObject(arg1));\n return ret;\n};\n\nfunction __wbindgen_object_drop_ref(arg0) {\n takeObject(arg0);\n};\n\nfunction __wbg_error_fe807da27c4a4ced(arg0) {\n console.error(getObject(arg0));\n};\n\nfunction __wbg_graph_new(arg0) {\n const ret = Graph.__wrap(arg0);\n return addHeapObject(ret);\n};\n\nfunction __wbg_self_e7c1f827057f6584() { return handleError(function () {\n const ret = self.self;\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbg_window_a09ec664e14b1b81() { return handleError(function () {\n const ret = window.window;\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbg_globalThis_87cbb8506fecf3a9() { return handleError(function () {\n const ret = globalThis.globalThis;\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbg_global_c85a9259e621f3db() { return handleError(function () {\n const ret = __webpack_require__.g.global;\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbindgen_is_undefined(arg0) {\n const ret = getObject(arg0) === undefined;\n return ret;\n};\n\nfunction __wbg_newnoargs_2b8b6bd7753c76ba(arg0, arg1) {\n const ret = new Function(getStringFromWasm0(arg0, arg1));\n return addHeapObject(ret);\n};\n\nfunction __wbg_call_95d1ea488d03e4e8() { return handleError(function (arg0, arg1) {\n const ret = getObject(arg0).call(getObject(arg1));\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbindgen_object_clone_ref(arg0) {\n const ret = getObject(arg0);\n return addHeapObject(ret);\n};\n\nfunction __wbg_crypto_70a96de3b6b73dac(arg0) {\n const ret = getObject(arg0).crypto;\n return addHeapObject(ret);\n};\n\nfunction __wbindgen_is_object(arg0) {\n const val = getObject(arg0);\n const ret = typeof(val) === 'object' && val !== null;\n return ret;\n};\n\nfunction __wbg_process_dd1577445152112e(arg0) {\n const ret = getObject(arg0).process;\n return addHeapObject(ret);\n};\n\nfunction __wbg_versions_58036bec3add9e6f(arg0) {\n const ret = getObject(arg0).versions;\n return addHeapObject(ret);\n};\n\nfunction __wbg_node_6a9d28205ed5b0d8(arg0) {\n const ret = getObject(arg0).node;\n return addHeapObject(ret);\n};\n\nfunction __wbindgen_is_string(arg0) {\n const ret = typeof(getObject(arg0)) === 'string';\n return ret;\n};\n\nfunction __wbg_msCrypto_adbc770ec9eca9c7(arg0) {\n const ret = getObject(arg0).msCrypto;\n return addHeapObject(ret);\n};\n\nfunction __wbg_newwithlength_b56c882b57805732(arg0) {\n const ret = new Uint8Array(arg0 >>> 0);\n return addHeapObject(ret);\n};\n\nfunction __wbg_require_f05d779769764e82() { return handleError(function () {\n const ret = module.require;\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbindgen_is_function(arg0) {\n const ret = typeof(getObject(arg0)) === 'function';\n return ret;\n};\n\nfunction __wbg_call_9495de66fdbe016b() { return handleError(function (arg0, arg1, arg2) {\n const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));\n return addHeapObject(ret);\n}, arguments) };\n\nfunction __wbindgen_memory() {\n const ret = wasm.memory;\n return addHeapObject(ret);\n};\n\nfunction __wbg_buffer_cf65c07de34b9a08(arg0) {\n const ret = getObject(arg0).buffer;\n return addHeapObject(ret);\n};\n\nfunction __wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5(arg0, arg1, arg2) {\n const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n};\n\nfunction __wbg_randomFillSync_e950366c42764a07() { return handleError(function (arg0, arg1) {\n getObject(arg0).randomFillSync(takeObject(arg1));\n}, arguments) };\n\nfunction __wbg_subarray_7526649b91a252a6(arg0, arg1, arg2) {\n const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n};\n\nfunction __wbg_getRandomValues_3774744e221a22ad() { return handleError(function (arg0, arg1) {\n getObject(arg0).getRandomValues(getObject(arg1));\n}, arguments) };\n\nfunction __wbg_new_537b7341ce90bb31(arg0) {\n const ret = new Uint8Array(getObject(arg0));\n return addHeapObject(ret);\n};\n\nfunction __wbg_set_17499e8aa4003ebd(arg0, arg1, arg2) {\n getObject(arg0).set(getObject(arg1), arg2 >>> 0);\n};\n\nfunction __wbindgen_throw(arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n};\n\nfunction __wbg_error_fd84ca2a8a977774(arg0, arg1, arg2, arg3) {\n console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));\n};\n\nfunction __wbg_warn_48cbddced45e5414(arg0, arg1, arg2, arg3) {\n console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));\n};\n\nfunction __wbg_info_5566be377f5b52ae(arg0, arg1, arg2, arg3) {\n console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));\n};\n\nfunction __wbg_log_7b690f184ae4519b(arg0, arg1, arg2, arg3) {\n console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));\n};\n\nfunction __wbg_debug_7960d327fd96f71a(arg0, arg1, arg2, arg3) {\n console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));\n};\n\n\n\n//# sourceURL=webpack://create-wasm-app/../binding/pkg/binding_bg.js?");
/***/ }),
@@ -35,7 +35,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
\******************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _binding_pkg_binding_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../binding/pkg/binding.js */ \"../binding/pkg/binding.js\");\n\n\ndocument.getElementById(\"browse\").addEventListener(\"change\", handleFiles, false);\n\nvar context = undefined;\nconst update_button = document.getElementById(\"update\");\nconst input = document.getElementById('input');\nconst output = document.getElementById(\"output\");\nconst generate_button = document.getElementById(\"generate\");\nconst max_nodes = document.getElementById(\"max_nodes\");\nconst max_edges = document.getElementById(\"max_edges\");\nconst nodes_count = document.getElementById(\"nodes_count\");\nconst edges_count = document.getElementById(\"edges_count\");\nconst focus = document.getElementById(\"focus\");\nconst focus_options = document.getElementById(\"focus_options\");\nvar currentId = \"\";\nvar lastColor;\n\nfunction handleFiles() {\n const reader = new FileReader();\n reader.onload = (function (x) {\n input.value = x.target.result;\n update_button.click();\n });\n reader.readAsText(this.files[0]);\n}\n\nfunction update_render() {\n max_nodes.value = Math.min(max_nodes.value, max_nodes.max);\n max_edges.value = Math.min(max_edges.value, max_edges.max);\n output.innerHTML = context.render(currentId, max_nodes.value, max_edges.value);\n if (!context.is_error()) {\n svgPanZoom(output.childNodes[0]);\n }\n}\n\nupdate_button.onclick = function () {\n context = _binding_pkg_binding_js__WEBPACK_IMPORTED_MODULE_0__.parse(input.value);\n update_render();\n}\n\ngenerate_button.onclick = function () {\n nodes_count.value = Math.min(nodes_count.value, nodes_count.max);\n edges_count.value = Math.min(edges_count.value, edges_count.max);\n input.value = _binding_pkg_binding_js__WEBPACK_IMPORTED_MODULE_0__.render_random(nodes_count.value, edges_count.value);\n document.getElementById('update').click();\n}\n\nfocus.addEventListener('input', _ => {\n if (!context) {\n return;\n }\n const items = context.find_nodes(focus.value);\n focus_options.innerHTML = items.splice(0, 10)\n .map(v => '' + v + ' ')\n .join('');\n})\n\ndocument.outputClickHandler = id => {\n if (currentId) {\n document.getElementById(currentId).setAttribute('fill', lastColor);\n }\n currentId = id;\n focus.value = id.substr(4);\n update_render();\n const item = document.getElementById(id);\n lastColor = item.getAttribute('fill')\n currentId = id;\n item.setAttribute('fill', 'green')\n}\n\ndocument.visualize = data => {\n input.value = 'digraph g {' + data + '}'\n currentId = '';\n update_button.click()\n}\n\n// create graph we have input (nice for page reload)\nif (input.value.length != 0) {\n update_button.click();\n}\n\n//# sourceURL=webpack://create-wasm-app/./index.js?");
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _binding_pkg_binding_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../binding/pkg/binding.js */ \"../binding/pkg/binding.js\");\n\n\ndocument.getElementById(\"browse\").addEventListener(\"change\", handleFiles, false);\n\nvar context = undefined;\nconst update_button = document.getElementById(\"update\");\nconst input = document.getElementById('input');\nconst output = document.getElementById(\"output\");\nconst generate_button = document.getElementById(\"generate\");\nconst max_nodes = document.getElementById(\"max_nodes\");\nconst max_edges = document.getElementById(\"max_edges\");\nconst nodes_count = document.getElementById(\"nodes_count\");\nconst edges_count = document.getElementById(\"edges_count\");\nconst focus = document.getElementById(\"focus\");\nconst focus_options = document.getElementById(\"focus_options\");\nvar currentId = \"\";\nvar lastColor;\n\nfunction handleFiles() {\n const reader = new FileReader();\n reader.onload = (function (x) {\n input.value = x.target.result;\n update_button.click();\n });\n reader.readAsText(this.files[0]);\n}\n\nfunction update_render() {\n max_nodes.value = Math.min(max_nodes.value, max_nodes.max);\n max_edges.value = Math.min(max_edges.value, max_edges.max);\n output.innerHTML = context.render(currentId, max_nodes.value, max_edges.value);\n if (!context.is_error()) {\n svgPanZoom(output.childNodes[0], { controlIconsEnabled: true, zoomScaleSensitivity: .5, maxZoom: 20 });\n }\n}\n\nupdate_button.onclick = function () {\n focus_options.innerHTML = \"\"\n focus.value = \"\"\n currentId = \"\"\n context = _binding_pkg_binding_js__WEBPACK_IMPORTED_MODULE_0__.parse(input.value);\n update_render();\n}\n\ngenerate_button.onclick = function () {\n nodes_count.value = Math.min(nodes_count.value, nodes_count.max);\n edges_count.value = Math.min(edges_count.value, edges_count.max);\n input.value = _binding_pkg_binding_js__WEBPACK_IMPORTED_MODULE_0__.render_random(nodes_count.value, edges_count.value);\n document.getElementById('update').click();\n}\n\nfocus.addEventListener('input', _ => {\n if (!context) {\n return;\n }\n const items = context.find_nodes(focus.value);\n focus_options.innerHTML = items.splice(0, 10)\n .map(v => '' + v.id() + ' ' + v.label() + ' ')\n .join('');\n})\n\ndocument.outputClickHandler = id => {\n if (currentId) {\n document.getElementById(currentId).setAttribute('fill', lastColor);\n }\n currentId = id;\n focus.value = id.substr(4);\n update_render();\n const item = document.getElementById(id);\n lastColor = item.getAttribute('fill')\n currentId = id;\n item.setAttribute('fill', 'green')\n}\n\ndocument.visualize = data => {\n input.value = 'digraph g {' + data + '}'\n update_button.click()\n}\n\n// create graph on load if we have an input (nice for page reload)\nif (input.value.length != 0) {\n update_button.click();\n}\n\n//# sourceURL=webpack://create-wasm-app/./index.js?");
/***/ }),