elation-engine
Version:
WebGL/WebVR engine written in Javascript
1 lines • 9.81 MB
JavaScript
function ffmpeg_run(opts){return new Promise((function(resolve,reject){var Module={"outputDirectory":"output"};var isNode=typeof exports!=="undefined";if(!isNode){for(var i in opts){Module[i]=opts[i]}var outputFilePath=Module["arguments"][Module["arguments"].length-1];if(Module["arguments"].length>2&&outputFilePath&&outputFilePath.indexOf(".")>-1){Module["arguments"][Module["arguments"].length-1]="output/"+outputFilePath}if(!Module["preRun"])Module["preRun"]=[];Module["preRun"].push((function(){FS.createFolder("/",Module["outputDirectory"],true,true);if(Module["fileData"]){FS.createDataFile("/",Module["fileName"],Module["fileData"],true,true)}if(Module["files"]){Module["files"].forEach((function(file){FS.createDataFile("/",file.name,file.data,true,true)}))}if(Module["initDevice"]){Module["initDevice"](FS)}}));if(!Module["postRun"])Module["postRun"]=[];Module["postRun"].push((function(){var handle=FS.analyzePath(Module["outputDirectory"]);var buffers=getAllBuffers(handle);if(Module["return"])Module["return"](buffers);resolve(buffers)}));function getAllBuffers(result){var buffers=[];if(result&&result.object&&result.object.contents){for(var i in result.object.contents){if(result.object.contents.hasOwnProperty(i)){buffers.push({name:i,data:(new Uint8Array(result.object.contents[i].contents)).buffer})}}}return buffers}}var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=typeof window==="object";var ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;var ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=function print(x){process["stdout"].write(x+"\n")};if(!Module["printErr"])Module["printErr"]=function printErr(x){process["stderr"].write(x+"\n")};var nodeFS=require("fs");var nodePath=require("path");Module["read"]=function read(filename,binary){filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);if(!ret&&filename!=nodePath["resolve"](filename)){filename=path.join(__dirname,"..","src",filename);ret=nodeFS["readFileSync"](filename)}if(ret&&!binary)ret=ret.toString();return ret};Module["readBinary"]=function readBinary(filename){return Module["read"](filename,true)};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 read(){throw"no read() available (jsc?)"}}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}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function printErr(x){console.log(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}var Runtime={setTempRet0:(function(value){tempRet0=value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}),getNativeFieldSize:(function(type){return Math.max(Runtime.getNativeTypeSize(type),Runtime.QUANTUM_SIZE)}),STACK_ALIGN:16,prepVararg:(function(ptr,type){if(type==="double"||type==="i64"){if(ptr&7){assert((ptr&7)===4);ptr+=4}}else{assert((ptr&3)===0)}return ptr}),getAlignSize:(function(type,size,vararg){if(!vararg&&(type=="i64"||type=="double"))return 8;if(!type)return Math.min(size,8);return Math.min(size||(type?Runtime.getNativeFieldSize(type):0),Runtime.QUANTUM_SIZE)}),dynCall:(function(sig,ptr,args){if(args&&args.length){assert(args.length==sig.length-1);if(!args.splice)args=Array.prototype.slice.call(args);args.splice(0,0,ptr);assert("dynCall_"+sig in Module,"bad function pointer type - no table for sig '"+sig+"'");return Module["dynCall_"+sig].apply(null,args)}else{assert(sig.length==1);assert("dynCall_"+sig in Module,"bad function pointer type - no table for sig '"+sig+"'");return Module["dynCall_"+sig].call(null,ptr)}}),functionPointers:[],addFunction:(function(func){for(var i=0;i<Runtime.functionPointers.length;i++){if(!Runtime.functionPointers[i]){Runtime.functionPointers[i]=func;return 2*(1+i)}}throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."}),removeFunction:(function(index){Runtime.functionPointers[(index-2)/2]=null}),warnOnce:(function(text){if(!Runtime.warnOnce.shown)Runtime.warnOnce.shown={};if(!Runtime.warnOnce.shown[text]){Runtime.warnOnce.shown[text]=1;Module.printErr(text)}}),funcWrappers:{},getFuncWrapper:(function(func,sig){assert(sig);if(!Runtime.funcWrappers[sig]){Runtime.funcWrappers[sig]={}}var sigCache=Runtime.funcWrappers[sig];if(!sigCache[func]){sigCache[func]=function dynCall_wrapper(){return Runtime.dynCall(sig,func,arguments)}}return sigCache[func]}),getCompilerSetting:(function(name){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"}),stackAlloc:(function(size){var ret=STACKTOP;STACKTOP=STACKTOP+size|0;STACKTOP=STACKTOP+15&-16;assert((STACKTOP|0)<(STACK_MAX|0)|0)|0;return ret}),staticAlloc:(function(size){var ret=STATICTOP;STATICTOP=STATICTOP+(assert(!staticSealed),size)|0;STATICTOP=STATICTOP+15&-16;return ret}),dynamicAlloc:(function(size){var ret=DYNAMICTOP;DYNAMICTOP=DYNAMICTOP+(assert(DYNAMICTOP>0),size)|0;DYNAMICTOP=DYNAMICTOP+15&-16;if(DYNAMICTOP>=TOTAL_MEMORY){var success=enlargeMemory();if(!success){DYNAMICTOP=ret;return 0}}return ret}),alignMemory:(function(size,quantum){var ret=size=Math.ceil(size/(quantum?quantum:16))*(quantum?quantum:16);return ret}),makeBigInt:(function(low,high,unsigned){var ret=unsigned?+(low>>>0)+ +(high>>>0)*+4294967296:+(low>>>0)+ +(high|0)*+4294967296;return ret}),GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module["Runtime"]=Runtime;var __THREW__=0;var ABORT=false;var EXITSTATUS=0;var undef=0;var tempValue,tempInt,tempBigInt,tempInt2,tempBigInt2,tempPair,tempBigIntI,tempBigIntR,tempBigIntS,tempBigIntP,tempBigIntD,tempDouble,tempFloat;var tempI64,tempI64b;var tempRet0,tempRet1,tempRet2,tempRet3,tempRet4,tempRet5,tempRet6,tempRet7,tempRet8,tempRet9;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}var globalScope=this;function getCFunc(ident){var func=Module["_"+ident];if(!func){try{func=eval("_"+ident)}catch(e){}}assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)");return func}var cwrap,ccall;((function(){var JSfuncs={"stackSave":(function(){Runtime.stackSave()}),"stackRestore":(function(){Runtime.stackRestore()}),"arrayToC":(function(arr){var ret=Runtime.stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){ret=Runtime.stackAlloc((str.length<<2)+1);writeStringToMemory(str,ret)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};ccall=function ccallFunc(ident,returnType,argTypes,args,opts){var func=getCFunc(ident);var cArgs=[];var stack=0;assert(returnType!=="array",'Return type should not be "array".');if(args){for(var i=0;i<args.length;i++){var converter=toC[argTypes[i]];if(converter){if(stack===0)stack=Runtime.stackSave();cArgs[i]=converter(args[i])}else{cArgs[i]=args[i]}}}var ret=func.apply(null,cArgs);if((!opts||!opts.async)&&typeof EmterpreterAsync==="object"){assert(!EmterpreterAsync.state,"cannot start async op with normal JS calling ccall")}if(opts&&opts.async)assert(!returnType,"async ccalls cannot return values");if(returnType==="string")ret=Pointer_stringify(ret);if(stack!==0){if(opts&&opts.async){EmterpreterAsync.asyncFinalizers.push((function(){Runtime.stackRestore(stack)}));return}Runtime.stackRestore(stack)}return ret};var sourceRegex=/^function\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;function parseJSFunc(jsfunc){var parsed=jsfunc.toString().match(sourceRegex).slice(1);return{arguments:parsed[0],body:parsed[1],returnValue:parsed[2]}}var JSsource={};for(var fun in JSfuncs){if(JSfuncs.hasOwnProperty(fun)){JSsource[fun]=parseJSFunc(JSfuncs[fun])}}cwrap=function cwrap(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident);var numericArgs=argTypes.every((function(type){return type==="number"}));var numericRet=returnType!=="string";if(numericRet&&numericArgs){return cfunc}var argNames=argTypes.map((function(x,i){return"$"+i}));var funcstr="(function("+argNames.join(",")+") {";var nargs=argTypes.length;if(!numericArgs){funcstr+="var stack = "+JSsource["stackSave"].body+";";for(var i=0;i<nargs;i++){var arg=argNames[i],type=argTypes[i];if(type==="number")continue;var convertCode=JSsource[type+"ToC"];funcstr+="var "+convertCode.arguments+" = "+arg+";";funcstr+=convertCode.body+";";funcstr+=arg+"="+convertCode.returnValue+";"}}var cfuncname=parseJSFunc((function(){return cfunc})).returnValue;funcstr+="var ret = "+cfuncname+"("+argNames.join(",")+");";if(!numericRet){var strgfy=parseJSFunc((function(){return Pointer_stringify})).returnValue;funcstr+="ret = "+strgfy+"(ret);"}funcstr+="if (typeof EmterpreterAsync === 'object') { assert(!EmterpreterAsync.state, 'cannot start async op with normal JS calling cwrap') }";if(!numericArgs){funcstr+=JSsource["stackRestore"].body.replace("()","(stack)")+";"}funcstr+="return ret})";return eval(funcstr)}}))();Module["cwrap"]=cwrap;Module["ccall"]=ccall;function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}Module["setValue"]=setValue;function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for setValue: "+type)}return null}Module["getValue"]=getValue;var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;Module["ALLOC_NORMAL"]=ALLOC_NORMAL;Module["ALLOC_STACK"]=ALLOC_STACK;Module["ALLOC_STATIC"]=ALLOC_STATIC;Module["ALLOC_DYNAMIC"]=ALLOC_DYNAMIC;Module["ALLOC_NONE"]=ALLOC_NONE;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[_malloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var ptr=ret,stop;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr<stop;ptr+=4){HEAP32[ptr>>2]=0}stop=ret+size;while(ptr<stop){HEAP8[ptr++>>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i<size){var curr=slab[i];if(typeof curr==="function"){curr=Runtime.getFunctionIndex(curr)}type=singleType||types[i];if(type===0){i++;continue}assert(type,"Must know what type to store in allocate!");if(type=="i64")type="i32";setValue(ret+i,curr,type);if(previousType!==type){typeSize=Runtime.getNativeTypeSize(type);previousType=type}i+=typeSize}return ret}Module["allocate"]=allocate;function getMemory(size){if(!staticSealed)return Runtime.staticAlloc(size);if(typeof _sbrk!=="undefined"&&!_sbrk.called||!runtimeInitialized)return Runtime.dynamicAlloc(size);return _malloc(size)}Module["getMemory"]=getMemory;function Pointer_stringify(ptr,length){if(length===0||!ptr)return"";var hasUtf=0;var t;var i=0;while(1){assert(ptr+i<TOTAL_MEMORY);t=HEAPU8[ptr+i>>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return Module["UTF8ToString"](ptr)}Module["Pointer_stringify"]=Pointer_stringify;function AsciiToString(ptr){var str="";while(1){var ch=HEAP8[ptr++>>0];if(!ch)return str;str+=String.fromCharCode(ch)}}Module["AsciiToString"]=AsciiToString;function stringToAscii(str,outPtr){return writeAsciiToMemory(str,outPtr,false)}Module["stringToAscii"]=stringToAscii;function UTF8ArrayToString(u8Array,idx){var u0,u1,u2,u3,u4,u5;var str="";while(1){u0=u8Array[idx++];if(!u0)return str;if(!(u0&128)){str+=String.fromCharCode(u0);continue}u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u3=u8Array[idx++]&63;if((u0&248)==240){u0=(u0&7)<<18|u1<<12|u2<<6|u3}else{u4=u8Array[idx++]&63;if((u0&252)==248){u0=(u0&3)<<24|u1<<18|u2<<12|u3<<6|u4}else{u5=u8Array[idx++]&63;u0=(u0&1)<<30|u1<<24|u2<<18|u3<<12|u4<<6|u5}}}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}Module["UTF8ArrayToString"]=UTF8ArrayToString;function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}Module["UTF8ToString"]=UTF8ToString;function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}Module["stringToUTF8Array"]=stringToUTF8Array;function stringToUTF8(str,outPtr,maxBytesToWrite){assert(typeof maxBytesToWrite=="number","stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!");return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}Module["stringToUTF8"]=stringToUTF8;function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}Module["lengthBytesUTF8"]=lengthBytesUTF8;function UTF16ToString(ptr){var i=0;var str="";while(1){var codeUnit=HEAP16[ptr+i*2>>1];if(codeUnit==0)return str;++i;str+=String.fromCharCode(codeUnit)}}Module["UTF16ToString"]=UTF16ToString;function stringToUTF16(str,outPtr,maxBytesToWrite){assert(typeof maxBytesToWrite=="number","stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!");if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<2)return 0;maxBytesToWrite-=2;var startPtr=outPtr;var numCharsToWrite=maxBytesToWrite<str.length*2?maxBytesToWrite/2:str.length;for(var i=0;i<numCharsToWrite;++i){var codeUnit=str.charCodeAt(i);HEAP16[outPtr>>1]=codeUnit;outPtr+=2}HEAP16[outPtr>>1]=0;return outPtr-startPtr}Module["stringToUTF16"]=stringToUTF16;function lengthBytesUTF16(str){return str.length*2}Module["lengthBytesUTF16"]=lengthBytesUTF16;function UTF32ToString(ptr){var i=0;var str="";while(1){var utf32=HEAP32[ptr+i*4>>2];if(utf32==0)return str;++i;if(utf32>=65536){var ch=utf32-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}else{str+=String.fromCharCode(utf32)}}}Module["UTF32ToString"]=UTF32ToString;function stringToUTF32(str,outPtr,maxBytesToWrite){assert(typeof maxBytesToWrite=="number","stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!");if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<4)return 0;var startPtr=outPtr;var endPtr=startPtr+maxBytesToWrite-4;for(var i=0;i<str.length;++i){var codeUnit=str.charCodeAt(i);if(codeUnit>=55296&&codeUnit<=57343){var trailSurrogate=str.charCodeAt(++i);codeUnit=65536+((codeUnit&1023)<<10)|trailSurrogate&1023}HEAP32[outPtr>>2]=codeUnit;outPtr+=4;if(outPtr+4>endPtr)break}HEAP32[outPtr>>2]=0;return outPtr-startPtr}Module["stringToUTF32"]=stringToUTF32;function lengthBytesUTF32(str){var len=0;for(var i=0;i<str.length;++i){var codeUnit=str.charCodeAt(i);if(codeUnit>=55296&&codeUnit<=57343)++i;len+=4}return len}Module["lengthBytesUTF32"]=lengthBytesUTF32;function demangle(func){var hasLibcxxabi=!!Module["___cxa_demangle"];if(hasLibcxxabi){try{var buf=_malloc(func.length);writeStringToMemory(func.substr(1),buf);var status=_malloc(4);var ret=Module["___cxa_demangle"](buf,0,0,status);if(getValue(status,"i32")===0&&ret){return Pointer_stringify(ret)}}catch(e){}finally{if(buf)_free(buf);if(status)_free(status);if(ret)_free(ret)}}var i=3;var basicTypes={"v":"void","b":"bool","c":"char","s":"short","i":"int","l":"long","f":"float","d":"double","w":"wchar_t","a":"signed char","h":"unsigned char","t":"unsigned short","j":"unsigned int","m":"unsigned long","x":"long long","y":"unsigned long long","z":"..."};var subs=[];var first=true;function dump(x){if(x)Module.print(x);Module.print(func);var pre="";for(var a=0;a<i;a++)pre+=" ";Module.print(pre+"^")}function parseNested(){i++;if(func[i]==="K")i++;var parts=[];while(func[i]!=="E"){if(func[i]==="S"){i++;var next=func.indexOf("_",i);var num=func.substring(i,next)||0;parts.push(subs[num]||"?");i=next+1;continue}if(func[i]==="C"){parts.push(parts[parts.length-1]);i+=2;continue}var size=parseInt(func.substr(i));var pre=size.toString().length;if(!size||!pre){i--;break}var curr=func.substr(i+pre,size);parts.push(curr);subs.push(curr);i+=pre+size}i++;return parts}function parse(rawList,limit,allowVoid){limit=limit||Infinity;var ret="",list=[];function flushList(){return"("+list.join(", ")+")"}var name;if(func[i]==="N"){name=parseNested().join("::");limit--;if(limit===0)return rawList?[name]:name}else{if(func[i]==="K"||first&&func[i]==="L")i++;var size=parseInt(func.substr(i));if(size){var pre=size.toString().length;name=func.substr(i+pre,size);i+=pre+size}}first=false;if(func[i]==="I"){i++;var iList=parse(true);var iRet=parse(true,1,true);ret+=iRet[0]+" "+name+"<"+iList.join(", ")+">"}else{ret=name}paramLoop:while(i<func.length&&limit-->0){var c=func[i++];if(c in basicTypes){list.push(basicTypes[c])}else{switch(c){case"P":list.push(parse(true,1,true)[0]+"*");break;case"R":list.push(parse(true,1,true)[0]+"&");break;case"L":{i++;var end=func.indexOf("E",i);var size=end-i;list.push(func.substr(i,size));i+=size+2;break};case"A":{var size=parseInt(func.substr(i));i+=size.toString().length;if(func[i]!=="_")throw"?";i++;list.push(parse(true,1,true)[0]+" ["+size+"]");break};case"E":break paramLoop;default:ret+="?"+c;break paramLoop}}}if(!allowVoid&&list.length===1&&list[0]==="void")list=[];if(rawList){if(ret){list.push(ret+"?")}return list}else{return ret+flushList()}}var parsed=func;try{if(func=="Object._main"||func=="_main"){return"main()"}if(typeof func==="number")func=Pointer_stringify(func);if(func[0]!=="_")return func;if(func[1]!=="_")return func;if(func[2]!=="Z")return func;switch(func[3]){case"n":return"operator new()";case"d":return"operator delete()"}parsed=parse()}catch(e){parsed+="?"}if(parsed.indexOf("?")>=0&&!hasLibcxxabi){Runtime.warnOnce("warning: a problem occurred in builtin C++ name demangling; build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling")}return parsed}function demangleAll(text){return text.replace(/__Z[\w\d_]+/g,(function(x){var y=demangle(x);return x===y?x:x+" ["+y+"]"}))}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){return demangleAll(jsStackTrace())}Module["stackTrace"]=stackTrace;var PAGE_SIZE=4096;function alignMemoryPage(x){if(x%4096>0){x+=4096-x%4096}return x}var HEAP;var HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;var STATIC_BASE=0,STATICTOP=0,staticSealed=false;var STACK_BASE=0,STACKTOP=0,STACK_MAX=0;var DYNAMIC_BASE=0,DYNAMICTOP=0;function enlargeMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.")}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||134217728;var totalMemory=64*1024;while(totalMemory<TOTAL_MEMORY||totalMemory<2*TOTAL_STACK){if(totalMemory<16*1024*1024){totalMemory*=2}else{totalMemory+=16*1024*1024}}if(totalMemory!==TOTAL_MEMORY){Module.printErr("increasing TOTAL_MEMORY to "+totalMemory+" to be compliant with the asm.js spec (and given that TOTAL_STACK="+TOTAL_STACK+")");TOTAL_MEMORY=totalMemory}assert(typeof Int32Array!=="undefined"&&typeof Float64Array!=="undefined"&&!!(new Int32Array(1))["subarray"]&&!!(new Int32Array(1))["set"],"JS engine does not provide full typed array support");var buffer;buffer=new ArrayBuffer(TOTAL_MEMORY);HEAP8=new Int8Array(buffer);HEAP16=new Int16Array(buffer);HEAP32=new Int32Array(buffer);HEAPU8=new Uint8Array(buffer);HEAPU16=new Uint16Array(buffer);HEAPU32=new Uint32Array(buffer);HEAPF32=new Float32Array(buffer);HEAPF64=new Float64Array(buffer);HEAP32[0]=255;assert(HEAPU8[0]===255&&HEAPU8[3]===0,"Typed arrays 2 must be run on a little-endian system");Module["HEAP"]=HEAP;Module["buffer"]=buffer;Module["HEAP8"]=HEAP8;Module["HEAP16"]=HEAP16;Module["HEAP32"]=HEAP32;Module["HEAPU8"]=HEAPU8;Module["HEAPU16"]=HEAPU16;Module["HEAPU32"]=HEAPU32;Module["HEAPF32"]=HEAPF32;Module["HEAPF64"]=HEAPF64;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Runtime.dynCall("v",func)}else{Runtime.dynCall("vi",func,[callback.arg])}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__);runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}Module["addOnPreRun"]=Module.addOnPreRun=addOnPreRun;function addOnInit(cb){__ATINIT__.unshift(cb)}Module["addOnInit"]=Module.addOnInit=addOnInit;function addOnPreMain(cb){__ATMAIN__.unshift(cb)}Module["addOnPreMain"]=Module.addOnPreMain=addOnPreMain;function addOnExit(cb){__ATEXIT__.unshift(cb)}Module["addOnExit"]=Module.addOnExit=addOnExit;function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}Module["addOnPostRun"]=Module.addOnPostRun=addOnPostRun;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}Module["intArrayFromString"]=intArrayFromString;function intArrayToString(array){var ret=[];for(var i=0;i<array.length;i++){var chr=array[i];if(chr>255){assert(false,"Character code "+chr+" ("+String.fromCharCode(chr)+") at offset "+i+" not in 0x00-0xFF.");chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}Module["intArrayToString"]=intArrayToString;function writeStringToMemory(string,buffer,dontAddNull){var array=intArrayFromString(string,dontAddNull);var i=0;while(i<array.length){var chr=array[i];HEAP8[buffer+i>>0]=chr;i=i+1}}Module["writeStringToMemory"]=writeStringToMemory;function writeArrayToMemory(array,buffer){for(var i=0;i<array.length;i++){HEAP8[buffer++>>0]=array[i]}}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i<str.length;++i){assert(str.charCodeAt(i)===str.charCodeAt(i)&255);HEAP8[buffer++>>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}Module["writeAsciiToMemory"]=writeAsciiToMemory;function unSign(value,bits,ignore){if(value>=0){return value}return bits<=32?2*Math.abs(1<<bits-1)+value:Math.pow(2,bits)+value}function reSign(value,bits,ignore){if(value<=0){return value}var half=bits<=32?Math.abs(1<<bits-1):Math.pow(2,bits-1);if(value>=half&&(bits<=32||value>half)){value=-2*half+value}return value}if(!Math["imul"]||Math["imul"](4294967295,5)!==-5)Math["imul"]=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};Math.imul=Math["imul"];if(!Math["clz32"])Math["clz32"]=(function(x){x=x>>>0;for(var i=0;i<32;i++){if(x&1<<31-i)return i}return 32});Math.clz32=Math["clz32"];var Math_abs=Math.abs;var Math_cos=Math.cos;var Math_sin=Math.sin;var Math_tan=Math.tan;var Math_acos=Math.acos;var Math_asin=Math.asin;var Math_atan=Math.atan;var Math_atan2=Math.atan2;var Math_exp=Math.exp;var Math_log=Math.log;var Math_sqrt=Math.sqrt;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_pow=Math.pow;var Math_imul=Math.imul;var Math_fround=Math.fround;var Math_min=Math.min;var Math_clz32=Math.clz32;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;var runDependencyTracking={};function getUniqueRunDependency(id){var orig=id;while(1){if(!runDependencyTracking[id])return id;id=orig+Math.random()}return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(id){assert(!runDependencyTracking[id]);runDependencyTracking[id]=1;if(runDependencyWatcher===null&&typeof setInterval!=="undefined"){runDependencyWatcher=setInterval((function(){if(ABORT){clearInterval(runDependencyWatcher);runDependencyWatcher=null;return}var shown=false;for(var dep in runDependencyTracking){if(!shown){shown=true;Module.printErr("still waiting on run dependencies:")}Module.printErr("dependency: "+dep)}if(shown){Module.printErr("(end of list)")}}),1e4)}}else{Module.printErr("warning: run dependency added without ID")}}Module["addRunDependency"]=addRunDependency;function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(id){assert(runDependencyTracking[id]);delete runDependencyTracking[id]}else{Module.printErr("warning: run dependency removed without ID")}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["removeRunDependency"]=removeRunDependency;Module["preloadedImages"]={};Module["preloadedAudios"]={};var memoryInitializer=null;var ASM_CONSTS=[];STATIC_BASE=8;STATICTOP=STATIC_BASE+3120608;__ATINIT__.push();memoryInitializer="ffmpeg.js.mem";var tempDoublePtr=Runtime.alignMemory(allocate(12,"i8",ALLOC_STATIC),8);assert(tempDoublePtr%8==0);function copyTempFloat(ptr){HEAP8[tempDoublePtr]=HEAP8[ptr];HEAP8[tempDoublePtr+1]=HEAP8[ptr+1];HEAP8[tempDoublePtr+2]=HEAP8[ptr+2];HEAP8[tempDoublePtr+3]=HEAP8[ptr+3]}function copyTempDouble(ptr){HEAP8[tempDoublePtr]=HEAP8[ptr];HEAP8[tempDoublePtr+1]=HEAP8[ptr+1];HEAP8[tempDoublePtr+2]=HEAP8[ptr+2];HEAP8[tempDoublePtr+3]=HEAP8[ptr+3];HEAP8[tempDoublePtr+4]=HEAP8[ptr+4];HEAP8[tempDoublePtr+5]=HEAP8[ptr+5];HEAP8[tempDoublePtr+6]=HEAP8[ptr+6];HEAP8[tempDoublePtr+7]=HEAP8[ptr+7]}var EMTSTACKTOP=getMemory(1048576);var EMT_STACK_MAX=EMTSTACKTOP+1048576;var eb=getMemory(30416);assert(eb%8===0);__ATPRERUN__.push((function(){HEAPU8.set([140,1,77,0,0,0,0,0,2,64,0,0,104,1,0,0,2,65,0,0,117,187,1,0,2,66,0,0,116,187,1,0,2,67,0,0,64,66,15,0,2,68,0,0,0,0,0,128,2,69,0,0,188,0,0,0,2,70,0,0,112,187,1,0,136,71,0,0,0,63,71,0,136,71,0,0,25,71,71,31,38,71,71,224,137,71,0,0,0,6,71,0,136,71,0,0,1,72,224,3,3,71,71,72,137,71,0,0,130,71,0,0,136,72,0,0,49,71,71,72,128,0,0,0,135,71,0,0,1,71,152,1,3,48,6,71,1,71,144,1,3,47,6,71,1,71,248,0,3,62,6,71,1,71,216,0,3,59,6,71,1,71,192,0,3,44,6,71,1,71,168,0,3,41,6,71,1,71,152,0,3,40,6,71,1,71,136,0,3,35,6,71,1,71,128,0,3,29,6,71,25,23,6,80,0,61,6,0,1,71,192,3,3,1,6,71,1,71,160,3,3,11,6,71,1,71,136,1,3,2,6,71,1,71,128,3,3,14,6,71,1,71,96,3,3,13,6,71,1,71,128,1,3,3,6,71,1,71,64,3,3,9,6,71,1,71,32,3,3,15,6,71,1,71,0,3,3,18,6,71,1,71,224,2,3,19,6,71,1,71,192,2,3,20,6,71,1,71,160,2,3,21,6,71,1,71,120,1,3,22,6,71,1,71,112,1,3,26,6,71,3,27,6,64,1,71,96,1,3,28,6,71,1,71,88,1,3,31,6,71,1,71,80,1,3,32,6,71,1,71,72,1,3,33,6,71,1,71,64,1,3,34,6,71,1,71,56,1,3,36,6,71,1,71,48,1,3,37,6,71,1,71,40,1,3,39,6,71,1,71,32,1,3,42,6,71,1,71,24,1,3,43,6,71,1,71,16,1,3,49,6,71,1,71,128,2,3,50,6,71,1,71,96,2,3,51,6,71,1,71,64,2,3,53,6,71,1,71,32,2,3,54,6,71,1,71,0,2,3,56,6,71,1,71,224,1,3,57,6,71,1,71,8,1,3,58,6,71,1,71,160,1,3,60,6,71,2,71,0,0,200,237,6,0,82,71,71,0,41,72,0,2,94,55,71,72,82,38,55,0,134,6,0,0,88,116,0,0,55,61,0,0,32,71,6,245,121,71,6,0,1,72,1,0,109,55,8,72,1,46,245,255,137,63,0,0,139,46,0,0,34,72,6,0,121,72,82,0,2,72,0,0,187,176,185,223,46,72,6,72,92,2,0,0,25,71,38,32,135,72,1,0,71,6,0,0,2,72,0,0,224,225,6,0,82,72,72,0,121,72,4,0,1,71,1,0,135,72,2,0,71,0,0,0,25,3,55,56,1,72,0,0,82,71,3,0,47,72,72,71,84,3,0,0,25,4,55,12,1,5,0,0,2,72,0,0,192,237,6,0,82,72,72,0,82,71,4,0,3,71,71,5,41,71,71,2,94,1,72,71,106,72,1,16,121,72,9,0,1,72,0,0,1,73,0,0,135,71,3,0,1,73,0,0,47,72,72,71,188,2,0,0,1,1,0,0,119,0,37,0,1,72,0,0,2,71,0,0,212,237,6,0,82,71,71,0,47,72,72,71,56,3,0,0,1,2,0,0,2,72,0,0,208,237,6,0,82,72,72,0,41,71,2,2,94,1,72,71,106,72,1,8,82,71,4,0,3,71,71,5,45,72,72,71,32,3,0,0,94,72,1,64,120,72,5,0,106,72,1,64,106,72,72,8,33,72,72,3,120,72,3,0,135,72,4,0,1,0,0,0,25,2,2,1,2,72,0,0,212,237,6,0,82,72,72,0,54,72,2,72,216,2,0,0,25,5,5,1,82,72,3,0,56,72,72,5,84,3,0,0,119,0,204,255,137,63,0,0,139,1,0,0,1,71,1,0,109,55,4,71,1,46,245,255,137,63,0,0,139,46,0,0,135,71,5,0,2,71,0,0,208,225,6,0,82,71,71,0,121,71,13,0,1,72,0,0,1,73,48,0,2,74,0,0,204,225,6,0,82,74,74,0,106,75,38,28,106,76,61,32,41,76,76,2,94,75,75,76,135,71,6,0,72,73,61,74,75,0,0,0,25,46,61,32,82,6,46,0,106,71,55,56,47,71,6,71,124,25,0,0,25,45,55,12,2,71,0,0,192,237,6,0,82,71,71,0,82,75,45,0,3,75,75,6,41,75,75,2,94,52,71,75,106,24,61,28,1,71,48,1,3,30,52,71,0,25,30,0,82,71,25,0,106,75,25,4,34,74,24,0,41,74,74,31,42,74,74,31,135,24,7,0,71,75,24,74,85,30,24,0,128,75,0,0,109,30,4,75,1,75,56,1,3,30,52,75,0,24,30,0,82,75,24,0,106,74,24,4,1,71,1,0,1,73,0,0,135,24,7,0,75,74,71,73,0,25,30,0,85,25,24,0,128,71,0,0,109,25,4,71,106,71,52,8,120,71,77,5,2,71,0,0,220,225,6,0,82,71,71,0,121,71,176,0,82,71,46,0,82,73,45,0,3,16,71,73,106,73,52,20,106,73,73,8,135,17,8,0,73,0,0,0,25,12,52,48,0,24,1,0,25,25,24,32,1,73,0,0,83,24,73,0,25,24,24,1,54,73,24,25,140,4,0,0,0,10,12,0,82,73,10,0,106,71,10,4,135,10,9,0,1,73,71,0,0,24,11,0,25,25,24,32,1,71,0,0,83,24,71,0,25,24,24,1,54,71,24,25,188,4,0,0,0,5,12,0,82,12,5,0,106,5,5,4,1,71,1,0,85,2,71,0,109,2,4,67,135,5,10,0,11,12,5,2,25,12,52,64,0,24,14,0,25,25,24,32,1,71,0,0,83,24,71,0,25,24,24,1,54,71,24,25,252,4,0,0,0,24,12,0,82,71,24,0,106,73,24,4,135,14,9,0,14,71,73,0,0,24,13,0,25,25,24,32,1,73,0,0,83,24,73,0,25,24,24,1,54,73,24,25,44,5,0,0,0,4,12,0,82,6,4,0,106,4,4,4,1,73,1,0,85,3,73,0,109,3,4,67,135,4,10,0,13,6,4,3,25,6,61,8,0,24,9,0,25,25,24,32,1,73,0,0,83,24,73,0,25,24,24,1,54,73,24,25,108,5,0,0,0,3,6,0,82,73,3,0,106,71,3,4,135,3,9,0,9,73,71,0,0,24,15,0,25,25,24,32,1,71,0,0,83,24,71,0,25,24,24,1,54,71,24,25,156,5,0,0,0,2,6,0,25,1,52,4,82,71,2,0,106,73,2,4,82,74,1,0,25,74,74,40,135,2,10,0,15,71,73,74,25,12,61,16,0,24,18,0,25,25,24,32,1,74,0,0,83,24,74,0,25,24,24,1,54,74,24,25,220,5,0,0,0,11,12,0,82,74,11,0,106,73,11,4,135,11,9,0,18,74,73,0,0,24,19,0,25,25,24,32,1,73,0,0,83,24,73,0,25,24,24,1,54,73,24,25,12,6,0,0,0,0,12,0,82,73,0,0,106,74,0,4,82,71,1,0,25,71,71,40,135,0,10,0,19,73,74,71,0,24,20,0,25,25,24,32,1,71,0,0,83,24,71,0,25,24,24,1,54,71,24,25,68,6,0,0,2,71,0,0,200,237,6,0,82,71,71,0,82,74,52,0,41,74,74,2,94,71,71,74,25,6,71,24,82,71,6,0,106,74,6,4,135,6,9,0,20,71,74,0,0,24,21,0,25,25,24,32,1,74,0,0,83,24,74,0,25,24,24,1,54,74,24,25,140,6,0,0,2,74,0,0,200,237,6,0,82,74,74,0,82,71,52,0,41,71,71,2,94,74,74,71,25,25,74,24,82,24,25,0,106,25,25,4,1,74,1,0,85,22,74,0,109,22,4,67,135,25,10,0,21,24,25,22,85,23,16,0,109,23,4,17,109,23,8,10,109,23,12,5,109,23,16,14,109,23,20,4,109,23,24,3,109,23,28,2,109,23,32,11,109,23,36,0,109,23,40,6,109,23,44,25,1,71,0,0,1,73,32,0,2,75,0,0,97,75,42,0,135,74,11,0,71,73,75,23,25,18,52,80,82,74,18,0,120,74,4,1,1,74,32,4,3,13,38,74,0,0,13,0,82,6,0,0,106,0,0,4,32,74,6,0,13,75,0,68,19,74,74,75,120,74,251,0,25,17,52,4,82,74,17,0,1,75,196,0,94,74,74,75,34,74,74,64,121,74,245,0,25,25,52,48,82,75,25,0,32,75,75,0,121,75,5,0,106,75,25,4,13,75,75,68,0,74,75,0,119,0,3,0,1,75,0,0,0,74,75,0,121,74,116,0,25,14,55,24,0,25,14,0,82,10,25,0,106,25,25,4,1,74,0,0,1,75,0,0,135,24,12,0,74,75,6,0,13,75,10,24,128,74,0,0,13,74,25,74,19,75,75,74,121,75,103,0,106,75,38,4,106,75,75,8,1,74,0,2,19,75,75,74,121,75,98,0,25,1,38,24,82,75,1,0,120,75,5,0,2,4,0,0,255,255,255,127,1,5,255,255,119,0,63,0,25,9,38,28,25,10,26,4,25,11,27,4,2,4,0,0,255,255,255,127,1,5,255,255,1,12,0,0,82,75,9,0,41,74,12,2,94,6,75,74,106,75,6,76,33,75,75,48,121,75,46,0,25,0,6,48,0,2,0,0,82,3,2,0,106,2,2,4,32,75,3,0,13,74,2,68,19,75,75,74,120,75,38,0,25,6,6,40,1,75,1,0,85,26,75,0,85,10,67,0,116,47,6,0,106,74,6,4,109,47,4,74,116,48,26,0,106,75,26,4,109,48,4,75,135,25,13,0,3,2,47,48,128,75,0,0,0,24,75,0,15,75,24,4,13,74,4,24,16,73,25,5,19,74,74,73,20,75,75,74,120,75,2,0,119,0,17,0,0,5,0,0,82,4,5,0,106,5,5,4,1,75,1,0,85,27,75,0,85,11,67,0,116,47,6,0,106,74,6,4,109,47,4,74,116,48,27,0,106,75,27,4,109,48,4,75,135,5,13,0,4,5,47,48,128,75,0,0,0,4,75,0,25,12,12,1,82,75,1,0,55,75,12,75,20,8,0,0,0,0,13,0,82,6,0,0,106,0,0,4,15,75,0,4,13,74,4,0,16,73,6,5,19,74,74,73,20,75,75,74,121,75,20,0,135,26,12,0,5,4,6,0,0,27,29,0,85,27,26,0,128,74,0,0,109,27,4,74,1,75,40,0,2,73,0,0,5,76,42,0,135,74,11,0,38,75,73,29,1,74,0,0,1,73,0,0,135,27,12,0,74,73,5,4,0,29,14,0,85,29,27,0,128,74,0,0,109,29,4,74,0,3,13,0,82,2,3,0,106,3,3,4,1,74,1,0,85,28,74,0,109,28,4,67,82,74,17,0,25,29,74,40,116,47,28,0,106,73,28,4,109,47,4,73,116,48,29,0,106,74,29,4,109,48,4,74,135,3,13,0,2,3,47,48,128,74,0,0,0,2,74,0,1,74,1,0,1,73,0,0,82,75,17,0,1,71,196,0,94,75,75,71,135,29,14,0,74,73,75,0,128,75,0,0,135,29,7,0,29,75,3,2,128,75,0,0,0,28,75,0,1,75,1,0,85,18,75,0,15,75,2,28,13,73,28,2,16,74,3,29,19,73,73,74,20,75,75,73,121,75,81,0,25,6,61,16,0,5,6,0,82,0,5,0,106,5,5,4,32,75,0,0,13,73,5,68,19,75,75,73,120,75,33,0,82,75,17,0,1,73,196,0,94,4,75,73,1,75,1,0,1,73,0,0,26,74,4,1,135,29,14,0,75,73,74,0,128,74,0,0,135,29,7,0,29,74,3,2,128,74,0,0,0,28,74,0,15,74,28,5,13,73,5,28,16,75,29,0,19,73,73,75,20,74,74,73,121,74,14,0,1,74,1,0,1,73,0,0,135,28,14,0,74,73,4,0,128,73,0,0,135,28,12,0,0,5,28,73,0,29,6,0,85,29,28,0,128,74,0,0,109,29,4,74,1,74,0,0,85,18,74,0,25,0,61,8,0,4,0,0,82,5,4,0,106,4,4,4,32,74,5,0,13,73,4,68,19,74,74,73,120,74,33,0,82,74,17,0,1,73,196,0,94,6,74,73,1,74,1,0,1,73,0,0,26,75,6,1,135,29,14,0,74,73,75,0,128,75,0,0,135,29,7,0,29,75,3,2,128,75,0,0,0,28,75,0,15,75,28,4,13,73,4,28,16,74,29,5,19,73,73,74,20,75,75,73,121,75,14,0,1,75,1,0,1,73,0,0,135,28,14,0,75,73,6,0,128,73,0,0,135,28,12,0,5,4,28,73,0,29,0,0,85,29,28,0,128,75,0,0,109,29,4,75,1,75,0,0,85,18,75,0,82,75,30,0,32,75,75,1,106,73,30,4,32,73,73,0,19,75,75,73,121,75,6,0,106,75,52,4,94,75,75,69,121,75,3,0,135,75,15,0,61,0,0,0,25,10,52,4,82,6,10,0,1,75,0,0,94,73,6,69,47,75,75,73,4,12,0,0,1,4,0,0,1,75,184,0,94,0,6,75,27,75,4,12,3,75,0,75,25,6,75,8,82,73,6,0,1,74,0,0,135,75,16,0,61,73,74,0,120,75,15,0,27,75,4,12,3,75,0,75,25,5,75,4,82,75,6,0,82,74,5,0,135,6,17,0,61,75,74,0,120,6,2,0,119,0,12,0,27,75,4,12,94,75,0,75,82,73,5,0,135,74,18,0,6,75,73,0,25,4,4,1,82,6,10,0,94,74,6,69,56,74,74,4,4,12,0,0,119,0,227,255,1,73,1,0,135,74,2,0,73,0,0,0,25,22,61,16,0,30,22,0,82,73,30,0,32,73,73,0,121,73,5,0,106,73,30,4,13,73,73,68,0,74,73,0,119,0,3,0,1,73,0,0,0,74,73,0,120,74,27,0,25,30,55,24,82,29,30,0,106,30,30,4,1,74,1,0,85,31,74,0,109,31,4,67,82,74,10,0,25,28,74,40,116,47,31,0,106,73,31,4,109,47,4,73,116,48,28,0,106,74,28,4,109,48,4,74,135,30,13,0,29,30,47,48,0,31,22,0,82,74,31,0,106,73,31,4,128,75,0,0,135,30,7,0,74,73,30,75,0,31,22,0,85,31,30,0,128,73,0,0,109,31,4,73,25,21,61,8,0,31,21,0,82,75,31,0,32,75,75,0,121,75,5,0,106,75,31,4,13,75,75,68,0,73,75,0,119,0,3,0,1,75,0,0,0,73,75,0,120,73,80,0,25,6,55,24,82,0,6,0,106,6,6,4,1,73,1,0,85,32,73,0,109,32,4,67,82,73,10,0,25,31,73,40,116,47,32,0,106,75,32,4,109,47,4,75,116,48,31,0,106,73,31,4,109,48,4,73,135,6,13,0,0,6,47,48,0,0,21,0,82,73,0,0,106,75,0,4,128,74,0,0,135,6,7,0,73,75,6,74,128,74,0,0,0,0,74,0,0,32,21,0,85,32,6,0,109,32,4,0,32,74,6,0,13,75,0,68,19,74,74,75,120,74,49,0,77,74,6,0,61,75,0,0,0,0,128,79,76,73,0,0,65,75,75,73,63,74,74,75,110,75,52,96,65,7,74,75,135,74,19,0,7,0,0,0,59,73,1,0,74,74,74,73,121,74,29,0,59,73,0,0,73,73,7,73,121,73,14,0,61,72,0,0,0,0,128,79,66,72,7,72,135,71,20,0,72,0,0,0,62,72,0,0,0,0,224,255,255,255,239,65,135,73,21,0,71,72,0,0,75,73,73,0,0,74,73,0,119,0,11,0,75,72,7,0,77,72,72,0,64,72,7,72,61,71,0,0,0,0,128,79,66,72,72,71,135,73,22,0,72,0,0,0,75,73,73,0,0,74,73,0,0,75,74,0,119,0,3,0,1,74,0,0,0,75,74,0,0,31,75,0,0,32,21,0,75,75,7,0,85,32,75,0,109,32,4,31,0,0,22,0,82,6,0,0,106,0,0,4,32,75,6,0,13,74,0,68,19,75,75,74,121,75,3,0,1,2,72,0,119,0,224,0,77,75,6,0,61,74,0,0,0,0,128,79,76,73,0,0,65,74,74,73,63,75,75,74,110,74,52,96,65,7,75,74,75,6,7,0,135,75,19,0,7,0,0,0,59,73,1,0,74,75,75,73,121,75,29,0,59,73,0,0,73,73,7,73,121,73,14,0,61,71,0,0,0,0,128,79,66,71,7,71,135,72,20,0,71,0,0,0,62,71,0,0,0,0,224,255,255,255,239,65,135,73,21,0,72,71,0,0,75,73,73,0,0,75,73,0,119,0,11,0,75,71,7,0,77,71,71,0,64,71,7,71,61,72,0,0,0,0,128,79,66,71,71,72,135,73,22,0,71,0,0,0,75,73,73,0,0,75,73,0,0,74,75,0,119,0,3,0,1,75,0,0,0,74,75,0,0,0,74,0,0,32,22,0,85,32,6,0,109,32,4,0,32,74,6,0,13,75,0,68,19,74,74,75,121,74,3,0,1,2,91,0,119,0,170,0,25,32,52,48,82,75,32,0,33,75,75,0,121,75,4,0,1,75,1,0,0,74,75,0,119,0,4,0,106,75,32,4,14,75,75,68,0,74,75,0,2,75,0,0,212,225,6,0,82,75,75,0,33,75,75,0,20,74,74,75,121,74,3,0,1,2,72,0,119,0,152,0,106,74,38,4,106,74,74,8,1,75,0,2,19,74,74,75,120,74,3,0,1,2,72,0,119,0,145,0,25,5,55,32,0,32,5,0,82,75,32,0,32,75,75,0,121,75,5,0,106,75,32,4,13,75,75,68,0,74,75,0,119,0,3,0,1,75,0,0,0,74,75,0,121,74,3,0,1,2,72,0,119,0,131,0,82,74,10,0,25,4,74,40,1,74,1,0,85,33,74,0,109,33,4,67,116,47,4,0,106,75,4,4,109,47,4,75,116,48,33,0,106,74,33,4,109,48,4,74,135,4,13,0,6,0,47,48,128,74,0,0,82,75,5,0,106,73,5,4,135,5,12,0,4,74,75,73,128,73,0,0,0,4,73,0,77,73,5,0,61,75,0,0,0,0,128,79,76,74,4,0,65,75,75,74,63,8,73,75,2,75,0,0,172,225,6,0,88,7,75,0,60,75,0,0,192,189,240,255,65,75,7,75,71,75,8,75,120,75,14,0,60,75,0,0,64,66,15,0,65,75,7,75,73,75,8,75,120,75,3,0,1,2,72,0,119,0,90,0,106,75,52,20,106,75,75,8,32,75,75,3,121,75,3,0,1,2,72,0,119,0,84,0,25,0,55,24,0,33,0,0,82,75,33,0,106,73,33,4,135,33,12,0,75,73,5,4,128,73,0,0,0,6,73,0,85,0,33,0,109,0,4,6,0,0,35,0,85,0,5,0,109,0,4,4,25,0,35,8,85,0,33,0,109,0,4,6,1,75,0,0,1,74,48,0,2,71,0,0,36,76,42,0,135,73,11,0,75,74,71,35,1,73,1,0,85,34,73,0,109,34,4,67,82,73,10,0,25,0,73,40,116,47,34,0,106,71,34,4,109,47,4,71,116,48,0,0,106,73,0,4,109,48,4,73,135,0,13,0,5,4,47,48,0,6,22,0,82,73,6,0,106,71,6,4,128,74,0,0,135,0,12,0,73,71,0,74,128,74,0,0,0,6,74,0,0,35,22,0,85,35,0,0,109,35,4,6,0,35,21,0,82,71,35,0,32,71,71,0,121,71,5,0,106,71,35,4,13,71,71,68,0,74,71,0,119,0,3,0,1,71,0,0,0,74,71,0,121,74,3,0,1,2,73,0,119,0,25,0,1,74,1,0,85,36,74,0,109,36,4,67,82,74,10,0,25,2,74,40,116,47,36,0,106,71,36,4,109,47,4,71,116,48,2,0,106,74,2,4,109,48,4,74,135,36,13,0,5,4,47,48,0,2,21,0,82,74,2,0,106,71,2,4,128,73,0,0,135,36,12,0,74,71,36,73,0,2,21,0,85,2,36,0,128,71,0,0,109,2,4,71,1,2,72,0,32,71,2,72,121,71,5,0,0,6,22,0,82,0,6,0,106,6,6,4,1,2,73,0,32,71,2,73,121,71,58,1,32,71,0,0,13,73,6,68,19,71,71,73,121,71,3,0,1,2,91,0,119,0,52,1,25,5,52,48,0,36,5,0,82,73,36,0,32,73,73,0,121,73,5,0,106,73,36,4,13,73,73,68,0,71,73,0,119,0,3,0,1,73,0,0,0,71,73,0,2,73,0,0,212,225,6,0,82,73,73,0,33,73,73,0,20,71,71,73,121,71,3,0,1,2,91,0,119,0,33,1,82,71,10,0,25,4,71,40,1,71,1,0,85,37,71,0,109,37,4,67,116,47,4,0,106,73,4,4,109,47,4,73,116,48,37,0,106,71,37,4,109,48,4,71,135,6,13,0,0,6,47,48,128,71,0,0,0,0,71,0,0,4,5,0,82,71,4,0,106,73,4,4,135,4,12,0,6,0,71,73,128,73,0,0,0,3,73,0,77,73,4,0,61,71,0,0,0,0,128,79,76,74,3,0,65,71,71,74,63,7,73,71,106,71,38,4,106,71,71,8,1,73,0,2,19,71,71,73,121,71,131,0,2,71,0,0,172,225,6,0,88,8,71,0,60,71,0,0,192,189,240,255,65,71,8,71,71,71,7,71,120,71,41,0,60,71,0,0,64,66,15,0,65,71,8,71,73,71,7,71,121,71,5,0,106,71,52,20,106,71,71,8,33,71,71,3,120,71,32,0,2,71,0,0,160,134,1,0,1,73,0,0,135,38,7,0,6,0,71,73,128,73,0,0,0,36,73,0,25,35,52,72,82,43,35,0,106,35,35,4,25,37,52,56,82,44,37,0,106,37,37,4,15,73,37,35,13,71,35,37,16,74,44,43,19,71,71,74,20,73,73,71,0,41,73,0,125,37,41,35,37,0,0,0,15,73,36,37,13,71,36,37,125,74,41,43,44,0,0,0,16,74,38,74,19,71,71,74,20,73,73,71,120,73,3,0,1,2,91,0,119,0,208,0,25,6,55,24,0,44,6,0,82,73,44,0,106,71,44,4,135,44,12,0,73,71,4,3,128,71,0,0,0,5,71,0,85,6,44,0,109,6,4,5,0,6,40,0,85,6,4,0,109,6,4,3,25,6,40,8,85,6,44,0,109,6,4,5,1,73,0,0,1,74,48,0,2,75,0,0,97,76,42,0,135,71,11,0,73,74,75,40,1,71,1,0,85,39,71,0,109,39,4,67,82,71,10,0,25,6,71,40,116,47,39,0,106,75,39,4,109,47,4,75,116,48,6,0,106,71,6,4,109,48,4,71,135,6,13,0,4,3,47,48,0,5,22,0,82,71,5,0,106,75,5,4,128,74,0,0,135,6,12,0,71,75,6,74,128,74,0,0,0,5,74,0,0,44,22,0,85,44,6,0,109,44,4,5,0,44,21,0,82,75,44,0,32,75,75,0,121,75,5,0,106,75,44,4,13,75,75,68,0,74,75,0,119,0,3,0,1,75,0,0,0,74,75,0,120,74,151,0,1,74,1,0,85,42,74,0,109,42,4,67,82,74,10,0,25,44,74,40,116,47,42,0,106,75,42,4,109,47,4,75,116,48,44,0,106,74,44,4,109,48,4,74,135,44,13,0,4,3,47,48,0,2,21,0,82,74,2,0,106,75,2,4,128,71,0,0,135,44,12,0,74,75,44,71,0,2,21,0,85,2,44,0,128,75,0,0,109,2,4,75,1,2,91,0,119,0,126,0,2,75,0,0,176,225,6,0,88,8,75,0,60,75,0,0,192,189,240,255,65,75,8,75,71,75,7,75,121,75,3,0,1,2,85,0,119,0,11,0,60,75,0,0,64,66,15,0,65,75,8,75,73,75,7,75,121,75,6,0,106,75,52,20,106,75,75,8,33,75,75,3,121,75,2,0,1,2,85,0,32,75,2,85,121,75,24,0,0,36,22,0,106,37,36,4,0,39,5,0,82,38,39,0,106,39,39,4,82,42,46,0,0,40,41,0,116,40,36,0,109,40,4,37,25,40,41,8,85,40,38,0,109,40,4,39,109,41,16,42,1,71,0,0,1,74,24,0,2,73,0,0,145,76,42,0,135,75,11,0,71,74,73,41,0,42,22,0,1,75,0,0,85,42,75,0,109,42,4,68,0,0,21,0,82,6,0,0,106,0,0,4,32,75,6,0,13,73,0,68,19,75,75,73,121,75,3,0,1,2,91,0,119,0,72,0,82,75,10,0,25,42,75,40,1,75,1,0,85,43,75,0,109,43,4,67,116,47,42,0,106,73,42,4,109,47,4,73,116,48,43,0,106,75,43,4,109,48,4,75,135,42,13,0,6,0,47,48,0,43,5,0,128,75,0,0,82,73,43,0,106,74,43,4,135,43,12,0,42,75,73,74,77,74,43,0,61,73,0,0,0,0,128,79,128,75,0,0,76,75,75,0,65,73,73,75,63,7,74,73,2,73,0,0,176,225,6,0,88,8,73,0,60,73,0,0,192,189,240,255,65,73,8,73,71,73,7,73,120,73,14,0,60,73,0,0,64,66,15,0,65,73,8,73,73,73,7,73,120,73,3,0,1,2,91,0,119,0,31,0,106,73,52,20,106,73,73,8,32,73,73,3,121,73,3,0,1,2,91,0,119,0,25,0,0,39,21,0,106,40,39,4,0,42,5,0,82,41,42,0,106,42,42,4,82,2,46,0,0,43,44,0,116,43,39,0,109,43,4,40,25,43,44,8,85,43,41,0,109,43,4,42,109,44,16,2,1,74,0,0,1,75,24,0,2,71,0,0,189,76,42,0,135,73,11,0,74,75,71,44,0,2,21,0,1,73,0,0,85,2,73,0,109,2,4,68,1,2,91,0,32,73,2,91,121,73,4,0,0,5,22,0,82,6,5,0,106,5,5,4,32,73,6,0,13,71,5,68,19,73,73,71,120,73,18,0,82,73,10,0,25,43,73,40,1,73,1,0,85,49,73,0,109,49,4,67,116,47,43,0,106,71,43,4,109,47,4,71,116,48,49,0,106,73,49,4,109,48,4,73,135,43,13,0,6,5,47,48,25,44,55,32,85,44,43,0,128,71,0,0,109,44,4,71,2,71,0,0,220,225,6,0,82,71,71,0,121,71,113,0,82,71,46,0,82,73,45,0,3,0,71,73,106,73,52,20,106,73,73,8,135,6,8,0,73,0,0,0,0,24,50,0,25,25,24,32,1,73,0,0,83,24,73,0,25,24,24,1,54,73,24,25,72,23,0,0,0,1,21,0,82,73,1,0,106,71,1,4,135,1,9,0,50,73,71,0,0,24,51,0,25,25,24,32,1,71,0,0,83,24,71,0,25,24,24,1,54,71,24,25,120,23,0,0,0,2,21,0,82,71,2,0,106,73,2,4,82,75,10,0,25,75,75,40,135,2,10,0,51,71,73,75,0,24,53,0,25,25,24,32,1,75,0,0,83,24,75,0,25,24,24,1,54,75,24,25,176,23,0,0,0,3,22,0,82,75,3,0,106,73,3,4,135,3,9,0,53,75,73,0,0,24,54,0,25,25,24,32,1,73,0,0,83,24,73,0,25,24,24,1,54,73,24,25,224,23,0,0,0,4,22,0,82,73,4,0,106,75,4,4,82,71,10,0,25,71,71,40,135,4,10,0,54,73,75,71,0,24,56,0,25,25,24,32,1,71,0,0,83,24,71,0,25,24,24,1,54,71,24,25,24,24,0,0,2,71,0,0,200,237,6,0,82,71,71,0,82,75,52,0,41,75,75,2,94,71,71,75,25,5,71,24,82,71,5,0,106,75,5,4,135,5,9,0,56,71,75,0,0,24,57,0,25,25,24,32,1,75,0,0,83,24,75,0,25,24,24,1,54,75,24,25,96,24,0,0,2,75,0,0,200,237,6,0,82,75,75,0,82,71,52,0,41,71,71,2,94,75,75,71,25,46,75,24,82,45,46,0,106,46,46,4,1,75,1,0,85,58,75,0,109,58,4,67,135,46,10,0,57,45,46,58,85,59,0,0,109,59,4,6,109,59,8,1,109,59,12,2,109,59,16,3,109,59,20,4,109,59,24,5,109,59,28,46,1,71,0,0,1,73,32,0,2,74,0,0,233,76,42,0,135,75,11,0,71,73,74,59,0,3,21,0,82,74,3,0,106,73,3,4,135,75,23,0,52,74,73,0,135,3,3,0,52,61,0,0,34,75,3,0,121,75,32,0,82,4,52,0,82,75,10,0,82,5,75,0,0,24,60,0,25,25,24,64,1,75,0,0,83,24,75,0,25,24,24,1,54,75,24,25,28,25,0,0,135,46,24,0,60,3,0,0,85,62,4,0,109,62,4,5,109,62,8,46,1,73,0,0,1,74,16,0,2,71,0,0,90,77,42,0,135,75,11,0,73,74,71,62,2,75,0,0,224,225,6,0,82,75,75,0,121,75,7,0,1,71,1,0,135,75,2,0,71,0,0,0,119,0,3,0,135,75,25,0,0,61,0,0,135,75,26,0,61,0,0,0,1,46,0,0,137,63,0,0,139,46,0,0,140,2,91,0,0,0,0,0,2,77,0,0,192,0,0,0,2,78,0,0,164,1,0,0,2,79,0,0,128,0,0,0,2,80,0,0,236,46,0,0,2,81,0,0,0,0,0,128,2,82,0,0,248,0,0,0,2,83,0,0,0,4,0,0,2,84,0,0,214,2,0,0,1,61,0,0,136,85,0,0,0,75,85,0,136,85,0,0,1,86,128,2,3,85,85,86,137,85,0,0,130,85,0,0,136,86,0,0,49,85,85,86,16,26,0,0,135,85,0,0,1,85,32,1,3,69,75,85,1,85,112,2,3,42,75,85,1,85,8