%PDF- %PDF-
| Direktori : /home2/rezakur1/ai.rezakurnia.com/zh-router-frontend/node_modules/draco3d/ |
| Current File : //home2/rezakur1/ai.rezakurnia.com/zh-router-frontend/node_modules/draco3d/draco_encoder_nodejs.js |
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES2020=!1;$jscomp.ASSUME_ES6=$jscomp.ASSUME_ES2020;$jscomp.ASSUME_ES5=$jscomp.ASSUME_ES6;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.INSTRUMENT_ASYNC_CONTEXT=!0;
$jscomp.objectCreate=$jscomp.ASSUME_ES5||typeof Object.create=="function"?Object.create:function(e){var h=function(){};h.prototype=e;return new h};$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(e,h,n){if(e==Array.prototype||e==Object.prototype)return e;e[h]=n.value;return e};
$jscomp.getGlobal=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var h=0;h<e.length;++h){var n=e[h];if(n&&n.Math==Math)return n}throw Error("Cannot find global object");};$jscomp.global=$jscomp.ASSUME_ES2020?globalThis:$jscomp.getGlobal(this);$jscomp.IS_SYMBOL_NATIVE=typeof Symbol==="function"&&typeof Symbol("x")==="symbol";$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;
$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(e,h,n){if(!n||e!=null){n=$jscomp.propertyToPolyfillSymbol[h];if(n==null)return e[h];n=e[n];return n!==void 0?n:e[h]}};$jscomp.TYPED_ARRAY_CLASSES=function(){var e="Int8 Uint8 Uint8Clamped Int16 Uint16 Int32 Uint32 Float32 Float64".split(" ");$jscomp.global.BigInt64Array&&(e.push("BigInt64"),e.push("BigUint64"));return e}();
$jscomp.polyfillTypedArrayMethod=function(e,h,n,r){if(h)for(var m=0;m<$jscomp.TYPED_ARRAY_CLASSES.length;m++){var u=$jscomp.TYPED_ARRAY_CLASSES[m]+"Array.prototype."+e;$jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(u,h,n,r):$jscomp.polyfillUnisolated(u,h,n,r)}};$jscomp.polyfill=function(e,h,n,r){h&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(e,h,n,r):$jscomp.polyfillUnisolated(e,h,n,r))};
$jscomp.polyfillUnisolated=function(e,h,n,r){n=$jscomp.global;e=e.split(".");for(r=0;r<e.length-1;r++){var m=e[r];if(!(m in n))return;n=n[m]}e=e[e.length-1];r=n[e];h=h(r);h!=r&&h!=null&&$jscomp.defineProperty(n,e,{configurable:!0,writable:!0,value:h})};
$jscomp.polyfillIsolated=function(e,h,n,r){var m=e.split(".");e=m.length===1;r=m[0];r=!e&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var u=0;u<m.length-1;u++){var k=m[u];if(!(k in r))return;r=r[k]}m=m[m.length-1];n=$jscomp.IS_SYMBOL_NATIVE&&n==="es6"?r[m]:null;h=h(n);h!=null&&(e?$jscomp.defineProperty($jscomp.polyfills,m,{configurable:!0,writable:!0,value:h}):h!==n&&($jscomp.propertyToPolyfillSymbol[m]===void 0&&(n=Math.random()*1E9>>>0,$jscomp.propertyToPolyfillSymbol[m]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(m):$jscomp.POLYFILL_PREFIX+n+"$"+m),$jscomp.defineProperty(r,$jscomp.propertyToPolyfillSymbol[m],{configurable:!0,writable:!0,value:h})))};
$jscomp.getConstructImplementation=function(){function e(){function n(){}new n;Reflect.construct(n,[],function(){});return new n instanceof n}if($jscomp.TRUST_ES6_POLYFILLS&&typeof Reflect!="undefined"&&Reflect.construct){if(e())return Reflect.construct;var h=Reflect.construct;return function(n,r,m){n=h(n,r);m&&Reflect.setPrototypeOf(n,m.prototype);return n}}return function(n,r,m){m===void 0&&(m=n);m=$jscomp.objectCreate(m.prototype||Object.prototype);return Function.prototype.apply.call(n,m,r)||
m}};$jscomp.construct={valueOf:$jscomp.getConstructImplementation}.valueOf();$jscomp.underscoreProtoCanBeSet=function(){var e={a:!0},h={};try{return h.__proto__=e,h.a}catch(n){}return!1};$jscomp.setPrototypeOf=$jscomp.ASSUME_ES6||$jscomp.TRUST_ES6_POLYFILLS&&typeof Object.setPrototypeOf=="function"?Object.setPrototypeOf:$jscomp.underscoreProtoCanBeSet()?function(e,h){e.__proto__=h;if(e.__proto__!==h)throw new TypeError(e+" is not extensible");return e}:null;
$jscomp.inherits=function(e,h){e.prototype=$jscomp.objectCreate(h.prototype);e.prototype.constructor=e;if($jscomp.ASSUME_ES6||$jscomp.setPrototypeOf){var n=$jscomp.setPrototypeOf;n(e,h)}else for(n in h)if(n!="prototype")if(Object.defineProperties){var r=Object.getOwnPropertyDescriptor(h,n);r&&Object.defineProperty(e,n,r)}else e[n]=h[n];e.superClass_=h.prototype};$jscomp.arrayIteratorImpl=function(e){var h=0;return function(){return h<e.length?{done:!1,value:e[h++]}:{done:!0}}};
$jscomp.arrayIterator=function(e){return{next:$jscomp.arrayIteratorImpl(e)}};$jscomp.makeIterator=function(e){var h=typeof Symbol!="undefined"&&Symbol.iterator&&e[Symbol.iterator];if(h)return h.call(e);if(typeof e.length=="number")return $jscomp.arrayIterator(e);throw Error(String(e)+" is not an iterable or ArrayLike");};$jscomp.arrayFromIterator=function(e){for(var h,n=[];!(h=e.next()).done;)n.push(h.value);return n};$jscomp.arrayFromIterable=function(e){return e instanceof Array?e:$jscomp.arrayFromIterator($jscomp.makeIterator(e))};
$jscomp.createTemplateTagFirstArg=function(e){return $jscomp.createTemplateTagFirstArgWithRaw(e,e)};$jscomp.createTemplateTagFirstArgWithRaw=function(e,h){e.raw=h;Object.freeze&&(Object.freeze(e),Object.freeze(h));return e};$jscomp.generator={};$jscomp.generator.ensureIteratorResultIsObject_=function(e){if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");};
$jscomp.generator.Context=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};$jscomp.generator.Context.prototype.start_=function(){if(this.isRunning_)throw new TypeError("Generator is already running");this.isRunning_=!0};$jscomp.generator.Context.prototype.stop_=function(){this.isRunning_=!1};
$jscomp.generator.Context.prototype.jumpToErrorHandler_=function(){this.nextAddress=this.catchAddress_||this.finallyAddress_};$jscomp.generator.Context.prototype.next_=function(e){this.yieldResult=e};$jscomp.generator.Context.prototype.throw_=function(e){this.abruptCompletion_={exception:e,isException:!0};this.jumpToErrorHandler_()};$jscomp.generator.Context.prototype.getNextAddressJsc=function(){return this.nextAddress};$jscomp.generator.Context.prototype.getNextAddressJsc=function(){return this.nextAddress};
$jscomp.generator.Context.prototype.getYieldResultJsc=function(){return this.yieldResult};$jscomp.generator.Context.prototype.getYieldResultJsc=function(){return this.yieldResult};$jscomp.generator.Context.prototype.return=function(e){this.abruptCompletion_={return:e};this.nextAddress=this.finallyAddress_};$jscomp.generator.Context.prototype["return"]=$jscomp.generator.Context.prototype.return;
$jscomp.generator.Context.prototype.jumpThroughFinallyBlocks=function(e){this.abruptCompletion_={jumpTo:e};this.nextAddress=this.finallyAddress_};$jscomp.generator.Context.prototype.jumpThroughFinallyBlocks=$jscomp.generator.Context.prototype.jumpThroughFinallyBlocks;$jscomp.generator.Context.prototype.yield=function(e,h){this.nextAddress=h;return{value:e}};$jscomp.generator.Context.prototype.yield=$jscomp.generator.Context.prototype.yield;
$jscomp.generator.Context.prototype.yieldAll=function(e,h){e=$jscomp.makeIterator(e);var n=e.next();$jscomp.generator.ensureIteratorResultIsObject_(n);if(n.done)this.yieldResult=n.value,this.nextAddress=h;else return this.yieldAllIterator_=e,this.yield(n.value,h)};$jscomp.generator.Context.prototype.yieldAll=$jscomp.generator.Context.prototype.yieldAll;$jscomp.generator.Context.prototype.jumpTo=function(e){this.nextAddress=e};$jscomp.generator.Context.prototype.jumpTo=$jscomp.generator.Context.prototype.jumpTo;
$jscomp.generator.Context.prototype.jumpToEnd=function(){this.nextAddress=0};$jscomp.generator.Context.prototype.jumpToEnd=$jscomp.generator.Context.prototype.jumpToEnd;$jscomp.generator.Context.prototype.setCatchFinallyBlocks=function(e,h){this.catchAddress_=e;h!=void 0&&(this.finallyAddress_=h)};$jscomp.generator.Context.prototype.setCatchFinallyBlocks=$jscomp.generator.Context.prototype.setCatchFinallyBlocks;
$jscomp.generator.Context.prototype.setFinallyBlock=function(e){this.catchAddress_=0;this.finallyAddress_=e||0};$jscomp.generator.Context.prototype.setFinallyBlock=$jscomp.generator.Context.prototype.setFinallyBlock;$jscomp.generator.Context.prototype.leaveTryBlock=function(e,h){this.nextAddress=e;this.catchAddress_=h||0};$jscomp.generator.Context.prototype.leaveTryBlock=$jscomp.generator.Context.prototype.leaveTryBlock;
$jscomp.generator.Context.prototype.enterCatchBlock=function(e){this.catchAddress_=e||0;e=this.abruptCompletion_.exception;this.abruptCompletion_=null;return e};$jscomp.generator.Context.prototype.enterCatchBlock=$jscomp.generator.Context.prototype.enterCatchBlock;$jscomp.generator.Context.prototype.enterFinallyBlock=function(e,h,n){n?this.finallyContexts_[n]=this.abruptCompletion_:this.finallyContexts_=[this.abruptCompletion_];this.catchAddress_=e||0;this.finallyAddress_=h||0};
$jscomp.generator.Context.prototype.enterFinallyBlock=$jscomp.generator.Context.prototype.enterFinallyBlock;$jscomp.generator.Context.prototype.leaveFinallyBlock=function(e,h){h=this.finallyContexts_.splice(h||0)[0];if(h=this.abruptCompletion_=this.abruptCompletion_||h){if(h.isException)return this.jumpToErrorHandler_();h.jumpTo!=void 0&&this.finallyAddress_<h.jumpTo?(this.nextAddress=h.jumpTo,this.abruptCompletion_=null):this.nextAddress=this.finallyAddress_}else this.nextAddress=e};
$jscomp.generator.Context.prototype.leaveFinallyBlock=$jscomp.generator.Context.prototype.leaveFinallyBlock;$jscomp.generator.Context.prototype.forIn=function(e){return new $jscomp.generator.Context.PropertyIterator(e)};$jscomp.generator.Context.prototype.forIn=$jscomp.generator.Context.prototype.forIn;$jscomp.generator.Context.PropertyIterator=function(e){this.object_=e;this.properties_=[];for(var h in e)this.properties_.push(h);this.properties_.reverse()};
$jscomp.generator.Context.PropertyIterator.prototype.getNext=function(){for(;this.properties_.length>0;){var e=this.properties_.pop();if(e in this.object_)return e}return null};$jscomp.generator.Context.PropertyIterator.prototype.getNext=$jscomp.generator.Context.PropertyIterator.prototype.getNext;$jscomp.generator.Engine_=function(e){this.context_=new $jscomp.generator.Context;this.program_=e};
$jscomp.generator.Engine_.prototype.next_=function(e){this.context_.start_();if(this.context_.yieldAllIterator_)return this.yieldAllStep_(this.context_.yieldAllIterator_.next,e,this.context_.next_);this.context_.next_(e);return this.nextStep_()};
$jscomp.generator.Engine_.prototype.return_=function(e){this.context_.start_();var h=this.context_.yieldAllIterator_;if(h)return this.yieldAllStep_("return"in h?h["return"]:function(n){return{value:n,done:!0}},e,this.context_.return);this.context_.return(e);return this.nextStep_()};
$jscomp.generator.Engine_.prototype.throw_=function(e){this.context_.start_();if(this.context_.yieldAllIterator_)return this.yieldAllStep_(this.context_.yieldAllIterator_["throw"],e,this.context_.next_);this.context_.throw_(e);return this.nextStep_()};
$jscomp.generator.Engine_.prototype.yieldAllStep_=function(e,h,n){try{var r=e.call(this.context_.yieldAllIterator_,h);$jscomp.generator.ensureIteratorResultIsObject_(r);if(!r.done)return this.context_.stop_(),r;var m=r.value}catch(u){return this.context_.yieldAllIterator_=null,this.context_.throw_(u),this.nextStep_()}this.context_.yieldAllIterator_=null;n.call(this.context_,m);return this.nextStep_()};
$jscomp.generator.Engine_.prototype.nextStep_=function(){for(;this.context_.nextAddress;)try{var e=this.program_(this.context_);if(e)return this.context_.stop_(),{value:e.value,done:!1}}catch(h){this.context_.yieldResult=void 0,this.context_.throw_(h)}this.context_.stop_();if(this.context_.abruptCompletion_){e=this.context_.abruptCompletion_;this.context_.abruptCompletion_=null;if(e.isException)throw e.exception;return{value:e.return,done:!0}}return{value:void 0,done:!0}};
$jscomp.generator.Generator_=function(e){this.next=function(h){return e.next_(h)};this.throw=function(h){return e.throw_(h)};this.return=function(h){return e.return_(h)};this[Symbol.iterator]=function(){return this}};$jscomp.generator.createGenerator=function(e,h){h=new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(h));$jscomp.setPrototypeOf&&e.prototype&&$jscomp.setPrototypeOf(h,e.prototype);return h};
$jscomp.asyncExecutePromiseGenerator=function(e){function h(r){return e.next(r)}function n(r){return e.throw(r)}return new Promise(function(r,m){function u(k){k.done?r(k.value):Promise.resolve(k.value).then(h,n).then(u,m)}u(e.next())})};$jscomp.asyncExecutePromiseGeneratorFunction=function(e){return $jscomp.asyncExecutePromiseGenerator(e())};$jscomp.asyncExecutePromiseGeneratorProgram=function(e){return $jscomp.asyncExecutePromiseGenerator(new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(e)))};
$jscomp.polyfill("globalThis",function(e){return e||$jscomp.global},"es_2020","es3");$jscomp.polyfill("Reflect",function(e){return e?e:{}},"es6","es3");$jscomp.polyfill("Reflect.construct",function(e){return $jscomp.construct},"es6","es3");$jscomp.polyfill("Reflect.setPrototypeOf",function(e){if(e)return e;if($jscomp.setPrototypeOf){var h=$jscomp.setPrototypeOf;return function(n,r){try{return h(n,r),!0}catch(m){return!1}}}return null},"es6","es5");$jscomp.initSymbol=function(){};
$jscomp.polyfill("Symbol",function(e){if(e)return e;var h=function(u,k){this.$jscomp$symbol$id_=u;$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:k})};h.prototype.toString=function(){return this.$jscomp$symbol$id_};var n="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",r=0,m=function(u){if(this instanceof m)throw new TypeError("Symbol is not a constructor");return new h(n+(u||"")+"_"+r++,u)};return m},"es6","es3");
$jscomp.polyfill("Symbol.iterator",function(e){if(e)return e;e=Symbol("Symbol.iterator");$jscomp.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}});return e},"es6","es3");$jscomp.iteratorPrototype=function(e){e={next:e};e[Symbol.iterator]=function(){return this};return e};
$jscomp.polyfill("Promise",function(e){function h(){this.batch_=null}function n(k){return k instanceof m?k:new m(function(p,v){p(k)})}if(e&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof $jscomp.global.PromiseRejectionEvent==="undefined")||!$jscomp.global.Promise||$jscomp.global.Promise.toString().indexOf("[native code]")===-1))return e;h.prototype.asyncExecute=function(k){if(this.batch_==null){this.batch_=[];var p=this;this.asyncExecuteFunction(function(){p.executeBatch_()})}this.batch_.push(k)};
var r=$jscomp.global.setTimeout;h.prototype.asyncExecuteFunction=function(k){r(k,0)};h.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var k=this.batch_;this.batch_=[];for(var p=0;p<k.length;++p){var v=k[p];k[p]=null;try{v()}catch(w){this.asyncThrow_(w)}}}this.batch_=null};h.prototype.asyncThrow_=function(k){this.asyncExecuteFunction(function(){throw k;})};var m=function(k){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var p=this.createResolveAndReject_();
try{k(p.resolve,p.reject)}catch(v){p.reject(v)}};m.prototype.createResolveAndReject_=function(){function k(w){return function(z){v||(v=!0,w.call(p,z))}}var p=this,v=!1;return{resolve:k(this.resolveTo_),reject:k(this.reject_)}};m.prototype.resolveTo_=function(k){if(k===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(k instanceof m)this.settleSameAsPromise_(k);else{a:switch(typeof k){case "object":var p=k!=null;break a;case "function":p=!0;break a;default:p=!1}p?this.resolveToNonPromiseObj_(k):
this.fulfill_(k)}};m.prototype.resolveToNonPromiseObj_=function(k){var p=void 0;try{p=k.then}catch(v){this.reject_(v);return}typeof p=="function"?this.settleSameAsThenable_(p,k):this.fulfill_(k)};m.prototype.reject_=function(k){this.settle_(2,k)};m.prototype.fulfill_=function(k){this.settle_(1,k)};m.prototype.settle_=function(k,p){if(this.state_!=0)throw Error("Cannot settle("+k+", "+p+"): Promise already settled in state"+this.state_);this.state_=k;this.result_=p;this.state_===2&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};m.prototype.scheduleUnhandledRejectionCheck_=function(){var k=this;r(function(){if(k.notifyUnhandledRejection_()){var p=$jscomp.global.console;typeof p!=="undefined"&&p.error(k.result_)}},1)};m.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var k=$jscomp.global.CustomEvent,p=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if(typeof v==="undefined")return!0;typeof k==="function"?k=new k("unhandledrejection",{cancelable:!0}):
typeof p==="function"?k=new p("unhandledrejection",{cancelable:!0}):(k=$jscomp.global.document.createEvent("CustomEvent"),k.initCustomEvent("unhandledrejection",!1,!0,k));k.promise=this;k.reason=this.result_;return v(k)};m.prototype.executeOnSettledCallbacks_=function(){if(this.onSettledCallbacks_!=null){for(var k=0;k<this.onSettledCallbacks_.length;++k)u.asyncExecute(this.onSettledCallbacks_[k]);this.onSettledCallbacks_=null}};var u=new h;m.prototype.settleSameAsPromise_=function(k){var p=this.createResolveAndReject_();
k.callWhenSettled_(p.resolve,p.reject)};m.prototype.settleSameAsThenable_=function(k,p){var v=this.createResolveAndReject_();try{k.call(p,v.resolve,v.reject)}catch(w){v.reject(w)}};m.prototype.then=function(k,p){function v(y,x){return typeof y=="function"?function(D){try{w(y(D))}catch(F){z(F)}}:x}var w,z,A=new m(function(y,x){w=y;z=x});this.callWhenSettled_(v(k,w),v(p,z));return A};m.prototype.catch=function(k){return this.then(void 0,k)};m.prototype.callWhenSettled_=function(k,p){function v(){switch(w.state_){case 1:k(w.result_);
break;case 2:p(w.result_);break;default:throw Error("Unexpected state: "+w.state_);}}var w=this;this.onSettledCallbacks_==null?u.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};m.resolve=n;m.reject=function(k){return new m(function(p,v){v(k)})};m.race=function(k){return new m(function(p,v){for(var w=$jscomp.makeIterator(k),z=w.next();!z.done;z=w.next())n(z.value).callWhenSettled_(p,v)})};m.all=function(k){var p=$jscomp.makeIterator(k),v=p.next();return v.done?n([]):new m(function(w,
z){function A(D){return function(F){y[D]=F;x--;x==0&&w(y)}}var y=[],x=0;do y.push(void 0),x++,n(v.value).callWhenSettled_(A(y.length-1),z),v=p.next();while(!v.done)})};return m},"es6","es3");$jscomp.checkStringArgs=function(e,h,n){if(e==null)throw new TypeError("The 'this' value for String.prototype."+n+" must not be null or undefined");if(h instanceof RegExp)throw new TypeError("First argument to String.prototype."+n+" must not be a regular expression");return e+""};
$jscomp.polyfill("String.prototype.startsWith",function(e){return e?e:function(h,n){var r=$jscomp.checkStringArgs(this,h,"startsWith");h+="";var m=r.length,u=h.length;n=Math.max(0,Math.min(n|0,r.length));for(var k=0;k<u&&n<m;)if(r[n++]!=h[k++])return!1;return k>=u}},"es6","es3");
$jscomp.polyfill("String.prototype.codePointAt",function(e){return e?e:function(h){var n=$jscomp.checkStringArgs(this,null,"codePointAt"),r=n.length;h=Number(h)||0;if(h>=0&&h<r){h|=0;var m=n.charCodeAt(h);if(m<55296||m>56319||h+1===r)return m;h=n.charCodeAt(h+1);return h<56320||h>57343?m:(m-55296)*1024+h+9216}}},"es6","es3");
var DracoEncoderModule=function(){var e,h,n=(e=globalThis.document)==null?void 0:(h=e.currentScript)==null?void 0:h.src;return function(r){function m(l){l&&typeof l==="object"&&(l=l.ptr);this.ptr=ra(l);E(m)[this.ptr]=this}function u(){this.ptr=sa();E(u)[this.ptr]=this}function k(){this.ptr=ta();E(k)[this.ptr]=this}function p(){this.ptr=ua();E(p)[this.ptr]=this}function v(){this.ptr=va();E(v)[this.ptr]=this}function w(){this.ptr=wa();E(w)[this.ptr]=this}function z(){this.ptr=xa();E(z)[this.ptr]=this}
function A(){this.ptr=ya();E(A)[this.ptr]=this}function y(){this.ptr=za();E(y)[this.ptr]=this}function x(){this.ptr=Aa();E(x)[this.ptr]=this}function D(){this.ptr=Ba();E(D)[this.ptr]=this}function F(){throw"cannot construct a VoidPtr, no constructor in IDL";}function N(l){if(typeof l==="object"){for(var a=t.alloc(l,ca),b=a/4,c=0;c<l.length;c++)ca[b+c]=l[c];return a}return l}function I(l){if(typeof l==="object"){for(var a=t.alloc(l,da),b=a/4,c=0;c<l.length;c++)da[b+c]=l[c];return a}return l}function S(l){if(typeof l===
"object"){for(var a=t.alloc(l,ea),b=a/2,c=0;c<l.length;c++)ea[b+c]=l[c];return a}return l}function T(l){if(typeof l==="object"){for(var a=t.alloc(l,H),b=0;b<l.length;b++)H[a+b]=l[b];return a}return l}function O(l){if(typeof l==="string"){l=Ca(l);for(var a=t.alloc(l,H),b=0;b<l.length;b++)H[a+b]=l[b];return a}return l}function Ac(l){return l.__class__}function Bc(l){return l.ptr}function Cc(l,a){return l.ptr===a.ptr}function Dc(l){if(!l.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";
l.__destroy__();delete E(l.__class__)[l.ptr]}function Ec(l,a){return fa(l.ptr,a)}function fa(l,a){var b=E(a),c=b[l];if(c)return c;c=Object.create((a||B).prototype);c.ptr=l;return b[l]=c}function E(l){return(l||B).__cache__}function B(){}function Fc(){var l,a,b;return(0,$jscomp.asyncExecutePromiseGeneratorProgram)(function(c){if(c.getNextAddressJsc()==1){Gc();l=f.setStatus;if(!l)return c.jumpTo(2);l("Running...");return c.yield(new Promise(function(g){return setTimeout(g,1)}),3)}c.getNextAddressJsc()!=
2&&setTimeout(l,1,"");if(ha)return c.return();ia=!0;U(ja);V.e();(b=(a=f).onRuntimeInitialized)==null||b.call(a);Hc();c.jumpToEnd()})}function Ic(){function l(d){d=V=d.exports;f._webidl_free=d.f;f._free=d.g;f._webidl_malloc=d.h;f._malloc=d.i;Da=f._emscripten_bind_VoidPtr___destroy___0=d.j;Ba=f._emscripten_bind_GeometryAttribute_GeometryAttribute_0=d.k;Ea=f._emscripten_bind_GeometryAttribute___destroy___0=d.l;Aa=f._emscripten_bind_PointAttribute_PointAttribute_0=d.m;Fa=f._emscripten_bind_PointAttribute_size_0=
d.n;Ga=f._emscripten_bind_PointAttribute_attribute_type_0=d.o;Ha=f._emscripten_bind_PointAttribute_data_type_0=d.p;Ia=f._emscripten_bind_PointAttribute_num_components_0=d.q;Ja=f._emscripten_bind_PointAttribute_normalized_0=d.r;Ka=f._emscripten_bind_PointAttribute_byte_stride_0=d.s;La=f._emscripten_bind_PointAttribute_byte_offset_0=d.t;Ma=f._emscripten_bind_PointAttribute_unique_id_0=d.u;Na=f._emscripten_bind_PointAttribute___destroy___0=d.v;za=f._emscripten_bind_PointCloud_PointCloud_0=d.w;Oa=f._emscripten_bind_PointCloud_num_attributes_0=
d.x;Pa=f._emscripten_bind_PointCloud_num_points_0=d.y;Qa=f._emscripten_bind_PointCloud___destroy___0=d.z;ya=f._emscripten_bind_Mesh_Mesh_0=d.A;Ra=f._emscripten_bind_Mesh_num_faces_0=d.B;Sa=f._emscripten_bind_Mesh_num_attributes_0=d.C;Ta=f._emscripten_bind_Mesh_num_points_0=d.D;Ua=f._emscripten_bind_Mesh_set_num_points_1=d.E;Va=f._emscripten_bind_Mesh___destroy___0=d.F;xa=f._emscripten_bind_Metadata_Metadata_0=d.G;Wa=f._emscripten_bind_Metadata___destroy___0=d.H;wa=f._emscripten_bind_DracoInt8Array_DracoInt8Array_0=
d.I;Xa=f._emscripten_bind_DracoInt8Array_GetValue_1=d.J;Ya=f._emscripten_bind_DracoInt8Array_size_0=d.K;Za=f._emscripten_bind_DracoInt8Array___destroy___0=d.L;va=f._emscripten_bind_MetadataBuilder_MetadataBuilder_0=d.M;$a=f._emscripten_bind_MetadataBuilder_AddStringEntry_3=d.N;ab=f._emscripten_bind_MetadataBuilder_AddIntEntry_3=d.O;bb=f._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=d.P;cb=f._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=d.Q;db=f._emscripten_bind_MetadataBuilder___destroy___0=
d.R;ua=f._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=d.S;eb=f._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=d.T;fb=f._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=d.U;gb=f._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=d.V;hb=f._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=d.W;ib=f._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=d.X;jb=f._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=d.Y;kb=f._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=
d.Z;lb=f._emscripten_bind_PointCloudBuilder_AddMetadata_2=d._;mb=f._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=d.$;nb=f._emscripten_bind_PointCloudBuilder_SetNormalizedFlagForAttribute_3=d.aa;ob=f._emscripten_bind_PointCloudBuilder___destroy___0=d.ba;ta=f._emscripten_bind_MeshBuilder_MeshBuilder_0=d.ca;pb=f._emscripten_bind_MeshBuilder_AddFacesToMesh_3=d.da;qb=f._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=d.ea;rb=f._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=
d.fa;sb=f._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=d.ga;tb=f._emscripten_bind_MeshBuilder_AddFloatAttribute_5=d.ha;ub=f._emscripten_bind_MeshBuilder_AddInt8Attribute_5=d.ia;vb=f._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=d.ja;wb=f._emscripten_bind_MeshBuilder_AddInt16Attribute_5=d.ka;xb=f._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=d.la;yb=f._emscripten_bind_MeshBuilder_AddInt32Attribute_5=d.ma;zb=f._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=d.na;Ab=f._emscripten_bind_MeshBuilder_AddMetadata_2=
d.oa;Bb=f._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=d.pa;Cb=f._emscripten_bind_MeshBuilder_SetNormalizedFlagForAttribute_3=d.qa;Db=f._emscripten_bind_MeshBuilder___destroy___0=d.ra;sa=f._emscripten_bind_Encoder_Encoder_0=d.sa;Eb=f._emscripten_bind_Encoder_SetEncodingMethod_1=d.ta;Fb=f._emscripten_bind_Encoder_SetAttributeQuantization_2=d.ua;Gb=f._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=d.va;Hb=f._emscripten_bind_Encoder_SetSpeedOptions_2=d.wa;Ib=f._emscripten_bind_Encoder_SetTrackEncodedProperties_1=
d.xa;Jb=f._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=d.ya;Kb=f._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=d.za;Lb=f._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=d.Aa;Mb=f._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=d.Ba;Nb=f._emscripten_bind_Encoder___destroy___0=d.Ca;ra=f._emscripten_bind_ExpertEncoder_ExpertEncoder_1=d.Da;Ob=f._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=d.Ea;Pb=f._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=d.Fa;Qb=f._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=
d.Ga;Rb=f._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=d.Ha;Sb=f._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=d.Ia;Tb=f._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=d.Ja;Ub=f._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=d.Ka;Vb=f._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=d.La;Wb=f._emscripten_bind_ExpertEncoder___destroy___0=d.Ma;Xb=f._emscripten_enum_draco_GeometryAttribute_Type_INVALID=d.Na;Yb=f._emscripten_enum_draco_GeometryAttribute_Type_POSITION=
d.Oa;Zb=f._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=d.Pa;$b=f._emscripten_enum_draco_GeometryAttribute_Type_COLOR=d.Qa;ac=f._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=d.Ra;bc=f._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=d.Sa;cc=f._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=d.Ta;dc=f._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=d.Ua;ec=f._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=d.Va;fc=f._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=
d.Wa;hc=f._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=d.Xa;W=d.d;ic();return V}var a,b,c,g;return(0,$jscomp.asyncExecutePromiseGeneratorProgram)(function(d){if(d.getNextAddressJsc()==1){a={a:jc};if(b=f.instantiateWasm)return d.return(new Promise(function(q){b(a,function(C){return q(l(C))})}));X!=null||(X=Jc("draco_encoder.wasm"));return d.yield(Kc(P,X,a),2)}c=d.getYieldResultJsc();g=l(c.instance);return d.return(g)})}function Kc(l,a,b){var c,g,d;return(0,$jscomp.asyncExecutePromiseGeneratorProgram)(function(q){switch(q.getNextAddressJsc()){case 1:if(l||
Q(a)||ka){q.jumpTo(2);break}q.setCatchFinallyBlocks(3);c=fetch(a,{credentials:"same-origin"});return q.yield(WebAssembly.instantiateStreaming(c,b),5);case 5:return g=q.getYieldResultJsc(),q.return(g);case 3:d=q.enterCatchBlock(),K("wasm streaming compile failed: "+d),K("falling back to ArrayBuffer instantiation");case 2:return q.return(Lc(a,b))}})}function Lc(l,a){var b,c,g;return(0,$jscomp.asyncExecutePromiseGeneratorProgram)(function(d){switch(d.getNextAddressJsc()){case 1:return d.setCatchFinallyBlocks(2),
d.yield(Mc(l),4);case 4:return b=d.getYieldResultJsc(),d.yield(WebAssembly.instantiate(b,a),5);case 5:return c=d.getYieldResultJsc(),d.return(c);case 2:g=d.enterCatchBlock(),K("failed to asynchronously prepare wasm: "+g),L(g),d.jumpToEnd()}})}function Mc(l){var a;return(0,$jscomp.asyncExecutePromiseGeneratorProgram)(function(b){switch(b.getNextAddressJsc()){case 1:if(P){b.jumpTo(2);break}b.setCatchFinallyBlocks(3);return b.yield(la(l),5);case 5:return a=b.getYieldResultJsc(),b.return(new Uint8Array(a));
case 3:b.enterCatchBlock();case 2:var c=b.return;if(l==X&&P)var g=new Uint8Array(P);else if(Y)g=Y(l);else throw"both async and sync fetching of the wasm failed";return c.call(b,g)}})}function L(l){var a,b;(b=(a=f).onAbort)==null||b.call(a,l);l="Aborted("+l+")";K(l);ha=!0;throw new WebAssembly.RuntimeError(l+". Build with -sASSERTIONS for more info.");}function Hc(){var l=f.postRun;l&&(typeof l=="function"&&(l=[l]),Z.push.apply(Z,(0,$jscomp.arrayFromIterable)(l)));U(Z)}function Gc(){var l=f.preRun;
l&&(typeof l=="function"&&(l=[l]),aa.push.apply(aa,(0,$jscomp.arrayFromIterable)(l)));U(aa)}function ic(){var l,a;((l=H)==null?0:(a=l.buffer)==null?0:a.resizable)||(l=W.buffer,f.HEAP8=H=new Int8Array(l),f.HEAP16=ea=new Int16Array(l),f.HEAPU8=kc=new Uint8Array(l),f.HEAPU16=new Uint16Array(l),f.HEAP32=da=new Int32Array(l),f.HEAPU32=J=new Uint32Array(l),f.HEAPF32=ca=new Float32Array(l),f.HEAPF64=new Float64Array(l))}function Jc(l){return f.locateFile?f.locateFile(l,R):R+l}function Nc(l){if(typeof l!==
"string")return!1;l=l.split(".");return l.length<2||l.length>3?!1:l[0]==1&&l[1]>=0&&l[1]<=5?!0:l[0]!=0||l[1]>10?!1:!0}r=r===void 0?{}:r;var f,lc,ba,mc,nc,oc,ka,ma,na,R,la,Y,oa,K,P,ha,Q,pa,pc,ia,X,H,U,Z,aa,J,G,qc,rc,sc,tc,uc,qa,vc,kc,wc,xc,yc,Ca,ja,zc,ea,da,ca,M,Da,Ba,Ea,Aa,Fa,Ga,Ha,Ia,Ja,Ka,La,Ma,Na,za,Oa,Pa,Qa,ya,Ra,Sa,Ta,Ua,Va,xa,Wa,wa,Xa,Ya,Za,va,$a,ab,bb,cb,db,ua,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,ob,ta,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,sa,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,ra,Ob,Pb,Qb,Rb,Sb,
Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,ac,bc,cc,dc,ec,fc,hc,W,jc,V,t;return(0,$jscomp.asyncExecutePromiseGeneratorProgram)(function(l){if(l.getNextAddressJsc()==1){f=r;lc=!!globalThis.window;ba=!!globalThis.WorkerGlobalScope;ka=((mc=globalThis.process)==null?void 0:(nc=mc.versions)==null?void 0:nc.node)&&((oc=globalThis.process)==null?void 0:oc.type)!="renderer";na=ma=!1;f.onRuntimeInitialized=function(){ma=!0;if(na&&typeof f.onModuleLoaded==="function")f.onModuleLoaded(f)};f.onModuleParsed=function(){na=!0;if(ma&&
typeof f.onModuleLoaded==="function")f.onModuleLoaded(f)};f.isVersionSupported=Nc;typeof __filename!="undefined"?n=__filename:ba&&(n=self.location.href);R="";if(ka)oa=require("node:fs"),R=__dirname+"/",Y=function(a){a=Q(a)?new URL(a):a;return oa.readFileSync(a)},la=function(a,b){b=b===void 0?!0:b;var c;return(0,$jscomp.asyncExecutePromiseGeneratorProgram)(function(g){a=Q(a)?new URL(a):a;c=oa.readFileSync(a,b?void 0:"utf8");return g.return(c)})},process.argv.length>1&&process.argv[1].replace(/\\/g,
"/"),process.argv.slice(2);else if(lc||ba){try{R=(new URL(".",n)).href}catch(a){}ba&&(Y=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});la=function(a){var b;return(0,$jscomp.asyncExecutePromiseGeneratorProgram)(function(c){if(c.getNextAddressJsc()==1)return Q(a)?c.return(new Promise(function(g,d){var q=new XMLHttpRequest;q.open("GET",a,!0);q.responseType="arraybuffer";q.onload=function(){q.status==200||q.status==
0&&q.response?g(q.response):d(q.status)};q.onerror=d;q.send(null)})):c.yield(fetch(a,{credentials:"same-origin"}),2);b=c.getYieldResultJsc();if(b.ok)return c.return(b.arrayBuffer());throw Error(b.status+" : "+b.url);})}}console.log.bind(console);K=console.error.bind(console);ha=!1;Q=function(a){return a.startsWith("file://")};pa=function(){};pc=function(){return pa.apply(this,arguments)||this};$jscomp.inherits(pc,pa);ia=!1;U=function(a){for(;a.length>0;)a.shift()(f)};Z=[];aa=[];G=function(a){this.excPtr=
a;this.ptr=a-24};G.prototype.set_type=function(a){J[this.ptr+4>>2]=a};G.prototype.get_type=function(){return J[this.ptr+4>>2]};G.prototype.set_destructor=function(a){J[this.ptr+8>>2]=a};G.prototype.get_destructor=function(){return J[this.ptr+8>>2]};G.prototype.set_caught=function(a){H[this.ptr+12]=a?1:0};G.prototype.get_caught=function(){return H[this.ptr+12]!=0};G.prototype.set_rethrown=function(a){H[this.ptr+13]=a?1:0};G.prototype.get_rethrown=function(){return H[this.ptr+13]!=0};G.prototype.init=
function(a,b){this.set_adjusted_ptr(0);this.set_type(a);this.set_destructor(b)};G.prototype.set_adjusted_ptr=function(a){J[this.ptr+16>>2]=a};G.prototype.get_adjusted_ptr=function(){return J[this.ptr+16>>2]};qc=0;rc=function(a){L()};sc=function(a,b,c){(new G(a)).init(b,c);qc++;rc(a)};tc=function(){return L("")};uc=function(){return 2147483648};qa=function(a,b){return Math.ceil(a/b)*b};vc=function(a){var b=W.buffer.byteLength;try{return W.grow((a-b+65535)/65536|0),ic(),1}catch(c){}};wc=function(a){var b=
kc.length;a>>>=0;var c=uc();if(a>c)return!1;for(var g=1;g<=4;g*=2){var d=b*(1+.2/g);d=Math.min(d,a+100663296);d=Math.min(c,qa(Math.max(a,d),65536));if(vc(d))return!0}return!1};xc=function(a){for(var b=0,c=0;c<a.length;++c){var g=a.charCodeAt(c);g<=127?b++:g<=2047?b+=2:g>=55296&&g<=57343?(b+=4,++c):b+=3}return b};yc=function(a,b,c,g){if(!(g>0))return 0;var d=c;g=c+g-1;for(var q=0;q<a.length;++q){var C=a.codePointAt(q);if(C<=127){if(c>=g)break;b[c++]=C}else if(C<=2047){if(c+1>=g)break;b[c++]=192|C>>
6;b[c++]=128|C&63}else if(C<=65535){if(c+2>=g)break;b[c++]=224|C>>12;b[c++]=128|C>>6&63;b[c++]=128|C&63}else{if(c+3>=g)break;b[c++]=240|C>>18;b[c++]=128|C>>12&63;b[c++]=128|C>>6&63;b[c++]=128|C&63;q++}}b[c]=0;return c-d};Ca=function(a,b,c){c=c>0?c:xc(a)+1;c=Array(c);a=yc(a,c,0,c.length);b&&(c.length=a);return c};globalThis.TextDecoder&&new TextDecoder;ja=[];zc=function(a){return ja.push(a)};f.printErr&&(K=f.printErr);f.wasmBinary&&(P=f.wasmBinary);if(M=f.preInit)for(typeof M=="function"&&(f.preInit=
M=[M]);M.length>0;)M.shift()();jc={a:sc,c:tc,b:wc};return l.yield(Ic(),2)}if(l.getNextAddressJsc()!=3)return V=l.getYieldResultJsc(),l.yield(Fc(),3);B.prototype=Object.create(B.prototype);B.prototype.constructor=B;B.prototype.__class__=B;B.__cache__={};f.WrapperObject=B;f.getCache=E;f.wrapPointer=fa;f.castObject=Ec;f.NULL=fa(0);f.destroy=Dc;f.compare=Cc;f.getPointer=Bc;f.getClass=Ac;t={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(t.needed){for(var a=0;a<t.temps.length;a++)f._webidl_free(t.temps[a]);
t.temps.length=0;f._webidl_free(t.buffer);t.buffer=0;t.size+=t.needed;t.needed=0}t.buffer||(t.size+=128,t.buffer=f._webidl_malloc(t.size),t.buffer||L(void 0));t.pos=0},alloc:function(a,b){t.buffer||L(void 0);a=a.length*b.BYTES_PER_ELEMENT;a=qa(a,8);t.pos+a>=t.size?(a>0||L(void 0),t.needed+=a,b=f._webidl_malloc(a),t.temps.push(b)):(b=t.buffer+t.pos,t.pos+=a);return b}};F.prototype=Object.create(B.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};f.VoidPtr=F;F.prototype.__destroy__=
F.prototype.__destroy__=function(){Da(this.ptr)};D.prototype=Object.create(B.prototype);D.prototype.constructor=D;D.prototype.__class__=D;D.__cache__={};f.GeometryAttribute=D;D.prototype.__destroy__=D.prototype.__destroy__=function(){Ea(this.ptr)};x.prototype=Object.create(B.prototype);x.prototype.constructor=x;x.prototype.__class__=x;x.__cache__={};f.PointAttribute=x;x.prototype.size=x.prototype.size=function(){return Fa(this.ptr)};x.prototype.attribute_type=x.prototype.attribute_type=function(){return Ga(this.ptr)};
x.prototype.data_type=x.prototype.data_type=function(){return Ha(this.ptr)};x.prototype.num_components=x.prototype.num_components=function(){return Ia(this.ptr)};x.prototype.normalized=x.prototype.normalized=function(){return!!Ja(this.ptr)};x.prototype.byte_stride=x.prototype.byte_stride=function(){return Ka(this.ptr)};x.prototype.byte_offset=x.prototype.byte_offset=function(){return La(this.ptr)};x.prototype.unique_id=x.prototype.unique_id=function(){return Ma(this.ptr)};x.prototype.__destroy__=
x.prototype.__destroy__=function(){Na(this.ptr)};y.prototype=Object.create(B.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};f.PointCloud=y;y.prototype.num_attributes=y.prototype.num_attributes=function(){return Oa(this.ptr)};y.prototype.num_points=y.prototype.num_points=function(){return Pa(this.ptr)};y.prototype.__destroy__=y.prototype.__destroy__=function(){Qa(this.ptr)};A.prototype=Object.create(B.prototype);A.prototype.constructor=A;A.prototype.__class__=A;A.__cache__=
{};f.Mesh=A;A.prototype.num_faces=A.prototype.num_faces=function(){return Ra(this.ptr)};A.prototype.num_attributes=A.prototype.num_attributes=function(){return Sa(this.ptr)};A.prototype.num_points=A.prototype.num_points=function(){return Ta(this.ptr)};A.prototype.set_num_points=A.prototype.set_num_points=function(a){var b=this.ptr;a&&typeof a==="object"&&(a=a.ptr);Ua(b,a)};A.prototype.__destroy__=A.prototype.__destroy__=function(){Va(this.ptr)};z.prototype=Object.create(B.prototype);z.prototype.constructor=
z;z.prototype.__class__=z;z.__cache__={};f.Metadata=z;z.prototype.__destroy__=z.prototype.__destroy__=function(){Wa(this.ptr)};w.prototype=Object.create(B.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};f.DracoInt8Array=w;w.prototype.GetValue=w.prototype.GetValue=function(a){var b=this.ptr;a&&typeof a==="object"&&(a=a.ptr);return Xa(b,a)};w.prototype.size=w.prototype.size=function(){return Ya(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){Za(this.ptr)};
v.prototype=Object.create(B.prototype);v.prototype.constructor=v;v.prototype.__class__=v;v.__cache__={};f.MetadataBuilder=v;v.prototype.AddStringEntry=v.prototype.AddStringEntry=function(a,b,c){var g=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b=b&&typeof b==="object"?b.ptr:O(b);c=c&&typeof c==="object"?c.ptr:O(c);return!!$a(g,a,b,c)};v.prototype.AddIntEntry=v.prototype.AddIntEntry=function(a,b,c){var g=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b=b&&typeof b==="object"?b.ptr:
O(b);c&&typeof c==="object"&&(c=c.ptr);return!!ab(g,a,b,c)};v.prototype.AddIntEntryArray=v.prototype.AddIntEntryArray=function(a,b,c,g){var d=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b=b&&typeof b==="object"?b.ptr:O(b);typeof c=="object"&&(c=I(c));g&&typeof g==="object"&&(g=g.ptr);return!!bb(d,a,b,c,g)};v.prototype.AddDoubleEntry=v.prototype.AddDoubleEntry=function(a,b,c){var g=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b=b&&typeof b==="object"?b.ptr:O(b);c&&typeof c==="object"&&
(c=c.ptr);return!!cb(g,a,b,c)};v.prototype.__destroy__=v.prototype.__destroy__=function(){db(this.ptr)};p.prototype=Object.create(B.prototype);p.prototype.constructor=p;p.prototype.__class__=p;p.__cache__={};f.PointCloudBuilder=p;p.prototype.AddFloatAttribute=p.prototype.AddFloatAttribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=N(d));
return eb(q,a,b,c,g,d)};p.prototype.AddInt8Attribute=p.prototype.AddInt8Attribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=T(d));return fb(q,a,b,c,g,d)};p.prototype.AddUInt8Attribute=p.prototype.AddUInt8Attribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c===
"object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=T(d));return gb(q,a,b,c,g,d)};p.prototype.AddInt16Attribute=p.prototype.AddInt16Attribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=S(d));return hb(q,a,b,c,g,d)};p.prototype.AddUInt16Attribute=p.prototype.AddUInt16Attribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();
a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=S(d));return ib(q,a,b,c,g,d)};p.prototype.AddInt32Attribute=p.prototype.AddInt32Attribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=I(d));return jb(q,a,b,c,g,d)};p.prototype.AddUInt32Attribute=
p.prototype.AddUInt32Attribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=I(d));return kb(q,a,b,c,g,d)};p.prototype.AddMetadata=p.prototype.AddMetadata=function(a,b){var c=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);return!!lb(c,a,b)};p.prototype.SetMetadataForAttribute=p.prototype.SetMetadataForAttribute=
function(a,b,c){var g=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);return!!mb(g,a,b,c)};p.prototype.SetNormalizedFlagForAttribute=p.prototype.SetNormalizedFlagForAttribute=function(a,b,c){var g=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);return!!nb(g,a,b,c)};p.prototype.__destroy__=p.prototype.__destroy__=function(){ob(this.ptr)};k.prototype=Object.create(B.prototype);
k.prototype.constructor=k;k.prototype.__class__=k;k.__cache__={};f.MeshBuilder=k;k.prototype.AddFacesToMesh=k.prototype.AddFacesToMesh=function(a,b,c){var g=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);typeof c=="object"&&(c=I(c));return!!pb(g,a,b,c)};k.prototype.AddFloatAttributeToMesh=k.prototype.AddFloatAttributeToMesh=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&
(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=N(d));return qb(q,a,b,c,g,d)};k.prototype.AddInt32AttributeToMesh=k.prototype.AddInt32AttributeToMesh=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=I(d));return rb(q,a,b,c,g,d)};k.prototype.AddMetadataToMesh=k.prototype.AddMetadataToMesh=function(a,b){var c=this.ptr;a&&typeof a===
"object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);return!!sb(c,a,b)};k.prototype.AddFloatAttribute=k.prototype.AddFloatAttribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=N(d));return tb(q,a,b,c,g,d)};k.prototype.AddInt8Attribute=k.prototype.AddInt8Attribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=
a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=T(d));return ub(q,a,b,c,g,d)};k.prototype.AddUInt8Attribute=k.prototype.AddUInt8Attribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=T(d));return vb(q,a,b,c,g,d)};k.prototype.AddInt16Attribute=k.prototype.AddInt16Attribute=
function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=S(d));return wb(q,a,b,c,g,d)};k.prototype.AddUInt16Attribute=k.prototype.AddUInt16Attribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&
(d=S(d));return xb(q,a,b,c,g,d)};k.prototype.AddInt32Attribute=k.prototype.AddInt32Attribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=I(d));return yb(q,a,b,c,g,d)};k.prototype.AddUInt32Attribute=k.prototype.AddUInt32Attribute=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);
c&&typeof c==="object"&&(c=c.ptr);g&&typeof g==="object"&&(g=g.ptr);typeof d=="object"&&(d=I(d));return zb(q,a,b,c,g,d)};k.prototype.AddMetadata=k.prototype.AddMetadata=function(a,b){var c=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);return!!Ab(c,a,b)};k.prototype.SetMetadataForAttribute=k.prototype.SetMetadataForAttribute=function(a,b,c){var g=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);return!!Bb(g,
a,b,c)};k.prototype.SetNormalizedFlagForAttribute=k.prototype.SetNormalizedFlagForAttribute=function(a,b,c){var g=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);return!!Cb(g,a,b,c)};k.prototype.__destroy__=k.prototype.__destroy__=function(){Db(this.ptr)};u.prototype=Object.create(B.prototype);u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};f.Encoder=u;u.prototype.SetEncodingMethod=u.prototype.SetEncodingMethod=function(a){var b=
this.ptr;a&&typeof a==="object"&&(a=a.ptr);Eb(b,a)};u.prototype.SetAttributeQuantization=u.prototype.SetAttributeQuantization=function(a,b){var c=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);Fb(c,a,b)};u.prototype.SetAttributeExplicitQuantization=u.prototype.SetAttributeExplicitQuantization=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);typeof g=="object"&&(g=N(g));
d&&typeof d==="object"&&(d=d.ptr);Gb(q,a,b,c,g,d)};u.prototype.SetSpeedOptions=u.prototype.SetSpeedOptions=function(a,b){var c=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);Hb(c,a,b)};u.prototype.SetTrackEncodedProperties=u.prototype.SetTrackEncodedProperties=function(a){var b=this.ptr;a&&typeof a==="object"&&(a=a.ptr);Ib(b,a)};u.prototype.EncodeMeshToDracoBuffer=u.prototype.EncodeMeshToDracoBuffer=function(a,b){var c=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b===
"object"&&(b=b.ptr);return Jb(c,a,b)};u.prototype.EncodePointCloudToDracoBuffer=u.prototype.EncodePointCloudToDracoBuffer=function(a,b,c){var g=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);return Kb(g,a,b,c)};u.prototype.GetNumberOfEncodedPoints=u.prototype.GetNumberOfEncodedPoints=function(){return Lb(this.ptr)};u.prototype.GetNumberOfEncodedFaces=u.prototype.GetNumberOfEncodedFaces=function(){return Mb(this.ptr)};u.prototype.__destroy__=
u.prototype.__destroy__=function(){Nb(this.ptr)};m.prototype=Object.create(B.prototype);m.prototype.constructor=m;m.prototype.__class__=m;m.__cache__={};f.ExpertEncoder=m;m.prototype.SetEncodingMethod=m.prototype.SetEncodingMethod=function(a){var b=this.ptr;a&&typeof a==="object"&&(a=a.ptr);Ob(b,a)};m.prototype.SetAttributeQuantization=m.prototype.SetAttributeQuantization=function(a,b){var c=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);Pb(c,a,b)};m.prototype.SetAttributeExplicitQuantization=
m.prototype.SetAttributeExplicitQuantization=function(a,b,c,g,d){var q=this.ptr;t.prepare();a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);c&&typeof c==="object"&&(c=c.ptr);typeof g=="object"&&(g=N(g));d&&typeof d==="object"&&(d=d.ptr);Qb(q,a,b,c,g,d)};m.prototype.SetSpeedOptions=m.prototype.SetSpeedOptions=function(a,b){var c=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);Rb(c,a,b)};m.prototype.SetTrackEncodedProperties=m.prototype.SetTrackEncodedProperties=
function(a){var b=this.ptr;a&&typeof a==="object"&&(a=a.ptr);Sb(b,a)};m.prototype.EncodeToDracoBuffer=m.prototype.EncodeToDracoBuffer=function(a,b){var c=this.ptr;a&&typeof a==="object"&&(a=a.ptr);b&&typeof b==="object"&&(b=b.ptr);return Tb(c,a,b)};m.prototype.GetNumberOfEncodedPoints=m.prototype.GetNumberOfEncodedPoints=function(){return Ub(this.ptr)};m.prototype.GetNumberOfEncodedFaces=m.prototype.GetNumberOfEncodedFaces=function(){return Vb(this.ptr)};m.prototype.__destroy__=m.prototype.__destroy__=
function(){Wb(this.ptr)};(function(){function a(){f.INVALID=Xb();f.POSITION=Yb();f.NORMAL=Zb();f.COLOR=$b();f.TEX_COORD=ac();f.GENERIC=bc();f.INVALID_GEOMETRY_TYPE=cc();f.POINT_CLOUD=dc();f.TRIANGULAR_MESH=ec();f.MESH_SEQUENTIAL_ENCODING=fc();f.MESH_EDGEBREAKER_ENCODING=hc()}ia?a():zc(a)})();if(typeof f.onModuleParsed==="function")f.onModuleParsed();return l.return(f)})}}();
typeof exports==="object"&&typeof module==="object"?(module.exports=DracoEncoderModule,module.exports.default=DracoEncoderModule):typeof define==="function"&&define.amd&&define([],function(){return DracoEncoderModule});