@google/earthengine 1.6.13 → 1.6.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,10 @@
1
- (function(){var h,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=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");
2
- },k=ca(this),n=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&&b!=null&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
1
+ (function(){var h,aa=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ba=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=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");
2
+ },k=ca(this),n=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&&b!=null&&ba(c,a,{configurable:!0,writable:!0,value:b})}},fa;if(typeof Object.setPrototypeOf=="function")fa=Object.setPrototypeOf;else{var ha;a:{var ia={a:!0},ja={};try{ja.__proto__=ia;ha=ja.a;break a}catch(a){}ha=!1}fa=ha?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
3
+ var ka=fa,q=function(a,b){a.prototype=aa(b.prototype);a.prototype.constructor=a;if(ka)ka(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.M=b.prototype},la=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},r=function(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:la(a)};
4
+ throw Error(String(a)+" is not an iterable or ArrayLike");},ma=function(a){if(!(a instanceof Array)){a=r(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},oa=function(a){return na(a,a)},na=function(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a},pa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},qa=typeof Object.assign=="function"?Object.assign:function(a,b){if(a==null)throw new TypeError("No nullish arg");a=Object(a);for(var c=1;c<arguments.length;c++){var d=
5
+ arguments[c];if(d)for(var e in d)pa(d,e)&&(a[e]=d[e])}return a};n("Object.assign",function(a){return a||qa});var ra=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};n("globalThis",function(a){return a||k});
3
6
  n("Symbol",function(a){if(a)return a;var b=function(g,f){this.Wi=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.Wi};var c="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e});
4
- n("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");ba(Array.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},ha=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ia;
5
- if(typeof Object.setPrototypeOf=="function")ia=Object.setPrototypeOf;else{var ja;a:{var ka={a:!0},la={};try{la.__proto__=ka;ja=la.a;break a}catch(a){}ja=!1}ia=ja?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
6
- var ma=ia,q=function(a,b){a.prototype=ha(b.prototype);a.prototype.constructor=a;if(ma)ma(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.M=b.prototype},r=function(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");},na=function(a){if(!(a instanceof
7
- Array)){a=r(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},pa=function(a){return oa(a,a)},oa=function(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a},qa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},ra=typeof Object.assign=="function"?Object.assign:function(a,b){if(a==null)throw new TypeError("No nullish arg");a=Object(a);for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)qa(d,e)&&(a[e]=d[e])}return a};
8
- n("Object.assign",function(a){return a||ra});var sa=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};n("globalThis",function(a){return a||k});
7
+ n("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");ba(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return sa(la(this))}});return a});var sa=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a};
9
8
  n("Promise",function(a){function b(){this.nb=null}function c(f){return f instanceof e?f:new e(function(l){l(f)})}if(a)return a;b.prototype.Hg=function(f){if(this.nb==null){this.nb=[];var l=this;this.Ig(function(){l.Wk()})}this.nb.push(f)};var d=k.setTimeout;b.prototype.Ig=function(f){d(f,0)};b.prototype.Wk=function(){for(;this.nb&&this.nb.length;){var f=this.nb;this.nb=[];for(var l=0;l<f.length;++l){var m=f[l];f[l]=null;try{m()}catch(p){this.Ok(p)}}}this.nb=null};b.prototype.Ok=function(f){this.Ig(function(){throw f;
10
9
  })};var e=function(f){this.U=0;this.ia=void 0;this.wc=[];this.Kh=!1;var l=this.af();try{f(l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.af=function(){function f(p){return function(v){m||(m=!0,p.call(l,v))}}var l=this,m=!1;return{resolve:f(this.ul),reject:f(this.Yf)}};e.prototype.ul=function(f){if(f===this)this.Yf(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.wl(f);else{a:switch(typeof f){case "object":var l=f!=null;break a;case "function":l=!0;break a;default:l=
11
10
  !1}l?this.tl(f):this.Bh(f)}};e.prototype.tl=function(f){var l=void 0;try{l=f.then}catch(m){this.Yf(m);return}typeof l=="function"?this.xl(l,f):this.Bh(f)};e.prototype.Yf=function(f){this.zi(2,f)};e.prototype.Bh=function(f){this.zi(1,f)};e.prototype.zi=function(f,l){if(this.U!=0)throw Error("Cannot settle("+f+", "+l+"): Promise already settled in state"+this.U);this.U=f;this.ia=l;this.U===2&&this.vl();this.Yk()};e.prototype.vl=function(){var f=this;d(function(){if(f.ol()){var l=k.console;typeof l!==
@@ -13,13 +12,13 @@ n("Promise",function(a){function b(){this.nb=null}function c(f){return f instanc
13
12
  this.wc=null}};var g=new b;e.prototype.wl=function(f){var l=this.af();f.Cd(l.resolve,l.reject)};e.prototype.xl=function(f,l){var m=this.af();try{f.call(l,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(f,l){function m(B,H){return typeof B=="function"?function(ea){try{p(B(ea))}catch(W){v(W)}}:H}var p,v,z=new e(function(B,H){p=B;v=H});this.Cd(m(f,p),m(l,v));return z};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.Cd=function(f,l){function m(){switch(p.U){case 1:f(p.ia);
14
13
  break;case 2:l(p.ia);break;default:throw Error("Unexpected state: "+p.U);}}var p=this;this.wc==null?g.Hg(m):this.wc.push(m);this.Kh=!0};e.resolve=c;e.reject=function(f){return new e(function(l,m){m(f)})};e.race=function(f){return new e(function(l,m){for(var p=r(f),v=p.next();!v.done;v=p.next())c(v.value).Cd(l,m)})};e.all=function(f){var l=r(f),m=l.next();return m.done?c([]):new e(function(p,v){function z(ea){return function(W){B[ea]=W;H--;H==0&&p(B)}}var B=[],H=0;do B.push(void 0),H++,c(m.value).Cd(z(B.length-
15
14
  1),v),m=l.next();while(!m.done)})};return e});n("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")});var ta=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};n("Array.prototype.keys",function(a){return a?a:function(){return ta(this,function(b){return b})}});
16
- n("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return p==="object"&&m!==null||p==="function"}function d(m){if(!qa(m,g)){var p=new b;ba(m,g,{value:p})}}function e(m){var p=Object[m];p&&(Object[m]=function(v){if(v instanceof b)return v;Object.isExtensible(v)&&d(v);return p(v)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),p=Object.seal({}),v=new a([[m,2],[p,3]]);if(v.get(m)!=2||v.get(p)!=3)return!1;v.delete(m);v.set(p,4);return!v.has(m)&&v.get(p)==4}catch(z){return!1}}())return a;
17
- var g="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var f=0,l=function(m){this.ea=(f+=Math.random()+1).toString();if(m){m=r(m);for(var p;!(p=m.next()).done;)p=p.value,this.set(p[0],p[1])}};l.prototype.set=function(m,p){if(!c(m))throw Error("Invalid WeakMap key");d(m);if(!qa(m,g))throw Error("WeakMap key fail: "+m);m[g][this.ea]=p;return this};l.prototype.get=function(m){return c(m)&&qa(m,g)?m[g][this.ea]:void 0};l.prototype.has=function(m){return c(m)&&qa(m,g)&&qa(m[g],
18
- this.ea)};l.prototype.delete=function(m){return c(m)&&qa(m,g)&&qa(m[g],this.ea)?delete m[g][this.ea]:!1};return l});
15
+ n("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return p==="object"&&m!==null||p==="function"}function d(m){if(!pa(m,g)){var p=new b;ba(m,g,{value:p})}}function e(m){var p=Object[m];p&&(Object[m]=function(v){if(v instanceof b)return v;Object.isExtensible(v)&&d(v);return p(v)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),p=Object.seal({}),v=new a([[m,2],[p,3]]);if(v.get(m)!=2||v.get(p)!=3)return!1;v.delete(m);v.set(p,4);return!v.has(m)&&v.get(p)==4}catch(z){return!1}}())return a;
16
+ var g="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var f=0,l=function(m){this.ea=(f+=Math.random()+1).toString();if(m){m=r(m);for(var p;!(p=m.next()).done;)p=p.value,this.set(p[0],p[1])}};l.prototype.set=function(m,p){if(!c(m))throw Error("Invalid WeakMap key");d(m);if(!pa(m,g))throw Error("WeakMap key fail: "+m);m[g][this.ea]=p;return this};l.prototype.get=function(m){return c(m)&&pa(m,g)?m[g][this.ea]:void 0};l.prototype.has=function(m){return c(m)&&pa(m,g)&&pa(m[g],
17
+ this.ea)};l.prototype.delete=function(m){return c(m)&&pa(m,g)&&pa(m[g],this.ea)?delete m[g][this.ea]:!1};return l});
19
18
  n("Map",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var l=Object.seal({x:4}),m=new a(r([[l,"s"]]));if(m.get(l)!="s"||m.size!=1||m.get({x:4})||m.set({x:4},"t")!=m||m.size!=2)return!1;var p=m.entries(),v=p.next();if(v.done||v.value[0]!=l||v.value[1]!="s")return!1;v=p.next();return v.done||v.value[0].x!=4||v.value[1]!="t"||!p.next().done?!1:!0}catch(z){return!1}}())return a;var b=new WeakMap,c=function(l){this[0]={};this[1]=
20
19
  g();this.size=0;if(l){l=r(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}};c.prototype.set=function(l,m){l=l===0?0:l;var p=d(this,l);p.list||(p.list=this[0][p.id]=[]);p.entry?p.entry.value=m:(p.entry={next:this[1],jb:this[1].jb,head:this[1],key:l,value:m},p.list.push(p.entry),this[1].jb.next=p.entry,this[1].jb=p.entry,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.entry&&l.list?(l.list.splice(l.index,1),l.list.length||delete this[0][l.id],l.entry.jb.next=
21
20
  l.entry.next,l.entry.next.jb=l.entry.jb,l.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].jb=g();this.size=0};c.prototype.has=function(l){return!!d(this,l).entry};c.prototype.get=function(l){return(l=d(this,l).entry)&&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=
22
- function(l,m){for(var p=this.entries(),v;!(v=p.next()).done;)v=v.value,l.call(m,v[1],v[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,m){var p=m&&typeof m;p=="object"||p=="function"?b.has(m)?p=b.get(m):(p=""+ ++f,b.set(m,p)):p="p_"+m;var v=l[0][p];if(v&&qa(l[0],p))for(l=0;l<v.length;l++){var z=v[l];if(m!==m&&z.key!==z.key||m===z.key)return{id:p,list:v,index:l,entry:z}}return{id:p,list:v,index:-1,entry:void 0}},e=function(l,m){var p=l[1];return fa(function(){if(p){for(;p.head!=
21
+ function(l,m){for(var p=this.entries(),v;!(v=p.next()).done;)v=v.value,l.call(m,v[1],v[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,m){var p=m&&typeof m;p=="object"||p=="function"?b.has(m)?p=b.get(m):(p=""+ ++f,b.set(m,p)):p="p_"+m;var v=l[0][p];if(v&&pa(l[0],p))for(l=0;l<v.length;l++){var z=v[l];if(m!==m&&z.key!==z.key||m===z.key)return{id:p,list:v,index:l,entry:z}}return{id:p,list:v,index:-1,entry:void 0}},e=function(l,m){var p=l[1];return sa(function(){if(p){for(;p.head!=
23
22
  l[1];)p=p.jb;for(;p.next!=p.head;)return p=p.next,{done:!1,value:m(p)};p=null}return{done:!0,value:void 0}})},g=function(){var l={};return l.jb=l.next=l.head=l},f=0;return c});
24
23
  n("Set",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(r([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||g.value[0].x!=4||g.value[1]!=g.value[0]?!1:e.next().done}catch(f){return!1}}())return a;var b=function(c){this.B=new Map;if(c){c=
25
24
  r(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.B.size};b.prototype.add=function(c){c=c===0?0:c;this.B.set(c,c);this.size=this.B.size;return this};b.prototype.delete=function(c){c=this.B.delete(c);this.size=this.B.size;return c};b.prototype.clear=function(){this.B.clear();this.size=0};b.prototype.has=function(c){return this.B.has(c)};b.prototype.entries=function(){return this.B.entries()};b.prototype.values=function(){return this.B.values()};b.prototype.keys=b.prototype.values;
@@ -27,12 +26,12 @@ b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d
27
26
  var ua=function(a,b,c){if(a==null)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+""};n("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ua(this,b,"startsWith");b+="";var e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var f=0;f<g&&c<e;)if(d[c++]!=b[f++])return!1;return f>=g}});
28
27
  n("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=ua(this,b,"endsWith");b+="";c===void 0&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;e>0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});n("String.prototype.repeat",function(a){return a?a:function(b){var c=ua(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
29
28
  n("Array.prototype.values",function(a){return a?a:function(){return ta(this,function(b,c){return c})}});n("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(l){return l};var e=[],g=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof g=="function"){b=g.call(b);for(var f=0;!(g=b.next()).done;)e.push(c.call(d,g.value,f++))}else for(g=b.length,f=0;f<g;f++)e.push(c.call(d,b[f],f));return e}});
30
- n("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)qa(b,d)&&c.push([d,b[d]]);return c}});n("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});n("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(c<0&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});
29
+ n("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}});n("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});n("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(c<0&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});
31
30
  n("String.prototype.includes",function(a){return a?a:function(b,c){return ua(this,b,"includes").indexOf(b,c||0)!==-1}});n("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});
32
31
  n("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,g=0;g<e;g++){var f=d[g];if(b.call(c,f,g,d)){b=f;break a}}b=void 0}return b}});n("Set.prototype.difference",function(a){return a?a:function(b){va(this);wa(b);var c=xa(this,b);b=new Set(this);var d=c.lg;c=c.Df;for(var e=d.next();!e.done;)c.has(e.value)&&b.delete(e.value),e=d.next();return b}});
33
32
  n("Set.prototype.intersection",function(a){return a?a:function(b){va(this);wa(b);var c=new Set,d=xa(this,b);b=d.lg;d=d.Df;for(var e=b.next();!e.done;)d.has(e.value)&&c.add(e.value),e=b.next();return c}});n("Set.prototype.isSubsetOf",function(a){return a?a:function(b){va(this);wa(b);if(this.size>b.size)return!1;for(var c=this.keys(),d=c.next();!d.done;){if(!b.has(d.value))return!1;d=c.next()}return!0}});
34
33
  var wa=function(a){if(typeof a!=="object"||a===null||typeof a.size!=="number"||a.size<0||typeof a.keys!=="function"||typeof a.has!=="function")throw new TypeError("Argument must be set-like");},xa=function(a,b){if(a.size<=b.size)a={lg:a.keys(),Df:b};else{b=b.keys();if(typeof b!=="object"||b===null||typeof b.next!=="function")throw new TypeError("Invalid iterator.");a={lg:b,Df:a}}return a},va=function(a){if(!(a instanceof Set))throw new TypeError("Method must be called on an instance of Set.");};
35
- n("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)qa(b,d)&&c.push(b[d]);return c}});n("String.prototype.padStart",function(a){return a?a:function(b,c){var d=ua(this,null,"padStart");b-=d.length;c=c!==void 0?String(c):" ";return(b>0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});/*
34
+ n("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}});n("String.prototype.padStart",function(a){return a?a:function(b,c){var d=ua(this,null,"padStart");b-=d.length;c=c!==void 0?String(c):" ";return(b>0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});/*
36
35
 
37
36
  Copyright The Closure Library Authors.
38
37
  SPDX-License-Identifier: Apache-2.0
@@ -51,7 +50,7 @@ function mb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in
51
50
  Copyright Google LLC
52
51
  SPDX-License-Identifier: Apache-2.0
53
52
  */
54
- var nb={};function ob(){if(nb!==nb)throw Error("Bad secret");};var pb=globalThis.trustedTypes,qb;function rb(){var a=null;if(!pb)return a;try{var b=function(c){return c};a=pb.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){throw c;}return a};var sb=function(a){ob();this.ji=a};sb.prototype.toString=function(){return this.ji+""};function tb(a){var b;qb===void 0&&(qb=rb());a=(b=qb)?b.createScriptURL(a):a;return new sb(a)}function ub(a){if(a instanceof sb)return a.ji;throw Error("Unexpected type when unwrapping TrustedResourceUrl");};var vb=pa([""]),wb=oa(["\x00"],["\\0"]),xb=oa(["\n"],["\\n"]),yb=oa(["\x00"],["\\u0000"]),zb=pa([""]),Ab=oa(["\x00"],["\\0"]),Bb=oa(["\n"],["\\n"]),Cb=oa(["\x00"],["\\u0000"]);function Db(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function Eb(a){return a.toString().indexOf("`")===-1}var Fb=Eb(function(a){return a(vb)})||Eb(function(a){return a(wb)})||Eb(function(a){return a(xb)})||Eb(function(a){return a(yb)}),Gb=Db(zb)&&Db(Ab)&&Db(Bb)&&Db(Cb);var Hb=function(a){ob();this.ki=a};Hb.prototype.toString=function(){return this.ki};function Ib(a){return new Hb(a)}Ib("about:blank");var Kb=Ib("about:invalid#zClosurez");function Lb(a){if(a instanceof Hb)return a.ki;throw Error("Unexpected type when unwrapping SafeUrl, got '"+a+"' of type '"+typeof a+"'");};function Mb(a){var b=window;if(typeof MediaSource!=="undefined"&&a instanceof MediaSource||typeof b.ManagedMediaSource!=="undefined"&&a instanceof b.ManagedMediaSource)return Ib(URL.createObjectURL(a));b=a.type;b.toLowerCase()==="application/octet-stream"?b=!0:(b=b.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i),b=(b==null?void 0:b.length)===2&&(/^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif|avif|x-ms-bmp)$/i.test(b[1])||/^video\/(?:3gpp|avi|mpeg|mpg|mp4|ogg|webm|x-flv|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||
53
+ var nb={};function ob(){if(nb!==nb)throw Error("Bad secret");};var pb=globalThis.trustedTypes,qb;function rb(){var a=null;if(!pb)return a;try{var b=function(c){return c};a=pb.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){throw c;}return a};var sb=function(a){ob();this.ji=a};sb.prototype.toString=function(){return this.ji+""};function tb(a){var b;qb===void 0&&(qb=rb());a=(b=qb)?b.createScriptURL(a):a;return new sb(a)}function ub(a){if(a instanceof sb)return a.ji;throw Error("Unexpected type when unwrapping TrustedResourceUrl");};var vb=oa([""]),wb=na(["\x00"],["\\0"]),xb=na(["\n"],["\\n"]),yb=na(["\x00"],["\\u0000"]),zb=oa([""]),Ab=na(["\x00"],["\\0"]),Bb=na(["\n"],["\\n"]),Cb=na(["\x00"],["\\u0000"]);function Db(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function Eb(a){return a.toString().indexOf("`")===-1}var Fb=Eb(function(a){return a(vb)})||Eb(function(a){return a(wb)})||Eb(function(a){return a(xb)})||Eb(function(a){return a(yb)}),Gb=Db(zb)&&Db(Ab)&&Db(Bb)&&Db(Cb);var Hb=function(a){ob();this.ki=a};Hb.prototype.toString=function(){return this.ki};function Ib(a){return new Hb(a)}Ib("about:blank");var Kb=Ib("about:invalid#zClosurez");function Lb(a){if(a instanceof Hb)return a.ki;throw Error("Unexpected type when unwrapping SafeUrl, got '"+a+"' of type '"+typeof a+"'");};function Mb(a){var b=window;if(typeof MediaSource!=="undefined"&&a instanceof MediaSource||typeof b.ManagedMediaSource!=="undefined"&&a instanceof b.ManagedMediaSource)return Ib(URL.createObjectURL(a));b=a.type;b.toLowerCase()==="application/octet-stream"?b=!0:(b=b.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i),b=(b==null?void 0:b.length)===2&&(/^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif|avif|x-ms-bmp)$/i.test(b[1])||/^video\/(?:3gpp|avi|mpeg|mpg|mp4|ogg|webm|x-flv|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||
55
54
  /^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(b[1])||/^font\/[\w-]+$/i.test(b[1])));if(!b)throw Error("unsafe blob MIME type: "+a.type);return Ib(URL.createObjectURL(a))}var Nb=[],Ob=function(a){console.warn("A URL with content '"+a+"' was sanitized away.")};Nb.indexOf(Ob)===-1&&Nb.push(Ob);function Pb(a,b){a.src=ub(b);var c;b=a.ownerDocument;b=b===void 0?document:b;var d;b=(d=(c=b).querySelector)==null?void 0:d.call(c,"script[nonce]");(c=b==null?"":b.nonce||b.getAttribute("nonce")||"")&&a.setAttribute("nonce",c)};function Qb(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,Qb);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b)}y(Qb,Error);Qb.prototype.name="CustomError";var Rb;function Sb(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");Qb.call(this,c+a[d])}y(Sb,Qb);Sb.prototype.name="AssertionError";function Tb(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var g=d}else a&&(e+=": "+a,g=b);throw new Sb(""+e,g||[]);}
56
55
  var E=function(a,b,c){a||Tb("",null,b,Array.prototype.slice.call(arguments,2))},Ub=function(a,b,c){a==null&&Tb("Expected to exist: %s.",[a],b,Array.prototype.slice.call(arguments,2));return a},Vb=function(a,b){throw new Sb("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Wb=function(a,b,c){typeof a!=="number"&&Tb("Expected number but got %s: %s.",[za(a),a],b,Array.prototype.slice.call(arguments,2));return a},Xb=function(a,b,c){typeof a!=="string"&&Tb("Expected string but got %s: %s.",
57
56
  [za(a),a],b,Array.prototype.slice.call(arguments,2))},Yb=function(a,b,c){typeof a!=="function"&&Tb("Expected function but got %s: %s.",[za(a),a],b,Array.prototype.slice.call(arguments,2))},Zb=function(a,b,c){u(a)||Tb("Expected object but got %s: %s.",[za(a),a],b,Array.prototype.slice.call(arguments,2));return a};var $b=Array.prototype.indexOf?function(a,b){E(a.length!=null);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ac=Array.prototype.lastIndexOf?function(a,b){E(a.length!=null);return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;c<0&&(c=Math.max(0,a.length+c));if(typeof a==="string")return typeof b!=="string"||
@@ -402,8 +401,8 @@ th.prototype.Ja=function(a,b){var c=c===void 0?{}:c;var d=d===void 0?{}:d;this.j
402
401
  uh.prototype.Ja=function(a,b){var c=c===void 0?{}:c;var d=d===void 0?{}:d;this.j.D(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,C:"POST",F:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",A:F(c,d),H:Ig})};var vh=function(a){this.m="v1";this.j=new jd(a,null)};
403
402
  vh.prototype.create=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?{}:d;this.j.D(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,C:"POST",F:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",A:F(c,d),H:dh})};var wh=function(a,b){this.fl=100;this.Uk=a;this.sl=b;this.Zd=0;this.Rd=null};wh.prototype.get=function(){if(this.Zd>0){this.Zd--;var a=this.Rd;this.Rd=a.next;a.next=null}else a=this.Uk();return a};wh.prototype.put=function(a){this.sl(a);this.Zd<this.fl&&(this.Zd++,a.next=this.Rd,this.Rd=a)};function xh(a){t.setTimeout(function(){throw a;},0)};var yh=function(){this.ve=this.kc=null};yh.prototype.add=function(a,b){var c=zh.get();c.set(a,b);this.ve?this.ve.next=c:(E(!this.kc),this.kc=c);this.ve=c};yh.prototype.remove=function(){var a=null;this.kc&&(a=this.kc,this.kc=this.kc.next,this.kc||(this.ve=null),a.next=null);return a};var zh=new wh(function(){return new Ah},function(a){return a.reset()}),Ah=function(){this.next=this.scope=this.qf=null};Ah.prototype.set=function(a,b){this.qf=a;this.scope=b;this.next=null};
404
403
  Ah.prototype.reset=function(){this.next=this.scope=this.qf=null};var Bh=t.console&&t.console.createTask?t.console.createTask.bind(t.console):void 0,Ch=Bh?Symbol("consoleTask"):void 0;
405
- function Dh(a,b){function c(){var l=sa.apply(0,arguments),m=this;return f.run(function(){return a.call.apply(a,[m].concat(na(l)))})}b=b===void 0?"anonymous":b;if(Ch&&a[Ch])return a;var d=a,e,g=(e=Eh)==null?void 0:e();a=function(){var l=sa.apply(0,arguments),m,p=(m=Eh)==null?void 0:m();if(g!==p)throw Error(b+" was scheduled in '"+g+"' but called in '"+p+"'.\nMake sure your test awaits all async calls.\n\nTIP: To help investigate, debug the test in Chrome and look at the async portion\nof the call stack to see what originally scheduled the callback. Then, make the\ntest wait for the relevant asynchronous work to finish.");return d.call.apply(d,
406
- [this].concat(na(l)))};if(!Bh)return a;var f=Bh(a.name||b);c[Ub(Ch)]=f;return c}var Eh;var Fh,Gh=!1,Hh=new yh,Jh=function(a,b){a=Dh(a,"goog.async.run");Fh||Ih();Gh||(Fh(),Gh=!0);Hh.add(a,b)},Ih=function(){var a=Promise.resolve(void 0);Fh=function(){a.then(Kh)}};function Kh(){for(var a;a=Hh.remove();){try{a.qf.call(a.scope)}catch(b){xh(b)}zh.put(a)}Gh=!1};var Lh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Oh=function(a){this.U=0;this.ia=void 0;this.nc=this.eb=this.Y=null;this.Od=this.jf=!1;if(a!=Sd)try{var b=this;a.call(void 0,function(c){Mh(b,2,c)},function(c){if(!(c instanceof Nh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Mh(b,3,c)})}catch(c){Mh(this,3,c)}},Ph=function(){this.next=this.context=this.vc=this.Xb=this.Mb=null;this.ud=!1};Ph.prototype.reset=function(){this.context=this.vc=this.Xb=this.Mb=null;this.ud=!1};
404
+ function Dh(a,b){function c(){var l=ra.apply(0,arguments),m=this;return f.run(function(){return a.call.apply(a,[m].concat(ma(l)))})}b=b===void 0?"anonymous":b;if(Ch&&a[Ch])return a;var d=a,e,g=(e=Eh)==null?void 0:e();a=function(){var l=ra.apply(0,arguments),m,p=(m=Eh)==null?void 0:m();if(g!==p)throw Error(b+" was scheduled in '"+g+"' but called in '"+p+"'.\nMake sure your test awaits all async calls.\n\nTIP: To help investigate, debug the test in Chrome and look at the async portion\nof the call stack to see what originally scheduled the callback. Then, make the\ntest wait for the relevant asynchronous work to finish.");return d.call.apply(d,
405
+ [this].concat(ma(l)))};if(!Bh)return a;var f=Bh(a.name||b);c[Ub(Ch)]=f;return c}var Eh;var Fh,Gh=!1,Hh=new yh,Jh=function(a,b){a=Dh(a,"goog.async.run");Fh||Ih();Gh||(Fh(),Gh=!0);Hh.add(a,b)},Ih=function(){var a=Promise.resolve(void 0);Fh=function(){a.then(Kh)}};function Kh(){for(var a;a=Hh.remove();){try{a.qf.call(a.scope)}catch(b){xh(b)}zh.put(a)}Gh=!1};var Lh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Oh=function(a){this.U=0;this.ia=void 0;this.nc=this.eb=this.Y=null;this.Od=this.jf=!1;if(a!=Sd)try{var b=this;a.call(void 0,function(c){Mh(b,2,c)},function(c){if(!(c instanceof Nh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Mh(b,3,c)})}catch(c){Mh(this,3,c)}},Ph=function(){this.next=this.context=this.vc=this.Xb=this.Mb=null;this.ud=!1};Ph.prototype.reset=function(){this.context=this.vc=this.Xb=this.Mb=null;this.ud=!1};
407
406
  var Qh=new wh(function(){return new Ph},function(a){a.reset()}),Rh=function(a,b,c){var d=Qh.get();d.Xb=a;d.vc=b;d.context=c;return d};Oh.prototype.then=function(a,b,c){a!=null&&Yb(a,"opt_onFulfilled should be a function.");b!=null&&Yb(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Sh(this,Ia(typeof a==="function"?a:null),Ia(typeof b==="function"?b:null),c)};Oh.prototype.$goog_Thenable=!0;
408
407
  var Uh=function(a,b,c,d){b!=null&&Yb(b,"opt_onFulfilled should be a function.");c!=null&&Yb(c,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Th(a,Rh(b||Sd,c||null,d))};Oh.prototype.finally=function(a){var b=this;a=Ia(a);return new Oh(function(c,d){Uh(b,function(e){a();c(e)},function(e){a();d(e)})})};Oh.prototype.Bl=function(a,b){return Sh(this,null,Ia(a),b)};Oh.prototype.catch=Oh.prototype.Bl;
409
408
  Oh.prototype.cancel=function(a){if(this.U==0){var b=new Nh(a);Jh(function(){Vh(this,b)},this)}};
@@ -412,7 +411,7 @@ f){e.Xb=b?function(l){try{var m=b.call(d,l);g(m)}catch(p){f(p)}}:g;e.vc=c?functi
412
411
  var Mh=function(a,b,c){if(a.U==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.U=1;a:{var d=c,e=a.Dl,g=a.El;if(d instanceof Oh){Uh(d,e,g,a);var f=!0}else if(Lh(d))d.then(e,g,a),f=!0;else{if(u(d))try{var l=d.then;if(typeof l==="function"){Zh(d,l,e,g,a);f=!0;break a}}catch(m){g.call(a,m);f=!0;break a}f=!1}}f||(a.ia=c,a.U=b,a.Y=null,Yh(a),b!=3||c instanceof Nh||$h(a,c))}},Zh=function(a,b,c,d,e){var g=!1,f=function(m){g||(g=!0,c.call(e,m))},l=function(m){g||(g=!0,d.call(e,m))};try{b.call(a,
413
412
  f,l)}catch(m){l(m)}},Yh=function(a){a.jf||(a.jf=!0,Jh(a.Xk,a))},Wh=function(a){var b=null;a.eb&&(b=a.eb,a.eb=b.next,b.next=null);a.eb||(a.nc=null);b!=null&&E(b.Xb!=null);return b};Oh.prototype.Xk=function(){for(var a;a=Wh(this);)Xh(this,a,this.U,this.ia);this.jf=!1};
414
413
  var Xh=function(a,b,c,d){if(c==3&&b.vc&&!b.ud)for(;a&&a.Od;a=a.Y)a.Od=!1;if(b.Mb)b.Mb.Y=null,ai(b,c,d);else try{b.ud?b.Xb.call(b.context):ai(b,c,d)}catch(e){bi.call(null,e)}Qh.put(b)},ai=function(a,b,c){b==2?a.Xb.call(a.context,c):a.vc&&a.vc.call(a.context,c)},$h=function(a,b){a.Od=!0;Jh(function(){a.Od&&bi.call(null,b)})},bi=xh,Nh=function(a){Qb.call(this,a)};y(Nh,Qb);Nh.prototype.name="cancel";var ci=function(a,b){if(typeof a!=="function")if(a&&typeof a.handleEvent=="function")a=w(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:t.setTimeout(a,b||0)};var di=function(a,b,c){I.call(this);this.gl=c!=null?a.bind(c):a;this.dl=b;this.vd=null;this.Ac=!1;this.cd=0;this.fc=null};q(di,I);h=di.prototype;h.nf=function(a){this.vd=arguments;this.fc||this.cd?this.Ac=!0:ei(this)};h.stop=function(){this.fc&&(t.clearTimeout(this.fc),this.fc=null,this.Ac=!1,this.vd=null)};h.pause=function(){this.cd++};h.resume=function(){this.cd--;this.cd||!this.Ac||this.fc||(this.Ac=!1,ei(this))};h.K=function(){I.prototype.K.call(this);this.stop()};
415
- var ei=function(a){a.fc=ci(function(){a.fc=null;a.Ac&&!a.cd&&(a.Ac=!1,ei(a))},a.dl);var b=a.vd;a.vd=null;a.gl.apply(null,b)};function fi(a){var b=sa.apply(1,arguments);if(!Array.isArray(a)||!Array.isArray(a.raw)||a.length!==a.raw.length||!Fb&&a===a.raw||!(Fb&&!Gb||Db(a))||b.length+1!==a.length)throw new TypeError("\n ############################## ERROR ##############################\n\n It looks like you are trying to call a template tag function (fn`...`)\n using the normal function syntax (fn(...)), which is not supported.\n\n The functions in the safevalues library are not designed to be called\n like normal functions, and doing so invalidates the security guarantees\n that safevalues provides.\n\n If you are stuck and not sure how to proceed, please reach out to us\n instead through:\n - go/ise-hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-INTERNAL\n - https://github.com/google/safevalues/issues\n\n ############################## ERROR ##############################");
414
+ var ei=function(a){a.fc=ci(function(){a.fc=null;a.Ac&&!a.cd&&(a.Ac=!1,ei(a))},a.dl);var b=a.vd;a.vd=null;a.gl.apply(null,b)};function fi(a){var b=ra.apply(1,arguments);if(!Array.isArray(a)||!Array.isArray(a.raw)||a.length!==a.raw.length||!Fb&&a===a.raw||!(Fb&&!Gb||Db(a))||b.length+1!==a.length)throw new TypeError("\n ############################## ERROR ##############################\n\n It looks like you are trying to call a template tag function (fn`...`)\n using the normal function syntax (fn(...)), which is not supported.\n\n The functions in the safevalues library are not designed to be called\n like normal functions, and doing so invalidates the security guarantees\n that safevalues provides.\n\n If you are stuck and not sure how to proceed, please reach out to us\n instead through:\n - go/ise-hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-INTERNAL\n - https://github.com/google/safevalues/issues\n\n ############################## ERROR ##############################");
416
415
  if(b.length===0)return tb(a[0]);var c=a[0].toLowerCase();if(/^data:/.test(c))throw Error("Data URLs cannot have expressions in the template literal input.");if(/^https:\/\//.test(c)||/^\/\//.test(c)){var d=c.indexOf("//")+2;var e=c.indexOf("/",d);if(e<=d)throw Error("Can't interpolate data in a url's origin, Please make sure to fully specify the origin, terminated with '/'.");d=c.substring(d,e);if(!/^[0-9a-z.:-]+$/i.test(d))throw Error("The origin contains unsupported characters.");if(!/^[^:]*(:[0-9]+)?$/i.test(d))throw Error("Invalid port number.");
417
416
  if(!/(^|\.)[a-z][^.]*$/i.test(d))throw Error("The top-level domain must start with a letter.");d=!0}else d=!1;if(!d)if(/^\//.test(c))if(c==="/"||c.length>1&&c[1]!=="/"&&c[1]!=="\\")d=!0;else throw Error("The path start in the url is invalid.");else d=!1;if(!(d=d||RegExp("^[^:\\s\\\\/]+/").test(c)))if(/^about:blank/.test(c)){if(c!=="about:blank"&&!/^about:blank#/.test(c))throw Error("The about url is invalid.");d=!0}else d=!1;if(!d)throw Error("Trying to interpolate expressions in an unsupported url format.");
418
417
  c=a[0];for(d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return tb(c)};var hi=function(a,b){Za(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:gi.hasOwnProperty(d)?a.setAttribute(gi[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})},gi={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"},ji=function(a,
@@ -447,7 +446,7 @@ var Xi=function(a){if(a.Da&&typeof ya!="undefined")if(a.Td&&a.Rb()==4)setTimeout
447
446
  var Yi=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Wi=function(a,b){if(a.u){a.ec&&(clearTimeout(a.ec),a.ec=null);var c=a.u;a.u=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){(a=a.ha)&&Gc(a,tc,"Problem encountered resetting onreadystatechange: "+d.message)}}};Qi.prototype.isActive=function(){return!!this.u};Qi.prototype.Rb=function(){return this.u?this.u.readyState:0};
448
447
  Qi.prototype.getStatus=function(){try{return this.Rb()>2?this.u.status:-1}catch(a){return-1}};var Zi=function(a){try{if(!a.u)return null;if("response"in a.u)return a.u.response;switch(a.zc){case "":case "text":return a.u.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.u)return a.u.mozResponseArrayBuffer}var b=a.ha;b&&Gc(b,tc,"Response type "+a.zc+" is not supported on this browser");return null}catch(c){return Hc(a.ha,"Can not get response: "+c.message),null}};
449
448
  Qi.prototype.getResponseHeader=function(a){if(this.u&&this.Rb()==4)return a=this.u.getResponseHeader(a),a===null?void 0:a};Qi.prototype.getAllResponseHeaders=function(){return this.u&&this.Rb()>=2?this.u.getAllResponseHeaders()||"":""};
450
- var $i=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(typeof d==="string"){d=d.trim();var g=b[e]||[];b[e]=g;g.push(d)}}return ab(b,function(f){return f.join(", ")})},Ui=function(a,b){return b+" ["+a.Nh+" "+a.Vd+" "+a.getStatus()+"]"};var Fi=pa(["https://accounts.google.com/gsi/client"]),aj,K=function(a,b){bj();this.callback=a;this.N=new cj(!a,b)};K.prototype.rd=function(a){this.N.Pb=a;return this};K.prototype.handle=function(a){var b=this;if(a instanceof Promise){if(this.callback){var c=function(d,e){try{return b.callback(d,e)}catch(g){setTimeout(function(){throw g;},0)}};a.then(c,function(d){return c(void 0,d)})}}else a.then(function(d){a=d});return a};var dj=function(){return"projects/"+aj};h=K.prototype;h.Gc=function(){return new eh(this.N)};
449
+ var $i=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(typeof d==="string"){d=d.trim();var g=b[e]||[];b[e]=g;g.push(d)}}return ab(b,function(f){return f.join(", ")})},Ui=function(a,b){return b+" ["+a.Nh+" "+a.Vd+" "+a.getStatus()+"]"};var Fi=oa(["https://accounts.google.com/gsi/client"]),aj,K=function(a,b){bj();this.callback=a;this.N=new cj(!a,b)};K.prototype.rd=function(a){this.N.Pb=a;return this};K.prototype.handle=function(a){var b=this;if(a instanceof Promise){if(this.callback){var c=function(d,e){try{return b.callback(d,e)}catch(g){setTimeout(function(){throw g;},0)}};a.then(c,function(d){return c(void 0,d)})}}else a.then(function(d){a=d});return a};var dj=function(){return"projects/"+aj};h=K.prototype;h.Gc=function(){return new eh(this.N)};
451
450
  h.assets=function(){return new gh(this.N)};h.Ma=function(){return new nh(this.N)};h.value=function(){return new rh(this.N)};h.maps=function(){return new mh(this.N)};h.map=function(){return new lh(this.N)};h.image=function(){return new kh(this.N)};h.table=function(){return new oh(this.N)};h.video=function(){return new th(this.N)};var cj=function(a,b){this.sync=a=a===void 0?!1:a;this.Pb=void 0;this.ti=b!=null?b:a?5:10};q(cj,ld);
452
451
  cj.prototype.send=function(a,b){var c=this;hd(a);var d=a.path||"",e=ej()+d,g=fj(a.A||{}),f=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=gj(e,g,void 0,a.C,f,this.ti,this.Pb);d=b?Pa(b,d):d;var l=function(m){return{then:function(p){return l(p(m))}}};return l(d)}return(new Promise(function(m,p){gj(e,g,function(v,z){z?p(z):m(v)},a.C,f,c.ti,c.Pb)})).then(function(m){return b?Pa(b,m):m})};var ij=function(a){K.call(this,a);this.N=new hj;this.Pb=void 0};q(ij,K);
453
452
  ij.prototype.rd=function(a){this.Pb=a;return this};
@@ -456,7 +455,7 @@ Pa(p,f[m]))});return b?b(l):l};return this.callback?(gj(d,null,function(f,l){ret
456
455
  hj.prototype.send=function(a,b){var c=[a.C+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=jj();d!=null&&c.push("Authorization: "+d);kj&&c.push("User-Agent: "+kj);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
457
456
  var lj=function(a,b,c){a=r(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(b.length<3)){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"))}},ej=function(){var a=mj.replace(/\/api$/,"");return"window"in t&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},oj=function(a,b,c){var d=[];a&&(d=d.concat(nj));
458
457
  b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var g=a[c++],f=u(g)?"o"+Ea(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},vj=function(a,b,c){qj&&rj&&qj({client_id:String(rj),scope:sj.join(" "),plugin_name:"earthengine"},function(d){if(d.error=="immediate_failed"&&c)c();else if("window"in t)try{tj(function(){try{uj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else uj(a,
459
- b,d)})},jj=function(){wj&&Date.now()-wj>=0&&xj();return yj},xj=function(){wj=yj=null},bj=function(a,b,c,d){a!=null?mj=a:zj||(mj="https://earthengine.googleapis.com/api");b!=null?Aj=b:zj||(Aj="https://earthengine.googleapis.com");c!==void 0&&(Bj=c);aj=d!=null?d:aj||"earthengine-legacy";zj=!0},gj=function(a,b,c,d,e,g,f){bj();var l=Cj,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="1.6.13";p==="1.6.13"&&
458
+ b,d)})},jj=function(){wj&&Date.now()-wj>=0&&xj();return yj},xj=function(){wj=yj=null},bj=function(a,b,c,d){a!=null?mj=a:zj||(mj="https://earthengine.googleapis.com/api");b!=null?Aj=b:zj||(Aj="https://earthengine.googleapis.com");c!==void 0&&(Bj=c);aj=d!=null?d:aj||"earthengine-legacy";zj=!0},gj=function(a,b,c,d,e,g,f){bj();var l=Cj,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="1.6.14";p==="1.6.14"&&
460
459
  (p="latest");m["x-goog-api-client"]="ee-js/"+p;kj&&(m["User-Agent"]=kj);p=jj();if(p!=null)m.Authorization=p;else if(c&&qj&&rj)return vj(function(){Dj(l,function(){gj(a,b,c,d)})}),null;b=b?b.clone():new Xc;Ej!=null&&b.add("key",Ej);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");aj&&aj!=="earthengine-legacy"&&(m["X-Goog-User-Project"]=aj);b=Fj(b,a);Bj!=null&&(m["X-XSRF-Token"]=Bj);Gj!=null&&(m["X-Earth-Engine-App-ID-Token"]=Gj);p=e||null;var v=b?b.toString():"";d==="POST"&&e===void 0?p=v:/^[\s\xa0]*$/.test(v)||
461
460
  (a+=a.indexOf("?")!=-1?"&":"?",a+=v);e=a.startsWith("/")?mj+a:a;if(c)return Hj.push(Ij(e,c,d,p,m,g,f)),Jj.nf(),null;v=function(H,ea){this.setRequestHeader&&this.setRequestHeader(ea,H)};var z=0;for(g=g!=null?g:5;;){var B=new XMLHttpRequest;B.open(d,e,!1);Za(m,v,B);B.send(p);if(B.status!=429||z>g)break;z++}return Kj(B.status,function(H){try{return B.getResponseHeader(H)}catch(ea){return null}},B.responseText,l,void 0,e,d,f)},Ij=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},
462
461
  p=Cj,v=g!=null?g:10;m.callback=function(z){z=z.target;if(z.getStatus()==429&&l<v)return l++,setTimeout(function(){Hj.push(m);Jj.nf()},Math.min(12E4,Math.pow(2,l)*1E3)),null;var B=Kj,H=z.getStatus(),ea=w(z.getResponseHeader,z);try{var W=z.u?z.u.responseText:""}catch(da){Hc(z.ha,"Can not get responseText: "+da.message),W=""}return B(H,ea,W,p,b,a,c,f)};return m},Dj=function(a,b){var c=Cj;try{Cj=a,b.call(void 0)}finally{Cj=c}},Kj=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):
@@ -482,7 +481,7 @@ a.starttime&&(b.startTime=(new Date(a.starttime)).toISOString());a.endtime&&(b.e
482
481
  e.length&&(d.all_users_can_read=!0);return d},rk=function(a){var b=function(d){return(a[d]||[]).map(function(e){if(e.includes(":"))return e;var g="user:";e.includes("@")?a.groups&&a.groups.has(e)?g="group:":e.match(/[@|\.]gserviceaccount\.com$/)&&(g="serviceAccount:"):g="domain:";return g+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{role:"roles/owner",Wb:b("owners")},{role:"roles/viewer",Wb:b("readers").concat(c)},{role:"roles/editor",Wb:b("writers")}].map(function(d){return new gf(d)});return new Wf({zd:b.filter(function(d){return d.Wb.length}),
483
482
  hf:null})},tk=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+sk(a)},sk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},uk=function(a){var b={},c=function(g,f){f!=null&&(b[g]=Date.parse(f))},d=function(g){switch(g){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";
484
483
  default:return"UNKNOWN"}},e=Pa(Mg,a.metadata||{});e.description!=null&&(b.description=e.description);e.state!=null&&(b.state=d(e.state));c("creation_timestamp_ms",e.bf);c("update_timestamp_ms",e.updateTime);c("start_timestamp_ms",e.startTime);b.attempt=e.attempt;a.done&&a.error!=null&&(b.error_message=a.error.message);a.name!=null&&(b.id=sk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.ef;b.source_url=e.dg;e.xd!=null&&(b.batch_eecu_usage_seconds=e.xd);return b},vk=function(a){var b=
485
- {started:"OK"};a.name&&(b.taskId=sk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},wk=function(a){return a.primaryPath?[a.primaryPath].concat(na(a.additionalPaths||[])):null},zk=function(a){var b=function(g){var f=Pa(Ag,g);f.uris=wk(g);return f},c=Pa(wg,a);c.name=hk(a.id);c.tilesets=(a.tilesets||[]).map(function(g){var f=Pa(Df,g);f.sources=(g.sources||[]).map(b);return f});c.bands=(a.bands||[]).map(function(g){var f=Pa(xg,g);f.missingData=xk(g.missingData);return f});c.missingData=
484
+ {started:"OK"};a.name&&(b.taskId=sk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},wk=function(a){return a.primaryPath?[a.primaryPath].concat(ma(a.additionalPaths||[])):null},zk=function(a){var b=function(g){var f=Pa(Ag,g);f.uris=wk(g);return f},c=Pa(wg,a);c.name=hk(a.id);c.tilesets=(a.tilesets||[]).map(function(g){var f=Pa(Df,g);f.sources=(g.sources||[]).map(b);return f});c.bands=(a.bands||[]).map(function(g){var f=Pa(xg,g);f.missingData=xk(g.missingData);return f});c.missingData=
486
485
  xk(a.missingData);c.Kf=pc((a.tilesets||[]).map(yk));c.pyramidingPolicy=a.pyramidingPolicy||null;if(a.properties){var d=Object.assign({},a.properties),e;a=function(g){e=d[g];delete d[g];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},yk=function(a){var b=[];if(!Array.isArray(a.fileBands))return b;var c=function(d){var e=[];d!=null&&Array.isArray(d.bandId)&&(e=d.bandId.map(function(g){return g||
487
486
  ""}));return new yg({lb:a.id||"",da:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):d.maskForBands!=null&&b.push(c(d.maskForBands))});return b},Ak=function(a){var b=Pa(Dg,a);b.name=hk(a.id);b.sources=(a.sources||[]).map(function(e){var g=Pa(Zg,e);g.uris=wk(e);e.maxError&&(g.Ub=e.maxError);return g});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")&&
488
487
  (b.endTime=(new Date(Number(d))).toISOString());b.properties=c}return b},xk=function(a){if(a==null)return null;var b=new ug({values:[]});a.value!=null&&typeof a.value==="number"&&b.values.push(a.value);Array.isArray(a.values)&&a.values.map(function(c){typeof c==="number"&&b.values.push(c)});return b.values.length==0?null:b},Bk=function(a){var b=[];"startTime"in a&&(b.push('startTime >= "'+(new Date(a.startTime)).toISOString()+'"'),delete a.startTime);"endTime"in a&&(b.push('endTime < "'+(new Date(a.endTime)).toISOString()+
@@ -588,7 +587,7 @@ S.prototype.set=function(a){var b;if(arguments.length<=1){var c=arguments[0];if(
588
587
  O.call(this,null,null);this.mb=a.type;this.Zg=a.coordinates!=null?kb(a.coordinates):null;this.Ch=a.geometries||null;if(b!=null)this.Zb=b;else if("crs"in a)if(u(a.crs)&&a.crs.type=="name"&&u(a.crs.properties)&&typeof a.crs.properties.name==="string")this.Zb=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new Ki).ua(a.crs));this.sc=c;this.sc===void 0&&"geodesic"in a&&(this.sc=!!a.geodesic);this.qc=d;this.qc===void 0&&"evenOdd"in a&&(this.qc=!!a.evenOdd)}};y(T,O);
589
588
  x("ee.Geometry",T);var kn=!1,hn=function(){kn||(Zm(T,"Geometry","Geometry"),kn=!0)},ln=function(a,b){if(!(this instanceof ln))return mn(ln,arguments);var c=nn(ln,"Point",1,arguments);if(!(c instanceof O)){var d=c.coordinates;if(!Array.isArray(d)||d.length!=2)throw Error("The Geometry.Point constructor requires 2 coordinates.");}T.call(this,c)};y(ln,T);T.Point=ln;var on=function(a,b){if(!(this instanceof on))return mn(on,arguments);T.call(this,nn(on,"MultiPoint",2,arguments))};y(on,T);
590
589
  T.MultiPoint=on;var pn=function(a,b,c,d){if(!(this instanceof pn))return mn(pn,arguments);var e=nn(pn,"Rectangle",2,arguments);if(!(e instanceof O)){var g=e.coordinates;if(g.length!=2)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var f=g[0][0],l=g[0][1],m=g[1][0];g=g[1][1];e.coordinates=[[[f,g],[f,l],[m,l],[m,g]]];e.type="Polygon"}T.call(this,e)};y(pn,T);T.Rectangle=pn;
591
- var qn=function(a,b,c,d){if(!(this instanceof qn))return mn(qn,arguments);var e=R(qn,arguments);a=e.west;b=e.south;c=e.east;d=e.north;e=[a,b,c,d];if(rn(e)){var g;return(g=new P("GeometryConstructors.BBox")).call.apply(g,na(e))}if(!(a<Infinity))throw Error("Geometry.BBox: west must not be "+a);if(!(c>-Infinity))throw Error("Geometry.BBox: east must not be "+c);if(!(b<=90))throw Error("Geometry.BBox: south must be at most +90\u00b0, but was "+b+"\u00b0");if(!(d>=-90))throw Error("Geometry.BBox: north must be at least -90\u00b0, but was "+
590
+ var qn=function(a,b,c,d){if(!(this instanceof qn))return mn(qn,arguments);var e=R(qn,arguments);a=e.west;b=e.south;c=e.east;d=e.north;e=[a,b,c,d];if(rn(e)){var g;return(g=new P("GeometryConstructors.BBox")).call.apply(g,ma(e))}if(!(a<Infinity))throw Error("Geometry.BBox: west must not be "+a);if(!(c>-Infinity))throw Error("Geometry.BBox: east must not be "+c);if(!(b<=90))throw Error("Geometry.BBox: south must be at most +90\u00b0, but was "+b+"\u00b0");if(!(d>=-90))throw Error("Geometry.BBox: north must be at least -90\u00b0, but was "+
592
591
  d+"\u00b0");b=Math.max(b,-90);d=Math.min(d,90);c-a>=360?(a=-180,c=180):(a=sn(a),c=sn(c),c<a&&(c+=360));T.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};y(qn,pn);T.BBox=qn;var sn=function(a){a%=360;a>180?a-=360:a<-180&&(a+=360);return a},tn=function(a,b,c,d){if(!(this instanceof tn))return mn(tn,arguments);T.call(this,nn(tn,"LineString",2,arguments))};y(tn,T);T.LineString=tn;
593
592
  var un=function(a,b,c,d){if(!(this instanceof un))return mn(un,arguments);T.call(this,nn(un,"LinearRing",2,arguments))};y(un,T);T.LinearRing=un;var vn=function(a,b,c,d){if(!(this instanceof vn))return mn(vn,arguments);T.call(this,nn(vn,"MultiLineString",3,arguments))};y(vn,T);T.MultiLineString=vn;var wn=function(a,b,c,d,e){if(!(this instanceof wn))return mn(wn,arguments);T.call(this,nn(wn,"Polygon",3,arguments))};y(wn,T);T.Polygon=wn;
594
593
  var xn=function(a,b,c,d,e){if(!(this instanceof xn))return mn(xn,arguments);T.call(this,nn(xn,"MultiPolygon",4,arguments))};y(xn,T);T.MultiPolygon=xn;
@@ -670,9 +669,9 @@ x("ee.InitState.LOADING","loading");x("ee.InitState.READY","ready");var hp="not_
670
669
  var kp=function(){if(hp=="loading"){try{Vo();ep();fn();$n();Tn();Rn();ko();io();Cn();hn();go();Lo();Oo();gp.initialize();var a=Wm(),b={},c={},d;for(d in a){var e=void 0;e=d.indexOf(".")!=-1?d.slice(0,d.indexOf(".")):d;b[e]=!0;var g=a[d].returns.replace(/<.*>/,"");c[g]=!0}var f=t.ee,l;for(l in b)l in c&&!(l in f)&&(f[l]=tp(l),np.push(l),a[l]?(f[l].signature=a[l],f[l].signature.isConstructor=!0,Um[l]=!0):f[l].signature={});Gm=f;up()}catch(m){lp(m);return}hp="ready";for(ip=[];jp.length>0;)jp.shift()()}},
671
670
  lp=function(a){if(hp=="loading")for(hp="not_ready",jp=[];ip.length>0;)ip.shift()(a)},up=function(){var a=Xm();db(a).sort().forEach(function(b){var c=a[b],d=c.aa();if(!d.hidden){b=b.split(".");var e=op;for(e.signature={};b.length>1;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=nc(b,1)}g=function(f){return Qm(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=w(c.toString,c);e[b[0]]=g}})},tp=function(a){var b=function(c){var d=t.ee[a],e=Array.prototype.slice.call(arguments),
672
671
  g=e.length==1;if(g&&e[0]instanceof d)return e[0];if(!(this instanceof d))return Em(d,e);d=Ym(a);var f=!(e[0]instanceof O),l=!1;d&&(g?f?l=!0:e[0].J&&e[0].J.aa().returns==d.aa().returns||(l=!0):l=!0);if(l)e=Lm(e,d.aa())?e[0]:Om(d,e),O.call(this,d,Pm(d,e));else{if(!g)throw Error("Too many arguments for ee."+a+"(): "+e);if(f)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];O.call(this,e.J,e.args,e.V)}};y(b,O);b.prototype.name=function(){return a};Zm(b,a,a);return b};
673
- Nm=function(a,b){if(a===null)return null;if(a!==void 0){var c=t.ee;switch(b){case "Image":return new N(a);case "Feature":return a instanceof V?Q("Feature",Q("Collection.geometry",a)):new X(a);case "Element":if(a instanceof S)return a;if(a instanceof T)return new X(a);if(a instanceof O)return new S(a.J,a.args,a.V);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?Q("Collection.geometry",a):new T(a);case "FeatureCollection":case "Collection":return a instanceof V?
674
- a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new U(a);case "Algorithm":if(typeof a==="string")return new P(a);if(typeof a==="function"){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return To(a,c)}if(a instanceof Mj)return a;throw Error("Argument is not a function: "+a);case "String":return Jm(a)||a instanceof No||a instanceof O?new No(a):a;case "Dictionary":return Km(a)?a:new dp(a);case "List":return new fo(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Ko(a);
675
- default:if(b in c){d=Ym(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if(typeof a==="string"){if(a in c[b])return c[b][a].call();throw Error("Unknown algorithm: "+b+"."+a);}return new c[b](a)}return a}}};var vp=function(a,b,c){ie.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.zh=new be;this.yh=new be};q(vp,ie);vp.prototype.getTile=function(a,b){var c=je(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.wb,this.token].join("/");this.yb.push(c);this.wb+=1;var d=ji("DIV");wp(this,b,a,c,d);xp(this);return d};
672
+ Nm=function(a,b){if(a===null)return null;if(a!==void 0){if(typeof b!="string")throw Error("Unexpected type: "+Object.prototype.toString.call(b));var c=t.ee;switch(b){case "Image":return new N(a);case "Feature":return a instanceof V?Q("Feature",Q("Collection.geometry",a)):new X(a);case "Element":if(a instanceof S)return a;if(a instanceof T)return new X(a);if(a instanceof O)return new S(a.J,a.args,a.V);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?Q("Collection.geometry",
673
+ a):new T(a);case "FeatureCollection":case "Collection":return a instanceof V?a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new U(a);case "Algorithm":if(typeof a==="string")return new P(a);if(typeof a==="function"){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return To(a,c)}if(a instanceof Mj)return a;throw Error("Argument is not a function: "+a);case "String":return Jm(a)||a instanceof No||a instanceof O?new No(a):a;case "Dictionary":return Km(a)?a:new dp(a);case "List":return new fo(a);
674
+ case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Ko(a);default:if(b in c){d=Ym(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if(typeof a==="string"){if(a in c[b])return c[b][a].call();throw Error("Unknown algorithm: "+b+"."+a);}return new c[b](a)}return a}}};var vp=function(a,b,c){ie.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.zh=new be;this.yh=new be};q(vp,ie);vp.prototype.getTile=function(a,b){var c=je(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.wb,this.token].join("/");this.yb.push(c);this.wb+=1;var d=ji("DIV");wp(this,b,a,c,d);xp(this);return d};
676
675
  var wp=function(a,b,c,d,e){var g=new XMLHttpRequest;g.open("GET",b,!0);g.responseType="arraybuffer";g.onreadystatechange=w(function(){if(g.readyState===XMLHttpRequest.DONE&&g.status===200){var f=g.response;if(f)f=new Float32Array(f),this.zh.set(c,f),this.yh.set(c,e),jc(this.yb,d),xp(this);else throw this.ug.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},xp=function(a){a.dispatchEvent(new ke(a.yb.length))};vp.prototype.K=function(){this.yh=this.zh=null;ie.prototype.K.call(this)};
677
676
  x("ee.FloatTileOverlay",vp);var yp=function(){this.ke=new Map};yp.prototype.clear=function(){this.ke.clear()};var zp=function(a,b){a.ke.has(b)||a.ke.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.ke.get(b)};var Ap=function(a){I.call(this);this.Sb=a;this.L={}};y(Ap,I);var Bp=[];Ap.prototype.Va=function(a,b,c,d){Array.isArray(b)||(b&&(Bp[0]=b.toString()),b=Bp);for(var e=0;e<b.length;e++){var g=Ed(a,b[e],c||this.handleEvent,d||!1,this.Sb||this);if(!g)break;this.L[g.key]=g}return this};Ap.prototype.Xc=function(a,b,c,d){return Cp(this,a,b,c,d)};
678
677
  var Cp=function(a,b,c,d,e,g){if(Array.isArray(c))for(var f=0;f<c.length;f++)Cp(a,b,c[f],d,e,g);else{b=Dd(b,c,d||a.handleEvent,e,g||a.Sb||a);if(!b)return a;a.L[b.key]=b}return a};Ap.prototype.te=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.te(a,b[g],c,d,e);else c=c||this.handleEvent,d=u(d)?!!d.capture:!!d,e=e||this.Sb||this,c=Fd(c),d=!!d,b=td(a)?a.Nc(b,c,d,e):a?(a=Hd(a))?a.Nc(b,c,d,e):null:null,b&&(Md(b),delete this.L[b.key])};
@@ -709,18 +708,18 @@ h.Al=function(){if(!this.lc){var a=w(function(d){this.lc||(Zp(this.fa,this.ea,d)
709
708
  h.Oi=null;h.Ia=null;h.li=null;var xq=["load","abort","error"],yq=function(){I.call(this);this.Da=!1};q(yq,I);yq.prototype.setActive=function(a){this.Da=a};yq.prototype.isActive=function(){return this.Da};var tq=function(a,b){oq.call(this,a,b)};q(tq,oq);tq.prototype.Ze=function(){return new yq};tq.prototype.Ed=function(a){a.dispose()};tq.prototype.Qf=function(a){return!a.Qa&&!a.isActive()};var zq=function(a,b,c,d,e){ie.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.vg=new ge;this.Rf=1;this.ta=e||null};q(zq,ie);h=zq.prototype;h.Me=function(a){return Ed(this,"tileevent",a)};h.Zf=function(a){Md(a)};
710
709
  h.getTile=function(a,b,c){if(b<this.minZoom||a.y<0||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=je(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ta&&this.ta.isEnabled()&&(a+="&profiling=1");b=[b,this.wb,this.token].join("/");this.wb+=1;c=ji("DIV",{id:b});var d=(new Date).getTime()/1E3;this.yb.push(b);ol(uq).send(b,a,d,w(this.Zk,this,c,b));xp(this);return c};h.Oc=function(){return this.yb.length};
711
710
  h.releaseTile=function(a){ol(uq).abort(a.id);if(a.firstElementChild!==void 0)var b=a.firstElementChild;else for(b=a.firstChild;b&&b.nodeType!=1;)b=b.nextSibling;this.vg.remove(b);a.id!==""&&(this.ug.remove(a.id),this.ta&&this.ta.rl(a.id))};h.setOpacity=function(a){this.Rf=a;var b=this.vg.Ca();Xd(b,function(c){Ip(c,a)})};
712
- h.Zk=function(a,b,c,d){c.type=="error"?(jc(this.yb,b),this.ug.add(b),this.dispatchEvent(c)):(jc(this.yb,b),c.target&&c.type=="load"&&(c=c.target,this.vg.add(c),this.Rf!=1&&Ip(c,this.Rf),a.appendChild(c)),xp(this));this.ta&&d!==null&&this.ta.Nk(b,d)};x("ee.MapLayerOverlay",zq);zq.prototype.removeTileCallback=zq.prototype.Zf;zq.prototype.addTileCallback=zq.prototype.Me;zq.prototype.getTile=zq.prototype.getTile;zq.prototype.setOpacity=zq.prototype.setOpacity;zq.prototype.releaseTile=zq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.table.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.table.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.video.toDrive ee.batch.Export.table.toFeatureView ee.batch.Export.table.toDrive ee.batch.Export.video.toCloudStorage ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.filterMetadata ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.newTaskId ee.data.getFeatureViewTilesKey ee.data.getAssetRoots ee.data.getWorkloadTag ee.data.getMapId ee.data.getTaskStatus ee.data.createAssetHome ee.data.getTileUrl ee.data.startIngestion ee.data.createAsset ee.data.setWorkloadTag ee.data.setDefaultWorkloadTag ee.data.getTaskList ee.data.getAsset ee.data.resetWorkloadTag ee.data.listOperations ee.data.createFolder ee.data.getTaskListWithLimit ee.data.listFeatures ee.data.startTableIngestion ee.data.cancelOperation ee.data.computeValue ee.data.renameAsset ee.data.copyAsset ee.data.authenticateViaOauth ee.data.getVideoThumbId ee.data.getThumbId ee.data.getOperation ee.data.deleteAsset ee.data.getInfo ee.data.getAssetAcl ee.data.cancelTask ee.data.getFilmstripThumbId ee.data.authenticate ee.data.makeThumbUrl ee.data.updateTask ee.data.getList ee.data.authenticateViaPopup ee.data.listAssets ee.data.getDownloadId ee.data.startProcessing ee.data.makeDownloadUrl ee.data.updateAsset ee.data.authenticateViaPrivateKey ee.data.getTableDownloadId ee.data.setAssetAcl ee.data.makeTableDownloadUrl ee.data.listImages ee.data.setAssetProperties ee.data.getAssetRootQuota ee.data.listBuckets ee.Date ee.Deserializer.fromJSON ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Dictionary ee.Algorithms ee.InitState ee.call ee.initialize ee.reset ee.TILE_SIZE ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMapId ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getInfo ee.Filter.lt ee.Filter.lte ee.Filter.inList ee.Filter.neq ee.Filter.and ee.Filter.prototype.not ee.Filter.bounds ee.Filter ee.Filter.or ee.Filter.gte ee.Filter.eq ee.Filter.metadata ee.Filter.date ee.Filter.gt ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.LinearRing ee.Geometry.prototype.serialize ee.Geometry.MultiPoint ee.Geometry.MultiPolygon ee.Geometry.BBox ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.LineString ee.Geometry.Rectangle ee.Geometry.prototype.toGeoJSONString ee.Geometry.Polygon ee.Geometry ee.Geometry.Point ee.Image.prototype.getInfo ee.Image.prototype.rename ee.Image.rgb ee.Image.prototype.getMapId ee.Image.cat ee.Image.prototype.select ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.prototype.expression ee.Image.prototype.clip ee.Image.prototype.getMap ee.Image ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getMap ee.List ee.Number ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.Serializer.encode ee.String ee.Terrain".split(" "),
713
- c=[["name"],["name","namedArgs"],["name","var_args"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
714
- "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices","opt_priority"],"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
715
- "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),["classifier","opt_description","opt_assetId","opt_priority"],"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),
716
- "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),["start","opt_end"],["algorithm","opt_first"],["max","opt_property","opt_ascending"],["property","opt_ascending"],["filter"],["name","operator","value"],["algorithm","opt_dropNulls"],
717
- ["geometry"],["callback"],["func","var_args"],["opt_callback"],["legacy"],["opt_count","opt_callback"],["params","opt_callback"],["opt_callback"],[],["params","opt_callback"],["taskId","opt_callback"],["requestedId","opt_callback"],["id","x","y","z"],["taskId","request","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["tag"],["tag"],["opt_callback"],["id","opt_callback"],["opt_resetDefault"],["opt_limit","opt_callback"],["path","opt_force","opt_callback"],["opt_limit",
718
- "opt_callback"],["asset","params","opt_callback"],["taskId","request","opt_callback"],["operationName","opt_callback"],["obj","opt_callback"],["sourceId","destinationId","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["params","opt_callback"],["params","opt_callback"],["operationName","opt_callback"],["assetId","opt_callback"],["id","opt_callback"],["assetId","opt_callback"],
719
- ["taskId","opt_callback"],["params","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["id"],["taskId","action","opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["parent","opt_params","opt_callback"],["params","opt_callback"],["taskId","params","opt_callback"],["id"],["assetId","asset","updateFields","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["params","opt_callback"],["assetId",
720
- "aclUpdate","opt_callback"],["id"],["parent","opt_params","opt_callback"],["assetId","properties","opt_callback"],["rootId","opt_callback"],["project","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],["func","var_args"],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),[],[],["func","namedArgs"],["var_args"],[],["opt_visParams","opt_callback"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],
721
- ["opt_visParams","opt_callback"],["args","opt_column"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["opt_callback"],["name","value"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","value"],["var_args"],[],["geometry","opt_errorMargin"],["opt_filter"],["var_args"],["name","value"],["name","value"],["name","operator","value"],["start","opt_end"],
722
- ["name","value"],["namedArgs"],["var_args"],["coords","opt_proj","opt_geodesic","opt_maxError"],["legacy"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],[],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],
723
- ["coords","opt_proj"],["opt_callback"],["var_args"],["r","g","b"],["opt_visParams","opt_callback"],["var_args"],["var_args"],["params","opt_callback"],["params","opt_callback"],["params","opt_callback"],["expression","opt_map"],["geometry"],["opt_visParams","opt_callback"],["opt_args"],["selectors","opt_names"],["params","opt_callback"],["params","opt_callback"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],[],["args"],["opt_visParams","opt_callback"],["opt_callback"],
724
- ["opt_visParams","opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["string"],[]];[Rm,Sm,Q,vo,uo,to,zo,xo,so,Co,qo,Do,Bo,yo,wo,Ao,V.prototype.lf,V.prototype.Lh,V.prototype.limit,V.prototype.sort,V.prototype.filter,V.prototype.mf,V.prototype.map,V.prototype.wh,O.prototype.evaluate,O.prototype.Fg,O.prototype.W,O.prototype.ua,Ll,zl,om,vl,xl,Ol,pm,yl,fm,qm,Bm,Cm,Ql,im,Dm,Rl,rm,Pl,Al,hm,Sl,Bl,sm,tm,ql,Dl,Cl,Tl,um,im,vm,Vl,El,rl,Fl,Ul,km,pl,lm,
725
- Hl,bm,Il,wm,sl,Jl,xm,Kl,mm,ym,zm,nm,Uo,Yo,Xo,cp,Zo,dp,op,qp,rp,mp,pp,256,sp,S.prototype.set,Nj,X.prototype.S,X,X.prototype.getMap,X.prototype.W,Y.prototype.getMap,Y,Y.prototype.qb,Y.prototype.S,Y.prototype.select,Y.prototype.W,Hn,Kn,On,Gn,Ln,U.prototype.uc,Pn,U,Mn,In,Fn,Qn,Nn,Jn,Mm.prototype.apply,Mm.prototype.call,un,T.prototype.ua,on,xn,qn,vn,T.prototype.pe,tn,pn,T.prototype.xg,wn,T,ln,N.prototype.W,N.prototype.ri,co,N.prototype.S,eo,N.prototype.select,N.prototype.qb,N.prototype.Md,N.prototype.uf,
726
- N.prototype.l,N.prototype.clip,N.prototype.getMap,N,Z.prototype.select,Z.prototype.tf,Z.prototype.vf,Z.prototype.Ff,Z.prototype.first,Z,Z.prototype.S,Z.prototype.W,Z.prototype.getMap,fo,Ko,Kk,Tk,Vk,Pk,Mk,Uk,Jk,No,gp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
711
+ h.Zk=function(a,b,c,d){c.type=="error"?(jc(this.yb,b),this.ug.add(b),this.dispatchEvent(c)):(jc(this.yb,b),c.target&&c.type=="load"&&(c=c.target,this.vg.add(c),this.Rf!=1&&Ip(c,this.Rf),a.appendChild(c)),xp(this));this.ta&&d!==null&&this.ta.Nk(b,d)};x("ee.MapLayerOverlay",zq);zq.prototype.removeTileCallback=zq.prototype.Zf;zq.prototype.addTileCallback=zq.prototype.Me;zq.prototype.getTile=zq.prototype.getTile;zq.prototype.setOpacity=zq.prototype.setOpacity;zq.prototype.releaseTile=zq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._apply ee.ApiFunction._call ee.ApiFunction.lookup ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.classifier.toAsset ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.map ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.filterBounds ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.data.createAssetHome ee.data.createFolder ee.data.getTaskStatus ee.data.setWorkloadTag ee.data.createAsset ee.data.getTileUrl ee.data.getWorkloadTag ee.data.getMapId ee.data.getTaskList ee.data.setDefaultWorkloadTag ee.data.resetWorkloadTag ee.data.listOperations ee.data.renameAsset ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.getFeatureViewTilesKey ee.data.copyAsset ee.data.listFeatures ee.data.cancelOperation ee.data.authenticateViaOauth ee.data.deleteAsset ee.data.getAsset ee.data.computeValue ee.data.getOperation ee.data.getVideoThumbId ee.data.getAssetAcl ee.data.getThumbId ee.data.getInfo ee.data.cancelTask ee.data.makeThumbUrl ee.data.getFilmstripThumbId ee.data.getList ee.data.updateTask ee.data.listAssets ee.data.authenticate ee.data.startProcessing ee.data.getDownloadId ee.data.authenticateViaPopup ee.data.updateAsset ee.data.setAssetAcl ee.data.listImages ee.data.authenticateViaPrivateKey ee.data.makeTableDownloadUrl ee.data.listBuckets ee.data.setAssetProperties ee.data.makeDownloadUrl ee.data.getTableDownloadId ee.data.newTaskId ee.data.getAssetRoots ee.data.startIngestion ee.data.getAssetRootQuota ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Dictionary ee.Algorithms ee.InitState ee.initialize ee.call ee.apply ee.TILE_SIZE ee.reset ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getMapId ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.Filter.bounds ee.Filter.prototype.not ee.Filter.and ee.Filter.or ee.Filter ee.Filter.gte ee.Filter.metadata ee.Filter.eq ee.Filter.date ee.Filter.gt ee.Filter.inList ee.Filter.neq ee.Filter.lte ee.Filter.lt ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.LinearRing ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.MultiLineString ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry.MultiPolygon ee.Geometry.LineString ee.Geometry ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.Rectangle ee.Geometry.prototype.toGeoJSONString ee.Image.prototype.getThumbURL ee.Image.prototype.select ee.Image.prototype.getDownloadURL ee.Image.prototype.clip ee.Image.prototype.getMap ee.Image ee.Image.cat ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.expression ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.select ee.ImageCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getInfo ee.List ee.Number ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
712
+ c=[["name","namedArgs"],["name","var_args"],["name"],"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
713
+ "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
714
+ "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices","opt_priority"],"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
715
+ "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),["classifier","opt_description","opt_assetId","opt_priority"],["algorithm","opt_first"],["filter"],["name","operator","value"],["max","opt_property","opt_ascending"],["algorithm","opt_dropNulls"],["start","opt_end"],["property","opt_ascending"],["geometry"],["callback"],["opt_callback"],["func","var_args"],["legacy"],["requestedId",
716
+ "opt_callback"],["path","opt_force","opt_callback"],["taskId","opt_callback"],["tag"],["value","opt_path","opt_force","opt_properties","opt_callback"],["id","x","y","z"],[],["params","opt_callback"],["opt_callback"],["tag"],["opt_resetDefault"],["opt_limit","opt_callback"],["sourceId","destinationId","opt_callback"],["opt_limit","opt_callback"],["taskId","request","opt_callback"],["params","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["asset","params","opt_callback"],
717
+ ["operationName","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["assetId","opt_callback"],["id","opt_callback"],["obj","opt_callback"],["operationName","opt_callback"],["params","opt_callback"],["assetId","opt_callback"],["params","opt_callback"],["id","opt_callback"],["taskId","opt_callback"],["id"],["params","opt_callback"],["params","opt_callback"],["taskId","action","opt_callback"],["parent","opt_params","opt_callback"],
718
+ ["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["taskId","params","opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["assetId","asset","updateFields","opt_callback"],["assetId","aclUpdate","opt_callback"],["parent","opt_params","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["id"],["project","opt_callback"],["assetId","properties","opt_callback"],["id"],["params","opt_callback"],["opt_count",
719
+ "opt_callback"],["opt_callback"],["taskId","request","opt_callback"],["rootId","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),["func","var_args"],["func","namedArgs"],[],[],["var_args"],[],["opt_callback"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["propertySelectors","opt_newProperties",
720
+ "opt_retainGeometry"],["opt_callback"],["opt_visParams","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["args","opt_column"],["geometry","opt_errorMargin"],[],["var_args"],["var_args"],["opt_filter"],["name","value"],["name","operator","value"],["name","value"],["start","opt_end"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","value"],["name","value"],["name","value"],["namedArgs"],["var_args"],["coords","opt_proj","opt_geodesic",
721
+ "opt_maxError"],["coords","opt_proj"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError"],["west","south","east","north"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],[],["coords","opt_proj","opt_geodesic","opt_evenOdd"],[],["params","opt_callback"],["var_args"],["params","opt_callback"],
722
+ ["geometry"],["opt_visParams","opt_callback"],["opt_args"],["var_args"],["params","opt_callback"],["r","g","b"],["var_args"],["opt_callback"],["opt_visParams","opt_callback"],["expression","opt_map"],["opt_visParams","opt_callback"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],["params","opt_callback"],["params","opt_callback"],["selectors","opt_names"],["args"],["opt_visParams","opt_callback"],[],["opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],
723
+ ["obj"],["obj"],["obj","opt_isCompound"],["obj"],["string"],[]];[Sm,Q,Rm,so,yo,Bo,wo,Ao,vo,to,uo,zo,xo,Co,qo,Do,V.prototype.Lh,V.prototype.filter,V.prototype.mf,V.prototype.limit,V.prototype.map,V.prototype.lf,V.prototype.sort,V.prototype.wh,O.prototype.evaluate,O.prototype.W,O.prototype.Fg,O.prototype.ua,pm,rm,Ol,Bm,qm,yl,vl,xl,Ql,Cm,Dm,Rl,sm,Pl,hm,zl,tm,Al,Sl,ql,um,im,Bl,Tl,Dl,vm,Cl,im,Vl,Fl,El,km,Ul,lm,rl,bm,Hl,pl,wm,xm,mm,sl,Kl,nm,ym,Il,Jl,Ll,om,fm,zm,Uo,cp,Xo,Zo,Yo,dp,op,qp,mp,rp,sp,256,pp,S.prototype.set,
724
+ Nj,X.prototype.W,X,X.prototype.getMap,X.prototype.S,Y.prototype.S,Y.prototype.select,Y.prototype.W,Y.prototype.getMap,Y.prototype.qb,Y,Pn,U.prototype.uc,Ln,Mn,U,In,Qn,Fn,Nn,Jn,On,Gn,Kn,Hn,Mm.prototype.apply,Mm.prototype.call,un,ln,T.prototype.ua,vn,qn,on,xn,tn,T,wn,T.prototype.pe,pn,T.prototype.xg,N.prototype.uf,N.prototype.select,N.prototype.qb,N.prototype.clip,N.prototype.getMap,N,eo,N.prototype.Md,co,N.prototype.ri,N.prototype.W,N.prototype.S,N.prototype.l,Z.prototype.getMap,Z.prototype.Ff,Z.prototype.tf,
725
+ Z.prototype.vf,Z.prototype.select,Z,Z.prototype.S,Z.prototype.first,Z.prototype.W,fo,Ko,Kk,Pk,Uk,Mk,Vk,Jk,Tk,No,gp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
@@ -1,14 +1,5 @@
1
1
  var $jscomp = $jscomp || {};
2
2
  $jscomp.scope = {};
3
- $jscomp.arrayIteratorImpl = function(array) {
4
- var index = 0;
5
- return function() {
6
- return index < array.length ? {done:!1, value:array[index++]} : {done:!0};
7
- };
8
- };
9
- $jscomp.arrayIterator = function(array) {
10
- return {next:$jscomp.arrayIteratorImpl(array)};
11
- };
12
3
  $jscomp.ASSUME_ES5 = !1;
13
4
  $jscomp.ASSUME_ES6 = !1;
14
5
  $jscomp.ASSUME_ES2020 = !1;
@@ -18,6 +9,12 @@ $jscomp.ISOLATE_POLYFILLS = !1;
18
9
  $jscomp.FORCE_POLYFILL_PROMISE = !1;
19
10
  $jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION = !1;
20
11
  $jscomp.INSTRUMENT_ASYNC_CONTEXT = !0;
12
+ $jscomp.objectCreate = $jscomp.ASSUME_ES5 || typeof Object.create == "function" ? Object.create : function(prototype) {
13
+ var ctor = function() {
14
+ };
15
+ ctor.prototype = prototype;
16
+ return new ctor();
17
+ };
21
18
  $jscomp.defineProperty = $jscomp.ASSUME_ES5 || typeof Object.defineProperties == "function" ? Object.defineProperty : function(target, property, descriptor) {
22
19
  if (target == Array.prototype || target == Object.prototype) {
23
20
  return target;
@@ -102,50 +99,6 @@ $jscomp.polyfillIsolated = function(target, polyfill, fromLang, toLang) {
102
99
  }
103
100
  }
104
101
  };
105
- $jscomp.initSymbol = function() {
106
- };
107
- $jscomp.polyfill("Symbol", function(orig) {
108
- if (orig) {
109
- return orig;
110
- }
111
- var SymbolClass = function(id, opt_description) {
112
- this.$jscomp$symbol$id_ = id;
113
- $jscomp.defineProperty(this, "description", {configurable:!0, writable:!0, value:opt_description});
114
- };
115
- SymbolClass.prototype.toString = function() {
116
- return this.$jscomp$symbol$id_;
117
- };
118
- var SYMBOL_PREFIX = "jscomp_symbol_" + (Math.random() * 1E9 >>> 0) + "_", counter = 0, symbolPolyfill = function(opt_description) {
119
- if (this instanceof symbolPolyfill) {
120
- throw new TypeError("Symbol is not a constructor");
121
- }
122
- return new SymbolClass(SYMBOL_PREFIX + (opt_description || "") + "_" + counter++, opt_description);
123
- };
124
- return symbolPolyfill;
125
- }, "es6", "es3");
126
- $jscomp.polyfill("Symbol.iterator", function(orig) {
127
- if (orig) {
128
- return orig;
129
- }
130
- var symbolIterator = Symbol("Symbol.iterator");
131
- $jscomp.defineProperty(Array.prototype, symbolIterator, {configurable:!0, writable:!0, value:function() {
132
- return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this));
133
- }});
134
- return symbolIterator;
135
- }, "es6", "es3");
136
- $jscomp.iteratorPrototype = function(next) {
137
- var iterator = {next:next};
138
- iterator[Symbol.iterator] = function() {
139
- return this;
140
- };
141
- return iterator;
142
- };
143
- $jscomp.objectCreate = $jscomp.ASSUME_ES5 || typeof Object.create == "function" ? Object.create : function(prototype) {
144
- var ctor = function() {
145
- };
146
- ctor.prototype = prototype;
147
- return new ctor();
148
- };
149
102
  $jscomp.getConstructImplementation = function() {
150
103
  function reflectConstructWorks() {
151
104
  function Base() {
@@ -208,6 +161,15 @@ $jscomp.inherits = function(childCtor, parentCtor) {
208
161
  }
209
162
  childCtor.superClass_ = parentCtor.prototype;
210
163
  };
164
+ $jscomp.arrayIteratorImpl = function(array) {
165
+ var index = 0;
166
+ return function() {
167
+ return index < array.length ? {done:!1, value:array[index++]} : {done:!0};
168
+ };
169
+ };
170
+ $jscomp.arrayIterator = function(array) {
171
+ return {next:$jscomp.arrayIteratorImpl(array)};
172
+ };
211
173
  $jscomp.makeIterator = function(iterable) {
212
174
  var iteratorFunction = typeof Symbol != "undefined" && Symbol.iterator && iterable[Symbol.iterator];
213
175
  if (iteratorFunction) {
@@ -511,6 +473,44 @@ $jscomp.polyfill("Reflect.setPrototypeOf", function(orig) {
511
473
  }
512
474
  return null;
513
475
  }, "es6", "es5");
476
+ $jscomp.initSymbol = function() {
477
+ };
478
+ $jscomp.polyfill("Symbol", function(orig) {
479
+ if (orig) {
480
+ return orig;
481
+ }
482
+ var SymbolClass = function(id, opt_description) {
483
+ this.$jscomp$symbol$id_ = id;
484
+ $jscomp.defineProperty(this, "description", {configurable:!0, writable:!0, value:opt_description});
485
+ };
486
+ SymbolClass.prototype.toString = function() {
487
+ return this.$jscomp$symbol$id_;
488
+ };
489
+ var SYMBOL_PREFIX = "jscomp_symbol_" + (Math.random() * 1E9 >>> 0) + "_", counter = 0, symbolPolyfill = function(opt_description) {
490
+ if (this instanceof symbolPolyfill) {
491
+ throw new TypeError("Symbol is not a constructor");
492
+ }
493
+ return new SymbolClass(SYMBOL_PREFIX + (opt_description || "") + "_" + counter++, opt_description);
494
+ };
495
+ return symbolPolyfill;
496
+ }, "es6", "es3");
497
+ $jscomp.polyfill("Symbol.iterator", function(orig) {
498
+ if (orig) {
499
+ return orig;
500
+ }
501
+ var symbolIterator = Symbol("Symbol.iterator");
502
+ $jscomp.defineProperty(Array.prototype, symbolIterator, {configurable:!0, writable:!0, value:function() {
503
+ return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this));
504
+ }});
505
+ return symbolIterator;
506
+ }, "es6", "es3");
507
+ $jscomp.iteratorPrototype = function(next) {
508
+ var iterator = {next:next};
509
+ iterator[Symbol.iterator] = function() {
510
+ return this;
511
+ };
512
+ return iterator;
513
+ };
514
514
  $jscomp.polyfill("Promise", function(NativePromise) {
515
515
  function platformSupportsPromiseRejectionEvents() {
516
516
  return typeof $jscomp.global.PromiseRejectionEvent !== "undefined";
@@ -19495,7 +19495,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
19495
19495
  ee.apiclient = {};
19496
19496
  var module$contents$ee$apiclient_apiclient = {};
19497
19497
  ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
19498
- ee.apiclient.API_CLIENT_VERSION = "1.6.13";
19498
+ ee.apiclient.API_CLIENT_VERSION = "1.6.14";
19499
19499
  ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
19500
19500
  ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
19501
19501
  ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
@@ -19800,8 +19800,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
19800
19800
  var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
19801
19801
  body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
19802
19802
  method = method || "POST";
19803
- var headers = {"Content-Type":contentType}, version = "1.6.13";
19804
- version === "1.6.13" && (version = "latest");
19803
+ var headers = {"Content-Type":contentType}, version = "1.6.14";
19804
+ version === "1.6.14" && (version = "latest");
19805
19805
  headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
19806
19806
  module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
19807
19807
  var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
@@ -24818,6 +24818,9 @@ ee.promote_ = function(arg, klass) {
24818
24818
  return null;
24819
24819
  }
24820
24820
  if (arg !== void 0) {
24821
+ if (typeof klass != "string") {
24822
+ throw Error("Unexpected type: " + Object.prototype.toString.call(klass));
24823
+ }
24821
24824
  var exportedEE = goog.global.ee;
24822
24825
  switch(klass) {
24823
24826
  case "Image":