diff --git a/300.js b/300.js index fab25ef..596fb81 100644 --- a/300.js +++ b/300.js @@ -1 +1 @@ -"use strict";(self.webpackChunkrust_webpack_template=self.webpackChunkrust_webpack_template||[]).push([[300],{300:(n,e,t)=>{t.r(e),t.d(e,{__wbg_call_1084a111329e68ce:()=>_.tM,__wbg_get_224d16597dbbfd96:()=>_.GB,__wbg_getcolsize_b87b87997b69e977:()=>_.WY,__wbg_getrowsize_656445b44709ad42:()=>_.TF,__wbg_globalThis_86b222e13bdf32ed:()=>_.tn,__wbg_global_e5a3fe56f8be9485:()=>_.jF,__wbg_new_796382978dfd4fb0:()=>_.EP,__wbg_newnoargs_76313bd6ff35d0f2:()=>_.xN,__wbg_now_a69647afb1f66247:()=>_.Rv,__wbg_queueMicrotask_12a30234db4045d3:()=>_.lh,__wbg_queueMicrotask_48421b3cc9052b68:()=>_.tj,__wbg_readctrl_9ad90fc4dc56da8a:()=>_.wF,__wbg_readend_90177d2b28069db6:()=>_.J_,__wbg_readkey_ac8d6e0854eee88e:()=>_.Yb,__wbg_resolve_570458cb99d56a43:()=>_.sN,__wbg_self_3093d5d1f7bcb682:()=>_.KN,__wbg_set_wasm:()=>_.lI,__wbg_then_876bb3c633745cc6:()=>_.$i,__wbg_then_95e6edc0f89b73b1:()=>_.VE,__wbg_timeout_b77bcde72e171799:()=>_.Ic,__wbg_window_3bcfc4d31bc012f8:()=>_.O9,__wbg_write_d352b0c9b14ff07f:()=>_.oh,__wbindgen_cb_drop:()=>_.LC,__wbindgen_closure_wrapper75:()=>_.vB,__wbindgen_debug_string:()=>_.rl,__wbindgen_is_function:()=>_.PR,__wbindgen_is_undefined:()=>_.vU,__wbindgen_object_clone_ref:()=>_.BZ,__wbindgen_object_drop_ref:()=>_.bk,__wbindgen_rethrow:()=>_.PG,__wbindgen_string_new:()=>_.yc,__wbindgen_throw:()=>_.Qn,main_js:()=>_.GT});var r=t(923),_=t(614);(0,_.lI)(r),r.__wbindgen_start()},614:(n,e,t)=>{let r;function _(n){r=n}t.d(e,{tM:()=>D,GB:()=>S,WY:()=>F,TF:()=>E,tn:()=>U,jF:()=>V,EP:()=>K,xN:()=>G,Rv:()=>C,lh:()=>q,tj:()=>B,wF:()=>M,J_:()=>O,Yb:()=>$,sN:()=>Q,KN:()=>J,lI:()=>_,$i:()=>H,VE:()=>Z,Ic:()=>R,O9:()=>L,oh:()=>P,LC:()=>z,vB:()=>tn,rl:()=>X,PR:()=>N,vU:()=>W,BZ:()=>Y,bk:()=>I,PG:()=>en,yc:()=>A,Qn:()=>nn,GT:()=>j}),n=t.hmd(n);const o=new Array(128).fill(void 0);function i(n){return o[n]}o.push(void 0,null,!0,!1);let c=o.length;function u(n){const e=i(n);return function(n){n<132||(o[n]=c,c=n)}(n),e}let f=new("undefined"==typeof TextDecoder?(0,n.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});f.decode();let b=null;function l(){return null!==b&&0!==b.byteLength||(b=new Uint8Array(r.memory.buffer)),b}function d(n,e){return n>>>=0,f.decode(l().subarray(n,n+e))}function s(n){c===o.length&&o.push(o.length+1);const e=c;return c=o[e],o[e]=n,e}function a(n){const e=typeof n;if("number"==e||"boolean"==e||null==n)return`${n}`;if("string"==e)return`"${n}"`;if("symbol"==e){const e=n.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==e){const e=n.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(n)){const e=n.length;let t="[";e>0&&(t+=a(n[0]));for(let r=1;r1))return toString.call(n);if(r=t[1],"Object"==r)try{return"Object("+JSON.stringify(n)+")"}catch(n){return"Object"}return n instanceof Error?`${n.name}: ${n.message}\n${n.stack}`:r}let g=0,w=new("undefined"==typeof TextEncoder?(0,n.require)("util").TextEncoder:TextEncoder)("utf-8");const h="function"==typeof w.encodeInto?function(n,e){return w.encodeInto(n,e)}:function(n,e){const t=w.encode(n);return e.set(t),{read:n.length,written:t.length}};function m(n,e,t){if(void 0===t){const t=w.encode(n),r=e(t.length,1)>>>0;return l().subarray(r,r+t.length).set(t),g=t.length,r}let r=n.length,_=e(r,1)>>>0;const o=l();let i=0;for(;i127)break;o[_+i]=e}if(i!==r){0!==i&&(n=n.slice(i)),_=t(_,r,r=i+3*n.length,1)>>>0;const e=l().subarray(_+i,_+r);i+=h(n,e).written,_=t(_,r,i,1)>>>0}return g=i,_}let y=null;function p(){return(null===y||!0===y.buffer.detached||void 0===y.buffer.detached&&y.buffer!==r.memory.buffer)&&(y=new DataView(r.memory.buffer)),y}const v="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((n=>{r.__wbindgen_export_2.get(n.dtor)(n.a,n.b)}));function k(n,e,t){r._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h201491347e3df00a(n,e,s(t))}function T(n){return()=>{throw new Error(`${n} is not defined`)}}function j(){r.main_js()}function x(n,e){try{return n.apply(this,e)}catch(n){r.__wbindgen_exn_store(s(n))}}const F="function"==typeof term.get_col_size?term.get_col_size:T("term.get_col_size"),E="function"==typeof term.get_row_size?term.get_row_size:T("term.get_row_size");function I(n){u(n)}function z(n){const e=u(n).original;return 1==e.cnt--&&(e.a=0,!0)}function $(n){const e=term.read_key();var t=null==e?0:m(e,r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p().setInt32(n+4,_,!0),p().setInt32(n+0,t,!0)}const M="function"==typeof term.read_ctrl?term.read_ctrl:T("term.read_ctrl"),O="function"==typeof term.read_end?term.read_end:T("term.read_end");function P(n,e){term.write(d(n,e))}function R(){return s(new Promise((n=>setTimeout(n))))}function B(n){return s(i(n).queueMicrotask)}function N(n){return"function"==typeof i(n)}function q(n){queueMicrotask(i(n))}function A(n,e){return s(d(n,e))}function C(n){return i(n).now()}function G(n,e){return s(new Function(d(n,e)))}function S(){return x((function(n,e){return s(Reflect.get(i(n),i(e)))}),arguments)}function D(){return x((function(n,e){return s(i(n).call(i(e)))}),arguments)}function Y(n){return s(i(n))}function J(){return x((function(){return s(self.self)}),arguments)}function L(){return x((function(){return s(window.window)}),arguments)}function U(){return x((function(){return s(globalThis.globalThis)}),arguments)}function V(){return x((function(){return s(t.g.global)}),arguments)}function W(n){return void 0===i(n)}function K(n,e){return s(new Error(d(n,e)))}function Q(n){return s(Promise.resolve(i(n)))}function Z(n,e){return s(i(n).then(i(e)))}function H(n,e,t){return s(i(n).then(i(e),i(t)))}function X(n,e){const t=m(a(i(e)),r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p().setInt32(n+4,_,!0),p().setInt32(n+0,t,!0)}function nn(n,e){throw new Error(d(n,e))}function en(n){throw u(n)}function tn(n,e,t){const _=function(n,e,t,_){const o={a:n,b:e,cnt:1,dtor:15},i=(...n)=>{o.cnt++;const e=o.a;o.a=0;try{return _(e,o.b,...n)}finally{0==--o.cnt?(r.__wbindgen_export_2.get(o.dtor)(e,o.b),v.unregister(o)):o.a=e}};return i.original=o,v.register(i,o,o),i}(n,e,0,k);return s(_)}},923:(n,e,t)=>{var r=t.w[n.id];for(var _ in t.r(e),r)_&&(e[_]=r[_]);t(614),r[""]()}}]); \ No newline at end of file +"use strict";(self.webpackChunkrust_webpack_template=self.webpackChunkrust_webpack_template||[]).push([[300],{300:(n,e,t)=>{t.r(e),t.d(e,{__wbg_call_1084a111329e68ce:()=>_.tM,__wbg_get_224d16597dbbfd96:()=>_.GB,__wbg_getcolsize_b87b87997b69e977:()=>_.WY,__wbg_getrowsize_656445b44709ad42:()=>_.TF,__wbg_globalThis_86b222e13bdf32ed:()=>_.tn,__wbg_global_e5a3fe56f8be9485:()=>_.jF,__wbg_new_796382978dfd4fb0:()=>_.EP,__wbg_newnoargs_76313bd6ff35d0f2:()=>_.xN,__wbg_now_a69647afb1f66247:()=>_.Rv,__wbg_queueMicrotask_12a30234db4045d3:()=>_.lh,__wbg_queueMicrotask_48421b3cc9052b68:()=>_.tj,__wbg_readctrl_9ad90fc4dc56da8a:()=>_.wF,__wbg_readend_90177d2b28069db6:()=>_.J_,__wbg_readkey_ac8d6e0854eee88e:()=>_.Yb,__wbg_resolve_570458cb99d56a43:()=>_.sN,__wbg_self_3093d5d1f7bcb682:()=>_.KN,__wbg_set_wasm:()=>_.lI,__wbg_then_876bb3c633745cc6:()=>_.$i,__wbg_then_95e6edc0f89b73b1:()=>_.VE,__wbg_timeout_b77bcde72e171799:()=>_.Ic,__wbg_window_3bcfc4d31bc012f8:()=>_.O9,__wbg_write_d352b0c9b14ff07f:()=>_.oh,__wbindgen_cb_drop:()=>_.LC,__wbindgen_closure_wrapper78:()=>_.CH,__wbindgen_debug_string:()=>_.rl,__wbindgen_is_function:()=>_.PR,__wbindgen_is_undefined:()=>_.vU,__wbindgen_object_clone_ref:()=>_.BZ,__wbindgen_object_drop_ref:()=>_.bk,__wbindgen_rethrow:()=>_.PG,__wbindgen_string_new:()=>_.yc,__wbindgen_throw:()=>_.Qn,main_js:()=>_.GT});var r=t(923),_=t(614);(0,_.lI)(r),r.__wbindgen_start()},614:(n,e,t)=>{let r;function _(n){r=n}t.d(e,{tM:()=>D,GB:()=>S,WY:()=>F,TF:()=>E,tn:()=>U,jF:()=>V,EP:()=>H,xN:()=>B,Rv:()=>G,lh:()=>q,tj:()=>R,wF:()=>C,J_:()=>M,Yb:()=>$,sN:()=>K,KN:()=>J,lI:()=>_,$i:()=>Z,VE:()=>Q,Ic:()=>P,O9:()=>L,oh:()=>O,LC:()=>z,CH:()=>tn,rl:()=>X,PR:()=>N,vU:()=>W,BZ:()=>Y,bk:()=>I,PG:()=>en,yc:()=>A,Qn:()=>nn,GT:()=>j}),n=t.hmd(n);const o=new Array(128).fill(void 0);function i(n){return o[n]}o.push(void 0,null,!0,!1);let c=o.length;function u(n){const e=i(n);return function(n){n<132||(o[n]=c,c=n)}(n),e}let f=new("undefined"==typeof TextDecoder?(0,n.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});f.decode();let b=null;function l(){return null!==b&&0!==b.byteLength||(b=new Uint8Array(r.memory.buffer)),b}function d(n,e){return n>>>=0,f.decode(l().subarray(n,n+e))}function s(n){c===o.length&&o.push(o.length+1);const e=c;return c=o[e],o[e]=n,e}function a(n){const e=typeof n;if("number"==e||"boolean"==e||null==n)return`${n}`;if("string"==e)return`"${n}"`;if("symbol"==e){const e=n.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==e){const e=n.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(n)){const e=n.length;let t="[";e>0&&(t+=a(n[0]));for(let r=1;r1))return toString.call(n);if(r=t[1],"Object"==r)try{return"Object("+JSON.stringify(n)+")"}catch(n){return"Object"}return n instanceof Error?`${n.name}: ${n.message}\n${n.stack}`:r}let g=0,w=new("undefined"==typeof TextEncoder?(0,n.require)("util").TextEncoder:TextEncoder)("utf-8");const h="function"==typeof w.encodeInto?function(n,e){return w.encodeInto(n,e)}:function(n,e){const t=w.encode(n);return e.set(t),{read:n.length,written:t.length}};function m(n,e,t){if(void 0===t){const t=w.encode(n),r=e(t.length,1)>>>0;return l().subarray(r,r+t.length).set(t),g=t.length,r}let r=n.length,_=e(r,1)>>>0;const o=l();let i=0;for(;i127)break;o[_+i]=e}if(i!==r){0!==i&&(n=n.slice(i)),_=t(_,r,r=i+3*n.length,1)>>>0;const e=l().subarray(_+i,_+r);i+=h(n,e).written,_=t(_,r,i,1)>>>0}return g=i,_}let y=null;function p(){return(null===y||!0===y.buffer.detached||void 0===y.buffer.detached&&y.buffer!==r.memory.buffer)&&(y=new DataView(r.memory.buffer)),y}const k="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((n=>{r.__wbindgen_export_2.get(n.dtor)(n.a,n.b)}));function v(n,e,t){r._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h30c52705d59b98e5(n,e,s(t))}function T(n){return()=>{throw new Error(`${n} is not defined`)}}function j(){r.main_js()}function x(n,e){try{return n.apply(this,e)}catch(n){r.__wbindgen_exn_store(s(n))}}const F="function"==typeof term.get_col_size?term.get_col_size:T("term.get_col_size"),E="function"==typeof term.get_row_size?term.get_row_size:T("term.get_row_size");function I(n){u(n)}function z(n){const e=u(n).original;return 1==e.cnt--&&(e.a=0,!0)}function $(n){const e=term.read_key();var t=null==e?0:m(e,r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p().setInt32(n+4,_,!0),p().setInt32(n+0,t,!0)}const C="function"==typeof term.read_ctrl?term.read_ctrl:T("term.read_ctrl"),M="function"==typeof term.read_end?term.read_end:T("term.read_end");function O(n,e){term.write(d(n,e))}function P(){return s(new Promise((n=>setTimeout(n))))}function R(n){return s(i(n).queueMicrotask)}function N(n){return"function"==typeof i(n)}function q(n){queueMicrotask(i(n))}function A(n,e){return s(d(n,e))}function G(n){return i(n).now()}function B(n,e){return s(new Function(d(n,e)))}function S(){return x((function(n,e){return s(Reflect.get(i(n),i(e)))}),arguments)}function D(){return x((function(n,e){return s(i(n).call(i(e)))}),arguments)}function Y(n){return s(i(n))}function J(){return x((function(){return s(self.self)}),arguments)}function L(){return x((function(){return s(window.window)}),arguments)}function U(){return x((function(){return s(globalThis.globalThis)}),arguments)}function V(){return x((function(){return s(t.g.global)}),arguments)}function W(n){return void 0===i(n)}function H(n,e){return s(new Error(d(n,e)))}function K(n){return s(Promise.resolve(i(n)))}function Q(n,e){return s(i(n).then(i(e)))}function Z(n,e,t){return s(i(n).then(i(e),i(t)))}function X(n,e){const t=m(a(i(e)),r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p().setInt32(n+4,_,!0),p().setInt32(n+0,t,!0)}function nn(n,e){throw new Error(d(n,e))}function en(n){throw u(n)}function tn(n,e,t){const _=function(n,e,t,_){const o={a:n,b:e,cnt:1,dtor:17},i=(...n)=>{o.cnt++;const e=o.a;o.a=0;try{return _(e,o.b,...n)}finally{0==--o.cnt?(r.__wbindgen_export_2.get(o.dtor)(e,o.b),k.unregister(o)):o.a=e}};return i.original=o,k.register(i,o,o),i}(n,e,0,v);return s(_)}},923:(n,e,t)=>{var r=t.w[n.id];for(var _ in t.r(e),r)_&&(e[_]=r[_]);t(614),r[""]()}}]); \ No newline at end of file diff --git a/632d70c022d280ae80cd.module.wasm b/632d70c022d280ae80cd.module.wasm new file mode 100644 index 0000000..f76c7d4 Binary files /dev/null and b/632d70c022d280ae80cd.module.wasm differ diff --git a/e83333a6ec05991484e9.module.wasm b/e83333a6ec05991484e9.module.wasm deleted file mode 100644 index 53dfff1..0000000 Binary files a/e83333a6ec05991484e9.module.wasm and /dev/null differ diff --git a/wasm.js b/wasm.js index 00c0e63..eb32fbd 100644 --- a/wasm.js +++ b/wasm.js @@ -1,2 +1,2 @@ /*! For license information please see wasm.js.LICENSE.txt */ -(()=>{"use strict";var e,t,n,r,o,i,s,a,c,u,d,f,p,l,_,b,g,v,w,m,h,y,x,E,S,k,j,P,T,O,A,M,C,R,L={806:(e,t,n)=>{const r=Symbol("Comlink.proxy"),o=Symbol("Comlink.endpoint"),i=Symbol("Comlink.releaseProxy"),s=Symbol("Comlink.finalizer"),a=Symbol("Comlink.thrown"),c=e=>"object"==typeof e&&null!==e||"function"==typeof e,u=new Map([["proxy",{canHandle:e=>c(e)&&e[r],serialize(e){const{port1:t,port2:n}=new MessageChannel;return d(e,t),[n,[n]]},deserialize:e=>(e.start(),g(e,[],undefined))}],["throw",{canHandle:e=>c(e)&&a in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function d(e,t=globalThis,n=["*"]){t.addEventListener("message",(function o(i){if(!i||!i.data)return;if(!function(e,t){for(const n of e){if(t===n||"*"===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}return!1}(n,i.origin))return void console.warn(`Invalid origin '${i.origin}' for comlink proxy`);const{id:c,type:u,path:p}=Object.assign({path:[]},i.data),l=(i.data.argumentList||[]).map(h);let _;try{const t=p.slice(0,-1).reduce(((e,t)=>e[t]),e),n=p.reduce(((e,t)=>e[t]),e);switch(u){case"GET":_=n;break;case"SET":t[p.slice(-1)[0]]=h(i.data.value),_=!0;break;case"APPLY":_=n.apply(t,l);break;case"CONSTRUCT":_=function(e){return Object.assign(e,{[r]:!0})}(new n(...l));break;case"ENDPOINT":{const{port1:t,port2:n}=new MessageChannel;d(e,n),_=function(e,t){return w.set(e,t),e}(t,[t])}break;case"RELEASE":_=void 0;break;default:return}}catch(e){_={value:e,[a]:0}}Promise.resolve(_).catch((e=>({value:e,[a]:0}))).then((n=>{const[r,i]=m(n);t.postMessage(Object.assign(Object.assign({},r),{id:c}),i),"RELEASE"===u&&(t.removeEventListener("message",o),f(t),s in e&&"function"==typeof e[s]&&e[s]())})).catch((e=>{const[n,r]=m({value:new TypeError("Unserializable return value"),[a]:0});t.postMessage(Object.assign(Object.assign({},n),{id:c}),r)}))})),t.start&&t.start()}function f(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function p(e){if(e)throw new Error("Proxy has been released and is not useable")}function l(e){return y(e,{type:"RELEASE"}).then((()=>{f(e)}))}const _=new WeakMap,b="FinalizationRegistry"in globalThis&&new FinalizationRegistry((e=>{const t=(_.get(e)||0)-1;_.set(e,t),0===t&&l(e)}));function g(e,t=[],n=function(){}){let r=!1;const s=new Proxy(n,{get(n,o){if(p(r),o===i)return()=>{!function(e){b&&b.unregister(e)}(s),l(e),r=!0};if("then"===o){if(0===t.length)return{then:()=>s};const n=y(e,{type:"GET",path:t.map((e=>e.toString()))}).then(h);return n.then.bind(n)}return g(e,[...t,o])},set(n,o,i){p(r);const[s,a]=m(i);return y(e,{type:"SET",path:[...t,o].map((e=>e.toString())),value:s},a).then(h)},apply(n,i,s){p(r);const a=t[t.length-1];if(a===o)return y(e,{type:"ENDPOINT"}).then(h);if("bind"===a)return g(e,t.slice(0,-1));const[c,u]=v(s);return y(e,{type:"APPLY",path:t.map((e=>e.toString())),argumentList:c},u).then(h)},construct(n,o){p(r);const[i,s]=v(o);return y(e,{type:"CONSTRUCT",path:t.map((e=>e.toString())),argumentList:i},s).then(h)}});return function(e,t){const n=(_.get(t)||0)+1;_.set(t,n),b&&b.register(e,t,e)}(s,e),s}function v(e){const t=e.map(m);return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))];var n}const w=new WeakMap;function m(e){for(const[t,n]of u)if(n.canHandle(e)){const[r,o]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},o]}return[{type:"RAW",value:e},w.get(e)||[]]}function h(e){switch(e.type){case"HANDLER":return u.get(e.name).deserialize(e.value);case"RAW":return e.value}}function y(e,t,n){return new Promise((r=>{const o=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");e.addEventListener("message",(function t(n){n.data&&n.data.id&&n.data.id===o&&(e.removeEventListener("message",t),r(n.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:o},t),n)}))}const x=[];let E;d({init:async(e,t,r)=>{self.term={write:e,read_key:()=>{var e;return null===(e=x[0])||void 0===e?void 0:e[0]},read_ctrl:()=>{var e,t;return null!==(t=null===(e=x[0])||void 0===e?void 0:e[1])&&void 0!==t&&t},read_end:()=>{x.shift()},get_col_size:()=>t,get_row_size:()=>r},E=await n.e(300).then(n.bind(n,300))},send_key:async(e,t)=>{x.push([e,t])}})}},N={};function z(e){var t=N[e];if(void 0!==t)return t.exports;var n=N[e]={id:e,loaded:!1,exports:{}};return L[e](n,n.exports,z),n.loaded=!0,n.exports}z.m=L,z.c=N,z.d=(e,t)=>{for(var n in t)z.o(t,n)&&!z.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},z.f={},z.e=e=>Promise.all(Object.keys(z.f).reduce(((t,n)=>(z.f[n](e,t),t)),[])),z.u=e=>e+".js",z.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),z.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),z.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),z.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;z.g.importScripts&&(e=z.g.location+"");var t=z.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),z.p=e})(),(()=>{var e={799:1};z.f.i=(t,n)=>{e[t]||importScripts(z.p+z.u(t))};var t=self.webpackChunkrust_webpack_template=self.webpackChunkrust_webpack_template||[],n=t.push.bind(t);t.push=t=>{var[r,o,i]=t;for(var s in o)z.o(o,s)&&(z.m[s]=o[s]);for(i&&i(z);r.length;)e[r.pop()]=1;n(t)}})(),M={},C={923:function(){return{"./index_bg.js":{__wbg_getcolsize_b87b87997b69e977:function(){return void 0===e&&(e=z.c[614].exports),e.WY()},__wbg_getrowsize_656445b44709ad42:function(){return void 0===t&&(t=z.c[614].exports),t.TF()},__wbindgen_object_drop_ref:function(e){return void 0===n&&(n=z.c[614].exports),n.bk(e)},__wbindgen_cb_drop:function(e){return void 0===r&&(r=z.c[614].exports),r.LC(e)},__wbg_readkey_ac8d6e0854eee88e:function(e){return void 0===o&&(o=z.c[614].exports),o.Yb(e)},__wbg_readctrl_9ad90fc4dc56da8a:function(){return void 0===i&&(i=z.c[614].exports),i.wF()},__wbg_readend_90177d2b28069db6:function(){return void 0===s&&(s=z.c[614].exports),s.J_()},__wbg_write_d352b0c9b14ff07f:function(e,t){return void 0===a&&(a=z.c[614].exports),a.oh(e,t)},__wbg_timeout_b77bcde72e171799:function(){return void 0===c&&(c=z.c[614].exports),c.Ic()},__wbg_queueMicrotask_48421b3cc9052b68:function(e){return void 0===u&&(u=z.c[614].exports),u.tj(e)},__wbindgen_is_function:function(e){return void 0===d&&(d=z.c[614].exports),d.PR(e)},__wbg_queueMicrotask_12a30234db4045d3:function(e){return void 0===f&&(f=z.c[614].exports),f.lh(e)},__wbindgen_string_new:function(e,t){return void 0===p&&(p=z.c[614].exports),p.yc(e,t)},__wbg_now_a69647afb1f66247:function(e){return void 0===l&&(l=z.c[614].exports),l.Rv(e)},__wbg_newnoargs_76313bd6ff35d0f2:function(e,t){return void 0===_&&(_=z.c[614].exports),_.xN(e,t)},__wbg_get_224d16597dbbfd96:function(e,t){return void 0===b&&(b=z.c[614].exports),b.GB(e,t)},__wbg_call_1084a111329e68ce:function(e,t){return void 0===g&&(g=z.c[614].exports),g.tM(e,t)},__wbindgen_object_clone_ref:function(e){return void 0===v&&(v=z.c[614].exports),v.BZ(e)},__wbg_self_3093d5d1f7bcb682:function(){return void 0===w&&(w=z.c[614].exports),w.KN()},__wbg_window_3bcfc4d31bc012f8:function(){return void 0===m&&(m=z.c[614].exports),m.O9()},__wbg_globalThis_86b222e13bdf32ed:function(){return void 0===h&&(h=z.c[614].exports),h.tn()},__wbg_global_e5a3fe56f8be9485:function(){return void 0===y&&(y=z.c[614].exports),y.jF()},__wbindgen_is_undefined:function(e){return void 0===x&&(x=z.c[614].exports),x.vU(e)},__wbg_new_796382978dfd4fb0:function(e,t){return void 0===E&&(E=z.c[614].exports),E.EP(e,t)},__wbg_resolve_570458cb99d56a43:function(e){return void 0===S&&(S=z.c[614].exports),S.sN(e)},__wbg_then_95e6edc0f89b73b1:function(e,t){return void 0===k&&(k=z.c[614].exports),k.VE(e,t)},__wbg_then_876bb3c633745cc6:function(e,t,n){return void 0===j&&(j=z.c[614].exports),j.$i(e,t,n)},__wbindgen_debug_string:function(e,t){return void 0===P&&(P=z.c[614].exports),P.rl(e,t)},__wbindgen_throw:function(e,t){return void 0===T&&(T=z.c[614].exports),T.Qn(e,t)},__wbindgen_rethrow:function(e){return void 0===O&&(O=z.c[614].exports),O.PG(e)},__wbindgen_closure_wrapper75:function(e,t,n){return void 0===A&&(A=z.c[614].exports),A.vB(e,t,n)}}}}},R={300:[923]},z.w={},z.f.wasm=function(e,t){(R[e]||[]).forEach((function(n,r){var o=M[n];if(o)t.push(o);else{var i,s=C[n](),a=fetch(z.p+""+{300:{923:"e83333a6ec05991484e9"}}[e][n]+".module.wasm");i=s&&"function"==typeof s.then&&"function"==typeof WebAssembly.compileStreaming?Promise.all([WebAssembly.compileStreaming(a),s]).then((function(e){return WebAssembly.instantiate(e[0],e[1])})):"function"==typeof WebAssembly.instantiateStreaming?WebAssembly.instantiateStreaming(a,s):a.then((function(e){return e.arrayBuffer()})).then((function(e){return WebAssembly.instantiate(e,s)})),t.push(M[n]=i.then((function(e){return z.w[n]=(e.instance||e).exports})))}}))},z(806)})(); \ No newline at end of file +(()=>{"use strict";var e,t,n,r,o,i,s,a,c,u,d,f,p,l,_,b,g,w,v,m,h,y,x,E,S,k,j,P,T,O,A,M,C,R,L={806:(e,t,n)=>{const r=Symbol("Comlink.proxy"),o=Symbol("Comlink.endpoint"),i=Symbol("Comlink.releaseProxy"),s=Symbol("Comlink.finalizer"),a=Symbol("Comlink.thrown"),c=e=>"object"==typeof e&&null!==e||"function"==typeof e,u=new Map([["proxy",{canHandle:e=>c(e)&&e[r],serialize(e){const{port1:t,port2:n}=new MessageChannel;return d(e,t),[n,[n]]},deserialize:e=>(e.start(),g(e,[],undefined))}],["throw",{canHandle:e=>c(e)&&a in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function d(e,t=globalThis,n=["*"]){t.addEventListener("message",(function o(i){if(!i||!i.data)return;if(!function(e,t){for(const n of e){if(t===n||"*"===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}return!1}(n,i.origin))return void console.warn(`Invalid origin '${i.origin}' for comlink proxy`);const{id:c,type:u,path:p}=Object.assign({path:[]},i.data),l=(i.data.argumentList||[]).map(h);let _;try{const t=p.slice(0,-1).reduce(((e,t)=>e[t]),e),n=p.reduce(((e,t)=>e[t]),e);switch(u){case"GET":_=n;break;case"SET":t[p.slice(-1)[0]]=h(i.data.value),_=!0;break;case"APPLY":_=n.apply(t,l);break;case"CONSTRUCT":_=function(e){return Object.assign(e,{[r]:!0})}(new n(...l));break;case"ENDPOINT":{const{port1:t,port2:n}=new MessageChannel;d(e,n),_=function(e,t){return v.set(e,t),e}(t,[t])}break;case"RELEASE":_=void 0;break;default:return}}catch(e){_={value:e,[a]:0}}Promise.resolve(_).catch((e=>({value:e,[a]:0}))).then((n=>{const[r,i]=m(n);t.postMessage(Object.assign(Object.assign({},r),{id:c}),i),"RELEASE"===u&&(t.removeEventListener("message",o),f(t),s in e&&"function"==typeof e[s]&&e[s]())})).catch((e=>{const[n,r]=m({value:new TypeError("Unserializable return value"),[a]:0});t.postMessage(Object.assign(Object.assign({},n),{id:c}),r)}))})),t.start&&t.start()}function f(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function p(e){if(e)throw new Error("Proxy has been released and is not useable")}function l(e){return y(e,{type:"RELEASE"}).then((()=>{f(e)}))}const _=new WeakMap,b="FinalizationRegistry"in globalThis&&new FinalizationRegistry((e=>{const t=(_.get(e)||0)-1;_.set(e,t),0===t&&l(e)}));function g(e,t=[],n=function(){}){let r=!1;const s=new Proxy(n,{get(n,o){if(p(r),o===i)return()=>{!function(e){b&&b.unregister(e)}(s),l(e),r=!0};if("then"===o){if(0===t.length)return{then:()=>s};const n=y(e,{type:"GET",path:t.map((e=>e.toString()))}).then(h);return n.then.bind(n)}return g(e,[...t,o])},set(n,o,i){p(r);const[s,a]=m(i);return y(e,{type:"SET",path:[...t,o].map((e=>e.toString())),value:s},a).then(h)},apply(n,i,s){p(r);const a=t[t.length-1];if(a===o)return y(e,{type:"ENDPOINT"}).then(h);if("bind"===a)return g(e,t.slice(0,-1));const[c,u]=w(s);return y(e,{type:"APPLY",path:t.map((e=>e.toString())),argumentList:c},u).then(h)},construct(n,o){p(r);const[i,s]=w(o);return y(e,{type:"CONSTRUCT",path:t.map((e=>e.toString())),argumentList:i},s).then(h)}});return function(e,t){const n=(_.get(t)||0)+1;_.set(t,n),b&&b.register(e,t,e)}(s,e),s}function w(e){const t=e.map(m);return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))];var n}const v=new WeakMap;function m(e){for(const[t,n]of u)if(n.canHandle(e)){const[r,o]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},o]}return[{type:"RAW",value:e},v.get(e)||[]]}function h(e){switch(e.type){case"HANDLER":return u.get(e.name).deserialize(e.value);case"RAW":return e.value}}function y(e,t,n){return new Promise((r=>{const o=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");e.addEventListener("message",(function t(n){n.data&&n.data.id&&n.data.id===o&&(e.removeEventListener("message",t),r(n.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:o},t),n)}))}const x=[];let E;d({init:async(e,t,r)=>{self.term={write:e,read_key:()=>{var e;return null===(e=x[0])||void 0===e?void 0:e[0]},read_ctrl:()=>{var e,t;return null!==(t=null===(e=x[0])||void 0===e?void 0:e[1])&&void 0!==t&&t},read_end:()=>{x.shift()},get_col_size:()=>t,get_row_size:()=>r},E=await n.e(300).then(n.bind(n,300))},send_key:async(e,t)=>{x.push([e,t])}})}},N={};function z(e){var t=N[e];if(void 0!==t)return t.exports;var n=N[e]={id:e,loaded:!1,exports:{}};return L[e](n,n.exports,z),n.loaded=!0,n.exports}z.m=L,z.c=N,z.d=(e,t)=>{for(var n in t)z.o(t,n)&&!z.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},z.f={},z.e=e=>Promise.all(Object.keys(z.f).reduce(((t,n)=>(z.f[n](e,t),t)),[])),z.u=e=>e+".js",z.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),z.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),z.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),z.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;z.g.importScripts&&(e=z.g.location+"");var t=z.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),z.p=e})(),(()=>{var e={799:1};z.f.i=(t,n)=>{e[t]||importScripts(z.p+z.u(t))};var t=self.webpackChunkrust_webpack_template=self.webpackChunkrust_webpack_template||[],n=t.push.bind(t);t.push=t=>{var[r,o,i]=t;for(var s in o)z.o(o,s)&&(z.m[s]=o[s]);for(i&&i(z);r.length;)e[r.pop()]=1;n(t)}})(),M={},C={923:function(){return{"./index_bg.js":{__wbg_getcolsize_b87b87997b69e977:function(){return void 0===e&&(e=z.c[614].exports),e.WY()},__wbg_getrowsize_656445b44709ad42:function(){return void 0===t&&(t=z.c[614].exports),t.TF()},__wbindgen_object_drop_ref:function(e){return void 0===n&&(n=z.c[614].exports),n.bk(e)},__wbindgen_cb_drop:function(e){return void 0===r&&(r=z.c[614].exports),r.LC(e)},__wbg_readkey_ac8d6e0854eee88e:function(e){return void 0===o&&(o=z.c[614].exports),o.Yb(e)},__wbg_readctrl_9ad90fc4dc56da8a:function(){return void 0===i&&(i=z.c[614].exports),i.wF()},__wbg_readend_90177d2b28069db6:function(){return void 0===s&&(s=z.c[614].exports),s.J_()},__wbg_write_d352b0c9b14ff07f:function(e,t){return void 0===a&&(a=z.c[614].exports),a.oh(e,t)},__wbg_timeout_b77bcde72e171799:function(){return void 0===c&&(c=z.c[614].exports),c.Ic()},__wbg_queueMicrotask_48421b3cc9052b68:function(e){return void 0===u&&(u=z.c[614].exports),u.tj(e)},__wbindgen_is_function:function(e){return void 0===d&&(d=z.c[614].exports),d.PR(e)},__wbg_queueMicrotask_12a30234db4045d3:function(e){return void 0===f&&(f=z.c[614].exports),f.lh(e)},__wbindgen_string_new:function(e,t){return void 0===p&&(p=z.c[614].exports),p.yc(e,t)},__wbg_now_a69647afb1f66247:function(e){return void 0===l&&(l=z.c[614].exports),l.Rv(e)},__wbg_newnoargs_76313bd6ff35d0f2:function(e,t){return void 0===_&&(_=z.c[614].exports),_.xN(e,t)},__wbg_get_224d16597dbbfd96:function(e,t){return void 0===b&&(b=z.c[614].exports),b.GB(e,t)},__wbg_call_1084a111329e68ce:function(e,t){return void 0===g&&(g=z.c[614].exports),g.tM(e,t)},__wbindgen_object_clone_ref:function(e){return void 0===w&&(w=z.c[614].exports),w.BZ(e)},__wbg_self_3093d5d1f7bcb682:function(){return void 0===v&&(v=z.c[614].exports),v.KN()},__wbg_window_3bcfc4d31bc012f8:function(){return void 0===m&&(m=z.c[614].exports),m.O9()},__wbg_globalThis_86b222e13bdf32ed:function(){return void 0===h&&(h=z.c[614].exports),h.tn()},__wbg_global_e5a3fe56f8be9485:function(){return void 0===y&&(y=z.c[614].exports),y.jF()},__wbindgen_is_undefined:function(e){return void 0===x&&(x=z.c[614].exports),x.vU(e)},__wbg_new_796382978dfd4fb0:function(e,t){return void 0===E&&(E=z.c[614].exports),E.EP(e,t)},__wbg_resolve_570458cb99d56a43:function(e){return void 0===S&&(S=z.c[614].exports),S.sN(e)},__wbg_then_95e6edc0f89b73b1:function(e,t){return void 0===k&&(k=z.c[614].exports),k.VE(e,t)},__wbg_then_876bb3c633745cc6:function(e,t,n){return void 0===j&&(j=z.c[614].exports),j.$i(e,t,n)},__wbindgen_debug_string:function(e,t){return void 0===P&&(P=z.c[614].exports),P.rl(e,t)},__wbindgen_throw:function(e,t){return void 0===T&&(T=z.c[614].exports),T.Qn(e,t)},__wbindgen_rethrow:function(e){return void 0===O&&(O=z.c[614].exports),O.PG(e)},__wbindgen_closure_wrapper78:function(e,t,n){return void 0===A&&(A=z.c[614].exports),A.CH(e,t,n)}}}}},R={300:[923]},z.w={},z.f.wasm=function(e,t){(R[e]||[]).forEach((function(n,r){var o=M[n];if(o)t.push(o);else{var i,s=C[n](),a=fetch(z.p+""+{300:{923:"632d70c022d280ae80cd"}}[e][n]+".module.wasm");i=s&&"function"==typeof s.then&&"function"==typeof WebAssembly.compileStreaming?Promise.all([WebAssembly.compileStreaming(a),s]).then((function(e){return WebAssembly.instantiate(e[0],e[1])})):"function"==typeof WebAssembly.instantiateStreaming?WebAssembly.instantiateStreaming(a,s):a.then((function(e){return e.arrayBuffer()})).then((function(e){return WebAssembly.instantiate(e,s)})),t.push(M[n]=i.then((function(e){return z.w[n]=(e.instance||e).exports})))}}))},z(806)})(); \ No newline at end of file