@jdultra/threedtiles 9.0.13 → 9.0.15

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.
@@ -1 +0,0 @@
1
- var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.arrayIteratorImpl=function(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}},$jscomp.arrayIterator=function(t){return{next:$jscomp.arrayIteratorImpl(t)}},$jscomp.makeIterator=function(t){var e="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return e?e.call(t):$jscomp.arrayIterator(t)},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.getGlobal=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var r=t[e];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){return t==Array.prototype||t==Object.prototype||(t[e]=r.value),t},$jscomp.IS_SYMBOL_NATIVE="function"==typeof Symbol&&"symbol"==typeof Symbol("x"),$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(t,e){var r=$jscomp.propertyToPolyfillSymbol[e];return null==r?t[e]:void 0!==(r=t[r])?r:t[e]};$jscomp.polyfill=function(t,e,r,n){e&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(t,e,r,n):$jscomp.polyfillUnisolated(t,e,r,n))},$jscomp.polyfillUnisolated=function(t,e,r,n){for(r=$jscomp.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];if(!(o in r))return;r=r[o]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&$jscomp.defineProperty(r,t,{configurable:!0,writable:!0,value:e})},$jscomp.polyfillIsolated=function(t,e,r,n){var o=t.split(".");t=1===o.length,n=o[0],n=!t&&n in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var _=0;_<o.length-1;_++){var i=o[_];if(!(i in n))return;n=n[i]}o=o[o.length-1],null!=(e=e(r=$jscomp.IS_SYMBOL_NATIVE&&"es6"===r?n[o]:null))&&(t?$jscomp.defineProperty($jscomp.polyfills,o,{configurable:!0,writable:!0,value:e}):e!==r&&(void 0===$jscomp.propertyToPolyfillSymbol[o]&&(r=1e9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[o]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(o):$jscomp.POLYFILL_PREFIX+r+"$"+o),$jscomp.defineProperty(n,$jscomp.propertyToPolyfillSymbol[o],{configurable:!0,writable:!0,value:e})))},$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||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&void 0===$jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return t;e.prototype.asyncExecute=function(t){if(null==this.batch_){this.batch_=[];var e=this;this.asyncExecuteFunction((function(){e.executeBatch_()}))}this.batch_.push(t)};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];t[e]=null;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_=[],this.isRejectionHandled_=!1;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,2===this.state_&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},o.prototype.scheduleUnhandledRejectionCheck_=function(){var t=this;n((function(){if(t.notifyUnhandledRejection_()){var e=$jscomp.global.console;void 0!==e&&e.error(t.result_)}}),1)},o.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var t=$jscomp.global.CustomEvent,e=$jscomp.global.Event,r=$jscomp.global.dispatchEvent;return void 0===r||("function"==typeof t?t=new t("unhandledrejection",{cancelable:!0}):"function"==typeof e?t=new e("unhandledrejection",{cancelable:!0}):(t=$jscomp.global.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,t),t.promise=this,t.reason=this.result_,r(t))},o.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var t=0;t<this.onSettledCallbacks_.length;++t)_.asyncExecute(this.onSettledCallbacks_[t]);this.onSettledCallbacks_=null}};var _=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){_(t)}}:e}var n,_,i=new o((function(t,e){n=t,_=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_?_.asyncExecute(r):this.onSettledCallbacks_.push(r),this.isRejectionHandled_=!0},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),_=o.next();!_.done;_=o.next())r(_.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){function _(e){return function(r){i[e]=r,0==--p&&t(i)}}var i=[],p=0;do{i.push(void 0),p++,r(n.value).callWhenSettled_(_(i.length-1),o),n=e.next()}while(!n.done)}))},o}),"es6","es3"),$jscomp.owns=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(t,e){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(n)for(var o in n)$jscomp.owns(n,o)&&(t[o]=n[o])}return t},$jscomp.polyfill("Object.assign",(function(t){return t||$jscomp.assign}),"es6","es3"),$jscomp.checkStringArgs=function(t,e,r){if(null==t)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return t+""},$jscomp.polyfill("String.prototype.startsWith",(function(t){return t||function(t,e){var r=$jscomp.checkStringArgs(this,t,"startsWith");t+="";var n=r.length,o=t.length;e=Math.max(0,Math.min(0|e,r.length));for(var _=0;_<o&&e<n;)if(r[e++]!=t[_++])return!1;return _>=o}}),"es6","es3"),$jscomp.polyfill("Array.prototype.copyWithin",(function(t){function e(t){return 1/0===(t=Number(t))||-1/0===t?t:0|t}return t||function(t,r,n){var o=this.length;if(t=e(t),r=e(r),n=void 0===n?o:e(n),t=0>t?Math.max(o+t,0):Math.min(t,o),r=0>r?Math.max(o+r,0):Math.min(r,o),n=0>n?Math.max(o+n,0):Math.min(n,o),t<r)for(;r<n;)r in this?this[t++]=this[r++]:(delete this[t++],r++);else for(t+=(n=Math.min(n,o+r-t))-r;n>r;)--n in this?this[--t]=this[n]:delete this[--t];return this}}),"es6","es3"),$jscomp.typedArrayCopyWithin=function(t){return t||Array.prototype.copyWithin},$jscomp.polyfill("Int8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8ClampedArray.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float64Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");var DracoDecoderModule=function(){var t="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(t=t||__filename),function(e){function r(t,e){if(t){var r=Z,n=t+e;for(e=t;r[e]&&!(e>=n);)++e;if(16<e-t&&r.buffer&&ot)r=ot.decode(r.subarray(t,e));else{for(n="";t<e;){var o=r[t++];if(128&o){var _=63&r[t++];if(192==(224&o))n+=String.fromCharCode((31&o)<<6|_);else{var i=63&r[t++];65536>(o=224==(240&o)?(15&o)<<12|_<<6|i:(7&o)<<18|_<<12|i<<6|63&r[t++])?n+=String.fromCharCode(o):(o-=65536,n+=String.fromCharCode(55296|o>>10,56320|1023&o))}}else n+=String.fromCharCode(o)}r=n}}else r="";return r}function n(){var t=K.buffer;L.HEAP8=J=new Int8Array(t),L.HEAP16=new Int16Array(t),L.HEAP32=tt=new Int32Array(t),L.HEAPU8=Z=new Uint8Array(t),L.HEAPU16=new Uint16Array(t),L.HEAPU32=et=new Uint32Array(t),L.HEAPF32=new Float32Array(t),L.HEAPF64=new Float64Array(t)}function o(t){throw L.onAbort&&L.onAbort(t),X(t="Aborted("+t+")"),nt=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),F(t),t}function _(t){try{if(t==yt&&q)return new Uint8Array(q);if(Y)return Y(t);throw"both async and sync fetching of the wasm failed"}catch(t){o(t)}}function i(t){for(;0<t.length;)t.shift()(L)}function p(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){et[this.ptr+4>>2]=t},this.get_type=function(){return et[this.ptr+4>>2]},this.set_destructor=function(t){et[this.ptr+8>>2]=t},this.get_destructor=function(){return et[this.ptr+8>>2]},this.set_refcount=function(t){tt[this.ptr>>2]=t},this.set_caught=function(t){J[this.ptr+12>>0]=t?1:0},this.get_caught=function(){return 0!=J[this.ptr+12>>0]},this.set_rethrown=function(t){J[this.ptr+13>>0]=t?1:0},this.get_rethrown=function(){return 0!=J[this.ptr+13>>0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){tt[this.ptr>>2]+=1},this.release_ref=function(){var t=tt[this.ptr>>2];return tt[this.ptr>>2]=t-1,1===t},this.set_adjusted_ptr=function(t){et[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return et[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Xr(this.get_type()))return et[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}function a(){function t(){if(!qr&&(qr=!0,L.calledRun=!0,!nt)){if(at=!0,i(it),g(L),L.onRuntimeInitialized&&L.onRuntimeInitialized(),L.postRun)for("function"==typeof L.postRun&&(L.postRun=[L.postRun]);L.postRun.length;)pt.unshift(L.postRun.shift());i(pt)}}if(!(0<ct)){if(L.preRun)for("function"==typeof L.preRun&&(L.preRun=[L.preRun]);L.preRun.length;)_t.unshift(L.preRun.shift());i(_t),0<ct||(L.setStatus?(L.setStatus("Running..."),setTimeout((function(){setTimeout((function(){L.setStatus("")}),1),t()}),1)):t())}}function c(){}function s(t){return(t||c).__cache__}function u(t,e){var r=s(e),n=r[t];return n||((n=Object.create((e||c).prototype)).ptr=t,r[t]=n)}function y(t){if("string"==typeof t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);127>=n?e++:2047>=n?e+=2:55296<=n&&57343>=n?(e+=4,++r):e+=3}if(r=0,0<(n=(e=Array(e+1)).length)){n=r+n-1;for(var o=0;o<t.length;++o){var _=t.charCodeAt(o);if(55296<=_&&57343>=_&&(_=65536+((1023&_)<<10)|1023&t.charCodeAt(++o)),127>=_){if(r>=n)break;e[r++]=_}else{if(2047>=_){if(r+1>=n)break;e[r++]=192|_>>6}else{if(65535>=_){if(r+2>=n)break;e[r++]=224|_>>12}else{if(r+3>=n)break;e[r++]=240|_>>18,e[r++]=128|_>>12&63}e[r++]=128|_>>6&63}e[r++]=128|63&_}}e[r]=0}return t=Kr.alloc(e,J),Kr.copy(e,J,t),t}return t}function l(t){if("object"==typeof t){var e=Kr.alloc(t,J);return Kr.copy(t,J,e),e}return t}function f(){throw"cannot construct a VoidPtr, no constructor in IDL"}function m(){this.ptr=mt(),s(m)[this.ptr]=this}function d(){this.ptr=ht(),s(d)[this.ptr]=this}function b(){this.ptr=Dt(),s(b)[this.ptr]=this}function h(){this.ptr=jt(),s(h)[this.ptr]=this}function A(){this.ptr=gt(),s(A)[this.ptr]=this}function T(){this.ptr=zt(),s(T)[this.ptr]=this}function D(){this.ptr=kt(),s(D)[this.ptr]=this}function I(){this.ptr=Ht(),s(I)[this.ptr]=this}function j(){this.ptr=Zt(),s(j)[this.ptr]=this}function E(){throw"cannot construct a Status, no constructor in IDL"}function G(){this.ptr=_e(),s(G)[this.ptr]=this}function O(){this.ptr=ce(),s(O)[this.ptr]=this}function v(){this.ptr=le(),s(v)[this.ptr]=this}function P(){this.ptr=be(),s(P)[this.ptr]=this}function R(){this.ptr=De(),s(R)[this.ptr]=this}function S(){this.ptr=Ge(),s(S)[this.ptr]=this}function M(){this.ptr=Re(),s(M)[this.ptr]=this}function N(){this.ptr=Ue(),s(N)[this.ptr]=this}function U(){this.ptr=Be(),s(U)[this.ptr]=this}var g,F,L=void 0!==(e=void 0===e?{}:e)?e:{};L.ready=new Promise((function(t,e){g=t,F=e}));var C=!1,$=!1;L.onRuntimeInitialized=function(){C=!0,$&&"function"==typeof L.onModuleLoaded&&L.onModuleLoaded(L)},L.onModuleParsed=function(){$=!0,C&&"function"==typeof L.onModuleLoaded&&L.onModuleLoaded(L)},L.isVersionSupported=function(t){return"string"==typeof t&&!(2>(t=t.split(".")).length||3<t.length)&&(1==t[0]&&0<=t[1]&&5>=t[1]||!(0!=t[0]||10<t[1]))};var w=Object.assign({},L),z="object"==typeof window,V="function"==typeof importScripts,B="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,W="";if(B){var k=require("fs"),x=require("path");W=V?x.dirname(W)+"/":__dirname+"/";var Q=function(t,e){return t=t.startsWith("file://")?new URL(t):x.normalize(t),k.readFileSync(t,e?void 0:"utf8")},Y=function(t){return(t=Q(t,!0)).buffer||(t=new Uint8Array(t)),t},H=function(t,e,r){t=t.startsWith("file://")?new URL(t):x.normalize(t),k.readFile(t,(function(t,n){t?r(t):e(n.buffer)}))};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),L.inspect=function(){return"[Emscripten Module object]"}}else(z||V)&&(V?W=self.location.href:"undefined"!=typeof document&&document.currentScript&&(W=document.currentScript.src),t&&(W=t),W=0!==W.indexOf("blob:")?W.substr(0,W.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Q=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},V&&(Y=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),H=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.print||console.log.bind(console);var q,X=L.printErr||console.warn.bind(console);Object.assign(L,w),w=null,L.wasmBinary&&(q=L.wasmBinary),"object"!=typeof WebAssembly&&o("no native wasm support detected");var K,J,Z,tt,et,rt,nt=!1,ot="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,_t=[],it=[],pt=[],at=!1,ct=0,st=null,ut=null,yt="draco_decoder_gltf.wasm";yt.startsWith("data:application/octet-stream;base64,")||(rt=yt,yt=L.locateFile?L.locateFile(rt,W):W+rt);var lt={b:function(t,e,r){throw new p(t).init(e,r),t},a:function(){o("")},d:function(t,e,r){Z.copyWithin(t,e,e+r)},c:function(t){var e=Z.length;if(2147483648<(t>>>=0))return!1;for(var r=1;4>=r;r*=2){var o=e*(1+.2/r);o=Math.min(o,t+100663296);var _=Math;o=Math.max(t,o),_=_.min.call(_,2147483648,o+(65536-o%65536)%65536);t:{o=K.buffer;try{K.grow(_-o.byteLength+65535>>>16),n();var i=1;break t}catch(t){}i=void 0}if(i)return!0}return!1}};!function(){function t(t,e){L.asm=t.exports,K=L.asm.e,n(),it.unshift(L.asm.f),ct--,L.monitorRunDependencies&&L.monitorRunDependencies(ct),0==ct&&(null!==st&&(clearInterval(st),st=null),ut&&(t=ut,ut=null,t()))}function e(e){t(e.instance)}function r(t){return function(){if(!q&&(z||V)){if("function"==typeof fetch&&!yt.startsWith("file://"))return fetch(yt,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+yt+"'";return t.arrayBuffer()})).catch((function(){return _(yt)}));if(H)return new Promise((function(t,e){H(yt,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return _(yt)}))}().then((function(t){return WebAssembly.instantiate(t,i)})).then((function(t){return t})).then(t,(function(t){X("failed to asynchronously prepare wasm: "+t),o(t)}))}var i={a:lt};if(ct++,L.monitorRunDependencies&&L.monitorRunDependencies(ct),L.instantiateWasm)try{return L.instantiateWasm(i,t)}catch(t){X("Module.instantiateWasm callback failed with error: "+t),F(t)}(q||"function"!=typeof WebAssembly.instantiateStreaming||yt.startsWith("data:application/octet-stream;base64,")||yt.startsWith("file://")||B||"function"!=typeof fetch?r(e):fetch(yt,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,i).then(e,(function(t){return X("wasm streaming compile failed: "+t),X("falling back to ArrayBuffer instantiation"),r(e)}))}))).catch(F)}();var ft=L._emscripten_bind_VoidPtr___destroy___0=function(){return(ft=L._emscripten_bind_VoidPtr___destroy___0=L.asm.h).apply(null,arguments)},mt=L._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(mt=L._emscripten_bind_DecoderBuffer_DecoderBuffer_0=L.asm.i).apply(null,arguments)},dt=L._emscripten_bind_DecoderBuffer_Init_2=function(){return(dt=L._emscripten_bind_DecoderBuffer_Init_2=L.asm.j).apply(null,arguments)},bt=L._emscripten_bind_DecoderBuffer___destroy___0=function(){return(bt=L._emscripten_bind_DecoderBuffer___destroy___0=L.asm.k).apply(null,arguments)},ht=L._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(ht=L._emscripten_bind_AttributeTransformData_AttributeTransformData_0=L.asm.l).apply(null,arguments)},At=L._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(At=L._emscripten_bind_AttributeTransformData_transform_type_0=L.asm.m).apply(null,arguments)},Tt=L._emscripten_bind_AttributeTransformData___destroy___0=function(){return(Tt=L._emscripten_bind_AttributeTransformData___destroy___0=L.asm.n).apply(null,arguments)},Dt=L._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Dt=L._emscripten_bind_GeometryAttribute_GeometryAttribute_0=L.asm.o).apply(null,arguments)},It=L._emscripten_bind_GeometryAttribute___destroy___0=function(){return(It=L._emscripten_bind_GeometryAttribute___destroy___0=L.asm.p).apply(null,arguments)},jt=L._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(jt=L._emscripten_bind_PointAttribute_PointAttribute_0=L.asm.q).apply(null,arguments)},Et=L._emscripten_bind_PointAttribute_size_0=function(){return(Et=L._emscripten_bind_PointAttribute_size_0=L.asm.r).apply(null,arguments)},Gt=L._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(Gt=L._emscripten_bind_PointAttribute_GetAttributeTransformData_0=L.asm.s).apply(null,arguments)},Ot=L._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Ot=L._emscripten_bind_PointAttribute_attribute_type_0=L.asm.t).apply(null,arguments)},vt=L._emscripten_bind_PointAttribute_data_type_0=function(){return(vt=L._emscripten_bind_PointAttribute_data_type_0=L.asm.u).apply(null,arguments)},Pt=L._emscripten_bind_PointAttribute_num_components_0=function(){return(Pt=L._emscripten_bind_PointAttribute_num_components_0=L.asm.v).apply(null,arguments)},Rt=L._emscripten_bind_PointAttribute_normalized_0=function(){return(Rt=L._emscripten_bind_PointAttribute_normalized_0=L.asm.w).apply(null,arguments)},St=L._emscripten_bind_PointAttribute_byte_stride_0=function(){return(St=L._emscripten_bind_PointAttribute_byte_stride_0=L.asm.x).apply(null,arguments)},Mt=L._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Mt=L._emscripten_bind_PointAttribute_byte_offset_0=L.asm.y).apply(null,arguments)},Nt=L._emscripten_bind_PointAttribute_unique_id_0=function(){return(Nt=L._emscripten_bind_PointAttribute_unique_id_0=L.asm.z).apply(null,arguments)},Ut=L._emscripten_bind_PointAttribute___destroy___0=function(){return(Ut=L._emscripten_bind_PointAttribute___destroy___0=L.asm.A).apply(null,arguments)},gt=L._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(gt=L._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=L.asm.B).apply(null,arguments)},Ft=L._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(Ft=L._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=L.asm.C).apply(null,arguments)},Lt=L._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(Lt=L._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=L.asm.D).apply(null,arguments)},Ct=L._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(Ct=L._emscripten_bind_AttributeQuantizationTransform_min_value_1=L.asm.E).apply(null,arguments)},$t=L._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return($t=L._emscripten_bind_AttributeQuantizationTransform_range_0=L.asm.F).apply(null,arguments)},wt=L._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(wt=L._emscripten_bind_AttributeQuantizationTransform___destroy___0=L.asm.G).apply(null,arguments)},zt=L._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(zt=L._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=L.asm.H).apply(null,arguments)},Vt=L._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(Vt=L._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=L.asm.I).apply(null,arguments)},Bt=L._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Bt=L._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=L.asm.J).apply(null,arguments)},Wt=L._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Wt=L._emscripten_bind_AttributeOctahedronTransform___destroy___0=L.asm.K).apply(null,arguments)},kt=L._emscripten_bind_PointCloud_PointCloud_0=function(){return(kt=L._emscripten_bind_PointCloud_PointCloud_0=L.asm.L).apply(null,arguments)},xt=L._emscripten_bind_PointCloud_num_attributes_0=function(){return(xt=L._emscripten_bind_PointCloud_num_attributes_0=L.asm.M).apply(null,arguments)},Qt=L._emscripten_bind_PointCloud_num_points_0=function(){return(Qt=L._emscripten_bind_PointCloud_num_points_0=L.asm.N).apply(null,arguments)},Yt=L._emscripten_bind_PointCloud___destroy___0=function(){return(Yt=L._emscripten_bind_PointCloud___destroy___0=L.asm.O).apply(null,arguments)},Ht=L._emscripten_bind_Mesh_Mesh_0=function(){return(Ht=L._emscripten_bind_Mesh_Mesh_0=L.asm.P).apply(null,arguments)},qt=L._emscripten_bind_Mesh_num_faces_0=function(){return(qt=L._emscripten_bind_Mesh_num_faces_0=L.asm.Q).apply(null,arguments)},Xt=L._emscripten_bind_Mesh_num_attributes_0=function(){return(Xt=L._emscripten_bind_Mesh_num_attributes_0=L.asm.R).apply(null,arguments)},Kt=L._emscripten_bind_Mesh_num_points_0=function(){return(Kt=L._emscripten_bind_Mesh_num_points_0=L.asm.S).apply(null,arguments)},Jt=L._emscripten_bind_Mesh___destroy___0=function(){return(Jt=L._emscripten_bind_Mesh___destroy___0=L.asm.T).apply(null,arguments)},Zt=L._emscripten_bind_Metadata_Metadata_0=function(){return(Zt=L._emscripten_bind_Metadata_Metadata_0=L.asm.U).apply(null,arguments)},te=L._emscripten_bind_Metadata___destroy___0=function(){return(te=L._emscripten_bind_Metadata___destroy___0=L.asm.V).apply(null,arguments)},ee=L._emscripten_bind_Status_code_0=function(){return(ee=L._emscripten_bind_Status_code_0=L.asm.W).apply(null,arguments)},re=L._emscripten_bind_Status_ok_0=function(){return(re=L._emscripten_bind_Status_ok_0=L.asm.X).apply(null,arguments)},ne=L._emscripten_bind_Status_error_msg_0=function(){return(ne=L._emscripten_bind_Status_error_msg_0=L.asm.Y).apply(null,arguments)},oe=L._emscripten_bind_Status___destroy___0=function(){return(oe=L._emscripten_bind_Status___destroy___0=L.asm.Z).apply(null,arguments)},_e=L._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(_e=L._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=L.asm._).apply(null,arguments)},ie=L._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(ie=L._emscripten_bind_DracoFloat32Array_GetValue_1=L.asm.$).apply(null,arguments)},pe=L._emscripten_bind_DracoFloat32Array_size_0=function(){return(pe=L._emscripten_bind_DracoFloat32Array_size_0=L.asm.aa).apply(null,arguments)},ae=L._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(ae=L._emscripten_bind_DracoFloat32Array___destroy___0=L.asm.ba).apply(null,arguments)},ce=L._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(ce=L._emscripten_bind_DracoInt8Array_DracoInt8Array_0=L.asm.ca).apply(null,arguments)},se=L._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(se=L._emscripten_bind_DracoInt8Array_GetValue_1=L.asm.da).apply(null,arguments)},ue=L._emscripten_bind_DracoInt8Array_size_0=function(){return(ue=L._emscripten_bind_DracoInt8Array_size_0=L.asm.ea).apply(null,arguments)},ye=L._emscripten_bind_DracoInt8Array___destroy___0=function(){return(ye=L._emscripten_bind_DracoInt8Array___destroy___0=L.asm.fa).apply(null,arguments)},le=L._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(le=L._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=L.asm.ga).apply(null,arguments)},fe=L._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(fe=L._emscripten_bind_DracoUInt8Array_GetValue_1=L.asm.ha).apply(null,arguments)},me=L._emscripten_bind_DracoUInt8Array_size_0=function(){return(me=L._emscripten_bind_DracoUInt8Array_size_0=L.asm.ia).apply(null,arguments)},de=L._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(de=L._emscripten_bind_DracoUInt8Array___destroy___0=L.asm.ja).apply(null,arguments)},be=L._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(be=L._emscripten_bind_DracoInt16Array_DracoInt16Array_0=L.asm.ka).apply(null,arguments)},he=L._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(he=L._emscripten_bind_DracoInt16Array_GetValue_1=L.asm.la).apply(null,arguments)},Ae=L._emscripten_bind_DracoInt16Array_size_0=function(){return(Ae=L._emscripten_bind_DracoInt16Array_size_0=L.asm.ma).apply(null,arguments)},Te=L._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Te=L._emscripten_bind_DracoInt16Array___destroy___0=L.asm.na).apply(null,arguments)},De=L._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(De=L._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=L.asm.oa).apply(null,arguments)},Ie=L._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Ie=L._emscripten_bind_DracoUInt16Array_GetValue_1=L.asm.pa).apply(null,arguments)},je=L._emscripten_bind_DracoUInt16Array_size_0=function(){return(je=L._emscripten_bind_DracoUInt16Array_size_0=L.asm.qa).apply(null,arguments)},Ee=L._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Ee=L._emscripten_bind_DracoUInt16Array___destroy___0=L.asm.ra).apply(null,arguments)},Ge=L._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Ge=L._emscripten_bind_DracoInt32Array_DracoInt32Array_0=L.asm.sa).apply(null,arguments)},Oe=L._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Oe=L._emscripten_bind_DracoInt32Array_GetValue_1=L.asm.ta).apply(null,arguments)},ve=L._emscripten_bind_DracoInt32Array_size_0=function(){return(ve=L._emscripten_bind_DracoInt32Array_size_0=L.asm.ua).apply(null,arguments)},Pe=L._emscripten_bind_DracoInt32Array___destroy___0=function(){return(Pe=L._emscripten_bind_DracoInt32Array___destroy___0=L.asm.va).apply(null,arguments)},Re=L._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Re=L._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=L.asm.wa).apply(null,arguments)},Se=L._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(Se=L._emscripten_bind_DracoUInt32Array_GetValue_1=L.asm.xa).apply(null,arguments)},Me=L._emscripten_bind_DracoUInt32Array_size_0=function(){return(Me=L._emscripten_bind_DracoUInt32Array_size_0=L.asm.ya).apply(null,arguments)},Ne=L._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(Ne=L._emscripten_bind_DracoUInt32Array___destroy___0=L.asm.za).apply(null,arguments)},Ue=L._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Ue=L._emscripten_bind_MetadataQuerier_MetadataQuerier_0=L.asm.Aa).apply(null,arguments)},ge=L._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(ge=L._emscripten_bind_MetadataQuerier_HasEntry_2=L.asm.Ba).apply(null,arguments)},Fe=L._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(Fe=L._emscripten_bind_MetadataQuerier_GetIntEntry_2=L.asm.Ca).apply(null,arguments)},Le=L._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(Le=L._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=L.asm.Da).apply(null,arguments)},Ce=L._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(Ce=L._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=L.asm.Ea).apply(null,arguments)},$e=L._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return($e=L._emscripten_bind_MetadataQuerier_GetStringEntry_2=L.asm.Fa).apply(null,arguments)},we=L._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(we=L._emscripten_bind_MetadataQuerier_NumEntries_1=L.asm.Ga).apply(null,arguments)},ze=L._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(ze=L._emscripten_bind_MetadataQuerier_GetEntryName_2=L.asm.Ha).apply(null,arguments)},Ve=L._emscripten_bind_MetadataQuerier___destroy___0=function(){return(Ve=L._emscripten_bind_MetadataQuerier___destroy___0=L.asm.Ia).apply(null,arguments)},Be=L._emscripten_bind_Decoder_Decoder_0=function(){return(Be=L._emscripten_bind_Decoder_Decoder_0=L.asm.Ja).apply(null,arguments)},We=L._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(We=L._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=L.asm.Ka).apply(null,arguments)},ke=L._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(ke=L._emscripten_bind_Decoder_DecodeArrayToMesh_3=L.asm.La).apply(null,arguments)},xe=L._emscripten_bind_Decoder_GetAttributeId_2=function(){return(xe=L._emscripten_bind_Decoder_GetAttributeId_2=L.asm.Ma).apply(null,arguments)},Qe=L._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(Qe=L._emscripten_bind_Decoder_GetAttributeIdByName_2=L.asm.Na).apply(null,arguments)},Ye=L._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(Ye=L._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=L.asm.Oa).apply(null,arguments)},He=L._emscripten_bind_Decoder_GetAttribute_2=function(){return(He=L._emscripten_bind_Decoder_GetAttribute_2=L.asm.Pa).apply(null,arguments)},qe=L._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(qe=L._emscripten_bind_Decoder_GetAttributeByUniqueId_2=L.asm.Qa).apply(null,arguments)},Xe=L._emscripten_bind_Decoder_GetMetadata_1=function(){return(Xe=L._emscripten_bind_Decoder_GetMetadata_1=L.asm.Ra).apply(null,arguments)},Ke=L._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(Ke=L._emscripten_bind_Decoder_GetAttributeMetadata_2=L.asm.Sa).apply(null,arguments)},Je=L._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(Je=L._emscripten_bind_Decoder_GetFaceFromMesh_3=L.asm.Ta).apply(null,arguments)},Ze=L._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(Ze=L._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=L.asm.Ua).apply(null,arguments)},tr=L._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(tr=L._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=L.asm.Va).apply(null,arguments)},er=L._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(er=L._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=L.asm.Wa).apply(null,arguments)},rr=L._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(rr=L._emscripten_bind_Decoder_GetAttributeFloat_3=L.asm.Xa).apply(null,arguments)},nr=L._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(nr=L._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=L.asm.Ya).apply(null,arguments)},or=L._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(or=L._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=L.asm.Za).apply(null,arguments)},_r=L._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(_r=L._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=L.asm._a).apply(null,arguments)},ir=L._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(ir=L._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=L.asm.$a).apply(null,arguments)},pr=L._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(pr=L._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=L.asm.ab).apply(null,arguments)},ar=L._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(ar=L._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=L.asm.bb).apply(null,arguments)},cr=L._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(cr=L._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=L.asm.cb).apply(null,arguments)},sr=L._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(sr=L._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=L.asm.db).apply(null,arguments)},ur=L._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(ur=L._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=L.asm.eb).apply(null,arguments)},yr=L._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(yr=L._emscripten_bind_Decoder_SkipAttributeTransform_1=L.asm.fb).apply(null,arguments)},lr=L._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(lr=L._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=L.asm.gb).apply(null,arguments)},fr=L._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(fr=L._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=L.asm.hb).apply(null,arguments)},mr=L._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(mr=L._emscripten_bind_Decoder_DecodeBufferToMesh_2=L.asm.ib).apply(null,arguments)},dr=L._emscripten_bind_Decoder___destroy___0=function(){return(dr=L._emscripten_bind_Decoder___destroy___0=L.asm.jb).apply(null,arguments)},br=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(br=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=L.asm.kb).apply(null,arguments)},hr=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(hr=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=L.asm.lb).apply(null,arguments)},Ar=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Ar=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=L.asm.mb).apply(null,arguments)},Tr=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Tr=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=L.asm.nb).apply(null,arguments)},Dr=L._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Dr=L._emscripten_enum_draco_GeometryAttribute_Type_INVALID=L.asm.ob).apply(null,arguments)},Ir=L._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Ir=L._emscripten_enum_draco_GeometryAttribute_Type_POSITION=L.asm.pb).apply(null,arguments)},jr=L._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(jr=L._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=L.asm.qb).apply(null,arguments)},Er=L._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Er=L._emscripten_enum_draco_GeometryAttribute_Type_COLOR=L.asm.rb).apply(null,arguments)},Gr=L._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Gr=L._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=L.asm.sb).apply(null,arguments)},Or=L._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(Or=L._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=L.asm.tb).apply(null,arguments)},vr=L._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(vr=L._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=L.asm.ub).apply(null,arguments)},Pr=L._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Pr=L._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=L.asm.vb).apply(null,arguments)},Rr=L._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(Rr=L._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=L.asm.wb).apply(null,arguments)},Sr=L._emscripten_enum_draco_DataType_DT_INVALID=function(){return(Sr=L._emscripten_enum_draco_DataType_DT_INVALID=L.asm.xb).apply(null,arguments)},Mr=L._emscripten_enum_draco_DataType_DT_INT8=function(){return(Mr=L._emscripten_enum_draco_DataType_DT_INT8=L.asm.yb).apply(null,arguments)},Nr=L._emscripten_enum_draco_DataType_DT_UINT8=function(){return(Nr=L._emscripten_enum_draco_DataType_DT_UINT8=L.asm.zb).apply(null,arguments)},Ur=L._emscripten_enum_draco_DataType_DT_INT16=function(){return(Ur=L._emscripten_enum_draco_DataType_DT_INT16=L.asm.Ab).apply(null,arguments)},gr=L._emscripten_enum_draco_DataType_DT_UINT16=function(){return(gr=L._emscripten_enum_draco_DataType_DT_UINT16=L.asm.Bb).apply(null,arguments)},Fr=L._emscripten_enum_draco_DataType_DT_INT32=function(){return(Fr=L._emscripten_enum_draco_DataType_DT_INT32=L.asm.Cb).apply(null,arguments)},Lr=L._emscripten_enum_draco_DataType_DT_UINT32=function(){return(Lr=L._emscripten_enum_draco_DataType_DT_UINT32=L.asm.Db).apply(null,arguments)},Cr=L._emscripten_enum_draco_DataType_DT_INT64=function(){return(Cr=L._emscripten_enum_draco_DataType_DT_INT64=L.asm.Eb).apply(null,arguments)},$r=L._emscripten_enum_draco_DataType_DT_UINT64=function(){return($r=L._emscripten_enum_draco_DataType_DT_UINT64=L.asm.Fb).apply(null,arguments)},wr=L._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(wr=L._emscripten_enum_draco_DataType_DT_FLOAT32=L.asm.Gb).apply(null,arguments)},zr=L._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(zr=L._emscripten_enum_draco_DataType_DT_FLOAT64=L.asm.Hb).apply(null,arguments)},Vr=L._emscripten_enum_draco_DataType_DT_BOOL=function(){return(Vr=L._emscripten_enum_draco_DataType_DT_BOOL=L.asm.Ib).apply(null,arguments)},Br=L._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(Br=L._emscripten_enum_draco_DataType_DT_TYPES_COUNT=L.asm.Jb).apply(null,arguments)},Wr=L._emscripten_enum_draco_StatusCode_OK=function(){return(Wr=L._emscripten_enum_draco_StatusCode_OK=L.asm.Kb).apply(null,arguments)},kr=L._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(kr=L._emscripten_enum_draco_StatusCode_DRACO_ERROR=L.asm.Lb).apply(null,arguments)},xr=L._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(xr=L._emscripten_enum_draco_StatusCode_IO_ERROR=L.asm.Mb).apply(null,arguments)},Qr=L._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(Qr=L._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=L.asm.Nb).apply(null,arguments)},Yr=L._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(Yr=L._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=L.asm.Ob).apply(null,arguments)},Hr=L._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(Hr=L._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=L.asm.Pb).apply(null,arguments)};L._malloc=function(){return(L._malloc=L.asm.Qb).apply(null,arguments)},L._free=function(){return(L._free=L.asm.Rb).apply(null,arguments)};var qr,Xr=function(){return(Xr=L.asm.Sb).apply(null,arguments)};if(L.___start_em_js=11660,L.___stop_em_js=11758,ut=function t(){qr||a(),qr||(ut=t)},L.preInit)for("function"==typeof L.preInit&&(L.preInit=[L.preInit]);0<L.preInit.length;)L.preInit.pop()();a(),c.prototype=Object.create(c.prototype),c.prototype.constructor=c,c.prototype.__class__=c,c.__cache__={},L.WrapperObject=c,L.getCache=s,L.wrapPointer=u,L.castObject=function(t,e){return u(t.ptr,e)},L.NULL=u(0),L.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete s(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 Kr={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Kr.needed){for(var t=0;t<Kr.temps.length;t++)L._free(Kr.temps[t]);Kr.temps.length=0,L._free(Kr.buffer),Kr.buffer=0,Kr.size+=Kr.needed,Kr.needed=0}Kr.buffer||(Kr.size+=128,Kr.buffer=L._malloc(Kr.size),Kr.buffer||o(void 0)),Kr.pos=0},alloc:function(t,e){return Kr.buffer||o(void 0),t=7+(t=t.length*e.BYTES_PER_ELEMENT)&-8,Kr.pos+t>=Kr.size?(0<t||o(void 0),Kr.needed+=t,e=L._malloc(t),Kr.temps.push(e)):(e=Kr.buffer+Kr.pos,Kr.pos+=t),e},copy:function(t,e,r){switch(r>>>=0,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 f.prototype=Object.create(c.prototype),f.prototype.constructor=f,f.prototype.__class__=f,f.__cache__={},L.VoidPtr=f,f.prototype.__destroy__=f.prototype.__destroy__=function(){ft(this.ptr)},m.prototype=Object.create(c.prototype),m.prototype.constructor=m,m.prototype.__class__=m,m.__cache__={},L.DecoderBuffer=m,m.prototype.Init=m.prototype.Init=function(t,e){var r=this.ptr;Kr.prepare(),"object"==typeof t&&(t=l(t)),e&&"object"==typeof e&&(e=e.ptr),dt(r,t,e)},m.prototype.__destroy__=m.prototype.__destroy__=function(){bt(this.ptr)},d.prototype=Object.create(c.prototype),d.prototype.constructor=d,d.prototype.__class__=d,d.__cache__={},L.AttributeTransformData=d,d.prototype.transform_type=d.prototype.transform_type=function(){return At(this.ptr)},d.prototype.__destroy__=d.prototype.__destroy__=function(){Tt(this.ptr)},b.prototype=Object.create(c.prototype),b.prototype.constructor=b,b.prototype.__class__=b,b.__cache__={},L.GeometryAttribute=b,b.prototype.__destroy__=b.prototype.__destroy__=function(){It(this.ptr)},h.prototype=Object.create(c.prototype),h.prototype.constructor=h,h.prototype.__class__=h,h.__cache__={},L.PointAttribute=h,h.prototype.size=h.prototype.size=function(){return Et(this.ptr)},h.prototype.GetAttributeTransformData=h.prototype.GetAttributeTransformData=function(){return u(Gt(this.ptr),d)},h.prototype.attribute_type=h.prototype.attribute_type=function(){return Ot(this.ptr)},h.prototype.data_type=h.prototype.data_type=function(){return vt(this.ptr)},h.prototype.num_components=h.prototype.num_components=function(){return Pt(this.ptr)},h.prototype.normalized=h.prototype.normalized=function(){return!!Rt(this.ptr)},h.prototype.byte_stride=h.prototype.byte_stride=function(){return St(this.ptr)},h.prototype.byte_offset=h.prototype.byte_offset=function(){return Mt(this.ptr)},h.prototype.unique_id=h.prototype.unique_id=function(){return Nt(this.ptr)},h.prototype.__destroy__=h.prototype.__destroy__=function(){Ut(this.ptr)},A.prototype=Object.create(c.prototype),A.prototype.constructor=A,A.prototype.__class__=A,A.__cache__={},L.AttributeQuantizationTransform=A,A.prototype.InitFromAttribute=A.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Ft(e,t)},A.prototype.quantization_bits=A.prototype.quantization_bits=function(){return Lt(this.ptr)},A.prototype.min_value=A.prototype.min_value=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ct(e,t)},A.prototype.range=A.prototype.range=function(){return $t(this.ptr)},A.prototype.__destroy__=A.prototype.__destroy__=function(){wt(this.ptr)},T.prototype=Object.create(c.prototype),T.prototype.constructor=T,T.prototype.__class__=T,T.__cache__={},L.AttributeOctahedronTransform=T,T.prototype.InitFromAttribute=T.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Vt(e,t)},T.prototype.quantization_bits=T.prototype.quantization_bits=function(){return Bt(this.ptr)},T.prototype.__destroy__=T.prototype.__destroy__=function(){Wt(this.ptr)},D.prototype=Object.create(c.prototype),D.prototype.constructor=D,D.prototype.__class__=D,D.__cache__={},L.PointCloud=D,D.prototype.num_attributes=D.prototype.num_attributes=function(){return xt(this.ptr)},D.prototype.num_points=D.prototype.num_points=function(){return Qt(this.ptr)},D.prototype.__destroy__=D.prototype.__destroy__=function(){Yt(this.ptr)},I.prototype=Object.create(c.prototype),I.prototype.constructor=I,I.prototype.__class__=I,I.__cache__={},L.Mesh=I,I.prototype.num_faces=I.prototype.num_faces=function(){return qt(this.ptr)},I.prototype.num_attributes=I.prototype.num_attributes=function(){return Xt(this.ptr)},I.prototype.num_points=I.prototype.num_points=function(){return Kt(this.ptr)},I.prototype.__destroy__=I.prototype.__destroy__=function(){Jt(this.ptr)},j.prototype=Object.create(c.prototype),j.prototype.constructor=j,j.prototype.__class__=j,j.__cache__={},L.Metadata=j,j.prototype.__destroy__=j.prototype.__destroy__=function(){te(this.ptr)},E.prototype=Object.create(c.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},L.Status=E,E.prototype.code=E.prototype.code=function(){return ee(this.ptr)},E.prototype.ok=E.prototype.ok=function(){return!!re(this.ptr)},E.prototype.error_msg=E.prototype.error_msg=function(){return r(ne(this.ptr))},E.prototype.__destroy__=E.prototype.__destroy__=function(){oe(this.ptr)},G.prototype=Object.create(c.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},L.DracoFloat32Array=G,G.prototype.GetValue=G.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),ie(e,t)},G.prototype.size=G.prototype.size=function(){return pe(this.ptr)},G.prototype.__destroy__=G.prototype.__destroy__=function(){ae(this.ptr)},O.prototype=Object.create(c.prototype),O.prototype.constructor=O,O.prototype.__class__=O,O.__cache__={},L.DracoInt8Array=O,O.prototype.GetValue=O.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),se(e,t)},O.prototype.size=O.prototype.size=function(){return ue(this.ptr)},O.prototype.__destroy__=O.prototype.__destroy__=function(){ye(this.ptr)},v.prototype=Object.create(c.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},L.DracoUInt8Array=v,v.prototype.GetValue=v.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),fe(e,t)},v.prototype.size=v.prototype.size=function(){return me(this.ptr)},v.prototype.__destroy__=v.prototype.__destroy__=function(){de(this.ptr)},P.prototype=Object.create(c.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},L.DracoInt16Array=P,P.prototype.GetValue=P.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),he(e,t)},P.prototype.size=P.prototype.size=function(){return Ae(this.ptr)},P.prototype.__destroy__=P.prototype.__destroy__=function(){Te(this.ptr)},R.prototype=Object.create(c.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},L.DracoUInt16Array=R,R.prototype.GetValue=R.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ie(e,t)},R.prototype.size=R.prototype.size=function(){return je(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){Ee(this.ptr)},S.prototype=Object.create(c.prototype),S.prototype.constructor=S,S.prototype.__class__=S,S.__cache__={},L.DracoInt32Array=S,S.prototype.GetValue=S.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Oe(e,t)},S.prototype.size=S.prototype.size=function(){return ve(this.ptr)},S.prototype.__destroy__=S.prototype.__destroy__=function(){Pe(this.ptr)},M.prototype=Object.create(c.prototype),M.prototype.constructor=M,M.prototype.__class__=M,M.__cache__={},L.DracoUInt32Array=M,M.prototype.GetValue=M.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Se(e,t)},M.prototype.size=M.prototype.size=function(){return Me(this.ptr)},M.prototype.__destroy__=M.prototype.__destroy__=function(){Ne(this.ptr)},N.prototype=Object.create(c.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},L.MetadataQuerier=N,N.prototype.HasEntry=N.prototype.HasEntry=function(t,e){var r=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),!!ge(r,t,e)},N.prototype.GetIntEntry=N.prototype.GetIntEntry=function(t,e){var r=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),Fe(r,t,e)},N.prototype.GetIntEntryArray=N.prototype.GetIntEntryArray=function(t,e,r){var n=this.ptr;Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),r&&"object"==typeof r&&(r=r.ptr),Le(n,t,e,r)},N.prototype.GetDoubleEntry=N.prototype.GetDoubleEntry=function(t,e){var r=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),Ce(r,t,e)},N.prototype.GetStringEntry=N.prototype.GetStringEntry=function(t,e){var n=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),r($e(n,t,e))},N.prototype.NumEntries=N.prototype.NumEntries=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),we(e,t)},N.prototype.GetEntryName=N.prototype.GetEntryName=function(t,e){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r(ze(n,t,e))},N.prototype.__destroy__=N.prototype.__destroy__=function(){Ve(this.ptr)},U.prototype=Object.create(c.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},L.Decoder=U,U.prototype.DecodeArrayToPointCloud=U.prototype.DecodeArrayToPointCloud=function(t,e,r){var n=this.ptr;return Kr.prepare(),"object"==typeof t&&(t=l(t)),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),u(We(n,t,e,r),E)},U.prototype.DecodeArrayToMesh=U.prototype.DecodeArrayToMesh=function(t,e,r){var n=this.ptr;return Kr.prepare(),"object"==typeof t&&(t=l(t)),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),u(ke(n,t,e,r),E)},U.prototype.GetAttributeId=U.prototype.GetAttributeId=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),xe(r,t,e)},U.prototype.GetAttributeIdByName=U.prototype.GetAttributeIdByName=function(t,e){var r=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),Qe(r,t,e)},U.prototype.GetAttributeIdByMetadataEntry=U.prototype.GetAttributeIdByMetadataEntry=function(t,e,r){var n=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),r=r&&"object"==typeof r?r.ptr:y(r),Ye(n,t,e,r)},U.prototype.GetAttribute=U.prototype.GetAttribute=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),u(He(r,t,e),h)},U.prototype.GetAttributeByUniqueId=U.prototype.GetAttributeByUniqueId=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),u(qe(r,t,e),h)},U.prototype.GetMetadata=U.prototype.GetMetadata=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),u(Xe(e,t),j)},U.prototype.GetAttributeMetadata=U.prototype.GetAttributeMetadata=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),u(Ke(r,t,e),j)},U.prototype.GetFaceFromMesh=U.prototype.GetFaceFromMesh=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!Je(n,t,e,r)},U.prototype.GetTriangleStripsFromMesh=U.prototype.GetTriangleStripsFromMesh=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ze(r,t,e)},U.prototype.GetTrianglesUInt16Array=U.prototype.GetTrianglesUInt16Array=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!tr(n,t,e,r)},U.prototype.GetTrianglesUInt32Array=U.prototype.GetTrianglesUInt32Array=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!er(n,t,e,r)},U.prototype.GetAttributeFloat=U.prototype.GetAttributeFloat=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!rr(n,t,e,r)},U.prototype.GetAttributeFloatForAllPoints=U.prototype.GetAttributeFloatForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!nr(n,t,e,r)},U.prototype.GetAttributeIntForAllPoints=U.prototype.GetAttributeIntForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!or(n,t,e,r)},U.prototype.GetAttributeInt8ForAllPoints=U.prototype.GetAttributeInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!_r(n,t,e,r)},U.prototype.GetAttributeUInt8ForAllPoints=U.prototype.GetAttributeUInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ir(n,t,e,r)},U.prototype.GetAttributeInt16ForAllPoints=U.prototype.GetAttributeInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!pr(n,t,e,r)},U.prototype.GetAttributeUInt16ForAllPoints=U.prototype.GetAttributeUInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ar(n,t,e,r)},U.prototype.GetAttributeInt32ForAllPoints=U.prototype.GetAttributeInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!cr(n,t,e,r)},U.prototype.GetAttributeUInt32ForAllPoints=U.prototype.GetAttributeUInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!sr(n,t,e,r)},U.prototype.GetAttributeDataArrayForAllPoints=U.prototype.GetAttributeDataArrayForAllPoints=function(t,e,r,n,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),!!ur(_,t,e,r,n,o)},U.prototype.SkipAttributeTransform=U.prototype.SkipAttributeTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),yr(e,t)},U.prototype.GetEncodedGeometryType_Deprecated=U.prototype.GetEncodedGeometryType_Deprecated=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),lr(e,t)},U.prototype.DecodeBufferToPointCloud=U.prototype.DecodeBufferToPointCloud=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),u(fr(r,t,e),E)},U.prototype.DecodeBufferToMesh=U.prototype.DecodeBufferToMesh=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),u(mr(r,t,e),E)},U.prototype.__destroy__=U.prototype.__destroy__=function(){dr(this.ptr)},function(){function t(){L.ATTRIBUTE_INVALID_TRANSFORM=br(),L.ATTRIBUTE_NO_TRANSFORM=hr(),L.ATTRIBUTE_QUANTIZATION_TRANSFORM=Ar(),L.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Tr(),L.INVALID=Dr(),L.POSITION=Ir(),L.NORMAL=jr(),L.COLOR=Er(),L.TEX_COORD=Gr(),L.GENERIC=Or(),L.INVALID_GEOMETRY_TYPE=vr(),L.POINT_CLOUD=Pr(),L.TRIANGULAR_MESH=Rr(),L.DT_INVALID=Sr(),L.DT_INT8=Mr(),L.DT_UINT8=Nr(),L.DT_INT16=Ur(),L.DT_UINT16=gr(),L.DT_INT32=Fr(),L.DT_UINT32=Lr(),L.DT_INT64=Cr(),L.DT_UINT64=$r(),L.DT_FLOAT32=wr(),L.DT_FLOAT64=zr(),L.DT_BOOL=Vr(),L.DT_TYPES_COUNT=Br(),L.OK=Wr(),L.DRACO_ERROR=kr(),L.IO_ERROR=xr(),L.INVALID_PARAMETER=Qr(),L.UNSUPPORTED_VERSION=Yr(),L.UNKNOWN_VERSION=Hr()}at?t():it.unshift(t)}(),"function"==typeof L.onModuleParsed&&L.onModuleParsed(),L.Decoder.prototype.GetEncodedGeometryType=function(t){if(t.__class__&&t.__class__===L.DecoderBuffer)return L.Decoder.prototype.GetEncodedGeometryType_Deprecated(t);if(8>t.byteLength)return L.INVALID_GEOMETRY_TYPE;switch(t[7]){case 0:return L.POINT_CLOUD;case 1:return L.TRIANGULAR_MESH;default:return L.INVALID_GEOMETRY_TYPE}},e.ready}}();"object"==typeof exports&&"object"==typeof module?module.exports=DracoDecoderModule:"function"==typeof define&&define.amd?define([],(function(){return DracoDecoderModule})):"object"==typeof exports&&(exports.DracoDecoderModule=DracoDecoderModule);
@@ -1,46 +0,0 @@
1
- # Basis Universal GPU Texture Compression
2
-
3
- Basis Universal is a "[supercompressed](http://gamma.cs.unc.edu/GST/gst.pdf)"
4
- GPU texture and texture video compression system that outputs a highly
5
- compressed intermediate file format (.basis) that can be quickly transcoded to
6
- a wide variety of GPU texture compression formats.
7
-
8
- [GitHub](https://github.com/BinomialLLC/basis_universal)
9
-
10
- ## Transcoders
11
-
12
- Basis Universal texture data may be used in two different file formats:
13
- `.basis` and `.ktx2`, where `ktx2` is a standardized wrapper around basis texture data.
14
-
15
- For further documentation about the Basis compressor and transcoder, refer to
16
- the [Basis GitHub repository](https://github.com/BinomialLLC/basis_universal).
17
-
18
- The folder contains two files required for transcoding `.basis` or `.ktx2` textures:
19
-
20
- * `basis_transcoder.js` — JavaScript wrapper for the WebAssembly transcoder.
21
- * `basis_transcoder.wasm` — WebAssembly transcoder.
22
-
23
- Both are dependencies of `KTX2Loader`:
24
-
25
- ```js
26
- const ktx2Loader = new KTX2Loader();
27
- ktx2Loader.setTranscoderPath( 'examples/jsm/libs/basis/' );
28
- ktx2Loader.detectSupport( renderer );
29
- ktx2Loader.load( 'diffuse.ktx2', function ( texture ) {
30
-
31
- const material = new THREE.MeshStandardMaterial( { map: texture } );
32
-
33
- }, function () {
34
-
35
- console.log( 'onProgress' );
36
-
37
- }, function ( e ) {
38
-
39
- console.error( e );
40
-
41
- } );
42
- ```
43
-
44
- ## License
45
-
46
- [Apache License 2.0](https://github.com/BinomialLLC/basis_universal/blob/master/LICENSE)
@@ -1 +0,0 @@
1
- var BASIS=function(){var e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(e=e||__filename),function(r){var t,n,o=void 0!==(r=r||{})?r:{};o.ready=new Promise((function(e,r){t=e,n=r}));var i,a={};for(i in o)o.hasOwnProperty(i)&&(a[i]=o[i]);var u,s,c,f,l=[];c="object"==typeof window,f="function"==typeof importScripts,u="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,s=!c&&!u&&!f;var p,d,h,v,y="";u?(y=f?require("path").dirname(y)+"/":__dirname+"/",p=function(e,r){return h||(h=require("fs")),v||(v=require("path")),e=v.normalize(e),h.readFileSync(e,r?null:"utf8")},d=function(e){var r=p(e,!0);return r.buffer||(r=new Uint8Array(r)),C(r.buffer),r},process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),l=process.argv.slice(2),process.on("uncaughtException",(function(e){if(!(e instanceof $r))throw e})),process.on("unhandledRejection",Q),o.inspect=function(){return"[Emscripten Module object]"}):s?("undefined"!=typeof read&&(p=function(e){return read(e)}),d=function(e){var r;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(C("object"==typeof(r=read(e,"binary"))),r)},"undefined"!=typeof scriptArgs?l=scriptArgs:void 0!==arguments&&(l=arguments),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(c||f)&&(f?y=self.location.href:"undefined"!=typeof document&&document.currentScript&&(y=document.currentScript.src),e&&(y=e),y=0!==y.indexOf("blob:")?y.substr(0,y.lastIndexOf("/")+1):"",p=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},f&&(d=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}));var m,g,w=o.print||console.log.bind(console),b=o.printErr||console.warn.bind(console);for(i in a)a.hasOwnProperty(i)&&(o[i]=a[i]);a=null,o.arguments&&(l=o.arguments),o.thisProgram&&o.thisProgram,o.quit&&o.quit,o.wasmBinary&&(m=o.wasmBinary),o.noExitRuntime&&o.noExitRuntime,"object"!=typeof WebAssembly&&Q("no native wasm support detected");var T=!1;function C(e,r){e||Q("Assertion failed: "+r)}var $="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function P(e,r,t){for(var n=r+t,o=r;e[o]&&!(o>=n);)++o;if(o-r>16&&e.subarray&&$)return $.decode(e.subarray(r,o));for(var i="";r<o;){var a=e[r++];if(128&a){var u=63&e[r++];if(192!=(224&a)){var s=63&e[r++];if((a=224==(240&a)?(15&a)<<12|u<<6|s:(7&a)<<18|u<<12|s<<6|63&e[r++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|u)}else i+=String.fromCharCode(a)}return i}function A(e,r){return e?P(W,e,r):""}var _,S,W,E,F,k,O,j,R,x="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function I(e,r){for(var t=e,n=t>>1,o=n+r/2;!(n>=o)&&F[n];)++n;if((t=n<<1)-e>32&&x)return x.decode(W.subarray(e,t));for(var i="",a=0;!(a>=r/2);++a){var u=E[e+2*a>>1];if(0==u)break;i+=String.fromCharCode(u)}return i}function D(e,r,t){if(void 0===t&&(t=2147483647),t<2)return 0;for(var n=r,o=(t-=2)<2*e.length?t/2:e.length,i=0;i<o;++i){var a=e.charCodeAt(i);E[r>>1]=a,r+=2}return E[r>>1]=0,r-n}function U(e){return 2*e.length}function B(e,r){for(var t=0,n="";!(t>=r/4);){var o=k[e+4*t>>2];if(0==o)break;if(++t,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function V(e,r,t){if(void 0===t&&(t=2147483647),t<4)return 0;for(var n=r,o=n+t-4,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i)),k[r>>2]=a,(r+=4)+4>o)break}return k[r>>2]=0,r-n}function M(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&++t,r+=4}return r}function H(e){_=e,o.HEAP8=S=new Int8Array(e),o.HEAP16=E=new Int16Array(e),o.HEAP32=k=new Int32Array(e),o.HEAPU8=W=new Uint8Array(e),o.HEAPU16=F=new Uint16Array(e),o.HEAPU32=O=new Uint32Array(e),o.HEAPF32=j=new Float32Array(e),o.HEAPF64=R=new Float64Array(e)}o.INITIAL_MEMORY;var q,z=[],N=[],G=[],L=[],J=0,X=null,K=null;function Q(e){o.onAbort&&o.onAbort(e),b(e+=""),T=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.";var r=new WebAssembly.RuntimeError(e);throw n(r),r}function Y(e,r){return String.prototype.startsWith?e.startsWith(r):0===e.indexOf(r)}o.preloadedImages={},o.preloadedAudios={};function Z(e){return Y(e,"data:application/octet-stream;base64,")}function ee(e){return Y(e,"file://")}var re,te="basis_transcoder.wasm";function ne(){try{if(m)return new Uint8Array(m);if(d)return d(te);throw"both async and sync fetching of the wasm failed"}catch(e){Q(e)}}function oe(e){for(;e.length>0;){var r=e.shift();if("function"!=typeof r){var t=r.func;"number"==typeof t?void 0===r.arg?q.get(t)():q.get(t)(r.arg):t(void 0===r.arg?null:r.arg)}else r(o)}}Z(te)||(re=te,te=o.locateFile?o.locateFile(re,y):y+re);var ie={};function ae(e){for(;e.length;){var r=e.pop();e.pop()(r)}}function ue(e){return this.fromWireType(O[e>>2])}var se={},ce={},fe={},le=48,pe=57;function de(e){if(void 0===e)return"_unknown";var r=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return r>=le&&r<=pe?"_"+e:e}function he(e,r){return e=de(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(r)}function ve(e,r){var t=he(r,(function(e){this.name=r,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},t}var ye=void 0;function me(e){throw new ye(e)}function ge(e,r,t){function n(r){var n=t(r);n.length!==e.length&&me("Mismatched type converter count");for(var o=0;o<e.length;++o)Pe(e[o],n[o])}e.forEach((function(e){fe[e]=r}));var o=new Array(r.length),i=[],a=0;r.forEach((function(e,r){ce.hasOwnProperty(e)?o[r]=ce[e]:(i.push(e),se.hasOwnProperty(e)||(se[e]=[]),se[e].push((function(){o[r]=ce[e],++a===i.length&&n(o)})))})),0===i.length&&n(o)}function we(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}var be=void 0;function Te(e){for(var r="",t=e;W[t];)r+=be[W[t++]];return r}var Ce=void 0;function $e(e){throw new Ce(e)}function Pe(e,r,t){if(t=t||{},!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=r.name;if(e||$e('type "'+n+'" must have a positive integer typeid pointer'),ce.hasOwnProperty(e)){if(t.ignoreDuplicateRegistrations)return;$e("Cannot register type '"+n+"' twice")}if(ce[e]=r,delete fe[e],se.hasOwnProperty(e)){var o=se[e];delete se[e],o.forEach((function(e){e()}))}}function Ae(e){$e(e.$$.ptrType.registeredClass.name+" instance already deleted")}var _e=!1;function Se(e){}function We(e){e.count.value-=1,0===e.count.value&&function(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}(e)}function Ee(e){return"undefined"==typeof FinalizationGroup?(Ee=function(e){return e},e):(_e=new FinalizationGroup((function(e){for(var r=e.next();!r.done;r=e.next()){var t=r.value;t.ptr?We(t):console.warn("object already deleted: "+t.ptr)}})),Ee=function(e){return _e.register(e,e.$$,e.$$),e},Se=function(e){_e.unregister(e.$$)},Ee(e))}var Fe=void 0,ke=[];function Oe(){for(;ke.length;){var e=ke.pop();e.$$.deleteScheduled=!1,e.delete()}}function je(){}var Re={};function xe(e,r,t){if(void 0===e[r].overloadTable){var n=e[r];e[r]=function(){return e[r].overloadTable.hasOwnProperty(arguments.length)||$e("Function '"+t+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[r].overloadTable+")!"),e[r].overloadTable[arguments.length].apply(this,arguments)},e[r].overloadTable=[],e[r].overloadTable[n.argCount]=n}}function Ie(e,r,t){o.hasOwnProperty(e)?((void 0===t||void 0!==o[e].overloadTable&&void 0!==o[e].overloadTable[t])&&$e("Cannot register public name '"+e+"' twice"),xe(o,e,e),o.hasOwnProperty(t)&&$e("Cannot register multiple overloads of a function with the same number of arguments ("+t+")!"),o[e].overloadTable[t]=r):(o[e]=r,void 0!==t&&(o[e].numArguments=t))}function De(e,r,t,n,o,i,a,u){this.name=e,this.constructor=r,this.instancePrototype=t,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=u,this.pureVirtualFunctions=[]}function Ue(e,r,t){for(;r!==t;)r.upcast||$e("Expected null or instance of "+t.name+", got an instance of "+r.name),e=r.upcast(e),r=r.baseClass;return e}function Be(e,r){if(null===r)return this.isReference&&$e("null is not a valid "+this.name),0;r.$$||$e('Cannot pass "'+ar(r)+'" as a '+this.name),r.$$.ptr||$e("Cannot pass deleted object as a pointer of type "+this.name);var t=r.$$.ptrType.registeredClass;return Ue(r.$$.ptr,t,this.registeredClass)}function Ve(e,r){var t;if(null===r)return this.isReference&&$e("null is not a valid "+this.name),this.isSmartPointer?(t=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,t),t):0;r.$$||$e('Cannot pass "'+ar(r)+'" as a '+this.name),r.$$.ptr||$e("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&r.$$.ptrType.isConst&&$e("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);var n=r.$$.ptrType.registeredClass;if(t=Ue(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===r.$$.smartPtr&&$e("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?t=r.$$.smartPtr:$e("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:t=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)t=r.$$.smartPtr;else{var o=r.clone();t=this.rawShare(t,nr((function(){o.delete()}))),null!==e&&e.push(this.rawDestructor,t)}break;default:$e("Unsupporting sharing policy")}return t}function Me(e,r){if(null===r)return this.isReference&&$e("null is not a valid "+this.name),0;r.$$||$e('Cannot pass "'+ar(r)+'" as a '+this.name),r.$$.ptr||$e("Cannot pass deleted object as a pointer of type "+this.name),r.$$.ptrType.isConst&&$e("Cannot convert argument of type "+r.$$.ptrType.name+" to parameter type "+this.name);var t=r.$$.ptrType.registeredClass;return Ue(r.$$.ptr,t,this.registeredClass)}function He(e,r,t){if(r===t)return e;if(void 0===t.baseClass)return null;var n=He(e,r,t.baseClass);return null===n?null:t.downcast(n)}var qe={};function ze(e,r){return r.ptrType&&r.ptr||me("makeClassHandle requires ptr and ptrType"),!!r.smartPtrType!=!!r.smartPtr&&me("Both smartPtrType and smartPtr must be specified"),r.count={value:1},Ee(Object.create(e,{$$:{value:r}}))}function Ne(e,r,t,n,o,i,a,u,s,c,f){this.name=e,this.registeredClass=r,this.isReference=t,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=u,this.rawConstructor=s,this.rawShare=c,this.rawDestructor=f,o||void 0!==r.baseClass?this.toWireType=Ve:n?(this.toWireType=Be,this.destructorFunction=null):(this.toWireType=Me,this.destructorFunction=null)}function Ge(e,r,t){o.hasOwnProperty(e)||me("Replacing nonexistant public symbol"),void 0!==o[e].overloadTable&&void 0!==t?o[e].overloadTable[t]=r:(o[e]=r,o[e].argCount=t)}function Le(e,r){var t=-1!=(e=Te(e)).indexOf("j")?function(e,r){C(e.indexOf("j")>=0,"getDynCaller should only be called with i64 sigs");var t=[];return function(){t.length=arguments.length;for(var n=0;n<arguments.length;n++)t[n]=arguments[n];return function(e,r,t){return-1!=e.indexOf("j")?function(e,r,t){return t&&t.length?o["dynCall_"+e].apply(null,[r].concat(t)):o["dynCall_"+e].call(null,r)}(e,r,t):q.get(r).apply(null,t)}(e,r,t)}}(e,r):q.get(r);return"function"!=typeof t&&$e("unknown function pointer with signature "+e+": "+r),t}var Je=void 0;function Xe(e){var r=Cr(e),t=Te(r);return Tr(r),t}function Ke(e,r){var t=[],n={};throw r.forEach((function e(r){n[r]||ce[r]||(fe[r]?fe[r].forEach(e):(t.push(r),n[r]=!0))})),new Je(e+": "+t.map(Xe).join([", "]))}function Qe(e,r){for(var t=[],n=0;n<e;n++)t.push(k[(r>>2)+n]);return t}function Ye(e,r){if(!(e instanceof Function))throw new TypeError("new_ called with constructor type "+typeof e+" which is not a function");var t=he(e.name||"unknownFunctionName",(function(){}));t.prototype=e.prototype;var n=new t,o=e.apply(n,r);return o instanceof Object?o:n}function Ze(e,r,t,n,o){var i=r.length;i<2&&$e("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==r[1]&&null!==t,u=!1,s=1;s<r.length;++s)if(null!==r[s]&&void 0===r[s].destructorFunction){u=!0;break}var c="void"!==r[0].name,f="",l="";for(s=0;s<i-2;++s)f+=(0!==s?", ":"")+"arg"+s,l+=(0!==s?", ":"")+"arg"+s+"Wired";var p="return function "+de(e)+"("+f+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+e+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";u&&(p+="var destructors = [];\n");var d=u?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],v=[$e,n,o,ae,r[0],r[1]];for(a&&(p+="var thisWired = classParam.toWireType("+d+", this);\n"),s=0;s<i-2;++s)p+="var arg"+s+"Wired = argType"+s+".toWireType("+d+", arg"+s+"); // "+r[s+2].name+"\n",h.push("argType"+s),v.push(r[s+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",u)p+="runDestructors(destructors);\n";else for(s=a?1:2;s<r.length;++s){var y=1===s?"thisWired":"arg"+(s-2)+"Wired";null!==r[s].destructorFunction&&(p+=y+"_dtor("+y+"); // "+r[s].name+"\n",h.push(y+"_dtor"),v.push(r[s].destructorFunction))}return c&&(p+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p+="}\n",h.push(p),Ye(Function,h).apply(null,v)}var er=[],rr=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function tr(e){e>4&&0==--rr[e].refcount&&(rr[e]=void 0,er.push(e))}function nr(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var r=er.length?er.pop():rr.length;return rr[r]={refcount:1,value:e},r}}function or(e,r,t){switch(r){case 0:return function(e){var r=t?S:W;return this.fromWireType(r[e])};case 1:return function(e){var r=t?E:F;return this.fromWireType(r[e>>1])};case 2:return function(e){var r=t?k:O;return this.fromWireType(r[e>>2])};default:throw new TypeError("Unknown integer type: "+e)}}function ir(e,r){var t=ce[e];return void 0===t&&$e(r+" has unknown type "+Xe(e)),t}function ar(e){if(null===e)return"null";var r=typeof e;return"object"===r||"array"===r||"function"===r?e.toString():""+e}function ur(e,r){switch(r){case 2:return function(e){return this.fromWireType(j[e>>2])};case 3:return function(e){return this.fromWireType(R[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function sr(e,r,t){switch(r){case 0:return t?function(e){return S[e]}:function(e){return W[e]};case 1:return t?function(e){return E[e>>1]}:function(e){return F[e>>1]};case 2:return t?function(e){return k[e>>2]}:function(e){return O[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function cr(e){return e||$e("Cannot use deleted val. handle = "+e),rr[e].value}var fr={};function lr(e){var r=fr[e];return void 0===r?Te(e):r}var pr=[];function dr(){return"object"==typeof globalThis?globalThis:Function("return this")()}var hr={};function vr(e){try{return g.grow(e-_.byteLength+65535>>>16),H(g.buffer),1}catch(e){}}var yr={mappings:{},buffers:[null,[],[]],printChar:function(e,r){var t=yr.buffers[e];0===r||10===r?((1===e?w:b)(P(t,0)),t.length=0):t.push(r)},varargs:void 0,get:function(){return yr.varargs+=4,k[yr.varargs-4>>2]},getStr:function(e){return A(e)},get64:function(e,r){return e}};ye=o.InternalError=ve(Error,"InternalError"),function(){for(var e=new Array(256),r=0;r<256;++r)e[r]=String.fromCharCode(r);be=e}(),Ce=o.BindingError=ve(Error,"BindingError"),je.prototype.isAliasOf=function(e){if(!(this instanceof je))return!1;if(!(e instanceof je))return!1;for(var r=this.$$.ptrType.registeredClass,t=this.$$.ptr,n=e.$$.ptrType.registeredClass,o=e.$$.ptr;r.baseClass;)t=r.upcast(t),r=r.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return r===n&&t===o},je.prototype.clone=function(){if(this.$$.ptr||Ae(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,r=Ee(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return r.$$.count.value+=1,r.$$.deleteScheduled=!1,r},je.prototype.delete=function(){this.$$.ptr||Ae(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&$e("Object already scheduled for deletion"),Se(this),We(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},je.prototype.isDeleted=function(){return!this.$$.ptr},je.prototype.deleteLater=function(){return this.$$.ptr||Ae(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&$e("Object already scheduled for deletion"),ke.push(this),1===ke.length&&Fe&&Fe(Oe),this.$$.deleteScheduled=!0,this},Ne.prototype.getPointee=function(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},Ne.prototype.destructor=function(e){this.rawDestructor&&this.rawDestructor(e)},Ne.prototype.argPackAdvance=8,Ne.prototype.readValueFromPointer=ue,Ne.prototype.deleteObject=function(e){null!==e&&e.delete()},Ne.prototype.fromWireType=function(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var t=function(e,r){return r=function(e,r){for(void 0===r&&$e("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r}(e,r),qe[r]}(this.registeredClass,r);if(void 0!==t){if(0===t.$$.count.value)return t.$$.ptr=r,t.$$.smartPtr=e,t.clone();var n=t.clone();return this.destructor(e),n}function o(){return this.isSmartPointer?ze(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}):ze(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,a=this.registeredClass.getActualType(r),u=Re[a];if(!u)return o.call(this);i=this.isConst?u.constPointerType:u.pointerType;var s=He(r,this.registeredClass,i.registeredClass);return null===s?o.call(this):this.isSmartPointer?ze(i.registeredClass.instancePrototype,{ptrType:i,ptr:s,smartPtrType:this,smartPtr:e}):ze(i.registeredClass.instancePrototype,{ptrType:i,ptr:s})},o.getInheritedInstanceCount=function(){return Object.keys(qe).length},o.getLiveInheritedInstances=function(){var e=[];for(var r in qe)qe.hasOwnProperty(r)&&e.push(qe[r]);return e},o.flushPendingDeletes=Oe,o.setDelayFunction=function(e){Fe=e,ke.length&&Fe&&Fe(Oe)},Je=o.UnboundTypeError=ve(Error,"UnboundTypeError"),o.count_emval_handles=function(){for(var e=0,r=5;r<rr.length;++r)void 0!==rr[r]&&++e;return e},o.get_first_emval=function(){for(var e=5;e<rr.length;++e)if(void 0!==rr[e])return rr[e];return null},N.push({func:function(){wr()}});var mr,gr={t:function(e){var r=ie[e];delete ie[e];var t=r.rawConstructor,n=r.rawDestructor,o=r.fields;ge([e],o.map((function(e){return e.getterReturnType})).concat(o.map((function(e){return e.setterArgumentType}))),(function(e){var i={};return o.forEach((function(r,t){var n=r.fieldName,a=e[t],u=r.getter,s=r.getterContext,c=e[t+o.length],f=r.setter,l=r.setterContext;i[n]={read:function(e){return a.fromWireType(u(s,e))},write:function(e,r){var t=[];f(l,e,c.toWireType(t,r)),ae(t)}}})),[{name:r.name,fromWireType:function(e){var r={};for(var t in i)r[t]=i[t].read(e);return n(e),r},toWireType:function(e,r){for(var o in i)if(!(o in r))throw new TypeError('Missing field: "'+o+'"');var a=t();for(o in i)i[o].write(a,r[o]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:ue,destructorFunction:n}]}))},I:function(e,r,t,n,o){var i=we(t);Pe(e,{name:r=Te(r),fromWireType:function(e){return!!e},toWireType:function(e,r){return r?n:o},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===t)n=S;else if(2===t)n=E;else{if(4!==t)throw new TypeError("Unknown boolean type size: "+r);n=k}return this.fromWireType(n[e>>i])},destructorFunction:null})},x:function(e,r,t,n,o,i,a,u,s,c,f,l,p){f=Te(f),i=Le(o,i),u&&(u=Le(a,u)),c&&(c=Le(s,c)),p=Le(l,p);var d=de(f);Ie(d,(function(){Ke("Cannot construct "+f+" due to unbound types",[n])})),ge([e,r,t],n?[n]:[],(function(r){var t,o;r=r[0],o=n?(t=r.registeredClass).instancePrototype:je.prototype;var a=he(d,(function(){if(Object.getPrototypeOf(this)!==s)throw new Ce("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new Ce(f+" has no accessible constructor");var e=l.constructor_body[arguments.length];if(void 0===e)throw new Ce("Tried to invoke ctor of "+f+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(l.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)})),s=Object.create(o,{constructor:{value:a}});a.prototype=s;var l=new De(f,a,s,p,t,i,u,c),h=new Ne(f,l,!0,!1,!1),v=new Ne(f+"*",l,!1,!1,!1),y=new Ne(f+" const*",l,!1,!0,!1);return Re[e]={pointerType:v,constPointerType:y},Ge(d,a),[h,v,y]}))},w:function(e,r,t,n,o,i){C(r>0);var a=Qe(r,t);o=Le(n,o);var u=[i],s=[];ge([],[e],(function(e){var t="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[r-1])throw new Ce("Cannot register multiple constructors with identical number of parameters ("+(r-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[r-1]=function(){Ke("Cannot construct "+e.name+" due to unbound types",a)},ge([],a,(function(n){return e.registeredClass.constructor_body[r-1]=function(){arguments.length!==r-1&&$e(t+" called with "+arguments.length+" arguments, expected "+(r-1)),s.length=0,u.length=r;for(var e=1;e<r;++e)u[e]=n[e].toWireType(s,arguments[e-1]);var i=o.apply(null,u);return ae(s),n[0].fromWireType(i)},[]})),[]}))},d:function(e,r,t,n,o,i,a,u){var s=Qe(t,n);r=Te(r),i=Le(o,i),ge([],[e],(function(e){var n=(e=e[0]).name+"."+r;function o(){Ke("Cannot call "+n+" due to unbound types",s)}u&&e.registeredClass.pureVirtualFunctions.push(r);var c=e.registeredClass.instancePrototype,f=c[r];return void 0===f||void 0===f.overloadTable&&f.className!==e.name&&f.argCount===t-2?(o.argCount=t-2,o.className=e.name,c[r]=o):(xe(c,r,n),c[r].overloadTable[t-2]=o),ge([],s,(function(o){var u=Ze(n,o,e,i,a);return void 0===c[r].overloadTable?(u.argCount=t-2,c[r]=u):c[r].overloadTable[t-2]=u,[]})),[]}))},k:function(e,r,t){e=Te(e),ge([],[r],(function(r){return r=r[0],o[e]=r.fromWireType(t),[]}))},H:function(e,r){Pe(e,{name:r=Te(r),fromWireType:function(e){var r=rr[e].value;return tr(e),r},toWireType:function(e,r){return nr(r)},argPackAdvance:8,readValueFromPointer:ue,destructorFunction:null})},n:function(e,r,t,n){var o=we(t);function i(){}r=Te(r),i.values={},Pe(e,{name:r,constructor:i,fromWireType:function(e){return this.constructor.values[e]},toWireType:function(e,r){return r.value},argPackAdvance:8,readValueFromPointer:or(r,o,n),destructorFunction:null}),Ie(r,i)},a:function(e,r,t){var n=ir(e,"enum");r=Te(r);var o=n.constructor,i=Object.create(n.constructor.prototype,{value:{value:t},constructor:{value:he(n.name+"_"+r,(function(){}))}});o.values[t]=i,o[r]=i},A:function(e,r,t){var n=we(t);Pe(e,{name:r=Te(r),fromWireType:function(e){return e},toWireType:function(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError('Cannot convert "'+ar(r)+'" to '+this.name);return r},argPackAdvance:8,readValueFromPointer:ur(r,n),destructorFunction:null})},i:function(e,r,t,n,o,i){var a=Qe(r,t);e=Te(e),o=Le(n,o),Ie(e,(function(){Ke("Cannot call "+e+" due to unbound types",a)}),r-1),ge([],a,(function(t){var n=[t[0],null].concat(t.slice(1));return Ge(e,Ze(e,n,null,o,i),r-1),[]}))},j:function(e,r,t,n,o){r=Te(r),-1===o&&(o=4294967295);var i=we(t),a=function(e){return e};if(0===n){var u=32-8*t;a=function(e){return e<<u>>>u}}var s=-1!=r.indexOf("unsigned");Pe(e,{name:r,fromWireType:a,toWireType:function(e,t){if("number"!=typeof t&&"boolean"!=typeof t)throw new TypeError('Cannot convert "'+ar(t)+'" to '+this.name);if(t<n||t>o)throw new TypeError('Passing a number "'+ar(t)+'" from JS side to C/C++ side to an argument of type "'+r+'", which is outside the valid range ['+n+", "+o+"]!");return s?t>>>0:0|t},argPackAdvance:8,readValueFromPointer:sr(r,i,0!==n),destructorFunction:null})},h:function(e,r,t){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];function o(e){var r=O,t=r[e>>=2],o=r[e+1];return new n(_,o,t)}Pe(e,{name:t=Te(t),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},B:function(e,r){var t="std::string"===(r=Te(r));Pe(e,{name:r,fromWireType:function(e){var r,n=O[e>>2];if(t)for(var o=e+4,i=0;i<=n;++i){var a=e+4+i;if(i==n||0==W[a]){var u=A(o,a-o);void 0===r?r=u:(r+=String.fromCharCode(0),r+=u),o=a+1}}else{var s=new Array(n);for(i=0;i<n;++i)s[i]=String.fromCharCode(W[e+4+i]);r=s.join("")}return Tr(e),r},toWireType:function(e,r){var n;r instanceof ArrayBuffer&&(r=new Uint8Array(r));var o="string"==typeof r;o||r instanceof Uint8Array||r instanceof Uint8ClampedArray||r instanceof Int8Array||$e("Cannot pass non-string to std::string"),n=t&&o?function(){return function(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++t)),n<=127?++r:r+=n<=2047?2:n<=65535?3:4}return r}(r)}:function(){return r.length};var i=n(),a=br(4+i+1);if(O[a>>2]=i,t&&o)!function(e,r,t,n){if(!(n>0))return 0;for(var o=t+n-1,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i)),a<=127){if(t>=o)break;r[t++]=a}else if(a<=2047){if(t+1>=o)break;r[t++]=192|a>>6,r[t++]=128|63&a}else if(a<=65535){if(t+2>=o)break;r[t++]=224|a>>12,r[t++]=128|a>>6&63,r[t++]=128|63&a}else{if(t+3>=o)break;r[t++]=240|a>>18,r[t++]=128|a>>12&63,r[t++]=128|a>>6&63,r[t++]=128|63&a}}r[t]=0}(r,W,a+4,i+1);else if(o)for(var u=0;u<i;++u){var s=r.charCodeAt(u);s>255&&(Tr(a),$e("String has UTF-16 code units that do not fit in 8 bits")),W[a+4+u]=s}else for(u=0;u<i;++u)W[a+4+u]=r[u];return null!==e&&e.push(Tr,a),a},argPackAdvance:8,readValueFromPointer:ue,destructorFunction:function(e){Tr(e)}})},v:function(e,r,t){var n,o,i,a,u;t=Te(t),2===r?(n=I,o=D,a=U,i=function(){return F},u=1):4===r&&(n=B,o=V,a=M,i=function(){return O},u=2),Pe(e,{name:t,fromWireType:function(e){for(var t,o=O[e>>2],a=i(),s=e+4,c=0;c<=o;++c){var f=e+4+c*r;if(c==o||0==a[f>>u]){var l=n(s,f-s);void 0===t?t=l:(t+=String.fromCharCode(0),t+=l),s=f+r}}return Tr(e),t},toWireType:function(e,n){"string"!=typeof n&&$e("Cannot pass non-string to C++ string type "+t);var i=a(n),s=br(4+i+r);return O[s>>2]=i>>u,o(n,s+4,i+r),null!==e&&e.push(Tr,s),s},argPackAdvance:8,readValueFromPointer:ue,destructorFunction:function(e){Tr(e)}})},u:function(e,r,t,n,o,i){ie[e]={name:Te(r),rawConstructor:Le(t,n),rawDestructor:Le(o,i),fields:[]}},c:function(e,r,t,n,o,i,a,u,s,c){ie[e].fields.push({fieldName:Te(r),getterReturnType:t,getter:Le(n,o),getterContext:i,setterArgumentType:a,setter:Le(u,s),setterContext:c})},J:function(e,r){Pe(e,{isVoid:!0,name:r=Te(r),argPackAdvance:0,fromWireType:function(){},toWireType:function(e,r){}})},m:function(e,r,t){e=cr(e),r=ir(r,"emval::as");var n=[],o=nr(n);return k[t>>2]=o,r.toWireType(n,e)},s:function(e,r,t,n){(e=pr[e])(r=cr(r),t=lr(t),null,n)},b:tr,y:function(e){return 0===e?nr(dr()):(e=lr(e),nr(dr()[e]))},p:function(e,r){for(var t=function(e,r){for(var t=new Array(e),n=0;n<e;++n)t[n]=ir(k[(r>>2)+n],"parameter "+n);return t}(e,r),n=t[0],o=n.name+"_$"+t.slice(1).map((function(e){return e.name})).join("_")+"$",i=["retType"],a=[n],u="",s=0;s<e-1;++s)u+=(0!==s?", ":"")+"arg"+s,i.push("argType"+s),a.push(t[1+s]);var c,f,l="return function "+de("methodCaller_"+o)+"(handle, name, destructors, args) {\n",p=0;for(s=0;s<e-1;++s)l+=" var arg"+s+" = argType"+s+".readValueFromPointer(args"+(p?"+"+p:"")+");\n",p+=t[s+1].argPackAdvance;for(l+=" var rv = handle[name]("+u+");\n",s=0;s<e-1;++s)t[s+1].deleteObject&&(l+=" argType"+s+".deleteObject(arg"+s+");\n");return n.isVoid||(l+=" return retType.toWireType(destructors, rv);\n"),l+="};\n",i.push(l),c=Ye(Function,i).apply(null,a),f=pr.length,pr.push(c),f},r:function(e){return e=lr(e),nr(o[e])},e:function(e,r){return nr((e=cr(e))[r=cr(r)])},g:function(e){e>4&&(rr[e].refcount+=1)},q:function(e,r,t,n){e=cr(e);var i=hr[r];return i||(i=function(e){for(var r="",t=0;t<e;++t)r+=(0!==t?", ":"")+"arg"+t;var n="return function emval_allocator_"+e+"(constructor, argTypes, args) {\n";for(t=0;t<e;++t)n+="var argType"+t+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+t+'], "parameter '+t+'");\nvar arg'+t+" = argType"+t+".readValueFromPointer(args);\nargs += argType"+t+"['argPackAdvance'];\n";return n+="var obj = new constructor("+r+");\nreturn __emval_register(obj);\n}\n",new Function("requireRegisteredType","Module","__emval_register",n)(ir,o,nr)}(r),hr[r]=i),i(e,t,n)},f:function(e){return nr(lr(e))},l:function(e){ae(rr[e].value),tr(e)},o:function(){Q()},E:function(e,r,t){W.copyWithin(e,r,r+t)},F:function(e){e>>>=0;var r=W.length,t=2147483648;if(e>t)return!1;for(var n,o=1;o<=4;o*=2){var i=r*(1+.2/o);if(i=Math.min(i,e+100663296),vr(Math.min(t,((n=Math.max(16777216,e,i))%65536>0&&(n+=65536-n%65536),n))))return!0}return!1},G:function(e){return 0},C:function(e,r,t,n,o){},z:function(e,r,t,n){for(var o=0,i=0;i<t;i++){for(var a=k[r+8*i>>2],u=k[r+(8*i+4)>>2],s=0;s<u;s++)yr.printChar(e,W[a+s]);o+=u}return k[n>>2]=o,0},D:function(e){}},wr=(function(){var e={a:gr};function r(e,r){var t=e.exports;o.asm=t,H((g=o.asm.K).buffer),q=o.asm.L,function(e){if(J--,o.monitorRunDependencies&&o.monitorRunDependencies(J),0==J&&(null!==X&&(clearInterval(X),X=null),K)){var r=K;K=null,r()}}()}function t(e){r(e.instance)}function i(r){return(m||!c&&!f||"function"!=typeof fetch||ee(te)?Promise.resolve().then(ne):fetch(te,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+te+"'";return e.arrayBuffer()})).catch((function(){return ne()}))).then((function(r){return WebAssembly.instantiate(r,e)})).then(r,(function(e){b("failed to asynchronously prepare wasm: "+e),Q(e)}))}if(J++,o.monitorRunDependencies&&o.monitorRunDependencies(J),o.instantiateWasm)try{return o.instantiateWasm(e,r)}catch(e){return b("Module.instantiateWasm callback failed with error: "+e),!1}(m||"function"!=typeof WebAssembly.instantiateStreaming||Z(te)||ee(te)||"function"!=typeof fetch?i(t):fetch(te,{credentials:"same-origin"}).then((function(r){return WebAssembly.instantiateStreaming(r,e).then(t,(function(e){return b("wasm streaming compile failed: "+e),b("falling back to ArrayBuffer instantiation"),i(t)}))}))).catch(n)}(),o.___wasm_call_ctors=function(){return(wr=o.___wasm_call_ctors=o.asm.M).apply(null,arguments)}),br=o._malloc=function(){return(br=o._malloc=o.asm.N).apply(null,arguments)},Tr=o._free=function(){return(Tr=o._free=o.asm.O).apply(null,arguments)},Cr=o.___getTypeName=function(){return(Cr=o.___getTypeName=o.asm.P).apply(null,arguments)};function $r(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function Pr(e){function r(){mr||(mr=!0,o.calledRun=!0,T||(oe(N),oe(G),t(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)e=o.postRun.shift(),L.unshift(e);var e;oe(L)}()))}e=e||l,J>0||(function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)e=o.preRun.shift(),z.unshift(e);var e;oe(z)}(),J>0||(o.setStatus?(o.setStatus("Running..."),setTimeout((function(){setTimeout((function(){o.setStatus("")}),1),r()}),1)):r()))}if(o.___embind_register_native_and_builtin_types=function(){return(o.___embind_register_native_and_builtin_types=o.asm.Q).apply(null,arguments)},o.dynCall_jiji=function(){return(o.dynCall_jiji=o.asm.R).apply(null,arguments)},K=function e(){mr||Pr(),mr||(K=e)},o.run=Pr,o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return Pr(),r.ready}}();"object"==typeof exports&&"object"==typeof module?module.exports=BASIS:"function"==typeof define&&define.amd?define([],(function(){return BASIS})):"object"==typeof exports&&(exports.BASIS=BASIS);