Telegram Web, preconfigured for usage in I2P. http://web.telegram.i2p/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
293 KiB

var OGVDecoderVideoVP8
(function() {
var scriptSrc;
if (typeof document !== 'undefined' && document.currentScript) scriptSrc = document.currentScript.src;
OGVDecoderVideoVP8 = function(OGVDecoderVideoVP8) {
OGVDecoderVideoVP8 = OGVDecoderVideoVP8 || {};
if (!OGVDecoderVideoVP8.currentScriptUrl) OGVDecoderVideoVP8.currentScriptUrl = scriptSrc;
var Module = OGVDecoderVideoVP8;
var options=Module;Module={print:(function(str){console.log(str)})};if(typeof OGVLoader!=="undefined"){Module["pthreadMainPrefixURL"]=OGVLoader.base+"/"}if(options["memoryLimit"]&&!options.wasmBinary){Module["TOTAL_MEMORY"]=options["memoryLimit"]}for(option in options){if(options.hasOwnProperty(option)){Module[option]=options[option]}}var Math_imul_orig=Math.imul;var OGVDecoderVideoVP8=Module;var Module;if(!Module)Module=(typeof OGVDecoderVideoVP8!=="undefined"?OGVDecoderVideoVP8:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else if(Module["ENVIRONMENT"]==="PTHREAD"){ENVIRONMENT_IS_WORKER=true;ENVIRONMENT_IS_PTHREAD=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);return binary?ret:ret.toString()};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function shell_read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof quit==="function"){Module["quit"]=(function(status,toThrow){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return xhr.response}}Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function shell_print(x){console.log(x)};if(!Module["printEr
var asm=(function(global,env,buffer) {
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.DYNAMICTOP_PTR|0;var j=env.tempDoublePtr|0;var k=env.ABORT|0;var l=env.STACKTOP|0;var m=env.STACK_MAX|0;var n=env.cttz_i8|0;var o=0;var p=0;var q=0;var r=0;var s=global.NaN,t=global.Infinity;var u=0,v=0,w=0,x=0,y=0.0,z=0,A=0,B=0,C=0.0;var D=0;var E=global.Math.floor;var F=global.Math.abs;var G=global.Math.sqrt;var H=global.Math.pow;var I=global.Math.cos;var J=global.Math.sin;var K=global.Math.tan;var L=global.Math.acos;var M=global.Math.asin;var N=global.Math.atan;var O=global.Math.atan2;var P=global.Math.exp;var Q=global.Math.log;var R=global.Math.ceil;var S=global.Math.imul;var T=global.Math.min;var U=global.Math.max;var V=global.Math.clz32;var W=env.abort;var X=env.assert;var Y=env.enlargeMemory;var Z=env.getTotalMemory;var _=env.abortOnCannotGrowMemory;var $=env.invoke_iiii;var aa=env.invoke_vi;var ba=env.invoke_vii;var ca=env.invoke_ii;var da=env.invoke_v;var ea=env.invoke_viiiiii;var fa=env.invoke_iii;var ga=env.invoke_iiiiii;var ha=env.invoke_viiii;var ia=env._ogvjs_callback_frame;var ja=env._longjmp;var ka=env.___syscall6;var la=env.___setErrNo;var ma=env._abort;var na=env._emscripten_memcpy_big;var oa=env.___syscall54;var pa=env.___syscall140;var qa=env.___syscall146;var ra=0.0;
// EMSCRIPTEN_START_FUNCS
function Ba(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function Ca(){return l|0}function Da(a){a=a|0;l=a}function Ea(a,b){a=a|0;b=b|0;l=a;m=b}function Fa(a,b){a=a|0;b=b|0;if(!o){o=a;p=b}}function Ga(a){a=a|0;D=a}function Ha(){return D|0}function Ia(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;if((f|0)==10)if((a|0)!=0&(b|0)!=0)if((c[b+4>>2]|0)==5){f=c[b+8>>2]|0;if((!((e&65536|0)!=0&(f&262144|0)==0)?!((e&131072|0)!=0&(f&524288|0)==0):0)?!((f&1|0)==0|(e&262144|0)!=0&(f&1048576|0)==0):0){f=a+8|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[a+4>>2]=b;c[a>>2]=c[b>>2];f=a+24|0;c[f>>2]=0;c[a+16>>2]=e;c[a+20>>2]=d;d=ya[c[b+12>>2]&15](a,0)|0;if(!d)g=0;else{b=c[f>>2]|0;if(!b)h=0;else h=c[b>>2]|0;c[a+12>>2]=h;La(a)|0;g=d}}else g=4}else g=3;else{i=8;j=11}else{i=3;j=11}if((j|0)==11)if(!a){k=i;return k|0}else g=i;c[a+8>>2]=g;k=g;return k|0}function Ja(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;if(!a){g=8;return g|0}if((b|0)==0^(d|0)!=0){h=c[a+4>>2]|0;if((h|0)!=0?(i=c[a+24>>2]|0,(i|0)!=0):0)j=za[c[h+32>>2]&3](i,b,d,e,f)|0;else j=1}else j=8;c[a+8>>2]=j;g=j;return g|0}function Ka(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((a|0)!=0&(b|0)!=0)){d=0;return d|0}e=c[a+4>>2]|0;if(!e){d=0;return d|0}f=c[a+24>>2]|0;if(!f){d=0;return d|0}d=ya[c[e+36>>2]&15](f,b)|0;return d|0}function La(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;if(!a){b=8;return b|0}d=a+4|0;e=c[d>>2]|0;if((e|0)!=0?(f=a+24|0,g=c[f>>2]|0,(g|0)!=0):0){va[c[e+16>>2]&3](g)|0;c[d>>2]=0;c[a>>2]=0;c[f>>2]=0;h=0}else h=1;c[a+8>>2]=h;b=h;return b|0}function Ma(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=l;l=l+16|0;h=g;c[b>>2]=d;d=b+4|0;c[d>>2]=0;if(e|0){c[d>>2]=1;c[h>>2]=f;td(b+8|0,79,e,h)|0;a[b+87>>0]=0}if(!(c[b+88>>2]|0)){l=g;return}else ja(b+92|0,c[b>>2]|0)}function Na(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=ie(a|0,0,3,0)|0;e=ie(d|0,D|0,b|0,0)|0;b=D;if(!((b>>>0<0|(b|0)==0&e>>>0<2147418113)&((e|0)==(e|0)&(b|0)==0))){f=0;return f|0}b=be(e)|0;e=a+-1+(b+4)&0-a;if(!b){f=0;return f|0}c[e+-4>>2]=b;f=e;return f|0}function Oa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if(a|0?(d=S(b,a)|0,e=(a|0)==0,f=re(2147418112,0,a|0,0)|0,g=D,(e?0:((d>>>0)/((e?1:a)>>>0)|0|0)!=(b|0))|(g>>>0<0|(g|0)==0&f>>>0<b>>>0)):0){h=0;return h|0}f=S(b,a)|0;a=ie(f|0,0,11,0)|0;b=D;if(!((b>>>0<0|(b|0)==0&a>>>0<2147418113)&((a|0)==(a|0)&(b|0)==0))){h=0;return h|0}b=be(a)|0;a=b+4+7&-8;g=a;if(!b){h=0;return h|0}c[g+-4>>2]=b;if(!a){h=0;return h|0}je(g|0,0,f|0)|0;h=g;return h|0}function Pa(a){a=a|0;if(!a)return;ce(c[a+-4>>2]|0);return}function Qa(a){a=a|0;var b=0,d=0;if(!a){b=-1;return b|0}if((c[a+72>>2]|0)>0)Pa(c[a+68>>2]|0);d=a;a=d+120|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(a|0));b=0;return b|0}function Ra(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(!a){f=-2;return f|0}g=b+15&-16;h=d+15&-16;i=e<<1;j=g+31+i&-32;k=S(j,h+i|0)|0;i=g>>1;l=h>>1;m=j>>1;n=S(m,l+e|0)|0;o=(n<<1)+k|0;p=a+68|0;q=c[p>>2]|0;if(!q){r=Na(32,o)|0;c[p>>2]=r;c[a+72>>2]=o;if(!r){f=-1;return f|0}else s=r}else if((c[a+72>>2]|0)<(o|0)){f=-1;return f|0}else s=q;if(e&31|0){f=-3;return f|0}c[a+8>>2]=b;c[a+12>>2]=d;c[a>>2]=g;c[a+4>>2]=h;c[a+16>>2]=j;c[a+28>>2]=(b+1|0)/2|0;c[a+32>>2]=(d+1|0)/2|0;c[a+20>>2]=i;c[a+24>>2]=l;c[a+36>>2]=m;c[a+40>>2]=0;c[a+44>>2]=0;c[a+48>>2]=0;c[a+76>>2]=e;c[a+80>>2]=o;c[a+52>>2]=s+(S(j,e)|0)+e;j=s+k|0;k=(e|0)/2|0;e=S(m,k)|0;c[a+56>>2]=j+e+k;c[a+60>>2]=j+n+e+k;c[a+64>>2]=0;c[a+112>>2]=0;f=0;return f|0}function Sa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(!a){f=-2;return f|0}if((c[a+72>>2]|0)>0)Pa(c[a+68>>2]|0);g=a;h=g+120|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));f=Ra(a,b,d,e)|0;return f|0}function Ta(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;d=c[b+76>>2]|0;e=(d|0)/2|0;f=c[b+52>>2]|0;g=c[b+16>>2]|0;h=c[b+8>>2]|0;i=c[b+12>>2]|0;j=d-i+(c[b+4>>2]|0)|0;k=(c[b>>2]|0)+d|0;l=k-h|0;m=k+d|0;k=f+h|0;h=0-d|0;n=f+h|0;if((i|0)>0){o=n;p=k;q=0;r=f;s=k+-1|0;while(1){je(o|0,a[r>>0]|0,d|0)|0;je(p|0,a[s>>0]|0,l|0)|0;q=q+1|0;if((q|0)==(i|0))break;else{o=o+g|0;p=p+g|0;r=r+g|0;s=s+g|0}}}s=f+(S(i+-1|0,g)|0)+h|0;r=
function zc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=l;l=l+128|0;e=d;f=(c[b>>2]|0)+(4-1)&~(4-1);g=c[f>>2]|0;c[b>>2]=f+4;if(!g){h=8;l=d;return h|0}f=c[g+28>>2]|0;b=c[g+32>>2]|0;i=(f+1|0)>>>1;j=(b+1|0)>>>1;c[e+52>>2]=c[g+52>>2];c[e+56>>2]=c[g+56>>2];c[e+60>>2]=c[g+60>>2];c[e+8>>2]=f;c[e+12>>2]=b;c[e>>2]=f;c[e+4>>2]=b;c[e+28>>2]=i;c[e+32>>2]=j;c[e+20>>2]=i;c[e+24>>2]=j;j=c[g+68>>2]|0;c[e+16>>2]=j;c[e+36>>2]=c[g+72>>2];c[e+76>>2]=(j-f|0)>>>1;h=Yc(c[a+348>>2]|0,c[g>>2]|0,e)|0;l=d;return h|0}function Ac(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=l;l=l+128|0;e=d;f=(c[b>>2]|0)+(4-1)&~(4-1);g=c[f>>2]|0;c[b>>2]=f+4;if(!g){h=8;l=d;return h|0}f=c[g+28>>2]|0;b=c[g+32>>2]|0;i=(f+1|0)>>>1;j=(b+1|0)>>>1;c[e+52>>2]=c[g+52>>2];c[e+56>>2]=c[g+56>>2];c[e+60>>2]=c[g+60>>2];c[e+8>>2]=f;c[e+12>>2]=b;c[e>>2]=f;c[e+4>>2]=b;c[e+28>>2]=i;c[e+32>>2]=j;c[e+20>>2]=i;c[e+24>>2]=j;j=c[g+68>>2]|0;c[e+16>>2]=j;c[e+36>>2]=c[g+72>>2];c[e+76>>2]=(j-f|0)>>>1;h=Xc(c[a+348>>2]|0,c[g>>2]|0,e)|0;l=d;return h|0}function Bc(a,b){a=a|0;b=b|0;return 4}function Cc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(!e){f=8;return f|0}d=c[a+348>>2]|0;c[e>>2]=(c[d+9152>>2]<<1)+(c[d+9156>>2]<<2)+(c[d+9148>>2]|0);f=0;return f|0}function Dc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;d=c[a+348>>2]|0;if(!((e|0)!=0&(d|0)!=0)){f=8;return f|0}a=c[d+5060>>2]|0;if(!a){f=1;return f|0}c[e>>2]=c[a+112>>2];f=0;return f|0}function Ec(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(!e){f=8;return f|0}d=(c[a+348>>2]|0)+3248|0;a=($c(d,3)|0)!=0;b=($c(d,2)|0)!=0;c[e>>2]=(b?2:0)|(a?4:0)|($c(d,1)|0)!=0;f=0;return f|0}function Fc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(!e){c[a+232>>2]=0;f=0;g=a+236|0;c[g>>2]=f;return 0}else{c[a+232>>2]=c[e>>2];f=c[e+4>>2]|0;g=a+236|0;c[g>>2]=f;return 0}return 0}function Gc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;Sb();sb();Va();b=a+24|0;if(c[b>>2]|0){d=0;return d|0}e=Oa(1,560)|0;if(!e){d=2;return d|0}c[b>>2]=e;c[e+4>>2]=c[a+16>>2];c[e+196>>2]=16;c[e+232>>2]=0;c[e+236>>2]=0;f=a+20|0;a=c[f>>2]|0;if(!a)g=e;else{h=e+184|0;c[h>>2]=c[a>>2];c[h+4>>2]=c[a+4>>2];c[h+8>>2]=c[a+8>>2];c[f>>2]=h;g=c[b>>2]|0}c[g+484>>2]=0;c[g+480>>2]=c[g+4>>2]&262144;d=0;return d|0}function Hc(a){a=a|0;cd(a+348|0)|0;Pa(a);return 0}function Ic(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;if((e|0)<1){g=8;return g|0}h=f+12|0;c[h>>2]=0;if(e>>>0<=9){g=5;return g|0}if(a[b>>0]&1){g=5;return g|0}c[h>>2]=1;if((a[b+3>>0]|0)!=-99){g=5;return g|0}if((a[b+4>>0]|0)!=1){g=5;return g|0}if((a[b+5>>0]|0)!=42){g=5;return g|0}h=d[b+7>>0]<<8&16128|d[b+6>>0];c[f+4>>2]=h;e=d[b+9>>0]<<8&16128|d[b+8>>0];c[f+8>>2]=e;g=(h|0)==0|(e|0)==0?7:0;return g|0}function Jc(a,b){a=a|0;b=b|0;var d=0;d=a+196|0;c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b>>2]=16;return 0}function Kc(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,ba=0,ca=0,da=0,ea=0,ia=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0;i=l;l=l+64|0;j=i+16|0;k=i+8|0;m=i;n=4;q=be(40)|0;c[q>>2]=0;r=i+48|0;s=i+24|0;t=b+480|0;u=c[t>>2]|0;v=(e|0)==0;if(v&(u|f|0)==0){w=0;ce(q|0);l=i;return w|0}x=b+484|0;y=c[x>>2]|0;if(!y){z=b+488|0;A=z+72|0;do{c[z>>2]=0;z=z+4|0}while((z|0)<(A|0))}B=(u|0)!=0;if(!(v&(f|0)==0|B^1)){c[b+488+(y<<2)>>2]=e;c[b+524+(c[x>>2]<<2)>>2]=f;y=(c[x>>2]|0)+1|0;v=y>>>0>9;c[x>>2]=v?0:y;ce(q|0);l=i;return (v?8:0)|0}v=b+488|0;if(B){C=c[v>>2]|0;E=c[b+524>>2]|0}else{c[v>>2]=e;c[b+524>>2]=f;c[x>>2]=1;C=e;E=f}v=b+200|0;B=c[v>>2]|0;y=b+204|0;u=c[y>>2]|0;F=b+232|0;G=c[F>>2]|0;H=b+236|0;I=c[H>>2]|0;do if((E|0)<1){J=8;K=21}else{if(!G)L=C;else{o=0;ha(G|0,I|0,C|0,r|0,(E>>>0<10?E:10)|0);M=o;o=0;if((M|0)!=0&(p|0)!=0){N=ne(c[M>>2]|0,q|0,n|0)|0;if(!N)ja(M|0,p|0);D=p}else N=-1;if((N|0)==1){O=D;P=0;Q=0;R=0;S=0;T=0;U=0;break}L=r}M=b+208|0;c[M>>2
function vd(d,e,f,g,i){d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0;j=l;l=l+64|0;k=j+16|0;m=j;n=j+24|0;o=j+8|0;p=j+20|0;c[k>>2]=e;q=(d|0)!=0;r=n+40|0;s=r;t=n+39|0;n=o+4|0;u=e;e=0;v=0;w=0;a:while(1){do if((e|0)>-1)if((v|0)>(2147483647-e|0)){c[(nd()|0)>>2]=75;x=-1;break}else{x=v+e|0;break}else x=e;while(0);y=a[u>>0]|0;if(!(y<<24>>24)){z=87;break}else{A=y;B=u}b:while(1){switch(A<<24>>24){case 37:{C=B;E=B;z=9;break b;break}case 0:{F=B;G=B;break b;break}default:{}}y=B+1|0;c[k>>2]=y;A=a[y>>0]|0;B=y}c:do if((z|0)==9)while(1){z=0;if((a[C+1>>0]|0)!=37){F=C;G=E;break c}y=E+1|0;H=C+2|0;c[k>>2]=H;if((a[H>>0]|0)==37){C=H;E=y;z=9}else{F=H;G=y;break}}while(0);y=G-u|0;if(q)yd(d,u,y);if(y|0){u=F;e=x;v=y;continue}y=F+1|0;H=(a[y>>0]|0)+-48|0;if(H>>>0<10){I=(a[F+2>>0]|0)==36;J=I?H:-1;K=I?1:w;L=I?F+3|0:y}else{J=-1;K=w;L=y}c[k>>2]=L;y=a[L>>0]|0;I=(y<<24>>24)+-32|0;d:do if(I>>>0<32){H=y;M=0;N=L;O=I;while(1){P=1<<O;if(!(P&75913)){Q=H;R=N;S=M;break d}T=P|M;P=N+1|0;c[k>>2]=P;U=a[P>>0]|0;O=(U<<24>>24)+-32|0;if(O>>>0>=32){Q=U;R=P;S=T;break}else{H=U;M=T;N=P}}}else{Q=y;R=L;S=0}while(0);if(Q<<24>>24==42){y=R+1|0;I=(a[y>>0]|0)+-48|0;if(I>>>0<10?(a[R+2>>0]|0)==36:0){c[i+(I<<2)>>2]=10;V=1;W=R+3|0;X=c[g+((a[y>>0]|0)+-48<<3)>>2]|0}else{if(K|0){Y=-1;break}if(q){I=(c[f>>2]|0)+(4-1)&~(4-1);N=c[I>>2]|0;c[f>>2]=I+4;V=0;W=y;X=N}else{V=0;W=y;X=0}}c[k>>2]=W;y=(X|0)<0;Z=W;_=y?S|8192:S;$=V;aa=y?0-X|0:X}else{y=zd(k)|0;if((y|0)<0){Y=-1;break}Z=c[k>>2]|0;_=S;$=K;aa=y}do if((a[Z>>0]|0)==46){if((a[Z+1>>0]|0)!=42){c[k>>2]=Z+1;y=zd(k)|0;ba=c[k>>2]|0;ca=y;break}y=Z+2|0;N=(a[y>>0]|0)+-48|0;if(N>>>0<10?(a[Z+3>>0]|0)==36:0){c[i+(N<<2)>>2]=10;N=c[g+((a[y>>0]|0)+-48<<3)>>2]|0;I=Z+4|0;c[k>>2]=I;ba=I;ca=N;break}if($|0){Y=-1;break a}if(q){N=(c[f>>2]|0)+(4-1)&~(4-1);I=c[N>>2]|0;c[f>>2]=N+4;da=I}else da=0;c[k>>2]=y;ba=y;ca=da}else{ba=Z;ca=-1}while(0);y=ba;I=0;while(1){if(((a[y>>0]|0)+-65|0)>>>0>57){Y=-1;break a}ea=y+1|0;c[k>>2]=ea;fa=a[(a[y>>0]|0)+-65+(6145+(I*58|0))>>0]|0;ga=fa&255;if((ga+-1|0)>>>0<8){y=ea;I=ga}else break}if(!(fa<<24>>24)){Y=-1;break}N=(J|0)>-1;do if(fa<<24>>24==19)if(N){Y=-1;break a}else z=49;else{if(N){c[i+(J<<2)>>2]=ga;M=g+(J<<3)|0;H=c[M+4>>2]|0;O=m;c[O>>2]=c[M>>2];c[O+4>>2]=H;z=49;break}if(!q){Y=0;break a}Ad(m,ga,f)}while(0);if((z|0)==49?(z=0,!q):0){u=ea;e=x;v=0;w=$;continue}N=a[y>>0]|0;H=(I|0)!=0&(N&15|0)==3?N&-33:N;N=_&-65537;O=(_&8192|0)==0?_:N;e:do switch(H|0){case 110:{switch((I&255)<<24>>24){case 0:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 1:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 2:{M=c[m>>2]|0;c[M>>2]=x;c[M+4>>2]=((x|0)<0)<<31>>31;u=ea;e=x;v=0;w=$;continue a;break}case 3:{b[c[m>>2]>>1]=x;u=ea;e=x;v=0;w=$;continue a;break}case 4:{a[c[m>>2]>>0]=x;u=ea;e=x;v=0;w=$;continue a;break}case 6:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 7:{M=c[m>>2]|0;c[M>>2]=x;c[M+4>>2]=((x|0)<0)<<31>>31;u=ea;e=x;v=0;w=$;continue a;break}default:{u=ea;e=x;v=0;w=$;continue a}}break}case 112:{ha=O|8;ia=ca>>>0>8?ca:8;ja=120;z=61;break}case 88:case 120:{ha=O;ia=ca;ja=H;z=61;break}case 111:{M=m;P=c[M>>2]|0;T=c[M+4>>2]|0;M=Cd(P,T,r)|0;U=s-M|0;ka=P;la=T;ma=M;na=O;oa=(O&8|0)==0|(ca|0)>(U|0)?ca:U+1|0;pa=0;qa=6609;z=67;break}case 105:case 100:{U=m;M=c[U>>2]|0;T=c[U+4>>2]|0;if((T|0)<0){U=he(0,0,M|0,T|0)|0;P=D;ra=m;c[ra>>2]=U;c[ra+4>>2]=P;sa=U;ta=P;ua=1;va=6609;z=66;break e}else{sa=M;ta=T;ua=(O&2049|0)!=0&1;va=(O&2048|0)==0?((O&1|0)==0?6609:6611):6610;z=66;break e}break}case 117:{T=m;sa=c[T>>2]|0;ta=c[T+4>>2]|0;ua=0;va=6609;z=66;break}case 99:{a[t>>0]=c[m>>2];wa=t;xa=N;ya=1;za=0;Aa=6609;Ba=r;break}case 109:{Ca=Ed(c[(nd()|0)>>2]|0)|0;z=71;break}case 115:{T=c[m>>2]|0;Ca=T|0?T:6619;z=71;break}case 67:{c[o>>2]=c[m>>2];c[n>>2]=0;c[m>>2]=o;Da=o;Ea=-1;z=75;break}case 83:{T=c[m>>2]|0;if(!ca){Gd(d,32,aa,0,O);Fa=0;z=84}else{Da=T
// EMSCRIPTEN_END_FUNCS
var sa=[Ee,Ic,rd,ld,Wd,tb,kd,Ee];var ta=[Fe,jc,wb,Pa,vb,Rc,Tb,ic];var ua=[Ge,Ua];var va=[He,Hc,jd,Sc];var wa=[Ie,sb,vc,Ie];var xa=[Je,Db,Hb,Fb,Jb,Eb,Ib,Gb,Kb,Je,Je,Je,Je,Je,Je,Je];var ya=[Ke,zc,Ac,Bc,Cc,Dc,Ec,Fc,Gc,Jc,Lc,ad,Na,Ke,Ke,Ke];var za=[Le,Kc,Zc,Le];var Aa=[Me,db,fb,ib,kb,ob,mb,rb,cb,eb,hb,jb,nb,lb,qb,pb,gb,Xa,Wa,_a,ab,$a,Za,bb,Ya,Ma,Me,Me,Me,Me,Me,Me];return{_ogv_video_decoder_destroy:fd,stackSave:Ca,_ogv_video_decoder_init:dd,_memset:je,_ogv_video_decoder_process_frame:hd,getTempRet0:Ha,_bitshift64Lshr:ke,_bitshift64Shl:le,_ogv_video_decoder_process_header:gd,_llvm_cttz_i32:pe,_sbrk:se,_memcpy:oe,stackAlloc:Ba,___uremdi3:te,_i64Subtract:he,___udivmoddi4:qe,setTempRet0:Ga,_realloc:de,_i64Add:ie,_ogv_video_decoder_async:ed,_emscripten_get_global_libc:id,___udivdi3:re,_llvm_bswap_i32:ue,_testSetjmp:ne,_saveSetjmp:me,_free:ce,runPostSets:ge,setThrew:Fa,establishStackSpace:Ea,stackRestore:Da,_malloc:be,stackAlloc:Ba,stackSave:Ca,stackRestore:Da,establishStackSpace:Ea,setThrew:Fa,setTempRet0:Ga,getTempRet0:Ha,dynCall_iiii:ve,dynCall_vi:we,dynCall_vii:xe,dynCall_ii:ye,dynCall_v:ze,dynCall_viiiiii:Ae,dynCall_iii:Be,dynCall_iiiiii:Ce,dynCall_viiii:De}})
// EMSCRIPTEN_END_ASM
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var _ogv_video_decoder_destroy=Module["_ogv_video_decoder_destroy"]=asm["_ogv_video_decoder_destroy"];var stackSave=Module["stackSave"]=asm["stackSave"];var _ogv_video_decoder_init=Module["_ogv_video_decoder_init"]=asm["_ogv_video_decoder_init"];var _memset=Module["_memset"]=asm["_memset"];var _ogv_video_decoder_process_frame=Module["_ogv_video_decoder_process_frame"]=asm["_ogv_video_decoder_process_frame"];var getTempRet0=Module["getTempRet0"]=asm["getTempRet0"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _ogv_video_decoder_process_header=Module["_ogv_video_decoder_process_header"]=asm["_ogv_video_decoder_process_header"];var _llvm_cttz_i32=Module["_llvm_cttz_i32"]=asm["_llvm_cttz_i32"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var ___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var ___udivmoddi4=Module["___udivmoddi4"]=asm["___udivmoddi4"];var setTempRet0=Module["setTempRet0"]=asm["setTempRet0"];var _realloc=Module["_realloc"]=asm["_realloc"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _ogv_video_decoder_async=Module["_ogv_video_decoder_async"]=asm["_ogv_video_decoder_async"];var _emscripten_get_global_libc=Module["_emscripten_get_global_libc"]=asm["_emscripten_get_global_libc"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var _testSetjmp=Module["_testSetjmp"]=asm["_testSetjmp"];var _saveSetjmp=Module["_saveSetjmp"]=asm["_saveSetjmp"];var _free=Module["_free"]=asm["_free"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var setThrew=Module["setThrew"]=asm["setThrew"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var _malloc=Module["_malloc"]=asm["_malloc"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];Runtime.stackAlloc=Module["stackAlloc"];Runtime.stackSave=Module["stackSave"];Runtime.stackRestore=Module["stackRestore"];Runtime.establishStackSpace=Module["establishStackSpace"];Runtime.setTempRet0=Module["setTempRet0"];Runtime.getTempRet0=Module["getTempRet0"];Module["asm"]=asm;Module["then"]=(function(func){if(Module["calledRun"]){func(Module)}else{var old=Module["onRuntimeInitialized"];Module["onRuntimeInitialized"]=(function(){if(old)old();func(Module)})}return Module});function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=0;i<argc-1;i=i+1){argv.push(allocate(intArrayFromString(args[i]),"i8",ALLOC_NORMAL));pad()}argv.push(0);argv=allocate(argv,"i32",ALLOC_NORMAL);try{var ret=Module["_main"](argc,argv,0);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="SimulateInfiniteLoop"){Module["noExitRuntime"]=true;return}else{var toLog=e;if(e&&typeof e
return OGVDecoderVideoVP8;
};
})();