3 lines
40 KiB
JavaScript
3 lines
40 KiB
JavaScript
|
|
var e,n,r,t=(e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(n){n=void 0!==(n=n||{})?n:{};var r,t={};for(r in n)n.hasOwnProperty(r)&&(t[r]=n[r]);n.arguments=[],n.thisProgram="./this.program",n.quit=function(e,n){throw n},n.preRun=[],n.postRun=[];var i,a,s=!1,o=!1;s="object"==typeof window,o="function"==typeof importScripts,i="object"==typeof process&&"function"==typeof require&&!s&&!o,a=!s&&!i&&!o;var c,l,f="";function p(e){return n.locateFile?n.locateFile(e,f):f+e}i?(f=__dirname+"/",n.read=function(e,n){var r;return c||(c=require("fs")),l||(l=require("path")),e=l.normalize(e),r=c.readFileSync(e),n?r:r.toString()},n.readBinary=function(e){var r=n.read(e,!0);return r.buffer||(r=new Uint8Array(r)),T(r.buffer),r},process.argv.length>1&&(n.thisProgram=process.argv[1].replace(/\\/g,"/")),n.arguments=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof $n))throw e}),process.on("unhandledRejection",Nn),n.quit=function(e){process.exit(e)},n.inspect=function(){return"[Emscripten Module object]"}):a?("undefined"!=typeof read&&(n.read=function(e){return read(e)}),n.readBinary=function(e){var n;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(T("object"==typeof(n=read(e,"binary"))),n)},"undefined"!=typeof scriptArgs?n.arguments=scriptArgs:void 0!==arguments&&(n.arguments=arguments),"function"==typeof quit&&(n.quit=function(e){quit(e)})):(s||o)&&(o?f=self.location.href:document.currentScript&&(f=document.currentScript.src),e&&(f=e),f=0!==f.indexOf("blob:")?f.substr(0,f.lastIndexOf("/")+1):"",n.read=function(e){var n=new XMLHttpRequest;return n.open("GET",e,!1),n.send(null),n.responseText},o&&(n.readBinary=function(e){var n=new XMLHttpRequest;return n.open("GET",e,!1),n.responseType="arraybuffer",n.send(null),new Uint8Array(n.response)}),n.readAsync=function(e,n,r){var t=new XMLHttpRequest;t.open("GET",e,!0),t.responseType="arraybuffer",t.onload=function(){200==t.status||0==t.status&&t.response?n(t.response):r()},t.onerror=r,t.send(null)},n.setWindowTitle=function(e){document.title=e});var m=n.print||("undefined"!=typeof console?console.log.bind(console):"undefined"!=typeof print?print:null),h=n.printErr||("undefined"!=typeof printErr?printErr:"undefined"!=typeof console&&console.warn.bind(console)||m);for(r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);t=void 0;var v=16;function y(e,n){return n||(n=v),e=Math.ceil(e/n)*n}var g={"f64-rem":function(e,n){return e%n},debugger:function(){}},u=0,E=!1;function T(e,n){e||Nn("Assertion failed: "+n)}var w="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function b(e,n){for(var r=n;e[r];)++r;if(r-n>16&&e.subarray&&w)return w.decode(e.subarray(n,r));for(var t,i,a,s,o,c="";;){if(!(t=e[n++]))return c;if(128&t)if(i=63&e[n++],192!=(224&t))if(a=63&e[n++],224==(240&t)?t=(15&t)<<12|i<<6|a:(s=63&e[n++],240==(248&t)?t=(7&t)<<18|i<<12|a<<6|s:(o=63&e[n++],t=248==(252&t)?(3&t)<<24|i<<18|a<<12|s<<6|o:(1&t)<<30|i<<24|a<<18|s<<12|o<<6|63&e[n++])),t<65536)c+=String.fromCharCode(t);else{var l=t-65536;c+=String.fromCharCode(55296|l>>10,56320|1023&l)}else c+=String.fromCharCode((31&t)<<6|i);else c+=String.fromCharCode(t)}}function C(e){return b(_,e)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var O,d,_,P,$,S,N,R,D,L,F,j,W,M,B=16384,k=65536,G=16777216,V=16777216;function z(e,n){return e%n>0&&(e+=n-e%n),e}function q(e){n.buffer=O=e}function X(){n.HEAP8=d=new Int8Array(O),n.HEAP16=P=new Int16Array(O),n.HEAP32=S=new Int32Array(O),n.HEAPU8=_=new Uint8Array(O),n.HEAPU16=$=new Uint16Array(O),n.HEAPU32=N=new Uint32Array(O),n.HEAPF32=R=new Float32Array(O),n.HEAPF64=D=new Float64Array(O)}L=M=0,n.reallocBuffer||(n.reallocBuffer=function(e){var n;try{var r=d;n=new ArrayBuffer(e),new Int8Array(n).set(r)}catch(e){return!1}return!!Cn(n)&&n});try{Function.prototype.call.bind(Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get)(new ArrayBuffer(4))}catch(e){}var K=n.TOTAL_STACK||5242880,Y=n.TOTAL_MEMORY||16777216;function H(e){for(;e.length>0;){var r=e.shift();if("function"!=typeof r){var t=r.
|
||
|
|
//# sourceMappingURL=webm-worker.js.map
|