leptris 0.1.16 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/leptris.mjs CHANGED
@@ -6,7 +6,7 @@ var Module = (() => {
6
6
  async function(moduleArg = {}) {
7
7
  var moduleRtn;
8
8
 
9
- var Module=moduleArg;var readyPromiseResolve,readyPromiseReject;var readyPromise=new Promise((resolve,reject)=>{readyPromiseResolve=resolve;readyPromiseReject=reject});var ENVIRONMENT_IS_WEB=typeof window=="object";var ENVIRONMENT_IS_WORKER=typeof WorkerGlobalScope!="undefined";var ENVIRONMENT_IS_NODE=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string"&&process.type!="renderer";if(ENVIRONMENT_IS_NODE){const{createRequire}=await import("module");let dirname=import.meta.url;if(dirname.startsWith("data:")){dirname="/"}var require=createRequire(dirname)}var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisProgram="./this.program";var quit_=(status,toThrow)=>{throw toThrow};var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var readAsync,readBinary;if(ENVIRONMENT_IS_NODE){var fs=require("fs");var nodePath=require("path");if(!import.meta.url.startsWith("data:")){scriptDirectory=nodePath.dirname(require("url").fileURLToPath(import.meta.url))+"/"}readBinary=filename=>{filename=isFileURI(filename)?new URL(filename):filename;var ret=fs.readFileSync(filename);return ret};readAsync=async(filename,binary=true)=>{filename=isFileURI(filename)?new URL(filename):filename;var ret=fs.readFileSync(filename,binary?undefined:"utf8");return ret};if(!Module["thisProgram"]&&process.argv.length>1){thisProgram=process.argv[1].replace(/\\/g,"/")}arguments_=process.argv.slice(2);quit_=(status,toThrow)=>{process.exitCode=status;throw toThrow}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(_scriptName){scriptDirectory=_scriptName}if(scriptDirectory.startsWith("blob:")){scriptDirectory=""}else{scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}{readAsync=async url=>{var response=await fetch(url,{credentials:"same-origin"});if(response.ok){return response.arrayBuffer()}throw new Error(response.status+" : "+response.url)}}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.error.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];var wasmBinary=Module["wasmBinary"];var wasmMemory;var ABORT=false;var HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAP64,HEAPU64,HEAPF64;function updateMemoryViews(){var b=wasmMemory.buffer;Module["HEAP8"]=HEAP8=new Int8Array(b);Module["HEAP16"]=HEAP16=new Int16Array(b);Module["HEAPU8"]=HEAPU8=new Uint8Array(b);Module["HEAPU16"]=HEAPU16=new Uint16Array(b);Module["HEAP32"]=HEAP32=new Int32Array(b);Module["HEAPU32"]=HEAPU32=new Uint32Array(b);Module["HEAPF32"]=HEAPF32=new Float32Array(b);Module["HEAPF64"]=HEAPF64=new Float64Array(b);Module["HEAP64"]=HEAP64=new BigInt64Array(b);Module["HEAPU64"]=HEAPU64=new BigUint64Array(b)}var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=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 initRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.initialized)FS.init();FS.ignorePermissions=false;TTY.init();callRuntimeCallbacks(__ATINIT__)}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)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;Module["monitorRunDependencies"]?.(runDependencies)}function removeRunDependency(id){runDependencies--;Module["monitorRunDependencies"]?.(runDependencies);if(runDependencies==0){if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}function abort(what){Module["onAbort"]?.(what);what="Aborted("+what+")";err(what);ABORT=true;what+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(what);readyPromiseReject(e);throw e}var dataURIPrefix="data:application/octet-stream;base64,";var isDataURI=filename=>filename.startsWith(dataURIPrefix);var isFileURI=filename=>filename.startsWith("file://");function findWasmBinary(){if(Module["locateFile"]){var f="leptris.wasm";if(!isDataURI(f)){return locateFile(f)}return f}return new URL("leptris.wasm",import.meta.url).href}var wasmBinaryFile;function getBinarySync(file){if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}throw"both async and sync fetching of the wasm failed"}async function getWasmBinary(binaryFile){if(!wasmBinary){try{var response=await readAsync(binaryFile);return new Uint8Array(response)}catch{}}return getBinarySync(binaryFile)}async function instantiateArrayBuffer(binaryFile,imports){try{var binary=await getWasmBinary(binaryFile);var instance=await WebAssembly.instantiate(binary,imports);return instance}catch(reason){err(`failed to asynchronously prepare wasm: ${reason}`);abort(reason)}}async function instantiateAsync(binary,binaryFile,imports){if(!binary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(binaryFile)&&!ENVIRONMENT_IS_NODE&&typeof fetch=="function"){try{var response=fetch(binaryFile,{credentials:"same-origin"});var instantiationResult=await WebAssembly.instantiateStreaming(response,imports);return instantiationResult}catch(reason){err(`wasm streaming compile failed: ${reason}`);err("falling back to ArrayBuffer instantiation")}}return instantiateArrayBuffer(binaryFile,imports)}function getWasmImports(){return{a:wasmImports}}async function createWasm(){function receiveInstance(instance,module){wasmExports=instance.exports;wasmMemory=wasmExports["p"];updateMemoryViews();addOnInit(wasmExports["q"]);removeRunDependency("wasm-instantiate");return wasmExports}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}var info=getWasmImports();if(Module["instantiateWasm"]){try{return Module["instantiateWasm"](info,receiveInstance)}catch(e){err(`Module.instantiateWasm callback failed with error: ${e}`);readyPromiseReject(e)}}wasmBinaryFile??=findWasmBinary();try{var result=await instantiateAsync(wasmBinary,wasmBinaryFile,info);receiveInstantiationResult(result);return result}catch(e){readyPromiseReject(e);return}}class ExitStatus{name="ExitStatus";constructor(status){this.message=`Program terminated with exit(${status})`;this.status=status}}var callRuntimeCallbacks=callbacks=>{while(callbacks.length>0){callbacks.shift()(Module)}};var noExitRuntime=Module["noExitRuntime"]||true;var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder:undefined;var UTF8ArrayToString=(heapOrArray,idx=0,maxBytesToRead=NaN)=>{var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}var str="";while(idx<endPtr){var u0=heapOrArray[idx++];if(!(u0&128)){str+=String.fromCharCode(u0);continue}var u1=heapOrArray[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}var u2=heapOrArray[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u0=(u0&7)<<18|u1<<12|u2<<6|heapOrArray[idx++]&63}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}return str};var UTF8ToString=(ptr,maxBytesToRead)=>ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):"";var ___assert_fail=(condition,filename,line,func)=>abort(`Assertion failed: ${UTF8ToString(condition)}, at: `+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"]);var syscallGetVarargI=()=>{var ret=HEAP32[+SYSCALLS.varargs>>2];SYSCALLS.varargs+=4;return ret};var syscallGetVarargP=syscallGetVarargI;var PATH={isAbs:path=>path.charAt(0)==="/",splitPath:filename=>{var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:(parts,allowAboveRoot)=>{var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:path=>{var isAbsolute=PATH.isAbs(path),trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(p=>!!p),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:path=>{var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:path=>{if(path==="/")return"/";path=PATH.normalize(path);path=path.replace(/\/$/,"");var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},join:(...paths)=>PATH.normalize(paths.join("/")),join2:(l,r)=>PATH.normalize(l+"/"+r)};var initRandomFill=()=>{if(typeof crypto=="object"&&typeof crypto["getRandomValues"]=="function"){return view=>crypto.getRandomValues(view)}else if(ENVIRONMENT_IS_NODE){try{var crypto_module=require("crypto");var randomFillSync=crypto_module["randomFillSync"];if(randomFillSync){return view=>crypto_module["randomFillSync"](view)}var randomBytes=crypto_module["randomBytes"];return view=>(view.set(randomBytes(view.byteLength)),view)}catch(e){}}abort("initRandomDevice")};var randomFill=view=>(randomFill=initRandomFill())(view);var PATH_FS={resolve:(...args)=>{var resolvedPath="",resolvedAbsolute=false;for(var i=args.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?args[i]:FS.cwd();if(typeof path!="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=PATH.isAbs(path)}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(p=>!!p),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:(from,to)=>{from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start<arr.length;start++){if(arr[start]!=="")break}var end=arr.length-1;for(;end>=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i<length;i++){if(fromParts[i]!==toParts[i]){samePartsLength=i;break}}var outputParts=[];for(var i=samePartsLength;i<fromParts.length;i++){outputParts.push("..")}outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join("/")}};var FS_stdin_getChar_buffer=[];var lengthBytesUTF8=str=>{var len=0;for(var i=0;i<str.length;++i){var c=str.charCodeAt(i);if(c<=127){len++}else if(c<=2047){len+=2}else if(c>=55296&&c<=57343){len+=4;++i}else{len+=3}}return len};var stringToUTF8Array=(str,heap,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){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx};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}var FS_stdin_getChar=()=>{if(!FS_stdin_getChar_buffer.length){var result=null;if(ENVIRONMENT_IS_NODE){var BUFSIZE=256;var buf=Buffer.alloc(BUFSIZE);var bytesRead=0;var fd=process.stdin.fd;try{bytesRead=fs.readSync(fd,buf,0,BUFSIZE)}catch(e){if(e.toString().includes("EOF"))bytesRead=0;else throw e}if(bytesRead>0){result=buf.slice(0,bytesRead).toString("utf-8")}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else{}if(!result){return null}FS_stdin_getChar_buffer=intArrayFromString(result,true)}return FS_stdin_getChar_buffer.shift()};var TTY={ttys:[],init(){},shutdown(){},register(dev,ops){TTY.ttys[dev]={input:[],output:[],ops};FS.registerDevice(dev,TTY.stream_ops)},stream_ops:{open(stream){var tty=TTY.ttys[stream.node.rdev];if(!tty){throw new FS.ErrnoError(43)}stream.tty=tty;stream.seekable=false},close(stream){stream.tty.ops.fsync(stream.tty)},fsync(stream){stream.tty.ops.fsync(stream.tty)},read(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.get_char){throw new FS.ErrnoError(60)}var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=stream.tty.ops.get_char(stream.tty)}catch(e){throw new FS.ErrnoError(29)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(6)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.atime=Date.now()}return bytesRead},write(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.put_char){throw new FS.ErrnoError(60)}try{for(var i=0;i<length;i++){stream.tty.ops.put_char(stream.tty,buffer[offset+i])}}catch(e){throw new FS.ErrnoError(29)}if(length){stream.node.mtime=stream.node.ctime=Date.now()}return i}},default_tty_ops:{get_char(tty){return FS_stdin_getChar()},put_char(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output));tty.output=[]}else{if(val!=0)tty.output.push(val)}},fsync(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output));tty.output=[]}},ioctl_tcgets(tty){return{c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},ioctl_tcsets(tty,optional_actions,data){return 0},ioctl_tiocgwinsz(tty){return[24,80]}},default_tty1_ops:{put_char(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output));tty.output=[]}else{if(val!=0)tty.output.push(val)}},fsync(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output));tty.output=[]}}}};var alignMemory=(size,alignment)=>Math.ceil(size/alignment)*alignment;var mmapAlloc=size=>{abort()};var MEMFS={ops_table:null,mount(mount){return MEMFS.createNode(null,"/",16895,0)},createNode(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}MEMFS.ops_table||={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}};var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.atime=node.mtime=node.ctime=Date.now();if(parent){parent.contents[name]=node;parent.atime=parent.mtime=parent.ctime=node.atime}return node},getFileDataAsTypedArray(node){if(!node.contents)return new Uint8Array(0);if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)},expandFileStorage(node,newCapacity){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity<CAPACITY_DOUBLING_MAX?2:1.125)>>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0)},resizeFileStorage(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0}else{var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize}},node_ops:{getattr(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.atime);attr.mtime=new Date(node.mtime);attr.ctime=new Date(node.ctime);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr},setattr(node,attr){for(const key of["mode","atime","mtime","ctime"]){if(attr[key]){node[key]=attr[key]}}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}},lookup(parent,name){throw MEMFS.doesNotExistError},mknod(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)},rename(old_node,new_dir,new_name){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){if(FS.isDir(old_node.mode)){for(var i in new_node.contents){throw new FS.ErrnoError(55)}}FS.hashRemoveNode(new_node)}delete old_node.parent.contents[old_node.name];new_dir.contents[new_name]=old_node;old_node.name=new_name;new_dir.ctime=new_dir.mtime=old_node.parent.ctime=old_node.parent.mtime=Date.now()},unlink(parent,name){delete parent.contents[name];parent.ctime=parent.mtime=Date.now()},rmdir(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(55)}delete parent.contents[name];parent.ctime=parent.mtime=Date.now()},readdir(node){return[".","..",...Object.keys(node.contents)]},symlink(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node},readlink(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(28)}return node.link}},stream_ops:{read(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i<size;i++)buffer[offset+i]=contents[position+i]}return size},write(stream,buffer,offset,length,position,canOwn){if(buffer.buffer===HEAP8.buffer){canOwn=false}if(!length)return 0;var node=stream.node;node.mtime=node.ctime=Date.now();if(buffer.subarray&&(!node.contents||node.contents.subarray)){if(canOwn){node.contents=buffer.subarray(offset,offset+length);node.usedBytes=length;return length}else if(node.usedBytes===0&&position===0){node.contents=buffer.slice(offset,offset+length);node.usedBytes=length;return length}else if(position+length<=node.usedBytes){node.contents.set(buffer.subarray(offset,offset+length),position);return length}}MEMFS.expandFileStorage(node,position+length);if(node.contents.subarray&&buffer.subarray){node.contents.set(buffer.subarray(offset,offset+length),position)}else{for(var i=0;i<length;i++){node.contents[position+i]=buffer[offset+i]}}node.usedBytes=Math.max(node.usedBytes,position+length);return length},llseek(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.usedBytes}}if(position<0){throw new FS.ErrnoError(28)}return position},allocate(stream,offset,length){MEMFS.expandFileStorage(stream.node,offset+length);stream.node.usedBytes=Math.max(stream.node.usedBytes,offset+length)},mmap(stream,length,position,prot,flags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(43)}var ptr;var allocated;var contents=stream.node.contents;if(!(flags&2)&&contents&&contents.buffer===HEAP8.buffer){allocated=false;ptr=contents.byteOffset}else{allocated=true;ptr=mmapAlloc(length);if(!ptr){throw new FS.ErrnoError(48)}if(contents){if(position>0||position+length<contents.length){if(contents.subarray){contents=contents.subarray(position,position+length)}else{contents=Array.prototype.slice.call(contents,position,position+length)}}HEAP8.set(contents,ptr)}}return{ptr,allocated}},msync(stream,buffer,offset,length,mmapFlags){MEMFS.stream_ops.write(stream,buffer,0,length,offset,false);return 0}}};var asyncLoad=async url=>{var arrayBuffer=await readAsync(url);return new Uint8Array(arrayBuffer)};var FS_createDataFile=(parent,name,fileData,canRead,canWrite,canOwn)=>{FS.createDataFile(parent,name,fileData,canRead,canWrite,canOwn)};var preloadPlugins=Module["preloadPlugins"]||[];var FS_handledByPreloadPlugin=(byteArray,fullname,finish,onerror)=>{if(typeof Browser!="undefined")Browser.init();var handled=false;preloadPlugins.forEach(plugin=>{if(handled)return;if(plugin["canHandle"](fullname)){plugin["handle"](byteArray,fullname,finish,onerror);handled=true}});return handled};var FS_createPreloadedFile=(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn,preFinish)=>{var fullname=name?PATH_FS.resolve(PATH.join2(parent,name)):parent;var dep=getUniqueRunDependency(`cp ${fullname}`);function processData(byteArray){function finish(byteArray){preFinish?.();if(!dontCreateFile){FS_createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}onload?.();removeRunDependency(dep)}if(FS_handledByPreloadPlugin(byteArray,fullname,finish,()=>{onerror?.();removeRunDependency(dep)})){return}finish(byteArray)}addRunDependency(dep);if(typeof url=="string"){asyncLoad(url).then(processData,onerror)}else{processData(url)}};var FS_modeStringToFlags=str=>{var flagModes={r:0,"r+":2,w:512|64|1,"w+":512|64|2,a:1024|64|1,"a+":1024|64|2};var flags=flagModes[str];if(typeof flags=="undefined"){throw new Error(`Unknown file open mode: ${str}`)}return flags};var FS_getMode=(canRead,canWrite)=>{var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode};var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,ErrnoError:class{name="ErrnoError";constructor(errno){this.errno=errno}},filesystems:null,syncFSRequests:0,readFiles:{},FSStream:class{shared={};get object(){return this.node}set object(val){this.node=val}get isRead(){return(this.flags&2097155)!==1}get isWrite(){return(this.flags&2097155)!==0}get isAppend(){return this.flags&1024}get flags(){return this.shared.flags}set flags(val){this.shared.flags=val}get position(){return this.shared.position}set position(val){this.shared.position=val}},FSNode:class{node_ops={};stream_ops={};readMode=292|73;writeMode=146;mounted=null;constructor(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.rdev=rdev;this.atime=this.mtime=this.ctime=Date.now()}get read(){return(this.mode&this.readMode)===this.readMode}set read(val){val?this.mode|=this.readMode:this.mode&=~this.readMode}get write(){return(this.mode&this.writeMode)===this.writeMode}set write(val){val?this.mode|=this.writeMode:this.mode&=~this.writeMode}get isFolder(){return FS.isDir(this.mode)}get isDevice(){return FS.isChrdev(this.mode)}},lookupPath(path,opts={}){if(!path)return{path:"",node:null};opts.follow_mount??=true;if(!PATH.isAbs(path)){path=FS.cwd()+"/"+path}linkloop:for(var nlinks=0;nlinks<40;nlinks++){var parts=path.split("/").filter(p=>!!p&&p!==".");var current=FS.root;var current_path="/";for(var i=0;i<parts.length;i++){var islast=i===parts.length-1;if(islast&&opts.parent){break}if(parts[i]===".."){current_path=PATH.dirname(current_path);current=current.parent;continue}current_path=PATH.join2(current_path,parts[i]);try{current=FS.lookupNode(current,parts[i])}catch(e){if(e?.errno===44&&islast&&opts.noent_okay){return{path:current_path}}throw e}if(FS.isMountpoint(current)&&(!islast||opts.follow_mount)){current=current.mounted.root}if(FS.isLink(current.mode)&&(!islast||opts.follow)){if(!current.node_ops.readlink){throw new FS.ErrnoError(52)}var link=current.node_ops.readlink(current);if(!PATH.isAbs(link)){link=PATH.dirname(current_path)+"/"+link}path=link+"/"+parts.slice(i+1).join("/");continue linkloop}}return{path:current_path,node:current}}throw new FS.ErrnoError(32)},getPath(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?`${mount}/${path}`:mount+path}path=path?`${node.name}/${path}`:node.name;node=node.parent}},hashName(parentid,name){var hash=0;for(var i=0;i<name.length;i++){hash=(hash<<5)-hash+name.charCodeAt(i)|0}return(parentid+hash>>>0)%FS.nameTable.length},hashAddNode(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode(node){FS.hashRemoveNode(node)},isRoot(node){return node===node.parent},isMountpoint(node){return!!node.mounted},isFile(mode){return(mode&61440)===32768},isDir(mode){return(mode&61440)===16384},isLink(mode){return(mode&61440)===40960},isChrdev(mode){return(mode&61440)===8192},isBlkdev(mode){return(mode&61440)===24576},isFIFO(mode){return(mode&61440)===4096},isSocket(mode){return(mode&49152)===49152},flagsToPermissionString(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions(node,perms){if(FS.ignorePermissions){return 0}if(perms.includes("r")&&!(node.mode&292)){return 2}else if(perms.includes("w")&&!(node.mode&146)){return 2}else if(perms.includes("x")&&!(node.mode&73)){return 2}return 0},mayLookup(dir){if(!FS.isDir(dir.mode))return 54;var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate(dir,name){if(!FS.isDir(dir.mode)){return 54}try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd(){for(var fd=0;fd<=FS.MAX_OPEN_FDS;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStreamChecked(fd){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}return stream},getStream:fd=>FS.streams[fd],createStream(stream,fd=-1){stream=Object.assign(new FS.FSStream,stream);if(fd==-1){fd=FS.nextfd()}stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream(fd){FS.streams[fd]=null},dupStream(origStream,fd=-1){var stream=FS.createStream(origStream,fd);stream.stream_ops?.dup?.(stream);return stream},chrdev_stream_ops:{open(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;stream.stream_ops.open?.(stream)},llseek(){throw new FS.ErrnoError(70)}},major:dev=>dev>>8,minor:dev=>dev&255,makedev:(ma,mi)=>ma<<8|mi,registerDevice(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:dev=>FS.devices[dev],getMounts(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push(...m.mounts)}return mounts},syncfs(populate,callback){if(typeof populate=="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err(`warning: ${FS.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`)}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(mount=>{if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type,opts,mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(hash=>{var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.includes(current.mount)){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup(parent,name){return parent.node_ops.lookup(parent,name)},mknod(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},statfs(path){var rtn={bsize:4096,frsize:4096,blocks:1e6,bfree:5e5,bavail:5e5,files:FS.nextInode,ffree:FS.nextInode-1,fsid:42,flags:2,namelen:255};var parent=FS.lookupPath(path,{follow:true}).node;if(parent?.node_ops.statfs){Object.assign(rtn,parent.node_ops.statfs(parent.mount.opts.root))}return rtn},create(path,mode=438){mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir(path,mode=511){mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree(path,mode){var dirs=path.split("/");var d="";for(var i=0;i<dirs.length;++i){if(!dirs[i])continue;d+="/"+dirs[i];try{FS.mkdir(d,mode)}catch(e){if(e.errno!=20)throw e}}},mkdev(path,mode,dev){if(typeof dev=="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)},symlink(oldpath,newpath){if(!PATH_FS.resolve(oldpath)){throw new FS.ErrnoError(44)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var newname=PATH.basename(newpath);var errCode=FS.mayCreate(parent,newname);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(63)}return parent.node_ops.symlink(parent,newname,oldpath)},rename(old_path,new_path){var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node;if(!old_dir||!new_dir)throw new FS.ErrnoError(44);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(75)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH_FS.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(28)}relative=PATH_FS.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(55)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var errCode=FS.mayDelete(old_dir,old_name,isdir);if(errCode){throw new FS.ErrnoError(errCode)}errCode=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(errCode){throw new FS.ErrnoError(errCode)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(63)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(10)}if(new_dir!==old_dir){errCode=FS.nodePermissions(old_dir,"w");if(errCode){throw new FS.ErrnoError(errCode)}}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name);old_node.parent=new_dir}catch(e){throw e}finally{FS.hashAddNode(old_node)}},rmdir(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,true);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node)},readdir(path){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(54)}return node.node_ops.readdir(node)},unlink(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,false);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.unlink(parent,name);FS.destroyNode(node)},readlink(path){var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(44)}if(!link.node_ops.readlink){throw new FS.ErrnoError(28)}return link.node_ops.readlink(link)},stat(path,dontFollow){var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(44)}if(!node.node_ops.getattr){throw new FS.ErrnoError(63)}return node.node_ops.getattr(node)},lstat(path){return FS.stat(path,true)},chmod(path,mode,dontFollow){var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,ctime:Date.now()})},lchmod(path,mode){FS.chmod(path,mode,true)},fchmod(fd,mode){var stream=FS.getStreamChecked(fd);FS.chmod(stream.node,mode)},chown(path,uid,gid,dontFollow){var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{timestamp:Date.now()})},lchown(path,uid,gid){FS.chown(path,uid,gid,true)},fchown(fd,uid,gid){var stream=FS.getStreamChecked(fd);FS.chown(stream.node,uid,gid)},truncate(path,len){if(len<0){throw new FS.ErrnoError(28)}var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(31)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(28)}var errCode=FS.nodePermissions(node,"w");if(errCode){throw new FS.ErrnoError(errCode)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})},ftruncate(fd,len){var stream=FS.getStreamChecked(fd);if((stream.flags&2097155)===0){throw new FS.ErrnoError(28)}FS.truncate(stream.node,len)},utime(path,atime,mtime){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{atime,mtime})},open(path,flags,mode=438){if(path===""){throw new FS.ErrnoError(44)}flags=typeof flags=="string"?FS_modeStringToFlags(flags):flags;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path=="object"){node=path}else{var lookup=FS.lookupPath(path,{follow:!(flags&131072),noent_okay:true});node=lookup.node;path=lookup.path}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(20)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(44)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}if(!created){var errCode=FS.mayOpen(node,flags);if(errCode){throw new FS.ErrnoError(errCode)}}if(flags&512&&!created){FS.truncate(node,0)}flags&=~(128|512|131072);var stream=FS.createStream({node,path:FS.getPath(node),flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false});if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!(path in FS.readFiles)){FS.readFiles[path]=1}}return stream},close(stream){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}stream.fd=null},isClosed(stream){return stream.fd===null},llseek(stream,offset,whence){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(70)}if(whence!=0&&whence!=1&&whence!=2){throw new FS.ErrnoError(28)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position},read(stream,buffer,offset,length,position){if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.read){throw new FS.ErrnoError(28)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead},write(stream,buffer,offset,length,position,canOwn){if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.write){throw new FS.ErrnoError(28)}if(stream.seekable&&stream.flags&1024){FS.llseek(stream,0,2)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;return bytesWritten},allocate(stream,offset,length){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(offset<0||length<=0){throw new FS.ErrnoError(28)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(stream.node.mode)){throw new FS.ErrnoError(43)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(138)}stream.stream_ops.allocate(stream,offset,length)},mmap(stream,length,position,prot,flags){if((prot&2)!==0&&(flags&2)===0&&(stream.flags&2097155)!==2){throw new FS.ErrnoError(2)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(2)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(43)}if(!length){throw new FS.ErrnoError(28)}return stream.stream_ops.mmap(stream,length,position,prot,flags)},msync(stream,buffer,offset,length,mmapFlags){if(!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)},ioctl(stream,cmd,arg){if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(59)}return stream.stream_ops.ioctl(stream,cmd,arg)},readFile(path,opts={}){opts.flags=opts.flags||0;opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error(`Invalid encoding type "${opts.encoding}"`)}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret},writeFile(path,data,opts={}){opts.flags=opts.flags||577;var stream=FS.open(path,opts.flags,opts.mode);if(typeof data=="string"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,undefined,opts.canOwn)}else if(ArrayBuffer.isView(data)){FS.write(stream,data,0,data.byteLength,undefined,opts.canOwn)}else{throw new Error("Unsupported data type")}FS.close(stream)},cwd:()=>FS.currentPath,chdir(path){var lookup=FS.lookupPath(path,{follow:true});if(lookup.node===null){throw new FS.ErrnoError(44)}if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(54)}var errCode=FS.nodePermissions(lookup.node,"x");if(errCode){throw new FS.ErrnoError(errCode)}FS.currentPath=lookup.path},createDefaultDirectories(){FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")},createDefaultDevices(){FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:()=>0,write:(stream,buffer,offset,length,pos)=>length,llseek:()=>0});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var randomBuffer=new Uint8Array(1024),randomLeft=0;var randomByte=()=>{if(randomLeft===0){randomLeft=randomFill(randomBuffer).byteLength}return randomBuffer[--randomLeft]};FS.createDevice("/dev","random",randomByte);FS.createDevice("/dev","urandom",randomByte);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")},createSpecialDirectories(){FS.mkdir("/proc");var proc_self=FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd");FS.mount({mount(){var node=FS.createNode(proc_self,"fd",16895,73);node.stream_ops={llseek:MEMFS.stream_ops.llseek};node.node_ops={lookup(parent,name){var fd=+name;var stream=FS.getStreamChecked(fd);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>stream.path},id:fd+1};ret.parent=ret;return ret},readdir(){return Array.from(FS.streams.entries()).filter(([k,v])=>v).map(([k,v])=>k.toString())}};return node}},{},"/proc/self/fd")},createStandardStreams(input,output,error){if(input){FS.createDevice("/dev","stdin",input)}else{FS.symlink("/dev/tty","/dev/stdin")}if(output){FS.createDevice("/dev","stdout",null,output)}else{FS.symlink("/dev/tty","/dev/stdout")}if(error){FS.createDevice("/dev","stderr",null,error)}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin",0);var stdout=FS.open("/dev/stdout",1);var stderr=FS.open("/dev/stderr",1)},staticInit(){FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices();FS.createSpecialDirectories();FS.filesystems={MEMFS}},init(input,output,error){FS.initialized=true;input??=Module["stdin"];output??=Module["stdout"];error??=Module["stderr"];FS.createStandardStreams(input,output,error)},quit(){FS.initialized=false;for(var i=0;i<FS.streams.length;i++){var stream=FS.streams[i];if(!stream){continue}FS.close(stream)}},findObject(path,dontResolveLastLink){var ret=FS.analyzePath(path,dontResolveLastLink);if(!ret.exists){return null}return ret.object},analyzePath(path,dontResolveLastLink){try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret},createPath(parent,path,canRead,canWrite){parent=typeof parent=="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current},createFile(parent,name,properties,canRead,canWrite){var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS_getMode(canRead,canWrite);return FS.create(path,mode)},createDataFile(parent,name,data,canRead,canWrite,canOwn){var path=name;if(parent){parent=typeof parent=="string"?parent:FS.getPath(parent);path=name?PATH.join2(parent,name):parent}var mode=FS_getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data=="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i<len;++i)arr[i]=data.charCodeAt(i);data=arr}FS.chmod(node,mode|146);var stream=FS.open(node,577);FS.write(stream,data,0,data.length,0,canOwn);FS.close(stream);FS.chmod(node,mode)}},createDevice(parent,name,input,output){var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS_getMode(!!input,!!output);FS.createDevice.major??=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open(stream){stream.seekable=false},close(stream){if(output?.buffer?.length){output(10)}},read(stream,buffer,offset,length,pos){var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=input()}catch(e){throw new FS.ErrnoError(29)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(6)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.atime=Date.now()}return bytesRead},write(stream,buffer,offset,length,pos){for(var i=0;i<length;i++){try{output(buffer[offset+i])}catch(e){throw new FS.ErrnoError(29)}}if(length){stream.node.mtime=stream.node.ctime=Date.now()}return i}});return FS.mkdev(path,mode,dev)},forceLoadFile(obj){if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;if(typeof XMLHttpRequest!="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else{try{obj.contents=readBinary(obj.url);obj.usedBytes=obj.contents.length}catch(e){throw new FS.ErrnoError(29)}}},createLazyFile(parent,name,url,canRead,canWrite){class LazyUint8Array{lengthKnown=false;chunks=[];get(idx){if(idx>this.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]}setDataGetter(getter){this.getter=getter}cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(from,to)=>{if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}return intArrayFromString(xhr.responseText||"",true)};var lazyArray=this;lazyArray.setDataGetter(chunkNum=>{var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]=="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]=="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true}get length(){if(!this.lengthKnown){this.cacheLength()}return this._length}get chunkSize(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}if(typeof XMLHttpRequest!="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(key=>{var fn=node.stream_ops[key];stream_ops[key]=(...args)=>{FS.forceLoadFile(node);return fn(...args)}});function writeChunks(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i<size;i++){buffer[offset+i]=contents[position+i]}}else{for(var i=0;i<size;i++){buffer[offset+i]=contents.get(position+i)}}return size}stream_ops.read=(stream,buffer,offset,length,position)=>{FS.forceLoadFile(node);return writeChunks(stream,buffer,offset,length,position)};stream_ops.mmap=(stream,length,position,prot,flags)=>{FS.forceLoadFile(node);var ptr=mmapAlloc(length);if(!ptr){throw new FS.ErrnoError(48)}writeChunks(stream,HEAP8,ptr,length,position);return{ptr,allocated:true}};node.stream_ops=stream_ops;return node}};var SYSCALLS={DEFAULT_POLLMASK:5,calculateAt(dirfd,path,allowEmpty){if(PATH.isAbs(path)){return path}var dir;if(dirfd===-100){dir=FS.cwd()}else{var dirstream=SYSCALLS.getStreamFromFD(dirfd);dir=dirstream.path}if(path.length==0){if(!allowEmpty){throw new FS.ErrnoError(44)}return dir}return dir+"/"+path},doStat(func,path,buf){var stat=func(path);HEAP32[buf>>2]=stat.dev;HEAP32[buf+4>>2]=stat.mode;HEAPU32[buf+8>>2]=stat.nlink;HEAP32[buf+12>>2]=stat.uid;HEAP32[buf+16>>2]=stat.gid;HEAP32[buf+20>>2]=stat.rdev;HEAP64[buf+24>>3]=BigInt(stat.size);HEAP32[buf+32>>2]=4096;HEAP32[buf+36>>2]=stat.blocks;var atime=stat.atime.getTime();var mtime=stat.mtime.getTime();var ctime=stat.ctime.getTime();HEAP64[buf+40>>3]=BigInt(Math.floor(atime/1e3));HEAPU32[buf+48>>2]=atime%1e3*1e3*1e3;HEAP64[buf+56>>3]=BigInt(Math.floor(mtime/1e3));HEAPU32[buf+64>>2]=mtime%1e3*1e3*1e3;HEAP64[buf+72>>3]=BigInt(Math.floor(ctime/1e3));HEAPU32[buf+80>>2]=ctime%1e3*1e3*1e3;HEAP64[buf+88>>3]=BigInt(stat.ino);return 0},doMsync(addr,stream,len,flags,offset){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(43)}if(flags&2){return 0}var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},getStreamFromFD(fd){var stream=FS.getStreamChecked(fd);return stream},varargs:undefined,getStr(ptr){var ret=UTF8ToString(ptr);return ret}};function ___syscall_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=syscallGetVarargI();if(arg<0){return-28}while(FS.streams[arg]){arg++}var newStream;newStream=FS.dupStream(stream,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=syscallGetVarargI();stream.flags|=arg;return 0}case 12:{var arg=syscallGetVarargP();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0}return-28}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:{if(!stream.tty)return-59;return 0}case 21505:{if(!stream.tty)return-59;if(stream.tty.ops.ioctl_tcgets){var termios=stream.tty.ops.ioctl_tcgets(stream);var argp=syscallGetVarargP();HEAP32[argp>>2]=termios.c_iflag||0;HEAP32[argp+4>>2]=termios.c_oflag||0;HEAP32[argp+8>>2]=termios.c_cflag||0;HEAP32[argp+12>>2]=termios.c_lflag||0;for(var i=0;i<32;i++){HEAP8[argp+i+17]=termios.c_cc[i]||0}return 0}return 0}case 21510:case 21511:case 21512:{if(!stream.tty)return-59;return 0}case 21506:case 21507:case 21508:{if(!stream.tty)return-59;if(stream.tty.ops.ioctl_tcsets){var argp=syscallGetVarargP();var c_iflag=HEAP32[argp>>2];var c_oflag=HEAP32[argp+4>>2];var c_cflag=HEAP32[argp+8>>2];var c_lflag=HEAP32[argp+12>>2];var c_cc=[];for(var i=0;i<32;i++){c_cc.push(HEAP8[argp+i+17])}return stream.tty.ops.ioctl_tcsets(stream.tty,op,{c_iflag,c_oflag,c_cflag,c_lflag,c_cc})}return 0}case 21519:{if(!stream.tty)return-59;var argp=syscallGetVarargP();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=syscallGetVarargP();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;if(stream.tty.ops.ioctl_tiocgwinsz){var winsize=stream.tty.ops.ioctl_tiocgwinsz(stream.tty);var argp=syscallGetVarargP();HEAP16[argp>>1]=winsize[0];HEAP16[argp+2>>1]=winsize[1]}return 0}case 21524:{if(!stream.tty)return-59;return 0}case 21515:{if(!stream.tty)return-59;return 0}default:return-28}}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_mkdirat(dirfd,path,mode){try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);FS.mkdir(path,mode,0);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_openat(dirfd,path,flags,varargs){SYSCALLS.varargs=varargs;try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);var mode=varargs?syscallGetVarargI():0;return FS.open(path,flags,mode).fd}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}var INT53_MAX=9007199254740992;var INT53_MIN=-9007199254740992;var bigintToI53Checked=num=>num<INT53_MIN||num>INT53_MAX?NaN:Number(num);function __gmtime_js(time,tmPtr){time=bigintToI53Checked(time);var date=new Date(time*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday}var stringToUTF8=(str,outPtr,maxBytesToWrite)=>stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite);var __tzset_js=(timezone,daylight,std_name,dst_name)=>{var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAPU32[timezone>>2]=stdTimezoneOffset*60;HEAP32[daylight>>2]=Number(winterOffset!=summerOffset);var extractZone=timezoneOffset=>{var sign=timezoneOffset>=0?"-":"+";var absOffset=Math.abs(timezoneOffset);var hours=String(Math.floor(absOffset/60)).padStart(2,"0");var minutes=String(absOffset%60).padStart(2,"0");return`UTC${sign}${hours}${minutes}`};var winterName=extractZone(winterOffset);var summerName=extractZone(summerOffset);if(summerOffset<winterOffset){stringToUTF8(winterName,std_name,17);stringToUTF8(summerName,dst_name,17)}else{stringToUTF8(winterName,dst_name,17);stringToUTF8(summerName,std_name,17)}};var _emscripten_date_now=()=>Date.now();var getHeapMax=()=>2147483648;var growMemory=size=>{var b=wasmMemory.buffer;var pages=(size-b.byteLength+65535)/65536|0;try{wasmMemory.grow(pages);updateMemoryViews();return 1}catch(e){}};var _emscripten_resize_heap=requestedSize=>{var oldSize=HEAPU8.length;requestedSize>>>=0;var maxHeapSize=getHeapMax();if(requestedSize>maxHeapSize){return false}for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignMemory(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=growMemory(newSize);if(replacement){return true}}return false};var ENV={};var getExecutableName=()=>thisProgram||"./this.program";var getEnvStrings=()=>{if(!getEnvStrings.strings){var lang=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:lang,_:getExecutableName()};for(var x in ENV){if(ENV[x]===undefined)delete env[x];else env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(`${x}=${env[x]}`)}getEnvStrings.strings=strings}return getEnvStrings.strings};var stringToAscii=(str,buffer)=>{for(var i=0;i<str.length;++i){HEAP8[buffer++]=str.charCodeAt(i)}HEAP8[buffer]=0};var _environ_get=(__environ,environ_buf)=>{var bufSize=0;getEnvStrings().forEach((string,i)=>{var ptr=environ_buf+bufSize;HEAPU32[__environ+i*4>>2]=ptr;stringToAscii(string,ptr);bufSize+=string.length+1});return 0};var _environ_sizes_get=(penviron_count,penviron_buf_size)=>{var strings=getEnvStrings();HEAPU32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(string=>bufSize+=string.length+1);HEAPU32[penviron_buf_size>>2]=bufSize;return 0};function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}var doReadv=(stream,iov,iovcnt,offset)=>{var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAPU32[iov>>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr<len)break;if(typeof offset!="undefined"){offset+=curr}}return ret};function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=doReadv(stream,iov,iovcnt);HEAPU32[pnum>>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}function _fd_seek(fd,offset,whence,newOffset){offset=bigintToI53Checked(offset);try{if(isNaN(offset))return 61;var stream=SYSCALLS.getStreamFromFD(fd);FS.llseek(stream,offset,whence);HEAP64[newOffset>>3]=BigInt(stream.position);if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}var doWritev=(stream,iov,iovcnt,offset)=>{var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAPU32[iov>>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr<len){break}if(typeof offset!="undefined"){offset+=curr}}return ret};function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=doWritev(stream,iov,iovcnt);HEAPU32[pnum>>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}FS.createPreloadedFile=FS_createPreloadedFile;FS.staticInit();MEMFS.doesNotExistError=new FS.ErrnoError(44);MEMFS.doesNotExistError.stack="<generic error, no stack>";var wasmImports={o:___assert_fail,c:___syscall_fcntl64,e:___syscall_ioctl,l:___syscall_mkdirat,f:___syscall_openat,j:__gmtime_js,k:__tzset_js,g:_emscripten_date_now,i:_emscripten_resize_heap,h:_environ_get,n:_environ_sizes_get,a:_fd_close,d:_fd_read,m:_fd_seek,b:_fd_write};var wasmExports;createWasm();var ___wasm_call_ctors=()=>(___wasm_call_ctors=wasmExports["q"])();var _leptris_document_root=Module["_leptris_document_root"]=a0=>(_leptris_document_root=Module["_leptris_document_root"]=wasmExports["r"])(a0);var _leptris_element_as_node=Module["_leptris_element_as_node"]=a0=>(_leptris_element_as_node=Module["_leptris_element_as_node"]=wasmExports["s"])(a0);var _leptris_node_get_type=Module["_leptris_node_get_type"]=a0=>(_leptris_node_get_type=Module["_leptris_node_get_type"]=wasmExports["t"])(a0);var _leptris_node_as_element=Module["_leptris_node_as_element"]=a0=>(_leptris_node_as_element=Module["_leptris_node_as_element"]=wasmExports["u"])(a0);var _leptris_element_expanded_name=Module["_leptris_element_expanded_name"]=(a0,a1,a2,a3)=>(_leptris_element_expanded_name=Module["_leptris_element_expanded_name"]=wasmExports["v"])(a0,a1,a2,a3);var _leptris_cdata_node_get_content=Module["_leptris_cdata_node_get_content"]=a0=>(_leptris_cdata_node_get_content=Module["_leptris_cdata_node_get_content"]=wasmExports["w"])(a0);var _leptris_comment_node_get_content=Module["_leptris_comment_node_get_content"]=a0=>(_leptris_comment_node_get_content=Module["_leptris_comment_node_get_content"]=wasmExports["x"])(a0);var _leptris_pi_node_get_data=Module["_leptris_pi_node_get_data"]=a0=>(_leptris_pi_node_get_data=Module["_leptris_pi_node_get_data"]=wasmExports["y"])(a0);var _leptris_pi_node_get_target=Module["_leptris_pi_node_get_target"]=a0=>(_leptris_pi_node_get_target=Module["_leptris_pi_node_get_target"]=wasmExports["z"])(a0);var _leptris_entity_ref_node_name=Module["_leptris_entity_ref_node_name"]=a0=>(_leptris_entity_ref_node_name=Module["_leptris_entity_ref_node_name"]=wasmExports["A"])(a0);var _leptris_text_node_get_content=Module["_leptris_text_node_get_content"]=a0=>(_leptris_text_node_get_content=Module["_leptris_text_node_get_content"]=wasmExports["B"])(a0);var _leptris_node_first_child=Module["_leptris_node_first_child"]=a0=>(_leptris_node_first_child=Module["_leptris_node_first_child"]=wasmExports["C"])(a0);var _leptris_node_next_sibling=Module["_leptris_node_next_sibling"]=a0=>(_leptris_node_next_sibling=Module["_leptris_node_next_sibling"]=wasmExports["D"])(a0);var _free=Module["_free"]=a0=>(_free=Module["_free"]=wasmExports["E"])(a0);var _leptris_wasm_load=Module["_leptris_wasm_load"]=(a0,a1)=>(_leptris_wasm_load=Module["_leptris_wasm_load"]=wasmExports["F"])(a0,a1);var _leptris_parse_string=Module["_leptris_parse_string"]=(a0,a1,a2)=>(_leptris_parse_string=Module["_leptris_parse_string"]=wasmExports["G"])(a0,a1,a2);var _leptris_wasm_xml=Module["_leptris_wasm_xml"]=a0=>(_leptris_wasm_xml=Module["_leptris_wasm_xml"]=wasmExports["H"])(a0);var _leptris_document_serialize=Module["_leptris_document_serialize"]=(a0,a1)=>(_leptris_document_serialize=Module["_leptris_document_serialize"]=wasmExports["I"])(a0,a1);var _leptris_wasm_xml_len=Module["_leptris_wasm_xml_len"]=a0=>(_leptris_wasm_xml_len=Module["_leptris_wasm_xml_len"]=wasmExports["J"])(a0);var _leptris_wasm_xpath=Module["_leptris_wasm_xpath"]=(a0,a1)=>(_leptris_wasm_xpath=Module["_leptris_wasm_xpath"]=wasmExports["K"])(a0,a1);var _leptris_xpath_eval=Module["_leptris_xpath_eval"]=(a0,a1,a2)=>(_leptris_xpath_eval=Module["_leptris_xpath_eval"]=wasmExports["L"])(a0,a1,a2);var _leptris_xpath_result_string=Module["_leptris_xpath_result_string"]=a0=>(_leptris_xpath_result_string=Module["_leptris_xpath_result_string"]=wasmExports["M"])(a0);var _leptris_xpath_result_free=Module["_leptris_xpath_result_free"]=a0=>(_leptris_xpath_result_free=Module["_leptris_xpath_result_free"]=wasmExports["N"])(a0);var _leptris_wasm_close=Module["_leptris_wasm_close"]=a0=>(_leptris_wasm_close=Module["_leptris_wasm_close"]=wasmExports["O"])(a0);var _leptris_document_free=Module["_leptris_document_free"]=a0=>(_leptris_document_free=Module["_leptris_document_free"]=wasmExports["P"])(a0);var _leptris_wasm_free_str=Module["_leptris_wasm_free_str"]=a0=>(_leptris_wasm_free_str=Module["_leptris_wasm_free_str"]=wasmExports["Q"])(a0);var _leptris_wasm_last_error=Module["_leptris_wasm_last_error"]=()=>(_leptris_wasm_last_error=Module["_leptris_wasm_last_error"]=wasmExports["R"])();var _leptris_last_error=Module["_leptris_last_error"]=()=>(_leptris_last_error=Module["_leptris_last_error"]=wasmExports["S"])();var _leptris_wasm_last_error_position=Module["_leptris_wasm_last_error_position"]=(a0,a1)=>(_leptris_wasm_last_error_position=Module["_leptris_wasm_last_error_position"]=wasmExports["T"])(a0,a1);var _leptris_last_error_position=Module["_leptris_last_error_position"]=(a0,a1)=>(_leptris_last_error_position=Module["_leptris_last_error_position"]=wasmExports["U"])(a0,a1);var _leptris_wasm_version=Module["_leptris_wasm_version"]=()=>(_leptris_wasm_version=Module["_leptris_wasm_version"]=wasmExports["V"])();var _leptris_version=Module["_leptris_version"]=()=>(_leptris_version=Module["_leptris_version"]=wasmExports["W"])();var _leptris_element_attributes_raw=Module["_leptris_element_attributes_raw"]=(a0,a1,a2,a3)=>(_leptris_element_attributes_raw=Module["_leptris_element_attributes_raw"]=wasmExports["X"])(a0,a1,a2,a3);var _malloc=Module["_malloc"]=a0=>(_malloc=Module["_malloc"]=wasmExports["Y"])(a0);var _leptris_element_first_attribute=Module["_leptris_element_first_attribute"]=a0=>(_leptris_element_first_attribute=Module["_leptris_element_first_attribute"]=wasmExports["Z"])(a0);var _leptris_attribute_get_name=Module["_leptris_attribute_get_name"]=a0=>(_leptris_attribute_get_name=Module["_leptris_attribute_get_name"]=wasmExports["_"])(a0);var _leptris_attribute_get_value=Module["_leptris_attribute_get_value"]=(a0,a1)=>(_leptris_attribute_get_value=Module["_leptris_attribute_get_value"]=wasmExports["$"])(a0,a1);var _leptris_attribute_next=Module["_leptris_attribute_next"]=a0=>(_leptris_attribute_next=Module["_leptris_attribute_next"]=wasmExports["aa"])(a0);var _leptris_get_strict_mode=Module["_leptris_get_strict_mode"]=()=>(_leptris_get_strict_mode=Module["_leptris_get_strict_mode"]=wasmExports["ba"])();var _leptris_version_components=Module["_leptris_version_components"]=(a0,a1,a2)=>(_leptris_version_components=Module["_leptris_version_components"]=wasmExports["da"])(a0,a1,a2);var _leptris_thread_cleanup=Module["_leptris_thread_cleanup"]=()=>(_leptris_thread_cleanup=Module["_leptris_thread_cleanup"]=wasmExports["ea"])();var _leptris_set_memory_management_functions=Module["_leptris_set_memory_management_functions"]=(a0,a1)=>(_leptris_set_memory_management_functions=Module["_leptris_set_memory_management_functions"]=wasmExports["fa"])(a0,a1);var _leptris_get_memory_allocation_function=Module["_leptris_get_memory_allocation_function"]=()=>(_leptris_get_memory_allocation_function=Module["_leptris_get_memory_allocation_function"]=wasmExports["ga"])();var _leptris_get_memory_deallocation_function=Module["_leptris_get_memory_deallocation_function"]=()=>(_leptris_get_memory_deallocation_function=Module["_leptris_get_memory_deallocation_function"]=wasmExports["ha"])();var _leptris_alloc_buffer=Module["_leptris_alloc_buffer"]=a0=>(_leptris_alloc_buffer=Module["_leptris_alloc_buffer"]=wasmExports["ia"])(a0);var _leptris_document_set_allocators=Module["_leptris_document_set_allocators"]=(a0,a1,a2)=>(_leptris_document_set_allocators=Module["_leptris_document_set_allocators"]=wasmExports["ja"])(a0,a1,a2);var _leptris_set_max_depth=Module["_leptris_set_max_depth"]=a0=>(_leptris_set_max_depth=Module["_leptris_set_max_depth"]=wasmExports["ka"])(a0);var _leptris_get_max_depth=Module["_leptris_get_max_depth"]=()=>(_leptris_get_max_depth=Module["_leptris_get_max_depth"]=wasmExports["la"])();var _leptris_set_strict_mode=Module["_leptris_set_strict_mode"]=a0=>(_leptris_set_strict_mode=Module["_leptris_set_strict_mode"]=wasmExports["ma"])(a0);var _leptris_document_set_strict=Module["_leptris_document_set_strict"]=(a0,a1)=>(_leptris_document_set_strict=Module["_leptris_document_set_strict"]=wasmExports["na"])(a0,a1);var _leptris_document_get_strict=Module["_leptris_document_get_strict"]=a0=>(_leptris_document_get_strict=Module["_leptris_document_get_strict"]=wasmExports["oa"])(a0);var _leptris_explicit_cleanup=Module["_leptris_explicit_cleanup"]=()=>(_leptris_explicit_cleanup=Module["_leptris_explicit_cleanup"]=wasmExports["pa"])();var _leptris_document_encoding=Module["_leptris_document_encoding"]=a0=>(_leptris_document_encoding=Module["_leptris_document_encoding"]=wasmExports["qa"])(a0);var _leptris_document_version=Module["_leptris_document_version"]=a0=>(_leptris_document_version=Module["_leptris_document_version"]=wasmExports["ra"])(a0);var _leptris_document_standalone=Module["_leptris_document_standalone"]=a0=>(_leptris_document_standalone=Module["_leptris_document_standalone"]=wasmExports["sa"])(a0);var _leptris_document_set_version=Module["_leptris_document_set_version"]=(a0,a1)=>(_leptris_document_set_version=Module["_leptris_document_set_version"]=wasmExports["ta"])(a0,a1);var _leptris_document_set_encoding=Module["_leptris_document_set_encoding"]=(a0,a1)=>(_leptris_document_set_encoding=Module["_leptris_document_set_encoding"]=wasmExports["ua"])(a0,a1);var _leptris_document_set_standalone=Module["_leptris_document_set_standalone"]=(a0,a1)=>(_leptris_document_set_standalone=Module["_leptris_document_set_standalone"]=wasmExports["va"])(a0,a1);var _leptris_document_clear_declaration=Module["_leptris_document_clear_declaration"]=a0=>(_leptris_document_clear_declaration=Module["_leptris_document_clear_declaration"]=wasmExports["wa"])(a0);var _leptris_plan_abi_version=Module["_leptris_plan_abi_version"]=()=>(_leptris_plan_abi_version=Module["_leptris_plan_abi_version"]=wasmExports["xa"])();var _leptris_plan_spec_struct_size=Module["_leptris_plan_spec_struct_size"]=()=>(_leptris_plan_spec_struct_size=Module["_leptris_plan_spec_struct_size"]=wasmExports["ya"])();var _leptris_plan_element_row_size=Module["_leptris_plan_element_row_size"]=()=>(_leptris_plan_element_row_size=Module["_leptris_plan_element_row_size"]=wasmExports["za"])();var _leptris_plan_child_row_size=Module["_leptris_plan_child_row_size"]=()=>(_leptris_plan_child_row_size=Module["_leptris_plan_child_row_size"]=wasmExports["Aa"])();var _leptris_plan_attr_row_size=Module["_leptris_plan_attr_row_size"]=()=>(_leptris_plan_attr_row_size=Module["_leptris_plan_attr_row_size"]=wasmExports["Ba"])();var _leptris_plan_predicate_row_size=Module["_leptris_plan_predicate_row_size"]=()=>(_leptris_plan_predicate_row_size=Module["_leptris_plan_predicate_row_size"]=wasmExports["Ca"])();var _leptris_plan_build=Module["_leptris_plan_build"]=(a0,a1)=>(_leptris_plan_build=Module["_leptris_plan_build"]=wasmExports["Da"])(a0,a1);var _leptris_plan_free=Module["_leptris_plan_free"]=a0=>(_leptris_plan_free=Module["_leptris_plan_free"]=wasmExports["Ea"])(a0);var _leptris_plan_walk=Module["_leptris_plan_walk"]=(a0,a1,a2,a3)=>(_leptris_plan_walk=Module["_leptris_plan_walk"]=wasmExports["Fa"])(a0,a1,a2,a3);var _leptris_element_attribute=Module["_leptris_element_attribute"]=(a0,a1)=>(_leptris_element_attribute=Module["_leptris_element_attribute"]=wasmExports["Ga"])(a0,a1);var _leptris_element_namespace_for_prefix=Module["_leptris_element_namespace_for_prefix"]=(a0,a1)=>(_leptris_element_namespace_for_prefix=Module["_leptris_element_namespace_for_prefix"]=wasmExports["Ha"])(a0,a1);var _leptris_node_byte_offset=Module["_leptris_node_byte_offset"]=a0=>(_leptris_node_byte_offset=Module["_leptris_node_byte_offset"]=wasmExports["Ia"])(a0);var _leptris_element_serialize=Module["_leptris_element_serialize"]=(a0,a1)=>(_leptris_element_serialize=Module["_leptris_element_serialize"]=wasmExports["Ja"])(a0,a1);var _leptris_free_string=Module["_leptris_free_string"]=a0=>(_leptris_free_string=Module["_leptris_free_string"]=wasmExports["Ka"])(a0);var _leptris_element_text=Module["_leptris_element_text"]=a0=>(_leptris_element_text=Module["_leptris_element_text"]=wasmExports["La"])(a0);var _leptris_plan_serialize=Module["_leptris_plan_serialize"]=(a0,a1,a2)=>(_leptris_plan_serialize=Module["_leptris_plan_serialize"]=wasmExports["Ma"])(a0,a1,a2);var _leptris_plan_serialize_ext=Module["_leptris_plan_serialize_ext"]=(a0,a1,a2,a3,a4)=>(_leptris_plan_serialize_ext=Module["_leptris_plan_serialize_ext"]=wasmExports["Na"])(a0,a1,a2,a3,a4);var _leptris_document_from_plan_result=Module["_leptris_document_from_plan_result"]=(a0,a1,a2)=>(_leptris_document_from_plan_result=Module["_leptris_document_from_plan_result"]=wasmExports["Oa"])(a0,a1,a2);var _leptris_document_create=Module["_leptris_document_create"]=()=>(_leptris_document_create=Module["_leptris_document_create"]=wasmExports["Pa"])();var _leptris_element_set_attribute=Module["_leptris_element_set_attribute"]=(a0,a1,a2)=>(_leptris_element_set_attribute=Module["_leptris_element_set_attribute"]=wasmExports["Qa"])(a0,a1,a2);var _leptris_document_set_root=Module["_leptris_document_set_root"]=(a0,a1)=>(_leptris_document_set_root=Module["_leptris_document_set_root"]=wasmExports["Ra"])(a0,a1);var _leptris_element_new_with_attributes=Module["_leptris_element_new_with_attributes"]=(a0,a1,a2,a3,a4)=>(_leptris_element_new_with_attributes=Module["_leptris_element_new_with_attributes"]=wasmExports["Sa"])(a0,a1,a2,a3,a4);var _leptris_text_node_create=Module["_leptris_text_node_create"]=(a0,a1)=>(_leptris_text_node_create=Module["_leptris_text_node_create"]=wasmExports["Ta"])(a0,a1);var _leptris_element_set_text=Module["_leptris_element_set_text"]=(a0,a1)=>(_leptris_element_set_text=Module["_leptris_element_set_text"]=wasmExports["Ua"])(a0,a1);var _leptris_element_append_child=Module["_leptris_element_append_child"]=(a0,a1)=>(_leptris_element_append_child=Module["_leptris_element_append_child"]=wasmExports["Va"])(a0,a1);var _leptris_plan_result_build=Module["_leptris_plan_result_build"]=(a0,a1,a2,a3)=>(_leptris_plan_result_build=Module["_leptris_plan_result_build"]=wasmExports["Wa"])(a0,a1,a2,a3);var _leptris_plan_result_free=Module["_leptris_plan_result_free"]=a0=>(_leptris_plan_result_free=Module["_leptris_plan_result_free"]=wasmExports["Xa"])(a0);var _leptris_plan_value_kind=Module["_leptris_plan_value_kind"]=a0=>(_leptris_plan_value_kind=Module["_leptris_plan_value_kind"]=wasmExports["Ya"])(a0);var _leptris_plan_value_name=Module["_leptris_plan_value_name"]=a0=>(_leptris_plan_value_name=Module["_leptris_plan_value_name"]=wasmExports["Za"])(a0);var _leptris_plan_value_type_tag=Module["_leptris_plan_value_type_tag"]=a0=>(_leptris_plan_value_type_tag=Module["_leptris_plan_value_type_tag"]=wasmExports["_a"])(a0);var _leptris_plan_value_string=Module["_leptris_plan_value_string"]=a0=>(_leptris_plan_value_string=Module["_leptris_plan_value_string"]=wasmExports["$a"])(a0);var _leptris_plan_value_length=Module["_leptris_plan_value_length"]=a0=>(_leptris_plan_value_length=Module["_leptris_plan_value_length"]=wasmExports["ab"])(a0);var _leptris_plan_value_position=Module["_leptris_plan_value_position"]=a0=>(_leptris_plan_value_position=Module["_leptris_plan_value_position"]=wasmExports["bb"])(a0);var _leptris_plan_value_node_kind=Module["_leptris_plan_value_node_kind"]=a0=>(_leptris_plan_value_node_kind=Module["_leptris_plan_value_node_kind"]=wasmExports["cb"])(a0);var _leptris_plan_value_order_index=Module["_leptris_plan_value_order_index"]=a0=>(_leptris_plan_value_order_index=Module["_leptris_plan_value_order_index"]=wasmExports["db"])(a0);var _leptris_plan_value_count=Module["_leptris_plan_value_count"]=a0=>(_leptris_plan_value_count=Module["_leptris_plan_value_count"]=wasmExports["eb"])(a0);var _leptris_plan_value_at=Module["_leptris_plan_value_at"]=(a0,a1)=>(_leptris_plan_value_at=Module["_leptris_plan_value_at"]=wasmExports["fb"])(a0,a1);var _leptris_plan_value_children_snapshot=Module["_leptris_plan_value_children_snapshot"]=(a0,a1,a2,a3,a4,a5)=>(_leptris_plan_value_children_snapshot=Module["_leptris_plan_value_children_snapshot"]=wasmExports["gb"])(a0,a1,a2,a3,a4,a5);var _leptris_plan_value_attribute=Module["_leptris_plan_value_attribute"]=(a0,a1)=>(_leptris_plan_value_attribute=Module["_leptris_plan_value_attribute"]=wasmExports["hb"])(a0,a1);var _leptris_plan_value_attribute_count=Module["_leptris_plan_value_attribute_count"]=a0=>(_leptris_plan_value_attribute_count=Module["_leptris_plan_value_attribute_count"]=wasmExports["ib"])(a0);var _leptris_plan_value_attributes_snapshot=Module["_leptris_plan_value_attributes_snapshot"]=(a0,a1,a2,a3,a4,a5,a6)=>(_leptris_plan_value_attributes_snapshot=Module["_leptris_plan_value_attributes_snapshot"]=wasmExports["jb"])(a0,a1,a2,a3,a4,a5,a6);var _leptris_plan_value_int=Module["_leptris_plan_value_int"]=(a0,a1)=>(_leptris_plan_value_int=Module["_leptris_plan_value_int"]=wasmExports["kb"])(a0,a1);var _leptris_plan_value_float=Module["_leptris_plan_value_float"]=(a0,a1)=>(_leptris_plan_value_float=Module["_leptris_plan_value_float"]=wasmExports["lb"])(a0,a1);var _leptris_plan_value_bool=Module["_leptris_plan_value_bool"]=(a0,a1)=>(_leptris_plan_value_bool=Module["_leptris_plan_value_bool"]=wasmExports["mb"])(a0,a1);var _leptris_plan_materialize=Module["_leptris_plan_materialize"]=(a0,a1,a2,a3)=>(_leptris_plan_materialize=Module["_leptris_plan_materialize"]=wasmExports["nb"])(a0,a1,a2,a3);var _leptris_diff=Module["_leptris_diff"]=(a0,a1,a2,a3)=>(_leptris_diff=Module["_leptris_diff"]=wasmExports["ob"])(a0,a1,a2,a3);var _leptris_element_name=Module["_leptris_element_name"]=a0=>(_leptris_element_name=Module["_leptris_element_name"]=wasmExports["pb"])(a0);var _leptris_node_digest=Module["_leptris_node_digest"]=(a0,a1)=>(_leptris_node_digest=Module["_leptris_node_digest"]=wasmExports["qb"])(a0,a1);var _leptris_diff_free=Module["_leptris_diff_free"]=a0=>(_leptris_diff_free=Module["_leptris_diff_free"]=wasmExports["rb"])(a0);var _leptris_diff_op_count=Module["_leptris_diff_op_count"]=a0=>(_leptris_diff_op_count=Module["_leptris_diff_op_count"]=wasmExports["sb"])(a0);var _leptris_diff_op_type=Module["_leptris_diff_op_type"]=(a0,a1)=>(_leptris_diff_op_type=Module["_leptris_diff_op_type"]=wasmExports["tb"])(a0,a1);var _leptris_diff_op_path=Module["_leptris_diff_op_path"]=(a0,a1)=>(_leptris_diff_op_path=Module["_leptris_diff_op_path"]=wasmExports["ub"])(a0,a1);var _leptris_diff_op_name=Module["_leptris_diff_op_name"]=(a0,a1)=>(_leptris_diff_op_name=Module["_leptris_diff_op_name"]=wasmExports["vb"])(a0,a1);var _leptris_diff_op_before=Module["_leptris_diff_op_before"]=(a0,a1)=>(_leptris_diff_op_before=Module["_leptris_diff_op_before"]=wasmExports["wb"])(a0,a1);var _leptris_diff_op_after=Module["_leptris_diff_op_after"]=(a0,a1)=>(_leptris_diff_op_after=Module["_leptris_diff_op_after"]=wasmExports["xb"])(a0,a1);var _leptris_diff_serialize=Module["_leptris_diff_serialize"]=a0=>(_leptris_diff_serialize=Module["_leptris_diff_serialize"]=wasmExports["yb"])(a0);var _leptris_node_parent=Module["_leptris_node_parent"]=a0=>(_leptris_node_parent=Module["_leptris_node_parent"]=wasmExports["zb"])(a0);var _leptris_node_source_position=Module["_leptris_node_source_position"]=(a0,a1)=>(_leptris_node_source_position=Module["_leptris_node_source_position"]=wasmExports["Ab"])(a0,a1);var _leptris_element_attribute_count=Module["_leptris_element_attribute_count"]=a0=>(_leptris_element_attribute_count=Module["_leptris_element_attribute_count"]=wasmExports["Bb"])(a0);var _leptris_attribute_namespace_uri=Module["_leptris_attribute_namespace_uri"]=a0=>(_leptris_attribute_namespace_uri=Module["_leptris_attribute_namespace_uri"]=wasmExports["Cb"])(a0);var _leptris_document_set_doctype=Module["_leptris_document_set_doctype"]=(a0,a1,a2,a3)=>(_leptris_document_set_doctype=Module["_leptris_document_set_doctype"]=wasmExports["Db"])(a0,a1,a2,a3);var _leptris_document_remove_doctype=Module["_leptris_document_remove_doctype"]=a0=>(_leptris_document_remove_doctype=Module["_leptris_document_remove_doctype"]=wasmExports["Eb"])(a0);var _leptris_doctype_get_name=Module["_leptris_doctype_get_name"]=a0=>(_leptris_doctype_get_name=Module["_leptris_doctype_get_name"]=wasmExports["Fb"])(a0);var _leptris_document_internal_subset=Module["_leptris_document_internal_subset"]=a0=>(_leptris_document_internal_subset=Module["_leptris_document_internal_subset"]=wasmExports["Gb"])(a0);var _leptris_doctype_get_root_name=Module["_leptris_doctype_get_root_name"]=a0=>(_leptris_doctype_get_root_name=Module["_leptris_doctype_get_root_name"]=wasmExports["Hb"])(a0);var _leptris_doctype_get_public_id=Module["_leptris_doctype_get_public_id"]=a0=>(_leptris_doctype_get_public_id=Module["_leptris_doctype_get_public_id"]=wasmExports["Ib"])(a0);var _leptris_doctype_get_system_id=Module["_leptris_doctype_get_system_id"]=a0=>(_leptris_doctype_get_system_id=Module["_leptris_doctype_get_system_id"]=wasmExports["Jb"])(a0);var _leptris_doctype_get_internal_subset=Module["_leptris_doctype_get_internal_subset"]=a0=>(_leptris_doctype_get_internal_subset=Module["_leptris_doctype_get_internal_subset"]=wasmExports["Kb"])(a0);var _leptris_element_child_count=Module["_leptris_element_child_count"]=a0=>(_leptris_element_child_count=Module["_leptris_element_child_count"]=wasmExports["Lb"])(a0);var _leptris_node_unlink=Module["_leptris_node_unlink"]=a0=>(_leptris_node_unlink=Module["_leptris_node_unlink"]=wasmExports["Mb"])(a0);var _leptris_element_remove_all_attributes=Module["_leptris_element_remove_all_attributes"]=a0=>(_leptris_element_remove_all_attributes=Module["_leptris_element_remove_all_attributes"]=wasmExports["Nb"])(a0);var _leptris_element_create=Module["_leptris_element_create"]=(a0,a1)=>(_leptris_element_create=Module["_leptris_element_create"]=wasmExports["Ob"])(a0,a1);var _leptris_element_create_child=Module["_leptris_element_create_child"]=(a0,a1)=>(_leptris_element_create_child=Module["_leptris_element_create_child"]=wasmExports["Pb"])(a0,a1);var _leptris_element_add_child_addr=Module["_leptris_element_add_child_addr"]=(a0,a1)=>(_leptris_element_add_child_addr=Module["_leptris_element_add_child_addr"]=wasmExports["Qb"])(a0,a1);var _leptris_element_parent=Module["_leptris_element_parent"]=a0=>(_leptris_element_parent=Module["_leptris_element_parent"]=wasmExports["Rb"])(a0);var _leptris_element_add_child_addr_installed=Module["_leptris_element_add_child_addr_installed"]=(a0,a1,a2)=>(_leptris_element_add_child_addr_installed=Module["_leptris_element_add_child_addr_installed"]=wasmExports["Sb"])(a0,a1,a2);var _leptris_element_prepend_child=Module["_leptris_element_prepend_child"]=(a0,a1)=>(_leptris_element_prepend_child=Module["_leptris_element_prepend_child"]=wasmExports["Tb"])(a0,a1);var _leptris_element_insert_before=Module["_leptris_element_insert_before"]=(a0,a1)=>(_leptris_element_insert_before=Module["_leptris_element_insert_before"]=wasmExports["Ub"])(a0,a1);var _leptris_element_insert_after=Module["_leptris_element_insert_after"]=(a0,a1)=>(_leptris_element_insert_after=Module["_leptris_element_insert_after"]=wasmExports["Vb"])(a0,a1);var _leptris_element_remove_child=Module["_leptris_element_remove_child"]=(a0,a1)=>(_leptris_element_remove_child=Module["_leptris_element_remove_child"]=wasmExports["Wb"])(a0,a1);var _leptris_element_set_name=Module["_leptris_element_set_name"]=(a0,a1)=>(_leptris_element_set_name=Module["_leptris_element_set_name"]=wasmExports["Xb"])(a0,a1);var _leptris_element_remove_attribute=Module["_leptris_element_remove_attribute"]=(a0,a1)=>(_leptris_element_remove_attribute=Module["_leptris_element_remove_attribute"]=wasmExports["Yb"])(a0,a1);var _leptris_element_append_copy=Module["_leptris_element_append_copy"]=(a0,a1)=>(_leptris_element_append_copy=Module["_leptris_element_append_copy"]=wasmExports["Zb"])(a0,a1);var _leptris_element_prepend_copy=Module["_leptris_element_prepend_copy"]=(a0,a1)=>(_leptris_element_prepend_copy=Module["_leptris_element_prepend_copy"]=wasmExports["_b"])(a0,a1);var _leptris_element_insert_copy_after=Module["_leptris_element_insert_copy_after"]=(a0,a1)=>(_leptris_element_insert_copy_after=Module["_leptris_element_insert_copy_after"]=wasmExports["$b"])(a0,a1);var _leptris_element_insert_copy_before=Module["_leptris_element_insert_copy_before"]=(a0,a1)=>(_leptris_element_insert_copy_before=Module["_leptris_element_insert_copy_before"]=wasmExports["ac"])(a0,a1);var _leptris_element_remove_children=Module["_leptris_element_remove_children"]=a0=>(_leptris_element_remove_children=Module["_leptris_element_remove_children"]=wasmExports["bc"])(a0);var _leptris_element_copy=Module["_leptris_element_copy"]=(a0,a1)=>(_leptris_element_copy=Module["_leptris_element_copy"]=wasmExports["cc"])(a0,a1);var _leptris_document_copy=Module["_leptris_document_copy"]=a0=>(_leptris_document_copy=Module["_leptris_document_copy"]=wasmExports["dc"])(a0);var _leptris_pi_node_create=Module["_leptris_pi_node_create"]=(a0,a1,a2)=>(_leptris_pi_node_create=Module["_leptris_pi_node_create"]=wasmExports["ec"])(a0,a1,a2);var _leptris_comment_node_create=Module["_leptris_comment_node_create"]=(a0,a1)=>(_leptris_comment_node_create=Module["_leptris_comment_node_create"]=wasmExports["fc"])(a0,a1);var _leptris_element_namespace_decl_prefix=Module["_leptris_element_namespace_decl_prefix"]=(a0,a1)=>(_leptris_element_namespace_decl_prefix=Module["_leptris_element_namespace_decl_prefix"]=wasmExports["gc"])(a0,a1);var _leptris_element_namespace_decl_uri=Module["_leptris_element_namespace_decl_uri"]=(a0,a1)=>(_leptris_element_namespace_decl_uri=Module["_leptris_element_namespace_decl_uri"]=wasmExports["hc"])(a0,a1);var _leptris_element_child_value=Module["_leptris_element_child_value"]=a0=>(_leptris_element_child_value=Module["_leptris_element_child_value"]=wasmExports["ic"])(a0);var _leptris_attribute_prefix=Module["_leptris_attribute_prefix"]=a0=>(_leptris_attribute_prefix=Module["_leptris_attribute_prefix"]=wasmExports["jc"])(a0);var _leptris_element_attribute_ns=Module["_leptris_element_attribute_ns"]=(a0,a1,a2)=>(_leptris_element_attribute_ns=Module["_leptris_element_attribute_ns"]=wasmExports["kc"])(a0,a1,a2);var _leptris_element_has_attribute_ns=Module["_leptris_element_has_attribute_ns"]=(a0,a1,a2)=>(_leptris_element_has_attribute_ns=Module["_leptris_element_has_attribute_ns"]=wasmExports["lc"])(a0,a1,a2);var _leptris_element_has_attribute=Module["_leptris_element_has_attribute"]=(a0,a1)=>(_leptris_element_has_attribute=Module["_leptris_element_has_attribute"]=wasmExports["mc"])(a0,a1);var _leptris_element_attribute_int=Module["_leptris_element_attribute_int"]=(a0,a1,a2)=>(_leptris_element_attribute_int=Module["_leptris_element_attribute_int"]=wasmExports["nc"])(a0,a1,a2);var _leptris_element_attribute_uint=Module["_leptris_element_attribute_uint"]=(a0,a1,a2)=>(_leptris_element_attribute_uint=Module["_leptris_element_attribute_uint"]=wasmExports["oc"])(a0,a1,a2);var _leptris_element_attribute_double=Module["_leptris_element_attribute_double"]=(a0,a1,a2)=>(_leptris_element_attribute_double=Module["_leptris_element_attribute_double"]=wasmExports["pc"])(a0,a1,a2);var _leptris_element_attribute_float=Module["_leptris_element_attribute_float"]=(a0,a1,a2)=>(_leptris_element_attribute_float=Module["_leptris_element_attribute_float"]=wasmExports["qc"])(a0,a1,a2);var _leptris_element_attribute_bool=Module["_leptris_element_attribute_bool"]=(a0,a1,a2)=>(_leptris_element_attribute_bool=Module["_leptris_element_attribute_bool"]=wasmExports["rc"])(a0,a1,a2);var _leptris_element_attribute_string=Module["_leptris_element_attribute_string"]=(a0,a1,a2)=>(_leptris_element_attribute_string=Module["_leptris_element_attribute_string"]=wasmExports["sc"])(a0,a1,a2);var _leptris_element_set_attribute_double=Module["_leptris_element_set_attribute_double"]=(a0,a1,a2)=>(_leptris_element_set_attribute_double=Module["_leptris_element_set_attribute_double"]=wasmExports["tc"])(a0,a1,a2);var _leptris_element_set_attribute_float=Module["_leptris_element_set_attribute_float"]=(a0,a1,a2)=>(_leptris_element_set_attribute_float=Module["_leptris_element_set_attribute_float"]=wasmExports["uc"])(a0,a1,a2);var _leptris_element_set_attribute_bool=Module["_leptris_element_set_attribute_bool"]=(a0,a1,a2)=>(_leptris_element_set_attribute_bool=Module["_leptris_element_set_attribute_bool"]=wasmExports["vc"])(a0,a1,a2);var _leptris_element_set_attribute_int=Module["_leptris_element_set_attribute_int"]=(a0,a1,a2)=>(_leptris_element_set_attribute_int=Module["_leptris_element_set_attribute_int"]=wasmExports["wc"])(a0,a1,a2);var _leptris_element_set_attribute_uint=Module["_leptris_element_set_attribute_uint"]=(a0,a1,a2)=>(_leptris_element_set_attribute_uint=Module["_leptris_element_set_attribute_uint"]=wasmExports["xc"])(a0,a1,a2);var _leptris_element_child=Module["_leptris_element_child"]=(a0,a1)=>(_leptris_element_child=Module["_leptris_element_child"]=wasmExports["yc"])(a0,a1);var _leptris_element_root=Module["_leptris_element_root"]=a0=>(_leptris_element_root=Module["_leptris_element_root"]=wasmExports["zc"])(a0);var _leptris_element_first_child_any=Module["_leptris_element_first_child_any"]=a0=>(_leptris_element_first_child_any=Module["_leptris_element_first_child_any"]=wasmExports["Ac"])(a0);var _leptris_element_last_child_any=Module["_leptris_element_last_child_any"]=a0=>(_leptris_element_last_child_any=Module["_leptris_element_last_child_any"]=wasmExports["Bc"])(a0);var _leptris_element_next_sibling_any=Module["_leptris_element_next_sibling_any"]=a0=>(_leptris_element_next_sibling_any=Module["_leptris_element_next_sibling_any"]=wasmExports["Cc"])(a0);var _leptris_element_children=Module["_leptris_element_children"]=(a0,a1,a2)=>(_leptris_element_children=Module["_leptris_element_children"]=wasmExports["Dc"])(a0,a1,a2);var _leptris_node_children=Module["_leptris_node_children"]=(a0,a1,a2)=>(_leptris_node_children=Module["_leptris_node_children"]=wasmExports["Ec"])(a0,a1,a2);var _leptris_node_children_ex=Module["_leptris_node_children_ex"]=(a0,a1,a2,a3)=>(_leptris_node_children_ex=Module["_leptris_node_children_ex"]=wasmExports["Fc"])(a0,a1,a2,a3);var _leptris_element_previous_sibling_any=Module["_leptris_element_previous_sibling_any"]=a0=>(_leptris_element_previous_sibling_any=Module["_leptris_element_previous_sibling_any"]=wasmExports["Gc"])(a0);var _leptris_element_first_child=Module["_leptris_element_first_child"]=(a0,a1)=>(_leptris_element_first_child=Module["_leptris_element_first_child"]=wasmExports["Hc"])(a0,a1);var _leptris_element_last_child=Module["_leptris_element_last_child"]=(a0,a1)=>(_leptris_element_last_child=Module["_leptris_element_last_child"]=wasmExports["Ic"])(a0,a1);var _leptris_element_next_sibling=Module["_leptris_element_next_sibling"]=(a0,a1)=>(_leptris_element_next_sibling=Module["_leptris_element_next_sibling"]=wasmExports["Jc"])(a0,a1);var _leptris_element_previous_sibling=Module["_leptris_element_previous_sibling"]=(a0,a1)=>(_leptris_element_previous_sibling=Module["_leptris_element_previous_sibling"]=wasmExports["Kc"])(a0,a1);var _leptris_element_find_child=Module["_leptris_element_find_child"]=(a0,a1)=>(_leptris_element_find_child=Module["_leptris_element_find_child"]=wasmExports["Lc"])(a0,a1);var _leptris_element_find_child_by_attr=Module["_leptris_element_find_child_by_attr"]=(a0,a1,a2,a3)=>(_leptris_element_find_child_by_attr=Module["_leptris_element_find_child_by_attr"]=wasmExports["Mc"])(a0,a1,a2,a3);var _leptris_element_text_int=Module["_leptris_element_text_int"]=(a0,a1)=>(_leptris_element_text_int=Module["_leptris_element_text_int"]=wasmExports["Nc"])(a0,a1);var _leptris_element_text_uint=Module["_leptris_element_text_uint"]=(a0,a1)=>(_leptris_element_text_uint=Module["_leptris_element_text_uint"]=wasmExports["Oc"])(a0,a1);var _leptris_element_text_double=Module["_leptris_element_text_double"]=(a0,a1)=>(_leptris_element_text_double=Module["_leptris_element_text_double"]=wasmExports["Pc"])(a0,a1);var _leptris_element_text_float=Module["_leptris_element_text_float"]=(a0,a1)=>(_leptris_element_text_float=Module["_leptris_element_text_float"]=wasmExports["Qc"])(a0,a1);var _leptris_element_text_bool=Module["_leptris_element_text_bool"]=(a0,a1)=>(_leptris_element_text_bool=Module["_leptris_element_text_bool"]=wasmExports["Rc"])(a0,a1);var _leptris_element_namespace=Module["_leptris_element_namespace"]=a0=>(_leptris_element_namespace=Module["_leptris_element_namespace"]=wasmExports["Sc"])(a0);var _leptris_element_prefix=Module["_leptris_element_prefix"]=a0=>(_leptris_element_prefix=Module["_leptris_element_prefix"]=wasmExports["Tc"])(a0);var _leptris_namespace_uri=Module["_leptris_namespace_uri"]=a0=>(_leptris_namespace_uri=Module["_leptris_namespace_uri"]=wasmExports["Uc"])(a0);var _leptris_namespace_prefix=Module["_leptris_namespace_prefix"]=a0=>(_leptris_namespace_prefix=Module["_leptris_namespace_prefix"]=wasmExports["Vc"])(a0);var _leptris_element_hash_value=Module["_leptris_element_hash_value"]=a0=>(_leptris_element_hash_value=Module["_leptris_element_hash_value"]=wasmExports["Wc"])(a0);var _leptris_element_attribute_name_at=Module["_leptris_element_attribute_name_at"]=(a0,a1)=>(_leptris_element_attribute_name_at=Module["_leptris_element_attribute_name_at"]=wasmExports["Xc"])(a0,a1);var _leptris_element_attribute_value_at=Module["_leptris_element_attribute_value_at"]=(a0,a1)=>(_leptris_element_attribute_value_at=Module["_leptris_element_attribute_value_at"]=wasmExports["Yc"])(a0,a1);var _leptris_element_attributes_snapshot=Module["_leptris_element_attributes_snapshot"]=(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12)=>(_leptris_element_attributes_snapshot=Module["_leptris_element_attributes_snapshot"]=wasmExports["Zc"])(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12);var _leptris_element_attribute_pairs=Module["_leptris_element_attribute_pairs"]=(a0,a1,a2,a3,a4)=>(_leptris_element_attribute_pairs=Module["_leptris_element_attribute_pairs"]=wasmExports["_c"])(a0,a1,a2,a3,a4);var _leptris_element_namespace_count=Module["_leptris_element_namespace_count"]=a0=>(_leptris_element_namespace_count=Module["_leptris_element_namespace_count"]=wasmExports["$c"])(a0);var _leptris_element_add_namespace_definition=Module["_leptris_element_add_namespace_definition"]=(a0,a1,a2)=>(_leptris_element_add_namespace_definition=Module["_leptris_element_add_namespace_definition"]=wasmExports["ad"])(a0,a1,a2);var _leptris_element_set_default_namespace=Module["_leptris_element_set_default_namespace"]=(a0,a1)=>(_leptris_element_set_default_namespace=Module["_leptris_element_set_default_namespace"]=wasmExports["bd"])(a0,a1);var _leptris_element_set_namespace=Module["_leptris_element_set_namespace"]=(a0,a1)=>(_leptris_element_set_namespace=Module["_leptris_element_set_namespace"]=wasmExports["cd"])(a0,a1);var _leptris_element_remove_namespace_definition=Module["_leptris_element_remove_namespace_definition"]=(a0,a1)=>(_leptris_element_remove_namespace_definition=Module["_leptris_element_remove_namespace_definition"]=wasmExports["dd"])(a0,a1);var _leptris_document_get_dtd=Module["_leptris_document_get_dtd"]=a0=>(_leptris_document_get_dtd=Module["_leptris_document_get_dtd"]=wasmExports["ed"])(a0);var _leptris_node_visit=Module["_leptris_node_visit"]=(a0,a1,a2)=>(_leptris_node_visit=Module["_leptris_node_visit"]=wasmExports["fd"])(a0,a1,a2);var _leptris_node_visit_entering=Module["_leptris_node_visit_entering"]=(a0,a1,a2)=>(_leptris_node_visit_entering=Module["_leptris_node_visit_entering"]=wasmExports["gd"])(a0,a1,a2);var _leptris_node_last_child=Module["_leptris_node_last_child"]=a0=>(_leptris_node_last_child=Module["_leptris_node_last_child"]=wasmExports["hd"])(a0);var _leptris_node_previous_sibling=Module["_leptris_node_previous_sibling"]=a0=>(_leptris_node_previous_sibling=Module["_leptris_node_previous_sibling"]=wasmExports["id"])(a0);var _leptris_node_child_count=Module["_leptris_node_child_count"]=a0=>(_leptris_node_child_count=Module["_leptris_node_child_count"]=wasmExports["jd"])(a0);var _leptris_document_node=Module["_leptris_document_node"]=a0=>(_leptris_document_node=Module["_leptris_document_node"]=wasmExports["kd"])(a0);var _leptris_document_pi_count=Module["_leptris_document_pi_count"]=a0=>(_leptris_document_pi_count=Module["_leptris_document_pi_count"]=wasmExports["ld"])(a0);var _leptris_document_pi_target=Module["_leptris_document_pi_target"]=(a0,a1)=>(_leptris_document_pi_target=Module["_leptris_document_pi_target"]=wasmExports["md"])(a0,a1);var _leptris_document_pi_data=Module["_leptris_document_pi_data"]=(a0,a1)=>(_leptris_document_pi_data=Module["_leptris_document_pi_data"]=wasmExports["nd"])(a0,a1);var _leptris_document_comment_count=Module["_leptris_document_comment_count"]=a0=>(_leptris_document_comment_count=Module["_leptris_document_comment_count"]=wasmExports["od"])(a0);var _leptris_document_comment_content=Module["_leptris_document_comment_content"]=(a0,a1)=>(_leptris_document_comment_content=Module["_leptris_document_comment_content"]=wasmExports["pd"])(a0,a1);var _leptris_document_add_pi=Module["_leptris_document_add_pi"]=(a0,a1,a2)=>(_leptris_document_add_pi=Module["_leptris_document_add_pi"]=wasmExports["qd"])(a0,a1,a2);var _leptris_document_append_pi=Module["_leptris_document_append_pi"]=(a0,a1,a2)=>(_leptris_document_append_pi=Module["_leptris_document_append_pi"]=wasmExports["rd"])(a0,a1,a2);var _leptris_document_remove_child=Module["_leptris_document_remove_child"]=(a0,a1)=>(_leptris_document_remove_child=Module["_leptris_document_remove_child"]=wasmExports["sd"])(a0,a1);var _leptris_document_add_comment=Module["_leptris_document_add_comment"]=(a0,a1)=>(_leptris_document_add_comment=Module["_leptris_document_add_comment"]=wasmExports["td"])(a0,a1);var _leptris_cdata_node_create=Module["_leptris_cdata_node_create"]=(a0,a1)=>(_leptris_cdata_node_create=Module["_leptris_cdata_node_create"]=wasmExports["ud"])(a0,a1);var _leptris_entity_ref_node_create=Module["_leptris_entity_ref_node_create"]=(a0,a1)=>(_leptris_entity_ref_node_create=Module["_leptris_entity_ref_node_create"]=wasmExports["vd"])(a0,a1);var _leptris_text_node_set_content=Module["_leptris_text_node_set_content"]=(a0,a1)=>(_leptris_text_node_set_content=Module["_leptris_text_node_set_content"]=wasmExports["wd"])(a0,a1);var _leptris_cdata_node_set_content=Module["_leptris_cdata_node_set_content"]=(a0,a1)=>(_leptris_cdata_node_set_content=Module["_leptris_cdata_node_set_content"]=wasmExports["xd"])(a0,a1);var _leptris_comment_node_set_content=Module["_leptris_comment_node_set_content"]=(a0,a1)=>(_leptris_comment_node_set_content=Module["_leptris_comment_node_set_content"]=wasmExports["yd"])(a0,a1);var _leptris_pi_node_set_target=Module["_leptris_pi_node_set_target"]=(a0,a1)=>(_leptris_pi_node_set_target=Module["_leptris_pi_node_set_target"]=wasmExports["zd"])(a0,a1);var _leptris_pi_node_set_data=Module["_leptris_pi_node_set_data"]=(a0,a1)=>(_leptris_pi_node_set_data=Module["_leptris_pi_node_set_data"]=wasmExports["Ad"])(a0,a1);var _leptris_node_line=Module["_leptris_node_line"]=a0=>(_leptris_node_line=Module["_leptris_node_line"]=wasmExports["Bd"])(a0);var _leptris_node_get_binding_wrapper=Module["_leptris_node_get_binding_wrapper"]=a0=>(_leptris_node_get_binding_wrapper=Module["_leptris_node_get_binding_wrapper"]=wasmExports["Cd"])(a0);var _leptris_node_set_binding_wrapper=Module["_leptris_node_set_binding_wrapper"]=(a0,a1)=>(_leptris_node_set_binding_wrapper=Module["_leptris_node_set_binding_wrapper"]=wasmExports["Dd"])(a0,a1);var _leptris_node_compare=Module["_leptris_node_compare"]=(a0,a1)=>(_leptris_node_compare=Module["_leptris_node_compare"]=wasmExports["Ed"])(a0,a1);var _leptris_node_get_xpath=Module["_leptris_node_get_xpath"]=a0=>(_leptris_node_get_xpath=Module["_leptris_node_get_xpath"]=wasmExports["Fd"])(a0);var _leptris_node_traverse=Module["_leptris_node_traverse"]=(a0,a1,a2,a3)=>(_leptris_node_traverse=Module["_leptris_node_traverse"]=wasmExports["Gd"])(a0,a1,a2,a3);var _leptris_dtd_set_pe_loader=Module["_leptris_dtd_set_pe_loader"]=(a0,a1,a2)=>(_leptris_dtd_set_pe_loader=Module["_leptris_dtd_set_pe_loader"]=wasmExports["Hd"])(a0,a1,a2);var _leptris_dtd_parse_external_subset=Module["_leptris_dtd_parse_external_subset"]=(a0,a1,a2)=>(_leptris_dtd_parse_external_subset=Module["_leptris_dtd_parse_external_subset"]=wasmExports["Id"])(a0,a1,a2);var _leptris_dtd_free=Module["_leptris_dtd_free"]=a0=>(_leptris_dtd_free=Module["_leptris_dtd_free"]=wasmExports["Jd"])(a0);var _leptris_dtd_parse=Module["_leptris_dtd_parse"]=(a0,a1)=>(_leptris_dtd_parse=Module["_leptris_dtd_parse"]=wasmExports["Kd"])(a0,a1);var _leptris_dtd_validate=Module["_leptris_dtd_validate"]=(a0,a1,a2)=>(_leptris_dtd_validate=Module["_leptris_dtd_validate"]=wasmExports["Ld"])(a0,a1,a2);var _leptris_dtd_error_free=Module["_leptris_dtd_error_free"]=a0=>(_leptris_dtd_error_free=Module["_leptris_dtd_error_free"]=wasmExports["Md"])(a0);var _leptris_parse_string_with_encoding=Module["_leptris_parse_string_with_encoding"]=(a0,a1,a2)=>(_leptris_parse_string_with_encoding=Module["_leptris_parse_string_with_encoding"]=wasmExports["Nd"])(a0,a1,a2);var _leptris_document_last_error=Module["_leptris_document_last_error"]=a0=>(_leptris_document_last_error=Module["_leptris_document_last_error"]=wasmExports["Od"])(a0);var _leptris_error_message=Module["_leptris_error_message"]=a0=>(_leptris_error_message=Module["_leptris_error_message"]=wasmExports["Pd"])(a0);var _leptris_status_string=Module["_leptris_status_string"]=a0=>(_leptris_status_string=Module["_leptris_status_string"]=wasmExports["Qd"])(a0);var _leptris_document_parse_diag_count=Module["_leptris_document_parse_diag_count"]=a0=>(_leptris_document_parse_diag_count=Module["_leptris_document_parse_diag_count"]=wasmExports["Rd"])(a0);var _leptris_document_parse_diag=Module["_leptris_document_parse_diag"]=(a0,a1,a2,a3,a4)=>(_leptris_document_parse_diag=Module["_leptris_document_parse_diag"]=wasmExports["Sd"])(a0,a1,a2,a3,a4);var _leptris_document_parse_diag_code=Module["_leptris_document_parse_diag_code"]=(a0,a1,a2,a3,a4,a5)=>(_leptris_document_parse_diag_code=Module["_leptris_document_parse_diag_code"]=wasmExports["Td"])(a0,a1,a2,a3,a4,a5);var _leptris_parse_html_string=Module["_leptris_parse_html_string"]=(a0,a1,a2)=>(_leptris_parse_html_string=Module["_leptris_parse_html_string"]=wasmExports["Ud"])(a0,a1,a2);var _leptris_parse_html4_string=Module["_leptris_parse_html4_string"]=(a0,a1,a2)=>(_leptris_parse_html4_string=Module["_leptris_parse_html4_string"]=wasmExports["Vd"])(a0,a1,a2);var _leptris_parse_html_string_flags=Module["_leptris_parse_html_string_flags"]=(a0,a1,a2,a3)=>(_leptris_parse_html_string_flags=Module["_leptris_parse_html_string_flags"]=wasmExports["Wd"])(a0,a1,a2,a3);var _leptris_document_create_html=Module["_leptris_document_create_html"]=()=>(_leptris_document_create_html=Module["_leptris_document_create_html"]=wasmExports["Xd"])();var _leptris_document_set_root_ex=Module["_leptris_document_set_root_ex"]=(a0,a1,a2)=>(_leptris_document_set_root_ex=Module["_leptris_document_set_root_ex"]=wasmExports["Yd"])(a0,a1,a2);var _leptris_document_remove_pi=Module["_leptris_document_remove_pi"]=(a0,a1,a2)=>(_leptris_document_remove_pi=Module["_leptris_document_remove_pi"]=wasmExports["Zd"])(a0,a1,a2);var _leptris_parse_string_ex=Module["_leptris_parse_string_ex"]=(a0,a1,a2,a3)=>(_leptris_parse_string_ex=Module["_leptris_parse_string_ex"]=wasmExports["_d"])(a0,a1,a2,a3);var _leptris_parse_string_flags=Module["_leptris_parse_string_flags"]=(a0,a1,a2,a3)=>(_leptris_parse_string_flags=Module["_leptris_parse_string_flags"]=wasmExports["$d"])(a0,a1,a2,a3);var _leptris_parse_string_inplace=Module["_leptris_parse_string_inplace"]=(a0,a1,a2)=>(_leptris_parse_string_inplace=Module["_leptris_parse_string_inplace"]=wasmExports["ae"])(a0,a1,a2);var _leptris_parse_fragment=Module["_leptris_parse_fragment"]=(a0,a1,a2,a3)=>(_leptris_parse_fragment=Module["_leptris_parse_fragment"]=wasmExports["be"])(a0,a1,a2,a3);var _leptris_load_file=Module["_leptris_load_file"]=(a0,a1)=>(_leptris_load_file=Module["_leptris_load_file"]=wasmExports["ce"])(a0,a1);var _leptris_parse_file=Module["_leptris_parse_file"]=(a0,a1)=>(_leptris_parse_file=Module["_leptris_parse_file"]=wasmExports["de"])(a0,a1);var _leptris_document_absorb=Module["_leptris_document_absorb"]=(a0,a1)=>(_leptris_document_absorb=Module["_leptris_document_absorb"]=wasmExports["ee"])(a0,a1);var _leptris_document_adopt_child=Module["_leptris_document_adopt_child"]=(a0,a1)=>(_leptris_document_adopt_child=Module["_leptris_document_adopt_child"]=wasmExports["fe"])(a0,a1);var _leptris_document_first_child=Module["_leptris_document_first_child"]=a0=>(_leptris_document_first_child=Module["_leptris_document_first_child"]=wasmExports["ge"])(a0);var _leptris_serialize_document=Module["_leptris_serialize_document"]=a0=>(_leptris_serialize_document=Module["_leptris_serialize_document"]=wasmExports["he"])(a0);var _leptris_str_has_nonstandard_entity=Module["_leptris_str_has_nonstandard_entity"]=(a0,a1)=>(_leptris_str_has_nonstandard_entity=Module["_leptris_str_has_nonstandard_entity"]=wasmExports["ie"])(a0,a1);var _leptris_document_finalize_strings=Module["_leptris_document_finalize_strings"]=a0=>(_leptris_document_finalize_strings=Module["_leptris_document_finalize_strings"]=wasmExports["je"])(a0);var _leptris_document_freeze=Module["_leptris_document_freeze"]=a0=>(_leptris_document_freeze=Module["_leptris_document_freeze"]=wasmExports["ke"])(a0);var _leptris_document_is_frozen=Module["_leptris_document_is_frozen"]=a0=>(_leptris_document_is_frozen=Module["_leptris_document_is_frozen"]=wasmExports["le"])(a0);var _leptris_rng_parse=Module["_leptris_rng_parse"]=(a0,a1,a2)=>(_leptris_rng_parse=Module["_leptris_rng_parse"]=wasmExports["me"])(a0,a1,a2);var _leptris_rng_free=Module["_leptris_rng_free"]=a0=>(_leptris_rng_free=Module["_leptris_rng_free"]=wasmExports["ne"])(a0);var _leptris_rng_parse_file=Module["_leptris_rng_parse_file"]=(a0,a1)=>(_leptris_rng_parse_file=Module["_leptris_rng_parse_file"]=wasmExports["oe"])(a0,a1);var _leptris_rng_validate=Module["_leptris_rng_validate"]=(a0,a1)=>(_leptris_rng_validate=Module["_leptris_rng_validate"]=wasmExports["pe"])(a0,a1);var _leptris_rng_error=Module["_leptris_rng_error"]=a0=>(_leptris_rng_error=Module["_leptris_rng_error"]=wasmExports["qe"])(a0);var _leptris_rng_error_count=Module["_leptris_rng_error_count"]=a0=>(_leptris_rng_error_count=Module["_leptris_rng_error_count"]=wasmExports["re"])(a0);var _leptris_rng_error_message=Module["_leptris_rng_error_message"]=(a0,a1)=>(_leptris_rng_error_message=Module["_leptris_rng_error_message"]=wasmExports["se"])(a0,a1);var _leptris_rng_error_line=Module["_leptris_rng_error_line"]=(a0,a1)=>(_leptris_rng_error_line=Module["_leptris_rng_error_line"]=wasmExports["te"])(a0,a1);var _leptris_rng_error_column=Module["_leptris_rng_error_column"]=(a0,a1)=>(_leptris_rng_error_column=Module["_leptris_rng_error_column"]=wasmExports["ue"])(a0,a1);var _leptris_rng_error_report=Module["_leptris_rng_error_report"]=(a0,a1)=>(_leptris_rng_error_report=Module["_leptris_rng_error_report"]=wasmExports["ve"])(a0,a1);var _leptris_iterparse_new=Module["_leptris_iterparse_new"]=(a0,a1)=>(_leptris_iterparse_new=Module["_leptris_iterparse_new"]=wasmExports["we"])(a0,a1);var _leptris_pull_new_flags=Module["_leptris_pull_new_flags"]=(a0,a1,a2)=>(_leptris_pull_new_flags=Module["_leptris_pull_new_flags"]=wasmExports["xe"])(a0,a1,a2);var _leptris_pull_free=Module["_leptris_pull_free"]=a0=>(_leptris_pull_free=Module["_leptris_pull_free"]=wasmExports["ye"])(a0);var _leptris_iterparse_new_ex=Module["_leptris_iterparse_new_ex"]=(a0,a1,a2)=>(_leptris_iterparse_new_ex=Module["_leptris_iterparse_new_ex"]=wasmExports["ze"])(a0,a1,a2);var _leptris_iterparse_new_ex_flags=Module["_leptris_iterparse_new_ex_flags"]=(a0,a1,a2,a3)=>(_leptris_iterparse_new_ex_flags=Module["_leptris_iterparse_new_ex_flags"]=wasmExports["Ae"])(a0,a1,a2,a3);var _leptris_iterparse_new_file=Module["_leptris_iterparse_new_file"]=a0=>(_leptris_iterparse_new_file=Module["_leptris_iterparse_new_file"]=wasmExports["Be"])(a0);var _leptris_pull_new_file_flags=Module["_leptris_pull_new_file_flags"]=(a0,a1)=>(_leptris_pull_new_file_flags=Module["_leptris_pull_new_file_flags"]=wasmExports["Ce"])(a0,a1);var _leptris_iterparse_new_file_ex=Module["_leptris_iterparse_new_file_ex"]=(a0,a1)=>(_leptris_iterparse_new_file_ex=Module["_leptris_iterparse_new_file_ex"]=wasmExports["De"])(a0,a1);var _leptris_iterparse_new_file_ex_flags=Module["_leptris_iterparse_new_file_ex_flags"]=(a0,a1,a2)=>(_leptris_iterparse_new_file_ex_flags=Module["_leptris_iterparse_new_file_ex_flags"]=wasmExports["Ee"])(a0,a1,a2);var _leptris_iterparse_next=Module["_leptris_iterparse_next"]=a0=>(_leptris_iterparse_next=Module["_leptris_iterparse_next"]=wasmExports["Fe"])(a0);var _leptris_pull_next=Module["_leptris_pull_next"]=a0=>(_leptris_pull_next=Module["_leptris_pull_next"]=wasmExports["Ge"])(a0);var _leptris_pull_attr_count=Module["_leptris_pull_attr_count"]=a0=>(_leptris_pull_attr_count=Module["_leptris_pull_attr_count"]=wasmExports["He"])(a0);var _leptris_pull_attr_name=Module["_leptris_pull_attr_name"]=(a0,a1)=>(_leptris_pull_attr_name=Module["_leptris_pull_attr_name"]=wasmExports["Ie"])(a0,a1);var _leptris_pull_attr_value=Module["_leptris_pull_attr_value"]=(a0,a1)=>(_leptris_pull_attr_value=Module["_leptris_pull_attr_value"]=wasmExports["Je"])(a0,a1);var _leptris_iterparse_ns_uri=Module["_leptris_iterparse_ns_uri"]=(a0,a1)=>(_leptris_iterparse_ns_uri=Module["_leptris_iterparse_ns_uri"]=wasmExports["Ke"])(a0,a1);var _leptris_iterparse_ns_count=Module["_leptris_iterparse_ns_count"]=a0=>(_leptris_iterparse_ns_count=Module["_leptris_iterparse_ns_count"]=wasmExports["Le"])(a0);var _leptris_iterparse_error=Module["_leptris_iterparse_error"]=a0=>(_leptris_iterparse_error=Module["_leptris_iterparse_error"]=wasmExports["Me"])(a0);var _leptris_iterparse_free=Module["_leptris_iterparse_free"]=a0=>(_leptris_iterparse_free=Module["_leptris_iterparse_free"]=wasmExports["Ne"])(a0);var _leptris_sax_parse=Module["_leptris_sax_parse"]=(a0,a1,a2,a3)=>(_leptris_sax_parse=Module["_leptris_sax_parse"]=wasmExports["Oe"])(a0,a1,a2,a3);var _leptris_sax_parser_create=Module["_leptris_sax_parser_create"]=(a0,a1)=>(_leptris_sax_parser_create=Module["_leptris_sax_parser_create"]=wasmExports["Pe"])(a0,a1);var _leptris_sax_parser_feed=Module["_leptris_sax_parser_feed"]=(a0,a1,a2,a3)=>(_leptris_sax_parser_feed=Module["_leptris_sax_parser_feed"]=wasmExports["Qe"])(a0,a1,a2,a3);var _leptris_sax_parser_free=Module["_leptris_sax_parser_free"]=a0=>(_leptris_sax_parser_free=Module["_leptris_sax_parser_free"]=wasmExports["Re"])(a0);var _leptris_pull_new=Module["_leptris_pull_new"]=(a0,a1)=>(_leptris_pull_new=Module["_leptris_pull_new"]=wasmExports["Se"])(a0,a1);var _leptris_sax_parser_set_one_shot=Module["_leptris_sax_parser_set_one_shot"]=(a0,a1)=>(_leptris_sax_parser_set_one_shot=Module["_leptris_sax_parser_set_one_shot"]=wasmExports["Te"])(a0,a1);var _leptris_sax_parser_set_skip_flags=Module["_leptris_sax_parser_set_skip_flags"]=(a0,a1)=>(_leptris_sax_parser_set_skip_flags=Module["_leptris_sax_parser_set_skip_flags"]=wasmExports["Ue"])(a0,a1);var _leptris_sax_parser_set_streaming=Module["_leptris_sax_parser_set_streaming"]=(a0,a1)=>(_leptris_sax_parser_set_streaming=Module["_leptris_sax_parser_set_streaming"]=wasmExports["Ve"])(a0,a1);var _leptris_pull_new_file=Module["_leptris_pull_new_file"]=a0=>(_leptris_pull_new_file=Module["_leptris_pull_new_file"]=wasmExports["We"])(a0);var _leptris_pull_next_batch=Module["_leptris_pull_next_batch"]=(a0,a1,a2)=>(_leptris_pull_next_batch=Module["_leptris_pull_next_batch"]=wasmExports["Xe"])(a0,a1,a2);var _leptris_pull_attrs=Module["_leptris_pull_attrs"]=(a0,a1,a2)=>(_leptris_pull_attrs=Module["_leptris_pull_attrs"]=wasmExports["Ye"])(a0,a1,a2);var _leptris_sax_recorder_new=Module["_leptris_sax_recorder_new"]=()=>(_leptris_sax_recorder_new=Module["_leptris_sax_recorder_new"]=wasmExports["Ze"])();var _leptris_sax_recorder_new_flags=Module["_leptris_sax_recorder_new_flags"]=a0=>(_leptris_sax_recorder_new_flags=Module["_leptris_sax_recorder_new_flags"]=wasmExports["_e"])(a0);var _leptris_sax_recorder_feed=Module["_leptris_sax_recorder_feed"]=(a0,a1,a2,a3)=>(_leptris_sax_recorder_feed=Module["_leptris_sax_recorder_feed"]=wasmExports["$e"])(a0,a1,a2,a3);var _leptris_sax_recorder_reset=Module["_leptris_sax_recorder_reset"]=a0=>(_leptris_sax_recorder_reset=Module["_leptris_sax_recorder_reset"]=wasmExports["af"])(a0);var _leptris_sax_recorder_records=Module["_leptris_sax_recorder_records"]=(a0,a1)=>(_leptris_sax_recorder_records=Module["_leptris_sax_recorder_records"]=wasmExports["bf"])(a0,a1);var _leptris_sax_recorder_arena=Module["_leptris_sax_recorder_arena"]=(a0,a1)=>(_leptris_sax_recorder_arena=Module["_leptris_sax_recorder_arena"]=wasmExports["cf"])(a0,a1);var _leptris_sax_recorder_free=Module["_leptris_sax_recorder_free"]=a0=>(_leptris_sax_recorder_free=Module["_leptris_sax_recorder_free"]=wasmExports["df"])(a0);var _leptris_sax_records_parse=Module["_leptris_sax_records_parse"]=(a0,a1,a2,a3)=>(_leptris_sax_records_parse=Module["_leptris_sax_records_parse"]=wasmExports["ef"])(a0,a1,a2,a3);var _leptris_sax_records_free=Module["_leptris_sax_records_free"]=a0=>(_leptris_sax_records_free=Module["_leptris_sax_records_free"]=wasmExports["ff"])(a0);var _leptris_sax_records_count=Module["_leptris_sax_records_count"]=a0=>(_leptris_sax_records_count=Module["_leptris_sax_records_count"]=wasmExports["gf"])(a0);var _leptris_sax_records_data=Module["_leptris_sax_records_data"]=a0=>(_leptris_sax_records_data=Module["_leptris_sax_records_data"]=wasmExports["hf"])(a0);var _leptris_sax_records_attrs=Module["_leptris_sax_records_attrs"]=(a0,a1)=>(_leptris_sax_records_attrs=Module["_leptris_sax_records_attrs"]=wasmExports["jf"])(a0,a1);var _leptris_sax_records_buffer=Module["_leptris_sax_records_buffer"]=a0=>(_leptris_sax_records_buffer=Module["_leptris_sax_records_buffer"]=wasmExports["kf"])(a0);var _leptris_schematron_parse=Module["_leptris_schematron_parse"]=(a0,a1,a2)=>(_leptris_schematron_parse=Module["_leptris_schematron_parse"]=wasmExports["lf"])(a0,a1,a2);var _leptris_schematron_parse_phase=Module["_leptris_schematron_parse_phase"]=(a0,a1,a2,a3)=>(_leptris_schematron_parse_phase=Module["_leptris_schematron_parse_phase"]=wasmExports["mf"])(a0,a1,a2,a3);var _leptris_schematron_free=Module["_leptris_schematron_free"]=a0=>(_leptris_schematron_free=Module["_leptris_schematron_free"]=wasmExports["nf"])(a0);var _leptris_element_serialize_ext_sized=Module["_leptris_element_serialize_ext_sized"]=(a0,a1,a2,a3)=>(_leptris_element_serialize_ext_sized=Module["_leptris_element_serialize_ext_sized"]=wasmExports["of"])(a0,a1,a2,a3);var _leptris_schematron_parse_file=Module["_leptris_schematron_parse_file"]=(a0,a1)=>(_leptris_schematron_parse_file=Module["_leptris_schematron_parse_file"]=wasmExports["pf"])(a0,a1);var _leptris_schematron_error=Module["_leptris_schematron_error"]=a0=>(_leptris_schematron_error=Module["_leptris_schematron_error"]=wasmExports["qf"])(a0);var _leptris_xpath_result_type=Module["_leptris_xpath_result_type"]=a0=>(_leptris_xpath_result_type=Module["_leptris_xpath_result_type"]=wasmExports["rf"])(a0);var _leptris_xpath_result_get_nodes_ex=Module["_leptris_xpath_result_get_nodes_ex"]=(a0,a1,a2,a3)=>(_leptris_xpath_result_get_nodes_ex=Module["_leptris_xpath_result_get_nodes_ex"]=wasmExports["sf"])(a0,a1,a2,a3);var _leptris_schematron_validate=Module["_leptris_schematron_validate"]=(a0,a1)=>(_leptris_schematron_validate=Module["_leptris_schematron_validate"]=wasmExports["tf"])(a0,a1);var _leptris_xpath_result_boolean=Module["_leptris_xpath_result_boolean"]=a0=>(_leptris_xpath_result_boolean=Module["_leptris_xpath_result_boolean"]=wasmExports["uf"])(a0);var _leptris_schematron_valid=Module["_leptris_schematron_valid"]=(a0,a1)=>(_leptris_schematron_valid=Module["_leptris_schematron_valid"]=wasmExports["vf"])(a0,a1);var _leptris_c14n_canonicalize=Module["_leptris_c14n_canonicalize"]=(a0,a1,a2)=>(_leptris_c14n_canonicalize=Module["_leptris_c14n_canonicalize"]=wasmExports["wf"])(a0,a1,a2);var _leptris_c14n_canonicalize_subtree=Module["_leptris_c14n_canonicalize_subtree"]=(a0,a1,a2)=>(_leptris_c14n_canonicalize_subtree=Module["_leptris_c14n_canonicalize_subtree"]=wasmExports["xf"])(a0,a1,a2);var _leptris_c14n_canonicalize_ex=Module["_leptris_c14n_canonicalize_ex"]=(a0,a1,a2,a3,a4)=>(_leptris_c14n_canonicalize_ex=Module["_leptris_c14n_canonicalize_ex"]=wasmExports["yf"])(a0,a1,a2,a3,a4);var _leptris_c14n_canonicalize_subtree_ex=Module["_leptris_c14n_canonicalize_subtree_ex"]=(a0,a1,a2,a3,a4)=>(_leptris_c14n_canonicalize_subtree_ex=Module["_leptris_c14n_canonicalize_subtree_ex"]=wasmExports["zf"])(a0,a1,a2,a3,a4);var _leptris_document_serialize_ext=Module["_leptris_document_serialize_ext"]=(a0,a1,a2)=>(_leptris_document_serialize_ext=Module["_leptris_document_serialize_ext"]=wasmExports["Af"])(a0,a1,a2);var _leptris_document_serialize_ext_sized=Module["_leptris_document_serialize_ext_sized"]=(a0,a1,a2,a3)=>(_leptris_document_serialize_ext_sized=Module["_leptris_document_serialize_ext_sized"]=wasmExports["Bf"])(a0,a1,a2,a3);var _leptris_element_serialize_ext=Module["_leptris_element_serialize_ext"]=(a0,a1,a2)=>(_leptris_element_serialize_ext=Module["_leptris_element_serialize_ext"]=wasmExports["Cf"])(a0,a1,a2);var _leptris_document_serialize_into=Module["_leptris_document_serialize_into"]=(a0,a1,a2,a3,a4)=>(_leptris_document_serialize_into=Module["_leptris_document_serialize_into"]=wasmExports["Df"])(a0,a1,a2,a3,a4);var _leptris_element_serialize_into=Module["_leptris_element_serialize_into"]=(a0,a1,a2,a3,a4)=>(_leptris_element_serialize_into=Module["_leptris_element_serialize_into"]=wasmExports["Ef"])(a0,a1,a2,a3,a4);var _leptris_document_save_file=Module["_leptris_document_save_file"]=(a0,a1,a2)=>(_leptris_document_save_file=Module["_leptris_document_save_file"]=wasmExports["Ff"])(a0,a1,a2);var _leptris_document_serialize_html=Module["_leptris_document_serialize_html"]=(a0,a1)=>(_leptris_document_serialize_html=Module["_leptris_document_serialize_html"]=wasmExports["Gf"])(a0,a1);var _leptris_document_save_html=Module["_leptris_document_save_html"]=(a0,a1,a2)=>(_leptris_document_save_html=Module["_leptris_document_save_html"]=wasmExports["Hf"])(a0,a1,a2);var _leptris_xinclude_is_include_element=Module["_leptris_xinclude_is_include_element"]=a0=>(_leptris_xinclude_is_include_element=Module["_leptris_xinclude_is_include_element"]=wasmExports["If"])(a0);var _leptris_xinclude_is_fallback_element=Module["_leptris_xinclude_is_fallback_element"]=a0=>(_leptris_xinclude_is_fallback_element=Module["_leptris_xinclude_is_fallback_element"]=wasmExports["Jf"])(a0);var _leptris_xinclude_get_href=Module["_leptris_xinclude_get_href"]=a0=>(_leptris_xinclude_get_href=Module["_leptris_xinclude_get_href"]=wasmExports["Kf"])(a0);var _leptris_xinclude_get_parse=Module["_leptris_xinclude_get_parse"]=a0=>(_leptris_xinclude_get_parse=Module["_leptris_xinclude_get_parse"]=wasmExports["Lf"])(a0);var _leptris_xinclude_get_xpointer=Module["_leptris_xinclude_get_xpointer"]=a0=>(_leptris_xinclude_get_xpointer=Module["_leptris_xinclude_get_xpointer"]=wasmExports["Mf"])(a0);var _leptris_xinclude_get_encoding=Module["_leptris_xinclude_get_encoding"]=a0=>(_leptris_xinclude_get_encoding=Module["_leptris_xinclude_get_encoding"]=wasmExports["Nf"])(a0);var _leptris_xinclude_process=Module["_leptris_xinclude_process"]=(a0,a1)=>(_leptris_xinclude_process=Module["_leptris_xinclude_process"]=wasmExports["Of"])(a0,a1);var _leptris_xinclude_process_opts=Module["_leptris_xinclude_process_opts"]=(a0,a1,a2)=>(_leptris_xinclude_process_opts=Module["_leptris_xinclude_process_opts"]=wasmExports["Pf"])(a0,a1,a2);var _leptris_xpath_ns_set_new=Module["_leptris_xpath_ns_set_new"]=()=>(_leptris_xpath_ns_set_new=Module["_leptris_xpath_ns_set_new"]=wasmExports["Qf"])();var _leptris_xpath_result_get=Module["_leptris_xpath_result_get"]=(a0,a1)=>(_leptris_xpath_result_get=Module["_leptris_xpath_result_get"]=wasmExports["Rf"])(a0,a1);var _leptris_xpath_eval_ns=Module["_leptris_xpath_eval_ns"]=(a0,a1,a2,a3)=>(_leptris_xpath_eval_ns=Module["_leptris_xpath_eval_ns"]=wasmExports["Sf"])(a0,a1,a2,a3);var _leptris_xpath_ns_set_add=Module["_leptris_xpath_ns_set_add"]=(a0,a1,a2)=>(_leptris_xpath_ns_set_add=Module["_leptris_xpath_ns_set_add"]=wasmExports["Tf"])(a0,a1,a2);var _leptris_xpath_ns_set_free=Module["_leptris_xpath_ns_set_free"]=a0=>(_leptris_xpath_ns_set_free=Module["_leptris_xpath_ns_set_free"]=wasmExports["Uf"])(a0);var _leptris_xpath_result_count=Module["_leptris_xpath_result_count"]=a0=>(_leptris_xpath_result_count=Module["_leptris_xpath_result_count"]=wasmExports["Vf"])(a0);var _leptris_xpath_result_node_value=Module["_leptris_xpath_result_node_value"]=(a0,a1)=>(_leptris_xpath_result_node_value=Module["_leptris_xpath_result_node_value"]=wasmExports["Wf"])(a0,a1);var _leptris_xpath_result_number=Module["_leptris_xpath_result_number"]=a0=>(_leptris_xpath_result_number=Module["_leptris_xpath_result_number"]=wasmExports["Xf"])(a0);var _leptris_xpath_function_supported=Module["_leptris_xpath_function_supported"]=a0=>(_leptris_xpath_function_supported=Module["_leptris_xpath_function_supported"]=wasmExports["Yf"])(a0);var _leptris_xpath_supported_functions=Module["_leptris_xpath_supported_functions"]=()=>(_leptris_xpath_supported_functions=Module["_leptris_xpath_supported_functions"]=wasmExports["Zf"])();var _leptris_xpath_compile=Module["_leptris_xpath_compile"]=a0=>(_leptris_xpath_compile=Module["_leptris_xpath_compile"]=wasmExports["_f"])(a0);var _leptris_xpath_compiled_eval=Module["_leptris_xpath_compiled_eval"]=(a0,a1,a2)=>(_leptris_xpath_compiled_eval=Module["_leptris_xpath_compiled_eval"]=wasmExports["$f"])(a0,a1,a2);var _leptris_xpath_compiled_eval_ns=Module["_leptris_xpath_compiled_eval_ns"]=(a0,a1,a2,a3)=>(_leptris_xpath_compiled_eval_ns=Module["_leptris_xpath_compiled_eval_ns"]=wasmExports["ag"])(a0,a1,a2,a3);var _leptris_xpath_compiled_eval_ns_vars=Module["_leptris_xpath_compiled_eval_ns_vars"]=(a0,a1,a2,a3,a4)=>(_leptris_xpath_compiled_eval_ns_vars=Module["_leptris_xpath_compiled_eval_ns_vars"]=wasmExports["bg"])(a0,a1,a2,a3,a4);var _leptris_xpath_compiled_eval_vars=Module["_leptris_xpath_compiled_eval_vars"]=(a0,a1,a2,a3)=>(_leptris_xpath_compiled_eval_vars=Module["_leptris_xpath_compiled_eval_vars"]=wasmExports["cg"])(a0,a1,a2,a3);var _leptris_xpath_compiled_text=Module["_leptris_xpath_compiled_text"]=a0=>(_leptris_xpath_compiled_text=Module["_leptris_xpath_compiled_text"]=wasmExports["dg"])(a0);var _leptris_xpath_compiled_free=Module["_leptris_xpath_compiled_free"]=a0=>(_leptris_xpath_compiled_free=Module["_leptris_xpath_compiled_free"]=wasmExports["eg"])(a0);var _leptris_xpath_eval_versioned=Module["_leptris_xpath_eval_versioned"]=(a0,a1,a2,a3,a4)=>(_leptris_xpath_eval_versioned=Module["_leptris_xpath_eval_versioned"]=wasmExports["fg"])(a0,a1,a2,a3,a4);var _leptris_xpath_result_get_nodes=Module["_leptris_xpath_result_get_nodes"]=(a0,a1,a2)=>(_leptris_xpath_result_get_nodes=Module["_leptris_xpath_result_get_nodes"]=wasmExports["gg"])(a0,a1,a2);var _leptris_xpath_result_node_kind=Module["_leptris_xpath_result_node_kind"]=(a0,a1)=>(_leptris_xpath_result_node_kind=Module["_leptris_xpath_result_node_kind"]=wasmExports["hg"])(a0,a1);var _leptris_xpath_result_get_node=Module["_leptris_xpath_result_get_node"]=(a0,a1)=>(_leptris_xpath_result_get_node=Module["_leptris_xpath_result_get_node"]=wasmExports["ig"])(a0,a1);var _leptris_xpath_result_node_name=Module["_leptris_xpath_result_node_name"]=(a0,a1)=>(_leptris_xpath_result_node_name=Module["_leptris_xpath_result_node_name"]=wasmExports["jg"])(a0,a1);var _leptris_xpath_variable_set_new=Module["_leptris_xpath_variable_set_new"]=()=>(_leptris_xpath_variable_set_new=Module["_leptris_xpath_variable_set_new"]=wasmExports["kg"])();var _leptris_xpath_variable_set_free=Module["_leptris_xpath_variable_set_free"]=a0=>(_leptris_xpath_variable_set_free=Module["_leptris_xpath_variable_set_free"]=wasmExports["lg"])(a0);var _leptris_xpath_variable_set_boolean=Module["_leptris_xpath_variable_set_boolean"]=(a0,a1,a2)=>(_leptris_xpath_variable_set_boolean=Module["_leptris_xpath_variable_set_boolean"]=wasmExports["mg"])(a0,a1,a2);var _leptris_xpath_variable_set_number=Module["_leptris_xpath_variable_set_number"]=(a0,a1,a2)=>(_leptris_xpath_variable_set_number=Module["_leptris_xpath_variable_set_number"]=wasmExports["ng"])(a0,a1,a2);var _leptris_xpath_variable_set_string=Module["_leptris_xpath_variable_set_string"]=(a0,a1,a2)=>(_leptris_xpath_variable_set_string=Module["_leptris_xpath_variable_set_string"]=wasmExports["og"])(a0,a1,a2);var _leptris_xpath_ns_set_new_from_pairs=Module["_leptris_xpath_ns_set_new_from_pairs"]=(a0,a1)=>(_leptris_xpath_ns_set_new_from_pairs=Module["_leptris_xpath_ns_set_new_from_pairs"]=wasmExports["pg"])(a0,a1);var _leptris_xpath_eval_with_vars=Module["_leptris_xpath_eval_with_vars"]=(a0,a1,a2)=>(_leptris_xpath_eval_with_vars=Module["_leptris_xpath_eval_with_vars"]=wasmExports["qg"])(a0,a1,a2);var _leptris_xpath_eval_with_vars_context=Module["_leptris_xpath_eval_with_vars_context"]=(a0,a1,a2,a3)=>(_leptris_xpath_eval_with_vars_context=Module["_leptris_xpath_eval_with_vars_context"]=wasmExports["rg"])(a0,a1,a2,a3);var _leptris_xpath_register_function=Module["_leptris_xpath_register_function"]=(a0,a1,a2,a3)=>(_leptris_xpath_register_function=Module["_leptris_xpath_register_function"]=wasmExports["sg"])(a0,a1,a2,a3);var _leptris_exslt_enable=Module["_leptris_exslt_enable"]=a0=>(_leptris_exslt_enable=Module["_leptris_exslt_enable"]=wasmExports["tg"])(a0);var _leptris_xpath_compiled_eval_nodeset=Module["_leptris_xpath_compiled_eval_nodeset"]=(a0,a1,a2,a3)=>(_leptris_xpath_compiled_eval_nodeset=Module["_leptris_xpath_compiled_eval_nodeset"]=wasmExports["ug"])(a0,a1,a2,a3);var _leptris_xpath_eval_nodeset=Module["_leptris_xpath_eval_nodeset"]=(a0,a1,a2,a3)=>(_leptris_xpath_eval_nodeset=Module["_leptris_xpath_eval_nodeset"]=wasmExports["vg"])(a0,a1,a2,a3);var _leptris_xquery_parse=Module["_leptris_xquery_parse"]=(a0,a1)=>(_leptris_xquery_parse=Module["_leptris_xquery_parse"]=wasmExports["wg"])(a0,a1);var _leptris_xquery_eval=Module["_leptris_xquery_eval"]=(a0,a1,a2)=>(_leptris_xquery_eval=Module["_leptris_xquery_eval"]=wasmExports["xg"])(a0,a1,a2);var _leptris_xquery_eval_params=Module["_leptris_xquery_eval_params"]=(a0,a1,a2,a3,a4,a5)=>(_leptris_xquery_eval_params=Module["_leptris_xquery_eval_params"]=wasmExports["yg"])(a0,a1,a2,a3,a4,a5);var _leptris_xquery_free=Module["_leptris_xquery_free"]=a0=>(_leptris_xquery_free=Module["_leptris_xquery_free"]=wasmExports["zg"])(a0);var _leptris_xsd_compile=Module["_leptris_xsd_compile"]=(a0,a1,a2)=>(_leptris_xsd_compile=Module["_leptris_xsd_compile"]=wasmExports["Ag"])(a0,a1,a2);var _leptris_xsd_compile_file=Module["_leptris_xsd_compile_file"]=(a0,a1)=>(_leptris_xsd_compile_file=Module["_leptris_xsd_compile_file"]=wasmExports["Bg"])(a0,a1);var _leptris_xsd_free=Module["_leptris_xsd_free"]=a0=>(_leptris_xsd_free=Module["_leptris_xsd_free"]=wasmExports["Cg"])(a0);var _leptris_xsd_builtin_valid=Module["_leptris_xsd_builtin_valid"]=(a0,a1)=>(_leptris_xsd_builtin_valid=Module["_leptris_xsd_builtin_valid"]=wasmExports["Dg"])(a0,a1);var _leptris_xsd_simple_valid=Module["_leptris_xsd_simple_valid"]=(a0,a1,a2)=>(_leptris_xsd_simple_valid=Module["_leptris_xsd_simple_valid"]=wasmExports["Eg"])(a0,a1,a2);var _leptris_xsd_validate=Module["_leptris_xsd_validate"]=(a0,a1)=>(_leptris_xsd_validate=Module["_leptris_xsd_validate"]=wasmExports["Fg"])(a0,a1);var _leptris_xsd_error_count=Module["_leptris_xsd_error_count"]=a0=>(_leptris_xsd_error_count=Module["_leptris_xsd_error_count"]=wasmExports["Gg"])(a0);var _leptris_xsd_error_at=Module["_leptris_xsd_error_at"]=(a0,a1)=>(_leptris_xsd_error_at=Module["_leptris_xsd_error_at"]=wasmExports["Hg"])(a0,a1);var _leptris_xsd_content_valid=Module["_leptris_xsd_content_valid"]=(a0,a1,a2,a3,a4)=>(_leptris_xsd_content_valid=Module["_leptris_xsd_content_valid"]=wasmExports["Ig"])(a0,a1,a2,a3,a4);var _leptris_xsd_declaration_count=Module["_leptris_xsd_declaration_count"]=a0=>(_leptris_xsd_declaration_count=Module["_leptris_xsd_declaration_count"]=wasmExports["Jg"])(a0);var _leptris_xsd_error=Module["_leptris_xsd_error"]=a0=>(_leptris_xsd_error=Module["_leptris_xsd_error"]=wasmExports["Kg"])(a0);var _leptris_xslt_parse=Module["_leptris_xslt_parse"]=(a0,a1)=>(_leptris_xslt_parse=Module["_leptris_xslt_parse"]=wasmExports["Lg"])(a0,a1);var _leptris_xslt_parse_file=Module["_leptris_xslt_parse_file"]=a0=>(_leptris_xslt_parse_file=Module["_leptris_xslt_parse_file"]=wasmExports["Mg"])(a0);var _leptris_xslt_free=Module["_leptris_xslt_free"]=a0=>(_leptris_xslt_free=Module["_leptris_xslt_free"]=wasmExports["Ng"])(a0);var _leptris_xslt_apply=Module["_leptris_xslt_apply"]=(a0,a1)=>(_leptris_xslt_apply=Module["_leptris_xslt_apply"]=wasmExports["Og"])(a0,a1);var _leptris_xslt_apply_params=Module["_leptris_xslt_apply_params"]=(a0,a1,a2,a3)=>(_leptris_xslt_apply_params=Module["_leptris_xslt_apply_params"]=wasmExports["Pg"])(a0,a1,a2,a3);var _leptris_xslt_apply_string=Module["_leptris_xslt_apply_string"]=(a0,a1)=>(_leptris_xslt_apply_string=Module["_leptris_xslt_apply_string"]=wasmExports["Qg"])(a0,a1);var _leptris_xslt_apply_string_params=Module["_leptris_xslt_apply_string_params"]=(a0,a1,a2,a3)=>(_leptris_xslt_apply_string_params=Module["_leptris_xslt_apply_string_params"]=wasmExports["Rg"])(a0,a1,a2,a3);Module["UTF8ToString"]=UTF8ToString;Module["stringToUTF8"]=stringToUTF8;Module["lengthBytesUTF8"]=lengthBytesUTF8;var calledRun;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(){if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();readyPromiseResolve(Module);Module["onRuntimeInitialized"]?.();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(()=>{setTimeout(()=>Module["setStatus"](""),1);doRun()},1)}else{doRun()}}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run();moduleRtn=readyPromise;
9
+ var Module=moduleArg;var readyPromiseResolve,readyPromiseReject;var readyPromise=new Promise((resolve,reject)=>{readyPromiseResolve=resolve;readyPromiseReject=reject});var ENVIRONMENT_IS_WEB=typeof window=="object";var ENVIRONMENT_IS_WORKER=typeof WorkerGlobalScope!="undefined";var ENVIRONMENT_IS_NODE=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string"&&process.type!="renderer";if(ENVIRONMENT_IS_NODE){const{createRequire}=await import("module");let dirname=import.meta.url;if(dirname.startsWith("data:")){dirname="/"}var require=createRequire(dirname)}var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisProgram="./this.program";var quit_=(status,toThrow)=>{throw toThrow};var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var readAsync,readBinary;if(ENVIRONMENT_IS_NODE){var fs=require("fs");var nodePath=require("path");if(!import.meta.url.startsWith("data:")){scriptDirectory=nodePath.dirname(require("url").fileURLToPath(import.meta.url))+"/"}readBinary=filename=>{filename=isFileURI(filename)?new URL(filename):filename;var ret=fs.readFileSync(filename);return ret};readAsync=async(filename,binary=true)=>{filename=isFileURI(filename)?new URL(filename):filename;var ret=fs.readFileSync(filename,binary?undefined:"utf8");return ret};if(!Module["thisProgram"]&&process.argv.length>1){thisProgram=process.argv[1].replace(/\\/g,"/")}arguments_=process.argv.slice(2);quit_=(status,toThrow)=>{process.exitCode=status;throw toThrow}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(_scriptName){scriptDirectory=_scriptName}if(scriptDirectory.startsWith("blob:")){scriptDirectory=""}else{scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}{readAsync=async url=>{var response=await fetch(url,{credentials:"same-origin"});if(response.ok){return response.arrayBuffer()}throw new Error(response.status+" : "+response.url)}}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.error.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];var wasmBinary=Module["wasmBinary"];var wasmMemory;var ABORT=false;var HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAP64,HEAPU64,HEAPF64;function updateMemoryViews(){var b=wasmMemory.buffer;Module["HEAP8"]=HEAP8=new Int8Array(b);Module["HEAP16"]=HEAP16=new Int16Array(b);Module["HEAPU8"]=HEAPU8=new Uint8Array(b);Module["HEAPU16"]=HEAPU16=new Uint16Array(b);Module["HEAP32"]=HEAP32=new Int32Array(b);Module["HEAPU32"]=HEAPU32=new Uint32Array(b);Module["HEAPF32"]=HEAPF32=new Float32Array(b);Module["HEAPF64"]=HEAPF64=new Float64Array(b);Module["HEAP64"]=HEAP64=new BigInt64Array(b);Module["HEAPU64"]=HEAPU64=new BigUint64Array(b)}var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=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 initRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.initialized)FS.init();FS.ignorePermissions=false;TTY.init();callRuntimeCallbacks(__ATINIT__)}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)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;Module["monitorRunDependencies"]?.(runDependencies)}function removeRunDependency(id){runDependencies--;Module["monitorRunDependencies"]?.(runDependencies);if(runDependencies==0){if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}function abort(what){Module["onAbort"]?.(what);what="Aborted("+what+")";err(what);ABORT=true;what+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(what);readyPromiseReject(e);throw e}var dataURIPrefix="data:application/octet-stream;base64,";var isDataURI=filename=>filename.startsWith(dataURIPrefix);var isFileURI=filename=>filename.startsWith("file://");function findWasmBinary(){if(Module["locateFile"]){var f="leptris.wasm";if(!isDataURI(f)){return locateFile(f)}return f}return new URL("leptris.wasm",import.meta.url).href}var wasmBinaryFile;function getBinarySync(file){if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}throw"both async and sync fetching of the wasm failed"}async function getWasmBinary(binaryFile){if(!wasmBinary){try{var response=await readAsync(binaryFile);return new Uint8Array(response)}catch{}}return getBinarySync(binaryFile)}async function instantiateArrayBuffer(binaryFile,imports){try{var binary=await getWasmBinary(binaryFile);var instance=await WebAssembly.instantiate(binary,imports);return instance}catch(reason){err(`failed to asynchronously prepare wasm: ${reason}`);abort(reason)}}async function instantiateAsync(binary,binaryFile,imports){if(!binary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(binaryFile)&&!ENVIRONMENT_IS_NODE&&typeof fetch=="function"){try{var response=fetch(binaryFile,{credentials:"same-origin"});var instantiationResult=await WebAssembly.instantiateStreaming(response,imports);return instantiationResult}catch(reason){err(`wasm streaming compile failed: ${reason}`);err("falling back to ArrayBuffer instantiation")}}return instantiateArrayBuffer(binaryFile,imports)}function getWasmImports(){return{a:wasmImports}}async function createWasm(){function receiveInstance(instance,module){wasmExports=instance.exports;wasmMemory=wasmExports["p"];updateMemoryViews();addOnInit(wasmExports["q"]);removeRunDependency("wasm-instantiate");return wasmExports}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}var info=getWasmImports();if(Module["instantiateWasm"]){try{return Module["instantiateWasm"](info,receiveInstance)}catch(e){err(`Module.instantiateWasm callback failed with error: ${e}`);readyPromiseReject(e)}}wasmBinaryFile??=findWasmBinary();try{var result=await instantiateAsync(wasmBinary,wasmBinaryFile,info);receiveInstantiationResult(result);return result}catch(e){readyPromiseReject(e);return}}class ExitStatus{name="ExitStatus";constructor(status){this.message=`Program terminated with exit(${status})`;this.status=status}}var callRuntimeCallbacks=callbacks=>{while(callbacks.length>0){callbacks.shift()(Module)}};var noExitRuntime=Module["noExitRuntime"]||true;var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder:undefined;var UTF8ArrayToString=(heapOrArray,idx=0,maxBytesToRead=NaN)=>{var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}var str="";while(idx<endPtr){var u0=heapOrArray[idx++];if(!(u0&128)){str+=String.fromCharCode(u0);continue}var u1=heapOrArray[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}var u2=heapOrArray[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u0=(u0&7)<<18|u1<<12|u2<<6|heapOrArray[idx++]&63}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}return str};var UTF8ToString=(ptr,maxBytesToRead)=>ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):"";var ___assert_fail=(condition,filename,line,func)=>abort(`Assertion failed: ${UTF8ToString(condition)}, at: `+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"]);var syscallGetVarargI=()=>{var ret=HEAP32[+SYSCALLS.varargs>>2];SYSCALLS.varargs+=4;return ret};var syscallGetVarargP=syscallGetVarargI;var PATH={isAbs:path=>path.charAt(0)==="/",splitPath:filename=>{var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:(parts,allowAboveRoot)=>{var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:path=>{var isAbsolute=PATH.isAbs(path),trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(p=>!!p),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:path=>{var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:path=>{if(path==="/")return"/";path=PATH.normalize(path);path=path.replace(/\/$/,"");var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},join:(...paths)=>PATH.normalize(paths.join("/")),join2:(l,r)=>PATH.normalize(l+"/"+r)};var initRandomFill=()=>{if(typeof crypto=="object"&&typeof crypto["getRandomValues"]=="function"){return view=>crypto.getRandomValues(view)}else if(ENVIRONMENT_IS_NODE){try{var crypto_module=require("crypto");var randomFillSync=crypto_module["randomFillSync"];if(randomFillSync){return view=>crypto_module["randomFillSync"](view)}var randomBytes=crypto_module["randomBytes"];return view=>(view.set(randomBytes(view.byteLength)),view)}catch(e){}}abort("initRandomDevice")};var randomFill=view=>(randomFill=initRandomFill())(view);var PATH_FS={resolve:(...args)=>{var resolvedPath="",resolvedAbsolute=false;for(var i=args.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?args[i]:FS.cwd();if(typeof path!="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=PATH.isAbs(path)}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(p=>!!p),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:(from,to)=>{from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start<arr.length;start++){if(arr[start]!=="")break}var end=arr.length-1;for(;end>=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i<length;i++){if(fromParts[i]!==toParts[i]){samePartsLength=i;break}}var outputParts=[];for(var i=samePartsLength;i<fromParts.length;i++){outputParts.push("..")}outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join("/")}};var FS_stdin_getChar_buffer=[];var lengthBytesUTF8=str=>{var len=0;for(var i=0;i<str.length;++i){var c=str.charCodeAt(i);if(c<=127){len++}else if(c<=2047){len+=2}else if(c>=55296&&c<=57343){len+=4;++i}else{len+=3}}return len};var stringToUTF8Array=(str,heap,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){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx};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}var FS_stdin_getChar=()=>{if(!FS_stdin_getChar_buffer.length){var result=null;if(ENVIRONMENT_IS_NODE){var BUFSIZE=256;var buf=Buffer.alloc(BUFSIZE);var bytesRead=0;var fd=process.stdin.fd;try{bytesRead=fs.readSync(fd,buf,0,BUFSIZE)}catch(e){if(e.toString().includes("EOF"))bytesRead=0;else throw e}if(bytesRead>0){result=buf.slice(0,bytesRead).toString("utf-8")}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else{}if(!result){return null}FS_stdin_getChar_buffer=intArrayFromString(result,true)}return FS_stdin_getChar_buffer.shift()};var TTY={ttys:[],init(){},shutdown(){},register(dev,ops){TTY.ttys[dev]={input:[],output:[],ops};FS.registerDevice(dev,TTY.stream_ops)},stream_ops:{open(stream){var tty=TTY.ttys[stream.node.rdev];if(!tty){throw new FS.ErrnoError(43)}stream.tty=tty;stream.seekable=false},close(stream){stream.tty.ops.fsync(stream.tty)},fsync(stream){stream.tty.ops.fsync(stream.tty)},read(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.get_char){throw new FS.ErrnoError(60)}var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=stream.tty.ops.get_char(stream.tty)}catch(e){throw new FS.ErrnoError(29)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(6)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.atime=Date.now()}return bytesRead},write(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.put_char){throw new FS.ErrnoError(60)}try{for(var i=0;i<length;i++){stream.tty.ops.put_char(stream.tty,buffer[offset+i])}}catch(e){throw new FS.ErrnoError(29)}if(length){stream.node.mtime=stream.node.ctime=Date.now()}return i}},default_tty_ops:{get_char(tty){return FS_stdin_getChar()},put_char(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output));tty.output=[]}else{if(val!=0)tty.output.push(val)}},fsync(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output));tty.output=[]}},ioctl_tcgets(tty){return{c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},ioctl_tcsets(tty,optional_actions,data){return 0},ioctl_tiocgwinsz(tty){return[24,80]}},default_tty1_ops:{put_char(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output));tty.output=[]}else{if(val!=0)tty.output.push(val)}},fsync(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output));tty.output=[]}}}};var alignMemory=(size,alignment)=>Math.ceil(size/alignment)*alignment;var mmapAlloc=size=>{abort()};var MEMFS={ops_table:null,mount(mount){return MEMFS.createNode(null,"/",16895,0)},createNode(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}MEMFS.ops_table||={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}};var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.atime=node.mtime=node.ctime=Date.now();if(parent){parent.contents[name]=node;parent.atime=parent.mtime=parent.ctime=node.atime}return node},getFileDataAsTypedArray(node){if(!node.contents)return new Uint8Array(0);if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)},expandFileStorage(node,newCapacity){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity<CAPACITY_DOUBLING_MAX?2:1.125)>>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0)},resizeFileStorage(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0}else{var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize}},node_ops:{getattr(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.atime);attr.mtime=new Date(node.mtime);attr.ctime=new Date(node.ctime);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr},setattr(node,attr){for(const key of["mode","atime","mtime","ctime"]){if(attr[key]){node[key]=attr[key]}}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}},lookup(parent,name){throw MEMFS.doesNotExistError},mknod(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)},rename(old_node,new_dir,new_name){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){if(FS.isDir(old_node.mode)){for(var i in new_node.contents){throw new FS.ErrnoError(55)}}FS.hashRemoveNode(new_node)}delete old_node.parent.contents[old_node.name];new_dir.contents[new_name]=old_node;old_node.name=new_name;new_dir.ctime=new_dir.mtime=old_node.parent.ctime=old_node.parent.mtime=Date.now()},unlink(parent,name){delete parent.contents[name];parent.ctime=parent.mtime=Date.now()},rmdir(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(55)}delete parent.contents[name];parent.ctime=parent.mtime=Date.now()},readdir(node){return[".","..",...Object.keys(node.contents)]},symlink(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node},readlink(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(28)}return node.link}},stream_ops:{read(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i<size;i++)buffer[offset+i]=contents[position+i]}return size},write(stream,buffer,offset,length,position,canOwn){if(buffer.buffer===HEAP8.buffer){canOwn=false}if(!length)return 0;var node=stream.node;node.mtime=node.ctime=Date.now();if(buffer.subarray&&(!node.contents||node.contents.subarray)){if(canOwn){node.contents=buffer.subarray(offset,offset+length);node.usedBytes=length;return length}else if(node.usedBytes===0&&position===0){node.contents=buffer.slice(offset,offset+length);node.usedBytes=length;return length}else if(position+length<=node.usedBytes){node.contents.set(buffer.subarray(offset,offset+length),position);return length}}MEMFS.expandFileStorage(node,position+length);if(node.contents.subarray&&buffer.subarray){node.contents.set(buffer.subarray(offset,offset+length),position)}else{for(var i=0;i<length;i++){node.contents[position+i]=buffer[offset+i]}}node.usedBytes=Math.max(node.usedBytes,position+length);return length},llseek(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.usedBytes}}if(position<0){throw new FS.ErrnoError(28)}return position},allocate(stream,offset,length){MEMFS.expandFileStorage(stream.node,offset+length);stream.node.usedBytes=Math.max(stream.node.usedBytes,offset+length)},mmap(stream,length,position,prot,flags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(43)}var ptr;var allocated;var contents=stream.node.contents;if(!(flags&2)&&contents&&contents.buffer===HEAP8.buffer){allocated=false;ptr=contents.byteOffset}else{allocated=true;ptr=mmapAlloc(length);if(!ptr){throw new FS.ErrnoError(48)}if(contents){if(position>0||position+length<contents.length){if(contents.subarray){contents=contents.subarray(position,position+length)}else{contents=Array.prototype.slice.call(contents,position,position+length)}}HEAP8.set(contents,ptr)}}return{ptr,allocated}},msync(stream,buffer,offset,length,mmapFlags){MEMFS.stream_ops.write(stream,buffer,0,length,offset,false);return 0}}};var asyncLoad=async url=>{var arrayBuffer=await readAsync(url);return new Uint8Array(arrayBuffer)};var FS_createDataFile=(parent,name,fileData,canRead,canWrite,canOwn)=>{FS.createDataFile(parent,name,fileData,canRead,canWrite,canOwn)};var preloadPlugins=Module["preloadPlugins"]||[];var FS_handledByPreloadPlugin=(byteArray,fullname,finish,onerror)=>{if(typeof Browser!="undefined")Browser.init();var handled=false;preloadPlugins.forEach(plugin=>{if(handled)return;if(plugin["canHandle"](fullname)){plugin["handle"](byteArray,fullname,finish,onerror);handled=true}});return handled};var FS_createPreloadedFile=(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn,preFinish)=>{var fullname=name?PATH_FS.resolve(PATH.join2(parent,name)):parent;var dep=getUniqueRunDependency(`cp ${fullname}`);function processData(byteArray){function finish(byteArray){preFinish?.();if(!dontCreateFile){FS_createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}onload?.();removeRunDependency(dep)}if(FS_handledByPreloadPlugin(byteArray,fullname,finish,()=>{onerror?.();removeRunDependency(dep)})){return}finish(byteArray)}addRunDependency(dep);if(typeof url=="string"){asyncLoad(url).then(processData,onerror)}else{processData(url)}};var FS_modeStringToFlags=str=>{var flagModes={r:0,"r+":2,w:512|64|1,"w+":512|64|2,a:1024|64|1,"a+":1024|64|2};var flags=flagModes[str];if(typeof flags=="undefined"){throw new Error(`Unknown file open mode: ${str}`)}return flags};var FS_getMode=(canRead,canWrite)=>{var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode};var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,ErrnoError:class{name="ErrnoError";constructor(errno){this.errno=errno}},filesystems:null,syncFSRequests:0,readFiles:{},FSStream:class{shared={};get object(){return this.node}set object(val){this.node=val}get isRead(){return(this.flags&2097155)!==1}get isWrite(){return(this.flags&2097155)!==0}get isAppend(){return this.flags&1024}get flags(){return this.shared.flags}set flags(val){this.shared.flags=val}get position(){return this.shared.position}set position(val){this.shared.position=val}},FSNode:class{node_ops={};stream_ops={};readMode=292|73;writeMode=146;mounted=null;constructor(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.rdev=rdev;this.atime=this.mtime=this.ctime=Date.now()}get read(){return(this.mode&this.readMode)===this.readMode}set read(val){val?this.mode|=this.readMode:this.mode&=~this.readMode}get write(){return(this.mode&this.writeMode)===this.writeMode}set write(val){val?this.mode|=this.writeMode:this.mode&=~this.writeMode}get isFolder(){return FS.isDir(this.mode)}get isDevice(){return FS.isChrdev(this.mode)}},lookupPath(path,opts={}){if(!path)return{path:"",node:null};opts.follow_mount??=true;if(!PATH.isAbs(path)){path=FS.cwd()+"/"+path}linkloop:for(var nlinks=0;nlinks<40;nlinks++){var parts=path.split("/").filter(p=>!!p&&p!==".");var current=FS.root;var current_path="/";for(var i=0;i<parts.length;i++){var islast=i===parts.length-1;if(islast&&opts.parent){break}if(parts[i]===".."){current_path=PATH.dirname(current_path);current=current.parent;continue}current_path=PATH.join2(current_path,parts[i]);try{current=FS.lookupNode(current,parts[i])}catch(e){if(e?.errno===44&&islast&&opts.noent_okay){return{path:current_path}}throw e}if(FS.isMountpoint(current)&&(!islast||opts.follow_mount)){current=current.mounted.root}if(FS.isLink(current.mode)&&(!islast||opts.follow)){if(!current.node_ops.readlink){throw new FS.ErrnoError(52)}var link=current.node_ops.readlink(current);if(!PATH.isAbs(link)){link=PATH.dirname(current_path)+"/"+link}path=link+"/"+parts.slice(i+1).join("/");continue linkloop}}return{path:current_path,node:current}}throw new FS.ErrnoError(32)},getPath(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?`${mount}/${path}`:mount+path}path=path?`${node.name}/${path}`:node.name;node=node.parent}},hashName(parentid,name){var hash=0;for(var i=0;i<name.length;i++){hash=(hash<<5)-hash+name.charCodeAt(i)|0}return(parentid+hash>>>0)%FS.nameTable.length},hashAddNode(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode(node){FS.hashRemoveNode(node)},isRoot(node){return node===node.parent},isMountpoint(node){return!!node.mounted},isFile(mode){return(mode&61440)===32768},isDir(mode){return(mode&61440)===16384},isLink(mode){return(mode&61440)===40960},isChrdev(mode){return(mode&61440)===8192},isBlkdev(mode){return(mode&61440)===24576},isFIFO(mode){return(mode&61440)===4096},isSocket(mode){return(mode&49152)===49152},flagsToPermissionString(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions(node,perms){if(FS.ignorePermissions){return 0}if(perms.includes("r")&&!(node.mode&292)){return 2}else if(perms.includes("w")&&!(node.mode&146)){return 2}else if(perms.includes("x")&&!(node.mode&73)){return 2}return 0},mayLookup(dir){if(!FS.isDir(dir.mode))return 54;var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate(dir,name){if(!FS.isDir(dir.mode)){return 54}try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd(){for(var fd=0;fd<=FS.MAX_OPEN_FDS;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStreamChecked(fd){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}return stream},getStream:fd=>FS.streams[fd],createStream(stream,fd=-1){stream=Object.assign(new FS.FSStream,stream);if(fd==-1){fd=FS.nextfd()}stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream(fd){FS.streams[fd]=null},dupStream(origStream,fd=-1){var stream=FS.createStream(origStream,fd);stream.stream_ops?.dup?.(stream);return stream},chrdev_stream_ops:{open(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;stream.stream_ops.open?.(stream)},llseek(){throw new FS.ErrnoError(70)}},major:dev=>dev>>8,minor:dev=>dev&255,makedev:(ma,mi)=>ma<<8|mi,registerDevice(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:dev=>FS.devices[dev],getMounts(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push(...m.mounts)}return mounts},syncfs(populate,callback){if(typeof populate=="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err(`warning: ${FS.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`)}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(mount=>{if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type,opts,mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(hash=>{var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.includes(current.mount)){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup(parent,name){return parent.node_ops.lookup(parent,name)},mknod(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},statfs(path){var rtn={bsize:4096,frsize:4096,blocks:1e6,bfree:5e5,bavail:5e5,files:FS.nextInode,ffree:FS.nextInode-1,fsid:42,flags:2,namelen:255};var parent=FS.lookupPath(path,{follow:true}).node;if(parent?.node_ops.statfs){Object.assign(rtn,parent.node_ops.statfs(parent.mount.opts.root))}return rtn},create(path,mode=438){mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir(path,mode=511){mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree(path,mode){var dirs=path.split("/");var d="";for(var i=0;i<dirs.length;++i){if(!dirs[i])continue;d+="/"+dirs[i];try{FS.mkdir(d,mode)}catch(e){if(e.errno!=20)throw e}}},mkdev(path,mode,dev){if(typeof dev=="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)},symlink(oldpath,newpath){if(!PATH_FS.resolve(oldpath)){throw new FS.ErrnoError(44)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var newname=PATH.basename(newpath);var errCode=FS.mayCreate(parent,newname);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(63)}return parent.node_ops.symlink(parent,newname,oldpath)},rename(old_path,new_path){var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node;if(!old_dir||!new_dir)throw new FS.ErrnoError(44);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(75)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH_FS.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(28)}relative=PATH_FS.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(55)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var errCode=FS.mayDelete(old_dir,old_name,isdir);if(errCode){throw new FS.ErrnoError(errCode)}errCode=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(errCode){throw new FS.ErrnoError(errCode)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(63)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(10)}if(new_dir!==old_dir){errCode=FS.nodePermissions(old_dir,"w");if(errCode){throw new FS.ErrnoError(errCode)}}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name);old_node.parent=new_dir}catch(e){throw e}finally{FS.hashAddNode(old_node)}},rmdir(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,true);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node)},readdir(path){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(54)}return node.node_ops.readdir(node)},unlink(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,false);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.unlink(parent,name);FS.destroyNode(node)},readlink(path){var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(44)}if(!link.node_ops.readlink){throw new FS.ErrnoError(28)}return link.node_ops.readlink(link)},stat(path,dontFollow){var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(44)}if(!node.node_ops.getattr){throw new FS.ErrnoError(63)}return node.node_ops.getattr(node)},lstat(path){return FS.stat(path,true)},chmod(path,mode,dontFollow){var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,ctime:Date.now()})},lchmod(path,mode){FS.chmod(path,mode,true)},fchmod(fd,mode){var stream=FS.getStreamChecked(fd);FS.chmod(stream.node,mode)},chown(path,uid,gid,dontFollow){var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{timestamp:Date.now()})},lchown(path,uid,gid){FS.chown(path,uid,gid,true)},fchown(fd,uid,gid){var stream=FS.getStreamChecked(fd);FS.chown(stream.node,uid,gid)},truncate(path,len){if(len<0){throw new FS.ErrnoError(28)}var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(31)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(28)}var errCode=FS.nodePermissions(node,"w");if(errCode){throw new FS.ErrnoError(errCode)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})},ftruncate(fd,len){var stream=FS.getStreamChecked(fd);if((stream.flags&2097155)===0){throw new FS.ErrnoError(28)}FS.truncate(stream.node,len)},utime(path,atime,mtime){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{atime,mtime})},open(path,flags,mode=438){if(path===""){throw new FS.ErrnoError(44)}flags=typeof flags=="string"?FS_modeStringToFlags(flags):flags;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path=="object"){node=path}else{var lookup=FS.lookupPath(path,{follow:!(flags&131072),noent_okay:true});node=lookup.node;path=lookup.path}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(20)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(44)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}if(!created){var errCode=FS.mayOpen(node,flags);if(errCode){throw new FS.ErrnoError(errCode)}}if(flags&512&&!created){FS.truncate(node,0)}flags&=~(128|512|131072);var stream=FS.createStream({node,path:FS.getPath(node),flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false});if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!(path in FS.readFiles)){FS.readFiles[path]=1}}return stream},close(stream){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}stream.fd=null},isClosed(stream){return stream.fd===null},llseek(stream,offset,whence){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(70)}if(whence!=0&&whence!=1&&whence!=2){throw new FS.ErrnoError(28)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position},read(stream,buffer,offset,length,position){if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.read){throw new FS.ErrnoError(28)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead},write(stream,buffer,offset,length,position,canOwn){if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.write){throw new FS.ErrnoError(28)}if(stream.seekable&&stream.flags&1024){FS.llseek(stream,0,2)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;return bytesWritten},allocate(stream,offset,length){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(offset<0||length<=0){throw new FS.ErrnoError(28)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(stream.node.mode)){throw new FS.ErrnoError(43)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(138)}stream.stream_ops.allocate(stream,offset,length)},mmap(stream,length,position,prot,flags){if((prot&2)!==0&&(flags&2)===0&&(stream.flags&2097155)!==2){throw new FS.ErrnoError(2)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(2)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(43)}if(!length){throw new FS.ErrnoError(28)}return stream.stream_ops.mmap(stream,length,position,prot,flags)},msync(stream,buffer,offset,length,mmapFlags){if(!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)},ioctl(stream,cmd,arg){if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(59)}return stream.stream_ops.ioctl(stream,cmd,arg)},readFile(path,opts={}){opts.flags=opts.flags||0;opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error(`Invalid encoding type "${opts.encoding}"`)}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret},writeFile(path,data,opts={}){opts.flags=opts.flags||577;var stream=FS.open(path,opts.flags,opts.mode);if(typeof data=="string"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,undefined,opts.canOwn)}else if(ArrayBuffer.isView(data)){FS.write(stream,data,0,data.byteLength,undefined,opts.canOwn)}else{throw new Error("Unsupported data type")}FS.close(stream)},cwd:()=>FS.currentPath,chdir(path){var lookup=FS.lookupPath(path,{follow:true});if(lookup.node===null){throw new FS.ErrnoError(44)}if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(54)}var errCode=FS.nodePermissions(lookup.node,"x");if(errCode){throw new FS.ErrnoError(errCode)}FS.currentPath=lookup.path},createDefaultDirectories(){FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")},createDefaultDevices(){FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:()=>0,write:(stream,buffer,offset,length,pos)=>length,llseek:()=>0});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var randomBuffer=new Uint8Array(1024),randomLeft=0;var randomByte=()=>{if(randomLeft===0){randomLeft=randomFill(randomBuffer).byteLength}return randomBuffer[--randomLeft]};FS.createDevice("/dev","random",randomByte);FS.createDevice("/dev","urandom",randomByte);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")},createSpecialDirectories(){FS.mkdir("/proc");var proc_self=FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd");FS.mount({mount(){var node=FS.createNode(proc_self,"fd",16895,73);node.stream_ops={llseek:MEMFS.stream_ops.llseek};node.node_ops={lookup(parent,name){var fd=+name;var stream=FS.getStreamChecked(fd);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>stream.path},id:fd+1};ret.parent=ret;return ret},readdir(){return Array.from(FS.streams.entries()).filter(([k,v])=>v).map(([k,v])=>k.toString())}};return node}},{},"/proc/self/fd")},createStandardStreams(input,output,error){if(input){FS.createDevice("/dev","stdin",input)}else{FS.symlink("/dev/tty","/dev/stdin")}if(output){FS.createDevice("/dev","stdout",null,output)}else{FS.symlink("/dev/tty","/dev/stdout")}if(error){FS.createDevice("/dev","stderr",null,error)}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin",0);var stdout=FS.open("/dev/stdout",1);var stderr=FS.open("/dev/stderr",1)},staticInit(){FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices();FS.createSpecialDirectories();FS.filesystems={MEMFS}},init(input,output,error){FS.initialized=true;input??=Module["stdin"];output??=Module["stdout"];error??=Module["stderr"];FS.createStandardStreams(input,output,error)},quit(){FS.initialized=false;for(var i=0;i<FS.streams.length;i++){var stream=FS.streams[i];if(!stream){continue}FS.close(stream)}},findObject(path,dontResolveLastLink){var ret=FS.analyzePath(path,dontResolveLastLink);if(!ret.exists){return null}return ret.object},analyzePath(path,dontResolveLastLink){try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret},createPath(parent,path,canRead,canWrite){parent=typeof parent=="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current},createFile(parent,name,properties,canRead,canWrite){var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS_getMode(canRead,canWrite);return FS.create(path,mode)},createDataFile(parent,name,data,canRead,canWrite,canOwn){var path=name;if(parent){parent=typeof parent=="string"?parent:FS.getPath(parent);path=name?PATH.join2(parent,name):parent}var mode=FS_getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data=="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i<len;++i)arr[i]=data.charCodeAt(i);data=arr}FS.chmod(node,mode|146);var stream=FS.open(node,577);FS.write(stream,data,0,data.length,0,canOwn);FS.close(stream);FS.chmod(node,mode)}},createDevice(parent,name,input,output){var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS_getMode(!!input,!!output);FS.createDevice.major??=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open(stream){stream.seekable=false},close(stream){if(output?.buffer?.length){output(10)}},read(stream,buffer,offset,length,pos){var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=input()}catch(e){throw new FS.ErrnoError(29)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(6)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.atime=Date.now()}return bytesRead},write(stream,buffer,offset,length,pos){for(var i=0;i<length;i++){try{output(buffer[offset+i])}catch(e){throw new FS.ErrnoError(29)}}if(length){stream.node.mtime=stream.node.ctime=Date.now()}return i}});return FS.mkdev(path,mode,dev)},forceLoadFile(obj){if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;if(typeof XMLHttpRequest!="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else{try{obj.contents=readBinary(obj.url);obj.usedBytes=obj.contents.length}catch(e){throw new FS.ErrnoError(29)}}},createLazyFile(parent,name,url,canRead,canWrite){class LazyUint8Array{lengthKnown=false;chunks=[];get(idx){if(idx>this.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]}setDataGetter(getter){this.getter=getter}cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(from,to)=>{if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}return intArrayFromString(xhr.responseText||"",true)};var lazyArray=this;lazyArray.setDataGetter(chunkNum=>{var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]=="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]=="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true}get length(){if(!this.lengthKnown){this.cacheLength()}return this._length}get chunkSize(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}if(typeof XMLHttpRequest!="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(key=>{var fn=node.stream_ops[key];stream_ops[key]=(...args)=>{FS.forceLoadFile(node);return fn(...args)}});function writeChunks(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i<size;i++){buffer[offset+i]=contents[position+i]}}else{for(var i=0;i<size;i++){buffer[offset+i]=contents.get(position+i)}}return size}stream_ops.read=(stream,buffer,offset,length,position)=>{FS.forceLoadFile(node);return writeChunks(stream,buffer,offset,length,position)};stream_ops.mmap=(stream,length,position,prot,flags)=>{FS.forceLoadFile(node);var ptr=mmapAlloc(length);if(!ptr){throw new FS.ErrnoError(48)}writeChunks(stream,HEAP8,ptr,length,position);return{ptr,allocated:true}};node.stream_ops=stream_ops;return node}};var SYSCALLS={DEFAULT_POLLMASK:5,calculateAt(dirfd,path,allowEmpty){if(PATH.isAbs(path)){return path}var dir;if(dirfd===-100){dir=FS.cwd()}else{var dirstream=SYSCALLS.getStreamFromFD(dirfd);dir=dirstream.path}if(path.length==0){if(!allowEmpty){throw new FS.ErrnoError(44)}return dir}return dir+"/"+path},doStat(func,path,buf){var stat=func(path);HEAP32[buf>>2]=stat.dev;HEAP32[buf+4>>2]=stat.mode;HEAPU32[buf+8>>2]=stat.nlink;HEAP32[buf+12>>2]=stat.uid;HEAP32[buf+16>>2]=stat.gid;HEAP32[buf+20>>2]=stat.rdev;HEAP64[buf+24>>3]=BigInt(stat.size);HEAP32[buf+32>>2]=4096;HEAP32[buf+36>>2]=stat.blocks;var atime=stat.atime.getTime();var mtime=stat.mtime.getTime();var ctime=stat.ctime.getTime();HEAP64[buf+40>>3]=BigInt(Math.floor(atime/1e3));HEAPU32[buf+48>>2]=atime%1e3*1e3*1e3;HEAP64[buf+56>>3]=BigInt(Math.floor(mtime/1e3));HEAPU32[buf+64>>2]=mtime%1e3*1e3*1e3;HEAP64[buf+72>>3]=BigInt(Math.floor(ctime/1e3));HEAPU32[buf+80>>2]=ctime%1e3*1e3*1e3;HEAP64[buf+88>>3]=BigInt(stat.ino);return 0},doMsync(addr,stream,len,flags,offset){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(43)}if(flags&2){return 0}var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},getStreamFromFD(fd){var stream=FS.getStreamChecked(fd);return stream},varargs:undefined,getStr(ptr){var ret=UTF8ToString(ptr);return ret}};function ___syscall_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=syscallGetVarargI();if(arg<0){return-28}while(FS.streams[arg]){arg++}var newStream;newStream=FS.dupStream(stream,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=syscallGetVarargI();stream.flags|=arg;return 0}case 12:{var arg=syscallGetVarargP();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0}return-28}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:{if(!stream.tty)return-59;return 0}case 21505:{if(!stream.tty)return-59;if(stream.tty.ops.ioctl_tcgets){var termios=stream.tty.ops.ioctl_tcgets(stream);var argp=syscallGetVarargP();HEAP32[argp>>2]=termios.c_iflag||0;HEAP32[argp+4>>2]=termios.c_oflag||0;HEAP32[argp+8>>2]=termios.c_cflag||0;HEAP32[argp+12>>2]=termios.c_lflag||0;for(var i=0;i<32;i++){HEAP8[argp+i+17]=termios.c_cc[i]||0}return 0}return 0}case 21510:case 21511:case 21512:{if(!stream.tty)return-59;return 0}case 21506:case 21507:case 21508:{if(!stream.tty)return-59;if(stream.tty.ops.ioctl_tcsets){var argp=syscallGetVarargP();var c_iflag=HEAP32[argp>>2];var c_oflag=HEAP32[argp+4>>2];var c_cflag=HEAP32[argp+8>>2];var c_lflag=HEAP32[argp+12>>2];var c_cc=[];for(var i=0;i<32;i++){c_cc.push(HEAP8[argp+i+17])}return stream.tty.ops.ioctl_tcsets(stream.tty,op,{c_iflag,c_oflag,c_cflag,c_lflag,c_cc})}return 0}case 21519:{if(!stream.tty)return-59;var argp=syscallGetVarargP();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=syscallGetVarargP();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;if(stream.tty.ops.ioctl_tiocgwinsz){var winsize=stream.tty.ops.ioctl_tiocgwinsz(stream.tty);var argp=syscallGetVarargP();HEAP16[argp>>1]=winsize[0];HEAP16[argp+2>>1]=winsize[1]}return 0}case 21524:{if(!stream.tty)return-59;return 0}case 21515:{if(!stream.tty)return-59;return 0}default:return-28}}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_mkdirat(dirfd,path,mode){try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);FS.mkdir(path,mode,0);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}function ___syscall_openat(dirfd,path,flags,varargs){SYSCALLS.varargs=varargs;try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);var mode=varargs?syscallGetVarargI():0;return FS.open(path,flags,mode).fd}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return-e.errno}}var INT53_MAX=9007199254740992;var INT53_MIN=-9007199254740992;var bigintToI53Checked=num=>num<INT53_MIN||num>INT53_MAX?NaN:Number(num);function __gmtime_js(time,tmPtr){time=bigintToI53Checked(time);var date=new Date(time*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday}var stringToUTF8=(str,outPtr,maxBytesToWrite)=>stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite);var __tzset_js=(timezone,daylight,std_name,dst_name)=>{var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAPU32[timezone>>2]=stdTimezoneOffset*60;HEAP32[daylight>>2]=Number(winterOffset!=summerOffset);var extractZone=timezoneOffset=>{var sign=timezoneOffset>=0?"-":"+";var absOffset=Math.abs(timezoneOffset);var hours=String(Math.floor(absOffset/60)).padStart(2,"0");var minutes=String(absOffset%60).padStart(2,"0");return`UTC${sign}${hours}${minutes}`};var winterName=extractZone(winterOffset);var summerName=extractZone(summerOffset);if(summerOffset<winterOffset){stringToUTF8(winterName,std_name,17);stringToUTF8(summerName,dst_name,17)}else{stringToUTF8(winterName,dst_name,17);stringToUTF8(summerName,std_name,17)}};var _emscripten_date_now=()=>Date.now();var getHeapMax=()=>2147483648;var growMemory=size=>{var b=wasmMemory.buffer;var pages=(size-b.byteLength+65535)/65536|0;try{wasmMemory.grow(pages);updateMemoryViews();return 1}catch(e){}};var _emscripten_resize_heap=requestedSize=>{var oldSize=HEAPU8.length;requestedSize>>>=0;var maxHeapSize=getHeapMax();if(requestedSize>maxHeapSize){return false}for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignMemory(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=growMemory(newSize);if(replacement){return true}}return false};var ENV={};var getExecutableName=()=>thisProgram||"./this.program";var getEnvStrings=()=>{if(!getEnvStrings.strings){var lang=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:lang,_:getExecutableName()};for(var x in ENV){if(ENV[x]===undefined)delete env[x];else env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(`${x}=${env[x]}`)}getEnvStrings.strings=strings}return getEnvStrings.strings};var stringToAscii=(str,buffer)=>{for(var i=0;i<str.length;++i){HEAP8[buffer++]=str.charCodeAt(i)}HEAP8[buffer]=0};var _environ_get=(__environ,environ_buf)=>{var bufSize=0;getEnvStrings().forEach((string,i)=>{var ptr=environ_buf+bufSize;HEAPU32[__environ+i*4>>2]=ptr;stringToAscii(string,ptr);bufSize+=string.length+1});return 0};var _environ_sizes_get=(penviron_count,penviron_buf_size)=>{var strings=getEnvStrings();HEAPU32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(string=>bufSize+=string.length+1);HEAPU32[penviron_buf_size>>2]=bufSize;return 0};function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}var doReadv=(stream,iov,iovcnt,offset)=>{var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAPU32[iov>>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr<len)break;if(typeof offset!="undefined"){offset+=curr}}return ret};function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=doReadv(stream,iov,iovcnt);HEAPU32[pnum>>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}function _fd_seek(fd,offset,whence,newOffset){offset=bigintToI53Checked(offset);try{if(isNaN(offset))return 61;var stream=SYSCALLS.getStreamFromFD(fd);FS.llseek(stream,offset,whence);HEAP64[newOffset>>3]=BigInt(stream.position);if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}var doWritev=(stream,iov,iovcnt,offset)=>{var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAPU32[iov>>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr<len){break}if(typeof offset!="undefined"){offset+=curr}}return ret};function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=doWritev(stream,iov,iovcnt);HEAPU32[pnum>>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e.name==="ErrnoError"))throw e;return e.errno}}FS.createPreloadedFile=FS_createPreloadedFile;FS.staticInit();MEMFS.doesNotExistError=new FS.ErrnoError(44);MEMFS.doesNotExistError.stack="<generic error, no stack>";var wasmImports={o:___assert_fail,c:___syscall_fcntl64,e:___syscall_ioctl,l:___syscall_mkdirat,f:___syscall_openat,j:__gmtime_js,k:__tzset_js,g:_emscripten_date_now,i:_emscripten_resize_heap,h:_environ_get,n:_environ_sizes_get,a:_fd_close,d:_fd_read,m:_fd_seek,b:_fd_write};var wasmExports;createWasm();var ___wasm_call_ctors=()=>(___wasm_call_ctors=wasmExports["q"])();var _leptris_wasm_tree=Module["_leptris_wasm_tree"]=a0=>(_leptris_wasm_tree=Module["_leptris_wasm_tree"]=wasmExports["r"])(a0);var _leptris_document_root=Module["_leptris_document_root"]=a0=>(_leptris_document_root=Module["_leptris_document_root"]=wasmExports["s"])(a0);var _leptris_element_as_node=Module["_leptris_element_as_node"]=a0=>(_leptris_element_as_node=Module["_leptris_element_as_node"]=wasmExports["t"])(a0);var _leptris_node_get_type=Module["_leptris_node_get_type"]=a0=>(_leptris_node_get_type=Module["_leptris_node_get_type"]=wasmExports["u"])(a0);var _leptris_node_as_element=Module["_leptris_node_as_element"]=a0=>(_leptris_node_as_element=Module["_leptris_node_as_element"]=wasmExports["v"])(a0);var _leptris_element_expanded_name=Module["_leptris_element_expanded_name"]=(a0,a1,a2,a3)=>(_leptris_element_expanded_name=Module["_leptris_element_expanded_name"]=wasmExports["w"])(a0,a1,a2,a3);var _leptris_cdata_node_get_content=Module["_leptris_cdata_node_get_content"]=a0=>(_leptris_cdata_node_get_content=Module["_leptris_cdata_node_get_content"]=wasmExports["x"])(a0);var _leptris_comment_node_get_content=Module["_leptris_comment_node_get_content"]=a0=>(_leptris_comment_node_get_content=Module["_leptris_comment_node_get_content"]=wasmExports["y"])(a0);var _leptris_pi_node_get_data=Module["_leptris_pi_node_get_data"]=a0=>(_leptris_pi_node_get_data=Module["_leptris_pi_node_get_data"]=wasmExports["z"])(a0);var _leptris_pi_node_get_target=Module["_leptris_pi_node_get_target"]=a0=>(_leptris_pi_node_get_target=Module["_leptris_pi_node_get_target"]=wasmExports["A"])(a0);var _leptris_entity_ref_node_name=Module["_leptris_entity_ref_node_name"]=a0=>(_leptris_entity_ref_node_name=Module["_leptris_entity_ref_node_name"]=wasmExports["B"])(a0);var _leptris_text_node_get_content=Module["_leptris_text_node_get_content"]=a0=>(_leptris_text_node_get_content=Module["_leptris_text_node_get_content"]=wasmExports["C"])(a0);var _leptris_node_first_child=Module["_leptris_node_first_child"]=a0=>(_leptris_node_first_child=Module["_leptris_node_first_child"]=wasmExports["D"])(a0);var _leptris_node_next_sibling=Module["_leptris_node_next_sibling"]=a0=>(_leptris_node_next_sibling=Module["_leptris_node_next_sibling"]=wasmExports["E"])(a0);var _free=Module["_free"]=a0=>(_free=Module["_free"]=wasmExports["F"])(a0);var _leptris_wasm_load=Module["_leptris_wasm_load"]=(a0,a1)=>(_leptris_wasm_load=Module["_leptris_wasm_load"]=wasmExports["G"])(a0,a1);var _leptris_parse_string=Module["_leptris_parse_string"]=(a0,a1,a2)=>(_leptris_parse_string=Module["_leptris_parse_string"]=wasmExports["H"])(a0,a1,a2);var _leptris_wasm_xml=Module["_leptris_wasm_xml"]=a0=>(_leptris_wasm_xml=Module["_leptris_wasm_xml"]=wasmExports["I"])(a0);var _leptris_document_serialize=Module["_leptris_document_serialize"]=(a0,a1)=>(_leptris_document_serialize=Module["_leptris_document_serialize"]=wasmExports["J"])(a0,a1);var _leptris_wasm_xml_len=Module["_leptris_wasm_xml_len"]=a0=>(_leptris_wasm_xml_len=Module["_leptris_wasm_xml_len"]=wasmExports["K"])(a0);var _leptris_wasm_xpath=Module["_leptris_wasm_xpath"]=(a0,a1)=>(_leptris_wasm_xpath=Module["_leptris_wasm_xpath"]=wasmExports["L"])(a0,a1);var _leptris_xpath_eval=Module["_leptris_xpath_eval"]=(a0,a1,a2)=>(_leptris_xpath_eval=Module["_leptris_xpath_eval"]=wasmExports["M"])(a0,a1,a2);var _leptris_xpath_result_string=Module["_leptris_xpath_result_string"]=a0=>(_leptris_xpath_result_string=Module["_leptris_xpath_result_string"]=wasmExports["N"])(a0);var _leptris_xpath_result_free=Module["_leptris_xpath_result_free"]=a0=>(_leptris_xpath_result_free=Module["_leptris_xpath_result_free"]=wasmExports["O"])(a0);var _leptris_wasm_close=Module["_leptris_wasm_close"]=a0=>(_leptris_wasm_close=Module["_leptris_wasm_close"]=wasmExports["P"])(a0);var _leptris_document_free=Module["_leptris_document_free"]=a0=>(_leptris_document_free=Module["_leptris_document_free"]=wasmExports["Q"])(a0);var _leptris_wasm_free_str=Module["_leptris_wasm_free_str"]=a0=>(_leptris_wasm_free_str=Module["_leptris_wasm_free_str"]=wasmExports["R"])(a0);var _leptris_wasm_last_error=Module["_leptris_wasm_last_error"]=()=>(_leptris_wasm_last_error=Module["_leptris_wasm_last_error"]=wasmExports["S"])();var _leptris_last_error=Module["_leptris_last_error"]=()=>(_leptris_last_error=Module["_leptris_last_error"]=wasmExports["T"])();var _leptris_wasm_last_error_position=Module["_leptris_wasm_last_error_position"]=(a0,a1)=>(_leptris_wasm_last_error_position=Module["_leptris_wasm_last_error_position"]=wasmExports["U"])(a0,a1);var _leptris_last_error_position=Module["_leptris_last_error_position"]=(a0,a1)=>(_leptris_last_error_position=Module["_leptris_last_error_position"]=wasmExports["V"])(a0,a1);var _leptris_wasm_version=Module["_leptris_wasm_version"]=()=>(_leptris_wasm_version=Module["_leptris_wasm_version"]=wasmExports["W"])();var _leptris_version=Module["_leptris_version"]=()=>(_leptris_version=Module["_leptris_version"]=wasmExports["X"])();var _leptris_element_attributes_raw=Module["_leptris_element_attributes_raw"]=(a0,a1,a2,a3)=>(_leptris_element_attributes_raw=Module["_leptris_element_attributes_raw"]=wasmExports["Y"])(a0,a1,a2,a3);var _malloc=Module["_malloc"]=a0=>(_malloc=Module["_malloc"]=wasmExports["Z"])(a0);var _leptris_element_first_attribute=Module["_leptris_element_first_attribute"]=a0=>(_leptris_element_first_attribute=Module["_leptris_element_first_attribute"]=wasmExports["_"])(a0);var _leptris_attribute_get_name=Module["_leptris_attribute_get_name"]=a0=>(_leptris_attribute_get_name=Module["_leptris_attribute_get_name"]=wasmExports["$"])(a0);var _leptris_attribute_get_value=Module["_leptris_attribute_get_value"]=(a0,a1)=>(_leptris_attribute_get_value=Module["_leptris_attribute_get_value"]=wasmExports["aa"])(a0,a1);var _leptris_attribute_next=Module["_leptris_attribute_next"]=a0=>(_leptris_attribute_next=Module["_leptris_attribute_next"]=wasmExports["ba"])(a0);var _leptris_get_strict_mode=Module["_leptris_get_strict_mode"]=()=>(_leptris_get_strict_mode=Module["_leptris_get_strict_mode"]=wasmExports["ca"])();var _leptris_version_components=Module["_leptris_version_components"]=(a0,a1,a2)=>(_leptris_version_components=Module["_leptris_version_components"]=wasmExports["ea"])(a0,a1,a2);var _leptris_thread_cleanup=Module["_leptris_thread_cleanup"]=()=>(_leptris_thread_cleanup=Module["_leptris_thread_cleanup"]=wasmExports["fa"])();var _leptris_set_memory_management_functions=Module["_leptris_set_memory_management_functions"]=(a0,a1)=>(_leptris_set_memory_management_functions=Module["_leptris_set_memory_management_functions"]=wasmExports["ga"])(a0,a1);var _leptris_get_memory_allocation_function=Module["_leptris_get_memory_allocation_function"]=()=>(_leptris_get_memory_allocation_function=Module["_leptris_get_memory_allocation_function"]=wasmExports["ha"])();var _leptris_get_memory_deallocation_function=Module["_leptris_get_memory_deallocation_function"]=()=>(_leptris_get_memory_deallocation_function=Module["_leptris_get_memory_deallocation_function"]=wasmExports["ia"])();var _leptris_alloc_buffer=Module["_leptris_alloc_buffer"]=a0=>(_leptris_alloc_buffer=Module["_leptris_alloc_buffer"]=wasmExports["ja"])(a0);var _leptris_document_set_allocators=Module["_leptris_document_set_allocators"]=(a0,a1,a2)=>(_leptris_document_set_allocators=Module["_leptris_document_set_allocators"]=wasmExports["ka"])(a0,a1,a2);var _leptris_set_max_depth=Module["_leptris_set_max_depth"]=a0=>(_leptris_set_max_depth=Module["_leptris_set_max_depth"]=wasmExports["la"])(a0);var _leptris_get_max_depth=Module["_leptris_get_max_depth"]=()=>(_leptris_get_max_depth=Module["_leptris_get_max_depth"]=wasmExports["ma"])();var _leptris_set_strict_mode=Module["_leptris_set_strict_mode"]=a0=>(_leptris_set_strict_mode=Module["_leptris_set_strict_mode"]=wasmExports["na"])(a0);var _leptris_document_set_strict=Module["_leptris_document_set_strict"]=(a0,a1)=>(_leptris_document_set_strict=Module["_leptris_document_set_strict"]=wasmExports["oa"])(a0,a1);var _leptris_document_get_strict=Module["_leptris_document_get_strict"]=a0=>(_leptris_document_get_strict=Module["_leptris_document_get_strict"]=wasmExports["pa"])(a0);var _leptris_explicit_cleanup=Module["_leptris_explicit_cleanup"]=()=>(_leptris_explicit_cleanup=Module["_leptris_explicit_cleanup"]=wasmExports["qa"])();var _leptris_document_encoding=Module["_leptris_document_encoding"]=a0=>(_leptris_document_encoding=Module["_leptris_document_encoding"]=wasmExports["ra"])(a0);var _leptris_document_version=Module["_leptris_document_version"]=a0=>(_leptris_document_version=Module["_leptris_document_version"]=wasmExports["sa"])(a0);var _leptris_document_standalone=Module["_leptris_document_standalone"]=a0=>(_leptris_document_standalone=Module["_leptris_document_standalone"]=wasmExports["ta"])(a0);var _leptris_document_set_version=Module["_leptris_document_set_version"]=(a0,a1)=>(_leptris_document_set_version=Module["_leptris_document_set_version"]=wasmExports["ua"])(a0,a1);var _leptris_document_set_encoding=Module["_leptris_document_set_encoding"]=(a0,a1)=>(_leptris_document_set_encoding=Module["_leptris_document_set_encoding"]=wasmExports["va"])(a0,a1);var _leptris_document_set_standalone=Module["_leptris_document_set_standalone"]=(a0,a1)=>(_leptris_document_set_standalone=Module["_leptris_document_set_standalone"]=wasmExports["wa"])(a0,a1);var _leptris_document_clear_declaration=Module["_leptris_document_clear_declaration"]=a0=>(_leptris_document_clear_declaration=Module["_leptris_document_clear_declaration"]=wasmExports["xa"])(a0);var _leptris_plan_abi_version=Module["_leptris_plan_abi_version"]=()=>(_leptris_plan_abi_version=Module["_leptris_plan_abi_version"]=wasmExports["ya"])();var _leptris_plan_spec_struct_size=Module["_leptris_plan_spec_struct_size"]=()=>(_leptris_plan_spec_struct_size=Module["_leptris_plan_spec_struct_size"]=wasmExports["za"])();var _leptris_plan_element_row_size=Module["_leptris_plan_element_row_size"]=()=>(_leptris_plan_element_row_size=Module["_leptris_plan_element_row_size"]=wasmExports["Aa"])();var _leptris_plan_child_row_size=Module["_leptris_plan_child_row_size"]=()=>(_leptris_plan_child_row_size=Module["_leptris_plan_child_row_size"]=wasmExports["Ba"])();var _leptris_plan_attr_row_size=Module["_leptris_plan_attr_row_size"]=()=>(_leptris_plan_attr_row_size=Module["_leptris_plan_attr_row_size"]=wasmExports["Ca"])();var _leptris_plan_predicate_row_size=Module["_leptris_plan_predicate_row_size"]=()=>(_leptris_plan_predicate_row_size=Module["_leptris_plan_predicate_row_size"]=wasmExports["Da"])();var _leptris_plan_build=Module["_leptris_plan_build"]=(a0,a1)=>(_leptris_plan_build=Module["_leptris_plan_build"]=wasmExports["Ea"])(a0,a1);var _leptris_plan_free=Module["_leptris_plan_free"]=a0=>(_leptris_plan_free=Module["_leptris_plan_free"]=wasmExports["Fa"])(a0);var _leptris_plan_walk=Module["_leptris_plan_walk"]=(a0,a1,a2,a3)=>(_leptris_plan_walk=Module["_leptris_plan_walk"]=wasmExports["Ga"])(a0,a1,a2,a3);var _leptris_element_attribute=Module["_leptris_element_attribute"]=(a0,a1)=>(_leptris_element_attribute=Module["_leptris_element_attribute"]=wasmExports["Ha"])(a0,a1);var _leptris_element_namespace_for_prefix=Module["_leptris_element_namespace_for_prefix"]=(a0,a1)=>(_leptris_element_namespace_for_prefix=Module["_leptris_element_namespace_for_prefix"]=wasmExports["Ia"])(a0,a1);var _leptris_node_byte_offset=Module["_leptris_node_byte_offset"]=a0=>(_leptris_node_byte_offset=Module["_leptris_node_byte_offset"]=wasmExports["Ja"])(a0);var _leptris_element_serialize=Module["_leptris_element_serialize"]=(a0,a1)=>(_leptris_element_serialize=Module["_leptris_element_serialize"]=wasmExports["Ka"])(a0,a1);var _leptris_free_string=Module["_leptris_free_string"]=a0=>(_leptris_free_string=Module["_leptris_free_string"]=wasmExports["La"])(a0);var _leptris_element_text=Module["_leptris_element_text"]=a0=>(_leptris_element_text=Module["_leptris_element_text"]=wasmExports["Ma"])(a0);var _leptris_plan_serialize=Module["_leptris_plan_serialize"]=(a0,a1,a2)=>(_leptris_plan_serialize=Module["_leptris_plan_serialize"]=wasmExports["Na"])(a0,a1,a2);var _leptris_plan_serialize_ext=Module["_leptris_plan_serialize_ext"]=(a0,a1,a2,a3,a4)=>(_leptris_plan_serialize_ext=Module["_leptris_plan_serialize_ext"]=wasmExports["Oa"])(a0,a1,a2,a3,a4);var _leptris_document_from_plan_result=Module["_leptris_document_from_plan_result"]=(a0,a1,a2)=>(_leptris_document_from_plan_result=Module["_leptris_document_from_plan_result"]=wasmExports["Pa"])(a0,a1,a2);var _leptris_document_create=Module["_leptris_document_create"]=()=>(_leptris_document_create=Module["_leptris_document_create"]=wasmExports["Qa"])();var _leptris_element_set_attribute=Module["_leptris_element_set_attribute"]=(a0,a1,a2)=>(_leptris_element_set_attribute=Module["_leptris_element_set_attribute"]=wasmExports["Ra"])(a0,a1,a2);var _leptris_document_set_root=Module["_leptris_document_set_root"]=(a0,a1)=>(_leptris_document_set_root=Module["_leptris_document_set_root"]=wasmExports["Sa"])(a0,a1);var _leptris_element_new_with_attributes=Module["_leptris_element_new_with_attributes"]=(a0,a1,a2,a3,a4)=>(_leptris_element_new_with_attributes=Module["_leptris_element_new_with_attributes"]=wasmExports["Ta"])(a0,a1,a2,a3,a4);var _leptris_text_node_create=Module["_leptris_text_node_create"]=(a0,a1)=>(_leptris_text_node_create=Module["_leptris_text_node_create"]=wasmExports["Ua"])(a0,a1);var _leptris_element_set_text=Module["_leptris_element_set_text"]=(a0,a1)=>(_leptris_element_set_text=Module["_leptris_element_set_text"]=wasmExports["Va"])(a0,a1);var _leptris_element_append_child=Module["_leptris_element_append_child"]=(a0,a1)=>(_leptris_element_append_child=Module["_leptris_element_append_child"]=wasmExports["Wa"])(a0,a1);var _leptris_plan_result_build=Module["_leptris_plan_result_build"]=(a0,a1,a2,a3)=>(_leptris_plan_result_build=Module["_leptris_plan_result_build"]=wasmExports["Xa"])(a0,a1,a2,a3);var _leptris_plan_result_free=Module["_leptris_plan_result_free"]=a0=>(_leptris_plan_result_free=Module["_leptris_plan_result_free"]=wasmExports["Ya"])(a0);var _leptris_plan_value_kind=Module["_leptris_plan_value_kind"]=a0=>(_leptris_plan_value_kind=Module["_leptris_plan_value_kind"]=wasmExports["Za"])(a0);var _leptris_plan_value_name=Module["_leptris_plan_value_name"]=a0=>(_leptris_plan_value_name=Module["_leptris_plan_value_name"]=wasmExports["_a"])(a0);var _leptris_plan_value_type_tag=Module["_leptris_plan_value_type_tag"]=a0=>(_leptris_plan_value_type_tag=Module["_leptris_plan_value_type_tag"]=wasmExports["$a"])(a0);var _leptris_plan_value_string=Module["_leptris_plan_value_string"]=a0=>(_leptris_plan_value_string=Module["_leptris_plan_value_string"]=wasmExports["ab"])(a0);var _leptris_plan_value_length=Module["_leptris_plan_value_length"]=a0=>(_leptris_plan_value_length=Module["_leptris_plan_value_length"]=wasmExports["bb"])(a0);var _leptris_plan_value_position=Module["_leptris_plan_value_position"]=a0=>(_leptris_plan_value_position=Module["_leptris_plan_value_position"]=wasmExports["cb"])(a0);var _leptris_plan_value_node_kind=Module["_leptris_plan_value_node_kind"]=a0=>(_leptris_plan_value_node_kind=Module["_leptris_plan_value_node_kind"]=wasmExports["db"])(a0);var _leptris_plan_value_order_index=Module["_leptris_plan_value_order_index"]=a0=>(_leptris_plan_value_order_index=Module["_leptris_plan_value_order_index"]=wasmExports["eb"])(a0);var _leptris_plan_value_count=Module["_leptris_plan_value_count"]=a0=>(_leptris_plan_value_count=Module["_leptris_plan_value_count"]=wasmExports["fb"])(a0);var _leptris_plan_value_at=Module["_leptris_plan_value_at"]=(a0,a1)=>(_leptris_plan_value_at=Module["_leptris_plan_value_at"]=wasmExports["gb"])(a0,a1);var _leptris_plan_value_children_snapshot=Module["_leptris_plan_value_children_snapshot"]=(a0,a1,a2,a3,a4,a5)=>(_leptris_plan_value_children_snapshot=Module["_leptris_plan_value_children_snapshot"]=wasmExports["hb"])(a0,a1,a2,a3,a4,a5);var _leptris_plan_value_attribute=Module["_leptris_plan_value_attribute"]=(a0,a1)=>(_leptris_plan_value_attribute=Module["_leptris_plan_value_attribute"]=wasmExports["ib"])(a0,a1);var _leptris_plan_value_attribute_count=Module["_leptris_plan_value_attribute_count"]=a0=>(_leptris_plan_value_attribute_count=Module["_leptris_plan_value_attribute_count"]=wasmExports["jb"])(a0);var _leptris_plan_value_attributes_snapshot=Module["_leptris_plan_value_attributes_snapshot"]=(a0,a1,a2,a3,a4,a5,a6)=>(_leptris_plan_value_attributes_snapshot=Module["_leptris_plan_value_attributes_snapshot"]=wasmExports["kb"])(a0,a1,a2,a3,a4,a5,a6);var _leptris_plan_value_int=Module["_leptris_plan_value_int"]=(a0,a1)=>(_leptris_plan_value_int=Module["_leptris_plan_value_int"]=wasmExports["lb"])(a0,a1);var _leptris_plan_value_float=Module["_leptris_plan_value_float"]=(a0,a1)=>(_leptris_plan_value_float=Module["_leptris_plan_value_float"]=wasmExports["mb"])(a0,a1);var _leptris_plan_value_bool=Module["_leptris_plan_value_bool"]=(a0,a1)=>(_leptris_plan_value_bool=Module["_leptris_plan_value_bool"]=wasmExports["nb"])(a0,a1);var _leptris_plan_materialize=Module["_leptris_plan_materialize"]=(a0,a1,a2,a3)=>(_leptris_plan_materialize=Module["_leptris_plan_materialize"]=wasmExports["ob"])(a0,a1,a2,a3);var _leptris_diff=Module["_leptris_diff"]=(a0,a1,a2,a3)=>(_leptris_diff=Module["_leptris_diff"]=wasmExports["pb"])(a0,a1,a2,a3);var _leptris_element_name=Module["_leptris_element_name"]=a0=>(_leptris_element_name=Module["_leptris_element_name"]=wasmExports["qb"])(a0);var _leptris_node_digest=Module["_leptris_node_digest"]=(a0,a1)=>(_leptris_node_digest=Module["_leptris_node_digest"]=wasmExports["rb"])(a0,a1);var _leptris_diff_free=Module["_leptris_diff_free"]=a0=>(_leptris_diff_free=Module["_leptris_diff_free"]=wasmExports["sb"])(a0);var _leptris_diff_op_count=Module["_leptris_diff_op_count"]=a0=>(_leptris_diff_op_count=Module["_leptris_diff_op_count"]=wasmExports["tb"])(a0);var _leptris_diff_op_type=Module["_leptris_diff_op_type"]=(a0,a1)=>(_leptris_diff_op_type=Module["_leptris_diff_op_type"]=wasmExports["ub"])(a0,a1);var _leptris_diff_op_path=Module["_leptris_diff_op_path"]=(a0,a1)=>(_leptris_diff_op_path=Module["_leptris_diff_op_path"]=wasmExports["vb"])(a0,a1);var _leptris_diff_op_name=Module["_leptris_diff_op_name"]=(a0,a1)=>(_leptris_diff_op_name=Module["_leptris_diff_op_name"]=wasmExports["wb"])(a0,a1);var _leptris_diff_op_before=Module["_leptris_diff_op_before"]=(a0,a1)=>(_leptris_diff_op_before=Module["_leptris_diff_op_before"]=wasmExports["xb"])(a0,a1);var _leptris_diff_op_after=Module["_leptris_diff_op_after"]=(a0,a1)=>(_leptris_diff_op_after=Module["_leptris_diff_op_after"]=wasmExports["yb"])(a0,a1);var _leptris_diff_serialize=Module["_leptris_diff_serialize"]=a0=>(_leptris_diff_serialize=Module["_leptris_diff_serialize"]=wasmExports["zb"])(a0);var _leptris_node_parent=Module["_leptris_node_parent"]=a0=>(_leptris_node_parent=Module["_leptris_node_parent"]=wasmExports["Ab"])(a0);var _leptris_node_source_position=Module["_leptris_node_source_position"]=(a0,a1)=>(_leptris_node_source_position=Module["_leptris_node_source_position"]=wasmExports["Bb"])(a0,a1);var _leptris_element_attribute_count=Module["_leptris_element_attribute_count"]=a0=>(_leptris_element_attribute_count=Module["_leptris_element_attribute_count"]=wasmExports["Cb"])(a0);var _leptris_attribute_namespace_uri=Module["_leptris_attribute_namespace_uri"]=a0=>(_leptris_attribute_namespace_uri=Module["_leptris_attribute_namespace_uri"]=wasmExports["Db"])(a0);var _leptris_document_set_doctype=Module["_leptris_document_set_doctype"]=(a0,a1,a2,a3)=>(_leptris_document_set_doctype=Module["_leptris_document_set_doctype"]=wasmExports["Eb"])(a0,a1,a2,a3);var _leptris_document_remove_doctype=Module["_leptris_document_remove_doctype"]=a0=>(_leptris_document_remove_doctype=Module["_leptris_document_remove_doctype"]=wasmExports["Fb"])(a0);var _leptris_doctype_get_name=Module["_leptris_doctype_get_name"]=a0=>(_leptris_doctype_get_name=Module["_leptris_doctype_get_name"]=wasmExports["Gb"])(a0);var _leptris_document_internal_subset=Module["_leptris_document_internal_subset"]=a0=>(_leptris_document_internal_subset=Module["_leptris_document_internal_subset"]=wasmExports["Hb"])(a0);var _leptris_doctype_get_root_name=Module["_leptris_doctype_get_root_name"]=a0=>(_leptris_doctype_get_root_name=Module["_leptris_doctype_get_root_name"]=wasmExports["Ib"])(a0);var _leptris_doctype_get_public_id=Module["_leptris_doctype_get_public_id"]=a0=>(_leptris_doctype_get_public_id=Module["_leptris_doctype_get_public_id"]=wasmExports["Jb"])(a0);var _leptris_doctype_get_system_id=Module["_leptris_doctype_get_system_id"]=a0=>(_leptris_doctype_get_system_id=Module["_leptris_doctype_get_system_id"]=wasmExports["Kb"])(a0);var _leptris_doctype_get_internal_subset=Module["_leptris_doctype_get_internal_subset"]=a0=>(_leptris_doctype_get_internal_subset=Module["_leptris_doctype_get_internal_subset"]=wasmExports["Lb"])(a0);var _leptris_element_child_count=Module["_leptris_element_child_count"]=a0=>(_leptris_element_child_count=Module["_leptris_element_child_count"]=wasmExports["Mb"])(a0);var _leptris_node_unlink=Module["_leptris_node_unlink"]=a0=>(_leptris_node_unlink=Module["_leptris_node_unlink"]=wasmExports["Nb"])(a0);var _leptris_element_remove_all_attributes=Module["_leptris_element_remove_all_attributes"]=a0=>(_leptris_element_remove_all_attributes=Module["_leptris_element_remove_all_attributes"]=wasmExports["Ob"])(a0);var _leptris_element_create=Module["_leptris_element_create"]=(a0,a1)=>(_leptris_element_create=Module["_leptris_element_create"]=wasmExports["Pb"])(a0,a1);var _leptris_element_create_child=Module["_leptris_element_create_child"]=(a0,a1)=>(_leptris_element_create_child=Module["_leptris_element_create_child"]=wasmExports["Qb"])(a0,a1);var _leptris_element_add_child_addr=Module["_leptris_element_add_child_addr"]=(a0,a1)=>(_leptris_element_add_child_addr=Module["_leptris_element_add_child_addr"]=wasmExports["Rb"])(a0,a1);var _leptris_element_parent=Module["_leptris_element_parent"]=a0=>(_leptris_element_parent=Module["_leptris_element_parent"]=wasmExports["Sb"])(a0);var _leptris_element_add_child_addr_installed=Module["_leptris_element_add_child_addr_installed"]=(a0,a1,a2)=>(_leptris_element_add_child_addr_installed=Module["_leptris_element_add_child_addr_installed"]=wasmExports["Tb"])(a0,a1,a2);var _leptris_element_prepend_child=Module["_leptris_element_prepend_child"]=(a0,a1)=>(_leptris_element_prepend_child=Module["_leptris_element_prepend_child"]=wasmExports["Ub"])(a0,a1);var _leptris_element_insert_before=Module["_leptris_element_insert_before"]=(a0,a1)=>(_leptris_element_insert_before=Module["_leptris_element_insert_before"]=wasmExports["Vb"])(a0,a1);var _leptris_element_insert_after=Module["_leptris_element_insert_after"]=(a0,a1)=>(_leptris_element_insert_after=Module["_leptris_element_insert_after"]=wasmExports["Wb"])(a0,a1);var _leptris_element_remove_child=Module["_leptris_element_remove_child"]=(a0,a1)=>(_leptris_element_remove_child=Module["_leptris_element_remove_child"]=wasmExports["Xb"])(a0,a1);var _leptris_element_set_name=Module["_leptris_element_set_name"]=(a0,a1)=>(_leptris_element_set_name=Module["_leptris_element_set_name"]=wasmExports["Yb"])(a0,a1);var _leptris_element_remove_attribute=Module["_leptris_element_remove_attribute"]=(a0,a1)=>(_leptris_element_remove_attribute=Module["_leptris_element_remove_attribute"]=wasmExports["Zb"])(a0,a1);var _leptris_element_append_copy=Module["_leptris_element_append_copy"]=(a0,a1)=>(_leptris_element_append_copy=Module["_leptris_element_append_copy"]=wasmExports["_b"])(a0,a1);var _leptris_element_prepend_copy=Module["_leptris_element_prepend_copy"]=(a0,a1)=>(_leptris_element_prepend_copy=Module["_leptris_element_prepend_copy"]=wasmExports["$b"])(a0,a1);var _leptris_element_insert_copy_after=Module["_leptris_element_insert_copy_after"]=(a0,a1)=>(_leptris_element_insert_copy_after=Module["_leptris_element_insert_copy_after"]=wasmExports["ac"])(a0,a1);var _leptris_element_insert_copy_before=Module["_leptris_element_insert_copy_before"]=(a0,a1)=>(_leptris_element_insert_copy_before=Module["_leptris_element_insert_copy_before"]=wasmExports["bc"])(a0,a1);var _leptris_element_remove_children=Module["_leptris_element_remove_children"]=a0=>(_leptris_element_remove_children=Module["_leptris_element_remove_children"]=wasmExports["cc"])(a0);var _leptris_element_copy=Module["_leptris_element_copy"]=(a0,a1)=>(_leptris_element_copy=Module["_leptris_element_copy"]=wasmExports["dc"])(a0,a1);var _leptris_document_copy=Module["_leptris_document_copy"]=a0=>(_leptris_document_copy=Module["_leptris_document_copy"]=wasmExports["ec"])(a0);var _leptris_pi_node_create=Module["_leptris_pi_node_create"]=(a0,a1,a2)=>(_leptris_pi_node_create=Module["_leptris_pi_node_create"]=wasmExports["fc"])(a0,a1,a2);var _leptris_comment_node_create=Module["_leptris_comment_node_create"]=(a0,a1)=>(_leptris_comment_node_create=Module["_leptris_comment_node_create"]=wasmExports["gc"])(a0,a1);var _leptris_element_namespace_decl_prefix=Module["_leptris_element_namespace_decl_prefix"]=(a0,a1)=>(_leptris_element_namespace_decl_prefix=Module["_leptris_element_namespace_decl_prefix"]=wasmExports["hc"])(a0,a1);var _leptris_element_namespace_decl_uri=Module["_leptris_element_namespace_decl_uri"]=(a0,a1)=>(_leptris_element_namespace_decl_uri=Module["_leptris_element_namespace_decl_uri"]=wasmExports["ic"])(a0,a1);var _leptris_element_child_value=Module["_leptris_element_child_value"]=a0=>(_leptris_element_child_value=Module["_leptris_element_child_value"]=wasmExports["jc"])(a0);var _leptris_attribute_prefix=Module["_leptris_attribute_prefix"]=a0=>(_leptris_attribute_prefix=Module["_leptris_attribute_prefix"]=wasmExports["kc"])(a0);var _leptris_element_attribute_ns=Module["_leptris_element_attribute_ns"]=(a0,a1,a2)=>(_leptris_element_attribute_ns=Module["_leptris_element_attribute_ns"]=wasmExports["lc"])(a0,a1,a2);var _leptris_element_has_attribute_ns=Module["_leptris_element_has_attribute_ns"]=(a0,a1,a2)=>(_leptris_element_has_attribute_ns=Module["_leptris_element_has_attribute_ns"]=wasmExports["mc"])(a0,a1,a2);var _leptris_element_has_attribute=Module["_leptris_element_has_attribute"]=(a0,a1)=>(_leptris_element_has_attribute=Module["_leptris_element_has_attribute"]=wasmExports["nc"])(a0,a1);var _leptris_element_attribute_int=Module["_leptris_element_attribute_int"]=(a0,a1,a2)=>(_leptris_element_attribute_int=Module["_leptris_element_attribute_int"]=wasmExports["oc"])(a0,a1,a2);var _leptris_element_attribute_uint=Module["_leptris_element_attribute_uint"]=(a0,a1,a2)=>(_leptris_element_attribute_uint=Module["_leptris_element_attribute_uint"]=wasmExports["pc"])(a0,a1,a2);var _leptris_element_attribute_double=Module["_leptris_element_attribute_double"]=(a0,a1,a2)=>(_leptris_element_attribute_double=Module["_leptris_element_attribute_double"]=wasmExports["qc"])(a0,a1,a2);var _leptris_element_attribute_float=Module["_leptris_element_attribute_float"]=(a0,a1,a2)=>(_leptris_element_attribute_float=Module["_leptris_element_attribute_float"]=wasmExports["rc"])(a0,a1,a2);var _leptris_element_attribute_bool=Module["_leptris_element_attribute_bool"]=(a0,a1,a2)=>(_leptris_element_attribute_bool=Module["_leptris_element_attribute_bool"]=wasmExports["sc"])(a0,a1,a2);var _leptris_element_attribute_string=Module["_leptris_element_attribute_string"]=(a0,a1,a2)=>(_leptris_element_attribute_string=Module["_leptris_element_attribute_string"]=wasmExports["tc"])(a0,a1,a2);var _leptris_element_set_attribute_double=Module["_leptris_element_set_attribute_double"]=(a0,a1,a2)=>(_leptris_element_set_attribute_double=Module["_leptris_element_set_attribute_double"]=wasmExports["uc"])(a0,a1,a2);var _leptris_element_set_attribute_float=Module["_leptris_element_set_attribute_float"]=(a0,a1,a2)=>(_leptris_element_set_attribute_float=Module["_leptris_element_set_attribute_float"]=wasmExports["vc"])(a0,a1,a2);var _leptris_element_set_attribute_bool=Module["_leptris_element_set_attribute_bool"]=(a0,a1,a2)=>(_leptris_element_set_attribute_bool=Module["_leptris_element_set_attribute_bool"]=wasmExports["wc"])(a0,a1,a2);var _leptris_element_set_attribute_int=Module["_leptris_element_set_attribute_int"]=(a0,a1,a2)=>(_leptris_element_set_attribute_int=Module["_leptris_element_set_attribute_int"]=wasmExports["xc"])(a0,a1,a2);var _leptris_element_set_attribute_uint=Module["_leptris_element_set_attribute_uint"]=(a0,a1,a2)=>(_leptris_element_set_attribute_uint=Module["_leptris_element_set_attribute_uint"]=wasmExports["yc"])(a0,a1,a2);var _leptris_element_child=Module["_leptris_element_child"]=(a0,a1)=>(_leptris_element_child=Module["_leptris_element_child"]=wasmExports["zc"])(a0,a1);var _leptris_element_root=Module["_leptris_element_root"]=a0=>(_leptris_element_root=Module["_leptris_element_root"]=wasmExports["Ac"])(a0);var _leptris_element_first_child_any=Module["_leptris_element_first_child_any"]=a0=>(_leptris_element_first_child_any=Module["_leptris_element_first_child_any"]=wasmExports["Bc"])(a0);var _leptris_element_last_child_any=Module["_leptris_element_last_child_any"]=a0=>(_leptris_element_last_child_any=Module["_leptris_element_last_child_any"]=wasmExports["Cc"])(a0);var _leptris_element_next_sibling_any=Module["_leptris_element_next_sibling_any"]=a0=>(_leptris_element_next_sibling_any=Module["_leptris_element_next_sibling_any"]=wasmExports["Dc"])(a0);var _leptris_element_children=Module["_leptris_element_children"]=(a0,a1,a2)=>(_leptris_element_children=Module["_leptris_element_children"]=wasmExports["Ec"])(a0,a1,a2);var _leptris_node_children=Module["_leptris_node_children"]=(a0,a1,a2)=>(_leptris_node_children=Module["_leptris_node_children"]=wasmExports["Fc"])(a0,a1,a2);var _leptris_node_children_ex=Module["_leptris_node_children_ex"]=(a0,a1,a2,a3)=>(_leptris_node_children_ex=Module["_leptris_node_children_ex"]=wasmExports["Gc"])(a0,a1,a2,a3);var _leptris_element_previous_sibling_any=Module["_leptris_element_previous_sibling_any"]=a0=>(_leptris_element_previous_sibling_any=Module["_leptris_element_previous_sibling_any"]=wasmExports["Hc"])(a0);var _leptris_element_first_child=Module["_leptris_element_first_child"]=(a0,a1)=>(_leptris_element_first_child=Module["_leptris_element_first_child"]=wasmExports["Ic"])(a0,a1);var _leptris_element_last_child=Module["_leptris_element_last_child"]=(a0,a1)=>(_leptris_element_last_child=Module["_leptris_element_last_child"]=wasmExports["Jc"])(a0,a1);var _leptris_element_next_sibling=Module["_leptris_element_next_sibling"]=(a0,a1)=>(_leptris_element_next_sibling=Module["_leptris_element_next_sibling"]=wasmExports["Kc"])(a0,a1);var _leptris_element_previous_sibling=Module["_leptris_element_previous_sibling"]=(a0,a1)=>(_leptris_element_previous_sibling=Module["_leptris_element_previous_sibling"]=wasmExports["Lc"])(a0,a1);var _leptris_element_find_child=Module["_leptris_element_find_child"]=(a0,a1)=>(_leptris_element_find_child=Module["_leptris_element_find_child"]=wasmExports["Mc"])(a0,a1);var _leptris_element_find_child_by_attr=Module["_leptris_element_find_child_by_attr"]=(a0,a1,a2,a3)=>(_leptris_element_find_child_by_attr=Module["_leptris_element_find_child_by_attr"]=wasmExports["Nc"])(a0,a1,a2,a3);var _leptris_element_text_int=Module["_leptris_element_text_int"]=(a0,a1)=>(_leptris_element_text_int=Module["_leptris_element_text_int"]=wasmExports["Oc"])(a0,a1);var _leptris_element_text_uint=Module["_leptris_element_text_uint"]=(a0,a1)=>(_leptris_element_text_uint=Module["_leptris_element_text_uint"]=wasmExports["Pc"])(a0,a1);var _leptris_element_text_double=Module["_leptris_element_text_double"]=(a0,a1)=>(_leptris_element_text_double=Module["_leptris_element_text_double"]=wasmExports["Qc"])(a0,a1);var _leptris_element_text_float=Module["_leptris_element_text_float"]=(a0,a1)=>(_leptris_element_text_float=Module["_leptris_element_text_float"]=wasmExports["Rc"])(a0,a1);var _leptris_element_text_bool=Module["_leptris_element_text_bool"]=(a0,a1)=>(_leptris_element_text_bool=Module["_leptris_element_text_bool"]=wasmExports["Sc"])(a0,a1);var _leptris_element_namespace=Module["_leptris_element_namespace"]=a0=>(_leptris_element_namespace=Module["_leptris_element_namespace"]=wasmExports["Tc"])(a0);var _leptris_element_prefix=Module["_leptris_element_prefix"]=a0=>(_leptris_element_prefix=Module["_leptris_element_prefix"]=wasmExports["Uc"])(a0);var _leptris_namespace_uri=Module["_leptris_namespace_uri"]=a0=>(_leptris_namespace_uri=Module["_leptris_namespace_uri"]=wasmExports["Vc"])(a0);var _leptris_namespace_prefix=Module["_leptris_namespace_prefix"]=a0=>(_leptris_namespace_prefix=Module["_leptris_namespace_prefix"]=wasmExports["Wc"])(a0);var _leptris_element_hash_value=Module["_leptris_element_hash_value"]=a0=>(_leptris_element_hash_value=Module["_leptris_element_hash_value"]=wasmExports["Xc"])(a0);var _leptris_element_attribute_name_at=Module["_leptris_element_attribute_name_at"]=(a0,a1)=>(_leptris_element_attribute_name_at=Module["_leptris_element_attribute_name_at"]=wasmExports["Yc"])(a0,a1);var _leptris_element_attribute_value_at=Module["_leptris_element_attribute_value_at"]=(a0,a1)=>(_leptris_element_attribute_value_at=Module["_leptris_element_attribute_value_at"]=wasmExports["Zc"])(a0,a1);var _leptris_element_attributes_snapshot=Module["_leptris_element_attributes_snapshot"]=(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12)=>(_leptris_element_attributes_snapshot=Module["_leptris_element_attributes_snapshot"]=wasmExports["_c"])(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12);var _leptris_element_attribute_pairs=Module["_leptris_element_attribute_pairs"]=(a0,a1,a2,a3,a4)=>(_leptris_element_attribute_pairs=Module["_leptris_element_attribute_pairs"]=wasmExports["$c"])(a0,a1,a2,a3,a4);var _leptris_element_namespace_count=Module["_leptris_element_namespace_count"]=a0=>(_leptris_element_namespace_count=Module["_leptris_element_namespace_count"]=wasmExports["ad"])(a0);var _leptris_element_add_namespace_definition=Module["_leptris_element_add_namespace_definition"]=(a0,a1,a2)=>(_leptris_element_add_namespace_definition=Module["_leptris_element_add_namespace_definition"]=wasmExports["bd"])(a0,a1,a2);var _leptris_element_set_default_namespace=Module["_leptris_element_set_default_namespace"]=(a0,a1)=>(_leptris_element_set_default_namespace=Module["_leptris_element_set_default_namespace"]=wasmExports["cd"])(a0,a1);var _leptris_element_set_namespace=Module["_leptris_element_set_namespace"]=(a0,a1)=>(_leptris_element_set_namespace=Module["_leptris_element_set_namespace"]=wasmExports["dd"])(a0,a1);var _leptris_element_remove_namespace_definition=Module["_leptris_element_remove_namespace_definition"]=(a0,a1)=>(_leptris_element_remove_namespace_definition=Module["_leptris_element_remove_namespace_definition"]=wasmExports["ed"])(a0,a1);var _leptris_document_get_dtd=Module["_leptris_document_get_dtd"]=a0=>(_leptris_document_get_dtd=Module["_leptris_document_get_dtd"]=wasmExports["fd"])(a0);var _leptris_node_visit=Module["_leptris_node_visit"]=(a0,a1,a2)=>(_leptris_node_visit=Module["_leptris_node_visit"]=wasmExports["gd"])(a0,a1,a2);var _leptris_node_visit_entering=Module["_leptris_node_visit_entering"]=(a0,a1,a2)=>(_leptris_node_visit_entering=Module["_leptris_node_visit_entering"]=wasmExports["hd"])(a0,a1,a2);var _leptris_node_last_child=Module["_leptris_node_last_child"]=a0=>(_leptris_node_last_child=Module["_leptris_node_last_child"]=wasmExports["id"])(a0);var _leptris_node_previous_sibling=Module["_leptris_node_previous_sibling"]=a0=>(_leptris_node_previous_sibling=Module["_leptris_node_previous_sibling"]=wasmExports["jd"])(a0);var _leptris_node_child_count=Module["_leptris_node_child_count"]=a0=>(_leptris_node_child_count=Module["_leptris_node_child_count"]=wasmExports["kd"])(a0);var _leptris_document_node=Module["_leptris_document_node"]=a0=>(_leptris_document_node=Module["_leptris_document_node"]=wasmExports["ld"])(a0);var _leptris_document_pi_count=Module["_leptris_document_pi_count"]=a0=>(_leptris_document_pi_count=Module["_leptris_document_pi_count"]=wasmExports["md"])(a0);var _leptris_document_pi_target=Module["_leptris_document_pi_target"]=(a0,a1)=>(_leptris_document_pi_target=Module["_leptris_document_pi_target"]=wasmExports["nd"])(a0,a1);var _leptris_document_pi_data=Module["_leptris_document_pi_data"]=(a0,a1)=>(_leptris_document_pi_data=Module["_leptris_document_pi_data"]=wasmExports["od"])(a0,a1);var _leptris_document_comment_count=Module["_leptris_document_comment_count"]=a0=>(_leptris_document_comment_count=Module["_leptris_document_comment_count"]=wasmExports["pd"])(a0);var _leptris_document_comment_content=Module["_leptris_document_comment_content"]=(a0,a1)=>(_leptris_document_comment_content=Module["_leptris_document_comment_content"]=wasmExports["qd"])(a0,a1);var _leptris_document_add_pi=Module["_leptris_document_add_pi"]=(a0,a1,a2)=>(_leptris_document_add_pi=Module["_leptris_document_add_pi"]=wasmExports["rd"])(a0,a1,a2);var _leptris_document_append_pi=Module["_leptris_document_append_pi"]=(a0,a1,a2)=>(_leptris_document_append_pi=Module["_leptris_document_append_pi"]=wasmExports["sd"])(a0,a1,a2);var _leptris_document_remove_child=Module["_leptris_document_remove_child"]=(a0,a1)=>(_leptris_document_remove_child=Module["_leptris_document_remove_child"]=wasmExports["td"])(a0,a1);var _leptris_document_add_comment=Module["_leptris_document_add_comment"]=(a0,a1)=>(_leptris_document_add_comment=Module["_leptris_document_add_comment"]=wasmExports["ud"])(a0,a1);var _leptris_cdata_node_create=Module["_leptris_cdata_node_create"]=(a0,a1)=>(_leptris_cdata_node_create=Module["_leptris_cdata_node_create"]=wasmExports["vd"])(a0,a1);var _leptris_entity_ref_node_create=Module["_leptris_entity_ref_node_create"]=(a0,a1)=>(_leptris_entity_ref_node_create=Module["_leptris_entity_ref_node_create"]=wasmExports["wd"])(a0,a1);var _leptris_text_node_set_content=Module["_leptris_text_node_set_content"]=(a0,a1)=>(_leptris_text_node_set_content=Module["_leptris_text_node_set_content"]=wasmExports["xd"])(a0,a1);var _leptris_cdata_node_set_content=Module["_leptris_cdata_node_set_content"]=(a0,a1)=>(_leptris_cdata_node_set_content=Module["_leptris_cdata_node_set_content"]=wasmExports["yd"])(a0,a1);var _leptris_comment_node_set_content=Module["_leptris_comment_node_set_content"]=(a0,a1)=>(_leptris_comment_node_set_content=Module["_leptris_comment_node_set_content"]=wasmExports["zd"])(a0,a1);var _leptris_pi_node_set_target=Module["_leptris_pi_node_set_target"]=(a0,a1)=>(_leptris_pi_node_set_target=Module["_leptris_pi_node_set_target"]=wasmExports["Ad"])(a0,a1);var _leptris_pi_node_set_data=Module["_leptris_pi_node_set_data"]=(a0,a1)=>(_leptris_pi_node_set_data=Module["_leptris_pi_node_set_data"]=wasmExports["Bd"])(a0,a1);var _leptris_node_line=Module["_leptris_node_line"]=a0=>(_leptris_node_line=Module["_leptris_node_line"]=wasmExports["Cd"])(a0);var _leptris_node_get_binding_wrapper=Module["_leptris_node_get_binding_wrapper"]=a0=>(_leptris_node_get_binding_wrapper=Module["_leptris_node_get_binding_wrapper"]=wasmExports["Dd"])(a0);var _leptris_node_set_binding_wrapper=Module["_leptris_node_set_binding_wrapper"]=(a0,a1)=>(_leptris_node_set_binding_wrapper=Module["_leptris_node_set_binding_wrapper"]=wasmExports["Ed"])(a0,a1);var _leptris_node_compare=Module["_leptris_node_compare"]=(a0,a1)=>(_leptris_node_compare=Module["_leptris_node_compare"]=wasmExports["Fd"])(a0,a1);var _leptris_node_get_xpath=Module["_leptris_node_get_xpath"]=a0=>(_leptris_node_get_xpath=Module["_leptris_node_get_xpath"]=wasmExports["Gd"])(a0);var _leptris_node_traverse=Module["_leptris_node_traverse"]=(a0,a1,a2,a3)=>(_leptris_node_traverse=Module["_leptris_node_traverse"]=wasmExports["Hd"])(a0,a1,a2,a3);var _leptris_dtd_set_pe_loader=Module["_leptris_dtd_set_pe_loader"]=(a0,a1,a2)=>(_leptris_dtd_set_pe_loader=Module["_leptris_dtd_set_pe_loader"]=wasmExports["Id"])(a0,a1,a2);var _leptris_dtd_parse_external_subset=Module["_leptris_dtd_parse_external_subset"]=(a0,a1,a2)=>(_leptris_dtd_parse_external_subset=Module["_leptris_dtd_parse_external_subset"]=wasmExports["Jd"])(a0,a1,a2);var _leptris_dtd_free=Module["_leptris_dtd_free"]=a0=>(_leptris_dtd_free=Module["_leptris_dtd_free"]=wasmExports["Kd"])(a0);var _leptris_dtd_parse=Module["_leptris_dtd_parse"]=(a0,a1)=>(_leptris_dtd_parse=Module["_leptris_dtd_parse"]=wasmExports["Ld"])(a0,a1);var _leptris_dtd_validate=Module["_leptris_dtd_validate"]=(a0,a1,a2)=>(_leptris_dtd_validate=Module["_leptris_dtd_validate"]=wasmExports["Md"])(a0,a1,a2);var _leptris_dtd_error_free=Module["_leptris_dtd_error_free"]=a0=>(_leptris_dtd_error_free=Module["_leptris_dtd_error_free"]=wasmExports["Nd"])(a0);var _leptris_parse_string_with_encoding=Module["_leptris_parse_string_with_encoding"]=(a0,a1,a2)=>(_leptris_parse_string_with_encoding=Module["_leptris_parse_string_with_encoding"]=wasmExports["Od"])(a0,a1,a2);var _leptris_document_last_error=Module["_leptris_document_last_error"]=a0=>(_leptris_document_last_error=Module["_leptris_document_last_error"]=wasmExports["Pd"])(a0);var _leptris_error_message=Module["_leptris_error_message"]=a0=>(_leptris_error_message=Module["_leptris_error_message"]=wasmExports["Qd"])(a0);var _leptris_status_string=Module["_leptris_status_string"]=a0=>(_leptris_status_string=Module["_leptris_status_string"]=wasmExports["Rd"])(a0);var _leptris_document_parse_diag_count=Module["_leptris_document_parse_diag_count"]=a0=>(_leptris_document_parse_diag_count=Module["_leptris_document_parse_diag_count"]=wasmExports["Sd"])(a0);var _leptris_document_parse_diag=Module["_leptris_document_parse_diag"]=(a0,a1,a2,a3,a4)=>(_leptris_document_parse_diag=Module["_leptris_document_parse_diag"]=wasmExports["Td"])(a0,a1,a2,a3,a4);var _leptris_document_parse_diag_code=Module["_leptris_document_parse_diag_code"]=(a0,a1,a2,a3,a4,a5)=>(_leptris_document_parse_diag_code=Module["_leptris_document_parse_diag_code"]=wasmExports["Ud"])(a0,a1,a2,a3,a4,a5);var _leptris_parse_html_string=Module["_leptris_parse_html_string"]=(a0,a1,a2)=>(_leptris_parse_html_string=Module["_leptris_parse_html_string"]=wasmExports["Vd"])(a0,a1,a2);var _leptris_parse_html4_string=Module["_leptris_parse_html4_string"]=(a0,a1,a2)=>(_leptris_parse_html4_string=Module["_leptris_parse_html4_string"]=wasmExports["Wd"])(a0,a1,a2);var _leptris_parse_html_string_flags=Module["_leptris_parse_html_string_flags"]=(a0,a1,a2,a3)=>(_leptris_parse_html_string_flags=Module["_leptris_parse_html_string_flags"]=wasmExports["Xd"])(a0,a1,a2,a3);var _leptris_document_create_html=Module["_leptris_document_create_html"]=()=>(_leptris_document_create_html=Module["_leptris_document_create_html"]=wasmExports["Yd"])();var _leptris_document_set_root_ex=Module["_leptris_document_set_root_ex"]=(a0,a1,a2)=>(_leptris_document_set_root_ex=Module["_leptris_document_set_root_ex"]=wasmExports["Zd"])(a0,a1,a2);var _leptris_document_remove_pi=Module["_leptris_document_remove_pi"]=(a0,a1,a2)=>(_leptris_document_remove_pi=Module["_leptris_document_remove_pi"]=wasmExports["_d"])(a0,a1,a2);var _leptris_parse_string_ex=Module["_leptris_parse_string_ex"]=(a0,a1,a2,a3)=>(_leptris_parse_string_ex=Module["_leptris_parse_string_ex"]=wasmExports["$d"])(a0,a1,a2,a3);var _leptris_parse_string_flags=Module["_leptris_parse_string_flags"]=(a0,a1,a2,a3)=>(_leptris_parse_string_flags=Module["_leptris_parse_string_flags"]=wasmExports["ae"])(a0,a1,a2,a3);var _leptris_parse_string_inplace=Module["_leptris_parse_string_inplace"]=(a0,a1,a2)=>(_leptris_parse_string_inplace=Module["_leptris_parse_string_inplace"]=wasmExports["be"])(a0,a1,a2);var _leptris_parse_fragment=Module["_leptris_parse_fragment"]=(a0,a1,a2,a3)=>(_leptris_parse_fragment=Module["_leptris_parse_fragment"]=wasmExports["ce"])(a0,a1,a2,a3);var _leptris_load_file=Module["_leptris_load_file"]=(a0,a1)=>(_leptris_load_file=Module["_leptris_load_file"]=wasmExports["de"])(a0,a1);var _leptris_parse_file=Module["_leptris_parse_file"]=(a0,a1)=>(_leptris_parse_file=Module["_leptris_parse_file"]=wasmExports["ee"])(a0,a1);var _leptris_document_absorb=Module["_leptris_document_absorb"]=(a0,a1)=>(_leptris_document_absorb=Module["_leptris_document_absorb"]=wasmExports["fe"])(a0,a1);var _leptris_document_adopt_child=Module["_leptris_document_adopt_child"]=(a0,a1)=>(_leptris_document_adopt_child=Module["_leptris_document_adopt_child"]=wasmExports["ge"])(a0,a1);var _leptris_document_first_child=Module["_leptris_document_first_child"]=a0=>(_leptris_document_first_child=Module["_leptris_document_first_child"]=wasmExports["he"])(a0);var _leptris_serialize_document=Module["_leptris_serialize_document"]=a0=>(_leptris_serialize_document=Module["_leptris_serialize_document"]=wasmExports["ie"])(a0);var _leptris_str_has_nonstandard_entity=Module["_leptris_str_has_nonstandard_entity"]=(a0,a1)=>(_leptris_str_has_nonstandard_entity=Module["_leptris_str_has_nonstandard_entity"]=wasmExports["je"])(a0,a1);var _leptris_document_finalize_strings=Module["_leptris_document_finalize_strings"]=a0=>(_leptris_document_finalize_strings=Module["_leptris_document_finalize_strings"]=wasmExports["ke"])(a0);var _leptris_document_freeze=Module["_leptris_document_freeze"]=a0=>(_leptris_document_freeze=Module["_leptris_document_freeze"]=wasmExports["le"])(a0);var _leptris_document_is_frozen=Module["_leptris_document_is_frozen"]=a0=>(_leptris_document_is_frozen=Module["_leptris_document_is_frozen"]=wasmExports["me"])(a0);var _leptris_rng_parse=Module["_leptris_rng_parse"]=(a0,a1,a2)=>(_leptris_rng_parse=Module["_leptris_rng_parse"]=wasmExports["ne"])(a0,a1,a2);var _leptris_rng_free=Module["_leptris_rng_free"]=a0=>(_leptris_rng_free=Module["_leptris_rng_free"]=wasmExports["oe"])(a0);var _leptris_rng_parse_file=Module["_leptris_rng_parse_file"]=(a0,a1)=>(_leptris_rng_parse_file=Module["_leptris_rng_parse_file"]=wasmExports["pe"])(a0,a1);var _leptris_rng_validate=Module["_leptris_rng_validate"]=(a0,a1)=>(_leptris_rng_validate=Module["_leptris_rng_validate"]=wasmExports["qe"])(a0,a1);var _leptris_rng_error=Module["_leptris_rng_error"]=a0=>(_leptris_rng_error=Module["_leptris_rng_error"]=wasmExports["re"])(a0);var _leptris_rng_error_count=Module["_leptris_rng_error_count"]=a0=>(_leptris_rng_error_count=Module["_leptris_rng_error_count"]=wasmExports["se"])(a0);var _leptris_rng_error_message=Module["_leptris_rng_error_message"]=(a0,a1)=>(_leptris_rng_error_message=Module["_leptris_rng_error_message"]=wasmExports["te"])(a0,a1);var _leptris_rng_error_line=Module["_leptris_rng_error_line"]=(a0,a1)=>(_leptris_rng_error_line=Module["_leptris_rng_error_line"]=wasmExports["ue"])(a0,a1);var _leptris_rng_error_column=Module["_leptris_rng_error_column"]=(a0,a1)=>(_leptris_rng_error_column=Module["_leptris_rng_error_column"]=wasmExports["ve"])(a0,a1);var _leptris_rng_error_report=Module["_leptris_rng_error_report"]=(a0,a1)=>(_leptris_rng_error_report=Module["_leptris_rng_error_report"]=wasmExports["we"])(a0,a1);var _leptris_iterparse_new=Module["_leptris_iterparse_new"]=(a0,a1)=>(_leptris_iterparse_new=Module["_leptris_iterparse_new"]=wasmExports["xe"])(a0,a1);var _leptris_pull_new_flags=Module["_leptris_pull_new_flags"]=(a0,a1,a2)=>(_leptris_pull_new_flags=Module["_leptris_pull_new_flags"]=wasmExports["ye"])(a0,a1,a2);var _leptris_pull_free=Module["_leptris_pull_free"]=a0=>(_leptris_pull_free=Module["_leptris_pull_free"]=wasmExports["ze"])(a0);var _leptris_iterparse_new_ex=Module["_leptris_iterparse_new_ex"]=(a0,a1,a2)=>(_leptris_iterparse_new_ex=Module["_leptris_iterparse_new_ex"]=wasmExports["Ae"])(a0,a1,a2);var _leptris_iterparse_new_ex_flags=Module["_leptris_iterparse_new_ex_flags"]=(a0,a1,a2,a3)=>(_leptris_iterparse_new_ex_flags=Module["_leptris_iterparse_new_ex_flags"]=wasmExports["Be"])(a0,a1,a2,a3);var _leptris_iterparse_new_file=Module["_leptris_iterparse_new_file"]=a0=>(_leptris_iterparse_new_file=Module["_leptris_iterparse_new_file"]=wasmExports["Ce"])(a0);var _leptris_pull_new_file_flags=Module["_leptris_pull_new_file_flags"]=(a0,a1)=>(_leptris_pull_new_file_flags=Module["_leptris_pull_new_file_flags"]=wasmExports["De"])(a0,a1);var _leptris_iterparse_new_file_ex=Module["_leptris_iterparse_new_file_ex"]=(a0,a1)=>(_leptris_iterparse_new_file_ex=Module["_leptris_iterparse_new_file_ex"]=wasmExports["Ee"])(a0,a1);var _leptris_iterparse_new_file_ex_flags=Module["_leptris_iterparse_new_file_ex_flags"]=(a0,a1,a2)=>(_leptris_iterparse_new_file_ex_flags=Module["_leptris_iterparse_new_file_ex_flags"]=wasmExports["Fe"])(a0,a1,a2);var _leptris_iterparse_next=Module["_leptris_iterparse_next"]=a0=>(_leptris_iterparse_next=Module["_leptris_iterparse_next"]=wasmExports["Ge"])(a0);var _leptris_pull_next=Module["_leptris_pull_next"]=a0=>(_leptris_pull_next=Module["_leptris_pull_next"]=wasmExports["He"])(a0);var _leptris_pull_attr_count=Module["_leptris_pull_attr_count"]=a0=>(_leptris_pull_attr_count=Module["_leptris_pull_attr_count"]=wasmExports["Ie"])(a0);var _leptris_pull_attr_name=Module["_leptris_pull_attr_name"]=(a0,a1)=>(_leptris_pull_attr_name=Module["_leptris_pull_attr_name"]=wasmExports["Je"])(a0,a1);var _leptris_pull_attr_value=Module["_leptris_pull_attr_value"]=(a0,a1)=>(_leptris_pull_attr_value=Module["_leptris_pull_attr_value"]=wasmExports["Ke"])(a0,a1);var _leptris_iterparse_ns_uri=Module["_leptris_iterparse_ns_uri"]=(a0,a1)=>(_leptris_iterparse_ns_uri=Module["_leptris_iterparse_ns_uri"]=wasmExports["Le"])(a0,a1);var _leptris_iterparse_ns_count=Module["_leptris_iterparse_ns_count"]=a0=>(_leptris_iterparse_ns_count=Module["_leptris_iterparse_ns_count"]=wasmExports["Me"])(a0);var _leptris_iterparse_error=Module["_leptris_iterparse_error"]=a0=>(_leptris_iterparse_error=Module["_leptris_iterparse_error"]=wasmExports["Ne"])(a0);var _leptris_iterparse_free=Module["_leptris_iterparse_free"]=a0=>(_leptris_iterparse_free=Module["_leptris_iterparse_free"]=wasmExports["Oe"])(a0);var _leptris_sax_parse=Module["_leptris_sax_parse"]=(a0,a1,a2,a3)=>(_leptris_sax_parse=Module["_leptris_sax_parse"]=wasmExports["Pe"])(a0,a1,a2,a3);var _leptris_sax_parser_create=Module["_leptris_sax_parser_create"]=(a0,a1)=>(_leptris_sax_parser_create=Module["_leptris_sax_parser_create"]=wasmExports["Qe"])(a0,a1);var _leptris_sax_parser_feed=Module["_leptris_sax_parser_feed"]=(a0,a1,a2,a3)=>(_leptris_sax_parser_feed=Module["_leptris_sax_parser_feed"]=wasmExports["Re"])(a0,a1,a2,a3);var _leptris_sax_parser_free=Module["_leptris_sax_parser_free"]=a0=>(_leptris_sax_parser_free=Module["_leptris_sax_parser_free"]=wasmExports["Se"])(a0);var _leptris_pull_new=Module["_leptris_pull_new"]=(a0,a1)=>(_leptris_pull_new=Module["_leptris_pull_new"]=wasmExports["Te"])(a0,a1);var _leptris_sax_parser_set_one_shot=Module["_leptris_sax_parser_set_one_shot"]=(a0,a1)=>(_leptris_sax_parser_set_one_shot=Module["_leptris_sax_parser_set_one_shot"]=wasmExports["Ue"])(a0,a1);var _leptris_sax_parser_set_skip_flags=Module["_leptris_sax_parser_set_skip_flags"]=(a0,a1)=>(_leptris_sax_parser_set_skip_flags=Module["_leptris_sax_parser_set_skip_flags"]=wasmExports["Ve"])(a0,a1);var _leptris_sax_parser_set_streaming=Module["_leptris_sax_parser_set_streaming"]=(a0,a1)=>(_leptris_sax_parser_set_streaming=Module["_leptris_sax_parser_set_streaming"]=wasmExports["We"])(a0,a1);var _leptris_pull_new_file=Module["_leptris_pull_new_file"]=a0=>(_leptris_pull_new_file=Module["_leptris_pull_new_file"]=wasmExports["Xe"])(a0);var _leptris_pull_next_batch=Module["_leptris_pull_next_batch"]=(a0,a1,a2)=>(_leptris_pull_next_batch=Module["_leptris_pull_next_batch"]=wasmExports["Ye"])(a0,a1,a2);var _leptris_pull_attrs=Module["_leptris_pull_attrs"]=(a0,a1,a2)=>(_leptris_pull_attrs=Module["_leptris_pull_attrs"]=wasmExports["Ze"])(a0,a1,a2);var _leptris_sax_recorder_new=Module["_leptris_sax_recorder_new"]=()=>(_leptris_sax_recorder_new=Module["_leptris_sax_recorder_new"]=wasmExports["_e"])();var _leptris_sax_recorder_new_flags=Module["_leptris_sax_recorder_new_flags"]=a0=>(_leptris_sax_recorder_new_flags=Module["_leptris_sax_recorder_new_flags"]=wasmExports["$e"])(a0);var _leptris_sax_recorder_feed=Module["_leptris_sax_recorder_feed"]=(a0,a1,a2,a3)=>(_leptris_sax_recorder_feed=Module["_leptris_sax_recorder_feed"]=wasmExports["af"])(a0,a1,a2,a3);var _leptris_sax_recorder_reset=Module["_leptris_sax_recorder_reset"]=a0=>(_leptris_sax_recorder_reset=Module["_leptris_sax_recorder_reset"]=wasmExports["bf"])(a0);var _leptris_sax_recorder_records=Module["_leptris_sax_recorder_records"]=(a0,a1)=>(_leptris_sax_recorder_records=Module["_leptris_sax_recorder_records"]=wasmExports["cf"])(a0,a1);var _leptris_sax_recorder_arena=Module["_leptris_sax_recorder_arena"]=(a0,a1)=>(_leptris_sax_recorder_arena=Module["_leptris_sax_recorder_arena"]=wasmExports["df"])(a0,a1);var _leptris_sax_recorder_free=Module["_leptris_sax_recorder_free"]=a0=>(_leptris_sax_recorder_free=Module["_leptris_sax_recorder_free"]=wasmExports["ef"])(a0);var _leptris_sax_records_parse=Module["_leptris_sax_records_parse"]=(a0,a1,a2,a3)=>(_leptris_sax_records_parse=Module["_leptris_sax_records_parse"]=wasmExports["ff"])(a0,a1,a2,a3);var _leptris_sax_records_free=Module["_leptris_sax_records_free"]=a0=>(_leptris_sax_records_free=Module["_leptris_sax_records_free"]=wasmExports["gf"])(a0);var _leptris_sax_records_count=Module["_leptris_sax_records_count"]=a0=>(_leptris_sax_records_count=Module["_leptris_sax_records_count"]=wasmExports["hf"])(a0);var _leptris_sax_records_data=Module["_leptris_sax_records_data"]=a0=>(_leptris_sax_records_data=Module["_leptris_sax_records_data"]=wasmExports["jf"])(a0);var _leptris_sax_records_attrs=Module["_leptris_sax_records_attrs"]=(a0,a1)=>(_leptris_sax_records_attrs=Module["_leptris_sax_records_attrs"]=wasmExports["kf"])(a0,a1);var _leptris_sax_records_buffer=Module["_leptris_sax_records_buffer"]=a0=>(_leptris_sax_records_buffer=Module["_leptris_sax_records_buffer"]=wasmExports["lf"])(a0);var _leptris_schematron_parse=Module["_leptris_schematron_parse"]=(a0,a1,a2)=>(_leptris_schematron_parse=Module["_leptris_schematron_parse"]=wasmExports["mf"])(a0,a1,a2);var _leptris_schematron_parse_phase=Module["_leptris_schematron_parse_phase"]=(a0,a1,a2,a3)=>(_leptris_schematron_parse_phase=Module["_leptris_schematron_parse_phase"]=wasmExports["nf"])(a0,a1,a2,a3);var _leptris_schematron_free=Module["_leptris_schematron_free"]=a0=>(_leptris_schematron_free=Module["_leptris_schematron_free"]=wasmExports["of"])(a0);var _leptris_element_serialize_ext_sized=Module["_leptris_element_serialize_ext_sized"]=(a0,a1,a2,a3)=>(_leptris_element_serialize_ext_sized=Module["_leptris_element_serialize_ext_sized"]=wasmExports["pf"])(a0,a1,a2,a3);var _leptris_schematron_parse_file=Module["_leptris_schematron_parse_file"]=(a0,a1)=>(_leptris_schematron_parse_file=Module["_leptris_schematron_parse_file"]=wasmExports["qf"])(a0,a1);var _leptris_schematron_error=Module["_leptris_schematron_error"]=a0=>(_leptris_schematron_error=Module["_leptris_schematron_error"]=wasmExports["rf"])(a0);var _leptris_xpath_result_type=Module["_leptris_xpath_result_type"]=a0=>(_leptris_xpath_result_type=Module["_leptris_xpath_result_type"]=wasmExports["sf"])(a0);var _leptris_xpath_result_get_nodes_ex=Module["_leptris_xpath_result_get_nodes_ex"]=(a0,a1,a2,a3)=>(_leptris_xpath_result_get_nodes_ex=Module["_leptris_xpath_result_get_nodes_ex"]=wasmExports["tf"])(a0,a1,a2,a3);var _leptris_schematron_validate=Module["_leptris_schematron_validate"]=(a0,a1)=>(_leptris_schematron_validate=Module["_leptris_schematron_validate"]=wasmExports["uf"])(a0,a1);var _leptris_xpath_result_boolean=Module["_leptris_xpath_result_boolean"]=a0=>(_leptris_xpath_result_boolean=Module["_leptris_xpath_result_boolean"]=wasmExports["vf"])(a0);var _leptris_schematron_valid=Module["_leptris_schematron_valid"]=(a0,a1)=>(_leptris_schematron_valid=Module["_leptris_schematron_valid"]=wasmExports["wf"])(a0,a1);var _leptris_c14n_canonicalize=Module["_leptris_c14n_canonicalize"]=(a0,a1,a2)=>(_leptris_c14n_canonicalize=Module["_leptris_c14n_canonicalize"]=wasmExports["xf"])(a0,a1,a2);var _leptris_c14n_canonicalize_subtree=Module["_leptris_c14n_canonicalize_subtree"]=(a0,a1,a2)=>(_leptris_c14n_canonicalize_subtree=Module["_leptris_c14n_canonicalize_subtree"]=wasmExports["yf"])(a0,a1,a2);var _leptris_c14n_canonicalize_ex=Module["_leptris_c14n_canonicalize_ex"]=(a0,a1,a2,a3,a4)=>(_leptris_c14n_canonicalize_ex=Module["_leptris_c14n_canonicalize_ex"]=wasmExports["zf"])(a0,a1,a2,a3,a4);var _leptris_c14n_canonicalize_subtree_ex=Module["_leptris_c14n_canonicalize_subtree_ex"]=(a0,a1,a2,a3,a4)=>(_leptris_c14n_canonicalize_subtree_ex=Module["_leptris_c14n_canonicalize_subtree_ex"]=wasmExports["Af"])(a0,a1,a2,a3,a4);var _leptris_document_serialize_ext=Module["_leptris_document_serialize_ext"]=(a0,a1,a2)=>(_leptris_document_serialize_ext=Module["_leptris_document_serialize_ext"]=wasmExports["Bf"])(a0,a1,a2);var _leptris_document_serialize_ext_sized=Module["_leptris_document_serialize_ext_sized"]=(a0,a1,a2,a3)=>(_leptris_document_serialize_ext_sized=Module["_leptris_document_serialize_ext_sized"]=wasmExports["Cf"])(a0,a1,a2,a3);var _leptris_element_serialize_ext=Module["_leptris_element_serialize_ext"]=(a0,a1,a2)=>(_leptris_element_serialize_ext=Module["_leptris_element_serialize_ext"]=wasmExports["Df"])(a0,a1,a2);var _leptris_document_serialize_into=Module["_leptris_document_serialize_into"]=(a0,a1,a2,a3,a4)=>(_leptris_document_serialize_into=Module["_leptris_document_serialize_into"]=wasmExports["Ef"])(a0,a1,a2,a3,a4);var _leptris_element_serialize_into=Module["_leptris_element_serialize_into"]=(a0,a1,a2,a3,a4)=>(_leptris_element_serialize_into=Module["_leptris_element_serialize_into"]=wasmExports["Ff"])(a0,a1,a2,a3,a4);var _leptris_document_save_file=Module["_leptris_document_save_file"]=(a0,a1,a2)=>(_leptris_document_save_file=Module["_leptris_document_save_file"]=wasmExports["Gf"])(a0,a1,a2);var _leptris_document_serialize_html=Module["_leptris_document_serialize_html"]=(a0,a1)=>(_leptris_document_serialize_html=Module["_leptris_document_serialize_html"]=wasmExports["Hf"])(a0,a1);var _leptris_document_save_html=Module["_leptris_document_save_html"]=(a0,a1,a2)=>(_leptris_document_save_html=Module["_leptris_document_save_html"]=wasmExports["If"])(a0,a1,a2);var _leptris_xinclude_is_include_element=Module["_leptris_xinclude_is_include_element"]=a0=>(_leptris_xinclude_is_include_element=Module["_leptris_xinclude_is_include_element"]=wasmExports["Jf"])(a0);var _leptris_xinclude_is_fallback_element=Module["_leptris_xinclude_is_fallback_element"]=a0=>(_leptris_xinclude_is_fallback_element=Module["_leptris_xinclude_is_fallback_element"]=wasmExports["Kf"])(a0);var _leptris_xinclude_get_href=Module["_leptris_xinclude_get_href"]=a0=>(_leptris_xinclude_get_href=Module["_leptris_xinclude_get_href"]=wasmExports["Lf"])(a0);var _leptris_xinclude_get_parse=Module["_leptris_xinclude_get_parse"]=a0=>(_leptris_xinclude_get_parse=Module["_leptris_xinclude_get_parse"]=wasmExports["Mf"])(a0);var _leptris_xinclude_get_xpointer=Module["_leptris_xinclude_get_xpointer"]=a0=>(_leptris_xinclude_get_xpointer=Module["_leptris_xinclude_get_xpointer"]=wasmExports["Nf"])(a0);var _leptris_xinclude_get_encoding=Module["_leptris_xinclude_get_encoding"]=a0=>(_leptris_xinclude_get_encoding=Module["_leptris_xinclude_get_encoding"]=wasmExports["Of"])(a0);var _leptris_xinclude_process=Module["_leptris_xinclude_process"]=(a0,a1)=>(_leptris_xinclude_process=Module["_leptris_xinclude_process"]=wasmExports["Pf"])(a0,a1);var _leptris_xinclude_process_opts=Module["_leptris_xinclude_process_opts"]=(a0,a1,a2)=>(_leptris_xinclude_process_opts=Module["_leptris_xinclude_process_opts"]=wasmExports["Qf"])(a0,a1,a2);var _leptris_xpath_ns_set_new=Module["_leptris_xpath_ns_set_new"]=()=>(_leptris_xpath_ns_set_new=Module["_leptris_xpath_ns_set_new"]=wasmExports["Rf"])();var _leptris_xpath_result_get=Module["_leptris_xpath_result_get"]=(a0,a1)=>(_leptris_xpath_result_get=Module["_leptris_xpath_result_get"]=wasmExports["Sf"])(a0,a1);var _leptris_xpath_eval_ns=Module["_leptris_xpath_eval_ns"]=(a0,a1,a2,a3)=>(_leptris_xpath_eval_ns=Module["_leptris_xpath_eval_ns"]=wasmExports["Tf"])(a0,a1,a2,a3);var _leptris_xpath_ns_set_add=Module["_leptris_xpath_ns_set_add"]=(a0,a1,a2)=>(_leptris_xpath_ns_set_add=Module["_leptris_xpath_ns_set_add"]=wasmExports["Uf"])(a0,a1,a2);var _leptris_xpath_ns_set_free=Module["_leptris_xpath_ns_set_free"]=a0=>(_leptris_xpath_ns_set_free=Module["_leptris_xpath_ns_set_free"]=wasmExports["Vf"])(a0);var _leptris_xpath_result_count=Module["_leptris_xpath_result_count"]=a0=>(_leptris_xpath_result_count=Module["_leptris_xpath_result_count"]=wasmExports["Wf"])(a0);var _leptris_xpath_result_node_value=Module["_leptris_xpath_result_node_value"]=(a0,a1)=>(_leptris_xpath_result_node_value=Module["_leptris_xpath_result_node_value"]=wasmExports["Xf"])(a0,a1);var _leptris_xpath_result_number=Module["_leptris_xpath_result_number"]=a0=>(_leptris_xpath_result_number=Module["_leptris_xpath_result_number"]=wasmExports["Yf"])(a0);var _leptris_xpath_function_supported=Module["_leptris_xpath_function_supported"]=a0=>(_leptris_xpath_function_supported=Module["_leptris_xpath_function_supported"]=wasmExports["Zf"])(a0);var _leptris_xpath_supported_functions=Module["_leptris_xpath_supported_functions"]=()=>(_leptris_xpath_supported_functions=Module["_leptris_xpath_supported_functions"]=wasmExports["_f"])();var _leptris_xpath_compile=Module["_leptris_xpath_compile"]=a0=>(_leptris_xpath_compile=Module["_leptris_xpath_compile"]=wasmExports["$f"])(a0);var _leptris_xpath_compiled_eval=Module["_leptris_xpath_compiled_eval"]=(a0,a1,a2)=>(_leptris_xpath_compiled_eval=Module["_leptris_xpath_compiled_eval"]=wasmExports["ag"])(a0,a1,a2);var _leptris_xpath_compiled_eval_ns=Module["_leptris_xpath_compiled_eval_ns"]=(a0,a1,a2,a3)=>(_leptris_xpath_compiled_eval_ns=Module["_leptris_xpath_compiled_eval_ns"]=wasmExports["bg"])(a0,a1,a2,a3);var _leptris_xpath_compiled_eval_ns_vars=Module["_leptris_xpath_compiled_eval_ns_vars"]=(a0,a1,a2,a3,a4)=>(_leptris_xpath_compiled_eval_ns_vars=Module["_leptris_xpath_compiled_eval_ns_vars"]=wasmExports["cg"])(a0,a1,a2,a3,a4);var _leptris_xpath_compiled_eval_vars=Module["_leptris_xpath_compiled_eval_vars"]=(a0,a1,a2,a3)=>(_leptris_xpath_compiled_eval_vars=Module["_leptris_xpath_compiled_eval_vars"]=wasmExports["dg"])(a0,a1,a2,a3);var _leptris_xpath_compiled_text=Module["_leptris_xpath_compiled_text"]=a0=>(_leptris_xpath_compiled_text=Module["_leptris_xpath_compiled_text"]=wasmExports["eg"])(a0);var _leptris_xpath_compiled_free=Module["_leptris_xpath_compiled_free"]=a0=>(_leptris_xpath_compiled_free=Module["_leptris_xpath_compiled_free"]=wasmExports["fg"])(a0);var _leptris_xpath_eval_versioned=Module["_leptris_xpath_eval_versioned"]=(a0,a1,a2,a3,a4)=>(_leptris_xpath_eval_versioned=Module["_leptris_xpath_eval_versioned"]=wasmExports["gg"])(a0,a1,a2,a3,a4);var _leptris_xpath_result_get_nodes=Module["_leptris_xpath_result_get_nodes"]=(a0,a1,a2)=>(_leptris_xpath_result_get_nodes=Module["_leptris_xpath_result_get_nodes"]=wasmExports["hg"])(a0,a1,a2);var _leptris_xpath_result_node_kind=Module["_leptris_xpath_result_node_kind"]=(a0,a1)=>(_leptris_xpath_result_node_kind=Module["_leptris_xpath_result_node_kind"]=wasmExports["ig"])(a0,a1);var _leptris_xpath_result_get_node=Module["_leptris_xpath_result_get_node"]=(a0,a1)=>(_leptris_xpath_result_get_node=Module["_leptris_xpath_result_get_node"]=wasmExports["jg"])(a0,a1);var _leptris_xpath_result_node_name=Module["_leptris_xpath_result_node_name"]=(a0,a1)=>(_leptris_xpath_result_node_name=Module["_leptris_xpath_result_node_name"]=wasmExports["kg"])(a0,a1);var _leptris_xpath_variable_set_new=Module["_leptris_xpath_variable_set_new"]=()=>(_leptris_xpath_variable_set_new=Module["_leptris_xpath_variable_set_new"]=wasmExports["lg"])();var _leptris_xpath_variable_set_free=Module["_leptris_xpath_variable_set_free"]=a0=>(_leptris_xpath_variable_set_free=Module["_leptris_xpath_variable_set_free"]=wasmExports["mg"])(a0);var _leptris_xpath_variable_set_boolean=Module["_leptris_xpath_variable_set_boolean"]=(a0,a1,a2)=>(_leptris_xpath_variable_set_boolean=Module["_leptris_xpath_variable_set_boolean"]=wasmExports["ng"])(a0,a1,a2);var _leptris_xpath_variable_set_number=Module["_leptris_xpath_variable_set_number"]=(a0,a1,a2)=>(_leptris_xpath_variable_set_number=Module["_leptris_xpath_variable_set_number"]=wasmExports["og"])(a0,a1,a2);var _leptris_xpath_variable_set_string=Module["_leptris_xpath_variable_set_string"]=(a0,a1,a2)=>(_leptris_xpath_variable_set_string=Module["_leptris_xpath_variable_set_string"]=wasmExports["pg"])(a0,a1,a2);var _leptris_xpath_ns_set_new_from_pairs=Module["_leptris_xpath_ns_set_new_from_pairs"]=(a0,a1)=>(_leptris_xpath_ns_set_new_from_pairs=Module["_leptris_xpath_ns_set_new_from_pairs"]=wasmExports["qg"])(a0,a1);var _leptris_xpath_eval_with_vars=Module["_leptris_xpath_eval_with_vars"]=(a0,a1,a2)=>(_leptris_xpath_eval_with_vars=Module["_leptris_xpath_eval_with_vars"]=wasmExports["rg"])(a0,a1,a2);var _leptris_xpath_eval_with_vars_context=Module["_leptris_xpath_eval_with_vars_context"]=(a0,a1,a2,a3)=>(_leptris_xpath_eval_with_vars_context=Module["_leptris_xpath_eval_with_vars_context"]=wasmExports["sg"])(a0,a1,a2,a3);var _leptris_xpath_register_function=Module["_leptris_xpath_register_function"]=(a0,a1,a2,a3)=>(_leptris_xpath_register_function=Module["_leptris_xpath_register_function"]=wasmExports["tg"])(a0,a1,a2,a3);var _leptris_exslt_enable=Module["_leptris_exslt_enable"]=a0=>(_leptris_exslt_enable=Module["_leptris_exslt_enable"]=wasmExports["ug"])(a0);var _leptris_xpath_compiled_eval_nodeset=Module["_leptris_xpath_compiled_eval_nodeset"]=(a0,a1,a2,a3)=>(_leptris_xpath_compiled_eval_nodeset=Module["_leptris_xpath_compiled_eval_nodeset"]=wasmExports["vg"])(a0,a1,a2,a3);var _leptris_xpath_eval_nodeset=Module["_leptris_xpath_eval_nodeset"]=(a0,a1,a2,a3)=>(_leptris_xpath_eval_nodeset=Module["_leptris_xpath_eval_nodeset"]=wasmExports["wg"])(a0,a1,a2,a3);var _leptris_xquery_parse=Module["_leptris_xquery_parse"]=(a0,a1)=>(_leptris_xquery_parse=Module["_leptris_xquery_parse"]=wasmExports["xg"])(a0,a1);var _leptris_xquery_eval=Module["_leptris_xquery_eval"]=(a0,a1,a2)=>(_leptris_xquery_eval=Module["_leptris_xquery_eval"]=wasmExports["yg"])(a0,a1,a2);var _leptris_xquery_eval_params=Module["_leptris_xquery_eval_params"]=(a0,a1,a2,a3,a4,a5)=>(_leptris_xquery_eval_params=Module["_leptris_xquery_eval_params"]=wasmExports["zg"])(a0,a1,a2,a3,a4,a5);var _leptris_xquery_free=Module["_leptris_xquery_free"]=a0=>(_leptris_xquery_free=Module["_leptris_xquery_free"]=wasmExports["Ag"])(a0);var _leptris_xsd_compile=Module["_leptris_xsd_compile"]=(a0,a1,a2)=>(_leptris_xsd_compile=Module["_leptris_xsd_compile"]=wasmExports["Bg"])(a0,a1,a2);var _leptris_xsd_compile_file=Module["_leptris_xsd_compile_file"]=(a0,a1)=>(_leptris_xsd_compile_file=Module["_leptris_xsd_compile_file"]=wasmExports["Cg"])(a0,a1);var _leptris_xsd_free=Module["_leptris_xsd_free"]=a0=>(_leptris_xsd_free=Module["_leptris_xsd_free"]=wasmExports["Dg"])(a0);var _leptris_xsd_builtin_valid=Module["_leptris_xsd_builtin_valid"]=(a0,a1)=>(_leptris_xsd_builtin_valid=Module["_leptris_xsd_builtin_valid"]=wasmExports["Eg"])(a0,a1);var _leptris_xsd_simple_valid=Module["_leptris_xsd_simple_valid"]=(a0,a1,a2)=>(_leptris_xsd_simple_valid=Module["_leptris_xsd_simple_valid"]=wasmExports["Fg"])(a0,a1,a2);var _leptris_xsd_validate=Module["_leptris_xsd_validate"]=(a0,a1)=>(_leptris_xsd_validate=Module["_leptris_xsd_validate"]=wasmExports["Gg"])(a0,a1);var _leptris_xsd_error_count=Module["_leptris_xsd_error_count"]=a0=>(_leptris_xsd_error_count=Module["_leptris_xsd_error_count"]=wasmExports["Hg"])(a0);var _leptris_xsd_error_at=Module["_leptris_xsd_error_at"]=(a0,a1)=>(_leptris_xsd_error_at=Module["_leptris_xsd_error_at"]=wasmExports["Ig"])(a0,a1);var _leptris_xsd_content_valid=Module["_leptris_xsd_content_valid"]=(a0,a1,a2,a3,a4)=>(_leptris_xsd_content_valid=Module["_leptris_xsd_content_valid"]=wasmExports["Jg"])(a0,a1,a2,a3,a4);var _leptris_xsd_declaration_count=Module["_leptris_xsd_declaration_count"]=a0=>(_leptris_xsd_declaration_count=Module["_leptris_xsd_declaration_count"]=wasmExports["Kg"])(a0);var _leptris_xsd_error=Module["_leptris_xsd_error"]=a0=>(_leptris_xsd_error=Module["_leptris_xsd_error"]=wasmExports["Lg"])(a0);var _leptris_xslt_parse=Module["_leptris_xslt_parse"]=(a0,a1)=>(_leptris_xslt_parse=Module["_leptris_xslt_parse"]=wasmExports["Mg"])(a0,a1);var _leptris_xslt_parse_file=Module["_leptris_xslt_parse_file"]=a0=>(_leptris_xslt_parse_file=Module["_leptris_xslt_parse_file"]=wasmExports["Ng"])(a0);var _leptris_xslt_free=Module["_leptris_xslt_free"]=a0=>(_leptris_xslt_free=Module["_leptris_xslt_free"]=wasmExports["Og"])(a0);var _leptris_xslt_apply=Module["_leptris_xslt_apply"]=(a0,a1)=>(_leptris_xslt_apply=Module["_leptris_xslt_apply"]=wasmExports["Pg"])(a0,a1);var _leptris_xslt_apply_params=Module["_leptris_xslt_apply_params"]=(a0,a1,a2,a3)=>(_leptris_xslt_apply_params=Module["_leptris_xslt_apply_params"]=wasmExports["Qg"])(a0,a1,a2,a3);var _leptris_xslt_apply_string=Module["_leptris_xslt_apply_string"]=(a0,a1)=>(_leptris_xslt_apply_string=Module["_leptris_xslt_apply_string"]=wasmExports["Rg"])(a0,a1);var _leptris_xslt_apply_string_params=Module["_leptris_xslt_apply_string_params"]=(a0,a1,a2,a3)=>(_leptris_xslt_apply_string_params=Module["_leptris_xslt_apply_string_params"]=wasmExports["Sg"])(a0,a1,a2,a3);Module["UTF8ToString"]=UTF8ToString;Module["stringToUTF8"]=stringToUTF8;Module["lengthBytesUTF8"]=lengthBytesUTF8;var calledRun;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(){if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();readyPromiseResolve(Module);Module["onRuntimeInitialized"]?.();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(()=>{setTimeout(()=>Module["setStatus"](""),1);doRun()},1)}else{doRun()}}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run();moduleRtn=readyPromise;
10
10
 
11
11
 
12
12
  return moduleRtn;
package/dist/leptris.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leptris",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "XML for JavaScript at libleptris speed (WebAssembly, no fallback)",
5
5
  "type": "module",
6
6
  "main": "src/index.js",