@google/earthengine 0.1.416 → 0.1.417

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.
@@ -20,15 +20,16 @@ n("Map",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entr
20
20
  g();this.size=0;if(l){l=q(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.ea?p.ea.value=m:(p.ea={next:this[1],kb:this[1].kb,head:this[1],key:l,value:m},p.list.push(p.ea),this[1].kb.next=p.ea,this[1].kb=p.ea,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.ea&&l.list?(l.list.splice(l.index,1),l.list.length||delete this[0][l.id],l.ea.kb.next=l.ea.next,l.ea.next.kb=
21
21
  l.ea.kb,l.ea.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].kb=g();this.size=0};c.prototype.has=function(l){return!!d(this,l).ea};c.prototype.get=function(l){return(l=d(this,l).ea)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=function(){return e(this,function(l){return l.value})};c.prototype.forEach=function(l,m){for(var p=this.entries(),
22
22
  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&&ka(l[0],p))for(l=0;l<v.length;l++){var A=v[l];if(m!==m&&A.key!==A.key||m===A.key)return{id:p,list:v,index:l,ea:A}}return{id:p,list:v,index:-1,ea:void 0}},e=function(l,m){var p=l[1];return fa(function(){if(p){for(;p.head!=l[1];)p=p.kb;for(;p.next!=p.head;)return p=
23
- p.next,{done:!1,value:m(p)};p=null}return{done:!0,value:void 0}})},g=function(){var l={};return l.kb=l.next=l.head=l},f=0;return c});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+""};
23
+ p.next,{done:!1,value:m(p)};p=null}return{done:!0,value:void 0}})},g=function(){var l={};return l.kb=l.next=l.head=l},f=0;return c});
24
+ 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(q([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.A=new Map;if(c){c=
25
+ q(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.A.size};b.prototype.add=function(c){c=c===0?0:c;this.A.set(c,c);this.size=this.A.size;return this};b.prototype.delete=function(c){c=this.A.delete(c);this.size=this.A.size;return c};b.prototype.clear=function(){this.A.clear();this.size=0};b.prototype.has=function(c){return this.A.has(c)};b.prototype.entries=function(){return this.A.entries()};b.prototype.values=function(){return this.A.values()};b.prototype.keys=b.prototype.values;
26
+ b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.A.forEach(function(g){return c.call(d,g,g,e)})};return b});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+""};
24
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("Array.prototype.entries",function(a){return a?a:function(){return ta(this,function(b,c){return[b,c]})}});
25
28
  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}});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}});
26
29
  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}});
27
30
  n("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ka(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}});
28
- n("String.prototype.includes",function(a){return a?a:function(b,c){return ua(this,b,"includes").indexOf(b,c||0)!==-1}});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}});
29
- 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(q([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.A=new Map;if(c){c=
30
- q(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.A.size};b.prototype.add=function(c){c=c===0?0:c;this.A.set(c,c);this.size=this.A.size;return this};b.prototype.delete=function(c){c=this.A.delete(c);this.size=this.A.size;return c};b.prototype.clear=function(){this.A.clear();this.size=0};b.prototype.has=function(c){return this.A.has(c)};b.prototype.entries=function(){return this.A.entries()};b.prototype.values=function(){return this.A.values()};b.prototype.keys=b.prototype.values;
31
- b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.A.forEach(function(g){return c.call(d,g,g,e)})};return b});n("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ka(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}});/*
31
+ n("String.prototype.includes",function(a){return a?a:function(b,c){return ua(this,b,"includes").indexOf(b,c||0)!==-1}});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("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ka(b,d)&&c.push(b[d]);return c}});
32
+ 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}});/*
32
33
 
33
34
  Copyright The Closure Library Authors.
34
35
  SPDX-License-Identifier: Apache-2.0
@@ -50,13 +51,13 @@ var xb=function(a){if(a instanceof wb&&a.constructor===wb)return a.ii;pb("expect
50
51
 
51
52
  SPDX-License-Identifier: Apache-2.0
52
53
  */
