Agriculture-front-end/public/Cesium/ThirdParty/Workers/draco_decoder_nodejs.js

2 lines
57 KiB
JavaScript
Raw Normal View History

2023-04-23 09:41:12 +08:00
var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.arrayIteratorImpl=function(p){var s=0;return function(){return s<p.length?{done:!1,value:p[s++]}:{done:!0}}},$jscomp.arrayIterator=function(p){return{next:$jscomp.arrayIteratorImpl(p)}},$jscomp.makeIterator=function(p){var s=typeof Symbol<"u"&&Symbol.iterator&&p[Symbol.iterator];return s?s.call(p):$jscomp.arrayIterator(p)},$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(p){p=[typeof globalThis=="object"&&globalThis,p,typeof window=="object"&&window,typeof self=="object"&&self,typeof global=="object"&&global];for(var s=0;s<p.length;++s){var a=p[s];if(a&&a.Math==Math)return a}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(p,s,a){return p==Array.prototype||p==Object.prototype||(p[s]=a.value),p},$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(p,s){var a=$jscomp.propertyToPolyfillSymbol[s];return a==null?p[s]:(a=p[a],a!==void 0?a:p[s])};$jscomp.polyfill=function(p,s,a,c){s&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(p,s,a,c):$jscomp.polyfillUnisolated(p,s,a,c))},$jscomp.polyfillUnisolated=function(p,s,a,c){for(a=$jscomp.global,p=p.split("."),c=0;c<p.length-1;c++){var i=p[c];if(!(i in a))return;a=a[i]}p=p[p.length-1],c=a[p],s=s(c),s!=c&&s!=null&&$jscomp.defineProperty(a,p,{configurable:!0,writable:!0,value:s})},$jscomp.polyfillIsolated=function(p,s,a,c){var i=p.split(".");p=i.length===1,c=i[0],c=!p&&c in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var I=0;I<i.length-1;I++){var _=i[I];if(!(_ in c))return;c=c[_]}i=i[i.length-1],a=$jscomp.IS_SYMBOL_NATIVE&&a==="es6"?c[i]:null,s=s(a),s!=null&&(p?$jscomp.defineProperty($jscomp.polyfills,i,{configurable:!0,writable:!0,value:s}):s!==a&&($jscomp.propertyToPolyfillSymbol[i]===void 0&&(a=1e9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[i]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(i):$jscomp.POLYFILL_PREFIX+a+"$"+i),$jscomp.defineProperty(c,$jscomp.propertyToPolyfillSymbol[i],{configurable:!0,writable:!0,value:s})))},$jscomp.polyfill("Promise",function(p){function s(){this.batch_=null}function a(_){return _ instanceof i?_:new i(function(y,b){y(_)})}if(p&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof $jscomp.global.PromiseRejectionEvent>"u")||!$jscomp.global.Promise||$jscomp.global.Promise.toString().indexOf("[native code]")===-1))return p;s.prototype.asyncExecute=function(_){if(this.batch_==null){this.batch_=[];var y=this;this.asyncExecuteFunction(function(){y.executeBatch_()})}this.batch_.push(_)};var c=$jscomp.global.setTimeout;s.prototype.asyncExecuteFunction=function(_){c(_,0)},s.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var _=this.batch_;this.batch_=[];for(var y=0;y<_.length;++y){var b=_[y];_[y]=null;try{b()}catch(D){this.asyncThrow_(D)}}}this.batch_=null},s.prototype.asyncThrow_=function(_){this.asyncExecuteFunction(function(){throw _})};var i=function(_){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var y=this.createResolveAndReject_();try{_(y.resolve,y.reject)}catch(b){y.reject(b)}};i.prototype.createResolveAndReject_=function(){function _(D){return function(L){b||(b=!0,D.call(y,L))}}var y=this,b=!1;return{resolve:_(this.resolveTo_),reject:_(this.reject_)}},i.prototype.resolveTo_=function(_){if(_===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(_ instanceof i)this.settleSameAsPromise_(_);else{t:switch(typeof _){case"object":var y