Michael DeWitt e5cc10eea5 v0.1.211
2020-01-22 15:28:05 -08:00

675 lines
310 KiB
JavaScript

(function(){/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
var k,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},l=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},ba=function(a){if(!(a instanceof Array)){a=l(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ca="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},da;
if("function"==typeof Object.setPrototypeOf)da=Object.setPrototypeOf;else{var ea;a:{var fa={Zh:!0},ha={};try{ha.__proto__=fa;ea=ha.Zh;break a}catch(a){}ea=!1}da=ea?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var ia=da,n=function(a,b){a.prototype=ca(b.prototype);a.prototype.constructor=a;if(ia)ia(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.F=b.prototype},ja=function(a){a=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,a];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}return globalThis},r=ja(this),ka="function"==typeof Object.defineProperties?
Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},la=function(a,b){if(b){var c=r;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ka(c,a,{configurable:!0,writable:!0,value:b})}};la("globalThis",function(a){return a||r});
la("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});var ma=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};
la("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=ma(this,b,"endsWith");b+="";void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});la("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ma(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});
la("String.prototype.repeat",function(a){return a?a:function(b){var c=ma(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});var na=function(){na=function(){};r.Symbol||(r.Symbol=oa)},pa=function(a,b){this.Kh=a;ka(this,"description",{configurable:!0,writable:!0,value:b})};pa.prototype.toString=function(){return this.Kh};
var oa=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new pa("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}(),ra=function(){na();var a=r.Symbol.iterator;a||(a=r.Symbol.iterator=r.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ka(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return qa(aa(this))}});ra=function(){}},qa=function(a){ra();a={next:a};a[r.Symbol.iterator]=function(){return this};return a},
sa=function(a,b){ra();a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var e=c++;return{value:b(e,a[e]),done:!1}}d.next=function(){return{done:!0,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d};la("Array.prototype.keys",function(a){return a?a:function(){return sa(this,function(b){return b})}});
var ta=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},ua="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)ta(d,e)&&(a[e]=d[e])}return a};la("Object.assign",function(a){return a||ua});
la("Promise",function(a){function b(){this.bb=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.Nf=function(g){if(null==this.bb){this.bb=[];var h=this;this.Of(function(){h.ki()})}this.bb.push(g)};var d=r.setTimeout;b.prototype.Of=function(g){d(g,0)};b.prototype.ki=function(){for(;this.bb&&this.bb.length;){var g=this.bb;this.bb=[];for(var h=0;h<g.length;++h){var m=g[h];g[h]=null;try{m()}catch(p){this.bi(p)}}}this.bb=null};b.prototype.bi=function(g){this.Of(function(){throw g;
})};var e=function(g){this.V=0;this.sa=void 0;this.$b=[];var h=this.pe();try{g(h.resolve,h.reject)}catch(m){h.reject(m)}};e.prototype.pe=function(){function g(p){return function(q){m||(m=!0,p.call(h,q))}}var h=this,m=!1;return{resolve:g(this.Ii),reject:g(this.lf)}};e.prototype.Ii=function(g){if(g===this)this.lf(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.Ji(g);else{a:switch(typeof g){case "object":var h=null!=g;break a;case "function":h=!0;break a;default:h=!1}h?
this.Hi(g):this.Ag(g)}};e.prototype.Hi=function(g){var h=void 0;try{h=g.then}catch(m){this.lf(m);return}"function"==typeof h?this.Ki(h,g):this.Ag(g)};e.prototype.lf=function(g){this.wh(2,g)};e.prototype.Ag=function(g){this.wh(1,g)};e.prototype.wh=function(g,h){if(0!=this.V)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.V);this.V=g;this.sa=h;this.mi()};e.prototype.mi=function(){if(null!=this.$b){for(var g=0;g<this.$b.length;++g)f.Nf(this.$b[g]);this.$b=null}};var f=
new b;e.prototype.Ji=function(g){var h=this.pe();g.dd(h.resolve,h.reject)};e.prototype.Ki=function(g,h){var m=this.pe();try{g.call(h,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(g,h){function m(z,E){return"function"==typeof z?function(M){try{p(z(M))}catch(Z){q(Z)}}:E}var p,q,w=new e(function(z,E){p=z;q=E});this.dd(m(g,p),m(h,q));return w};e.prototype["catch"]=function(g){return this.then(void 0,g)};e.prototype.dd=function(g,h){function m(){switch(p.V){case 1:g(p.sa);break;
case 2:h(p.sa);break;default:throw Error("Unexpected state: "+p.V);}}var p=this;null==this.$b?f.Nf(m):this.$b.push(m)};e.resolve=c;e.reject=function(g){return new e(function(h,m){m(g)})};e.race=function(g){return new e(function(h,m){for(var p=l(g),q=p.next();!q.done;q=p.next())c(q.value).dd(h,m)})};e.all=function(g){var h=l(g),m=h.next();return m.done?c([]):new e(function(p,q){function w(M){return function(Z){z[M]=Z;E--;0==E&&p(z)}}var z=[],E=0;do z.push(void 0),E++,c(m.value).dd(w(z.length-1),q),
m=h.next();while(!m.done)})};return e});la("Array.prototype.values",function(a){return a?a:function(){return sa(this,function(b,c){return c})}});la("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ta(b,d)&&c.push([d,b[d]]);return c}});la("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
la("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});la("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==ma(this,b,"includes").indexOf(b,c||0)}});
la("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return"object"===p&&null!==m||"function"===p}function d(m){if(!ta(m,f)){var p=new b;ka(m,f,{value:p})}}function e(m){var p=Object[m];p&&(Object[m]=function(q){if(q instanceof b)return q;d(q);return p(q)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),p=Object.seal({}),q=new a([[m,2],[p,3]]);if(2!=q.get(m)||3!=q.get(p))return!1;q["delete"](m);q.set(p,4);return!q.has(m)&&4==q.get(p)}catch(w){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,h=function(m){this.ca=(g+=Math.random()+1).toString();if(m){m=l(m);for(var p;!(p=m.next()).done;)p=p.value,this.set(p[0],p[1])}};h.prototype.set=function(m,p){if(!c(m))throw Error("Invalid WeakMap key");d(m);if(!ta(m,f))throw Error("WeakMap key fail: "+m);m[f][this.ca]=p;return this};h.prototype.get=function(m){return c(m)&&ta(m,f)?m[f][this.ca]:void 0};h.prototype.has=function(m){return c(m)&&ta(m,f)&&ta(m[f],
this.ca)};h.prototype["delete"]=function(m){return c(m)&&ta(m,f)&&ta(m[f],this.ca)?delete m[f][this.ca]:!1};return h});
la("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),m=new a(l([[h,"s"]]));if("s"!=m.get(h)||1!=m.size||m.get({x:4})||m.set({x:4},"t")!=m||2!=m.size)return!1;var p=m.entries(),q=p.next();if(q.done||q.value[0]!=h||"s"!=q.value[1])return!1;q=p.next();return q.done||4!=q.value[0].x||"t"!=q.value[1]||!p.next().done?!1:!0}catch(w){return!1}}())return a;ra();var b=new WeakMap,c=function(h){this.sc={};this.ja=
f();this.size=0;if(h){h=l(h);for(var m;!(m=h.next()).done;)m=m.value,this.set(m[0],m[1])}};c.prototype.set=function(h,m){h=0===h?0:h;var p=d(this,h);p.list||(p.list=this.sc[p.id]=[]);p.ba?p.ba.value=m:(p.ba={next:this.ja,Za:this.ja.Za,head:this.ja,key:h,value:m},p.list.push(p.ba),this.ja.Za.next=p.ba,this.ja.Za=p.ba,this.size++);return this};c.prototype["delete"]=function(h){h=d(this,h);return h.ba&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.sc[h.id],h.ba.Za.next=h.ba.next,h.ba.next.Za=
h.ba.Za,h.ba.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.sc={};this.ja=this.ja.Za=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).ba};c.prototype.get=function(h){return(h=d(this,h).ba)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=function(h,m){for(var p=this.entries(),
q;!(q=p.next()).done;)q=q.value,h.call(m,q[1],q[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,m){var p=m&&typeof m;"object"==p||"function"==p?b.has(m)?p=b.get(m):(p=""+ ++g,b.set(m,p)):p="p_"+m;var q=h.sc[p];if(q&&ta(h.sc,p))for(h=0;h<q.length;h++){var w=q[h];if(m!==m&&w.key!==w.key||m===w.key)return{id:p,list:q,index:h,ba:w}}return{id:p,list:q,index:-1,ba:void 0}},e=function(h,m){var p=h.ja;return qa(function(){if(p){for(;p.head!=h.ja;)p=p.Za;for(;p.next!=p.head;)return p=
p.next,{done:!1,value:m(p)};p=null}return{done:!0,value:void 0}})},f=function(){var h={};return h.Za=h.next=h.head=h},g=0;return c});
la("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(l([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;ra();var b=function(c){this.j=new Map;
if(c){c=l(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.j.size};b.prototype.add=function(c){c=0===c?0:c;this.j.set(c,c);this.size=this.j.size;return this};b.prototype["delete"]=function(c){c=this.j["delete"](c);this.size=this.j.size;return c};b.prototype.clear=function(){this.j.clear();this.size=0};b.prototype.has=function(c){return this.j.has(c)};b.prototype.entries=function(){return this.j.entries()};b.prototype.values=function(){return this.j.values()};b.prototype.keys=b.prototype.values;
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.j.forEach(function(f){return c.call(d,f,f,e)})};return b});la("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ta(b,d)&&c.push(b[d]);return c}});la("String.prototype.padStart",function(a){return a?a:function(b,c){var d=ma(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});
var va=va||{},t=this||self,wa=/^[\w+/_-]+[=]{0,2}$/,xa=null,ya=function(){},za=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&
"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},u=function(a){return"array"==za(a)},Aa=function(a){var b=za(a);return"array"==b||"object"==b&&"number"==typeof a.length},Ba=function(a){return v(a)&&"function"==typeof a.getFullYear},Ca=function(a){return"function"==za(a)},v=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Fa=function(a){return Object.prototype.hasOwnProperty.call(a,
Da)&&a[Da]||(a[Da]=++Ea)},Da="closure_uid_"+(1E9*Math.random()>>>0),Ea=0,Ga=function(a,b,c){return a.call.apply(a.bind,arguments)},Ha=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},x=function(a,b,c){x=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?
Ga:Ha;return x.apply(null,arguments)},Ia=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},Ja=Date.now||function(){return+new Date},y=function(a,b){a=a.split(".");var c=t;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},A=function(a,b){function c(){}c.prototype=b.prototype;
a.F=b.prototype;a.prototype=new c;a.prototype.constructor=a};var Ka=function(){this.La=this.La;this.vd=this.vd};Ka.prototype.La=!1;Ka.prototype.Ka=function(){this.La||(this.La=!0,this.C())};Ka.prototype.C=function(){if(this.vd)for(;this.vd.length;)this.vd.shift()()};var La=function(a){a&&"function"==typeof a.Ka&&a.Ka()};var Ma=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Hb=!1};Ma.prototype.stopPropagation=function(){this.Hb=!0};Ma.prototype.preventDefault=function(){this.defaultPrevented=!0};var Na=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Na);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};A(Na,Error);Na.prototype.name="CustomError";var Oa;var Pa=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");Na.call(this,c+a[d])};A(Pa,Na);Pa.prototype.name="AssertionError";
var Qa=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Pa(""+e,f||[]);},B=function(a,b,c){a||Qa("",null,b,Array.prototype.slice.call(arguments,2))},Ra=function(a,b){throw new Pa("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Sa=function(a,b,c){"number"!==typeof a&&Qa("Expected number but got %s: %s.",[za(a),a],b,Array.prototype.slice.call(arguments,2));return a},Ta=function(a,b,c){"string"!==typeof a&&Qa("Expected string but got %s: %s.",
[za(a),a],b,Array.prototype.slice.call(arguments,2))},Ua=function(a,b,c){Ca(a)||Qa("Expected function but got %s: %s.",[za(a),a],b,Array.prototype.slice.call(arguments,2))},Va=function(a,b,c){v(a)||Qa("Expected object but got %s: %s.",[za(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Wa=Array.prototype.indexOf?function(a,b){B(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Xa=Array.prototype.lastIndexOf?function(a,b){B(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||
1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Ya=Array.prototype.forEach?function(a,b,c){B(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Za=Array.prototype.filter?function(a,b){B(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f="string"===typeof a?a.split(""):a,g=0;g<c;g++)if(g in f){var h=
f[g];b.call(void 0,h,g,a)&&(d[e++]=h)}return d},$a=Array.prototype.map?function(a,b,c){B(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},ab=Array.prototype.some?function(a,b){B(null!=a.length);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;
return!1},bb=Array.prototype.every?function(a,b,c){B(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0},cb=function(a,b){var c=0;Ya(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c},eb=function(a){a:{var b=db;for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:"string"===
typeof a?a.charAt(b):a[b]},fb=function(a,b){return 0<=Wa(a,b)},gb=function(a){if(!u(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},ib=function(a,b){b=Wa(a,b);var c;(c=0<=b)&&hb(a,b);return c},hb=function(a,b){B(null!=a.length);Array.prototype.splice.call(a,b,1)},jb=function(a){return Array.prototype.concat.apply([],arguments)},kb=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},lb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];
if(Aa(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}},mb=function(a,b,c){B(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},nb=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=v(f)?"o"+Fa(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c},ob=function(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b},
pb=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(u(d))for(var e=0;e<d.length;e+=8192){var f=mb(d,e,e+8192);f=pb.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var qb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},rb=/&/g,sb=/</g,tb=/>/g,ub=/"/g,vb=/'/g,wb=/\x00/g,xb=/[\x00&<>"']/,yb=function(a,b){return a<b?-1:a>b?1:0};var zb;a:{var Ab=t.navigator;if(Ab){var Bb=Ab.userAgent;if(Bb){zb=Bb;break a}}zb=""}var Cb=function(a){return-1!=zb.indexOf(a)};var Db=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Eb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Fb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Gb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Hb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Ib=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Jb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Lb=function(a){var b=
Kb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Mb=function(a){for(var b in a)return!1;return!0},Nb=function(a,b){b in a&&delete a[b]},Ob=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Pb=function(a){var b=za(a);if("object"==b||"array"==b){if(Ca(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=Pb(a[c]);return b}return a},Qb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Rb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=
arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Qb.length;f++)c=Qb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Sb=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||t;if(d.Element&&d.Location){var e=d;break a}}catch(g){}e=null}if(e&&"undefined"!=typeof e[b]&&(!a||!(a instanceof e[b])&&(a instanceof e.Location||a instanceof e.Element))){if(v(a))try{var f=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(g){f="<object could not be stringified>"}else f=void 0===a?"undefined":null===a?"null":typeof a;Ra("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
b,f)}};var Tb=function(a){return a};var Wb=function(a,b){this.Bf=a===Ub&&b||"";this.Vh=Vb};Wb.prototype.Ab=!0;Wb.prototype.yb=function(){return this.Bf};Wb.prototype.toString=function(){return"Const{"+this.Bf+"}"};var Xb=function(a){if(a instanceof Wb&&a.constructor===Wb&&a.Vh===Vb)return a.Bf;Ra("expected object of type Const, got '"+a+"'");return"type_error:Const"},Vb={},Ub={},Yb=new Wb(Ub,"");var Zb=function(){this.cf=""};Zb.prototype.Ab=!0;Zb.prototype.yb=function(){return this.cf.toString()};Zb.prototype.toString=function(){return"SafeScript{"+this.cf+"}"};Zb.prototype.Xa=function(a){this.cf=a;return this};(new Zb).Xa("");var bc=function(a,b){this.gf=a===$b&&b||"";this.Wh=ac};bc.prototype.Ab=!0;bc.prototype.yb=function(){return this.gf.toString()};bc.prototype.toString=function(){return"TrustedResourceUrl{"+this.gf+"}"};
var cc=function(a){if(a instanceof bc&&a.constructor===bc&&a.Wh===ac)return a.gf;Ra("expected object of type TrustedResourceUrl, got '"+a+"' of type "+za(a));return"type_error:TrustedResourceUrl"},gc=function(a){var b=Xb(dc);if(!ec.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(fc,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];
return d instanceof Wb?Xb(d):encodeURIComponent(String(d))});return new bc($b,c)},fc=/%{(\w+)}/g,ec=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,ac={},$b={};var jc=function(a,b){this.ff=a===hc&&b||"";this.Uh=ic};jc.prototype.Ab=!0;jc.prototype.yb=function(){return this.ff.toString()};jc.prototype.toString=function(){return"SafeUrl{"+this.ff+"}"};
var kc=function(a){if(a instanceof jc&&a.constructor===jc&&a.Uh===ic)return a.ff;Ra("expected object of type SafeUrl, got '"+a+"' of type "+za(a));return"type_error:SafeUrl"},lc=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,mc=function(a){if(lc.test(a.type)){var b=void 0!==t.URL&&void 0!==t.URL.createObjectURL?t.URL:void 0!==t.webkitURL&&
void 0!==t.webkitURL.createObjectURL?t.webkitURL:void 0!==t.createObjectURL?t:null;if(null==b)throw Error("This browser doesn't seem to support blob URLs");a=b.createObjectURL(a)}else a="about:invalid#zClosurez";return new jc(hc,a)},ic={},hc={};var nc=function(){this.ef=""};nc.prototype.Ab=!0;nc.prototype.yb=function(){return this.ef};nc.prototype.toString=function(){return"SafeStyle{"+this.ef+"}"};nc.prototype.Xa=function(a){this.ef=a;return this};(new nc).Xa("");var oc=function(){this.df=""};oc.prototype.Ab=!0;oc.prototype.yb=function(){return this.df};oc.prototype.toString=function(){return"SafeStyleSheet{"+this.df+"}"};oc.prototype.Xa=function(a){this.df=a;return this};(new oc).Xa("");var qc=function(){this.wd="";this.Th=pc};qc.prototype.Ab=!0;qc.prototype.yb=function(){return this.wd.toString()};qc.prototype.toString=function(){return"SafeHtml{"+this.wd+"}"};var sc=function(){var a=rc;if(a instanceof qc&&a.constructor===qc&&a.Th===pc)return a.wd;Ra("expected object of type SafeHtml, got '"+a+"' of type "+za(a));return"type_error:SafeHtml"},pc={};qc.prototype.Xa=function(a){this.wd=a;return this};(new qc).Xa("<!DOCTYPE html>");var rc=(new qc).Xa("");(new qc).Xa("<br>");var tc=function(a){var b=new bc($b,Xb(Yb));Sb(a,"HTMLIFrameElement");a.src=cc(b).toString()},uc=function(a,b){Sb(a,"HTMLScriptElement");a.src=cc(b);if(null===xa)b:{b=t.document;if((b=b.querySelector&&b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&wa.test(b)){xa=b;break b}xa=""}b=xa;b&&a.setAttribute("nonce",b)};var vc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},wc=function(a){xb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(rb,"&amp;")),-1!=a.indexOf("<")&&(a=a.replace(sb,"&lt;")),-1!=a.indexOf(">")&&(a=a.replace(tb,"&gt;")),-1!=a.indexOf('"')&&(a=a.replace(ub,"&quot;")),-1!=a.indexOf("'")&&(a=a.replace(vb,"&#39;")),-1!=a.indexOf("\x00")&&(a=a.replace(wb,"&#0;")));return a},xc=function(a){var b=1;a=
a.split(":");for(var c=[];0<b&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};var yc=function(a){yc[" "](a);return a};yc[" "]=ya;var Ac=function(a,b){var c=zc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Bc=Cb("Opera"),Cc=Cb("Trident")||Cb("MSIE"),Dc=Cb("Edge"),Ec=Cb("Gecko")&&!(-1!=zb.toLowerCase().indexOf("webkit")&&!Cb("Edge"))&&!(Cb("Trident")||Cb("MSIE"))&&!Cb("Edge"),Fc=-1!=zb.toLowerCase().indexOf("webkit")&&!Cb("Edge"),Gc=function(){var a=t.document;return a?a.documentMode:void 0},Hc;
a:{var Ic="",Jc=function(){var a=zb;if(Ec)return/rv:([^\);]+)(\)|;)/.exec(a);if(Dc)return/Edge\/([\d\.]+)/.exec(a);if(Cc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Fc)return/WebKit\/(\S+)/.exec(a);if(Bc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Jc&&(Ic=Jc?Jc[1]:"");if(Cc){var Kc=Gc();if(null!=Kc&&Kc>parseFloat(Ic)){Hc=String(Kc);break a}}Hc=Ic}
var Lc=Hc,zc={},Mc=function(a){return Ac(a,function(){for(var b=0,c=qb(String(Lc)).split("."),d=qb(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",h=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;b=yb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||yb(0==g[2].length,0==h[2].length)||yb(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})},Nc;
Nc=t.document&&Cc?Gc():void 0;var Oc=Object.freeze||function(a){return a};var Pc=!Cc||9<=Number(Nc),Qc=Cc&&!Mc("9"),Rc=function(){if(!t.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{t.addEventListener("test",ya,b),t.removeEventListener("test",ya,b)}catch(c){}return a}();var Tc=function(a,b){Ma.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.Ba=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=
b;if(b=a.relatedTarget){if(Ec){a:{try{yc(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=Fc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Fc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,
this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Sc[a.pointerType]||"";this.state=a.state;this.Ba=a;a.defaultPrevented&&this.preventDefault()}};
A(Tc,Ma);var Sc=Oc({2:"touch",3:"pen",4:"mouse"});Tc.prototype.stopPropagation=function(){Tc.F.stopPropagation.call(this);this.Ba.stopPropagation?this.Ba.stopPropagation():this.Ba.cancelBubble=!0};Tc.prototype.preventDefault=function(){Tc.F.preventDefault.call(this);var a=this.Ba;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Qc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Uc="closure_listenable_"+(1E6*Math.random()|0),Vc=function(a){return!(!a||!a[Uc])},Wc=0;var Xc=function(a,b,c,d,e){this.listener=a;this.xd=null;this.src=b;this.type=c;this.capture=!!d;this.Wa=e;this.key=++Wc;this.bc=this.cd=!1},Yc=function(a){a.bc=!0;a.listener=null;a.xd=null;a.src=null;a.Wa=null};var Zc=function(a){this.src=a;this.$={};this.Rc=0};Zc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.$[f];a||(a=this.$[f]=[],this.Rc++);var g=$c(a,b,d,e);-1<g?(b=a[g],c||(b.cd=!1)):(b=new Xc(b,this.src,f,!!d,e),b.cd=c,a.push(b));return b};Zc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.$))return!1;var e=this.$[a];b=$c(e,b,c,d);return-1<b?(Yc(e[b]),hb(e,b),0==e.length&&(delete this.$[a],this.Rc--),!0):!1};
var ad=function(a,b){var c=b.type;c in a.$&&ib(a.$[c],b)&&(Yc(b),0==a.$[c].length&&(delete a.$[c],a.Rc--))};Zc.prototype.Mc=function(a){a=a&&a.toString();var b=0,c;for(c in this.$)if(!a||c==a){for(var d=this.$[c],e=0;e<d.length;e++)++b,Yc(d[e]);delete this.$[c];this.Rc--}};Zc.prototype.xc=function(a,b,c,d){a=this.$[a.toString()];var e=-1;a&&(e=$c(a,b,c,d));return-1<e?a[e]:null};
Zc.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Gb(this.$,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var $c=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.bc&&f.listener==b&&f.capture==!!c&&f.Wa==d)return e}return-1};var bd="closure_lm_"+(1E6*Math.random()|0),cd={},dd=0,fd=function(a,b,c,d,e){if(d&&d.once)return ed(a,b,c,d,e);if(u(b)){for(var f=0;f<b.length;f++)fd(a,b[f],c,d,e);return null}c=gd(c);return Vc(a)?a.Na(b,c,v(d)?!!d.capture:!!d,e):hd(a,b,c,!1,d,e)},hd=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=v(e)?!!e.capture:!!e,h=id(a);h||(a[bd]=h=new Zc(a));c=h.add(b,c,d,g,f);if(c.xd)return c;d=jd();c.xd=d;d.src=a;d.listener=c;if(a.addEventListener)Rc||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),
d,e);else if(a.attachEvent)a.attachEvent(kd(b.toString()),d);else if(a.addListener&&a.removeListener)B("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");dd++;return c},jd=function(){var a=ld,b=Pc?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},ed=function(a,b,c,d,e){if(u(b)){for(var f=0;f<b.length;f++)ed(a,b[f],c,d,e);return null}c=gd(c);return Vc(a)?
a.Gc(b,c,v(d)?!!d.capture:!!d,e):hd(a,b,c,!0,d,e)},md=function(a,b,c,d,e){if(u(b))for(var f=0;f<b.length;f++)md(a,b[f],c,d,e);else d=v(d)?!!d.capture:!!d,c=gd(c),Vc(a)?a.Kd(b,c,d,e):a&&(a=id(a))&&(b=a.xc(b,c,d,e))&&nd(b)},nd=function(a){if("number"!==typeof a&&a&&!a.bc){var b=a.src;if(Vc(b))ad(b.Aa,a);else{var c=a.type,d=a.xd;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(kd(c),d):b.addListener&&b.removeListener&&b.removeListener(d);dd--;(c=id(b))?(ad(c,a),
0==c.Rc&&(c.src=null,b[bd]=null)):Yc(a)}}},kd=function(a){return a in cd?cd[a]:cd[a]="on"+a},pd=function(a,b,c,d){var e=!0;if(a=id(a))if(b=a.$[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.bc&&(f=od(f,d),e=e&&!1!==f)}return e},od=function(a,b){var c=a.listener,d=a.Wa||a.src;a.cd&&nd(a);return c.call(d,b)},ld=function(a,b){if(a.bc)return!0;if(!Pc){if(!b)a:{b=["window","event"];for(var c=t,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;break a}b=c}d=b;b=new Tc(d,
this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.Hb&&0<=e;e--){b.currentTarget=d[e];var f=pd(d[e],a,!0,b);c=c&&f}for(e=0;!b.Hb&&e<d.length;e++)b.currentTarget=d[e],f=pd(d[e],a,!1,b),c=c&&f}return c}return od(a,new Tc(b,this))},id=function(a){a=a[bd];return a instanceof Zc?a:null},qd="__closure_events_fn_"+
(1E9*Math.random()>>>0),gd=function(a){B(a,"Listener can not be null.");if(Ca(a))return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[qd]||(a[qd]=function(b){return a.handleEvent(b)});return a[qd]};var rd=function(){Ka.call(this);this.Aa=new Zc(this);this.$h=this;this.af=null};A(rd,Ka);rd.prototype[Uc]=!0;k=rd.prototype;k.addEventListener=function(a,b,c,d){fd(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){md(this,a,b,c,d)};
k.dispatchEvent=function(a){sd(this);var b=this.af;if(b){var c=[];for(var d=1;b;b=b.af)c.push(b),B(1E3>++d,"infinite loop")}b=this.$h;d=a.type||a;if("string"===typeof a)a=new Ma(a,b);else if(a instanceof Ma)a.target=a.target||b;else{var e=a;a=new Ma(d,b);Rb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Hb&&0<=f;f--){var g=a.currentTarget=c[f];e=td(g,d,!0,a)&&e}a.Hb||(g=a.currentTarget=b,e=td(g,d,!0,a)&&e,a.Hb||(e=td(g,d,!1,a)&&e));if(c)for(f=0;!a.Hb&&f<c.length;f++)g=a.currentTarget=c[f],e=td(g,d,!1,a)&&
e;return e};k.C=function(){rd.F.C.call(this);this.Aa&&this.Aa.Mc(void 0);this.af=null};k.Na=function(a,b,c,d){sd(this);return this.Aa.add(String(a),b,!1,c,d)};k.Gc=function(a,b,c,d){return this.Aa.add(String(a),b,!0,c,d)};k.Kd=function(a,b,c,d){this.Aa.remove(String(a),b,c,d)};
var td=function(a,b,c,d){b=a.Aa.$[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.bc&&g.capture==c){var h=g.listener,m=g.Wa||g.src;g.cd&&ad(a.Aa,g);e=!1!==h.call(m,d)&&e}}return e&&!d.defaultPrevented};rd.prototype.xc=function(a,b,c,d){return this.Aa.xc(String(a),b,c,d)};rd.prototype.hasListener=function(a,b){return this.Aa.hasListener(void 0!==a?String(a):void 0,b)};var sd=function(a){B(a.Aa,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var ud="StopIteration"in t?t.StopIteration:{message:"StopIteration",stack:""},vd=function(){};vd.prototype.next=function(){throw ud;};vd.prototype.Qb=function(){return this};
var wd=function(a){if(a instanceof vd)return a;if("function"==typeof a.Qb)return a.Qb(!1);if(Aa(a)){var b=0,c=new vd;c.next=function(){for(;;){if(b>=a.length)throw ud;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},xd=function(a,b){if(Aa(a))try{Ya(a,b,void 0)}catch(c){if(c!==ud)throw c;}else{a=wd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==ud)throw c;}}};var yd=function(a,b){this.j={};this.H=[];this.Tc=this.I=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};k=yd.prototype;k.L=function(){return this.I};k.S=function(){zd(this);for(var a=[],b=0;b<this.H.length;b++)a.push(this.j[this.H[b]]);return a};k.Da=function(){zd(this);return this.H.concat()};k.eb=function(a){return Ad(this.j,a)};
k.rc=function(a){for(var b=0;b<this.H.length;b++){var c=this.H[b];if(Ad(this.j,c)&&this.j[c]==a)return!0}return!1};k.equals=function(a,b){if(this===a)return!0;if(this.I!=a.L())return!1;b=b||Bd;zd(this);for(var c,d=0;c=this.H[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Bd=function(a,b){return a===b};yd.prototype.isEmpty=function(){return 0==this.I};yd.prototype.clear=function(){this.j={};this.Tc=this.I=this.H.length=0};
yd.prototype.remove=function(a){return Ad(this.j,a)?(delete this.j[a],this.I--,this.Tc++,this.H.length>2*this.I&&zd(this),!0):!1};var zd=function(a){if(a.I!=a.H.length){for(var b=0,c=0;b<a.H.length;){var d=a.H[b];Ad(a.j,d)&&(a.H[c++]=d);b++}a.H.length=c}if(a.I!=a.H.length){var e={};for(c=b=0;b<a.H.length;)d=a.H[b],Ad(e,d)||(a.H[c++]=d,e[d]=1),b++;a.H.length=c}};k=yd.prototype;k.get=function(a,b){return Ad(this.j,a)?this.j[a]:b};
k.set=function(a,b){Ad(this.j,a)||(this.I++,this.H.push(a),this.Tc++);this.j[a]=b};k.addAll=function(a){if(a instanceof yd)for(var b=a.Da(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};k.forEach=function(a,b){for(var c=this.Da(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};k.clone=function(){return new yd(this)};
k.Qb=function(a){zd(this);var b=0,c=this.Tc,d=this,e=new vd;e.next=function(){if(c!=d.Tc)throw Error("The map has changed since the iterator was created");if(b>=d.H.length)throw ud;var f=d.H[b++];return a?f:d.j[f]};return e};var Ad=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Cd=function(a){if(a.L&&"function"==typeof a.L)a=a.L();else if(Aa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Dd=function(a){if(a.S&&"function"==typeof a.S)return a.S();if("string"===typeof a)return a.split("");if(Aa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Hb(a)},Ed=function(a){if(a.Da&&"function"==typeof a.Da)return a.Da();if(!a.S||"function"!=typeof a.S){if(Aa(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);
return b}return Ib(a)}},Fd=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(Aa(a)||"string"===typeof a)Ya(a,b,c);else for(var d=Ed(a),e=Dd(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},Gd=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(Aa(a)||"string"===typeof a)return bb(a,b,void 0);for(var c=Ed(a),d=Dd(a),e=d.length,f=0;f<e;f++)if(!b.call(void 0,d[f],c&&c[f],a))return!1;return!0};var Hd=function(a){this.j=new yd;a&&this.addAll(a)},Id=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Fa(a):b.substr(0,1)+a};k=Hd.prototype;k.L=function(){return this.j.L()};k.add=function(a){this.j.set(Id(a),a)};k.addAll=function(a){a=Dd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};k.Mc=function(a){a=Dd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};k.remove=function(a){return this.j.remove(Id(a))};k.clear=function(){this.j.clear()};k.isEmpty=function(){return this.j.isEmpty()};
k.contains=function(a){return this.j.eb(Id(a))};k.Og=function(a){var b=new Hd;a=Dd(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};k.ue=function(a){var b=this.clone();b.Mc(a);return b};k.S=function(){return this.j.S()};k.clone=function(){return new Hd(this)};k.equals=function(a){return this.L()==Cd(a)&&Jd(this,a)};
var Jd=function(a,b){var c=Cd(b);if(a.L()>c)return!1;!(b instanceof Hd)&&5<c&&(b=new Hd(b));return Gd(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.rc&&"function"==typeof e.rc?e.rc(d):Aa(e)||"string"===typeof e?fb(e,d):Jb(e,d)})};Hd.prototype.Qb=function(){return this.j.Qb(!1)};var ee={},Kd=function(a,b,c){rd.call(this);this.xi=b;this.token=c;this.mb=[];this.Ff=new Hd;this.kb=0;this.url=a};A(Kd,rd);y("ee.AbstractOverlay",Kd);var Ld=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.xi,c,e,b.y].join("/")};Kd.prototype.Fe=function(){return this.mb.length};var Md=function(a){Ma.call(this,"tileevent");this.count=a};A(Md,Ma);var Nd=function(){},Od=new Nd;function Pd(a){return Object.assign({O:{},pk:{},keys:[],wa:{},s:{},K:{}},a)}var C=function(){this.a={}},D=function(a,b){return a.a.hasOwnProperty(b)?a.a[b]:null},F=function(a,b){return null!=a.a[b]};function Qd(a,b){return D(b,a)}function Rd(a,b,c){b[a]=c}function Sd(){return{}}function Td(a,b){var c=new a;return null==b?c:Ud(b,Vd,Wd,Xd,a)}function Vd(a,b){return b[a]}function Wd(a,b,c){b.a[a]=c}
function Xd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
function Ud(a,b,c,d,e){e=d(e);var f=Yd(a,e),g=f.O||{},h=f.s||{},m=f.wa||{},p={};f=l(f.keys||[]);for(var q=f.next();!q.done;p={kc:p.kc},q=f.next()){q=q.value;var w=b(q,a);if(null!=w){var z=void 0;g.hasOwnProperty(q)?z=Zd(w,b,c,d,!0,!0,g[q]):h.hasOwnProperty(q)?z=Zd(w,b,c,d,!1,!0,h[q]):m.hasOwnProperty(q)?(p.kc=m[q],z=p.kc.ka?w.map(function(E){return function(M){return $d(M,E.kc,b,c,d)}}(p)):$d(w,p.kc,b,c,d)):z=Array.isArray(w)?Zd(w,b,c,d,!0,!1):w instanceof Nd?null:w;c(q,e,z)}}return e}
function $d(a,b,c,d,e){for(var f={},g=l(Object.keys(a)),h=g.next();!h.done;h=g.next()){h=h.value;var m=a[h];null!=m&&(f[h]=Zd(m,c,d,e,b.ma,b.la,b.fa))}return f}function Zd(a,b,c,d,e,f,g){if(f&&null==g)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&f?a.map(function(h){return Ud(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Ud(a,b,c,d,g):a instanceof Nd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}
function Yd(a,b){if(b instanceof C)a=Pd(b.f());else if(a instanceof C)a=Pd(a.f());else throw Error("Cannot find ClassMetadata.");return a};var ae=function(){};ae.prototype.w=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function be(a){var b=a.body instanceof C?Ud(a.body,Qd,Rd,Sd):a.body;return{path:a.path,u:a.u,B:a.B,body:b,o:a.o}};function ce(a,b){if(null==a)return null;a=a.qk(b);return null==a?null:a};var de=function(a,b){this.T=a;this.pi=void 0===b?null:b};n(de,ae);var fe=function(a,b,c){var d=ce(a.pi,b);if(null==d)return c;d.rk();return c.then(function(e){d.tk(e);return e},function(e){d.sk(e);throw e;})},G=function(a,b){var c=b.D||void 0;return fe(a,b,a.T.send(be(b),c))};function ge(a){if(null!=a.o){var b={},c;for(c in a.o)void 0!==a.o[c]&&(b[c]=a.o[c]);a.o=b}};var he=function(){};he.prototype.send=function(a,b){ge(a);return(void 0).then(function(c){return b?Td(b,c):c})};var ie={get Lh(){return"ADMIN_READ"},get Mh(){return"DATA_READ"},get Nh(){return"DATA_WRITE"},get Fj(){return"LOG_TYPE_UNSPECIFIED"},values:function(){return["LOG_TYPE_UNSPECIFIED","ADMIN_READ","DATA_WRITE","DATA_READ"]}},je={get Lh(){return"ADMIN_READ"},get Si(){return"ADMIN_WRITE"},get Mh(){return"DATA_READ"},get Nh(){return"DATA_WRITE"},get Oj(){return"PERMISSION_TYPE_UNSPECIFIED"},values:function(){return["PERMISSION_TYPE_UNSPECIFIED","ADMIN_READ","ADMIN_WRITE","DATA_READ","DATA_WRITE"]}},ke=
{get aj(){return"CAPABILITY_GROUP_UNSPECIFIED"},get bj(){return"CLOUD_ALPHA"},get lj(){return"EXTERNAL"},get wj(){return"INTERNAL"},get Bj(){return"LIMITED"},get Pj(){return"PREAUTHORIZED"},get Rj(){return"PREVIEW"},get Sh(){return"PUBLIC"},values:function(){return"CAPABILITY_GROUP_UNSPECIFIED PUBLIC INTERNAL EXTERNAL LIMITED PREAUTHORIZED PREVIEW CLOUD_ALPHA".split(" ")}},le={get Ri(){return"ADMIN_ACTIVITY"},get ej(){return"DATA_ACCESS"},get hk(){return"UNSPECIFIED_LOG_NAME"},values:function(){return["UNSPECIFIED_LOG_NAME",
"ADMIN_ACTIVITY","DATA_ACCESS"]}},me={get Vi(){return"APPROVER"},get Wi(){return"ATTRIBUTION"},get Xi(){return"AUTHORITY"},get cj(){return"CREDENTIALS_TYPE"},get yj(){return"JUSTIFICATION_TYPE"},get Rh(){return"NO_ATTR"},get Vj(){return"SECURITY_REALM"},values:function(){return"NO_ATTR AUTHORITY ATTRIBUTION SECURITY_REALM APPROVER JUSTIFICATION_TYPE CREDENTIALS_TYPE".split(" ")}},ne={get jj(){return"DISCHARGED"},get kj(){return"EQUALS"},get sj(){return"IN"},get Hj(){return"NOT_EQUALS"},get Ij(){return"NOT_IN"},
get Lj(){return"NO_OP"},values:function(){return"NO_OP EQUALS NOT_EQUALS IN NOT_IN DISCHARGED".split(" ")}},oe={get xj(){return"IP"},get Gj(){return"NAME"},get Rh(){return"NO_ATTR"},get Tj(){return"REGION"},get Wj(){return"SERVICE"},values:function(){return["NO_ATTR","REGION","SERVICE","NAME","IP"]}},pe={get Dj(){return"LOG_FAIL_CLOSED"},get Ej(){return"LOG_MODE_UNSPECIFIED"},values:function(){return["LOG_MODE_UNSPECIFIED","LOG_FAIL_CLOSED"]}},qe={get nj(){return"FOLDER"},get qj(){return"IMAGE"},
get rj(){return"IMAGE_COLLECTION"},get $j(){return"TABLE"},get dk(){return"TYPE_UNSPECIFIED"},values:function(){return["TYPE_UNSPECIFIED","IMAGE","IMAGE_COLLECTION","TABLE","FOLDER"]}},re={get Rd(){return"AUTO_JPEG_PNG"},get Sd(){return"GEO_TIFF"},get Td(){return"IMAGE_FILE_FORMAT_UNSPECIFIED"},get Ud(){return"JPEG"},get Vd(){return"MULTI_BAND_IMAGE_TILE"},get Wd(){return"NPY"},get Xd(){return"PNG"},get Yd(){return"TF_RECORD_IMAGE"},values:function(){return"IMAGE_FILE_FORMAT_UNSPECIFIED JPEG PNG AUTO_JPEG_PNG NPY GEO_TIFF TF_RECORD_IMAGE MULTI_BAND_IMAGE_TILE".split(" ")}},
se={get jk(){return"V1"},get kk(){return"V2"},get lk(){return"VERSION_UNSPECIFIED"},values:function(){return["VERSION_UNSPECIFIED","V1","V2"]}},te={get Rd(){return"AUTO_JPEG_PNG"},get Sd(){return"GEO_TIFF"},get Td(){return"IMAGE_FILE_FORMAT_UNSPECIFIED"},get Ud(){return"JPEG"},get Vd(){return"MULTI_BAND_IMAGE_TILE"},get Wd(){return"NPY"},get Xd(){return"PNG"},get Yd(){return"TF_RECORD_IMAGE"},values:function(){return"IMAGE_FILE_FORMAT_UNSPECIFIED JPEG PNG AUTO_JPEG_PNG NPY GEO_TIFF TF_RECORD_IMAGE MULTI_BAND_IMAGE_TILE".split(" ")}},
ue={get pj(){return"HORIZONTAL"},get Mj(){return"ORIENTATION_UNSPECIFIED"},get mk(){return"VERTICAL"},values:function(){return["ORIENTATION_UNSPECIFIED","HORIZONTAL","VERTICAL"]}},ve={get gj(){return"DEFAULT_OBJECT_ACL"},get Sh(){return"PUBLIC"},get ck(){return"TILE_PERMISSIONS_UNSPECIFIED"},values:function(){return["TILE_PERMISSIONS_UNSPECIFIED","PUBLIC","DEFAULT_OBJECT_ACL"]}},we={get MAX(){return"MAX"},get Vc(){return"MEAN"},get MIN(){return"MIN"},get Wc(){return"MODE"},get Xc(){return"PYRAMIDING_POLICY_UNSPECIFIED"},
get Yc(){return"SAMPLE"},values:function(){return"PYRAMIDING_POLICY_UNSPECIFIED MEAN SAMPLE MIN MAX MODE".split(" ")}},xe={get MAX(){return"MAX"},get Vc(){return"MEAN"},get MIN(){return"MIN"},get Wc(){return"MODE"},get Xc(){return"PYRAMIDING_POLICY_UNSPECIFIED"},get Yc(){return"SAMPLE"},values:function(){return"PYRAMIDING_POLICY_UNSPECIFIED MEAN SAMPLE MIN MAX MODE".split(" ")}},ye={get MAX(){return"MAX"},get Vc(){return"MEAN"},get MIN(){return"MIN"},get Wc(){return"MODE"},get Xc(){return"PYRAMIDING_POLICY_UNSPECIFIED"},
get Yc(){return"SAMPLE"},values:function(){return"PYRAMIDING_POLICY_UNSPECIFIED MEAN SAMPLE MIN MAX MODE".split(" ")}},ze={get Rd(){return"AUTO_JPEG_PNG"},get Sd(){return"GEO_TIFF"},get Td(){return"IMAGE_FILE_FORMAT_UNSPECIFIED"},get Ud(){return"JPEG"},get Vd(){return"MULTI_BAND_IMAGE_TILE"},get Wd(){return"NPY"},get Xd(){return"PNG"},get Yd(){return"TF_RECORD_IMAGE"},values:function(){return"IMAGE_FILE_FORMAT_UNSPECIFIED JPEG PNG AUTO_JPEG_PNG NPY GEO_TIFF TF_RECORD_IMAGE MULTI_BAND_IMAGE_TILE".split(" ")}},
Ae={get MAX(){return"MAX"},get Vc(){return"MEAN"},get MIN(){return"MIN"},get Wc(){return"MODE"},get Xc(){return"PYRAMIDING_POLICY_UNSPECIFIED"},get Yc(){return"SAMPLE"},values:function(){return"PYRAMIDING_POLICY_UNSPECIFIED MEAN SAMPLE MIN MAX MODE".split(" ")}},Be={get Zi(){return"CANCELLED"},get $i(){return"CANCELLING"},get mj(){return"FAILED"},get Nj(){return"PENDING"},get Uj(){return"RUNNING"},get Yj(){return"STATE_UNSPECIFIED"},get Zj(){return"SUCCEEDED"},values:function(){return"STATE_UNSPECIFIED PENDING RUNNING CANCELLING SUCCEEDED CANCELLED FAILED".split(" ")}},
Ce={get Oh(){return"DOUBLE"},get FLOAT(){return"FLOAT"},get INT(){return"INT"},get Qj(){return"PRECISION_UNSPECIFIED"},values:function(){return["PRECISION_UNSPECIFIED","INT","FLOAT","DOUBLE"]}},De={get Ti(){return"ALLOW"},get Ui(){return"ALLOW_WITH_LOG"},get hj(){return"DENY"},get ij(){return"DENY_WITH_LOG"},get Cj(){return"LOG"},get Kj(){return"NO_ACTION"},values:function(){return"NO_ACTION ALLOW ALLOW_WITH_LOG DENY DENY_WITH_LOG LOG".split(" ")}},Ee={get dj(){return"CSV"},get oj(){return"GEO_JSON"},
get zj(){return"KML"},get Aj(){return"KMZ"},get Xj(){return"SHP"},get ak(){return"TABLE_FILE_FORMAT_UNSPECIFIED"},get bk(){return"TF_RECORD_TABLE"},values:function(){return"TABLE_FILE_FORMAT_UNSPECIFIED CSV GEO_JSON KML KMZ SHP TF_RECORD_TABLE".split(" ")}},Fe={get Rd(){return"AUTO_JPEG_PNG"},get Sd(){return"GEO_TIFF"},get Td(){return"IMAGE_FILE_FORMAT_UNSPECIFIED"},get Ud(){return"JPEG"},get Vd(){return"MULTI_BAND_IMAGE_TILE"},get Wd(){return"NPY"},get Xd(){return"PNG"},get Yd(){return"TF_RECORD_IMAGE"},
values:function(){return"IMAGE_FILE_FORMAT_UNSPECIFIED JPEG PNG AUTO_JPEG_PNG NPY GEO_TIFF TF_RECORD_IMAGE MULTI_BAND_IMAGE_TILE".split(" ")}},Ge={get MAX(){return"MAX"},get Vc(){return"MEAN"},get MIN(){return"MIN"},get Wc(){return"MODE"},get Xc(){return"PYRAMIDING_POLICY_UNSPECIFIED"},get Yc(){return"SAMPLE"},values:function(){return"PYRAMIDING_POLICY_UNSPECIFIED MEAN SAMPLE MIN MAX MODE".split(" ")}},He={get fj(){return"DATA_TYPE_UNSPECIFIED"},get Oh(){return"DOUBLE"},get FLOAT(){return"FLOAT"},
get tj(){return"INT16"},get uj(){return"INT32"},get vj(){return"INT8"},get ek(){return"UINT16"},get fk(){return"UINT32"},get gk(){return"UINT8"},values:function(){return"DATA_TYPE_UNSPECIFIED INT8 UINT8 INT16 UINT16 INT32 UINT32 FLOAT DOUBLE".split(" ")}},Ie={get Ph(){return"GIF"},get Qh(){return"MP4"},get Xh(){return"VIDEO_FILE_FORMAT_UNSPECIFIED"},get Yh(){return"VP9"},values:function(){return["VIDEO_FILE_FORMAT_UNSPECIFIED","MP4","GIF","VP9"]}},Je={get Ph(){return"GIF"},get Qh(){return"MP4"},get Xh(){return"VIDEO_FILE_FORMAT_UNSPECIFIED"},
get Yh(){return"VP9"},values:function(){return["VIDEO_FILE_FORMAT_UNSPECIFIED","MP4","GIF","VP9"]}},Ke=function(a){a=void 0===a?{}:a;this.a={};this.a.scaleX=null==a.pf?null:a.pf;this.a.shearX=null==a.uf?null:a.uf;this.a.translateX=null==a.If?null:a.If;this.a.shearY=null==a.vf?null:a.vf;this.a.scaleY=null==a.qf?null:a.qf;this.a.translateY=null==a.Jf?null:a.Jf};n(Ke,C);Ke.prototype.f=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
r.Object.defineProperties(Ke.prototype,{pf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleX")?D(this,"scaleX"):null},set:function(a){this.a.scaleX=a}},qf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleY")?D(this,"scaleY"):null},set:function(a){this.a.scaleY=a}},uf:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearX")?D(this,"shearX"):null},set:function(a){this.a.shearX=a}},vf:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearY")?
D(this,"shearY"):null},set:function(a){this.a.shearY=a}},If:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateX")?D(this,"translateX"):null},set:function(a){this.a.translateX=a}},Jf:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateY")?D(this,"translateY"):null},set:function(a){this.a.translateY=a}}});
var Le=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.description=null==a.description?null:a.description;this.a.returnType=null==a.nf?null:a.nf;this.a.arguments=null==a.arguments?null:a.arguments;this.a.deprecated=null==a.deprecated?null:a.deprecated;this.a.deprecationReason=null==a.se?null:a.se;this.a.hidden=null==a.hidden?null:a.hidden;this.a.preview=null==a.preview?null:a.preview};n(Le,C);Le.prototype.f=function(){return{O:{arguments:Me},keys:"arguments deprecated deprecationReason description hidden name preview returnType".split(" ")}};
r.Object.defineProperties(Le.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?D(this,"arguments"):null},set:function(a){this.a.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecated")?D(this,"deprecated"):null},set:function(a){this.a.deprecated=a}},se:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecationReason")?D(this,"deprecationReason"):null},set:function(a){this.a.deprecationReason=a}},description:{configurable:!0,
enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return F(this,"hidden")?D(this,"hidden"):null},set:function(a){this.a.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return F(this,"preview")?D(this,"preview"):null},set:function(a){this.a.preview=
a}},nf:{configurable:!0,enumerable:!0,get:function(){return F(this,"returnType")?D(this,"returnType"):null},set:function(a){this.a.returnType=a}}});var Me=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentName=null==a.ad?null:a.ad;this.a.type=null==a.type?null:a.type;this.a.description=null==a.description?null:a.description;this.a.optional=null==a.optional?null:a.optional;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue};n(Me,C);
Me.prototype.f=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
r.Object.defineProperties(Me.prototype,{ad:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentName")?D(this,"argumentName"):null},set:function(a){this.a.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?D(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},optional:{configurable:!0,
enumerable:!0,get:function(){return F(this,"optional")?D(this,"optional"):null},set:function(a){this.a.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?D(this,"type"):null},set:function(a){this.a.type=a}}});var Ne=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(Ne,C);Ne.prototype.f=function(){return{O:{values:Oe},keys:["values"]}};
r.Object.defineProperties(Ne.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var Pe=function(a){a=void 0===a?{}:a;this.a={};this.a.service=null==a.uh?null:a.uh;this.a.exemptedMembers=null==a.vc?null:a.vc;this.a.auditLogConfigs=null==a.Rf?null:a.Rf};n(Pe,C);Pe.prototype.f=function(){return{O:{auditLogConfigs:Qe},keys:["auditLogConfigs","exemptedMembers","service"]}};
r.Object.defineProperties(Pe.prototype,{Rf:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditLogConfigs")?D(this,"auditLogConfigs"):null},set:function(a){this.a.auditLogConfigs=a}},vc:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?D(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},uh:{configurable:!0,enumerable:!0,get:function(){return F(this,"service")?D(this,"service"):null},set:function(a){this.a.service=a}}});
var Qe=function(a){a=void 0===a?{}:a;this.a={};this.a.logType=null==a.Xg?null:a.Xg;this.a.exemptedMembers=null==a.vc?null:a.vc;this.a.ignoreChildExemptions=null==a.Lg?null:a.Lg};n(Qe,C);Qe.prototype.f=function(){return{K:{logType:ie},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
r.Object.defineProperties(Qe.prototype,{vc:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?D(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},Lg:{configurable:!0,enumerable:!0,get:function(){return F(this,"ignoreChildExemptions")?D(this,"ignoreChildExemptions"):null},set:function(a){this.a.ignoreChildExemptions=a}},Xg:{configurable:!0,enumerable:!0,get:function(){return F(this,"logType")?D(this,"logType"):null},set:function(a){this.a.logType=
a}}});var Re=function(a){a=void 0===a?{}:a;this.a={};this.a.permissionType=null==a.hh?null:a.hh};n(Re,C);Re.prototype.f=function(){return{K:{permissionType:je},keys:["permissionType"]}};r.Object.defineProperties(Re.prototype,{hh:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissionType")?D(this,"permissionType"):null},set:function(a){this.a.permissionType=a}}});
var Se=function(a){a=void 0===a?{}:a;this.a={};this.a.role=null==a.ec?null:a.ec;this.a.members=null==a.Eb?null:a.Eb;this.a.condition=null==a.bg?null:a.bg};n(Se,C);Se.prototype.f=function(){return{keys:["condition","members","role"],s:{condition:Te}}};
r.Object.defineProperties(Se.prototype,{bg:{configurable:!0,enumerable:!0,get:function(){return F(this,"condition")?D(this,"condition"):null},set:function(a){this.a.condition=a}},Eb:{configurable:!0,enumerable:!0,get:function(){return F(this,"members")?D(this,"members"):null},set:function(a){this.a.members=a}},ec:{configurable:!0,enumerable:!0,get:function(){return F(this,"role")?D(this,"role"):null},set:function(a){this.a.role=a}}});var Ue=function(){this.a={}};n(Ue,C);Ue.prototype.f=function(){return{keys:[]}};
var Ve=function(a){a=void 0===a?{}:a;this.a={};this.a.capabilities=null==a.Zf?null:a.Zf};n(Ve,C);Ve.prototype.f=function(){return{K:{capabilities:ke},keys:["capabilities"]}};r.Object.defineProperties(Ve.prototype,{Zf:{configurable:!0,enumerable:!0,get:function(){return F(this,"capabilities")?D(this,"capabilities"):null},set:function(a){this.a.capabilities=a}}});var We=function(a){a=void 0===a?{}:a;this.a={};this.a.logName=null==a.Wg?null:a.Wg;this.a.authorizationLoggingOptions=null==a.Sf?null:a.Sf};
n(We,C);We.prototype.f=function(){return{K:{logName:le},keys:["authorizationLoggingOptions","logName"],s:{authorizationLoggingOptions:Re}}};
r.Object.defineProperties(We.prototype,{Sf:{configurable:!0,enumerable:!0,get:function(){return F(this,"authorizationLoggingOptions")?D(this,"authorizationLoggingOptions"):null},set:function(a){this.a.authorizationLoggingOptions=a}},Wg:{configurable:!0,enumerable:!0,get:function(){return F(this,"logName")?D(this,"logName"):null},set:function(a){this.a.logName=a}}});var Xe=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i};n(Xe,C);
Xe.prototype.f=function(){return{keys:["expression"],s:{expression:Ye}}};r.Object.defineProperties(Xe.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}}});var Ze=function(a){a=void 0===a?{}:a;this.a={};this.a.result=null==a.result?null:a.result};n(Ze,C);Ze.prototype.f=function(){return{keys:["result"]}};
r.Object.defineProperties(Ze.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?D(this,"result"):null},set:function(a){this.a.result=a}}});var $e=function(a){a=void 0===a?{}:a;this.a={};this.a.iam=null==a.Hg?null:a.Hg;this.a.sys=null==a.Bh?null:a.Bh;this.a.svc=null==a.Ah?null:a.Ah;this.a.op=null==a.fh?null:a.fh;this.a.values=null==a.values?null:a.values};n($e,C);$e.prototype.f=function(){return{K:{iam:me,op:ne,sys:oe},keys:["iam","op","svc","sys","values"]}};
r.Object.defineProperties($e.prototype,{Hg:{configurable:!0,enumerable:!0,get:function(){return F(this,"iam")?D(this,"iam"):null},set:function(a){this.a.iam=a}},fh:{configurable:!0,enumerable:!0,get:function(){return F(this,"op")?D(this,"op"):null},set:function(a){this.a.op=a}},Ah:{configurable:!0,enumerable:!0,get:function(){return F(this,"svc")?D(this,"svc"):null},set:function(a){this.a.svc=a}},Bh:{configurable:!0,enumerable:!0,get:function(){return F(this,"sys")?D(this,"sys"):null},set:function(a){this.a.sys=
a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var af=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.rb?null:a.rb;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.bandIds=null==a.ea?null:a.ea};n(af,C);af.prototype.f=function(){return{keys:["bandIds","destinationName","overwrite"]}};
r.Object.defineProperties(af.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},rb:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?D(this,"destinationName"):null},set:function(a){this.a.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?D(this,"overwrite"):null},set:function(a){this.a.overwrite=a}}});
var bf=function(a){a=void 0===a?{}:a;this.a={};this.a.metric=null==a.Yg?null:a.Yg;this.a.field=null==a.sg?null:a.sg;this.a.customFields=null==a.kg?null:a.kg};n(bf,C);bf.prototype.f=function(){return{O:{customFields:cf},keys:["customFields","field","metric"]}};
r.Object.defineProperties(bf.prototype,{kg:{configurable:!0,enumerable:!0,get:function(){return F(this,"customFields")?D(this,"customFields"):null},set:function(a){this.a.customFields=a}},sg:{configurable:!0,enumerable:!0,get:function(){return F(this,"field")?D(this,"field"):null},set:function(a){this.a.field=a}},Yg:{configurable:!0,enumerable:!0,get:function(){return F(this,"metric")?D(this,"metric"):null},set:function(a){this.a.metric=a}}});
var cf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.value=null==a.value?null:a.value};n(cf,C);cf.prototype.f=function(){return{keys:["name","value"]}};r.Object.defineProperties(cf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return F(this,"value")?D(this,"value"):null},set:function(a){this.a.value=a}}});
var df=function(a){a=void 0===a?{}:a;this.a={};this.a.logMode=null==a.Vg?null:a.Vg};n(df,C);df.prototype.f=function(){return{K:{logMode:pe},keys:["logMode"]}};r.Object.defineProperties(df.prototype,{Vg:{configurable:!0,enumerable:!0,get:function(){return F(this,"logMode")?D(this,"logMode"):null},set:function(a){this.a.logMode=a}}});var ef=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(ef,C);
ef.prototype.f=function(){return{keys:["values"],wa:{values:{fa:Oe,ka:!1,la:!0,ma:!1}}}};r.Object.defineProperties(ef.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var ff=function(a){a=void 0===a?{}:a;this.a={};this.a.min=null==a.min?null:a.min;this.a.max=null==a.max?null:a.max};n(ff,C);ff.prototype.f=function(){return{keys:["max","min"]}};
r.Object.defineProperties(ff.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return F(this,"max")?D(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return F(this,"min")?D(this,"min"):null},set:function(a){this.a.min=a}}});var gf=function(a){a=void 0===a?{}:a;this.a={};this.a.folder=null==a.De?null:a.De;this.a.filenamePrefix=null==a.ub?null:a.ub};n(gf,C);gf.prototype.f=function(){return{keys:["filenamePrefix","folder"]}};
r.Object.defineProperties(gf.prototype,{ub:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?D(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},De:{configurable:!0,enumerable:!0,get:function(){return F(this,"folder")?D(this,"folder"):null},set:function(a){this.a.folder=a}}});
var hf=function(a){a=void 0===a?{}:a;this.a={};this.a.type=null==a.type?null:a.type;this.a.name=null==a.name?null:a.name;this.a.id=null==a.id?null:a.id;this.a.updateTime=null==a.Ha?null:a.Ha;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.properties=null==a.properties?null:a.properties;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.geometry=null==a.geometry?null:a.geometry;this.a.bands=
null==a.bands?null:a.bands;this.a.sizeBytes=null==a.ya?null:a.ya;this.a.quota=null==a.quota?null:a.quota;this.a.tilestoreEntry=null==a.Fh?null:a.Fh;this.a.expression=null==a.i?null:a.i};n(hf,C);
hf.prototype.f=function(){return{O:{bands:jf},K:{type:qe},keys:"bands description endTime expression geometry id name properties quota sizeBytes startTime tilestoreEntry title type updateTime".split(" "),wa:{geometry:{fa:null,ka:!1,la:!1,ma:!1},properties:{fa:null,ka:!1,la:!1,ma:!1}},s:{expression:Ye,quota:kf,tilestoreEntry:lf}}};
r.Object.defineProperties(hf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?D(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,
"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},geometry:{configurable:!0,enumerable:!0,get:function(){return F(this,"geometry")?D(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,
get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=a}},quota:{configurable:!0,enumerable:!0,get:function(){return F(this,"quota")?D(this,"quota"):null},set:function(a){this.a.quota=a}},ya:{configurable:!0,enumerable:!0,get:function(){return F(this,"sizeBytes")?D(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=
a}},Fh:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilestoreEntry")?D(this,"tilestoreEntry"):null},set:function(a){this.a.tilestoreEntry=a}},title:{configurable:!0,enumerable:!0,get:function(){return F(this,"title")?D(this,"title"):null},set:function(a){this.a.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?D(this,"type"):null},set:function(a){this.a.type=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?D(this,"updateTime"):
null},set:function(a){this.a.updateTime=a}}});var mf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name};n(mf,C);mf.prototype.f=function(){return{keys:["name"]}};r.Object.defineProperties(mf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}}});
var nf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.G?null:a.G;this.a.bandIds=null==a.ea?null:a.ea;this.a.visualizationOptions=null==a.Ob?null:a.Ob};n(nf,C);nf.prototype.f=function(){return{K:{fileFormat:re},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],s:{expression:Ye,visualizationOptions:of}}};
r.Object.defineProperties(nf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
"name")?D(this,"name"):null},set:function(a){this.a.name=a}},Ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?D(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});var pf=function(){this.a={}};n(pf,C);pf.prototype.f=function(){return{keys:[]}};
var qf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.assetExportOptions=null==a.Sa?null:a.Sa;this.a.maxPixels=null==a.Xe?null:a.Xe;this.a.grid=null==a.J?null:a.J;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};n(qf,C);
qf.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkerCount requestId".split(" "),s:{assetExportOptions:rf,expression:Ye,fileExportOptions:sf,grid:tf}}};
r.Object.defineProperties(qf.prototype,{Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?D(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},
ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?D(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},J:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},Xe:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixels")?D(this,"maxPixels"):null},set:function(a){this.a.maxPixels=a}},U:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?
D(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}}});
var uf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.tileOptions=null==a.Kb?null:a.Kb;this.a.tileExportOptions=null==a.Jb?null:a.Jb;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};n(uf,C);uf.prototype.f=function(){return{keys:"description expression maxWorkerCount requestId tileExportOptions tileOptions".split(" "),s:{expression:Ye,tileExportOptions:sf,tileOptions:vf}}};
r.Object.defineProperties(uf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},U:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?D(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,
enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Jb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?D(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Kb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?D(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}}});
var wf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.assetExportOptions=null==a.Sa?null:a.Sa;this.a.selectors=null==a.selectors?null:a.selectors;this.a.maxErrorMeters=null==a.Cb?null:a.Cb;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};n(wf,C);
wf.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions maxErrorMeters maxWorkerCount requestId selectors".split(" "),s:{assetExportOptions:xf,expression:Ye,fileExportOptions:yf}}};
r.Object.defineProperties(wf.prototype,{Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?D(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},
ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?D(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},Cb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxErrorMeters")?D(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=a}},U:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?D(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,
get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,"selectors")?D(this,"selectors"):null},set:function(a){this.a.selectors=a}}});
var zf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Ia?null:a.Ia;this.a.tileOptions=null==a.Kb?null:a.Kb;this.a.tileExportOptions=null==a.Jb?null:a.Jb;this.a.requestId=null==a.requestId?null:a.requestId;this.a.version=null==a.version?null:a.version;this.a.maxWorkerCount=null==a.U?null:a.U};n(zf,C);
zf.prototype.f=function(){return{K:{version:se},keys:"description expression maxWorkerCount requestId tileExportOptions tileOptions version videoOptions".split(" "),s:{expression:Ye,tileExportOptions:Af,tileOptions:vf,videoOptions:Bf}}};
r.Object.defineProperties(zf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},U:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?D(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,
enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Jb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?D(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Kb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?D(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?
D(this,"version"):null},set:function(a){this.a.version=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?D(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});
var Cf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Ia?null:a.Ia;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};n(Cf,C);Cf.prototype.f=function(){return{keys:"description expression fileExportOptions maxWorkerCount requestId videoOptions".split(" "),s:{expression:Ye,fileExportOptions:Af,videoOptions:Bf}}};
r.Object.defineProperties(Cf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?D(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},U:{configurable:!0,
enumerable:!0,get:function(){return F(this,"maxWorkerCount")?D(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?D(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});
var Te=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.location=null==a.location?null:a.location};n(Te,C);Te.prototype.f=function(){return{keys:["description","expression","location","title"]}};
r.Object.defineProperties(Te.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return F(this,"location")?D(this,"location"):null},set:function(a){this.a.location=a}},title:{configurable:!0,enumerable:!0,
get:function(){return F(this,"title")?D(this,"title"):null},set:function(a){this.a.title=a}}});var Ye=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values;this.a.result=null==a.result?null:a.result};n(Ye,C);Ye.prototype.f=function(){return{keys:["result","values"],wa:{values:{fa:Oe,ka:!1,la:!0,ma:!1}}}};
r.Object.defineProperties(Ye.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?D(this,"result"):null},set:function(a){this.a.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});
var Df=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.orientation=null==a.orientation?null:a.orientation;this.a.fileFormat=null==a.G?null:a.G;this.a.grid=null==a.J?null:a.J};n(Df,C);Df.prototype.f=function(){return{K:{fileFormat:te,orientation:ue},keys:["expression","fileFormat","grid","name","orientation"],s:{expression:Ye,grid:tf}}};
r.Object.defineProperties(Df.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},J:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
"name")?D(this,"name"):null},set:function(a){this.a.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return F(this,"orientation")?D(this,"orientation"):null},set:function(a){this.a.orientation=a}}});var kf=function(a){a=void 0===a?{}:a;this.a={};this.a.sizeBytes=null==a.ya?null:a.ya;this.a.maxSizeBytes=null==a.Db?null:a.Db;this.a.assetCount=null==a.ce?null:a.ce;this.a.maxAssetCount=null==a.Ve?null:a.Ve};n(kf,C);
kf.prototype.f=function(){return{keys:["assetCount","maxAssetCount","maxSizeBytes","sizeBytes"]}};
r.Object.defineProperties(kf.prototype,{ce:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetCount")?D(this,"assetCount"):null},set:function(a){this.a.assetCount=a}},Ve:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxAssetCount")?D(this,"maxAssetCount"):null},set:function(a){this.a.maxAssetCount=a}},Db:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?D(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},ya:{configurable:!0,
enumerable:!0,get:function(){return F(this,"sizeBytes")?D(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}}});var Ef=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentNames=null==a.mc?null:a.mc;this.a.body=null==a.body?null:a.body};n(Ef,C);Ef.prototype.f=function(){return{keys:["argumentNames","body"]}};
r.Object.defineProperties(Ef.prototype,{mc:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentNames")?D(this,"argumentNames"):null},set:function(a){this.a.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return F(this,"body")?D(this,"body"):null},set:function(a){this.a.body=a}}});
var Ff=function(a){a=void 0===a?{}:a;this.a={};this.a.functionName=null==a.functionName?null:a.functionName;this.a.functionReference=null==a.gb?null:a.gb;this.a.arguments=null==a.arguments?null:a.arguments};n(Ff,C);Ff.prototype.f=function(){return{keys:["arguments","functionName","functionReference"],wa:{arguments:{fa:Oe,ka:!1,la:!0,ma:!1}}}};
r.Object.defineProperties(Ff.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?D(this,"arguments"):null},set:function(a){this.a.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionName")?D(this,"functionName"):null},set:function(a){this.a.functionName=a}},gb:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionReference")?D(this,"functionReference"):null},set:function(a){this.a.functionReference=
a}}});var Gf=function(a){a=void 0===a?{}:a;this.a={};this.a.bucket=null==a.ge?null:a.ge;this.a.filenamePrefix=null==a.ub?null:a.ub;this.a.permissions=null==a.permissions?null:a.permissions;this.a.bucketCorsUris=null==a.he?null:a.he};n(Gf,C);Gf.prototype.f=function(){return{K:{permissions:ve},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
r.Object.defineProperties(Gf.prototype,{ge:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucket")?D(this,"bucket"):null},set:function(a){this.a.bucket=a}},he:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucketCorsUris")?D(this,"bucketCorsUris"):null},set:function(a){this.a.bucketCorsUris=a}},ub:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?D(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},permissions:{configurable:!0,
enumerable:!0,get:function(){return F(this,"permissions")?D(this,"permissions"):null},set:function(a){this.a.permissions=a}}});r.Object.defineProperties(Gf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return ve}}});var Hf=function(a){a=void 0===a?{}:a;this.a={};this.a.cloudOptimized=null==a.ke?null:a.ke;this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.skipEmptyFiles=null==a.xf?null:a.xf};n(Hf,C);
Hf.prototype.f=function(){return{keys:["cloudOptimized","skipEmptyFiles","tileDimensions"],s:{tileDimensions:If}}};
r.Object.defineProperties(Hf.prototype,{ke:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudOptimized")?D(this,"cloudOptimized"):null},set:function(a){this.a.cloudOptimized=a}},xf:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyFiles")?D(this,"skipEmptyFiles"):null},set:function(a){this.a.skipEmptyFiles=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?D(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
var Jf=function(a){a=void 0===a?{}:a;this.a={};this.a.options=null==a.options?null:a.options};n(Jf,C);Jf.prototype.f=function(){return{keys:["options"],s:{options:Kf}}};r.Object.defineProperties(Jf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return F(this,"options")?D(this,"options"):null},set:function(a){this.a.options=a}}});var Kf=function(a){a=void 0===a?{}:a;this.a={};this.a.requestedPolicyVersion=null==a.oh?null:a.oh};n(Kf,C);Kf.prototype.f=function(){return{keys:["requestedPolicyVersion"]}};
r.Object.defineProperties(Kf.prototype,{oh:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestedPolicyVersion")?D(this,"requestedPolicyVersion"):null},set:function(a){this.a.requestedPolicyVersion=a}}});var If=function(a){a=void 0===a?{}:a;this.a={};this.a.width=null==a.width?null:a.width;this.a.height=null==a.height?null:a.height};n(If,C);If.prototype.f=function(){return{keys:["height","width"]}};
r.Object.defineProperties(If.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return F(this,"height")?D(this,"height"):null},set:function(a){this.a.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return F(this,"width")?D(this,"width"):null},set:function(a){this.a.width=a}}});var Lf=function(a){a=void 0===a?{}:a;this.a={};this.a.x=null==a.x?null:a.x;this.a.y=null==a.y?null:a.y};n(Lf,C);Lf.prototype.f=function(){return{keys:["x","y"]}};
r.Object.defineProperties(Lf.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return F(this,"x")?D(this,"x"):null},set:function(a){this.a.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return F(this,"y")?D(this,"y"):null},set:function(a){this.a.y=a}}});
var Mf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.id=null==a.id?null:a.id;this.a.updateTime=null==a.Ha?null:a.Ha;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.properties=null==a.properties?null:a.properties;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.geometry=null==a.geometry?null:a.geometry;this.a.bands=null==a.bands?null:a.bands;this.a.sizeBytes=
null==a.ya?null:a.ya};n(Mf,C);Mf.prototype.f=function(){return{O:{bands:jf},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),wa:{geometry:{fa:null,ka:!1,la:!1,ma:!1},properties:{fa:null,ka:!1,la:!1,ma:!1}}}};
r.Object.defineProperties(Mf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?D(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
get:function(){return F(this,"geometry")?D(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=a}},ya:{configurable:!0,
enumerable:!0,get:function(){return F(this,"sizeBytes")?D(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return F(this,"title")?D(this,"title"):null},set:function(a){this.a.title=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?D(this,"updateTime"):null},set:function(a){this.a.updateTime=
a}}});var rf=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.tb?null:a.tb;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.pyramidingPolicyOverrides=null==a.hf?null:a.hf;this.a.tileSize=null==a.tileSize?null:a.tileSize};n(rf,C);
rf.prototype.f=function(){return{K:{pyramidingPolicy:we,pyramidingPolicyOverrides:xe},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],wa:{pyramidingPolicyOverrides:{fa:null,ka:!1,la:!1,ma:!1}},s:{earthEngineDestination:mf}}};
r.Object.defineProperties(rf.prototype,{tb:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?D(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},hf:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicyOverrides")?D(this,"pyramidingPolicyOverrides"):
null},set:function(a){this.a.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileSize")?D(this,"tileSize"):null},set:function(a){this.a.tileSize=a}}});
var jf=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.dataType=null==a.dataType?null:a.dataType;this.a.grid=null==a.J?null:a.J;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.missingData=null==a.missingData?null:a.missingData};n(jf,C);
jf.prototype.f=function(){return{O:{tilesets:Nf},K:{pyramidingPolicy:ye},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),s:{dataType:Of,grid:tf,missingData:Pf}}};
r.Object.defineProperties(jf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?D(this,"dataType"):null},set:function(a){this.a.dataType=a}},J:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?
D(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesets")?D(this,"tilesets"):null},set:function(a){this.a.tilesets=a}}});
var sf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.G?null:a.G;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia;this.a.geoTiffOptions=null==a.jd?null:a.jd;this.a.tfRecordOptions=null==a.Fd?null:a.Fd};n(sf,C);sf.prototype.f=function(){return{K:{fileFormat:ze},keys:["driveDestination","fileFormat","gcsDestination","geoTiffOptions","tfRecordOptions"],s:{driveDestination:gf,gcsDestination:Gf,geoTiffOptions:Hf,tfRecordOptions:Qf}}};
r.Object.defineProperties(sf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}},jd:{configurable:!0,
enumerable:!0,get:function(){return F(this,"geoTiffOptions")?D(this,"geoTiffOptions"):null},set:function(a){this.a.geoTiffOptions=a}},Fd:{configurable:!0,enumerable:!0,get:function(){return F(this,"tfRecordOptions")?D(this,"tfRecordOptions"):null},set:function(a){this.a.tfRecordOptions=a}}});
var Rf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.properties=null==a.properties?null:a.properties;this.a.uriPrefix=null==a.Sc?null:a.Sc;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.bands=null==a.bands?null:a.bands;this.a.maskBands=null==a.Ue?null:a.Ue;this.a.footprint=null==a.zg?null:a.zg;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.startTime=null==a.startTime?
null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};n(Rf,C);Rf.prototype.f=function(){return{O:{bands:Sf,maskBands:Tf,tilesets:Uf},K:{pyramidingPolicy:Ae},keys:"bands endTime footprint maskBands missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),wa:{properties:{fa:null,ka:!1,la:!1,ma:!1}},s:{footprint:Vf,missingData:Pf}}};
r.Object.defineProperties(Rf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?D(this,"bands"):null},set:function(a){this.a.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},zg:{configurable:!0,enumerable:!0,get:function(){return F(this,"footprint")?D(this,"footprint"):null},set:function(a){this.a.footprint=a}},Ue:{configurable:!0,enumerable:!0,get:function(){return F(this,
"maskBands")?D(this,"maskBands"):null},set:function(a){this.a.maskBands=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?D(this,"missingData"):null},set:function(a){this.a.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=
a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesets")?D(this,"tilesets"):null},set:function(a){this.a.tilesets=a}},Sc:{configurable:!0,enumerable:!0,get:function(){return F(this,
"uriPrefix")?D(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});var Wf=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Mb?null:a.Mb;this.a.affineTransform=null==a.nb?null:a.nb};n(Wf,C);Wf.prototype.f=function(){return{keys:["affineTransform","uris"],s:{affineTransform:Ke}}};
r.Object.defineProperties(Wf.prototype,{nb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?D(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Mb:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?D(this,"uris"):null},set:function(a){this.a.uris=a}}});
var Xf=function(a){a=void 0===a?{}:a;this.a={};this.a.imageManifest=null==a.Ke?null:a.Ke;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.requestId?null:a.requestId};n(Xf,C);Xf.prototype.f=function(){return{keys:["description","imageManifest","overwrite","requestId"],s:{imageManifest:Rf}}};
r.Object.defineProperties(Xf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},Ke:{configurable:!0,enumerable:!0,get:function(){return F(this,"imageManifest")?D(this,"imageManifest"):null},set:function(a){this.a.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?D(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},requestId:{configurable:!0,
enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}}});var Yf=function(a){a=void 0===a?{}:a;this.a={};this.a.tableManifest=null==a.Df?null:a.Df;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.requestId?null:a.requestId};n(Yf,C);Yf.prototype.f=function(){return{keys:["description","overwrite","requestId","tableManifest"],s:{tableManifest:Zf}}};
r.Object.defineProperties(Yf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?D(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Df:{configurable:!0,
enumerable:!0,get:function(){return F(this,"tableManifest")?D(this,"tableManifest"):null},set:function(a){this.a.tableManifest=a}}});var $f=function(a){a=void 0===a?{}:a;this.a={};this.a.algorithms=null==a.lc?null:a.lc};n($f,C);$f.prototype.f=function(){return{O:{algorithms:Le},keys:["algorithms"]}};r.Object.defineProperties($f.prototype,{lc:{configurable:!0,enumerable:!0,get:function(){return F(this,"algorithms")?D(this,"algorithms"):null},set:function(a){this.a.algorithms=a}}});
var ag=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.R?null:a.R;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(ag,C);ag.prototype.f=function(){return{O:{assets:hf},keys:["assets","nextPageToken"]}};
r.Object.defineProperties(ag.prototype,{R:{configurable:!0,enumerable:!0,get:function(){return F(this,"assets")?D(this,"assets"):null},set:function(a){this.a.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?D(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});var bg=function(a){a=void 0===a?{}:a;this.a={};this.a.images=null==a.images?null:a.images;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(bg,C);
bg.prototype.f=function(){return{O:{images:Mf},keys:["images","nextPageToken"]}};r.Object.defineProperties(bg.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return F(this,"images")?D(this,"images"):null},set:function(a){this.a.images=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?D(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});
var cg=function(a){a=void 0===a?{}:a;this.a={};this.a.operations=null==a.Ea?null:a.Ea;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(cg,C);cg.prototype.f=function(){return{O:{operations:dg},keys:["nextPageToken","operations"]}};
r.Object.defineProperties(cg.prototype,{nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?D(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}},Ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"operations")?D(this,"operations"):null},set:function(a){this.a.operations=a}}});
var eg=function(a){a=void 0===a?{}:a;this.a={};this.a.counter=null==a.fg?null:a.fg;this.a.dataAccess=null==a.lg?null:a.lg;this.a.cloudAudit=null==a.ag?null:a.ag};n(eg,C);eg.prototype.f=function(){return{keys:["cloudAudit","counter","dataAccess"],s:{cloudAudit:We,counter:bf,dataAccess:df}}};
r.Object.defineProperties(eg.prototype,{ag:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudAudit")?D(this,"cloudAudit"):null},set:function(a){this.a.cloudAudit=a}},fg:{configurable:!0,enumerable:!0,get:function(){return F(this,"counter")?D(this,"counter"):null},set:function(a){this.a.counter=a}},lg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataAccess")?D(this,"dataAccess"):null},set:function(a){this.a.dataAccess=a}}});
var Pf=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(Pf,C);Pf.prototype.f=function(){return{keys:["values"]}};r.Object.defineProperties(Pf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var fg=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.rb?null:a.rb};n(fg,C);fg.prototype.f=function(){return{keys:["destinationName"]}};
r.Object.defineProperties(fg.prototype,{rb:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?D(this,"destinationName"):null},set:function(a){this.a.destinationName=a}}});var dg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.metadata=null==a.Ye?null:a.Ye;this.a.done=null==a.done?null:a.done;this.a.error=null==a.error?null:a.error;this.a.response=null==a.response?null:a.response};n(dg,C);
dg.prototype.f=function(){return{keys:["done","error","metadata","name","response"],wa:{metadata:{fa:null,ka:!1,la:!1,ma:!1},response:{fa:null,ka:!1,la:!1,ma:!1}},s:{error:gg}}};
r.Object.defineProperties(dg.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return F(this,"done")?D(this,"done"):null},set:function(a){this.a.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return F(this,"error")?D(this,"error"):null},set:function(a){this.a.error=a}},Ye:{configurable:!0,enumerable:!0,get:function(){return F(this,"metadata")?D(this,"metadata"):null},set:function(a){this.a.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?
D(this,"name"):null},set:function(a){this.a.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return F(this,"response")?D(this,"response"):null},set:function(a){this.a.response=a}}});
var hg=function(a){a=void 0===a?{}:a;this.a={};this.a.state=null==a.state?null:a.state;this.a.description=null==a.description?null:a.description;this.a.type=null==a.type?null:a.type;this.a.priority=null==a.priority?null:a.priority;this.a.createTime=null==a.qe?null:a.qe;this.a.updateTime=null==a.Ha?null:a.Ha;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.scriptUri=null==a.rf?null:a.rf;this.a.destinationUris=null==a.te?null:a.te};n(hg,C);
hg.prototype.f=function(){return{K:{state:Be},keys:"createTime description destinationUris endTime priority scriptUri startTime state type updateTime".split(" ")}};
r.Object.defineProperties(hg.prototype,{qe:{configurable:!0,enumerable:!0,get:function(){return F(this,"createTime")?D(this,"createTime"):null},set:function(a){this.a.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},te:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationUris")?D(this,"destinationUris"):null},set:function(a){this.a.destinationUris=a}},endTime:{configurable:!0,
enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return F(this,"priority")?D(this,"priority"):null},set:function(a){this.a.priority=a}},rf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scriptUri")?D(this,"scriptUri"):null},set:function(a){this.a.scriptUri=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},
set:function(a){this.a.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return F(this,"state")?D(this,"state"):null},set:function(a){this.a.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?D(this,"type"):null},set:function(a){this.a.type=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?D(this,"updateTime"):null},set:function(a){this.a.updateTime=a}}});
var Of=function(a){a=void 0===a?{}:a;this.a={};this.a.precision=null==a.precision?null:a.precision;this.a.range=null==a.Lc?null:a.Lc;this.a.dimensionsCount=null==a.pg?null:a.pg};n(Of,C);Of.prototype.f=function(){return{K:{precision:Ce},keys:["dimensionsCount","precision","range"],s:{range:ff}}};
r.Object.defineProperties(Of.prototype,{pg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensionsCount")?D(this,"dimensionsCount"):null},set:function(a){this.a.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return F(this,"precision")?D(this,"precision"):null},set:function(a){this.a.precision=a}},Lc:{configurable:!0,enumerable:!0,get:function(){return F(this,"range")?D(this,"range"):null},set:function(a){this.a.range=a}}});
var Vf=function(a){a=void 0===a?{}:a;this.a={};this.a.points=null==a.ih?null:a.ih;this.a.bandId=null==a.Tf?null:a.Tf};n(Vf,C);Vf.prototype.f=function(){return{O:{points:Lf},keys:["bandId","points"]}};r.Object.defineProperties(Vf.prototype,{Tf:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandId")?D(this,"bandId"):null},set:function(a){this.a.bandId=a}},ih:{configurable:!0,enumerable:!0,get:function(){return F(this,"points")?D(this,"points"):null},set:function(a){this.a.points=a}}});
var tf=function(a){a=void 0===a?{}:a;this.a={};this.a.crsCode=null==a.re?null:a.re;this.a.crsWkt=null==a.hg?null:a.hg;this.a.dimensions=null==a.dimensions?null:a.dimensions;this.a.affineTransform=null==a.nb?null:a.nb};n(tf,C);tf.prototype.f=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],s:{affineTransform:Ke,dimensions:If}}};
r.Object.defineProperties(tf.prototype,{nb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?D(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},re:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsCode")?D(this,"crsCode"):null},set:function(a){this.a.crsCode=a}},hg:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsWkt")?D(this,"crsWkt"):null},set:function(a){this.a.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
get:function(){return F(this,"dimensions")?D(this,"dimensions"):null},set:function(a){this.a.dimensions=a}}});var ig=function(a){a=void 0===a?{}:a;this.a={};this.a.version=null==a.version?null:a.version;this.a.bindings=null==a.bd?null:a.bd;this.a.auditConfigs=null==a.Qf?null:a.Qf;this.a.rules=null==a.rules?null:a.rules;this.a.etag=null==a.xe?null:a.xe;this.a.iamOwned=null==a.Ig?null:a.Ig};n(ig,C);ig.prototype.f=function(){return{O:{auditConfigs:Pe,bindings:Se,rules:jg},keys:"auditConfigs bindings etag iamOwned rules version".split(" ")}};
r.Object.defineProperties(ig.prototype,{Qf:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditConfigs")?D(this,"auditConfigs"):null},set:function(a){this.a.auditConfigs=a}},bd:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindings")?D(this,"bindings"):null},set:function(a){this.a.bindings=a}},xe:{configurable:!0,enumerable:!0,get:function(){return F(this,"etag")?D(this,"etag"):null},set:function(a){this.a.etag=a}},Ig:{configurable:!0,enumerable:!0,get:function(){return F(this,
"iamOwned")?D(this,"iamOwned"):null},set:function(a){this.a.iamOwned=a}},rules:{configurable:!0,enumerable:!0,get:function(){return F(this,"rules")?D(this,"rules"):null},set:function(a){this.a.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?D(this,"version"):null},set:function(a){this.a.version=a}}});
var jg=function(a){a=void 0===a?{}:a;this.a={};this.a.description=null==a.description?null:a.description;this.a.permissions=null==a.permissions?null:a.permissions;this.a.action=null==a.action?null:a.action;this.a["in"]=null==a.Ng?null:a.Ng;this.a.notIn=null==a.$g?null:a.$g;this.a.conditions=null==a.conditions?null:a.conditions;this.a.logConfig=null==a.Ug?null:a.Ug};n(jg,C);jg.prototype.f=function(){return{O:{conditions:$e,logConfig:eg},K:{action:De},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
r.Object.defineProperties(jg.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return F(this,"action")?D(this,"action"):null},set:function(a){this.a.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return F(this,"conditions")?D(this,"conditions"):null},set:function(a){this.a.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},Ng:{configurable:!0,enumerable:!0,
get:function(){return F(this,"in")?D(this,"in"):null},set:function(a){this.a["in"]=a}},Ug:{configurable:!0,enumerable:!0,get:function(){return F(this,"logConfig")?D(this,"logConfig"):null},set:function(a){this.a.logConfig=a}},$g:{configurable:!0,enumerable:!0,get:function(){return F(this,"notIn")?D(this,"notIn"):null},set:function(a){this.a.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissions")?D(this,"permissions"):null},set:function(a){this.a.permissions=
a}}});var kg=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.R?null:a.R;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(kg,C);kg.prototype.f=function(){return{O:{assets:hf},keys:["assets","nextPageToken"]}};
r.Object.defineProperties(kg.prototype,{R:{configurable:!0,enumerable:!0,get:function(){return F(this,"assets")?D(this,"assets"):null},set:function(a){this.a.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?D(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});var lg=function(a){a=void 0===a?{}:a;this.a={};this.a.policy=null==a.bf?null:a.bf;this.a.updateMask=null==a.ic?null:a.ic};n(lg,C);
lg.prototype.f=function(){return{keys:["policy","updateMask"],s:{policy:ig}}};r.Object.defineProperties(lg.prototype,{bf:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?D(this,"policy"):null},set:function(a){this.a.policy=a}},ic:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?D(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
var gg=function(a){a=void 0===a?{}:a;this.a={};this.a.code=null==a.code?null:a.code;this.a.message=null==a.message?null:a.message;this.a.details=null==a.details?null:a.details};n(gg,C);gg.prototype.f=function(){return{keys:["code","details","message"],wa:{details:{fa:null,ka:!0,la:!1,ma:!1}}}};
r.Object.defineProperties(gg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return F(this,"code")?D(this,"code"):null},set:function(a){this.a.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return F(this,"details")?D(this,"details"):null},set:function(a){this.a.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return F(this,"message")?D(this,"message"):null},set:function(a){this.a.message=a}}});
var xf=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.tb?null:a.tb};n(xf,C);xf.prototype.f=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:mf}}};r.Object.defineProperties(xf.prototype,{tb:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?D(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}}});
var yf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.G?null:a.G;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia};n(yf,C);yf.prototype.f=function(){return{K:{fileFormat:Ee},keys:["driveDestination","fileFormat","gcsDestination"],s:{driveDestination:gf,gcsDestination:Gf}}};
r.Object.defineProperties(yf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
var Zf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.properties=null==a.properties?null:a.properties;this.a.uriPrefix=null==a.Sc?null:a.Sc;this.a.sources=null==a.sources?null:a.sources;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};n(Zf,C);Zf.prototype.f=function(){return{O:{sources:mg},keys:"endTime name properties sources startTime uriPrefix".split(" "),wa:{properties:{fa:null,ka:!1,la:!1,ma:!1}}}};
r.Object.defineProperties(Zf.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,
"sources")?D(this,"sources"):null},set:function(a){this.a.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=a}},Sc:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?D(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});
var mg=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Mb?null:a.Mb;this.a.charset=null==a.charset?null:a.charset;this.a.maxErrorMeters=null==a.Cb?null:a.Cb;this.a.maxVertices=null==a.maxVertices?null:a.maxVertices;this.a.crs=null==a.crs?null:a.crs;this.a.geodesic=null==a.geodesic?null:a.geodesic;this.a.primaryGeometryColumn=null==a.jh?null:a.jh;this.a.xColumn=null==a.Ih?null:a.Ih;this.a.yColumn=null==a.Jh?null:a.Jh;this.a.dateFormat=null==a.mg?null:a.mg;this.a.csvDelimiter=null==a.ig?
null:a.ig;this.a.csvQualifier=null==a.jg?null:a.jg};n(mg,C);mg.prototype.f=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
r.Object.defineProperties(mg.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return F(this,"charset")?D(this,"charset"):null},set:function(a){this.a.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?D(this,"crs"):null},set:function(a){this.a.crs=a}},ig:{configurable:!0,enumerable:!0,get:function(){return F(this,"csvDelimiter")?D(this,"csvDelimiter"):null},set:function(a){this.a.csvDelimiter=a}},jg:{configurable:!0,enumerable:!0,get:function(){return F(this,
"csvQualifier")?D(this,"csvQualifier"):null},set:function(a){this.a.csvQualifier=a}},mg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dateFormat")?D(this,"dateFormat"):null},set:function(a){this.a.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return F(this,"geodesic")?D(this,"geodesic"):null},set:function(a){this.a.geodesic=a}},Cb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxErrorMeters")?D(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxVertices")?D(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},jh:{configurable:!0,enumerable:!0,get:function(){return F(this,"primaryGeometryColumn")?D(this,"primaryGeometryColumn"):null},set:function(a){this.a.primaryGeometryColumn=a}},Mb:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?D(this,"uris"):null},set:function(a){this.a.uris=a}},Ih:{configurable:!0,enumerable:!0,get:function(){return F(this,
"xColumn")?D(this,"xColumn"):null},set:function(a){this.a.xColumn=a}},Jh:{configurable:!0,enumerable:!0,get:function(){return F(this,"yColumn")?D(this,"yColumn"):null},set:function(a){this.a.yColumn=a}}});
var Qf=function(a){a=void 0===a?{}:a;this.a={};this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.marginDimensions=null==a.Te?null:a.Te;this.a.compress=null==a.me?null:a.me;this.a.maxSizeBytes=null==a.Db?null:a.Db;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue;this.a.tensorDepths=null==a.Ed?null:a.Ed;this.a.sequenceData=null==a.sf?null:a.sf;this.a.collapseBands=null==a.le?null:a.le;this.a.maxMaskedRatio=null==a.We?null:a.We};n(Qf,C);
Qf.prototype.f=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),wa:{tensorDepths:{fa:null,ka:!1,la:!1,ma:!1}},s:{marginDimensions:If,tileDimensions:If}}};
r.Object.defineProperties(Qf.prototype,{le:{configurable:!0,enumerable:!0,get:function(){return F(this,"collapseBands")?D(this,"collapseBands"):null},set:function(a){this.a.collapseBands=a}},me:{configurable:!0,enumerable:!0,get:function(){return F(this,"compress")?D(this,"compress"):null},set:function(a){this.a.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?D(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},Te:{configurable:!0,
enumerable:!0,get:function(){return F(this,"marginDimensions")?D(this,"marginDimensions"):null},set:function(a){this.a.marginDimensions=a}},We:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxMaskedRatio")?D(this,"maxMaskedRatio"):null},set:function(a){this.a.maxMaskedRatio=a}},Db:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?D(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},sf:{configurable:!0,enumerable:!0,get:function(){return F(this,
"sequenceData")?D(this,"sequenceData"):null},set:function(a){this.a.sequenceData=a}},Ed:{configurable:!0,enumerable:!0,get:function(){return F(this,"tensorDepths")?D(this,"tensorDepths"):null},set:function(a){this.a.tensorDepths=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?D(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
var ng=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.G?null:a.G;this.a.bandIds=null==a.ea?null:a.ea;this.a.visualizationOptions=null==a.Ob?null:a.Ob;this.a.grid=null==a.J?null:a.J;this.a.thumbnailOptions=null==a.Ch?null:a.Ch};n(ng,C);
ng.prototype.f=function(){return{K:{fileFormat:Fe},keys:"bandIds expression fileFormat grid name thumbnailOptions visualizationOptions".split(" "),s:{expression:Ye,grid:tf,thumbnailOptions:og,visualizationOptions:of}}};
r.Object.defineProperties(ng.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},J:{configurable:!0,enumerable:!0,get:function(){return F(this,
"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},Ch:{configurable:!0,enumerable:!0,get:function(){return F(this,"thumbnailOptions")?D(this,"thumbnailOptions"):null},set:function(a){this.a.thumbnailOptions=a}},Ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?D(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=
a}}});var og=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.returnAsZip=null==a.rh?null:a.rh;this.a.filePerBand=null==a.ug?null:a.ug};n(og,C);og.prototype.f=function(){return{keys:["filePerBand","name","returnAsZip"]}};
r.Object.defineProperties(og.prototype,{ug:{configurable:!0,enumerable:!0,get:function(){return F(this,"filePerBand")?D(this,"filePerBand"):null},set:function(a){this.a.filePerBand=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},rh:{configurable:!0,enumerable:!0,get:function(){return F(this,"returnAsZip")?D(this,"returnAsZip"):null},set:function(a){this.a.returnAsZip=a}}});
var vf=function(a){a=void 0===a?{}:a;this.a={};this.a.maxZoom=null==a.maxZoom?null:a.maxZoom;this.a.scale=null==a.scale?null:a.scale;this.a.minZoom=null==a.minZoom?null:a.minZoom;this.a.skipEmptyTiles=null==a.yf?null:a.yf;this.a.mapsApiKey=null==a.Se?null:a.Se;this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.stride=null==a.Af?null:a.Af;this.a.zoomSubset=null==a.Lf?null:a.Lf};n(vf,C);
vf.prototype.f=function(){return{keys:"mapsApiKey maxZoom minZoom scale skipEmptyTiles stride tileDimensions zoomSubset".split(" "),s:{tileDimensions:If,zoomSubset:pg}}};
r.Object.defineProperties(vf.prototype,{Se:{configurable:!0,enumerable:!0,get:function(){return F(this,"mapsApiKey")?D(this,"mapsApiKey"):null},set:function(a){this.a.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxZoom")?D(this,"maxZoom"):null},set:function(a){this.a.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return F(this,"minZoom")?D(this,"minZoom"):null},set:function(a){this.a.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return F(this,
"scale")?D(this,"scale"):null},set:function(a){this.a.scale=a}},yf:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyTiles")?D(this,"skipEmptyTiles"):null},set:function(a){this.a.skipEmptyTiles=a}},Af:{configurable:!0,enumerable:!0,get:function(){return F(this,"stride")?D(this,"stride"):null},set:function(a){this.a.stride=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?D(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}},
Lf:{configurable:!0,enumerable:!0,get:function(){return F(this,"zoomSubset")?D(this,"zoomSubset"):null},set:function(a){this.a.zoomSubset=a}}});var Uf=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.sources=null==a.sources?null:a.sources;this.a.dataType=null==a.dataType?null:a.dataType;this.a.crs=null==a.crs?null:a.crs;this.a.subdatasetPrefix=null==a.yh?null:a.yh;this.a.subdatasetSuffix=null==a.zh?null:a.zh};n(Uf,C);
Uf.prototype.f=function(){return{O:{sources:Wf},K:{dataType:He},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
r.Object.defineProperties(Uf.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?D(this,"crs"):null},set:function(a){this.a.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?D(this,"dataType"):null},set:function(a){this.a.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?
D(this,"sources"):null},set:function(a){this.a.sources=a}},yh:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetPrefix")?D(this,"subdatasetPrefix"):null},set:function(a){this.a.subdatasetPrefix=a}},zh:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetSuffix")?D(this,"subdatasetSuffix"):null},set:function(a){this.a.subdatasetSuffix=a}}});
var Sf=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.tilesetId=null==a.gc?null:a.gc;this.a.tilesetBandIndex=null==a.Eh?null:a.Eh;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};n(Sf,C);Sf.prototype.f=function(){return{K:{pyramidingPolicy:Ge},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],s:{missingData:Pf}}};
r.Object.defineProperties(Sf.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?D(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Eh:{configurable:!0,
enumerable:!0,get:function(){return F(this,"tilesetBandIndex")?D(this,"tilesetBandIndex"):null},set:function(a){this.a.tilesetBandIndex=a}},gc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?D(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var Tf=function(a){a=void 0===a?{}:a;this.a={};this.a.tilesetId=null==a.gc?null:a.gc;this.a.bandIds=null==a.ea?null:a.ea};n(Tf,C);Tf.prototype.f=function(){return{keys:["bandIds","tilesetId"]}};
r.Object.defineProperties(Tf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},gc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?D(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var lf=function(a){a=void 0===a?{}:a;this.a={};this.a.sources=null==a.sources?null:a.sources;this.a.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};n(lf,C);
lf.prototype.f=function(){return{O:{sources:qg},keys:["pathPrefix","sources"]}};r.Object.defineProperties(lf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathPrefix")?D(this,"pathPrefix"):null},set:function(a){this.a.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?D(this,"sources"):null},set:function(a){this.a.sources=a}}});
var qg=function(a){a=void 0===a?{}:a;this.a={};this.a.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.a.headerSizeBytes=null==a.Gg?null:a.Gg};n(qg,C);qg.prototype.f=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
r.Object.defineProperties(qg.prototype,{Gg:{configurable:!0,enumerable:!0,get:function(){return F(this,"headerSizeBytes")?D(this,"headerSizeBytes"):null},set:function(a){this.a.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathSuffix")?D(this,"pathSuffix"):null},set:function(a){this.a.pathSuffix=a}}});
var Nf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileIndexes=null==a.tg?null:a.tg;this.a.firstTileIndex=null==a.wg?null:a.wg;this.a.tilesPerFile=null==a.Dh?null:a.Dh};n(Nf,C);Nf.prototype.f=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
r.Object.defineProperties(Nf.prototype,{tg:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileIndexes")?D(this,"fileIndexes"):null},set:function(a){this.a.fileIndexes=a}},wg:{configurable:!0,enumerable:!0,get:function(){return F(this,"firstTileIndex")?D(this,"firstTileIndex"):null},set:function(a){this.a.firstTileIndex=a}},Dh:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesPerFile")?D(this,"tilesPerFile"):null},set:function(a){this.a.tilesPerFile=a}}});
var rg=function(a){a=void 0===a?{}:a;this.a={};this.a.asset=null==a.be?null:a.be;this.a.updateMask=null==a.ic?null:a.ic};n(rg,C);rg.prototype.f=function(){return{keys:["asset","updateMask"],s:{asset:hf}}};
r.Object.defineProperties(rg.prototype,{be:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?D(this,"asset"):null},set:function(a){this.a.asset=a}},ic:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?D(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
var Oe=function(a){a=void 0===a?{}:a;this.a={};this.a.constantValue=null==a.qb?null:a.qb;this.a.integerValue=null==a.Oe?null:a.Oe;this.a.bytesValue=null==a.ie?null:a.ie;this.a.arrayValue=null==a.ob?null:a.ob;this.a.dictionaryValue=null==a.sb?null:a.sb;this.a.functionDefinitionValue=null==a.wb?null:a.wb;this.a.functionInvocationValue=null==a.fb?null:a.fb;this.a.argumentReference=null==a.nc?null:a.nc;this.a.valueReference=null==a.ab?null:a.ab};n(Oe,C);
Oe.prototype.f=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),s:{arrayValue:Ne,dictionaryValue:ef,functionDefinitionValue:Ef,functionInvocationValue:Ff}}};
r.Object.defineProperties(Oe.prototype,{nc:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentReference")?D(this,"argumentReference"):null},set:function(a){this.a.argumentReference=a}},ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"arrayValue")?D(this,"arrayValue"):null},set:function(a){this.a.arrayValue=a}},ie:{configurable:!0,enumerable:!0,get:function(){return F(this,"bytesValue")?D(this,"bytesValue"):null},set:function(a){this.a.bytesValue=a}},qb:{configurable:!0,
enumerable:!0,get:function(){return F(this,"constantValue")?D(this,"constantValue"):null},set:function(a){this.a.constantValue=a}},sb:{configurable:!0,enumerable:!0,get:function(){return F(this,"dictionaryValue")?D(this,"dictionaryValue"):null},set:function(a){this.a.dictionaryValue=a}},wb:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionDefinitionValue")?D(this,"functionDefinitionValue"):null},set:function(a){this.a.functionDefinitionValue=a}},fb:{configurable:!0,enumerable:!0,
get:function(){return F(this,"functionInvocationValue")?D(this,"functionInvocationValue"):null},set:function(a){this.a.functionInvocationValue=a}},Oe:{configurable:!0,enumerable:!0,get:function(){return F(this,"integerValue")?D(this,"integerValue"):null},set:function(a){this.a.integerValue=a}},ab:{configurable:!0,enumerable:!0,get:function(){return F(this,"valueReference")?D(this,"valueReference"):null},set:function(a){this.a.valueReference=a}}});
var Af=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.G?null:a.G;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia};n(Af,C);Af.prototype.f=function(){return{K:{fileFormat:Ie},keys:["driveDestination","fileFormat","gcsDestination"],s:{driveDestination:gf,gcsDestination:Gf}}};
r.Object.defineProperties(Af.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
var Bf=function(a){a=void 0===a?{}:a;this.a={};this.a.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.a.maxFrames=null==a.maxFrames?null:a.maxFrames;this.a.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};n(Bf,C);Bf.prototype.f=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
r.Object.defineProperties(Bf.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return F(this,"framesPerSecond")?D(this,"framesPerSecond"):null},set:function(a){this.a.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxFrames")?D(this,"maxFrames"):null},set:function(a){this.a.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixelsPerFrame")?D(this,"maxPixelsPerFrame"):null},set:function(a){this.a.maxPixelsPerFrame=
a}}});var sg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.videoOptions=null==a.Ia?null:a.Ia;this.a.fileFormat=null==a.G?null:a.G;this.a.grid=null==a.J?null:a.J};n(sg,C);sg.prototype.f=function(){return{K:{fileFormat:Je},keys:["expression","fileFormat","grid","name","videoOptions"],s:{expression:Ye,grid:tf,videoOptions:Bf}}};
r.Object.defineProperties(sg.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},J:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
"name")?D(this,"name"):null},set:function(a){this.a.name=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?D(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});var of=function(a){a=void 0===a?{}:a;this.a={};this.a.ranges=null==a.jf?null:a.jf;this.a.paletteColors=null==a.Jc?null:a.Jc;this.a.gamma=null==a.gamma?null:a.gamma;this.a.opacity=null==a.opacity?null:a.opacity};n(of,C);
of.prototype.f=function(){return{O:{ranges:ff},keys:["gamma","opacity","paletteColors","ranges"]}};
r.Object.defineProperties(of.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return F(this,"gamma")?D(this,"gamma"):null},set:function(a){this.a.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return F(this,"opacity")?D(this,"opacity"):null},set:function(a){this.a.opacity=a}},Jc:{configurable:!0,enumerable:!0,get:function(){return F(this,"paletteColors")?D(this,"paletteColors"):null},set:function(a){this.a.paletteColors=a}},jf:{configurable:!0,enumerable:!0,get:function(){return F(this,
"ranges")?D(this,"ranges"):null},set:function(a){this.a.ranges=a}}});var pg=function(a){a=void 0===a?{}:a;this.a={};this.a.min=null==a.min?null:a.min;this.a.max=null==a.max?null:a.max};n(pg,C);pg.prototype.f=function(){return{keys:["max","min"]}};
r.Object.defineProperties(pg.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return F(this,"max")?D(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return F(this,"min")?D(this,"min"):null},set:function(a){this.a.min=a}}});var tg=function(a){this.m="v1alpha";this.h=new de(a,null)};
tg.prototype.list=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,
p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:$f})};
var ug=function(a){this.m="v1alpha";this.h=new de(a,null)};
ug.prototype.getCapabilities=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:
c.oauth_token,p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:Ve})};
ug.prototype.Ec=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===
c.oauth_token?void 0:c.oauth_token,p=void 0===c.pageSize?void 0:c.pageSize,q=void 0===c.pageToken?void 0:c.pageToken,w=void 0===c.prettyPrint?void 0:c.prettyPrint,z=void 0===c.quotaUser?void 0:c.quotaUser,E=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,
oauth_token:m,pageSize:p,pageToken:q,prettyPrint:w,quotaUser:z,uploadType:E,upload_protocol:c},D:ag})};var vg=function(a){this.m="v1alpha";this.h=new de(a,null)};
vg.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,assetId:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,overwrite:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.assetId?void 0:d.assetId,h=void 0===d.callback?void 0:d.callback,m=void 0===d.fields?void 0:d.fields,
p=void 0===d.key?void 0:d.key,q=void 0===d.oauth_token?void 0:d.oauth_token,w=void 0===d.overwrite?void 0:d.overwrite,z=void 0===d.prettyPrint?void 0:d.prettyPrint,E=void 0===d.quotaUser?void 0:d.quotaUser,M=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",o:{"$.xgafv":c,access_token:e,alt:f,assetId:g,callback:h,fields:m,
key:p,oauth_token:q,overwrite:w,prettyPrint:z,quotaUser:E,uploadType:M,upload_protocol:d},D:hf})};
vg.prototype["delete"]=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,
p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+\/assets\/.+$/);return G(this.h,{body:null,u:"DELETE",B:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:pf})};
vg.prototype.get=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,
p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+\/assets\/.+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:hf})};
vg.prototype.Ec=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===
c.oauth_token?void 0:c.oauth_token,p=void 0===c.pageSize?void 0:c.pageSize,q=void 0===c.pageToken?void 0:c.pageToken,w=void 0===c.prettyPrint?void 0:c.prettyPrint,z=void 0===c.quotaUser?void 0:c.quotaUser,E=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+\/assets\/.+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.assets.listAssets",path:"/"+this.m+"/"+a+":listAssets",o:{"$.xgafv":b,access_token:d,alt:e,callback:f,
fields:g,key:h,oauth_token:m,pageSize:p,pageToken:q,prettyPrint:w,quotaUser:z,uploadType:E,upload_protocol:c},D:ag})};
var wg=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,endTime:void 0,fields:void 0,filter:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,region:void 0,startTime:void 0,uploadType:void 0,upload_protocol:void 0,view:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.endTime?
void 0:d.endTime,m=void 0===d.fields?void 0:d.fields,p=void 0===d.filter?void 0:d.filter,q=void 0===d.key?void 0:d.key,w=void 0===d.oauth_token?void 0:d.oauth_token,z=void 0===d.pageSize?void 0:d.pageSize,E=void 0===d.pageToken?void 0:d.pageToken,M=void 0===d.prettyPrint?void 0:d.prettyPrint,Z=void 0===d.quotaUser?void 0:d.quotaUser,Bj=void 0===d.region?void 0:d.region,Cj=void 0===d.startTime?void 0:d.startTime,Dj=void 0===d.uploadType?void 0:d.uploadType,Ej=void 0===d.upload_protocol?void 0:d.upload_protocol;
d=void 0===d.view?void 0:d.view;a.h.w(b,/^projects\/[^/]+\/assets\/.+$/);return G(a.h,{body:null,u:"GET",B:"earthengine.projects.assets.listImages",path:"/"+a.m+"/"+b+":listImages",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,endTime:h,fields:m,filter:p,key:q,oauth_token:w,pageSize:z,pageToken:E,prettyPrint:M,quotaUser:Z,region:Bj,startTime:Cj,uploadType:Dj,upload_protocol:Ej,view:d},D:bg})};
vg.prototype.move=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+\/assets\/.+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.assets.move",path:"/"+this.m+"/"+a+":move",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:hf})};
vg.prototype.search=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,nextPageToken:void 0,oauth_token:void 0,pageSize:void 0,prettyPrint:void 0,query:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:
c.key,m=void 0===c.nextPageToken?void 0:c.nextPageToken,p=void 0===c.oauth_token?void 0:c.oauth_token,q=void 0===c.pageSize?void 0:c.pageSize,w=void 0===c.prettyPrint?void 0:c.prettyPrint,z=void 0===c.query?void 0:c.query,E=void 0===c.quotaUser?void 0:c.quotaUser,M=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.assets.search",path:"/"+this.m+"/"+a+"/assets:search",
o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,nextPageToken:m,oauth_token:p,pageSize:q,prettyPrint:w,query:z,quotaUser:E,uploadType:M,upload_protocol:c},D:kg})};var xg=function(a){this.m="v1alpha";this.h=new de(a,null)};
xg.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.m+"/"+a+"/filmstripThumbnails",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:Df})};
var yg=function(a){this.m="v1alpha";this.h=new de(a,null)};yg.prototype.Va=function(a,b){this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.image.export",path:"/"+this.m+"/"+a+"/image:export",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:dg})};
yg.prototype["import"]=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.image.import",path:"/"+this.m+"/"+a+"/image:import",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:dg})};
var zg=function(a){this.m="v1alpha";this.h=new de(a,null)};zg.prototype.Va=function(a,b){this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.map.export",path:"/"+this.m+"/"+a+"/map:export",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:dg})};var Ag=function(a){this.m="v1alpha";this.h=new de(a,null)};
Ag.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.maps.create",path:"/"+this.m+"/"+a+"/maps",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:nf})};
var Bg=function(a){this.m="v1alpha";this.h=new de(a,null)};k=Bg.prototype;
k.cancel=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,q=void 0===
d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+\/operations\/.+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.operations.cancel",path:"/"+this.m+"/"+a+":cancel",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:pf})};
k["delete"]=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,p=
void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+\/operations\/.+$/);return G(this.h,{body:null,u:"DELETE",B:"earthengine.projects.operations.delete",path:"/"+this.m+"/"+a,o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:pf})};
k.get=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,p=void 0===
c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+\/operations\/.+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.operations.get",path:"/"+this.m+"/"+a,o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:dg})};
k.list=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,filter:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.filter?void 0:c.filter,
m=void 0===c.key?void 0:c.key,p=void 0===c.oauth_token?void 0:c.oauth_token,q=void 0===c.pageSize?void 0:c.pageSize,w=void 0===c.pageToken?void 0:c.pageToken,z=void 0===c.prettyPrint?void 0:c.prettyPrint,E=void 0===c.quotaUser?void 0:c.quotaUser,M=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.operations.list",path:"/"+this.m+"/"+a+"/operations",o:{"$.xgafv":b,
access_token:d,alt:e,callback:f,fields:g,filter:h,key:m,oauth_token:p,pageSize:q,pageToken:w,prettyPrint:z,quotaUser:E,uploadType:M,upload_protocol:c},D:cg})};
k.wait=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,q=void 0===
d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+\/operations\/.+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.operations.wait",path:"/"+this.m+"/"+a+":wait",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:dg})};
var Cg=function(a){this.m="v1alpha";this.h=new de(a,null)};Cg.prototype.Va=function(a,b){this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.table.export",path:"/"+this.m+"/"+a+"/table:export",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:dg})};
Cg.prototype["import"]=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.table.import",path:"/"+this.m+"/"+a+"/table:import",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:dg})};
var Dg=function(a){this.m="v1alpha";this.h=new de(a,null)};
Dg.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.thumbnails.create",path:"/"+this.m+"/"+a+"/thumbnails",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:ng})};
var Eg=function(a){this.m="v1alpha";this.h=new de(a,null)},Fg=function(a,b,c){a.h.w(b,/^projects\/[^/]+$/);return G(a.h,{body:c,u:"POST",B:"earthengine.projects.value.compute",path:"/"+a.m+"/"+b+"/value:compute",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:Ze})},Gg=function(a){this.m="v1alpha";this.h=new de(a,null)};
Gg.prototype.Va=function(a,b){this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.video.export",path:"/"+this.m+"/"+a+"/video:export",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:dg})};var Hg=function(a){this.m="v1alpha";this.h=new de(a,null)};
Hg.prototype.Va=function(a,b){this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:dg})};var Ig=function(a){this.m="v1alpha";this.h=new de(a,null)};
Ig.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:sg})};var Jg=function(a,b){this.ui=100;this.ii=a;this.Gi=b;this.ud=0;this.ja=null};Jg.prototype.get=function(){if(0<this.ud){this.ud--;var a=this.ja;this.ja=a.next;a.next=null}else a=this.ii();return a};Jg.prototype.put=function(a){this.Gi(a);this.ud<this.ui&&(this.ud++,a.next=this.ja,this.ja=a)};var Kg=!Cc||9<=Number(Nc),Lg=!Ec&&!Cc||Cc&&9<=Number(Nc)||Ec&&Mc("1.9.1");var Mg=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};k=Mg.prototype;k.clone=function(){return new Mg(this.x,this.y)};k.toString=function(){return"("+this.x+", "+this.y+")"};k.equals=function(a){return a instanceof Mg&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};k.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};k.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
k.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};k.translate=function(a,b){a instanceof Mg?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};k.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var Ng=function(a,b){this.width=a;this.height=b};k=Ng.prototype;k.clone=function(){return new Ng(this.width,this.height)};k.toString=function(){return"("+this.width+" x "+this.height+")"};k.aspectRatio=function(){return this.width/this.height};k.isEmpty=function(){return!(this.width*this.height)};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var Pg=function(a,b){Db(b,function(c,d){c&&"object"==typeof c&&c.Ab&&(c=c.yb());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Og.hasOwnProperty(d)?a.setAttribute(Og[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},Og={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"},Rg=function(a,b,c){return Qg(document,arguments)},Qg=function(a,b){var c=String(b[0]),d=b[1];if(!Kg&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',wc(d.name),'"');if(d.type){c.push(' type="',wc(d.type),'"');var e={};Rb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=Sg(a,c);d&&("string"===typeof d?c.className=d:u(d)?c.className=d.join(" "):Pg(c,d));2<b.length&&Tg(a,c,b,2);return c},Tg=function(a,b,c,d){function e(g){g&&b.appendChild("string"===typeof g?a.createTextNode(g):
g)}for(;d<c.length;d++){var f=c[d];!Aa(f)||v(f)&&0<f.nodeType?e(f):Ya(Ug(f)?kb(f):f,e)}},Sg=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},Vg=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Wg=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a},Xg=function(a){B(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Ug=function(a){if(a&&"number"==typeof a.length){if(v(a))return"function"==
typeof a.item||"string"==typeof a.item;if(Ca(a))return"function"==typeof a.item}return!1},Yg=function(a){this.fd=a||t.document||document};k=Yg.prototype;k.getElementsByTagName=function(a,b){return(b||this.fd).getElementsByTagName(String(a))};k.hi=function(a,b,c){return Qg(this.fd,arguments)};k.createElement=function(a){return Sg(this.fd,a)};k.createTextNode=function(a){return this.fd.createTextNode(String(a))};
k.appendChild=function(a,b){B(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};k.append=function(a,b){Tg(Xg(a),a,arguments,1)};k.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
k.removeNode=Vg;k.Cg=function(){return Lg&&void 0!=(void 0).children?(void 0).children:Za((void 0).childNodes,function(a){return 1==a.nodeType})};k.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var Zg=function(a){t.setTimeout(function(){throw a;},0)},$g,ah=function(){var a=t.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Cb("Presto")&&(a=function(){var e=Sg(document,"IFRAME");e.style.display="none";tc(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(sc());e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;
e=x(function(m){if(("*"==h||m.origin==h)&&m.data==g)this.port1.onmessage()},this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}});if("undefined"!==typeof a&&!Cb("Trident")&&!Cb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.$f;c.$f=null;e()}};return function(e){d.next={$f:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in Sg(document,"SCRIPT")?function(e){var f=
Sg(document,"SCRIPT");f.onreadystatechange=function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e();e=null};document.documentElement.appendChild(f)}:function(e){t.setTimeout(e,0)}};var bh=function(){this.Od=this.Pb=null},dh=new Jg(function(){return new ch},function(a){a.reset()});bh.prototype.add=function(a,b){var c=dh.get();c.set(a,b);this.Od?this.Od.next=c:(B(!this.Pb),this.Pb=c);this.Od=c};bh.prototype.remove=function(){var a=null;this.Pb&&(a=this.Pb,this.Pb=this.Pb.next,this.Pb||(this.Od=null),a.next=null);return a};var ch=function(){this.next=this.scope=this.Ce=null};ch.prototype.set=function(a,b){this.Ce=a;this.scope=b;this.next=null};
ch.prototype.reset=function(){this.next=this.scope=this.Ce=null};var ih=function(a,b){eh||fh();gh||(eh(),gh=!0);hh.add(a,b)},eh,fh=function(){if(t.Promise&&t.Promise.resolve){var a=t.Promise.resolve(void 0);eh=function(){a.then(jh)}}else eh=function(){var b=jh;!Ca(t.setImmediate)||t.Window&&t.Window.prototype&&!Cb("Edge")&&t.Window.prototype.setImmediate==t.setImmediate?($g||($g=ah()),$g(b)):t.setImmediate(b)}},gh=!1,hh=new bh,jh=function(){for(var a;a=hh.remove();){try{a.Ce.call(a.scope)}catch(b){Zg(b)}dh.put(a)}gh=!1};var kh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var nh=function(a){this.V=0;this.sa=void 0;this.Sb=this.Ta=this.N=null;this.ld=this.ye=!1;if(a!=ya)try{var b=this;a.call(void 0,function(c){lh(b,2,c)},function(c){if(!(c instanceof mh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}lh(b,3,c)})}catch(c){lh(this,3,c)}},oh=function(){this.next=this.context=this.Zb=this.Fb=this.pb=null;this.$c=!1};oh.prototype.reset=function(){this.context=this.Zb=this.Fb=this.pb=null;this.$c=!1};
var ph=new Jg(function(){return new oh},function(a){a.reset()}),qh=function(a,b,c){var d=ph.get();d.Fb=a;d.Zb=b;d.context=c;return d};nh.prototype.then=function(a,b,c){null!=a&&Ua(a,"opt_onFulfilled should be a function.");null!=b&&Ua(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return rh(this,Ca(a)?a:null,Ca(b)?b:null,c)};nh.prototype.$goog_Thenable=!0;
nh.prototype.cancel=function(a){if(0==this.V){var b=new mh(a);ih(function(){sh(this,b)},this)}};
var sh=function(a,b){if(0==a.V)if(a.N){var c=a.N;if(c.Ta){for(var d=0,e=null,f=null,g=c.Ta;g&&(g.$c||(d++,g.pb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.V&&1==d?sh(c,b):(f?(d=f,B(c.Ta),B(null!=d),d.next==c.Sb&&(c.Sb=d),d.next=d.next.next):th(c),uh(c,e,3,b)))}a.N=null}else lh(a,3,b)},wh=function(a,b){a.Ta||2!=a.V&&3!=a.V||vh(a);B(null!=b.Fb);a.Sb?a.Sb.next=b:a.Ta=b;a.Sb=b},rh=function(a,b,c,d){var e=qh(null,null,null);e.pb=new nh(function(f,g){e.Fb=b?function(h){try{var m=b.call(d,h);f(m)}catch(p){g(p)}}:
f;e.Zb=c?function(h){try{var m=c.call(d,h);void 0===m&&h instanceof mh?g(h):f(m)}catch(p){g(p)}}:g});e.pb.N=a;wh(a,e);return e.pb};nh.prototype.Oi=function(a){B(1==this.V);this.V=0;lh(this,2,a)};nh.prototype.Pi=function(a){B(1==this.V);this.V=0;lh(this,3,a)};
var lh=function(a,b,c){if(0==a.V){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.V=1;a:{var d=c,e=a.Oi,f=a.Pi;if(d instanceof nh){null!=e&&Ua(e,"opt_onFulfilled should be a function.");null!=f&&Ua(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");wh(d,qh(e||ya,f||null,a));var g=!0}else if(kh(d))d.then(e,f,a),g=!0;else{if(v(d))try{var h=d.then;if(Ca(h)){xh(d,h,e,f,a);g=!0;break a}}catch(m){f.call(a,m);g=!0;break a}g=
!1}}g||(a.sa=c,a.V=b,a.N=null,vh(a),3!=b||c instanceof mh||yh(a,c))}},xh=function(a,b,c,d,e){var f=!1,g=function(m){f||(f=!0,c.call(e,m))},h=function(m){f||(f=!0,d.call(e,m))};try{b.call(a,g,h)}catch(m){h(m)}},vh=function(a){a.ye||(a.ye=!0,ih(a.li,a))},th=function(a){var b=null;a.Ta&&(b=a.Ta,a.Ta=b.next,b.next=null);a.Ta||(a.Sb=null);null!=b&&B(null!=b.Fb);return b};nh.prototype.li=function(){for(var a;a=th(this);)uh(this,a,this.V,this.sa);this.ye=!1};
var uh=function(a,b,c,d){if(3==c&&b.Zb&&!b.$c)for(;a&&a.ld;a=a.N)a.ld=!1;if(b.pb)b.pb.N=null,zh(b,c,d);else try{b.$c?b.Fb.call(b.context):zh(b,c,d)}catch(e){Ah.call(null,e)}ph.put(b)},zh=function(a,b,c){2==b?a.Fb.call(a.context,c):a.Zb&&a.Zb.call(a.context,c)},yh=function(a,b){a.ld=!0;ih(function(){a.ld&&Ah.call(null,b)})},Ah=Zg,mh=function(a){Na.call(this,a)};A(mh,Na);mh.prototype.name="cancel";var Bh=function(a,b,c){if(Ca(a))c&&(a=x(a,c));else if(a&&"function"==typeof a.handleEvent)a=x(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:t.setTimeout(a,b||0)};var Ch=function(a,b,c){Ka.call(this);this.vi=null!=c?x(a,c):a;this.si=b;this.ei=x(this.Di,this);this.ae=[]};A(Ch,Ka);k=Ch.prototype;k.fc=!1;k.Kc=0;k.Lb=null;k.Be=function(a){this.ae=arguments;this.Lb||this.Kc?this.fc=!0:Dh(this)};k.stop=function(){this.Lb&&(t.clearTimeout(this.Lb),this.Lb=null,this.fc=!1,this.ae=[])};k.pause=function(){this.Kc++};k.resume=function(){this.Kc--;this.Kc||!this.fc||this.Lb||(this.fc=!1,Dh(this))};k.C=function(){Ch.F.C.call(this);this.stop()};
k.Di=function(){this.Lb=null;this.fc&&!this.Kc&&(this.fc=!1,Dh(this))};var Dh=function(a){a.Lb=Bh(a.ei,a.si);a.vi.apply(null,a.ae)};/*
Portions of this code are from MochiKit, received by
The Closure Authors under the MIT license. All other code is Copyright
2005-2009 The Closure Authors. All Rights Reserved.
*/
var Fh=function(a){var b=Eh;this.Bd=[];this.ah=b;this.ng=a||null;this.zc=this.Wb=!1;this.sa=void 0;this.wf=this.Uf=this.de=!1;this.Jd=0;this.N=null;this.fe=0};Fh.prototype.cancel=function(a){if(this.Wb)this.sa instanceof Fh&&this.sa.cancel();else{if(this.N){var b=this.N;delete this.N;a?b.cancel(a):(b.fe--,0>=b.fe&&b.cancel())}this.ah?this.ah.call(this.ng,this):this.wf=!0;this.Wb||Gh(this,new Hh(this))}};Fh.prototype.cg=function(a,b){this.de=!1;Ih(this,a,b)};
var Ih=function(a,b,c){a.Wb=!0;a.sa=c;a.zc=!b;Jh(a)},Lh=function(a){if(a.Wb){if(!a.wf)throw new Kh(a);a.wf=!1}};Fh.prototype.callback=function(a){Lh(this);Mh(a);Ih(this,!0,a)};var Gh=function(a,b){Lh(a);Mh(b);Ih(a,!1,b)},Mh=function(a){B(!(a instanceof Fh),"An execution sequence may not be initiated with a blocking Deferred.")},Nh=function(a,b,c){B(!a.Uf,"Blocking Deferreds can not be re-used");a.Bd.push([b,c,void 0]);a.Wb&&Jh(a)};
Fh.prototype.then=function(a,b,c){var d,e,f=new nh(function(g,h){d=g;e=h});Nh(this,d,function(g){g instanceof Hh?f.cancel():e(g)});return f.then(a,b,c)};Fh.prototype.$goog_Thenable=!0;
var Oh=function(a){return ab(a.Bd,function(b){return Ca(b[1])})},Jh=function(a){if(a.Jd&&a.Wb&&Oh(a)){var b=a.Jd,c=Ph[b];c&&(t.clearTimeout(c.ca),delete Ph[b]);a.Jd=0}a.N&&(a.N.fe--,delete a.N);b=a.sa;for(var d=c=!1;a.Bd.length&&!a.de;){var e=a.Bd.shift(),f=e[0],g=e[1];e=e[2];if(f=a.zc?g:f)try{var h=f.call(e||a.ng,b);void 0!==h&&(a.zc=a.zc&&(h==b||h instanceof Error),a.sa=b=h);if(kh(b)||"function"===typeof t.Promise&&b instanceof t.Promise)d=!0,a.de=!0}catch(m){b=m,a.zc=!0,Oh(a)||(c=!0)}}a.sa=b;d&&
(h=x(a.cg,a,!0),d=x(a.cg,a,!1),b instanceof Fh?(Nh(b,h,d),b.Uf=!0):b.then(h,d));c&&(b=new Qh(b),Ph[b.ca]=b,a.Jd=b.ca)},Kh=function(){Na.call(this)};A(Kh,Na);Kh.prototype.message="Deferred has already fired";Kh.prototype.name="AlreadyCalledError";var Hh=function(){Na.call(this)};A(Hh,Na);Hh.prototype.message="Deferred was canceled";Hh.prototype.name="CanceledError";var Qh=function(a){this.ca=t.setTimeout(x(this.Ni,this),0);this.hd=a};
Qh.prototype.Ni=function(){B(Ph[this.ca],"Cannot throw an error that is not scheduled.");delete Ph[this.ca];throw this.hd;};var Ph={};var Uh=function(a){var b={},c=b.document||document,d=cc(a).toString(),e=Sg(document,"SCRIPT"),f={th:e,Pc:void 0},g=new Fh(f),h=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(h=window.setTimeout(function(){Rh(e,!0);Gh(g,new Sh(1,"Timeout reached for loading script "+d))},m),f.Pc=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(Rh(e,b.nk||!1,h),g.callback(null))};e.onerror=function(){Rh(e,!0,h);Gh(g,new Sh(0,"Error while loading script "+d))};
f=b.attributes||{};Rb(f,{type:"text/javascript",charset:"UTF-8"});Pg(e,f);uc(e,a);Th(c).appendChild(e)},Th=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},Eh=function(){if(this&&this.th){var a=this.th;a&&"SCRIPT"==a.tagName&&Rh(a,!0,this.Pc)}},Rh=function(a,b,c){null!=c&&t.clearTimeout(c);a.onload=ya;a.onerror=ya;a.onreadystatechange=ya;b&&window.setTimeout(function(){Vg(a)},0)},Sh=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=
": "+b);Na.call(this,c);this.code=a};A(Sh,Na);var Wh=function(a){return(new Vh(void 0)).X(a)},Vh=function(a){this.zd=a};Vh.prototype.X=function(a){var b=[];Xh(this,a,b);return b.join("")};
var Xh=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(u(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],Xh(a,a.zd?a.zd.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),Yh(d,c),c.push(":"),Xh(a,a.zd?a.zd.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":Yh(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);}}},Zh={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},$h=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Yh=function(a,b){b.push('"',a.replace($h,function(c){var d=Zh[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),
Zh[c]=d);return d}),'"')};var ai=function(a,b,c){this.reset(a,b,c,void 0,void 0)};ai.prototype.rg=null;var bi=0;ai.prototype.reset=function(a,b,c,d,e){"number"==typeof e||bi++;d||Ja();this.Dc=a;delete this.rg};ai.prototype.vh=function(a){this.Dc=a};var ci=function(a){this.Ai=a;this.Fg=this.je=this.Dc=this.N=null},di=function(a,b){this.name=a;this.value=b};di.prototype.toString=function(){return this.name};var ei=new di("SEVERE",1E3),fi=new di("INFO",800),hi=new di("CONFIG",700),ii=new di("FINE",500);ci.prototype.getParent=function(){return this.N};ci.prototype.Cg=function(){this.je||(this.je={});return this.je};ci.prototype.vh=function(a){this.Dc=a};
var ji=function(a){if(a.Dc)return a.Dc;if(a.N)return ji(a.N);Ra("Root logger has no level set.");return null};ci.prototype.log=function(a,b,c){if(a.value>=ji(this).value)for(Ca(b)&&(b=b()),a=new ai(a,String(b),this.Ai),c&&(a.rg=c),c=this;c;){var d=c,e=a;if(d.Fg)for(var f=0;b=d.Fg[f];f++)b(e);c=c.getParent()}};ci.prototype.info=function(a,b){this.log(fi,a,b)};
var ki={},li=null,mi=function(a){li||(li=new ci(""),ki[""]=li,li.vh(hi));var b;if(!(b=ki[a])){b=new ci(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=mi(a.substr(0,c));c.Cg()[d]=b;b.N=c;ki[a]=b}return b};var ni=function(a,b){a&&a.log(ii,b,void 0)};var oi=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var pi=function(){};pi.prototype.Yf=null;var ri=function(a){var b;(b=a.Yf)||(b={},qi(a)&&(b[0]=!0,b[1]=!0),b=a.Yf=b);return b};var si,ti=function(){};A(ti,pi);var ui=function(a){return(a=qi(a))?new ActiveXObject(a):new XMLHttpRequest},qi=function(a){if(!a.Kg&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.Kg=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Kg};si=new ti;var vi=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/\\#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,wi=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var xi=function(a){rd.call(this);this.headers=new yd;this.Qd=a||null;this.za=!1;this.Pd=this.l=null;this.Cc=this.Sg=this.rd="";this.Bb=this.Le=this.pd=this.we=!1;this.hc=0;this.Gd=null;this.dc="";this.Ld=this.Ei=this.Hh=!1};A(xi,rd);var yi=xi.prototype,zi=mi("goog.net.XhrIo");yi.na=zi;var Ai=/^https?$/i,Bi=["POST","PUT"],Ci=[];xi.prototype.gi=function(){this.Ka();ib(Ci,this)};
xi.prototype.send=function(a,b,c,d){if(this.l)throw Error("[goog.net.XhrIo] Object is active with another request="+this.rd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.rd=a;this.Cc="";this.Sg=b;this.we=!1;this.za=!0;this.l=this.Qd?ui(this.Qd):ui(si);this.Pd=this.Qd?ri(this.Qd):ri(si);this.l.onreadystatechange=x(this.eh,this);this.Ei&&"onprogress"in this.l&&(this.l.onprogress=x(function(f){this.dh(f,!0)},this),this.l.upload&&(this.l.upload.onprogress=x(this.dh,this)));try{ni(this.na,Di(this,"Opening Xhr")),
this.Le=!0,this.l.open(b,String(a),!0),this.Le=!1}catch(f){ni(this.na,Di(this,"Error opening Xhr: "+f.message));this.hd(5,f);return}a=c||"";var e=this.headers.clone();d&&Fd(d,function(f,g){e.set(g,f)});d=eb(e.Da());c=t.FormData&&a instanceof t.FormData;!fb(Bi,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.l.setRequestHeader(g,f)},this);this.dc&&(this.l.responseType=this.dc);"withCredentials"in this.l&&this.l.withCredentials!==this.Hh&&
(this.l.withCredentials=this.Hh);try{Ei(this),0<this.hc&&(this.Ld=Fi(this.l),ni(this.na,Di(this,"Will abort after "+this.hc+"ms if incomplete, xhr2 "+this.Ld)),this.Ld?(this.l.timeout=this.hc,this.l.ontimeout=x(this.Pc,this)):this.Gd=Bh(this.Pc,this.hc,this)),ni(this.na,Di(this,"Sending request")),this.pd=!0,this.l.send(a),this.pd=!1}catch(f){ni(this.na,Di(this,"Send error: "+f.message)),this.hd(5,f)}};
var Fi=function(a){return Cc&&Mc(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},db=function(a){return"content-type"==a.toLowerCase()};xi.prototype.Pc=function(){"undefined"!=typeof va&&this.l&&(this.Cc="Timed out after "+this.hc+"ms, aborting",ni(this.na,Di(this,this.Cc)),this.dispatchEvent("timeout"),this.abort(8))};xi.prototype.hd=function(a,b){this.za=!1;this.l&&(this.Bb=!0,this.l.abort(),this.Bb=!1);this.Cc=b;Gi(this);Hi(this)};
var Gi=function(a){a.we||(a.we=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};xi.prototype.abort=function(){this.l&&this.za&&(ni(this.na,Di(this,"Aborting")),this.za=!1,this.Bb=!0,this.l.abort(),this.Bb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Hi(this))};xi.prototype.C=function(){this.l&&(this.za&&(this.za=!1,this.Bb=!0,this.l.abort(),this.Bb=!1),Hi(this,!0));xi.F.C.call(this)};xi.prototype.eh=function(){this.La||(this.Le||this.pd||this.Bb?Ii(this):this.Ci())};
xi.prototype.Ci=function(){Ii(this)};
var Ii=function(a){if(a.za&&"undefined"!=typeof va)if(a.Pd[1]&&4==a.hb()&&2==a.getStatus())ni(a.na,Di(a,"Local request error detected and ignored"));else if(a.pd&&4==a.hb())Bh(a.eh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.hb()){ni(a.na,Di(a,"Request complete"));a.za=!1;try{var b=a.getStatus(),c;if(!(c=oi(b))){var d;if(d=0===b){var e=String(a.rd).match(vi)[1]||null;if(!e&&t.self&&t.self.location){var f=t.self.location.protocol;e=f.substr(0,f.length-1)}d=!Ai.test(e?e.toLowerCase():"")}c=
d}if(c)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var g=2<a.hb()?a.l.statusText:""}catch(h){ni(a.na,"Can not get status: "+h.message),g=""}a.Cc=g+" ["+a.getStatus()+"]";Gi(a)}}finally{Hi(a)}}};xi.prototype.dh=function(a,b){B("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Ji(a,"progress"));this.dispatchEvent(Ji(a,b?"downloadprogress":"uploadprogress"))};
var Ji=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Hi=function(a,b){if(a.l){Ei(a);var c=a.l,d=a.Pd[0]?ya:null;a.l=null;a.Pd=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.na)&&a.log(ei,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}},Ei=function(a){a.l&&a.Ld&&(a.l.ontimeout=null);a.Gd&&(t.clearTimeout(a.Gd),a.Gd=null)};xi.prototype.Pg=function(){return!!this.l};
xi.prototype.hb=function(){return this.l?this.l.readyState:0};xi.prototype.getStatus=function(){try{return 2<this.hb()?this.l.status:-1}catch(a){return-1}};
var Ki=function(a){try{if(!a.l)return null;if("response"in a.l)return a.l.response;switch(a.dc){case "":case "text":return a.l.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.l)return a.l.mozResponseArrayBuffer}var b=a.na;b&&b.log(ei,"Response type "+a.dc+" is not supported on this browser",void 0);return null}catch(c){return ni(a.na,"Can not get response: "+c.message),null}};
xi.prototype.getResponseHeader=function(a){if(this.l&&4==this.hb())return a=this.l.getResponseHeader(a),null===a?void 0:a};xi.prototype.getAllResponseHeaders=function(){return this.l&&4==this.hb()?this.l.getAllResponseHeaders()||"":""};
var Li=function(a){var b={};a=a.getAllResponseHeaders().split("\r\n");for(var c=0;c<a.length;c++)if(!/^[\s\xa0]*$/.test(a[c])){var d=xc(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}return Fb(b,function(g){return g.join(", ")})},Di=function(a,b){return b+" ["+a.Sg+" "+a.rd+" "+a.getStatus()+"]"};var Mi=function(a,b){this.Ua=this.Nb=this.jb="";this.ac=null;this.vb=this.Ya="";this.ua=this.ti=!1;if(a instanceof Mi){this.ua=void 0!==b?b:a.ua;Ni(this,a.jb);var c=a.Nb;Oi(this);this.Nb=c;c=a.Ua;Oi(this);this.Ua=c;Pi(this,a.ac);this.setPath(a.getPath());Qi(this,a.xa.clone());a=a.vb;Oi(this);this.vb=a}else a&&(c=String(a).match(vi))?(this.ua=!!b,Ni(this,c[1]||"",!0),a=c[2]||"",Oi(this),this.Nb=Ri(a),a=c[3]||"",Oi(this),this.Ua=Ri(a,!0),Pi(this,c[4]),this.setPath(c[5]||"",!0),Qi(this,c[6]||"",!0),
a=c[7]||"",Oi(this),this.vb=Ri(a)):(this.ua=!!b,this.xa=new Si(null,this.ua))};
Mi.prototype.toString=function(){var a=[],b=this.jb;b&&a.push(Ti(b,Ui,!0),":");var c=this.Ua;if(c||"file"==b)a.push("//"),(b=this.Nb)&&a.push(Ti(b,Ui,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.ac,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Ua&&"/"!=c.charAt(0)&&a.push("/"),a.push(Ti(c,"/"==c.charAt(0)?Vi:Wi,!0));(c=this.xa.toString())&&a.push("?",c);(c=this.vb)&&a.push("#",Ti(c,Xi));return a.join("")};
Mi.prototype.resolve=function(a){var b=this.clone(),c=!!a.jb;c?Ni(b,a.jb):c=!!a.Nb;if(c){var d=a.Nb;Oi(b);b.Nb=d}else c=!!a.Ua;c?(d=a.Ua,Oi(b),b.Ua=d):c=null!=a.ac;d=a.getPath();if(c)Pi(b,a.ac);else if(c=!!a.Ya){if("/"!=d.charAt(0))if(this.Ua&&!this.Ya)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=[],g=0;g<e.length;){var h=e[g++];
"."==h?d&&g==e.length&&f.push(""):".."==h?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=""!==a.xa.toString();c?Qi(b,a.xa.clone()):c=!!a.vb;c&&(a=a.vb,Oi(b),b.vb=a);return b};Mi.prototype.clone=function(){return new Mi(this)};
var Ni=function(a,b,c){Oi(a);a.jb=c?Ri(b,!0):b;a.jb&&(a.jb=a.jb.replace(/:$/,""))},Pi=function(a,b){Oi(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.ac=b}else a.ac=null};Mi.prototype.getPath=function(){return this.Ya};Mi.prototype.setPath=function(a,b){Oi(this);this.Ya=b?Ri(a,!0):a;return this};var Qi=function(a,b,c){Oi(a);b instanceof Si?(a.xa=b,a.xa.tf(a.ua)):(c||(b=Ti(b,Yi)),a.xa=new Si(b,a.ua))};Mi.prototype.getQuery=function(){return this.xa.toString()};
Mi.prototype.removeParameter=function(a){Oi(this);this.xa.remove(a);return this};var Oi=function(a){if(a.ti)throw Error("Tried to modify a read-only Uri");};Mi.prototype.tf=function(a){this.ua=a;this.xa&&this.xa.tf(a)};
var Zi=function(a){return a instanceof Mi?a.clone():new Mi(a,void 0)},Ri=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ti=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,$i),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},$i=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Ui=/[#\/\?@]/g,Wi=/[#\?:]/g,Vi=/[#\?]/g,Yi=/[#\?@]/g,Xi=/#/g,Si=function(a,b){this.I=this.M=null;this.qa=a||null;this.ua=!!b},
aj=function(a){a.M||(a.M=new yd,a.I=0,a.qa&&wi(a.qa,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Si.prototype;k.L=function(){aj(this);return this.I};k.add=function(a,b){aj(this);this.qa=null;a=bj(this,a);var c=this.M.get(a);c||this.M.set(a,c=[]);c.push(b);this.I=Sa(this.I)+1;return this};k.remove=function(a){aj(this);a=bj(this,a);return this.M.eb(a)?(this.qa=null,this.I=Sa(this.I)-this.M.get(a).length,this.M.remove(a)):!1};k.clear=function(){this.M=this.qa=null;this.I=0};
k.isEmpty=function(){aj(this);return 0==this.I};k.eb=function(a){aj(this);a=bj(this,a);return this.M.eb(a)};k.rc=function(a){var b=this.S();return fb(b,a)};k.forEach=function(a,b){aj(this);this.M.forEach(function(c,d){Ya(c,function(e){a.call(b,e,d,this)},this)},this)};k.Da=function(){aj(this);for(var a=this.M.S(),b=this.M.Da(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
k.S=function(a){aj(this);var b=[];if("string"===typeof a)this.eb(a)&&(b=jb(b,this.M.get(bj(this,a))));else{a=this.M.S();for(var c=0;c<a.length;c++)b=jb(b,a[c])}return b};k.set=function(a,b){aj(this);this.qa=null;a=bj(this,a);this.eb(a)&&(this.I=Sa(this.I)-this.M.get(a).length);this.M.set(a,[b]);this.I=Sa(this.I)+1;return this};k.get=function(a,b){if(!a)return b;a=this.S(a);return 0<a.length?String(a[0]):b};
k.setValues=function(a,b){this.remove(a);0<b.length&&(this.qa=null,this.M.set(bj(this,a),kb(b)),this.I=Sa(this.I)+b.length)};k.toString=function(){if(this.qa)return this.qa;if(!this.M)return"";for(var a=[],b=this.M.Da(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.S(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.qa=a.join("&")};
k.clone=function(){var a=new Si;a.qa=this.qa;this.M&&(a.M=this.M.clone(),a.I=this.I);return a};var bj=function(a,b){b=String(b);a.ua&&(b=b.toLowerCase());return b};Si.prototype.tf=function(a){a&&!this.ua&&(aj(this),this.qa=null,this.M.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.ua=a};Si.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Fd(arguments[b],function(c,d){this.add(d,c)},this)};var cj,dj=/^\/(download|table).*/,H=function(a,b){ej();this.callback=a;this.T=new fj(!a,b)},I=function(a,b){b instanceof Promise?a.callback&&b.then(function(c){return a.callback(c)})["catch"](function(c){return a.callback(void 0,c)}):b.then(function(c){b=c});return b},gj=function(){return"projects/"+cj};k=H.prototype;k.lc=function(){return new tg(this.T)};k.R=function(){return new vg(this.T)};k.Ea=function(){return new Bg(this.T)};k.value=function(){return new Eg(this.T)};k.maps=function(){return new Ag(this.T)};
k.map=function(){return new zg(this.T)};k.image=function(){return new yg(this.T)};k.table=function(){return new Cg(this.T)};k.video=function(){return new Gg(this.T)};var fj=function(a,b){this.sync=a=void 0===a?!1:a;this.ph=null!=b?b:a?5:10};n(fj,he);
fj.prototype.send=function(a,b){var c=this;ge(a);var d=a.path||"",e=hj()+d,f=J(a.o||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=K(e,f,void 0,a.u,g,this.ph);d=b?Td(b,d):d;var h=function(m){return{then:function(p){return h(p(m))}}};return h(d)}return(new Promise(function(m,p){K(e,f,function(q,w){w?p(w):m(q)},a.u,g,c.ph)})).then(function(m){return b?Td(b,m):m})};var jj=function(a){H.call(this,a);this.T=new ij};n(jj,H);
jj.prototype.send=function(a,b){var c=this,d=hj()+"/batch",e=a.map(function(g){var h=l(g);g=h.next().value;h=l(h.next().value);var m=h.next().value;h.next();return"--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <"+g+">\r\n\r\n"+m+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",f=function(g){var h={};a.forEach(function(m){var p=l(m);m=p.next().value;p=l(p.next().value);p.next();p=p.next().value;null!=g[m]&&(h[m]=
Td(p,g[m]))});return b?b(h):h};return this.callback?(K(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(K(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var ij=function(){};n(ij,he);
ij.prototype.send=function(a,b){var c=[a.u+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=kj();null!=d&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
var lj=function(a,b,c){a=l(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},hj=function(){var a=mj.replace(/\/api$/,"");return"window"in t&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},sj=function(a,b,c){nj&&oj&&nj({client_id:String(oj),
immediate:!0,scope:pj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if(L&&"window"in t)try{qj(function(){try{t.gapi.auth.setToken(d),rj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else rj(a,b,d)})},kj=function(){tj&&0<=Ja()-tj&&(tj=uj=null);return uj},vj=function(a,b){oj=a;pj=b},ej=function(a,b,c){null!=a?mj=a:wj||(mj="https://earthengine.googleapis.com/api");null!=b?xj=b:wj||(xj="https://earthengine.googleapis.com");void 0!==c&&(yj=c);L&&(cj=cj||"earthengine-legacy");
wj=!0},K=function(a,b,c,d,e,f){ej();var g=zj,h="application/x-www-form-urlencoded";e&&(h="application/json",d&&d.startsWith("multipart")&&(h=d,d="POST"));d=d||"POST";h={"Content-Type":h};var m=dj.test(a);if(L&&!m){var p="0.1.211";"0.1.211"===p&&(p="latest");h["x-goog-api-client"]="ee-js/"+p}p=kj();if(null!=p)h.Authorization=p;else if(c&&nj&&oj)return sj(function(){Aj(g,function(){K(a,b,c,d)})}),null;b=b?b.clone():new Si;null!=Fj&&b.add("key",Fj);L?(g&&(h["X-Earth-Engine-Computation-Profile"]="1"),
cj&&"earthengine-legacy"!==cj&&!m&&(h["X-Goog-User-Project"]=cj)):g&&b.add("profiling","1");b=Gj(b,a);null!=yj&&(h["X-XSRF-Token"]=yj);null!=Hj&&(h["X-Earth-Engine-App-ID-Token"]=Hj);m=e||null;p=b?b.toString():"";"POST"===d&&void 0===e?m=p:/^[\s\xa0]*$/.test(p)||(a+=-1!=a.indexOf("?")?"&":"?",a+=p);e=a.startsWith("/")?mj+a:a;if(c)return Ij.push(Jj(e,c,d,m,h,f)),Kj.Be(),null;p=function(z,E){this.setRequestHeader&&this.setRequestHeader(E,z)};var q=0;for(f=null!=f?f:5;;){var w=ui(si);w.open(d,e,!1);
Db(h,p,w);w.send(m);if(429!=w.status||q>f)break;q++}return Lj(w.status,function(z){try{return w.getResponseHeader(z)}catch(E){return null}},w.responseText,g)},Jj=function(a,b,c,d,e,f){var g=0,h={url:a,method:c,content:d,headers:e},m=zj,p=null!=f?f:10;h.callback=function(q){q=q.target;if(429==q.getStatus()&&g<p)return g++,setTimeout(function(){Ij.push(h);Kj.Be()},Math.min(12E4,1E3*Math.pow(2,g))),null;var w=Lj,z=q.getStatus(),E=x(q.getResponseHeader,q);try{var M=q.l?q.l.responseText:""}catch(Z){ni(q.na,
"Can not get responseText: "+Z.message),M=""}return w(z,E,M,m,b)};return h},Aj=function(a,b){var c=zj;try{zj=a,b.call(void 0)}finally{zj=c}},Lj=function(a,b,c,d,e){var f=d?b("X-Earth-Engine-Computation-Profile"):"";f&&d&&d(f);var g=function(E){return L?E:E.data},h=function(E){try{var M=JSON.parse(E);return v(M)&&"error"in M&&"message"in M.error?M.error.message:{parsed:M}}catch(Z){return"Invalid JSON: "+E}},m=function(E){if(0===E)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";
if(200>E||300<=E)return"Server returned HTTP code: "+E},p;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=h(c),b.parsed){var q=g(b.parsed);void 0===q&&(p="Malformed response: "+c)}else p=b;else if("multipart/mixed"===d){q={};var w=[];lj(b,c,function(E,M,Z){Z=h(Z);Z.parsed&&(q[E]=g(Z.parsed));(M=(Z.parsed?"":Z)||m(M))&&w.push(E+": "+M)});w.length&&(p=w.join("\n"))}else var z="Response was unexpectedly not JSON, but "+d;p=p||m(a)||z;if(e)return e(q,
p),null;if(!p)return q;throw Error(p);},qj=function(a){var b=function(){t.gapi.config.update("client/cors",!0);nj||(nj=t.gapi.auth.authorize);a()};if(v(t.gapi)&&v(t.gapi.auth)&&Ca(t.gapi.auth.authorize))b();else{for(var c=Ja().toString(36);c in t;)c+="_";t[c]=function(){delete t[c];b()};Uh(gc({onload:c}))}},rj=function(a,b,c){if(c.access_token){b=c.token_type+" "+c.access_token;if(c.expires_in||0===c.expires_in){c=900*c.expires_in;var d=setTimeout(sj,.9*c);void 0!==d.unref&&d.unref();tj=Ja()+c}uj=
b;a&&a()}else b&&b(c.error||"Unknown error.")},J=function(a){var b=new Si;a=l(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},Ij=[],Kj=new Ch(function(){var a=Ij.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=Mj,g=new xi;Ci.push(g);c&&g.Na("complete",c);g.Gc("ready",g.gi);f&&(g.hc=Math.max(0,f));g.send(b,d,e,a)}0==Ij.length||Kj.Be()},350),mj=null,xj=null,yj=null,Hj=null,Gj=Tb,uj=null,
tj=null,oj=null,pj=[],nj=null,dc=new Wb(Ub,"https://apis.google.com/js/client.js?onload=%{onload}"),Fj=null,L=!0,wj=!1,Mj=0,zj=null;var Nj=function(){},Oj=function(a){if(void 0===a||null===a)a=Od;return new Oe({qb:a})},Pj=function(a){return new Oe({ab:a})},Qj=function(a){return new Oe({ob:new Ne({values:a})})},Rj=function(a){return new Oe({sb:new ef({values:a})})},Sj=function(a,b){return new Oe({fb:new Ff({functionName:a,arguments:b})})},Tj=function(a,b){return new Oe({fb:new Ff({gb:a,arguments:b})})},Uj=function(a,b){return new Oe({wb:new Ef({mc:a,body:b})})},Vj=function(a){if(!a)return"AUTO_JPEG_PNG";a=a.toUpperCase();switch(a){case "JPG":return"JPEG";
case "AUTO":return"AUTO_JPEG_PNG";case "TIF":case "TIFF":case "GEOTIF":case "GEOTIFF":return"GEO_TIFF";case "TF_RECORD":case "TFRECORD":return"TF_RECORD_IMAGE";case "NUMPY":return"NPY";default:return a}},Wj=function(a){if(!a)return"CSV";a=a.toUpperCase();switch(a){case "TF_RECORD":case "TFRECORD":return"TF_RECORD_TABLE";case "JSON":case "GEOJSON":return"GEO_JSON";default:return a}},Xj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');
return a},Yj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(u(a))return a;throw Error("Invalid band list "+a);},bk=function(a){var b=new of,c=!1;"palette"in a&&(c=a.palette,b.Jc="string"===typeof c?c.split(","):c,c=!0);var d=[];if("gain"in a||"bias"in a){if("min"in a||"max"in a)throw Error("Gain and bias can't be specified with min and max");var e=b.Jc?b.Jc.length-1:255;d=Zj(a,"bias","gain").map(function(f){var g=-f.bias/f.gain;return{min:g,max:e/f.gain+g}})}else if("min"in
a||"max"in a)d=Zj(a,"min","max");0!==d.length&&(b.jf=d.map(function(f){return new ff(f)}),c=!0);a=ak(a.gamma);if(1<a.length)throw Error("Only one gamma value is supported");1===a.length&&(b.gamma=a[0],c=!0);return c?b:null},ak=function(a){return a?a.split(",").map(Number):[]},Zj=function(a,b,c){var d=ak(a[b]),e=ak(a[c]);if(0===d.length)return e.map(function(f){var g={};return g[b]=0,g[c]=f,g});if(0===e.length)return d.map(function(f){var g={};return g[b]=f,g[c]=1,g});if(d.length!==e.length)throw Error("Length of "+
b+" and "+c+" must match.");return d.map(function(f,g){var h={};return h[b]=f,h[c]=e[g],h})},ck=function(a){var b=function(g){var h={};h.description=g.description||"";h.type=g.type||"";null!=g.ad&&(h.name=g.ad);void 0!==g.defaultValue&&(h["default"]=g.defaultValue);null!=g.optional&&(h.optional=g.optional);return h},c=function(g){var h={};h.args=(g.arguments||[]).map(b);h.description=g.description||"";h.returns=g.nf||"";null!=g.hidden&&(h.hidden=g.hidden);g.preview&&(h.preview=g.preview);g.deprecated&&
(h.deprecated=g.se);return h},d={};a=l(a.lc||[]);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=e.name.replace(/^algorithms\//,"");d[f]=c(e)}return d},dk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,ek=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,fk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,gk=function(a){return(a=dk.exec(a))?a[1]:"earthengine-legacy"},
hk=function(a){return ek.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+a},jk=function(a){return(a.R||[]).map(ik)},lk=function(a){return(a.images||[]).map(kk)},mk=function(a){switch(a){case "ALGORITHM":return"Algorithm";case "FOLDER":return"Folder";case "IMAGE":return"Image";case "IMAGE_COLLECTION":return"ImageCollection";case "TABLE":return"Table";default:return"Unknown"}},ik=function(a){var b=nk(mk(a.type),a.name),c=Object.assign({},
a.properties||{});a.ya&&(c["system:asset_size"]=Number(a.ya));a.startTime&&(c["system:time_start"]=Date.parse(a.startTime));a.endTime&&(c["system:time_end"]=Date.parse(a.endTime));a.geometry&&(c["system:footprint"]=a.geometry);"string"===typeof a.title&&(c["system:title"]=a.title);"string"===typeof a.description&&(c["system:description"]=a.description);a.Ha&&(b.version=1E3*Date.parse(a.Ha));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,crs:d.J.re,dimensions:void 0,crs_transform:void 0};
if(d.J){if(null!=d.J.nb){var f=d.J.nb;e.crs_transform=[f.pf||0,f.uf||0,f.If||0,f.vf||0,f.qf||0,f.Jf||0]}null!=d.J.dimensions&&(e.dimensions=[d.J.dimensions.width,d.J.dimensions.height])}d.dataType&&(f={type:"PixelType"},f.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.Lc&&(f.min=d.dataType.Lc.min||0,f.max=d.dataType.Lc.max),e.data_type=f);return e}));return b},ok=function(a){var b=new hf,c=Object.assign({},a),d;a=function(e){d=c[e];delete c[e];return d};a("system:asset_size")&&(b.ya=
String(d));a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&(b.endTime=(new Date(Number(d))).toISOString());a("system:footprint")&&(b.geometry=d);"string"===typeof a("system:title")&&(b.title=d);"string"===typeof a("system:description")&&(b.description=d);b.properties=c;return b},kk=function(a){return nk("Image",a.name)},nk=function(a,b){var c={};c.type=a;null!=b&&(a=b.split("/"),b="projects"===a[0]&&"assets"===a[2]&&["earthengine-legacy","earthengine-public"].includes(a[1])?
a.slice(3).join("/"):b,c.id=b);return c},qk=function(a){var b={};a.num&&(b.pageSize=a.num);a.starttime&&(b.startTime=(new Date(a.starttime)).toISOString());a.endtime&&(b.endTime=(new Date(a.endtime)).toISOString());a.bbox&&(b.region=pk(a.bbox));a.region&&(b.region=a.region);a.bbox&&a.region&&console.warn("Multiple request parameters converted to region");var c="id num starttime endtime bbox region".split(" ");a=l(Object.keys(a).filter(function(e){return!c.includes(e)}));for(var d=a.next();!d.done;d=
a.next())console.warn("Unrecognized key "+d.value+" ignored");b.fields="assets(type,path)";return b},pk=function(a){return'{"type":"Polygon","coordinates":[[['+[[0,1],[2,1],[2,3],[0,3],[0,1]].map(function(b){return a[b[0]]+","+a[b[1]]}).join("],[")+"]]]}"},rk=function(a){var b={};(a.bd||[]).forEach(function(f){b[f.ec]=f.Eb});var c=new Set,d=function(f){var g=f.replace(/^group:|^user:|^serviceAccount:/,"");f.startsWith("group:")&&c.add(g);return g};a=b["roles/viewer"]||[];var e=a.filter(function(f){return"allUsers"!==
f});d={owners:(b["roles/owner"]||[]).map(d),writers:(b["roles/editor"]||[]).map(d),readers:e.map(d)};0<c.size&&(d.groups=c);a.length!=e.length&&(d.all_users_can_read=!0);return d},sk=function(a){var b=function(d){return(a[d]||[]).map(function(e){var f="user:";a.groups&&a.groups.has(e)?f="group:":e.match(/[@|\.]gserviceaccount\.com$/)&&(f="serviceAccount:");return f+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{ec:"roles/owner",Eb:b("owners")},{ec:"roles/viewer",Eb:b("readers").concat(c)},{ec:"roles/editor",
Eb:b("writers")}].map(function(d){return new Se(d)});return new ig({bd:b.filter(function(d){return d.Eb.length}),xe:null})},tk=function(a){return"projects/earthengine-legacy/operations/"+a},uk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},vk=function(a){var b={},c=function(f,g){null!=g&&(b[f]=Date.parse(g))},d=function(f){switch(f){case "PENDING":return"READY";case "RUNNING":return"RUNNING";case "CANCELLING":return"CANCEL_REQUESTED";case "SUCCEEDED":return"COMPLETED";case "CANCELLED":return"CANCELLED";
case "FAILED":return"FAILED";default:return"UNKNOWN"}},e=Td(hg,a.Ye||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.qe);c("update_timestamp_ms",e.Ha);c("start_timestamp_ms",e.startTime);a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=uk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.te;b.source_url=e.rf;return b},wk=function(a){var b={started:"OK"};a.name&&(b.taskId=uk(a.name),
b.name=a.name);a.error&&(b.note=a.error.message);return b},xk=function(a){return a.primaryPath?[a.primaryPath].concat(ba(a.additionalPaths||[])):null},Ak=function(a){var b=function(f){var g=Td(Wf,f);g.Mb=xk(f);return g},c=Td(Rf,a);c.name=hk(a.id);c.tilesets=(a.tilesets||[]).map(function(f){var g=Td(Uf,f);g.sources=(f.sources||[]).map(b);return g});c.bands=(a.bands||[]).map(function(f){var g=Td(Sf,f);g.missingData=yk(f.missingData);return g});c.missingData=yk(a.missingData);c.Ue=pb((a.tilesets||[]).map(zk));
c.pyramidingPolicy=a.pyramidingPolicy||null;if(a.properties){var d=Object.assign({},a.properties),e;a=function(f){e=d[f];delete d[f];return e};a("system:time_start")&&(c.startTime=(new Date(Number(e))).toISOString());a("system:time_end")&&(c.endTime=(new Date(Number(e))).toISOString());c.properties=d}return c},zk=function(a){var b=[];if(!u(a.fileBands))return b;var c=function(d){var e=[];null!=d&&u(d.bandId)&&(e=d.bandId.map(function(f){return f||""}));return new Tf({gc:a.id||"",ea:e})};a.fileBands.forEach(function(d){d.maskForAllBands?
b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});return b},Bk=function(a){var b=Td(Zf,a);b.name=hk(a.id);b.sources=(a.sources||[]).map(function(e){var f=Td(mg,e);f.Mb=xk(e);e.maxError&&(f.Cb=e.maxError);return f});if(a.properties){var c=Object.assign({},a.properties),d;a=function(e){d=c[e];delete c[e];return d};a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&(b.endTime=(new Date(Number(d))).toISOString());b.properties=c}return b},yk=
function(a){if(null==a)return null;var b=new Pf({values:[]});null!=a.value&&"number"===typeof a.value&&b.values.push(a.value);u(a.values)&&a.values.map(function(c){"number"===typeof c&&b.values.push(c)});return 0==b.values.length?null:b};var Ck=function(){this.cb=-1};var Dk=function(){this.cb=64;this.Y=Array(4);this.ci=Array(this.cb);this.Id=this.pc=0;this.reset()};A(Dk,Ck);Dk.prototype.reset=function(){this.Y[0]=1732584193;this.Y[1]=4023233417;this.Y[2]=2562383102;this.Y[3]=271733878;this.Id=this.pc=0};
var Ek=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.Y[0];c=a.Y[1];e=a.Y[2];var f=a.Y[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>
15);g=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|
g>>>20);g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<
5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|
g>>>21);g=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+
3873151461&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&
4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&
4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.Y[0]=a.Y[0]+b&4294967295;a.Y[1]=a.Y[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.Y[2]=a.Y[2]+e&4294967295;a.Y[3]=a.Y[3]+f&4294967295};
Dk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.cb,d=this.ci,e=this.pc,f=0;f<b;){if(0==e)for(;f<=c;)Ek(this,a,f),f+=this.cb;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.cb){Ek(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.cb){Ek(this,d);e=0;break}}this.pc=e;this.Id+=b};
Dk.prototype.digest=function(){var a=Array((56>this.pc?this.cb:2*this.cb)-this.pc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.Id;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.Y[b]>>>d&255;return a};var Fk=function(a){this.Uc="__ee_hash__";this.qd=!1!==a;this.Oa=[];this.ta={};this.Kf=[];this.nd=new WeakMap};y("ee.Serializer",Fk);var Gk=new Vh,Hk=new Dk,Jk=function(a,b){return Ik(new Fk(void 0!==b?b:!0),a)};y("ee.Serializer.encode",Jk);var Kk=function(a){return Gk.X(Jk(a))};y("ee.Serializer.toJSON",Kk);var Mk=function(a){return Lk(Jk(a,!1))};y("ee.Serializer.toReadableJSON",Mk);
var Lk=function(a){return"JSON"in t?t.JSON.stringify(a,null," "):Gk.X(a)},Ik=function(a,b){b=a.gd(b);a.qd&&(b=v(b)&&"ValueRef"==b.type&&1==a.Oa.length?a.Oa[0][1]:{type:"CompoundValue",scope:a.Oa,value:b},a.Oa=[],Ya(a.Kf,x(function(c){delete c[this.Uc]},a)),a.Kf=[],a.ta={});return b};
Fk.prototype.gd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=v(a)?a[this.Uc]:null;if(this.qd&&null!=b&&this.ta[b])return{type:"ValueRef",value:this.ta[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(Ba(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Nj){var c=a.encode(x(this.gd,this));if(!(u(c)||v(c)&&"ArgumentRef"!=c.type))return c}else if(u(a))c=$a(a,function(e){return this.gd(e)},
this);else if(v(a)&&!Ca(a))c=Fb(a,function(e){if(!Ca(e))return this.gd(e)},this),Nb(c,this.Uc),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.qd){b=Nk(c);if(this.ta[b])var d=this.ta[b];else d=String(this.Oa.length),this.Oa.push([d,c]),this.ta[b]=d;a[this.Uc]=b;this.Kf.push(a);return{type:"ValueRef",value:d}}return c};var Nk=function(a){Hk.reset();Hk.update(Gk.X(a));return Hk.digest().toString()},Pk=function(a){return Ud(Ok(a),Qd,Rd,Sd)};
y("ee.Serializer.encodeCloudApi",Pk);
var Ok=function(a){return Qk(new Fk(!0),a)},Rk=function(a){a=Qk(new Fk(!1),a);var b=a.values,c=function(d){if(!v(d))return d;var e=u(d)?[]:{},f=d instanceof Object.getPrototypeOf(Oe);d=l(Object.entries(f?d.a:d));for(var g=d.next();!g.done;g=d.next()){var h=l(g.value);g=h.next().value;h=h.next().value;f?null!==h&&(e[g]="functionDefinitionValue"===g&&null!=h.body?{argumentNames:h.mc,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.gb?{arguments:Fb(h.arguments,c),functionReference:c(b[h.gb])}:
"constantValue"===g?h===Od?null:h:c(h)):e[g]=c(h)}return e};return a.result&&c(b[a.result])};y("ee.Serializer.encodeCloudApiPretty",Rk);var Sk=function(a){return Lk(Rk(a))};y("ee.Serializer.toReadableCloudApiJSON",Sk);
var Qk=function(a,b){try{var c=Tk(a,b),d=new Uk(c,a.Oa,a.qd),e=Vk(d,d.sh);return new Ye({result:e,values:d.gh})}finally{a.nd=new WeakMap,a.ta={},a.Oa=[]}},Tk=function(a,b){var c=function(e){var f=Nk(e);if(a.ta[f])return a.ta[f];var g=String(a.Oa.length);a.Oa.push([g,e]);a.ta[f]=g;v(b)&&a.nd.set(b,f);return g};if(v(b)&&a.ta[a.nd.get(b)])return a.ta[a.nd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(Oj(b));if(Ba(b))return c(Sj("Date",{value:Oj(Math.floor(b.getTime()))}));
if(b instanceof Nj)return c(b.pa(function(e){return Tk(a,e)}));if(u(b))return c(Qj(b.map(function(e){return Pj(Tk(a,e))})));if(v(b)&&!Ca(b)){var d={};Object.keys(b).sort().forEach(function(e){d[e]=Pj(Tk(a,b[e]))});return c(Rj(d))}throw Error("Can't encode object: "+b);},Uk=function(a,b,c){var d=this;this.sh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.lh=c?Wk(this):null;this.gh={};this.kf={};this.Bi=0},Vk=function(a,b){if(b in a.kf)return a.kf[b];var c=String(a.Bi++);a.kf[b]=
c;a.gh[c]=Xk(a,a.values[b],0);return c},Xk=function(a,b,c){var d=function(p){return null!==p.qb},e=function(p){return p===Od?null:p};if(d(b)||null!=b.Oe||null!=b.ie||null!=b.nc)return b;if(null!=b.ab)return d=a.values[b.ab],null===a.lh||50>c&&1===a.lh[b.ab]?Xk(a,d,c):Yk(d)?d:Pj(Vk(a,b.ab));if(null!=b.ob){var f=b.ob.values.map(function(p){return Xk(a,p,c+3)});return f.every(d)?Oj(f.map(function(p){return e(p.qb)})):Qj(f)}if(null!=b.sb){f={};var g={};b=l(Object.entries(b.sb.values||{}));for(var h=b.next();!h.done;h=
b.next()){var m=l(h.value);h=m.next().value;m=m.next().value;f[h]=Xk(a,m,c+3);null!==g&&d(f[h])?g[h]=e(f[h].qb):g=null}return null!==g?Oj(g):Rj(f)}if(null!=b.wb)return d=b.wb,Uj(d.mc||[],Vk(a,d.body||""));if(null!=b.fb){d=b.fb;f={};g=l(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=Xk(a,d.arguments[b],c+3);return d.functionName?Sj(d.functionName,f):Tj(Vk(a,d.gb||""),f)}throw Error("Can't optimize value: "+b);},Yk=function(a){var b=a.qb;return null!==b?b===Od||"number"===
typeof b||"boolean"===typeof b:null!=a.nc},Wk=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.ob?e.ob.values.forEach(d):null!=e.sb?Object.values(e.sb.values).forEach(d):null!=e.wb?c(e.wb.body):null!=e.fb?(e=e.fb,null!=e.gb&&c(e.gb),Object.values(e.arguments).forEach(d)):null!=e.ab&&c(e.ab)};c(a.sh);return b};var dl=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=a.selectors||null;null!=b&&"string"===typeof b&&(b=b.split(","));b=new wf({i:Ok(a.element),description:Zk(a.description),ha:null,Sa:null,selectors:b,Cb:$k(a.maxErrorMeters),requestId:Zk(a.id),U:$k(a.maxWorkers)});var c=al(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new yf({ia:null,ga:null,G:Wj(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ia=bl(a):d.ga=cl(a);b.ha=d;break;case "ASSET":b.Sa=new xf({tb:new mf({name:hk(a.assetId)})});
break;default:throw Error('Export destination "'+c+'" unknown');}return b};function Zk(a){return null!=a?String(a):null}function $k(a){return null!=a?Number(a):null}
var al=function(a){var b="DRIVE";if(null==a)return b;null!=a.outputBucket||null!=a.outputPrefix?b="GOOGLE_CLOUD_STORAGE":null!=a.assetId&&(b="ASSET");return b},fl=function(a){var b=new Qf({me:!!a.tfrecordCompressed,Db:Zk(a.tfrecordMaxFileSize),sf:!!a.tfrecordSequenceData,le:!!a.tfrecordCollapseBands,We:$k(a.tfrecordMaskedThreshold),defaultValue:$k(a.tfrecordDefaultValue),Ga:el(a.tfrecordPatchDimensions),Te:el(a.tfrecordKernelSize),Ed:null});a=a.tfrecordTensorDepths;if(null!=a)if(v(a)){var c={};Db(a,
function(d,e){if("string"!==typeof e||"number"!==typeof d)throw Error('"tensorDepths" option must be an object of type Object<string, number>');c[e]=d});b.Ed=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},gl=function(a,b){var c=new sf({ia:null,ga:null,jd:null,Fd:null,G:Vj(a.fileFormat)});if("GEO_TIFF"===c.G){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');var d=new Hf({ke:!!a.tiffCloudOptimized,
xf:!!a.tiffSkipEmptyFiles,Ga:el(a.fileDimensions||a.tiffFileDimensions)});c.jd=d}else"TF_RECORD_IMAGE"===c.G&&(c.Fd=fl(a));"GOOGLE_CLOUD_STORAGE"===b?c.ia=bl(a):c.ga=cl(a);return c},hl=function(a,b){var c=new Af({ia:null,ga:null,G:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ia=bl(a):c.ga=cl(a);return c},il=function(a){var b=$k(a.maxZoom),c=$k(a.scale),d=$k(a.minZoom),e=!!a.skipEmptyTiles,f=Zk(a.mapsApiKey),g=el(a.tileDimensions),h=$k(a.stride);var m=$k(a.minTimeMachineZoomSubset);a=$k(a.maxTimeMachineZoomSubset);
if(null==m&&null==a)m=null;else{var p=new pg({min:0,max:null});null!=m&&(p.min=m);p.max=a;m=p}return new vf({maxZoom:b,scale:c,minZoom:d,yf:e,Se:f,Ga:g,Af:h,Lf:m})},el=function(a){if(null==a)return null;var b=new If({height:0,width:0});"string"===typeof a&&(-1!==a.indexOf("x")?a=a.split("x").map(Number):-1!==a.indexOf(",")&&(a=a.split(",").map(Number)));if(u(a))if(2===a.length)b.height=a[0],b.width=a[1];else if(1===a.length)b.height=a[0],b.width=a[0];else throw Error("Unable to construct grid from dimensions: "+
a);else if("number"!==typeof a||isNaN(a))if(v(a)&&null!=a.height&&null!=a.width)b.height=a.height,b.width=a.width;else throw Error("Unable to construct grid from dimensions: "+a);else b.height=a,b.width=a;return b},bl=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Gf({ge:Zk(a.outputBucket),ub:Zk(a.outputPrefix),he:a.bucketCorsUris||null,permissions:b})},cl=function(a){return new gf({De:Zk(a.driveFolder),ub:Zk(a.driveFileNamePrefix)})};var kl=function(a,b){this.Ra=a;this.Md=b;this.j={};this.oc=!0;if(0<this.Ra.length){for(a=0;a<this.Ra.length;a++){b=this.Ra[a];var c=b[0];this.j[c.toString()]=new jl(c,b[1])}this.oc=!0}},ll=function(a){if(a.oc){if(a.Md){var b=a.j,c;for(c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c].jc;d&&ll(d)}}}else{a.Ra.length=0;b=ml(a);b.sort();for(c=0;c<b.length;c++){var e=a.j[b[c]];(d=e.jc)&&ll(d);a.Ra.push([e.key,e.value])}a.oc=!0}return a.Ra},nl=function(a){this.Jg=0;this.Ra=a};
nl.prototype.next=function(){return this.Jg<this.Ra.length?{done:!1,value:this.Ra[this.Jg++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&(nl.prototype[Symbol.iterator]=function(){return this});k=kl.prototype;k.getLength=function(){return ml(this).length};k.clear=function(){this.j={};this.oc=!1};k.entries=function(){var a=[],b=ml(this);b.sort();for(var c=0;c<b.length;c++){var d=this.j[b[c]];a.push([d.key,ol(this,d)])}return new nl(a)};
k.keys=function(){var a=[],b=ml(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.j[b[c]].key);return new nl(a)};k.values=function(){var a=[],b=ml(this);b.sort();for(var c=0;c<b.length;c++)a.push(ol(this,this.j[b[c]]));return new nl(a)};k.forEach=function(a,b){var c=ml(this);c.sort();for(var d=0;d<c.length;d++){var e=this.j[c[d]];a.call(b,ol(this,e),e.key,this)}};k.set=function(a,b){var c=new jl(a);this.Md?(c.jc=b,c.value=ll(b)):c.value=b;this.j[a.toString()]=c;this.oc=!1;return this};
var ol=function(a,b){return a.Md?(b.jc||(b.jc=new a.Md(b.value)),b.jc):b.value};kl.prototype.get=function(a){if(a=this.j[a.toString()])return ol(this,a)};kl.prototype.has=function(a){return a.toString()in this.j};var ml=function(a){a=a.j;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},jl=function(a,b){this.key=a;this.value=b;this.jc=void 0};Object.freeze&&Object.freeze([]);var ql=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine"];L&&f.push("https://www.googleapis.com/auth/cloud-platform");d&&(lb(f,d),nb(f));vj(a,f);null===a?tj=uj=null:qj(function(){sj(b,c,e||Ia(pl,b,c))})};y("ee.data.authenticateViaOauth",ql);var rl=function(a,b,c,d,e){ql(a,b,c,d,e)};y("ee.data.authenticate",rl);var pl=function(a,b){t.gapi.auth.authorize({client_id:oj,immediate:!1,scope:pj.join(" ")},Ia(rj,a,b))};y("ee.data.authenticateViaPopup",pl);
var sl=function(a,b,c,d){if("window"in t)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");var e=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/devstorage.read_write"];L&&e.push("https://www.googleapis.com/auth/cloud-platform");d&&(lb(e,d),nb(e));vj(a.client_email,e);var f=new google.auth.JWT(a.client_email,null,a.private_key,e,null);nj=function(g,h){f.authorize(function(m,p){m?h({error:m}):h({access_token:p.access_token,
token_type:p.token_type,expires_in:(p.expiry_date-Date.now())/1E3})})};sj(b,c)};y("ee.data.authenticateViaPrivateKey",sl);var tl=[];tl.push("setApiKey");tl.push("setProject");tl.push("getProject");tl.push("setCloudApiEnabled");tl.push("getCloudApiEnabled");y("ee.data.setExpressionAugmenter",function(a){ul=a||Tb});var ul=Tb;y("ee.data.setDeadline",function(a){Mj=a});y("ee.data.setParamAugmenter",function(a){Gj=a||Tb});
var vl=function(a){if(L)return a=new H(a),I(a,a.lc().list(gj(),{prettyPrint:!1}).then(ck));var b=K("/algorithms",null,a,"GET");return a?null:b},xl=function(a,b){if(L){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");a=new nf({name:null,i:ul(Ok(a.image)),G:Vj(a.format),ea:Yj(a.bands),Ob:bk(a)});var c=new H(b);return I(c,c.maps().create(gj(),a,{fields:["name"]}).then(function(e){var f=Fj;return wl(e.name,
"","/v1alpha/{}/tiles",f?"?key="+f:"")}))}a=Ob(a);"string"!==typeof a.image&&(a.image=a.image.X());var d=function(e){return wl(e.mapid,e.token,"/map/{}","?token={}")};return b?(K("/mapid",J(a),function(e,f){return b(e&&d(e),f)}),null):d(K("/mapid",J(a)))};y("ee.data.getMapId",xl);var yl=function(a,b,c,d){return a.formatTileUrl(b,c,d)};y("ee.data.getTileUrl",yl);
var wl=function(a,b,c,d){c=xj+c.replace("{}",a);d=d.replace("{}",b);return{mapid:a,token:b,formatTileUrl:function(e,f,g){var h=Math.pow(2,g);e%=h;0>e&&(e+=h);return[c,g,e,f].join("/")+d}}},zl=function(a,b){a=Ob(a);return K("/value",J(a),b)};y("ee.data.getValue",zl);var Al=function(a,b){if(L)return a=ul(Ok(a)),b=new H(b),I(b,Fg(b.value(),gj(),new Xe({i:a})).then(function(c){return c.result}));a={json:Kk(a)};return K("/value",J(a),b)};y("ee.data.computeValue",Al);
var Bl=function(a,b){if(L){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");if(void 0!==a.region)throw Error('"region" not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');a=new ng({name:null,i:ul(Ok(a.image)),G:Vj(a.format),ea:Yj(a.bands),Ob:bk(a),J:null});b=new H(b);return I(b,(new Dg(b.T)).create(gj(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))}a=
Ob(a);u(a.dimensions)&&(a.dimensions=a.dimensions.join("x"));var c=a.image||a.imageCollection;"string"!==typeof c&&(c=c.X());a.image=c;delete a.imageCollection;a=J(a).add("getid","1");return K("/thumb",a,b)};y("ee.data.getThumbId",Bl);
var Cl=function(a,b){if(!L)throw Error("getVideoThumbId is only supported in Cloud API mode.");var c=new Bf({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new sg({name:null,i:ul(Ok(a.imageCollection)),G:Vj(a.format),Ia:c,J:null});b=new H(b);return I(b,(new Ig(b.T)).create(gj(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};y("ee.data.getVideoThumbId",Cl);tl.push("getVideoThumbId");
var Dl=function(a,b){if(!L)throw Error("getFilmstripThumbId is only supported in Cloud API mode.");a=new Df({name:null,i:ul(Ok(a.imageCollection)),G:Vj(a.format),orientation:Xj(a.orientation),J:null});b=new H(b);return I(b,(new xg(b.T)).create(gj(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};y("ee.data.getFilmstripThumbId",Dl);tl.push("getFilmstripThumbId");
var El=function(a){if(L){var b=Fj;return xj+"/v1alpha/"+a.thumbid+":getPixels"+(b?"?key="+b:"")}return xj+"/api/thumb?thumbid="+a.thumbid+"&token="+a.token};y("ee.data.makeThumbUrl",El);var Fl=function(a,b){if(L&&b){var c=b;b=function(d,e){return c((d||{}).data||d,e)}}a=Ob(a);a=K("/download",J(a),b);return L?(a||{}).data||a:a};y("ee.data.getDownloadId",Fl);var Gl=function(a){return xj+"/api/download?docid="+a.docid+"&token="+a.token};y("ee.data.makeDownloadUrl",Gl);
var Hl=function(a,b){if(L&&b){var c=b;b=function(d,e){return c((d||{}).data||d,e)}}a=Ob(a);a=K("/table",J(a),b);return L?(a||{}).data||a:a};y("ee.data.getTableDownloadId",Hl);var Il=function(a){return xj+"/api/table?docid="+a.docid+"&token="+a.token};y("ee.data.makeTableDownloadUrl",Il);
var Jl=function(a,b){if(L){var c=function(e){return Math.floor(Math.random()*Math.pow(2,4*e)).toString(16).padStart(e,"0")};a=ob(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(4*Math.random())).toString(16)+c(3),c(12)].join("-")});return b?b(a):a}var d={};"number"===typeof a&&(d.count=a);return K("/newtaskid",J(d),b)};y("ee.data.newTaskId",Jl);
var Ll=function(a,b){if(L){var c=Kl(a).map(tk);if(1===c.length)return b=new H(b),I(b,b.Ea().get(c[0]).then(function(e){return[vk(e)]}));b=new jj(b);var d=b.Ea();return b.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(f){return vk(e[f])})})}a="/taskstatus?q="+Kl(a).join();return K(a,null,b,"GET")};y("ee.data.getTaskStatus",Ll);
var Kl=function(a){if("string"===typeof a)return[a];if(u(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},Nl=function(a){return Ml(void 0,a)};y("ee.data.getTaskList",Nl);
var Ml=function(a,b){function c(h){var m={pagesize:500};a&&(m.pagesize=Math.min(m.pagesize,a-e.tasks.length));h&&(m.pagetoken=h);return m}function d(h,m){m=c(m);K("/tasklist",J(m),function(p,q){q?h(e,q):(lb(e.tasks,p.tasks),!p.next_page_token||a&&e.tasks.length>=a?h(e):d(h,p.next_page_token))},"GET")}if(L)return b?(Ol(a,function(h,m){return b(h?{tasks:h.map(vk)}:null,m)}),null):{tasks:Ol(a).map(vk)};var e={tasks:[]};if(b)return d(b),null;for(var f="";;){f=c(f);var g=K("/tasklist",J(f),void 0,"GET");
lb(e.tasks,g.tasks);f=g.next_page_token;if(!g.next_page_token||a&&e.tasks.length>=a)break}return e};y("ee.data.getTaskListWithLimit",Ml);var Ol=function(a,b){var c=[],d={pageSize:500},e=function(h){lb(c,h.Ea||[]);!h.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.nextPageToken,I(f,g.list(gj(),d).then(e)));return null},f=new H(b?function(h,m){return m&&b(h,m)}:void 0),g=f.Ea();I(f,g.list(gj(),d).then(e));return b?null:a?c.slice(0,a):c};tl.push("listOperations");
var Pl=function(a,b){a=Kl(a);var c=new Ue;if(1===a.length)b=new H(b),I(b,b.Ea().cancel(a[0],c));else{b=new jj(b);var d=b.Ea();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};y("ee.data.cancelOperation",Pl);tl.push("cancelOperation");var Ql=function(a,b){var c=Kl(a).map(tk);if(!u(a))return a=new H(b),I(a,a.Ea().get(c[0]));a=new jj(b);var d=a.Ea();return a.send(c.map(function(e){return[e,d.get(e)]}))};y("ee.data.getOperation",Ql);tl.push("getOperation");
var Sl=function(a,b){return Rl(a,"CANCEL",b)};y("ee.data.cancelTask",Sl);var Rl=function(a,b,c){if(!Jb(Tl,b))throw Error("Invalid action: "+b);a=Kl(a);return L?(a=a.map(tk),Pl(a,c),null):K("/updatetask",J({id:a,action:b}),c,"POST")};y("ee.data.updateTask",Rl);
var Yl=function(a,b,c){if(L){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new H(c);c=function(f){return I(e,f.then(wk))};switch(d){case "EXPORT_IMAGE":return b=Ul(b,a),c(e.image().Va(gj(),b));case "EXPORT_FEATURES":return b=dl(b),b.i=ul(b.i,a),c(e.table().Va(gj(),b));case "EXPORT_VIDEO":return b=Vl(b,a),c(e.video().Va(gj(),b));case "EXPORT_TILES":return b=Wl(b,a),c(e.map().Va(gj(),b));case "EXPORT_VIDEO_MAP":return b=Xl(b),c((new Hg(e.T)).Va(gj(),b));default:throw Error("Unable to start processing for task of type "+
d);}}b=Ob(b);null!=b.element&&(b.json=b.element.X(),delete b.element);u(b.crs_transform)&&(b.crs_transform=b.crs_transform.toString());b.id=a;return K("/processingrequest",J(b),c)};y("ee.data.startProcessing",Yl);
var Ul=function(a,b){var c=Zl(a);if(null==c.element)throw Error('"element" not found in params '+c);a=new qf({i:Ok(c.element),description:Zk(c.description),ha:null,Sa:null,J:null,Xe:Zk(c.maxPixels),requestId:Zk(c.id),U:$k(c.maxWorkers)});var d=al(c);switch(d){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":a.ha=gl(c,d);break;case "ASSET":d=c.pyramidingPolicy||{};try{d=JSON.parse(d)}catch(f){}var e="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof d?(e=d,d={}):d[".default"]&&(e=d[".default"],delete d[".default"]);
c=new rf({tb:new mf({name:hk(c.assetId)}),pyramidingPolicy:e,hf:Mb(d)?null:d});a.Sa=c;break;default:throw Error('Export destination "'+d+'" unknown');}a.i=ul(a.i,b);return a},Vl=function(a,b){a=$l(a);if(null==a.element)throw Error('"element" not found in params '+a);var c=new Cf({i:Ok(a.element),description:Zk(a.description),Ia:new Bf({framesPerSecond:$k(a.framesPerSecond),maxFrames:$k(a.maxFrames),maxPixelsPerFrame:Zk(a.maxPixels)}),ha:null,requestId:Zk(a.id),U:$k(a.maxWorkers)});c.ha=hl(a,al(a));
c.i=ul(c.i,b);return c},Wl=function(a,b){var c=a.scale;delete a.scale;a=Zl(a);a.scale=c;if(null==a.element)throw Error('"element" not found in params '+a);c=new uf({i:Ok(a.element),description:Zk(a.description),Kb:il(a),Jb:gl(a,"GOOGLE_CLOUD_STORAGE"),requestId:Zk(a.id),U:$k(a.maxWorkers)});c.i=ul(c.i,b);return c},Xl=function(a){var b=a.scale;delete a.scale;a=$l(a);a.scale=b;if(null==a.element)throw Error('"element" not found in params '+a);b=new zf({i:Ok(a.element),description:Zk(a.description),
Ia:new Bf({framesPerSecond:$k(a.framesPerSecond),maxFrames:$k(a.maxFrames),maxPixelsPerFrame:null}),Kb:il(a),Jb:hl(a,"GOOGLE_CLOUD_STORAGE"),requestId:Zk(a.id),version:Zk(a.version),U:$k(a.maxWorkers)});b.i=ul(b.i);return b},bm=function(a,b,c){if(L){b=Ak(b);var d=function(e){return e?wk(e):null};return d(am(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,request:Wh(b)};return K("/ingestionrequest",J(a),c)};y("ee.data.startIngestion",bm);
var am=function(a,b,c){b=new Xf({Ke:b,requestId:a,overwrite:null,description:null});a=new H(c,a?void 0:0);return I(a,a.image()["import"](gj(),b))},cm=function(a,b,c){b=new Yf({Df:b,requestId:a,overwrite:null,description:null});a=new H(c,a?void 0:0);return I(a,a.table()["import"](gj(),b))},dm=function(a,b,c){if(L){b=Bk(b);var d=function(e){return e?wk(e):null};return d(cm(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,tableRequest:Wh(b)};return K("/ingestionrequest",J(a),c)};
y("ee.data.startTableIngestion",dm);var em=function(a,b){return L?(b=new H(b),a=hk(a),I(b,b.R().get(a,{prettyPrint:!1}).then(ik))):K("/info",(new Si).add("id",a),b)};y("ee.data.getAsset",em);tl.push("getAsset");y("ee.data.getInfo",em);
var fm=function(a,b){if(L){b=new H(b);var c=b.R(),d=hk(a.id),e=fk.test(a.id);e&&(c=new ug(b.T),d="projects/"+gk(a.id));if(Object.keys(a).every(function(f){return"id"===f||"num"===f}))return I(b,c.Ec(d,{pageSize:a.num}).then(jk));if(e)throw Error("getList on a project does not support filtering options. Please provide a full asset path. Got: "+a.id);a=qk(a);return I(b,wg(c,d,a).then(lk))}a=J(a);return K("/list",a,b)};y("ee.data.getList",fm);
var gm=function(a,b,c){b=void 0===b?{}:b;var d=fk.test(a);c=new H(c);var e=d?new ug(c.T):c.R();a=d?"projects/"+gk(a):hk(a);return I(c,e.Ec(a,b))};y("ee.data.listAssets",gm);tl.push("listAssets");var hm=function(a,b,c){b=void 0===b?{}:b;c=new H(c);return I(c,wg(c.R(),a,b))};y("ee.data.listImages",hm);tl.push("listImages");var im=function(a,b){b=new H(b);return I(b,(new ug(b.T)).Ec(a||gj()))};y("ee.data.listBuckets",im);tl.push("listBuckets");
var jm=function(a){return L?(a=new H(a),I(a,(new ug(a.T)).Ec(gj()).then(jk))):K("/buckets",null,a,"GET")};y("ee.data.getAssetRoots",jm);var km=function(a,b){if(L){var c="projects/"+gk(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new hf({type:"Folder"});b=new H(b);I(b,b.R().create(c,d,{assetId:a}).then(ik))}else c=J({id:a}),K("/createbucket",c,b)};y("ee.data.createAssetHome",km);
var lm=function(a,b,c,d,e){if(L){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&hk(b);if(!c)throw Error("Either asset name or opt_path must be specified.");var f=c.indexOf("/assets/");if(-1===f)throw Error("Asset name must contain /assets/.");a=new hf(a);b=c.slice(0,f);c=c.slice(f+8);a.id=null;a.name=null;d&&!a.properties&&(a.properties=d);a:switch(d=a.type,d){case "ImageCollection":d="IMAGE_COLLECTION";break a;
case "Folder":d="FOLDER"}a.type=d;e=new H(e);return I(e,e.R().create(b,a,{assetId:c}).then(ik))}"string"!==typeof a&&(a=Wh(a));a={value:a};void 0!==b&&(a.id=b);a.force=c||!1;void 0!=d&&(a.properties=Wh(d));return K("/create",J(a),e)};y("ee.data.createAsset",lm);var mm=function(a,b,c){return L?lm({type:"Folder"},a,b,void 0,c):K("/createfolder",J({id:a,force:b||!1}),c)};y("ee.data.createFolder",mm);
var nm=function(a,b,c){L?(a=hk(a),b=hk(b),b=new fg({rb:b}),c=new H(c),I(c,c.R().move(a,b).then(ik))):K("/rename",J({sourceId:a,destinationId:b}),c)};y("ee.data.renameAsset",nm);
var om=function(a,b,c,d){if(L){a=hk(a);b=hk(b);c=new af({rb:b,overwrite:null!=c?c:null});d=new H(d);b=ik;var e=d.R();e.h.w(a,/^projects\/[^/]+\/assets\/.+$/);a=G(e.h,{body:c,u:"POST",B:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:hf});I(d,a.then(b))}else a={sourceId:a,destinationId:b},c&&(a.allowOverwrite=
c),K("/copy",J(a),d)};y("ee.data.copyAsset",om);var pm=function(a,b){L?(b=new H(b),I(b,b.R()["delete"](hk(a)))):K("/delete",J({id:a}),b)};y("ee.data.deleteAsset",pm);
var qm=function(a,b){if(L){a=hk(a);var c=new Jf;b=new H(b);var d=b.R(),e={prettyPrint:!1},f=void 0===e?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:e;e=void 0===f.$Xgafv?void 0:f.$Xgafv;var g=void 0===f.access_token?void 0:f.access_token,h=void 0===f.alt?void 0:f.alt,m=void 0===f.callback?void 0:f.callback,p=void 0===f.fields?void 0:f.fields,q=void 0===f.key?void 0:
f.key,w=void 0===f.oauth_token?void 0:f.oauth_token,z=void 0===f.prettyPrint?void 0:f.prettyPrint,E=void 0===f.quotaUser?void 0:f.quotaUser,M=void 0===f.uploadType?void 0:f.uploadType;f=void 0===f.upload_protocol?void 0:f.upload_protocol;d.h.w(a,/^projects\/[^/]+\/assets\/.+$/);a=G(d.h,{body:c,u:"POST",B:"earthengine.projects.assets.getIamPolicy",path:"/"+d.m+"/"+a+":getIamPolicy",o:{"$.xgafv":e,access_token:g,alt:h,callback:m,fields:p,key:q,oauth_token:w,prettyPrint:z,quotaUser:E,uploadType:M,upload_protocol:f},
D:ig});return I(b,a.then(rk))}return K("/getacl",J({id:a}),b,"GET")};y("ee.data.getAssetAcl",qm);
var rm=function(a,b,c,d){b=new rg({be:b,ic:(c||[]).join(",")});d=new H(d);c=ik;var e=d.R();a=hk(a);e.h.w(a,/^projects\/[^/]+\/assets\/.+$/);a=G(e.h,{body:b,u:"PATCH",B:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:hf});return I(d,a.then(c))};y("ee.data.updateAsset",rm);
var sm=function(a,b,c){if(L){a=hk(a);b=sk(b);b=new lg({bf:b});c=new H(c);var d=c.R(),e={prettyPrint:!1},f=void 0===e?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:e;e=void 0===f.$Xgafv?void 0:f.$Xgafv;var g=void 0===f.access_token?void 0:f.access_token,h=void 0===f.alt?void 0:f.alt,m=void 0===f.callback?void 0:f.callback,p=void 0===f.fields?void 0:f.fields,q=void 0===
f.key?void 0:f.key,w=void 0===f.oauth_token?void 0:f.oauth_token,z=void 0===f.prettyPrint?void 0:f.prettyPrint,E=void 0===f.quotaUser?void 0:f.quotaUser,M=void 0===f.uploadType?void 0:f.uploadType;f=void 0===f.upload_protocol?void 0:f.upload_protocol;d.h.w(a,/^projects\/[^/]+\/assets\/.+$/);a=G(d.h,{body:b,u:"POST",B:"earthengine.projects.assets.setIamPolicy",path:"/"+d.m+"/"+a+":setIamPolicy",o:{"$.xgafv":e,access_token:g,alt:h,callback:m,fields:p,key:q,oauth_token:w,prettyPrint:z,quotaUser:E,uploadType:M,
upload_protocol:f},D:ig});I(c,a)}else b={readers:b.readers,writers:b.writers,all_users_can_read:b.all_users_can_read},a={id:a,value:Wh(b)},K("/setacl",J(a),c)};y("ee.data.setAssetAcl",sm);
var tm=function(a,b,c){if(L){var d=ok(b);b=Pd(d.f()).keys.filter(function(e){return"properties"!==e&&F(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(f,g){return"_"+g.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));rm(a,d,b,c)}else a={id:a,properties:Wh(b)},K("/setproperties",J(a),c)};y("ee.data.setAssetProperties",tm);
var um=function(a,b){if(L){var c=hk(a);b=new H(b);var d=b.R(),e=d.h.w;d.h.w=function(f,g){"^projects\\/[^/]+\\/assets\\/.+$"===g.source&&(g=/^projects\/[^/]+\/assets\/.*$/);return e(f,g)};c=d.get(c,{prettyPrint:!1});return I(b,c.then(function(f){if(!(f instanceof hf&&f.quota))throw Error(a+" is not a root folder.");f=f.quota;return{asset_count:{usage:Number(f.ce||0),limit:Number(f.Ve||0)},asset_size:{usage:Number(f.ya||0),limit:Number(f.Db||0)}}}))}return K("/quota",J({id:a}),b,"GET")};
y("ee.data.getAssetRootQuota",um);var Tl={Yi:"CANCEL",ik:"UPDATE"};var N=function(a,b,c){if(!(this instanceof N))return vm(N,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.A=a;this.args=b;this.P=c||null};A(N,Nj);y("ee.ComputedObject",N);N.prototype.evaluate=function(a){if(!a||!Ca(a))throw Error("evaluate() requires a callback function.");Al(this,a)};N.prototype.evaluate=N.prototype.evaluate;
N.prototype.W=function(a){return Al(this,a)};N.prototype.getInfo=N.prototype.W;N.prototype.encode=function(a){if(null===this.A&&null===this.args)return{type:"ArgumentRef",value:this.P};var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=a(this.args[c]));b={type:"Invocation",arguments:b};a=a(this.A);b["string"===typeof a?"functionName":"function"]=a;return b};
N.prototype.pa=function(a){if(null===this.A&&null===this.args){if(null===this.P)throw Error("Internal error: function argument not initialized.");return new Oe({nc:this.P})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=Pj(a(this.args[c])));return"string"===typeof this.A?Sj(String(this.A),b):this.A.ve(a,b)};N.prototype.X=function(){return Kk(this)};N.prototype.serialize=N.prototype.X;N.prototype.toString=function(){return"ee."+this.name()+"("+Mk(this)+")"};
y("ee.ComputedObject.prototype.toString",N.prototype.toString);N.prototype.name=function(){return"ComputedObject"};N.prototype.Mf=function(a,b){var c=kb(arguments);c[0]=this;a.apply(t,c);return this};N.prototype.aside=N.prototype.Mf;var wm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.A=b.A;a.args=b.args;a.P=b.P;return a},vm=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var xm={},ym=function(a,b){if(b==a)return!0;switch(a){case "Element":return"Element"==b||"Image"==b||"Feature"==b||"Collection"==b||"ImageCollection"==b||"FeatureCollection"==b;case "FeatureCollection":case "Collection":return"Collection"==b||"ImageCollection"==b||"FeatureCollection"==b;case "Object":return!0;default:return!1}},zm=function(a){return"number"===typeof a||a instanceof N&&"Number"==a.name()},Am=function(a){return"string"===typeof a||a instanceof N&&"String"==a.name()},Bm=function(a){return v(a)&&
!Ca(a)?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},Cm=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&Bm(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var Dm=function(){if(!(this instanceof Dm))return new Dm};A(Dm,Nj);y("ee.Function",Dm);var Em=Tb;Dm.prototype.call=function(a){return this.apply(Fm(this,Array.prototype.slice.call(arguments,0)))};Dm.prototype.call=Dm.prototype.call;Dm.prototype.apply=function(a){a=new N(this,Gm(this,a));return Em(a,this.Z().returns)};Dm.prototype.apply=Dm.prototype.apply;
var Hm=function(a,b,c){var d=void 0!==b,e=a.Z();if(Cm(c,e,d)){if(c=Ob(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=Fm(a,d?[b].concat(c):c);return a.apply(c)},Gm=function(a,b){for(var c=a.Z().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&void 0!==b[g])d[g]=Em(b[g],c[f].type);else if(!c[f].optional)throw Error("Required argument ("+g+") missing to function: "+a);e[g]=!0}c=[];for(var h in b)e[h]||c.push(h);if(0<c.length)throw Error("Unrecognized arguments ("+
c+") to function: "+a);return d},Fm=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};
Dm.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push($a(c.args.slice(b?1:0),function(f){return f.name}).join(", "));d.push(")\n");d.push("\n");c.description?d.push(c.description):d.push("Undocumented.");d.push("\n");if(c.args.length)for(d.push("\nArgs:\n"),a=0;a<c.args.length;a++){b&&0==a?d.push(" this:"):d.push("\n ");var e=c.args[a];d.push(e.name);d.push(" (");d.push(e.type);e.optional&&d.push(", optional");d.push("): ");e.description?d.push(e.description):
d.push("Undocumented.")}return d.join("")};Dm.prototype.X=function(){return Kk(this)};var O=function(a,b){if(void 0===b)return Im(a);if(!(this instanceof O))return vm(O,arguments);this.Pa=Pb(b);this.Pa.name=a};A(O,Dm);y("ee.ApiFunction",O);var P=function(a,b){return Dm.prototype.call.apply(Im(a),Array.prototype.slice.call(arguments,1))};y("ee.ApiFunction._call",P);var Jm=function(a,b){return Im(a).apply(b)};y("ee.ApiFunction._apply",Jm);O.prototype.encode=function(){return this.Pa.name};O.prototype.ve=function(a,b){return Sj(this.Pa.name,b)};O.prototype.Z=function(){return this.Pa};
var Km=null,Lm={},Nm=function(){Mm();return Fb(Km,function(a){return a.Z()})},Om=function(){Mm();return Eb(Km,function(a,b){return!Lm[b]})},Im=function(a){var b=Pm(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};y("ee.ApiFunction.lookup",Im);
var Pm=function(a){Mm();return Km[a]||null},Mm=function(a,b){if(Km)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(Km=Fb(d,function(f,g){f.returns=f.returns.replace(/<.*>/,"");for(var h=0;h<f.args.length;h++)f.args[h].type=f.args[h].type.replace(/<.*>/,"");return new O(g,f)}),a&&a())};a?vl(c):c(vl())}},Qm=function(a,b,c,d){Mm();var e=d||"";Db(Km,function(f,g){var h=g.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var m=f.Z();Lm[g]=!0;var p=!1;m.args.length&&(g=m.args[0].type,p="Object"!=g&&ym(g,c));
g=p?a.prototype:a;h in g&&!g[h].signature||(g[h]=function(q){return Hm(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[h].toString=x(f.toString,f,h,p),g[h].signature=m)}})},Rm=function(a){var b=function(c){for(var d in c)Ca(c[d])&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var Q=function(a,b){var c=Sm(a),d=$a(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={},f=b[0],g=v(f)&&!Ca(f)&&!u(f)&&!(f instanceof N);if(1<b.length||!g){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(f=0;f<b.length;f++)e[d[f]]=b[f]}else{g=new Hd(Ib(f));var h=new Hd(d);if(h.Og(g).isEmpty())e[d[0]]=b[0];else{b=
g.ue(h);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.S().join(", "));e=Ob(f)}}b=new Hd(Ib(e));c=(new Hd(Za(c,function(m){return 0!=m.lastIndexOf("opt_",0)}))).ue(b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.S().join(", "));return e},Sm=function(a){var b=Tm,c=[];t.EXPORTED_FN_INFO?(a=t.EXPORTED_FN_INFO[a.toString()],v(a)||Um(),c=a.paramNames,u(c)||Um()):(a=a.toString().replace(Vm,"").match(b),null===a&&Um(),c=(a[1].split(",")||[]).map(function(d){return d.replace(Wm,
"")}));return c},Um=function(){throw Error("Failed to locate function parameters.");},Vm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Tm=/^function[^\(]*\(([^\)]*)\)/m,Wm=/=.*$/;var R=function(a,b,c){N.call(this,a,b,c);Xm()};A(R,N);y("ee.Element",R);var Ym=!1,Xm=function(){Ym||(Qm(R,"Element","Element"),Ym=!0)};R.prototype.name=function(){return"Element"};
R.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=Bm(c))a:{b=Ib(c);var d=["properties"];if(Aa(b)&&Aa(d)&&b.length==d.length){for(var e=b.length,f=0;f<e;f++)if(b[f]!==d[f]){b=!1;break a}b=!0}else b=!1}b&&v(c.properties)&&(c=c.properties);if(Bm(c)){b=this;for(var g in c)d=c[g],b=P("Element.set",b,g,d)}else if(c instanceof N&&Pm("Element.setMulti"))b=P("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(0!=
arguments.length%2)throw Error("When Element.set() is passed multiple arguments, there must be an even number of them.");b=this;for(c=0;c<arguments.length;c+=2)g=arguments[c],d=arguments[c+1],b=P("Element.set",b,g,d)}return wm(this,b)};R.prototype.set=R.prototype.set;var S=function(a,b,c,d){if(!(this instanceof S))return vm(S,arguments);if(!("type"in a)){var e=Q(S,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Zm();e=null!=b||null!=c||null!=d;if(a instanceof N&&!(a instanceof S&&a.$a)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");N.call(this,a.A,a.args,a.P)}else{a instanceof S&&(a=a.encode());if(!$m(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));N.call(this,
null,null);this.$a=a.type;this.dg=null!=a.coordinates?Pb(a.coordinates):null;this.Bg=a.geometries||null;if(null!=b)this.Gb=b;else if("crs"in a)if(v(a.crs)&&"name"==a.crs.type&&v(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.Gb=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new Vh).X(a.crs));this.Xb=c;void 0===this.Xb&&"geodesic"in a&&(this.Xb=!!a.geodesic);this.Vb=d;void 0===this.Vb&&"evenOdd"in a&&(this.Vb=!!a.evenOdd)}};A(S,N);y("ee.Geometry",S);
var an=!1,Zm=function(){an||(Qm(S,"Geometry","Geometry"),an=!0)},bn=function(a,b){if(!(this instanceof bn))return cn(bn,arguments);var c=dn(bn,"Point",1,arguments);if(!(c instanceof N)){var d=c.coordinates;if(!u(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}S.call(this,c)};A(bn,S);S.Point=bn;var en=function(a,b){if(!(this instanceof en))return cn(en,arguments);S.call(this,dn(en,"MultiPoint",2,arguments))};A(en,S);S.MultiPoint=en;
var fn=function(a,b,c,d){if(!(this instanceof fn))return cn(fn,arguments);var e=dn(fn,"Rectangle",2,arguments);if(!(e instanceof N)){var f=e.coordinates;if(2!=f.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var g=f[0][0],h=f[0][1],m=f[1][0];f=f[1][1];e.coordinates=[[[g,f],[g,h],[m,h],[m,f]]];e.type="Polygon"}S.call(this,e)};A(fn,S);S.Rectangle=fn;
var gn=function(a,b,c,d){if(!(this instanceof gn))return cn(gn,arguments);S.call(this,dn(gn,"LineString",2,arguments))};A(gn,S);S.LineString=gn;var hn=function(a,b,c,d){if(!(this instanceof hn))return cn(hn,arguments);S.call(this,dn(hn,"LinearRing",2,arguments))};A(hn,S);S.LinearRing=hn;var jn=function(a,b,c,d){if(!(this instanceof jn))return cn(jn,arguments);S.call(this,dn(jn,"MultiLineString",3,arguments))};A(jn,S);S.MultiLineString=jn;
var kn=function(a,b,c,d,e){if(!(this instanceof kn))return cn(kn,arguments);S.call(this,dn(kn,"Polygon",3,arguments))};A(kn,S);S.Polygon=kn;var ln=function(a,b,c,d,e){if(!(this instanceof ln))return cn(ln,arguments);S.call(this,dn(ln,"MultiPolygon",4,arguments))};A(ln,S);S.MultiPolygon=ln;
S.prototype.encode=function(a){if(!this.$a){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return N.prototype.encode.call(this,a)}a={type:this.$a};"GeometryCollection"==this.$a?a.geometries=this.Bg:a.coordinates=this.dg;null!=this.Gb&&(a.crs={type:"name",properties:{name:this.Gb}});null!=this.Xb&&(a.geodesic=this.Xb);null!=this.Vb&&(a.evenOdd=this.Vb);return a};
S.prototype.Qc=function(){if(this.A)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};S.prototype.toGeoJSON=S.prototype.Qc;S.prototype.Hf=function(){if(this.A)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new Vh).X(this.Qc())};S.prototype.toGeoJSONString=S.prototype.Hf;S.prototype.X=function(){return Kk(this)};S.prototype.serialize=S.prototype.X;
S.prototype.toString=function(){return"ee.Geometry("+this.Hf()+")"};
S.prototype.pa=function(a){if(!this.$a){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return N.prototype.pa.call(this,a)}var b={},c="";"GeometryCollection"===this.$a?(b.geometries=this.Bg.map(function(e){return new S(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.dg,c="GeometryConstructors."+this.$a);null!=this.Gb&&(b.crs="string"===typeof this.Gb?(new O("Projection")).call(this.Gb):this.Gb);var d="Point"!==this.$a&&"MultiPoint"!==this.$a;
null!=this.Xb&&d&&(b.geodesic=this.Xb);null!=this.Vb&&(b.evenOdd=this.Vb);return(new O(c)).apply(b).pa(a)};
var $m=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!u(b))return!1;for(a=0;a<b.length;a++)if(!$m(b[a]))return!1;return!0}a=a.coordinates;var c=mn(a);return"Point"==b&&1==c||"MultiPoint"==b&&(2==c||0==a.length)||"LineString"==b&&2==c||"LinearRing"==b&&2==c||"MultiLineString"==b&&(3==c||0==a.length)||"Polygon"==b&&3==c||"MultiPolygon"==b&&(4==c||0==a.length)},mn=function(a){if(!u(a))return-1;if(u(a[0])){for(var b=mn(a[0]),c=1;c<a.length;c++)if(mn(a[c])!=b)return-1;return b+
1}for(c=0;c<a.length;c++)if("number"!==typeof a[c])return-1;return 0==a.length%2?1:-1},nn=function(a){if("number"!==typeof a[0]||2==a.length)return a;if(0!=a.length%2)throw Error("Invalid number of coordinates: "+a.length);for(var b=[],c=0;c<a.length;c+=2)b.push([a[c],a[c+1]]);return b},dn=function(a,b,c,d){a=on(a,d);if(pn(a.coordinates)||null!=a.crs||null!=a.maxError)return(new O("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=qn(c,a.coordinates);(b=fb(["Polygon","Rectangle","MultiPolygon"],
b))&&null==a.evenOdd&&(a.evenOdd=!0);if(b&&!1===a.geodesic&&!1===a.evenOdd)throw Error("Planar interiors must be even/odd.");return a},on=function(a,b){if(bb(b,zm))return{coordinates:kb(b)};a=Q(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Eb(a,function(c){return null!=c})},pn=function(a){return u(a)?ab(a,pn):a instanceof N},qn=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");bb(b,function(e){return"number"===typeof e})&&(b=nn(b));for(var c=b,d=0;u(c);)c=
c[0],d++;for(;d<a;)b=[b],d++;if(mn(b)!=a)throw Error("Invalid geometry");for(c=b;u(c)&&1==c.length;)c=c[0];return u(c)&&0==c.length?[]:b},cn=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};S.prototype.name=function(){return"Geometry"};var T=function(a){if(!(this instanceof T))return vm(T,arguments);if(a instanceof T)return a;rn();if(u(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new T(a[0]);N.call(this,new O("Filter.and"),{filters:a})}else if(a instanceof N)N.call(this,a.A,a.args,a.P);else if(void 0===a)N.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};A(T,N);y("ee.Filter",T);
var sn=!1,rn=function(){sn||(Qm(T,"Filter","Filter"),sn=!0)},tn={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};T.prototype.Yb=function(){return P("Filter.not",this)};T.prototype.not=T.prototype.Yb;var un=function(a,b){var c=Q(un,arguments);return P("Filter.equals",c.name,c.value)};T.eq=un;var vn=function(a,b){var c=Q(vn,arguments);return un(c.name,c.value).Yb()};T.neq=vn;
var wn=function(a,b){var c=Q(wn,arguments);return P("Filter.lessThan",c.name,c.value)};T.lt=wn;var xn=function(a,b){var c=Q(xn,arguments);return wn(c.name,c.value).Yb()};T.gte=xn;var yn=function(a,b){var c=Q(yn,arguments);return P("Filter.greaterThan",c.name,c.value)};T.gt=yn;var zn=function(a,b){var c=Q(zn,arguments);return yn(c.name,c.value).Yb()};T.lte=zn;var An=function(a){return P("Filter.and",Array.prototype.slice.call(arguments))};T.and=An;var Bn=function(a){return P("Filter.or",Array.prototype.slice.call(arguments))};
T.or=Bn;var Cn=function(a,b){var c=Q(Cn,arguments);c=P("DateRange",c.start,c.end);return Jm("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};T.date=Cn;var Dn=function(a,b,c,d){var e=Q(Dn,arguments);return Jm("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};T.inList=Dn;var En=function(a,b){return Jm("Filter.intersects",{leftField:".all",rightValue:P("Feature",a),maxError:b})};T.bounds=En;
T.prototype.name=function(){return"Filter"};var Fn=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in tn))throw Error("Unknown filtering operator: "+b);a=P("Filter."+tn[b],a,c);return d?a.Yb():a};T.metadata=Fn;var U=function(a,b,c){R.call(this,a,b,c);Gn()};A(U,R);y("ee.Collection",U);var Hn=!1,Gn=function(){Hn||(Qm(U,"Collection","Collection"),Qm(U,"AggregateFeatureCollection","Collection","aggregate_"),Hn=!0)};U.prototype.filter=function(a){a=Q(U.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return wm(this,P("Collection.filter",this,a))};U.prototype.filter=U.prototype.filter;
U.prototype.Ae=function(a,b,c){var d=Q(U.prototype.Ae,arguments);return this.filter(Fn(d.name,d.operator,d.value))};U.prototype.filterMetadata=U.prototype.Ae;U.prototype.vg=function(a){return this.filter(En(a))};U.prototype.filterBounds=U.prototype.vg;U.prototype.ze=function(a,b){var c=Q(U.prototype.ze,arguments);return this.filter(Cn(c.start,c.end))};U.prototype.filterDate=U.prototype.ze;
U.prototype.limit=function(a,b,c){var d=Q(U.prototype.limit,arguments);return wm(this,P("Collection.limit",this,d.max,d.property,d.ascending))};U.prototype.limit=U.prototype.limit;U.prototype.sort=function(a,b){var c=Q(U.prototype.sort,arguments);return wm(this,P("Collection.limit",this,void 0,c.property,c.ascending))};U.prototype.sort=U.prototype.sort;U.prototype.name=function(){return"Collection"};U.prototype.elementType=function(){return R};
U.prototype.map=function(a,b){var c=this.elementType();return wm(this,P("Collection.map",this,function(d){return a(new c(d))},b))};U.prototype.map=U.prototype.map;U.prototype.Qg=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return P("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};U.prototype.iterate=U.prototype.Qg;var V=function(a,b){if(!(this instanceof V))return vm(V,arguments);if(a instanceof V){if(b)throw Error("Can't create Feature out of a Feature and properties.");return a}if(2<arguments.length)throw Error("The Feature constructor takes at most 2 arguments ("+arguments.length+" given)");In();if(a instanceof S||null===a)R.call(this,new O("Feature"),{geometry:a,metadata:b||null});else if(a instanceof N)R.call(this,a.A,a.args,a.P);else if("Feature"==a.type){var c=a.properties||{};if("id"in a){if("system:index"in
c)throw Error('Can\'t specify both "id" and "system:index".');c=Ob(c);c["system:index"]=a.id}R.call(this,new O("Feature"),{geometry:new S(a.geometry),metadata:c})}else R.call(this,new O("Feature"),{geometry:new S(a),metadata:b||null})};A(V,R);y("ee.Feature",V);var Jn=!1,In=function(){Jn||(Qm(V,"Feature","Feature"),Jn=!0)};V.prototype.W=function(a){return V.F.W.call(this,a)};V.prototype.getInfo=V.prototype.W;
V.prototype.getMap=function(a,b){var c=Q(V.prototype.getMap,arguments);return P("Collection",[this]).getMap(c.visParams,c.callback)};V.prototype.getMap=V.prototype.getMap;V.prototype.name=function(){return"Feature"};var Zl=function(a){var b={},c=Kn(a.element,a);c=Ln(c,a,b);b.element=c;return b},$l=function(a){var b={},c=a.element.map(function(d){d=Kn(d,a);return Ln(d,a,b)});b.element=c;return b},Ln=function(a,b,c){var d={},e=["maxDimension","width","height","scale"];Db(b,function(f,g){switch(g){case "dimensions":g="string"===typeof f?f.split("x").map(Number):u(f)?f:"number"===typeof f?[f]:[];if(1===g.length)d.maxDimension=g[0];else if(2===g.length)d.width=g[0],d.height=g[1];else throw Error("Invalid dimensions "+
f);break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof fn)){g=f;if("string"===typeof f)try{g=JSON.parse(f)}catch(h){g=f.split(/\s*,\s*/).map(Number)}if(u(g)){if(g.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");f=new fn(g,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");
if(!(f instanceof S)){g=f;if("string"===typeof f)try{g=JSON.parse(f)}catch(h){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(v(g))f=new S(g,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=f;break;case "scale":d.scale=Number(f);break;default:c[g]=f}});Mb(d)||(d.input=a,a=e.some(function(f){return f in d})?Jm("Image.clipToBoundsAndScale",d):Jm("Image.clip",d));return a},Kn=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;
null!=d&&(d=Mn(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=Jm("Image.reproject",{image:a,crs:c,crsTransform:d}),null!=b.dimensions&&null==b.scale&&null==b.region){var e=b.dimensions;"string"===typeof e&&(e=e.split("x").map(Number));2===e.length&&(delete b.dimensions,c=(new O("Projection")).call(c,d),b.region=new fn([0,0,e[0],e[1]],c,!1))}}else a=Jm("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},Mn=
function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(u(a)){if(6===a.length&&bb(a,function(b){return"number"===typeof b}))return a;throw Error("Invalid argument, crs transform must be a list of 6 numbers.");}throw Error("Invalid argument, crs transform was not a string or array.");},On=function(a,b){var c={};b=Nn(b,c);Mb(b)||(b.image=a,a=Jm("Image.visualize",b));c.image=a;return c},Nn=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};
Db(a,function(e,f){fb(c,f)?d[f]=e:b[f]=e});return d};var W=function(a){if(!(this instanceof W))return vm(W,arguments);if(a instanceof W)return a;Pn();var b=arguments.length;if(0==b||1==b&&void 0===a)R.call(this,new O("Image.mask"),{image:new W(0),mask:new W(0)});else if(1==b)if(zm(a))R.call(this,new O("Image.constant"),{value:a});else if(Am(a))R.call(this,new O("Image.load"),{id:a});else{if(u(a))return Qn($a(a,function(d){return new W(d)}));if(a instanceof N)"Array"==a.name()?R.call(this,new O("Image.constant"),{value:a}):R.call(this,a.A,a.args,a.P);
else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(Am(b)&&zm(c))R.call(this,new O("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};A(W,R);y("ee.Image",W);var Rn=!1,Pn=function(){Rn||(Qm(W,"Image","Image"),Qm(W,"Window","Image","focal_"),Rn=!0)};
W.prototype.W=function(a){return W.F.W.call(this,a)};W.prototype.getInfo=W.prototype.W;W.prototype.getMap=function(a,b){var c=this,d=Q(W.prototype.getMap,arguments),e=On(this,d.visParams);if(d.callback){var f=d.callback;xl(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=xl(e),d.image=this,d};W.prototype.getMap=W.prototype.getMap;
W.prototype.xb=function(a,b){var c=Q(W.prototype.xb,arguments),d=c.params?Ob(c.params):{};d.image=this.X();if(c.callback){var e=c.callback;Fl(d,function(f,g){f?e(Gl(f)):e(null,g)})}else return Gl(Fl(d))};W.prototype.getDownloadURL=W.prototype.xb;
W.prototype.Ge=function(a,b){var c=Q(W.prototype.Ge,arguments);if(L){var d={};var e=Ln(this,c.params,d);d=On(e,d)}else if(d=On(this,c.params),d.region)if(d.region instanceof S&&(d.region=d.region.Qc()),u(d.region)||Bm(d.region))d.region=Wh(d.region);else if("string"!==typeof d.region)throw Error("The region parameter must be an array or a GeoJSON object.");if(c.callback)Bl(d,function(f,g){var h="";if(void 0===g)try{h=El(f)}catch(m){g=String(m.message)}c.callback(h,g)});else return El(Bl(d))};
W.prototype.getThumbURL=W.prototype.Ge;var Sn=function(a,b,c){var d=Q(Sn,arguments);return Qn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};W.rgb=Sn;var Tn=function(a){return Qn(Array.prototype.slice.call(arguments),null)};W.cat=Tn;var Qn=function(a,b){if(0==a.length)return P("Image.constant",[]);for(var c=new W(a[0]),d=1;d<a.length;d++)c=P("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
W.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||Am(b[0])||zm(b[0])){for(var d=0;d<b.length;d++)if(!(Am(b[d])||zm(b[d])||b[d]instanceof N))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Jm("Image.select",c)};W.prototype.select=W.prototype.select;
W.prototype.i=function(a,b){var c=Q(W.prototype.i,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var f=c.map,g;for(g in f)d.push(g),e[g]=new W(f[g])}var h=P("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Dm;c.encode=function(m){return h.encode(m)};c.ve=function(m,p){return Tj(m(h),p)};c.Z=function(){return{name:"",args:$a(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
W.prototype.expression=W.prototype.i;W.prototype.clip=function(a){try{a=new S(a)}catch(b){}return P("Image.clip",this,a)};W.prototype.clip=W.prototype.clip;W.prototype.nh=function(a){var b=1!=arguments.length||Am(arguments[0])?kb(arguments):arguments[0];return P("Image.rename",this,b)};W.prototype.rename=W.prototype.nh;W.prototype.name=function(){return"Image"};var Un=function(a){if(this instanceof Un){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Un)return a}else return vm(Un,arguments);Vn();if(u(a))N.call(this,null,null),this.Fc=a;else if(a instanceof N)N.call(this,a.A,a.args,a.P),this.Fc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};A(Un,N);y("ee.List",Un);var Wn=!1,Vn=function(){Wn||(Qm(Un,"List","List"),Wn=!0)};
Un.prototype.encode=function(a){return u(this.Fc)?$a(this.Fc,function(b){return a(b)}):Un.F.encode.call(this,a)};Un.prototype.pa=function(a){return u(this.Fc)?Pj(a(this.Fc)):Un.F.pa.call(this,a)};Un.prototype.name=function(){return"List"};var X=function(a,b){if(!(this instanceof X))return vm(X,arguments);if(a instanceof X)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");Xn();a instanceof S&&(a=new V(a));a instanceof V&&(a=[a]);if(Am(a)){var c={tableId:a};b&&(c.geometryColumn=b);U.call(this,new O("Collection.loadTable"),c)}else if(u(a))U.call(this,new O("Collection"),{features:$a(a,function(d){return new V(d)})});else if(a instanceof Un)U.call(this,
new O("Collection"),{features:a});else if(a instanceof N)U.call(this,a.A,a.args,a.P);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};A(X,U);y("ee.FeatureCollection",X);var Yn=!1,Xn=function(){Yn||(Qm(X,"FeatureCollection","FeatureCollection"),Yn=!0)};X.prototype.getMap=function(a,b){var c=Q(X.prototype.getMap,arguments),d=Jm("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(void 0,c.callback);else return d.getMap()};
X.prototype.getMap=X.prototype.getMap;X.prototype.W=function(a){return X.F.W.call(this,a)};X.prototype.getInfo=X.prototype.W;X.prototype.xb=function(a,b,c,d){var e=Q(X.prototype.xb,arguments),f={};f.table=this.X();e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);if(e.selectors){var g=e.selectors;Aa(g)&&(g=g.join(","));f.selectors=g}if(e.callback)Hl(f,function(h,m){h?e.callback(Il(h)):e.callback(null,m)});else return Il(Hl(f))};X.prototype.getDownloadURL=X.prototype.xb;
X.prototype.select=function(a,b,c){if(Am(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(f){return f.select(d)})}var e=Q(X.prototype.select,arguments);return this.map(function(f){return f.select(e)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"FeatureCollection"};X.prototype.elementType=function(){return V};var Y=function(a){if(!(this instanceof Y))return vm(Y,arguments);if(a instanceof Y)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Zn();a instanceof W&&(a=[a]);if(Am(a))U.call(this,new O("ImageCollection.load"),{id:a});else if(u(a))U.call(this,new O("ImageCollection.fromImages"),{images:$a(a,function(b){return new W(b)})});else if(a instanceof Un)U.call(this,new O("ImageCollection.fromImages"),{images:a});else if(a instanceof
N)U.call(this,a.A,a.args,a.P);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};A(Y,U);y("ee.ImageCollection",Y);var $n=!1,Zn=function(){$n||(Qm(Y,"ImageCollection","ImageCollection"),Qm(Y,"reduce","ImageCollection"),$n=!0)};Y.prototype.Ee=function(a,b){var c=Q(Y.prototype.Ee,arguments);return ao(this,c,["png","jpg","jpeg"],"filmstrip")};Y.prototype.getFilmstripThumbURL=Y.prototype.Ee;
Y.prototype.He=function(a,b){var c=Q(Y.prototype.He,arguments);return ao(this,c,["gif"],"video")};Y.prototype.getVideoThumbURL=Y.prototype.He;
var ao=function(a,b,c,d){var e={};a=a.map(function(h){h=Kn(h,b.params);return Ln(h,b.params,e)});var f={},g=Nn(e,f);f.imageCollection=a.map(function(h){g.image=h;return Jm("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!ab(c,function(h){return h.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=Bl;if(L)switch(d){case "video":c=Cl;break;case "filmstrip":c=Dl}if(b.callback)c(f,function(h,m){var p=
"";if(void 0===m)try{p=El(h)}catch(q){m=String(q.message)}b.callback(p,m)});else return El(c(f))};Y.prototype.getMap=function(a,b){var c=Q(Y.prototype.getMap,arguments),d=P("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Y.prototype.getMap=Y.prototype.getMap;Y.prototype.W=function(a){return Y.F.W.call(this,a)};Y.prototype.getInfo=Y.prototype.W;
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.first=function(){return new W(P("Collection.first",this))};Y.prototype.first=Y.prototype.first;Y.prototype.name=function(){return"ImageCollection"};Y.prototype.elementType=function(){return W};var bo=function(a){this.ne=a;this.id=null},eo=function(a){var b={element:co(a)};Object.assign(b,a);b=Eb(b,function(c){return null!=c});return new bo(b)};
bo.prototype.start=function(a,b){var c=this;B(this.ne,"Task config must be specified for tasks to be started.");if(a){var d=function(){Ta(c.id);Yl(c.id,c.ne,function(e,f){f?b(f):a()})};this.id?d():Jl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||Jl(1)[0],Ta(this.id,"Failed to obtain task ID."),Yl(this.id,this.ne)};bo.prototype.start=bo.prototype.start;var fo=function(a,b,c,d,e,f,g,h,m,p){var q=Q(fo,arguments);q=go(q,"ASSET","EXPORT_IMAGE");return eo(q)};
y("ee.batch.Export.image.toAsset",fo);var ho=function(a,b,c,d,e,f,g,h,m,p,q,w,z,E,M){var Z=Q(ho,arguments);Z=go(Z,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return eo(Z)};y("ee.batch.Export.image.toCloudStorage",ho);var io=function(a,b,c,d,e,f,g,h,m,p,q,w,z,E,M){var Z=Q(io,arguments);Z=go(Z,"DRIVE","EXPORT_IMAGE");return eo(Z)};y("ee.batch.Export.image.toDrive",io);var jo=function(a,b,c,d,e,f,g,h,m,p,q,w){var z=Q(jo,arguments);z=go(z,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return eo(z)};
y("ee.batch.Export.map.toCloudStorage",jo);var ko=function(a,b,c,d,e,f){var g=Q(ko,arguments);g=go(g,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return eo(g)};y("ee.batch.Export.table.toCloudStorage",ko);var lo=function(a,b,c,d,e,f){var g=Q(lo,arguments);g.type="EXPORT_FEATURES";g=go(g,"DRIVE","EXPORT_FEATURES");return eo(g)};y("ee.batch.Export.table.toDrive",lo);var mo=function(a,b,c){var d=Q(mo,arguments);d=go(d,"ASSET","EXPORT_FEATURES");return eo(d)};y("ee.batch.Export.table.toAsset",mo);
var no=function(a,b,c,d,e,f,g,h,m,p,q,w){var z=Q(no,arguments);z=go(z,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return eo(z)};y("ee.batch.Export.video.toCloudStorage",no);var oo=function(a,b,c,d,e,f,g,h,m,p,q,w){var z=Q(oo,arguments);z=go(z,"DRIVE","EXPORT_VIDEO");return eo(z)};y("ee.batch.Export.video.toDrive",oo);var po=function(a,b,c,d,e,f,g,h,m,p,q,w,z,E,M,Z,Bj,Cj,Dj,Ej){var gi=Q(po,arguments);gi=go(gi,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return eo(gi)};
y("ee.batch.Export.videoMap.toCloudStorage",po);
var co=function(a){var b=function(d){return d in a},c=qo.find(b);B(1===cb(qo,b),'Expected a single "image" or "collection" key.');b=a[c];if(!(b instanceof W||b instanceof X||b instanceof Y||b instanceof R))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection or ee.Element.");delete a[c];return b},go=function(a,b,c){var d=void 0===d?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":null==e.fileFormat&&(e.fileFormat=
"GeoTIFF");a=e.fileFormat;null==a&&(a="GEO_TIFF");a=a.toUpperCase();switch(a){case "TIFF":case "TIF":case "GEO_TIFF":case "GEOTIFF":a="GEO_TIFF";break;case "TF_RECORD":case "TF_RECORD_IMAGE":case "TFRECORD":a="TF_RECORD_IMAGE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'GEOTIFF', 'TFRECORD'.");}null!=e.formatOptions&&(a=ro(e,a),delete e.formatOptions,Object.assign(e,a));e=so(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_TILES":e=
b=so(e,b);break;case "EXPORT_FEATURES":u(e.selectors)&&(e.selectors=e.selectors.join());e=so(e,b);break;case "EXPORT_VIDEO":e=to(e);e=so(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=to(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=so(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof S)b=b.Qc();
else if("string"===typeof b)try{b=Va(JSON.parse(b))}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}if(!(v(b)&&"type"in b))try{new gn(b)}catch(f){try{new kn(b)}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}}b=Wh(b);
d.region=b}return e},so=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=a.assetId||"";break;default:b=za(a.folder);if(!fb(["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},
uo={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},vo={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},to=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;a.fileFormat="MP4";return a},ro=function(a,b){var c=a.formatOptions;if(null==c)return{};if(Object.keys(a).some(function(m){return null!==c&&m in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");
a=vo[b];for(var d=uo[b],e={},f=l(Object.entries(c)),g=f.next();!g.done;g=f.next()){var h=l(g.value);g=h.next().value;h=h.next().value;if(!fb(d,g))throw Error('"'+g+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));g=a+g[0].toUpperCase()+g.substring(1);u(h)?e[g]=h.join():e[g]=h}return e},qo=["image","collection"];var wo=function(a){if(!(this instanceof wo))return vm(wo,arguments);if(a instanceof wo)return a;xo();if("number"===typeof a)N.call(this,null,null),this.Hc=a;else if(a instanceof N)N.call(this,a.A,a.args,a.P),this.Hc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};A(wo,N);y("ee.Number",wo);var yo=!1,xo=function(){yo||(Qm(wo,"Number","Number"),yo=!0)};wo.prototype.encode=function(a){return"number"===typeof this.Hc?this.Hc:wo.F.encode.call(this,a)};
wo.prototype.pa=function(a){return"number"===typeof this.Hc?Pj(a(this.Hc)):wo.F.pa.call(this,a)};wo.prototype.name=function(){return"Number"};var zo=function(a){if(!(this instanceof zo))return vm(zo,arguments);if(a instanceof zo)return a;Ao();if("string"===typeof a)N.call(this,null,null),this.Oc=a;else if(a instanceof N)this.Oc=null,a.A&&"String"==a.A.Z().returns?N.call(this,a.A,a.args,a.P):N.call(this,new O("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};A(zo,N);y("ee.String",zo);var Bo=!1,Ao=function(){Bo||(Qm(zo,"String","String"),Bo=!0)};
zo.prototype.encode=function(a){return"string"===typeof this.Oc?this.Oc:zo.F.encode.call(this,a)};zo.prototype.pa=function(a){return"string"===typeof this.Oc?Pj(a(this.Oc)):zo.F.pa.call(this,a)};zo.prototype.name=function(){return"String"};var Co=function(a,b){if(!(this instanceof Co))return vm(Co,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(Do(g in xm?xm[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Pa=Eo(a,c,b);this.Vf=b.apply(null,c)};A(Co,Dm);y("ee.CustomFunction",Co);Co.prototype.encode=function(a){return{type:"Function",argumentNames:$a(this.Pa.args,function(b){return b.name}),body:a(this.Vf)}};
Co.prototype.pa=function(a){return Uj(this.Pa.args.map(function(b){return b.name}),a(this.Vf))};Co.prototype.ve=function(a,b){return Tj(a(this),b)};Co.prototype.Z=function(){return this.Pa};
var Do=function(a,b){a=a||Object;if(!(a.prototype instanceof N))if(a&&a!=Object)if(a==String)a=zo;else if(a==Number)a=wo;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=N;var c=function(d){this.args=this.A=null;this.P=d};c.prototype=a.prototype;return new c(b)},Fo=function(a,b){b={name:"",returns:"Object",args:$a(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof N?c.prototype.name.call(null):c==Number?
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new Co(b,a)},Eo=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].P&&d.push(e);if(0==d.length)return a;var f=function(m){var p=0;v(m)&&!Ca(m)&&("Function"==m.type&&p++,Db(m,function(q){p+=f(q)}));return p};e=Jk(c.apply(null,b));c="_MAPPING_VAR_"+f(e)+"_";for(e=0;e<d.length;e++){var g=d[e],h=c+e;b[g].P=h;a.args[g].name=h}return a};var Go=function(a,b){if(!(this instanceof Go))return vm(Go,arguments);if(a instanceof Go)return a;Ho();var c=Q(Go,arguments);a=c.date;c=c.tz;var d=new O("Date"),e={},f=null;if(Am(a)){if(e.value=a,c)if(Am(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(zm(a))e.value=a;else if(Ba(a))e.value=Math.floor(a.getTime());else if(a instanceof N)a.A&&"Date"==a.A.Z().returns?(d=a.A,e=a.args,f=a.P):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
a);N.call(this,d,e,f)};A(Go,N);y("ee.Date",Go);var Io=!1,Ho=function(){Io||(Qm(Go,"Date","Date"),Io=!0)};Go.prototype.name=function(){return"Date"};y("ee.Deserializer",function(){});var Ko=function(a){return Jo(JSON.parse(a))};y("ee.Deserializer.fromJSON",Ko);var Jo=function(a){var b={};if(v(a)&&"CompoundValue"==a.type){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],f=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=Lo(f,b)}a=a.value}return Lo(a,b)};y("ee.Deserializer.decode",Jo);
var Lo=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(u(a))return $a(a,function(f){return Lo(f,b)});if(!v(a)||Ca(a))throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":c=a.value;if("string"!==typeof c)throw Error("Invalid variable name: "+c);return Do(Object,c);case "Date":c=a.value;if("number"!==typeof c)throw Error("Invalid date value: "+
c);return new Go(c/1E3);case "Bytes":return c=new Nj,c.encode=function(){return a},c;case "Invocation":c="functionName"in a?Im(a.functionName):Lo(a["function"],b);var d=Fb(a.arguments,function(f){return Lo(f,b)});if(c instanceof Dm)return c.apply(d);if(c instanceof N)return new N(c,d);throw Error("Invalid function value: "+a["function"]);case "Dictionary":return Fb(a.value,function(f){return Lo(f,b)});case "Function":var e=Lo(a.body,b);c={name:"",args:$a(a.argumentNames,function(f){return{name:f,
type:"Object",optional:!1}}),returns:"Object"};return new Co(c,function(){return e});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new S(a);case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}};var Mo=function(a){if(!(this instanceof Mo))return vm(Mo,arguments);if(a instanceof Mo)return a;No();Bm(a)?(N.call(this,null,null),this.uc=a):(a instanceof N&&a.A&&"Dictionary"==a.A.Z().returns?N.call(this,a.A,a.args,a.P):N.call(this,new O("Dictionary"),{input:a},null),this.uc=null)};A(Mo,N);y("ee.Dictionary",Mo);var Oo=!1,No=function(){Oo||(Qm(Mo,"Dictionary","Dictionary"),Oo=!0)};Mo.prototype.encode=function(a){return null!==this.uc?a(this.uc):Mo.F.encode.call(this,a)};
Mo.prototype.pa=function(a){return null!==this.uc?Pj(a(this.uc)):Mo.F.pa.call(this,a)};Mo.prototype.name=function(){return"Dictionary"};var Po={};y("ee.Terrain",Po);Po.Me=!1;Po.ri=function(){Po.Me||(Qm(Po,"Terrain","Terrain"),Po.Me=!0)};Po.reset=function(){Rm(Po);Po.Me=!1};var Vo=function(a,b,c,d,e){if("ready"!=Qo||a||b){var f=null!=c;if(d)if(f)Ro.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Qo&&f)So.push(c);else if(Qo="loading",ej(a,b,e),f)So.push(c),Mm(To,Uo);else try{Mm(),To()}catch(g){throw Uo(g),g;}}else c&&c()};y("ee.initialize",Vo);
var Yo=function(){Qo="not_ready";yj=xj=mj=null;wj=!1;Km=null;Lm={};Rm(Go);Io=!1;Rm(Mo);Oo=!1;Rm(R);Ym=!1;Rm(W);Rn=!1;Rm(V);Jn=!1;Rm(U);Hn=!1;Rm(Y);$n=!1;Rm(X);Yn=!1;Rm(T);sn=!1;Rm(S);an=!1;Rm(Un);Wn=!1;Rm(wo);yo=!1;Rm(zo);Bo=!1;Po.reset();for(var a=t.ee,b=0;b<Wo.length;b++){var c=Wo[b];Rm(a[c]);delete a[c]}Wo=[];xm=a;a=Xo;for(var d in a)delete a[d]};y("ee.reset",Yo);var Zo={Jj:"not_ready",LOADING:"loading",Sj:"ready"};y("ee.InitState",Zo);y("ee.InitState.NOT_READY","not_ready");
y("ee.InitState.LOADING","loading");y("ee.InitState.READY","ready");var Qo="not_ready",So=[],Ro=[];y("ee.TILE_SIZE",256);var Wo=[],Xo={};y("ee.Algorithms",Xo);var $o=function(a,b){"string"===typeof a&&(a=new O(a));return Dm.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};y("ee.call",$o);var ap=function(a,b){"string"===typeof a&&(a=new O(a));return a.apply(b)};y("ee.apply",ap);
var To=function(){if("loading"==Qo){try{Ho();No();Xm();Pn();In();Gn();Zn();Xn();rn();Zm();Vn();xo();Ao();Po.ri();var a=Nm(),b={},c={},d;for(d in a){b[-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d]=!0;var e=a[d].returns.replace(/<.*>/,"");c[e]=!0}var f=t.ee,g;for(g in b)g in c&&!(g in f)&&(f[g]=bp(g),Wo.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,Lm[g]=!0):f[g].signature={});xm=f;cp()}catch(h){Uo(h);return}Qo="ready";for(Ro=[];0<So.length;)So.shift()()}},Uo=function(a){if("loading"==
Qo)for(Qo="not_ready",So=[];0<Ro.length;)Ro.shift()(a)},cp=function(){var a=Om();Ib(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=Xo;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=mb(b,1)}f=function(g){return Hm(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=x(c.toString,c);e[b[0]]=f}})},bp=function(a){var b=function(c){var d=t.ee[a],e=Array.prototype.slice.call(arguments),f=1==e.length;if(f&&e[0]instanceof
d)return e[0];if(!(this instanceof d))return vm(d,e);d=Pm(a);var g=!(e[0]instanceof N),h=!1;d&&(f?g?h=!0:e[0].A&&e[0].A.Z().returns==d.Z().returns||(h=!0):h=!0);if(h)e=Cm(e,d.Z())?e[0]:Fm(d,e),N.call(this,d,Gm(d,e));else{if(!f)throw Error("Too many arguments for ee."+a+"(): "+e);if(g)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];N.call(this,e.A,e.args,e.P)}};A(b,N);b.prototype.name=function(){return a};Qm(b,a,a);return b};
Em=function(a,b){if(null===a)return null;if(void 0!==a){var c=t.ee;switch(b){case "Image":return new W(a);case "Feature":return a instanceof U?P("Feature",P("Collection.geometry",a)):new V(a);case "Element":if(a instanceof R)return a;if(a instanceof S)return new V(a);if(a instanceof N)return new R(a.A,a.args,a.P);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof X?P("Collection.geometry",a):new S(a);case "FeatureCollection":case "Collection":return a instanceof U?
a:new X(a);case "ImageCollection":return new Y(a);case "Filter":return new T(a);case "Algorithm":if("string"===typeof a)return new O(a);if(Ca(a)){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return Fo(a,c)}if(a instanceof Nj)return a;throw Error("Argument is not a function: "+a);case "String":return Am(a)||a instanceof zo||a instanceof N?new zo(a):a;case "Dictionary":return Bm(a)?a:new Mo(a);case "List":return new Un(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new wo(a);
default:if(b in c){d=Pm(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if("string"===typeof a){if(a in c[b])return c[b][a].call();throw Error("Unknown algorithm: "+b+"."+a);}return new c[b](a)}return a}}};var dp=function(a,b,c){Kd.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.yg=new yd;this.xg=new yd};n(dp,Kd);dp.prototype.getTile=function(a,b){var c=Ld(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.kb,this.token].join("/");this.mb.push(c);this.kb+=1;var d=Rg("DIV");ep(this,b,a,c,d);fp(this);return d};
var ep=function(a,b,c,d,e){var f=ui(si);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=x(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.yg.set(c,g),this.xg.set(c,e),ib(this.mb,d),fp(this);else throw this.Ff.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},fp=function(a){a.dispatchEvent(new Md(a.mb.length))};dp.prototype.C=function(){this.xg=this.yg=null;Kd.prototype.C.call(this)};
y("ee.FloatTileOverlay",dp);var gp=function(){this.Dd=new Map};gp.prototype.clear=function(){this.Dd.clear()};var hp=function(a,b){a.Dd.has(b)||a.Dd.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.Dd.get(b)};var ip=function(a){Ka.call(this);this.zb=a;this.H={}};A(ip,Ka);var jp=[];ip.prototype.Na=function(a,b,c,d){u(b)||(b&&(jp[0]=b.toString()),b=jp);for(var e=0;e<b.length;e++){var f=fd(a,b[e],c||this.handleEvent,d||!1,this.zb||this);if(!f)break;this.H[f.key]=f}return this};ip.prototype.Gc=function(a,b,c,d){return kp(this,a,b,c,d)};var kp=function(a,b,c,d,e,f){if(u(c))for(var g=0;g<c.length;g++)kp(a,b,c[g],d,e,f);else{b=ed(b,c,d||a.handleEvent,e,f||a.zb||a);if(!b)return a;a.H[b.key]=b}return a};
ip.prototype.Kd=function(a,b,c,d,e){if(u(b))for(var f=0;f<b.length;f++)this.Kd(a,b[f],c,d,e);else c=c||this.handleEvent,d=v(d)?!!d.capture:!!d,e=e||this.zb||this,c=gd(c),d=!!d,b=Vc(a)?a.xc(b,c,d,e):a?(a=id(a))?a.xc(b,c,d,e):null:null,b&&(nd(b),delete this.H[b.key])};ip.prototype.Mc=function(){Db(this.H,function(a,b){this.H.hasOwnProperty(b)&&nd(a)},this);this.H={}};ip.prototype.C=function(){ip.F.C.call(this);this.Mc()};
ip.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var lp=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};k=lp.prototype;k.clone=function(){return new lp(this.top,this.right,this.bottom,this.left)};k.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};k.contains=function(a){return this&&a?a instanceof lp?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
k.expand=function(a,b,c,d){v(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};k.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
k.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};k.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
k.translate=function(a,b){a instanceof Mg?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(Sa(a),this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var mp=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};k=mp.prototype;k.clone=function(){return new mp(this.left,this.top,this.width,this.height)};k.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
k.Og=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};k.intersects=function(a){return this.left<=a.left+a.width&&a.left<=this.left+this.width&&this.top<=a.top+a.height&&a.top<=this.top+this.height};
k.ue=function(a){b:{var b=Math.max(this.left,a.left);var c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top),e=Math.min(this.top+this.height,a.top+a.height);if(d<=e){b=new mp(b,d,c-b,e-d);break b}}b=null}if(b&&b.height&&b.width){b=[];c=this.top;d=this.height;e=this.left+this.width;var f=this.top+this.height,g=a.left+a.width,h=a.top+a.height;a.top>this.top&&(b.push(new mp(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);h<f&&(b.push(new mp(this.left,
h,this.width,f-h)),d=h-c);a.left>this.left&&b.push(new mp(this.left,c,a.left-this.left,d));g<e&&b.push(new mp(g,c,e-g,d));a=b}else a=[this.clone()];return a};k.contains=function(a){return a instanceof Mg?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
k.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};k.getCenter=function(){return new Mg(this.left+this.width/2,this.top+this.height/2)};k.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
k.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};k.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.translate=function(a,b){a instanceof Mg?(this.left+=a.x,this.top+=a.y):(this.left+=Sa(a),"number"===typeof b&&(this.top+=b));return this};
k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var np=function(a,b){B(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};var pp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Kb[a.name]):(this.code=a=Sa(a.code),this.name=op(a));Na.call(this,vc("%s %s",this.name,b))};A(pp,Na);var op=function(a){var b=Lb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Kb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};var qp=function(a,b){Ma.call(this,a.type,b);this.Ba=a};A(qp,Ma);var rp=function(){rd.call(this);this.aa=new FileReader;this.aa.onloadstart=x(this.Ub,this);this.aa.onprogress=x(this.Ub,this);this.aa.onload=x(this.Ub,this);this.aa.onabort=x(this.Ub,this);this.aa.onerror=x(this.Ub,this);this.aa.onloadend=x(this.Ub,this)};A(rp,rd);k=rp.prototype;k.abort=function(){try{this.aa.abort()}catch(a){throw new pp(a,"aborting read");}};k.hb=function(){return this.aa.readyState};k.getError=function(){return this.aa.error&&new pp(this.aa.error,"reading file")};
k.Ub=function(a){this.dispatchEvent(new qp(a,this))};k.C=function(){rp.F.C.call(this);delete this.aa};k.readAsBinaryString=function(a){this.aa.readAsBinaryString(a)};k.readAsArrayBuffer=function(a){this.aa.readAsArrayBuffer(a)};k.readAsText=function(a,b){this.aa.readAsText(a,b)};var sp=function(a,b){rd.call(this);b=b||{};this.minZoom=b.minZoom||0;this.maxZoom=b.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=b.tileSize||new google.maps.Size(256,256);this.name=b.name;this.opacity="opacity"in b?b.opacity:1;this.Cd=new gp;this.lb=new yd;this.kb=0;this.Ef=a;this.Wa=new ip(this);this.projection=null;this.radius=0;this.alt=null};A(sp,rd);y("ee.layers.AbstractOverlay",sp);
sp.prototype.$d=function(a){return fd(this,"tile-load",a)};sp.prototype.addTileCallback=sp.prototype.$d;sp.prototype.mf=function(a){nd(a)};sp.prototype.removeTileCallback=sp.prototype.mf;k=sp.prototype;k.Fe=function(){return tp(this,"throttled")+tp(this,"loading")+tp(this,"new")};k.setOpacity=function(a){this.opacity=a;this.lb.forEach(function(b){np(b.oa,this.opacity)},this)};k.getStats=function(){return this.Cd};
k.getTile=function(a,b,c){var d=1<<b;if(b<this.minZoom||0>a.y||a.y>=d)return c.createElement("div");var e=a.x%d;0>e&&(e+=d);d=new google.maps.Point(e,a.y);a=[[a.x,a.y,b,this.kb++].join("-"),this.Ef.Eg()].join("-");b=this.gg(d,b,c,a);b.tileSize=this.tileSize;np(b.oa,this.opacity);this.lb.set(a,b);up(this,b);this.Ef.Tg(b,(new Date).getTime()/1E3);return b.oa};k.releaseTile=function(a){var b=this.lb.get(a.id);this.lb.remove(a.id);b&&(b.abort(),La(b))};
var up=function(a,b){a.Wa.Na(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.wi,d=(new Date).getTime();hp(this.Cd,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new vp(this.Fe()));break;case "throttled":hp(this.Cd,b.zoom).throttleCount++;this.dispatchEvent(new wp(b.Fa));break;case "failed":hp(this.Cd,b.zoom).errorCount++,this.dispatchEvent(new xp(b.Fa,b.ji))}})};
sp.prototype.C=function(){sp.F.C.call(this);this.lb.forEach(La);this.lb.clear();this.lb=null;La(this.Wa);this.Ef=this.Wa=null};var tp=function(a,b){return cb(a.lb.S(),function(c){return c.getStatus()==b})},vp=function(){Ma.call(this,"tile-load")};A(vp,Ma);var wp=function(){Ma.call(this,"tile-throttle")};A(wp,Ma);var xp=function(a,b){Ma.call(this,"tile-fail");this.errorMessage=b};A(xp,Ma);
var yp=function(a,b,c,d){rd.call(this);this.Tb=a;this.zoom=b;this.oa=c.createElement("div");this.oa.id=d;this.yi=5;this.yd=function(){};this.zf="new";this.qh=0;this.Pe=!1};A(yp,rd);
var Ap=function(a){if(!a.Pe&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");zp(a,"loading");a.wi=(new Date).getTime();a.Qa=new xi;a.Qa.dc="blob";a.Qa.Na("complete",function(){var b=Ki(this.Qa),c=this.Qa.getStatus();429==c&&zp(this,"throttled");if(oi(c)){var d={};Db(Li(this.Qa),function(f,g){d[g.toLowerCase()]=f});this.Li=d;this.xh=b;this.wc()}else if(b){var e=new rp;e.Na("loadend",function(){this.Nc(e.aa.result)},void 0,this);
e.readAsText(b)}else this.Nc("Failed to load tile.")},!1,a);a.Qa.Gc("ready",Ia(La,a.Qa));a.Fa&&a.Fa.endsWith("&profiling=1")&&L&&(a.Fa=a.Fa.replace("&profiling=1",""),a.Qa.headers.set("X-Earth-Engine-Computation-Profile","1"));a.Qa.send(a.Fa,"GET")};k=yp.prototype;k.wc=function(){this.yd(this);zp(this,"loaded")};k.qc=function(){La(this.Qa)};
k.Nc=function(a){var b=function(c){try{if(c=JSON.parse(c),c.error&&c.error.message)return c.error.message}catch(d){}return c};this.qh>=this.yi?(this.ji=b(a),zp(this,"failed")):(this.qc(),setTimeout(x(function(){this.La||(this.Pe=!0,Ap(this),this.Pe=!1)},this),1E3*Math.pow(2,this.qh++)))};k.abort=function(){this.qc();zp(this,"aborted")};k.getStatus=function(){return this.zf};var zp=function(a,b){a.zf=b;a.dispatchEvent("status-changed")},Bp={aborted:!0,failed:!0,loaded:!0};
yp.prototype.C=function(){yp.F.C.call(this);this.qc();this.oa.remove();this.yd=null};var Cp=function(){Ka.call(this)};A(Cp,Ka);var Dp=function(a,b){sp.call(this,a,b);this.Xf=new yd;this.qg=new yd};n(Dp,sp);Dp.prototype.gg=function(a,b,c,d){var e=new Ep(a,b,c,d);this.Wa.Na(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Xf.set(a,new Float32Array(e.di)),this.qg.set(a,e.oa))});return e};Dp.prototype.C=function(){sp.prototype.C.call(this);this.qg=this.Xf=null};y("ee.layers.BinaryOverlay",Dp);var Ep=function(a,b,c,d){yp.call(this,a,b,c,d)};n(Ep,yp);
Ep.prototype.wc=function(){var a=new rp;a.Na("loadend",function(){this.di=a.aa.result;yp.prototype.wc.call(this)},void 0,this);a.readAsArrayBuffer(this.xh)};var Fp=function(a){rd.call(this);this.Bc={};this.Ac={};this.zb=new ip(this);this.N=a};A(Fp,rd);var Gp=[Cc&&!Mc("11")?"readystatechange":"load","abort","error"],Hp=function(a,b,c){(c="string"===typeof c?c:c.src)&&(a.Bc[b]={src:c,eg:null})},Ip=function(a,b){delete a.Bc[b];var c=a.Ac[b];c&&(delete a.Ac[b],a.zb.Kd(c,Gp,a.bh),Mb(a.Ac)&&Mb(a.Bc)&&a.dispatchEvent("complete"))};
Fp.prototype.start=function(){var a=this.Bc;Ya(Ib(a),function(b){var c=a[b];if(c&&(delete a[b],!this.La)){if(this.N){var d=this.N;d=(d?new Yg(Xg(d)):Oa||(Oa=new Yg)).hi("IMG")}else d=new Image;c.eg&&(d.crossOrigin=c.eg);this.zb.Na(d,Gp,this.bh);this.Ac[b]=d;d.id=b;d.src=c.src}},this)};
Fp.prototype.bh=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.La||Ip(this,b.id)}};Fp.prototype.C=function(){delete this.Bc;delete this.Ac;La(this.zb);Fp.F.C.call(this)};var Jp=function(a,b){sp.call(this,a,b)};n(Jp,sp);Jp.prototype.gg=function(a,b,c,d){return new Kp(a,b,c,d)};y("ee.layers.ImageOverlay",Jp);var Kp=function(a,b,c,d){yp.call(this,a,b,c,d);this.yd=Lp;this.Mg=this.da=this.od=null;this.Ic=""};n(Kp,yp);
Kp.prototype.wc=function(){try{var a=mc(this.xh);this.Ic=kc(a);var b="about:invalid#zClosurez"!==this.Ic?this.Ic:this.Fa}catch(c){b=this.Fa}this.da=new Fp;Hp(this.da,this.oa.id+"-image",b);this.Mg=ed(this.da,Mp,function(c){"load"==c.type?(this.od=c.target,yp.prototype.wc.call(this)):this.Nc()},void 0,this);this.da.start()};Kp.prototype.qc=function(){yp.prototype.qc.call(this);this.da&&(nd(this.Mg),La(this.da))};Kp.prototype.C=function(){yp.prototype.C.call(this);this.Ic&&URL.revokeObjectURL(this.Ic)};
var Lp=function(a){a.oa.appendChild(a.od)},Mp=["load","abort","error"];var Np=function(a){for(var b=arguments[0],c=1;c<arguments.length;c++){var d=arguments[c];if(0==d.lastIndexOf("/",0))b=d;else{var e;(e=""==b)||(e=b.length-1,e=0<=e&&b.indexOf("/",e)==e);b=e?b+d:b+("/"+d)}}return b};var Op=function(a,b,c,d){Ka.call(this);this.Wf=a;this.Ya=b;this.Cf=d||"";this.td=c};A(Op,Cp);y("ee.layers.CloudStorageTileSource",Op);
Op.prototype.Tg=function(a){if(a.zoom<=this.td)a.Fa=this.kd(a.Tb,a.zoom);else{var b=a.zoom-this.td,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.Tb.x/c),Math.floor(a.Tb.y/c));a.Fa=this.kd(c,a.zoom-b);a.yd=Ia(Pp,this.td)}var d=x(a.Nc,a);a.Nc=x(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?zp(a,"loaded"):d(e)},a);Ap(a)};Op.prototype.Eg=function(){return[this.Wf,this.Ya,this.td,this.Cf].join("-")};
Op.prototype.kd=function(a,b){a=Np("https://storage.googleapis.com",this.Wf,this.Ya,String(b),String(a.x),String(a.y));this.Cf&&(a+=this.Cf);return a};
var Pp=function(a,b){if(!b.od)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.oa.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.oa.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.od,c/a*(b.Tb.x%a),c/a*(b.Tb.y%a),c/a,c/a,0,0,c,c)};var Qp=function(){this.Ca=[];this.Ja=[]};k=Qp.prototype;k.enqueue=function(a){this.Ja.push(a)};k.tc=function(){0==this.Ca.length&&(this.Ca=this.Ja,this.Ca.reverse(),this.Ja=[]);return this.Ca.pop()};k.L=function(){return this.Ca.length+this.Ja.length};k.isEmpty=function(){return 0==this.Ca.length&&0==this.Ja.length};k.clear=function(){this.Ca=[];this.Ja=[]};k.contains=function(a){return fb(this.Ca,a)||fb(this.Ja,a)};
k.remove=function(a){var b=this.Ca;var c=Xa(b,a);0<=c?(hb(b,c),b=!0):b=!1;return b||ib(this.Ja,a)};k.S=function(){for(var a=[],b=this.Ca.length-1;0<=b;--b)a.push(this.Ca[b]);var c=this.Ja.length;for(b=0;b<c;++b)a.push(this.Ja[b]);return a};var Rp=function(a,b){Ka.call(this);this.Zg=a||0;this.sd=b||10;if(this.Zg>this.sd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ma=new Qp;this.ib=new Hd;this.delay=0;this.Qe=null;this.Zc()};A(Rp,Ka);Rp.prototype.yc=function(){var a=Ja();if(!(null!=this.Qe&&a-this.Qe<this.delay)){for(var b;0<this.Ma.L()&&(b=this.Ma.tc(),!this.Ze(b));)this.Zc();!b&&this.L()<this.sd&&(b=this.oe());b&&(this.Qe=a,this.ib.add(b));return b}};
var Sp=function(a,b){return a.ib.remove(b)?(a.Zd(b),!0):!1};k=Rp.prototype;k.Zd=function(a){this.ib.remove(a);this.Ze(a)&&this.L()<this.sd?this.Ma.enqueue(a):this.ed(a)};k.Zc=function(){for(var a=this.Ma;this.L()<this.Zg;)a.enqueue(this.oe());for(;this.L()>this.sd&&0<this.Ma.L();)this.ed(a.tc())};k.oe=function(){return{}};k.ed=function(a){if("function"==typeof a.Ka)a.Ka();else for(var b in a)a[b]=null};k.Ze=function(a){return"function"==typeof a.fi?a.fi():!0};
k.contains=function(a){return this.Ma.contains(a)||this.ib.contains(a)};k.L=function(){return this.Ma.L()+this.ib.L()};k.isEmpty=function(){return this.Ma.isEmpty()&&this.ib.isEmpty()};k.C=function(){Rp.F.C.call(this);if(0<this.ib.L())throw Error("[goog.structs.Pool] Objects not released");delete this.ib;for(var a=this.Ma;!a.isEmpty();)this.ed(a.tc());delete this.Ma};var Tp=function(a,b){this.Rg=a;this.Nd=b};Tp.prototype.getKey=function(){return this.Rg};Tp.prototype.clone=function(){return new Tp(this.Rg,this.Nd)};var Up=function(a){this.va=[];if(a)a:{if(a instanceof Up){var b=a.Da();a=a.S();if(0>=this.L()){for(var c=this.va,d=0;d<b.length;d++)c.push(new Tp(b[d],a[d]));break a}}else b=Ib(a),a=Hb(a);for(d=0;d<b.length;d++)Vp(this,b[d],a[d])}},Vp=function(a,b,c){var d=a.va;d.push(new Tp(b,c));b=d.length-1;a=a.va;for(c=a[b];0<b;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};k=Up.prototype;
k.remove=function(){var a=this.va,b=a.length,c=a[0];if(!(0>=b)){if(1==b)gb(a);else{a[0]=a.pop();a=0;b=this.va;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,g=2*a+2;f=g<d&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>e.getKey())break;b[a]=b[f];a=f}b[a]=e}return c.Nd}};k.S=function(){for(var a=this.va,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Nd);return b};k.Da=function(){for(var a=this.va,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
k.rc=function(a){return ab(this.va,function(b){return b.Nd==a})};k.eb=function(a){return ab(this.va,function(b){return b.getKey()==a})};k.clone=function(){return new Up(this)};k.L=function(){return this.va.length};k.isEmpty=function(){return 0==this.va.length};k.clear=function(){gb(this.va)};var Wp=function(){Up.call(this)};A(Wp,Up);Wp.prototype.enqueue=function(a,b){Vp(this,a,b)};Wp.prototype.tc=function(){return this.remove()};var Xp=function(a,b){this.og=void 0;this.Ad=new Wp;Rp.call(this,a,b)};A(Xp,Rp);k=Xp.prototype;k.yc=function(a,b){if(!a)return(a=Xp.F.yc.call(this))&&this.delay&&(this.og=t.setTimeout(x(this.md,this),this.delay)),a;this.Ad.enqueue(void 0!==b?b:100,a);this.md()};k.md=function(){for(var a=this.Ad;0<a.L();){var b=this.yc();if(b)a.tc().apply(this,[b]);else break}};k.Zd=function(a){Xp.F.Zd.call(this,a);this.md()};k.Zc=function(){Xp.F.Zc.call(this);this.md()};
k.C=function(){Xp.F.C.call(this);t.clearTimeout(this.og);this.Ad.clear();this.Ad=null};var Yp=function(a,b){Ka.call(this);this.Re=a;this.ra=b||null};A(Yp,Cp);y("ee.layers.EarthEngineTileSource",Yp);Yp.prototype.Tg=function(a,b){var c=fd(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.Li["x-earth-engine-computation-profile"];this.ra&&e&&this.ra.ai(a.oa.id,e);break;case "failed":case "aborted":this.ra&&""!==a.oa.id&&this.ra.Fi(a.oa.id),nd(c)}},void 0,this);a.Fa=this.kd(a.Tb,a.zoom);var d=x(this.Ie,this,a);Zp().yc(d,b)};
Yp.prototype.Eg=function(){return this.Re.mapid+"-"+this.Re.token};Yp.prototype.Ie=function(a,b){var c=Zp();if(a.La||"aborted"==a.getStatus())Sp(c,b);else{var d=fd(a,"status-changed",function(){a.zf in Bp&&(nd(d),Sp(c,b))});Ap(a)}};Yp.prototype.kd=function(a,b){a=this.Re.formatTileUrl(a.x,a.y,b);return this.ra&&this.ra.isEnabled()?a+"&profiling=1":a};var Zp=function(){$p||($p=new Xp(0,4));return $p},$p=null;var bq=function(){rd.call(this);this.Hd=new aq(0,60);this.cc=new yd};A(bq,rd);y("ee.MapTileManager",bq);bq.Ne=void 0;bq.Dg=function(){return bq.Ne?bq.Ne:bq.Ne=new bq};bq.prototype.send=function(a,b,c,d,e){if(this.cc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new cq(a,b,d,x(this.mh,this),void 0!==e?e:1);this.cc.set(a,b);a=x(this.Ie,this,b);this.Hd.yc(a,c);return b};bq.prototype.abort=function(a){if(a=this.cc.get(a))a.Rb||(a.Rb=!0,a.Ba=new Ma("abort")),this.mh(a)};
bq.prototype.Ie=function(a,b){if(a.da||a.Rb)dq(this,b);else if(a.Gh=b,b.setActive(!0),b=new Fp,a.da=b,!a.retry())throw Error("Cannot dispatch first request!");};bq.prototype.mh=function(a){this.cc.remove(a.getId());a.da&&(dq(this,a.Gh),a.da.Ka());a.Je&&a.Je(a.Ba,a.kh)};var dq=function(a,b){b.setActive(!1);if(!Sp(a.Hd,b))throw Error("Object not released");};bq.prototype.C=function(){bq.F.C.call(this);this.Hd.Ka();this.Hd=null;var a=this.cc;Ya(a.S(),function(b){b.Ka()});a.clear();this.cc=null};
var cq=function(a,b,c,d,e){Ka.call(this);this.ca=a;this.Qi=b;this.zi=void 0!==e?e:1;this.Je=c;this.Ib=d};A(cq,Ka);k=cq.prototype;k.Pf=0;k.Rb=!1;k.da=null;k.Gh=null;k.Ba=null;k.kh=null;var eq=["load","abort","error"];k=cq.prototype;k.getId=function(){return this.ca};k.getUrl=function(){return this.Qi};k.oi=function(a){if(this.Rb)this.Ib&&this.Ib(this);else switch(a.type){case "load":this.Ba=a;this.Ib&&this.Ib(this);break;case "error":case "abort":this.retry()||(this.Ba=a,this.Ib&&this.Ib(this))}};
k.C=function(){cq.F.C.call(this);delete this.Je;delete this.Ib};k.retry=function(){if(this.Pf>this.zi)return!1;this.Pf++;Ip(this.da,this.ca);setTimeout(x(this.Mi,this),0);return!0};
k.Mi=function(){if(!this.Rb){var a=x(function(d){this.Rb||(Hp(this.da,this.ca,d),ed(this.da,eq,x(this.oi,this)),this.da.start())},this),b=this.getUrl();if(Zi(b).xa.eb("profiling")){var c=new xi;c.dc="blob";c.Na("complete",x(function(){this.kh=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=kc(mc(Ki(c)));var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.Gc("ready",x(c.Ka,c));c.send(b,"GET")}else a(b)}};
var fq=function(){Ka.call(this);this.za=!1};A(fq,Ka);fq.prototype.setActive=function(a){this.za=a};fq.prototype.Pg=function(){return this.za};var aq=function(a,b){Xp.call(this,a,b)};A(aq,Xp);aq.prototype.oe=function(){return new fq};aq.prototype.ed=function(a){a.Ka()};aq.prototype.Ze=function(a){return!a.La&&!a.Pg()};var gq=function(a,b,c,d,e){Kd.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.Gf=new Hd;this.$e=1;this.ra=e||null};n(gq,Kd);k=gq.prototype;k.$d=function(a){return fd(this,"tileevent",a)};k.mf=function(a){nd(a)};
k.getTile=function(a,b,c){if(b<this.minZoom||0>a.y||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=Ld(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ra&&this.ra.isEnabled()&&(a+="&profiling=1");b=[b,this.kb,this.token].join("/");this.kb+=1;c=Rg("DIV",{id:b});var d=(new Date).getTime()/1E3;this.mb.push(b);bq.Dg().send(b,a,d,x(this.ni,this,c,b));fp(this);return c};k.Fe=function(){return this.mb.length};
k.releaseTile=function(a){bq.Dg().abort(a.id);this.Gf.remove(void 0!==a.firstElementChild?a.firstElementChild:Wg(a.firstChild));""!==a.id&&(this.Ff.remove(a.id),this.ra&&this.ra.Fi(a.id))};k.setOpacity=function(a){this.$e=a;var b=this.Gf.Qb();xd(b,function(c){np(c,a)})};
k.ni=function(a,b,c,d){"error"==c.type?(ib(this.mb,b),this.Ff.add(b),this.dispatchEvent(c)):(ib(this.mb,b),c.target&&"load"==c.type&&(c=c.target,this.Gf.add(c),1!=this.$e&&np(c,this.$e),a.appendChild(c)),fp(this));this.ra&&null!==d&&this.ra.ai(b,d)};y("ee.MapLayerOverlay",gq);gq.prototype.removeTileCallback=gq.prototype.mf;gq.prototype.addTileCallback=gq.prototype.$d;gq.prototype.getTile=gq.prototype.getTile;gq.prototype.setOpacity=gq.prototype.setOpacity;gq.prototype.releaseTile=gq.prototype.releaseTile;var hq=function(a,b){if(!(this instanceof hq))return new hq(a,b);this.Ya=a;this.Pa=b};A(hq,Dm);y("ee.SavedFunction",hq);hq.prototype.encode=function(a){return P("LoadAlgorithmById",this.Ya).encode(a)};hq.prototype.Z=function(){return this.Pa};(function(){var a={},b="ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.table.toDrive ee.batch.Export.video.toDrive ee.batch.Export.image.toDrive ee.batch.Export.image.toAsset ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.video.toCloudStorage ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.map ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.getTableDownloadId ee.data.computeValue ee.data.getThumbId ee.data.getOperation ee.data.newTaskId ee.data.makeTableDownloadUrl ee.data.cancelTask ee.data.startIngestion ee.data.getFilmstripThumbId ee.data.getList ee.data.getVideoThumbId ee.data.updateAsset ee.data.getMapId ee.data.listAssets ee.data.getTaskStatus ee.data.updateTask ee.data.makeThumbUrl ee.data.listImages ee.data.setAssetAcl ee.data.getTileUrl ee.data.setAssetProperties ee.data.authenticateViaOauth ee.data.authenticate ee.data.getDownloadId ee.data.listBuckets ee.data.startProcessing ee.data.getTaskList ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.getTaskListWithLimit ee.data.getAssetRoots ee.data.authenticateViaPopup ee.data.getInfo ee.data.getValue ee.data.createAssetHome ee.data.makeDownloadUrl ee.data.getAsset ee.data.cancelOperation ee.data.authenticateViaPrivateKey ee.data.createAsset ee.data.createFolder ee.data.renameAsset ee.data.copyAsset ee.data.deleteAsset ee.data.getAssetAcl ee.Date ee.Deserializer.fromJSON ee.Deserializer.decode ee.Dictionary ee.Algorithms ee.InitState ee.call ee.TILE_SIZE ee.apply ee.initialize ee.reset ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.Filter ee.Filter.gte ee.Filter.bounds ee.Filter.metadata ee.Filter.inList ee.Filter.date ee.Filter.lt ee.Filter.lte ee.Filter.gt ee.Filter.or ee.Filter.eq ee.Filter.prototype.not ee.Filter.and ee.Filter.neq ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiLineString ee.Geometry.Polygon ee.Geometry.Point ee.Geometry.LineString ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiPolygon ee.Geometry.MultiPoint ee.Geometry.prototype.toGeoJSONString ee.Geometry.Rectangle ee.Geometry.prototype.serialize ee.Geometry.LinearRing ee.Geometry ee.Image.prototype.rename ee.Image.prototype.select ee.Image ee.Image.prototype.expression ee.Image.prototype.getDownloadURL ee.Image.cat ee.Image.prototype.getMap ee.Image.rgb ee.Image.prototype.getThumbURL ee.Image.prototype.getInfo ee.Image.prototype.clip ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getInfo ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.Serializer.encode ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
c=[["name","var_args"],["name"],["name","namedArgs"],"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".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".split(" "),
"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels".split(" "),["collection","opt_description","opt_assetId"],"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".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".split(" "),"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
["filter"],["algorithm","opt_first"],["max","opt_property","opt_ascending"],["geometry"],["name","operator","value"],["start","opt_end"],["property","opt_ascending"],["algorithm","opt_dropNulls"],["callback"],[],["func","var_args"],["opt_callback"],["params","opt_callback"],["obj","opt_callback"],["params","opt_callback"],["operationName","opt_callback"],["opt_count","opt_callback"],["id"],["taskId","opt_callback"],["taskId","request","opt_callback"],["params","opt_callback"],["params","opt_callback"],
["params","opt_callback"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["parent","params","opt_callback"],["taskId","opt_callback"],["taskId","action","opt_callback"],["id"],["parent","params","opt_callback"],["assetId","aclUpdate","opt_callback"],["mapid","x","y","z"],["assetId","properties","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["params",
"opt_callback"],["project","opt_callback"],["taskId","params","opt_callback"],["opt_callback"],["taskId","request","opt_callback"],["rootId","opt_callback"],["opt_limit","opt_callback"],["opt_callback"],["opt_success","opt_error"],["id","opt_callback"],["params","opt_callback"],["requestedId","opt_callback"],["id"],["id","opt_callback"],["operationName","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes"],["value","opt_path","opt_force","opt_properties","opt_callback"],["path",
"opt_force","opt_callback"],["sourceId","destinationId","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["assetId","opt_callback"],["assetId","opt_callback"],["date","opt_tz"],["json"],["json"],["opt_dict"],[],[],["func","var_args"],[],["func","namedArgs"],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],[],["var_args"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],["opt_callback"],["propertySelectors",
"opt_newProperties","opt_retainGeometry"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],["args","opt_column"],["opt_filter"],["name","value"],["geometry","opt_errorMargin"],["name","operator","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["start","opt_end"],["name","value"],["name","value"],["name","value"],["var_args"],["name","value"],[],["var_args"],["name","value"],["namedArgs"],["var_args"],["coords","opt_proj","opt_geodesic",
"opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj"],[],["coords","opt_proj","opt_geodesic","opt_evenOdd"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["var_args"],["var_args"],["opt_args"],["expression","opt_map"],["params","opt_callback"],["var_args"],
["opt_visParams","opt_callback"],["r","g","b"],["params","opt_callback"],["opt_callback"],["geometry"],["selectors","opt_names"],["opt_visParams","opt_callback"],[],["params","opt_callback"],["params","opt_callback"],["args"],["opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["string"],[]];[P,Im,Jm,lo,oo,io,fo,mo,po,ho,jo,ko,no,U.prototype.filter,U.prototype.Qg,U.prototype.limit,U.prototype.vg,U.prototype.Ae,U.prototype.ze,U.prototype.sort,U.prototype.map,
N.prototype.evaluate,N.prototype.X,N.prototype.Mf,N.prototype.W,Hl,Al,Bl,Ql,Jl,Il,Sl,bm,Dl,fm,Cl,rm,xl,gm,Ll,Rl,El,hm,sm,yl,tm,ql,rl,Fl,im,Yl,Nl,dm,um,Ml,jm,pl,em,zl,km,Gl,em,Pl,sl,lm,mm,nm,om,pm,qm,Go,Ko,Jo,Mo,Xo,Zo,$o,256,ap,Vo,Yo,R.prototype.set,V,V.prototype.getMap,V.prototype.W,X.prototype.W,X.prototype.select,X.prototype.xb,X.prototype.getMap,X,T,xn,En,Fn,Dn,Cn,wn,zn,yn,Bn,un,T.prototype.Yb,An,vn,Dm.prototype.apply,Dm.prototype.call,jn,kn,bn,gn,S.prototype.Qc,ln,en,S.prototype.Hf,fn,S.prototype.X,
hn,S,W.prototype.nh,W.prototype.select,W,W.prototype.i,W.prototype.xb,Tn,W.prototype.getMap,Sn,W.prototype.Ge,W.prototype.W,W.prototype.clip,Y.prototype.select,Y.prototype.getMap,Y.prototype.first,Y.prototype.Ee,Y.prototype.He,Y,Y.prototype.W,Un,wo,Rk,Sk,Pk,Kk,Jk,Mk,zo,Po].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);