53
- var zb=ha([""]),Ab=ia(["\x00"],["\\0"]),Bb=ia(["\n"],["\\n"]),Cb=ia(["\x00"],["\\u0000"]),Db=ha([""]),Eb=ia(["\x00"],["\\0"]),Fb=ia(["\n"],["\\n"]),Gb=ia(["\x00"],["\\u0000"]);function Ib(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function Jb(a){return a.toString().indexOf("`")===-1}var Kb=Jb(function(a){return a(zb)})||Jb(function(a){return a(Ab)})||Jb(function(a){return a(Bb)})||Jb(function(a){return a(Cb)}),Lb=Ib(Db)&&Ib(Eb)&&Ib(Fb)&&Ib(Gb);var Mb={};var Nb=function(a){if(Mb!==Mb)throw Error("Bad secret");this.ji=a};Nb.prototype.toString=function(){return this.ji};new Nb("about:blank");var Ob=new Nb("about:invalid#zClosurez");function Pb(a){if(a instanceof Nb)return a.ji;throw Error("Unexpected type when unwrapping SafeUrl, got '"+a+"' of type '"+typeof a+"'");};function Qb(a){if(typeof MediaSource!=="undefined"&&a instanceof MediaSource)return new Nb(URL.createObjectURL(a));var b=a.type.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i);if((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\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||/^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])))throw Error("unsafe blob MIME type: "+
54
- a.type);return new Nb(URL.createObjectURL(a))}var Rb=[],Sb=function(a){console.warn("A URL with content '"+a+"' was sanitized away.")};Rb.indexOf(Sb)===-1&&Rb.push(Sb);var Tb=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},Ub=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"||
55
- b.length!=1?-1:a.lastIndexOf(b,c);for(;c>=0;c--)if(c in a&&a[c]===b)return c;return-1},Vb=Array.prototype.forEach?function(a,b){E(a.length!=null);Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},Wb=Array.prototype.filter?function(a,b){E(a.length!=null);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,g=typeof a==="string"?a.split(""):a,f=0;f<c;f++)if(f in
56
- g){var l=g[f];b.call(void 0,l,f,a)&&(d[e++]=l)}return d},Xb=Array.prototype.map?function(a,b,c){E(a.length!=null);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g=typeof a==="string"?a.split(""):a,f=0;f<d;f++)f in g&&(e[f]=b.call(c,g[f],f,a));return e},Yb=Array.prototype.some?function(a,b){E(a.length!=null);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],
57
- e,a))return!0;return!1},Zb=Array.prototype.every?function(a,b){E(a.length!=null);return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};function $b(a,b){var c=0;Vb(a,function(d,e,g){b.call(void 0,d,e,g)&&++c});return c}function ac(a,b){return Tb(a,b)>=0}function bc(a,b){b=Tb(a,b);var c;(c=b>=0)&&cc(a,b);return c}
58
- function cc(a,b){E(a.length!=null);Array.prototype.splice.call(a,b,1)}function dc(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function ec(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(xa(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var f=0;f<g;f++)a[e+f]=d[f]}else a.push(d)}}function fc(a,b,c){E(a.length!=null);return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
59
- function gc(a){var b=[];if(a-0<0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function hc(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var g=fc(d,e,e+8192);g=hc.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var ic={},jc=function(){if(ic!==ic)throw Error("SafeStyle is not meant to be built directly");this.pl=""};jc.prototype.toString=function(){return this.pl.toString()};new jc;var kc={},lc=function(){if(kc!==kc)throw Error("SafeStyleSheet is not meant to be built directly");this.ol=""};lc.prototype.toString=function(){return this.ol.toString()};new lc;var mc={},nc=function(){var a=t.trustedTypes&&t.trustedTypes.emptyHTML||"";if(mc!==mc)throw Error("SafeHtml is not meant to be built directly");this.nl=a};nc.prototype.toString=function(){return this.nl.toString()};new nc;var oc=Object.freeze||function(a){return a};var pc=function(a,b){this.name=a;this.value=b};pc.prototype.toString=function(){return this.name};var qc=new pc("OFF",Infinity),rc=new pc("SEVERE",1E3),sc=new pc("CONFIG",700),tc=new pc("FINE",500),uc=function(){this.Bd=0;this.clear()},vc;uc.prototype.clear=function(){this.yd=Array(this.Bd);this.ih=-1;this.Ih=!1};var wc=function(a,b,c){this.reset(a||qc,b,c,void 0,void 0)};wc.prototype.reset=function(){};
54
+ var zb=ha([""]),Ab=ia(["\x00"],["\\0"]),Bb=ia(["\n"],["\\n"]),Cb=ia(["\x00"],["\\u0000"]),Db=ha([""]),Eb=ia(["\x00"],["\\0"]),Fb=ia(["\n"],["\\n"]),Gb=ia(["\x00"],["\\u0000"]);function Ib(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function Jb(a){return a.toString().indexOf("`")===-1}var Kb=Jb(function(a){return a(zb)})||Jb(function(a){return a(Ab)})||Jb(function(a){return a(Bb)})||Jb(function(a){return a(Cb)}),Lb=Ib(Db)&&Ib(Eb)&&Ib(Fb)&&Ib(Gb);var Mb={};function Nb(){if(Mb!==Mb)throw Error("Bad secret");};var Ob=function(a){Nb();this.ji=a};Ob.prototype.toString=function(){return this.ji};new Ob("about:blank");var Pb=new Ob("about:invalid#zClosurez");function Qb(a){if(a instanceof Ob)return a.ji;throw Error("Unexpected type when unwrapping SafeUrl, got '"+a+"' of type '"+typeof a+"'");};function Rb(a){if(typeof MediaSource!=="undefined"&&a instanceof MediaSource)return new Ob(URL.createObjectURL(a));var b=a.type.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i);if((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\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||/^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])))throw Error("unsafe blob MIME type: "+
55
+ a.type);return new Ob(URL.createObjectURL(a))}var Sb=[],Tb=function(a){console.warn("A URL with content '"+a+"' was sanitized away.")};Sb.indexOf(Tb)===-1&&Sb.push(Tb);var Ub=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},Vb=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"||
56
+ b.length!=1?-1:a.lastIndexOf(b,c);for(;c>=0;c--)if(c in a&&a[c]===b)return c;return-1},Wb=Array.prototype.forEach?function(a,b){E(a.length!=null);Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},Xb=Array.prototype.filter?function(a,b){E(a.length!=null);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,g=typeof a==="string"?a.split(""):a,f=0;f<c;f++)if(f in
57
+ g){var l=g[f];b.call(void 0,l,f,a)&&(d[e++]=l)}return d},Yb=Array.prototype.map?function(a,b,c){E(a.length!=null);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g=typeof a==="string"?a.split(""):a,f=0;f<d;f++)f in g&&(e[f]=b.call(c,g[f],f,a));return e},Zb=Array.prototype.some?function(a,b){E(a.length!=null);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],
58
+ e,a))return!0;return!1},$b=Array.prototype.every?function(a,b){E(a.length!=null);return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};function ac(a,b){var c=0;Wb(a,function(d,e,g){b.call(void 0,d,e,g)&&++c});return c}function bc(a,b){return Ub(a,b)>=0}function cc(a,b){b=Ub(a,b);var c;(c=b>=0)&&dc(a,b);return c}
59
+ function dc(a,b){E(a.length!=null);Array.prototype.splice.call(a,b,1)}function ec(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function fc(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(xa(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var f=0;f<g;f++)a[e+f]=d[f]}else a.push(d)}}function gc(a,b,c){E(a.length!=null);return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
60
+ function hc(a){var b=[];if(a-0<0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function ic(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var g=gc(d,e,e+8192);g=ic.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var jc=function(){Nb();this.pl=""};jc.prototype.toString=function(){return this.pl};new jc;var kc={},lc=function(){if(kc!==kc)throw Error("SafeStyleSheet is not meant to be built directly");this.ol=""};lc.prototype.toString=function(){return this.ol.toString()};new lc;var mc={},nc=function(){var a=t.trustedTypes&&t.trustedTypes.emptyHTML||"";if(mc!==mc)throw Error("SafeHtml is not meant to be built directly");this.nl=a};nc.prototype.toString=function(){return this.nl.toString()};new nc;var oc=Object.freeze||function(a){return a};var pc=function(a,b){this.name=a;this.value=b};pc.prototype.toString=function(){return this.name};var qc=new pc("OFF",Infinity),rc=new pc("SEVERE",1E3),sc=new pc("CONFIG",700),tc=new pc("FINE",500),uc=function(){this.Bd=0;this.clear()},vc;uc.prototype.clear=function(){this.yd=Array(this.Bd);this.ih=-1;this.Ih=!1};var wc=function(a,b,c){this.reset(a||qc,b,c,void 0,void 0)};wc.prototype.reset=function(){};
60
61
  var xc=function(a,b){this.level=null;this.Yk=[];this.parent=(b===void 0?null:b)||null;this.children=[];this.fl={uf:function(){return a}}},yc=function(a){if(a.level)return a.level;if(a.parent)return yc(a.parent);pb("Root logger has no level set.");return qc},zc=function(a,b){for(;a;)a.Yk.forEach(function(c){c(b)}),a=a.parent},Ac=function(){this.entries={};var a=new xc("");a.level=sc;this.entries[""]=a},Bc,Cc=function(a,b){var c=a.entries[b];if(c)return c;c=Cc(a,b.slice(0,Math.max(b.lastIndexOf("."),
61
62
  0)));var d=new xc(b,c);a.entries[b]=d;c.children.push(d);return d},Dc=function(){Bc||(Bc=new Ac);return Bc},Ec=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?yc(Cc(Dc(),a.uf())):qc;d=d>=e.value}if(d){b=b||qc;d=Cc(Dc(),a.uf());typeof c==="function"&&(c=c());vc||(vc=new uc);e=vc;a=a.uf();if(e.Bd>0){var g=(e.ih+1)%e.Bd;e.ih=g;e.Ih?(e=e.yd[g],e.reset(b,c,a),a=e):(e.Ih=g==e.Bd-1,a=e.yd[g]=new wc(b,c,a))}else a=new wc(b,c,a);zc(d,a)}},Fc=function(a,b){a&&Ec(a,rc,b)},Gc=function(a,b){a&&Ec(a,
62
63
  tc,b)};var Hc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&c.length>1;)d+=c.shift()+e.shift();return d+c.join("%s")},Ic=function(a){var b=1;a=a.split(":");for(var c=[];b>0&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};var Jc=function(a){if(a.R&&typeof a.R=="function")a=a.R();else if(xa(a)||typeof a==="string")a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Kc=function(a){if(a.aa&&typeof a.aa=="function")return a.aa();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(xa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return $a(a)},Lc=function(a){if(a.sb&&typeof a.sb=="function")return a.sb();
@@ -70,14 +71,14 @@ var Rc=function(a,b,c){Sc(a);a.vb=c?Vc(b,!0):b;a.vb&&(a.vb=a.vb.replace(/:$/,"")
70
71
  Qc.prototype.removeParameter=function(a){Sc(this);this.Ba.remove(a);return this};var Sc=function(a){if(a.bl)throw Error("Tried to modify a read-only Uri");};Qc.prototype.fg=function(a){this.za=a;this.Ba&&this.Ba.fg(a)};
71
72
  var cd=function(a){return a instanceof Qc?a.clone():new Qc(a)},Vc=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Xc=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,dd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},dd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Yc=/[#\/\?@]/g,$c=/[#\?:]/g,Zc=/[#\?]/g,bd=/[#\?@]/g,ad=/#/g,Wc=function(a,b){this.Y=this.N=null;this.ta=a||null;this.za=!!b},ed=
72
73
  function(a){a.N||(a.N=new Map,a.Y=0,a.ta&&Pc(a.ta,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Wc.prototype;h.R=function(){ed(this);return this.Y};h.add=function(a,b){ed(this);this.ta=null;a=fd(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.Y=qb(this.Y)+1;return this};h.remove=function(a){ed(this);a=fd(this,a);return this.N.has(a)?(this.ta=null,this.Y=qb(this.Y)-this.N.get(a).length,this.N.delete(a)):!1};h.clear=function(){this.N=this.ta=null;this.Y=0};
73
- h.isEmpty=function(){ed(this);return this.Y==0};h.Ob=function(a){ed(this);a=fd(this,a);return this.N.has(a)};h.Gc=function(a){var b=this.aa();return ac(b,a)};h.forEach=function(a,b){ed(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.sb=function(){ed(this);for(var a=Array.from(this.N.values()),b=Array.from(this.N.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};
74
+ h.isEmpty=function(){ed(this);return this.Y==0};h.Ob=function(a){ed(this);a=fd(this,a);return this.N.has(a)};h.Gc=function(a){var b=this.aa();return bc(b,a)};h.forEach=function(a,b){ed(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.sb=function(){ed(this);for(var a=Array.from(this.N.values()),b=Array.from(this.N.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};
74
75
  h.aa=function(a){ed(this);var b=[];if(typeof a==="string")this.Ob(a)&&(b=b.concat(this.N.get(fd(this,a))));else{a=Array.from(this.N.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};h.set=function(a,b){ed(this);this.ta=null;a=fd(this,a);this.Ob(a)&&(this.Y=qb(this.Y)-this.N.get(a).length);this.N.set(a,[b]);this.Y=qb(this.Y)+1;return this};h.get=function(a,b){if(!a)return b;a=this.aa(a);return a.length>0?String(a[0]):b};
75
- h.setValues=function(a,b){this.remove(a);b.length>0&&(this.ta=null,this.N.set(fd(this,a),dc(b)),this.Y=qb(this.Y)+b.length)};h.toString=function(){if(this.ta)return this.ta;if(!this.N)return"";for(var a=[],b=Array.from(this.N.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.aa(d);for(var g=0;g<d.length;g++){var f=e;d[g]!==""&&(f+="="+encodeURIComponent(String(d[g])));a.push(f)}}return this.ta=a.join("&")};
76
+ h.setValues=function(a,b){this.remove(a);b.length>0&&(this.ta=null,this.N.set(fd(this,a),ec(b)),this.Y=qb(this.Y)+b.length)};h.toString=function(){if(this.ta)return this.ta;if(!this.N)return"";for(var a=[],b=Array.from(this.N.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.aa(d);for(var g=0;g<d.length;g++){var f=e;d[g]!==""&&(f+="="+encodeURIComponent(String(d[g])));a.push(f)}}return this.ta=a.join("&")};
76
77
  h.clone=function(){var a=new Wc;a.ta=this.ta;this.N&&(a.N=new Map(this.N),a.Y=this.Y);return a};var fd=function(a,b){b=String(b);a.za&&(b=b.toLowerCase());return b};Wc.prototype.fg=function(a){a&&!this.za&&(ed(this),this.ta=null,this.N.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.za=a};Wc.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Mc(arguments[b],function(c,d){this.add(d,c)},this)};function gd(a){if(a.u!=null){var b={},c;for(c in a.u)a.u[c]!==void 0&&(b[c]=a.u[c]);a.u=b}}function F(a,b){var c=hd;b=b===void 0?{}:b;c=q(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;d in a&&(b[e]=a[d])}return b};var id=function(a,b){this.M=a;this.Zk=b===void 0?null:b};r(id,Ua);var jd=function(a,b,c){var d=Va(a.Zk,b);if(d==null)return c;d.Ol();return c.then(function(e){d.Ql(e);return e},function(e){d.Pl(e);throw e;})},G=function(a,b){var c=b.G||void 0,d=a.M,e=d.send,g=b.body instanceof z?Na(b.body,Ja,Ka,La):b.body;return jd(a,b,e.call(d,{path:b.path,B:b.B,D:b.D,body:g,u:b.u,Ci:b.Ci&&b.Ci},c))};var kd=function(){};kd.prototype.send=function(a,b){gd(a);return(void 0).then(function(c){return b?Ma(b,c):c})};function ld(a){a&&typeof a.dispose=="function"&&a.dispose()};var H=function(){this.Ra=this.Ra;this.Yd=this.Yd};H.prototype.Ra=!1;H.prototype.dispose=function(){this.Ra||(this.Ra=!0,this.J())};H.prototype[Symbol.dispose]=function(){this.dispose()};H.prototype.J=function(){if(this.Yd)for(;this.Yd.length;)this.Yd.shift()()};var md=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.cd=!1};md.prototype.stopPropagation=function(){this.cd=!0};md.prototype.preventDefault=function(){this.defaultPrevented=!0};var nd=function(){if(!t.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};t.addEventListener("test",c,b);t.removeEventListener("test",c,b)}catch(d){}return a}();function od(){var a=t.navigator;return a&&(a=a.userAgent)?a:""};var pd=od().toLowerCase().indexOf("webkit")!=-1&&od().indexOf("Edge")==-1;var qd=function(a,b){md.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.Ja=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;
77
78
  this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=pd||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY=pd||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=
78
79
  a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.timeStamp=a.timeStamp;this.Ja=a;a.defaultPrevented&&qd.L.preventDefault.call(this)}};y(qd,md);
79
- qd.prototype.stopPropagation=function(){qd.L.stopPropagation.call(this);this.Ja.stopPropagation?this.Ja.stopPropagation():this.Ja.cancelBubble=!0};qd.prototype.preventDefault=function(){qd.L.preventDefault.call(this);var a=this.Ja;a.preventDefault?a.preventDefault():a.returnValue=!1};var rd="closure_listenable_"+(Math.random()*1E6|0),sd=function(a){return!(!a||!a[rd])};var td=0;var ud=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ib=e;this.key=++td;this.fd=this.zd=!1},vd=function(a){a.fd=!0;a.listener=null;a.proxy=null;a.src=null;a.ib=null};var wd=function(a){this.src=a;this.ha={};this.md=0};wd.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.ha[g];a||(a=this.ha[g]=[],this.md++);var f=xd(a,b,d,e);f>-1?(b=a[f],c||(b.zd=!1)):(b=new ud(b,this.src,g,!!d,e),b.zd=c,a.push(b));return b};wd.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ha))return!1;var e=this.ha[a];b=xd(e,b,c,d);return b>-1?(vd(e[b]),cc(e,b),e.length==0&&(delete this.ha[a],this.md--),!0):!1};
80
- var yd=function(a,b){var c=b.type;c in a.ha&&bc(a.ha[c],b)&&(vd(b),a.ha[c].length==0&&(delete a.ha[c],a.md--))};wd.prototype.ed=function(a){a=a&&a.toString();var b=0,c;for(c in this.ha)if(!a||c==a){for(var d=this.ha[c],e=0;e<d.length;e++)++b,vd(d[e]);delete this.ha[c];this.md--}};wd.prototype.Kc=function(a,b,c,d){a=this.ha[a.toString()];var e=-1;a&&(e=xd(a,b,c,d));return e>-1?a[e]:null};
80
+ qd.prototype.stopPropagation=function(){qd.L.stopPropagation.call(this);this.Ja.stopPropagation?this.Ja.stopPropagation():this.Ja.cancelBubble=!0};qd.prototype.preventDefault=function(){qd.L.preventDefault.call(this);var a=this.Ja;a.preventDefault?a.preventDefault():a.returnValue=!1};var rd="closure_listenable_"+(Math.random()*1E6|0),sd=function(a){return!(!a||!a[rd])};var td=0;var ud=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ib=e;this.key=++td;this.fd=this.zd=!1},vd=function(a){a.fd=!0;a.listener=null;a.proxy=null;a.src=null;a.ib=null};var wd=function(a){this.src=a;this.ha={};this.md=0};wd.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.ha[g];a||(a=this.ha[g]=[],this.md++);var f=xd(a,b,d,e);f>-1?(b=a[f],c||(b.zd=!1)):(b=new ud(b,this.src,g,!!d,e),b.zd=c,a.push(b));return b};wd.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ha))return!1;var e=this.ha[a];b=xd(e,b,c,d);return b>-1?(vd(e[b]),dc(e,b),e.length==0&&(delete this.ha[a],this.md--),!0):!1};
81
+ var yd=function(a,b){var c=b.type;c in a.ha&&cc(a.ha[c],b)&&(vd(b),a.ha[c].length==0&&(delete a.ha[c],a.md--))};wd.prototype.ed=function(a){a=a&&a.toString();var b=0,c;for(c in this.ha)if(!a||c==a){for(var d=this.ha[c],e=0;e<d.length;e++)++b,vd(d[e]);delete this.ha[c];this.md--}};wd.prototype.Kc=function(a,b,c,d){a=this.ha[a.toString()];var e=-1;a&&(e=xd(a,b,c,d));return e>-1?a[e]:null};
81
82
  wd.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return Za(this.ha,function(g){for(var f=0;f<g.length;++f)if(!(c&&g[f].type!=d||e&&g[f].capture!=b))return!0;return!1})};var xd=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.fd&&g.listener==b&&g.capture==!!c&&g.ib==d)return e}return-1};var zd="closure_lm_"+(Math.random()*1E6|0),Ad={},Bd=0,Dd=function(a,b,c,d,e){if(d&&d.once)return Cd(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)Dd(a,b[g],c,d,e);return null}c=Ed(c);return sd(a)?a.Wa(b,c,u(d)?!!d.capture:!!d,e):Fd(a,b,c,!1,d,e)},Fd=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=u(e)?!!e.capture:!!e,l=Gd(a);l||(a[zd]=l=new wd(a));c=l.add(b,c,d,f,g);if(c.proxy)return c;d=Hd();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)nd||(e=f),e===void 0&&
82
83
  (e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Id(b.toString()),d);else if(a.addListener&&a.removeListener)E(b==="change","MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Bd++;return c},Hd=function(){var a=Jd,b=function(c){return a.call(b.src,b.listener,c)};return b},Cd=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)Cd(a,b[g],c,d,e);return null}c=Ed(c);return sd(a)?
83
84
  a.Uc(b,c,u(d)?!!d.capture:!!d,e):Fd(a,b,c,!0,d,e)},Kd=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)Kd(a,b[g],c,d,e);else d=u(d)?!!d.capture:!!d,c=Ed(c),sd(a)?a.se(b,c,d,e):a&&(a=Gd(a))&&(b=a.Kc(b,c,d,e))&&Ld(b)},Ld=function(a){if(typeof a!=="number"&&a&&!a.fd){var b=a.src;if(sd(b))yd(b.Ia,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Id(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Bd--;(c=Gd(b))?
@@ -86,14 +87,14 @@ return a[Md]};var J=function(){H.call(this);this.Ia=new wd(this);this.Jk=this;th
86
87
  h.dispatchEvent=function(a){Nd(this);var b=this.Sf;if(b){var c=[];for(var d=1;b;b=b.Sf)c.push(b),E(++d<1E3,"infinite loop")}b=this.Jk;d=a.type||a;if(typeof a==="string")a=new md(a,b);else if(a instanceof md)a.target=a.target||b;else{var e=a;a=new md(d,b);jb(a,e)}e=!0;if(c)for(var g=c.length-1;!a.cd&&g>=0;g--){var f=a.currentTarget=c[g];e=Od(f,d,!0,a)&&e}a.cd||(f=a.currentTarget=b,e=Od(f,d,!0,a)&&e,a.cd||(e=Od(f,d,!1,a)&&e));if(c)for(g=0;!a.cd&&g<c.length;g++)f=a.currentTarget=c[g],e=Od(f,d,!1,a)&&
87
88
  e;return e};h.J=function(){J.L.J.call(this);this.Ia&&this.Ia.ed();this.Sf=null};h.Wa=function(a,b,c,d){Nd(this);return this.Ia.add(String(a),b,!1,c,d)};h.Uc=function(a,b,c,d){return this.Ia.add(String(a),b,!0,c,d)};h.se=function(a,b,c,d){this.Ia.remove(String(a),b,c,d)};var Od=function(a,b,c,d){b=a.Ia.ha[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var f=b[g];if(f&&!f.fd&&f.capture==c){var l=f.listener,m=f.ib||f.src;f.zd&&yd(a.Ia,f);e=l.call(m,d)!==!1&&e}}return e&&!d.defaultPrevented};
88
89
  J.prototype.Kc=function(a,b,c,d){return this.Ia.Kc(String(a),b,c,d)};J.prototype.hasListener=function(a,b){return this.Ia.hasListener(a!==void 0?String(a):void 0,b)};var Nd=function(a){E(a.Ia,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Pd=function(a,b){this.Ok=a[t.Symbol.iterator]();this.gl=b};Pd.prototype[Symbol.iterator]=function(){return this};Pd.prototype.next=function(){var a=this.Ok.next();return{value:a.done?void 0:this.gl.call(void 0,a.value),done:a.done}};var Qd=function(a,b){return new Pd(a,b)};var Rd=function(){},Sd=function(a){return a};var Td=function(){};Td.prototype.next=function(){return Ud};var Ud=oc({done:!0,value:void 0});Td.prototype.Da=function(){return this};
89
- var Vd=function(a){if(a instanceof Td)return a;if(typeof a.Da=="function")return a.Da(!1);if(xa(a)){var b=0,c=new Td;c.next=function(){for(;;){if(b>=a.length)return Ud;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},Wd=function(a,b){if(xa(a))Vb(a,b);else for(a=Vd(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var $d=function(a){if(a instanceof Xd||a instanceof Yd||a instanceof Zd)return a;if(typeof a.next=="function")return new Xd(function(){return a});if(typeof a[Symbol.iterator]=="function")return new Xd(function(){return a[Symbol.iterator]()});if(typeof a.Da=="function")return new Xd(function(){return a.Da()});throw Error("Not an iterator or iterable.");},Xd=function(a){this.sf=a};Xd.prototype.Da=function(){return new Yd(this.sf())};Xd.prototype[Symbol.iterator]=function(){return new Zd(this.sf())};
90
+ var Vd=function(a){if(a instanceof Td)return a;if(typeof a.Da=="function")return a.Da(!1);if(xa(a)){var b=0,c=new Td;c.next=function(){for(;;){if(b>=a.length)return Ud;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},Wd=function(a,b){if(xa(a))Wb(a,b);else for(a=Vd(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var $d=function(a){if(a instanceof Xd||a instanceof Yd||a instanceof Zd)return a;if(typeof a.next=="function")return new Xd(function(){return a});if(typeof a[Symbol.iterator]=="function")return new Xd(function(){return a[Symbol.iterator]()});if(typeof a.Da=="function")return new Xd(function(){return a.Da()});throw Error("Not an iterator or iterable.");},Xd=function(a){this.sf=a};Xd.prototype.Da=function(){return new Yd(this.sf())};Xd.prototype[Symbol.iterator]=function(){return new Zd(this.sf())};
90
91
  Xd.prototype.vg=function(){return new Zd(this.sf())};var Yd=function(a){this.Qc=a};r(Yd,Td);Yd.prototype.next=function(){return this.Qc.next()};Yd.prototype[Symbol.iterator]=function(){return new Zd(this.Qc)};Yd.prototype.vg=function(){return new Zd(this.Qc)};var Zd=function(a){Xd.call(this,function(){return a});this.Qc=a};r(Zd,Xd);Zd.prototype.next=function(){return this.Qc.next()};var ae=function(a,b){this.A={};this.K=[];this.od=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};h=ae.prototype;h.R=function(){return this.size};h.aa=function(){be(this);for(var a=[],b=0;b<this.K.length;b++)a.push(this.A[this.K[b]]);return a};h.sb=function(){be(this);return this.K.concat()};h.Ob=function(a){return this.has(a)};h.has=function(a){return ce(this.A,a)};
91
92
  h.Gc=function(a){for(var b=0;b<this.K.length;b++){var c=this.K[b];if(ce(this.A,c)&&this.A[c]==a)return!0}return!1};h.equals=function(a,b){if(this===a)return!0;if(this.size!=a.R())return!1;b=b||de;be(this);for(var c,d=0;c=this.K[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var de=function(a,b){return a===b};ae.prototype.isEmpty=function(){return this.size==0};ae.prototype.clear=function(){this.A={};this.K.length=0;this.lb(0);this.od=0};ae.prototype.remove=function(a){return this.delete(a)};
92
93
  ae.prototype.delete=function(a){return ce(this.A,a)?(delete this.A[a],this.lb(this.size-1),this.od++,this.K.length>2*this.size&&be(this),!0):!1};var be=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b<a.K.length;){var d=a.K[b];ce(a.A,d)&&(a.K[c++]=d);b++}a.K.length=c}if(a.size!=a.K.length){var e={};for(c=b=0;b<a.K.length;)d=a.K[b],ce(e,d)||(a.K[c++]=d,e[d]=1),b++;a.K.length=c}};h=ae.prototype;h.get=function(a,b){return ce(this.A,a)?this.A[a]:b};
93
94
  h.set=function(a,b){ce(this.A,a)||(this.lb(this.size+1),this.K.push(a),this.od++);this.A[a]=b};h.addAll=function(a){if(a instanceof ae)for(var b=a.sb(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};h.forEach=function(a,b){for(var c=this.sb(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};h.clone=function(){return new ae(this)};h.keys=function(){return $d(this.Da(!0)).vg()};h.values=function(){return $d(this.Da(!1)).vg()};
94
95
  h.entries=function(){var a=this;return Qd(this.keys(),function(b){return[b,a.get(b)]})};h.Da=function(a){be(this);var b=0,c=this.od,d=this,e=new Td;e.next=function(){if(c!=d.od)throw Error("The map has changed since the iterator was created");if(b>=d.K.length)return Ud;var g=d.K[b++];return{value:a?g:d.A[g],done:!1}};return e};h.lb=function(a){this.size=a};var ce=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var fe=function(a){this.A=new ae;this.size=0;a&&this.addAll(a)},ge=function(a){var b=typeof a;return b=="object"&&a||b=="function"?"o"+Ba(a):b.slice(0,1)+a};h=fe.prototype;h.R=function(){return this.A.size};h.add=function(a){this.A.set(ge(a),a);this.lb(this.A.size)};h.addAll=function(a){a=Kc(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.lb(this.A.size)};h.ed=function(a){a=Kc(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.lb(this.A.size)};
95
96
  h.delete=function(a){a=this.A.remove(ge(a));this.lb(this.A.size);return a};h.remove=function(a){return this.delete(a)};h.clear=function(){this.A.clear();this.lb(0)};h.isEmpty=function(){return this.A.size===0};h.has=function(a){return this.A.Ob(ge(a))};h.contains=function(a){return this.A.Ob(ge(a))};var he=function(a,b){var c=new fe;b=Kc(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},ie=function(a,b){a=a.clone();a.ed(b);return a};fe.prototype.aa=function(){return this.A.aa()};
96
- fe.prototype.values=function(){return this.A.values()};fe.prototype.clone=function(){return new fe(this)};fe.prototype.equals=function(a){return this.R()==Jc(a)&&je(this,a)};var je=function(a,b){var c=Jc(b);if(a.R()>c)return!1;!(b instanceof fe)&&c>5&&(b=new fe(b));return Nc(a,function(d){var e=b;return e.contains&&typeof e.contains=="function"?e.contains(d):e.Gc&&typeof e.Gc=="function"?e.Gc(d):xa(e)||typeof e==="string"?ac(e,d):bb(e,d)})};fe.prototype.Da=function(){return this.A.Da(!1)};
97
+ fe.prototype.values=function(){return this.A.values()};fe.prototype.clone=function(){return new fe(this)};fe.prototype.equals=function(a){return this.R()==Jc(a)&&je(this,a)};var je=function(a,b){var c=Jc(b);if(a.R()>c)return!1;!(b instanceof fe)&&c>5&&(b=new fe(b));return Nc(a,function(d){var e=b;return e.contains&&typeof e.contains=="function"?e.contains(d):e.Gc&&typeof e.Gc=="function"?e.Gc(d):xa(e)||typeof e==="string"?bc(e,d):bb(e,d)})};fe.prototype.Da=function(){return this.A.Da(!1)};
97
98
  fe.prototype[Symbol.iterator]=function(){return this.values()};fe.prototype.lb=function(a){this.size=a};var ke=function(a,b,c){J.call(this);this.hl=b;this.token=c;this.zb=[];this.tg=new fe;this.xb=0;this.url=a};y(ke,J);x("ee.AbstractOverlay",ke);var le=function(a,b,c){var d=1<<c,e=b.x%d;e<0&&(e+=d);return[a.hl,c,e,b.y].join("/")};ke.prototype.Lc=function(){return this.zb.length};var me=function(a){md.call(this,"tileevent");this.count=a};y(me,md);var ne={yc:"ADMIN_READ",zc:"DATA_READ",Ac:"DATA_WRITE",ak:"LOG_TYPE_UNSPECIFIED",values:function(){return[ne.ak,ne.yc,ne.Ac,ne.zc]}},oe={yc:"ADMIN_READ",we:"ADMIN_WRITE",zc:"DATA_READ",Ac:"DATA_WRITE",Ee:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[oe.Ee,oe.yc,oe.we,oe.zc,oe.Ac]}},pe={bj:"AUTO_APPEAL_ELIGIBLE",fj:"CAPABILITY_GROUP_UNSPECIFIED",hj:"CLOUD_ALPHA",Cj:"EXTERNAL",Tj:"INTERNAL",Wj:"LIMITED",ik:"PREAUTHORIZED",kk:"PREVIEW",Cc:"PUBLIC",mk:"RESTRICTED",values:function(){return[pe.fj,
98
99
  pe.Cc,pe.Tj,pe.Cj,pe.Wj,pe.ik,pe.kk,pe.hj,pe.mk,pe.bj]}},qe={Ui:"ADMIN_ACTIVITY",sj:"DATA_ACCESS",Ck:"UNSPECIFIED_LOG_NAME",values:function(){return[qe.Ck,qe.Ui,qe.sj]}},re={yc:"ADMIN_READ",we:"ADMIN_WRITE",zc:"DATA_READ",Ac:"DATA_WRITE",Ee:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[re.Ee,re.yc,re.we,re.zc,re.Ac]}},se={vj:"DEFAULT_OBJECT_ACL",Cc:"PUBLIC",xk:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[se.xk,se.Cc,se.vj]}},te={Xi:"APPROVER",Zi:"ATTRIBUTION",aj:"AUTHORITY",mj:"CREDENTIALS_TYPE",
99
100
  nj:"CREDS_ASSERTION",Vj:"JUSTIFICATION_TYPE",De:"NO_ATTR",pk:"SECURITY_REALM",values:function(){return[te.De,te.aj,te.Zi,te.pk,te.Xi,te.Vj,te.mj,te.nj]}},ue={Aj:"DISCHARGED",Bj:"EQUALS",Nj:"IN",ck:"NOT_EQUALS",dk:"NOT_IN",fk:"NO_OP",values:function(){return[ue.fk,ue.Bj,ue.ck,ue.Nj,ue.dk,ue.Aj]}},ve={Uj:"IP",bk:"NAME",De:"NO_ATTR",lk:"REGION",qk:"SERVICE",values:function(){return[ve.De,ve.lk,ve.qk,ve.bk,ve.Uj]}},we={Yj:"LOG_FAIL_CLOSED",Zj:"LOG_MODE_UNSPECIFIED",values:function(){return[we.Zj,we.Yj]}},
@@ -376,8 +377,8 @@ Lf.prototype.i=function(){return{P:{ranges:Bf},keys:["gamma","opacity","paletteC
376
377
  k.Object.defineProperties(Lf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return D(this,"gamma")?B(this,"gamma"):null},set:function(a){this.h.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return D(this,"opacity")?B(this,"opacity"):null},set:function(a){this.h.opacity=a}},Yc:{configurable:!0,enumerable:!0,get:function(){return D(this,"paletteColors")?B(this,"paletteColors"):null},set:function(a){this.h.paletteColors=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return D(this,
377
378
  "ranges")?B(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var ch=function(a){a=a===void 0?{}:a;this.h={};this.h.start=a.start==null?null:a.start;this.h.end=a.end==null?null:a.end};r(ch,z);ch.prototype.i=function(){return{keys:["end","start"]}};
378
379
  k.Object.defineProperties(ch.prototype,{end:{configurable:!0,enumerable:!0,get:function(){return D(this,"end")?B(this,"end"):null},set:function(a){this.h.end=a}},start:{configurable:!0,enumerable:!0,get:function(){return D(this,"start")?B(this,"start"):null},set:function(a){this.h.start=a}}});
379
- var hd={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",callback:"callback",fields:"fields",filter:"filter",key:"key",oauth_token:"oauth_token",overwrite:"overwrite",pageSize:"pageSize",pageToken:"pageToken",parent:"parent",prettyPrint:"prettyPrint",quotaUser:"quotaUser",region:"region",updateMask:"updateMask",uploadType:"uploadType",upload_protocol:"upload_protocol",view:"view",workloadTag:"workloadTag"},gh=function(a){this.m="v1";this.j=new id(a,null)};
380
- gh.prototype.list=function(a,b,c){b=b===void 0?{}:b;c=c===void 0?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",u:F(b,c),G:Gg})};var hh=function(a){this.m="v1";this.j=new id(a,null)};
380
+ var hd={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",callback:"callback",featureProjection:"featureProjection",fields:"fields",filter:"filter",key:"key",oauth_token:"oauth_token",overwrite:"overwrite",pageSize:"pageSize",pageToken:"pageToken",parent:"parent",prettyPrint:"prettyPrint",quotaUser:"quotaUser",region:"region",updateMask:"updateMask",uploadType:"uploadType",upload_protocol:"upload_protocol",view:"view",workloadTag:"workloadTag"},gh=function(a){this.m="v1";this.j=
381
+ new id(a,null)};gh.prototype.list=function(a,b,c){b=b===void 0?{}:b;c=c===void 0?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",u:F(b,c),G:Gg})};var hh=function(a){this.m="v1";this.j=new id(a,null)};
381
382
  hh.prototype.getCapabilities=function(a,b,c){b=b===void 0?{}:b;c=c===void 0?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",u:F(b,c),G:mf})};hh.prototype.Sc=function(a,b){b=b===void 0?{}:b;var c=c===void 0?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:F(b,c),G:Hg})};
382
383
  var ih=function(a){this.m="v1";this.j=new id(a,null)};h=ih.prototype;h.create=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",u:F(c,d),G:Df})};
383
384
  h.delete=function(a,b,c){b=b===void 0?{}:b;c=c===void 0?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return G(this.j,{body:null,B:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,u:F(b,c),G:Mf})};h.get=function(a,b,c){b=b===void 0?{}:b;c=c===void 0?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,u:F(b,c),G:Df})};
@@ -404,7 +405,7 @@ if(!/(^|\.)[a-z][^.]*$/i.test(d))throw Error("The top-level domain must start wi
404
405
  c=a[0];for(d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return yb(c)};var Bh=function(a,b){if(!u(a)||!u(a)||!u(a)||a.nodeType!==1||a.namespaceURI&&a.namespaceURI!=="http://www.w3.org/1999/xhtml"||a.tagName.toUpperCase()!=="SCRIPT".toString()){var c="SCRIPT".toString()+"; got: ";if(u(a))try{var d=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(e){d="<object could not be stringified>"}else d=a===void 0?"undefined":a===null?"null":typeof a;pb("Argument is not an HTML Element with tag name "+(c+d))}a:{c=(a.ownerDocument&&a.ownerDocument.defaultView||
405
406
  t).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&Ah.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=xb(b)},Ah=/^[\w+/_-]+[=]{0,2}$/;var Dh=function(a,b){Wa(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:Ch.hasOwnProperty(d)?a.setAttribute(Ch[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})},Ch={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"},Fh=function(a,
406
407
  b,c){return Eh(document,arguments)},Eh=function(a,b){var c=b[1],d=Gh(a,String(b[0]));c&&(typeof c==="string"?d.className=c:Array.isArray(c)?d.className=c.join(" "):Dh(d,c));b.length>2&&Hh(a,d,b,2);return d},Hh=function(a,b,c,d){function e(l){l&&b.appendChild(typeof l==="string"?a.createTextNode(l):l)}for(;d<c.length;d++){var g=c[d];if(!xa(g)||u(g)&&g.nodeType>0)e(g);else{a:{if(g&&typeof g.length=="number"){if(u(g)){var f=typeof g.item=="function"||typeof g.item=="string";break a}if(typeof g==="function"){f=
407
- typeof g.item=="function";break a}}f=!1}Vb(f?dc(g):g,e)}}},Gh=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},Ih=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Jh=function(a){E(a,"Node cannot be null or undefined.");return a.nodeType==9?a:a.ownerDocument||a.document},Kh=function(a){this.Dd=a||t.document||document};h=Kh.prototype;h.getElementsByTagName=function(a,b){return(b||this.Dd).getElementsByTagName(String(a))};
408
+ typeof g.item=="function";break a}}f=!1}Wb(f?ec(g):g,e)}}},Gh=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},Ih=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Jh=function(a){E(a,"Node cannot be null or undefined.");return a.nodeType==9?a:a.ownerDocument||a.document},Kh=function(a){this.Dd=a||t.document||document};h=Kh.prototype;h.getElementsByTagName=function(a,b){return(b||this.Dd).getElementsByTagName(String(a))};
408
409
  h.Qk=function(a,b,c){return Eh(this.Dd,arguments)};h.createElement=function(a){return Gh(this.Dd,a)};h.createTextNode=function(a){return this.Dd.createTextNode(String(a))};h.appendChild=function(a,b){E(a!=null&&b!=null,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};h.append=function(a,b){Hh(Jh(a),a,arguments,1)};h.canHaveChildren=function(a){if(a.nodeType!=1)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
409
410
  h.removeNode=Ih;h.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var Lh,Mh=function(){var a=t.MessageChannel;typeof a==="undefined"&&typeof window!=="undefined"&&window.postMessage&&window.addEventListener&&od().indexOf("Presto")==-1&&(a=function(){var e=Gh(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var f="callImmediate"+Math.random(),l=g.location.protocol=="file:"?"*":g.location.protocol+"//"+g.location.host;e=w(function(m){if((l=="*"||m.origin==l)&&m.data==f)this.port1.onmessage()},
410
411
  this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(f,l)}}});if(typeof a!=="undefined"){var b=new a,c={},d=c;b.port1.onmessage=function(){if(c.next!==void 0){c=c.next;var e=c.Ug;c.Ug=null;e()}};return function(e){d.next={Ug:e};d=d.next;b.port2.postMessage(0)}}return function(e){t.setTimeout(e,0)}};function Nh(a){t.setTimeout(function(){throw a;},0)};var Oh=function(){this.ue=this.ic=null};Oh.prototype.add=function(a,b){var c=Ph.get();c.set(a,b);this.ue?this.ue.next=c:(E(!this.ic),this.ic=c);this.ue=c};Oh.prototype.remove=function(){var a=null;this.ic&&(a=this.ic,this.ic=this.ic.next,this.ic||(this.ue=null),a.next=null);return a};var Ph=new yh(function(){return new Qh},function(a){return a.reset()}),Qh=function(){this.next=this.scope=this.qf=null};Qh.prototype.set=function(a,b){this.qf=a;this.scope=b;this.next=null};
@@ -427,17 +428,17 @@ var ti=function(a){a.ec=ri(function(){a.ec=null;a.xc&&!a.Zc&&(a.xc=!1,ti(a))},a.
427
428
  var vi=function(a){var b=ui;this.ge=[];this.ai=b;this.mh=a||null;this.Nc=this.oc=!1;this.ia=void 0;this.ig=this.Og=this.Qe=!1;this.re=0;this.X=null;this.Re=0};vi.prototype.cancel=function(a){if(this.oc)this.ia instanceof vi&&this.ia.cancel();else{if(this.X){var b=this.X;delete this.X;a?b.cancel(a):(b.Re--,b.Re<=0&&b.cancel())}this.ai?this.ai.call(this.mh,this):this.ig=!0;this.oc||wi(this,new xi(this))}};vi.prototype.Zg=function(a,b){this.Qe=!1;yi(this,a,b)};
428
429
  var yi=function(a,b,c){a.oc=!0;a.ia=c;a.Nc=!b;zi(a)},Bi=function(a){if(a.oc){if(!a.ig)throw new Ai(a);a.ig=!1}};vi.prototype.callback=function(a){Bi(this);Ci(a);yi(this,!0,a)};var wi=function(a,b){Bi(a);Ci(b);yi(a,!1,b)},Ci=function(a){E(!(a instanceof vi),"An execution sequence may not be initiated with a blocking Deferred.")},Fi=function(a){var b=Di();Ei(b,a,null)},Ei=function(a,b,c,d){E(!a.Og,"Blocking Deferreds can not be re-used");a.ge.push([b,c,d]);a.oc&&zi(a)};
429
430
  vi.prototype.then=function(a,b,c){var d,e,g=new di(function(f,l){e=f;d=l});Ei(this,e,function(f){f instanceof xi?g.cancel():d(f);return Gi},this);return g.then(a,b,c)};vi.prototype.$goog_Thenable=!0;
430
- var Hi=function(a){return Yb(a.ge,function(b){return typeof b[1]==="function"})},Gi={},zi=function(a){if(a.re&&a.oc&&Hi(a)){var b=a.re,c=Ii[b];c&&(t.clearTimeout(c.fa),delete Ii[b]);a.re=0}a.X&&(a.X.Re--,delete a.X);b=a.ia;for(var d=c=!1;a.ge.length&&!a.Qe;){var e=a.ge.shift(),g=e[0],f=e[1];e=e[2];if(g=a.Nc?f:g)try{var l=g.call(e||a.mh,b);l===Gi&&(l=void 0);l!==void 0&&(a.Nc=a.Nc&&(l==b||l instanceof Error),a.ia=b=l);if(ai(b)||typeof t.Promise==="function"&&b instanceof t.Promise)d=!0,a.Qe=!0}catch(m){b=
431
+ var Hi=function(a){return Zb(a.ge,function(b){return typeof b[1]==="function"})},Gi={},zi=function(a){if(a.re&&a.oc&&Hi(a)){var b=a.re,c=Ii[b];c&&(t.clearTimeout(c.fa),delete Ii[b]);a.re=0}a.X&&(a.X.Re--,delete a.X);b=a.ia;for(var d=c=!1;a.ge.length&&!a.Qe;){var e=a.ge.shift(),g=e[0],f=e[1];e=e[2];if(g=a.Nc?f:g)try{var l=g.call(e||a.mh,b);l===Gi&&(l=void 0);l!==void 0&&(a.Nc=a.Nc&&(l==b||l instanceof Error),a.ia=b=l);if(ai(b)||typeof t.Promise==="function"&&b instanceof t.Promise)d=!0,a.Qe=!0}catch(m){b=
431
432
  m,a.Nc=!0,Hi(a)||(c=!0)}}a.ia=b;d&&(l=w(a.Zg,a,!0),d=w(a.Zg,a,!1),b instanceof vi?(Ei(b,l,d),b.Og=!0):b.then(l,d));c&&(b=new Ji(b),Ii[b.fa]=b,a.re=b.fa)},Ai=function(){kb.call(this)};y(Ai,kb);Ai.prototype.message="Deferred has already fired";Ai.prototype.name="AlreadyCalledError";var xi=function(){kb.call(this)};y(xi,kb);xi.prototype.message="Deferred was canceled";xi.prototype.name="CanceledError";var Ji=function(a){this.fa=t.setTimeout(w(this.Cl,this),0);this.Gd=a};
432
433
  Ji.prototype.Cl=function(){E(Ii[this.fa],"Cannot throw an error that is not scheduled.");delete Ii[this.fa];throw this.Gd;};var Ii={};var Di=function(){var a=zh(Ki),b={},c=b.document||document,d=xb(a).toString(),e=(new Kh(c)).createElement("SCRIPT"),g={vi:e,ne:void 0},f=new vi(g),l=null,m=b.timeout!=null?b.timeout:5E3;m>0&&(l=window.setTimeout(function(){Li(e,!0);wi(f,new Mi(1,"Timeout reached for loading script "+d))},m),g.ne=l);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(Li(e,b.Ll||!1,l),f.callback(null))};e.onerror=function(){Li(e,!0,l);wi(f,new Mi(0,"Error while loading script "+
433
434
  d))};g=b.attributes||{};jb(g,{type:"text/javascript",charset:"UTF-8"});Dh(e,g);Bh(e,a);Ni(c).appendChild(e);return f},Ni=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&b.length!==0?b[0]:a.documentElement},ui=function(){if(this&&this.vi){var a=this.vi;a&&a.tagName=="SCRIPT"&&Li(a,!0,this.ne)}},Li=function(a,b,c){c!=null&&t.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){Ih(a)},0)},Mi=function(a,
434
435
  b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);kb.call(this,c);this.code=a};y(Mi,kb);var Oi=function(){this.de=void 0};Oi.prototype.va=function(a){var b=[];Pi(this,a,b);return b.join("")};
435
436
  var Pi=function(a,b,c){if(b==null)c.push("null");else{if(typeof b=="object"){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",g=0;g<b;g++)c.push(e),e=d[g],Pi(a,a.de?a.de.call(d,String(g),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],typeof e!="function"&&(c.push(g),Qi(d,c),c.push(":"),Pi(a,a.de?a.de.call(b,d,e):e,c),g=","));c.push("}");
436
437
  return}}switch(typeof b){case "string":Qi(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},Ri={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Si=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Qi=function(a,b){b.push('"',a.replace(Si,function(c){var d=Ri[c];
437
- d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),Ri[c]=d);return d}),'"')};var Ti=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Ui=function(){};Ui.prototype.Sg=null;var Vi=function(a){var b;(b=a.Sg)||(b=a.Sg={});return b};var Wi,Xi=function(){};y(Xi,Ui);Wi=new Xi;var Yi=function(a){J.call(this);this.headers=new Map;this.Ri=a||null;this.Ea=!1;this.ve=this.s=null;this.Rc=this.Mh=this.Td="";this.Tb=this.Af=this.Rd=this.gf=!1;this.ld=0;this.me=null;this.wc="";this.ql=this.Pi=!1;this.Oe=this.zg=null};y(Yi,J);Yi.prototype.ba=Cc(Dc(),"goog.net.XhrIo").fl;var Zi=/^https?$/i,$i=["POST","PUT"],aj=[];h=Yi.prototype;h.Pk=function(){this.dispose();bc(aj,this)};h.setTrustToken=function(a){this.zg=a};h.setAttributionReporting=function(a){this.Oe=a};
438
+ d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),Ri[c]=d);return d}),'"')};var Ti=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Ui=function(){};Ui.prototype.Sg=null;var Vi=function(a){var b;(b=a.Sg)||(b=a.Sg={});return b};var Wi,Xi=function(){};y(Xi,Ui);Wi=new Xi;var Yi=function(a){J.call(this);this.headers=new Map;this.Ri=a||null;this.Ea=!1;this.ve=this.s=null;this.Rc=this.Mh=this.Td="";this.Tb=this.Af=this.Rd=this.gf=!1;this.ld=0;this.me=null;this.wc="";this.ql=this.Pi=!1;this.Oe=this.zg=null};y(Yi,J);Yi.prototype.ba=Cc(Dc(),"goog.net.XhrIo").fl;var Zi=/^https?$/i,$i=["POST","PUT"],aj=[];h=Yi.prototype;h.Pk=function(){this.dispose();cc(aj,this)};h.setTrustToken=function(a){this.zg=a};h.setAttributionReporting=function(a){this.Oe=a};
438
439
  h.send=function(a,b,c,d){if(this.s)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Td+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Td=a;this.Rc="";this.Mh=b;this.gf=!1;this.Ea=!0;this.s=new XMLHttpRequest;this.ve=this.Ri?Vi(this.Ri):Vi(Wi);this.s.onreadystatechange=w(this.di,this);this.ql&&"onprogress"in this.s&&(this.s.onprogress=w(function(f){this.ci(f,!0)},this),this.s.upload&&(this.s.upload.onprogress=w(this.ci,this)));try{Gc(this.ba,bj(this,"Opening Xhr")),this.Af=
439
440
  !0,this.s.open(b,String(a),!0),this.Af=!1}catch(f){Gc(this.ba,bj(this,"Error opening Xhr: "+f.message));this.Gd(5,f);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=q(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(f){return"content-type"==
440
- f.toLowerCase()});e=t.FormData&&a instanceof t.FormData;!ac($i,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=q(c);for(d=b.next();!d.done;d=b.next())c=q(d.value),d=c.next().value,c=c.next().value,this.s.setRequestHeader(d,c);this.wc&&(this.s.responseType=this.wc);"withCredentials"in this.s&&this.s.withCredentials!==this.Pi&&(this.s.withCredentials=this.Pi);if("setTrustToken"in this.s&&this.zg)try{this.s.setTrustToken(this.zg)}catch(f){Gc(this.ba,bj(this,"Error SetTrustToken: "+
441
+ f.toLowerCase()});e=t.FormData&&a instanceof t.FormData;!bc($i,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=q(c);for(d=b.next();!d.done;d=b.next())c=q(d.value),d=c.next().value,c=c.next().value,this.s.setRequestHeader(d,c);this.wc&&(this.s.responseType=this.wc);"withCredentials"in this.s&&this.s.withCredentials!==this.Pi&&(this.s.withCredentials=this.Pi);if("setTrustToken"in this.s&&this.zg)try{this.s.setTrustToken(this.zg)}catch(f){Gc(this.ba,bj(this,"Error SetTrustToken: "+
441
442
  f.message))}if("setAttributionReporting"in this.s&&this.Oe)try{this.s.setAttributionReporting(this.Oe)}catch(f){Gc(this.ba,bj(this,"Error SetAttributionReporting: "+f.message))}try{cj(this),this.ld>0&&(Gc(this.ba,bj(this,"Will abort after "+this.ld+"ms if incomplete")),this.me=ri(this.ne,this.ld,this)),Gc(this.ba,bj(this,"Sending request")),this.Rd=!0,this.s.send(a),this.Rd=!1}catch(f){Gc(this.ba,bj(this,"Send error: "+f.message)),this.Gd(5,f)}};
442
443
  h.ne=function(){typeof va!="undefined"&&this.s&&(this.Rc="Timed out after "+this.ld+"ms, aborting",Gc(this.ba,bj(this,this.Rc)),this.dispatchEvent("timeout"),this.abort(8))};h.Gd=function(a,b){this.Ea=!1;this.s&&(this.Tb=!0,this.s.abort(),this.Tb=!1);this.Rc=b;dj(this);ej(this)};var dj=function(a){a.gf||(a.gf=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
443
444
  Yi.prototype.abort=function(){this.s&&this.Ea&&(Gc(this.ba,bj(this,"Aborting")),this.Ea=!1,this.Tb=!0,this.s.abort(),this.Tb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ej(this))};Yi.prototype.J=function(){this.s&&(this.Ea&&(this.Ea=!1,this.Tb=!0,this.s.abort(),this.Tb=!1),ej(this,!0));Yi.L.J.call(this)};Yi.prototype.di=function(){this.Ra||(this.Af||this.Rd||this.Tb?fj(this):this.ml())};Yi.prototype.ml=function(){fj(this)};
@@ -455,7 +456,7 @@ Ma(p,f[m]))});return b?b(l):l};return this.callback?(qj(d,null,function(f,l){ret
455
456
  rj.prototype.send=function(a,b){var c=[a.B+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=tj();d!=null&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
456
457
  var uj=function(a,b,c){a=q(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"))}},nj=function(){var a=vj.replace(/\/api$/,"");return"window"in t&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},xj=function(a,b,c){var d=[];a&&(d=d.concat(wj));
457
458
  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"+Ba(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},Dj=function(a,b,c){yj&&zj&&yj({client_id:String(zj),scope:Aj.join(" "),plugin_name:"earthengine"},function(d){if(d.error=="immediate_failed"&&c)c();else if("window"in t)try{Bj(function(){try{Cj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Cj(a,
458
- b,d)})},tj=function(){Ej&&Date.now()-Ej>=0&&Fj();return Gj},Fj=function(){Ej=Gj=null},kj=function(a,b,c,d){a!=null?vj=a:Hj||(vj="https://earthengine.googleapis.com/api");b!=null?Ij=b:Hj||(Ij="https://earthengine.googleapis.com");c!==void 0&&(Jj=c);jj=d!=null?d:jj||"earthengine-legacy";Hj=!0},qj=function(a,b,c,d,e,g,f){kj();var l=Kj,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="0.1.416";p==="0.1.416"&&
459
+ b,d)})},tj=function(){Ej&&Date.now()-Ej>=0&&Fj();return Gj},Fj=function(){Ej=Gj=null},kj=function(a,b,c,d){a!=null?vj=a:Hj||(vj="https://earthengine.googleapis.com/api");b!=null?Ij=b:Hj||(Ij="https://earthengine.googleapis.com");c!==void 0&&(Jj=c);jj=d!=null?d:jj||"earthengine-legacy";Hj=!0},qj=function(a,b,c,d,e,g,f){kj();var l=Kj,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="0.1.417";p==="0.1.417"&&
459
460
  (p="latest");m["x-goog-api-client"]="ee-js/"+p;p=tj();if(p!=null)m.Authorization=p;else if(c&&yj&&zj)return Dj(function(){Lj(l,function(){qj(a,b,c,d)})}),null;b=b?b.clone():new Wc;Mj!=null&&b.add("key",Mj);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");jj&&jj!=="earthengine-legacy"&&(m["X-Goog-User-Project"]=jj);b=Nj(b,a);Jj!=null&&(m["X-XSRF-Token"]=Jj);Oj!=null&&(m["X-Earth-Engine-App-ID-Token"]=Oj);p=e||null;var v=b?b.toString():"";d==="POST"&&e===void 0?p=v:/^[\s\xa0]*$/.test(v)||(a+=a.indexOf("?")!=
460
461
  -1?"&":"?",a+=v);e=a.startsWith("/")?vj+a:a;if(c)return Pj.push(Qj(e,c,d,p,m,g,f)),Rj.nf(),null;v=function(I,ea){this.setRequestHeader&&this.setRequestHeader(ea,I)};var A=0;for(g=g!=null?g:5;;){var C=new XMLHttpRequest;C.open(d,e,!1);Wa(m,v,C);C.send(p);if(C.status!=429||A>g)break;A++}return Sj(C.status,function(I){try{return C.getResponseHeader(I)}catch(ea){return null}},C.responseText,l,void 0,e,d,f)},Qj=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=Kj,v=g!=null?g:10;
461
462
  m.callback=function(A){A=A.target;if(A.getStatus()==429&&l<v)return l++,setTimeout(function(){Pj.push(m);Rj.nf()},Math.min(12E4,Math.pow(2,l)*1E3)),null;var C=Sj,I=A.getStatus(),ea=w(A.getResponseHeader,A);try{var Z=A.s?A.s.responseText:""}catch(da){Gc(A.ba,"Can not get responseText: "+da.message),Z=""}return C(I,ea,Z,p,b,a,c,f)};return m},Lj=function(a,b){var c=Kj;try{Kj=a,b.call(void 0)}finally{Kj=c}},Sj=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):"";m&&d&&d(m);var p=
@@ -482,7 +483,7 @@ e.length&&(d.all_users_can_read=!0);return d},zk=function(a){var b=function(d){r
482
483
  hf:null})},Bk=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+Ak(a)},Ak=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Ck=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";
483
484
  default:return"UNKNOWN"}},e=Ma(Og,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=Ak(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.ef;b.source_url=e.dg;e.vd!=null&&(b.batch_eecu_usage_seconds=e.vd);return b},Dk=function(a){var b=
484
485
  {started:"OK"};a.name&&(b.taskId=Ak(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},Ek=function(a){return a.primaryPath?[a.primaryPath].concat(ja(a.additionalPaths||[])):null},Hk=function(a){var b=function(g){var f=Ma(Cg,g);f.uris=Ek(g);return f},c=Ma(yg,a);c.name=pk(a.id);c.tilesets=(a.tilesets||[]).map(function(g){var f=Ma(Ff,g);f.sources=(g.sources||[]).map(b);return f});c.bands=(a.bands||[]).map(function(g){var f=Ma(zg,g);f.missingData=Fk(g.missingData);return f});c.missingData=
485
- Fk(a.missingData);c.Kf=hc((a.tilesets||[]).map(Gk));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},Gk=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||
486
+ Fk(a.missingData);c.Kf=ic((a.tilesets||[]).map(Gk));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},Gk=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||
486
487
  ""}));return new Ag({mb: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},Ik=function(a){var b=Ma(Fg,a);b.name=pk(a.id);b.sources=(a.sources||[]).map(function(e){var g=Ma(ah,e);g.uris=Ek(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")&&
487
488
  (b.endTime=(new Date(Number(d))).toISOString());b.properties=c}return b},Fk=function(a){if(a==null)return null;var b=new wg({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},Jk=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()+
488
489
  '"'),delete a.endTime);if("region"in a){var c=a.region;if(typeof c==="object")try{c=JSON.stringify(c)}catch(e){throw Error('Filter parameter "region" must be a GeoJSON or WKT string.');}else if(typeof c!=="string")throw Error('Filter parameter "region" must be a GeoJSON or WKT string.');c=c.replace(/"/g,"'");b.push('intersects("'+c+'")');delete a.region}if("properties"in a){if(!Array.isArray(a.properties)&&a.properties.some(function(e){return typeof e!=="string"}))throw Error('Filter parameter "properties" must be an array of strings');
@@ -499,9 +500,9 @@ f>>>21);f=e+(g^b^c)+d[7]+4139469664&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c
499
500
  4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[4]+4149444226&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[11]+3174756917&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[2]+718787259&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[9]+3951481745&4294967295;a.W[0]=a.W[0]+b&4294967295;a.W[1]=a.W[1]+(e+(f<<21&4294967295|f>>>11))&4294967295;a.W[2]=a.W[2]+e&4294967295;a.W[3]=a.W[3]+g&4294967295};
500
501
  Lk.prototype.update=function(a,b){b===void 0&&(b=a.length);for(var c=b-this.blockSize,d=this.Mk,e=this.Ec,g=0;g<b;){if(e==0)for(;g<=c;)Mk(this,a,g),g+=this.blockSize;if(typeof a==="string")for(;g<b;){if(d[e++]=a.charCodeAt(g++),e==this.blockSize){Mk(this,d);e=0;break}}else for(;g<b;)if(d[e++]=a[g++],e==this.blockSize){Mk(this,d);e=0;break}}this.Ec=e;this.qe+=b};
501
502
  Lk.prototype.digest=function(){var a=Array((this.Ec<56?this.blockSize:this.blockSize*2)-this.Ec);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=this.qe*8;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;b<4;++b)for(var d=0;d<32;d+=8)a[c++]=this.W[b]>>>d&255;return a};var Nk=function(a){this.qd="__ee_hash__";this.Sd=a!==!1;this.Xa=[];this.wa={};this.Bg=[];this.Od=new WeakMap;this.lg=new WeakMap;this.Oi=void 0};x("ee.Serializer",Nk);var Ok=new Oi,Pk=new Lk,Rk=function(a,b){return Qk(new Nk(b!==void 0?b:!0),a)};x("ee.Serializer.encode",Rk);var Sk=function(a){return Ok.va(Rk(a))};x("ee.Serializer.toJSON",Sk);var Uk=function(a){return Tk(Rk(a,!1))};x("ee.Serializer.toReadableJSON",Uk);
502
- var Tk=function(a){return"JSON"in t?t.JSON.stringify(a,null," "):Ok.va(a)},Qk=function(a,b){b=a.Fd(b);a.Sd&&(b=u(b)&&b.type=="ValueRef"&&a.Xa.length==1?a.Xa[0][1]:{type:"CompoundValue",scope:a.Xa,value:b},a.Xa=[],Vb(a.Bg,w(function(c){delete c[this.qd]},a)),a.Bg=[],a.wa={});return b};
503
+ var Tk=function(a){return"JSON"in t?t.JSON.stringify(a,null," "):Ok.va(a)},Qk=function(a,b){b=a.Fd(b);a.Sd&&(b=u(b)&&b.type=="ValueRef"&&a.Xa.length==1?a.Xa[0][1]:{type:"CompoundValue",scope:a.Xa,value:b},a.Xa=[],Wb(a.Bg,w(function(c){delete c[this.qd]},a)),a.Bg=[],a.wa={});return b};
503
504
  Nk.prototype.Fd=function(a){if(a===void 0)throw Error("Can't encode an undefined value.");var b=u(a)?a[this.qd]:null;if(this.Sd&&b!=null&&this.wa[b])return{type:"ValueRef",value:this.wa[b]};if(a===null||typeof a==="boolean"||typeof a==="number"||typeof a==="string")return a;if(ya(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Uj){var c=a.encode(w(this.Fd,this));if(!(Array.isArray(c)||u(c)&&c.type!="ArgumentRef"))return c}else if(Array.isArray(a))c=
504
- Xb(a,function(e){return this.Fd(e)},this);else if(u(a)&&typeof a!=="function")c=Ya(a,function(e){if(typeof e!=="function")return this.Fd(e)},this),fb(c,this.qd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Sd){b=Vk(c);if(this.wa[b])var d=this.wa[b];else d=String(this.Xa.length),this.Xa.push([d,c]),this.wa[b]=d;a[this.qd]=b;this.Bg.push(a);return{type:"ValueRef",value:d}}return c};
505
+ Yb(a,function(e){return this.Fd(e)},this);else if(u(a)&&typeof a!=="function")c=Ya(a,function(e){if(typeof e!=="function")return this.Fd(e)},this),fb(c,this.qd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Sd){b=Vk(c);if(this.wa[b])var d=this.wa[b];else d=String(this.Xa.length),this.Xa.push([d,c]),this.wa[b]=d;a[this.qd]=b;this.Bg.push(a);return{type:"ValueRef",value:d}}return c};
505
506
  var Vk=function(a){Pk.reset();Pk.update(Ok.va(a));return Pk.digest().toString()},Xk=function(a){return Na(Wk(a),Ja,Ka,La)};x("ee.Serializer.encodeCloudApi",Xk);
506
507
  var Wk=function(a,b){return Yk(new Nk(!0),a,b)},Yk=function(a,b,c){a.Oi=c;return Zk(a,b)},$k=function(a,b){var c={};b=b.values;for(var d in b){var e=a.lg.get(b[d]);c[d]=Object.assign({},e)}return c},al=function(a){a=Zk(new Nk(!1),a);var b=a.values,c=function(d){if(!u(d))return d;var e=Array.isArray(d)?[]:{},g=d instanceof Object.getPrototypeOf(cf);d=q(Object.entries(g?d.h:d));for(var f=d.next();!f.done;f=d.next()){var l=q(f.value);f=l.next().value;l=l.next().value;g?l!==null&&(e[f]=f==="functionDefinitionValue"&&
507
508
  l.body!=null?{argumentNames:l.kc,body:c(b[l.body])}:f==="functionInvocationValue"&&l.Ua!=null?{arguments:Ya(l.arguments,c),functionReference:c(b[l.Ua])}:f==="constantValue"?l===Ha?null:l:c(l)):e[f]=c(l)}return e};return a.result&&c(b[a.result])};x("ee.Serializer.encodeCloudApiPretty",al);var bl=function(a){return Ok.va(Xk(a))};x("ee.Serializer.toCloudApiJSON",bl);var cl=function(a){return Tk(al(a))};x("ee.Serializer.toReadableCloudApiJSON",cl);
@@ -538,10 +539,10 @@ var Pl=function(a,b){a=Object.assign({},a);a.id&&(a.image=new N(a.id));if(typeof
538
539
  if(typeof a.bands==="string")try{a.bands=JSON.parse(a.bands)}catch(e){a.bands=gk(a.bands)}if(a.bands&&!Array.isArray(a.bands))throw Error("Bands parameter must be an array.");a.bands&&a.bands.every(function(e){return typeof e==="string"})&&(a.bands=a.bands.map(function(e){return{id:e}}));if(a.bands&&a.bands.some(function(e){return e.id==null}))throw Error("Each band dictionary must have an id.");typeof a.region==="string"&&(a.region=JSON.parse(a.region));if(typeof a.crs_transform==="string")try{a.crs_transform=
539
540
  JSON.parse(a.crs_transform)}catch(e){}var c=Ol(a.image,a);a=new bh({name:null,l:Bl(Wk(c)),F:dk(a.format),xa:a.name,da:a.bands&&gk(a.bands.map(function(e){return e.id})),grid:null});c={fields:"name"};var d=Dl();d&&(c.workloadTag=d);b=new K(b);return b.handle((new sh(b.M)).create(mj(),a,c).then(function(e){return{docid:e.name,token:""}}))};x("ee.data.getDownloadId",Pl);var Ql=function(a){kj();return Ij+"/v1/"+a.docid+":getPixels"};x("ee.data.makeDownloadUrl",Ql);
540
541
  var Rl=function(a,b){b=new K(b);var c=ek(a.format),d=Bl(Wk(a.table)),e=null;if(a.selectors!=null)if(typeof a.selectors==="string")e=a.selectors.split(",");else if(Array.isArray(a.selectors)&&a.selectors.every(function(g){return typeof g==="string"}))e=a.selectors;else throw Error("'selectors' parameter must be an array of strings.");a=new $g({name:null,l:d,F:c,selectors:e,filename:a.filename||null});c={fields:"name"};if(d=Dl())c.workloadTag=d;return b.handle((new rh(b.M)).create(mj(),a,c).then(function(g){return{docid:g.name||
541
- "",token:""}}))};x("ee.data.getTableDownloadId",Rl);var Sl=function(a){return Ij+"/v1/"+a.docid+":getFeatures"};x("ee.data.makeTableDownloadUrl",Sl);var Tl=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,d*4)).toString(16).padStart(d,"0")};a=gc(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(Math.random()*4)).toString(16)+c(3),c(12)].join("-")});return b?b(a):a};x("ee.data.newTaskId",Tl);
542
+ "",token:""}}))};x("ee.data.getTableDownloadId",Rl);var Sl=function(a){return Ij+"/v1/"+a.docid+":getFeatures"};x("ee.data.makeTableDownloadUrl",Sl);var Tl=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,d*4)).toString(16).padStart(d,"0")};a=hc(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(Math.random()*4)).toString(16)+c(3),c(12)].join("-")});return b?b(a):a};x("ee.data.newTaskId",Tl);
542
543
  var Ul=function(a){return a.name&&a.done&&a.error},Wl=function(a,b){var c=Vl(a).map(Bk);if(c.length===1)return a=(new K(b)).pd(Ul),a.handle(a.Na().get(c[0]).then(function(e){return[Ck(e)]}));a=(new sj(b)).pd(Ul);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(g){return Ck(e[g])})})};x("ee.data.getTaskStatus",Wl);
