cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
24 lines • 61.8 kB
JavaScript
/**
* Cesium - https://github.com/AnalyticalGraphicsInc/cesium
*
* Copyright 2011-2017 Cesium Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Columbus View (Pat. Pend.)
*
* Portions licensed separately.
* See https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md for full licensing details.
*/
var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){t!=Array.prototype&&t!=Object.prototype&&(t[e]=r.value)},$jscomp.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:"undefined"!=typeof global&&null!=global?global:t},$jscomp.global=$jscomp.getGlobal(this),$jscomp.polyfill=function(t,e,r,n){if(e){for(r=$jscomp.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];o in r||(r[o]={}),r=r[o]}t=t[t.length-1],n=r[t],e=e(n),e!=n&&null!=e&&$jscomp.defineProperty(r,t,{configurable:!0,writable:!0,value:e})}},$jscomp.polyfill("Math.imul",function(t){return t||function(t,e){t=Number(t),e=Number(e);var r=65535&t,n=65535&e;return r*n+((t>>>16&65535)*n+r*(e>>>16&65535)<<16>>>0)|0}},"es6","es3"),$jscomp.polyfill("Math.clz32",function(t){return t||function(t){if(0===(t=Number(t)>>>0))return 32;var e=0;return 0==(4294901760&t)&&(t<<=16,e+=16),0==(4278190080&t)&&(t<<=8,e+=8),0==(4026531840&t)&&(t<<=4,e+=4),0==(3221225472&t)&&(t<<=2,e+=2),0==(2147483648&t)&&e++,e}},"es6","es3"),$jscomp.polyfill("Math.trunc",function(t){return t||function(t){if(t=Number(t),isNaN(t)||1/0===t||-1/0===t||0===t)return t;var e=Math.floor(Math.abs(t));return 0>t?-e:e}},"es6","es3"),$jscomp.SYMBOL_PREFIX="jscomp_symbol_",$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){},$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)},$jscomp.Symbol=function(){var t=0;return function(e){return $jscomp.SYMBOL_PREFIX+(e||"")+t++}}(),$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var t=$jscomp.global.Symbol.iterator;t||(t=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&$jscomp.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}}),$jscomp.initSymbolIterator=function(){}},$jscomp.arrayIterator=function(t){var e=0;return $jscomp.iteratorPrototype(function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}})},$jscomp.iteratorPrototype=function(t){return $jscomp.initSymbolIterator(),t={next:t},t[$jscomp.global.Symbol.iterator]=function(){return this},t},$jscomp.makeIterator=function(t){$jscomp.initSymbolIterator();var e=t[Symbol.iterator];return e?e.call(t):$jscomp.arrayIterator(t)},$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.polyfill("Promise",function(t){function e(){this.batch_=null}function r(t){return t instanceof o?t:new o(function(e,r){e(t)})}if(t&&!$jscomp.FORCE_POLYFILL_PROMISE)return t;e.prototype.asyncExecute=function(t){return null==this.batch_&&(this.batch_=[],this.asyncExecuteBatch_()),this.batch_.push(t),this},e.prototype.asyncExecuteBatch_=function(){var t=this;this.asyncExecuteFunction(function(){t.executeBatch_()})};var n=$jscomp.global.setTimeout;e.prototype.asyncExecuteFunction=function(t){n(t,0)},e.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var t=this.batch_;this.batch_=[];for(var e=0;e<t.length;++e){var r=t[e];delete t[e];try{r()}catch(t){this.asyncThrow_(t)}}}this.batch_=null},e.prototype.asyncThrow_=function(t){this.asyncExecuteFunction(function(){throw t})};var o=function(t){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[];var e=this.createResolveAndReject_();try{t(e.resolve,e.reject)}catch(t){e.reject(t)}};o.prototype.createResolveAndReject_=function(){function t(t){return function(n){r||(r=!0,t.call(e,n))}}var e=this,r=!1;return{resolve:t(this.resolveTo_),reject:t(this.reject_)}},o.prototype.resolveTo_=function(t){if(t===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof o)this.settleSameAsPromise_(t);else{t:switch(typeof t){case"object":var e=null!=t;break t;case"function":e=!0;break t;default:e=!1}e?this.resolveToNonPromiseObj_(t):this.fulfill_(t)}},o.prototype.resolveToNonPromiseObj_=function(t){var e=void 0;try{e=t.then}catch(t){return void this.reject_(t)}"function"==typeof e?this.settleSameAsThenable_(e,t):this.fulfill_(t)},o.prototype.reject_=function(t){this.settle_(2,t)},o.prototype.fulfill_=function(t){this.settle_(1,t)},o.prototype.settle_=function(t,e){if(0!=this.state_)throw Error("Cannot settle("+t+", "+e|"): Promise already settled in state"+this.state_);this.state_=t,this.result_=e,this.executeOnSettledCallbacks_()},o.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var t=this.onSettledCallbacks_,e=0;e<t.length;++e)t[e].call(),t[e]=null;this.onSettledCallbacks_=null}};var i=new e;return o.prototype.settleSameAsPromise_=function(t){var e=this.createResolveAndReject_();t.callWhenSettled_(e.resolve,e.reject)},o.prototype.settleSameAsThenable_=function(t,e){var r=this.createResolveAndReject_();try{t.call(e,r.resolve,r.reject)}catch(t){r.reject(t)}},o.prototype.then=function(t,e){function r(t,e){return"function"==typeof t?function(e){try{n(t(e))}catch(t){i(t)}}:e}var n,i,_=new o(function(t,e){n=t,i=e});return this.callWhenSettled_(r(t,n),r(e,i)),_},o.prototype.catch=function(t){return this.then(void 0,t)},o.prototype.callWhenSettled_=function(t,e){function r(){switch(n.state_){case 1:t(n.result_);break;case 2:e(n.result_);break;default:throw Error("Unexpected state: "+n.state_)}}var n=this;null==this.onSettledCallbacks_?i.asyncExecute(r):this.onSettledCallbacks_.push(function(){i.asyncExecute(r)})},o.resolve=r,o.reject=function(t){return new o(function(e,r){r(t)})},o.race=function(t){return new o(function(e,n){for(var o=$jscomp.makeIterator(t),i=o.next();!i.done;i=o.next())r(i.value).callWhenSettled_(e,n)})},o.all=function(t){var e=$jscomp.makeIterator(t),n=e.next();return n.done?r([]):new o(function(t,o){var i=[],_=0;do{i.push(void 0),_++,r(n.value).callWhenSettled_(function(e){return function(r){i[e]=r,0==--_&&t(i)}}(i.length-1),o),n=e.next()}while(!n.done)})},o},"es6","es3");var DracoDecoderModule=function(t){function e(t,e){return e||(e=16),Math.ceil(t/e)*e}function r(t,e){t||m("Assertion failed: "+e)}function n(t,e){if(0===e||!t)return"";for(var r,n=0,i=0;(r=tt[t+i>>0],n|=r,0!=r||e)&&(i++,!e||i!=e););if(e||(e=i),r="",128>n){for(;0<e;)n=String.fromCharCode.apply(String,tt.subarray(t,t+Math.min(e,1024))),r=r?r+n:n,t+=1024,e-=1024;return r}return o(tt,t)}function o(t,e){for(var r=e;t[r];)++r;if(16<r-e&&t.subarray&&Z)return Z.decode(t.subarray(e,r));for(r="";;){var n=t[e++];if(!n)return r;if(128&n){var o=63&t[e++];if(192==(224&n))r+=String.fromCharCode((31&n)<<6|o);else{var i=63&t[e++];if(224==(240&n))n=(15&n)<<12|o<<6|i;else{var _=63&t[e++];if(240==(248&n))n=(7&n)<<18|o<<12|i<<6|_;else{var p=63&t[e++];if(248==(252&n))n=(3&n)<<24|o<<18|i<<12|_<<6|p;else{n=(1&n)<<30|o<<24|i<<18|_<<12|p<<6|63&t[e++]}}}65536>n?r+=String.fromCharCode(n):(n-=65536,r+=String.fromCharCode(55296|n>>10,56320|1023&n))}}else r+=String.fromCharCode(n)}}function i(t,e){return 0<t%e&&(t+=e-t%e),t}function _(){L.HEAP8=J=new Int8Array(ft),L.HEAP16=et=new Int16Array(ft),L.HEAP32=rt=new Int32Array(ft),L.HEAPU8=tt=new Uint8Array(ft),L.HEAPU16=new Uint16Array(ft),L.HEAPU32=new Uint32Array(ft),L.HEAPF32=new Float32Array(ft),L.HEAPF64=new Float64Array(ft)}function p(t){for(;0<t.length;){var e=t.shift();if("function"==typeof e)e();else{var r=e.func;"number"==typeof r?void 0===e.arg?L.dynCall_v(r):L.dynCall_vi(r,e.arg):r(void 0===e.arg?null:e.arg)}}}function a(t){return String.prototype.startsWith?t.startsWith("data:application/octet-stream;base64,"):0===t.indexOf("data:application/octet-stream;base64,")}function u(){return!!u.uncaught_exception}function c(){var t=gt.last;if(!t)return 0|(Zr(0),0);var e=gt.infos[t],r=e.type;if(!r)return 0|(Zr(0),t);var n=Array.prototype.slice.call(arguments);L.___cxa_is_pointer_type(r),c.buffer||(c.buffer=Kr(4)),rt[c.buffer>>2]=t,t=c.buffer;for(var o=0;o<n.length;o++)if(n[o]&&L.___cxa_can_catch(n[o],r,t))return t=rt[t>>2],e.adjusted=t,0|(Zr(n[o]),t);return t=rt[t>>2],0|(Zr(r),t)}function s(t,e){St.varargs=e;try{var n=St.get(),i=St.get(),_=St.get();for(t=0,s.buffers||(s.buffers=[null,[],[]],s.printChar=function(t,e){var n=s.buffers[t];r(n),0===e||10===e?((1===t?L.print:L.printErr)(o(n,0)),n.length=0):n.push(e)}),e=0;e<_;e++){for(var p=rt[i+8*e>>2],a=rt[i+(8*e+4)>>2],u=0;u<a;u++)s.printChar(n,tt[p+u]);t+=a}return t}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||m(t),-t.errno}}function l(t,e){l.seen||(l.seen={}),t in l.seen||(L.dynCall_v(e),l.seen[t]=1)}function y(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function f(t){function e(){if(!L.calledRun&&(L.calledRun=!0,!K)){if(Tt||(Tt=!0,p(dt)),p(bt),L.onRuntimeInitialized&&L.onRuntimeInitialized(),L.postRun)for("function"==typeof L.postRun&&(L.postRun=[L.postRun]);L.postRun.length;)At.unshift(L.postRun.shift());p(At)}}if(!(0<vt)){if(L.preRun)for("function"==typeof L.preRun&&(L.preRun=[L.preRun]);L.preRun.length;)mt.unshift(L.preRun.shift());p(mt),0<vt||L.calledRun||(L.setStatus?(L.setStatus("Running..."),setTimeout(function(){setTimeout(function(){L.setStatus("")},1),e()},1)):e())}}function m(t){throw L.onAbort&&L.onAbort(t),void 0!==t?(L.print(t),L.printErr(t),t=JSON.stringify(t)):t="",K=!0,"abort("+t+"). Build with -s ASSERTIONS=1 for more info."}function d(){}function b(t){return(t||d).__cache__}function h(t,e){var r=b(e),n=r[t];return n||(n=Object.create((e||d).prototype),n.ptr=t,r[t]=n)}function A(t){if("string"==typeof t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);55296<=n&&57343>=n&&(n=65536+((1023&n)<<10)|1023&t.charCodeAt(++r)),127>=n?++e:e=2047>=n?e+2:65535>=n?e+3:2097151>=n?e+4:67108863>=n?e+5:e+6}if(e=Array(e+1),r=0,0<(n=e.length)){n=r+n-1;for(var o=0;o<t.length;++o){var i=t.charCodeAt(o);if(55296<=i&&57343>=i&&(i=65536+((1023&i)<<10)|1023&t.charCodeAt(++o)),127>=i){if(r>=n)break;e[r++]=i}else{if(2047>=i){if(r+1>=n)break;e[r++]=192|i>>6}else{if(65535>=i){if(r+2>=n)break;e[r++]=224|i>>12}else{if(2097151>=i){if(r+3>=n)break;e[r++]=240|i>>18}else{if(67108863>=i){if(r+4>=n)break;e[r++]=248|i>>24}else{if(r+5>=n)break;e[r++]=252|i>>30,e[r++]=128|i>>24&63}e[r++]=128|i>>18&63}e[r++]=128|i>>12&63}e[r++]=128|i>>6&63}e[r++]=128|63&i}}e[r]=0}t=Jr.alloc(e,J),Jr.copy(e,J,t)}return t}function T(){throw"cannot construct a Status, no constructor in IDL"}function I(){this.ptr=Pe(),b(I)[this.ptr]=this}function v(){this.ptr=vr(),b(v)[this.ptr]=this}function E(){this.ptr=xe(),b(E)[this.ptr]=this}function D(){this.ptr=Ue(),b(D)[this.ptr]=this}function j(){this.ptr=Ot(),b(j)[this.ptr]=this}function g(){this.ptr=lr(),b(g)[this.ptr]=this}function S(){this.ptr=xt(),b(S)[this.ptr]=this}function R(){this.ptr=Nt(),b(R)[this.ptr]=this}function G(){this.ptr=Ge(),b(G)[this.ptr]=this}function M(){this.ptr=_r(),b(M)[this.ptr]=this}function O(){this.ptr=Ie(),b(O)[this.ptr]=this}function w(){this.ptr=be(),b(w)[this.ptr]=this}function P(){this.ptr=Qe(),b(P)[this.ptr]=this}function C(){this.ptr=$t(),b(C)[this.ptr]=this}function N(){this.ptr=Yt(),b(N)[this.ptr]=this}function F(){this.ptr=We(),b(F)[this.ptr]=this}function U(){throw"cannot construct a VoidPtr, no constructor in IDL"}function B(){this.ptr=je(),b(B)[this.ptr]=this}function z(){this.ptr=ur(),b(z)[this.ptr]=this}t=t||{};var L=void 0!==t?t:{},x=!1,k=!1;L.onRuntimeInitialized=function(){x=!0,k&&"function"==typeof L.onModuleLoaded&&L.onModuleLoaded(L)},L.onModuleParsed=function(){k=!0,x&&"function"==typeof L.onModuleLoaded&&L.onModuleLoaded(L)},L.isVersionSupported=function(t){return"string"==typeof t&&(t=t.split("."),!(2>t.length||3<t.length)&&(1==t[0]&&0<=t[1]&&3>=t[1]||!(0!=t[0]||10<t[1])))};var V,$={};for(V in L)L.hasOwnProperty(V)&&($[V]=L[V]);L.arguments=[],L.thisProgram="./this.program",L.quit=function(t,e){throw e},L.preRun=[],L.postRun=[];var Q=!1,H=!1,W=!1,q=!1;if(L.ENVIRONMENT)if("WEB"===L.ENVIRONMENT)Q=!0;else if("WORKER"===L.ENVIRONMENT)H=!0;else if("NODE"===L.ENVIRONMENT)W=!0;else{if("SHELL"!==L.ENVIRONMENT)throw Error("Module['ENVIRONMENT'] value is not valid. must be one of: WEB|WORKER|NODE|SHELL.");q=!0}else Q="object"==typeof window,H="function"==typeof importScripts,W="object"==typeof process&&"function"==typeof require&&!Q&&!H,q=!Q&&!W&&!H;if(W){var Y,X;L.read=function(t,e){return Y||(Y=require("fs")),X||(X=require("path")),t=X.normalize(t),t=Y.readFileSync(t),e?t:t.toString()},L.readBinary=function(t){return t=L.read(t,!0),t.buffer||(t=new Uint8Array(t)),r(t.buffer),t},1<process.argv.length&&(L.thisProgram=process.argv[1].replace(/\\/g,"/")),L.arguments=process.argv.slice(2),process.on("uncaughtException",function(t){if(!(t instanceof y))throw t}),process.on("unhandledRejection",function(t,e){process.exit(1)}),L.inspect=function(){return"[Emscripten Module object]"}}else q?("undefined"!=typeof read&&(L.read=function(t){return read(t)}),L.readBinary=function(t){return"function"==typeof readbuffer?new Uint8Array(readbuffer(t)):(t=read(t,"binary"),r("object"==typeof t),t)},"undefined"!=typeof scriptArgs?L.arguments=scriptArgs:void 0!==arguments&&(L.arguments=arguments),"function"==typeof quit&&(L.quit=function(t,e){quit(t)})):(Q||H)&&(L.read=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},H&&(L.readBinary=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),L.readAsync=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)},L.setWindowTitle=function(t){document.title=t});L.print="undefined"!=typeof console?console.log.bind(console):"undefined"!=typeof print?print:null,L.printErr="undefined"!=typeof printErr?printErr:"undefined"!=typeof console&&console.warn.bind(console)||L.print,L.print=L.print,L.printErr=L.printErr;for(V in $)$.hasOwnProperty(V)&&(L[V]=$[V]);$=void 0;var K=0,Z="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var J,tt,et,rt,nt,ot,it,_t,pt,at,ut=nt=ot=it=_t=pt=at=0,ct=!1;L.reallocBuffer||(L.reallocBuffer=function(t){try{if(ArrayBuffer.transfer)var e=ArrayBuffer.transfer(ft,t);else{var r=J;e=new ArrayBuffer(t),new Int8Array(e).set(r)}}catch(t){return!1}return!!Xr(e)&&e});try{var st=Function.prototype.call.bind(Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get);st(new ArrayBuffer(4))}catch(t){st=function(t){return t.byteLength}}var lt=L.TOTAL_STACK||5242880,yt=L.TOTAL_MEMORY||16777216;if(yt<lt&&L.printErr("TOTAL_MEMORY should be larger than TOTAL_STACK, was "+yt+"! (TOTAL_STACK="+lt+")"),L.buffer)var ft=L.buffer;else"object"==typeof WebAssembly&&"function"==typeof WebAssembly.Memory?(L.wasmMemory=new WebAssembly.Memory({initial:yt/65536}),ft=L.wasmMemory.buffer):ft=new ArrayBuffer(yt),L.buffer=ft;if(_(),rt[0]=1668509029,et[1]=25459,115!==tt[2]||99!==tt[3])throw"Runtime error: expected the system to be little-endian!";var mt=[],dt=[],bt=[],ht=[],At=[],Tt=!1,It=Math.floor,vt=0,Et=null,Dt=null;L.preloadedImages={},L.preloadedAudios={},function(){function t(){try{if(L.wasmBinary)return new Uint8Array(L.wasmBinary);if(L.readBinary)return L.readBinary(o);throw"on the web, we need the wasm binary to be preloaded and set on Module['wasmBinary']. emcc.py will do that for you when generating HTML (but not JS)"}catch(t){m(t)}}function e(){return L.wasmBinary||!Q&&!H||"function"!=typeof fetch?new Promise(function(e,r){e(t())}):fetch(o,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+o+"'";return t.arrayBuffer()}).catch(function(){return t()})}function r(t,r,n){function i(t,e){c=t.exports,c.memory&&(t=c.memory,e=L.buffer,t.byteLength<e.byteLength&&L.printErr("the new buffer in mergeMemory is smaller than the previous one. in native wasm, we should grow memory here"),e=new Int8Array(e),new Int8Array(t).set(e),L.buffer=ft=t,_()),L.asm=c,L.usingWasm=!0,vt--,L.monitorRunDependencies&&L.monitorRunDependencies(vt),0==vt&&(null!==Et&&(clearInterval(Et),Et=null),Dt&&(t=Dt,Dt=null,t()))}function p(t){i(t.instance,t.module)}function s(t){e().then(function(t){return WebAssembly.instantiate(t,u)}).then(t).catch(function(t){L.printErr("failed to asynchronously prepare wasm: "+t),m(t)})}if("object"!=typeof WebAssembly)return L.printErr("no native wasm support detected"),!1;if(!(L.wasmMemory instanceof WebAssembly.Memory))return L.printErr("no native wasm Memory in use"),!1;if(r.memory=L.wasmMemory,u.global={NaN:NaN,Infinity:1/0},u["global.Math"]=Math,u.env=r,vt++,L.monitorRunDependencies&&L.monitorRunDependencies(vt),L.instantiateWasm)try{return L.instantiateWasm(u,i)}catch(t){return L.printErr("Module.instantiateWasm callback failed with error: "+t),!1}return L.wasmBinary||"function"!=typeof WebAssembly.instantiateStreaming||a(o)||"function"!=typeof fetch?s(p):WebAssembly.instantiateStreaming(fetch(o,{credentials:"same-origin"}),u).then(p).catch(function(t){L.printErr("wasm streaming compile failed: "+t),L.printErr("falling back to ArrayBuffer instantiation"),s(p)}),{}}var n="draco_decoder.wast",o="draco_decoder.wasm",p="draco_decoder.temp.asm.js";"function"==typeof L.locateFile&&(a(n)||(n=L.locateFile(n)),a(o)||(o=L.locateFile(o)),a(p)||(p=L.locateFile(p)));var u={global:null,env:null,asm2wasm:{"f64-rem":function(t,e){return t%e},debugger:function(){}},parent:L},c=null;L.asmPreload=L.asm;var s=L.reallocBuffer;L.reallocBuffer=function(t){if("asmjs"===l)var e=s(t);else t:{t=i(t,L.usingWasm?65536:16777216);var r=L.buffer.byteLength;if(L.usingWasm)try{e=-1!==L.wasmMemory.grow((t-r)/65536)?L.buffer=L.wasmMemory.buffer:null;break t}catch(t){e=null;break t}e=void 0}return e};var l="";L.asm=function(t,e,n){if(!e.table){var o=L.wasmTableSize;void 0===o&&(o=1024);var i=L.wasmMaxTableSize;e.table="object"==typeof WebAssembly&&"function"==typeof WebAssembly.Table?void 0!==i?new WebAssembly.Table({initial:o,maximum:i,element:"anyfunc"}):new WebAssembly.Table({initial:o,element:"anyfunc"}):Array(o),L.wasmTable=e.table}return e.memoryBase||(e.memoryBase=L.STATIC_BASE),e.tableBase||(e.tableBase=0),(t=r(t,e,n))||m("no binaryen method succeeded. consider enabling more options, like interpreting, if you want that: https://github.com/kripken/emscripten/wiki/WebAssembly#binaryen-methods"),t}}(),ut=1024,nt=ut+19088,dt.push(),L.STATIC_BASE=ut,L.STATIC_BUMP=19088;var jt=nt;nt+=16;var gt={last:0,caught:[],infos:{},deAdjust:function(t){if(!t||gt.infos[t])return t;for(var e in gt.infos)if(gt.infos[e].adjusted===t)return e;return t},addRef:function(t){t&>.infos[t].refcount++},decRef:function(t){if(t){var e=gt.infos[t];r(0<e.refcount),e.refcount--,0!==e.refcount||e.rethrown||(e.destructor&&L.dynCall_vi(e.destructor,t),delete gt.infos[t],___cxa_free_exception(t))}},clearRef:function(t){t&&(gt.infos[t].refcount=0)}},St={varargs:0,get:function(t){return St.varargs+=4,rt[St.varargs-4>>2]},getStr:function(){return n(St.get())},get64:function(){var t=St.get(),e=St.get();return r(0<=t?0===e:-1===e),t},getZero:function(){r(0===St.get())}},Rt={},Gt=1;at=function(t){r(!ct);var e=nt;return nt=nt+4+15&-16,e}(),ot=it=e(nt),_t=ot+lt,pt=e(_t),rt[at>>2]=pt,ct=!0,L.wasmTableSize=492,L.wasmMaxTableSize=492,L.asmGlobalArg={},L.asmLibraryArg={abort:m,assert:r,enlargeMemory:function(){var t=L.usingWasm?65536:16777216,e=2147483648-t;if(rt[at>>2]>e)return!1;var r=yt;for(yt=Math.max(yt,16777216);yt<rt[at>>2];)yt=536870912>=yt?i(2*yt,t):Math.min(i((3*yt+2147483648)/4,t),e);return(t=L.reallocBuffer(yt))&&t.byteLength==yt?(L.buffer=ft=t,_(),!0):(yt=r,!1)},getTotalMemory:function(){return yt},abortOnCannotGrowMemory:function(){m("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+yt+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")},invoke_ii:function(t,e){try{return L.dynCall_ii(t,e)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;L.setThrew(1,0)}},invoke_iii:function(t,e,r){try{return L.dynCall_iii(t,e,r)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;L.setThrew(1,0)}},invoke_iiii:function(t,e,r,n){try{return L.dynCall_iiii(t,e,r,n)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;L.setThrew(1,0)}},invoke_iiiiiii:function(t,e,r,n,o,i,_){try{return L.dynCall_iiiiiii(t,e,r,n,o,i,_)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;L.setThrew(1,0)}},invoke_v:function(t){try{L.dynCall_v(t)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;L.setThrew(1,0)}},invoke_vi:function(t,e){try{L.dynCall_vi(t,e)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;L.setThrew(1,0)}},invoke_vii:function(t,e,r){try{L.dynCall_vii(t,e,r)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;L.setThrew(1,0)}},invoke_viii:function(t,e,r,n){try{L.dynCall_viii(t,e,r,n)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;L.setThrew(1,0)}},invoke_viiii:function(t,e,r,n,o){try{L.dynCall_viiii(t,e,r,n,o)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;L.setThrew(1,0)}},invoke_viiiii:function(t,e,r,n,o,i){try{L.dynCall_viiiii(t,e,r,n,o,i)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;L.setThrew(1,0)}},invoke_viiiiii:function(t,e,r,n,o,i,_){try{L.dynCall_viiiiii(t,e,r,n,o,i,_)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;L.setThrew(1,0)}},__ZSt18uncaught_exceptionv:u,___cxa_allocate_exception:function(t){return Kr(t)},___cxa_begin_catch:function(t){var e=gt.infos[t];return e&&!e.caught&&(e.caught=!0,u.uncaught_exception--),e&&(e.rethrown=!1),gt.caught.push(t),gt.addRef(gt.deAdjust(t)),t},___cxa_find_matching_catch:c,___cxa_pure_virtual:function(){throw K=!0,"Pure virtual function called!"},___cxa_throw:function(t,e,r){throw gt.infos[t]={ptr:t,adjusted:t,type:e,destructor:r,refcount:0,caught:!1,rethrown:!1},gt.last=t,"uncaught_exception"in u?u.uncaught_exception++:u.uncaught_exception=1,t+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."},___gxx_personality_v0:function(){},___resumeException:function(t){throw gt.last||(gt.last=t),t+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."},___setErrNo:function(t){return L.___errno_location&&(rt[L.___errno_location()>>2]=t),t},___syscall140:function(t,e){St.varargs=e;try{var r=St.getStreamFromFD();St.get();var n=St.get(),o=St.get(),i=St.get();return FS.llseek(r,n,i),rt[o>>2]=r.position,r.getdents&&0===n&&0===i&&(r.getdents=null),0}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||m(t),-t.errno}},___syscall146:s,___syscall54:function(t,e){return St.varargs=e,0},___syscall6:function(t,e){St.varargs=e;try{var r=St.getStreamFromFD();return FS.close(r),0}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||m(t),-t.errno}},_abort:function(){L.abort()},_emscripten_memcpy_big:function(t,e,r){return tt.set(tt.subarray(e,e+r),t),t},_llvm_floor_f64:It,_llvm_trap:function(){m("trap!")},_pthread_getspecific:function(t){return Rt[t]||0},_pthread_key_create:function(t,e){return 0==t?22:(rt[t>>2]=Gt,Rt[Gt]=0,Gt++,0)},_pthread_once:l,_pthread_setspecific:function(t,e){return t in Rt?(Rt[t]=e,0):22},flush_NO_FILESYSTEM:function(){var t=L._fflush;if(t&&t(0),t=s.printChar){var e=s.buffers;e[1].length&&t(1,10),e[2].length&&t(2,10)}},DYNAMICTOP_PTR:at,tempDoublePtr:jt,ABORT:K,STACKTOP:it,STACK_MAX:_t};var Mt=L.asm(L.asmGlobalArg,L.asmLibraryArg,ft);L.asm=Mt,L.___cxa_can_catch=function(){return L.asm.___cxa_can_catch.apply(null,arguments)},L.___cxa_is_pointer_type=function(){return L.asm.___cxa_is_pointer_type.apply(null,arguments)};var Ot=L._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return L.asm._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0.apply(null,arguments)},wt=L._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return L.asm._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1.apply(null,arguments)},Pt=L._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return L.asm._emscripten_bind_AttributeOctahedronTransform___destroy___0.apply(null,arguments)},Ct=L._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return L.asm._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0.apply(null,arguments)},Nt=L._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return L.asm._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0.apply(null,arguments)},Ft=L._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return L.asm._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1.apply(null,arguments)},Ut=L._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return L.asm._emscripten_bind_AttributeQuantizationTransform___destroy___0.apply(null,arguments)},Bt=L._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return L.asm._emscripten_bind_AttributeQuantizationTransform_min_value_1.apply(null,arguments)},zt=L._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return L.asm._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0.apply(null,arguments)},Lt=L._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return L.asm._emscripten_bind_AttributeQuantizationTransform_range_0.apply(null,arguments)},xt=L._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return L.asm._emscripten_bind_AttributeTransformData_AttributeTransformData_0.apply(null,arguments)},kt=L._emscripten_bind_AttributeTransformData___destroy___0=function(){return L.asm._emscripten_bind_AttributeTransformData___destroy___0.apply(null,arguments)},Vt=L._emscripten_bind_AttributeTransformData_transform_type_0=function(){return L.asm._emscripten_bind_AttributeTransformData_transform_type_0.apply(null,arguments)},$t=L._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return L.asm._emscripten_bind_DecoderBuffer_DecoderBuffer_0.apply(null,arguments)},Qt=L._emscripten_bind_DecoderBuffer_Init_2=function(){return L.asm._emscripten_bind_DecoderBuffer_Init_2.apply(null,arguments)},Ht=L._emscripten_bind_DecoderBuffer___destroy___0=function(){return L.asm._emscripten_bind_DecoderBuffer___destroy___0.apply(null,arguments)},Wt=L._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return L.asm._emscripten_bind_Decoder_DecodeBufferToMesh_2.apply(null,arguments)},qt=L._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return L.asm._emscripten_bind_Decoder_DecodeBufferToPointCloud_2.apply(null,arguments)},Yt=L._emscripten_bind_Decoder_Decoder_0=function(){return L.asm._emscripten_bind_Decoder_Decoder_0.apply(null,arguments)},Xt=L._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return L.asm._emscripten_bind_Decoder_GetAttributeByUniqueId_2.apply(null,arguments)},Kt=L._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return L.asm._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3.apply(null,arguments)},Zt=L._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return L.asm._emscripten_bind_Decoder_GetAttributeFloat_3.apply(null,arguments)},Jt=L._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return L.asm._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3.apply(null,arguments)},te=L._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return L.asm._emscripten_bind_Decoder_GetAttributeIdByName_2.apply(null,arguments)},ee=L._emscripten_bind_Decoder_GetAttributeId_2=function(){return L.asm._emscripten_bind_Decoder_GetAttributeId_2.apply(null,arguments)},re=L._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return L.asm._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3.apply(null,arguments)},ne=L._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return L.asm._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3.apply(null,arguments)},oe=L._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return L.asm._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3.apply(null,arguments)},ie=L._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return L.asm._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3.apply(null,arguments)},_e=L._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return L.asm._emscripten_bind_Decoder_GetAttributeMetadata_2.apply(null,arguments)},pe=L._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return L.asm._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3.apply(null,arguments)},ae=L._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return L.asm._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3.apply(null,arguments)},ue=L._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return L.asm._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3.apply(null,arguments)},ce=L._emscripten_bind_Decoder_GetAttribute_2=function(){return L.asm._emscripten_bind_Decoder_GetAttribute_2.apply(null,arguments)},se=L._emscripten_bind_Decoder_GetEncodedGeometryType_1=function(){return L.asm._emscripten_bind_Decoder_GetEncodedGeometryType_1.apply(null,arguments)},le=L._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return L.asm._emscripten_bind_Decoder_GetFaceFromMesh_3.apply(null,arguments)},ye=L._emscripten_bind_Decoder_GetMetadata_1=function(){return L.asm._emscripten_bind_Decoder_GetMetadata_1.apply(null,arguments)},fe=L._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return L.asm._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2.apply(null,arguments)},me=L._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return L.asm._emscripten_bind_Decoder_SkipAttributeTransform_1.apply(null,arguments)},de=L._emscripten_bind_Decoder___destroy___0=function(){return L.asm._emscripten_bind_Decoder___destroy___0.apply(null,arguments)},be=L._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return L.asm._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0.apply(null,arguments)},he=L._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return L.asm._emscripten_bind_DracoFloat32Array_GetValue_1.apply(null,arguments)},Ae=L._emscripten_bind_DracoFloat32Array___destroy___0=function(){return L.asm._emscripten_bind_DracoFloat32Array___destroy___0.apply(null,arguments)},Te=L._emscripten_bind_DracoFloat32Array_size_0=function(){return L.asm._emscripten_bind_DracoFloat32Array_size_0.apply(null,arguments)},Ie=L._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return L.asm._emscripten_bind_DracoInt16Array_DracoInt16Array_0.apply(null,arguments)},ve=L._emscripten_bind_DracoInt16Array_GetValue_1=function(){return L.asm._emscripten_bind_DracoInt16Array_GetValue_1.apply(null,arguments)},Ee=L._emscripten_bind_DracoInt16Array___destroy___0=function(){return L.asm._emscripten_bind_DracoInt16Array___destroy___0.apply(null,arguments)},De=L._emscripten_bind_DracoInt16Array_size_0=function(){return L.asm._emscripten_bind_DracoInt16Array_size_0.apply(null,arguments)},je=L._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return L.asm._emscripten_bind_DracoInt32Array_DracoInt32Array_0.apply(null,arguments)},ge=L._emscripten_bind_DracoInt32Array_GetValue_1=function(){return L.asm._emscripten_bind_DracoInt32Array_GetValue_1.apply(null,arguments)},Se=L._emscripten_bind_DracoInt32Array___destroy___0=function(){return L.asm._emscripten_bind_DracoInt32Array___destroy___0.apply(null,arguments)},Re=L._emscripten_bind_DracoInt32Array_size_0=function(){return L.asm._emscripten_bind_DracoInt32Array_size_0.apply(null,arguments)
},Ge=L._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return L.asm._emscripten_bind_DracoInt8Array_DracoInt8Array_0.apply(null,arguments)},Me=L._emscripten_bind_DracoInt8Array_GetValue_1=function(){return L.asm._emscripten_bind_DracoInt8Array_GetValue_1.apply(null,arguments)},Oe=L._emscripten_bind_DracoInt8Array___destroy___0=function(){return L.asm._emscripten_bind_DracoInt8Array___destroy___0.apply(null,arguments)},we=L._emscripten_bind_DracoInt8Array_size_0=function(){return L.asm._emscripten_bind_DracoInt8Array_size_0.apply(null,arguments)},Pe=L._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return L.asm._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0.apply(null,arguments)},Ce=L._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return L.asm._emscripten_bind_DracoUInt16Array_GetValue_1.apply(null,arguments)},Ne=L._emscripten_bind_DracoUInt16Array___destroy___0=function(){return L.asm._emscripten_bind_DracoUInt16Array___destroy___0.apply(null,arguments)},Fe=L._emscripten_bind_DracoUInt16Array_size_0=function(){return L.asm._emscripten_bind_DracoUInt16Array_size_0.apply(null,arguments)},Ue=L._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return L.asm._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0.apply(null,arguments)},Be=L._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return L.asm._emscripten_bind_DracoUInt32Array_GetValue_1.apply(null,arguments)},ze=L._emscripten_bind_DracoUInt32Array___destroy___0=function(){return L.asm._emscripten_bind_DracoUInt32Array___destroy___0.apply(null,arguments)},Le=L._emscripten_bind_DracoUInt32Array_size_0=function(){return L.asm._emscripten_bind_DracoUInt32Array_size_0.apply(null,arguments)},xe=L._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return L.asm._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0.apply(null,arguments)},ke=L._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return L.asm._emscripten_bind_DracoUInt8Array_GetValue_1.apply(null,arguments)},Ve=L._emscripten_bind_DracoUInt8Array___destroy___0=function(){return L.asm._emscripten_bind_DracoUInt8Array___destroy___0.apply(null,arguments)},$e=L._emscripten_bind_DracoUInt8Array_size_0=function(){return L.asm._emscripten_bind_DracoUInt8Array_size_0.apply(null,arguments)},Qe=L._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return L.asm._emscripten_bind_GeometryAttribute_GeometryAttribute_0.apply(null,arguments)},He=L._emscripten_bind_GeometryAttribute___destroy___0=function(){return L.asm._emscripten_bind_GeometryAttribute___destroy___0.apply(null,arguments)},We=L._emscripten_bind_Mesh_Mesh_0=function(){return L.asm._emscripten_bind_Mesh_Mesh_0.apply(null,arguments)},qe=L._emscripten_bind_Mesh___destroy___0=function(){return L.asm._emscripten_bind_Mesh___destroy___0.apply(null,arguments)},Ye=L._emscripten_bind_Mesh_num_attributes_0=function(){return L.asm._emscripten_bind_Mesh_num_attributes_0.apply(null,arguments)},Xe=L._emscripten_bind_Mesh_num_faces_0=function(){return L.asm._emscripten_bind_Mesh_num_faces_0.apply(null,arguments)},Ke=L._emscripten_bind_Mesh_num_points_0=function(){return L.asm._emscripten_bind_Mesh_num_points_0.apply(null,arguments)},Ze=L._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return L.asm._emscripten_bind_MetadataQuerier_GetDoubleEntry_2.apply(null,arguments)},Je=L._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return L.asm._emscripten_bind_MetadataQuerier_GetEntryName_2.apply(null,arguments)},tr=L._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return L.asm._emscripten_bind_MetadataQuerier_GetIntEntry_2.apply(null,arguments)},er=L._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return L.asm._emscripten_bind_MetadataQuerier_GetStringEntry_2.apply(null,arguments)},rr=L._emscripten_bind_MetadataQuerier_HasDoubleEntry_2=function(){return L.asm._emscripten_bind_MetadataQuerier_HasDoubleEntry_2.apply(null,arguments)},nr=L._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return L.asm._emscripten_bind_MetadataQuerier_HasEntry_2.apply(null,arguments)},or=L._emscripten_bind_MetadataQuerier_HasIntEntry_2=function(){return L.asm._emscripten_bind_MetadataQuerier_HasIntEntry_2.apply(null,arguments)},ir=L._emscripten_bind_MetadataQuerier_HasStringEntry_2=function(){return L.asm._emscripten_bind_MetadataQuerier_HasStringEntry_2.apply(null,arguments)},_r=L._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return L.asm._emscripten_bind_MetadataQuerier_MetadataQuerier_0.apply(null,arguments)},pr=L._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return L.asm._emscripten_bind_MetadataQuerier_NumEntries_1.apply(null,arguments)},ar=L._emscripten_bind_MetadataQuerier___destroy___0=function(){return L.asm._emscripten_bind_MetadataQuerier___destroy___0.apply(null,arguments)},ur=L._emscripten_bind_Metadata_Metadata_0=function(){return L.asm._emscripten_bind_Metadata_Metadata_0.apply(null,arguments)},cr=L._emscripten_bind_Metadata___destroy___0=function(){return L.asm._emscripten_bind_Metadata___destroy___0.apply(null,arguments)},sr=L._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return L.asm._emscripten_bind_PointAttribute_GetAttributeTransformData_0.apply(null,arguments)},lr=L._emscripten_bind_PointAttribute_PointAttribute_0=function(){return L.asm._emscripten_bind_PointAttribute_PointAttribute_0.apply(null,arguments)},yr=L._emscripten_bind_PointAttribute___destroy___0=function(){return L.asm._emscripten_bind_PointAttribute___destroy___0.apply(null,arguments)},fr=L._emscripten_bind_PointAttribute_attribute_type_0=function(){return L.asm._emscripten_bind_PointAttribute_attribute_type_0.apply(null,arguments)},mr=L._emscripten_bind_PointAttribute_byte_offset_0=function(){return L.asm._emscripten_bind_PointAttribute_byte_offset_0.apply(null,arguments)},dr=L._emscripten_bind_PointAttribute_byte_stride_0=function(){return L.asm._emscripten_bind_PointAttribute_byte_stride_0.apply(null,arguments)},br=L._emscripten_bind_PointAttribute_data_type_0=function(){return L.asm._emscripten_bind_PointAttribute_data_type_0.apply(null,arguments)},hr=L._emscripten_bind_PointAttribute_normalized_0=function(){return L.asm._emscripten_bind_PointAttribute_normalized_0.apply(null,arguments)},Ar=L._emscripten_bind_PointAttribute_num_components_0=function(){return L.asm._emscripten_bind_PointAttribute_num_components_0.apply(null,arguments)},Tr=L._emscripten_bind_PointAttribute_size_0=function(){return L.asm._emscripten_bind_PointAttribute_size_0.apply(null,arguments)},Ir=L._emscripten_bind_PointAttribute_unique_id_0=function(){return L.asm._emscripten_bind_PointAttribute_unique_id_0.apply(null,arguments)},vr=L._emscripten_bind_PointCloud_PointCloud_0=function(){return L.asm._emscripten_bind_PointCloud_PointCloud_0.apply(null,arguments)},Er=L._emscripten_bind_PointCloud___destroy___0=function(){return L.asm._emscripten_bind_PointCloud___destroy___0.apply(null,arguments)},Dr=L._emscripten_bind_PointCloud_num_attributes_0=function(){return L.asm._emscripten_bind_PointCloud_num_attributes_0.apply(null,arguments)},jr=L._emscripten_bind_PointCloud_num_points_0=function(){return L.asm._emscripten_bind_PointCloud_num_points_0.apply(null,arguments)},gr=L._emscripten_bind_Status___destroy___0=function(){return L.asm._emscripten_bind_Status___destroy___0.apply(null,arguments)},Sr=L._emscripten_bind_Status_code_0=function(){return L.asm._emscripten_bind_Status_code_0.apply(null,arguments)},Rr=L._emscripten_bind_Status_error_msg_0=function(){return L.asm._emscripten_bind_Status_error_msg_0.apply(null,arguments)},Gr=L._emscripten_bind_Status_ok_0=function(){return L.asm._emscripten_bind_Status_ok_0.apply(null,arguments)},Mr=L._emscripten_bind_VoidPtr___destroy___0=function(){return L.asm._emscripten_bind_VoidPtr___destroy___0.apply(null,arguments)},Or=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return L.asm._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM.apply(null,arguments)},wr=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return L.asm._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM.apply(null,arguments)},Pr=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return L.asm._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM.apply(null,arguments)},Cr=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return L.asm._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM.apply(null,arguments)},Nr=L._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return L.asm._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE.apply(null,arguments)},Fr=L._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return L.asm._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD.apply(null,arguments)},Ur=L._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return L.asm._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH.apply(null,arguments)},Br=L._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return L.asm._emscripten_enum_draco_GeometryAttribute_Type_COLOR.apply(null,arguments)},zr=L._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return L.asm._emscripten_enum_draco_GeometryAttribute_Type_GENERIC.apply(null,arguments)},Lr=L._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return L.asm._emscripten_enum_draco_GeometryAttribute_Type_INVALID.apply(null,arguments)},xr=L._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return L.asm._emscripten_enum_draco_GeometryAttribute_Type_NORMAL.apply(null,arguments)},kr=L._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return L.asm._emscripten_enum_draco_GeometryAttribute_Type_POSITION.apply(null,arguments)},Vr=L._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return L.asm._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD.apply(null,arguments)},$r=L._emscripten_enum_draco_StatusCode_ERROR=function(){return L.asm._emscripten_enum_draco_StatusCode_ERROR.apply(null,arguments)},Qr=L._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return L.asm._emscripten_enum_draco_StatusCode_INVALID_PARAMETER.apply(null,arguments)},Hr=L._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return L.asm._emscripten_enum_draco_StatusCode_IO_ERROR.apply(null,arguments)},Wr=L._emscripten_enum_draco_StatusCode_OK=function(){return L.asm._emscripten_enum_draco_StatusCode_OK.apply(null,arguments)},qr=L._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return L.asm._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION.apply(null,arguments)},Yr=L._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return L.asm._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION.apply(null,arguments)},Xr=L._emscripten_replace_memory=function(){return L.asm._emscripten_replace_memory.apply(null,arguments)};L._free=function(){return L.asm._free.apply(null,arguments)},L._llvm_bswap_i32=function(){return L.asm._llvm_bswap_i32.apply(null,arguments)};var Kr=L._malloc=function(){return L.asm._malloc.apply(null,arguments)};L._memcpy=function(){return L.asm._memcpy.apply(null,arguments)},L._memmove=function(){return L.asm._memmove.apply(null,arguments)},L._memset=function(){return L.asm._memset.apply(null,arguments)},L._sbrk=function(){return L.asm._sbrk.apply(null,arguments)},L.establishStackSpace=function(){return L.asm.establishStackSpace.apply(null,arguments)},L.getTempRet0=function(){return L.asm.getTempRet0.apply(null,arguments)},L.runPostSets=function(){return L.asm.runPostSets.apply(null,arguments)};var Zr=L.setTempRet0=function(){return L.asm.setTempRet0.apply(null,arguments)};if(L.setThrew=function(){return L.asm.setThrew.apply(null,arguments)},L.stackAlloc=function(){return L.asm.stackAlloc.apply(null,arguments)},L.stackRestore=function(){return L.asm.stackRestore.apply(null,arguments)},L.stackSave=function(){return L.asm.stackSave.apply(null,arguments)},L.dynCall_ii=function(){return L.asm.dynCall_ii.apply(null,arguments)},L.dynCall_iii=function(){return L.asm.dynCall_iii.apply(null,arguments)},L.dynCall_iiii=function(){return L.asm.dynCall_iiii.apply(null,arguments)},L.dynCall_iiiiiii=function(){return L.asm.dynCall_iiiiiii.apply(null,arguments)},L.dynCall_v=function(){return L.asm.dynCall_v.apply(null,arguments)},L.dynCall_vi=function(){return L.asm.dynCall_vi.apply(null,arguments)},L.dynCall_vii=function(){return L.asm.dynCall_vii.apply(null,arguments)},L.dynCall_viii=function(){return L.asm.dynCall_viii.apply(null,arguments)},L.dynCall_viiii=function(){return L.asm.dynCall_viiii.apply(null,arguments)},L.dynCall_viiiii=function(){return L.asm.dynCall_viiiii.apply(null,arguments)},L.dynCall_viiiiii=function(){return L.asm.dynCall_viiiiii.apply(null,arguments)},L.asm=Mt,L.then=function(t){if(L.calledRun)t(L);else{var e=L.onRuntimeInitialized;L.onRuntimeInitialized=function(){e&&e(),t(L)}}return L},y.prototype=Error(),y.prototype.constructor=y,Dt=function t(){L.calledRun||f(),L.calledRun||(Dt=t)},L.run=f,L.exit=function(t,e){e&&L.noExitRuntime&&0===t||(!L.noExitRuntime&&(K=!0,it=void 0,p(ht),L.onExit)&&L.onExit(t),W&&process.exit(t),L.quit(t,new y(t)))},L.abort=m,L.preInit)for("function"==typeof L.preInit&&(L.preInit=[L.preInit]);0<L.preInit.length;)L.preInit.pop()();L.noExitRuntime=!0,f(),d.prototype=Object.create(d.prototype),d.prototype.constructor=d,d.prototype.__class__=d,d.__cache__={},L.WrapperObject=d,L.getCache=b,L.wrapPointer=h,L.castObject=function(t,e){return h(t.ptr,e)},L.NULL=h(0),L.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete b(t.__class__)[t.ptr]},L.compare=function(t,e){return t.ptr===e.ptr},L.getPointer=function(t){return t.ptr},L.getClass=function(t){return t.__class__};var Jr={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Jr.needed){for(var t=0;t<Jr.temps.length;t++)L._free(Jr.temps[t]);Jr.temps.length=0,L._free(Jr.buffer),Jr.buffer=0,Jr.size+=Jr.needed,Jr.needed=0}Jr.buffer||(Jr.size+=128,Jr.buffer=L._malloc(Jr.size),r(Jr.buffer)),Jr.pos=0},alloc:function(t,e){return r(Jr.buffer),t=t.length*e.BYTES_PER_ELEMENT,t=t+7&-8,Jr.pos+t>=Jr.size?(r(0<t),Jr.needed+=t,e=L._malloc(t),Jr.temps.push(e)):(e=Jr.buffer+Jr.pos,Jr.pos+=t),e},copy:function(t,e,r){switch(e.BYTES_PER_ELEMENT){case 2:r>>=1;break;case 4:r>>=2;break;case 8:r>>=3}for(var n=0;n<t.length;n++)e[r+n]=t[n]}};return T.prototype=Object.create(d.prototype),T.prototype.constructor=T,T.prototype.__class__=T,T.__cache__={},L.Status=T,T.prototype.code=T.prototype.code=function(){return Sr(this.ptr)},T.prototype.ok=T.prototype.ok=function(){return!!Gr(this.ptr)},T.prototype.error_msg=T.prototype.error_msg=function(){return n(Rr(this.ptr))},T.prototype.__destroy__=T.prototype.__destroy__=function(){gr(this.ptr)},I.prototype=Object.create(d.prototype),I.prototype.constructor=I,I.prototype.__class__=I,I.__cache__={},L.DracoUInt16Array=I,I.prototype.GetValue=I.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ce(e,t)},I.prototype.size=I.prototype.size=function(){return Fe(this.ptr)},I.prototype.__destroy__=I.prototype.__destroy__=function(){Ne(this.ptr)},v.prototype=Object.create(d.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},L.PointCloud=v,v.prototype.num_attributes=v.prototype.num_attributes=function(){return Dr(this.ptr)},v.prototype.num_points=v.prototype.num_points=function(){return jr(this.ptr)},v.prototype.__destroy__=v.prototype.__destroy__=function(){Er(this.ptr)},E.prototype=Object.create(d.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},L.DracoUInt8Array=E,E.prototype.GetValue=E.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),ke(e,t)},E.prototype.size=E.prototype.size=function(){return $e(this.ptr)},E.prototype.__destroy__=E.prototype.__destroy__=function(){Ve(this.ptr)},D.prototype=Object.create(d.prototype),D.prototype.constructor=D,D.prototype.__class__=D,D.__cache__={},L.DracoUInt32Array=D,D.prototype.GetValue=D.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Be(e,t)},D.prototype.size=D.prototype.size=function(){return Le(this.ptr)},D.prototype.__destroy__=D.prototype.__destroy__=function(){ze(this.ptr)},j.prototype=Object.create(d.prototype),j.prototype.constructor=j,j.prototype.__class__=j,j.__cache__={},L.AttributeOctahedronTransform=j,j.prototype.InitFromAttribute=j.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!wt(e,t)},j.prototype.quantization_bits=j.prototype.quantization_bits=function(){return Ct(this.ptr)},j.prototype.__destroy__=j.prototype.__destroy__=function(){Pt(this.ptr)},g.prototype=Object.create(d.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},L.PointAttribute=g,g.prototype.size=g.p