mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
657 lines
302 KiB
JavaScript
657 lines
302 KiB
JavaScript
(function(){/*
|
|
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var h,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},da=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
|
|
},k=da(this),ea=function(a,b){if(b)a:{var c=k;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
|
|
ea("Symbol",function(a){if(a)return a;var b=function(e,f){this.vi=e;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.vi};var c=0,d=function(e){if(this instanceof d)throw new TypeError("Symbol is not a constructor");return new b("jscomp_symbol_"+(e||"")+"_"+c++,e)};return d});
|
|
ea("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=k[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return fa(aa(this))}})}return a});
|
|
var fa=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},m=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},ha=function(a){if(!(a instanceof Array)){a=m(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ia="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ja;
|
|
if("function"==typeof Object.setPrototypeOf)ja=Object.setPrototypeOf;else{var ka;a:{var la={Ij:!0},ma={};try{ma.__proto__=la;ka=ma.Ij;break a}catch(a){}ka=!1}ja=ka?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var na=ja,q=function(a,b){a.prototype=ia(b.prototype);a.prototype.constructor=a;if(na)na(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.I=b.prototype};ea("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
|
|
var oa=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};ea("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=oa(this,b,"endsWith");b+="";void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});
|
|
ea("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=oa(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});ea("String.prototype.repeat",function(a){return a?a:function(b){var c=oa(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
|
|
var pa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},qa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)pa(d,e)&&(a[e]=d[e])}return a};ea("Object.assign",function(a){return a||qa});
|
|
ea("Promise",function(a){function b(){this.rb=null}function c(g){return g instanceof e?g:new e(function(l){l(g)})}if(a)return a;b.prototype.og=function(g){if(null==this.rb){this.rb=[];var l=this;this.pg(function(){l.Tj()})}this.rb.push(g)};var d=k.setTimeout;b.prototype.pg=function(g){d(g,0)};b.prototype.Tj=function(){for(;this.rb&&this.rb.length;){var g=this.rb;this.rb=[];for(var l=0;l<g.length;++l){var n=g[l];g[l]=null;try{n()}catch(p){this.Lj(p)}}}this.rb=null};b.prototype.Lj=function(g){this.pg(function(){throw g;
|
|
})};var e=function(g){this.T=0;this.ga=void 0;this.yc=[];this.uh=!1;var l=this.We();try{g(l.resolve,l.reject)}catch(n){l.reject(n)}};e.prototype.We=function(){function g(p){return function(t){n||(n=!0,p.call(l,t))}}var l=this,n=!1;return{resolve:g(this.pk),reject:g(this.Pf)}};e.prototype.pk=function(g){if(g===this)this.Pf(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.rk(g);else{a:switch(typeof g){case "object":var l=null!=g;break a;case "function":l=!0;break a;default:l=
|
|
!1}l?this.nk(g):this.fh(g)}};e.prototype.nk=function(g){var l=void 0;try{l=g.then}catch(n){this.Pf(n);return}"function"==typeof l?this.sk(l,g):this.fh(g)};e.prototype.Pf=function(g){this.bi(2,g)};e.prototype.fh=function(g){this.bi(1,g)};e.prototype.bi=function(g,l){if(0!=this.T)throw Error("Cannot settle("+g+", "+l+"): Promise already settled in state"+this.T);this.T=g;this.ga=l;2===this.T&&this.qk();this.Vj()};e.prototype.qk=function(){var g=this;d(function(){if(g.ik()){var l=k.console;"undefined"!==
|
|
typeof l&&l.error(g.ga)}},1)};e.prototype.ik=function(){if(this.uh)return!1;var g=k.CustomEvent,l=k.Event,n=k.dispatchEvent;if("undefined"===typeof n)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):"function"===typeof l?g=new l("unhandledrejection",{cancelable:!0}):(g=k.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.ga;return n(g)};e.prototype.Vj=function(){if(null!=this.yc){for(var g=0;g<this.yc.length;++g)f.og(this.yc[g]);
|
|
this.yc=null}};var f=new b;e.prototype.rk=function(g){var l=this.We();g.zd(l.resolve,l.reject)};e.prototype.sk=function(g,l){var n=this.We();try{g.call(l,n.resolve,n.reject)}catch(p){n.reject(p)}};e.prototype.then=function(g,l){function n(D,ca){return"function"==typeof D?function(Y){try{p(D(Y))}catch(V){t(V)}}:ca}var p,t,C=new e(function(D,ca){p=D;t=ca});this.zd(n(g,p),n(l,t));return C};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.zd=function(g,l){function n(){switch(p.T){case 1:g(p.ga);
|
|
break;case 2:l(p.ga);break;default:throw Error("Unexpected state: "+p.T);}}var p=this;null==this.yc?f.og(n):this.yc.push(n);this.uh=!0};e.resolve=c;e.reject=function(g){return new e(function(l,n){n(g)})};e.race=function(g){return new e(function(l,n){for(var p=m(g),t=p.next();!t.done;t=p.next())c(t.value).zd(l,n)})};e.all=function(g){var l=m(g),n=l.next();return n.done?c([]):new e(function(p,t){function C(Y){return function(V){D[Y]=V;ca--;0==ca&&p(D)}}var D=[],ca=0;do D.push(void 0),ca++,c(n.value).zd(C(D.length-
|
|
1),t),n=l.next();while(!n.done)})};return e});var ra=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};ea("Array.prototype.keys",function(a){return a?a:function(){return ra(this,function(b){return b})}});ea("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)pa(b,d)&&c.push([d,b[d]]);return c}});
|
|
ea("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});ea("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});ea("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==oa(this,b,"includes").indexOf(b,c||0)}});
|
|
ea("Array.prototype.values",function(a){return a?a:function(){return ra(this,function(b,c){return c})}});ea("Array.prototype.entries",function(a){return a?a:function(){return ra(this,function(b,c){return[b,c]})}});
|
|
ea("WeakMap",function(a){function b(){}function c(n){var p=typeof n;return"object"===p&&null!==n||"function"===p}function d(n){if(!pa(n,f)){var p=new b;ba(n,f,{value:p})}}function e(n){var p=Object[n];p&&(Object[n]=function(t){if(t instanceof b)return t;Object.isExtensible(t)&&d(t);return p(t)})}if(function(){if(!a||!Object.seal)return!1;try{var n=Object.seal({}),p=Object.seal({}),t=new a([[n,2],[p,3]]);if(2!=t.get(n)||3!=t.get(p))return!1;t.delete(n);t.set(p,4);return!t.has(n)&&4==t.get(p)}catch(C){return!1}}())return a;
|
|
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,l=function(n){this.R=(g+=Math.random()+1).toString();if(n){n=m(n);for(var p;!(p=n.next()).done;)p=p.value,this.set(p[0],p[1])}};l.prototype.set=function(n,p){if(!c(n))throw Error("Invalid WeakMap key");d(n);if(!pa(n,f))throw Error("WeakMap key fail: "+n);n[f][this.R]=p;return this};l.prototype.get=function(n){return c(n)&&pa(n,f)?n[f][this.R]:void 0};l.prototype.has=function(n){return c(n)&&pa(n,f)&&pa(n[f],
|
|
this.R)};l.prototype.delete=function(n){return c(n)&&pa(n,f)&&pa(n[f],this.R)?delete n[f][this.R]:!1};return l});
|
|
ea("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),n=new a(m([[l,"s"]]));if("s"!=n.get(l)||1!=n.size||n.get({x:4})||n.set({x:4},"t")!=n||2!=n.size)return!1;var p=n.entries(),t=p.next();if(t.done||t.value[0]!=l||"s"!=t.value[1])return!1;t=p.next();return t.done||4!=t.value[0].x||"t"!=t.value[1]||!p.next().done?!1:!0}catch(C){return!1}}())return a;var b=new WeakMap,c=function(l){this.Pc={};this.ma=
|
|
f();this.size=0;if(l){l=m(l);for(var n;!(n=l.next()).done;)n=n.value,this.set(n[0],n[1])}};c.prototype.set=function(l,n){l=0===l?0:l;var p=d(this,l);p.list||(p.list=this.Pc[p.id]=[]);p.da?p.da.value=n:(p.da={next:this.ma,pb:this.ma.pb,head:this.ma,key:l,value:n},p.list.push(p.da),this.ma.pb.next=p.da,this.ma.pb=p.da,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.da&&l.list?(l.list.splice(l.index,1),l.list.length||delete this.Pc[l.id],l.da.pb.next=l.da.next,l.da.next.pb=
|
|
l.da.pb,l.da.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.Pc={};this.ma=this.ma.pb=f();this.size=0};c.prototype.has=function(l){return!!d(this,l).da};c.prototype.get=function(l){return(l=d(this,l).da)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=function(){return e(this,function(l){return l.value})};c.prototype.forEach=function(l,n){for(var p=this.entries(),
|
|
t;!(t=p.next()).done;)t=t.value,l.call(n,t[1],t[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,n){var p=n&&typeof n;"object"==p||"function"==p?b.has(n)?p=b.get(n):(p=""+ ++g,b.set(n,p)):p="p_"+n;var t=l.Pc[p];if(t&&pa(l.Pc,p))for(l=0;l<t.length;l++){var C=t[l];if(n!==n&&C.key!==C.key||n===C.key)return{id:p,list:t,index:l,da:C}}return{id:p,list:t,index:-1,da:void 0}},e=function(l,n){var p=l.ma;return fa(function(){if(p){for(;p.head!=l.ma;)p=p.pb;for(;p.next!=p.head;)return p=
|
|
p.next,{done:!1,value:n(p)};p=null}return{done:!0,value:void 0}})},f=function(){var l={};return l.pb=l.next=l.head=l},g=0;return c});
|
|
ea("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(m([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;var b=function(c){this.C=new Map;if(c){c=
|
|
m(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.C.size};b.prototype.add=function(c){c=0===c?0:c;this.C.set(c,c);this.size=this.C.size;return this};b.prototype.delete=function(c){c=this.C.delete(c);this.size=this.C.size;return c};b.prototype.clear=function(){this.C.clear();this.size=0};b.prototype.has=function(c){return this.C.has(c)};b.prototype.entries=function(){return this.C.entries()};b.prototype.values=function(){return this.C.values()};b.prototype.keys=b.prototype.values;
|
|
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.C.forEach(function(f){return c.call(d,f,f,e)})};return b});ea("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)pa(b,d)&&c.push(b[d]);return c}});ea("String.prototype.padStart",function(a){return a?a:function(b,c){var d=oa(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});
|
|
var sa=sa||{},r=this||self,ta=/^[\w+/_-]+[=]{0,2}$/,ua=null,va=function(a){return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&ta.test(a)?a:""},wa=function(){},xa=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ya=function(a){var b=xa(a);return"array"==b||"object"==b&&"number"==typeof a.length},za=function(a){return u(a)&&"function"==typeof a.getFullYear},u=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==
|
|
b},Ca=function(a){return Object.prototype.hasOwnProperty.call(a,Aa)&&a[Aa]||(a[Aa]=++Ba)},Aa="closure_uid_"+(1E9*Math.random()>>>0),Ba=0,Da=function(a,b,c){return a.call.apply(a.bind,arguments)},Ea=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},v=function(a,b,c){v=Function.prototype.bind&&
|
|
-1!=Function.prototype.bind.toString().indexOf("native code")?Da:Ea;return v.apply(null,arguments)},Fa=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},w=function(a,b){a=a.split(".");var c=r;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},x=function(a,b){function c(){}c.prototype=
|
|
b.prototype;a.I=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ek=function(d,e,f){for(var g=Array(arguments.length-2),l=2;l<arguments.length;l++)g[l-2]=arguments[l];return b.prototype[e].apply(d,g)}},Ga=function(a){return a};var y=function(){this.Ta=this.Ta;this.Vd=this.Vd};y.prototype.Ta=!1;y.prototype.Sa=function(){this.Ta||(this.Ta=!0,this.u())};y.prototype.u=function(){if(this.Vd)for(;this.Vd.length;)this.Vd.shift()()};var Ha=function(a){a&&"function"==typeof a.Sa&&a.Sa()};var z=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.bc=!1};z.prototype.stopPropagation=function(){this.bc=!0};z.prototype.preventDefault=function(){this.defaultPrevented=!0};function Ia(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ia);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}x(Ia,Error);Ia.prototype.name="CustomError";var Ja;var Ka=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");Ia.call(this,c+a[d])};x(Ka,Ia);Ka.prototype.name="AssertionError";
|
|
var La=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Ka(""+e,f||[]);},A=function(a,b,c){a||La("",null,b,Array.prototype.slice.call(arguments,2))},Ma=function(a,b){throw new Ka("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Na=function(a,b,c){"number"!==typeof a&&La("Expected number but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Oa=function(a,b,c){"string"!==typeof a&&La("Expected string but got %s: %s.",
|
|
[xa(a),a],b,Array.prototype.slice.call(arguments,2))},Pa=function(a,b,c){"function"!==typeof a&&La("Expected function but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2))},Qa=function(a,b,c){u(a)||La("Expected object but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Ra=Array.prototype.indexOf?function(a,b){A(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Sa=Array.prototype.lastIndexOf?function(a,b){A(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||
|
|
1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Ta=Array.prototype.forEach?function(a,b,c){A(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Ua=Array.prototype.filter?function(a,b){A(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f="string"===typeof a?a.split(""):a,g=0;g<c;g++)if(g in f){var l=
|
|
f[g];b.call(void 0,l,g,a)&&(d[e++]=l)}return d},Va=Array.prototype.map?function(a,b,c){A(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},Wa=Array.prototype.some?function(a,b){A(null!=a.length);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;
|
|
return!1},Xa=Array.prototype.every?function(a,b,c){A(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0};function Ya(a,b){var c=0;Ta(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c}
|
|
function Za(a){a:{var b=$a;for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:"string"===typeof a?a.charAt(b):a[b]}function ab(a,b){return 0<=Ra(a,b)}function bb(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function cb(a,b){b=Ra(a,b);var c;(c=0<=b)&&db(a,b);return c}function db(a,b){A(null!=a.length);Array.prototype.splice.call(a,b,1)}
|
|
function eb(a){return Array.prototype.concat.apply([],arguments)}function fb(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function gb(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ya(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}}function hb(a,b,c){A(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
|
|
function ib(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=u(f)?"o"+Ca(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c}function jb(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function kb(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var f=hb(d,e,e+8192);f=kb.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var lb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},mb=/&/g,nb=/</g,ob=/>/g,pb=/"/g,qb=/'/g,rb=/\x00/g,sb=/[\x00&<>"']/,tb=function(a,b){return a<b?-1:a>b?1:0};var ub;a:{var vb=r.navigator;if(vb){var wb=vb.userAgent;if(wb){ub=wb;break a}}ub=""}var xb=function(a){return-1!=ub.indexOf(a)};var yb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},zb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Ab=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Cb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Db=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Eb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Fb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Hb=function(a){var b=
|
|
Gb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Ib=function(a){for(var b in a)return!1;return!0},Jb=function(a,b){b in a&&delete a[b]},Kb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Lb=function(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=Lb(a[c]);return b},
|
|
Mb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Nb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Mb.length;f++)c=Mb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Ob=function(a){return a};var Pb;var Sb=function(a,b){this.cg=a===Qb&&b||"";this.wj=Rb};Sb.prototype.sf=!0;Sb.prototype.mf=function(){return this.cg};Sb.prototype.toString=function(){return"Const{"+this.cg+"}"};var Tb=function(a){if(a instanceof Sb&&a.constructor===Sb&&a.wj===Rb)return a.cg;Ma("expected object of type Const, got '"+a+"'");return"type_error:Const"},Rb={},Qb={};var Vb=function(a,b){this.Lf=b===Ub?a:""};Vb.prototype.sf=!0;Vb.prototype.mf=function(){return this.Lf.toString()};Vb.prototype.toString=function(){return"TrustedResourceUrl{"+this.Lf+"}"};
|
|
var Wb=function(a){if(a instanceof Vb&&a.constructor===Vb)return a.Lf;Ma("expected object of type TrustedResourceUrl, got '"+a+"' of type "+xa(a));return"type_error:TrustedResourceUrl"},ac=function(a){var b=Tb(Xb);if(!Yb.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(Zb,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];return d instanceof
|
|
Sb?Tb(d):encodeURIComponent(String(d))});return $b(c)},Zb=/%{(\w+)}/g,Yb=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Ub={},$b=function(a){if(void 0===Pb){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ga,createScript:Ga,createScriptURL:Ga})}catch(d){r.console&&r.console.error(d.message)}Pb=b}a=(b=Pb)?b.createScriptURL(a):a;return new Vb(a,Ub)};var cc=function(a,b){this.Kf=b===bc?a:""};cc.prototype.sf=!0;cc.prototype.mf=function(){return this.Kf.toString()};cc.prototype.toString=function(){return"SafeUrl{"+this.Kf+"}"};
|
|
var dc=function(a){if(a instanceof cc&&a.constructor===cc)return a.Kf;Ma("expected object of type SafeUrl, got '"+a+"' of type "+xa(a));return"type_error:SafeUrl"},ec=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,fc=function(a){if(ec.test(a.type)){var b=void 0!==r.URL&&void 0!==r.URL.createObjectURL?r.URL:
|
|
void 0!==r.webkitURL&&void 0!==r.webkitURL.createObjectURL?r.webkitURL:void 0!==r.createObjectURL?r:null;if(null==b)throw Error("This browser doesn't seem to support blob URLs");a=b.createObjectURL(a)}else a="about:invalid#zClosurez";return new cc(a,bc)},bc={};var gc=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||r;if(d.Element&&d.Location){var e=d;break a}}catch(g){}e=null}if(e&&"undefined"!=typeof e.HTMLScriptElement&&(!a||!(a instanceof e.HTMLScriptElement)&&(a instanceof e.Location||a instanceof e.Element))){if(u(a))try{var f=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(g){f="<object could not be stringified>"}else f=void 0===a?"undefined":null===a?"null":typeof a;Ma("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
|
|
"HTMLScriptElement",f)}a.src=Wb(b);(b=a.ownerDocument&&a.ownerDocument.defaultView)&&b!=r?b=va(b.document):(null===ua&&(ua=va(r.document)),b=ua);b&&a.setAttribute("nonce",b)};var hc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},ic=function(a){sb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(mb,"&")),-1!=a.indexOf("<")&&(a=a.replace(nb,"<")),-1!=a.indexOf(">")&&(a=a.replace(ob,">")),-1!=a.indexOf('"')&&(a=a.replace(pb,""")),-1!=a.indexOf("'")&&(a=a.replace(qb,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(rb,"�")));return a},jc=function(a){var b=1;a=
|
|
a.split(":");for(var c=[];0<b&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};var kc=function(a){kc[" "](a);return a};kc[" "]=wa;var mc=function(a,b){var c=lc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var nc=xb("Opera"),oc=xb("Trident")||xb("MSIE"),pc=xb("Edge"),qc=xb("Gecko")&&!(-1!=ub.toLowerCase().indexOf("webkit")&&!xb("Edge"))&&!(xb("Trident")||xb("MSIE"))&&!xb("Edge"),rc=-1!=ub.toLowerCase().indexOf("webkit")&&!xb("Edge"),sc=function(){var a=r.document;return a?a.documentMode:void 0},tc;
|
|
a:{var uc="",vc=function(){var a=ub;if(qc)return/rv:([^\);]+)(\)|;)/.exec(a);if(pc)return/Edge\/([\d\.]+)/.exec(a);if(oc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(rc)return/WebKit\/(\S+)/.exec(a);if(nc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();vc&&(uc=vc?vc[1]:"");if(oc){var wc=sc();if(null!=wc&&wc>parseFloat(uc)){tc=String(wc);break a}}tc=uc}
|
|
var xc=tc,lc={},yc=function(a){return mc(a,function(){for(var b=0,c=lb(String(xc)).split("."),d=lb(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",l=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==g[0].length&&0==l[0].length)break;b=tb(0==g[1].length?0:parseInt(g[1],10),0==l[1].length?0:parseInt(l[1],10))||tb(0==g[2].length,0==l[2].length)||tb(g[2],l[2]);g=g[3];l=l[3]}while(0==b)}return 0<=b})},zc;
|
|
if(r.document&&oc){var Ac=sc();zc=Ac?Ac:parseInt(xc,10)||void 0}else zc=void 0;var Bc=zc;var Cc=Object.freeze||function(a){return a};var Dc=!oc||9<=Number(Bc),Ec=oc&&!yc("9"),Fc=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{r.addEventListener("test",wa,b),r.removeEventListener("test",wa,b)}catch(c){}return a}();var Hc=function(a,b){z.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.Ia=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=
|
|
b;if(b=a.relatedTarget){if(qc){a:{try{kc(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=rc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=rc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,
|
|
this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Gc[a.pointerType]||"";this.state=a.state;this.Ia=a;a.defaultPrevented&&this.preventDefault()}};
|
|
x(Hc,z);var Gc=Cc({2:"touch",3:"pen",4:"mouse"});Hc.prototype.stopPropagation=function(){Hc.I.stopPropagation.call(this);this.Ia.stopPropagation?this.Ia.stopPropagation():this.Ia.cancelBubble=!0};Hc.prototype.preventDefault=function(){Hc.I.preventDefault.call(this);var a=this.Ia;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Ec)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Ic="closure_listenable_"+(1E6*Math.random()|0),Jc=function(a){return!(!a||!a[Ic])},Kc=0;var Lc=function(a,b,c,d,e){this.listener=a;this.Wd=null;this.src=b;this.type=c;this.capture=!!d;this.nb=e;this.key=++Kc;this.Ac=this.yd=!1},Mc=function(a){a.Ac=!0;a.listener=null;a.Wd=null;a.src=null;a.nb=null};var Nc=function(a){this.src=a;this.aa={};this.pd=0};Nc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.aa[f];a||(a=this.aa[f]=[],this.pd++);var g=Oc(a,b,d,e);-1<g?(b=a[g],c||(b.yd=!1)):(b=new Lc(b,this.src,f,!!d,e),b.yd=c,a.push(b));return b};Nc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.aa))return!1;var e=this.aa[a];b=Oc(e,b,c,d);return-1<b?(Mc(e[b]),db(e,b),0==e.length&&(delete this.aa[a],this.pd--),!0):!1};
|
|
var Pc=function(a,b){var c=b.type;c in a.aa&&cb(a.aa[c],b)&&(Mc(b),0==a.aa[c].length&&(delete a.aa[c],a.pd--))};Nc.prototype.kd=function(a){a=a&&a.toString();var b=0,c;for(c in this.aa)if(!a||c==a){for(var d=this.aa[c],e=0;e<d.length;e++)++b,Mc(d[e]);delete this.aa[c];this.pd--}};Nc.prototype.Uc=function(a,b,c,d){a=this.aa[a.toString()];var e=-1;a&&(e=Oc(a,b,c,d));return-1<e?a[e]:null};
|
|
Nc.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Cb(this.aa,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var Oc=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Ac&&f.listener==b&&f.capture==!!c&&f.nb==d)return e}return-1};var Qc="closure_lm_"+(1E6*Math.random()|0),Rc={},Sc=0,Uc=function(a,b,c,d,e){if(d&&d.once)return Tc(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Uc(a,b[f],c,d,e);return null}c=Vc(c);return Jc(a)?a.Ya(b,c,u(d)?!!d.capture:!!d,e):Wc(a,b,c,!1,d,e)},Wc=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=u(e)?!!e.capture:!!e,l=Xc(a);l||(a[Qc]=l=new Nc(a));c=l.add(b,c,d,g,f);if(c.Wd)return c;d=Yc();c.Wd=d;d.src=a;d.listener=c;if(a.addEventListener)Fc||(e=g),void 0===e&&(e=
|
|
!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Zc(b.toString()),d);else if(a.addListener&&a.removeListener)A("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Sc++;return c},Yc=function(){var a=$c,b=Dc?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},Tc=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Tc(a,
|
|
b[f],c,d,e);return null}c=Vc(c);return Jc(a)?a.cd(b,c,u(d)?!!d.capture:!!d,e):Wc(a,b,c,!0,d,e)},ad=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)ad(a,b[f],c,d,e);else d=u(d)?!!d.capture:!!d,c=Vc(c),Jc(a)?a.le(b,c,d,e):a&&(a=Xc(a))&&(b=a.Uc(b,c,d,e))&&bd(b)},bd=function(a){if("number"!==typeof a&&a&&!a.Ac){var b=a.src;if(Jc(b))Pc(b.Ha,a);else{var c=a.type,d=a.Wd;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Zc(c),d):b.addListener&&b.removeListener&&
|
|
b.removeListener(d);Sc--;(c=Xc(b))?(Pc(c,a),0==c.pd&&(c.src=null,b[Qc]=null)):Mc(a)}}},Zc=function(a){return a in Rc?Rc[a]:Rc[a]="on"+a},dd=function(a,b,c,d){var e=!0;if(a=Xc(a))if(b=a.aa[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.Ac&&(f=cd(f,d),e=e&&!1!==f)}return e},cd=function(a,b){var c=a.listener,d=a.nb||a.src;a.yd&&bd(a);return c.call(d,b)},$c=function(a,b){if(a.Ac)return!0;if(!Dc){if(!b)a:{b=["window","event"];for(var c=r,d=0;d<b.length;d++)if(c=c[b[d]],
|
|
null==c){b=null;break a}b=c}d=b;b=new Hc(d,this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.bc&&0<=e;e--){b.currentTarget=d[e];var f=dd(d[e],a,!0,b);c=c&&f}for(e=0;!b.bc&&e<d.length;e++)b.currentTarget=d[e],f=dd(d[e],a,!1,b),c=c&&f}return c}return cd(a,new Hc(b,this))},Xc=function(a){a=a[Qc];return a instanceof
|
|
Nc?a:null},ed="__closure_events_fn_"+(1E9*Math.random()>>>0),Vc=function(a){A(a,"Listener can not be null.");if("function"===typeof a)return a;A(a.handleEvent,"An object listener must have handleEvent method.");a[ed]||(a[ed]=function(b){return a.handleEvent(b)});return a[ed]};var B=function(){y.call(this);this.Ha=new Nc(this);this.Jj=this;this.If=null};x(B,y);B.prototype[Ic]=!0;h=B.prototype;h.addEventListener=function(a,b,c,d){Uc(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){ad(this,a,b,c,d)};
|
|
h.dispatchEvent=function(a){fd(this);var b=this.If;if(b){var c=[];for(var d=1;b;b=b.If)c.push(b),A(1E3>++d,"infinite loop")}b=this.Jj;d=a.type||a;if("string"===typeof a)a=new z(a,b);else if(a instanceof z)a.target=a.target||b;else{var e=a;a=new z(d,b);Nb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.bc&&0<=f;f--){var g=a.currentTarget=c[f];e=gd(g,d,!0,a)&&e}a.bc||(g=a.currentTarget=b,e=gd(g,d,!0,a)&&e,a.bc||(e=gd(g,d,!1,a)&&e));if(c)for(f=0;!a.bc&&f<c.length;f++)g=a.currentTarget=c[f],e=gd(g,d,!1,a)&&e;
|
|
return e};h.u=function(){B.I.u.call(this);this.Ha&&this.Ha.kd(void 0);this.If=null};h.Ya=function(a,b,c,d){fd(this);return this.Ha.add(String(a),b,!1,c,d)};h.cd=function(a,b,c,d){return this.Ha.add(String(a),b,!0,c,d)};h.le=function(a,b,c,d){this.Ha.remove(String(a),b,c,d)};
|
|
var gd=function(a,b,c,d){b=a.Ha.aa[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.Ac&&g.capture==c){var l=g.listener,n=g.nb||g.src;g.yd&&Pc(a.Ha,g);e=!1!==l.call(n,d)&&e}}return e&&!d.defaultPrevented};B.prototype.Uc=function(a,b,c,d){return this.Ha.Uc(String(a),b,c,d)};B.prototype.hasListener=function(a,b){return this.Ha.hasListener(void 0!==a?String(a):void 0,b)};var fd=function(a){A(a.Ha,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var hd="StopIteration"in r?r.StopIteration:{message:"StopIteration",stack:""},id=function(){};id.prototype.next=function(){throw hd;};id.prototype.kc=function(){return this};
|
|
var jd=function(a){if(a instanceof id)return a;if("function"==typeof a.kc)return a.kc(!1);if(ya(a)){var b=0,c=new id;c.next=function(){for(;;){if(b>=a.length)throw hd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},kd=function(a,b){if(ya(a))try{Ta(a,b,void 0)}catch(c){if(c!==hd)throw c;}else{a=jd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==hd)throw c;}}};var ld=function(a,b){this.C={};this.H=[];this.rd=this.J=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};h=ld.prototype;h.M=function(){return this.J};h.S=function(){md(this);for(var a=[],b=0;b<this.H.length;b++)a.push(this.C[this.H[b]]);return a};h.Ka=function(){md(this);return this.H.concat()};h.wb=function(a){return nd(this.C,a)};
|
|
h.Oc=function(a){for(var b=0;b<this.H.length;b++){var c=this.H[b];if(nd(this.C,c)&&this.C[c]==a)return!0}return!1};h.equals=function(a,b){if(this===a)return!0;if(this.J!=a.M())return!1;b=b||od;md(this);for(var c,d=0;c=this.H[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var od=function(a,b){return a===b};ld.prototype.isEmpty=function(){return 0==this.J};ld.prototype.clear=function(){this.C={};this.rd=this.J=this.H.length=0};
|
|
ld.prototype.remove=function(a){return nd(this.C,a)?(delete this.C[a],this.J--,this.rd++,this.H.length>2*this.J&&md(this),!0):!1};var md=function(a){if(a.J!=a.H.length){for(var b=0,c=0;b<a.H.length;){var d=a.H[b];nd(a.C,d)&&(a.H[c++]=d);b++}a.H.length=c}if(a.J!=a.H.length){var e={};for(c=b=0;b<a.H.length;)d=a.H[b],nd(e,d)||(a.H[c++]=d,e[d]=1),b++;a.H.length=c}};h=ld.prototype;h.get=function(a,b){return nd(this.C,a)?this.C[a]:b};
|
|
h.set=function(a,b){nd(this.C,a)||(this.J++,this.H.push(a),this.rd++);this.C[a]=b};h.addAll=function(a){if(a instanceof ld)for(var b=a.Ka(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};h.forEach=function(a,b){for(var c=this.Ka(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};h.clone=function(){return new ld(this)};
|
|
h.kc=function(a){md(this);var b=0,c=this.rd,d=this,e=new id;e.next=function(){if(c!=d.rd)throw Error("The map has changed since the iterator was created");if(b>=d.H.length)throw hd;var f=d.H[b++];return a?f:d.C[f]};return e};var nd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var pd=function(a){if(a.M&&"function"==typeof a.M)a=a.M();else if(ya(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},qd=function(a){if(a.S&&"function"==typeof a.S)return a.S();if("string"===typeof a)return a.split("");if(ya(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Db(a)},rd=function(a){if(a.Ka&&"function"==typeof a.Ka)return a.Ka();if(!a.S||"function"!=typeof a.S){if(ya(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);
|
|
return b}return Eb(a)}},sd=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ya(a)||"string"===typeof a)Ta(a,b,c);else for(var d=rd(a),e=qd(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},td=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(ya(a)||"string"===typeof a)return Xa(a,b,void 0);for(var c=rd(a),d=qd(a),e=d.length,f=0;f<e;f++)if(!b.call(void 0,d[f],c&&c[f],a))return!1;return!0};var ud=function(a){this.C=new ld;a&&this.addAll(a)},vd=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ca(a):b.substr(0,1)+a};h=ud.prototype;h.M=function(){return this.C.M()};h.add=function(a){this.C.set(vd(a),a)};h.addAll=function(a){a=qd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};h.kd=function(a){a=qd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};h.remove=function(a){return this.C.remove(vd(a))};h.clear=function(){this.C.clear()};h.isEmpty=function(){return this.C.isEmpty()};
|
|
h.contains=function(a){return this.C.wb(vd(a))};h.sh=function(a){var b=new ud;a=qd(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};h.af=function(a){var b=this.clone();b.kd(a);return b};h.S=function(){return this.C.S()};h.clone=function(){return new ud(this)};h.equals=function(a){return this.M()==pd(a)&&wd(this,a)};
|
|
var wd=function(a,b){var c=pd(b);if(a.M()>c)return!1;!(b instanceof ud)&&5<c&&(b=new ud(b));return td(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Oc&&"function"==typeof e.Oc?e.Oc(d):ya(e)||"string"===typeof e?ab(e,d):Fb(e,d)})};ud.prototype.kc=function(){return this.C.kc(!1)};var ee={},xd=function(a,b,c){B.call(this);this.ek=b;this.token=c;this.Eb=[];this.gg=new ud;this.Cb=0;this.url=a};x(xd,B);w("ee.AbstractOverlay",xd);var yd=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.ek,c,e,b.y].join("/")};xd.prototype.Vc=function(){return this.Eb.length};var zd=function(a){z.call(this,"tileevent");this.count=a};x(zd,z);var Ad=function(){},Bd=new Ad;function Cd(a){return Object.assign({O:{},Gk:{},keys:[],Ba:{},o:{},K:{}},a)}var E=function(){this.a={}},F=function(a,b){return a.a.hasOwnProperty(b)?a.a[b]:null},G=function(a,b){return null!=a.a[b]};function Dd(a,b){return F(b,a)}function Ed(a,b,c){b[a]=c}function Fd(){return{}}function Gd(a,b){var c=new a;return null==b?c:Hd(b,Id,Jd,Kd,a)}function Id(a,b){return b[a]}function Jd(a,b,c){b.a[a]=c}
|
|
function Kd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function Hd(a,b,c,d,e){e=d(e);var f=Ld(a,e),g=f.O||{},l=f.o||{},n=f.Ba||{},p={};f=m(f.keys||[]);for(var t=f.next();!t.done;p={Ic:p.Ic},t=f.next()){t=t.value;var C=b(t,a);if(null!=C){var D=void 0;g.hasOwnProperty(t)?D=Md(C,b,c,d,!0,!0,g[t]):l.hasOwnProperty(t)?D=Md(C,b,c,d,!1,!0,l[t]):n.hasOwnProperty(t)?(p.Ic=n[t],D=p.Ic.na?C.map(function(ca){return function(Y){return Nd(Y,ca.Ic,b,c,d)}}(p)):Nd(C,p.Ic,b,c,d)):D=Array.isArray(C)?Md(C,b,c,d,!0,!1):C instanceof Ad?null:C;c(t,e,D)}}return e}
|
|
function Nd(a,b,c,d,e){for(var f={},g=m(Object.keys(a)),l=g.next();!l.done;l=g.next()){l=l.value;var n=a[l];null!=n&&(f[l]=Md(n,c,d,e,b.pa,b.oa,b.ha))}return f}function Md(a,b,c,d,e,f,g){if(f&&null==g)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&f?a.map(function(l){return Hd(l,b,c,d,g)}):e&&!f?a.map(function(l){return l}):!e&&f?Hd(a,b,c,d,g):a instanceof Ad?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}
|
|
function Ld(a,b){if(b instanceof E)a=Cd(b.f());else if(a instanceof E)a=Cd(a.f());else throw Error("Cannot find ClassMetadata.");return a};var Od=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Pd=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var Qd=function(a,b){this.lb=this.fc=this.Bb="";this.zc=null;this.Ub=this.ob="";this.za=this.ak=!1;if(a instanceof Qd){this.za=void 0!==b?b:a.za;Rd(this,a.Bb);var c=a.fc;Sd(this);this.fc=c;c=a.lb;Sd(this);this.lb=c;Td(this,a.zc);this.setPath(a.getPath());Ud(this,a.Ca.clone());a=a.Ub;Sd(this);this.Ub=a}else a&&(c=String(a).match(Od))?(this.za=!!b,Rd(this,c[1]||"",!0),a=c[2]||"",Sd(this),this.fc=Vd(a),a=c[3]||"",Sd(this),this.lb=Vd(a,!0),Td(this,c[4]),this.setPath(c[5]||"",!0),Ud(this,c[6]||"",!0),
|
|
a=c[7]||"",Sd(this),this.Ub=Vd(a)):(this.za=!!b,this.Ca=new Wd(null,this.za))};
|
|
Qd.prototype.toString=function(){var a=[],b=this.Bb;b&&a.push(Xd(b,Yd,!0),":");var c=this.lb;if(c||"file"==b)a.push("//"),(b=this.fc)&&a.push(Xd(b,Yd,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.zc,null!=c&&a.push(":",String(c));if(c=this.getPath())this.lb&&"/"!=c.charAt(0)&&a.push("/"),a.push(Xd(c,"/"==c.charAt(0)?Zd:$d,!0));(c=this.Ca.toString())&&a.push("?",c);(c=this.Ub)&&a.push("#",Xd(c,ae));return a.join("")};
|
|
Qd.prototype.resolve=function(a){var b=this.clone(),c=!!a.Bb;c?Rd(b,a.Bb):c=!!a.fc;if(c){var d=a.fc;Sd(b);b.fc=d}else c=!!a.lb;c?(d=a.lb,Sd(b),b.lb=d):c=null!=a.zc;d=a.getPath();if(c)Td(b,a.zc);else if(c=!!a.ob){if("/"!=d.charAt(0))if(this.lb&&!this.ob)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=[],g=0;g<e.length;){var l=e[g++];
|
|
"."==l?d&&g==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&g==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=""!==a.Ca.toString();c?Ud(b,a.Ca.clone()):c=!!a.Ub;c&&(a=a.Ub,Sd(b),b.Ub=a);return b};Qd.prototype.clone=function(){return new Qd(this)};
|
|
var Rd=function(a,b,c){Sd(a);a.Bb=c?Vd(b,!0):b;a.Bb&&(a.Bb=a.Bb.replace(/:$/,""))},Td=function(a,b){Sd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.zc=b}else a.zc=null};Qd.prototype.getPath=function(){return this.ob};Qd.prototype.setPath=function(a,b){Sd(this);this.ob=b?Vd(a,!0):a;return this};var Ud=function(a,b,c){Sd(a);b instanceof Wd?(a.Ca=b,a.Ca.Wf(a.za)):(c||(b=Xd(b,be)),a.Ca=new Wd(b,a.za))};Qd.prototype.getQuery=function(){return this.Ca.toString()};
|
|
Qd.prototype.removeParameter=function(a){Sd(this);this.Ca.remove(a);return this};var Sd=function(a){if(a.ak)throw Error("Tried to modify a read-only Uri");};Qd.prototype.Wf=function(a){this.za=a;this.Ca&&this.Ca.Wf(a)};
|
|
var ce=function(a){return a instanceof Qd?a.clone():new Qd(a,void 0)},Vd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Xd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,de),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},de=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Yd=/[#\/\?@]/g,$d=/[#\?:]/g,Zd=/[#\?]/g,be=/[#\?@]/g,ae=/#/g,Wd=function(a,b){this.J=this.N=null;this.ta=a||null;this.za=!!b},
|
|
fe=function(a){a.N||(a.N=new ld,a.J=0,a.ta&&Pd(a.ta,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Wd.prototype;h.M=function(){fe(this);return this.J};h.add=function(a,b){fe(this);this.ta=null;a=ge(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.J=Na(this.J)+1;return this};h.remove=function(a){fe(this);a=ge(this,a);return this.N.wb(a)?(this.ta=null,this.J=Na(this.J)-this.N.get(a).length,this.N.remove(a)):!1};h.clear=function(){this.N=this.ta=null;this.J=0};
|
|
h.isEmpty=function(){fe(this);return 0==this.J};h.wb=function(a){fe(this);a=ge(this,a);return this.N.wb(a)};h.Oc=function(a){var b=this.S();return ab(b,a)};h.forEach=function(a,b){fe(this);this.N.forEach(function(c,d){Ta(c,function(e){a.call(b,e,d,this)},this)},this)};h.Ka=function(){fe(this);for(var a=this.N.S(),b=this.N.Ka(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
|
|
h.S=function(a){fe(this);var b=[];if("string"===typeof a)this.wb(a)&&(b=eb(b,this.N.get(ge(this,a))));else{a=this.N.S();for(var c=0;c<a.length;c++)b=eb(b,a[c])}return b};h.set=function(a,b){fe(this);this.ta=null;a=ge(this,a);this.wb(a)&&(this.J=Na(this.J)-this.N.get(a).length);this.N.set(a,[b]);this.J=Na(this.J)+1;return this};h.get=function(a,b){if(!a)return b;a=this.S(a);return 0<a.length?String(a[0]):b};
|
|
h.setValues=function(a,b){this.remove(a);0<b.length&&(this.ta=null,this.N.set(ge(this,a),fb(b)),this.J=Na(this.J)+b.length)};h.toString=function(){if(this.ta)return this.ta;if(!this.N)return"";for(var a=[],b=this.N.Ka(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.S(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.ta=a.join("&")};
|
|
h.clone=function(){var a=new Wd;a.ta=this.ta;this.N&&(a.N=this.N.clone(),a.J=this.J);return a};var ge=function(a,b){b=String(b);a.za&&(b=b.toLowerCase());return b};Wd.prototype.Wf=function(a){a&&!this.za&&(fe(this),this.ta=null,this.N.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.za=a};Wd.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)sd(arguments[b],function(c,d){this.add(d,c)},this)};function he(a){if(null!=a.m){var b={},c;for(c in a.m)void 0!==a.m[c]&&(b[c]=a.m[c]);a.m=b}}function H(a,b){var c=ie;b=void 0===b?{}:b;c=m(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;d in a&&(b[e]=a[d])}return b};var je=function(){};je.prototype.A=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function ke(a){var b=a.body instanceof E?Hd(a.body,Dd,Ed,Fd):a.body;return{path:a.path,s:a.s,D:a.D,body:b,m:a.m,gi:a.gi&&a.gi}};function le(a,b){if(null==a)return null;a=a.Hk(b);return null==a?null:a};var me=function(a,b){this.P=a;this.Zj=void 0===b?null:b};q(me,je);var ne=function(a,b,c){var d=le(a.Zj,b);if(null==d)return c;d.Ik();return c.then(function(e){d.Kk(e);return e},function(e){d.Jk(e);throw e;})},I=function(a,b){var c=b.G||void 0;return ne(a,b,a.P.send(ke(b),c))};var oe={se:"ADMIN_READ",ue:"DATA_READ",ve:"DATA_WRITE",fj:"LOG_TYPE_UNSPECIFIED",values:function(){return[oe.fj,oe.se,oe.ve,oe.ue]}},pe={se:"ADMIN_READ",xi:"ADMIN_WRITE",ue:"DATA_READ",ve:"DATA_WRITE",nj:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[pe.nj,pe.se,pe.xi,pe.ue,pe.ve]}},qe={Fi:"CAPABILITY_GROUP_UNSPECIFIED",Gi:"CLOUD_ALPHA",Pi:"EXTERNAL",Zi:"INTERNAL",bj:"LIMITED",oj:"PREAUTHORIZED",qj:"PREVIEW",Jc:"PUBLIC",values:function(){return[qe.Fi,qe.Jc,qe.Zi,qe.Pi,qe.bj,qe.oj,qe.qj,qe.Gi]}},
|
|
re={wi:"ADMIN_ACTIVITY",Ji:"DATA_ACCESS",Dj:"UNSPECIFIED_LOG_NAME",values:function(){return[re.Dj,re.wi,re.Ji]}},se={we:"DEFAULT_OBJECT_ACL",Jc:"PUBLIC",He:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[se.He,se.Jc,se.we]}},te={Ai:"APPROVER",Bi:"ATTRIBUTION",Ci:"AUTHORITY",Hi:"CREDENTIALS_TYPE",Ii:"CREDS_ASSERTION",aj:"JUSTIFICATION_TYPE",De:"NO_ATTR",tj:"SECURITY_REALM",values:function(){return[te.De,te.Ci,te.Bi,te.tj,te.Ai,te.aj,te.Hi,te.Ii]}},ue={Ni:"DISCHARGED",Oi:"EQUALS",Vi:"IN",hj:"NOT_EQUALS",
|
|
ij:"NOT_IN",kj:"NO_OP",values:function(){return[ue.kj,ue.Oi,ue.hj,ue.Vi,ue.ij,ue.Ni]}},ve={$i:"IP",gj:"NAME",De:"NO_ATTR",rj:"REGION",uj:"SERVICE",values:function(){return[ve.De,ve.rj,ve.uj,ve.gj,ve.$i]}},we={dj:"LOG_FAIL_CLOSED",ej:"LOG_MODE_UNSPECIFIED",values:function(){return[we.ej,we.dj]}},xe={Ri:"FOLDER",Ti:"IMAGE",Ui:"IMAGE_COLLECTION",yj:"TABLE",zj:"TYPE_UNSPECIFIED",values:function(){return[xe.zj,xe.Ti,xe.Ui,xe.yj,xe.Ri]}},ye={Fb:"AUTO_JPEG_PNG",Gb:"GEO_TIFF",Hb:"IMAGE_FILE_FORMAT_UNSPECIFIED",
|
|
Ib:"JPEG",Jb:"MULTI_BAND_IMAGE_TILE",Kb:"NPY",Lb:"PNG",Mb:"TF_RECORD_IMAGE",Nb:"ZIPPED_GEO_TIFF",Ob:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[ye.Hb,ye.Ib,ye.Lb,ye.Fb,ye.Kb,ye.Gb,ye.Mb,ye.Jb,ye.Nb,ye.Ob]}},ze={Ej:"V1",Fj:"V2",Gj:"VERSION_UNSPECIFIED",values:function(){return[ze.Gj,ze.Ej,ze.Fj]}},Ae={Fb:"AUTO_JPEG_PNG",Gb:"GEO_TIFF",Hb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Ib:"JPEG",Jb:"MULTI_BAND_IMAGE_TILE",Kb:"NPY",Lb:"PNG",Mb:"TF_RECORD_IMAGE",Nb:"ZIPPED_GEO_TIFF",Ob:"ZIPPED_GEO_TIFF_PER_BAND",
|
|
values:function(){return[Ae.Hb,Ae.Ib,Ae.Lb,Ae.Fb,Ae.Kb,Ae.Gb,Ae.Mb,Ae.Jb,Ae.Nb,Ae.Ob]}},Be={Si:"HORIZONTAL",lj:"ORIENTATION_UNSPECIFIED",Hj:"VERTICAL",values:function(){return[Be.lj,Be.Si,Be.Hj]}},Ce={we:"DEFAULT_OBJECT_ACL",Jc:"PUBLIC",He:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[Ce.He,Ce.Jc,Ce.we]}},De={MAX:"MAX",cb:"MEAN",MIN:"MIN",eb:"MODE",fb:"PYRAMIDING_POLICY_UNSPECIFIED",gb:"SAMPLE",values:function(){return[De.fb,De.cb,De.gb,De.MIN,De.MAX,De.eb]}},Ee={MAX:"MAX",cb:"MEAN",MIN:"MIN",
|
|
eb:"MODE",fb:"PYRAMIDING_POLICY_UNSPECIFIED",gb:"SAMPLE",values:function(){return[Ee.fb,Ee.cb,Ee.gb,Ee.MIN,Ee.MAX,Ee.eb]}},Fe={MAX:"MAX",cb:"MEAN",MIN:"MIN",eb:"MODE",fb:"PYRAMIDING_POLICY_UNSPECIFIED",gb:"SAMPLE",values:function(){return[Fe.fb,Fe.cb,Fe.gb,Fe.MIN,Fe.MAX,Fe.eb]}},Ge={Fb:"AUTO_JPEG_PNG",Gb:"GEO_TIFF",Hb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Ib:"JPEG",Jb:"MULTI_BAND_IMAGE_TILE",Kb:"NPY",Lb:"PNG",Mb:"TF_RECORD_IMAGE",Nb:"ZIPPED_GEO_TIFF",Ob:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Ge.Hb,
|
|
Ge.Ib,Ge.Lb,Ge.Fb,Ge.Kb,Ge.Gb,Ge.Mb,Ge.Jb,Ge.Nb,Ge.Ob]}},He={MAX:"MAX",cb:"MEAN",MIN:"MIN",eb:"MODE",fb:"PYRAMIDING_POLICY_UNSPECIFIED",gb:"SAMPLE",values:function(){return[He.fb,He.cb,He.gb,He.MIN,He.MAX,He.eb]}},Ie={Di:"CANCELLED",Ei:"CANCELLING",Qi:"FAILED",mj:"PENDING",sj:"RUNNING",vj:"STATE_UNSPECIFIED",xj:"SUCCEEDED",values:function(){return[Ie.vj,Ie.mj,Ie.sj,Ie.Ei,Ie.xj,Ie.Di,Ie.Qi]}},Je={xe:"DOUBLE",FLOAT:"FLOAT",INT:"INT",pj:"PRECISION_UNSPECIFIED",values:function(){return[Je.pj,Je.INT,Je.FLOAT,
|
|
Je.xe]}},Ke={yi:"ALLOW",zi:"ALLOW_WITH_LOG",Li:"DENY",Mi:"DENY_WITH_LOG",cj:"LOG",jj:"NO_ACTION",values:function(){return[Ke.jj,Ke.yi,Ke.zi,Ke.Li,Ke.Mi,Ke.cj]}},Le={te:"CSV",ye:"GEO_JSON",Ae:"KML",Be:"KMZ",Ee:"SHP",Fe:"TABLE_FILE_FORMAT_UNSPECIFIED",Ge:"TF_RECORD_TABLE",values:function(){return[Le.Fe,Le.te,Le.ye,Le.Ae,Le.Be,Le.Ee,Le.Ge]}},Me={te:"CSV",ye:"GEO_JSON",Ae:"KML",Be:"KMZ",Ee:"SHP",Fe:"TABLE_FILE_FORMAT_UNSPECIFIED",Ge:"TF_RECORD_TABLE",values:function(){return[Me.Fe,Me.te,Me.ye,Me.Ae,Me.Be,
|
|
Me.Ee,Me.Ge]}},Ne={Fb:"AUTO_JPEG_PNG",Gb:"GEO_TIFF",Hb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Ib:"JPEG",Jb:"MULTI_BAND_IMAGE_TILE",Kb:"NPY",Lb:"PNG",Mb:"TF_RECORD_IMAGE",Nb:"ZIPPED_GEO_TIFF",Ob:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Ne.Hb,Ne.Ib,Ne.Lb,Ne.Fb,Ne.Kb,Ne.Gb,Ne.Mb,Ne.Jb,Ne.Nb,Ne.Ob]}},Oe={MAX:"MAX",cb:"MEAN",MIN:"MIN",eb:"MODE",fb:"PYRAMIDING_POLICY_UNSPECIFIED",gb:"SAMPLE",values:function(){return[Oe.fb,Oe.cb,Oe.gb,Oe.MIN,Oe.MAX,Oe.eb]}},Pe={Ki:"DATA_TYPE_UNSPECIFIED",xe:"DOUBLE",
|
|
FLOAT:"FLOAT",Wi:"INT16",Xi:"INT32",Yi:"INT8",Aj:"UINT16",Bj:"UINT32",Cj:"UINT8",values:function(){return[Pe.Ki,Pe.Yi,Pe.Cj,Pe.Wi,Pe.Aj,Pe.Xi,Pe.Bj,Pe.FLOAT,Pe.xe]}},Qe={ze:"GIF",Ce:"MP4",Ie:"VIDEO_FILE_FORMAT_UNSPECIFIED",Je:"VP9",values:function(){return[Qe.Ie,Qe.Ce,Qe.ze,Qe.Je]}},Re={ze:"GIF",Ce:"MP4",Ie:"VIDEO_FILE_FORMAT_UNSPECIFIED",Je:"VP9",values:function(){return[Re.Ie,Re.Ce,Re.ze,Re.Je]}},Se=function(a){a=void 0===a?{}:a;this.a={};this.a.scaleX=null==a.Sf?null:a.Sf;this.a.shearX=null==a.Xf?
|
|
null:a.Xf;this.a.translateX=null==a.jg?null:a.jg;this.a.shearY=null==a.Yf?null:a.Yf;this.a.scaleY=null==a.Tf?null:a.Tf;this.a.translateY=null==a.kg?null:a.kg};q(Se,E);Se.prototype.f=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
k.Object.defineProperties(Se.prototype,{Sf:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleX")?F(this,"scaleX"):null},set:function(a){this.a.scaleX=a}},Tf:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleY")?F(this,"scaleY"):null},set:function(a){this.a.scaleY=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearX")?F(this,"shearX"):null},set:function(a){this.a.shearX=a}},Yf:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearY")?
|
|
F(this,"shearY"):null},set:function(a){this.a.shearY=a}},jg:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateX")?F(this,"translateX"):null},set:function(a){this.a.translateX=a}},kg:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateY")?F(this,"translateY"):null},set:function(a){this.a.translateY=a}}});
|
|
var Te=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.description=null==a.description?null:a.description;this.a.returnType=null==a.Rf?null:a.Rf;this.a.arguments=null==a.arguments?null:a.arguments;this.a.deprecated=null==a.deprecated?null:a.deprecated;this.a.deprecationReason=null==a.Ze?null:a.Ze;this.a.hidden=null==a.hidden?null:a.hidden;this.a.preview=null==a.preview?null:a.preview;this.a.sourceCodeUri=null==a.sourceCodeUri?null:a.sourceCodeUri};q(Te,E);
|
|
Te.prototype.f=function(){return{O:{arguments:Ue},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
|
|
k.Object.defineProperties(Te.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?F(this,"arguments"):null},set:function(a){this.a.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecated")?F(this,"deprecated"):null},set:function(a){this.a.deprecated=a}},Ze:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecationReason")?F(this,"deprecationReason"):null},set:function(a){this.a.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return G(this,"hidden")?F(this,"hidden"):null},set:function(a){this.a.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return G(this,"preview")?F(this,"preview"):null},set:function(a){this.a.preview=
|
|
a}},Rf:{configurable:!0,enumerable:!0,get:function(){return G(this,"returnType")?F(this,"returnType"):null},set:function(a){this.a.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return G(this,"sourceCodeUri")?F(this,"sourceCodeUri"):null},set:function(a){this.a.sourceCodeUri=a}}});
|
|
var Ue=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentName=null==a.wd?null:a.wd;this.a.type=null==a.type?null:a.type;this.a.description=null==a.description?null:a.description;this.a.optional=null==a.optional?null:a.optional;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue};q(Ue,E);Ue.prototype.f=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
k.Object.defineProperties(Ue.prototype,{wd:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentName")?F(this,"argumentName"):null},set:function(a){this.a.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"optional")?F(this,"optional"):null},set:function(a){this.a.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.a.type=a}}});var Ve=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q(Ve,E);Ve.prototype.f=function(){return{O:{values:We},keys:["values"]}};
|
|
k.Object.defineProperties(Ve.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.a.values=a}}});var Xe=function(a){a=void 0===a?{}:a;this.a={};this.a.service=null==a.ai?null:a.ai;this.a.exemptedMembers=null==a.Sc?null:a.Sc;this.a.auditLogConfigs=null==a.sg?null:a.sg};q(Xe,E);Xe.prototype.f=function(){return{O:{auditLogConfigs:Ye},keys:["auditLogConfigs","exemptedMembers","service"]}};
|
|
k.Object.defineProperties(Xe.prototype,{sg:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditLogConfigs")?F(this,"auditLogConfigs"):null},set:function(a){this.a.auditLogConfigs=a}},Sc:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?F(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},ai:{configurable:!0,enumerable:!0,get:function(){return G(this,"service")?F(this,"service"):null},set:function(a){this.a.service=a}}});
|
|
var Ye=function(a){a=void 0===a?{}:a;this.a={};this.a.logType=null==a.Dh?null:a.Dh;this.a.exemptedMembers=null==a.Sc?null:a.Sc;this.a.ignoreChildExemptions=null==a.ph?null:a.ph};q(Ye,E);Ye.prototype.f=function(){return{K:{logType:oe},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
k.Object.defineProperties(Ye.prototype,{Sc:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?F(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},ph:{configurable:!0,enumerable:!0,get:function(){return G(this,"ignoreChildExemptions")?F(this,"ignoreChildExemptions"):null},set:function(a){this.a.ignoreChildExemptions=a}},Dh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logType")?F(this,"logType"):null},set:function(a){this.a.logType=
|
|
a}}});var Ze=function(a){a=void 0===a?{}:a;this.a={};this.a.permissionType=null==a.Ph?null:a.Ph};q(Ze,E);Ze.prototype.f=function(){return{K:{permissionType:pe},keys:["permissionType"]}};k.Object.defineProperties(Ze.prototype,{Ph:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?F(this,"permissionType"):null},set:function(a){this.a.permissionType=a}}});
|
|
var $e=function(a){a=void 0===a?{}:a;this.a={};this.a.role=null==a.Dc?null:a.Dc;this.a.members=null==a.Zb?null:a.Zb;this.a.condition=null==a.Hg?null:a.Hg;this.a.bindingId=null==a.vg?null:a.vg};q($e,E);$e.prototype.f=function(){return{keys:["bindingId","condition","members","role"],o:{condition:af}}};
|
|
k.Object.defineProperties($e.prototype,{vg:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindingId")?F(this,"bindingId"):null},set:function(a){this.a.bindingId=a}},Hg:{configurable:!0,enumerable:!0,get:function(){return G(this,"condition")?F(this,"condition"):null},set:function(a){this.a.condition=a}},Zb:{configurable:!0,enumerable:!0,get:function(){return G(this,"members")?F(this,"members"):null},set:function(a){this.a.members=a}},Dc:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"role")?F(this,"role"):null},set:function(a){this.a.role=a}}});var bf=function(){this.a={}};q(bf,E);bf.prototype.f=function(){return{keys:[]}};var cf=function(a){a=void 0===a?{}:a;this.a={};this.a.capabilities=null==a.Cg?null:a.Cg};q(cf,E);cf.prototype.f=function(){return{K:{capabilities:qe},keys:["capabilities"]}};
|
|
k.Object.defineProperties(cf.prototype,{Cg:{configurable:!0,enumerable:!0,get:function(){return G(this,"capabilities")?F(this,"capabilities"):null},set:function(a){this.a.capabilities=a}}});var df=function(a){a=void 0===a?{}:a;this.a={};this.a.logName=null==a.Ch?null:a.Ch;this.a.authorizationLoggingOptions=null==a.tg?null:a.tg};q(df,E);df.prototype.f=function(){return{K:{logName:re},keys:["authorizationLoggingOptions","logName"],o:{authorizationLoggingOptions:Ze}}};
|
|
k.Object.defineProperties(df.prototype,{tg:{configurable:!0,enumerable:!0,get:function(){return G(this,"authorizationLoggingOptions")?F(this,"authorizationLoggingOptions"):null},set:function(a){this.a.authorizationLoggingOptions=a}},Ch:{configurable:!0,enumerable:!0,get:function(){return G(this,"logName")?F(this,"logName"):null},set:function(a){this.a.logName=a}}});
|
|
var ef=function(a){a=void 0===a?{}:a;this.a={};this.a.bucket=null==a.nc?null:a.nc;this.a.filenamePrefix=null==a.ea?null:a.ea;this.a.permissions=null==a.permissions?null:a.permissions;this.a.bucketCorsUris=null==a.oc?null:a.oc};q(ef,E);ef.prototype.f=function(){return{K:{permissions:se},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
k.Object.defineProperties(ef.prototype,{nc:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucket")?F(this,"bucket"):null},set:function(a){this.a.bucket=a}},oc:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucketCorsUris")?F(this,"bucketCorsUris"):null},set:function(a){this.a.bucketCorsUris=a}},ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.a.permissions=a}}});k.Object.defineProperties(ef,{Permissions:{configurable:!0,enumerable:!0,get:function(){return se}}});var ff=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.wa?null:a.wa};q(ff,E);ff.prototype.f=function(){return{keys:["uris"]}};
|
|
k.Object.defineProperties(ff.prototype,{wa:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.a.uris=a}}});var gf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i};q(gf,E);gf.prototype.f=function(){return{keys:["expression"],o:{expression:hf}}};
|
|
k.Object.defineProperties(gf.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}}});var jf=function(a){a=void 0===a?{}:a;this.a={};this.a.result=null==a.result?null:a.result};q(jf,E);jf.prototype.f=function(){return{keys:["result"]}};
|
|
k.Object.defineProperties(jf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.a.result=a}}});var kf=function(a){a=void 0===a?{}:a;this.a={};this.a.iam=null==a.lh?null:a.lh;this.a.sys=null==a.ki?null:a.ki;this.a.svc=null==a.ji?null:a.ji;this.a.op=null==a.Nh?null:a.Nh;this.a.values=null==a.values?null:a.values};q(kf,E);kf.prototype.f=function(){return{K:{iam:te,op:ue,sys:ve},keys:["iam","op","svc","sys","values"]}};
|
|
k.Object.defineProperties(kf.prototype,{lh:{configurable:!0,enumerable:!0,get:function(){return G(this,"iam")?F(this,"iam"):null},set:function(a){this.a.iam=a}},Nh:{configurable:!0,enumerable:!0,get:function(){return G(this,"op")?F(this,"op"):null},set:function(a){this.a.op=a}},ji:{configurable:!0,enumerable:!0,get:function(){return G(this,"svc")?F(this,"svc"):null},set:function(a){this.a.svc=a}},ki:{configurable:!0,enumerable:!0,get:function(){return G(this,"sys")?F(this,"sys"):null},set:function(a){this.a.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.a.values=a}}});var lf=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.Sb?null:a.Sb;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.bandIds=null==a.ca?null:a.ca};q(lf,E);lf.prototype.f=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
k.Object.defineProperties(lf.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},Sb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.a.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.a.overwrite=a}}});
|
|
var mf=function(a){a=void 0===a?{}:a;this.a={};this.a.metric=null==a.Gh?null:a.Gh;this.a.field=null==a.Yg?null:a.Yg;this.a.customFields=null==a.Qg?null:a.Qg};q(mf,E);mf.prototype.f=function(){return{O:{customFields:nf},keys:["customFields","field","metric"]}};
|
|
k.Object.defineProperties(mf.prototype,{Qg:{configurable:!0,enumerable:!0,get:function(){return G(this,"customFields")?F(this,"customFields"):null},set:function(a){this.a.customFields=a}},Yg:{configurable:!0,enumerable:!0,get:function(){return G(this,"field")?F(this,"field"):null},set:function(a){this.a.field=a}},Gh:{configurable:!0,enumerable:!0,get:function(){return G(this,"metric")?F(this,"metric"):null},set:function(a){this.a.metric=a}}});
|
|
var nf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.value=null==a.value?null:a.value};q(nf,E);nf.prototype.f=function(){return{keys:["name","value"]}};k.Object.defineProperties(nf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return G(this,"value")?F(this,"value"):null},set:function(a){this.a.value=a}}});
|
|
var of=function(a){a=void 0===a?{}:a;this.a={};this.a.logMode=null==a.Bh?null:a.Bh};q(of,E);of.prototype.f=function(){return{K:{logMode:we},keys:["logMode"]}};k.Object.defineProperties(of.prototype,{Bh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logMode")?F(this,"logMode"):null},set:function(a){this.a.logMode=a}}});var pf=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q(pf,E);
|
|
pf.prototype.f=function(){return{keys:["values"],Ba:{values:{ha:We,na:!1,oa:!0,pa:!1}}}};k.Object.defineProperties(pf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.a.values=a}}});var qf=function(a){a=void 0===a?{}:a;this.a={};this.a.min=null==a.min?null:a.min;this.a.max=null==a.max?null:a.max};q(qf,E);qf.prototype.f=function(){return{keys:["max","min"]}};
|
|
k.Object.defineProperties(qf.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return G(this,"max")?F(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return G(this,"min")?F(this,"min"):null},set:function(a){this.a.min=a}}});var rf=function(a){a=void 0===a?{}:a;this.a={};this.a.folder=null==a.hf?null:a.hf;this.a.filenamePrefix=null==a.ea?null:a.ea};q(rf,E);rf.prototype.f=function(){return{keys:["filenamePrefix","folder"]}};
|
|
k.Object.defineProperties(rf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},hf:{configurable:!0,enumerable:!0,get:function(){return G(this,"folder")?F(this,"folder"):null},set:function(a){this.a.folder=a}}});
|
|
var sf=function(a){a=void 0===a?{}:a;this.a={};this.a.tilestoreLocation=null==a.oi?null:a.oi;this.a.cloudStorageLocation=null==a.Fg?null:a.Fg;this.a.tilestoreEntry=null==a.ni?null:a.ni;this.a.gcsLocation=null==a.gh?null:a.gh;this.a.type=null==a.type?null:a.type;this.a.name=null==a.name?null:a.name;this.a.id=null==a.id?null:a.id;this.a.updateTime=null==a.Oa?null:a.Oa;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.properties=null==a.properties?
|
|
null:a.properties;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.geometry=null==a.geometry?null:a.geometry;this.a.bands=null==a.bands?null:a.bands;this.a.sizeBytes=null==a.Da?null:a.Da;this.a.quota=null==a.quota?null:a.quota;this.a.expression=null==a.i?null:a.i};q(sf,E);
|
|
sf.prototype.f=function(){return{O:{bands:tf},K:{type:xe},keys:"bands cloudStorageLocation description endTime expression gcsLocation geometry id name properties quota sizeBytes startTime tilestoreEntry tilestoreLocation title type updateTime".split(" "),Ba:{geometry:{ha:null,na:!1,oa:!1,pa:!1},properties:{ha:null,na:!1,oa:!1,pa:!1}},o:{cloudStorageLocation:ff,expression:hf,gcsLocation:uf,quota:vf,tilestoreEntry:wf,tilestoreLocation:xf}}};
|
|
k.Object.defineProperties(sf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.a.bands=a}},Fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageLocation")?F(this,"cloudStorageLocation"):null},set:function(a){this.a.cloudStorageLocation=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},gh:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsLocation")?F(this,"gcsLocation"):null},set:function(a){this.a.gcsLocation=a}},geometry:{configurable:!0,enumerable:!0,get:function(){return G(this,"geometry")?F(this,"geometry"):null},
|
|
set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=a}},quota:{configurable:!0,enumerable:!0,get:function(){return G(this,"quota")?
|
|
F(this,"quota"):null},set:function(a){this.a.quota=a}},Da:{configurable:!0,enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},ni:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilestoreEntry")?F(this,"tilestoreEntry"):null},set:function(a){this.a.tilestoreEntry=a}},oi:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tilestoreLocation")?F(this,"tilestoreLocation"):null},set:function(a){this.a.tilestoreLocation=a}},title:{configurable:!0,enumerable:!0,get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.a.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.a.type=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},
|
|
set:function(a){this.a.updateTime=a}}});var yf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name};q(yf,E);yf.prototype.f=function(){return{keys:["name"]}};k.Object.defineProperties(yf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}}});
|
|
var zf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.B?null:a.B;this.a.bandIds=null==a.ca?null:a.ca;this.a.visualizationOptions=null==a.ic?null:a.ic};q(zf,E);zf.prototype.f=function(){return{K:{fileFormat:ye},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],o:{expression:hf,visualizationOptions:Af}}};
|
|
k.Object.defineProperties(zf.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.a.name=a}},ic:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});var Bf=function(){this.a={}};q(Bf,E);Bf.prototype.f=function(){return{keys:[]}};
|
|
var Cf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileExportOptions=null==a.ka?null:a.ka;this.a.assetExportOptions=null==a.ib?null:a.ib;this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.maxPixels=null==a.Ef?null:a.Ef;this.a.grid=null==a.L?null:a.L;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkers=null==a.ra?null:a.ra;this.a.maxWorkerCount=null==a.V?null:a.V};q(Cf,E);
|
|
Cf.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkerCount maxWorkers requestId".split(" "),o:{assetExportOptions:Df,expression:hf,fileExportOptions:Ef,grid:Ff}}};
|
|
k.Object.defineProperties(Cf.prototype,{ib:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ka:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},Ef:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixels")?F(this,"maxPixels"):null},set:function(a){this.a.maxPixels=a}},V:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkerCount")?
|
|
F(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},ra:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.a.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}}});
|
|
var Gf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.tileOptions=null==a.ec?null:a.ec;this.a.tileExportOptions=null==a.dc?null:a.dc;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkers=null==a.ra?null:a.ra;this.a.maxWorkerCount=null==a.V?null:a.V};q(Gf,E);
|
|
Gf.prototype.f=function(){return{keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions".split(" "),o:{expression:hf,tileExportOptions:Ef,tileOptions:Hf}}};
|
|
k.Object.defineProperties(Gf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},V:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkerCount")?F(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},ra:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.a.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},dc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},ec:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?
|
|
F(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}}});
|
|
var If=function(a){a=void 0===a?{}:a;this.a={};this.a.fileExportOptions=null==a.ka?null:a.ka;this.a.assetExportOptions=null==a.ib?null:a.ib;this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.selectors=null==a.selectors?null:a.selectors;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxErrorMeters=null==a.Xb?null:a.Xb;this.a.maxWorkers=null==a.ra?null:a.ra;this.a.maxWorkerCount=null==a.V?null:a.V;this.a.maxVertices=null==a.maxVertices?
|
|
null:a.maxVertices};q(If,E);If.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions maxErrorMeters maxVertices maxWorkerCount maxWorkers requestId selectors".split(" "),o:{assetExportOptions:Jf,expression:hf,fileExportOptions:Kf}}};
|
|
k.Object.defineProperties(If.prototype,{ib:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ka:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},Xb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},V:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"maxWorkerCount")?F(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},ra:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.a.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return G(this,"selectors")?F(this,"selectors"):
|
|
null},set:function(a){this.a.selectors=a}}});var Lf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Qa?null:a.Qa;this.a.tileOptions=null==a.ec?null:a.ec;this.a.tileExportOptions=null==a.dc?null:a.dc;this.a.requestId=null==a.requestId?null:a.requestId;this.a.version=null==a.version?null:a.version;this.a.maxWorkers=null==a.ra?null:a.ra;this.a.maxWorkerCount=null==a.V?null:a.V};q(Lf,E);
|
|
Lf.prototype.f=function(){return{K:{version:ze},keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions version videoOptions".split(" "),o:{expression:hf,tileExportOptions:Mf,tileOptions:Hf,videoOptions:Nf}}};
|
|
k.Object.defineProperties(Lf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},V:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkerCount")?F(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},ra:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.a.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},dc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},ec:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?
|
|
F(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?F(this,"version"):null},set:function(a){this.a.version=a}},Qa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});
|
|
var Of=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Qa?null:a.Qa;this.a.fileExportOptions=null==a.ka?null:a.ka;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkers=null==a.ra?null:a.ra;this.a.maxWorkerCount=null==a.V?null:a.V};q(Of,E);
|
|
Of.prototype.f=function(){return{keys:"description expression fileExportOptions maxWorkerCount maxWorkers requestId videoOptions".split(" "),o:{expression:hf,fileExportOptions:Mf,videoOptions:Nf}}};
|
|
k.Object.defineProperties(Of.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},ka:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},V:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"maxWorkerCount")?F(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},ra:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.a.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},Qa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?
|
|
F(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});var af=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.location=null==a.location?null:a.location};q(af,E);af.prototype.f=function(){return{keys:["description","expression","location","title"]}};
|
|
k.Object.defineProperties(af.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return G(this,"location")?F(this,"location"):null},set:function(a){this.a.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.a.title=a}}});var hf=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values;this.a.result=null==a.result?null:a.result};q(hf,E);hf.prototype.f=function(){return{keys:["result","values"],Ba:{values:{ha:We,na:!1,oa:!0,pa:!1}}}};
|
|
k.Object.defineProperties(hf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.a.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.a.values=a}}});
|
|
var Pf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.orientation=null==a.orientation?null:a.orientation;this.a.fileFormat=null==a.B?null:a.B;this.a.grid=null==a.L?null:a.L};q(Pf,E);Pf.prototype.f=function(){return{K:{fileFormat:Ae,orientation:Be},keys:["expression","fileFormat","grid","name","orientation"],o:{expression:hf,grid:Ff}}};
|
|
k.Object.defineProperties(Pf.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.a.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return G(this,"orientation")?F(this,"orientation"):null},set:function(a){this.a.orientation=a}}});var vf=function(a){a=void 0===a?{}:a;this.a={};this.a.sizeBytes=null==a.Da?null:a.Da;this.a.maxSizeBytes=null==a.Yb?null:a.Yb;this.a.assetCount=null==a.Ne?null:a.Ne;this.a.maxAssets=null==a.Fh?null:a.Fh;this.a.maxAssetCount=null==a.Cf?null:a.Cf};q(vf,E);
|
|
vf.prototype.f=function(){return{keys:["assetCount","maxAssetCount","maxAssets","maxSizeBytes","sizeBytes"]}};
|
|
k.Object.defineProperties(vf.prototype,{Ne:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetCount")?F(this,"assetCount"):null},set:function(a){this.a.assetCount=a}},Cf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxAssetCount")?F(this,"maxAssetCount"):null},set:function(a){this.a.maxAssetCount=a}},Fh:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxAssets")?F(this,"maxAssets"):null},set:function(a){this.a.maxAssets=a}},Yb:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},Da:{configurable:!0,enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}}});var Qf=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentNames=null==a.mc?null:a.mc;this.a.body=null==a.body?null:a.body};q(Qf,E);Qf.prototype.f=function(){return{keys:["argumentNames","body"]}};
|
|
k.Object.defineProperties(Qf.prototype,{mc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentNames")?F(this,"argumentNames"):null},set:function(a){this.a.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return G(this,"body")?F(this,"body"):null},set:function(a){this.a.body=a}}});
|
|
var Rf=function(a){a=void 0===a?{}:a;this.a={};this.a.functionName=null==a.functionName?null:a.functionName;this.a.functionReference=null==a.Wa?null:a.Wa;this.a.arguments=null==a.arguments?null:a.arguments};q(Rf,E);Rf.prototype.f=function(){return{keys:["arguments","functionName","functionReference"],Ba:{arguments:{ha:We,na:!1,oa:!0,pa:!1}}}};
|
|
k.Object.defineProperties(Rf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?F(this,"arguments"):null},set:function(a){this.a.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionName")?F(this,"functionName"):null},set:function(a){this.a.functionName=a}},Wa:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionReference")?F(this,"functionReference"):null},set:function(a){this.a.functionReference=
|
|
a}}});var Sf=function(a){a=void 0===a?{}:a;this.a={};this.a.bucket=null==a.nc?null:a.nc;this.a.filenamePrefix=null==a.ea?null:a.ea;this.a.permissions=null==a.permissions?null:a.permissions;this.a.bucketCorsUris=null==a.oc?null:a.oc};q(Sf,E);Sf.prototype.f=function(){return{K:{permissions:Ce},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
k.Object.defineProperties(Sf.prototype,{nc:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucket")?F(this,"bucket"):null},set:function(a){this.a.bucket=a}},oc:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucketCorsUris")?F(this,"bucketCorsUris"):null},set:function(a){this.a.bucketCorsUris=a}},ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.a.permissions=a}}});k.Object.defineProperties(Sf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return Ce}}});var uf=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.wa?null:a.wa};q(uf,E);uf.prototype.f=function(){return{keys:["uris"]}};
|
|
k.Object.defineProperties(uf.prototype,{wa:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.a.uris=a}}});var Tf=function(a){a=void 0===a?{}:a;this.a={};this.a.cloudOptimized=null==a.Qe?null:a.Qe;this.a.tileDimensions=null==a.Na?null:a.Na;this.a.skipEmptyFiles=null==a.$f?null:a.$f};q(Tf,E);Tf.prototype.f=function(){return{keys:["cloudOptimized","skipEmptyFiles","tileDimensions"],o:{tileDimensions:Uf}}};
|
|
k.Object.defineProperties(Tf.prototype,{Qe:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudOptimized")?F(this,"cloudOptimized"):null},set:function(a){this.a.cloudOptimized=a}},$f:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyFiles")?F(this,"skipEmptyFiles"):null},set:function(a){this.a.skipEmptyFiles=a}},Na:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
|
|
var Vf=function(a){a=void 0===a?{}:a;this.a={};this.a.options=null==a.options?null:a.options};q(Vf,E);Vf.prototype.f=function(){return{keys:["options"],o:{options:Wf}}};k.Object.defineProperties(Vf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return G(this,"options")?F(this,"options"):null},set:function(a){this.a.options=a}}});var Wf=function(a){a=void 0===a?{}:a;this.a={};this.a.requestedPolicyVersion=null==a.Wh?null:a.Wh};q(Wf,E);Wf.prototype.f=function(){return{keys:["requestedPolicyVersion"]}};
|
|
k.Object.defineProperties(Wf.prototype,{Wh:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestedPolicyVersion")?F(this,"requestedPolicyVersion"):null},set:function(a){this.a.requestedPolicyVersion=a}}});var Uf=function(a){a=void 0===a?{}:a;this.a={};this.a.width=null==a.width?null:a.width;this.a.height=null==a.height?null:a.height};q(Uf,E);Uf.prototype.f=function(){return{keys:["height","width"]}};
|
|
k.Object.defineProperties(Uf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return G(this,"height")?F(this,"height"):null},set:function(a){this.a.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return G(this,"width")?F(this,"width"):null},set:function(a){this.a.width=a}}});var Xf=function(a){a=void 0===a?{}:a;this.a={};this.a.x=null==a.x?null:a.x;this.a.y=null==a.y?null:a.y};q(Xf,E);Xf.prototype.f=function(){return{keys:["x","y"]}};
|
|
k.Object.defineProperties(Xf.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return G(this,"x")?F(this,"x"):null},set:function(a){this.a.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return G(this,"y")?F(this,"y"):null},set:function(a){this.a.y=a}}});
|
|
var Yf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.id=null==a.id?null:a.id;this.a.updateTime=null==a.Oa?null:a.Oa;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.properties=null==a.properties?null:a.properties;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.geometry=null==a.geometry?null:a.geometry;this.a.bands=null==a.bands?null:a.bands;this.a.sizeBytes=
|
|
null==a.Da?null:a.Da};q(Yf,E);Yf.prototype.f=function(){return{O:{bands:tf},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),Ba:{geometry:{ha:null,na:!1,oa:!1,pa:!1},properties:{ha:null,na:!1,oa:!1,pa:!1}}}};
|
|
k.Object.defineProperties(Yf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"geometry")?F(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=a}},Da:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.a.title=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.a.updateTime=
|
|
a}}});var Df=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.Tb?null:a.Tb;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.pyramidingPolicyOverrides=null==a.Mf?null:a.Mf;this.a.tileSize=null==a.tileSize?null:a.tileSize};q(Df,E);
|
|
Df.prototype.f=function(){return{K:{pyramidingPolicy:De,pyramidingPolicyOverrides:Ee},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],Ba:{pyramidingPolicyOverrides:{ha:null,na:!1,oa:!1,pa:!1}},o:{earthEngineDestination:yf}}};
|
|
k.Object.defineProperties(Df.prototype,{Tb:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Mf:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicyOverrides")?F(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.a.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileSize")?F(this,"tileSize"):null},set:function(a){this.a.tileSize=a}}});
|
|
var tf=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.dataType=null==a.dataType?null:a.dataType;this.a.grid=null==a.L?null:a.L;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.missingData=null==a.missingData?null:a.missingData};q(tf,E);
|
|
tf.prototype.f=function(){return{O:{tilesets:Zf},K:{pyramidingPolicy:Fe},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),o:{dataType:$f,grid:Ff,missingData:ag}}};
|
|
k.Object.defineProperties(tf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.a.dataType=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?
|
|
F(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.a.tilesets=a}}});
|
|
var Ef=function(a){a=void 0===a?{}:a;this.a={};this.a.driveDestination=null==a.ia?null:a.ia;this.a.cloudStorageDestination=null==a.vb?null:a.vb;this.a.gcsDestination=null==a.la?null:a.la;this.a.geoTiffOptions=null==a.Hd?null:a.Hd;this.a.tfRecordOptions=null==a.fe?null:a.fe;this.a.fileFormat=null==a.B?null:a.B};q(Ef,E);
|
|
Ef.prototype.f=function(){return{K:{fileFormat:Ge},keys:"cloudStorageDestination driveDestination fileFormat gcsDestination geoTiffOptions tfRecordOptions".split(" "),o:{cloudStorageDestination:ef,driveDestination:rf,gcsDestination:Sf,geoTiffOptions:Tf,tfRecordOptions:bg}}};
|
|
k.Object.defineProperties(Ef.prototype,{vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.a.cloudStorageDestination=a}},ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=
|
|
a}},la:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}},Hd:{configurable:!0,enumerable:!0,get:function(){return G(this,"geoTiffOptions")?F(this,"geoTiffOptions"):null},set:function(a){this.a.geoTiffOptions=a}},fe:{configurable:!0,enumerable:!0,get:function(){return G(this,"tfRecordOptions")?F(this,"tfRecordOptions"):null},set:function(a){this.a.tfRecordOptions=a}}});
|
|
var cg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.properties=null==a.properties?null:a.properties;this.a.uriPrefix=null==a.qd?null:a.qd;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.bands=null==a.bands?null:a.bands;this.a.maskBands=null==a.Bf?null:a.Bf;this.a.footprint=null==a.eh?null:a.eh;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.startTime=null==a.startTime?
|
|
null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};q(cg,E);cg.prototype.f=function(){return{O:{bands:dg,maskBands:eg,tilesets:fg},K:{pyramidingPolicy:He},keys:"bands endTime footprint maskBands missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),Ba:{properties:{ha:null,na:!1,oa:!1,pa:!1}},o:{footprint:gg,missingData:ag}}};
|
|
k.Object.defineProperties(cg.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.a.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},eh:{configurable:!0,enumerable:!0,get:function(){return G(this,"footprint")?F(this,"footprint"):null},set:function(a){this.a.footprint=a}},Bf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"maskBands")?F(this,"maskBands"):null},set:function(a){this.a.maskBands=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.a.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=
|
|
a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.a.tilesets=a}},qd:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});var hg=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.wa?null:a.wa;this.a.affineTransform=null==a.Pb?null:a.Pb};q(hg,E);hg.prototype.f=function(){return{keys:["affineTransform","uris"],o:{affineTransform:Se}}};
|
|
k.Object.defineProperties(hg.prototype,{Pb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},wa:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.a.uris=a}}});
|
|
var ig=function(a){a=void 0===a?{}:a;this.a={};this.a.imageManifest=null==a.rf?null:a.rf;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.requestId?null:a.requestId};q(ig,E);ig.prototype.f=function(){return{keys:["description","imageManifest","overwrite","requestId"],o:{imageManifest:cg}}};
|
|
k.Object.defineProperties(ig.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},rf:{configurable:!0,enumerable:!0,get:function(){return G(this,"imageManifest")?F(this,"imageManifest"):null},set:function(a){this.a.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}}});var jg=function(a){a=void 0===a?{}:a;this.a={};this.a.tableManifest=null==a.eg?null:a.eg;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.requestId?null:a.requestId};q(jg,E);jg.prototype.f=function(){return{keys:["description","overwrite","requestId","tableManifest"],o:{tableManifest:kg}}};
|
|
k.Object.defineProperties(jg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},eg:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tableManifest")?F(this,"tableManifest"):null},set:function(a){this.a.tableManifest=a}}});var lg=function(a){a=void 0===a?{}:a;this.a={};this.a.algorithms=null==a.Kc?null:a.Kc};q(lg,E);lg.prototype.f=function(){return{O:{algorithms:Te},keys:["algorithms"]}};k.Object.defineProperties(lg.prototype,{Kc:{configurable:!0,enumerable:!0,get:function(){return G(this,"algorithms")?F(this,"algorithms"):null},set:function(a){this.a.algorithms=a}}});
|
|
var mg=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.assets?null:a.assets;this.a.nextPageToken=null==a.Za?null:a.Za};q(mg,E);mg.prototype.f=function(){return{O:{assets:sf},keys:["assets","nextPageToken"]}};
|
|
k.Object.defineProperties(mg.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return G(this,"assets")?F(this,"assets"):null},set:function(a){this.a.assets=a}},Za:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});var ng=function(a){a=void 0===a?{}:a;this.a={};this.a.images=null==a.images?null:a.images;this.a.nextPageToken=null==a.Za?null:a.Za};q(ng,E);
|
|
ng.prototype.f=function(){return{O:{images:Yf},keys:["images","nextPageToken"]}};k.Object.defineProperties(ng.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return G(this,"images")?F(this,"images"):null},set:function(a){this.a.images=a}},Za:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});
|
|
var og=function(a){a=void 0===a?{}:a;this.a={};this.a.operations=null==a.La?null:a.La;this.a.nextPageToken=null==a.Za?null:a.Za};q(og,E);og.prototype.f=function(){return{O:{operations:pg},keys:["nextPageToken","operations"]}};
|
|
k.Object.defineProperties(og.prototype,{Za:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}},La:{configurable:!0,enumerable:!0,get:function(){return G(this,"operations")?F(this,"operations"):null},set:function(a){this.a.operations=a}}});
|
|
var qg=function(a){a=void 0===a?{}:a;this.a={};this.a.counter=null==a.counter?null:a.counter;this.a.dataAccess=null==a.Rg?null:a.Rg;this.a.cloudAudit=null==a.Eg?null:a.Eg};q(qg,E);qg.prototype.f=function(){return{keys:["cloudAudit","counter","dataAccess"],o:{cloudAudit:df,counter:mf,dataAccess:of}}};
|
|
k.Object.defineProperties(qg.prototype,{Eg:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudAudit")?F(this,"cloudAudit"):null},set:function(a){this.a.cloudAudit=a}},counter:{configurable:!0,enumerable:!0,get:function(){return G(this,"counter")?F(this,"counter"):null},set:function(a){this.a.counter=a}},Rg:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataAccess")?F(this,"dataAccess"):null},set:function(a){this.a.dataAccess=a}}});
|
|
var ag=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q(ag,E);ag.prototype.f=function(){return{keys:["values"]}};k.Object.defineProperties(ag.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.a.values=a}}});var rg=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.Sb?null:a.Sb};q(rg,E);rg.prototype.f=function(){return{keys:["destinationName"]}};
|
|
k.Object.defineProperties(rg.prototype,{Sb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.a.destinationName=a}}});var pg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.metadata=null==a.Ff?null:a.Ff;this.a.done=null==a.done?null:a.done;this.a.error=null==a.error?null:a.error;this.a.response=null==a.response?null:a.response};q(pg,E);
|
|
pg.prototype.f=function(){return{keys:["done","error","metadata","name","response"],Ba:{metadata:{ha:null,na:!1,oa:!1,pa:!1},response:{ha:null,na:!1,oa:!1,pa:!1}},o:{error:sg}}};
|
|
k.Object.defineProperties(pg.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return G(this,"done")?F(this,"done"):null},set:function(a){this.a.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return G(this,"error")?F(this,"error"):null},set:function(a){this.a.error=a}},Ff:{configurable:!0,enumerable:!0,get:function(){return G(this,"metadata")?F(this,"metadata"):null},set:function(a){this.a.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?
|
|
F(this,"name"):null},set:function(a){this.a.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return G(this,"response")?F(this,"response"):null},set:function(a){this.a.response=a}}});
|
|
var tg=function(a){a=void 0===a?{}:a;this.a={};this.a.state=null==a.state?null:a.state;this.a.description=null==a.description?null:a.description;this.a.type=null==a.type?null:a.type;this.a.priority=null==a.priority?null:a.priority;this.a.createTime=null==a.Xe?null:a.Xe;this.a.updateTime=null==a.Oa?null:a.Oa;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.progress=null==a.progress?null:a.progress;this.a.stages=null==a.ei?null:a.ei;this.a.attempt=
|
|
null==a.attempt?null:a.attempt;this.a.scriptUri=null==a.Uf?null:a.Uf;this.a.destinationUris=null==a.$e?null:a.$e};q(tg,E);tg.prototype.f=function(){return{O:{stages:ug},K:{state:Ie},keys:"attempt createTime description destinationUris endTime priority progress scriptUri stages startTime state type updateTime".split(" ")}};
|
|
k.Object.defineProperties(tg.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return G(this,"attempt")?F(this,"attempt"):null},set:function(a){this.a.attempt=a}},Xe:{configurable:!0,enumerable:!0,get:function(){return G(this,"createTime")?F(this,"createTime"):null},set:function(a){this.a.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},$e:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"destinationUris")?F(this,"destinationUris"):null},set:function(a){this.a.destinationUris=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.a.priority=a}},progress:{configurable:!0,enumerable:!0,get:function(){return G(this,"progress")?F(this,"progress"):
|
|
null},set:function(a){this.a.progress=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return G(this,"scriptUri")?F(this,"scriptUri"):null},set:function(a){this.a.scriptUri=a}},ei:{configurable:!0,enumerable:!0,get:function(){return G(this,"stages")?F(this,"stages"):null},set:function(a){this.a.stages=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"state")?F(this,"state"):null},set:function(a){this.a.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.a.type=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.a.updateTime=a}}});
|
|
var ug=function(a){a=void 0===a?{}:a;this.a={};this.a.displayName=null==a.displayName?null:a.displayName;this.a.completeWorkUnits=null==a.Gg?null:a.Gg;this.a.totalWorkUnits=null==a.ri?null:a.ri;this.a.description=null==a.description?null:a.description};q(ug,E);ug.prototype.f=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
|
|
k.Object.defineProperties(ug.prototype,{Gg:{configurable:!0,enumerable:!0,get:function(){return G(this,"completeWorkUnits")?F(this,"completeWorkUnits"):null},set:function(a){this.a.completeWorkUnits=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},displayName:{configurable:!0,enumerable:!0,get:function(){return G(this,"displayName")?F(this,"displayName"):null},set:function(a){this.a.displayName=
|
|
a}},ri:{configurable:!0,enumerable:!0,get:function(){return G(this,"totalWorkUnits")?F(this,"totalWorkUnits"):null},set:function(a){this.a.totalWorkUnits=a}}});var $f=function(a){a=void 0===a?{}:a;this.a={};this.a.precision=null==a.precision?null:a.precision;this.a.range=null==a.jd?null:a.jd;this.a.dimensionsCount=null==a.Vg?null:a.Vg};q($f,E);$f.prototype.f=function(){return{K:{precision:Je},keys:["dimensionsCount","precision","range"],o:{range:qf}}};
|
|
k.Object.defineProperties($f.prototype,{Vg:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensionsCount")?F(this,"dimensionsCount"):null},set:function(a){this.a.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return G(this,"precision")?F(this,"precision"):null},set:function(a){this.a.precision=a}},jd:{configurable:!0,enumerable:!0,get:function(){return G(this,"range")?F(this,"range"):null},set:function(a){this.a.range=a}}});
|
|
var gg=function(a){a=void 0===a?{}:a;this.a={};this.a.points=null==a.Qh?null:a.Qh;this.a.bandId=null==a.ug?null:a.ug};q(gg,E);gg.prototype.f=function(){return{O:{points:Xf},keys:["bandId","points"]}};k.Object.defineProperties(gg.prototype,{ug:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandId")?F(this,"bandId"):null},set:function(a){this.a.bandId=a}},Qh:{configurable:!0,enumerable:!0,get:function(){return G(this,"points")?F(this,"points"):null},set:function(a){this.a.points=a}}});
|
|
var Ff=function(a){a=void 0===a?{}:a;this.a={};this.a.crsCode=null==a.Ye?null:a.Ye;this.a.crsWkt=null==a.Mg?null:a.Mg;this.a.dimensions=null==a.dimensions?null:a.dimensions;this.a.affineTransform=null==a.Pb?null:a.Pb};q(Ff,E);Ff.prototype.f=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],o:{affineTransform:Se,dimensions:Uf}}};
|
|
k.Object.defineProperties(Ff.prototype,{Pb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Ye:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsCode")?F(this,"crsCode"):null},set:function(a){this.a.crsCode=a}},Mg:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsWkt")?F(this,"crsWkt"):null},set:function(a){this.a.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.a.dimensions=a}}});var vg=function(a){a=void 0===a?{}:a;this.a={};this.a.version=null==a.version?null:a.version;this.a.bindings=null==a.xd?null:a.xd;this.a.auditConfigs=null==a.rg?null:a.rg;this.a.rules=null==a.rules?null:a.rules;this.a.etag=null==a.cf?null:a.cf;this.a.iamOwned=null==a.mh?null:a.mh};q(vg,E);vg.prototype.f=function(){return{O:{auditConfigs:Xe,bindings:$e,rules:wg},keys:"auditConfigs bindings etag iamOwned rules version".split(" ")}};
|
|
k.Object.defineProperties(vg.prototype,{rg:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditConfigs")?F(this,"auditConfigs"):null},set:function(a){this.a.auditConfigs=a}},xd:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindings")?F(this,"bindings"):null},set:function(a){this.a.bindings=a}},cf:{configurable:!0,enumerable:!0,get:function(){return G(this,"etag")?F(this,"etag"):null},set:function(a){this.a.etag=a}},mh:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"iamOwned")?F(this,"iamOwned"):null},set:function(a){this.a.iamOwned=a}},rules:{configurable:!0,enumerable:!0,get:function(){return G(this,"rules")?F(this,"rules"):null},set:function(a){this.a.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?F(this,"version"):null},set:function(a){this.a.version=a}}});
|
|
var wg=function(a){a=void 0===a?{}:a;this.a={};this.a.description=null==a.description?null:a.description;this.a.permissions=null==a.permissions?null:a.permissions;this.a.action=null==a.action?null:a.action;this.a["in"]=null==a.rh?null:a.rh;this.a.notIn=null==a.Ih?null:a.Ih;this.a.conditions=null==a.conditions?null:a.conditions;this.a.logConfig=null==a.Ah?null:a.Ah};q(wg,E);wg.prototype.f=function(){return{O:{conditions:kf,logConfig:qg},K:{action:Ke},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
k.Object.defineProperties(wg.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return G(this,"action")?F(this,"action"):null},set:function(a){this.a.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return G(this,"conditions")?F(this,"conditions"):null},set:function(a){this.a.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},rh:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"in")?F(this,"in"):null},set:function(a){this.a["in"]=a}},Ah:{configurable:!0,enumerable:!0,get:function(){return G(this,"logConfig")?F(this,"logConfig"):null},set:function(a){this.a.logConfig=a}},Ih:{configurable:!0,enumerable:!0,get:function(){return G(this,"notIn")?F(this,"notIn"):null},set:function(a){this.a.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.a.permissions=
|
|
a}}});var xg=function(a){a=void 0===a?{}:a;this.a={};this.a.policy=null==a.Jf?null:a.Jf;this.a.updateMask=null==a.Hc?null:a.Hc};q(xg,E);xg.prototype.f=function(){return{keys:["policy","updateMask"],o:{policy:vg}}};
|
|
k.Object.defineProperties(xg.prototype,{Jf:{configurable:!0,enumerable:!0,get:function(){return G(this,"policy")?F(this,"policy"):null},set:function(a){this.a.policy=a}},Hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});var sg=function(a){a=void 0===a?{}:a;this.a={};this.a.code=null==a.code?null:a.code;this.a.message=null==a.message?null:a.message;this.a.details=null==a.details?null:a.details};q(sg,E);
|
|
sg.prototype.f=function(){return{keys:["code","details","message"],Ba:{details:{ha:null,na:!0,oa:!1,pa:!1}}}};
|
|
k.Object.defineProperties(sg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return G(this,"code")?F(this,"code"):null},set:function(a){this.a.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return G(this,"details")?F(this,"details"):null},set:function(a){this.a.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return G(this,"message")?F(this,"message"):null},set:function(a){this.a.message=a}}});
|
|
var yg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.B?null:a.B;this.a.selectors=null==a.selectors?null:a.selectors;this.a.filename=null==a.filename?null:a.filename};q(yg,E);yg.prototype.f=function(){return{K:{fileFormat:Me},keys:["expression","fileFormat","filename","name","selectors"],o:{expression:hf}}};
|
|
k.Object.defineProperties(yg.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return G(this,"filename")?F(this,"filename"):null},set:function(a){this.a.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.a.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return G(this,"selectors")?F(this,"selectors"):null},set:function(a){this.a.selectors=a}}});var Jf=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.Tb?null:a.Tb};q(Jf,E);Jf.prototype.f=function(){return{keys:["earthEngineDestination"],o:{earthEngineDestination:yf}}};
|
|
k.Object.defineProperties(Jf.prototype,{Tb:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}}});var Kf=function(a){a=void 0===a?{}:a;this.a={};this.a.driveDestination=null==a.ia?null:a.ia;this.a.cloudStorageDestination=null==a.vb?null:a.vb;this.a.gcsDestination=null==a.la?null:a.la;this.a.fileFormat=null==a.B?null:a.B};q(Kf,E);
|
|
Kf.prototype.f=function(){return{K:{fileFormat:Le},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],o:{cloudStorageDestination:ef,driveDestination:rf,gcsDestination:Sf}}};
|
|
k.Object.defineProperties(Kf.prototype,{vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.a.cloudStorageDestination=a}},ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=
|
|
a}},la:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});var kg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.properties=null==a.properties?null:a.properties;this.a.uriPrefix=null==a.qd?null:a.qd;this.a.sources=null==a.sources?null:a.sources;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};q(kg,E);
|
|
kg.prototype.f=function(){return{O:{sources:zg},keys:"endTime name properties sources startTime uriPrefix".split(" "),Ba:{properties:{ha:null,na:!1,oa:!1,pa:!1}}}};
|
|
k.Object.defineProperties(kg.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sources")?F(this,"sources"):null},set:function(a){this.a.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},qd:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});
|
|
var zg=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.wa?null:a.wa;this.a.charset=null==a.charset?null:a.charset;this.a.maxErrorMeters=null==a.Xb?null:a.Xb;this.a.maxVertices=null==a.maxVertices?null:a.maxVertices;this.a.crs=null==a.crs?null:a.crs;this.a.geodesic=null==a.geodesic?null:a.geodesic;this.a.primaryGeometryColumn=null==a.Rh?null:a.Rh;this.a.xColumn=null==a.ti?null:a.ti;this.a.yColumn=null==a.ui?null:a.ui;this.a.dateFormat=null==a.Sg?null:a.Sg;this.a.csvDelimiter=null==a.Ng?
|
|
null:a.Ng;this.a.csvQualifier=null==a.Og?null:a.Og};q(zg,E);zg.prototype.f=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
k.Object.defineProperties(zg.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return G(this,"charset")?F(this,"charset"):null},set:function(a){this.a.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?F(this,"crs"):null},set:function(a){this.a.crs=a}},Ng:{configurable:!0,enumerable:!0,get:function(){return G(this,"csvDelimiter")?F(this,"csvDelimiter"):null},set:function(a){this.a.csvDelimiter=a}},Og:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"csvQualifier")?F(this,"csvQualifier"):null},set:function(a){this.a.csvQualifier=a}},Sg:{configurable:!0,enumerable:!0,get:function(){return G(this,"dateFormat")?F(this,"dateFormat"):null},set:function(a){this.a.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return G(this,"geodesic")?F(this,"geodesic"):null},set:function(a){this.a.geodesic=a}},Xb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return G(this,"primaryGeometryColumn")?F(this,"primaryGeometryColumn"):null},set:function(a){this.a.primaryGeometryColumn=a}},wa:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.a.uris=a}},ti:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"xColumn")?F(this,"xColumn"):null},set:function(a){this.a.xColumn=a}},ui:{configurable:!0,enumerable:!0,get:function(){return G(this,"yColumn")?F(this,"yColumn"):null},set:function(a){this.a.yColumn=a}}});
|
|
var bg=function(a){a=void 0===a?{}:a;this.a={};this.a.tileDimensions=null==a.Na?null:a.Na;this.a.marginDimensions=null==a.Af?null:a.Af;this.a.compress=null==a.Te?null:a.Te;this.a.maxSizeBytes=null==a.Yb?null:a.Yb;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue;this.a.tensorDepths=null==a.de?null:a.de;this.a.sequenceData=null==a.Vf?null:a.Vf;this.a.collapseBands=null==a.Re?null:a.Re;this.a.maxMaskedRatio=null==a.Df?null:a.Df};q(bg,E);
|
|
bg.prototype.f=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),Ba:{tensorDepths:{ha:null,na:!1,oa:!1,pa:!1}},o:{marginDimensions:Uf,tileDimensions:Uf}}};
|
|
k.Object.defineProperties(bg.prototype,{Re:{configurable:!0,enumerable:!0,get:function(){return G(this,"collapseBands")?F(this,"collapseBands"):null},set:function(a){this.a.collapseBands=a}},Te:{configurable:!0,enumerable:!0,get:function(){return G(this,"compress")?F(this,"compress"):null},set:function(a){this.a.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},Af:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"marginDimensions")?F(this,"marginDimensions"):null},set:function(a){this.a.marginDimensions=a}},Df:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxMaskedRatio")?F(this,"maxMaskedRatio"):null},set:function(a){this.a.maxMaskedRatio=a}},Yb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},Vf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sequenceData")?F(this,"sequenceData"):null},set:function(a){this.a.sequenceData=a}},de:{configurable:!0,enumerable:!0,get:function(){return G(this,"tensorDepths")?F(this,"tensorDepths"):null},set:function(a){this.a.tensorDepths=a}},Na:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
|
|
var Ag=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.B?null:a.B;this.a.bandIds=null==a.ca?null:a.ca;this.a.visualizationOptions=null==a.ic?null:a.ic;this.a.grid=null==a.L?null:a.L;this.a.filenamePrefix=null==a.ea?null:a.ea};q(Ag,E);Ag.prototype.f=function(){return{K:{fileFormat:Ne},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),o:{expression:hf,grid:Ff,visualizationOptions:Af}}};
|
|
k.Object.defineProperties(Ag.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ea:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},ic:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=
|
|
a}}});
|
|
var Hf=function(a){a=void 0===a?{}:a;this.a={};this.a.endZoom=null==a.Xg?null:a.Xg;this.a.maxZoom=null==a.maxZoom?null:a.maxZoom;this.a.scale=null==a.scale?null:a.scale;this.a.startZoom=null==a.fi?null:a.fi;this.a.minZoom=null==a.minZoom?null:a.minZoom;this.a.skipEmpty=null==a.ci?null:a.ci;this.a.skipEmptyTiles=null==a.ag?null:a.ag;this.a.mapsApiKey=null==a.zf?null:a.zf;this.a.dimensions=null==a.dimensions?null:a.dimensions;this.a.tileDimensions=null==a.Na?null:a.Na;this.a.stride=null==a.bg?null:
|
|
a.bg;this.a.zoomSubset=null==a.mg?null:a.mg};q(Hf,E);Hf.prototype.f=function(){return{keys:"dimensions endZoom mapsApiKey maxZoom minZoom scale skipEmpty skipEmptyTiles startZoom stride tileDimensions zoomSubset".split(" "),o:{dimensions:Uf,tileDimensions:Uf,zoomSubset:Bg}}};
|
|
k.Object.defineProperties(Hf.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.a.dimensions=a}},Xg:{configurable:!0,enumerable:!0,get:function(){return G(this,"endZoom")?F(this,"endZoom"):null},set:function(a){this.a.endZoom=a}},zf:{configurable:!0,enumerable:!0,get:function(){return G(this,"mapsApiKey")?F(this,"mapsApiKey"):null},set:function(a){this.a.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"maxZoom")?F(this,"maxZoom"):null},set:function(a){this.a.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return G(this,"minZoom")?F(this,"minZoom"):null},set:function(a){this.a.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return G(this,"scale")?F(this,"scale"):null},set:function(a){this.a.scale=a}},ci:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmpty")?F(this,"skipEmpty"):null},set:function(a){this.a.skipEmpty=
|
|
a}},ag:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyTiles")?F(this,"skipEmptyTiles"):null},set:function(a){this.a.skipEmptyTiles=a}},fi:{configurable:!0,enumerable:!0,get:function(){return G(this,"startZoom")?F(this,"startZoom"):null},set:function(a){this.a.startZoom=a}},bg:{configurable:!0,enumerable:!0,get:function(){return G(this,"stride")?F(this,"stride"):null},set:function(a){this.a.stride=a}},Na:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?
|
|
F(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}},mg:{configurable:!0,enumerable:!0,get:function(){return G(this,"zoomSubset")?F(this,"zoomSubset"):null},set:function(a){this.a.zoomSubset=a}}});
|
|
var fg=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.sources=null==a.sources?null:a.sources;this.a.dataType=null==a.dataType?null:a.dataType;this.a.crs=null==a.crs?null:a.crs;this.a.subdatasetPrefix=null==a.hi?null:a.hi;this.a.subdatasetSuffix=null==a.ii?null:a.ii};q(fg,E);fg.prototype.f=function(){return{O:{sources:hg},K:{dataType:Pe},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
k.Object.defineProperties(fg.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?F(this,"crs"):null},set:function(a){this.a.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.a.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?
|
|
F(this,"sources"):null},set:function(a){this.a.sources=a}},hi:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetPrefix")?F(this,"subdatasetPrefix"):null},set:function(a){this.a.subdatasetPrefix=a}},ii:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetSuffix")?F(this,"subdatasetSuffix"):null},set:function(a){this.a.subdatasetSuffix=a}}});
|
|
var dg=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.tilesetId=null==a.Fc?null:a.Fc;this.a.tilesetBandIndex=null==a.mi?null:a.mi;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(dg,E);dg.prototype.f=function(){return{K:{pyramidingPolicy:Oe},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],o:{missingData:ag}}};
|
|
k.Object.defineProperties(dg.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},mi:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?F(this,"tilesetBandIndex"):null},set:function(a){this.a.tilesetBandIndex=a}},Fc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var eg=function(a){a=void 0===a?{}:a;this.a={};this.a.tilesetId=null==a.Fc?null:a.Fc;this.a.bandIds=null==a.ca?null:a.ca};q(eg,E);eg.prototype.f=function(){return{keys:["bandIds","tilesetId"]}};
|
|
k.Object.defineProperties(eg.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},Fc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var wf=function(a){a=void 0===a?{}:a;this.a={};this.a.sources=null==a.sources?null:a.sources;this.a.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(wf,E);
|
|
wf.prototype.f=function(){return{O:{sources:Cg},keys:["pathPrefix","sources"]}};k.Object.defineProperties(wf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathPrefix")?F(this,"pathPrefix"):null},set:function(a){this.a.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?F(this,"sources"):null},set:function(a){this.a.sources=a}}});
|
|
var xf=function(a){a=void 0===a?{}:a;this.a={};this.a.sources=null==a.sources?null:a.sources;this.a.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(xf,E);xf.prototype.f=function(){return{O:{sources:Cg},keys:["pathPrefix","sources"]}};
|
|
k.Object.defineProperties(xf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathPrefix")?F(this,"pathPrefix"):null},set:function(a){this.a.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?F(this,"sources"):null},set:function(a){this.a.sources=a}}});var Cg=function(a){a=void 0===a?{}:a;this.a={};this.a.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.a.headerSizeBytes=null==a.kh?null:a.kh};q(Cg,E);
|
|
Cg.prototype.f=function(){return{keys:["headerSizeBytes","pathSuffix"]}};k.Object.defineProperties(Cg.prototype,{kh:{configurable:!0,enumerable:!0,get:function(){return G(this,"headerSizeBytes")?F(this,"headerSizeBytes"):null},set:function(a){this.a.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathSuffix")?F(this,"pathSuffix"):null},set:function(a){this.a.pathSuffix=a}}});
|
|
var Zf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileIndexes=null==a.Zg?null:a.Zg;this.a.firstTileIndex=null==a.ah?null:a.ah;this.a.tilesPerFile=null==a.li?null:a.li};q(Zf,E);Zf.prototype.f=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
k.Object.defineProperties(Zf.prototype,{Zg:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileIndexes")?F(this,"fileIndexes"):null},set:function(a){this.a.fileIndexes=a}},ah:{configurable:!0,enumerable:!0,get:function(){return G(this,"firstTileIndex")?F(this,"firstTileIndex"):null},set:function(a){this.a.firstTileIndex=a}},li:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesPerFile")?F(this,"tilesPerFile"):null},set:function(a){this.a.tilesPerFile=a}}});
|
|
var Dg=function(a){a=void 0===a?{}:a;this.a={};this.a.asset=null==a.Me?null:a.Me;this.a.updateMask=null==a.Hc?null:a.Hc};q(Dg,E);Dg.prototype.f=function(){return{keys:["asset","updateMask"],o:{asset:sf}}};
|
|
k.Object.defineProperties(Dg.prototype,{Me:{configurable:!0,enumerable:!0,get:function(){return G(this,"asset")?F(this,"asset"):null},set:function(a){this.a.asset=a}},Hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
|
|
var We=function(a){a=void 0===a?{}:a;this.a={};this.a.constantValue=null==a.kb?null:a.kb;this.a.integerValue=null==a.Wb?null:a.Wb;this.a.bytesValue=null==a.ub?null:a.ub;this.a.arrayValue=null==a.Fa?null:a.Fa;this.a.dictionaryValue=null==a.Ga?null:a.Ga;this.a.functionDefinitionValue=null==a.Va?null:a.Va;this.a.functionInvocationValue=null==a.ya?null:a.ya;this.a.argumentReference=null==a.Qb?null:a.Qb;this.a.valueReference=null==a.Pa?null:a.Pa};q(We,E);
|
|
We.prototype.f=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),o:{arrayValue:Ve,dictionaryValue:pf,functionDefinitionValue:Qf,functionInvocationValue:Rf}}};
|
|
k.Object.defineProperties(We.prototype,{Qb:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentReference")?F(this,"argumentReference"):null},set:function(a){this.a.argumentReference=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"arrayValue")?F(this,"arrayValue"):null},set:function(a){this.a.arrayValue=a}},ub:{configurable:!0,enumerable:!0,get:function(){return G(this,"bytesValue")?F(this,"bytesValue"):null},set:function(a){this.a.bytesValue=a}},kb:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"constantValue")?F(this,"constantValue"):null},set:function(a){this.a.constantValue=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"dictionaryValue")?F(this,"dictionaryValue"):null},set:function(a){this.a.dictionaryValue=a}},Va:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionDefinitionValue")?F(this,"functionDefinitionValue"):null},set:function(a){this.a.functionDefinitionValue=a}},ya:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"functionInvocationValue")?F(this,"functionInvocationValue"):null},set:function(a){this.a.functionInvocationValue=a}},Wb:{configurable:!0,enumerable:!0,get:function(){return G(this,"integerValue")?F(this,"integerValue"):null},set:function(a){this.a.integerValue=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return G(this,"valueReference")?F(this,"valueReference"):null},set:function(a){this.a.valueReference=a}}});
|
|
var Mf=function(a){a=void 0===a?{}:a;this.a={};this.a.driveDestination=null==a.ia?null:a.ia;this.a.cloudStorageDestination=null==a.vb?null:a.vb;this.a.gcsDestination=null==a.la?null:a.la;this.a.fileFormat=null==a.B?null:a.B};q(Mf,E);Mf.prototype.f=function(){return{K:{fileFormat:Qe},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],o:{cloudStorageDestination:ef,driveDestination:rf,gcsDestination:Sf}}};
|
|
k.Object.defineProperties(Mf.prototype,{vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.a.cloudStorageDestination=a}},ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=
|
|
a}},la:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});var Nf=function(a){a=void 0===a?{}:a;this.a={};this.a.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.a.maxFrames=null==a.maxFrames?null:a.maxFrames;this.a.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};q(Nf,E);Nf.prototype.f=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
k.Object.defineProperties(Nf.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return G(this,"framesPerSecond")?F(this,"framesPerSecond"):null},set:function(a){this.a.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxFrames")?F(this,"maxFrames"):null},set:function(a){this.a.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixelsPerFrame")?F(this,"maxPixelsPerFrame"):null},set:function(a){this.a.maxPixelsPerFrame=
|
|
a}}});var Eg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.videoOptions=null==a.Qa?null:a.Qa;this.a.fileFormat=null==a.B?null:a.B;this.a.grid=null==a.L?null:a.L};q(Eg,E);Eg.prototype.f=function(){return{K:{fileFormat:Re},keys:["expression","fileFormat","grid","name","videoOptions"],o:{expression:hf,grid:Ff,videoOptions:Nf}}};
|
|
k.Object.defineProperties(Eg.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.a.name=a}},Qa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});var Af=function(a){a=void 0===a?{}:a;this.a={};this.a.ranges=null==a.Nf?null:a.Nf;this.a.paletteColors=null==a.gd?null:a.gd;this.a.gamma=null==a.gamma?null:a.gamma;this.a.opacity=null==a.opacity?null:a.opacity};q(Af,E);
|
|
Af.prototype.f=function(){return{O:{ranges:qf},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
k.Object.defineProperties(Af.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return G(this,"gamma")?F(this,"gamma"):null},set:function(a){this.a.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return G(this,"opacity")?F(this,"opacity"):null},set:function(a){this.a.opacity=a}},gd:{configurable:!0,enumerable:!0,get:function(){return G(this,"paletteColors")?F(this,"paletteColors"):null},set:function(a){this.a.paletteColors=a}},Nf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"ranges")?F(this,"ranges"):null},set:function(a){this.a.ranges=a}}});var Bg=function(a){a=void 0===a?{}:a;this.a={};this.a.start=null==a.start?null:a.start;this.a.end=null==a.end?null:a.end;this.a.min=null==a.min?null:a.min;this.a.max=null==a.max?null:a.max};q(Bg,E);Bg.prototype.f=function(){return{keys:["end","max","min","start"]}};
|
|
k.Object.defineProperties(Bg.prototype,{end:{configurable:!0,enumerable:!0,get:function(){return G(this,"end")?F(this,"end"):null},set:function(a){this.a.end=a}},max:{configurable:!0,enumerable:!0,get:function(){return G(this,"max")?F(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return G(this,"min")?F(this,"min"):null},set:function(a){this.a.min=a}},start:{configurable:!0,enumerable:!0,get:function(){return G(this,"start")?F(this,"start"):null},
|
|
set:function(a){this.a.start=a}}});var ie={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",callback:"callback",endTime:"endTime",fields:"fields",filter:"filter",key:"key",oauth_token:"oauth_token",overwrite:"overwrite",pageSize:"pageSize",pageToken:"pageToken",prettyPrint:"prettyPrint",quotaUser:"quotaUser",region:"region",startTime:"startTime",uploadType:"uploadType",upload_protocol:"upload_protocol",view:"view"},Fg=function(a){this.j="v1alpha";this.h=new me(a,null)};
|
|
Fg.prototype.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:null,s:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.j+"/"+a+"/algorithms",m:H(b,c),G:lg})};var Gg=function(a){this.j="v1alpha";this.h=new me(a,null)};
|
|
Gg.prototype.getCapabilities=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:null,s:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.j+"/"+a+"/capabilities",m:H(b,c),G:cf})};Gg.prototype.ad=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:null,s:"GET",D:"earthengine.projects.listAssets",path:"/"+this.j+"/"+a+":listAssets",m:H(b,c),G:mg})};
|
|
var Hg=function(a){this.j="v1alpha";this.h=new me(a,null)};h=Hg.prototype;h.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.assets.create",path:"/"+this.j+"/"+a+"/assets",m:H(c,d),G:sf})};
|
|
h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return I(this.h,{body:null,s:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.j+"/"+a,m:H(b,c),G:Bf})};h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return I(this.h,{body:null,s:"GET",D:"earthengine.projects.assets.get",path:"/"+this.j+"/"+a,m:H(b,c),G:sf})};
|
|
h.link=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.assets.link",path:"/"+this.j+"/"+a+":link",m:H(c,d),G:sf})};h.ad=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return I(this.h,{body:null,s:"GET",D:"earthengine.projects.assets.listAssets",path:"/"+this.j+"/"+a+":listAssets",m:H(b,c),G:mg})};
|
|
var Ig=function(a,b,c){c=void 0===c?{}:c;var d=void 0===d?{}:d;a.h.A(b,/^projects\/[^/]+\/assets\/.*$/);return I(a.h,{body:null,s:"GET",D:"earthengine.projects.assets.listImages",path:"/"+a.j+"/"+b+":listImages",m:H(c,d),G:ng})};Hg.prototype.move=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.assets.move",path:"/"+this.j+"/"+a+":move",m:H(c,d),G:sf})};
|
|
var Jg=function(a){this.j="v1alpha";this.h=new me(a,null)};Jg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.j+"/"+a+"/filmstripThumbnails",m:H(c,d),G:Pf})};var Kg=function(a){this.j="v1alpha";this.h=new me(a,null)};
|
|
Kg.prototype.mb=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.image.export",path:"/"+this.j+"/"+a+"/image:export",m:H(c,d),G:pg})};Kg.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.image.import",path:"/"+this.j+"/"+a+"/image:import",m:H(c,d),G:pg})};
|
|
var Lg=function(a){this.j="v1alpha";this.h=new me(a,null)};Lg.prototype.mb=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.map.export",path:"/"+this.j+"/"+a+"/map:export",m:H(c,d),G:pg})};var Mg=function(a){this.j="v1alpha";this.h=new me(a,null)};
|
|
Mg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.maps.create",path:"/"+this.j+"/"+a+"/maps",m:H(c,d),G:zf})};var Ng=function(a){this.j="v1alpha";this.h=new me(a,null)};h=Ng.prototype;
|
|
h.cancel=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.operations.cancel",path:"/"+this.j+"/"+a+":cancel",m:H(c,d),G:Bf})};h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return I(this.h,{body:null,s:"DELETE",D:"earthengine.projects.operations.delete",path:"/"+this.j+"/"+a,m:H(b,c),G:Bf})};
|
|
h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return I(this.h,{body:null,s:"GET",D:"earthengine.projects.operations.get",path:"/"+this.j+"/"+a,m:H(b,c),G:pg})};h.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:null,s:"GET",D:"earthengine.projects.operations.list",path:"/"+this.j+"/"+a+"/operations",m:H(b,c),G:og})};
|
|
h.wait=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.operations.wait",path:"/"+this.j+"/"+a+":wait",m:H(c,d),G:pg})};var Og=function(a){this.j="v1alpha";this.h=new me(a,null)};
|
|
Og.prototype.mb=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.table.export",path:"/"+this.j+"/"+a+"/table:export",m:H(c,d),G:pg})};Og.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.table.import",path:"/"+this.j+"/"+a+"/table:import",m:H(c,d),G:pg})};
|
|
var Pg=function(a){this.j="v1alpha";this.h=new me(a,null)};Pg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.tables.create",path:"/"+this.j+"/"+a+"/tables",m:H(c,d),G:yg})};var Qg=function(a){this.j="v1alpha";this.h=new me(a,null)};
|
|
Qg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.thumbnails.create",path:"/"+this.j+"/"+a+"/thumbnails",m:H(c,d),G:Ag})};
|
|
var Rg=function(a){this.j="v1alpha";this.h=new me(a,null)},Sg=function(a,b,c){var d=void 0===d?{}:d;var e=void 0===e?{}:e;a.h.A(b,/^projects\/[^/]+$/);return I(a.h,{body:c,s:"POST",D:"earthengine.projects.value.compute",path:"/"+a.j+"/"+b+"/value:compute",m:H(d,e),G:jf})},Tg=function(a){this.j="v1alpha";this.h=new me(a,null)};
|
|
Tg.prototype.mb=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.video.export",path:"/"+this.j+"/"+a+"/video:export",m:H(c,d),G:pg})};var Ug=function(a){this.j="v1alpha";this.h=new me(a,null)};
|
|
Ug.prototype.mb=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.videoMap.export",path:"/"+this.j+"/"+a+"/videoMap:export",m:H(c,d),G:pg})};var Vg=function(a){this.j="v1alpha";this.h=new me(a,null)};
|
|
Vg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.h.A(a,/^projects\/[^/]+$/);return I(this.h,{body:b,s:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.j+"/"+a+"/videoThumbnails",m:H(c,d),G:Eg})};var Wg=function(){};Wg.prototype.send=function(a,b){he(a);return(void 0).then(function(c){return b?Gd(b,c):c})};var Xg=function(a,b){this.bk=100;this.Rj=a;this.mk=b;this.Ud=0;this.ma=null};Xg.prototype.get=function(){if(0<this.Ud){this.Ud--;var a=this.ma;this.ma=a.next;a.next=null}else a=this.Rj();return a};Xg.prototype.put=function(a){this.mk(a);this.Ud<this.bk&&(this.Ud++,a.next=this.ma,this.ma=a)};var Yg=!oc||9<=Number(Bc);var Zg=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};h=Zg.prototype;h.clone=function(){return new Zg(this.x,this.y)};h.toString=function(){return"("+this.x+", "+this.y+")"};h.equals=function(a){return a instanceof Zg&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
|
|
h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};h.translate=function(a,b){a instanceof Zg?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};h.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var $g=function(a,b){this.width=a;this.height=b};h=$g.prototype;h.clone=function(){return new $g(this.width,this.height)};h.toString=function(){return"("+this.width+" x "+this.height+")"};h.aspectRatio=function(){return this.width/this.height};h.isEmpty=function(){return!(this.width*this.height)};h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
|
|
h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};h.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var bh=function(a,b){yb(b,function(c,d){c&&"object"==typeof c&&c.sf&&(c=c.mf());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:ah.hasOwnProperty(d)?a.setAttribute(ah[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},ah={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",
|
|
width:"width"},dh=function(a,b,c){return ch(document,arguments)},ch=function(a,b){var c=String(b[0]),d=b[1];if(!Yg&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',ic(d.name),'"');if(d.type){c.push(' type="',ic(d.type),'"');var e={};Nb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=eh(a,c);d&&("string"===typeof d?c.className=d:Array.isArray(d)?c.className=d.join(" "):bh(c,d));2<b.length&&fh(a,c,b,2);return c},fh=function(a,b,c,d){function e(l){l&&b.appendChild("string"===typeof l?a.createTextNode(l):
|
|
l)}for(;d<c.length;d++){var f=c[d];if(!ya(f)||u(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(u(f)){var g="function"==typeof f.item||"string"==typeof f.item;break a}if("function"===typeof f){g="function"==typeof f.item;break a}}g=!1}Ta(g?fb(f):f,e)}}},eh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},gh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},hh=function(a){for(;a&&1!=a.nodeType;)a=
|
|
a.nextSibling;return a},ih=function(a){A(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},jh=function(a){this.Cd=a||r.document||document};h=jh.prototype;h.getElementsByTagName=function(a,b){return(b||this.Cd).getElementsByTagName(String(a))};h.Qj=function(a,b,c){return ch(this.Cd,arguments)};h.createElement=function(a){return eh(this.Cd,a)};h.createTextNode=function(a){return this.Cd.createTextNode(String(a))};
|
|
h.appendChild=function(a,b){A(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};h.append=function(a,b){fh(ih(a),a,arguments,1)};h.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
|
|
h.removeNode=gh;h.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var kh=function(a){r.setTimeout(function(){throw a;},0)},lh,mh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!xb("Presto")&&(a=function(){var e=eh(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=v(function(n){if(("*"==
|
|
l||n.origin==l)&&n.data==g)this.port1.onmessage()},this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,l)}}});if("undefined"!==typeof a&&!xb("Trident")&&!xb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Dg;c.Dg=null;e()}};return function(e){d.next={Dg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};var nh=function(){this.pe=this.jc=null},ph=new Xg(function(){return new oh},function(a){a.reset()});nh.prototype.add=function(a,b){var c=ph.get();c.set(a,b);this.pe?this.pe.next=c:(A(!this.jc),this.jc=c);this.pe=c};nh.prototype.remove=function(){var a=null;this.jc&&(a=this.jc,this.jc=this.jc.next,this.jc||(this.pe=null),a.next=null);return a};var oh=function(){this.next=this.scope=this.gf=null};oh.prototype.set=function(a,b){this.gf=a;this.scope=b;this.next=null};
|
|
oh.prototype.reset=function(){this.next=this.scope=this.gf=null};var uh=function(a,b){qh||rh();sh||(qh(),sh=!0);th.add(a,b)},qh,rh=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);qh=function(){a.then(vh)}}else qh=function(){var b=vh;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&!xb("Edge")&&r.Window.prototype.setImmediate==r.setImmediate?(lh||(lh=mh()),lh(b)):r.setImmediate(b)}},sh=!1,th=new nh,vh=function(){for(var a;a=th.remove();){try{a.gf.call(a.scope)}catch(b){kh(b)}ph.put(a)}sh=!1};var wh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var zh=function(a){this.T=0;this.ga=void 0;this.pc=this.jb=this.$=null;this.Kd=this.df=!1;if(a!=wa)try{var b=this;a.call(void 0,function(c){xh(b,2,c)},function(c){if(!(c instanceof yh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}xh(b,3,c)})}catch(c){xh(this,3,c)}},Ah=function(){this.next=this.context=this.xc=this.$b=this.Rb=null;this.ud=!1};Ah.prototype.reset=function(){this.context=this.xc=this.$b=this.Rb=null;this.ud=!1};
|
|
var Bh=new Xg(function(){return new Ah},function(a){a.reset()}),Ch=function(a,b,c){var d=Bh.get();d.$b=a;d.xc=b;d.context=c;return d};zh.prototype.then=function(a,b,c){null!=a&&Pa(a,"opt_onFulfilled should be a function.");null!=b&&Pa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Dh(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};zh.prototype.$goog_Thenable=!0;
|
|
zh.prototype.cancel=function(a){if(0==this.T){var b=new yh(a);uh(function(){Eh(this,b)},this)}};
|
|
var Eh=function(a,b){if(0==a.T)if(a.$){var c=a.$;if(c.jb){for(var d=0,e=null,f=null,g=c.jb;g&&(g.ud||(d++,g.Rb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.T&&1==d?Eh(c,b):(f?(d=f,A(c.jb),A(null!=d),d.next==c.pc&&(c.pc=d),d.next=d.next.next):Fh(c),Gh(c,e,3,b)))}a.$=null}else xh(a,3,b)},Ih=function(a,b){a.jb||2!=a.T&&3!=a.T||Hh(a);A(null!=b.$b);a.pc?a.pc.next=b:a.jb=b;a.pc=b},Dh=function(a,b,c,d){var e=Ch(null,null,null);e.Rb=new zh(function(f,g){e.$b=b?function(l){try{var n=b.call(d,l);f(n)}catch(p){g(p)}}:
|
|
f;e.xc=c?function(l){try{var n=c.call(d,l);void 0===n&&l instanceof yh?g(l):f(n)}catch(p){g(p)}}:g});e.Rb.$=a;Ih(a,e);return e.Rb};zh.prototype.xk=function(a){A(1==this.T);this.T=0;xh(this,2,a)};zh.prototype.yk=function(a){A(1==this.T);this.T=0;xh(this,3,a)};
|
|
var xh=function(a,b,c){if(0==a.T){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.T=1;a:{var d=c,e=a.xk,f=a.yk;if(d instanceof zh){null!=e&&Pa(e,"opt_onFulfilled should be a function.");null!=f&&Pa(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Ih(d,Ch(e||wa,f||null,a));var g=!0}else if(wh(d))d.then(e,f,a),g=!0;else{if(u(d))try{var l=d.then;if("function"===typeof l){Jh(d,l,e,f,a);g=!0;break a}}catch(n){f.call(a,n);
|
|
g=!0;break a}g=!1}}g||(a.ga=c,a.T=b,a.$=null,Hh(a),3!=b||c instanceof yh||Kh(a,c))}},Jh=function(a,b,c,d,e){var f=!1,g=function(n){f||(f=!0,c.call(e,n))},l=function(n){f||(f=!0,d.call(e,n))};try{b.call(a,g,l)}catch(n){l(n)}},Hh=function(a){a.df||(a.df=!0,uh(a.Uj,a))},Fh=function(a){var b=null;a.jb&&(b=a.jb,a.jb=b.next,b.next=null);a.jb||(a.pc=null);null!=b&&A(null!=b.$b);return b};zh.prototype.Uj=function(){for(var a;a=Fh(this);)Gh(this,a,this.T,this.ga);this.df=!1};
|
|
var Gh=function(a,b,c,d){if(3==c&&b.xc&&!b.ud)for(;a&&a.Kd;a=a.$)a.Kd=!1;if(b.Rb)b.Rb.$=null,Lh(b,c,d);else try{b.ud?b.$b.call(b.context):Lh(b,c,d)}catch(e){Mh.call(null,e)}Bh.put(b)},Lh=function(a,b,c){2==b?a.$b.call(a.context,c):a.xc&&a.xc.call(a.context,c)},Kh=function(a,b){a.Kd=!0;uh(function(){a.Kd&&Mh.call(null,b)})},Mh=kh,yh=function(a){Ia.call(this,a)};x(yh,Ia);yh.prototype.name="cancel";var Nh=function(a,b){B.call(this);this.Ab=a||1;this.od=b||r;this.yg=v(this.wk,this);this.yh=Date.now()};x(Nh,B);h=Nh.prototype;h.enabled=!1;h.W=null;h.setInterval=function(a){this.Ab=a;this.W&&this.enabled?(this.stop(),this.start()):this.W&&this.stop()};h.wk=function(){if(this.enabled){var a=Date.now()-this.yh;0<a&&a<.8*this.Ab?this.W=this.od.setTimeout(this.yg,this.Ab-a):(this.W&&(this.od.clearTimeout(this.W),this.W=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
|
|
h.start=function(){this.enabled=!0;this.W||(this.W=this.od.setTimeout(this.yg,this.Ab),this.yh=Date.now())};h.stop=function(){this.enabled=!1;this.W&&(this.od.clearTimeout(this.W),this.W=null)};h.u=function(){Nh.I.u.call(this);this.stop();delete this.od};var Oh=function(a,b,c){if("function"===typeof a)c&&(a=v(a,c));else if(a&&"function"==typeof a.handleEvent)a=v(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:r.setTimeout(a,b||0)};var Ph=function(a,b,c){y.call(this);this.dd=null!=c?a.bind(c):a;this.Ab=b;this.vd=null;this.Ec=!1;this.hd=0;this.W=null};q(Ph,y);h=Ph.prototype;h.Gd=function(a){this.vd=arguments;this.W||this.hd?this.Ec=!0:this.sc()};h.stop=function(){this.W&&(r.clearTimeout(this.W),this.W=null,this.Ec=!1,this.vd=null)};h.pause=function(){this.hd++};h.resume=function(){this.hd--;this.hd||!this.Ec||this.W||(this.Ec=!1,this.sc())};h.u=function(){y.prototype.u.call(this);this.stop()};
|
|
h.sc=function(){var a=this;this.W=Oh(function(){a.W=null;a.Ec&&!a.hd&&(a.Ec=!1,a.sc())},this.Ab);var b=this.vd;this.vd=null;this.dd.apply(null,b)};/*
|
|
Portions of this code are from MochiKit, received by
|
|
The Closure Authors under the MIT license. All other code is Copyright
|
|
2005-2009 The Closure Authors. All Rights Reserved.
|
|
*/
|
|
var Rh=function(a){var b=Qh;this.$d=[];this.Jh=b;this.Tg=a||null;this.Xc=this.uc=!1;this.ga=void 0;this.Zf=this.wg=this.Oe=!1;this.ke=0;this.$=null;this.Pe=0};Rh.prototype.cancel=function(a){if(this.uc)this.ga instanceof Rh&&this.ga.cancel();else{if(this.$){var b=this.$;delete this.$;a?b.cancel(a):(b.Pe--,0>=b.Pe&&b.cancel())}this.Jh?this.Jh.call(this.Tg,this):this.Zf=!0;this.uc||Sh(this,new Th(this))}};Rh.prototype.Ig=function(a,b){this.Oe=!1;Uh(this,a,b)};
|
|
var Uh=function(a,b,c){a.uc=!0;a.ga=c;a.Xc=!b;Vh(a)},Xh=function(a){if(a.uc){if(!a.Zf)throw new Wh(a);a.Zf=!1}};Rh.prototype.callback=function(a){Xh(this);Yh(a);Uh(this,!0,a)};var Sh=function(a,b){Xh(a);Yh(b);Uh(a,!1,b)},Yh=function(a){A(!(a instanceof Rh),"An execution sequence may not be initiated with a blocking Deferred.")},Zh=function(a,b,c){A(!a.wg,"Blocking Deferreds can not be re-used");a.$d.push([b,c,void 0]);a.uc&&Vh(a)};
|
|
Rh.prototype.then=function(a,b,c){var d,e,f=new zh(function(g,l){d=g;e=l});Zh(this,d,function(g){g instanceof Th?f.cancel():e(g)});return f.then(a,b,c)};Rh.prototype.$goog_Thenable=!0;
|
|
var $h=function(a){return Wa(a.$d,function(b){return"function"===typeof b[1]})},Vh=function(a){if(a.ke&&a.uc&&$h(a)){var b=a.ke,c=ai[b];c&&(r.clearTimeout(c.R),delete ai[b]);a.ke=0}a.$&&(a.$.Pe--,delete a.$);b=a.ga;for(var d=c=!1;a.$d.length&&!a.Oe;){var e=a.$d.shift(),f=e[0],g=e[1];e=e[2];if(f=a.Xc?g:f)try{var l=f.call(e||a.Tg,b);void 0!==l&&(a.Xc=a.Xc&&(l==b||l instanceof Error),a.ga=b=l);if(wh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Oe=!0}catch(n){b=n,a.Xc=!0,$h(a)||(c=
|
|
!0)}}a.ga=b;d&&(l=v(a.Ig,a,!0),d=v(a.Ig,a,!1),b instanceof Rh?(Zh(b,l,d),b.wg=!0):b.then(l,d));c&&(b=new bi(b),ai[b.R]=b,a.ke=b.R)},Wh=function(){Ia.call(this)};x(Wh,Ia);Wh.prototype.message="Deferred has already fired";Wh.prototype.name="AlreadyCalledError";var Th=function(){Ia.call(this)};x(Th,Ia);Th.prototype.message="Deferred was canceled";Th.prototype.name="CanceledError";var bi=function(a){this.R=r.setTimeout(v(this.vk,this),0);this.Fd=a};
|
|
bi.prototype.vk=function(){A(ai[this.R],"Cannot throw an error that is not scheduled.");delete ai[this.R];throw this.Fd;};var ai={};var fi=function(a){var b={},c=b.document||document,d=Wb(a).toString(),e=eh(document,"SCRIPT"),f={$h:e,nd:void 0},g=new Rh(f),l=null,n=null!=b.timeout?b.timeout:5E3;0<n&&(l=window.setTimeout(function(){ci(e,!0);Sh(g,new di(1,"Timeout reached for loading script "+d))},n),f.nd=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(ci(e,b.Fk||!1,l),g.callback(null))};e.onerror=function(){ci(e,!0,l);Sh(g,new di(0,"Error while loading script "+d))};
|
|
f=b.attributes||{};Nb(f,{type:"text/javascript",charset:"UTF-8"});bh(e,f);gc(e,a);ei(c).appendChild(e)},ei=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},Qh=function(){if(this&&this.$h){var a=this.$h;a&&"SCRIPT"==a.tagName&&ci(a,!0,this.nd)}},ci=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=wa;a.onerror=wa;a.onreadystatechange=wa;b&&window.setTimeout(function(){gh(a)},0)},di=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=
|
|
": "+b);Ia.call(this,c);this.code=a};x(di,Ia);var gi=function(){this.Yd=void 0};gi.prototype.va=function(a){var b=[];hi(this,a,b);return b.join("")};
|
|
var hi=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],hi(a,a.Yd?a.Yd.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),ii(d,c),c.push(":"),hi(a,a.Yd?a.Yd.call(b,d,e):e,c),f=","));c.push("}");
|
|
return}}switch(typeof b){case "string":ii(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},ji={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},ki=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,ii=function(a,b){b.push('"',a.replace(ki,function(c){var d=ji[c];
|
|
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),ji[c]=d);return d}),'"')};var li=function(a,b){this.name=a;this.value=b};li.prototype.toString=function(){return this.name};var mi=new li("OFF",Infinity),ni=new li("SEVERE",1E3),oi=new li("CONFIG",700),pi=new li("FINE",500),qi=function(){this.Ad=0;this.clear()},ri;qi.prototype.clear=function(){this.tb=Array(this.Ad);this.Pg=-1;this.th=!1};var si=function(a,b,c){this.reset(a||mi,b,c,void 0,void 0)};si.prototype.reset=function(){};
|
|
var ti=function(a,b){this.level=null;this.Yj=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.dk={kf:function(){return a}}},ui=function(a){if(a.level)return a.level;if(a.parent)return ui(a.parent);Ma("Root logger has no level set.");return mi},vi=function(a,b){for(;a;)a.Yj.forEach(function(c){c(b)}),a=a.parent},wi=function(){this.entries={};var a=new ti("");a.level=oi;this.entries[""]=a},xi,yi=function(a,b,c){var d=a.entries[b];if(d)return void 0!==c&&(d.level=c),d;d=yi(a,b.substr(0,
|
|
b.lastIndexOf(".")));var e=new ti(b,d);a.entries[b]=e;d.children.push(e);void 0!==c&&(e.level=c);return e},zi=function(){xi||(xi=new wi);return xi},Ai=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?ui(yi(zi(),a.kf())):mi;d=d>=e.value}if(d){b=b||mi;d=yi(zi(),a.kf());"function"===typeof c&&(c=c());ri||(ri=new qi);e=ri;a=a.kf();if(0<e.Ad){var f=(e.Pg+1)%e.Ad;e.Pg=f;e.th?(e=e.tb[f],e.reset(b,c,a),a=e):(e.th=f==e.Ad-1,a=e.tb[f]=new si(b,c,a))}else a=new si(b,c,a);vi(d,a)}},Bi=function(a,b){a&&
|
|
Ai(a,pi,b)};var Ci=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Di=function(){};Di.prototype.Bg=null;var Gi=function(a){var b;(b=a.Bg)||(b={},Ei(a)&&(b[0]=!0,b[1]=!0),b=a.Bg=b);return b};var Hi,Ii=function(){};x(Ii,Di);var Ji=function(a){return(a=Ei(a))?new ActiveXObject(a):new XMLHttpRequest},Ei=function(a){if(!a.oh&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.oh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.oh};Hi=new Ii;var Ki=function(a){B.call(this);this.headers=new ld;this.re=a||null;this.Ea=!1;this.qe=this.l=null;this.$c=this.xh=this.Rd="";this.Vb=this.tf=this.Od=this.bf=!1;this.Gc=0;this.ge=null;this.Cc="";this.me=this.kk=this.si=!1};x(Ki,B);Ki.prototype.qa=yi(zi(),"goog.net.XhrIo",void 0).dk;var Li=/^https?$/i,Mi=["POST","PUT"],Ni=[];Ki.prototype.Pj=function(){this.Sa();cb(Ni,this)};
|
|
Ki.prototype.send=function(a,b,c,d){if(this.l)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Rd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Rd=a;this.$c="";this.xh=b;this.bf=!1;this.Ea=!0;this.l=this.re?Ji(this.re):Ji(Hi);this.qe=this.re?Gi(this.re):Gi(Hi);this.l.onreadystatechange=v(this.Mh,this);this.kk&&"onprogress"in this.l&&(this.l.onprogress=v(function(f){this.Lh(f,!0)},this),this.l.upload&&(this.l.upload.onprogress=v(this.Lh,this)));try{Bi(this.qa,Oi(this,"Opening Xhr")),
|
|
this.tf=!0,this.l.open(b,String(a),!0),this.tf=!1}catch(f){Bi(this.qa,Oi(this,"Error opening Xhr: "+f.message));this.Fd(5,f);return}a=c||"";var e=this.headers.clone();d&&sd(d,function(f,g){e.set(g,f)});d=Za(e.Ka());c=r.FormData&&a instanceof r.FormData;!ab(Mi,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.l.setRequestHeader(g,f)},this);this.Cc&&(this.l.responseType=this.Cc);"withCredentials"in this.l&&this.l.withCredentials!==this.si&&
|
|
(this.l.withCredentials=this.si);try{Pi(this),0<this.Gc&&(this.me=Qi(this.l),Bi(this.qa,Oi(this,"Will abort after "+this.Gc+"ms if incomplete, xhr2 "+this.me)),this.me?(this.l.timeout=this.Gc,this.l.ontimeout=v(this.nd,this)):this.ge=Oh(this.nd,this.Gc,this)),Bi(this.qa,Oi(this,"Sending request")),this.Od=!0,this.l.send(a),this.Od=!1}catch(f){Bi(this.qa,Oi(this,"Send error: "+f.message)),this.Fd(5,f)}};
|
|
var Qi=function(a){return oc&&yc(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},$a=function(a){return"content-type"==a.toLowerCase()};Ki.prototype.nd=function(){"undefined"!=typeof sa&&this.l&&(this.$c="Timed out after "+this.Gc+"ms, aborting",Bi(this.qa,Oi(this,this.$c)),this.dispatchEvent("timeout"),this.abort(8))};Ki.prototype.Fd=function(a,b){this.Ea=!1;this.l&&(this.Vb=!0,this.l.abort(),this.Vb=!1);this.$c=b;Ri(this);Si(this)};
|
|
var Ri=function(a){a.bf||(a.bf=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Ki.prototype.abort=function(){this.l&&this.Ea&&(Bi(this.qa,Oi(this,"Aborting")),this.Ea=!1,this.Vb=!0,this.l.abort(),this.Vb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Si(this))};Ki.prototype.u=function(){this.l&&(this.Ea&&(this.Ea=!1,this.Vb=!0,this.l.abort(),this.Vb=!1),Si(this,!0));Ki.I.u.call(this)};Ki.prototype.Mh=function(){this.Ta||(this.tf||this.Od||this.Vb?Ti(this):this.jk())};
|
|
Ki.prototype.jk=function(){Ti(this)};
|
|
var Ti=function(a){if(a.Ea&&"undefined"!=typeof sa)if(a.qe[1]&&4==a.yb()&&2==a.getStatus())Bi(a.qa,Oi(a,"Local request error detected and ignored"));else if(a.Od&&4==a.yb())Oh(a.Mh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.yb()){Bi(a.qa,Oi(a,"Request complete"));a.Ea=!1;try{var b=a.getStatus(),c;if(!(c=Ci(b))){var d;if(d=0===b){var e=String(a.Rd).match(Od)[1]||null;if(!e&&r.self&&r.self.location){var f=r.self.location.protocol;e=f.substr(0,f.length-1)}d=!Li.test(e?e.toLowerCase():"")}c=
|
|
d}if(c)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var g=2<a.yb()?a.l.statusText:""}catch(l){Bi(a.qa,"Can not get status: "+l.message),g=""}a.$c=g+" ["+a.getStatus()+"]";Ri(a)}}finally{Si(a)}}};Ki.prototype.Lh=function(a,b){A("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Ui(a,"progress"));this.dispatchEvent(Ui(a,b?"downloadprogress":"uploadprogress"))};
|
|
var Ui=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Si=function(a,b){if(a.l){Pi(a);var c=a.l,d=a.qe[0]?wa:null;a.l=null;a.qe=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.qa)&&Ai(a,ni,"Problem encountered resetting onreadystatechange: "+e.message)}}},Pi=function(a){a.l&&a.me&&(a.l.ontimeout=null);a.ge&&(r.clearTimeout(a.ge),a.ge=null)};Ki.prototype.Pd=function(){return!!this.l};
|
|
Ki.prototype.yb=function(){return this.l?this.l.readyState:0};Ki.prototype.getStatus=function(){try{return 2<this.yb()?this.l.status:-1}catch(a){return-1}};
|
|
var Vi=function(a){try{if(!a.l)return null;if("response"in a.l)return a.l.response;switch(a.Cc){case "":case "text":return a.l.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.l)return a.l.mozResponseArrayBuffer}var b=a.qa;b&&Ai(b,ni,"Response type "+a.Cc+" is not supported on this browser");return null}catch(c){return Bi(a.qa,"Can not get response: "+c.message),null}};
|
|
Ki.prototype.getResponseHeader=function(a){if(this.l&&4==this.yb())return a=this.l.getResponseHeader(a),null===a?void 0:a};Ki.prototype.getAllResponseHeaders=function(){return this.l&&4==this.yb()?this.l.getAllResponseHeaders()||"":""};
|
|
var Wi=function(a){var b={};a=a.getAllResponseHeaders().split("\r\n");for(var c=0;c<a.length;c++)if(!/^[\s\xa0]*$/.test(a[c])){var d=jc(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}return Ab(b,function(g){return g.join(", ")})},Oi=function(a,b){return b+" ["+a.xh+" "+a.Rd+" "+a.getStatus()+"]"};var Xi,J=function(a,b){Yi();this.callback=a;this.P=new Zi(!a,b)},K=function(a,b){b instanceof Promise?a.callback&&b.then(function(c){return a.callback(c)}).catch(function(c){return a.callback(void 0,c)}):b.then(function(c){b=c});return b},$i=function(){return"projects/"+Xi};h=J.prototype;h.Kc=function(){return new Fg(this.P)};h.assets=function(){return new Hg(this.P)};h.La=function(){return new Ng(this.P)};h.value=function(){return new Rg(this.P)};h.maps=function(){return new Mg(this.P)};h.map=function(){return new Lg(this.P)};
|
|
h.image=function(){return new Kg(this.P)};h.table=function(){return new Og(this.P)};h.video=function(){return new Tg(this.P)};var Zi=function(a,b){this.sync=a=void 0===a?!1:a;this.Xh=null!=b?b:a?5:10};q(Zi,Wg);
|
|
Zi.prototype.send=function(a,b){var c=this;he(a);var d=a.path||"",e=aj()+d,f=bj(a.m||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=cj(e,f,void 0,a.s,g,this.Xh);d=b?Gd(b,d):d;var l=function(n){return{then:function(p){return l(p(n))}}};return l(d)}return(new Promise(function(n,p){cj(e,f,function(t,C){C?p(C):n(t)},a.s,g,c.Xh)})).then(function(n){return b?Gd(b,n):n})};var ej=function(a){J.call(this,a);this.P=new dj};q(ej,J);
|
|
ej.prototype.send=function(a,b){var c=this,d=aj()+"/batch",e=a.map(function(g){var l=m(g);g=l.next().value;l=m(l.next().value);var n=l.next().value;l.next();return"--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <"+g+">\r\n\r\n"+n+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",f=function(g){var l={};a.forEach(function(n){var p=m(n);n=p.next().value;p=m(p.next().value);p.next();p=p.next().value;null!=g[n]&&(l[n]=
|
|
Gd(p,g[n]))});return b?b(l):l};return this.callback?(cj(d,null,function(g,l){return c.callback(l?g:f(g),l)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(cj(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var dj=function(){};q(dj,Wg);
|
|
dj.prototype.send=function(a,b){var c=[a.s+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=fj();null!=d&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
var gj=function(a,b,c){a=m(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},aj=function(){var a=hj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},nj=function(a,b,c){ij&&jj&&ij({client_id:String(jj),
|
|
immediate:!0,scope:kj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{lj(function(){try{r.gapi.auth.setToken(d),mj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else mj(a,b,d)})},fj=function(){oj&&0<=Date.now()-oj&&pj();return qj},pj=function(){oj=qj=null},Yi=function(a,b,c){null!=a?hj=a:rj||(hj="https://earthengine.googleapis.com/api");null!=b?sj=b:rj||(sj="https://earthengine.googleapis.com");void 0!==c&&(tj=c);Xi=Xi||"earthengine-legacy";rj=!0},
|
|
cj=function(a,b,c,d,e,f){Yi();var g=uj,l="application/x-www-form-urlencoded";e&&(l="application/json",d&&d.startsWith("multipart")&&(l=d,d="POST"));d=d||"POST";l={"Content-Type":l};var n="0.1.243";"0.1.243"===n&&(n="latest");l["x-goog-api-client"]="ee-js/"+n;n=fj();if(null!=n)l.Authorization=n;else if(c&&ij&&jj)return nj(function(){vj(g,function(){cj(a,b,c,d)})}),null;b=b?b.clone():new Wd;null!=wj&&b.add("key",wj);g&&(l["X-Earth-Engine-Computation-Profile"]="1");Xi&&"earthengine-legacy"!==Xi&&(l["X-Goog-User-Project"]=
|
|
Xi);b=xj(b,a);null!=tj&&(l["X-XSRF-Token"]=tj);null!=yj&&(l["X-Earth-Engine-App-ID-Token"]=yj);n=e||null;var p=b?b.toString():"";"POST"===d&&void 0===e?n=p:/^[\s\xa0]*$/.test(p)||(a+=-1!=a.indexOf("?")?"&":"?",a+=p);e=a.startsWith("/")?hj+a:a;if(c)return zj.push(Aj(e,c,d,n,l,f)),Bj.Gd(),null;p=function(D,ca){this.setRequestHeader&&this.setRequestHeader(ca,D)};var t=0;for(f=null!=f?f:5;;){var C=Ji(Hi);C.open(d,e,!1);yb(l,p,C);C.send(n);if(429!=C.status||t>f)break;t++}return Cj(C.status,function(D){try{return C.getResponseHeader(D)}catch(ca){return null}},
|
|
C.responseText,g,void 0,e,d)},Aj=function(a,b,c,d,e,f){var g=0,l={url:a,method:c,content:d,headers:e},n=uj,p=null!=f?f:10;l.callback=function(t){t=t.target;if(429==t.getStatus()&&g<p)return g++,setTimeout(function(){zj.push(l);Bj.Gd()},Math.min(12E4,1E3*Math.pow(2,g))),null;var C=Cj,D=t.getStatus(),ca=v(t.getResponseHeader,t);try{var Y=t.l?t.l.responseText:""}catch(V){Bi(t.qa,"Can not get responseText: "+V.message),Y=""}return C(D,ca,Y,n,b,a,c)};return l},vj=function(a,b){var c=uj;try{uj=a,b.call(void 0)}finally{uj=
|
|
c}},Cj=function(a,b,c,d,e,f,g){var l=d?b("X-Earth-Engine-Computation-Profile"):"";l&&d&&d(l);var n=function(Y){try{var V=JSON.parse(Y);return u(V)&&"error"in V&&"message"in V.error?V.error.message:{parsed:V}}catch(Bb){return"Invalid JSON: "+Y}},p=function(Y){if(0===Y)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>Y||300<=Y)return"Server returned HTTP code: "+Y+" for "+g+" "+f},t;b=b("Content-Type")||"application/json";
|
|
d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=n(c),b.parsed){var C=b.parsed;void 0===C&&(t="Malformed response: "+c)}else t=b;else if("multipart/mixed"===d){C={};var D=[];gj(b,c,function(Y,V,Bb){Bb=n(Bb);Bb.parsed&&(C[Y]=Bb.parsed);(V=(Bb.parsed?"":Bb)||p(V))&&D.push(Y+": "+V)});D.length&&(t=D.join("\n"))}else var ca="Response was unexpectedly not JSON, but "+d;t=t||p(a)||ca;if(e)return e(C,t),null;if(!t)return C;throw Error(t);},lj=function(a){var b=function(){r.gapi.config.update("client/cors",
|
|
!0);ij||(ij=r.gapi.auth.authorize);a()};if(u(r.gapi)&&u(r.gapi.auth)&&"function"===typeof r.gapi.auth.authorize)b();else{for(var c=Date.now().toString(36);c in r;)c+="_";r[c]=function(){delete r[c];b()};fi(ac({onload:c}))}},mj=function(a,b,c){if(c.access_token){b=c.token_type+" "+c.access_token;if(c.expires_in||0===c.expires_in){c=900*c.expires_in;var d=setTimeout(nj,.9*c);void 0!==d.unref&&d.unref();oj=Date.now()+c}qj=b;a&&a()}else b&&b(c.error||"Unknown error.")},bj=function(a){var b=new Wd;a=m(Object.entries(a));
|
|
for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},zj=[],Bj=new Ph(function(){var a=zj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=Dj,g=new Ki;Ni.push(g);c&&g.Ya("complete",c);g.cd("ready",g.Pj);f&&(g.Gc=Math.max(0,f));g.send(b,d,e,a)}0==zj.length||Bj.Gd()},350),hj=null,sj=null,tj=null,yj=null,xj=Ob,qj=null,oj=null,jj=null,kj=[],ij=null,Xb=new Sb(Qb,"https://apis.google.com/js/client.js?onload=%{onload}"),
|
|
wj=null,rj=!1,Dj=0,uj=null;w("ee.api.ListAssetsResponse",mg);w("ee.api.EarthEngineAsset",sf);w("ee.api.ListImagesResponse",ng);w("ee.api.Image",Yf);w("ee.api.Operation",pg);var Ej=function(){},Fj=function(a){if(void 0===a||null===a)a=Bd;return new We({kb:a})},Gj=function(a){return new We({Pa:a})},Hj=function(a){return new We({Fa:new Ve({values:a})})},Ij=function(a){return new We({Ga:new pf({values:a})})},Jj=function(a,b){return new We({ya:new Rf({functionName:a,arguments:b})})},Kj=function(a,b){return new We({ya:new Rf({Wa:a,arguments:b})})},Lj=function(a,b){return new We({Va:new Qf({mc:a,body:b})})},Mj=function(a){if(!a)return"AUTO_JPEG_PNG";a=a.toUpperCase();switch(a){case "JPG":return"JPEG";
|
|
case "AUTO":return"AUTO_JPEG_PNG";case "TIF":case "TIFF":case "GEOTIF":case "GEOTIFF":return"GEO_TIFF";case "TF_RECORD":case "TFRECORD":return"TF_RECORD_IMAGE";case "NUMPY":return"NPY";case "ZIPPED_TIF":case "ZIPPED_TIFF":case "ZIPPED_GEOTIF":case "ZIPPED_GEOTIFF":return"ZIPPED_GEO_TIFF";case "ZIPPED_TIF_PER_BAND":case "ZIPPED_TIFF_PER_BAND":case "ZIPPED_GEOTIF_PER_BAND":case "ZIPPED_GEOTIFF_PER_BAND":return"ZIPPED_GEO_TIFF_PER_BAND";default:return a}},Nj=function(a){if(!a)return"CSV";a=a.toUpperCase();
|
|
switch(a){case "TF_RECORD":case "TFRECORD":return"TF_RECORD_TABLE";case "JSON":case "GEOJSON":return"GEO_JSON";default:return a}},Oj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},Pj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Sj=function(a){var b=new Af,c=!1;"palette"in a&&(c=a.palette,b.gd="string"===
|
|
typeof c?c.split(","):c,c=!0);var d=[];if("gain"in a||"bias"in a){if("min"in a||"max"in a)throw Error("Gain and bias can't be specified with min and max");var e=b.gd?b.gd.length-1:255;d=Qj(a,"bias","gain").map(function(f){var g=-f.bias/f.gain;return{min:g,max:e/f.gain+g}})}else if("min"in a||"max"in a)d=Qj(a,"min","max");0!==d.length&&(b.Nf=d.map(function(f){return new qf(f)}),c=!0);a=Rj(a.gamma);if(1<a.length)throw Error("Only one gamma value is supported");1===a.length&&(b.gamma=a[0],c=!0);return c?
|
|
b:null},Rj=function(a){return a?a.split(",").map(Number):[]},Qj=function(a,b,c){var d=Rj(a[b]),e=Rj(a[c]);if(0===d.length)return e.map(function(f){var g={};return g[b]=0,g[c]=f,g});if(0===e.length)return d.map(function(f){var g={};return g[b]=f,g[c]=1,g});if(d.length!==e.length)throw Error("Length of "+b+" and "+c+" must match.");return d.map(function(f,g){var l={};return l[b]=f,l[c]=e[g],l})},Tj=function(a){var b=function(g){var l={};l.description=g.description||"";l.type=g.type||"";null!=g.wd&&
|
|
(l.name=g.wd);void 0!==g.defaultValue&&(l["default"]=g.defaultValue);null!=g.optional&&(l.optional=g.optional);return l},c=function(g){var l={};l.args=(g.arguments||[]).map(b);l.description=g.description||"";l.returns=g.Rf||"";null!=g.hidden&&(l.hidden=g.hidden);g.preview&&(l.preview=g.preview);g.deprecated&&(l.deprecated=g.Ze);g.sourceCodeUri&&(l.sourceCodeUri=g.sourceCodeUri);return l},d={};a=m(a.Kc||[]);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=e.name.replace(/^algorithms\//,"");d[f]=
|
|
c(e)}return d},Uj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,Vj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,Wj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,Xj=function(a){return(a=Uj.exec(a))?a[1]:"earthengine-legacy"},Yj=function(a){return Vj.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
a},ak=function(a){return(a.assets||[]).map(Zj)},ck=function(a){return(a.images||[]).map(bk)},dk=function(a){switch(a){case "ALGORITHM":return"Algorithm";case "FOLDER":return"Folder";case "IMAGE":return"Image";case "IMAGE_COLLECTION":return"ImageCollection";case "TABLE":return"Table";default:return"Unknown"}},Zj=function(a){var b=ek(dk(a.type),a.name),c=Object.assign({},a.properties||{});a.Da&&(c["system:asset_size"]=Number(a.Da));a.startTime&&(c["system:time_start"]=Date.parse(a.startTime));a.endTime&&
|
|
(c["system:time_end"]=Date.parse(a.endTime));a.geometry&&(c["system:footprint"]=a.geometry);"string"===typeof a.title&&(c["system:title"]=a.title);"string"===typeof a.description&&(c["system:description"]=a.description);a.Oa&&(b.version=1E3*Date.parse(a.Oa));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,crs:d.L.Ye,dimensions:void 0,crs_transform:void 0};if(d.L){if(null!=d.L.Pb){var f=d.L.Pb;e.crs_transform=[f.Sf||0,f.Xf||0,f.jg||0,f.Yf||0,f.Tf||0,f.kg||0]}null!=d.L.dimensions&&
|
|
(e.dimensions=[d.L.dimensions.width,d.L.dimensions.height])}d.dataType&&(f={type:"PixelType"},f.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.jd&&(f.min=d.dataType.jd.min||0,f.max=d.dataType.jd.max),e.data_type=f);return e}));return b},fk=function(a){var b=new sf,c=Object.assign({},a),d;a=function(e){d=c[e];delete c[e];return d};a("system:asset_size")&&(b.Da=String(d));a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&(b.endTime=(new Date(Number(d))).toISOString());
|
|
a("system:footprint")&&(b.geometry=d);"string"===typeof a("system:title")&&null==c.title&&(c.title=d);"string"===typeof a("system:description")&&null==c.description&&(c.description=d);b.properties=c;return b},bk=function(a){return ek("Image",a.name)},ek=function(a,b){var c={};c.type=a;null!=b&&(a=b.split("/"),b="projects"===a[0]&&"assets"===a[2]&&["earthengine-legacy","earthengine-public"].includes(a[1])?a.slice(3).join("/"):b,c.id=b);return c},hk=function(a){var b={};a.num&&(b.pageSize=a.num);a.starttime&&
|
|
(b.startTime=(new Date(a.starttime)).toISOString());a.endtime&&(b.endTime=(new Date(a.endtime)).toISOString());a.bbox&&(b.region=gk(a.bbox));a.region&&(b.region=a.region);a.bbox&&a.region&&console.warn("Multiple request parameters converted to region");var c="id num starttime endtime bbox region".split(" ");a=m(Object.keys(a).filter(function(e){return!c.includes(e)}));for(var d=a.next();!d.done;d=a.next())console.warn("Unrecognized key "+d.value+" ignored");b.fields="assets(type,path)";return b},
|
|
gk=function(a){return'{"type":"Polygon","coordinates":[[['+[[0,1],[2,1],[2,3],[0,3],[0,1]].map(function(b){return a[b[0]]+","+a[b[1]]}).join("],[")+"]]]}"},ik=function(a){var b={};(a.xd||[]).forEach(function(f){b[f.Dc]=f.Zb});var c=new Set,d=function(f){var g=f.replace(/^group:|^user:|^serviceAccount:/,"");f.startsWith("group:")&&c.add(g);return g};a=b["roles/viewer"]||[];var e=a.filter(function(f){return"allUsers"!==f});d={owners:(b["roles/owner"]||[]).map(d),writers:(b["roles/editor"]||[]).map(d),
|
|
readers:e.map(d)};0<c.size&&(d.groups=c);a.length!=e.length&&(d.all_users_can_read=!0);return d},jk=function(a){var b=function(d){return(a[d]||[]).map(function(e){var f="user:";a.groups&&a.groups.has(e)?f="group:":e.match(/[@|\.]gserviceaccount\.com$/)&&(f="serviceAccount:");return f+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{Dc:"roles/owner",Zb:b("owners")},{Dc:"roles/viewer",Zb:b("readers").concat(c)},{Dc:"roles/editor",Zb:b("writers")}].map(function(d){return new $e(d)});return new vg({xd:b.filter(function(d){return d.Zb.length}),
|
|
cf:null})},kk=function(a){return"projects/earthengine-legacy/operations/"+a},lk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},mk=function(a){var b={},c=function(f,g){null!=g&&(b[f]=Date.parse(g))},d=function(f){switch(f){case "PENDING":return"READY";case "RUNNING":return"RUNNING";case "CANCELLING":return"CANCEL_REQUESTED";case "SUCCEEDED":return"COMPLETED";case "CANCELLED":return"CANCELLED";case "FAILED":return"FAILED";default:return"UNKNOWN"}},e=Gd(tg,a.Ff||{});null!=e.description&&
|
|
(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.Xe);c("update_timestamp_ms",e.Oa);c("start_timestamp_ms",e.startTime);b.attempt=e.attempt;a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=lk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.$e;b.source_url=e.Uf;return b},nk=function(a){var b={started:"OK"};a.name&&(b.taskId=lk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},ok=function(a){return a.primaryPath?
|
|
[a.primaryPath].concat(ha(a.additionalPaths||[])):null},rk=function(a){var b=function(f){var g=Gd(hg,f);g.wa=ok(f);return g},c=Gd(cg,a);c.name=Yj(a.id);c.tilesets=(a.tilesets||[]).map(function(f){var g=Gd(fg,f);g.sources=(f.sources||[]).map(b);return g});c.bands=(a.bands||[]).map(function(f){var g=Gd(dg,f);g.missingData=pk(f.missingData);return g});c.missingData=pk(a.missingData);c.Bf=kb((a.tilesets||[]).map(qk));c.pyramidingPolicy=a.pyramidingPolicy||null;if(a.properties){var d=Object.assign({},
|
|
a.properties),e;a=function(f){e=d[f];delete d[f];return e};a("system:time_start")&&(c.startTime=(new Date(Number(e))).toISOString());a("system:time_end")&&(c.endTime=(new Date(Number(e))).toISOString());c.properties=d}return c},qk=function(a){var b=[];if(!Array.isArray(a.fileBands))return b;var c=function(d){var e=[];null!=d&&Array.isArray(d.bandId)&&(e=d.bandId.map(function(f){return f||""}));return new eg({Fc:a.id||"",ca:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=
|
|
d.maskForBands&&b.push(c(d.maskForBands))});return b},sk=function(a){var b=Gd(kg,a);b.name=Yj(a.id);b.sources=(a.sources||[]).map(function(e){var f=Gd(zg,e);f.wa=ok(e);e.maxError&&(f.Xb=e.maxError);return f});if(a.properties){var c=Object.assign({},a.properties),d;a=function(e){d=c[e];delete c[e];return d};a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&(b.endTime=(new Date(Number(d))).toISOString());b.properties=c}return b},pk=function(a){if(null==
|
|
a)return null;var b=new ag({values:[]});null!=a.value&&"number"===typeof a.value&&b.values.push(a.value);Array.isArray(a.values)&&a.values.map(function(c){"number"===typeof c&&b.values.push(c)});return 0==b.values.length?null:b};var tk=function(){this.sb=-1};var uk=function(){this.sb=64;this.Y=Array(4);this.Mj=Array(this.sb);this.je=this.Mc=0;this.reset()};x(uk,tk);uk.prototype.reset=function(){this.Y[0]=1732584193;this.Y[1]=4023233417;this.Y[2]=2562383102;this.Y[3]=271733878;this.je=this.Mc=0};
|
|
var vk=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.Y[0];c=a.Y[1];e=a.Y[2];var f=a.Y[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>
|
|
15);g=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|
|
|
g>>>20);g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<
|
|
5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
|
|
e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
|
|
e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|
|
|
g>>>21);g=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+
|
|
3873151461&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&
|
|
4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&
|
|
4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.Y[0]=a.Y[0]+b&4294967295;a.Y[1]=a.Y[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.Y[2]=a.Y[2]+e&4294967295;a.Y[3]=a.Y[3]+f&4294967295};
|
|
uk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.sb,d=this.Mj,e=this.Mc,f=0;f<b;){if(0==e)for(;f<=c;)vk(this,a,f),f+=this.sb;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.sb){vk(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.sb){vk(this,d);e=0;break}}this.Mc=e;this.je+=b};
|
|
uk.prototype.digest=function(){var a=Array((56>this.Mc?this.sb:2*this.sb)-this.Mc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.je;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.Y[b]>>>d&255;return a};var wk=function(a){this.sd="__ee_hash__";this.Qd=!1!==a;this.$a=[];this.xa={};this.lg=[];this.Md=new WeakMap};w("ee.Serializer",wk);var xk=new gi,yk=new uk,Ak=function(a,b){return zk(new wk(void 0!==b?b:!0),a)};w("ee.Serializer.encode",Ak);var Bk=function(a){return xk.va(Ak(a))};w("ee.Serializer.toJSON",Bk);var Dk=function(a){return Ck(Ak(a,!1))};w("ee.Serializer.toReadableJSON",Dk);
|
|
var Ck=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):xk.va(a)},zk=function(a,b){b=a.Ed(b);a.Qd&&(b=u(b)&&"ValueRef"==b.type&&1==a.$a.length?a.$a[0][1]:{type:"CompoundValue",scope:a.$a,value:b},a.$a=[],Ta(a.lg,v(function(c){delete c[this.sd]},a)),a.lg=[],a.xa={});return b};
|
|
wk.prototype.Ed=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=u(a)?a[this.sd]:null;if(this.Qd&&null!=b&&this.xa[b])return{type:"ValueRef",value:this.xa[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(za(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Ej){var c=a.encode(v(this.Ed,this));if(!(Array.isArray(c)||u(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
Va(a,function(e){return this.Ed(e)},this);else if(u(a)&&"function"!==typeof a)c=Ab(a,function(e){if("function"!==typeof e)return this.Ed(e)},this),Jb(c,this.sd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Qd){b=Ek(c);if(this.xa[b])var d=this.xa[b];else d=String(this.$a.length),this.$a.push([d,c]),this.xa[b]=d;a[this.sd]=b;this.lg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var Ek=function(a){yk.reset();yk.update(xk.va(a));return yk.digest().toString()},Gk=function(a){return Hd(Fk(a),Dd,Ed,Fd)};w("ee.Serializer.encodeCloudApi",Gk);
|
|
var Fk=function(a){return Hk(new wk(!0),a)},Ik=function(a){a=Hk(new wk(!1),a);var b=a.values,c=function(d){if(!u(d))return d;var e=Array.isArray(d)?[]:{},f=d instanceof Object.getPrototypeOf(We);d=m(Object.entries(f?d.a:d));for(var g=d.next();!g.done;g=d.next()){var l=m(g.value);g=l.next().value;l=l.next().value;f?null!==l&&(e[g]="functionDefinitionValue"===g&&null!=l.body?{argumentNames:l.mc,body:c(b[l.body])}:"functionInvocationValue"===g&&null!=l.Wa?{arguments:Ab(l.arguments,c),functionReference:c(b[l.Wa])}:
|
|
"constantValue"===g?l===Bd?null:l:c(l)):e[g]=c(l)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",Ik);var Jk=function(a){return xk.va(Gk(a))};w("ee.Serializer.toCloudApiJSON",Jk);var Kk=function(a){return Ck(Ik(a))};w("ee.Serializer.toReadableCloudApiJSON",Kk);
|
|
var Hk=function(a,b){try{var c=Lk(a,b),d=new Mk(c,a.$a,a.Qd),e=Nk(d,d.Zh);return new hf({result:e,values:d.Oh})}finally{a.Md=new WeakMap,a.xa={},a.$a=[]}},Lk=function(a,b){var c=function(e){var f=Ek(e);u(b)&&a.Md.set(b,f);if(a.xa[f])return a.xa[f];var g=String(a.$a.length);a.$a.push([g,e]);return a.xa[f]=g};if(u(b)&&a.xa[a.Md.get(b)])return a.xa[a.Md.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(Fj(b));if(za(b))return c(Jj("Date",{value:Fj(Math.floor(b.getTime()))}));
|
|
if(b instanceof Ej)return c(b.ja(function(e){return Lk(a,e)}));if(Array.isArray(b))return c(Hj(b.map(function(e){return Gj(Lk(a,e))})));if(u(b)&&"function"!==typeof b){var d={};Object.keys(b).sort().forEach(function(e){d[e]=Gj(Lk(a,b[e]))});return c(Ij(d))}throw Error("Can't encode object: "+b);},Mk=function(a,b,c){var d=this;this.Zh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.Th=c?Ok(this):null;this.Oh={};this.Of={};this.hk=0},Nk=function(a,b){if(b in a.Of)return a.Of[b];
|
|
var c=String(a.hk++);a.Of[b]=c;a.Oh[c]=Pk(a,a.values[b],0);return c},Pk=function(a,b,c){var d=function(p){return null!==p.kb},e=function(p){return p===Bd?null:p};if(d(b)||null!=b.Wb||null!=b.ub||null!=b.Qb)return b;if(null!=b.Pa)return d=a.values[b.Pa],null===a.Th||50>c&&1===a.Th[b.Pa]?Pk(a,d,c):Qk(d)?d:Gj(Nk(a,b.Pa));if(null!=b.Fa){var f=b.Fa.values.map(function(p){return Pk(a,p,c+3)});return f.every(d)?Fj(f.map(function(p){return e(p.kb)})):Hj(f)}if(null!=b.Ga){f={};var g={};b=m(Object.entries(b.Ga.values||
|
|
{}));for(var l=b.next();!l.done;l=b.next()){var n=m(l.value);l=n.next().value;n=n.next().value;f[l]=Pk(a,n,c+3);null!==g&&d(f[l])?g[l]=e(f[l].kb):g=null}return null!==g?Fj(g):Ij(f)}if(null!=b.Va)return d=b.Va,Lj(d.mc||[],Nk(a,d.body||""));if(null!=b.ya){d=b.ya;f={};g=m(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=Pk(a,d.arguments[b],c+3);return d.functionName?Jj(d.functionName,f):Kj(Nk(a,d.Wa||""),f)}throw Error("Can't optimize value: "+b);},Qk=function(a){var b=
|
|
a.kb;return null!==b?b===Bd||"number"===typeof b||"boolean"===typeof b:null!=a.Qb},Ok=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Fa?e.Fa.values.forEach(d):null!=e.Ga?Object.values(e.Ga.values).forEach(d):null!=e.Va?c(e.Va.body):null!=e.ya?(e=e.ya,null!=e.Wa&&c(e.Wa),Object.values(e.arguments).forEach(d)):null!=e.Pa&&c(e.Pa)};c(a.Zh);return b};var Wk=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=a.selectors||null;null!=b&&"string"===typeof b&&(b=b.split(","));b=new If({i:Fk(a.element),description:Rk(a.description),ka:null,ib:null,selectors:b,Xb:Sk(a.maxErrorMeters),requestId:Rk(a.id),V:Sk(a.maxWorkers)});var c=Tk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Kf({la:null,ia:null,B:Nj(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.la=Uk(a):d.ia=Vk(a);b.ka=d;break;case "ASSET":b.ib=new Jf({Tb:new yf({name:Yj(a.assetId)})});
|
|
break;default:throw Error('Export destination "'+c+'" unknown');}return b};function Rk(a){return null!=a?String(a):null}function Sk(a){return null!=a?Number(a):null}
|
|
var Tk=function(a){var b="DRIVE";if(null==a)return b;null!=a.outputBucket||null!=a.outputPrefix?b="GOOGLE_CLOUD_STORAGE":null!=a.assetId&&(b="ASSET");return b},Yk=function(a){var b=new bg({Te:!!a.tfrecordCompressed,Yb:Rk(a.tfrecordMaxFileSize),Vf:!!a.tfrecordSequenceData,Re:!!a.tfrecordCollapseBands,Df:Sk(a.tfrecordMaskedThreshold),defaultValue:Sk(a.tfrecordDefaultValue),Na:Xk(a.tfrecordPatchDimensions),Af:Xk(a.tfrecordKernelSize),de:null});a=a.tfrecordTensorDepths;if(null!=a)if(u(a)){var c={};yb(a,
|
|
function(d,e){if("string"!==typeof e||"number"!==typeof d)throw Error('"tensorDepths" option must be an object of type Object<string, number>');c[e]=d});b.de=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},Zk=function(a,b){var c=new Ef({la:null,ia:null,Hd:null,fe:null,B:Mj(a.fileFormat)});if("GEO_TIFF"===c.B){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');var d=new Tf({Qe:!!a.tiffCloudOptimized,
|
|
$f:!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),Na:Xk(a.fileDimensions||a.tiffFileDimensions)});c.Hd=d}else"TF_RECORD_IMAGE"===c.B&&(c.fe=Yk(a));"GOOGLE_CLOUD_STORAGE"===b?c.la=Uk(a):c.ia=Vk(a);return c},$k=function(a,b){var c=new Mf({la:null,ia:null,B:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.la=Uk(a):c.ia=Vk(a);return c},al=function(a){var b=Sk(a.maxZoom),c=Sk(a.scale),d=Sk(a.minZoom),e=!!a.skipEmptyTiles,f=Rk(a.mapsApiKey),g=Xk(a.tileDimensions),l=Sk(a.stride);var n=Sk(a.minTimeMachineZoomSubset);a=
|
|
Sk(a.maxTimeMachineZoomSubset);if(null==n&&null==a)n=null;else{var p=new Bg({min:0,max:null});null!=n&&(p.min=n);p.max=a;n=p}return new Hf({maxZoom:b,scale:c,minZoom:d,ag:e,zf:f,Na:g,bg:l,mg:n})},Xk=function(a){if(null==a)return null;var b=new Uf({height:0,width:0});"string"===typeof a&&(-1!==a.indexOf("x")?a=a.split("x").map(Number):-1!==a.indexOf(",")&&(a=a.split(",").map(Number)));if(Array.isArray(a))if(2===a.length)b.height=a[0],b.width=a[1];else if(1===a.length)b.height=a[0],b.width=a[0];else throw Error("Unable to construct grid from dimensions: "+
|
|
a);else if("number"!==typeof a||isNaN(a))if(u(a)&&null!=a.height&&null!=a.width)b.height=a.height,b.width=a.width;else throw Error("Unable to construct grid from dimensions: "+a);else b.height=a,b.width=a;return b},Uk=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Sf({nc:Rk(a.outputBucket),ea:Rk(a.outputPrefix),oc:a.bucketCorsUris||null,permissions:b})},Vk=function(a){return new rf({hf:Rk(a.driveFolder),ea:Rk(a.driveFileNamePrefix)})};var bl=function(){this.tb=[]};bl.prototype.length=function(){return this.tb.length};bl.prototype.end=function(){var a=this.tb;this.tb=[];return a};var dl=function(a,b){this.hb=a;this.ne=b;this.map={};this.Lc=!0;this.Eh=null;if(0<this.hb.length){for(a=0;a<this.hb.length;a++){b=this.hb[a];var c=b[0];this.map[c.toString()]=new cl(c,b[1])}this.Lc=!0}};dl.prototype.isFrozen=function(){return!1};
|
|
var el=function(a){if(a.Lc){if(a.ne){var b=a.map,c;for(c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c].hc;d&&el(d)}}}else{a.hb.length=0;b=fl(a);b.sort();for(c=0;c<b.length;c++){var e=a.map[b[c]];(d=e.hc)&&el(d);a.hb.push([e.key,e.value])}a.Lc=!0}return a.hb};h=dl.prototype;h.getLength=function(){return fl(this).length};h.clear=function(){this.map={};this.Lc=!1};
|
|
h.entries=function(){var a=[],b=fl(this);b.sort();for(var c=0;c<b.length;c++){var d=this.map[b[c]];a.push([d.key,gl(this,d)])}return new hl(a)};h.keys=function(){var a=[],b=fl(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.map[b[c]].key);return new hl(a)};h.values=function(){var a=[],b=fl(this);b.sort();for(var c=0;c<b.length;c++)a.push(gl(this,this.map[b[c]]));return new hl(a)};
|
|
h.forEach=function(a,b){var c=fl(this);c.sort();for(var d=0;d<c.length;d++){var e=this.map[c[d]];a.call(b,gl(this,e),e.key,this)}};h.set=function(a,b){var c=new cl(a);this.ne?(c.hc=b,c.value=el(b)):c.value=b;this.map[a.toString()]=c;this.Lc=!1;return this};var gl=function(a,b){return a.ne?(b.hc||(b.hc=new a.ne(b.value),a.isFrozen()&&(A(null!=a.Eh),a.Eh(b.hc))),b.hc):b.value};dl.prototype.get=function(a){if(a=this.map[a.toString()])return gl(this,a)};
|
|
dl.prototype.has=function(a){return a.toString()in this.map};var fl=function(a){a=a.map;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},cl=function(a,b){this.key=a;this.value=b;this.hc=void 0},hl=function(a){this.nh=0;this.hb=a};hl.prototype.next=function(){return this.nh<this.hb.length?{done:!1,value:this.hb[this.nh++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&"undefined"!=typeof Symbol.iterator&&(hl.prototype[Symbol.iterator]=function(){return this});Object.freeze&&Object.freeze([]);var jl=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"];d&&(gb(f,d),ib(f));jj=a;kj=f;null===a?pj():lj(function(){nj(b,c,e||Fa(il,b,c))})};w("ee.data.authenticateViaOauth",jl);var kl=function(a,b,c,d,e){jl(a,b,c,d,e)};w("ee.data.authenticate",kl);var il=function(a,b){r.gapi.auth.authorize({client_id:jj,immediate:!1,scope:kj.join(" ")},Fa(mj,a,b))};w("ee.data.authenticateViaPopup",il);
|
|
var ll=function(a,b,c,d){if("window"in r)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");var e=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/devstorage.read_write","https://www.googleapis.com/auth/cloud-platform"];d&&(gb(e,d),ib(e));jj=a.client_email;kj=e;var f=new google.auth.JWT(a.client_email,null,a.private_key,e,null);ij=function(g,l){f.authorize(function(n,p){n?l({error:n}):l({access_token:p.access_token,
|
|
token_type:p.token_type,expires_in:(p.expiry_date-Date.now())/1E3})})};nj(b,c)};w("ee.data.authenticateViaPrivateKey",ll);w("ee.data.setExpressionAugmenter",function(a){ml=a||Ob});var ml=Ob;
|
|
w("ee.data.setAuthToken",function(a,b,c,d,e,f,g){var l=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"];e&&(gb(l,e),ib(l));jj=a;kj=l;var n={token_type:b,access_token:c,state:l.join(" "),expires_in:d};mj(void 0,void 0,n);!1===g?f&&f():lj(function(){r.gapi.auth.setToken(n);f&&f()})});w("ee.data.refreshAuthToken",nj);w("ee.data.setAuthTokenRefresher",function(a){ij=a});w("ee.data.getAuthToken",fj);w("ee.data.clearAuthToken",pj);
|
|
w("ee.data.getAuthClientId",function(){return jj});w("ee.data.getAuthScopes",function(){return kj});w("ee.data.setDeadline",function(a){Dj=a});w("ee.data.setParamAugmenter",function(a){xj=a||Ob});
|
|
var nl=function(a){a=new J(a);return K(a,a.Kc().list($i(),{prettyPrint:!1}).then(Tj))},pl=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");a=new zf({name:null,i:ml(Fk(a.image)),B:Mj(a.format),ca:Pj(a.bands),ic:Sj(a)});b=new J(b);return K(b,b.maps().create($i(),a,{fields:["name"]}).then(function(c){return ol(c.name,"")}))};w("ee.data.getMapId",pl);
|
|
var ql=function(a,b,c,d){if(!a.formatTileUrl){var e=ol(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",ql);
|
|
var ol=function(a,b,c){var d=void 0===c?"":c;d||(Yi(),c=sj,d=b?c+"/map/"+a+"/{z}/{x}/{y}?token="+b:c+"/v1alpha/"+a+"/tiles/{z}/{x}/{y}");return{mapid:a,token:b,formatTileUrl:function(e,f,g){var l=Math.pow(2,g);e%=l;e=String(0>e?e+l:e);return d.replace("{x}",e).replace("{y}",f).replace("{z}",g)},urlFormat:d}},rl=function(a,b){a=ml(Fk(a));b=new J(b);return K(b,Sg(b.value(),$i(),new gf({i:a})).then(function(c){return c.result}))};w("ee.data.computeValue",rl);
|
|
var sl=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");if(void 0!==a.region)throw Error('"region" not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');if(void 0!==a.dimensions)throw Error('"dimensions" is not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');a=new Ag({name:null,i:ml(Fk(a.image)),B:Mj(a.format),ea:a.name,ca:Pj(a.bands),
|
|
ic:Sj(a),L:null});b=new J(b);return K(b,(new Qg(b.P)).create($i(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getThumbId",sl);
|
|
var tl=function(a,b){var c=new Nf({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Eg({name:null,i:ml(Fk(a.imageCollection)),B:Mj(a.format),Qa:c,L:null});b=new J(b);return K(b,(new Vg(b.P)).create($i(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};w("ee.data.getVideoThumbId",tl);
|
|
var ul=function(a,b){a=new Pf({name:null,i:ml(Fk(a.imageCollection)),B:Mj(a.format),orientation:Oj(a.orientation),L:null});b=new J(b);return K(b,(new Jg(b.P)).create($i(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getFilmstripThumbId",ul);var vl=function(a){return sj+"/v1alpha/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",vl);
|
|
var xl=function(a,b){a=Object.assign({},a);a.id&&(a.image=new L(a.id));if("string"===typeof a.image)throw Error("Image as serialized JSON string not supported.");if(!a.image)throw Error("Missing ID or image parameter.");a.filePerBand=!1!==a.filePerBand;a.format=a.format||(a.filePerBand?"ZIPPED_GEO_TIFF_PER_BAND":"ZIPPED_GEO_TIFF");if(null!=a.region&&(null!=a.scale||null!=a.crs_transform)&&null!=a.dimensions)throw Error("Cannot specify (bounding region, crs_transform/scale, dimensions) simultaneously.");
|
|
if("string"===typeof a.bands)try{a.bands=JSON.parse(a.bands)}catch(d){a.bands=Pj(a.bands)}if(a.bands&&!Array.isArray(a.bands))throw Error("Bands parameter must be an array.");a.bands&&a.bands.every(function(d){return"string"===typeof d})&&(a.bands=a.bands.map(function(d){return{id:d}}));if(a.bands&&a.bands.some(function(d){return null==d.id}))throw Error("Each band dictionary must have an id.");"string"===typeof a.region&&(a.region=JSON.parse(a.region));if("string"===typeof a.crs_transform)try{a.crs_transform=
|
|
JSON.parse(a.crs_transform)}catch(d){}var c=wl(a.image,a);a=new Ag({name:null,i:ml(Fk(c)),B:Mj(a.format),ea:a.name,ca:a.bands&&Pj(a.bands.map(function(d){return d.id})),L:null});b=new J(b);return K(b,(new Qg(b.P)).create($i(),a,{fields:["name"]}).then(function(d){return{docid:d.name,token:""}}))};w("ee.data.getDownloadId",xl);var yl=function(a){Yi();return sj+"/v1alpha/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",yl);
|
|
var zl=function(a,b){b=new J(b);var c=Nj(a.format),d=ml(Fk(a.table)),e=null;if(null!=a.selectors)if("string"===typeof a.selectors)e=a.selectors.split(",");else if(Array.isArray(a.selectors)&&a.selectors.every(function(f){return"string"===typeof f}))e=a.selectors;else throw Error("'selectors' parameter must be an array of strings.");a=new yg({name:null,i:d,B:c,selectors:e,filename:a.filename||null});return K(b,(new Pg(b.P)).create($i(),a,{fields:["name"]}).then(function(f){return{docid:f.name||"",
|
|
token:""}}))};w("ee.data.getTableDownloadId",zl);var Al=function(a){return sj+"/v1alpha/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",Al);var Bl=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,4*d)).toString(16).padStart(d,"0")};a=jb(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(4*Math.random())).toString(16)+c(3),c(12)].join("-")});return b?b(a):a};w("ee.data.newTaskId",Bl);
|
|
var Dl=function(a,b){var c=Cl(a).map(kk);if(1===c.length)return a=new J(b),K(a,a.La().get(c[0]).then(function(e){return[mk(e)]}));a=new ej(b);var d=a.La();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(f){return mk(e[f])})})};w("ee.data.getTaskStatus",Dl);var Cl=function(a){if("string"===typeof a)return[a];if(Array.isArray(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},Fl=function(a){return El(void 0,a)};
|
|
w("ee.data.getTaskList",Fl);var El=function(a,b){return b?(Gl(a,function(c,d){return b(c?{tasks:c.map(mk)}:null,d)}),null):{tasks:Gl(a).map(mk)}};w("ee.data.getTaskListWithLimit",El);var Gl=function(a,b){var c=[],d={pageSize:500},e=function(l){gb(c,l.La||[]);!l.Za||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=l.Za,K(f,g.list($i(),d).then(e)));return null},f=new J(b?function(l,n){return n&&b(l,n)}:void 0),g=f.La();K(f,g.list($i(),d).then(e));return b?null:a?c.slice(0,a):c};
|
|
w("ee.data.listOperations",Gl);var Hl=function(a,b){a=Cl(a);var c=new bf;if(1===a.length)b=new J(b),K(b,b.La().cancel(a[0],c));else{b=new ej(b);var d=b.La();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",Hl);var Il=function(a,b){var c=Cl(a).map(kk);if(!Array.isArray(a))return a=new J(b),K(a,a.La().get(c[0]));a=new ej(b);var d=a.La();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",Il);var Kl=function(a,b){return Jl(a,"CANCEL",b)};
|
|
w("ee.data.cancelTask",Kl);var Jl=function(a,b,c){if(!Fb(Ll,b))throw Error("Invalid action: "+b);a=Cl(a);a=a.map(kk);Hl(a,c);return null};w("ee.data.updateTask",Jl);
|
|
var Ql=function(a,b,c){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new J(c);c=function(f){return K(e,f.then(nk))};switch(d){case "EXPORT_IMAGE":return b=Ml(b,a),c(e.image().mb($i(),b));case "EXPORT_FEATURES":return b=Wk(b),b.i=ml(b.i,a),c(e.table().mb($i(),b));case "EXPORT_VIDEO":return b=Nl(b,a),c(e.video().mb($i(),b));case "EXPORT_TILES":return b=Ol(b,a),c(e.map().mb($i(),b));case "EXPORT_VIDEO_MAP":return b=Pl(b),c((new Ug(e.P)).mb($i(),b));default:throw Error("Unable to start processing for task of type "+
|
|
d);}};w("ee.data.startProcessing",Ql);
|
|
var Ml=function(a,b){var c=Rl(a);if(null==c.element)throw Error('"element" not found in params '+c);a=new Cf({i:Fk(c.element),description:Rk(c.description),ka:null,ib:null,L:null,Ef:Rk(c.maxPixels),requestId:Rk(c.id),V:Sk(c.maxWorkers)});var d=Tk(c);switch(d){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":a.ka=Zk(c,d);break;case "ASSET":d=c.pyramidingPolicy||{};try{d=JSON.parse(d)}catch(f){}var e="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof d?(e=d,d={}):d[".default"]&&(e=d[".default"],delete d[".default"]);
|
|
c=new Df({Tb:new yf({name:Yj(c.assetId)}),pyramidingPolicy:e,Mf:Ib(d)?null:d});a.ib=c;break;default:throw Error('Export destination "'+d+'" unknown');}a.i=ml(a.i,b);return a},Nl=function(a,b){a=Sl(a);if(null==a.element)throw Error('"element" not found in params '+a);var c=new Of({i:Fk(a.element),description:Rk(a.description),Qa:new Nf({framesPerSecond:Sk(a.framesPerSecond),maxFrames:Sk(a.maxFrames),maxPixelsPerFrame:Rk(a.maxPixels)}),ka:null,requestId:Rk(a.id),V:Sk(a.maxWorkers)});c.ka=$k(a,Tk(a));
|
|
c.i=ml(c.i,b);return c},Ol=function(a,b){var c=a.scale;delete a.scale;a=Rl(a);a.scale=c;if(null==a.element)throw Error('"element" not found in params '+a);c=new Gf({i:Fk(a.element),description:Rk(a.description),ec:al(a),dc:Zk(a,"GOOGLE_CLOUD_STORAGE"),requestId:Rk(a.id),V:Sk(a.maxWorkers)});c.i=ml(c.i,b);return c},Pl=function(a){var b=a.scale;delete a.scale;a=Sl(a);a.scale=b;if(null==a.element)throw Error('"element" not found in params '+a);b=new Lf({i:Fk(a.element),description:Rk(a.description),
|
|
Qa:new Nf({framesPerSecond:Sk(a.framesPerSecond),maxFrames:Sk(a.maxFrames),maxPixelsPerFrame:null}),ec:al(a),dc:$k(a,"GOOGLE_CLOUD_STORAGE"),requestId:Rk(a.id),version:Rk(a.version),V:Sk(a.maxWorkers)});b.i=ml(b.i);return b},Ul=function(a,b,c){b=rk(b);var d=function(e){return e?nk(e):null};return d(Tl(a,b,c&&function(e,f){return c(d(e),f)}))};w("ee.data.startIngestion",Ul);
|
|
var Tl=function(a,b,c){b=new ig({rf:b,requestId:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return K(a,a.image().import($i(),b))},Vl=function(a,b,c){b=new jg({eg:b,requestId:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return K(a,a.table().import($i(),b))},Wl=function(a,b,c){b=sk(b);var d=function(e){return e?nk(e):null};return d(Vl(a,b,c&&function(e,f){return c(d(e),f)}))};w("ee.data.startTableIngestion",Wl);
|
|
var Xl=function(a,b){b=new J(b);a=Yj(a);return K(b,b.assets().get(a,{prettyPrint:!1}).then(Zj))};w("ee.data.getAsset",Xl);w("ee.data.getInfo",Xl);
|
|
var Yl=function(a,b){b=new J(b);var c=b.assets(),d=Yj(a.id),e=Wj.test(a.id);e&&(c=new Gg(b.P),d="projects/"+Xj(a.id));if(Object.keys(a).every(function(f){return"id"===f||"num"===f}))return K(b,c.ad(d,{pageSize:a.num}).then(ak));if(e)throw Error("getList on a project does not support filtering options. Please provide a full asset path. Got: "+a.id);a=hk(a);return K(b,Ig(c,d,a).then(ck))};w("ee.data.getList",Yl);
|
|
var Zl=function(a,b,c){b=void 0===b?{}:b;var d=Wj.test(a);c=new J(c);var e=d?new Gg(c.P):c.assets();a=d?"projects/"+Xj(a):Yj(a);return K(c,e.ad(a,b))};w("ee.data.listAssets",Zl);var $l=function(a,b,c){b=void 0===b?{}:b;c=new J(c);return K(c,Ig(c.assets(),a,b))};w("ee.data.listImages",$l);var am=function(a,b){b=new J(b);return K(b,(new Gg(b.P)).ad(a||$i()))};w("ee.data.listBuckets",am);var bm=function(a){a=new J(a);return K(a,(new Gg(a.P)).ad($i()).then(ak))};w("ee.data.getAssetRoots",bm);
|
|
var cm=function(a,b){var c="projects/"+Xj(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new sf({type:"Folder"});b=new J(b);K(b,b.assets().create(c,d,{assetId:a}).then(Zj))};w("ee.data.createAssetHome",cm);
|
|
var dm=function(a,b,c,d,e){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&Yj(b);if(!c)throw Error("Either asset name or opt_path must be specified.");var f=c.indexOf("/assets/");if(-1===f)throw Error("Asset name must contain /assets/.");a=new sf(a);b=c.slice(0,f);c=c.slice(f+8);a.id=null;a.name=null;d&&!a.properties&&(a.properties=d);a:switch(d=a.type,d){case "ImageCollection":d="IMAGE_COLLECTION";break a;
|
|
case "Folder":d="FOLDER"}a.type=d;e=new J(e);return K(e,e.assets().create(b,a,{assetId:c}).then(Zj))};w("ee.data.createAsset",dm);var em=function(a,b,c){return dm({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",em);var fm=function(a,b,c){a=Yj(a);b=Yj(b);b=new rg({Sb:b});c=new J(c);K(c,c.assets().move(a,b).then(Zj))};w("ee.data.renameAsset",fm);
|
|
var gm=function(a,b,c,d){a=Yj(a);b=Yj(b);c=new lf({Sb:b,overwrite:null!=c?c:null});d=new J(d);b=Zj;var e=d.assets();var f=void 0===f?{}:f;var g=void 0===g?{}:g;e.h.A(a,/^projects\/[^/]+\/assets\/.*$/);f=I(e.h,{body:c,s:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.j+"/"+a+":copy",m:H(f,g),G:sf});K(d,f.then(b))};w("ee.data.copyAsset",gm);var hm=function(a,b){b=new J(b);K(b,b.assets().delete(Yj(a)))};w("ee.data.deleteAsset",hm);
|
|
var im=function(a,b){a=Yj(a);var c=new Vf;b=new J(b);var d=b.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;var f=void 0===f?{}:f;d.h.A(a,/^projects\/[^/]+\/assets\/.*$/);f=I(d.h,{body:c,s:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+d.j+"/"+a+":getIamPolicy",m:H(e,f),G:vg});return K(b,f.then(ik))};w("ee.data.getAssetAcl",im);
|
|
var jm=function(a,b,c,d){b=new Dg({Me:b,Hc:(c||[]).join(",")});d=new J(d);c=Zj;var e=d.assets();a=Yj(a);var f=void 0===f?{}:f;var g=void 0===g?{}:g;e.h.A(a,/^projects\/[^/]+\/assets\/.*$/);f=I(e.h,{body:b,s:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.j+"/"+a,m:H(f,g),G:sf});return K(d,f.then(c))};w("ee.data.updateAsset",jm);
|
|
var km=function(a,b,c){a=Yj(a);b=jk(b);b=new xg({Jf:b});c=new J(c);var d=c.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;var f=void 0===f?{}:f;d.h.A(a,/^projects\/[^/]+\/assets\/.*$/);f=I(d.h,{body:b,s:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+d.j+"/"+a+":setIamPolicy",m:H(e,f),G:vg});K(c,f)};w("ee.data.setAssetAcl",km);
|
|
var lm=function(a,b,c){var d=fk(b);b=Cd(d.f()).keys.filter(function(e){return"properties"!==e&&G(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(f,g){return"_"+g.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));jm(a,d,b,c)};w("ee.data.setAssetProperties",lm);
|
|
var mm=function(a,b){var c=Yj(a);b=new J(b);var d=b.assets(),e=d.h.A;d.h.A=function(f,g){"^projects\\/[^/]+\\/assets\\/.+$"===g.source&&(g=/^projects\/[^/]+\/assets\/.*$/);return e(f,g)};c=d.get(c,{prettyPrint:!1});return K(b,c.then(function(f){if(!(f instanceof sf&&f.quota))throw Error(a+" is not a root folder.");f=f.quota;return{asset_count:{usage:Number(f.Ne||0),limit:Number(f.Cf||0)},asset_size:{usage:Number(f.Da||0),limit:Number(f.Yb||0)}}}))};w("ee.data.getAssetRootQuota",mm);
|
|
var Ll={Ak:"CANCEL",Dk:"UPDATE"};var M=function(a,b,c){if(!(this instanceof M))return nm(M,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.F=a;this.args=b;this.U=c||null};x(M,Ej);w("ee.ComputedObject",M);M.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");rl(this,a)};M.prototype.evaluate=M.prototype.evaluate;
|
|
M.prototype.X=function(a){return rl(this,a)};M.prototype.getInfo=M.prototype.X;M.prototype.encode=function(a){if(null===this.F&&null===this.args)return{type:"ArgumentRef",value:this.U};var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=a(this.args[c]));b={type:"Invocation",arguments:b};a=a(this.F);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
M.prototype.ja=function(a){if(null===this.F&&null===this.args)return new We({Qb:this.U||""});var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=Gj(a(this.args[c])));return"string"===typeof this.F?Jj(String(this.F),b):this.F.Dd(a,b)};M.prototype.va=function(a){return(void 0===a?0:a)?Bk(this):Jk(this)};M.prototype.serialize=M.prototype.va;M.prototype.toString=function(){return"ee."+this.name()+"("+Dk(this)+")"};w("ee.ComputedObject.prototype.toString",M.prototype.toString);
|
|
M.prototype.name=function(){return"ComputedObject"};M.prototype.ng=function(a,b){var c=fb(arguments);c[0]=this;a.apply(r,c);return this};M.prototype.aside=M.prototype.ng;var om=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.F=b.F;a.args=b.args;a.U=b.U;return a},nm=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var pm={},qm=function(a,b){if(b==a)return!0;switch(a){case "Element":return"Element"==b||"Image"==b||"Feature"==b||"Collection"==b||"ImageCollection"==b||"FeatureCollection"==b;case "FeatureCollection":case "Collection":return"Collection"==b||"ImageCollection"==b||"FeatureCollection"==b;case "Object":return!0;default:return!1}},rm=function(a){return"number"===typeof a||a instanceof M&&"Number"==a.name()},sm=function(a){return"string"===typeof a||a instanceof M&&"String"==a.name()},tm=function(a){return u(a)&&
|
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},um=function(a,b,c){return 1===a.length&&tm(a[0])&&(a=b.args,(void 0===c?0:c)&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var N=function(){if(!(this instanceof N))return new N};x(N,Ej);w("ee.Function",N);var vm=Ob;N.prototype.call=function(a){return this.apply(wm(this,Array.prototype.slice.call(arguments,0)))};N.prototype.call=N.prototype.call;N.prototype.apply=function(a){a=new M(this,xm(this,a));return vm(a,this.Z().returns)};N.prototype.apply=N.prototype.apply;
|
|
var ym=function(a,b,c){var d=void 0!==b,e=a.Z();if(um(c,e,d)){if(c=Kb(c[0]),d){d=e.args[0].name;if(d in c)throw Error("Named args for "+e.name+" can't contain keyword "+d);c[d]=b}}else c=wm(a,d?[b].concat(c):c);return a.apply(c)},xm=function(a,b){for(var c=a.Z().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&void 0!==b[g])d[g]=vm(b[g],c[f].type);else if(!c[f].optional)throw Error("Required argument ("+g+") missing to function: "+a);e[g]=!0}c=[];for(var l in b)e[l]||c.push(l);if(0<c.length)throw Error("Unrecognized arguments ("+
|
|
c+") to function: "+a);return d},wm=function(a,b){var c=a.Z().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
|
|
N.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(Va(c.args.slice(b?1:0),function(f){return f.name}).join(", "));d.push(")\n");d.push("\n");c.description?d.push(c.description):d.push("Undocumented.");d.push("\n");if(c.args.length)for(d.push("\nArgs:\n"),a=0;a<c.args.length;a++){b&&0==a?d.push(" this:"):d.push("\n ");var e=c.args[a];d.push(e.name);d.push(" (");d.push(e.type);e.optional&&d.push(", optional");d.push("): ");e.description?d.push(e.description):
|
|
d.push("Undocumented.")}return d.join("")};N.prototype.va=function(a){return(void 0===a?0:a)?Bk(this):Jk(this)};var O=function(a,b){if(void 0===b)return zm(a);if(!(this instanceof O))return nm(O,arguments);this.ab=Lb(b);this.ab.name=a};x(O,N);w("ee.ApiFunction",O);var P=function(a,b){return N.prototype.call.apply(zm(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",P);var Am=function(a,b){return zm(a).apply(b)};w("ee.ApiFunction._apply",Am);O.prototype.encode=function(){return this.ab.name};O.prototype.Dd=function(a,b){return Jj(this.ab.name,b)};O.prototype.Z=function(){return this.ab};
|
|
var Bm=null,Cm={},Em=function(){Dm();return Ab(Bm,function(a){return a.Z()})},Fm=function(){Dm();return zb(Bm,function(a,b){return!Cm[b]})},zm=function(a){var b=Gm(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",zm);
|
|
var Gm=function(a){Dm();return Bm[a]||null},Dm=function(a,b){if(Bm)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(Bm=Ab(d,function(f,g){f.returns=f.returns.replace(/<.*>/,"");for(var l=0;l<f.args.length;l++)f.args[l].type=f.args[l].type.replace(/<.*>/,"");return new O(g,f)}),a&&a())};a?nl(c):c(nl())}},Hm=function(a,b,c,d){Dm();var e=d||"";yb(Bm,function(f,g){var l=g.split(".");if(2==l.length&&l[0]==b){l=e+l[1];var n=f.Z();Cm[g]=!0;var p=!1;n.args.length&&(g=n.args[0].type,p="Object"!=g&&qm(g,c));
|
|
g=p?a.prototype:a;l in g&&!g[l].signature||(g[l]=function(t){return ym(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[l].toString=v(f.toString,f,l,p),g[l].signature=n)}})},Im=function(a){var b=function(c){for(var d in c)"function"===typeof c[d]&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var Q=function(a,b){var c=Jm(a),d=Va(c,function(n){return n.replace(/^opt_/,"")});a=(a=r.EXPORTED_FN_INFO?r.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},f=b[0],g=u(f)&&"function"!==typeof f&&!Array.isArray(f)&&"Object"===Object.getPrototypeOf(f).constructor.name;if(1<b.length||!g){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(f=0;f<b.length;f++)e[d[f]]=b[f]}else{g=new ud(Eb(f));
|
|
var l=new ud(d);if(l.sh(g).isEmpty())e[d[0]]=b[0];else{b=g.af(l);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.S().join(", "));e=Kb(f)}}b=new ud(Eb(e));c=(new ud(Ua(c,function(n){return 0!=n.lastIndexOf("opt_",0)}))).af(b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.S().join(", "));return e},Jm=function(a){var b=Km,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],u(a)||Lm(),c=a.paramNames,Array.isArray(c)||Lm()):(a=a.toString().replace(Mm,"").match(b),
|
|
null===a&&Lm(),c=(a[1].split(",")||[]).map(function(d){return d.replace(Nm,"")}));return c},Lm=function(){throw Error("Failed to locate function parameters.");},Mm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Km=/^function[^\(]*\(([^\)]*)\)/m,Nm=/=.*$/;var R=function(a,b,c){M.call(this,a,b,c);Om()};x(R,M);w("ee.Element",R);var Pm=!1,Om=function(){Pm||(Hm(R,"Element","Element"),Pm=!0)};R.prototype.name=function(){return"Element"};
|
|
R.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=tm(c))a:{b=Eb(c);var d=["properties"];if(ya(b)&&ya(d)&&b.length==d.length){for(var e=b.length,f=0;f<e;f++)if(b[f]!==d[f]){b=!1;break a}b=!0}else b=!1}b&&u(c.properties)&&(c=c.properties);if(tm(c)){b=this;for(var g in c)d=c[g],b=P("Element.set",b,g,d)}else if(c instanceof M&&Gm("Element.setMulti"))b=P("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(0!=
|
|
arguments.length%2)throw Error("When Element.set() is passed multiple arguments, there must be an even number of them.");b=this;for(c=0;c<arguments.length;c+=2)g=arguments[c],d=arguments[c+1],b=P("Element.set",b,g,d)}return om(this,b)};R.prototype.set=R.prototype.set;var S=function(a,b,c,d){if(!(this instanceof S))return nm(S,arguments);if(!("type"in a)){var e=Q(S,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Qm();e=null!=b||null!=c||null!=d;if(a instanceof M&&!(a instanceof S&&a.qb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");M.call(this,a.F,a.args,a.U)}else{a instanceof S&&(a=a.encode());if(!Rm(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));M.call(this,
|
|
null,null);this.qb=a.type;this.Jg=null!=a.coordinates?Lb(a.coordinates):null;this.hh=a.geometries||null;if(null!=b)this.ac=b;else if("crs"in a)if(u(a.crs)&&"name"==a.crs.type&&u(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.ac=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new gi).va(a.crs));this.vc=c;void 0===this.vc&&"geodesic"in a&&(this.vc=!!a.geodesic);this.tc=d;void 0===this.tc&&"evenOdd"in a&&(this.tc=!!a.evenOdd)}};x(S,M);w("ee.Geometry",S);
|
|
var Sm=!1,Qm=function(){Sm||(Hm(S,"Geometry","Geometry"),Sm=!0)},Tm=function(a,b){if(!(this instanceof Tm))return Um(Tm,arguments);var c=Vm(Tm,"Point",1,arguments);if(!(c instanceof M)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}S.call(this,c)};x(Tm,S);S.Point=Tm;var Wm=function(a,b){if(!(this instanceof Wm))return Um(Wm,arguments);S.call(this,Vm(Wm,"MultiPoint",2,arguments))};x(Wm,S);S.MultiPoint=Wm;
|
|
var Xm=function(a,b,c,d){if(!(this instanceof Xm))return Um(Xm,arguments);var e=Vm(Xm,"Rectangle",2,arguments);if(!(e instanceof M)){var f=e.coordinates;if(2!=f.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var g=f[0][0],l=f[0][1],n=f[1][0];f=f[1][1];e.coordinates=[[[g,f],[g,l],[n,l],[n,f]]];e.type="Polygon"}S.call(this,e)};x(Xm,S);S.Rectangle=Xm;
|
|
var Ym=function(a,b,c,d){if(!(this instanceof Ym))return Um(Ym,arguments);var e=[a,b,c,d];if(Zm(e))return(new O("GeometryConstructors.BBox")).apply(e);if(!(Infinity>a))throw Error("Geometry.BBox: west must not be "+a);if(!(-Infinity<c))throw Error("Geometry.BBox: east must not be "+c);if(!(90>=b))throw Error("Geometry.BBox: south must be at most +90\u00b0, but was "+b+"\u00b0");if(!(-90<=d))throw Error("Geometry.BBox: north must be at least -90\u00b0, but was "+d+"\u00b0");b=Math.max(b,-90);d=Math.min(d,
|
|
90);360<=c-a?(a=-180,c=180):(a=$m(a),c=$m(c),c<a&&(c+=360));S.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(Ym,Xm);S.BBox=Ym;var $m=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},an=function(a,b,c,d){if(!(this instanceof an))return Um(an,arguments);S.call(this,Vm(an,"LineString",2,arguments))};x(an,S);S.LineString=an;var bn=function(a,b,c,d){if(!(this instanceof bn))return Um(bn,arguments);S.call(this,Vm(bn,"LinearRing",2,arguments))};x(bn,S);
|
|
S.LinearRing=bn;var cn=function(a,b,c,d){if(!(this instanceof cn))return Um(cn,arguments);S.call(this,Vm(cn,"MultiLineString",3,arguments))};x(cn,S);S.MultiLineString=cn;var dn=function(a,b,c,d,e){if(!(this instanceof dn))return Um(dn,arguments);S.call(this,Vm(dn,"Polygon",3,arguments))};x(dn,S);S.Polygon=dn;var en=function(a,b,c,d,e){if(!(this instanceof en))return Um(en,arguments);S.call(this,Vm(en,"MultiPolygon",4,arguments))};x(en,S);S.MultiPolygon=en;
|
|
S.prototype.encode=function(a){if(!this.qb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return M.prototype.encode.call(this,a)}a={type:this.qb};"GeometryCollection"==this.qb?a.geometries=this.hh:a.coordinates=this.Jg;null!=this.ac&&(a.crs={type:"name",properties:{name:this.ac}});null!=this.vc&&(a.geodesic=this.vc);null!=this.tc&&(a.evenOdd=this.tc);return a};
|
|
S.prototype.he=function(){if(this.F)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};S.prototype.toGeoJSON=S.prototype.he;S.prototype.ig=function(){if(this.F)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new gi).va(this.he())};S.prototype.toGeoJSONString=S.prototype.ig;S.prototype.va=function(a){return(void 0===a?0:a)?Bk(this):Jk(this)};S.prototype.serialize=S.prototype.va;
|
|
S.prototype.toString=function(){return"ee.Geometry("+this.ig()+")"};
|
|
S.prototype.ja=function(a){if(!this.qb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return M.prototype.ja.call(this,a)}var b={},c="";"GeometryCollection"===this.qb?(b.geometries=this.hh.map(function(e){return new S(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.Jg,c="GeometryConstructors."+this.qb);null!=this.ac&&(b.crs="string"===typeof this.ac?(new O("Projection")).call(this.ac):this.ac);var d="Point"!==this.qb&&"MultiPoint"!==this.qb;
|
|
null!=this.vc&&d&&(b.geodesic=this.vc);null!=this.tc&&(b.evenOdd=this.tc);return(new O(c)).apply(b).ja(a)};
|
|
var Rm=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!Array.isArray(b))return!1;for(a=0;a<b.length;a++)if(!Rm(b[a]))return!1;return!0}a=a.coordinates;var c=fn(a);return"Point"==b&&1==c||"MultiPoint"==b&&(2==c||0==a.length)||"LineString"==b&&2==c||"LinearRing"==b&&2==c||"MultiLineString"==b&&(3==c||0==a.length)||"Polygon"==b&&3==c||"MultiPolygon"==b&&(4==c||0==a.length)},fn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=fn(a[0]),c=1;c<a.length;c++)if(fn(a[c])!=
|
|
b)return-1;return b+1}for(c=0;c<a.length;c++)if("number"!==typeof a[c])return-1;return 0==a.length%2?1:-1},gn=function(a){if("number"!==typeof a[0]||2==a.length)return a;if(0!=a.length%2)throw Error("Invalid number of coordinates: "+a.length);for(var b=[],c=0;c<a.length;c+=2)b.push([a[c],a[c+1]]);return b},Vm=function(a,b,c,d){a=hn(a,d);if(Zm(a.coordinates)||null!=a.crs||null!=a.maxError)return(new O("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=jn(c,a.coordinates);(b=ab(["Polygon",
|
|
"Rectangle","MultiPolygon"],b))&&null==a.evenOdd&&(a.evenOdd=!0);if(b&&!1===a.geodesic&&!1===a.evenOdd)throw Error("Planar interiors must be even/odd.");return a},hn=function(a,b){if(Xa(b,rm))return{coordinates:fb(b)};a=Q(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return zb(a,function(c){return null!=c})},Zm=function(a){return Array.isArray(a)?Wa(a,Zm):a instanceof M},jn=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Xa(b,function(e){return"number"===
|
|
typeof e})&&(b=gn(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(fn(b)!=a)throw Error("Invalid geometry");for(c=b;Array.isArray(c)&&1==c.length;)c=c[0];return Array.isArray(c)&&0==c.length?[]:b},Um=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};S.prototype.name=function(){return"Geometry"};var T=function(a){if(!(this instanceof T))return nm(T,arguments);if(a instanceof T)return a;kn();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new T(a[0]);M.call(this,new O("Filter.and"),{filters:a})}else if(a instanceof M)M.call(this,a.F,a.args,a.U);else if(void 0===a)M.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(T,M);w("ee.Filter",T);
|
|
var ln=!1,kn=function(){ln||(Hm(T,"Filter","Filter"),ln=!0)},mn={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};T.prototype.wc=function(){return P("Filter.not",this)};T.prototype.not=T.prototype.wc;var nn=function(a,b){var c=Q(nn,arguments);return P("Filter.equals",c.name,c.value)};T.eq=nn;var on=function(a,b){var c=Q(on,arguments);return nn(c.name,c.value).wc()};T.neq=on;
|
|
var pn=function(a,b){var c=Q(pn,arguments);return P("Filter.lessThan",c.name,c.value)};T.lt=pn;var qn=function(a,b){var c=Q(qn,arguments);return pn(c.name,c.value).wc()};T.gte=qn;var rn=function(a,b){var c=Q(rn,arguments);return P("Filter.greaterThan",c.name,c.value)};T.gt=rn;var sn=function(a,b){var c=Q(sn,arguments);return rn(c.name,c.value).wc()};T.lte=sn;var tn=function(a){return P("Filter.and",Array.prototype.slice.call(arguments))};T.and=tn;var un=function(a){return P("Filter.or",Array.prototype.slice.call(arguments))};
|
|
T.or=un;var vn=function(a,b){var c=Q(vn,arguments);c=P("DateRange",c.start,c.end);return Am("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};T.date=vn;var wn=function(a,b,c,d){var e=Q(wn,arguments);return Am("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};T.inList=wn;var xn=function(a,b){return Am("Filter.intersects",{leftField:".all",rightValue:P("Feature",a),maxError:b})};T.bounds=xn;
|
|
T.prototype.name=function(){return"Filter"};var yn=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in mn))throw Error("Unknown filtering operator: "+b);a=P("Filter."+mn[b],a,c);return d?a.wc():a};T.metadata=yn;var U=function(a,b,c){R.call(this,a,b,c);zn()};x(U,R);w("ee.Collection",U);var An=!1,zn=function(){An||(Hm(U,"Collection","Collection"),Hm(U,"AggregateFeatureCollection","Collection","aggregate_"),An=!0)};U.prototype.filter=function(a){a=Q(U.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return om(this,P("Collection.filter",this,a))};U.prototype.filter=U.prototype.filter;
|
|
U.prototype.ff=function(a,b,c){var d=Q(U.prototype.ff,arguments);return this.filter(yn(d.name,d.operator,d.value))};U.prototype.filterMetadata=U.prototype.ff;U.prototype.$g=function(a){return this.filter(xn(a))};U.prototype.filterBounds=U.prototype.$g;U.prototype.ef=function(a,b){var c=Q(U.prototype.ef,arguments);return this.filter(vn(c.start,c.end))};U.prototype.filterDate=U.prototype.ef;
|
|
U.prototype.limit=function(a,b,c){var d=Q(U.prototype.limit,arguments);return om(this,P("Collection.limit",this,d.max,d.property,d.ascending))};U.prototype.limit=U.prototype.limit;U.prototype.sort=function(a,b){var c=Q(U.prototype.sort,arguments);return om(this,P("Collection.limit",this,void 0,c.property,c.ascending))};U.prototype.sort=U.prototype.sort;U.prototype.name=function(){return"Collection"};U.prototype.elementType=function(){return R};
|
|
U.prototype.map=function(a,b){var c=this.elementType();return om(this,P("Collection.map",this,function(d){return a(new c(d))},b))};U.prototype.map=U.prototype.map;U.prototype.vh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return P("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};U.prototype.iterate=U.prototype.vh;var W=function(a,b){if(!(this instanceof W))return nm(W,arguments);if(a instanceof W){if(b)throw Error("Can't create Feature out of a Feature and properties.");return a}if(2<arguments.length)throw Error("The Feature constructor takes at most 2 arguments ("+arguments.length+" given)");Bn();if(a instanceof S||null===a)R.call(this,new O("Feature"),{geometry:a,metadata:b||null});else if(a instanceof M)R.call(this,a.F,a.args,a.U);else if("Feature"==a.type){var c=a.properties||{};if("id"in a){if("system:index"in
|
|
c)throw Error('Can\'t specify both "id" and "system:index".');c=Kb(c);c["system:index"]=a.id}R.call(this,new O("Feature"),{geometry:new S(a.geometry),metadata:c})}else R.call(this,new O("Feature"),{geometry:new S(a),metadata:b||null})};x(W,R);w("ee.Feature",W);var Cn=!1,Bn=function(){Cn||(Hm(W,"Feature","Feature"),Cn=!0)};W.prototype.X=function(a){return W.I.X.call(this,a)};W.prototype.getInfo=W.prototype.X;
|
|
W.prototype.getMap=function(a,b){var c=Q(W.prototype.getMap,arguments);return P("Collection",[this]).getMap(c.visParams,c.callback)};W.prototype.getMap=W.prototype.getMap;W.prototype.name=function(){return"Feature"};var Rl=function(a){var b={},c=Dn(a.element,a);c=En(c,a,b);b.element=c;return b},Sl=function(a){var b={},c=a.element.map(function(d){d=Dn(d,a);return En(d,a,b)});b.element=c;return b},En=function(a,b,c){var d={},e=["maxDimension","width","height","scale"];yb(b,function(f,g){switch(g){case "dimensions":g="string"===typeof f?f.split("x").map(Number):Array.isArray(f)?f:"number"===typeof f?[f]:[];if(1===g.length)d.maxDimension=g[0];else if(2===g.length)d.width=g[0],d.height=g[1];else throw Error("Invalid dimensions "+
|
|
f);break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof Xm)){g=f;if("string"===typeof f)try{g=JSON.parse(f)}catch(l){g=f.split(/\s*,\s*/).map(Number)}if(Array.isArray(g)){if(g.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");f=new Xm(g,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");
|
|
if(!(f instanceof S)){g=f;if("string"===typeof f)try{g=JSON.parse(f)}catch(l){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(Array.isArray(g))f=new dn(g,null,!1);else if(u(g))f=new S(g,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=f;break;case "scale":d.scale=Number(f);break;default:c[g]=f}});Ib(d)||(d.input=a,a=e.some(function(f){return f in d})?Am("Image.clipToBoundsAndScale",d):Am("Image.clip",d));return a},Dn=function(a,b){var c=
|
|
b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=Fn(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=Am("Image.reproject",{image:a,crs:c,crsTransform:d}),null!=b.dimensions&&null==b.scale&&null==b.region){var e=b.dimensions;"string"===typeof e&&(e=e.split("x").map(Number));2===e.length&&(delete b.dimensions,c=(new O("Projection")).call(c,d),b.region=new Xm([0,0,e[0],e[1]],c,!1))}}else a=Am("Image.setDefaultProjection",{image:a,crs:c,
|
|
crsTransform:[1,0,0,0,-1,0]});return a},Fn=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Xa(a,function(b){return"number"===typeof b}))return a;throw Error("Invalid argument, crs transform must be a list of 6 numbers.");}throw Error("Invalid argument, crs transform was not a string or array.");},Hn=function(a,b){var c={};b=Gn(b,c);Ib(b)||(b.image=a,a=Am("Image.visualize",b));c.image=a;return c},Gn=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),
|
|
d={};yb(a,function(e,f){ab(c,f)?d[f]=e:b[f]=e});return d},wl=function(a,b){b=Object.assign({},b);var c=function(e){var f={};["crs","crs_transform","dimensions","region"].forEach(function(g){g in e&&(f[g]=e[g])});null!=e.scale&&null==e.dimensions&&(f.scale=e.scale);return f},d=function(e){var f=e.id;if(void 0===f)throw Error("Each band dictionary must have an id.");f=a.select(f);var g=c(b);e=c(e);e=c(Object.assign(g,e));f=Dn(f,e);return f=En(f,e,{})};"ZIPPED_GEO_TIFF_PER_BAND"===b.format&&b.bands&&
|
|
b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,f){return P("Image.addBands",e,f,null,!0)},d.shift())):(d=c(b),a=Dn(a,d),a=En(a,d,{}));return a};var L=function(a){if(!(this instanceof L))return nm(L,arguments);if(a instanceof L)return a;In();var b=arguments.length;if(0==b||1==b&&void 0===a)R.call(this,new O("Image.mask"),{image:new L(0),mask:new L(0)});else if(1==b)if(rm(a))R.call(this,new O("Image.constant"),{value:a});else if(sm(a))R.call(this,new O("Image.load"),{id:a});else{if(Array.isArray(a))return Jn(Va(a,function(d){return new L(d)}));if(a instanceof M)"Array"==a.name()?R.call(this,new O("Image.constant"),{value:a}):R.call(this,a.F,
|
|
a.args,a.U);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(sm(b)&&rm(c))R.call(this,new O("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};x(L,R);w("ee.Image",L);var Kn=!1,In=function(){Kn||(Hm(L,"Image","Image"),Hm(L,"Window","Image","focal_"),Kn=!0)};
|
|
L.prototype.X=function(a){return L.I.X.call(this,a)};L.prototype.getInfo=L.prototype.X;L.prototype.getMap=function(a,b){var c=this,d=Q(L.prototype.getMap,arguments),e=Hn(this,d.visParams);if(d.callback){var f=d.callback;pl(e,function(g,l){g=g?Object.assign(g,{image:c}):void 0;f(g,l)})}else return d=pl(e),d.image=this,d};L.prototype.getMap=L.prototype.getMap;
|
|
L.prototype.xb=function(a,b){var c=Q(L.prototype.xb,arguments),d=c.params?Kb(c.params):{};d.image=this;if(c.callback){var e=c.callback;xl(d,function(f,g){f?e(yl(f)):e(null,g)})}else return yl(xl(d))};L.prototype.getDownloadURL=L.prototype.xb;L.prototype.Id=function(a,b){var c=Q(L.prototype.xb,arguments),d=c.params?Kb(c.params):{},e={},f=Dn(this,d);f=En(f,d,e);d=Hn(f,e);return c.callback?(sl(d,c.callback),null):sl(d)};L.prototype.getThumbId=L.prototype.Id;
|
|
L.prototype.lf=function(a,b){var c=Q(L.prototype.lf,arguments);if(c.callback)this.Id(c.params,function(d,e){var f="";if(void 0===e)try{f=vl(d)}catch(g){e=String(g.message)}c.callback(f,e)});else return vl(this.Id(c.params))};L.prototype.getThumbURL=L.prototype.lf;var Ln=function(a,b,c){var d=Q(Ln,arguments);return Jn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};L.rgb=Ln;var Mn=function(a){return Jn(Array.prototype.slice.call(arguments),null)};L.cat=Mn;
|
|
var Jn=function(a,b){if(0==a.length)return P("Image.constant",[]);for(var c=new L(a[0]),d=1;d<a.length;d++)c=P("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
L.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||sm(b[0])||rm(b[0])){for(var d=0;d<b.length;d++)if(!(sm(b[d])||rm(b[d])||b[d]instanceof M))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Am("Image.select",c)};L.prototype.select=L.prototype.select;
|
|
L.prototype.i=function(a,b){var c=Q(L.prototype.i,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var f=c.map,g;for(g in f)d.push(g),e[g]=new L(f[g])}var l=P("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new N;c.encode=function(n){return l.encode(n)};c.Dd=function(n,p){return Kj(n(l),p)};c.Z=function(){return{name:"",args:Va(d,function(n){return{name:n,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
L.prototype.expression=L.prototype.i;L.prototype.clip=function(a){try{a=new S(a)}catch(b){}return P("Image.clip",this,a)};L.prototype.clip=L.prototype.clip;L.prototype.Vh=function(a){var b=1!=arguments.length||sm(arguments[0])?fb(arguments):arguments[0];return P("Image.rename",this,b)};L.prototype.rename=L.prototype.Vh;L.prototype.name=function(){return"Image"};var Nn=function(a){if(this instanceof Nn){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Nn)return a}else return nm(Nn,arguments);On();if(Array.isArray(a))M.call(this,null,null),this.bd=a;else if(a instanceof M)M.call(this,a.F,a.args,a.U),this.bd=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(Nn,M);w("ee.List",Nn);var Pn=!1,On=function(){Pn||(Hm(Nn,"List","List"),Pn=!0)};
|
|
Nn.prototype.encode=function(a){return Array.isArray(this.bd)?Va(this.bd,function(b){return a(b)}):Nn.I.encode.call(this,a)};Nn.prototype.ja=function(a){return Array.isArray(this.bd)?Gj(a(this.bd)):Nn.I.ja.call(this,a)};Nn.prototype.name=function(){return"List"};var X=function(a,b){if(!(this instanceof X))return nm(X,arguments);if(a instanceof X)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");Qn();a instanceof S&&(a=new W(a));a instanceof W&&(a=[a]);if(sm(a)){var c={tableId:a};b&&(c.geometryColumn=b);U.call(this,new O("Collection.loadTable"),c)}else if(Array.isArray(a))U.call(this,new O("Collection"),{features:Va(a,function(d){return new W(d)})});else if(a instanceof Nn)U.call(this,
|
|
new O("Collection"),{features:a});else if(a instanceof Object&&"FeatureCollection"===a.type)U.call(this,new O("Collection"),{features:a.features.map(function(d){return new W(d)})});else if(a instanceof M)U.call(this,a.F,a.args,a.U);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(X,U);w("ee.FeatureCollection",X);var Rn=!1,Qn=function(){Rn||(Hm(X,"FeatureCollection","FeatureCollection"),Rn=!0)};
|
|
X.prototype.getMap=function(a,b){var c=Q(X.prototype.getMap,arguments),d=Am("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(void 0,c.callback);else return d.getMap()};X.prototype.getMap=X.prototype.getMap;X.prototype.X=function(a){return X.I.X.call(this,a)};X.prototype.getInfo=X.prototype.X;
|
|
X.prototype.xb=function(a,b,c,d){var e=Q(X.prototype.xb,arguments),f={table:this};e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);e.selectors&&(f.selectors=e.selectors);if(e.callback)zl(f,function(g,l){g?e.callback(Al(g)):e.callback(null,l)});else return Al(zl(f))};X.prototype.getDownloadURL=X.prototype.xb;
|
|
X.prototype.select=function(a,b,c){if(sm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(f){return f.select(d)})}var e=Q(X.prototype.select,arguments);return this.map(function(f){return f.select(e)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"FeatureCollection"};X.prototype.elementType=function(){return W};var Z=function(a){if(!(this instanceof Z))return nm(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Sn();a instanceof L&&(a=[a]);if(sm(a))U.call(this,new O("ImageCollection.load"),{id:a});else if(Array.isArray(a))U.call(this,new O("ImageCollection.fromImages"),{images:Va(a,function(b){return new L(b)})});else if(a instanceof Nn)U.call(this,new O("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof M)U.call(this,a.F,a.args,a.U);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,U);w("ee.ImageCollection",Z);var Tn=!1,Sn=function(){Tn||(Hm(Z,"ImageCollection","ImageCollection"),Hm(Z,"reduce","ImageCollection"),Tn=!0)};Z.prototype.jf=function(a,b){var c=Q(Z.prototype.jf,arguments);return Un(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.jf;
|
|
Z.prototype.nf=function(a,b){var c=Q(Z.prototype.nf,arguments);return Un(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.nf;
|
|
var Un=function(a,b,c,d){var e={};a=a.map(function(l){l=Dn(l,b.params);return En(l,b.params,e)});var f={},g=Gn(e,f);f.imageCollection=a.map(function(l){g.image=l;return Am("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!Wa(c,function(l){return l.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=sl;switch(d){case "video":c=tl;break;case "filmstrip":c=ul}if(b.callback)c(f,function(l,n){var p="";
|
|
if(void 0===n)try{p=vl(l)}catch(t){n=String(t.message)}b.callback(p,n)});else return vl(c(f))};Z.prototype.getMap=function(a,b){var c=Q(Z.prototype.getMap,arguments),d=P("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Z.prototype.getMap=Z.prototype.getMap;Z.prototype.X=function(a){return Z.I.X.call(this,a)};Z.prototype.getInfo=Z.prototype.X;
|
|
Z.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Z.prototype.select=Z.prototype.select;Z.prototype.first=function(){return new L(P("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return L};var Vn=function(a){this.Ue=a;this.id=null},Xn=function(a){var b={element:Wn(a)};Object.assign(b,a);b=zb(b,function(c){return null!=c});return new Vn(b)};
|
|
Vn.prototype.start=function(a,b){var c=this;A(this.Ue,"Task config must be specified for tasks to be started.");if(a){var d=function(){Oa(c.id);Ql(c.id,c.Ue,function(e,f){f?b(f):a()})};this.id?d():Bl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||Bl(1)[0],Oa(this.id,"Failed to obtain task ID."),Ql(this.id,this.Ue)};Vn.prototype.start=Vn.prototype.start;var Yn=function(a,b,c,d,e,f,g,l,n,p){var t=Q(Yn,arguments);t=Zn(t,"ASSET","EXPORT_IMAGE");return Xn(t)};
|
|
w("module$contents$ee$batch_Export.image.toAsset",Yn);var $n=function(a,b,c,d,e,f,g,l,n,p,t,C,D,ca,Y){var V=Q($n,arguments);V=Zn(V,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Xn(V)};w("module$contents$ee$batch_Export.image.toCloudStorage",$n);var ao=function(a,b,c,d,e,f,g,l,n,p,t,C,D,ca,Y){var V=Q(ao,arguments);V=Zn(V,"DRIVE","EXPORT_IMAGE");return Xn(V)};w("module$contents$ee$batch_Export.image.toDrive",ao);
|
|
var bo=function(a,b,c,d,e,f,g,l,n,p,t,C){var D=Q(bo,arguments);D=Zn(D,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Xn(D)};w("module$contents$ee$batch_Export.map.toCloudStorage",bo);var co=function(a,b,c,d,e,f){var g=Q(co,arguments);g=Zn(g,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Xn(g)};w("module$contents$ee$batch_Export.table.toCloudStorage",co);var eo=function(a,b,c,d,e,f){var g=Q(eo,arguments);g.type="EXPORT_FEATURES";g=Zn(g,"DRIVE","EXPORT_FEATURES");return Xn(g)};
|
|
w("module$contents$ee$batch_Export.table.toDrive",eo);var fo=function(a,b,c){var d=Q(fo,arguments);d=Zn(d,"ASSET","EXPORT_FEATURES");return Xn(d)};w("module$contents$ee$batch_Export.table.toAsset",fo);var go=function(a,b,c,d,e,f,g,l,n,p,t,C){var D=Q(go,arguments);D=Zn(D,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Xn(D)};w("module$contents$ee$batch_Export.video.toCloudStorage",go);var ho=function(a,b,c,d,e,f,g,l,n,p,t,C){var D=Q(ho,arguments);D=Zn(D,"DRIVE","EXPORT_VIDEO");return Xn(D)};
|
|
w("module$contents$ee$batch_Export.video.toDrive",ho);var io=function(a,b,c,d,e,f,g,l,n,p,t,C,D,ca,Y,V,Bb,iq,jq,kq){var Fi=Q(io,arguments);Fi=Zn(Fi,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Xn(Fi)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",io);
|
|
var Wn=function(a){var b=function(d){return d in a},c=jo.find(b);A(1===Ya(jo,b),'Expected a single "image" or "collection" key.');b=a[c];if(!(b instanceof L||b instanceof X||b instanceof Z||b instanceof R))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection or ee.Element.");delete a[c];return b},Zn=function(a,b,c){var d=void 0===d?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":null==e.fileFormat&&(e.fileFormat=
|
|
"GeoTIFF");a=e.fileFormat;null==a&&(a="GEO_TIFF");a=a.toUpperCase();switch(a){case "TIFF":case "TIF":case "GEO_TIFF":case "GEOTIFF":a="GEO_TIFF";break;case "TF_RECORD":case "TF_RECORD_IMAGE":case "TFRECORD":a="TF_RECORD_IMAGE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'GEOTIFF', 'TFRECORD'.");}e.fileFormat=a;null!=e.formatOptions&&(a=ko(e,a),delete e.formatOptions,Object.assign(e,a));e=lo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);
|
|
break;case "EXPORT_TILES":b=lo(e,b);e=b.fileFormat;null==e&&(e="AUTO_JPEG_PNG");e=e.toUpperCase();switch(e){case "AUTO":case "AUTO_JPEG_PNG":case "AUTO_JPG_PNG":e="AUTO_JPEG_PNG";break;case "JPG":case "JPEG":e="JPEG";break;case "PNG":e="PNG";break;default:throw Error("Invalid file format "+e+". Supported formats are: 'AUTO', 'PNG', and 'JPEG'.");}b.fileFormat=e;e=b;break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());a=e.fileFormat;null==a&&(a="CSV");a=a.toUpperCase();
|
|
switch(a){case "CSV":a="CSV";break;case "JSON":case "GEOJSON":case "GEO_JSON":a="GEO_JSON";break;case "KML":a="KML";break;case "KMZ":a="KMZ";break;case "SHP":a="SHP";break;case "TF_RECORD":case "TF_RECORD_TABLE":case "TFRECORD":a="TF_RECORD_TABLE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'CSV', 'GeoJSON', 'KML', 'KMZ', 'SHP', and 'TFRecord'.");}e.fileFormat=a;e=lo(e,b);break;case "EXPORT_VIDEO":e=mo(e);e=lo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
|
|
delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=mo(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=lo(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof S)b=b.he();else if("string"===typeof b)try{b=Qa(JSON.parse(b))}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");
|
|
}if(!(u(b)&&"type"in b))try{new an(b)}catch(f){try{new dn(b)}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}}b=JSON.stringify(b);d.region=b}return e},lo=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=
|
|
a.assetId||"";break;default:b=xa(a.folder);if(!ab(["string","undefined"],b))throw Error('Error: toDrive "folder" parameter must be a string, but is of type '+b+".");a.driveFolder=a.folder||"";a.driveFileNamePrefix=a.fileNamePrefix||"";delete a.folder;delete a.fileNamePrefix}return a},no={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},oo={GEO_TIFF:"tiff",
|
|
TF_RECORD_IMAGE:"tfrecord"},mo=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;var b=a.fileFormat;null==b&&(b="MP4");b=b.toUpperCase();switch(b){case "MP4":b="MP4";break;case "GIF":case "JIF":b="GIF";break;case "VP9":case "WEBM":b="VP9";break;default:throw Error("Invalid file format "+b+". Supported formats are: 'MP4', 'GIF', and 'WEBM'.");}a.fileFormat=b;return a},ko=function(a,b){var c=a.formatOptions;if(null==c)return{};if(Object.keys(a).some(function(n){return null!==
|
|
c&&n in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");a=oo[b];for(var d=no[b],e={},f=m(Object.entries(c)),g=f.next();!g.done;g=f.next()){var l=m(g.value);g=l.next().value;l=l.next().value;if(!ab(d,g))throw Error('"'+g+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+g[0].toUpperCase()+g.substring(1)]=Array.isArray(l)?l.join():l}return e},jo=["image","collection"];var po=function(a){if(!(this instanceof po))return nm(po,arguments);if(a instanceof po)return a;qo();if("number"===typeof a)M.call(this,null,null),this.ed=a;else if(a instanceof M)M.call(this,a.F,a.args,a.U),this.ed=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(po,M);w("ee.Number",po);var ro=!1,qo=function(){ro||(Hm(po,"Number","Number"),ro=!0)};po.prototype.encode=function(a){return"number"===typeof this.ed?this.ed:po.I.encode.call(this,a)};
|
|
po.prototype.ja=function(a){return"number"===typeof this.ed?Gj(a(this.ed)):po.I.ja.call(this,a)};po.prototype.name=function(){return"Number"};var so=function(a){if(!(this instanceof so))return nm(so,arguments);if(a instanceof so)return a;to();if("string"===typeof a)M.call(this,null,null),this.md=a;else if(a instanceof M)this.md=null,a.F&&"String"==a.F.Z().returns?M.call(this,a.F,a.args,a.U):M.call(this,new O("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(so,M);w("ee.String",so);var uo=!1,to=function(){uo||(Hm(so,"String","String"),uo=!0)};
|
|
so.prototype.encode=function(a){return"string"===typeof this.md?this.md:so.I.encode.call(this,a)};so.prototype.ja=function(a){return"string"===typeof this.md?Gj(a(this.md)):so.I.ja.call(this,a)};so.prototype.name=function(){return"String"};var vo=function(a,b){if(!(this instanceof vo))return nm(vo,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(wo(g in pm?pm[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.ab=xo(a,c,b);this.xg=b.apply(null,c)};x(vo,N);w("ee.CustomFunction",vo);vo.prototype.encode=function(a){return{type:"Function",argumentNames:Va(this.ab.args,function(b){return b.name}),body:a(this.xg)}};
|
|
vo.prototype.ja=function(a){return Lj(this.ab.args.map(function(b){return b.name}),a(this.xg))};vo.prototype.Dd=function(a,b){return Kj(a(this),b)};vo.prototype.Z=function(){return this.ab};
|
|
var wo=function(a,b){a=a||Object;if(!(a.prototype instanceof M))if(a&&a!=Object)if(a==String)a=so;else if(a==Number)a=po;else if(a==Array)a=r.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=M;var c=function(d){this.args=this.F=null;this.U=d};c.prototype=a.prototype;return new c(b)},yo=function(a,b){b={name:"",returns:"Object",args:Va(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof M?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new vo(b,a)},xo=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].U&&d.push(e);if(0===d.length)return a;c="_MAPPING_VAR_"+function(l){var n=function(t){return t.map(p).reduce(function(C,D){return C+D},0)},p=function(t){return t.Va?1:t.Fa?n(t.Fa.values):t.Ga?n(Object.values(t.Ga.values)):t.ya?n(Object.values(t.ya.arguments)):0};return n(Object.values(l.values))}(Fk(c.apply(null,b)))+"_";for(e=0;e<d.length;e++){var f=
|
|
d[e],g=c+e;b[f].U=g;a.args[f].name=g}return a};var zo=function(a,b){if(!(this instanceof zo))return nm(zo,arguments);if(a instanceof zo)return a;Ao();var c=Q(zo,arguments);a=c.date;c=c.tz;var d=new O("Date"),e={},f=null;if(sm(a)){if(e.value=a,c)if(sm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(rm(a))e.value=a;else if(za(a))e.value=Math.floor(a.getTime());else if(a instanceof M)a.F&&"Date"==a.F.Z().returns?(d=a.F,e=a.args,f=a.U):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);M.call(this,d,e,f)};x(zo,M);w("ee.Date",zo);var Bo=!1,Ao=function(){Bo||(Hm(zo,"Date","Date"),Bo=!0)};zo.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var Do=function(a){return Co(JSON.parse(a))};w("ee.Deserializer.fromJSON",Do);var Co=function(a){if("result"in a&&"values"in a)return Eo(a);var b={};if(u(a)&&"CompoundValue"===a.type){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],f=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=Fo(f,b)}a=a.value}return Fo(a,b)};w("ee.Deserializer.decode",Co);
|
|
var Fo=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Va(a,function(e){return Fo(e,b)});if(!u(a)||"function"===typeof a)throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":a=a.value;if("string"!==typeof a)throw Error("Invalid variable name: "+a);return wo(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
a);return new zo(a/1E3);case "Bytes":return Go(new We({ub:a}),a);case "Invocation":return c="functionName"in a?zm(a.functionName):Fo(a["function"],b),a=Ab(a.arguments,function(e){return Fo(e,b)}),Ho(c,a);case "Dictionary":return Ab(a.value,function(e){return Fo(e,b)});case "Function":var d=Fo(a.body,b);a={name:"",args:Va(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new vo(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new S(a);
|
|
case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},Go=function(a,b){var c=function(){};q(c,Ej);c.prototype.encode=function(){return b};c.prototype.ja=function(){return a};return new c},Ho=function(a,b){if(a instanceof N)return a.apply(b);if(a instanceof M){var c=function(){return N.apply(this,arguments)||this};q(c,N);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Dd=function(d,e){return Kj(d(a),e)};return new M(new c,
|
|
b)}throw Error("Invalid function value");},Io=function(a){return Eo(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",Io);
|
|
var Eo=function(a){var b=Gd(hf,a),c={},d=function(g,l){if(!(g in c)){if(!(g in b.values))throw Error("Cannot find "+l+" "+g);c[g]=e(b.values[g])}return c[g]},e=function(g){if(null!==g.kb)g=g.kb;else if(null!==g.Fa)g=g.Fa.values.map(e);else if(null!==g.Ga)g=Ab(g.Ga.values,e);else if(null!==g.Qb)g=wo(Object,g.Qb);else if(null!==g.Va)g=f(g.Va);else if(null!==g.ya){var l=g.ya;g=l.Wa?d(l.Wa,"function"):zm(l.functionName);l=Ab(l.arguments,e);g=Ho(g,l)}else g=null!==g.ub?Go(new We({ub:g.ub}),g.ub):null!==
|
|
g.Wb?Go(new We({Wb:g.Wb}),g.Wb):null!==g.Pa?d(g.Pa,"reference"):null;return g},f=function(g){var l=d(g.body,"function body");g={args:g.mc.map(function(n){return{name:n,type:"Object",optional:!1}}),name:"",returns:"Object"};return new vo(g,function(){return l})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",Eo);var Jo=function(a){if(!(this instanceof Jo))return nm(Jo,arguments);if(a instanceof Jo)return a;Ko();tm(a)?(M.call(this,null,null),this.Rc=a):(a instanceof M&&a.F&&"Dictionary"==a.F.Z().returns?M.call(this,a.F,a.args,a.U):M.call(this,new O("Dictionary"),{input:a},null),this.Rc=null)};x(Jo,M);w("ee.Dictionary",Jo);var Lo=!1,Ko=function(){Lo||(Hm(Jo,"Dictionary","Dictionary"),Lo=!0)};Jo.prototype.encode=function(a){return null!==this.Rc?a(this.Rc):Jo.I.encode.call(this,a)};
|
|
Jo.prototype.ja=function(a){return null!==this.Rc?Gj(a(this.Rc)):Jo.I.ja.call(this,a)};Jo.prototype.name=function(){return"Dictionary"};var Mo={};w("ee.Terrain",Mo);Mo.uf=!1;Mo.$j=function(){Mo.uf||(Hm(Mo,"Terrain","Terrain"),Mo.uf=!0)};Mo.reset=function(){Im(Mo);Mo.uf=!1};var So=function(a,b,c,d,e){if("ready"!=No||a||b){var f=null!=c;if(d)if(f)Oo.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==No&&f)Po.push(c);else if(No="loading",Yi(a,b,e),f)Po.push(c),Dm(Qo,Ro);else try{Dm(),Qo()}catch(g){throw Ro(g),g;}}else c&&c()};w("ee.initialize",So);
|
|
var Vo=function(){No="not_ready";tj=sj=hj=null;rj=!1;Bm=null;Cm={};Im(zo);Bo=!1;Im(Jo);Lo=!1;Im(R);Pm=!1;Im(L);Kn=!1;Im(W);Cn=!1;Im(U);An=!1;Im(Z);Tn=!1;Im(X);Rn=!1;Im(T);ln=!1;Im(S);Sm=!1;Im(Nn);Pn=!1;Im(po);ro=!1;Im(so);uo=!1;Mo.reset();for(var a=r.ee,b=0;b<To.length;b++){var c=To[b];Im(a[c]);delete a[c]}To=[];pm=a;a=Uo;for(var d in a)delete a[d]};w("ee.reset",Vo);var Wo={Bk:"not_ready",LOADING:"loading",Ck:"ready"};w("ee.InitState",Wo);w("ee.InitState.NOT_READY","not_ready");
|
|
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var No="not_ready",Po=[],Oo=[];w("ee.TILE_SIZE",256);var To=[],Uo={};w("ee.Algorithms",Uo);var Xo=function(a,b){"string"===typeof a&&(a=new O(a));return N.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",Xo);var Yo=function(a,b){"string"===typeof a&&(a=new O(a));return a.apply(b)};w("ee.apply",Yo);
|
|
var Qo=function(){if("loading"==No){try{Ao();Ko();Om();In();Bn();zn();Sn();Qn();kn();Qm();On();qo();to();Mo.$j();var a=Em(),b={},c={},d;for(d in a){b[-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d]=!0;var e=a[d].returns.replace(/<.*>/,"");c[e]=!0}var f=r.ee,g;for(g in b)g in c&&!(g in f)&&(f[g]=Zo(g),To.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,Cm[g]=!0):f[g].signature={});pm=f;$o()}catch(l){Ro(l);return}No="ready";for(Oo=[];0<Po.length;)Po.shift()()}},Ro=function(a){if("loading"==
|
|
No)for(No="not_ready",Po=[];0<Oo.length;)Oo.shift()(a)},$o=function(){var a=Fm();Eb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=Uo;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=hb(b,1)}f=function(g){return ym(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=v(c.toString,c);e[b[0]]=f}})},Zo=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),f=1==e.length;if(f&&e[0]instanceof
|
|
d)return e[0];if(!(this instanceof d))return nm(d,e);d=Gm(a);var g=!(e[0]instanceof M),l=!1;d&&(f?g?l=!0:e[0].F&&e[0].F.Z().returns==d.Z().returns||(l=!0):l=!0);if(l)e=um(e,d.Z())?e[0]:wm(d,e),M.call(this,d,xm(d,e));else{if(!f)throw Error("Too many arguments for ee."+a+"(): "+e);if(g)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];M.call(this,e.F,e.args,e.U)}};x(b,M);b.prototype.name=function(){return a};Hm(b,a,a);return b};
|
|
vm=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new L(a);case "Feature":return a instanceof U?P("Feature",P("Collection.geometry",a)):new W(a);case "Element":if(a instanceof R)return a;if(a instanceof S)return new W(a);if(a instanceof M)return new R(a.F,a.args,a.U);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof X?P("Collection.geometry",a):new S(a);case "FeatureCollection":case "Collection":return a instanceof U?
|
|
a:new X(a);case "ImageCollection":return new Z(a);case "Filter":return new T(a);case "Algorithm":if("string"===typeof a)return new O(a);if("function"===typeof a){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return yo(a,c)}if(a instanceof Ej)return a;throw Error("Argument is not a function: "+a);case "String":return sm(a)||a instanceof so||a instanceof M?new so(a):a;case "Dictionary":return tm(a)?a:new Jo(a);case "List":return new Nn(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new po(a);
|
|
default:if(b in c){d=Gm(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if("string"===typeof a){if(a in c[b])return c[b][a].call();throw Error("Unknown algorithm: "+b+"."+a);}return new c[b](a)}return a}}};var ap=function(a,b,c){xd.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.dh=new ld;this.bh=new ld};q(ap,xd);ap.prototype.getTile=function(a,b){var c=yd(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.Cb,this.token].join("/");this.Eb.push(c);this.Cb+=1;var d=dh("DIV");bp(this,b,a,c,d);cp(this);return d};
|
|
var bp=function(a,b,c,d,e){var f=Ji(Hi);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=v(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.dh.set(c,g),this.bh.set(c,e),cb(this.Eb,d),cp(this);else throw this.gg.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},cp=function(a){a.dispatchEvent(new zd(a.Eb.length))};ap.prototype.u=function(){this.bh=this.dh=null;xd.prototype.u.call(this)};
|
|
w("ee.FloatTileOverlay",ap);var dp=function(){this.be=new Map};dp.prototype.clear=function(){this.be.clear()};var ep=function(a,b){a.be.has(b)||a.be.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.be.get(b)};var fp=function(a){y.call(this);this.Xa=a;this.H={}};x(fp,y);var gp=[];fp.prototype.Ya=function(a,b,c,d){Array.isArray(b)||(b&&(gp[0]=b.toString()),b=gp);for(var e=0;e<b.length;e++){var f=Uc(a,b[e],c||this.handleEvent,d||!1,this.Xa||this);if(!f)break;this.H[f.key]=f}return this};fp.prototype.cd=function(a,b,c,d){return hp(this,a,b,c,d)};
|
|
var hp=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)hp(a,b,c[g],d,e,f);else{b=Tc(b,c,d||a.handleEvent,e,f||a.Xa||a);if(!b)return a;a.H[b.key]=b}return a};fp.prototype.le=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.le(a,b[f],c,d,e);else c=c||this.handleEvent,d=u(d)?!!d.capture:!!d,e=e||this.Xa||this,c=Vc(c),d=!!d,b=Jc(a)?a.Uc(b,c,d,e):a?(a=Xc(a))?a.Uc(b,c,d,e):null:null,b&&(bd(b),delete this.H[b.key])};
|
|
fp.prototype.kd=function(){yb(this.H,function(a,b){this.H.hasOwnProperty(b)&&bd(a)},this);this.H={}};fp.prototype.u=function(){fp.I.u.call(this);this.kd()};fp.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var jp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Gb[a.name]):(this.code=a=Na(a.code),this.name=ip(a));Ia.call(this,hc("%s %s",this.name,b))};x(jp,Ia);var ip=function(a){var b=Hb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Gb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};var kp=function(a,b){z.call(this,a.type,b);this.Ia=a};x(kp,z);var lp=function(){B.call(this);this.ba=new FileReader;this.ba.onloadstart=v(this.rc,this);this.ba.onprogress=v(this.rc,this);this.ba.onload=v(this.rc,this);this.ba.onabort=v(this.rc,this);this.ba.onerror=v(this.rc,this);this.ba.onloadend=v(this.rc,this)};x(lp,B);h=lp.prototype;h.abort=function(){try{this.ba.abort()}catch(a){throw new jp(a,"aborting read");}};h.yb=function(){return this.ba.readyState};h.getError=function(){return this.ba.error&&new jp(this.ba.error,"reading file")};
|
|
h.rc=function(a){this.dispatchEvent(new kp(a,this))};h.u=function(){lp.I.u.call(this);delete this.ba};h.readAsBinaryString=function(a){this.ba.readAsBinaryString(a)};h.readAsArrayBuffer=function(a){this.ba.readAsArrayBuffer(a)};h.readAsText=function(a,b){this.ba.readAsText(a,b)};var mp=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};h=mp.prototype;h.clone=function(){return new mp(this.top,this.right,this.bottom,this.left)};h.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};h.contains=function(a){return this&&a?a instanceof mp?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
|
|
h.expand=function(a,b,c,d){u(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
|
|
h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
|
|
h.translate=function(a,b){a instanceof Zg?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(Na(a),this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};h.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var np=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};h=np.prototype;h.clone=function(){return new np(this.left,this.top,this.width,this.height)};h.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
|
|
h.sh=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};h.intersects=function(a){return this.left<=a.left+a.width&&a.left<=this.left+this.width&&this.top<=a.top+a.height&&a.top<=this.top+this.height};
|
|
h.af=function(a){b:{var b=Math.max(this.left,a.left);var c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top),e=Math.min(this.top+this.height,a.top+a.height);if(d<=e){b=new np(b,d,c-b,e-d);break b}}b=null}if(b&&b.height&&b.width){b=[];c=this.top;d=this.height;e=this.left+this.width;var f=this.top+this.height,g=a.left+a.width,l=a.top+a.height;a.top>this.top&&(b.push(new np(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);l<f&&(b.push(new np(this.left,
|
|
l,this.width,f-l)),d=l-c);a.left>this.left&&b.push(new np(this.left,c,a.left-this.left,d));g<e&&b.push(new np(g,c,e-g,d));a=b}else a=[this.clone()];return a};h.contains=function(a){return a instanceof Zg?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
|
|
h.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};h.getCenter=function(){return new Zg(this.left+this.width/2,this.top+this.height/2)};h.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
|
|
h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};h.translate=function(a,b){a instanceof Zg?(this.left+=a.x,this.top+=a.y):(this.left+=Na(a),"number"===typeof b&&(this.top+=b));return this};
|
|
h.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var op=function(a,b){A(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};var pp=function(a,b){B.call(this);b=b||{};this.minZoom=b.minZoom||0;this.maxZoom=b.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=b.tileSize||new google.maps.Size(256,256);this.name=b.name;this.opacity="opacity"in b?b.opacity:1;this.ae=new dp;this.Db=new ld;this.Cb=0;this.fg=a;this.nb=new fp(this);this.projection=null;this.radius=0;this.alt=null};q(pp,B);h=pp.prototype;h.Le=function(a){return Uc(this,"tile-load",a)};h.Qf=function(a){bd(a)};
|
|
h.Vc=function(){return qp(this,"throttled")+qp(this,"loading")+qp(this,"new")};h.setOpacity=function(a){this.opacity=a;this.Db.forEach(function(b){op(b.sa,this.opacity)},this)};h.getStats=function(){return this.ae};
|
|
h.getTile=function(a,b,c){var d=1<<b;if(b<this.minZoom||0>a.y||a.y>=d)return c.createElement("div");var e=a.x%d;0>e&&(e+=d);d=new google.maps.Point(e,a.y);a=[[a.x,a.y,b,this.Cb++].join("-"),this.fg.jh()].join("-");b=this.Lg(d,b,c,a);b.tileSize=this.tileSize;op(b.sa,this.opacity);this.Db.set(a,b);rp(this,b);this.dispatchEvent(new sp(this.Vc()));this.fg.zh(b,(new Date).getTime()/1E3);return b.sa};h.releaseTile=function(a){var b=this.Db.get(a.id);this.Db.remove(a.id);b&&(b.abort(),Ha(b))};
|
|
var rp=function(a,b){a.nb.Ya(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.ck,d=(new Date).getTime();ep(this.ae,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new tp(this.Vc()));break;case "throttled":ep(this.ae,b.zoom).throttleCount++;this.dispatchEvent(new up(b.Ma));break;case "failed":ep(this.ae,b.zoom).errorCount++;this.dispatchEvent(new vp(b.Ma,b.Sj));break;case "aborted":this.dispatchEvent(new wp(this.Vc()))}})};
|
|
pp.prototype.u=function(){B.prototype.u.call(this);this.Db.forEach(Ha);this.Db.clear();this.Db=null;Ha(this.nb);this.fg=this.nb=null};var qp=function(a,b){return Ya(a.Db.S(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",pp);pp.prototype.removeTileCallback=pp.prototype.Qf;pp.prototype.addTileCallback=pp.prototype.Le;var tp=function(){z.call(this,"tile-load")};q(tp,z);var sp=function(){z.call(this,"tile-start")};q(sp,z);var up=function(){z.call(this,"tile-throttle")};q(up,z);
|
|
var vp=function(a,b){z.call(this,"tile-fail");this.errorMessage=b};q(vp,z);var wp=function(){z.call(this,"tile-abort")};q(wp,z);var xp=function(a,b,c,d){B.call(this);this.qc=a;this.zoom=b;this.sa=c.createElement("div");this.sa.id=d;this.fk=5;this.Xd=function(){};this.ce="new";this.Yh=0;this.wf=!1};q(xp,B);
|
|
var zp=function(a){if(!a.wf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");yp(a,"loading");a.ck=(new Date).getTime();a.bb=new Ki;a.bb.Cc="blob";a.bb.Ya("complete",function(){var b=Vi(a.bb),c=a.bb.getStatus();429==c&&yp(a,"throttled");if(Ci(c)){var d={};yb(Wi(a.bb),function(f,g){d[g.toLowerCase()]=f});a.tk=d;a.di=b;a.Tc()}else if(b){var e=new lp;e.Ya("loadend",function(){a.ld(e.ba.result)},void 0);e.readAsText(b)}else a.ld("Failed to load tile.")},
|
|
!1);a.bb.cd("ready",Fa(Ha,a.bb));a.Ma&&a.Ma.endsWith("&profiling=1")&&(a.Ma=a.Ma.replace("&profiling=1",""),a.bb.headers.set("X-Earth-Engine-Computation-Profile","1"));a.bb.send(a.Ma,"GET")};h=xp.prototype;h.Tc=function(){this.Xd(this);yp(this,"loaded")};h.Nc=function(){Ha(this.bb)};
|
|
h.ld=function(a){var b=function(c){try{if(c=JSON.parse(c),c.error&&c.error.message)return c.error.message}catch(d){}return c};this.Yh>=this.fk?(this.Sj=b(a),yp(this,"failed")):(this.Nc(),setTimeout(v(function(){this.Ta||(this.wf=!0,zp(this),this.wf=!1)},this),1E3*Math.pow(2,this.Yh++)))};h.abort=function(){this.Nc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&yp(this,this.ce in Ap?"removed":"aborted")};h.getStatus=function(){return this.ce};var yp=function(a,b){a.ce=b;a.dispatchEvent("status-changed")};
|
|
xp.prototype.u=function(){B.prototype.u.call(this);this.Nc();this.sa.remove();this.Xd=null};var Ap={aborted:!0,failed:!0,loaded:!0,removed:!0};var Bp=function(){y.call(this)};q(Bp,y);var Cp=function(a,b){pp.call(this,a,b);this.Ag=new ld;this.Wg=new ld};q(Cp,pp);Cp.prototype.Lg=function(a,b,c,d){var e=new Dp(a,b,c,d);this.nb.Ya(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Ag.set(a,new Float32Array(e.tb)),this.Wg.set(a,e.sa))});return e};Cp.prototype.u=function(){pp.prototype.u.call(this);this.Wg=this.Ag=null};w("ee.layers.BinaryOverlay",Cp);var Dp=function(a,b,c,d){xp.call(this,a,b,c,d)};q(Dp,xp);
|
|
Dp.prototype.Tc=function(){var a=new lp;a.Ya("loadend",function(){this.tb=a.ba.result;xp.prototype.Tc.call(this)},void 0,this);a.readAsArrayBuffer(this.di)};var Ep=function(a){B.call(this);this.Zc={};this.Yc={};this.Xa=new fp(this);this.$=a;this.Se=!1};x(Ep,B);var Fp=[oc&&!yc("11")?"readystatechange":"load","abort","error"],Gp=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Se=!1,a.Zc[b]={src:c,Kg:null}},Hp=function(a,b){delete a.Zc[b];var c=a.Yc[b];c&&(delete a.Yc[b],a.Xa.le(c,Fp,a.Kh))};
|
|
Ep.prototype.start=function(){var a=this.Zc;Ta(Eb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.Ta)){if(this.$){var d=this.$;d=(d?new jh(ih(d)):Ja||(Ja=new jh)).Qj("IMG")}else d=new Image;c.Kg&&(d.crossOrigin=c.Kg);this.Xa.Ya(d,Fp,this.Kh);this.Yc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
Ep.prototype.Kh=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));Hp(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Ta&&Ib(this.Yc)&&Ib(this.Zc)&&!this.Se&&(this.Se=!0,this.dispatchEvent("complete"))}};Ep.prototype.u=function(){delete this.Zc;delete this.Yc;Ha(this.Xa);Ep.I.u.call(this)};var Ip=function(a,b){pp.call(this,a,b)};q(Ip,pp);Ip.prototype.Lg=function(a,b,c,d){return new Jp(a,b,c,d)};w("ee.layers.ImageOverlay",Ip);var Jp=function(a,b,c,d){xp.call(this,a,b,c,d);this.Xd=Kp;this.qh=this.fa=this.Nd=null;this.fd=""};q(Jp,xp);
|
|
Jp.prototype.Tc=function(){try{var a=fc(this.di);this.fd=dc(a);var b="about:invalid#zClosurez"!==this.fd?this.fd:this.Ma}catch(c){b=this.Ma}this.fa=new Ep;Gp(this.fa,this.sa.id+"-image",b);this.qh=Tc(this.fa,Lp,function(c){"load"==c.type?(this.Nd=c.target,xp.prototype.Tc.call(this)):this.ld()},void 0,this);this.fa.start()};Jp.prototype.Nc=function(){xp.prototype.Nc.call(this);this.fa&&(bd(this.qh),Ha(this.fa))};Jp.prototype.u=function(){xp.prototype.u.call(this);this.fd&&URL.revokeObjectURL(this.fd)};
|
|
var Kp=function(a){a.sa.appendChild(a.Nd)},Lp=["load","abort","error"];var Mp=function(a){for(var b=arguments[0],c=1;c<arguments.length;c++){var d=arguments[c];if(0==d.lastIndexOf("/",0))b=d;else{var e;(e=""==b)||(e=b.length-1,e=0<=e&&b.indexOf("/",e)==e);b=e?b+d:b+("/"+d)}}return b};var Np=function(a,b,c,d){y.call(this);this.zg=a;this.ob=b;this.dg=d||"";this.Td=c};q(Np,Bp);Np.prototype.zh=function(a){if(a.zoom<=this.Td)a.Ma=this.Jd(a.qc,a.zoom);else{var b=a.zoom-this.Td,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.qc.x/c),Math.floor(a.qc.y/c));a.Ma=this.Jd(c,a.zoom-b);a.Xd=Fa(Op,this.Td)}var d=v(a.ld,a);a.ld=v(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?yp(a,"loaded"):d(e)},a);zp(a)};
|
|
Np.prototype.jh=function(){return[this.zg,this.ob,this.Td,this.dg].join("-")};Np.prototype.Jd=function(a,b){a=Mp("https://storage.googleapis.com",this.zg,this.ob,String(b),String(a.x),String(a.y));this.dg&&(a+=this.dg);return a};
|
|
var Op=function(a,b){if(!b.Nd)throw Error("Tile must have an image element to be rendered.");a=Math.pow(2,b.zoom-a);var c=b.tileSize.width,d=b.sa.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.sa.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Nd,c/a*(b.qc.x%a),c/a*(b.qc.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",Np);var Pp=function(){this.Ja=[];this.Ra=[]};h=Pp.prototype;h.enqueue=function(a){this.Ra.push(a)};h.Qc=function(){0==this.Ja.length&&(this.Ja=this.Ra,this.Ja.reverse(),this.Ra=[]);return this.Ja.pop()};h.M=function(){return this.Ja.length+this.Ra.length};h.isEmpty=function(){return 0==this.Ja.length&&0==this.Ra.length};h.clear=function(){this.Ja=[];this.Ra=[]};h.contains=function(a){return ab(this.Ja,a)||ab(this.Ra,a)};
|
|
h.remove=function(a){var b=this.Ja;var c=Sa(b,a);0<=c?(db(b,c),b=!0):b=!1;return b||cb(this.Ra,a)};h.S=function(){for(var a=[],b=this.Ja.length-1;0<=b;--b)a.push(this.Ja[b]);var c=this.Ra.length;for(b=0;b<c;++b)a.push(this.Ra[b]);return a};var Qp=function(a,b){y.call(this);this.Hh=a||0;this.Sd=b||10;if(this.Hh>this.Sd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ua=new Pp;this.zb=new ud;this.delay=0;this.xf=null;this.td()};x(Qp,y);Qp.prototype.Wc=function(){var a=Date.now();if(!(null!=this.xf&&a-this.xf<this.delay)){for(var b;0<this.Ua.M()&&(b=this.Ua.Qc(),!this.Gf(b));)this.td();!b&&this.M()<this.Sd&&(b=this.Ve());b&&(this.xf=a,this.zb.add(b));return b}};
|
|
var Rp=function(a,b){return a.zb.remove(b)?(a.Ke(b),!0):!1};h=Qp.prototype;h.Ke=function(a){this.zb.remove(a);this.Gf(a)&&this.M()<this.Sd?this.Ua.enqueue(a):this.Bd(a)};h.td=function(){for(var a=this.Ua;this.M()<this.Hh;)a.enqueue(this.Ve());for(;this.M()>this.Sd&&0<this.Ua.M();)this.Bd(a.Qc())};h.Ve=function(){return{}};h.Bd=function(a){if("function"==typeof a.Sa)a.Sa();else for(var b in a)a[b]=null};h.Gf=function(a){return"function"==typeof a.Oj?a.Oj():!0};
|
|
h.contains=function(a){return this.Ua.contains(a)||this.zb.contains(a)};h.M=function(){return this.Ua.M()+this.zb.M()};h.isEmpty=function(){return this.Ua.isEmpty()&&this.zb.isEmpty()};h.u=function(){Qp.I.u.call(this);if(0<this.zb.M())throw Error("[goog.structs.Pool] Objects not released");delete this.zb;for(var a=this.Ua;!a.isEmpty();)this.Bd(a.Qc());delete this.Ua};var Sp=function(a,b){this.wh=a;this.oe=b};Sp.prototype.getKey=function(){return this.wh};Sp.prototype.clone=function(){return new Sp(this.wh,this.oe)};var Tp=function(a){this.Aa=[];if(a)a:{if(a instanceof Tp){var b=a.Ka();a=a.S();if(0>=this.M()){for(var c=this.Aa,d=0;d<b.length;d++)c.push(new Sp(b[d],a[d]));break a}}else b=Eb(a),a=Db(a);for(d=0;d<b.length;d++)Up(this,b[d],a[d])}},Up=function(a,b,c){var d=a.Aa;d.push(new Sp(b,c));b=d.length-1;a=a.Aa;for(c=a[b];0<b;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};h=Tp.prototype;
|
|
h.remove=function(){var a=this.Aa,b=a.length,c=a[0];if(!(0>=b)){if(1==b)bb(a);else{a[0]=a.pop();a=0;b=this.Aa;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,g=2*a+2;f=g<d&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>e.getKey())break;b[a]=b[f];a=f}b[a]=e}return c.oe}};h.S=function(){for(var a=this.Aa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].oe);return b};h.Ka=function(){for(var a=this.Aa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
h.Oc=function(a){return Wa(this.Aa,function(b){return b.oe==a})};h.wb=function(a){return Wa(this.Aa,function(b){return b.getKey()==a})};h.clone=function(){return new Tp(this)};h.M=function(){return this.Aa.length};h.isEmpty=function(){return 0==this.Aa.length};h.clear=function(){bb(this.Aa)};var Vp=function(){Tp.call(this)};x(Vp,Tp);Vp.prototype.enqueue=function(a,b){Up(this,a,b)};Vp.prototype.Qc=function(){return this.remove()};var Wp=function(a,b){this.Ug=void 0;this.Zd=new Vp;Qp.call(this,a,b)};x(Wp,Qp);h=Wp.prototype;h.Wc=function(a,b){if(!a)return(a=Wp.I.Wc.call(this))&&this.delay&&(this.Ug=r.setTimeout(v(this.Ld,this),this.delay)),a;this.Zd.enqueue(void 0!==b?b:100,a);this.Ld()};h.Ld=function(){for(var a=this.Zd;0<a.M();){var b=this.Wc();if(b)a.Qc().apply(this,[b]);else break}};h.Ke=function(a){Wp.I.Ke.call(this,a);this.Ld()};h.td=function(){Wp.I.td.call(this);this.Ld()};
|
|
h.u=function(){Wp.I.u.call(this);r.clearTimeout(this.Ug);this.Zd.clear();this.Zd=null};var Xp=function(a,b){y.call(this);this.yf=a;this.ua=b||null};q(Xp,Bp);Xp.prototype.zh=function(a,b){var c=Uc(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.tk["x-earth-engine-computation-profile"];this.ua&&e&&this.ua.Kj(a.sa.id,e);break;case "failed":case "aborted":this.ua&&""!==a.sa.id&&this.ua.lk(a.sa.id),bd(c)}},void 0,this);a.Ma=this.Jd(a.qc,a.zoom);var d=v(this.pf,this,a);Yp().Wc(d,b)};Xp.prototype.jh=function(){return this.yf.mapid+"-"+this.yf.token};
|
|
Xp.prototype.pf=function(a,b){var c=Yp();if(a.Ta||"aborted"==a.getStatus())Rp(c,b);else{var d=Uc(a,"status-changed",function(){a.ce in Ap&&(bd(d),Rp(c,b))});zp(a)}};Xp.prototype.Jd=function(a,b){a=ql(this.yf,a.x,a.y,b);return this.ua&&this.ua.isEnabled()?a+"&profiling=1":a};var Yp=function(){Zp||(Zp=new Wp(0,4));return Zp};w("ee.layers.EarthEngineTileSource",Xp);var Zp=null;var aq=function(){B.call(this);this.ie=new $p(0,60);this.Bc=new ld};q(aq,B);aq.prototype.send=function(a,b,c,d,e){if(this.Bc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new bq(a,b,d,v(this.Uh,this),void 0!==e?e:1);this.Bc.set(a,b);a=v(this.pf,this,b);this.ie.Wc(a,c);return b};aq.prototype.abort=function(a){if(a=this.Bc.get(a))a.lc||(a.lc=!0,a.Ia=new z("abort")),this.Uh(a)};
|
|
aq.prototype.pf=function(a,b){if(a.fa||a.lc)cq(this,b);else if(a.pi=b,b.setActive(!0),b=new Ep,a.fa=b,!a.retry())throw Error("Cannot dispatch first request!");};aq.prototype.Uh=function(a){this.Bc.remove(a.getId());a.fa&&(cq(this,a.pi),a.fa.Sa());a.qf&&a.qf(a.Ia,a.Sh)};var cq=function(a,b){b.setActive(!1);if(!Rp(a.ie,b))throw Error("Object not released");};aq.prototype.u=function(){B.prototype.u.call(this);this.ie.Sa();this.ie=null;var a=this.Bc;Ta(a.S(),function(b){b.Sa()});a.clear();this.Bc=null};
|
|
w("ee.MapTileManager",aq);aq.vf=void 0;aq.ih=function(){return aq.vf?aq.vf:aq.vf=new aq};var bq=function(a,b,c,d,e){y.call(this);this.R=a;this.zk=b;this.gk=void 0!==e?e:1;this.qf=c;this.cc=d};q(bq,y);h=bq.prototype;h.getId=function(){return this.R};h.getUrl=function(){return this.zk};h.Xj=function(a){if(this.lc)this.cc&&this.cc(this);else switch(a.type){case "load":this.Ia=a;this.cc&&this.cc(this);break;case "error":case "abort":this.retry()||(this.Ia=a,this.cc&&this.cc(this))}};
|
|
h.u=function(){y.prototype.u.call(this);delete this.qf;delete this.cc};h.retry=function(){if(this.qg>this.gk)return!1;this.qg++;Hp(this.fa,this.R);setTimeout(v(this.uk,this),0);return!0};
|
|
h.uk=function(){if(!this.lc){var a=v(function(d){this.lc||(Gp(this.fa,this.R,d),Tc(this.fa,dq,v(this.Xj,this)),this.fa.start())},this),b=this.getUrl();if(ce(b).Ca.wb("profiling")){var c=new Ki;c.Cc="blob";c.Ya("complete",v(function(){this.Sh=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=dc(fc(Vi(c)));var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.cd("ready",v(c.Sa,c));c.send(b,"GET")}else a(b)}};h.qg=0;h.lc=!1;
|
|
h.fa=null;h.pi=null;h.Ia=null;h.Sh=null;var dq=["load","abort","error"],eq=function(){y.call(this);this.Ea=!1};q(eq,y);eq.prototype.setActive=function(a){this.Ea=a};eq.prototype.Pd=function(){return this.Ea};var $p=function(a,b){Wp.call(this,a,b)};q($p,Wp);$p.prototype.Ve=function(){return new eq};$p.prototype.Bd=function(a){a.Sa()};$p.prototype.Gf=function(a){return!a.Ta&&!a.Pd()};var fq=function(a,b,c,d,e){xd.call(this,a,b,c,d,e);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.name=d.name;this.hg=new ud;this.Hf=1;this.ua=e||null};q(fq,xd);h=fq.prototype;h.Le=function(a){return Uc(this,"tileevent",a)};h.Qf=function(a){bd(a)};
|
|
h.getTile=function(a,b,c){if(b<this.minZoom||0>a.y||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=yd(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ua&&this.ua.isEnabled()&&(a+="&profiling=1");b=[b,this.Cb,this.token].join("/");this.Cb+=1;c=dh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Eb.push(b);aq.ih().send(b,a,d,v(this.Wj,this,c,b));cp(this);return c};h.Vc=function(){return this.Eb.length};
|
|
h.releaseTile=function(a){aq.ih().abort(a.id);this.hg.remove(void 0!==a.firstElementChild?a.firstElementChild:hh(a.firstChild));""!==a.id&&(this.gg.remove(a.id),this.ua&&this.ua.lk(a.id))};h.setOpacity=function(a){this.Hf=a;var b=this.hg.kc();kd(b,function(c){op(c,a)})};
|
|
h.Wj=function(a,b,c,d){"error"==c.type?(cb(this.Eb,b),this.gg.add(b),this.dispatchEvent(c)):(cb(this.Eb,b),c.target&&"load"==c.type&&(c=c.target,this.hg.add(c),1!=this.Hf&&op(c,this.Hf),a.appendChild(c)),cp(this));this.ua&&null!==d&&this.ua.Kj(b,d)};w("ee.MapLayerOverlay",fq);fq.prototype.removeTileCallback=fq.prototype.Qf;fq.prototype.addTileCallback=fq.prototype.Le;fq.prototype.getTile=fq.prototype.getTile;fq.prototype.setOpacity=fq.prototype.setOpacity;fq.prototype.releaseTile=fq.prototype.releaseTile;var gq=function(a,b,c){y.call(this);this.dd=a;this.Ab=b||0;this.Xa=c;this.Nj=v(this.sc,this)};x(gq,y);h=gq.prototype;h.R=0;h.u=function(){gq.I.u.call(this);this.stop();delete this.dd;delete this.Xa};h.start=function(a){this.stop();this.R=Oh(this.Nj,void 0!==a?a:this.Ab)};h.stop=function(){this.Pd()&&r.clearTimeout(this.R);this.R=0};h.Gd=function(){this.stop();this.sc()};h.Pd=function(){return 0!=this.R};h.sc=function(){this.R=0;this.dd&&this.dd.call(this.Xa)};var hq=function(a,b){if(!(this instanceof hq))return new hq(a,b);this.ob=a;this.ab=b};x(hq,N);w("ee.SavedFunction",hq);hq.prototype.encode=function(a){return P("LoadAlgorithmById",this.ob).encode(a)};hq.prototype.Z=function(){return this.ab};(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._call ee.ApiFunction._apply ee.Collection.prototype.filter ee.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.filterMetadata ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.renameAsset ee.data.setAssetAcl ee.data.deleteAsset ee.data.setAssetProperties ee.data.copyAsset ee.data.authenticateViaPopup ee.data.getAssetRootQuota ee.data.authenticate ee.data.getAssetAcl ee.data.authenticateViaPrivateKey ee.data.updateAsset ee.data.authenticateViaOauth ee.data.getMapId ee.data.updateTask ee.data.listImages ee.data.getAssetRoots ee.data.getTaskList ee.data.getTileUrl ee.data.startProcessing ee.data.getDownloadId ee.data.listBuckets ee.data.createAssetHome ee.data.makeDownloadUrl ee.data.startTableIngestion ee.data.getTaskListWithLimit ee.data.getAsset ee.data.getTaskStatus ee.data.listOperations ee.data.getTableDownloadId ee.data.cancelTask ee.data.computeValue ee.data.makeTableDownloadUrl ee.data.cancelOperation ee.data.getVideoThumbId ee.data.getInfo ee.data.getThumbId ee.data.createAsset ee.data.makeThumbUrl ee.data.getFilmstripThumbId ee.data.getOperation ee.data.newTaskId ee.data.createFolder ee.data.startIngestion ee.data.listAssets ee.data.getList ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.InitState ee.initialize ee.call ee.reset ee.apply ee.Algorithms ee.TILE_SIZE ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMap ee.Filter.bounds ee.Filter.neq ee.Filter.eq ee.Filter ee.Filter.gte ee.Filter.metadata ee.Filter.inList ee.Filter.date ee.Filter.lte ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gt ee.Filter.prototype.not ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.LinearRing ee.Geometry.MultiPolygon ee.Geometry.prototype.serialize ee.Geometry.Point ee.Geometry.MultiLineString ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Image ee.Image.cat ee.Image.prototype.clip ee.Image.prototype.expression ee.Image.rgb ee.Image.prototype.getThumbURL ee.Image.prototype.getInfo ee.Image.prototype.getMap ee.Image.prototype.select ee.Image.prototype.rename ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.toJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.String ee.Terrain".split(" "),
|
|
c=[["name"],["name","var_args"],["name","namedArgs"],["filter"],["property","opt_ascending"],["algorithm","opt_dropNulls"],["geometry"],["max","opt_property","opt_ascending"],["name","operator","value"],["algorithm","opt_first"],["start","opt_end"],["opt_callback"],["legacy"],["func","var_args"],["callback"],["sourceId","destinationId","opt_callback"],["assetId","aclUpdate","opt_callback"],["assetId","opt_callback"],["assetId","properties","opt_callback"],["sourceId","destinationId","opt_overwrite",
|
|
"opt_callback"],["opt_success","opt_error"],["rootId","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["assetId","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes"],["assetId","asset","updateFields","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["params","opt_callback"],["taskId","action","opt_callback"],["parent","params","opt_callback"],["opt_callback"],["opt_callback"],["id","x","y",
|
|
"z"],["taskId","params","opt_callback"],["params","opt_callback"],["project","opt_callback"],["requestedId","opt_callback"],["id"],["taskId","request","opt_callback"],["opt_limit","opt_callback"],["id","opt_callback"],["taskId","opt_callback"],["opt_limit","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["obj","opt_callback"],["id"],["operationName","opt_callback"],["params","opt_callback"],["id","opt_callback"],["params","opt_callback"],["value","opt_path","opt_force","opt_properties",
|
|
"opt_callback"],["id"],["params","opt_callback"],["operationName","opt_callback"],["opt_count","opt_callback"],["path","opt_force","opt_callback"],["taskId","request","opt_callback"],["parent","params","opt_callback"],["params","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],["func","var_args"],[],["func","namedArgs"],[],[],["var_args"],["geometry","opt_properties"],["opt_visParams",
|
|
"opt_callback"],["opt_callback"],["args","opt_column"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["opt_visParams","opt_callback"],["geometry","opt_errorMargin"],["name","value"],["name","value"],["opt_filter"],["name","value"],["name","operator","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["start","opt_end"],["name","value"],["name","value"],["var_args"],["var_args"],
|
|
["name","value"],[],["namedArgs"],["var_args"],[],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["legacy"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],["west","south","east","north"],["coords","opt_proj"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic",
|
|
"opt_maxError","opt_evenOdd"],["opt_args"],["var_args"],["geometry"],["expression","opt_map"],["r","g","b"],["params","opt_callback"],["opt_callback"],["opt_visParams","opt_callback"],["var_args"],["var_args"],["params","opt_callback"],["params","opt_callback"],["selectors","opt_names"],["opt_visParams","opt_callback"],["params","opt_callback"],["params","opt_callback"],["opt_callback"],["args"],[],["list"],["number"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["obj"],["string"],
|
|
[]];[zm,P,Am,U.prototype.filter,U.prototype.sort,U.prototype.map,U.prototype.$g,U.prototype.limit,U.prototype.ff,U.prototype.vh,U.prototype.ef,M.prototype.X,M.prototype.va,M.prototype.ng,M.prototype.evaluate,fm,km,hm,lm,gm,il,mm,kl,im,ll,jm,jl,pl,Jl,$l,bm,Fl,ql,Ql,xl,am,cm,yl,Wl,El,Xl,Dl,Gl,zl,Kl,rl,Al,Hl,tl,Xl,sl,dm,vl,ul,Il,Bl,em,Ul,Zl,Yl,zo,Eo,Co,Do,Io,Jo,Wo,So,Xo,Vo,Yo,Uo,256,R.prototype.set,W,W.prototype.getMap,W.prototype.X,X,X.prototype.xb,X.prototype.X,X.prototype.select,X.prototype.getMap,
|
|
xn,on,nn,T,qn,yn,wn,vn,sn,pn,tn,un,rn,T.prototype.wc,N.prototype.apply,N.prototype.call,S.prototype.he,S.prototype.ig,bn,en,S.prototype.va,Tm,cn,Ym,Wm,S,Xm,an,dn,L,Mn,L.prototype.clip,L.prototype.i,Ln,L.prototype.lf,L.prototype.X,L.prototype.getMap,L.prototype.select,L.prototype.Vh,L.prototype.xb,L.prototype.Id,Z.prototype.select,Z.prototype.getMap,Z.prototype.nf,Z.prototype.jf,Z.prototype.X,Z,Z.prototype.first,Nn,po,Bk,Kk,Ak,Jk,Ik,Dk,Gk,so,Mo].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],
|
|
paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|