543
544
  var Vl=function(a){if(typeof a==="string")return[a];if(Array.isArray(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},Yl=function(a){return Xl(void 0,a)};x("ee.data.getTaskList",Yl);var Xl=function(a,b){return b?(Zl(a,function(c,d){return b(c?{tasks:c.map(Ck)}:null,d)}),null):{tasks:Zl(a).map(Ck)}};x("ee.data.getTaskListWithLimit",Xl);
544
- var Zl=function(a,b){var c=[],d={pageSize:500},e=function(l){ec(c,l.Na||[]);!l.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=l.nextPageToken,g.handle(f.list(mj(),d).then(e)));return null},g=new K(b?function(l,m){return m&&b(l,m)}:void 0),f=g.Na();g.handle(f.list(mj(),d).then(e));return b?null:a?c.slice(0,a):c};x("ee.data.listOperations",Zl);
545
+ var Zl=function(a,b){var c=[],d={pageSize:500},e=function(l){fc(c,l.Na||[]);!l.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=l.nextPageToken,g.handle(f.list(mj(),d).then(e)));return null},g=new K(b?function(l,m){return m&&b(l,m)}:void 0),f=g.Na();g.handle(f.list(mj(),d).then(e));return b?null:a?c.slice(0,a):c};x("ee.data.listOperations",Zl);
545
546
  var $l=function(a,b){a=Vl(a).map(Bk);var c=new lf;if(a.length===1)b=new K(b),b.handle(b.Na().cancel(a[0],c));else{b=new sj(b);var d=b.Na();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};x("ee.data.cancelOperation",$l);var am=function(a,b){var c=Vl(a).map(Bk);if(!Array.isArray(a))return a=(new K(b)).pd(Ul),a.handle(a.Na().get(c[0]));a=(new sj(b)).pd(Ul);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}))};x("ee.data.getOperation",am);
546
547
  var cm=function(a,b){return bm(a,"CANCEL",b)};x("ee.data.cancelTask",cm);var bm=function(a,b,c){if(!bb(dm,b))throw Error("Invalid action: "+b);a=Vl(a);a=a.map(Bk);$l(a,c);return null};x("ee.data.updateTask",bm);
547
548
  var jm=function(a,b,c){b.id=a;var d=b.type;a=b.sourceUrl!=null?{__source_url__:b.sourceUrl}:{};if("workloadTag"in b)b.workloadTag||delete b.workloadTag;else{var e=Dl();e&&(b.workloadTag=e)}var g=new K(c);c=function(f){return g.handle(f.then(Dk))};switch(d){case "EXPORT_IMAGE":return b=em(b,a),c(g.image().Ka(mj(),b));case "EXPORT_FEATURES":return b=ol(b),b.l=Bl(b.l,a),c(g.table().Ka(mj(),b));case "EXPORT_VIDEO":return b=fm(b,a),c(g.video().Ka(mj(),b));case "EXPORT_TILES":return b=gm(b,a),c(g.map().Ka(mj(),
@@ -575,12 +576,12 @@ var Nm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c
575
576
  typeof a!=="function"?(a=Object.getPrototypeOf(a),a!==null&&Object.getPrototypeOf(a)===null):!1},Tm=function(a,b,c){c=c===void 0?!1:c;return a.length===1&&Sm(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(a.length===1||a[1].optional)||a[0].type!=="Dictionary":!1};var Um=function(){if(!(this instanceof Um))return new Um};y(Um,Uj);x("ee.Function",Um);var Vm=Sd;Um.prototype.call=function(a){return this.apply(Wm(this,Array.prototype.slice.call(arguments,0)))};Um.prototype.call=Um.prototype.call;Um.prototype.apply=function(a){a=new O(this,Xm(this,a));return Vm(a,this.Z().returns)};Um.prototype.apply=Um.prototype.apply;
576
577
  var Ym=function(a,b,c){var d=b!==void 0,e=a.Z();if(Tm(c,e,d)){if(c=gb(c[0]),d){d=e.args[0].name;if(d in c)throw Error("Named args for "+e.name+" can't contain keyword "+d);c[d]=b}}else c=Wm(a,d?[b].concat(c):c);return a.apply(c)},Xm=function(a,b){for(var c=a.Z().args,d={},e={},g=0;g<c.length;g++){var f=c[g].name;if(f in b&&b[f]!==void 0)d[f]=Vm(b[f],c[g].type);else if(!c[g].optional)throw Error("Required argument ("+f+") missing to function: "+a);e[f]=!0}c=[];for(var l in b)e[l]||c.push(l);if(c.length>
577
578
  0)throw Error("Unrecognized arguments ("+c+") to function: "+a);return d},Wm=function(a,b){var c=a.Z().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
578
- Um.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(Xb(c.args.slice(b?1:0),function(g){return g.name}).join(", "));d.push(")\n");d.push("\n");c.description?d.push(c.description):d.push("Undocumented.");d.push("\n");if(c.args.length)for(d.push("\nArgs:\n"),a=0;a<c.args.length;a++){b&&a==0?d.push(" this:"):d.push("\n ");var e=c.args[a];d.push(e.name);d.push(" (");d.push(e.type);e.optional&&d.push(", optional");d.push("): ");e.description?d.push(e.description):
579
+ Um.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(Yb(c.args.slice(b?1:0),function(g){return g.name}).join(", "));d.push(")\n");d.push("\n");c.description?d.push(c.description):d.push("Undocumented.");d.push("\n");if(c.args.length)for(d.push("\nArgs:\n"),a=0;a<c.args.length;a++){b&&a==0?d.push(" this:"):d.push("\n ");var e=c.args[a];d.push(e.name);d.push(" (");d.push(e.type);e.optional&&d.push(", optional");d.push("): ");e.description?d.push(e.description):
579
580
  d.push("Undocumented.")}return d.join("")};Um.prototype.va=function(a){return(a===void 0?0:a)?Sk(this):bl(this)};var P=function(a,b){if(b===void 0)return Zm(a);if(!(this instanceof P))return Mm(P,arguments);this.wb=hb(b);this.wb.name=a};y(P,Um);x("ee.ApiFunction",P);var Q=function(a,b){return Um.prototype.call.apply(Zm(a),Array.prototype.slice.call(arguments,1))};x("ee.ApiFunction._call",Q);var $m=function(a,b){return Zm(a).apply(b)};x("ee.ApiFunction._apply",$m);P.prototype.encode=function(){return this.wb.name};P.prototype.Ed=function(a,b){return ak(this.wb.name,b)};P.prototype.Z=function(){return this.wb};
580
581
  var an=null,bn={},dn=function(){cn();return Ya(an,function(a){return a.Z()})},en=function(){cn();return Xa(an,function(a,b){return!bn[b]})},Zm=function(a){var b=fn(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};x("ee.ApiFunction.lookup",Zm);
581
582
  var fn=function(a){cn();return an[a]||null},cn=function(a,b){if(an)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(an=Ya(d,function(g,f){g.returns=g.returns.replace(/<.*>/,"");for(var l=0;l<g.args.length;l++)g.args[l].type=g.args[l].type.replace(/<.*>/,"");return new P(f,g)}),a&&a())};a?Cl(c):c(Cl())}},gn=function(a,b,c,d){cn();var e=d||"";Wa(an,function(g,f){var l=f.split(".");if(l.length==2&&l[0]==b){l=e+l[1];var m=g.Z();bn[f]=!0;var p=!1;m.args.length&&(f=m.args[0].type,p=f!="Object"&&Pm(f,c));
582
- f=p?a.prototype:a;l in f&&!f[l].signature||(f[l]=function(v){return Ym(g,p?this:void 0,Array.prototype.slice.call(arguments,0))},f[l].toString=w(g.toString,g,l,p),f[l].signature=m)}})},hn=function(a){var b=function(c){for(var d in c)typeof c[d]==="function"&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var R=function(a,b){var c=jn(a),d=Xb(c,function(m){return m.replace(/^opt_/,"")});a=(a=t.EXPORTED_FN_INFO?t.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},g=b[0],f=u(g)&&typeof g!=="function"&&!Array.isArray(g)&&Object.getPrototypeOf(g).constructor.name==="Object";if(b.length>1||!f){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(g=0;g<b.length;g++)e[d[g]]=b[g]}else{f=new fe(ab(g));
583
- var l=new fe(d);if(he(l,f).isEmpty())e[d[0]]=b[0];else{b=ie(f,l);if(b.size!==0)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=gb(g)}}b=new fe(ab(e));c=ie(new fe(Wb(c,function(m){return m.lastIndexOf("opt_",0)!=0})),b);if(c.size!==0)throw Error("Missing required arguments"+a+": "+Array.from(c.values()).join(", "));return e},jn=function(a){var b=kn,c=[];t.EXPORTED_FN_INFO?(a=t.EXPORTED_FN_INFO[a.toString()],u(a)||ln(),c=a.paramNames,Array.isArray(c)||ln()):(a=a.toString().replace(mn,
583
+ f=p?a.prototype:a;l in f&&!f[l].signature||(f[l]=function(v){return Ym(g,p?this:void 0,Array.prototype.slice.call(arguments,0))},f[l].toString=w(g.toString,g,l,p),f[l].signature=m)}})},hn=function(a){var b=function(c){for(var d in c)typeof c[d]==="function"&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var R=function(a,b){var c=jn(a),d=Yb(c,function(m){return m.replace(/^opt_/,"")});a=(a=t.EXPORTED_FN_INFO?t.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},g=b[0],f=u(g)&&typeof g!=="function"&&!Array.isArray(g)&&Object.getPrototypeOf(g).constructor.name==="Object";if(b.length>1||!f){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(g=0;g<b.length;g++)e[d[g]]=b[g]}else{f=new fe(ab(g));
584
+ var l=new fe(d);if(he(l,f).isEmpty())e[d[0]]=b[0];else{b=ie(f,l);if(b.size!==0)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=gb(g)}}b=new fe(ab(e));c=ie(new fe(Xb(c,function(m){return m.lastIndexOf("opt_",0)!=0})),b);if(c.size!==0)throw Error("Missing required arguments"+a+": "+Array.from(c.values()).join(", "));return e},jn=function(a){var b=kn,c=[];t.EXPORTED_FN_INFO?(a=t.EXPORTED_FN_INFO[a.toString()],u(a)||ln(),c=a.paramNames,Array.isArray(c)||ln()):(a=a.toString().replace(mn,
584
585
  "").match(b),a===null&&ln(),c=(a[1].split(",")||[]).map(function(d){return d.replace(nn,"")}));return c},ln=function(){throw Error("Failed to locate function parameters.");},mn=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,kn=/^function[^\(]*\(([^\)]*)\)/m,nn=/=.*$/;var S=function(a,b,c){O.call(this,a,b,c);on()};y(S,O);x("ee.Element",S);var pn=!1,on=function(){pn||(gn(S,"Element","Element"),pn=!0)};S.prototype.name=function(){return"Element"};
585
586
  S.prototype.set=function(a){var b;if(arguments.length<=1){var c=arguments[0];if(b=Sm(c))a:{b=ab(c);var d=["properties"];if(xa(b)&&xa(d)&&b.length==d.length){for(var e=b.length,g=0;g<e;g++)if(b[g]!==d[g]){b=!1;break a}b=!0}else b=!1}b&&u(c.properties)&&(c=c.properties);if(Sm(c)){b=this;for(var f in c)d=c[f],b=Q("Element.set",b,f,d)}else if(c instanceof O&&fn("Element.setMulti"))b=Q("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(arguments.length%
586
587
  2!=0)throw Error("When Element.set() is passed multiple arguments, there must be an even number of them.");b=this;for(c=0;c<arguments.length;c+=2)f=arguments[c],d=arguments[c+1],b=Q("Element.set",b,f,d)}return Nm(this,b)};S.prototype.set=S.prototype.set;var T=function(a,b,c,d){if(!(this instanceof T))return Mm(T,arguments);if(typeof a!=="object"||!("type"in a)){var e=R(T,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}qn();e=b!=null||c!=null||d!=null;if(a instanceof O&&!(a instanceof T&&a.nb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");O.call(this,a.I,a.args,a.U)}else{a instanceof T&&(a=a.encode());if(!rn(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));
@@ -597,8 +598,8 @@ T.prototype.toString=function(){return"ee.Geometry("+this.wg()+")"};
597
598
  T.prototype.na=function(a){if(!this.nb){if(!a)throw Error("Must specify a serializer when encoding a computed geometry.");return O.prototype.na.call(this,a)}var b={},c="";this.nb==="GeometryCollection"?(b.geometries=this.Bh.map(function(e){return new T(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.ah,c="GeometryConstructors."+this.nb);this.Zb!=null&&(b.crs=typeof this.Zb==="string"?(new P("Projection")).call(this.Zb):this.Zb);var d=this.nb!=="Point"&&this.nb!=="MultiPoint";this.pc!=
598
599
  null&&d&&(b.geodesic=this.pc);this.nc!=null&&(b.evenOdd=this.nc);return(new P(c)).apply(b).na(a)};
599
600
  var rn=function(a){var b=a.type;if(b=="GeometryCollection"){b=a.geometries;if(!Array.isArray(b))return!1;for(a=0;a<b.length;a++)if(!rn(b[a]))return!1;return!0}a=a.coordinates;var c=Gn(a);return b=="Point"&&c==1||b=="MultiPoint"&&(c==2||a.length==0)||b=="LineString"&&c==2||b=="LinearRing"&&c==2||b=="MultiLineString"&&(c==3||a.length==0)||b=="Polygon"&&c==3||b=="MultiPolygon"&&(c==4||a.length==0)},Gn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=Gn(a[0]),c=1;c<a.length;c++)if(Gn(a[c])!=
600
- b)return-1;return b+1}for(c=0;c<a.length;c++)if(typeof a[c]!=="number")return-1;return a.length%2==0?1:-1},Hn=function(a){if(typeof a[0]!=="number"||a.length==2)return a;if(a.length%2!=0)throw Error("Invalid number of coordinates: "+a.length);for(var b=[],c=0;c<a.length;c+=2)b.push([a[c],a[c+1]]);return b},vn=function(a,b,c,d){a=In(a,d);if(zn(a.coordinates)||a.crs!=null||a.maxError!=null)return(new P("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=Jn(c,a.coordinates);(b=ac(["Polygon",
601
- "Rectangle","MultiPolygon"],b))&&a.evenOdd==null&&(a.evenOdd=!0);if(b&&a.geodesic===!1&&a.evenOdd===!1)throw Error("Planar interiors must be even/odd.");return a},In=function(a,b){if(Zb(b,Qm))return{coordinates:dc(b)};a=R(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Xa(a,function(c){return c!=null})},zn=function(a){return Array.isArray(a)?Yb(a,zn):a instanceof O},Jn=function(a,b){if(a<1||a>4)throw Error("Unexpected nesting level.");Zb(b,function(e){return typeof e===
601
+ b)return-1;return b+1}for(c=0;c<a.length;c++)if(typeof a[c]!=="number")return-1;return a.length%2==0?1:-1},Hn=function(a){if(typeof a[0]!=="number"||a.length==2)return a;if(a.length%2!=0)throw Error("Invalid number of coordinates: "+a.length);for(var b=[],c=0;c<a.length;c+=2)b.push([a[c],a[c+1]]);return b},vn=function(a,b,c,d){a=In(a,d);if(zn(a.coordinates)||a.crs!=null||a.maxError!=null)return(new P("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=Jn(c,a.coordinates);(b=bc(["Polygon",
602
+ "Rectangle","MultiPolygon"],b))&&a.evenOdd==null&&(a.evenOdd=!0);if(b&&a.geodesic===!1&&a.evenOdd===!1)throw Error("Planar interiors must be even/odd.");return a},In=function(a,b){if($b(b,Qm))return{coordinates:ec(b)};a=R(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Xa(a,function(c){return c!=null})},zn=function(a){return Array.isArray(a)?Zb(a,zn):a instanceof O},Jn=function(a,b){if(a<1||a>4)throw Error("Unexpected nesting level.");$b(b,function(e){return typeof e===
602
603
  "number"})&&(b=Hn(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(Gn(b)!=a)throw Error("Invalid geometry");for(c=b;Array.isArray(c)&&c.length==1;)c=c[0];return Array.isArray(c)&&c.length==0?[]:b},un=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return a!==void 0?a:c};T.prototype.name=function(){return"Geometry"};var U=function(a){if(!(this instanceof U))return Mm(U,arguments);if(a instanceof U)return a;Kn();if(Array.isArray(a)){if(a.length==0)throw Error("Empty list specified for ee.Filter().");if(a.length==1)return new U(a[0]);O.call(this,new P("Filter.and"),{filters:a})}else if(a instanceof O)O.call(this,a.I,a.args,a.U);else if(a===void 0)O.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};y(U,O);x("ee.Filter",U);
603
604
  var Ln=!1,Kn=function(){Ln||(gn(U,"Filter","Filter"),Ln=!0)},Mn={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};U.prototype.rc=function(){return Q("Filter.not",this)};U.prototype.not=U.prototype.rc;var Nn=function(a,b){var c=R(Nn,arguments);return Q("Filter.equals",c.name,c.value)};U.eq=Nn;var On=function(a,b){var c=R(On,arguments);return Nn(c.name,c.value).rc()};U.neq=On;
604
605
  var Pn=function(a,b){var c=R(Pn,arguments);return Q("Filter.lessThan",c.name,c.value)};U.lt=Pn;var Qn=function(a,b){var c=R(Qn,arguments);return Pn(c.name,c.value).rc()};U.gte=Qn;var Rn=function(a,b){var c=R(Rn,arguments);return Q("Filter.greaterThan",c.name,c.value)};U.gt=Rn;var Sn=function(a,b){var c=R(Sn,arguments);return Rn(c.name,c.value).rc()};U.lte=Sn;var Tn=function(a){return Q("Filter.and",Array.prototype.slice.call(arguments))};U.and=Tn;var Un=function(a){return Q("Filter.or",Array.prototype.slice.call(arguments))};
@@ -612,25 +613,25 @@ W.prototype.S=function(a,b){var c=R(W.prototype.getMap,arguments);return Q("Coll
612
613
  f);break;case "dimensions_consumed":e=!0;break;case "bbox":d.geometry!=null&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof xn)){l=f;if(typeof f==="string")try{l=JSON.parse(f)}catch(m){l=f.split(/\s*,\s*/).map(Number)}if(Array.isArray(l)){if(l.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");f=new xn(l,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":d.geometry!=
613
614
  null&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof T)){l=f;if(typeof f==="string")try{l=JSON.parse(f)}catch(m){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(Array.isArray(l))f=new En(l,null,!1);else if(u(l))f=new T(l,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=f;break;case "scale":d.scale=Number(f);break;default:c[l]=f}});eb(d)||(d.input=a,a=g.some(function(f){return f in d})||e?$m("Image.clipToBoundsAndScale",
614
615
  d):$m("Image.clip",d));return a},co=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;d!=null&&(d=fo(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=$m("Image.reproject",{image:a,crs:c,crsTransform:d}),b.dimensions!=null&&b.scale==null&&b.region==null){var e=b.dimensions;typeof e==="string"&&(e=e.split("x").map(Number));e.length===2&&(delete b.dimensions,b.dimensions_consumed=!0,c=(new P("Projection")).call(c,d),b.region=new xn([0,
615
- 0,e[0],e[1]],c,!1))}}else a=$m("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},fo=function(a){if(typeof a==="string")try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(a.length===6&&Zb(a,function(b){return typeof b==="number"}))return a;throw Error("Invalid argument, crs transform must be a list of 6 numbers.");}throw Error("Invalid argument, crs transform was not a string or array.");},ho=function(a,b){var c={};b=go(b,c);eb(b)||(b.image=a,a=$m("Image.visualize",
616
- b));c.image=a;return c},go=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Wa(a,function(e,g){ac(c,g)?d[g]=e:b[g]=e});return d},Ol=function(a,b){b=Object.assign({},b);var c=function(e){var g={};["crs","crs_transform","dimensions","region"].forEach(function(f){f in e&&(g[f]=e[f])});e.scale!=null&&e.dimensions==null&&(g.scale=e.scale);return g},d=function(e){var g=e.id;if(g===void 0)throw Error("Each band dictionary must have an id.");g=a.select(g);
617
- var f=c(b);e=c(e);e=c(Object.assign(f,e));g=co(g,e);return g=eo(g,e,{})};b.format==="ZIPPED_GEO_TIFF_PER_BAND"&&b.bands&&b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,g){return Q("Image.addBands",e,g,null,!0)},d.shift())):(d=c(b),a=co(a,d),a=eo(a,d,{}));return a};var N=function(a){if(!(this instanceof N))return Mm(N,arguments);if(a instanceof N)return a;io();var b=arguments.length;if(b==0||b==1&&a===void 0)S.call(this,new P("Image.mask"),{image:new N(0),mask:new N(0)});else if(b==1)if(Qm(a))S.call(this,new P("Image.constant"),{value:a});else if(Rm(a))S.call(this,new P("Image.load"),{id:a});else{if(Array.isArray(a))return jo(Xb(a,function(d){return new N(d)}));if(a instanceof O)a.name()=="Array"?S.call(this,new P("Image.constant"),{value:a}):S.call(this,a.I,
616
+ 0,e[0],e[1]],c,!1))}}else a=$m("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},fo=function(a){if(typeof a==="string")try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(a.length===6&&$b(a,function(b){return typeof b==="number"}))return a;throw Error("Invalid argument, crs transform must be a list of 6 numbers.");}throw Error("Invalid argument, crs transform was not a string or array.");},ho=function(a,b){var c={};b=go(b,c);eb(b)||(b.image=a,a=$m("Image.visualize",
617
+ b));c.image=a;return c},go=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Wa(a,function(e,g){bc(c,g)?d[g]=e:b[g]=e});return d},Ol=function(a,b){b=Object.assign({},b);var c=function(e){var g={};["crs","crs_transform","dimensions","region"].forEach(function(f){f in e&&(g[f]=e[f])});e.scale!=null&&e.dimensions==null&&(g.scale=e.scale);return g},d=function(e){var g=e.id;if(g===void 0)throw Error("Each band dictionary must have an id.");g=a.select(g);
618
+ var f=c(b);e=c(e);e=c(Object.assign(f,e));g=co(g,e);return g=eo(g,e,{})};b.format==="ZIPPED_GEO_TIFF_PER_BAND"&&b.bands&&b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,g){return Q("Image.addBands",e,g,null,!0)},d.shift())):(d=c(b),a=co(a,d),a=eo(a,d,{}));return a};var N=function(a){if(!(this instanceof N))return Mm(N,arguments);if(a instanceof N)return a;io();var b=arguments.length;if(b==0||b==1&&a===void 0)S.call(this,new P("Image.mask"),{image:new N(0),mask:new N(0)});else if(b==1)if(Qm(a))S.call(this,new P("Image.constant"),{value:a});else if(Rm(a))S.call(this,new P("Image.load"),{id:a});else{if(Array.isArray(a))return jo(Yb(a,function(d){return new N(d)}));if(a instanceof O)a.name()=="Array"?S.call(this,new P("Image.constant"),{value:a}):S.call(this,a.I,
618
619
  a.args,a.U);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(b==2){b=arguments[0];var c=arguments[1];if(Rm(b)&&Qm(c))S.call(this,new P("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};y(N,S);x("ee.Image",N);var ko=!1,io=function(){ko||(gn(N,"Image","Image"),ko=!0)};N.prototype.V=function(a){return N.L.V.call(this,a)};
619
620
  N.prototype.getInfo=N.prototype.V;N.prototype.S=function(a,b){var c=this,d=R(N.prototype.getMap,arguments),e=ho(this,d.visParams);if(d.callback){var g=d.callback;Fl(e,function(f,l){f=f?Object.assign(f,{image:c}):void 0;g(f,l)})}else return d=Fl(e),d.image=this,d};N.prototype.getMapId=N.prototype.S;N.prototype.getMap=N.prototype.S;N.prototype.getMap=N.prototype.getMap;
620
621
  N.prototype.rb=function(a,b){var c=R(N.prototype.rb,arguments),d=c.params?gb(c.params):{};d.image=this;if(c.callback){var e=c.callback;Pl(d,function(g,f){g?e(Ql(g)):e(null,f)})}else return Ql(Pl(d))};N.prototype.getDownloadURL=N.prototype.rb;N.prototype.Kd=function(a,b){var c=R(N.prototype.rb,arguments),d=c.params?gb(c.params):{},e={},g=co(this,d);g=eo(g,d,e);d=ho(g,e);return c.callback?(Kl(d,c.callback),null):Kl(d)};N.prototype.getThumbId=N.prototype.Kd;
621
622
  N.prototype.vf=function(a,b){var c=R(N.prototype.vf,arguments);if(c.callback)this.Kd(c.params,function(d,e){var g="";if(e===void 0)try{g=Nl(d)}catch(f){e=String(f.message)}c.callback(g,e)});else return Nl(this.Kd(c.params))};N.prototype.getThumbURL=N.prototype.vf;var lo=function(a,b,c){var d=R(lo,arguments);return jo([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};N.rgb=lo;var mo=function(a){return jo(Array.prototype.slice.call(arguments),null)};N.cat=mo;
622
623
  var jo=function(a,b){if(a.length==0)return Q("Image.constant",[]);for(var c=new N(a[0]),d=1;d<a.length;d++)c=Q("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
623
624
  N.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(b.length>2||Rm(b[0])||Qm(b[0])){for(var d=0;d<b.length;d++)if(!(Rm(b[d])||Qm(b[d])||b[d]instanceof O))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return $m("Image.select",c)};N.prototype.select=N.prototype.select;
624
- N.prototype.l=function(a,b){var c=R(N.prototype.l,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var g=c.map,f;for(f in g)d.push(f),e[f]=new N(g[f])}var l=Q("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Um;c.encode=function(m){return l.encode(m)};c.Ed=function(m,p){return bk(dl(m,l),p)};c.Z=function(){return{name:"",args:Xb(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
625
+ N.prototype.l=function(a,b){var c=R(N.prototype.l,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var g=c.map,f;for(f in g)d.push(f),e[f]=new N(g[f])}var l=Q("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Um;c.encode=function(m){return l.encode(m)};c.Ed=function(m,p){return bk(dl(m,l),p)};c.Z=function(){return{name:"",args:Yb(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
625
626
  N.prototype.expression=N.prototype.l;N.prototype.clip=function(a){try{a=new T(a)}catch(b){}return Q("Image.clip",this,a)};N.prototype.clip=N.prototype.clip;N.prototype.pi=function(a){var b=arguments.length!=1||Rm(arguments[0])?Array.from(arguments):arguments[0];return Q("Image.rename",this,b)};N.prototype.rename=N.prototype.pi;N.prototype.name=function(){return"Image"};var no=function(a){if(this instanceof no){if(arguments.length>1)throw Error("ee.List() only accepts 1 argument.");if(a instanceof no)return a}else return Mm(no,arguments);oo();if(Array.isArray(a))O.call(this,null,null),this.Tc=a;else if(a instanceof O)O.call(this,a.I,a.args,a.U),this.Tc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};y(no,O);x("ee.List",no);var po=!1,oo=function(){po||(gn(no,"List","List"),po=!0)};
626
- no.prototype.encode=function(a){return Array.isArray(this.Tc)?Xb(this.Tc,function(b){return a(b)}):no.L.encode.call(this,a)};no.prototype.na=function(a){return Array.isArray(this.Tc)?Xj(dl(a,this.Tc)):no.L.na.call(this,a)};no.prototype.name=function(){return"List"};var X=function(a,b){if(!(this instanceof X))return Mm(X,arguments);if(a instanceof X)return a;if(arguments.length>2)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");qo();a instanceof T&&(a=new W(a));a instanceof W&&(a=[a]);if(Rm(a)){var c={tableId:a};b&&(c.geometryColumn=b);V.call(this,new P("Collection.loadTable"),c)}else if(Array.isArray(a))V.call(this,new P("Collection"),{features:Xb(a,function(d){return new W(d)})});else if(a instanceof no)V.call(this,
627
+ no.prototype.encode=function(a){return Array.isArray(this.Tc)?Yb(this.Tc,function(b){return a(b)}):no.L.encode.call(this,a)};no.prototype.na=function(a){return Array.isArray(this.Tc)?Xj(dl(a,this.Tc)):no.L.na.call(this,a)};no.prototype.name=function(){return"List"};var X=function(a,b){if(!(this instanceof X))return Mm(X,arguments);if(a instanceof X)return a;if(arguments.length>2)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");qo();a instanceof T&&(a=new W(a));a instanceof W&&(a=[a]);if(Rm(a)){var c={tableId:a};b&&(c.geometryColumn=b);V.call(this,new P("Collection.loadTable"),c)}else if(Array.isArray(a))V.call(this,new P("Collection"),{features:Yb(a,function(d){return new W(d)})});else if(a instanceof no)V.call(this,
627
628
  new P("Collection"),{features:a});else if(a&&typeof a==="object"&&a.type==="FeatureCollection")V.call(this,new P("Collection"),{features:a.features.map(function(d){return new W(d)})});else if(a instanceof O)V.call(this,a.I,a.args,a.U);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};y(X,V);x("ee.FeatureCollection",X);var ro=!1,qo=function(){ro||(gn(X,"FeatureCollection","FeatureCollection"),ro=!0)};
628
629
  X.prototype.S=function(a,b){var c=R(X.prototype.S,arguments),d=$m("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.S(void 0,c.callback);else return d.S()};X.prototype.getMapId=X.prototype.S;X.prototype.getMap=X.prototype.S;X.prototype.getMap=X.prototype.getMap;X.prototype.V=function(a){return X.L.V.call(this,a)};X.prototype.getInfo=X.prototype.V;
629
630
  X.prototype.rb=function(a,b,c,d){var e=R(X.prototype.rb,arguments),g={table:this};e.format&&(g.format=e.format.toUpperCase());e.filename&&(g.filename=e.filename);e.selectors&&(g.selectors=e.selectors);if(e.callback)Rl(g,function(f,l){f?e.callback(Sl(f)):e.callback(null,l)});else return Sl(Rl(g))};X.prototype.getDownloadURL=X.prototype.rb;
630
- X.prototype.select=function(a,b,c){if(Rm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(g){return g.select(d)})}var e=R(X.prototype.select,arguments);return this.map(function(g){return g.select(e)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"FeatureCollection"};X.prototype.elementType=function(){return W};var Y=function(a){if(!(this instanceof Y))return Mm(Y,arguments);if(a instanceof Y)return a;if(arguments.length!=1)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");so();a instanceof N&&(a=[a]);if(Rm(a))V.call(this,new P("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new P("ImageCollection.fromImages"),{images:Xb(a,function(b){return new N(b)})});else if(a instanceof no)V.call(this,new P("ImageCollection.fromImages"),{images:a});
631
+ X.prototype.select=function(a,b,c){if(Rm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(g){return g.select(d)})}var e=R(X.prototype.select,arguments);return this.map(function(g){return g.select(e)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"FeatureCollection"};X.prototype.elementType=function(){return W};var Y=function(a){if(!(this instanceof Y))return Mm(Y,arguments);if(a instanceof Y)return a;if(arguments.length!=1)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");so();a instanceof N&&(a=[a]);if(Rm(a))V.call(this,new P("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new P("ImageCollection.fromImages"),{images:Yb(a,function(b){return new N(b)})});else if(a instanceof no)V.call(this,new P("ImageCollection.fromImages"),{images:a});
631
632
  else if(a instanceof O)V.call(this,a.I,a.args,a.U);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};y(Y,V);x("ee.ImageCollection",Y);var to=!1,so=function(){to||(gn(Y,"ImageCollection","ImageCollection"),gn(Y,"reduce","ImageCollection"),to=!0)};Y.prototype.tf=function(a,b){var c=R(Y.prototype.tf,arguments);return uo(this,c,["png","jpg","jpeg"],"filmstrip")};Y.prototype.getFilmstripThumbURL=Y.prototype.tf;
632
633
  Y.prototype.wf=function(a,b){var c=R(Y.prototype.wf,arguments);return uo(this,c,["gif"],"video")};Y.prototype.getVideoThumbURL=Y.prototype.wf;
633
- var uo=function(a,b,c,d){var e={};a=a.map(function(l){l=co(l,b.params);return eo(l,b.params,e)});var g={},f=go(e,g);g.imageCollection=a.map(function(l){f.image=l;return $m("Image.visualize",f)});b.params.dimensions!=null&&(g.dimensions=b.params.dimensions);if(g.format){if(!Yb(c,function(l){return l.toLowerCase()==g.format.toLowerCase()}))throw Error("Invalid format specified.");}else g.format=c[0];c=Kl;switch(d){case "video":c=Ll;break;case "filmstrip":c=Ml}if(b.callback)c(g,function(l,m){var p="";
634
+ var uo=function(a,b,c,d){var e={};a=a.map(function(l){l=co(l,b.params);return eo(l,b.params,e)});var g={},f=go(e,g);g.imageCollection=a.map(function(l){f.image=l;return $m("Image.visualize",f)});b.params.dimensions!=null&&(g.dimensions=b.params.dimensions);if(g.format){if(!Zb(c,function(l){return l.toLowerCase()==g.format.toLowerCase()}))throw Error("Invalid format specified.");}else g.format=c[0];c=Kl;switch(d){case "video":c=Ll;break;case "filmstrip":c=Ml}if(b.callback)c(g,function(l,m){var p="";
634
635
  if(m===void 0)try{p=Nl(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return Nl(c(g))};Y.prototype.S=function(a,b){var c=R(Y.prototype.S,arguments),d=Q("ImageCollection.mosaic",this);if(c.callback)d.S(c.visParams,c.callback);else return d.S(c.visParams)};Y.prototype.getMapId=Y.prototype.S;Y.prototype.getMap=Y.prototype.S;Y.prototype.getMap=Y.prototype.getMap;Y.prototype.V=function(a){return Y.L.V.call(this,a)};Y.prototype.getInfo=Y.prototype.V;
635
636
  Y.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Y.prototype.select=Y.prototype.select;Y.prototype.Ff=function(a,b,c,d){var e=R(Y.prototype.Ff,arguments);return this.map(function(g){return Q("Image.linkCollection",g,e.imageCollection,e.linkedBands,e.linkedProperties,e.matchPropertyName)})};Y.prototype.linkCollection=Y.prototype.Ff;Y.prototype.first=function(){return new N(Q("Collection.first",this))};Y.prototype.first=Y.prototype.first;
636
637
  Y.prototype.name=function(){return"ImageCollection"};Y.prototype.elementType=function(){return N};var vo=function(a){this.Ye=a;this.id=null},xo=function(a){var b={element:wo(a)};Object.assign(b,a);b=Xa(b,function(c){return c!=null});return new vo(b)};vo.prototype.start=function(a,b){var c=this;E(this.Ye,"Task config must be specified for tasks to be started.");this.id=this.id||Tl(1)[0];rb(this.id,"Failed to obtain task ID.");if(a)jm(this.id,this.Ye,function(e,g){if(g)b(g);else{var f;c.id=(f=e.taskId)!=null?f:null;a()}});else{var d;this.id=(d=jm(this.id,this.Ye).taskId)!=null?d:null}};
@@ -640,25 +641,25 @@ x("module$contents$ee$batch_Export.table.toCloudStorage",Do);var Eo=function(a,b
640
641
  x("module$contents$ee$batch_Export.table.toFeatureView",Go);var Ho=function(a,b,c,d,e,g,f,l){var m=R(Ho,arguments);m=zo(m,"BIGQUERY","EXPORT_FEATURES");return xo(m)};x("module$contents$ee$batch_Export.table.toBigQuery",Ho);var Io=function(a,b,c,d,e,g,f,l,m,p,v,A,C){var I=R(Io,arguments);I=zo(I,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return xo(I)};x("module$contents$ee$batch_Export.video.toCloudStorage",Io);
641
642
  var Jo=function(a,b,c,d,e,g,f,l,m,p,v,A,C){var I=R(Jo,arguments);I=zo(I,"DRIVE","EXPORT_VIDEO");return xo(I)};x("module$contents$ee$batch_Export.video.toDrive",Jo);var Ko=function(a,b,c,d,e,g,f,l,m,p,v,A,C,I,ea,Z,da,Hb,Jq,Kq,Lq){var pj=R(Ko,arguments);pj=zo(pj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return xo(pj)};x("module$contents$ee$batch_Export.videoMap.toCloudStorage",Ko);var Lo=function(a,b,c,d){var e=R(Lo,arguments);e=zo(e,"ASSET","EXPORT_CLASSIFIER");return xo(e)};
642
643
  x("module$contents$ee$batch_Export.classifier.toAsset",Lo);
643
- var wo=function(a){var b=function(d){return d in a},c=Mo.find(b);E($b(Mo,b)===1,'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof N||b instanceof X||b instanceof Y||b instanceof S||b instanceof O))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection, ee.Element or ee.ComputedObject.");delete a[c];return b},zo=function(a,b,c){var d=d===void 0?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":e.fileFormat==
644
+ var wo=function(a){var b=function(d){return d in a},c=Mo.find(b);E(ac(Mo,b)===1,'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof N||b instanceof X||b instanceof Y||b instanceof S||b instanceof O))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection, ee.Element or ee.ComputedObject.");delete a[c];return b},zo=function(a,b,c){var d=d===void 0?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":e.fileFormat==
644
645
  null&&(e.fileFormat="GeoTIFF");a=e.fileFormat;a==null&&(a="GEO_TIFF");a=a.toUpperCase();switch(a){case "TIFF":case "TIF":case "GEO_TIFF":case "GEOTIFF":a="GEO_TIFF";break;case "TF_RECORD":case "TF_RECORD_IMAGE":case "TFRECORD":a="TF_RECORD_IMAGE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'GEOTIFF', 'TFRECORD'.");}e.fileFormat=a;e.formatOptions!=null&&(a=No(e,a),delete e.formatOptions,Object.assign(e,a));e=Oo(e,b);e.crsTransform!=null&&(e.crs_transform=e.crsTransform,
645
646
  delete e.crsTransform);break;case "EXPORT_TILES":b=Oo(e,b);e=b.fileFormat;e==null&&(e="AUTO_JPEG_PNG");e=e.toUpperCase();switch(e){case "AUTO":case "AUTO_JPEG_PNG":case "AUTO_JPG_PNG":e="AUTO_JPEG_PNG";break;case "JPG":case "JPEG":e="JPEG";break;case "PNG":e="PNG";break;default:throw Error("Invalid file format "+e+". Supported formats are: 'AUTO', 'PNG', and 'JPEG'.");}b.fileFormat=e;e=b;break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());a=e.fileFormat;a==null&&
646
647
  (a="CSV");a=a.toUpperCase();switch(a){case "CSV":a="CSV";break;case "JSON":case "GEOJSON":case "GEO_JSON":a="GEO_JSON";break;case "KML":a="KML";break;case "KMZ":a="KMZ";break;case "SHP":a="SHP";break;case "TF_RECORD":case "TF_RECORD_TABLE":case "TFRECORD":a="TF_RECORD_TABLE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'CSV', 'GeoJSON', 'KML', 'KMZ', 'SHP', and 'TFRecord'.");}e.fileFormat=a;e=Oo(e,b);break;case "EXPORT_VIDEO":e=Po(e);e=Oo(e,b);e.crsTransform!=null&&
647
648
  (e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=Po(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=Oo(e,b);break;case "EXPORT_CLASSIFIER":e=Oo(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&e.region!=null){d=e;b=e.region;if(b instanceof T)b=b.oe();else if(typeof b==="string")try{b=tb(JSON.parse(b))}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");
648
649
  }if(!(u(b)&&"type"in b))try{new Bn(b)}catch(g){try{new En(b)}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}}b=JSON.stringify(b);d.region=b}return e},Oo=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=
649
- a.assetId||"";break;case "FEATURE_VIEW":a.mapName=a.mapName||"";break;case "BIGQUERY":a.table=a.table||"";break;default:b=wa(a.folder);if(!ac(["string","undefined"],b))throw Error('Error: toDrive "folder" parameter must be a string, but is of type '+b+".");a.driveFolder=a.folder||"";a.driveFileNamePrefix=a.fileNamePrefix||"";delete a.folder;delete a.fileNamePrefix}return a},Qo={GEO_TIFF:["cloudOptimized","fileDimensions","noData","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
650
+ a.assetId||"";break;case "FEATURE_VIEW":a.mapName=a.mapName||"";break;case "BIGQUERY":a.table=a.table||"";break;default:b=wa(a.folder);if(!bc(["string","undefined"],b))throw Error('Error: toDrive "folder" parameter must be a string, but is of type '+b+".");a.driveFolder=a.folder||"";a.driveFileNamePrefix=a.fileNamePrefix||"";delete a.folder;delete a.fileNamePrefix}return a},Qo={GEO_TIFF:["cloudOptimized","fileDimensions","noData","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
650
651
  Ro={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},Po=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;var b=a.fileFormat;b==null&&(b="MP4");b=b.toUpperCase();switch(b){case "MP4":b="MP4";break;case "GIF":case "JIF":b="GIF";break;case "VP9":case "WEBM":b="VP9";break;default:throw Error("Invalid file format "+b+". Supported formats are: 'MP4', 'GIF', and 'WEBM'.");}a.fileFormat=b;return a},No=function(a,b){var c=a.formatOptions;if(c==null)return{};
651
- if(Object.keys(a).some(function(m){return c!==null&&m in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");a=Ro[b];for(var d=Qo[b],e={},g=q(Object.entries(c)),f=g.next();!f.done;f=g.next()){var l=q(f.value);f=l.next().value;l=l.next().value;if(!ac(d,f))throw Error('"'+f+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+f[0].toUpperCase()+f.substring(1)]=Array.isArray(l)?l.join():l}return e},
652
+ if(Object.keys(a).some(function(m){return c!==null&&m in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");a=Ro[b];for(var d=Qo[b],e={},g=q(Object.entries(c)),f=g.next();!f.done;f=g.next()){var l=q(f.value);f=l.next().value;l=l.next().value;if(!bc(d,f))throw Error('"'+f+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+f[0].toUpperCase()+f.substring(1)]=Array.isArray(l)?l.join():l}return e},
652
653
  Mo=["image","collection","classifier"];var So=function(a){if(!(this instanceof So))return Mm(So,arguments);if(a instanceof So)return a;To();if(typeof a==="number")O.call(this,null,null),this.Wc=a;else if(a instanceof O)O.call(this,a.I,a.args,a.U),this.Wc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};y(So,O);x("ee.Number",So);var Uo=!1,To=function(){Uo||(gn(So,"Number","Number"),Uo=!0)};So.prototype.encode=function(a){return typeof this.Wc==="number"?this.Wc:So.L.encode.call(this,a)};
653
654
  So.prototype.na=function(a){return typeof this.Wc==="number"?Xj(dl(a,this.Wc)):So.L.na.call(this,a)};So.prototype.name=function(){return"Number"};var Vo=function(a){if(!(this instanceof Vo))return Mm(Vo,arguments);if(a instanceof Vo)return a;Wo();if(typeof a==="string")O.call(this,null,null),this.jd=a;else if(a instanceof O)this.jd=null,a.I&&a.I.Z().returns=="String"?O.call(this,a.I,a.args,a.U):O.call(this,new P("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};y(Vo,O);x("ee.String",Vo);var Xo=!1,Wo=function(){Xo||(gn(Vo,"String","String"),Xo=!0)};
654
- Vo.prototype.encode=function(a){return typeof this.jd==="string"?this.jd:Vo.L.encode.call(this,a)};Vo.prototype.na=function(a){return typeof this.jd==="string"?Xj(dl(a,this.jd)):Vo.L.na.call(this,a)};Vo.prototype.name=function(){return"String"};var Yo=function(a,b){if(!(this instanceof Yo))return Mm(Yo,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var g=d[e],f=g.type;c.push(Zo(f in Om?Om[f]:null,g.name))}if(b.apply(null,c)===void 0)throw Error("User-defined methods must return a value.");this.wb=$o(a,c,b);this.Pg=b.apply(null,c)};y(Yo,Um);x("ee.CustomFunction",Yo);Yo.prototype.encode=function(a){return{type:"Function",argumentNames:Xb(this.wb.args,function(b){return b.name}),body:a(this.Pg)}};
655
+ Vo.prototype.encode=function(a){return typeof this.jd==="string"?this.jd:Vo.L.encode.call(this,a)};Vo.prototype.na=function(a){return typeof this.jd==="string"?Xj(dl(a,this.jd)):Vo.L.na.call(this,a)};Vo.prototype.name=function(){return"String"};var Yo=function(a,b){if(!(this instanceof Yo))return Mm(Yo,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var g=d[e],f=g.type;c.push(Zo(f in Om?Om[f]:null,g.name))}if(b.apply(null,c)===void 0)throw Error("User-defined methods must return a value.");this.wb=$o(a,c,b);this.Pg=b.apply(null,c)};y(Yo,Um);x("ee.CustomFunction",Yo);Yo.prototype.encode=function(a){return{type:"Function",argumentNames:Yb(this.wb.args,function(b){return b.name}),body:a(this.Pg)}};
655
656
  Yo.prototype.na=function(a){return ck(this.wb.args.map(function(b){return b.name}),dl(a,this.Pg))};Yo.prototype.Ed=function(a,b){return bk(dl(a,this),b)};Yo.prototype.Z=function(){return this.wb};
656
- var Zo=function(a,b){a=a||Object;if(!(a.prototype instanceof O))if(a&&a!=Object)if(a==String)a=Vo;else if(a==Number)a=So;else if(a==Array)a=t.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=O;var c=function(d){this.args=this.I=null;this.U=d};c.prototype=a.prototype;return new c(b)},ap=function(a,b){b={name:"",returns:"Object",args:Xb(b,function(c){return{name:null,type:typeof c==="string"?c:c.prototype instanceof O?c.prototype.name.call(null):c==Number?
657
+ var Zo=function(a,b){a=a||Object;if(!(a.prototype instanceof O))if(a&&a!=Object)if(a==String)a=Vo;else if(a==Number)a=So;else if(a==Array)a=t.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=O;var c=function(d){this.args=this.I=null;this.U=d};c.prototype=a.prototype;return new c(b)},ap=function(a,b){b={name:"",returns:"Object",args:Yb(b,function(c){return{name:null,type:typeof c==="string"?c:c.prototype instanceof O?c.prototype.name.call(null):c==Number?
657
658
  "Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new Yo(b,a)},$o=function(a,b,c){for(var d=[],e=0;e<b.length;e++)b[e].U===null&&d.push(e);if(d.length===0)return a;c="_MAPPING_VAR_"+function(l){var m=function(v){return v.map(p).reduce(function(A,C){return A+C},0)},p=function(v){return v.Ta?1:v.Fa?m(v.Fa.values):v.Ga?m(Object.values(v.Ga.values)):v.ya?m(Object.values(v.ya.arguments)):0};return m(Object.values(l.values))}(Wk(c.apply(null,b),"<unbound>"))+"_";for(e=0;e<
658
659
  d.length;e++){var g=d[e],f=c+e;b[g].U=f;a.args[g].name=f}return a};var bp=function(a,b){if(!(this instanceof bp))return Mm(bp,arguments);if(a instanceof bp)return a;cp();var c=R(bp,arguments);a=c.date;c=c.tz;var d=new P("Date"),e={},g=null;if(Rm(a)){if(e.value=a,c)if(Rm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(Qm(a))e.value=a;else if(ya(a))e.value=Math.floor(a.getTime());else if(a instanceof O)a.I&&a.I.Z().returns=="Date"?(d=a.I,e=a.args,g=a.U):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
659
660
  a);O.call(this,d,e,g)};y(bp,O);x("ee.Date",bp);var dp=!1,cp=function(){dp||(gn(bp,"Date","Date"),dp=!0)};bp.prototype.name=function(){return"Date"};x("ee.Deserializer",function(){});var fp=function(a){return ep(JSON.parse(a))};x("ee.Deserializer.fromJSON",fp);var ep=function(a){if("result"in a&&"values"in a)return gp(a);var b={};if(u(a)&&a.type==="CompoundValue"){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],g=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=hp(g,b)}a=a.value}return hp(a,b)};x("ee.Deserializer.decode",ep);
660
- var hp=function(a,b){if(a===null||typeof a==="number"||typeof a==="boolean"||typeof a==="string")return a;if(Array.isArray(a))return Xb(a,function(e){return hp(e,b)});if(!u(a)||typeof a==="function")throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":a=a.value;if(typeof a!=="string")throw Error("Invalid variable name: "+a);return Zo(Object,a);case "Date":a=a.value;if(typeof a!=="number")throw Error("Invalid date value: "+
661
- a);return new bp(a/1E3);case "Bytes":return ip(new cf({pb:a}),a);case "Invocation":return c="functionName"in a?Zm(a.functionName):hp(a["function"],b),a=Ya(a.arguments,function(e){return hp(e,b)}),jp(c,a);case "Dictionary":return Ya(a.value,function(e){return hp(e,b)});case "Function":var d=hp(a.body,b);a={name:"",args:Xb(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new Yo(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new T(a);
661
+ var hp=function(a,b){if(a===null||typeof a==="number"||typeof a==="boolean"||typeof a==="string")return a;if(Array.isArray(a))return Yb(a,function(e){return hp(e,b)});if(!u(a)||typeof a==="function")throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":a=a.value;if(typeof a!=="string")throw Error("Invalid variable name: "+a);return Zo(Object,a);case "Date":a=a.value;if(typeof a!=="number")throw Error("Invalid date value: "+
662
+ a);return new bp(a/1E3);case "Bytes":return ip(new cf({pb:a}),a);case "Invocation":return c="functionName"in a?Zm(a.functionName):hp(a["function"],b),a=Ya(a.arguments,function(e){return hp(e,b)}),jp(c,a);case "Dictionary":return Ya(a.value,function(e){return hp(e,b)});case "Function":var d=hp(a.body,b);a={name:"",args:Yb(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new Yo(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new T(a);
662
663
  case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},ip=function(a,b){var c=function(){};r(c,Uj);c.prototype.encode=function(){return b};c.prototype.na=function(){return a};return new c},jp=function(a,b){if(a instanceof Um)return a.apply(b);if(a instanceof O){var c=function(){return Um.apply(this,arguments)||this};r(c,Um);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Ed=function(d,e){return bk(dl(d,a),
663
664
  e)};return new O(new c,b)}throw Error("Invalid function value");},kp=function(a){return gp(JSON.parse(a))};x("ee.Deserializer.fromCloudApiJSON",kp);
664
665
  var gp=function(a){var b=Ma(tf,a),c={},d=function(f,l){if(!(f in c)){if(!(f in b.values))throw Error("Cannot find "+l+" "+f);c[f]=e(b.values[f])}return c[f]},e=function(f){if(f.gb!==null)f=f.gb;else if(f.Fa!==null)f=f.Fa.values.map(e);else if(f.Ga!==null)f=Ya(f.Ga.values,e);else if(f.Lb!==null)f=Zo(Object,f.Lb);else if(f.Ta!==null)f=g(f.Ta);else if(f.ya!==null){var l=f.ya;f=l.Ua?d(l.Ua,"function"):Zm(l.functionName);l=Ya(l.arguments,e);f=jp(f,l)}else f=f.pb!==null?ip(new cf({pb:f.pb}),f.pb):f.Va!==
@@ -667,12 +668,12 @@ lp.prototype.na=function(a){return this.Ic!==null?Xj(dl(a,this.Ic)):lp.L.na.call
667
668
  var xp=function(){pp="not_ready";Jj=Ij=vj=null;Hj=!1;an=null;bn={};hn(bp);dp=!1;hn(lp);np=!1;hn(S);pn=!1;hn(N);ko=!1;hn(W);bo=!1;hn(V);$n=!1;hn(Y);to=!1;hn(X);ro=!1;hn(U);Ln=!1;hn(T);sn=!1;hn(no);po=!1;hn(So);Uo=!1;hn(Vo);Xo=!1;op.reset();for(var a=t.ee,b=0;b<vp.length;b++){var c=vp[b];hn(a[c]);delete a[c]}vp=[];Om=a;a=wp;for(var d in a)delete a[d]};x("ee.reset",xp);var yp={Hl:"not_ready",LOADING:"loading",Il:"ready"};x("ee.InitState",yp);x("ee.InitState.NOT_READY","not_ready");
668
669
  x("ee.InitState.LOADING","loading");x("ee.InitState.READY","ready");var pp="not_ready",rp=[],qp=[];x("ee.TILE_SIZE",256);var vp=[],wp={};x("ee.Algorithms",wp);var zp=function(a,b){typeof a==="string"&&(a=new P(a));return Um.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};x("ee.call",zp);var Ap=function(a,b){typeof a==="string"&&(a=new P(a));return a.apply(b)};x("ee.apply",Ap);
669
670
  var sp=function(){if(pp=="loading"){try{cp();mp();on();io();ao();Zn();so();qo();Kn();qn();oo();To();Wo();op.initialize();var a=dn(),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]=Bp(l),vp.push(l),a[l]?(f[l].signature=a[l],f[l].signature.isConstructor=!0,bn[l]=!0):f[l].signature={});Om=f;Cp()}catch(m){tp(m);return}pp="ready";for(qp=[];rp.length>0;)rp.shift()()}},
670
- tp=function(a){if(pp=="loading")for(pp="not_ready",rp=[];qp.length>0;)qp.shift()(a)},Cp=function(){var a=en();ab(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=wp;for(e.signature={};b.length>1;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=fc(b,1)}g=function(f){return Ym(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=w(c.toString,c);e[b[0]]=g}})},Bp=function(a){var b=function(c){var d=t.ee[a],e=Array.prototype.slice.call(arguments),
671
+ tp=function(a){if(pp=="loading")for(pp="not_ready",rp=[];qp.length>0;)qp.shift()(a)},Cp=function(){var a=en();ab(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=wp;for(e.signature={};b.length>1;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=gc(b,1)}g=function(f){return Ym(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=w(c.toString,c);e[b[0]]=g}})},Bp=function(a){var b=function(c){var d=t.ee[a],e=Array.prototype.slice.call(arguments),
671
672
  g=e.length==1;if(g&&e[0]instanceof d)return e[0];if(!(this instanceof d))return Mm(d,e);d=fn(a);var f=!(e[0]instanceof O),l=!1;d&&(g?f?l=!0:e[0].I&&e[0].I.Z().returns==d.Z().returns||(l=!0):l=!0);if(l)e=Tm(e,d.Z())?e[0]:Wm(d,e),O.call(this,d,Xm(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.I,e.args,e.U)}};y(b,O);b.prototype.name=function(){return a};gn(b,a,a);return b};
672
673
  Vm=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 W(a);case "Element":if(a instanceof S)return a;if(a instanceof T)return new W(a);if(a instanceof O)return new S(a.I,a.args,a.U);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof X?Q("Collection.geometry",a):new T(a);case "FeatureCollection":case "Collection":return a instanceof V?
673
674
  a:new X(a);case "ImageCollection":return new Y(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 ap(a,c)}if(a instanceof Uj)return a;throw Error("Argument is not a function: "+a);case "String":return Rm(a)||a instanceof Vo||a instanceof O?new Vo(a):a;case "Dictionary":return Sm(a)?a:new lp(a);case "List":return new no(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new So(a);
674
675
  default:if(b in c){d=fn(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 Dp=function(a,b,c){ke.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.yh=new ae;this.xh=new ae};r(Dp,ke);Dp.prototype.getTile=function(a,b){var c=le(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.xb,this.token].join("/");this.zb.push(c);this.xb+=1;var d=Fh("DIV");Ep(this,b,a,c,d);Fp(this);return d};
675
- var Ep=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.yh.set(c,f),this.xh.set(c,e),bc(this.zb,d),Fp(this);else throw this.tg.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},Fp=function(a){a.dispatchEvent(new me(a.zb.length))};Dp.prototype.J=function(){this.xh=this.yh=null;ke.prototype.J.call(this)};
676
+ var Ep=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.yh.set(c,f),this.xh.set(c,e),cc(this.zb,d),Fp(this);else throw this.tg.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},Fp=function(a){a.dispatchEvent(new me(a.zb.length))};Dp.prototype.J=function(){this.xh=this.yh=null;ke.prototype.J.call(this)};
676
677
  x("ee.FloatTileOverlay",Dp);var Gp=function(){this.ie=new Map};Gp.prototype.clear=function(){this.ie.clear()};var Hp=function(a,b){a.ie.has(b)||a.ie.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.ie.get(b)};var Ip=function(a){H.call(this);this.Sb=a;this.K={}};y(Ip,H);var Jp=[];Ip.prototype.Wa=function(a,b,c,d){Array.isArray(b)||(b&&(Jp[0]=b.toString()),b=Jp);for(var e=0;e<b.length;e++){var g=Dd(a,b[e],c||this.handleEvent,d||!1,this.Sb||this);if(!g)break;this.K[g.key]=g}return this};Ip.prototype.Uc=function(a,b,c,d){return Kp(this,a,b,c,d)};
677
678
  var Kp=function(a,b,c,d,e,g){if(Array.isArray(c))for(var f=0;f<c.length;f++)Kp(a,b,c[f],d,e,g);else{b=Cd(b,c,d||a.handleEvent,e,g||a.Sb||a);if(!b)return a;a.K[b.key]=b}return a};Ip.prototype.se=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.se(a,b[g],c,d,e);else c=c||this.handleEvent,d=u(d)?!!d.capture:!!d,e=e||this.Sb||this,c=Ed(c),d=!!d,b=sd(a)?a.Kc(b,c,d,e):a?(a=Gd(a))?a.Kc(b,c,d,e):null:null,b&&(Ld(b),delete this.K[b.key])};
678
679
  Ip.prototype.ed=function(){Wa(this.K,function(a,b){this.K.hasOwnProperty(b)&&Ld(a)},this);this.K={}};Ip.prototype.J=function(){Ip.L.J.call(this);this.ed()};Ip.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Mp=function(a,b){a.name!==void 0?(this.name=a.name,this.code=db[a.name]):(this.code=a=qb(a.code),this.name=Lp(a));kb.call(this,Hc("%s %s",this.name,b))};y(Mp,kb);
@@ -681,7 +682,7 @@ h.mc=function(a){this.dispatchEvent(new Op(a,this))};h.J=function(){Pp.L.J.call(
681
682
  h.Lc=function(){return Sp(this,"throttled")+Sp(this,"loading")+Sp(this,"new")};h.setOpacity=function(a){this.opacity=a;this.yb.forEach(function(b){Qp(b.la,this.opacity)},this)};h.getStats=function(){return this.he};
682
683
  h.getTile=function(a,b,c){var d=1<<b;if(b<this.minZoom||a.y<0||a.y>=d)return c.createElement("div");var e=a.x%d;e<0&&(e+=d);d=new google.maps.Point(e,a.y);a=[a.x,a.y,b,this.xb++].join("-");e=this.sg.getUniqueId();a=[a,e].join("-");b=this.dh(d,b,c,a);b.tileSize=this.tileSize;Qp(b.la,this.opacity);this.yb.set(a,b);Tp(this,b);this.dispatchEvent(new Up(this.Lc()));this.sg.Gf(b,(new Date).getTime()/1E3);return b.la};h.releaseTile=function(a){var b=this.yb.get(a.id);this.yb.remove(a.id);b&&(b.abort(),ld(b))};
683
684
  var Tp=function(a,b){a.ib.Wa(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.el,d=(new Date).getTime();Hp(this.he,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new Vp(this.Lc()));break;case "throttled":Hp(this.he,b.zoom).throttleCount++;this.dispatchEvent(new Wp(b.Ca));break;case "failed":Hp(this.he,b.zoom).errorCount++;this.dispatchEvent(new Xp(b.Ca,b.Sk));break;case "aborted":this.dispatchEvent(new Yp(this.Lc()))}})};
684
- Rp.prototype.J=function(){J.prototype.J.call(this);this.yb.forEach(ld);this.yb.clear();this.yb=null;ld(this.ib);this.sg=this.ib=null};var Sp=function(a,b){return $b(a.yb.aa(),function(c){return c.getStatus()==b})};x("ee.layers.AbstractOverlay",Rp);Rp.prototype.removeTileCallback=Rp.prototype.Zf;Rp.prototype.addTileCallback=Rp.prototype.Me;var Vp=function(){md.call(this,"tile-load")};r(Vp,md);var Up=function(){md.call(this,"tile-start")};r(Up,md);var Wp=function(){md.call(this,"tile-throttle")};
685
+ Rp.prototype.J=function(){J.prototype.J.call(this);this.yb.forEach(ld);this.yb.clear();this.yb=null;ld(this.ib);this.sg=this.ib=null};var Sp=function(a,b){return ac(a.yb.aa(),function(c){return c.getStatus()==b})};x("ee.layers.AbstractOverlay",Rp);Rp.prototype.removeTileCallback=Rp.prototype.Zf;Rp.prototype.addTileCallback=Rp.prototype.Me;var Vp=function(){md.call(this,"tile-load")};r(Vp,md);var Up=function(){md.call(this,"tile-start")};r(Up,md);var Wp=function(){md.call(this,"tile-throttle")};
685
686
  r(Wp,md);var Xp=function(a,b){md.call(this,"tile-fail");this.errorMessage=b};r(Xp,md);var Yp=function(){md.call(this,"tile-abort")};r(Yp,md);var Zp=function(a,b,c,d){J.call(this);this.qb=a;this.zoom=b;this.la=c.createElement("div");this.la.id=d;this.il=5;this.ce=function(){};this.je="new";this.ti=0;this.Df=!1};r(Zp,J);Zp.prototype.getDiv=function(){return this.la};
686
687
  var aq=function(a){if(!a.Df&&a.getStatus()=="loading")throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");$p(a,"loading");a.el=(new Date).getTime();a.Ya=new Yi;a.Ya.wc="blob";a.Ya.Wa("complete",function(){var b=hj(a.Ya),c=a.Ya.getStatus();c==429&&$p(a,"throttled");if(Ti(c)){var d={};Wa(ij(a.Ya),function(g,f){d[f.toLowerCase()]=g});a.zl=d;a.Ai=b;a.Jc()}else if(b){var e=new Pp;e.Wa("loadend",function(){a.gd(e.ca.result)});e.readAsText(b)}else a.gd("Failed to load tile.")},
687
688
  !1);a.Ya.Uc("ready",Ea(ld,a.Ya));a.Ca&&a.Ca.endsWith("&profiling=1")&&(a.Ca=a.Ca.replace("&profiling=1",""),a.Ya.headers.set("X-Earth-Engine-Computation-Profiling","1"));a.Ya.send(a.Ca,"GET")};h=Zp.prototype;h.Jc=function(){this.ce(this);$p(this,"loaded")};h.Fc=function(){ld(this.Ya)};
@@ -690,11 +691,11 @@ Zp.prototype.J=function(){J.prototype.J.call(this);this.Fc();this.la.remove();th
690
691
  eq.prototype.Jc=function(){var a=new Pp;a.Wa("loadend",function(){this.yd=a.ca.result;Zp.prototype.Jc.call(this)},void 0,this);a.readAsArrayBuffer(this.Ai)};var fq=function(a){J.call(this);this.Pc={};this.Oc={};this.Sb=new Ip(this);this.X=a;this.We=!1};y(fq,J);var gq=["load","abort","error"],hq=function(a,b,c){if(c=typeof c==="string"?c:c.src)a.We=!1,a.Pc[b]={src:c,bh:null}},iq=function(a,b){delete a.Pc[b];var c=a.Oc[b];c&&(delete a.Oc[b],a.Sb.se(c,gq,a.bi))};
691
692
  fq.prototype.start=function(){var a=this.Pc;ab(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Ra)){if(this.X){var d=this.X;d=(d?new Kh(Jh(d)):lb||(lb=new Kh)).Qk("IMG")}else d=new Image;c.bh&&(d.crossOrigin=c.bh);this.Sb.Wa(d,gq,this.bi);this.Oc[b]=d;d.id=b;d.src=c.src}},this)};
692
693
  fq.prototype.bi=function(a){var b=a.currentTarget;if(b){if(a.type=="readystatechange")if(b.readyState=="complete")a.type="load";else return;typeof b.naturalWidth=="undefined"&&(a.type=="load"?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));iq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Ra&&eb(this.Oc)&&eb(this.Pc)&&!this.We&&(this.We=!0,this.dispatchEvent("complete"))}};fq.prototype.J=function(){delete this.Pc;delete this.Oc;ld(this.Sb);fq.L.J.call(this)};var jq=function(a,b){Rp.call(this,a,b)};r(jq,Rp);jq.prototype.dh=function(a,b,c,d){return new kq(a,b,c,d)};x("ee.layers.ImageOverlay",jq);var kq=function(a,b,c,d){Zp.call(this,a,b,c,d);this.ce=lq;this.Fh=this.ga=this.Qd=null;this.Xc=""};r(kq,Zp);
693
- kq.prototype.Jc=function(){try{var a=Qb(this.Ai);this.Xc=Pb(a);var b=this.Xc!==Ob.toString()?this.Xc:this.Ca}catch(c){b=this.Ca}this.ga=new fq;hq(this.ga,this.la.id+"-image",b);this.Fh=Cd(this.ga,mq,function(c){c.type=="load"?(this.Qd=c.target,Zp.prototype.Jc.call(this)):this.gd()},void 0,this);this.ga.start()};kq.prototype.Fc=function(){Zp.prototype.Fc.call(this);this.ga&&(Ld(this.Fh),ld(this.ga))};kq.prototype.J=function(){Zp.prototype.J.call(this);this.Xc&&URL.revokeObjectURL(this.Xc)};
694
+ kq.prototype.Jc=function(){try{var a=Rb(this.Ai);this.Xc=Qb(a);var b=this.Xc!==Pb.toString()?this.Xc:this.Ca}catch(c){b=this.Ca}this.ga=new fq;hq(this.ga,this.la.id+"-image",b);this.Fh=Cd(this.ga,mq,function(c){c.type=="load"?(this.Qd=c.target,Zp.prototype.Jc.call(this)):this.gd()},void 0,this);this.ga.start()};kq.prototype.Fc=function(){Zp.prototype.Fc.call(this);this.ga&&(Ld(this.Fh),ld(this.ga))};kq.prototype.J=function(){Zp.prototype.J.call(this);this.Xc&&URL.revokeObjectURL(this.Xc)};
694
695
  var lq=function(a){a.la.appendChild(a.Qd)},mq=["load","abort","error"];var nq=function(a){for(var b=arguments[0],c=1;c<arguments.length;c++){var d=arguments[c];if(d.lastIndexOf("/",0)==0)b=d;else{var e;(e=b=="")||(e=b.length-1,e=e>=0&&b.indexOf("/",e)==e);b=e?b+d:b+("/"+d)}}return b};var oq=function(a,b,c,d){H.call(this);this.Qg=a;this.Yb=b;this.ng=d||"";this.Wd=c};r(oq,cq);oq.prototype.Gf=function(a){if(a.zoom<=this.Wd)a.Ca=this.Ld(a.qb,a.zoom);else{var b=a.zoom-this.Wd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.qb.x/c),Math.floor(a.qb.y/c));a.Ca=this.Ld(c,a.zoom-b);a.ce=Ea(pq,this.Wd)}var d=w(a.gd,a);a.gd=w(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?$p(a,"loaded"):d(e)},a);aq(a)};
695
696
  oq.prototype.getUniqueId=function(){return[this.Qg,this.Yb,this.Wd,this.ng].join("-")};oq.prototype.Ld=function(a,b){a=nq("https://storage.googleapis.com",this.Qg,this.Yb,String(b),String(a.x),String(a.y));this.ng&&(a+=this.ng);return a};
696
- var pq=function(a,b){if(!b.Qd)throw Error("Tile must have an image element to be rendered.");a=Math.pow(2,b.zoom-a);var c=b.tileSize.width,d=b.la.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.la.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Qd,c/a*(b.qb.x%a),c/a*(b.qb.y%a),c/a,c/a,0,0,c,c)};x("ee.layers.CloudStorageTileSource",oq);var qq=function(){this.La=[];this.Qa=[]};h=qq.prototype;h.enqueue=function(a){this.Qa.push(a)};h.Hc=function(){this.La.length===0&&(this.La=this.Qa,this.La.reverse(),this.Qa=[]);return this.La.pop()};h.R=function(){return this.La.length+this.Qa.length};h.isEmpty=function(){return this.La.length===0&&this.Qa.length===0};h.clear=function(){this.La=[];this.Qa=[]};h.contains=function(a){return ac(this.La,a)||ac(this.Qa,a)};
697
- h.remove=function(a){var b=this.La;var c=Ub(b,a);c>=0?(cc(b,c),b=!0):b=!1;return b||bc(this.Qa,a)};h.aa=function(){for(var a=[],b=this.La.length-1;b>=0;--b)a.push(this.La[b]);var c=this.Qa.length;for(b=0;b<c;++b)a.push(this.Qa[b]);return a};var rq=function(a,b){H.call(this);this.Th=a||0;this.Vd=b||10;if(this.Th>this.Vd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Sa=new qq;this.ub=new fe;this.delay=0;this.Ef=null;this.rd()};y(rq,H);rq.prototype.Mc=function(){var a=Date.now();if(!(this.Ef!=null&&a-this.Ef<this.delay)){for(var b;this.Sa.R()>0&&(b=this.Sa.Hc(),!this.Qf(b));)this.rd();!b&&this.R()<this.Vd&&(b=this.Ze());b&&(this.Ef=a,this.ub.add(b));return b}};
697
+ var pq=function(a,b){if(!b.Qd)throw Error("Tile must have an image element to be rendered.");a=Math.pow(2,b.zoom-a);var c=b.tileSize.width,d=b.la.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.la.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Qd,c/a*(b.qb.x%a),c/a*(b.qb.y%a),c/a,c/a,0,0,c,c)};x("ee.layers.CloudStorageTileSource",oq);var qq=function(){this.La=[];this.Qa=[]};h=qq.prototype;h.enqueue=function(a){this.Qa.push(a)};h.Hc=function(){this.La.length===0&&(this.La=this.Qa,this.La.reverse(),this.Qa=[]);return this.La.pop()};h.R=function(){return this.La.length+this.Qa.length};h.isEmpty=function(){return this.La.length===0&&this.Qa.length===0};h.clear=function(){this.La=[];this.Qa=[]};h.contains=function(a){return bc(this.La,a)||bc(this.Qa,a)};
698
+ h.remove=function(a){var b=this.La;var c=Vb(b,a);c>=0?(dc(b,c),b=!0):b=!1;return b||cc(this.Qa,a)};h.aa=function(){for(var a=[],b=this.La.length-1;b>=0;--b)a.push(this.La[b]);var c=this.Qa.length;for(b=0;b<c;++b)a.push(this.Qa[b]);return a};var rq=function(a,b){H.call(this);this.Th=a||0;this.Vd=b||10;if(this.Th>this.Vd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Sa=new qq;this.ub=new fe;this.delay=0;this.Ef=null;this.rd()};y(rq,H);rq.prototype.Mc=function(){var a=Date.now();if(!(this.Ef!=null&&a-this.Ef<this.delay)){for(var b;this.Sa.R()>0&&(b=this.Sa.Hc(),!this.Qf(b));)this.rd();!b&&this.R()<this.Vd&&(b=this.Ze());b&&(this.Ef=a,this.ub.add(b));return b}};
698
699
  var sq=function(a,b){return a.ub.remove(b)?(a.Le(b),!0):!1};h=rq.prototype;h.Le=function(a){this.ub.remove(a);this.Qf(a)&&this.R()<this.Vd?this.Sa.enqueue(a):this.Cd(a)};h.rd=function(){for(var a=this.Sa;this.R()<this.Th;)a.enqueue(this.Ze());for(;this.R()>this.Vd&&this.Sa.R()>0;)this.Cd(a.Hc())};h.Ze=function(){return{}};h.Cd=function(a){if(typeof a.dispose=="function")a.dispose();else for(var b in a)a[b]=null};h.Qf=function(a){return typeof a.Nk=="function"?a.Nk():!0};
699
700
  h.contains=function(a){return this.Sa.contains(a)||this.ub.contains(a)};h.R=function(){return this.Sa.R()+this.ub.R()};h.isEmpty=function(){return this.Sa.isEmpty()&&this.ub.isEmpty()};h.J=function(){rq.L.J.call(this);if(this.ub.R()>0)throw Error("[goog.structs.Pool] Objects not released");delete this.ub;for(var a=this.Sa;!a.isEmpty();)this.Cd(a.Hc());delete this.Sa};var tq=function(a,b){this.Lh=a;this.te=b};tq.prototype.getKey=function(){return this.Lh};tq.prototype.clone=function(){return new tq(this.Lh,this.te)};var uq=function(a){this.Aa=[];if(a)a:{if(a instanceof uq){var b=a.sb();a=a.aa();if(this.R()<=0){for(var c=this.Aa,d=0;d<b.length;d++)c.push(new tq(b[d],a[d]));break a}}else b=ab(a),a=$a(a);for(c=0;c<b.length;c++)vq(this,b[c],a[c])}},vq=function(a,b,c){var d=a.Aa;d.push(new tq(b,c));b=d.length-1;a=a.Aa;for(c=a[b];b>0;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};h=uq.prototype;
700
701
  h.remove=function(){var a=this.Aa,b=a.length,c=a[0];if(!(b<=0)){if(b==1)a.length=0;else{a[0]=a.pop();a=0;b=this.Aa;for(var d=b.length,e=b[a];a<d>>1;){var g=a*2+1,f=a*2+2;g=f<d&&b[f].getKey()<b[g].getKey()?f:g;if(b[g].getKey()>e.getKey())break;b[a]=b[g];a=g}b[a]=e}return c.te}};h.aa=function(){for(var a=this.Aa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].te);return b};h.sb=function(){for(var a=this.Aa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
@@ -702,24 +703,24 @@ h.Gc=function(a){return this.Aa.some(function(b){return b.te==a})};h.Ob=function
702
703
  h.J=function(){xq.L.J.call(this);t.clearTimeout(this.nh);this.fe.clear();this.fe=null};var yq=function(a,b){H.call(this);this.Hf=a;this.ua=b||null};r(yq,cq);yq.prototype.Gf=function(a,b){var c=this,d=Dd(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.zl["x-earth-engine-computation-profile"];this.ua&&e&&this.ua.Kk(a.la.id,e);break;case "failed":case "aborted":this.ua&&a.la.id!==""&&this.ua.rl(a.la.id),Ld(d)}},void 0,this);a.Ca=this.Ld(a.qb,a.zoom);zq().Mc(function(e){c.xf(a,e)},b)};yq.prototype.getUniqueId=function(){return this.Hf.mapid+"-"+this.Hf.token};
703
704
  yq.prototype.xf=function(a,b){var c=zq();if(a.Ra||a.getStatus()=="aborted")sq(c,b);else{var d=Dd(a,"status-changed",function(){a.je in bq&&(Ld(d),sq(c,b))});aq(a)}};yq.prototype.Ld=function(a,b){a=Gl(this.Hf,a.x,a.y,b);return this.ua&&this.ua.isEnabled()?a+"&profiling=1":a};var zq=function(){Aq||(Aq=new xq(0,4));return Aq};x("ee.layers.EarthEngineTileSource",yq);var Aq=null;var Bq=function(a){H.call(this);this.Ji=a};r(Bq,cq);Bq.prototype.Gf=function(a){a.Ca=this.Ji.formatTileUrl(a.qb.x,a.qb.y,a.zoom);aq(a)};Bq.prototype.getUniqueId=function(){return this.Ji.token};x("ee.layers.FeatureViewTileSource",Bq);var Dq=function(){J.call(this);this.pe=new Cq(0,60);this.vc=new ae};r(Dq,J);Dq.prototype.send=function(a,b,c,d,e){if(this.vc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Eq(a,b,d,w(this.oi,this),e!==void 0?e:1);this.vc.set(a,b);a=w(this.xf,this,b);this.pe.Mc(a,c);return b};Dq.prototype.abort=function(a){if(a=this.vc.get(a))a.jc||(a.jc=!0,a.Ja=new md("abort")),this.oi(a)};
704
705
  Dq.prototype.xf=function(a,b){if(a.ga||a.jc)Fq(this,b);else if(a.Li=b,b.setActive(!0),b=new fq,a.ga=b,!a.retry())throw Error("Cannot dispatch first request!");};Dq.prototype.oi=function(a){this.vc.remove(a.getId());a.ga&&(Fq(this,a.Li),a.ga.dispose());a.yf&&a.yf(a.Ja,a.ki)};var Fq=function(a,b){b.setActive(!1);if(!sq(a.pe,b))throw Error("Object not released");};
705
- Dq.prototype.J=function(){J.prototype.J.call(this);this.pe.dispose();this.pe=null;var a=this.vc;Vb(a.aa(),function(b){b.dispose()});a.clear();this.vc=null};x("ee.MapTileManager",Dq);var Eq=function(a,b,c,d,e){H.call(this);this.fa=a;this.Fl=b;this.jl=e!==void 0?e:1;this.yf=c;this.ac=d};r(Eq,H);h=Eq.prototype;h.getId=function(){return this.fa};h.getUrl=function(){return this.Fl};
706
+ Dq.prototype.J=function(){J.prototype.J.call(this);this.pe.dispose();this.pe=null;var a=this.vc;Wb(a.aa(),function(b){b.dispose()});a.clear();this.vc=null};x("ee.MapTileManager",Dq);var Eq=function(a,b,c,d,e){H.call(this);this.fa=a;this.Fl=b;this.jl=e!==void 0?e:1;this.yf=c;this.ac=d};r(Eq,H);h=Eq.prototype;h.getId=function(){return this.fa};h.getUrl=function(){return this.Fl};
706
707
  h.Xk=function(a){if(this.jc)this.ac&&this.ac(this);else switch(a.type){case "load":this.Ja=a;this.ac&&this.ac(this);break;case "error":case "abort":this.retry()||(this.Ja=a,this.ac&&this.ac(this))}};h.J=function(){H.prototype.J.call(this);delete this.yf;delete this.ac};h.retry=function(){if(this.Ig>this.jl)return!1;this.Ig++;iq(this.ga,this.fa);setTimeout(w(this.Al,this),0);return!0};
707
- h.Al=function(){if(!this.jc){var a=w(function(d){this.jc||(hq(this.ga,this.fa,d),Cd(this.ga,Gq,w(this.Xk,this)),this.ga.start())},this),b=this.getUrl();if(cd(b).Ba.Ob("profiling")){var c=new Yi;c.wc="blob";c.Wa("complete",w(function(){this.ki=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(c.getStatus()>=200&&c.getStatus()<300)try{var d=Pb(Qb(hj(c)));var e=d!==Ob.toString()}catch(g){}a(e?d:b)},this));c.Uc("ready",w(c.dispose,c));c.send(b,"GET")}else a(b)}};h.Ig=0;h.jc=!1;h.ga=null;
708
+ h.Al=function(){if(!this.jc){var a=w(function(d){this.jc||(hq(this.ga,this.fa,d),Cd(this.ga,Gq,w(this.Xk,this)),this.ga.start())},this),b=this.getUrl();if(cd(b).Ba.Ob("profiling")){var c=new Yi;c.wc="blob";c.Wa("complete",w(function(){this.ki=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(c.getStatus()>=200&&c.getStatus()<300)try{var d=Qb(Rb(hj(c)));var e=d!==Pb.toString()}catch(g){}a(e?d:b)},this));c.Uc("ready",w(c.dispose,c));c.send(b,"GET")}else a(b)}};h.Ig=0;h.jc=!1;h.ga=null;
708
709
  h.Li=null;h.Ja=null;h.ki=null;var Gq=["load","abort","error"],Hq=function(){H.call(this);this.Ea=!1};r(Hq,H);Hq.prototype.setActive=function(a){this.Ea=a};Hq.prototype.isActive=function(){return this.Ea};var Cq=function(a,b){xq.call(this,a,b)};r(Cq,xq);Cq.prototype.Ze=function(){return new Hq};Cq.prototype.Cd=function(a){a.dispose()};Cq.prototype.Qf=function(a){return!a.Ra&&!a.isActive()};var Iq=function(a,b,c,d,e){ke.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.ug=new fe;this.Rf=1;this.ua=e||null};r(Iq,ke);h=Iq.prototype;h.Me=function(a){return Dd(this,"tileevent",a)};h.Zf=function(a){Ld(a)};
709
710
  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=le(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ua&&this.ua.isEnabled()&&(a+="&profiling=1");b=[b,this.xb,this.token].join("/");this.xb+=1;c=Fh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.zb.push(b);wl(Dq).send(b,a,d,w(this.Wk,this,c,b));Fp(this);return c};h.Lc=function(){return this.zb.length};
710
711
  h.releaseTile=function(a){wl(Dq).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.ug.remove(b);a.id!==""&&(this.tg.remove(a.id),this.ua&&this.ua.rl(a.id))};h.setOpacity=function(a){this.Rf=a;var b=this.ug.Da();Wd(b,function(c){Qp(c,a)})};
711
- h.Wk=function(a,b,c,d){c.type=="error"?(bc(this.zb,b),this.tg.add(b),this.dispatchEvent(c)):(bc(this.zb,b),c.target&&c.type=="load"&&(c=c.target,this.ug.add(c),this.Rf!=1&&Qp(c,this.Rf),a.appendChild(c)),Fp(this));this.ua&&d!==null&&this.ua.Kk(b,d)};x("ee.MapLayerOverlay",Iq);Iq.prototype.removeTileCallback=Iq.prototype.Zf;Iq.prototype.addTileCallback=Iq.prototype.Me;Iq.prototype.getTile=Iq.prototype.getTile;Iq.prototype.setOpacity=Iq.prototype.setOpacity;Iq.prototype.releaseTile=Iq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.image.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.table.toDrive ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.setDefaultWorkloadTag ee.data.getThumbId ee.data.cancelTask ee.data.resetWorkloadTag ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.updateAsset ee.data.updateTask ee.data.getList ee.data.getFilmstripThumbId ee.data.startIngestion ee.data.createFolder ee.data.makeThumbUrl ee.data.startProcessing ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.getMapId ee.data.renameAsset ee.data.listAssets ee.data.getTaskList ee.data.setAssetProperties ee.data.authenticate ee.data.copyAsset ee.data.getTileUrl ee.data.getTableDownloadId ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.startTableIngestion ee.data.getWorkloadTag ee.data.listOperations ee.data.getDownloadId ee.data.authenticateViaPopup ee.data.cancelOperation ee.data.getAssetAcl ee.data.getFeatureViewTilesKey ee.data.listImages ee.data.makeDownloadUrl ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.setWorkloadTag ee.data.authenticateViaPrivateKey ee.data.createAssetHome ee.data.getOperation ee.data.newTaskId ee.data.createAsset ee.data.computeValue ee.data.getInfo ee.Date ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Dictionary ee.reset ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.Filter.and ee.Filter.prototype.not ee.Filter.gt ee.Filter.lt ee.Filter.inList ee.Filter.neq ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.serialize ee.Geometry.BBox ee.Geometry.LineString ee.Geometry.MultiPolygon ee.Geometry.Rectangle ee.Geometry ee.Geometry.LinearRing ee.Geometry.Polygon ee.Geometry.MultiPoint ee.Geometry.Point ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.clip ee.Image.cat ee.Image.prototype.select ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.getThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.toCloudApiJSON ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.String ee.Terrain".split(" "),
712
- c=[["name","namedArgs"],["name"],["name","var_args"],"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(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices","opt_priority"],["classifier",
713
- "opt_description","opt_assetId","opt_priority"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),"collection opt_description opt_folder 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(" "),
714
- "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(" "),"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),"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(" "),
715
- "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_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(" "),
716
- ["algorithm","opt_dropNulls"],["algorithm","opt_first"],["filter"],["max","opt_property","opt_ascending"],["property","opt_ascending"],["name","operator","value"],["geometry"],["start","opt_end"],["opt_callback"],["legacy"],["func","var_args"],["callback"],["tag"],["params","opt_callback"],["taskId","opt_callback"],["opt_resetDefault"],["params","opt_callback"],["taskId","opt_callback"],["assetId","asset","updateFields","opt_callback"],["taskId","action","opt_callback"],["params","opt_callback"],
717
- ["params","opt_callback"],["taskId","request","opt_callback"],["path","opt_force","opt_callback"],["id"],["taskId","params","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["assetId","aclUpdate","opt_callback"],["params","opt_callback"],["sourceId","destinationId","opt_callback"],["parent","opt_params","opt_callback"],["opt_callback"],["assetId","properties","opt_callback"],["clientId","success","opt_error","opt_extraScopes",
718
- "opt_onImmediateFailed"],["sourceId","destinationId","opt_overwrite","opt_callback"],["id","x","y","z"],["params","opt_callback"],["project","opt_callback"],["id"],["opt_limit","opt_callback"],["assetId","opt_callback"],["rootId","opt_callback"],["taskId","request","opt_callback"],[],["opt_limit","opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["operationName","opt_callback"],["assetId","opt_callback"],["params","opt_callback"],["parent","opt_params","opt_callback"],["id"],["asset",
719
- "params","opt_callback"],["opt_callback"],["id","opt_callback"],["tag"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["requestedId","opt_callback"],["operationName","opt_callback"],["opt_count","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["obj","opt_callback"],["id","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],[],["func","namedArgs"],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
720
- ["func","var_args"],["var_args"],[],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["geometry","opt_properties"],["args","opt_column"],["opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["opt_visParams","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],["var_args"],[],["name","value"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name",
721
- "value"],["var_args"],["name","value"],["name","value"],["opt_filter"],["name","value"],["start","opt_end"],["name","operator","value"],["geometry","opt_errorMargin"],["namedArgs"],["var_args"],[],["legacy"],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],
722
- ["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["params","opt_callback"],["opt_args"],["params","opt_callback"],["r","g","b"],["geometry"],["var_args"],["var_args"],["expression","opt_map"],["var_args"],["params","opt_callback"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],
723
- [],["params","opt_callback"],["args"],["opt_visParams","opt_callback"],["params","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],["selectors","opt_names"],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["string"],[]];[$m,Zm,Q,Bo,Do,Fo,Lo,yo,Eo,Co,Ko,Ho,Ao,Io,Go,Jo,V.prototype.map,V.prototype.Kh,V.prototype.filter,V.prototype.limit,V.prototype.sort,V.prototype.mf,V.prototype.vh,V.prototype.lf,O.prototype.V,O.prototype.va,O.prototype.Eg,
724
- O.prototype.evaluate,Km,Kl,cm,Lm,Ll,Wl,Em,bm,sm,Ml,nm,zm,Nl,jm,yl,Fm,Fl,Am,tm,Yl,Gm,zl,Bm,Gl,Rl,vm,Sl,Xl,Cm,Hm,pm,Dl,Zl,Pl,xl,$l,Dm,Hl,um,Ql,Il,wm,qm,Jm,Al,xm,am,Tl,ym,Jl,qm,bp,fp,kp,gp,ep,lp,xp,wp,yp,Ap,256,up,zp,S.prototype.set,Vj,W.prototype.V,W.prototype.S,W.prototype.getMap,W,X,X.prototype.V,X.prototype.select,X.prototype.S,X.prototype.rb,X.prototype.getMap,Tn,U.prototype.rc,Rn,Pn,Wn,On,Un,Sn,Qn,U,Nn,Vn,Yn,Xn,Um.prototype.apply,Um.prototype.call,T.prototype.wg,T.prototype.va,yn,Bn,Fn,xn,T,Cn,
725
- En,wn,tn,Dn,T.prototype.oe,N.prototype.V,N.prototype.S,N.prototype.getMap,N.prototype.rb,N,N.prototype.Kd,lo,N.prototype.clip,mo,N.prototype.select,N.prototype.l,N.prototype.pi,N.prototype.vf,Y.prototype.Ff,Y.prototype.first,Y.prototype.wf,Y,Y.prototype.S,Y.prototype.tf,Y.prototype.getMap,Y.prototype.V,Y.prototype.select,no,So,bl,Sk,Xk,Uk,cl,al,Rk,Vo,op].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
712
+ h.Wk=function(a,b,c,d){c.type=="error"?(cc(this.zb,b),this.tg.add(b),this.dispatchEvent(c)):(cc(this.zb,b),c.target&&c.type=="load"&&(c=c.target,this.ug.add(c),this.Rf!=1&&Qp(c,this.Rf),a.appendChild(c)),Fp(this));this.ua&&d!==null&&this.ua.Kk(b,d)};x("ee.MapLayerOverlay",Iq);Iq.prototype.removeTileCallback=Iq.prototype.Zf;Iq.prototype.addTileCallback=Iq.prototype.Me;Iq.prototype.getTile=Iq.prototype.getTile;Iq.prototype.setOpacity=Iq.prototype.setOpacity;Iq.prototype.releaseTile=Iq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.getList ee.data.startProcessing ee.data.startIngestion ee.data.createFolder ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.listAssets ee.data.renameAsset ee.data.getMapId ee.data.getTaskList ee.data.setAssetProperties ee.data.authenticate ee.data.getTableDownloadId ee.data.copyAsset ee.data.listBuckets ee.data.getTileUrl ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.deleteAsset ee.data.cancelOperation ee.data.getAssetRootQuota ee.data.listOperations ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.listImages ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.getOperation ee.data.authenticateViaPrivateKey ee.data.setWorkloadTag ee.data.newTaskId ee.data.createAssetHome ee.data.computeValue ee.data.createAsset ee.data.getInfo ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.resetWorkloadTag ee.data.getTaskStatus ee.data.updateTask ee.data.updateAsset ee.Date ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Dictionary ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getMapId ee.Filter.metadata ee.Filter.prototype.not ee.Filter.date ee.Filter.bounds ee.Filter.eq ee.Filter ee.Filter.and ee.Filter.inList ee.Filter.gt ee.Filter.or ee.Filter.lt ee.Filter.neq ee.Filter.lte ee.Filter.gte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Geometry.LineString ee.Geometry ee.Geometry.prototype.serialize ee.Geometry.Rectangle ee.Geometry.Point ee.Geometry.MultiPolygon ee.Geometry.Polygon ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.cat ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image ee.Image.prototype.clip ee.Image.prototype.select ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getFilmstripThumbURL ee.List ee.Number ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.String ee.Terrain".split(" "),
713
+ c=[["name","namedArgs"],["name"],["name","var_args"],"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_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(" "),
714
+ "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),"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_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
715
+ "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(" "),"collection opt_description opt_folder 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(" "),
716
+ ["collection","opt_description","opt_assetId","opt_maxVertices","opt_priority"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),["classifier","opt_description","opt_assetId","opt_priority"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),["algorithm","opt_dropNulls"],["algorithm","opt_first"],["max",
717
+ "opt_property","opt_ascending"],["filter"],["start","opt_end"],["property","opt_ascending"],["geometry"],["name","operator","value"],["func","var_args"],["callback"],["opt_callback"],["legacy"],["params","opt_callback"],["taskId","params","opt_callback"],["taskId","request","opt_callback"],["path","opt_force","opt_callback"],["id"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["assetId","aclUpdate","opt_callback"],["parent","opt_params","opt_callback"],
718
+ ["sourceId","destinationId","opt_callback"],["params","opt_callback"],["opt_callback"],["assetId","properties","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["params","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["project","opt_callback"],["id","x","y","z"],["id"],["opt_limit","opt_callback"],["taskId","request","opt_callback"],["assetId","opt_callback"],["operationName","opt_callback"],["rootId","opt_callback"],["opt_limit",
719
+ "opt_callback"],["params","opt_callback"],["id"],["opt_success","opt_error"],["params","opt_callback"],["parent","opt_params","opt_callback"],["assetId","opt_callback"],[],["asset","params","opt_callback"],["id","opt_callback"],["opt_callback"],["operationName","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["tag"],["opt_count","opt_callback"],["requestedId","opt_callback"],["obj","opt_callback"],["value","opt_path","opt_force","opt_properties",
720
+ "opt_callback"],["id","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["tag"],["params","opt_callback"],["params","opt_callback"],["opt_resetDefault"],["taskId","opt_callback"],["taskId","action","opt_callback"],["assetId","asset","updateFields","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"],
721
+ ["var_args"],[],["geometry","opt_properties"],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["args","opt_column"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["name","operator","value"],[],["start","opt_end"],["geometry","opt_errorMargin"],["name","value"],["opt_filter"],["var_args"],["opt_leftField",
722
+ "opt_rightValue","opt_rightField","opt_leftValue"],["name","value"],["var_args"],["name","value"],["name","value"],["name","value"],["name","value"],["namedArgs"],["var_args"],["west","south","east","north"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["legacy"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic",
723
+ "opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["expression","opt_map"],["var_args"],["r","g","b"],["opt_callback"],["opt_visParams","opt_callback"],["params","opt_callback"],["params","opt_callback"],["var_args"],["opt_visParams","opt_callback"],["params","opt_callback"],["opt_args"],["geometry"],["var_args"],["selectors","opt_names"],["imageCollection","opt_linkedBands","opt_linkedProperties",
724
+ "opt_matchPropertyName"],["params","opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],[],["args"],["opt_callback"],["params","opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["string"],[]];[$m,Zm,Q,Co,Ko,Ho,Ao,Io,Go,Jo,Eo,Bo,Fo,Do,Lo,yo,V.prototype.map,V.prototype.Kh,V.prototype.limit,V.prototype.filter,V.prototype.lf,V.prototype.sort,V.prototype.vh,V.prototype.mf,O.prototype.Eg,O.prototype.evaluate,O.prototype.V,
725
+ O.prototype.va,sm,jm,nm,zm,Nl,yl,Fm,tm,Am,Fl,Yl,Gm,zl,Rl,Bm,vm,Gl,Sl,Xl,pm,Cm,$l,Hm,Zl,Pl,Ql,xl,Hl,um,Dm,Dl,Il,qm,wm,am,Al,Jm,Tl,xm,Jl,ym,qm,Kl,cm,Km,Ll,Ml,Lm,Wl,bm,Em,bp,fp,kp,ep,gp,lp,256,up,zp,xp,wp,yp,Ap,S.prototype.set,Vj,W,W.prototype.V,W.prototype.S,W.prototype.getMap,X.prototype.V,X.prototype.rb,X.prototype.select,X,X.prototype.getMap,X.prototype.S,Yn,U.prototype.rc,Vn,Xn,Nn,U,Tn,Wn,Rn,Un,Pn,On,Sn,Qn,Um.prototype.apply,Um.prototype.call,yn,wn,Cn,T.prototype.wg,Bn,T,T.prototype.va,xn,tn,Fn,
726
+ En,Dn,T.prototype.oe,N.prototype.l,N.prototype.pi,lo,N.prototype.V,N.prototype.S,N.prototype.Kd,N.prototype.vf,mo,N.prototype.getMap,N.prototype.rb,N,N.prototype.clip,N.prototype.select,Y.prototype.select,Y.prototype.Ff,Y.prototype.wf,Y.prototype.S,Y.prototype.getMap,Y.prototype.first,Y,Y.prototype.V,Y.prototype.tf,no,So,Sk,Xk,bl,Uk,cl,al,Rk,Vo,op].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);