2020-05-27 12:30:04 -07:00

638 lines
294 KiB
JavaScript

(function(){/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
var k,ba=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},da=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
},l=da(this),ea=function(a,b){if(b){var c=l;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&&ca(c,a,{configurable:!0,writable:!0,value:b})}};
ea("Symbol",function(a){if(a)return a;var b=function(e,f){this.ai=e;ca(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.ai};var c=0,d=function(e){if(this instanceof d)throw new TypeError("Symbol is not a constructor");return new b("jscomp_symbol_"+(e||"")+"_"+c++,e)};return d});
ea("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=l[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ca(d.prototype,a,{configurable:!0,writable:!0,value:function(){return fa(ba(this))}})}return a});
var fa=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},m=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:ba(a)}},ha=function(a){if(!(a instanceof Array)){a=m(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ia="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ja;
if("function"==typeof Object.setPrototypeOf)ja=Object.setPrototypeOf;else{var ka;a:{var la={rj:!0},ma={};try{ma.__proto__=la;ka=ma.rj;break a}catch(a){}ka=!1}ja=ka?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var na=ja,q=function(a,b){a.prototype=ia(b.prototype);a.prototype.constructor=a;if(na)na(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.G=b.prototype};ea("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
var oa=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};ea("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=oa(this,b,"endsWith");b+="";void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});
ea("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=oa(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});ea("String.prototype.repeat",function(a){return a?a:function(b){var c=oa(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
var pa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},qa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)pa(d,e)&&(a[e]=d[e])}return a};ea("Object.assign",function(a){return a||qa});
ea("Promise",function(a){function b(){this.gb=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.eg=function(g){if(null==this.gb){this.gb=[];var h=this;this.fg(function(){h.Dj()})}this.gb.push(g)};var d=l.setTimeout;b.prototype.fg=function(g){d(g,0)};b.prototype.Dj=function(){for(;this.gb&&this.gb.length;){var g=this.gb;this.gb=[];for(var h=0;h<g.length;++h){var n=g[h];g[h]=null;try{n()}catch(p){this.uj(p)}}}this.gb=null};b.prototype.uj=function(g){this.fg(function(){throw g;
})};var e=function(g){this.U=0;this.ra=void 0;this.kc=[];var h=this.Je();try{g(h.resolve,h.reject)}catch(n){h.reject(n)}};e.prototype.Je=function(){function g(p){return function(t){n||(n=!0,p.call(h,t))}}var h=this,n=!1;return{resolve:g(this.$j),reject:g(this.Ff)}};e.prototype.$j=function(g){if(g===this)this.Ff(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.ak(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.Zj(g):this.Rg(g)}};e.prototype.Zj=function(g){var h=void 0;try{h=g.then}catch(n){this.Ff(n);return}"function"==typeof h?this.bk(h,g):this.Rg(g)};e.prototype.Ff=function(g){this.Nh(2,g)};e.prototype.Rg=function(g){this.Nh(1,g)};e.prototype.Nh=function(g,h){if(0!=this.U)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.U);this.U=g;this.ra=h;this.Fj()};e.prototype.Fj=function(){if(null!=this.kc){for(var g=0;g<this.kc.length;++g)f.eg(this.kc[g]);this.kc=null}};var f=
new b;e.prototype.ak=function(g){var h=this.Je();g.od(h.resolve,h.reject)};e.prototype.bk=function(g,h){var n=this.Je();try{g.call(h,n.resolve,n.reject)}catch(p){n.reject(p)}};e.prototype.then=function(g,h){function n(E,aa){return"function"==typeof E?function(Fa){try{p(E(Fa))}catch(T){t(T)}}:aa}var p,t,C=new e(function(E,aa){p=E;t=aa});this.od(n(g,p),n(h,t));return C};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.od=function(g,h){function n(){switch(p.U){case 1:g(p.ra);break;
case 2:h(p.ra);break;default:throw Error("Unexpected state: "+p.U);}}var p=this;null==this.kc?f.eg(n):this.kc.push(n)};e.resolve=c;e.reject=function(g){return new e(function(h,n){n(g)})};e.race=function(g){return new e(function(h,n){for(var p=m(g),t=p.next();!t.done;t=p.next())c(t.value).od(h,n)})};e.all=function(g){var h=m(g),n=h.next();return n.done?c([]):new e(function(p,t){function C(Fa){return function(T){E[Fa]=T;aa--;0==aa&&p(E)}}var E=[],aa=0;do E.push(void 0),aa++,c(n.value).od(C(E.length-
1),t),n=h.next();while(!n.done)})};return e});var ra=function(a,b){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};ea("Array.prototype.keys",function(a){return a?a:function(){return ra(this,function(b){return b})}});ea("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)pa(b,d)&&c.push([d,b[d]]);return c}});
ea("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});ea("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});ea("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==oa(this,b,"includes").indexOf(b,c||0)}});
ea("Array.prototype.values",function(a){return a?a:function(){return ra(this,function(b,c){return c})}});
ea("WeakMap",function(a){function b(){}function c(n){var p=typeof n;return"object"===p&&null!==n||"function"===p}function d(n){if(!pa(n,f)){var p=new b;ca(n,f,{value:p})}}function e(n){var p=Object[n];p&&(Object[n]=function(t){if(t instanceof b)return t;d(t);return p(t)})}if(function(){if(!a||!Object.seal)return!1;try{var n=Object.seal({}),p=Object.seal({}),t=new a([[n,2],[p,3]]);if(2!=t.get(n)||3!=t.get(p))return!1;t.delete(n);t.set(p,4);return!t.has(n)&&4==t.get(p)}catch(C){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,h=function(n){this.ca=(g+=Math.random()+1).toString();if(n){n=m(n);for(var p;!(p=n.next()).done;)p=p.value,this.set(p[0],p[1])}};h.prototype.set=function(n,p){if(!c(n))throw Error("Invalid WeakMap key");d(n);if(!pa(n,f))throw Error("WeakMap key fail: "+n);n[f][this.ca]=p;return this};h.prototype.get=function(n){return c(n)&&pa(n,f)?n[f][this.ca]:void 0};h.prototype.has=function(n){return c(n)&&pa(n,f)&&pa(n[f],
this.ca)};h.prototype.delete=function(n){return c(n)&&pa(n,f)&&pa(n[f],this.ca)?delete n[f][this.ca]:!1};return h});
ea("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}),n=new a(m([[h,"s"]]));if("s"!=n.get(h)||1!=n.size||n.get({x:4})||n.set({x:4},"t")!=n||2!=n.size)return!1;var p=n.entries(),t=p.next();if(t.done||t.value[0]!=h||"s"!=t.value[1])return!1;t=p.next();return t.done||4!=t.value[0].x||"t"!=t.value[1]||!p.next().done?!1:!0}catch(C){return!1}}())return a;var b=new WeakMap,c=function(h){this.Dc={};this.ia=
f();this.size=0;if(h){h=m(h);for(var n;!(n=h.next()).done;)n=n.value,this.set(n[0],n[1])}};c.prototype.set=function(h,n){h=0===h?0:h;var p=d(this,h);p.list||(p.list=this.Dc[p.id]=[]);p.ba?p.ba.value=n:(p.ba={next:this.ia,cb:this.ia.cb,head:this.ia,key:h,value:n},p.list.push(p.ba),this.ia.cb.next=p.ba,this.ia.cb=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.Dc[h.id],h.ba.cb.next=h.ba.next,h.ba.next.cb=
h.ba.cb,h.ba.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.Dc={};this.ia=this.ia.cb=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,n){for(var p=this.entries(),
t;!(t=p.next()).done;)t=t.value,h.call(n,t[1],t[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,n){var p=n&&typeof n;"object"==p||"function"==p?b.has(n)?p=b.get(n):(p=""+ ++g,b.set(n,p)):p="p_"+n;var t=h.Dc[p];if(t&&pa(h.Dc,p))for(h=0;h<t.length;h++){var C=t[h];if(n!==n&&C.key!==C.key||n===C.key)return{id:p,list:t,index:h,ba:C}}return{id:p,list:t,index:-1,ba:void 0}},e=function(h,n){var p=h.ia;return fa(function(){if(p){for(;p.head!=h.ia;)p=p.cb;for(;p.next!=p.head;)return p=
p.next,{done:!1,value:n(p)};p=null}return{done:!0,value:void 0}})},f=function(){var h={};return h.cb=h.next=h.head=h},g=0;return c});
ea("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(m([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;var b=function(c){this.l=new Map;if(c){c=
m(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.l.size};b.prototype.add=function(c){c=0===c?0:c;this.l.set(c,c);this.size=this.l.size;return this};b.prototype.delete=function(c){c=this.l.delete(c);this.size=this.l.size;return c};b.prototype.clear=function(){this.l.clear();this.size=0};b.prototype.has=function(c){return this.l.has(c)};b.prototype.entries=function(){return this.l.entries()};b.prototype.values=function(){return this.l.values()};b.prototype.keys=b.prototype.values;
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.l.forEach(function(f){return c.call(d,f,f,e)})};return b});ea("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)pa(b,d)&&c.push(b[d]);return c}});ea("String.prototype.padStart",function(a){return a?a:function(b,c){var d=oa(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});
var sa=sa||{},r=this||self,ta=/^[\w+/_-]+[=]{0,2}$/,ua=null,va=function(a){return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&ta.test(a)?a:""},wa=function(){},xa=function(a){var b=typeof a;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},ya=function(a){var b=xa(a);return"array"==b||"object"==b&&"number"==typeof a.length},za=function(a){return u(a)&&"function"==typeof a.getFullYear},v=function(a){return"function"==xa(a)},u=function(a){var b=typeof a;
return"object"==b&&null!=a||"function"==b},Ca=function(a){return Object.prototype.hasOwnProperty.call(a,Aa)&&a[Aa]||(a[Aa]=++Ba)},Aa="closure_uid_"+(1E9*Math.random()>>>0),Ba=0,Da=function(a,b,c){return a.call.apply(a.bind,arguments)},Ea=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},
w=function(a,b,c){w=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Da:Ea;return w.apply(null,arguments)},Ga=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)}},Ha=Date.now||function(){return+new Date},x=function(a,b){a=a.split(".");var c=r;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=
c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},y=function(a,b){function c(){}c.prototype=b.prototype;a.G=b.prototype;a.prototype=new c;a.prototype.constructor=a};var Ia=function(){this.La=this.La;this.Gd=this.Gd};Ia.prototype.La=!1;Ia.prototype.Ka=function(){this.La||(this.La=!0,this.F())};Ia.prototype.F=function(){if(this.Gd)for(;this.Gd.length;)this.Gd.shift()()};var Ja=function(a){a&&"function"==typeof a.Ka&&a.Ka()};var z=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Sb=!1};z.prototype.stopPropagation=function(){this.Sb=!0};z.prototype.preventDefault=function(){this.defaultPrevented=!0};var Ka=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ka);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};y(Ka,Error);Ka.prototype.name="CustomError";var La;var Ma=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");Ka.call(this,c+a[d])};y(Ma,Ka);Ma.prototype.name="AssertionError";
var Na=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Ma(""+e,f||[]);},A=function(a,b,c){a||Na("",null,b,Array.prototype.slice.call(arguments,2))},Oa=function(a,b){throw new Ma("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Pa=function(a,b,c){"number"!==typeof a&&Na("Expected number but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Qa=function(a,b,c){"string"!==typeof a&&Na("Expected string but got %s: %s.",
[xa(a),a],b,Array.prototype.slice.call(arguments,2))},Ra=function(a,b,c){v(a)||Na("Expected function but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2))},Sa=function(a,b,c){u(a)||Na("Expected object but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Ta=Array.prototype.indexOf?function(a,b){A(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ua=Array.prototype.lastIndexOf?function(a,b){A(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||
1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Va=Array.prototype.forEach?function(a,b,c){A(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Wa=Array.prototype.filter?function(a,b){A(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f="string"===typeof a?a.split(""):a,g=0;g<c;g++)if(g in f){var h=
f[g];b.call(void 0,h,g,a)&&(d[e++]=h)}return d},Xa=Array.prototype.map?function(a,b,c){A(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},Ya=Array.prototype.some?function(a,b){A(null!=a.length);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;
return!1},Za=Array.prototype.every?function(a,b,c){A(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0},$a=function(a,b){var c=0;Va(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c},bb=function(a){a:{var b=ab;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]},cb=function(a,b){return 0<=Ta(a,b)},eb=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},gb=function(a,b){b=Ta(a,b);var c;(c=0<=b)&&fb(a,b);return c},fb=function(a,b){A(null!=a.length);Array.prototype.splice.call(a,b,1)},hb=function(a){return Array.prototype.concat.apply([],arguments)},ib=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[]},jb=function(a,b){for(var c=1;c<arguments.length;c++){var d=
arguments[c];if(ya(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}},kb=function(a,b,c){A(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},lb=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=u(f)?"o"+Ca(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c},mb=function(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);
return b},nb=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var f=kb(d,e,e+8192);f=nb.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var ob=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},pb=/&/g,qb=/</g,rb=/>/g,sb=/"/g,tb=/'/g,ub=/\x00/g,vb=/[\x00&<>"']/,wb=function(a,b){return a<b?-1:a>b?1:0};var xb;a:{var yb=r.navigator;if(yb){var zb=yb.userAgent;if(zb){xb=zb;break a}}xb=""}var Ab=function(a){return-1!=xb.indexOf(a)};var Bb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Cb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Db=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Eb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Fb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Gb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Ib=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Kb=function(a){var b=
Jb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Lb=function(a){for(var b in a)return!1;return!0},Mb=function(a,b){b in a&&delete a[b]},Nb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Ob=function(a){var b=xa(a);if("object"==b||"array"==b){if(v(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=Ob(a[c]);return b}return a},Pb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Qb=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<Pb.length;f++)c=Pb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Rb=function(a){return a};var Ub=function(a,b){this.Tf=a===Sb&&b||"";this.dj=Tb};Ub.prototype.Pc=!0;Ub.prototype.Lc=function(){return this.Tf};Ub.prototype.toString=function(){return"Const{"+this.Tf+"}"};var Vb=function(a){if(a instanceof Ub&&a.constructor===Ub&&a.dj===Tb)return a.Tf;Oa("expected object of type Const, got '"+a+"'");return"type_error:Const"},Tb={},Sb={};var Yb=function(a,b){this.Bf=a===Wb&&b||"";this.hj=Xb};Yb.prototype.Pc=!0;Yb.prototype.Lc=function(){return this.Bf.toString()};Yb.prototype.toString=function(){return"TrustedResourceUrl{"+this.Bf+"}"};
var Zb=function(a){if(a instanceof Yb&&a.constructor===Yb&&a.hj===Xb)return a.Bf;Oa("expected object of type TrustedResourceUrl, got '"+a+"' of type "+xa(a));return"type_error:TrustedResourceUrl"},cc=function(a){var b=Vb($b);if(!ac.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(bc,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 Ub?Vb(d):encodeURIComponent(String(d))});return new Yb(Wb,c)},bc=/%{(\w+)}/g,ac=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Xb={},Wb={};var fc=function(a,b){this.Af=a===dc&&b||"";this.$i=ec};fc.prototype.Pc=!0;fc.prototype.Lc=function(){return this.Af.toString()};fc.prototype.toString=function(){return"SafeUrl{"+this.Af+"}"};
var gc=function(a){if(a instanceof fc&&a.constructor===fc&&a.$i===ec)return a.Af;Oa("expected object of type SafeUrl, got '"+a+"' of type "+xa(a));return"type_error:SafeUrl"},hc=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,ic=function(a){if(hc.test(a.type)){var b=void 0!==r.URL&&void 0!==r.URL.createObjectURL?
r.URL:void 0!==r.webkitURL&&void 0!==r.webkitURL.createObjectURL?r.webkitURL:void 0!==r.createObjectURL?r:null;if(null==b)throw Error("This browser doesn't seem to support blob URLs");a=b.createObjectURL(a)}else a="about:invalid#zClosurez";return new fc(dc,a)},ec={},dc={};var jc=function(){this.zf=""};jc.prototype.Pc=!0;jc.prototype.Lc=function(){return this.zf};jc.prototype.toString=function(){return"SafeStyle{"+this.zf+"}"};jc.prototype.ef=function(a){this.zf=a};(new jc).ef("");var kc=function(){this.yf=""};kc.prototype.Pc=!0;kc.prototype.Lc=function(){return this.yf};kc.prototype.toString=function(){return"SafeStyleSheet{"+this.yf+"}"};kc.prototype.ef=function(a){this.yf=a};(new kc).ef("");var lc=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||r;if(d.Element&&d.Location){var e=d;break a}}catch(g){}e=null}if(e&&"undefined"!=typeof e.HTMLScriptElement&&(!a||!(a instanceof e.HTMLScriptElement)&&(a instanceof e.Location||a instanceof e.Element))){if(u(a))try{var f=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(g){f="<object could not be stringified>"}else f=void 0===a?"undefined":null===a?"null":typeof a;Oa("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
"HTMLScriptElement",f)}a.src=Zb(b);(b=a.ownerDocument&&a.ownerDocument.defaultView)&&b!=r?b=va(b.document):(null===ua&&(ua=va(r.document)),b=ua);b&&a.setAttribute("nonce",b)};var mc=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")},nc=function(a){vb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(pb,"&amp;")),-1!=a.indexOf("<")&&(a=a.replace(qb,"&lt;")),-1!=a.indexOf(">")&&(a=a.replace(rb,"&gt;")),-1!=a.indexOf('"')&&(a=a.replace(sb,"&quot;")),-1!=a.indexOf("'")&&(a=a.replace(tb,"&#39;")),-1!=a.indexOf("\x00")&&(a=a.replace(ub,"&#0;")));return a},oc=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 pc=function(a){pc[" "](a);return a};pc[" "]=wa;var rc=function(a,b){var c=qc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var sc=Ab("Opera"),tc=Ab("Trident")||Ab("MSIE"),uc=Ab("Edge"),vc=Ab("Gecko")&&!(-1!=xb.toLowerCase().indexOf("webkit")&&!Ab("Edge"))&&!(Ab("Trident")||Ab("MSIE"))&&!Ab("Edge"),wc=-1!=xb.toLowerCase().indexOf("webkit")&&!Ab("Edge"),xc=function(){var a=r.document;return a?a.documentMode:void 0},yc;
a:{var zc="",Ac=function(){var a=xb;if(vc)return/rv:([^\);]+)(\)|;)/.exec(a);if(uc)return/Edge\/([\d\.]+)/.exec(a);if(tc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(wc)return/WebKit\/(\S+)/.exec(a);if(sc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Ac&&(zc=Ac?Ac[1]:"");if(tc){var Bc=xc();if(null!=Bc&&Bc>parseFloat(zc)){yc=String(Bc);break a}}yc=zc}
var Cc=yc,qc={},Dc=function(a){return rc(a,function(){for(var b=0,c=ob(String(Cc)).split("."),d=ob(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=wb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||wb(0==g[2].length,0==h[2].length)||wb(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})},Ec;
if(r.document&&tc){var Fc=xc();Ec=Fc?Fc:parseInt(Cc,10)||void 0}else Ec=void 0;var Gc=Ec;var Hc=Object.freeze||function(a){return a};var Ic=!tc||9<=Number(Gc),Jc=tc&&!Dc("9"),Kc=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{r.addEventListener("test",wa,b),r.removeEventListener("test",wa,b)}catch(c){}return a}();var Mc=function(a,b){z.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.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(vc){a:{try{pc(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=wc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=wc||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:Lc[a.pointerType]||"";this.state=a.state;this.Ba=a;a.defaultPrevented&&this.preventDefault()}};
y(Mc,z);var Lc=Hc({2:"touch",3:"pen",4:"mouse"});Mc.prototype.stopPropagation=function(){Mc.G.stopPropagation.call(this);this.Ba.stopPropagation?this.Ba.stopPropagation():this.Ba.cancelBubble=!0};Mc.prototype.preventDefault=function(){Mc.G.preventDefault.call(this);var a=this.Ba;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Jc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Nc="closure_listenable_"+(1E6*Math.random()|0),Oc=function(a){return!(!a||!a[Nc])},Pc=0;var Qc=function(a,b,c,d,e){this.listener=a;this.Hd=null;this.src=b;this.type=c;this.capture=!!d;this.ab=e;this.key=++Pc;this.mc=this.nd=!1},Rc=function(a){a.mc=!0;a.listener=null;a.Hd=null;a.src=null;a.ab=null};var Sc=function(a){this.src=a;this.Z={};this.ed=0};Sc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Z[f];a||(a=this.Z[f]=[],this.ed++);var g=Tc(a,b,d,e);-1<g?(b=a[g],c||(b.nd=!1)):(b=new Qc(b,this.src,f,!!d,e),b.nd=c,a.push(b));return b};Sc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Z))return!1;var e=this.Z[a];b=Tc(e,b,c,d);return-1<b?(Rc(e[b]),fb(e,b),0==e.length&&(delete this.Z[a],this.ed--),!0):!1};
var Uc=function(a,b){var c=b.type;c in a.Z&&gb(a.Z[c],b)&&(Rc(b),0==a.Z[c].length&&(delete a.Z[c],a.ed--))};Sc.prototype.$c=function(a){a=a&&a.toString();var b=0,c;for(c in this.Z)if(!a||c==a){for(var d=this.Z[c],e=0;e<d.length;e++)++b,Rc(d[e]);delete this.Z[c];this.ed--}};Sc.prototype.Ic=function(a,b,c,d){a=this.Z[a.toString()];var e=-1;a&&(e=Tc(a,b,c,d));return-1<e?a[e]:null};
Sc.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Eb(this.Z,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 Tc=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.mc&&f.listener==b&&f.capture==!!c&&f.ab==d)return e}return-1};var Vc="closure_lm_"+(1E6*Math.random()|0),Wc={},Xc=0,Zc=function(a,b,c,d,e){if(d&&d.once)return Yc(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Zc(a,b[f],c,d,e);return null}c=$c(c);return Oc(a)?a.Na(b,c,u(d)?!!d.capture:!!d,e):ad(a,b,c,!1,d,e)},ad=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=u(e)?!!e.capture:!!e,h=bd(a);h||(a[Vc]=h=new Sc(a));c=h.add(b,c,d,g,f);if(c.Hd)return c;d=cd();c.Hd=d;d.src=a;d.listener=c;if(a.addEventListener)Kc||(e=g),void 0===e&&(e=
!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(dd(b.toString()),d);else if(a.addListener&&a.removeListener)A("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Xc++;return c},cd=function(){var a=ed,b=Ic?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},Yc=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Yc(a,
b[f],c,d,e);return null}c=$c(c);return Oc(a)?a.Uc(b,c,u(d)?!!d.capture:!!d,e):ad(a,b,c,!0,d,e)},fd=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)fd(a,b[f],c,d,e);else d=u(d)?!!d.capture:!!d,c=$c(c),Oc(a)?a.Vd(b,c,d,e):a&&(a=bd(a))&&(b=a.Ic(b,c,d,e))&&gd(b)},gd=function(a){if("number"!==typeof a&&a&&!a.mc){var b=a.src;if(Oc(b))Uc(b.Aa,a);else{var c=a.type,d=a.Hd;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(dd(c),d):b.addListener&&b.removeListener&&
b.removeListener(d);Xc--;(c=bd(b))?(Uc(c,a),0==c.ed&&(c.src=null,b[Vc]=null)):Rc(a)}}},dd=function(a){return a in Wc?Wc[a]:Wc[a]="on"+a},id=function(a,b,c,d){var e=!0;if(a=bd(a))if(b=a.Z[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.mc&&(f=hd(f,d),e=e&&!1!==f)}return e},hd=function(a,b){var c=a.listener,d=a.ab||a.src;a.nd&&gd(a);return c.call(d,b)},ed=function(a,b){if(a.mc)return!0;if(!Ic){if(!b)a:{b=["window","event"];for(var c=r,d=0;d<b.length;d++)if(c=c[b[d]],
null==c){b=null;break a}b=c}d=b;b=new Mc(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.Sb&&0<=e;e--){b.currentTarget=d[e];var f=id(d[e],a,!0,b);c=c&&f}for(e=0;!b.Sb&&e<d.length;e++)b.currentTarget=d[e],f=id(d[e],a,!1,b),c=c&&f}return c}return hd(a,new Mc(b,this))},bd=function(a){a=a[Vc];return a instanceof
Sc?a:null},jd="__closure_events_fn_"+(1E9*Math.random()>>>0),$c=function(a){A(a,"Listener can not be null.");if(v(a))return a;A(a.handleEvent,"An object listener must have handleEvent method.");a[jd]||(a[jd]=function(b){return a.handleEvent(b)});return a[jd]};var kd=function(){Ia.call(this);this.Aa=new Sc(this);this.sj=this;this.wf=null};y(kd,Ia);kd.prototype[Nc]=!0;k=kd.prototype;k.addEventListener=function(a,b,c,d){Zc(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){fd(this,a,b,c,d)};
k.dispatchEvent=function(a){ld(this);var b=this.wf;if(b){var c=[];for(var d=1;b;b=b.wf)c.push(b),A(1E3>++d,"infinite loop")}b=this.sj;d=a.type||a;if("string"===typeof a)a=new z(a,b);else if(a instanceof z)a.target=a.target||b;else{var e=a;a=new z(d,b);Qb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Sb&&0<=f;f--){var g=a.currentTarget=c[f];e=md(g,d,!0,a)&&e}a.Sb||(g=a.currentTarget=b,e=md(g,d,!0,a)&&e,a.Sb||(e=md(g,d,!1,a)&&e));if(c)for(f=0;!a.Sb&&f<c.length;f++)g=a.currentTarget=c[f],e=md(g,d,!1,a)&&e;
return e};k.F=function(){kd.G.F.call(this);this.Aa&&this.Aa.$c(void 0);this.wf=null};k.Na=function(a,b,c,d){ld(this);return this.Aa.add(String(a),b,!1,c,d)};k.Uc=function(a,b,c,d){return this.Aa.add(String(a),b,!0,c,d)};k.Vd=function(a,b,c,d){this.Aa.remove(String(a),b,c,d)};
var md=function(a,b,c,d){b=a.Aa.Z[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.mc&&g.capture==c){var h=g.listener,n=g.ab||g.src;g.nd&&Uc(a.Aa,g);e=!1!==h.call(n,d)&&e}}return e&&!d.defaultPrevented};kd.prototype.Ic=function(a,b,c,d){return this.Aa.Ic(String(a),b,c,d)};kd.prototype.hasListener=function(a,b){return this.Aa.hasListener(void 0!==a?String(a):void 0,b)};var ld=function(a){A(a.Aa,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var nd="StopIteration"in r?r.StopIteration:{message:"StopIteration",stack:""},od=function(){};od.prototype.next=function(){throw nd;};od.prototype.$b=function(){return this};
var pd=function(a){if(a instanceof od)return a;if("function"==typeof a.$b)return a.$b(!1);if(ya(a)){var b=0,c=new od;c.next=function(){for(;;){if(b>=a.length)throw nd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},qd=function(a,b){if(ya(a))try{Va(a,b,void 0)}catch(c){if(c!==nd)throw c;}else{a=pd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==nd)throw c;}}};var rd=function(a,b){this.l={};this.H=[];this.gd=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=rd.prototype;k.L=function(){return this.I};k.S=function(){sd(this);for(var a=[],b=0;b<this.H.length;b++)a.push(this.l[this.H[b]]);return a};k.Da=function(){sd(this);return this.H.concat()};k.ib=function(a){return td(this.l,a)};
k.Cc=function(a){for(var b=0;b<this.H.length;b++){var c=this.H[b];if(td(this.l,c)&&this.l[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||ud;sd(this);for(var c,d=0;c=this.H[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var ud=function(a,b){return a===b};rd.prototype.isEmpty=function(){return 0==this.I};rd.prototype.clear=function(){this.l={};this.gd=this.I=this.H.length=0};
rd.prototype.remove=function(a){return td(this.l,a)?(delete this.l[a],this.I--,this.gd++,this.H.length>2*this.I&&sd(this),!0):!1};var sd=function(a){if(a.I!=a.H.length){for(var b=0,c=0;b<a.H.length;){var d=a.H[b];td(a.l,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],td(e,d)||(a.H[c++]=d,e[d]=1),b++;a.H.length=c}};k=rd.prototype;k.get=function(a,b){return td(this.l,a)?this.l[a]:b};
k.set=function(a,b){td(this.l,a)||(this.I++,this.H.push(a),this.gd++);this.l[a]=b};k.addAll=function(a){if(a instanceof rd)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 rd(this)};
k.$b=function(a){sd(this);var b=0,c=this.gd,d=this,e=new od;e.next=function(){if(c!=d.gd)throw Error("The map has changed since the iterator was created");if(b>=d.H.length)throw nd;var f=d.H[b++];return a?f:d.l[f]};return e};var td=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var vd=function(a){if(a.L&&"function"==typeof a.L)a=a.L();else if(ya(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},wd=function(a){if(a.S&&"function"==typeof a.S)return a.S();if("string"===typeof a)return a.split("");if(ya(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Fb(a)},xd=function(a){if(a.Da&&"function"==typeof a.Da)return a.Da();if(!a.S||"function"!=typeof a.S){if(ya(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);
return b}return Gb(a)}},yd=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ya(a)||"string"===typeof a)Va(a,b,c);else for(var d=xd(a),e=wd(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},zd=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(ya(a)||"string"===typeof a)return Za(a,b,void 0);for(var c=xd(a),d=wd(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 Ad=function(a){this.l=new rd;a&&this.addAll(a)},Bd=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ca(a):b.substr(0,1)+a};k=Ad.prototype;k.L=function(){return this.l.L()};k.add=function(a){this.l.set(Bd(a),a)};k.addAll=function(a){a=wd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};k.$c=function(a){a=wd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};k.remove=function(a){return this.l.remove(Bd(a))};k.clear=function(){this.l.clear()};k.isEmpty=function(){return this.l.isEmpty()};
k.contains=function(a){return this.l.ib(Bd(a))};k.gh=function(a){var b=new Ad;a=wd(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};k.Oe=function(a){var b=this.clone();b.$c(a);return b};k.S=function(){return this.l.S()};k.clone=function(){return new Ad(this)};k.equals=function(a){return this.L()==vd(a)&&Cd(this,a)};
var Cd=function(a,b){var c=vd(b);if(a.L()>c)return!1;!(b instanceof Ad)&&5<c&&(b=new Ad(b));return zd(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Cc&&"function"==typeof e.Cc?e.Cc(d):ya(e)||"string"===typeof e?cb(e,d):Ib(e,d)})};Ad.prototype.$b=function(){return this.l.$b(!1)};var ee={},Dd=function(a,b,c){kd.call(this);this.Pj=b;this.token=c;this.rb=[];this.Xf=new Ad;this.pb=0;this.url=a};y(Dd,kd);x("ee.AbstractOverlay",Dd);var Ed=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.Pj,c,e,b.y].join("/")};Dd.prototype.Jc=function(){return this.rb.length};var Fd=function(a){z.call(this,"tileevent");this.count=a};y(Fd,z);var Gd=function(){},Hd=new Gd;function Id(a){return Object.assign({P:{},nk:{},keys:[],wa:{},u:{},K:{}},a)}var B=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 Jd(a,b){return D(b,a)}function Kd(a,b,c){b[a]=c}function Ld(){return{}}function Md(a,b){var c=new a;return null==b?c:Nd(b,Od,Pd,Qd,a)}function Od(a,b){return b[a]}function Pd(a,b,c){b.a[a]=c}
function Qd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
function Nd(a,b,c,d,e){e=d(e);var f=Rd(a,e),g=f.P||{},h=f.u||{},n=f.wa||{},p={};f=m(f.keys||[]);for(var t=f.next();!t.done;p={vc:p.vc},t=f.next()){t=t.value;var C=b(t,a);if(null!=C){var E=void 0;g.hasOwnProperty(t)?E=Sd(C,b,c,d,!0,!0,g[t]):h.hasOwnProperty(t)?E=Sd(C,b,c,d,!1,!0,h[t]):n.hasOwnProperty(t)?(p.vc=n[t],E=p.vc.ja?C.map(function(aa){return function(Fa){return Td(Fa,aa.vc,b,c,d)}}(p)):Td(C,p.vc,b,c,d)):E=Array.isArray(C)?Sd(C,b,c,d,!0,!1):C instanceof Gd?null:C;c(t,e,E)}}return e}
function Td(a,b,c,d,e){for(var f={},g=m(Object.keys(a)),h=g.next();!h.done;h=g.next()){h=h.value;var n=a[h];null!=n&&(f[h]=Sd(n,c,d,e,b.la,b.ka,b.ea))}return f}function Sd(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 Nd(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Nd(a,b,c,d,g):a instanceof Gd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}
function Rd(a,b){if(b instanceof B)a=Id(b.f());else if(a instanceof B)a=Id(a.f());else throw Error("Cannot find ClassMetadata.");return a};var Ud=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Vd=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 Wd=function(a,b){this.Za=this.Xb=this.ob="";this.lc=null;this.Jb=this.bb="";this.ua=this.Lj=!1;if(a instanceof Wd){this.ua=void 0!==b?b:a.ua;Xd(this,a.ob);var c=a.Xb;Yd(this);this.Xb=c;c=a.Za;Yd(this);this.Za=c;Zd(this,a.lc);this.setPath(a.getPath());$d(this,a.xa.clone());a=a.Jb;Yd(this);this.Jb=a}else a&&(c=String(a).match(Ud))?(this.ua=!!b,Xd(this,c[1]||"",!0),a=c[2]||"",Yd(this),this.Xb=ae(a),a=c[3]||"",Yd(this),this.Za=ae(a,!0),Zd(this,c[4]),this.setPath(c[5]||"",!0),$d(this,c[6]||"",!0),
a=c[7]||"",Yd(this),this.Jb=ae(a)):(this.ua=!!b,this.xa=new be(null,this.ua))};
Wd.prototype.toString=function(){var a=[],b=this.ob;b&&a.push(ce(b,de,!0),":");var c=this.Za;if(c||"file"==b)a.push("//"),(b=this.Xb)&&a.push(ce(b,de,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.lc,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Za&&"/"!=c.charAt(0)&&a.push("/"),a.push(ce(c,"/"==c.charAt(0)?fe:ge,!0));(c=this.xa.toString())&&a.push("?",c);(c=this.Jb)&&a.push("#",ce(c,he));return a.join("")};
Wd.prototype.resolve=function(a){var b=this.clone(),c=!!a.ob;c?Xd(b,a.ob):c=!!a.Xb;if(c){var d=a.Xb;Yd(b);b.Xb=d}else c=!!a.Za;c?(d=a.Za,Yd(b),b.Za=d):c=null!=a.lc;d=a.getPath();if(c)Zd(b,a.lc);else if(c=!!a.bb){if("/"!=d.charAt(0))if(this.Za&&!this.bb)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?$d(b,a.xa.clone()):c=!!a.Jb;c&&(a=a.Jb,Yd(b),b.Jb=a);return b};Wd.prototype.clone=function(){return new Wd(this)};
var Xd=function(a,b,c){Yd(a);a.ob=c?ae(b,!0):b;a.ob&&(a.ob=a.ob.replace(/:$/,""))},Zd=function(a,b){Yd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.lc=b}else a.lc=null};Wd.prototype.getPath=function(){return this.bb};Wd.prototype.setPath=function(a,b){Yd(this);this.bb=b?ae(a,!0):a;return this};var $d=function(a,b,c){Yd(a);b instanceof be?(a.xa=b,a.xa.Mf(a.ua)):(c||(b=ce(b,ie)),a.xa=new be(b,a.ua))};Wd.prototype.getQuery=function(){return this.xa.toString()};
Wd.prototype.removeParameter=function(a){Yd(this);this.xa.remove(a);return this};var Yd=function(a){if(a.Lj)throw Error("Tried to modify a read-only Uri");};Wd.prototype.Mf=function(a){this.ua=a;this.xa&&this.xa.Mf(a)};
var je=function(a){return a instanceof Wd?a.clone():new Wd(a,void 0)},ae=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},ce=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,ke),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},ke=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},de=/[#\/\?@]/g,ge=/[#\?:]/g,fe=/[#\?]/g,ie=/[#\?@]/g,he=/#/g,be=function(a,b){this.I=this.M=null;this.pa=a||null;this.ua=!!b},
le=function(a){a.M||(a.M=new rd,a.I=0,a.pa&&Vd(a.pa,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=be.prototype;k.L=function(){le(this);return this.I};k.add=function(a,b){le(this);this.pa=null;a=me(this,a);var c=this.M.get(a);c||this.M.set(a,c=[]);c.push(b);this.I=Pa(this.I)+1;return this};k.remove=function(a){le(this);a=me(this,a);return this.M.ib(a)?(this.pa=null,this.I=Pa(this.I)-this.M.get(a).length,this.M.remove(a)):!1};k.clear=function(){this.M=this.pa=null;this.I=0};
k.isEmpty=function(){le(this);return 0==this.I};k.ib=function(a){le(this);a=me(this,a);return this.M.ib(a)};k.Cc=function(a){var b=this.S();return cb(b,a)};k.forEach=function(a,b){le(this);this.M.forEach(function(c,d){Va(c,function(e){a.call(b,e,d,this)},this)},this)};k.Da=function(){le(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){le(this);var b=[];if("string"===typeof a)this.ib(a)&&(b=hb(b,this.M.get(me(this,a))));else{a=this.M.S();for(var c=0;c<a.length;c++)b=hb(b,a[c])}return b};k.set=function(a,b){le(this);this.pa=null;a=me(this,a);this.ib(a)&&(this.I=Pa(this.I)-this.M.get(a).length);this.M.set(a,[b]);this.I=Pa(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.pa=null,this.M.set(me(this,a),ib(b)),this.I=Pa(this.I)+b.length)};k.toString=function(){if(this.pa)return this.pa;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.pa=a.join("&")};
k.clone=function(){var a=new be;a.pa=this.pa;this.M&&(a.M=this.M.clone(),a.I=this.I);return a};var me=function(a,b){b=String(b);a.ua&&(b=b.toLowerCase());return b};be.prototype.Mf=function(a){a&&!this.ua&&(le(this),this.pa=null,this.M.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.ua=a};be.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)yd(arguments[b],function(c,d){this.add(d,c)},this)};function ne(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}}function G(a){for(var b={},c=m(Object.entries(oe)),d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;d in a&&(b[e]=a[d])}return b};var pe=function(){};pe.prototype.w=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function qe(a){var b=a.body instanceof B?Nd(a.body,Jd,Kd,Ld):a.body;return{path:a.path,s:a.s,B:a.B,body:b,o:a.o,Ph:a.Ph&&a.Ph}};function re(a,b){if(null==a)return null;a=a.pk(b);return null==a?null:a};var se=function(a,b){this.O=a;this.Ij=void 0===b?null:b};q(se,pe);var te=function(a,b,c){var d=re(a.Ij,b);if(null==d)return c;d.qk();return c.then(function(e){d.sk(e);return e},function(e){d.rk(e);throw e;})},H=function(a,b){var c=b.C||void 0;return te(a,b,a.O.send(qe(b),c))};var ue={be:"ADMIN_READ",de:"DATA_READ",fe:"DATA_WRITE",Mi:"LOG_TYPE_UNSPECIFIED",values:function(){return[ue.Mi,ue.be,ue.fe,ue.de]}},ve={be:"ADMIN_READ",ci:"ADMIN_WRITE",de:"DATA_READ",fe:"DATA_WRITE",Ui:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[ve.Ui,ve.be,ve.ci,ve.de,ve.fe]}},we={ki:"CAPABILITY_GROUP_UNSPECIFIED",li:"CLOUD_ALPHA",vi:"EXTERNAL",Fi:"INTERNAL",Ii:"LIMITED",Vi:"PREAUTHORIZED",Xi:"PREVIEW",ne:"PUBLIC",values:function(){return[we.ki,we.ne,we.Fi,we.vi,we.Ii,we.Vi,we.Xi,we.li]}},
xe={bi:"ADMIN_ACTIVITY",ni:"DATA_ACCESS",mj:"UNSPECIFIED_LOG_NAME",values:function(){return[xe.mj,xe.bi,xe.ni]}},ye={fi:"APPROVER",gi:"ATTRIBUTION",hi:"AUTHORITY",mi:"CREDENTIALS_TYPE",Hi:"JUSTIFICATION_TYPE",me:"NO_ATTR",aj:"SECURITY_REALM",values:function(){return[ye.me,ye.hi,ye.gi,ye.aj,ye.fi,ye.Hi,ye.mi]}},ze={ti:"DISCHARGED",ui:"EQUALS",Bi:"IN",Oi:"NOT_EQUALS",Pi:"NOT_IN",Ri:"NO_OP",values:function(){return[ze.Ri,ze.ui,ze.Oi,ze.Bi,ze.Pi,ze.ti]}},Ae={Gi:"IP",Ni:"NAME",me:"NO_ATTR",Yi:"REGION",
bj:"SERVICE",values:function(){return[Ae.me,Ae.Yi,Ae.bj,Ae.Ni,Ae.Gi]}},Be={Ki:"LOG_FAIL_CLOSED",Li:"LOG_MODE_UNSPECIFIED",values:function(){return[Be.Li,Be.Ki]}},Ce={xi:"FOLDER",zi:"IMAGE",Ai:"IMAGE_COLLECTION",fj:"TABLE",ij:"TYPE_UNSPECIFIED",values:function(){return[Ce.ij,Ce.zi,Ce.Ai,Ce.fj,Ce.xi]}},De={sb:"AUTO_JPEG_PNG",tb:"GEO_TIFF",ub:"IMAGE_FILE_FORMAT_UNSPECIFIED",vb:"JPEG",wb:"MULTI_BAND_IMAGE_TILE",xb:"NPY",yb:"PNG",zb:"TF_RECORD_IMAGE",Ab:"ZIPPED_GEO_TIFF",Bb:"ZIPPED_GEO_TIFF_PER_BAND",
values:function(){return[De.ub,De.vb,De.yb,De.sb,De.xb,De.tb,De.zb,De.wb,De.Ab,De.Bb]}},Ee={nj:"V1",oj:"V2",pj:"VERSION_UNSPECIFIED",values:function(){return[Ee.pj,Ee.nj,Ee.oj]}},Fe={sb:"AUTO_JPEG_PNG",tb:"GEO_TIFF",ub:"IMAGE_FILE_FORMAT_UNSPECIFIED",vb:"JPEG",wb:"MULTI_BAND_IMAGE_TILE",xb:"NPY",yb:"PNG",zb:"TF_RECORD_IMAGE",Ab:"ZIPPED_GEO_TIFF",Bb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Fe.ub,Fe.vb,Fe.yb,Fe.sb,Fe.xb,Fe.tb,Fe.zb,Fe.wb,Fe.Ab,Fe.Bb]}},Ge={yi:"HORIZONTAL",Si:"ORIENTATION_UNSPECIFIED",
qj:"VERTICAL",values:function(){return[Ge.Si,Ge.yi,Ge.qj]}},He={pi:"DEFAULT_OBJECT_ACL",ne:"PUBLIC",gj:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[He.gj,He.ne,He.pi]}},Ie={MAX:"MAX",Sa:"MEAN",MIN:"MIN",Ta:"MODE",Ua:"PYRAMIDING_POLICY_UNSPECIFIED",Va:"SAMPLE",values:function(){return[Ie.Ua,Ie.Sa,Ie.Va,Ie.MIN,Ie.MAX,Ie.Ta]}},Je={MAX:"MAX",Sa:"MEAN",MIN:"MIN",Ta:"MODE",Ua:"PYRAMIDING_POLICY_UNSPECIFIED",Va:"SAMPLE",values:function(){return[Je.Ua,Je.Sa,Je.Va,Je.MIN,Je.MAX,Je.Ta]}},Ke={MAX:"MAX",
Sa:"MEAN",MIN:"MIN",Ta:"MODE",Ua:"PYRAMIDING_POLICY_UNSPECIFIED",Va:"SAMPLE",values:function(){return[Ke.Ua,Ke.Sa,Ke.Va,Ke.MIN,Ke.MAX,Ke.Ta]}},Le={sb:"AUTO_JPEG_PNG",tb:"GEO_TIFF",ub:"IMAGE_FILE_FORMAT_UNSPECIFIED",vb:"JPEG",wb:"MULTI_BAND_IMAGE_TILE",xb:"NPY",yb:"PNG",zb:"TF_RECORD_IMAGE",Ab:"ZIPPED_GEO_TIFF",Bb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Le.ub,Le.vb,Le.yb,Le.sb,Le.xb,Le.tb,Le.zb,Le.wb,Le.Ab,Le.Bb]}},Me={MAX:"MAX",Sa:"MEAN",MIN:"MIN",Ta:"MODE",Ua:"PYRAMIDING_POLICY_UNSPECIFIED",
Va:"SAMPLE",values:function(){return[Me.Ua,Me.Sa,Me.Va,Me.MIN,Me.MAX,Me.Ta]}},Ne={ii:"CANCELLED",ji:"CANCELLING",wi:"FAILED",Ti:"PENDING",Zi:"RUNNING",cj:"STATE_UNSPECIFIED",ej:"SUCCEEDED",values:function(){return[Ne.cj,Ne.Ti,Ne.Zi,Ne.ji,Ne.ej,Ne.ii,Ne.wi]}},Oe={ge:"DOUBLE",FLOAT:"FLOAT",INT:"INT",Wi:"PRECISION_UNSPECIFIED",values:function(){return[Oe.Wi,Oe.INT,Oe.FLOAT,Oe.ge]}},Pe={di:"ALLOW",ei:"ALLOW_WITH_LOG",ri:"DENY",si:"DENY_WITH_LOG",Ji:"LOG",Qi:"NO_ACTION",values:function(){return[Pe.Qi,
Pe.di,Pe.ei,Pe.ri,Pe.si,Pe.Ji]}},Qe={ce:"CSV",he:"GEO_JSON",je:"KML",ke:"KMZ",oe:"SHP",pe:"TABLE_FILE_FORMAT_UNSPECIFIED",qe:"TF_RECORD_TABLE",values:function(){return[Qe.pe,Qe.ce,Qe.he,Qe.je,Qe.ke,Qe.oe,Qe.qe]}},Re={ce:"CSV",he:"GEO_JSON",je:"KML",ke:"KMZ",oe:"SHP",pe:"TABLE_FILE_FORMAT_UNSPECIFIED",qe:"TF_RECORD_TABLE",values:function(){return[Re.pe,Re.ce,Re.he,Re.je,Re.ke,Re.oe,Re.qe]}},Se={sb:"AUTO_JPEG_PNG",tb:"GEO_TIFF",ub:"IMAGE_FILE_FORMAT_UNSPECIFIED",vb:"JPEG",wb:"MULTI_BAND_IMAGE_TILE",
xb:"NPY",yb:"PNG",zb:"TF_RECORD_IMAGE",Ab:"ZIPPED_GEO_TIFF",Bb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Se.ub,Se.vb,Se.yb,Se.sb,Se.xb,Se.tb,Se.zb,Se.wb,Se.Ab,Se.Bb]}},Te={MAX:"MAX",Sa:"MEAN",MIN:"MIN",Ta:"MODE",Ua:"PYRAMIDING_POLICY_UNSPECIFIED",Va:"SAMPLE",values:function(){return[Te.Ua,Te.Sa,Te.Va,Te.MIN,Te.MAX,Te.Ta]}},Ue={oi:"DATA_TYPE_UNSPECIFIED",ge:"DOUBLE",FLOAT:"FLOAT",Ci:"INT16",Di:"INT32",Ei:"INT8",jj:"UINT16",kj:"UINT32",lj:"UINT8",values:function(){return[Ue.oi,Ue.Ei,Ue.lj,
Ue.Ci,Ue.jj,Ue.Di,Ue.kj,Ue.FLOAT,Ue.ge]}},Ve={ie:"GIF",le:"MP4",re:"VIDEO_FILE_FORMAT_UNSPECIFIED",se:"VP9",values:function(){return[Ve.re,Ve.le,Ve.ie,Ve.se]}},We={ie:"GIF",le:"MP4",re:"VIDEO_FILE_FORMAT_UNSPECIFIED",se:"VP9",values:function(){return[We.re,We.le,We.ie,We.se]}},Xe=function(a){a=void 0===a?{}:a;this.a={};this.a.scaleX=null==a.If?null:a.If;this.a.shearX=null==a.Nf?null:a.Nf;this.a.translateX=null==a.$f?null:a.$f;this.a.shearY=null==a.Of?null:a.Of;this.a.scaleY=null==a.Jf?null:a.Jf;this.a.translateY=
null==a.ag?null:a.ag};q(Xe,B);Xe.prototype.f=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
l.Object.defineProperties(Xe.prototype,{If:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleX")?D(this,"scaleX"):null},set:function(a){this.a.scaleX=a}},Jf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleY")?D(this,"scaleY"):null},set:function(a){this.a.scaleY=a}},Nf:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearX")?D(this,"shearX"):null},set:function(a){this.a.shearX=a}},Of:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearY")?
D(this,"shearY"):null},set:function(a){this.a.shearY=a}},$f:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateX")?D(this,"translateX"):null},set:function(a){this.a.translateX=a}},ag:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateY")?D(this,"translateY"):null},set:function(a){this.a.translateY=a}}});
var Ye=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.Hf?null:a.Hf;this.a.arguments=null==a.arguments?null:a.arguments;this.a.deprecated=null==a.deprecated?null:a.deprecated;this.a.deprecationReason=null==a.Me?null:a.Me;this.a.hidden=null==a.hidden?null:a.hidden;this.a.preview=null==a.preview?null:a.preview;this.a.sourceCodeUri=null==a.sourceCodeUri?null:a.sourceCodeUri};q(Ye,B);
Ye.prototype.f=function(){return{P:{arguments:Ze},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
l.Object.defineProperties(Ye.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}},Me:{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}},Hf:{configurable:!0,enumerable:!0,get:function(){return F(this,"returnType")?D(this,"returnType"):null},set:function(a){this.a.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return F(this,"sourceCodeUri")?D(this,"sourceCodeUri"):null},set:function(a){this.a.sourceCodeUri=a}}});
var Ze=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentName=null==a.ld?null:a.ld;this.a.type=null==a.type?null:a.type;this.a.description=null==a.description?null:a.description;this.a.optional=null==a.optional?null:a.optional;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue};q(Ze,B);Ze.prototype.f=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
l.Object.defineProperties(Ze.prototype,{ld:{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 $e=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q($e,B);$e.prototype.f=function(){return{P:{values:af},keys:["values"]}};
l.Object.defineProperties($e.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var bf=function(a){a=void 0===a?{}:a;this.a={};this.a.service=null==a.Lh?null:a.Lh;this.a.exemptedMembers=null==a.Gc?null:a.Gc;this.a.auditLogConfigs=null==a.ig?null:a.ig};q(bf,B);bf.prototype.f=function(){return{P:{auditLogConfigs:cf},keys:["auditLogConfigs","exemptedMembers","service"]}};
l.Object.defineProperties(bf.prototype,{ig:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditLogConfigs")?D(this,"auditLogConfigs"):null},set:function(a){this.a.auditLogConfigs=a}},Gc:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?D(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},Lh:{configurable:!0,enumerable:!0,get:function(){return F(this,"service")?D(this,"service"):null},set:function(a){this.a.service=a}}});
var cf=function(a){a=void 0===a?{}:a;this.a={};this.a.logType=null==a.ph?null:a.ph;this.a.exemptedMembers=null==a.Gc?null:a.Gc;this.a.ignoreChildExemptions=null==a.dh?null:a.dh};q(cf,B);cf.prototype.f=function(){return{K:{logType:ue},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
l.Object.defineProperties(cf.prototype,{Gc:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?D(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},dh:{configurable:!0,enumerable:!0,get:function(){return F(this,"ignoreChildExemptions")?D(this,"ignoreChildExemptions"):null},set:function(a){this.a.ignoreChildExemptions=a}},ph:{configurable:!0,enumerable:!0,get:function(){return F(this,"logType")?D(this,"logType"):null},set:function(a){this.a.logType=
a}}});var df=function(a){a=void 0===a?{}:a;this.a={};this.a.permissionType=null==a.zh?null:a.zh};q(df,B);df.prototype.f=function(){return{K:{permissionType:ve},keys:["permissionType"]}};l.Object.defineProperties(df.prototype,{zh:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissionType")?D(this,"permissionType"):null},set:function(a){this.a.permissionType=a}}});
var ef=function(a){a=void 0===a?{}:a;this.a={};this.a.role=null==a.pc?null:a.pc;this.a.members=null==a.Pb?null:a.Pb;this.a.condition=null==a.tg?null:a.tg};q(ef,B);ef.prototype.f=function(){return{keys:["condition","members","role"],u:{condition:ff}}};
l.Object.defineProperties(ef.prototype,{tg:{configurable:!0,enumerable:!0,get:function(){return F(this,"condition")?D(this,"condition"):null},set:function(a){this.a.condition=a}},Pb:{configurable:!0,enumerable:!0,get:function(){return F(this,"members")?D(this,"members"):null},set:function(a){this.a.members=a}},pc:{configurable:!0,enumerable:!0,get:function(){return F(this,"role")?D(this,"role"):null},set:function(a){this.a.role=a}}});var gf=function(){this.a={}};q(gf,B);gf.prototype.f=function(){return{keys:[]}};
var hf=function(a){a=void 0===a?{}:a;this.a={};this.a.capabilities=null==a.qg?null:a.qg};q(hf,B);hf.prototype.f=function(){return{K:{capabilities:we},keys:["capabilities"]}};l.Object.defineProperties(hf.prototype,{qg:{configurable:!0,enumerable:!0,get:function(){return F(this,"capabilities")?D(this,"capabilities"):null},set:function(a){this.a.capabilities=a}}});var jf=function(a){a=void 0===a?{}:a;this.a={};this.a.logName=null==a.oh?null:a.oh;this.a.authorizationLoggingOptions=null==a.jg?null:a.jg};
q(jf,B);jf.prototype.f=function(){return{K:{logName:xe},keys:["authorizationLoggingOptions","logName"],u:{authorizationLoggingOptions:df}}};
l.Object.defineProperties(jf.prototype,{jg:{configurable:!0,enumerable:!0,get:function(){return F(this,"authorizationLoggingOptions")?D(this,"authorizationLoggingOptions"):null},set:function(a){this.a.authorizationLoggingOptions=a}},oh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logName")?D(this,"logName"):null},set:function(a){this.a.logName=a}}});var kf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i};q(kf,B);
kf.prototype.f=function(){return{keys:["expression"],u:{expression:lf}}};l.Object.defineProperties(kf.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}}});var mf=function(a){a=void 0===a?{}:a;this.a={};this.a.result=null==a.result?null:a.result};q(mf,B);mf.prototype.f=function(){return{keys:["result"]}};
l.Object.defineProperties(mf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?D(this,"result"):null},set:function(a){this.a.result=a}}});var nf=function(a){a=void 0===a?{}:a;this.a={};this.a.iam=null==a.Zg?null:a.Zg;this.a.sys=null==a.Th?null:a.Th;this.a.svc=null==a.Sh?null:a.Sh;this.a.op=null==a.xh?null:a.xh;this.a.values=null==a.values?null:a.values};q(nf,B);nf.prototype.f=function(){return{K:{iam:ye,op:ze,sys:Ae},keys:["iam","op","svc","sys","values"]}};
l.Object.defineProperties(nf.prototype,{Zg:{configurable:!0,enumerable:!0,get:function(){return F(this,"iam")?D(this,"iam"):null},set:function(a){this.a.iam=a}},xh:{configurable:!0,enumerable:!0,get:function(){return F(this,"op")?D(this,"op"):null},set:function(a){this.a.op=a}},Sh:{configurable:!0,enumerable:!0,get:function(){return F(this,"svc")?D(this,"svc"):null},set:function(a){this.a.svc=a}},Th:{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 of=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.Gb?null:a.Gb;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.bandIds=null==a.aa?null:a.aa};q(of,B);of.prototype.f=function(){return{keys:["bandIds","destinationName","overwrite"]}};
l.Object.defineProperties(of.prototype,{aa:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},Gb:{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 pf=function(a){a=void 0===a?{}:a;this.a={};this.a.metric=null==a.qh?null:a.qh;this.a.field=null==a.Kg?null:a.Kg;this.a.customFields=null==a.Cg?null:a.Cg};q(pf,B);pf.prototype.f=function(){return{P:{customFields:qf},keys:["customFields","field","metric"]}};
l.Object.defineProperties(pf.prototype,{Cg:{configurable:!0,enumerable:!0,get:function(){return F(this,"customFields")?D(this,"customFields"):null},set:function(a){this.a.customFields=a}},Kg:{configurable:!0,enumerable:!0,get:function(){return F(this,"field")?D(this,"field"):null},set:function(a){this.a.field=a}},qh:{configurable:!0,enumerable:!0,get:function(){return F(this,"metric")?D(this,"metric"):null},set:function(a){this.a.metric=a}}});
var qf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.value=null==a.value?null:a.value};q(qf,B);qf.prototype.f=function(){return{keys:["name","value"]}};l.Object.defineProperties(qf.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 rf=function(a){a=void 0===a?{}:a;this.a={};this.a.logMode=null==a.nh?null:a.nh};q(rf,B);rf.prototype.f=function(){return{K:{logMode:Be},keys:["logMode"]}};l.Object.defineProperties(rf.prototype,{nh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logMode")?D(this,"logMode"):null},set:function(a){this.a.logMode=a}}});var sf=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q(sf,B);
sf.prototype.f=function(){return{keys:["values"],wa:{values:{ea:af,ja:!1,ka:!0,la:!1}}}};l.Object.defineProperties(sf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var tf=function(a){a=void 0===a?{}:a;this.a={};this.a.min=null==a.min?null:a.min;this.a.max=null==a.max?null:a.max};q(tf,B);tf.prototype.f=function(){return{keys:["max","min"]}};
l.Object.defineProperties(tf.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 uf=function(a){a=void 0===a?{}:a;this.a={};this.a.folder=null==a.Xe?null:a.Xe;this.a.filenamePrefix=null==a.ta?null:a.ta};q(uf,B);uf.prototype.f=function(){return{keys:["filenamePrefix","folder"]}};
l.Object.defineProperties(uf.prototype,{ta:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?D(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},Xe:{configurable:!0,enumerable:!0,get:function(){return F(this,"folder")?D(this,"folder"):null},set:function(a){this.a.folder=a}}});
var vf=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.Wh?null:a.Wh;this.a.gcsLocation=null==a.Sg?null:a.Sg;this.a.expression=null==a.i?null:a.i};q(vf,B);
vf.prototype.f=function(){return{P:{bands:wf},K:{type:Ce},keys:"bands description endTime expression gcsLocation geometry id name properties quota sizeBytes startTime tilestoreEntry title type updateTime".split(" "),wa:{geometry:{ea:null,ja:!1,ka:!1,la:!1},properties:{ea:null,ja:!1,ka:!1,la:!1}},u:{expression:lf,gcsLocation:xf,quota:yf,tilestoreEntry:zf}}};
l.Object.defineProperties(vf.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}},Sg:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsLocation")?D(this,"gcsLocation"):null},set:function(a){this.a.gcsLocation=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}},Wh:{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 Af=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name};q(Af,B);Af.prototype.f=function(){return{keys:["name"]}};
l.Object.defineProperties(Af.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}}});var Bf=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.A?null:a.A;this.a.bandIds=null==a.aa?null:a.aa;this.a.visualizationOptions=null==a.Yb?null:a.Yb};q(Bf,B);
Bf.prototype.f=function(){return{K:{fileFormat:De},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],u:{expression:lf,visualizationOptions:Cf}}};
l.Object.defineProperties(Bf.prototype,{aa:{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}},A:{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}},Yb:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?D(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});var Df=function(){this.a={}};q(Df,B);Df.prototype.f=function(){return{keys:[]}};
var Ef=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.ga?null:a.ga;this.a.assetExportOptions=null==a.Xa?null:a.Xa;this.a.maxPixels=null==a.sf?null:a.sf;this.a.grid=null==a.J?null:a.J;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.T?null:a.T};q(Ef,B);
Ef.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkerCount requestId".split(" "),u:{assetExportOptions:Ff,expression:lf,fileExportOptions:Gf,grid:Hf}}};
l.Object.defineProperties(Ef.prototype,{Xa:{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}},
ga:{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}},sf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixels")?D(this,"maxPixels"):null},set:function(a){this.a.maxPixels=a}},T:{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 If=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.Vb?null:a.Vb;this.a.tileExportOptions=null==a.Ub?null:a.Ub;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.T?null:a.T};q(If,B);If.prototype.f=function(){return{keys:"description expression maxWorkerCount requestId tileExportOptions tileOptions".split(" "),u:{expression:lf,tileExportOptions:Gf,tileOptions:Jf}}};
l.Object.defineProperties(If.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}},T:{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}},Ub:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?D(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?D(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}}});
var Kf=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.ga?null:a.ga;this.a.assetExportOptions=null==a.Xa?null:a.Xa;this.a.selectors=null==a.selectors?null:a.selectors;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxErrorMeters=null==a.Nb?null:a.Nb;this.a.maxWorkerCount=null==a.T?null:a.T;this.a.maxVertices=null==a.maxVertices?null:a.maxVertices};q(Kf,B);
Kf.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions maxErrorMeters maxVertices maxWorkerCount requestId selectors".split(" "),u:{assetExportOptions:Lf,expression:lf,fileExportOptions:Mf}}};
l.Object.defineProperties(Kf.prototype,{Xa:{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}},
ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?D(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},Nb:{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}},T:{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 Nf=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.Vb?null:a.Vb;this.a.tileExportOptions=null==a.Ub?null:a.Ub;this.a.requestId=null==a.requestId?null:a.requestId;this.a.version=null==a.version?null:a.version;this.a.maxWorkerCount=null==a.T?null:a.T};q(Nf,B);
Nf.prototype.f=function(){return{K:{version:Ee},keys:"description expression maxWorkerCount requestId tileExportOptions tileOptions version videoOptions".split(" "),u:{expression:lf,tileExportOptions:Of,tileOptions:Jf,videoOptions:Pf}}};
l.Object.defineProperties(Nf.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}},T:{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}},Ub:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?D(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Vb:{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 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.videoOptions=null==a.Ia?null:a.Ia;this.a.fileExportOptions=null==a.ga?null:a.ga;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.T?null:a.T};q(Qf,B);Qf.prototype.f=function(){return{keys:"description expression fileExportOptions maxWorkerCount requestId videoOptions".split(" "),u:{expression:lf,fileExportOptions:Of,videoOptions:Pf}}};
l.Object.defineProperties(Qf.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}},ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?D(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},T:{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 ff=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.location=null==a.location?null:a.location};q(ff,B);ff.prototype.f=function(){return{keys:["description","expression","location","title"]}};
l.Object.defineProperties(ff.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 lf=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values;this.a.result=null==a.result?null:a.result};q(lf,B);lf.prototype.f=function(){return{keys:["result","values"],wa:{values:{ea:af,ja:!1,ka:!0,la:!1}}}};
l.Object.defineProperties(lf.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 Rf=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.A?null:a.A;this.a.grid=null==a.J?null:a.J};q(Rf,B);Rf.prototype.f=function(){return{K:{fileFormat:Fe,orientation:Ge},keys:["expression","fileFormat","grid","name","orientation"],u:{expression:lf,grid:Hf}}};
l.Object.defineProperties(Rf.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},A:{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 yf=function(a){a=void 0===a?{}:a;this.a={};this.a.sizeBytes=null==a.ya?null:a.ya;this.a.maxSizeBytes=null==a.Ob?null:a.Ob;this.a.assetCount=null==a.xe?null:a.xe;this.a.maxAssetCount=null==a.qf?null:a.qf};q(yf,B);
yf.prototype.f=function(){return{keys:["assetCount","maxAssetCount","maxSizeBytes","sizeBytes"]}};
l.Object.defineProperties(yf.prototype,{xe:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetCount")?D(this,"assetCount"):null},set:function(a){this.a.assetCount=a}},qf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxAssetCount")?D(this,"maxAssetCount"):null},set:function(a){this.a.maxAssetCount=a}},Ob:{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 Sf=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentNames=null==a.xc?null:a.xc;this.a.body=null==a.body?null:a.body};q(Sf,B);Sf.prototype.f=function(){return{keys:["argumentNames","body"]}};
l.Object.defineProperties(Sf.prototype,{xc:{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 Tf=function(a){a=void 0===a?{}:a;this.a={};this.a.functionName=null==a.functionName?null:a.functionName;this.a.functionReference=null==a.kb?null:a.kb;this.a.arguments=null==a.arguments?null:a.arguments};q(Tf,B);Tf.prototype.f=function(){return{keys:["arguments","functionName","functionReference"],wa:{arguments:{ea:af,ja:!1,ka:!0,la:!1}}}};
l.Object.defineProperties(Tf.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}},kb:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionReference")?D(this,"functionReference"):null},set:function(a){this.a.functionReference=
a}}});var Uf=function(a){a=void 0===a?{}:a;this.a={};this.a.bucket=null==a.Ae?null:a.Ae;this.a.filenamePrefix=null==a.ta?null:a.ta;this.a.permissions=null==a.permissions?null:a.permissions;this.a.bucketCorsUris=null==a.Be?null:a.Be};q(Uf,B);Uf.prototype.f=function(){return{K:{permissions:He},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
l.Object.defineProperties(Uf.prototype,{Ae:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucket")?D(this,"bucket"):null},set:function(a){this.a.bucket=a}},Be:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucketCorsUris")?D(this,"bucketCorsUris"):null},set:function(a){this.a.bucketCorsUris=a}},ta:{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}}});l.Object.defineProperties(Uf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return He}}});var xf=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Qa?null:a.Qa};q(xf,B);xf.prototype.f=function(){return{keys:["uris"]}};
l.Object.defineProperties(xf.prototype,{Qa:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?D(this,"uris"):null},set:function(a){this.a.uris=a}}});var Vf=function(a){a=void 0===a?{}:a;this.a={};this.a.cloudOptimized=null==a.Ee?null:a.Ee;this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.skipEmptyFiles=null==a.Qf?null:a.Qf};q(Vf,B);Vf.prototype.f=function(){return{keys:["cloudOptimized","skipEmptyFiles","tileDimensions"],u:{tileDimensions:Wf}}};
l.Object.defineProperties(Vf.prototype,{Ee:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudOptimized")?D(this,"cloudOptimized"):null},set:function(a){this.a.cloudOptimized=a}},Qf:{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 Xf=function(a){a=void 0===a?{}:a;this.a={};this.a.options=null==a.options?null:a.options};q(Xf,B);Xf.prototype.f=function(){return{keys:["options"],u:{options:Yf}}};l.Object.defineProperties(Xf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return F(this,"options")?D(this,"options"):null},set:function(a){this.a.options=a}}});var Yf=function(a){a=void 0===a?{}:a;this.a={};this.a.requestedPolicyVersion=null==a.Gh?null:a.Gh};q(Yf,B);Yf.prototype.f=function(){return{keys:["requestedPolicyVersion"]}};
l.Object.defineProperties(Yf.prototype,{Gh:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestedPolicyVersion")?D(this,"requestedPolicyVersion"):null},set:function(a){this.a.requestedPolicyVersion=a}}});var Wf=function(a){a=void 0===a?{}:a;this.a={};this.a.width=null==a.width?null:a.width;this.a.height=null==a.height?null:a.height};q(Wf,B);Wf.prototype.f=function(){return{keys:["height","width"]}};
l.Object.defineProperties(Wf.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 Zf=function(a){a=void 0===a?{}:a;this.a={};this.a.x=null==a.x?null:a.x;this.a.y=null==a.y?null:a.y};q(Zf,B);Zf.prototype.f=function(){return{keys:["x","y"]}};
l.Object.defineProperties(Zf.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 $f=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};q($f,B);$f.prototype.f=function(){return{P:{bands:wf},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),wa:{geometry:{ea:null,ja:!1,ka:!1,la:!1},properties:{ea:null,ja:!1,ka:!1,la:!1}}}};
l.Object.defineProperties($f.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 Ff=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.Ib?null:a.Ib;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.pyramidingPolicyOverrides=null==a.Cf?null:a.Cf;this.a.tileSize=null==a.tileSize?null:a.tileSize};q(Ff,B);
Ff.prototype.f=function(){return{K:{pyramidingPolicy:Ie,pyramidingPolicyOverrides:Je},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],wa:{pyramidingPolicyOverrides:{ea:null,ja:!1,ka:!1,la:!1}},u:{earthEngineDestination:Af}}};
l.Object.defineProperties(Ff.prototype,{Ib:{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}},Cf:{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 wf=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};q(wf,B);
wf.prototype.f=function(){return{P:{tilesets:ag},K:{pyramidingPolicy:Ke},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),u:{dataType:bg,grid:Hf,missingData:cg}}};
l.Object.defineProperties(wf.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 Gf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.A?null:a.A;this.a.driveDestination=null==a.fa?null:a.fa;this.a.gcsDestination=null==a.ha?null:a.ha;this.a.geoTiffOptions=null==a.td?null:a.td;this.a.tfRecordOptions=null==a.Qd?null:a.Qd};q(Gf,B);Gf.prototype.f=function(){return{K:{fileFormat:Le},keys:["driveDestination","fileFormat","gcsDestination","geoTiffOptions","tfRecordOptions"],u:{driveDestination:uf,gcsDestination:Uf,geoTiffOptions:Vf,tfRecordOptions:dg}}};
l.Object.defineProperties(Gf.prototype,{fa:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},A:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}},td:{configurable:!0,
enumerable:!0,get:function(){return F(this,"geoTiffOptions")?D(this,"geoTiffOptions"):null},set:function(a){this.a.geoTiffOptions=a}},Qd:{configurable:!0,enumerable:!0,get:function(){return F(this,"tfRecordOptions")?D(this,"tfRecordOptions"):null},set:function(a){this.a.tfRecordOptions=a}}});
var eg=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.fd?null:a.fd;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.bands=null==a.bands?null:a.bands;this.a.maskBands=null==a.pf?null:a.pf;this.a.footprint=null==a.Qg?null:a.Qg;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.startTime=null==a.startTime?
null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};q(eg,B);eg.prototype.f=function(){return{P:{bands:fg,maskBands:gg,tilesets:hg},K:{pyramidingPolicy:Me},keys:"bands endTime footprint maskBands missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),wa:{properties:{ea:null,ja:!1,ka:!1,la:!1}},u:{footprint:ig,missingData:cg}}};
l.Object.defineProperties(eg.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}},Qg:{configurable:!0,enumerable:!0,get:function(){return F(this,"footprint")?D(this,"footprint"):null},set:function(a){this.a.footprint=a}},pf:{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}},fd:{configurable:!0,enumerable:!0,get:function(){return F(this,
"uriPrefix")?D(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});var jg=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Qa?null:a.Qa;this.a.affineTransform=null==a.Cb?null:a.Cb};q(jg,B);jg.prototype.f=function(){return{keys:["affineTransform","uris"],u:{affineTransform:Xe}}};
l.Object.defineProperties(jg.prototype,{Cb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?D(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Qa:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?D(this,"uris"):null},set:function(a){this.a.uris=a}}});
var kg=function(a){a=void 0===a?{}:a;this.a={};this.a.imageManifest=null==a.cf?null:a.cf;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.requestId?null:a.requestId};q(kg,B);kg.prototype.f=function(){return{keys:["description","imageManifest","overwrite","requestId"],u:{imageManifest:eg}}};
l.Object.defineProperties(kg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},cf:{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 lg=function(a){a=void 0===a?{}:a;this.a={};this.a.tableManifest=null==a.Vf?null:a.Vf;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.requestId?null:a.requestId};q(lg,B);lg.prototype.f=function(){return{keys:["description","overwrite","requestId","tableManifest"],u:{tableManifest:mg}}};
l.Object.defineProperties(lg.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}},Vf:{configurable:!0,
enumerable:!0,get:function(){return F(this,"tableManifest")?D(this,"tableManifest"):null},set:function(a){this.a.tableManifest=a}}});var ng=function(a){a=void 0===a?{}:a;this.a={};this.a.algorithms=null==a.wc?null:a.wc};q(ng,B);ng.prototype.f=function(){return{P:{algorithms:Ye},keys:["algorithms"]}};l.Object.defineProperties(ng.prototype,{wc:{configurable:!0,enumerable:!0,get:function(){return F(this,"algorithms")?D(this,"algorithms"):null},set:function(a){this.a.algorithms=a}}});
var og=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.assets?null:a.assets;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};q(og,B);og.prototype.f=function(){return{P:{assets:vf},keys:["assets","nextPageToken"]}};
l.Object.defineProperties(og.prototype,{assets:{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 pg=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};q(pg,B);
pg.prototype.f=function(){return{P:{images:$f},keys:["images","nextPageToken"]}};l.Object.defineProperties(pg.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 qg=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};q(qg,B);qg.prototype.f=function(){return{P:{operations:rg},keys:["nextPageToken","operations"]}};
l.Object.defineProperties(qg.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 sg=function(a){a=void 0===a?{}:a;this.a={};this.a.counter=null==a.xg?null:a.xg;this.a.dataAccess=null==a.Dg?null:a.Dg;this.a.cloudAudit=null==a.sg?null:a.sg};q(sg,B);sg.prototype.f=function(){return{keys:["cloudAudit","counter","dataAccess"],u:{cloudAudit:jf,counter:pf,dataAccess:rf}}};
l.Object.defineProperties(sg.prototype,{sg:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudAudit")?D(this,"cloudAudit"):null},set:function(a){this.a.cloudAudit=a}},xg:{configurable:!0,enumerable:!0,get:function(){return F(this,"counter")?D(this,"counter"):null},set:function(a){this.a.counter=a}},Dg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataAccess")?D(this,"dataAccess"):null},set:function(a){this.a.dataAccess=a}}});
var cg=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q(cg,B);cg.prototype.f=function(){return{keys:["values"]}};l.Object.defineProperties(cg.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var tg=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.Gb?null:a.Gb};q(tg,B);tg.prototype.f=function(){return{keys:["destinationName"]}};
l.Object.defineProperties(tg.prototype,{Gb:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?D(this,"destinationName"):null},set:function(a){this.a.destinationName=a}}});var rg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.metadata=null==a.tf?null:a.tf;this.a.done=null==a.done?null:a.done;this.a.error=null==a.error?null:a.error;this.a.response=null==a.response?null:a.response};q(rg,B);
rg.prototype.f=function(){return{keys:["done","error","metadata","name","response"],wa:{metadata:{ea:null,ja:!1,ka:!1,la:!1},response:{ea:null,ja:!1,ka:!1,la:!1}},u:{error:ug}}};
l.Object.defineProperties(rg.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}},tf:{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 vg=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.Ke?null:a.Ke;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.Kf?null:a.Kf;this.a.destinationUris=null==a.Ne?null:a.Ne};q(vg,B);
vg.prototype.f=function(){return{K:{state:Ne},keys:"createTime description destinationUris endTime priority scriptUri startTime state type updateTime".split(" ")}};
l.Object.defineProperties(vg.prototype,{Ke:{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}},Ne:{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}},Kf:{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 bg=function(a){a=void 0===a?{}:a;this.a={};this.a.precision=null==a.precision?null:a.precision;this.a.range=null==a.Zc?null:a.Zc;this.a.dimensionsCount=null==a.Hg?null:a.Hg};q(bg,B);bg.prototype.f=function(){return{K:{precision:Oe},keys:["dimensionsCount","precision","range"],u:{range:tf}}};
l.Object.defineProperties(bg.prototype,{Hg:{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}},Zc:{configurable:!0,enumerable:!0,get:function(){return F(this,"range")?D(this,"range"):null},set:function(a){this.a.range=a}}});
var ig=function(a){a=void 0===a?{}:a;this.a={};this.a.points=null==a.Ah?null:a.Ah;this.a.bandId=null==a.kg?null:a.kg};q(ig,B);ig.prototype.f=function(){return{P:{points:Zf},keys:["bandId","points"]}};l.Object.defineProperties(ig.prototype,{kg:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandId")?D(this,"bandId"):null},set:function(a){this.a.bandId=a}},Ah:{configurable:!0,enumerable:!0,get:function(){return F(this,"points")?D(this,"points"):null},set:function(a){this.a.points=a}}});
var Hf=function(a){a=void 0===a?{}:a;this.a={};this.a.crsCode=null==a.Le?null:a.Le;this.a.crsWkt=null==a.zg?null:a.zg;this.a.dimensions=null==a.dimensions?null:a.dimensions;this.a.affineTransform=null==a.Cb?null:a.Cb};q(Hf,B);Hf.prototype.f=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],u:{affineTransform:Xe,dimensions:Wf}}};
l.Object.defineProperties(Hf.prototype,{Cb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?D(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Le:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsCode")?D(this,"crsCode"):null},set:function(a){this.a.crsCode=a}},zg:{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 wg=function(a){a=void 0===a?{}:a;this.a={};this.a.version=null==a.version?null:a.version;this.a.bindings=null==a.md?null:a.md;this.a.auditConfigs=null==a.hg?null:a.hg;this.a.rules=null==a.rules?null:a.rules;this.a.etag=null==a.Re?null:a.Re;this.a.iamOwned=null==a.$g?null:a.$g};q(wg,B);wg.prototype.f=function(){return{P:{auditConfigs:bf,bindings:ef,rules:xg},keys:"auditConfigs bindings etag iamOwned rules version".split(" ")}};
l.Object.defineProperties(wg.prototype,{hg:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditConfigs")?D(this,"auditConfigs"):null},set:function(a){this.a.auditConfigs=a}},md:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindings")?D(this,"bindings"):null},set:function(a){this.a.bindings=a}},Re:{configurable:!0,enumerable:!0,get:function(){return F(this,"etag")?D(this,"etag"):null},set:function(a){this.a.etag=a}},$g:{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 xg=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.fh?null:a.fh;this.a.notIn=null==a.sh?null:a.sh;this.a.conditions=null==a.conditions?null:a.conditions;this.a.logConfig=null==a.mh?null:a.mh};q(xg,B);xg.prototype.f=function(){return{P:{conditions:nf,logConfig:sg},K:{action:Pe},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
l.Object.defineProperties(xg.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}},fh:{configurable:!0,enumerable:!0,
get:function(){return F(this,"in")?D(this,"in"):null},set:function(a){this.a["in"]=a}},mh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logConfig")?D(this,"logConfig"):null},set:function(a){this.a.logConfig=a}},sh:{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 yg=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.assets?null:a.assets;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};q(yg,B);yg.prototype.f=function(){return{P:{assets:vf},keys:["assets","nextPageToken"]}};
l.Object.defineProperties(yg.prototype,{assets:{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 zg=function(a){a=void 0===a?{}:a;this.a={};this.a.policy=null==a.xf?null:a.xf;this.a.updateMask=null==a.tc?null:a.tc};q(zg,B);
zg.prototype.f=function(){return{keys:["policy","updateMask"],u:{policy:wg}}};l.Object.defineProperties(zg.prototype,{xf:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?D(this,"policy"):null},set:function(a){this.a.policy=a}},tc:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?D(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
var ug=function(a){a=void 0===a?{}:a;this.a={};this.a.code=null==a.code?null:a.code;this.a.message=null==a.message?null:a.message;this.a.details=null==a.details?null:a.details};q(ug,B);ug.prototype.f=function(){return{keys:["code","details","message"],wa:{details:{ea:null,ja:!0,ka:!1,la:!1}}}};
l.Object.defineProperties(ug.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 Ag=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.A?null:a.A;this.a.selectors=null==a.selectors?null:a.selectors;this.a.filename=null==a.filename?null:a.filename};q(Ag,B);Ag.prototype.f=function(){return{K:{fileFormat:Re},keys:["expression","fileFormat","filename","name","selectors"],u:{expression:lf}}};
l.Object.defineProperties(Ag.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},A:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return F(this,"filename")?D(this,"filename"):null},set:function(a){this.a.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
"name")?D(this,"name"):null},set:function(a){this.a.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,"selectors")?D(this,"selectors"):null},set:function(a){this.a.selectors=a}}});var Lf=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.Ib?null:a.Ib};q(Lf,B);Lf.prototype.f=function(){return{keys:["earthEngineDestination"],u:{earthEngineDestination:Af}}};
l.Object.defineProperties(Lf.prototype,{Ib:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?D(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}}});var Mf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.A?null:a.A;this.a.driveDestination=null==a.fa?null:a.fa;this.a.gcsDestination=null==a.ha?null:a.ha};q(Mf,B);
Mf.prototype.f=function(){return{K:{fileFormat:Qe},keys:["driveDestination","fileFormat","gcsDestination"],u:{driveDestination:uf,gcsDestination:Uf}}};
l.Object.defineProperties(Mf.prototype,{fa:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},A:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
var mg=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.fd?null:a.fd;this.a.sources=null==a.sources?null:a.sources;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};q(mg,B);mg.prototype.f=function(){return{P:{sources:Bg},keys:"endTime name properties sources startTime uriPrefix".split(" "),wa:{properties:{ea:null,ja:!1,ka:!1,la:!1}}}};
l.Object.defineProperties(mg.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}},fd:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?D(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});
var Bg=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Qa?null:a.Qa;this.a.charset=null==a.charset?null:a.charset;this.a.maxErrorMeters=null==a.Nb?null:a.Nb;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.Bh?null:a.Bh;this.a.xColumn=null==a.Zh?null:a.Zh;this.a.yColumn=null==a.$h?null:a.$h;this.a.dateFormat=null==a.Eg?null:a.Eg;this.a.csvDelimiter=null==a.Ag?
null:a.Ag;this.a.csvQualifier=null==a.Bg?null:a.Bg};q(Bg,B);Bg.prototype.f=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
l.Object.defineProperties(Bg.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}},Ag:{configurable:!0,enumerable:!0,get:function(){return F(this,"csvDelimiter")?D(this,"csvDelimiter"):null},set:function(a){this.a.csvDelimiter=a}},Bg:{configurable:!0,enumerable:!0,get:function(){return F(this,
"csvQualifier")?D(this,"csvQualifier"):null},set:function(a){this.a.csvQualifier=a}},Eg:{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}},Nb:{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}},Bh:{configurable:!0,enumerable:!0,get:function(){return F(this,"primaryGeometryColumn")?D(this,"primaryGeometryColumn"):null},set:function(a){this.a.primaryGeometryColumn=a}},Qa:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?D(this,"uris"):null},set:function(a){this.a.uris=a}},Zh:{configurable:!0,enumerable:!0,get:function(){return F(this,
"xColumn")?D(this,"xColumn"):null},set:function(a){this.a.xColumn=a}},$h:{configurable:!0,enumerable:!0,get:function(){return F(this,"yColumn")?D(this,"yColumn"):null},set:function(a){this.a.yColumn=a}}});
var dg=function(a){a=void 0===a?{}:a;this.a={};this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.marginDimensions=null==a.nf?null:a.nf;this.a.compress=null==a.Ge?null:a.Ge;this.a.maxSizeBytes=null==a.Ob?null:a.Ob;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue;this.a.tensorDepths=null==a.Pd?null:a.Pd;this.a.sequenceData=null==a.Lf?null:a.Lf;this.a.collapseBands=null==a.Fe?null:a.Fe;this.a.maxMaskedRatio=null==a.rf?null:a.rf};q(dg,B);
dg.prototype.f=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),wa:{tensorDepths:{ea:null,ja:!1,ka:!1,la:!1}},u:{marginDimensions:Wf,tileDimensions:Wf}}};
l.Object.defineProperties(dg.prototype,{Fe:{configurable:!0,enumerable:!0,get:function(){return F(this,"collapseBands")?D(this,"collapseBands"):null},set:function(a){this.a.collapseBands=a}},Ge:{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}},nf:{configurable:!0,
enumerable:!0,get:function(){return F(this,"marginDimensions")?D(this,"marginDimensions"):null},set:function(a){this.a.marginDimensions=a}},rf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxMaskedRatio")?D(this,"maxMaskedRatio"):null},set:function(a){this.a.maxMaskedRatio=a}},Ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?D(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},Lf:{configurable:!0,enumerable:!0,get:function(){return F(this,
"sequenceData")?D(this,"sequenceData"):null},set:function(a){this.a.sequenceData=a}},Pd:{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 Cg=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.A?null:a.A;this.a.bandIds=null==a.aa?null:a.aa;this.a.visualizationOptions=null==a.Yb?null:a.Yb;this.a.grid=null==a.J?null:a.J;this.a.filenamePrefix=null==a.ta?null:a.ta};q(Cg,B);Cg.prototype.f=function(){return{K:{fileFormat:Se},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),u:{expression:lf,grid:Hf,visualizationOptions:Cf}}};
l.Object.defineProperties(Cg.prototype,{aa:{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}},A:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ta:{configurable:!0,enumerable:!0,get:function(){return F(this,
"filenamePrefix")?D(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=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}},Yb:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?D(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=
a}}});var Jf=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.Rf?null:a.Rf;this.a.mapsApiKey=null==a.mf?null:a.mf;this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.stride=null==a.Sf?null:a.Sf;this.a.zoomSubset=null==a.cg?null:a.cg};q(Jf,B);
Jf.prototype.f=function(){return{keys:"mapsApiKey maxZoom minZoom scale skipEmptyTiles stride tileDimensions zoomSubset".split(" "),u:{tileDimensions:Wf,zoomSubset:Dg}}};
l.Object.defineProperties(Jf.prototype,{mf:{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}},Rf:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyTiles")?D(this,"skipEmptyTiles"):null},set:function(a){this.a.skipEmptyTiles=a}},Sf:{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}},
cg:{configurable:!0,enumerable:!0,get:function(){return F(this,"zoomSubset")?D(this,"zoomSubset"):null},set:function(a){this.a.zoomSubset=a}}});var hg=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.Qh?null:a.Qh;this.a.subdatasetSuffix=null==a.Rh?null:a.Rh};q(hg,B);
hg.prototype.f=function(){return{P:{sources:jg},K:{dataType:Ue},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
l.Object.defineProperties(hg.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}},Qh:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetPrefix")?D(this,"subdatasetPrefix"):null},set:function(a){this.a.subdatasetPrefix=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetSuffix")?D(this,"subdatasetSuffix"):null},set:function(a){this.a.subdatasetSuffix=a}}});
var fg=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.tilesetId=null==a.rc?null:a.rc;this.a.tilesetBandIndex=null==a.Vh?null:a.Vh;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(fg,B);fg.prototype.f=function(){return{K:{pyramidingPolicy:Te},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],u:{missingData:cg}}};
l.Object.defineProperties(fg.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}},Vh:{configurable:!0,
enumerable:!0,get:function(){return F(this,"tilesetBandIndex")?D(this,"tilesetBandIndex"):null},set:function(a){this.a.tilesetBandIndex=a}},rc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?D(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var gg=function(a){a=void 0===a?{}:a;this.a={};this.a.tilesetId=null==a.rc?null:a.rc;this.a.bandIds=null==a.aa?null:a.aa};q(gg,B);gg.prototype.f=function(){return{keys:["bandIds","tilesetId"]}};
l.Object.defineProperties(gg.prototype,{aa:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},rc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?D(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var zf=function(a){a=void 0===a?{}:a;this.a={};this.a.sources=null==a.sources?null:a.sources;this.a.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(zf,B);
zf.prototype.f=function(){return{P:{sources:Eg},keys:["pathPrefix","sources"]}};l.Object.defineProperties(zf.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 Eg=function(a){a=void 0===a?{}:a;this.a={};this.a.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.a.headerSizeBytes=null==a.Yg?null:a.Yg};q(Eg,B);Eg.prototype.f=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
l.Object.defineProperties(Eg.prototype,{Yg:{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 ag=function(a){a=void 0===a?{}:a;this.a={};this.a.fileIndexes=null==a.Lg?null:a.Lg;this.a.firstTileIndex=null==a.Ng?null:a.Ng;this.a.tilesPerFile=null==a.Uh?null:a.Uh};q(ag,B);ag.prototype.f=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
l.Object.defineProperties(ag.prototype,{Lg:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileIndexes")?D(this,"fileIndexes"):null},set:function(a){this.a.fileIndexes=a}},Ng:{configurable:!0,enumerable:!0,get:function(){return F(this,"firstTileIndex")?D(this,"firstTileIndex"):null},set:function(a){this.a.firstTileIndex=a}},Uh:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesPerFile")?D(this,"tilesPerFile"):null},set:function(a){this.a.tilesPerFile=a}}});
var Fg=function(a){a=void 0===a?{}:a;this.a={};this.a.asset=null==a.we?null:a.we;this.a.updateMask=null==a.tc?null:a.tc};q(Fg,B);Fg.prototype.f=function(){return{keys:["asset","updateMask"],u:{asset:vf}}};
l.Object.defineProperties(Fg.prototype,{we:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?D(this,"asset"):null},set:function(a){this.a.asset=a}},tc:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?D(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
var af=function(a){a=void 0===a?{}:a;this.a={};this.a.constantValue=null==a.Fb?null:a.Fb;this.a.integerValue=null==a.hf?null:a.hf;this.a.bytesValue=null==a.Ce?null:a.Ce;this.a.arrayValue=null==a.Db?null:a.Db;this.a.dictionaryValue=null==a.Hb?null:a.Hb;this.a.functionDefinitionValue=null==a.Kb?null:a.Kb;this.a.functionInvocationValue=null==a.jb?null:a.jb;this.a.argumentReference=null==a.yc?null:a.yc;this.a.valueReference=null==a.fb?null:a.fb};q(af,B);
af.prototype.f=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),u:{arrayValue:$e,dictionaryValue:sf,functionDefinitionValue:Sf,functionInvocationValue:Tf}}};
l.Object.defineProperties(af.prototype,{yc:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentReference")?D(this,"argumentReference"):null},set:function(a){this.a.argumentReference=a}},Db:{configurable:!0,enumerable:!0,get:function(){return F(this,"arrayValue")?D(this,"arrayValue"):null},set:function(a){this.a.arrayValue=a}},Ce:{configurable:!0,enumerable:!0,get:function(){return F(this,"bytesValue")?D(this,"bytesValue"):null},set:function(a){this.a.bytesValue=a}},Fb:{configurable:!0,
enumerable:!0,get:function(){return F(this,"constantValue")?D(this,"constantValue"):null},set:function(a){this.a.constantValue=a}},Hb:{configurable:!0,enumerable:!0,get:function(){return F(this,"dictionaryValue")?D(this,"dictionaryValue"):null},set:function(a){this.a.dictionaryValue=a}},Kb:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionDefinitionValue")?D(this,"functionDefinitionValue"):null},set:function(a){this.a.functionDefinitionValue=a}},jb:{configurable:!0,enumerable:!0,
get:function(){return F(this,"functionInvocationValue")?D(this,"functionInvocationValue"):null},set:function(a){this.a.functionInvocationValue=a}},hf:{configurable:!0,enumerable:!0,get:function(){return F(this,"integerValue")?D(this,"integerValue"):null},set:function(a){this.a.integerValue=a}},fb:{configurable:!0,enumerable:!0,get:function(){return F(this,"valueReference")?D(this,"valueReference"):null},set:function(a){this.a.valueReference=a}}});
var Of=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.A?null:a.A;this.a.driveDestination=null==a.fa?null:a.fa;this.a.gcsDestination=null==a.ha?null:a.ha};q(Of,B);Of.prototype.f=function(){return{K:{fileFormat:Ve},keys:["driveDestination","fileFormat","gcsDestination"],u:{driveDestination:uf,gcsDestination:Uf}}};
l.Object.defineProperties(Of.prototype,{fa:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},A:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
var Pf=function(a){a=void 0===a?{}:a;this.a={};this.a.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.a.maxFrames=null==a.maxFrames?null:a.maxFrames;this.a.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};q(Pf,B);Pf.prototype.f=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
l.Object.defineProperties(Pf.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 Gg=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.A?null:a.A;this.a.grid=null==a.J?null:a.J};q(Gg,B);Gg.prototype.f=function(){return{K:{fileFormat:We},keys:["expression","fileFormat","grid","name","videoOptions"],u:{expression:lf,grid:Hf,videoOptions:Pf}}};
l.Object.defineProperties(Gg.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},A:{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 Cf=function(a){a=void 0===a?{}:a;this.a={};this.a.ranges=null==a.Df?null:a.Df;this.a.paletteColors=null==a.Xc?null:a.Xc;this.a.gamma=null==a.gamma?null:a.gamma;this.a.opacity=null==a.opacity?null:a.opacity};q(Cf,B);
Cf.prototype.f=function(){return{P:{ranges:tf},keys:["gamma","opacity","paletteColors","ranges"]}};
l.Object.defineProperties(Cf.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}},Xc:{configurable:!0,enumerable:!0,get:function(){return F(this,"paletteColors")?D(this,"paletteColors"):null},set:function(a){this.a.paletteColors=a}},Df:{configurable:!0,enumerable:!0,get:function(){return F(this,
"ranges")?D(this,"ranges"):null},set:function(a){this.a.ranges=a}}});var Dg=function(a){a=void 0===a?{}:a;this.a={};this.a.min=null==a.min?null:a.min;this.a.max=null==a.max?null:a.max};q(Dg,B);Dg.prototype.f=function(){return{keys:["max","min"]}};
l.Object.defineProperties(Dg.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 oe={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",callback:"callback",endTime:"endTime",fields:"fields",filter:"filter",key:"key",nextPageToken:"nextPageToken",oauth_token:"oauth_token",overwrite:"overwrite",pageSize:"pageSize",pageToken:"pageToken",prettyPrint:"prettyPrint",query:"query",quotaUser:"quotaUser",region:"region",startTime:"startTime",uploadType:"uploadType",upload_protocol:"upload_protocol",view:"view"},Hg=function(a){this.j="v1alpha";this.h=new se(a,null)};
Hg.prototype.list=function(a,b){b=void 0===b?{}:b;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:null,s:"GET",B:"earthengine.projects.algorithms.list",path:"/"+this.j+"/"+a+"/algorithms",o:G(b),C:ng})};var Ig=function(a){this.j="v1alpha";this.h=new se(a,null)};Ig.prototype.getCapabilities=function(a,b){b=void 0===b?{}:b;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:null,s:"GET",B:"earthengine.projects.getCapabilities",path:"/"+this.j+"/"+a+"/capabilities",o:G(b),C:hf})};
Ig.prototype.Sc=function(a,b){b=void 0===b?{}:b;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:null,s:"GET",B:"earthengine.projects.listAssets",path:"/"+this.j+"/"+a+":listAssets",o:G(b),C:og})};var Jg=function(a){this.j="v1alpha";this.h=new se(a,null)};k=Jg.prototype;k.create=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.assets.create",path:"/"+this.j+"/"+a+"/assets",o:G(c),C:vf})};
k.delete=function(a,b){b=void 0===b?{}:b;this.h.w(a,/^projects\/[^/]+\/assets\/.*$/);return H(this.h,{body:null,s:"DELETE",B:"earthengine.projects.assets.delete",path:"/"+this.j+"/"+a,o:G(b),C:Df})};k.get=function(a,b){b=void 0===b?{}:b;this.h.w(a,/^projects\/[^/]+\/assets\/.*$/);return H(this.h,{body:null,s:"GET",B:"earthengine.projects.assets.get",path:"/"+this.j+"/"+a,o:G(b),C:vf})};
k.link=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+\/assets\/.*$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.assets.link",path:"/"+this.j+"/"+a+":link",o:G(c),C:vf})};k.Sc=function(a,b){b=void 0===b?{}:b;this.h.w(a,/^projects\/[^/]+\/assets\/.*$/);return H(this.h,{body:null,s:"GET",B:"earthengine.projects.assets.listAssets",path:"/"+this.j+"/"+a+":listAssets",o:G(b),C:og})};
var Kg=function(a,b,c){c=void 0===c?{}:c;a.h.w(b,/^projects\/[^/]+\/assets\/.*$/);return H(a.h,{body:null,s:"GET",B:"earthengine.projects.assets.listImages",path:"/"+a.j+"/"+b+":listImages",o:G(c),C:pg})};Jg.prototype.move=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+\/assets\/.*$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.assets.move",path:"/"+this.j+"/"+a+":move",o:G(c),C:vf})};
Jg.prototype.search=function(a,b){b=void 0===b?{}:b;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:null,s:"GET",B:"earthengine.projects.assets.search",path:"/"+this.j+"/"+a+"/assets:search",o:G(b),C:yg})};var Lg=function(a){this.j="v1alpha";this.h=new se(a,null)};Lg.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.j+"/"+a+"/filmstripThumbnails",o:G(c),C:Rf})};
var Mg=function(a){this.j="v1alpha";this.h=new se(a,null)};Mg.prototype.$a=function(a,b){var c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.image.export",path:"/"+this.j+"/"+a+"/image:export",o:G(c),C:rg})};Mg.prototype.import=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.image.import",path:"/"+this.j+"/"+a+"/image:import",o:G(c),C:rg})};
var Ng=function(a){this.j="v1alpha";this.h=new se(a,null)};Ng.prototype.$a=function(a,b){var c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.map.export",path:"/"+this.j+"/"+a+"/map:export",o:G(c),C:rg})};var Og=function(a){this.j="v1alpha";this.h=new se(a,null)};
Og.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.maps.create",path:"/"+this.j+"/"+a+"/maps",o:G(c),C:Bf})};var Pg=function(a){this.j="v1alpha";this.h=new se(a,null)};k=Pg.prototype;k.cancel=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+\/operations\/.*$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.operations.cancel",path:"/"+this.j+"/"+a+":cancel",o:G(c),C:Df})};
k.delete=function(a,b){b=void 0===b?{}:b;this.h.w(a,/^projects\/[^/]+\/operations\/.*$/);return H(this.h,{body:null,s:"DELETE",B:"earthengine.projects.operations.delete",path:"/"+this.j+"/"+a,o:G(b),C:Df})};k.get=function(a,b){b=void 0===b?{}:b;this.h.w(a,/^projects\/[^/]+\/operations\/.*$/);return H(this.h,{body:null,s:"GET",B:"earthengine.projects.operations.get",path:"/"+this.j+"/"+a,o:G(b),C:rg})};
k.list=function(a,b){b=void 0===b?{}:b;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:null,s:"GET",B:"earthengine.projects.operations.list",path:"/"+this.j+"/"+a+"/operations",o:G(b),C:qg})};k.wait=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+\/operations\/.*$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.operations.wait",path:"/"+this.j+"/"+a+":wait",o:G(c),C:rg})};var Qg=function(a){this.j="v1alpha";this.h=new se(a,null)};
Qg.prototype.$a=function(a,b){var c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.table.export",path:"/"+this.j+"/"+a+"/table:export",o:G(c),C:rg})};Qg.prototype.import=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.table.import",path:"/"+this.j+"/"+a+"/table:import",o:G(c),C:rg})};var Rg=function(a){this.j="v1alpha";this.h=new se(a,null)};
Rg.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.tables.create",path:"/"+this.j+"/"+a+"/tables",o:G(c),C:Ag})};var Sg=function(a){this.j="v1alpha";this.h=new se(a,null)};Sg.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.thumbnails.create",path:"/"+this.j+"/"+a+"/thumbnails",o:G(c),C:Cg})};
var Tg=function(a){this.j="v1alpha";this.h=new se(a,null)},Ug=function(a,b,c){var d=void 0===d?{}:d;a.h.w(b,/^projects\/[^/]+$/);return H(a.h,{body:c,s:"POST",B:"earthengine.projects.value.compute",path:"/"+a.j+"/"+b+"/value:compute",o:G(d),C:mf})},Vg=function(a){this.j="v1alpha";this.h=new se(a,null)};
Vg.prototype.$a=function(a,b){var c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.video.export",path:"/"+this.j+"/"+a+"/video:export",o:G(c),C:rg})};var Wg=function(a){this.j="v1alpha";this.h=new se(a,null)};Wg.prototype.$a=function(a,b){var c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.videoMap.export",path:"/"+this.j+"/"+a+"/videoMap:export",o:G(c),C:rg})};
var Xg=function(a){this.j="v1alpha";this.h=new se(a,null)};Xg.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.w(a,/^projects\/[^/]+$/);return H(this.h,{body:b,s:"POST",B:"earthengine.projects.videoThumbnails.create",path:"/"+this.j+"/"+a+"/videoThumbnails",o:G(c),C:Gg})};var Yg=function(){};Yg.prototype.send=function(a,b){ne(a);return(void 0).then(function(c){return b?Md(b,c):c})};var Zg=function(a,b){this.Mj=100;this.Bj=a;this.Yj=b;this.Fd=0;this.ia=null};Zg.prototype.get=function(){if(0<this.Fd){this.Fd--;var a=this.ia;this.ia=a.next;a.next=null}else a=this.Bj();return a};Zg.prototype.put=function(a){this.Yj(a);this.Fd<this.Mj&&(this.Fd++,a.next=this.ia,this.ia=a)};var $g=!tc||9<=Number(Gc),ah=!vc&&!tc||tc&&9<=Number(Gc)||vc&&Dc("1.9.1");var bh=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};k=bh.prototype;k.clone=function(){return new bh(this.x,this.y)};k.toString=function(){return"("+this.x+", "+this.y+")"};k.equals=function(a){return a instanceof bh&&(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 bh?(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 ch=function(a,b){this.width=a;this.height=b};k=ch.prototype;k.clone=function(){return new ch(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 eh=function(a,b){Bb(b,function(c,d){c&&"object"==typeof c&&c.Pc&&(c=c.Lc());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:dh.hasOwnProperty(d)?a.setAttribute(dh[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},dh={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"},gh=function(a,b,c){return fh(document,arguments)},fh=function(a,b){var c=String(b[0]),d=b[1];if(!$g&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',nc(d.name),'"');if(d.type){c.push(' type="',nc(d.type),'"');var e={};Qb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=hh(a,c);d&&("string"===typeof d?c.className=d:Array.isArray(d)?c.className=d.join(" "):eh(c,d));2<b.length&&ih(a,c,b,2);return c},ih=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];!ya(f)||u(f)&&0<f.nodeType?e(f):Va(jh(f)?ib(f):f,e)}},hh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},kh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},lh=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a},mh=function(a){A(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},jh=function(a){if(a&&"number"==typeof a.length){if(u(a))return"function"==
typeof a.item||"string"==typeof a.item;if(v(a))return"function"==typeof a.item}return!1},nh=function(a){this.qd=a||r.document||document};k=nh.prototype;k.getElementsByTagName=function(a,b){return(b||this.qd).getElementsByTagName(String(a))};k.Aj=function(a,b,c){return fh(this.qd,arguments)};k.createElement=function(a){return hh(this.qd,a)};k.createTextNode=function(a){return this.qd.createTextNode(String(a))};
k.appendChild=function(a,b){A(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};k.append=function(a,b){ih(mh(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=kh;k.Ug=function(){return ah&&void 0!=(void 0).children?(void 0).children:Wa((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 oh=function(a){r.setTimeout(function(){throw a;},0)},ph,qh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Ab("Presto")&&(a=function(){var e=hh(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=w(function(n){if(("*"==
h||n.origin==h)&&n.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&&!Ab("Trident")&&!Ab("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.rg;c.rg=null;e()}};return function(e){d.next={rg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};var rh=function(){this.Zd=this.Zb=null},th=new Zg(function(){return new sh},function(a){a.reset()});rh.prototype.add=function(a,b){var c=th.get();c.set(a,b);this.Zd?this.Zd.next=c:(A(!this.Zb),this.Zb=c);this.Zd=c};rh.prototype.remove=function(){var a=null;this.Zb&&(a=this.Zb,this.Zb=this.Zb.next,this.Zb||(this.Zd=null),a.next=null);return a};var sh=function(){this.next=this.scope=this.We=null};sh.prototype.set=function(a,b){this.We=a;this.scope=b;this.next=null};
sh.prototype.reset=function(){this.next=this.scope=this.We=null};var yh=function(a,b){uh||vh();wh||(uh(),wh=!0);xh.add(a,b)},uh,vh=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);uh=function(){a.then(zh)}}else uh=function(){var b=zh;!v(r.setImmediate)||r.Window&&r.Window.prototype&&!Ab("Edge")&&r.Window.prototype.setImmediate==r.setImmediate?(ph||(ph=qh()),ph(b)):r.setImmediate(b)}},wh=!1,xh=new rh,zh=function(){for(var a;a=xh.remove();){try{a.We.call(a.scope)}catch(b){oh(b)}th.put(a)}wh=!1};var Ah=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Dh=function(a){this.U=0;this.ra=void 0;this.bc=this.Ya=this.N=null;this.wd=this.Se=!1;if(a!=wa)try{var b=this;a.call(void 0,function(c){Bh(b,2,c)},function(c){if(!(c instanceof Ch))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Bh(b,3,c)})}catch(c){Bh(this,3,c)}},Eh=function(){this.next=this.context=this.jc=this.Qb=this.Eb=null;this.kd=!1};Eh.prototype.reset=function(){this.context=this.jc=this.Qb=this.Eb=null;this.kd=!1};
var Fh=new Zg(function(){return new Eh},function(a){a.reset()}),Gh=function(a,b,c){var d=Fh.get();d.Qb=a;d.jc=b;d.context=c;return d};Dh.prototype.then=function(a,b,c){null!=a&&Ra(a,"opt_onFulfilled should be a function.");null!=b&&Ra(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Hh(this,v(a)?a:null,v(b)?b:null,c)};Dh.prototype.$goog_Thenable=!0;
Dh.prototype.cancel=function(a){if(0==this.U){var b=new Ch(a);yh(function(){Ih(this,b)},this)}};
var Ih=function(a,b){if(0==a.U)if(a.N){var c=a.N;if(c.Ya){for(var d=0,e=null,f=null,g=c.Ya;g&&(g.kd||(d++,g.Eb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.U&&1==d?Ih(c,b):(f?(d=f,A(c.Ya),A(null!=d),d.next==c.bc&&(c.bc=d),d.next=d.next.next):Jh(c),Kh(c,e,3,b)))}a.N=null}else Bh(a,3,b)},Mh=function(a,b){a.Ya||2!=a.U&&3!=a.U||Lh(a);A(null!=b.Qb);a.bc?a.bc.next=b:a.Ya=b;a.bc=b},Hh=function(a,b,c,d){var e=Gh(null,null,null);e.Eb=new Dh(function(f,g){e.Qb=b?function(h){try{var n=b.call(d,h);f(n)}catch(p){g(p)}}:
f;e.jc=c?function(h){try{var n=c.call(d,h);void 0===n&&h instanceof Ch?g(h):f(n)}catch(p){g(p)}}:g});e.Eb.N=a;Mh(a,e);return e.Eb};Dh.prototype.fk=function(a){A(1==this.U);this.U=0;Bh(this,2,a)};Dh.prototype.gk=function(a){A(1==this.U);this.U=0;Bh(this,3,a)};
var Bh=function(a,b,c){if(0==a.U){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.U=1;a:{var d=c,e=a.fk,f=a.gk;if(d instanceof Dh){null!=e&&Ra(e,"opt_onFulfilled should be a function.");null!=f&&Ra(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Mh(d,Gh(e||wa,f||null,a));var g=!0}else if(Ah(d))d.then(e,f,a),g=!0;else{if(u(d))try{var h=d.then;if(v(h)){Nh(d,h,e,f,a);g=!0;break a}}catch(n){f.call(a,n);g=!0;break a}g=!1}}g||
(a.ra=c,a.U=b,a.N=null,Lh(a),3!=b||c instanceof Ch||Oh(a,c))}},Nh=function(a,b,c,d,e){var f=!1,g=function(n){f||(f=!0,c.call(e,n))},h=function(n){f||(f=!0,d.call(e,n))};try{b.call(a,g,h)}catch(n){h(n)}},Lh=function(a){a.Se||(a.Se=!0,yh(a.Ej,a))},Jh=function(a){var b=null;a.Ya&&(b=a.Ya,a.Ya=b.next,b.next=null);a.Ya||(a.bc=null);null!=b&&A(null!=b.Qb);return b};Dh.prototype.Ej=function(){for(var a;a=Jh(this);)Kh(this,a,this.U,this.ra);this.Se=!1};
var Kh=function(a,b,c,d){if(3==c&&b.jc&&!b.kd)for(;a&&a.wd;a=a.N)a.wd=!1;if(b.Eb)b.Eb.N=null,Ph(b,c,d);else try{b.kd?b.Qb.call(b.context):Ph(b,c,d)}catch(e){Qh.call(null,e)}Fh.put(b)},Ph=function(a,b,c){2==b?a.Qb.call(a.context,c):a.jc&&a.jc.call(a.context,c)},Oh=function(a,b){a.wd=!0;yh(function(){a.wd&&Qh.call(null,b)})},Qh=oh,Ch=function(a){Ka.call(this,a)};y(Ch,Ka);Ch.prototype.name="cancel";var Rh=function(a,b,c){if(v(a))c&&(a=w(a,c));else if(a&&"function"==typeof a.handleEvent)a=w(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:r.setTimeout(a,b||0)};var Sh=function(a,b,c){Ia.call(this);this.Nj=null!=c?w(a,c):a;this.Kj=b;this.xj=w(this.Vj,this);this.ve=[]};y(Sh,Ia);k=Sh.prototype;k.qc=!1;k.Yc=0;k.Wb=null;k.Ve=function(a){this.ve=arguments;this.Wb||this.Yc?this.qc=!0:Th(this)};k.stop=function(){this.Wb&&(r.clearTimeout(this.Wb),this.Wb=null,this.qc=!1,this.ve=[])};k.pause=function(){this.Yc++};k.resume=function(){this.Yc--;this.Yc||!this.qc||this.Wb||(this.qc=!1,Th(this))};k.F=function(){Sh.G.F.call(this);this.stop()};
k.Vj=function(){this.Wb=null;this.qc&&!this.Yc&&(this.qc=!1,Th(this))};var Th=function(a){a.Wb=Rh(a.xj,a.Kj);a.Nj.apply(null,a.ve)};/*
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 Vh=function(a){var b=Uh;this.Ld=[];this.th=b;this.Fg=a||null;this.Mc=this.fc=!1;this.ra=void 0;this.Pf=this.lg=this.ye=!1;this.Ud=0;this.N=null;this.ze=0};Vh.prototype.cancel=function(a){if(this.fc)this.ra instanceof Vh&&this.ra.cancel();else{if(this.N){var b=this.N;delete this.N;a?b.cancel(a):(b.ze--,0>=b.ze&&b.cancel())}this.th?this.th.call(this.Fg,this):this.Pf=!0;this.fc||Wh(this,new Xh(this))}};Vh.prototype.ug=function(a,b){this.ye=!1;Yh(this,a,b)};
var Yh=function(a,b,c){a.fc=!0;a.ra=c;a.Mc=!b;Zh(a)},ai=function(a){if(a.fc){if(!a.Pf)throw new $h(a);a.Pf=!1}};Vh.prototype.callback=function(a){ai(this);bi(a);Yh(this,!0,a)};var Wh=function(a,b){ai(a);bi(b);Yh(a,!1,b)},bi=function(a){A(!(a instanceof Vh),"An execution sequence may not be initiated with a blocking Deferred.")},ci=function(a,b,c){A(!a.lg,"Blocking Deferreds can not be re-used");a.Ld.push([b,c,void 0]);a.fc&&Zh(a)};
Vh.prototype.then=function(a,b,c){var d,e,f=new Dh(function(g,h){d=g;e=h});ci(this,d,function(g){g instanceof Xh?f.cancel():e(g)});return f.then(a,b,c)};Vh.prototype.$goog_Thenable=!0;
var di=function(a){return Ya(a.Ld,function(b){return v(b[1])})},Zh=function(a){if(a.Ud&&a.fc&&di(a)){var b=a.Ud,c=ei[b];c&&(r.clearTimeout(c.ca),delete ei[b]);a.Ud=0}a.N&&(a.N.ze--,delete a.N);b=a.ra;for(var d=c=!1;a.Ld.length&&!a.ye;){var e=a.Ld.shift(),f=e[0],g=e[1];e=e[2];if(f=a.Mc?g:f)try{var h=f.call(e||a.Fg,b);void 0!==h&&(a.Mc=a.Mc&&(h==b||h instanceof Error),a.ra=b=h);if(Ah(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.ye=!0}catch(n){b=n,a.Mc=!0,di(a)||(c=!0)}}a.ra=b;d&&
(h=w(a.ug,a,!0),d=w(a.ug,a,!1),b instanceof Vh?(ci(b,h,d),b.lg=!0):b.then(h,d));c&&(b=new fi(b),ei[b.ca]=b,a.Ud=b.ca)},$h=function(){Ka.call(this)};y($h,Ka);$h.prototype.message="Deferred has already fired";$h.prototype.name="AlreadyCalledError";var Xh=function(){Ka.call(this)};y(Xh,Ka);Xh.prototype.message="Deferred was canceled";Xh.prototype.name="CanceledError";var fi=function(a){this.ca=r.setTimeout(w(this.ek,this),0);this.sd=a};
fi.prototype.ek=function(){A(ei[this.ca],"Cannot throw an error that is not scheduled.");delete ei[this.ca];throw this.sd;};var ei={};var ji=function(a){var b={},c=b.document||document,d=Zb(a).toString(),e=hh(document,"SCRIPT"),f={Kh:e,cd:void 0},g=new Vh(f),h=null,n=null!=b.timeout?b.timeout:5E3;0<n&&(h=window.setTimeout(function(){gi(e,!0);Wh(g,new hi(1,"Timeout reached for loading script "+d))},n),f.cd=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(gi(e,b.mk||!1,h),g.callback(null))};e.onerror=function(){gi(e,!0,h);Wh(g,new hi(0,"Error while loading script "+d))};
f=b.attributes||{};Qb(f,{type:"text/javascript",charset:"UTF-8"});eh(e,f);lc(e,a);ii(c).appendChild(e)},ii=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},Uh=function(){if(this&&this.Kh){var a=this.Kh;a&&"SCRIPT"==a.tagName&&gi(a,!0,this.cd)}},gi=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=wa;a.onerror=wa;a.onreadystatechange=wa;b&&window.setTimeout(function(){kh(a)},0)},hi=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=
": "+b);Ka.call(this,c);this.code=a};y(hi,Ka);var li=function(a){return(new ki(void 0)).W(a)},ki=function(a){this.Jd=a};ki.prototype.W=function(a){var b=[];mi(this,a,b);return b.join("")};
var mi=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],mi(a,a.Jd?a.Jd.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),ni(d,c),c.push(":"),mi(a,a.Jd?a.Jd.call(b,d,e):e,c),f=","));c.push("}");
return}}switch(typeof b){case "string":ni(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);}}},oi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},pi=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,ni=function(a,b){b.push('"',a.replace(pi,function(c){var d=oi[c];
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),oi[c]=d);return d}),'"')};var qi=function(a,b,c){this.reset(a,b,c,void 0,void 0)};qi.prototype.Jg=null;var ri=0;qi.prototype.reset=function(a,b,c,d,e){"number"==typeof e||ri++;d||Ha();this.Rc=a;delete this.Jg};qi.prototype.Mh=function(a){this.Rc=a};var si=function(a){this.Sj=a;this.Xg=this.De=this.Rc=this.N=null},ti=function(a,b){this.name=a;this.value=b};ti.prototype.toString=function(){return this.name};var ui=new ti("SEVERE",1E3),vi=new ti("INFO",800),wi=new ti("CONFIG",700),xi=new ti("FINE",500);si.prototype.getParent=function(){return this.N};si.prototype.Ug=function(){this.De||(this.De={});return this.De};si.prototype.Mh=function(a){this.Rc=a};
var yi=function(a){if(a.Rc)return a.Rc;if(a.N)return yi(a.N);Oa("Root logger has no level set.");return null};si.prototype.log=function(a,b,c){if(a.value>=yi(this).value)for(v(b)&&(b=b()),a=new qi(a,String(b),this.Sj),c&&(a.Jg=c),c=this;c;){var d=c,e=a;if(d.Xg)for(var f=0;b=d.Xg[f];f++)b(e);c=c.getParent()}};si.prototype.info=function(a,b){this.log(vi,a,b)};
var zi={},Ai=null,Bi=function(a){Ai||(Ai=new si(""),zi[""]=Ai,Ai.Mh(wi));var b;if(!(b=zi[a])){b=new si(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=Bi(a.substr(0,c));c.Ug()[d]=b;b.N=c;zi[a]=b}return b};var Ci=function(a,b){a&&a.log(xi,b,void 0)};var Di=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Ei=function(){};Ei.prototype.pg=null;var Gi=function(a){var b;(b=a.pg)||(b={},Fi(a)&&(b[0]=!0,b[1]=!0),b=a.pg=b);return b};var Hi,Ii=function(){};y(Ii,Ei);var Ji=function(a){return(a=Fi(a))?new ActiveXObject(a):new XMLHttpRequest},Fi=function(a){if(!a.bh&&"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.bh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.bh};Hi=new Ii;var Ki=function(a){kd.call(this);this.headers=new rd;this.ae=a||null;this.za=!1;this.$d=this.m=null;this.Qc=this.kh=this.Cd="";this.Mb=this.df=this.Ad=this.Qe=!1;this.sc=0;this.Rd=null;this.oc="";this.Wd=this.Wj=this.Yh=!1};y(Ki,kd);var Li=Ki.prototype,Mi=Bi("goog.net.XhrIo");Li.ma=Mi;var Ni=/^https?$/i,Pi=["POST","PUT"],Qi=[];Ki.prototype.zj=function(){this.Ka();gb(Qi,this)};
Ki.prototype.send=function(a,b,c,d){if(this.m)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Cd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Cd=a;this.Qc="";this.kh=b;this.Qe=!1;this.za=!0;this.m=this.ae?Ji(this.ae):Ji(Hi);this.$d=this.ae?Gi(this.ae):Gi(Hi);this.m.onreadystatechange=w(this.wh,this);this.Wj&&"onprogress"in this.m&&(this.m.onprogress=w(function(f){this.vh(f,!0)},this),this.m.upload&&(this.m.upload.onprogress=w(this.vh,this)));try{Ci(this.ma,Ri(this,"Opening Xhr")),
this.df=!0,this.m.open(b,String(a),!0),this.df=!1}catch(f){Ci(this.ma,Ri(this,"Error opening Xhr: "+f.message));this.sd(5,f);return}a=c||"";var e=this.headers.clone();d&&yd(d,function(f,g){e.set(g,f)});d=bb(e.Da());c=r.FormData&&a instanceof r.FormData;!cb(Pi,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.m.setRequestHeader(g,f)},this);this.oc&&(this.m.responseType=this.oc);"withCredentials"in this.m&&this.m.withCredentials!==this.Yh&&
(this.m.withCredentials=this.Yh);try{Si(this),0<this.sc&&(this.Wd=Ti(this.m),Ci(this.ma,Ri(this,"Will abort after "+this.sc+"ms if incomplete, xhr2 "+this.Wd)),this.Wd?(this.m.timeout=this.sc,this.m.ontimeout=w(this.cd,this)):this.Rd=Rh(this.cd,this.sc,this)),Ci(this.ma,Ri(this,"Sending request")),this.Ad=!0,this.m.send(a),this.Ad=!1}catch(f){Ci(this.ma,Ri(this,"Send error: "+f.message)),this.sd(5,f)}};
var Ti=function(a){return tc&&Dc(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},ab=function(a){return"content-type"==a.toLowerCase()};Ki.prototype.cd=function(){"undefined"!=typeof sa&&this.m&&(this.Qc="Timed out after "+this.sc+"ms, aborting",Ci(this.ma,Ri(this,this.Qc)),this.dispatchEvent("timeout"),this.abort(8))};Ki.prototype.sd=function(a,b){this.za=!1;this.m&&(this.Mb=!0,this.m.abort(),this.Mb=!1);this.Qc=b;Ui(this);Vi(this)};
var Ui=function(a){a.Qe||(a.Qe=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Ki.prototype.abort=function(){this.m&&this.za&&(Ci(this.ma,Ri(this,"Aborting")),this.za=!1,this.Mb=!0,this.m.abort(),this.Mb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Vi(this))};Ki.prototype.F=function(){this.m&&(this.za&&(this.za=!1,this.Mb=!0,this.m.abort(),this.Mb=!1),Vi(this,!0));Ki.G.F.call(this)};Ki.prototype.wh=function(){this.La||(this.df||this.Ad||this.Mb?Wi(this):this.Uj())};
Ki.prototype.Uj=function(){Wi(this)};
var Wi=function(a){if(a.za&&"undefined"!=typeof sa)if(a.$d[1]&&4==a.mb()&&2==a.getStatus())Ci(a.ma,Ri(a,"Local request error detected and ignored"));else if(a.Ad&&4==a.mb())Rh(a.wh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.mb()){Ci(a.ma,Ri(a,"Request complete"));a.za=!1;try{var b=a.getStatus(),c;if(!(c=Di(b))){var d;if(d=0===b){var e=String(a.Cd).match(Ud)[1]||null;if(!e&&r.self&&r.self.location){var f=r.self.location.protocol;e=f.substr(0,f.length-1)}d=!Ni.test(e?e.toLowerCase():"")}c=
d}if(c)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var g=2<a.mb()?a.m.statusText:""}catch(h){Ci(a.ma,"Can not get status: "+h.message),g=""}a.Qc=g+" ["+a.getStatus()+"]";Ui(a)}}finally{Vi(a)}}};Ki.prototype.vh=function(a,b){A("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Xi(a,"progress"));this.dispatchEvent(Xi(a,b?"downloadprogress":"uploadprogress"))};
var Xi=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Vi=function(a,b){if(a.m){Si(a);var c=a.m,d=a.$d[0]?wa:null;a.m=null;a.$d=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.ma)&&a.log(ui,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}},Si=function(a){a.m&&a.Wd&&(a.m.ontimeout=null);a.Rd&&(r.clearTimeout(a.Rd),a.Rd=null)};Ki.prototype.hh=function(){return!!this.m};
Ki.prototype.mb=function(){return this.m?this.m.readyState:0};Ki.prototype.getStatus=function(){try{return 2<this.mb()?this.m.status:-1}catch(a){return-1}};
var Yi=function(a){try{if(!a.m)return null;if("response"in a.m)return a.m.response;switch(a.oc){case "":case "text":return a.m.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.m)return a.m.mozResponseArrayBuffer}var b=a.ma;b&&b.log(ui,"Response type "+a.oc+" is not supported on this browser",void 0);return null}catch(c){return Ci(a.ma,"Can not get response: "+c.message),null}};
Ki.prototype.getResponseHeader=function(a){if(this.m&&4==this.mb())return a=this.m.getResponseHeader(a),null===a?void 0:a};Ki.prototype.getAllResponseHeaders=function(){return this.m&&4==this.mb()?this.m.getAllResponseHeaders()||"":""};
var Zi=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=oc(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 Db(b,function(g){return g.join(", ")})},Ri=function(a,b){return b+" ["+a.kh+" "+a.Cd+" "+a.getStatus()+"]"};var $i,aj=/^\/(table).*/,I=function(a,b){bj();this.callback=a;this.O=new cj(!a,b)},J=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},dj=function(){return"projects/"+$i};k=I.prototype;k.wc=function(){return new Hg(this.O)};k.assets=function(){return new Jg(this.O)};k.Ea=function(){return new Pg(this.O)};k.value=function(){return new Tg(this.O)};k.maps=function(){return new Og(this.O)};
k.map=function(){return new Ng(this.O)};k.image=function(){return new Mg(this.O)};k.table=function(){return new Qg(this.O)};k.video=function(){return new Vg(this.O)};var cj=function(a,b){this.sync=a=void 0===a?!1:a;this.Hh=null!=b?b:a?5:10};q(cj,Yg);
cj.prototype.send=function(a,b){var c=this;ne(a);var d=a.path||"",e=ej()+d,f=K(a.o||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=L(e,f,void 0,a.s,g,this.Hh);d=b?Md(b,d):d;var h=function(n){return{then:function(p){return h(p(n))}}};return h(d)}return(new Promise(function(n,p){L(e,f,function(t,C){C?p(C):n(t)},a.s,g,c.Hh)})).then(function(n){return b?Md(b,n):n})};var gj=function(a){I.call(this,a);this.O=new fj};q(gj,I);
gj.prototype.send=function(a,b){var c=this,d=ej()+"/batch",e=a.map(function(g){var h=m(g);g=h.next().value;h=m(h.next().value);var n=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"+n+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",f=function(g){var h={};a.forEach(function(n){var p=m(n);n=p.next().value;p=m(p.next().value);p.next();p=p.next().value;null!=g[n]&&(h[n]=
Md(p,g[n]))});return b?b(h):h};return this.callback?(L(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(L(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var fj=function(){};q(fj,Yg);
fj.prototype.send=function(a,b){var c=[a.s+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=hj();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 ij=function(a,b,c){a=m(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},ej=function(){var a=jj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},pj=function(a,b,c){kj&&lj&&kj({client_id:String(lj),
immediate:!0,scope:mj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if(M&&"window"in r)try{nj(function(){try{r.gapi.auth.setToken(d),oj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else oj(a,b,d)})},hj=function(){qj&&0<=Ha()-qj&&rj();return sj},rj=function(){qj=sj=null},tj=function(a,b){lj=a;mj=b},bj=function(a,b,c){null!=a?jj=a:uj||(jj="https://earthengine.googleapis.com/api");null!=b?vj=b:uj||(vj="https://earthengine.googleapis.com");void 0!==c&&(wj=c);M&&($i=
$i||"earthengine-legacy");uj=!0},L=function(a,b,c,d,e,f){bj();var g=xj,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 n=aj.test(a);if(M&&!n){var p="0.1.223";"0.1.223"===p&&(p="latest");h["x-goog-api-client"]="ee-js/"+p}p=hj();if(null!=p)h.Authorization=p;else if(c&&kj&&lj)return pj(function(){yj(g,function(){L(a,b,c,d)})}),null;b=b?b.clone():new be;null!=zj&&b.add("key",zj);M?(g&&(h["X-Earth-Engine-Computation-Profile"]=
"1"),$i&&"earthengine-legacy"!==$i&&!n&&(h["X-Goog-User-Project"]=$i)):g&&b.add("profiling","1");b=Aj(b,a);null!=wj&&(h["X-XSRF-Token"]=wj);null!=Bj&&(h["X-Earth-Engine-App-ID-Token"]=Bj);n=e||null;p=b?b.toString():"";"POST"===d&&void 0===e?n=p:/^[\s\xa0]*$/.test(p)||(a+=-1!=a.indexOf("?")?"&":"?",a+=p);e=a.startsWith("/")?jj+a:a;if(c)return Cj.push(Dj(e,c,d,n,h,f)),Ej.Ve(),null;p=function(E,aa){this.setRequestHeader&&this.setRequestHeader(aa,E)};var t=0;for(f=null!=f?f:5;;){var C=Ji(Hi);C.open(d,
e,!1);Bb(h,p,C);C.send(n);if(429!=C.status||t>f)break;t++}return Fj(C.status,function(E){try{return C.getResponseHeader(E)}catch(aa){return null}},C.responseText,g,void 0,e,d)},Dj=function(a,b,c,d,e,f){var g=0,h={url:a,method:c,content:d,headers:e},n=xj,p=null!=f?f:10;h.callback=function(t){t=t.target;if(429==t.getStatus()&&g<p)return g++,setTimeout(function(){Cj.push(h);Ej.Ve()},Math.min(12E4,1E3*Math.pow(2,g))),null;var C=Fj,E=t.getStatus(),aa=w(t.getResponseHeader,t);try{var Fa=t.m?t.m.responseText:
""}catch(T){Ci(t.ma,"Can not get responseText: "+T.message),Fa=""}return C(E,aa,Fa,n,b,a,c)};return h},yj=function(a,b){var c=xj;try{xj=a,b.call(void 0)}finally{xj=c}},Fj=function(a,b,c,d,e,f,g){var h=d?b("X-Earth-Engine-Computation-Profile"):"";h&&d&&d(h);var n=function(T){return M?T:T.data},p=function(T){try{var db=JSON.parse(T);return u(db)&&"error"in db&&"message"in db.error?db.error.message:{parsed:db}}catch(Hb){return"Invalid JSON: "+T}},t=function(T){if(0===T)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";
if(200>T||300<=T)return"Server returned HTTP code: "+T+" for "+g+" "+f},C;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=p(c),b.parsed){var E=n(b.parsed);void 0===E&&(C="Malformed response: "+c)}else C=b;else if("multipart/mixed"===d){E={};var aa=[];ij(b,c,function(T,db,Hb){Hb=p(Hb);Hb.parsed&&(E[T]=n(Hb.parsed));(db=(Hb.parsed?"":Hb)||t(db))&&aa.push(T+": "+db)});aa.length&&(C=aa.join("\n"))}else var Fa="Response was unexpectedly not JSON, but "+
d;C=C||t(a)||Fa;if(e)return e(E,C),null;if(!C)return E;throw Error(C);},nj=function(a){var b=function(){r.gapi.config.update("client/cors",!0);kj||(kj=r.gapi.auth.authorize);a()};if(u(r.gapi)&&u(r.gapi.auth)&&v(r.gapi.auth.authorize))b();else{for(var c=Ha().toString(36);c in r;)c+="_";r[c]=function(){delete r[c];b()};ji(cc({onload:c}))}},oj=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(pj,.9*c);void 0!==
d.unref&&d.unref();qj=Ha()+c}sj=b;a&&a()}else b&&b(c.error||"Unknown error.")},K=function(a){var b=new be;a=m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},Cj=[],Ej=new Sh(function(){var a=Cj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=Gj,g=new Ki;Qi.push(g);c&&g.Na("complete",c);g.Uc("ready",g.zj);f&&(g.sc=Math.max(0,f));g.send(b,d,e,a)}0==Cj.length||Ej.Ve()},350),jj=null,vj=null,
wj=null,Bj=null,Aj=Rb,sj=null,qj=null,lj=null,mj=[],kj=null,$b=new Ub(Sb,"https://apis.google.com/js/client.js?onload=%{onload}"),zj=null,M=!0,uj=!1,Gj=0,xj=null;x("ee.api.ListAssetsResponse",og);x("ee.api.EarthEngineAsset",vf);x("ee.api.ListImagesResponse",pg);x("ee.api.Image",$f);x("ee.api.Operation",rg);var Hj=function(){},Ij=function(a){if(void 0===a||null===a)a=Hd;return new af({Fb:a})},Jj=function(a){return new af({fb:a})},Kj=function(a){return new af({Db:new $e({values:a})})},Lj=function(a){return new af({Hb:new sf({values:a})})},Mj=function(a,b){return new af({jb:new Tf({functionName:a,arguments:b})})},Nj=function(a,b){return new af({jb:new Tf({kb:a,arguments:b})})},Oj=function(a,b){return new af({Kb:new Sf({xc:a,body:b})})},Pj=function(a){if(!a)return"AUTO_JPEG_PNG";a=a.toUpperCase();switch(a){case "JPG":return"JPEG";
case "AUTO":return"AUTO_JPEG_PNG";case "TIF":case "TIFF":case "GEOTIF":case "GEOTIFF":return"GEO_TIFF";case "TF_RECORD":case "TFRECORD":return"TF_RECORD_IMAGE";case "NUMPY":return"NPY";case "ZIPPED_TIF":case "ZIPPED_TIFF":case "ZIPPED_GEOTIF":case "ZIPPED_GEOTIFF":return"ZIPPED_GEO_TIFF";case "ZIPPED_TIF_PER_BAND":case "ZIPPED_TIFF_PER_BAND":case "ZIPPED_GEOTIF_PER_BAND":case "ZIPPED_GEOTIFF_PER_BAND":return"ZIPPED_GEO_TIFF_PER_BAND";default:return a}},Qj=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}},Rj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},Sj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Vj=function(a){var b=new Cf,c=!1;"palette"in a&&(c=a.palette,b.Xc="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.Xc?b.Xc.length-1:255;d=Tj(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=Tj(a,"min","max");0!==d.length&&(b.Df=d.map(function(f){return new tf(f)}),c=!0);a=Uj(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},Uj=function(a){return a?a.split(",").map(Number):[]},Tj=function(a,b,c){var d=Uj(a[b]),e=Uj(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})},Wj=function(a){var b=function(g){var h={};h.description=g.description||"";h.type=g.type||"";null!=g.ld&&
(h.name=g.ld);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.Hf||"";null!=g.hidden&&(h.hidden=g.hidden);g.preview&&(h.preview=g.preview);g.deprecated&&(h.deprecated=g.Me);g.sourceCodeUri&&(h.sourceCodeUri=g.sourceCodeUri);return h},d={};a=m(a.wc||[]);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},Xj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,Yj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,Zj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,ak=function(a){return(a=Xj.exec(a))?a[1]:"earthengine-legacy"},bk=function(a){return Yj.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
a},dk=function(a){return(a.assets||[]).map(ck)},fk=function(a){return(a.images||[]).map(ek)},gk=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"}},ck=function(a){var b=hk(gk(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.Le,dimensions:void 0,crs_transform:void 0};if(d.J){if(null!=d.J.Cb){var f=d.J.Cb;e.crs_transform=[f.If||0,f.Nf||0,f.$f||0,f.Of||0,f.Jf||0,f.ag||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.Zc&&(f.min=d.dataType.Zc.min||0,f.max=d.dataType.Zc.max),e.data_type=f);return e}));return b},ik=function(a){var b=new vf,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},ek=function(a){return hk("Image",a.name)},hk=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},kk=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=jk(a.bbox));a.region&&(b.region=a.region);a.bbox&&a.region&&console.warn("Multiple request parameters converted to region");var c="id num starttime endtime bbox region".split(" ");a=m(Object.keys(a).filter(function(e){return!c.includes(e)}));for(var d=a.next();!d.done;d=a.next())console.warn("Unrecognized key "+d.value+" ignored");b.fields="assets(type,path)";return b},jk=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("],[")+"]]]}"},lk=function(a){var b={};(a.md||[]).forEach(function(f){b[f.pc]=f.Pb});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},mk=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=[{pc:"roles/owner",Pb:b("owners")},{pc:"roles/viewer",Pb:b("readers").concat(c)},{pc:"roles/editor",Pb:b("writers")}].map(function(d){return new ef(d)});return new wg({md:b.filter(function(d){return d.Pb.length}),Re:null})},nk=function(a){return"projects/earthengine-legacy/operations/"+
a},ok=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},pk=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=Md(vg,a.tf||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",
e.Ke);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=ok(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.Ne;b.source_url=e.Kf;return b},qk=function(a){var b={started:"OK"};a.name&&(b.taskId=ok(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},rk=function(a){return a.primaryPath?[a.primaryPath].concat(ha(a.additionalPaths||[])):null},uk=function(a){var b=function(f){var g=
Md(jg,f);g.Qa=rk(f);return g},c=Md(eg,a);c.name=bk(a.id);c.tilesets=(a.tilesets||[]).map(function(f){var g=Md(hg,f);g.sources=(f.sources||[]).map(b);return g});c.bands=(a.bands||[]).map(function(f){var g=Md(fg,f);g.missingData=sk(f.missingData);return g});c.missingData=sk(a.missingData);c.pf=nb((a.tilesets||[]).map(tk));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},tk=function(a){var b=[];if(!Array.isArray(a.fileBands))return b;var c=function(d){var e=[];null!=d&&Array.isArray(d.bandId)&&(e=d.bandId.map(function(f){return f||""}));return new gg({rc:a.id||"",aa:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});return b},vk=function(a){var b=Md(mg,a);b.name=bk(a.id);
b.sources=(a.sources||[]).map(function(e){var f=Md(Bg,e);f.Qa=rk(e);e.maxError&&(f.Nb=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},sk=function(a){if(null==a)return null;var b=new cg({values:[]});null!=a.value&&"number"===typeof a.value&&b.values.push(a.value);
Array.isArray(a.values)&&a.values.map(function(c){"number"===typeof c&&b.values.push(c)});return 0==b.values.length?null:b};var wk=function(){this.hb=-1};var xk=function(){this.hb=64;this.X=Array(4);this.vj=Array(this.hb);this.Td=this.Ac=0;this.reset()};y(xk,wk);xk.prototype.reset=function(){this.X[0]=1732584193;this.X[1]=4023233417;this.X[2]=2562383102;this.X[3]=271733878;this.Td=this.Ac=0};
var yk=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.X[0];c=a.X[1];e=a.X[2];var f=a.X[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.X[0]=a.X[0]+b&4294967295;a.X[1]=a.X[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.X[2]=a.X[2]+e&4294967295;a.X[3]=a.X[3]+f&4294967295};
xk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.hb,d=this.vj,e=this.Ac,f=0;f<b;){if(0==e)for(;f<=c;)yk(this,a,f),f+=this.hb;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.hb){yk(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.hb){yk(this,d);e=0;break}}this.Ac=e;this.Td+=b};
xk.prototype.digest=function(){var a=Array((56>this.Ac?this.hb:2*this.hb)-this.Ac);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.Td;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.X[b]>>>d&255;return a};var zk=function(a){this.hd="__ee_hash__";this.Bd=!1!==a;this.Oa=[];this.sa={};this.bg=[];this.yd=new WeakMap};x("ee.Serializer",zk);var Ak=new ki,Bk=new xk,Dk=function(a,b){return Ck(new zk(void 0!==b?b:!0),a)};x("ee.Serializer.encode",Dk);var Ek=function(a){return Ak.W(Dk(a))};x("ee.Serializer.toJSON",Ek);var Gk=function(a){return Fk(Dk(a,!1))};x("ee.Serializer.toReadableJSON",Gk);
var Fk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):Ak.W(a)},Ck=function(a,b){b=a.rd(b);a.Bd&&(b=u(b)&&"ValueRef"==b.type&&1==a.Oa.length?a.Oa[0][1]:{type:"CompoundValue",scope:a.Oa,value:b},a.Oa=[],Va(a.bg,w(function(c){delete c[this.hd]},a)),a.bg=[],a.sa={});return b};
zk.prototype.rd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=u(a)?a[this.hd]:null;if(this.Bd&&null!=b&&this.sa[b])return{type:"ValueRef",value:this.sa[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(za(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Hj){var c=a.encode(w(this.rd,this));if(!(Array.isArray(c)||u(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
Xa(a,function(e){return this.rd(e)},this);else if(u(a)&&!v(a))c=Db(a,function(e){if(!v(e))return this.rd(e)},this),Mb(c,this.hd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Bd){b=Hk(c);if(this.sa[b])var d=this.sa[b];else d=String(this.Oa.length),this.Oa.push([d,c]),this.sa[b]=d;a[this.hd]=b;this.bg.push(a);return{type:"ValueRef",value:d}}return c};
var Hk=function(a){Bk.reset();Bk.update(Ak.W(a));return Bk.digest().toString()},Jk=function(a){return Nd(Ik(a),Jd,Kd,Ld)};x("ee.Serializer.encodeCloudApi",Jk);
var Ik=function(a){return Kk(new zk(!0),a)},Lk=function(a){a=Kk(new zk(!1),a);var b=a.values,c=function(d){if(!u(d))return d;var e=Array.isArray(d)?[]:{},f=d instanceof Object.getPrototypeOf(af);d=m(Object.entries(f?d.a:d));for(var g=d.next();!g.done;g=d.next()){var h=m(g.value);g=h.next().value;h=h.next().value;f?null!==h&&(e[g]="functionDefinitionValue"===g&&null!=h.body?{argumentNames:h.xc,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.kb?{arguments:Db(h.arguments,c),functionReference:c(b[h.kb])}:
"constantValue"===g?h===Hd?null:h:c(h)):e[g]=c(h)}return e};return a.result&&c(b[a.result])};x("ee.Serializer.encodeCloudApiPretty",Lk);var Mk=function(a){return Fk(Lk(a))};x("ee.Serializer.toReadableCloudApiJSON",Mk);
var Kk=function(a,b){try{var c=Nk(a,b),d=new Ok(c,a.Oa,a.Bd),e=Pk(d,d.Jh);return new lf({result:e,values:d.yh})}finally{a.yd=new WeakMap,a.sa={},a.Oa=[]}},Nk=function(a,b){var c=function(e){var f=Hk(e);if(a.sa[f])return a.sa[f];var g=String(a.Oa.length);a.Oa.push([g,e]);a.sa[f]=g;u(b)&&a.yd.set(b,f);return g};if(u(b)&&a.sa[a.yd.get(b)])return a.sa[a.yd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(Ij(b));if(za(b))return c(Mj("Date",{value:Ij(Math.floor(b.getTime()))}));
if(b instanceof Hj)return c(b.oa(function(e){return Nk(a,e)}));if(Array.isArray(b))return c(Kj(b.map(function(e){return Jj(Nk(a,e))})));if(u(b)&&!v(b)){var d={};Object.keys(b).sort().forEach(function(e){d[e]=Jj(Nk(a,b[e]))});return c(Lj(d))}throw Error("Can't encode object: "+b);},Ok=function(a,b,c){var d=this;this.Jh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.Dh=c?Qk(this):null;this.yh={};this.Ef={};this.Tj=0},Pk=function(a,b){if(b in a.Ef)return a.Ef[b];var c=String(a.Tj++);
a.Ef[b]=c;a.yh[c]=Rk(a,a.values[b],0);return c},Rk=function(a,b,c){var d=function(p){return null!==p.Fb},e=function(p){return p===Hd?null:p};if(d(b)||null!=b.hf||null!=b.Ce||null!=b.yc)return b;if(null!=b.fb)return d=a.values[b.fb],null===a.Dh||50>c&&1===a.Dh[b.fb]?Rk(a,d,c):Sk(d)?d:Jj(Pk(a,b.fb));if(null!=b.Db){var f=b.Db.values.map(function(p){return Rk(a,p,c+3)});return f.every(d)?Ij(f.map(function(p){return e(p.Fb)})):Kj(f)}if(null!=b.Hb){f={};var g={};b=m(Object.entries(b.Hb.values||{}));for(var h=
b.next();!h.done;h=b.next()){var n=m(h.value);h=n.next().value;n=n.next().value;f[h]=Rk(a,n,c+3);null!==g&&d(f[h])?g[h]=e(f[h].Fb):g=null}return null!==g?Ij(g):Lj(f)}if(null!=b.Kb)return d=b.Kb,Oj(d.xc||[],Pk(a,d.body||""));if(null!=b.jb){d=b.jb;f={};g=m(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=Rk(a,d.arguments[b],c+3);return d.functionName?Mj(d.functionName,f):Nj(Pk(a,d.kb||""),f)}throw Error("Can't optimize value: "+b);},Sk=function(a){var b=a.Fb;return null!==
b?b===Hd||"number"===typeof b||"boolean"===typeof b:null!=a.yc},Qk=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Db?e.Db.values.forEach(d):null!=e.Hb?Object.values(e.Hb.values).forEach(d):null!=e.Kb?c(e.Kb.body):null!=e.jb?(e=e.jb,null!=e.kb&&c(e.kb),Object.values(e.arguments).forEach(d)):null!=e.fb&&c(e.fb)};c(a.Jh);return b};var Yk=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 Kf({i:Ik(a.element),description:Tk(a.description),ga:null,Xa:null,selectors:b,Nb:Uk(a.maxErrorMeters),requestId:Tk(a.id),T:Uk(a.maxWorkers)});var c=Vk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Mf({ha:null,fa:null,A:Qj(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ha=Wk(a):d.fa=Xk(a);b.ga=d;break;case "ASSET":b.Xa=new Lf({Ib:new Af({name:bk(a.assetId)})});
break;default:throw Error('Export destination "'+c+'" unknown');}return b};function Tk(a){return null!=a?String(a):null}function Uk(a){return null!=a?Number(a):null}
var Vk=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},$k=function(a){var b=new dg({Ge:!!a.tfrecordCompressed,Ob:Tk(a.tfrecordMaxFileSize),Lf:!!a.tfrecordSequenceData,Fe:!!a.tfrecordCollapseBands,rf:Uk(a.tfrecordMaskedThreshold),defaultValue:Uk(a.tfrecordDefaultValue),Ga:Zk(a.tfrecordPatchDimensions),nf:Zk(a.tfrecordKernelSize),Pd:null});a=a.tfrecordTensorDepths;if(null!=a)if(u(a)){var c={};Bb(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.Pd=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},al=function(a,b){var c=new Gf({ha:null,fa:null,td:null,Qd:null,A:Pj(a.fileFormat)});if("GEO_TIFF"===c.A){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');var d=new Vf({Ee:!!a.tiffCloudOptimized,
Qf:!!a.tiffSkipEmptyFiles,Ga:Zk(a.fileDimensions||a.tiffFileDimensions)});c.td=d}else"TF_RECORD_IMAGE"===c.A&&(c.Qd=$k(a));"GOOGLE_CLOUD_STORAGE"===b?c.ha=Wk(a):c.fa=Xk(a);return c},bl=function(a,b){var c=new Of({ha:null,fa:null,A:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ha=Wk(a):c.fa=Xk(a);return c},cl=function(a){var b=Uk(a.maxZoom),c=Uk(a.scale),d=Uk(a.minZoom),e=!!a.skipEmptyTiles,f=Tk(a.mapsApiKey),g=Zk(a.tileDimensions),h=Uk(a.stride);var n=Uk(a.minTimeMachineZoomSubset);a=Uk(a.maxTimeMachineZoomSubset);
if(null==n&&null==a)n=null;else{var p=new Dg({min:0,max:null});null!=n&&(p.min=n);p.max=a;n=p}return new Jf({maxZoom:b,scale:c,minZoom:d,Rf:e,mf:f,Ga:g,Sf:h,cg:n})},Zk=function(a){if(null==a)return null;var b=new Wf({height:0,width:0});"string"===typeof a&&(-1!==a.indexOf("x")?a=a.split("x").map(Number):-1!==a.indexOf(",")&&(a=a.split(",").map(Number)));if(Array.isArray(a))if(2===a.length)b.height=a[0],b.width=a[1];else if(1===a.length)b.height=a[0],b.width=a[0];else throw Error("Unable to construct grid from dimensions: "+
a);else if("number"!==typeof a||isNaN(a))if(u(a)&&null!=a.height&&null!=a.width)b.height=a.height,b.width=a.width;else throw Error("Unable to construct grid from dimensions: "+a);else b.height=a,b.width=a;return b},Wk=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Uf({Ae:Tk(a.outputBucket),ta:Tk(a.outputPrefix),Be:a.bucketCorsUris||null,permissions:b})},Xk=function(a){return new uf({Xe:Tk(a.driveFolder),ta:Tk(a.driveFileNamePrefix)})};var el=function(a,b){this.Wa=a;this.Xd=b;this.l={};this.zc=!0;if(0<this.Wa.length){for(a=0;a<this.Wa.length;a++){b=this.Wa[a];var c=b[0];this.l[c.toString()]=new dl(c,b[1])}this.zc=!0}},fl=function(a){if(a.zc){if(a.Xd){var b=a.l,c;for(c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c].uc;d&&fl(d)}}}else{a.Wa.length=0;b=gl(a);b.sort();for(c=0;c<b.length;c++){var e=a.l[b[c]];(d=e.uc)&&fl(d);a.Wa.push([e.key,e.value])}a.zc=!0}return a.Wa};k=el.prototype;k.getLength=function(){return gl(this).length};
k.clear=function(){this.l={};this.zc=!1};k.entries=function(){var a=[],b=gl(this);b.sort();for(var c=0;c<b.length;c++){var d=this.l[b[c]];a.push([d.key,hl(this,d)])}return new il(a)};k.keys=function(){var a=[],b=gl(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.l[b[c]].key);return new il(a)};k.values=function(){var a=[],b=gl(this);b.sort();for(var c=0;c<b.length;c++)a.push(hl(this,this.l[b[c]]));return new il(a)};
k.forEach=function(a,b){var c=gl(this);c.sort();for(var d=0;d<c.length;d++){var e=this.l[c[d]];a.call(b,hl(this,e),e.key,this)}};k.set=function(a,b){var c=new dl(a);this.Xd?(c.uc=b,c.value=fl(b)):c.value=b;this.l[a.toString()]=c;this.zc=!1;return this};var hl=function(a,b){return a.Xd?(b.uc||(b.uc=new a.Xd(b.value)),b.uc):b.value};el.prototype.get=function(a){if(a=this.l[a.toString()])return hl(this,a)};el.prototype.has=function(a){return a.toString()in this.l};
var gl=function(a){a=a.l;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},dl=function(a,b){this.key=a;this.value=b;this.uc=void 0},il=function(a){this.ah=0;this.Wa=a};il.prototype.next=function(){return this.ah<this.Wa.length?{done:!1,value:this.Wa[this.ah++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&"undefined"!=typeof Symbol.iterator&&(il.prototype[Symbol.iterator]=function(){return this});Object.freeze&&Object.freeze([]);var kl=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine"];M&&f.push("https://www.googleapis.com/auth/cloud-platform");d&&(jb(f,d),lb(f));tj(a,f);null===a?rj():nj(function(){pj(b,c,e||Ga(jl,b,c))})};x("ee.data.authenticateViaOauth",kl);var ll=function(a,b,c,d,e){kl(a,b,c,d,e)};x("ee.data.authenticate",ll);var jl=function(a,b){r.gapi.auth.authorize({client_id:lj,immediate:!1,scope:mj.join(" ")},Ga(oj,a,b))};x("ee.data.authenticateViaPopup",jl);
var ml=function(a,b,c,d){if("window"in r)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");var e=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/devstorage.read_write"];M&&e.push("https://www.googleapis.com/auth/cloud-platform");d&&(jb(e,d),lb(e));tj(a.client_email,e);var f=new google.auth.JWT(a.client_email,null,a.private_key,e,null);kj=function(g,h){f.authorize(function(n,p){n?h({error:n}):h({access_token:p.access_token,
token_type:p.token_type,expires_in:(p.expiry_date-Date.now())/1E3})})};pj(b,c)};x("ee.data.authenticateViaPrivateKey",ml);var nl=[];nl.push("setApiKey");nl.push("setProject");nl.push("getProject");nl.push("setCloudApiEnabled");nl.push("getCloudApiEnabled");x("ee.data.setExpressionAugmenter",function(a){ol=a||Rb});var ol=Rb;
x("ee.data.setAuthToken",function(a,b,c,d,e,f,g){var h=["https://www.googleapis.com/auth/earthengine"];M&&h.push("https://www.googleapis.com/auth/cloud-platform");e&&(jb(h,e),lb(h));lj=a;mj=h;var n={token_type:b,access_token:c,state:h.join(" "),expires_in:d};oj(void 0,void 0,n);!1===g?f&&f():nj(function(){r.gapi.auth.setToken(n);f&&f()})});x("ee.data.refreshAuthToken",pj);x("ee.data.setAuthTokenRefresher",function(a){kj=a});x("ee.data.getAuthToken",hj);x("ee.data.clearAuthToken",rj);
x("ee.data.getAuthClientId",function(){return lj});x("ee.data.getAuthScopes",function(){return mj});x("ee.data.setDeadline",function(a){Gj=a});x("ee.data.setParamAugmenter",function(a){Aj=a||Rb});
var pl=function(a){if(M)return a=new I(a),J(a,a.wc().list(dj(),{prettyPrint:!1}).then(Wj));var b=L("/algorithms",null,a,"GET");return a?null:b},rl=function(a,b){if(M){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 Bf({name:null,i:ol(Ik(a.image)),A:Pj(a.format),aa:Sj(a.bands),Yb:Vj(a)});var c=new I(b);return J(c,c.maps().create(dj(),a,{fields:["name"]}).then(function(e){return ql(e.name,
"")}))}a=Nb(a);"string"!==typeof a.image&&(a.image=a.image.W());var d=function(e){return ql(e.mapid,e.token)};return b?(L("/mapid",K(a),function(e,f){return b(e&&d(e),f)}),null):d(L("/mapid",K(a)))};x("ee.data.getMapId",rl);var sl=function(a,b,c,d){if(!a.formatTileUrl){var e=ql(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};x("ee.data.getTileUrl",sl);
var ql=function(a,b,c){var d=void 0===c?"":c;d||(bj(),c=vj,d=b?c+"/map/"+a+"/{z}/{x}/{y}?token="+b:c+"/v1alpha/"+a+"/tiles/{z}/{x}/{y}");return{mapid:a,token:b,formatTileUrl:function(e,f,g){var h=Math.pow(2,g);e%=h;e=String(0>e?e+h:e);return d.replace("{x}",e).replace("{y}",f).replace("{z}",g)},urlFormat:d}},tl=function(a,b){if(M)return a=ol(Ik(a)),b=new I(b),J(b,Ug(b.value(),dj(),new kf({i:a})).then(function(c){return c.result}));a={json:Ek(a)};return L("/value",K(a),b)};
x("ee.data.computeValue",tl);
var ul=function(a,b){if(M){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");if(void 0!==a.region)throw Error('"region" not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');if(void 0!==a.dimensions)throw Error('"dimensions" is not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');a=new Cg({name:null,i:ol(Ik(a.image)),A:Pj(a.format),ta:a.name,aa:Sj(a.bands),
Yb:Vj(a),J:null});b=new I(b);return J(b,(new Sg(b.O)).create(dj(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))}a=Nb(a);Array.isArray(a.dimensions)&&(a.dimensions=a.dimensions.join("x"));var c=a.image||a.imageCollection;"string"!==typeof c&&(c=c.W());a.image=c;delete a.imageCollection;a=K(a).add("getid","1");return L("/thumb",a,b)};x("ee.data.getThumbId",ul);
var vl=function(a,b){if(!M)throw Error("getVideoThumbId is only supported in Cloud API mode.");var c=new Pf({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Gg({name:null,i:ol(Ik(a.imageCollection)),A:Pj(a.format),Ia:c,J:null});b=new I(b);return J(b,(new Xg(b.O)).create(dj(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};x("ee.data.getVideoThumbId",vl);nl.push("getVideoThumbId");
var wl=function(a,b){if(!M)throw Error("getFilmstripThumbId is only supported in Cloud API mode.");a=new Rf({name:null,i:ol(Ik(a.imageCollection)),A:Pj(a.format),orientation:Rj(a.orientation),J:null});b=new I(b);return J(b,(new Lg(b.O)).create(dj(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};x("ee.data.getFilmstripThumbId",wl);nl.push("getFilmstripThumbId");
var xl=function(a){return M?vj+"/v1alpha/"+a.thumbid+":getPixels":vj+"/api/thumb?thumbid="+a.thumbid+("&token="+a.token)};x("ee.data.makeThumbUrl",xl);
var zl=function(a,b){if(M){a=Object.assign({},a);a.id&&(a.image=new N(a.id));if("string"===typeof a.image)throw Error("Image as serialized JSON string not supported.");if(!a.image)throw Error("Missing ID or image parameter.");a.filePerBand=!1!==a.filePerBand;a.format=a.format||(a.filePerBand?"ZIPPED_GEO_TIFF_PER_BAND":"ZIPPED_GEO_TIFF");if(null!=a.region&&(null!=a.scale||null!=a.crs_transform)&&null!=a.dimensions)throw Error("Cannot specify (bounding region, crs_transform/scale, dimensions) simultaneously.");
if("string"===typeof a.bands)try{a.bands=JSON.parse(a.bands)}catch(d){a.bands=Sj(a.bands)}if(a.bands&&!Array.isArray(a.bands))throw Error("Bands parameter must be an array.");a.bands&&a.bands.every(function(d){return"string"===typeof d})&&(a.bands=a.bands.map(function(d){return{id:d}}));if(a.bands&&a.bands.some(function(d){return null==d.id}))throw Error("Each band dictionary must have an id.");"string"===typeof a.region&&(a.region=JSON.parse(a.region));if("string"===typeof a.crs_transform)try{a.crs_transform=
JSON.parse(a.crs_transform)}catch(d){}var c=yl(a.image,a);a=new Cg({name:null,i:ol(Ik(c)),A:Pj(a.format),ta:a.name,aa:a.bands&&Sj(a.bands.map(function(d){return d.id})),J:null});b=new I(b);return J(b,(new Sg(b.O)).create(dj(),a,{fields:["name"]}).then(function(d){return{docid:d.name,token:""}}))}a=Nb(a);return L("/download",K(a),b)};x("ee.data.getDownloadId",zl);var Al=function(a){bj();var b=vj;return M?b+"/v1alpha/"+a.docid+":getPixels":b+"/api/download?docid="+a.docid+"&token="+a.token};
x("ee.data.makeDownloadUrl",Al);var Bl=function(a,b){if(M){b=new I(b);var c=Qj(a.format);a=ol(Ik(a.table));a=new Ag({name:null,i:a,A:c});return J(b,(new Rg(b.O)).create(dj(),a,{fields:["name"]}).then(function(d){return{docid:d.name||"",token:""}}))}a=Nb(a);return L("/table",K(a),b)};x("ee.data.getTableDownloadId",Bl);var Cl=function(a){return M?vj+"/v1alpha/"+a.docid+":getFeatures":vj+"/api/table?docid="+a.docid+"&token="+a.token};x("ee.data.makeTableDownloadUrl",Cl);
var Dl=function(a,b){if(M){var c=function(e){return Math.floor(Math.random()*Math.pow(2,4*e)).toString(16).padStart(e,"0")};a=mb(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 L("/newtaskid",K(d),b)};x("ee.data.newTaskId",Dl);
var Fl=function(a,b){if(M){var c=El(a).map(nk);if(1===c.length)return b=new I(b),J(b,b.Ea().get(c[0]).then(function(e){return[pk(e)]}));b=new gj(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 pk(e[f])})})}a="/taskstatus?q="+El(a).join();return L(a,null,b,"GET")};x("ee.data.getTaskStatus",Fl);
var El=function(a){if("string"===typeof a)return[a];if(Array.isArray(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},Hl=function(a){return Gl(void 0,a)};x("ee.data.getTaskList",Hl);
var Gl=function(a,b){function c(h){var n={pagesize:500};a&&(n.pagesize=Math.min(n.pagesize,a-e.tasks.length));h&&(n.pagetoken=h);return n}function d(h,n){n=c(n);L("/tasklist",K(n),function(p,t){t?h(e,t):(jb(e.tasks,p.tasks),!p.next_page_token||a&&e.tasks.length>=a?h(e):d(h,p.next_page_token))},"GET")}if(M)return b?(Il(a,function(h,n){return b(h?{tasks:h.map(pk)}:null,n)}),null):{tasks:Il(a).map(pk)};var e={tasks:[]};if(b)return d(b),null;for(var f="";;){f=c(f);var g=L("/tasklist",K(f),void 0,"GET");
jb(e.tasks,g.tasks);f=g.next_page_token;if(!g.next_page_token||a&&e.tasks.length>=a)break}return e};x("ee.data.getTaskListWithLimit",Gl);var Il=function(a,b){var c=[],d={pageSize:500},e=function(h){jb(c,h.Ea||[]);!h.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.nextPageToken,J(f,g.list(dj(),d).then(e)));return null},f=new I(b?function(h,n){return n&&b(h,n)}:void 0),g=f.Ea();J(f,g.list(dj(),d).then(e));return b?null:a?c.slice(0,a):c};x("ee.data.listOperations",Il);nl.push("listOperations");
var Jl=function(a,b){a=El(a);var c=new gf;if(1===a.length)b=new I(b),J(b,b.Ea().cancel(a[0],c));else{b=new gj(b);var d=b.Ea();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};x("ee.data.cancelOperation",Jl);nl.push("cancelOperation");var Kl=function(a,b){var c=El(a).map(nk);if(!Array.isArray(a))return a=new I(b),J(a,a.Ea().get(c[0]));a=new gj(b);var d=a.Ea();return a.send(c.map(function(e){return[e,d.get(e)]}))};x("ee.data.getOperation",Kl);nl.push("getOperation");
var Ml=function(a,b){return Ll(a,"CANCEL",b)};x("ee.data.cancelTask",Ml);var Ll=function(a,b,c){if(!Ib(Nl,b))throw Error("Invalid action: "+b);a=El(a);return M?(a=a.map(nk),Jl(a,c),null):L("/updatetask",K({id:a,action:b}),c,"POST")};x("ee.data.updateTask",Ll);
var Sl=function(a,b,c){if(M){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new I(c);c=function(f){return J(e,f.then(qk))};switch(d){case "EXPORT_IMAGE":return b=Ol(b,a),c(e.image().$a(dj(),b));case "EXPORT_FEATURES":return b=Yk(b),b.i=ol(b.i,a),c(e.table().$a(dj(),b));case "EXPORT_VIDEO":return b=Pl(b,a),c(e.video().$a(dj(),b));case "EXPORT_TILES":return b=Ql(b,a),c(e.map().$a(dj(),b));case "EXPORT_VIDEO_MAP":return b=Rl(b),c((new Wg(e.O)).$a(dj(),b));default:throw Error("Unable to start processing for task of type "+
d);}}b=Nb(b);null!=b.element&&(b.json=b.element.W(),delete b.element);Array.isArray(b.crs_transform)&&(b.crs_transform=b.crs_transform.toString());b.id=a;return L("/processingrequest",K(b),c)};x("ee.data.startProcessing",Sl);
var Ol=function(a,b){var c=Tl(a);if(null==c.element)throw Error('"element" not found in params '+c);a=new Ef({i:Ik(c.element),description:Tk(c.description),ga:null,Xa:null,J:null,sf:Tk(c.maxPixels),requestId:Tk(c.id),T:Uk(c.maxWorkers)});var d=Vk(c);switch(d){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":a.ga=al(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 Ff({Ib:new Af({name:bk(c.assetId)}),pyramidingPolicy:e,Cf:Lb(d)?null:d});a.Xa=c;break;default:throw Error('Export destination "'+d+'" unknown');}a.i=ol(a.i,b);return a},Pl=function(a,b){a=Ul(a);if(null==a.element)throw Error('"element" not found in params '+a);var c=new Qf({i:Ik(a.element),description:Tk(a.description),Ia:new Pf({framesPerSecond:Uk(a.framesPerSecond),maxFrames:Uk(a.maxFrames),maxPixelsPerFrame:Tk(a.maxPixels)}),ga:null,requestId:Tk(a.id),T:Uk(a.maxWorkers)});c.ga=bl(a,Vk(a));
c.i=ol(c.i,b);return c},Ql=function(a,b){var c=a.scale;delete a.scale;a=Tl(a);a.scale=c;if(null==a.element)throw Error('"element" not found in params '+a);c=new If({i:Ik(a.element),description:Tk(a.description),Vb:cl(a),Ub:al(a,"GOOGLE_CLOUD_STORAGE"),requestId:Tk(a.id),T:Uk(a.maxWorkers)});c.i=ol(c.i,b);return c},Rl=function(a){var b=a.scale;delete a.scale;a=Ul(a);a.scale=b;if(null==a.element)throw Error('"element" not found in params '+a);b=new Nf({i:Ik(a.element),description:Tk(a.description),
Ia:new Pf({framesPerSecond:Uk(a.framesPerSecond),maxFrames:Uk(a.maxFrames),maxPixelsPerFrame:null}),Vb:cl(a),Ub:bl(a,"GOOGLE_CLOUD_STORAGE"),requestId:Tk(a.id),version:Tk(a.version),T:Uk(a.maxWorkers)});b.i=ol(b.i);return b},Wl=function(a,b,c){if(M){b=uk(b);var d=function(e){return e?qk(e):null};return d(Vl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,request:li(b)};return L("/ingestionrequest",K(a),c)};x("ee.data.startIngestion",Wl);
var Vl=function(a,b,c){b=new kg({cf:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return J(a,a.image().import(dj(),b))},Xl=function(a,b,c){b=new lg({Vf:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return J(a,a.table().import(dj(),b))},Yl=function(a,b,c){if(M){b=vk(b);var d=function(e){return e?qk(e):null};return d(Xl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,tableRequest:li(b)};return L("/ingestionrequest",K(a),c)};
x("ee.data.startTableIngestion",Yl);var Zl=function(a,b){return M?(b=new I(b),a=bk(a),J(b,b.assets().get(a,{prettyPrint:!1}).then(ck))):L("/info",(new be).add("id",a),b)};x("ee.data.getAsset",Zl);nl.push("getAsset");x("ee.data.getInfo",Zl);
var $l=function(a,b){if(M){b=new I(b);var c=b.assets(),d=bk(a.id),e=Zj.test(a.id);e&&(c=new Ig(b.O),d="projects/"+ak(a.id));if(Object.keys(a).every(function(f){return"id"===f||"num"===f}))return J(b,c.Sc(d,{pageSize:a.num}).then(dk));if(e)throw Error("getList on a project does not support filtering options. Please provide a full asset path. Got: "+a.id);a=kk(a);return J(b,Kg(c,d,a).then(fk))}a=K(a);return L("/list",a,b)};x("ee.data.getList",$l);
var am=function(a,b,c){b=void 0===b?{}:b;var d=Zj.test(a);c=new I(c);var e=d?new Ig(c.O):c.assets();a=d?"projects/"+ak(a):bk(a);return J(c,e.Sc(a,b))};x("ee.data.listAssets",am);nl.push("listAssets");var bm=function(a,b,c){b=void 0===b?{}:b;c=new I(c);return J(c,Kg(c.assets(),a,b))};x("ee.data.listImages",bm);nl.push("listImages");var cm=function(a,b){b=new I(b);return J(b,(new Ig(b.O)).Sc(a||dj()))};x("ee.data.listBuckets",cm);nl.push("listBuckets");
var dm=function(a){return M?(a=new I(a),J(a,(new Ig(a.O)).Sc(dj()).then(dk))):L("/buckets",null,a,"GET")};x("ee.data.getAssetRoots",dm);var em=function(a,b){if(M){var c="projects/"+ak(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new vf({type:"Folder"});b=new I(b);J(b,b.assets().create(c,d,{assetId:a}).then(ck))}else c=K({id:a}),L("/createbucket",c,b)};x("ee.data.createAssetHome",em);
var fm=function(a,b,c,d,e){if(M){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&bk(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 vf(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 I(e);return J(e,e.assets().create(b,a,{assetId:c}).then(ck))}"string"!==typeof a&&(a=li(a));a={value:a};void 0!==b&&(a.id=b);a.force=c||!1;void 0!=d&&(a.properties=li(d));return L("/create",K(a),e)};x("ee.data.createAsset",fm);var gm=function(a,b,c){return M?fm({type:"Folder"},a,b,void 0,c):L("/createfolder",K({id:a,force:b||!1}),c)};x("ee.data.createFolder",gm);
var hm=function(a,b,c){M?(a=bk(a),b=bk(b),b=new tg({Gb:b}),c=new I(c),J(c,c.assets().move(a,b).then(ck))):L("/rename",K({sourceId:a,destinationId:b}),c)};x("ee.data.renameAsset",hm);
var im=function(a,b,c,d){if(M){a=bk(a);b=bk(b);c=new of({Gb:b,overwrite:null!=c?c:null});d=new I(d);b=ck;var e=d.assets();var f=void 0===f?{}:f;e.h.w(a,/^projects\/[^/]+\/assets\/.*$/);f=H(e.h,{body:c,s:"POST",B:"earthengine.projects.assets.copy",path:"/"+e.j+"/"+a+":copy",o:G(f),C:vf});J(d,f.then(b))}else f={sourceId:a,destinationId:b},c&&(f.allowOverwrite=c),L("/copy",K(f),d)};x("ee.data.copyAsset",im);var jm=function(a,b){M?(b=new I(b),J(b,b.assets().delete(bk(a)))):L("/delete",K({id:a}),b)};
x("ee.data.deleteAsset",jm);var km=function(a,b){if(M){a=bk(a);var c=new Xf;b=new I(b);var d=b.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;d.h.w(a,/^projects\/[^/]+\/assets\/.*$/);a=H(d.h,{body:c,s:"POST",B:"earthengine.projects.assets.getIamPolicy",path:"/"+d.j+"/"+a+":getIamPolicy",o:G(e),C:wg});return J(b,a.then(lk))}return L("/getacl",K({id:a}),b,"GET")};x("ee.data.getAssetAcl",km);
var lm=function(a,b,c,d){b=new Fg({we:b,tc:(c||[]).join(",")});d=new I(d);c=ck;var e=d.assets();a=bk(a);var f=void 0===f?{}:f;e.h.w(a,/^projects\/[^/]+\/assets\/.*$/);f=H(e.h,{body:b,s:"PATCH",B:"earthengine.projects.assets.patch",path:"/"+e.j+"/"+a,o:G(f),C:vf});return J(d,f.then(c))};x("ee.data.updateAsset",lm);
var mm=function(a,b,c){if(M){a=bk(a);b=mk(b);b=new zg({xf:b});c=new I(c);var d=c.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;d.h.w(a,/^projects\/[^/]+\/assets\/.*$/);a=H(d.h,{body:b,s:"POST",B:"earthengine.projects.assets.setIamPolicy",path:"/"+d.j+"/"+a+":setIamPolicy",o:G(e),C:wg});J(c,a)}else b={readers:b.readers,writers:b.writers,all_users_can_read:b.all_users_can_read},a={id:a,value:li(b)},L("/setacl",K(a),c)};x("ee.data.setAssetAcl",mm);
var nm=function(a,b,c){if(M){var d=ik(b);b=Id(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+'"'}));lm(a,d,b,c)}else a={id:a,properties:li(b)},L("/setproperties",K(a),c)};x("ee.data.setAssetProperties",nm);
var om=function(a,b){if(M){var c=bk(a);b=new I(b);var d=b.assets(),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 J(b,c.then(function(f){if(!(f instanceof vf&&f.quota))throw Error(a+" is not a root folder.");f=f.quota;return{asset_count:{usage:Number(f.xe||0),limit:Number(f.qf||0)},asset_size:{usage:Number(f.ya||0),limit:Number(f.Ob||0)}}}))}return L("/quota",K({id:a}),b,"GET")};
x("ee.data.getAssetRootQuota",om);var Nl={ik:"CANCEL",lk:"UPDATE"};var O=function(a,b,c){if(!(this instanceof O))return pm(O,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.D=a;this.args=b;this.R=c||null};y(O,Hj);x("ee.ComputedObject",O);O.prototype.evaluate=function(a){if(!a||!v(a))throw Error("evaluate() requires a callback function.");tl(this,a)};O.prototype.evaluate=O.prototype.evaluate;
O.prototype.V=function(a){return tl(this,a)};O.prototype.getInfo=O.prototype.V;O.prototype.encode=function(a){if(null===this.D&&null===this.args)return{type:"ArgumentRef",value:this.R};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.D);b["string"===typeof a?"functionName":"function"]=a;return b};
O.prototype.oa=function(a){if(null===this.D&&null===this.args){if(null===this.R)throw Error("Internal error: function argument not initialized.");return new af({yc:this.R})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=Jj(a(this.args[c])));return"string"===typeof this.D?Mj(String(this.D),b):this.D.Pe(a,b)};O.prototype.W=function(){return Ek(this)};O.prototype.serialize=O.prototype.W;O.prototype.toString=function(){return"ee."+this.name()+"("+Gk(this)+")"};
x("ee.ComputedObject.prototype.toString",O.prototype.toString);O.prototype.name=function(){return"ComputedObject"};O.prototype.dg=function(a,b){var c=ib(arguments);c[0]=this;a.apply(r,c);return this};O.prototype.aside=O.prototype.dg;var qm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.D=b.D;a.args=b.args;a.R=b.R;return a},pm=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var rm={},sm=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}},tm=function(a){return"number"===typeof a||a instanceof O&&"Number"==a.name()},um=function(a){return"string"===typeof a||a instanceof O&&"String"==a.name()},vm=function(a){return u(a)&&
!v(a)?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},wm=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&vm(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var xm=function(){if(!(this instanceof xm))return new xm};y(xm,Hj);x("ee.Function",xm);var ym=Rb;xm.prototype.call=function(a){return this.apply(zm(this,Array.prototype.slice.call(arguments,0)))};xm.prototype.call=xm.prototype.call;xm.prototype.apply=function(a){a=new O(this,Am(this,a));return ym(a,this.Y().returns)};xm.prototype.apply=xm.prototype.apply;
var Bm=function(a,b,c){var d=void 0!==b,e=a.Y();if(wm(c,e,d)){if(c=Nb(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=zm(a,d?[b].concat(c):c);return a.apply(c)},Am=function(a,b){for(var c=a.Y().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&void 0!==b[g])d[g]=ym(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},zm=function(a,b){var c=a.Y().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};
xm.prototype.toString=function(a,b){var c=this.Y(),d=[];d.push(a||c.name);d.push("(");d.push(Xa(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("")};xm.prototype.W=function(){return Ek(this)};var P=function(a,b){if(void 0===b)return Cm(a);if(!(this instanceof P))return pm(P,arguments);this.Pa=Ob(b);this.Pa.name=a};y(P,xm);x("ee.ApiFunction",P);var Q=function(a,b){return xm.prototype.call.apply(Cm(a),Array.prototype.slice.call(arguments,1))};x("ee.ApiFunction._call",Q);var Dm=function(a,b){return Cm(a).apply(b)};x("ee.ApiFunction._apply",Dm);P.prototype.encode=function(){return this.Pa.name};P.prototype.Pe=function(a,b){return Mj(this.Pa.name,b)};P.prototype.Y=function(){return this.Pa};
var Em=null,Fm={},Hm=function(){Gm();return Db(Em,function(a){return a.Y()})},Im=function(){Gm();return Cb(Em,function(a,b){return!Fm[b]})},Cm=function(a){var b=Jm(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};x("ee.ApiFunction.lookup",Cm);
var Jm=function(a){Gm();return Em[a]||null},Gm=function(a,b){if(Em)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(Em=Db(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 P(g,f)}),a&&a())};a?pl(c):c(pl())}},Km=function(a,b,c,d){Gm();var e=d||"";Bb(Em,function(f,g){var h=g.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var n=f.Y();Fm[g]=!0;var p=!1;n.args.length&&(g=n.args[0].type,p="Object"!=g&&sm(g,c));
g=p?a.prototype:a;h in g&&!g[h].signature||(g[h]=function(t){return Bm(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[h].toString=w(f.toString,f,h,p),g[h].signature=n)}})},Lm=function(a){var b=function(c){for(var d in c)v(c[d])&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var R=function(a,b){var c=Mm(a),d=Xa(c,function(n){return n.replace(/^opt_/,"")});a=(a=r.EXPORTED_FN_INFO?r.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},f=b[0],g=u(f)&&!v(f)&&!Array.isArray(f)&&"Object"===Object.getPrototypeOf(f).constructor.name;if(1<b.length||!g){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(f=0;f<b.length;f++)e[d[f]]=b[f]}else{g=new Ad(Gb(f));var h=new Ad(d);
if(h.gh(g).isEmpty())e[d[0]]=b[0];else{b=g.Oe(h);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.S().join(", "));e=Nb(f)}}b=new Ad(Gb(e));c=(new Ad(Wa(c,function(n){return 0!=n.lastIndexOf("opt_",0)}))).Oe(b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.S().join(", "));return e},Mm=function(a){var b=Nm,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],u(a)||Om(),c=a.paramNames,Array.isArray(c)||Om()):(a=a.toString().replace(Pm,"").match(b),null===a&&Om(),
c=(a[1].split(",")||[]).map(function(d){return d.replace(Qm,"")}));return c},Om=function(){throw Error("Failed to locate function parameters.");},Pm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Nm=/^function[^\(]*\(([^\)]*)\)/m,Qm=/=.*$/;var S=function(a,b,c){O.call(this,a,b,c);Rm()};y(S,O);x("ee.Element",S);var Sm=!1,Rm=function(){Sm||(Km(S,"Element","Element"),Sm=!0)};S.prototype.name=function(){return"Element"};
S.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=vm(c))a:{b=Gb(c);var d=["properties"];if(ya(b)&&ya(d)&&b.length==d.length){for(var e=b.length,f=0;f<e;f++)if(b[f]!==d[f]){b=!1;break a}b=!0}else b=!1}b&&u(c.properties)&&(c=c.properties);if(vm(c)){b=this;for(var g in c)d=c[g],b=Q("Element.set",b,g,d)}else if(c instanceof O&&Jm("Element.setMulti"))b=Q("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(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=Q("Element.set",b,g,d)}return qm(this,b)};S.prototype.set=S.prototype.set;var U=function(a,b,c,d){if(!(this instanceof U))return pm(U,arguments);if(!("type"in a)){var e=R(U,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Tm();e=null!=b||null!=c||null!=d;if(a instanceof O&&!(a instanceof U&&a.eb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");O.call(this,a.D,a.args,a.R)}else{a instanceof U&&(a=a.encode());if(!Um(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));O.call(this,
null,null);this.eb=a.type;this.vg=null!=a.coordinates?Ob(a.coordinates):null;this.Tg=a.geometries||null;if(null!=b)this.Rb=b;else if("crs"in a)if(u(a.crs)&&"name"==a.crs.type&&u(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.Rb=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new ki).W(a.crs));this.hc=c;void 0===this.hc&&"geodesic"in a&&(this.hc=!!a.geodesic);this.ec=d;void 0===this.ec&&"evenOdd"in a&&(this.ec=!!a.evenOdd)}};y(U,O);x("ee.Geometry",U);
var Vm=!1,Tm=function(){Vm||(Km(U,"Geometry","Geometry"),Vm=!0)},Wm=function(a,b){if(!(this instanceof Wm))return Xm(Wm,arguments);var c=Ym(Wm,"Point",1,arguments);if(!(c instanceof O)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}U.call(this,c)};y(Wm,U);U.Point=Wm;var Zm=function(a,b){if(!(this instanceof Zm))return Xm(Zm,arguments);U.call(this,Ym(Zm,"MultiPoint",2,arguments))};y(Zm,U);U.MultiPoint=Zm;
var $m=function(a,b,c,d){if(!(this instanceof $m))return Xm($m,arguments);var e=Ym($m,"Rectangle",2,arguments);if(!(e instanceof O)){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],n=f[1][0];f=f[1][1];e.coordinates=[[[g,f],[g,h],[n,h],[n,f]]];e.type="Polygon"}U.call(this,e)};y($m,U);U.Rectangle=$m;
var an=function(a,b,c,d){if(!(this instanceof an))return Xm(an,arguments);U.call(this,Ym(an,"LineString",2,arguments))};y(an,U);U.LineString=an;var bn=function(a,b,c,d){if(!(this instanceof bn))return Xm(bn,arguments);U.call(this,Ym(bn,"LinearRing",2,arguments))};y(bn,U);U.LinearRing=bn;var cn=function(a,b,c,d){if(!(this instanceof cn))return Xm(cn,arguments);U.call(this,Ym(cn,"MultiLineString",3,arguments))};y(cn,U);U.MultiLineString=cn;
var dn=function(a,b,c,d,e){if(!(this instanceof dn))return Xm(dn,arguments);U.call(this,Ym(dn,"Polygon",3,arguments))};y(dn,U);U.Polygon=dn;var en=function(a,b,c,d,e){if(!(this instanceof en))return Xm(en,arguments);U.call(this,Ym(en,"MultiPolygon",4,arguments))};y(en,U);U.MultiPolygon=en;
U.prototype.encode=function(a){if(!this.eb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return O.prototype.encode.call(this,a)}a={type:this.eb};"GeometryCollection"==this.eb?a.geometries=this.Tg:a.coordinates=this.vg;null!=this.Rb&&(a.crs={type:"name",properties:{name:this.Rb}});null!=this.hc&&(a.geodesic=this.hc);null!=this.ec&&(a.evenOdd=this.ec);return a};
U.prototype.dd=function(){if(this.D)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};U.prototype.toGeoJSON=U.prototype.dd;U.prototype.Zf=function(){if(this.D)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new ki).W(this.dd())};U.prototype.toGeoJSONString=U.prototype.Zf;U.prototype.W=function(){return Ek(this)};U.prototype.serialize=U.prototype.W;
U.prototype.toString=function(){return"ee.Geometry("+this.Zf()+")"};
U.prototype.oa=function(a){if(!this.eb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return O.prototype.oa.call(this,a)}var b={},c="";"GeometryCollection"===this.eb?(b.geometries=this.Tg.map(function(e){return new U(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.vg,c="GeometryConstructors."+this.eb);null!=this.Rb&&(b.crs="string"===typeof this.Rb?(new P("Projection")).call(this.Rb):this.Rb);var d="Point"!==this.eb&&"MultiPoint"!==this.eb;
null!=this.hc&&d&&(b.geodesic=this.hc);null!=this.ec&&(b.evenOdd=this.ec);return(new P(c)).apply(b).oa(a)};
var Um=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!Array.isArray(b))return!1;for(a=0;a<b.length;a++)if(!Um(b[a]))return!1;return!0}a=a.coordinates;var c=fn(a);return"Point"==b&&1==c||"MultiPoint"==b&&(2==c||0==a.length)||"LineString"==b&&2==c||"LinearRing"==b&&2==c||"MultiLineString"==b&&(3==c||0==a.length)||"Polygon"==b&&3==c||"MultiPolygon"==b&&(4==c||0==a.length)},fn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=fn(a[0]),c=1;c<a.length;c++)if(fn(a[c])!=
b)return-1;return b+1}for(c=0;c<a.length;c++)if("number"!==typeof a[c])return-1;return 0==a.length%2?1:-1},gn=function(a){if("number"!==typeof a[0]||2==a.length)return a;if(0!=a.length%2)throw Error("Invalid number of coordinates: "+a.length);for(var b=[],c=0;c<a.length;c+=2)b.push([a[c],a[c+1]]);return b},Ym=function(a,b,c,d){a=hn(a,d);if(jn(a.coordinates)||null!=a.crs||null!=a.maxError)return(new P("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=kn(c,a.coordinates);(b=cb(["Polygon",
"Rectangle","MultiPolygon"],b))&&null==a.evenOdd&&(a.evenOdd=!0);if(b&&!1===a.geodesic&&!1===a.evenOdd)throw Error("Planar interiors must be even/odd.");return a},hn=function(a,b){if(Za(b,tm))return{coordinates:ib(b)};a=R(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Cb(a,function(c){return null!=c})},jn=function(a){return Array.isArray(a)?Ya(a,jn):a instanceof O},kn=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Za(b,function(e){return"number"===
typeof e})&&(b=gn(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(fn(b)!=a)throw Error("Invalid geometry");for(c=b;Array.isArray(c)&&1==c.length;)c=c[0];return Array.isArray(c)&&0==c.length?[]:b},Xm=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};U.prototype.name=function(){return"Geometry"};var V=function(a){if(!(this instanceof V))return pm(V,arguments);if(a instanceof V)return a;ln();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new V(a[0]);O.call(this,new P("Filter.and"),{filters:a})}else if(a instanceof O)O.call(this,a.D,a.args,a.R);else if(void 0===a)O.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};y(V,O);x("ee.Filter",V);
var mn=!1,ln=function(){mn||(Km(V,"Filter","Filter"),mn=!0)},nn={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};V.prototype.ic=function(){return Q("Filter.not",this)};V.prototype.not=V.prototype.ic;var on=function(a,b){var c=R(on,arguments);return Q("Filter.equals",c.name,c.value)};V.eq=on;var pn=function(a,b){var c=R(pn,arguments);return on(c.name,c.value).ic()};V.neq=pn;
var qn=function(a,b){var c=R(qn,arguments);return Q("Filter.lessThan",c.name,c.value)};V.lt=qn;var rn=function(a,b){var c=R(rn,arguments);return qn(c.name,c.value).ic()};V.gte=rn;var sn=function(a,b){var c=R(sn,arguments);return Q("Filter.greaterThan",c.name,c.value)};V.gt=sn;var tn=function(a,b){var c=R(tn,arguments);return sn(c.name,c.value).ic()};V.lte=tn;var un=function(a){return Q("Filter.and",Array.prototype.slice.call(arguments))};V.and=un;var vn=function(a){return Q("Filter.or",Array.prototype.slice.call(arguments))};
V.or=vn;var wn=function(a,b){var c=R(wn,arguments);c=Q("DateRange",c.start,c.end);return Dm("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};V.date=wn;var xn=function(a,b,c,d){var e=R(xn,arguments);return Dm("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};V.inList=xn;var yn=function(a,b){return Dm("Filter.intersects",{leftField:".all",rightValue:Q("Feature",a),maxError:b})};V.bounds=yn;
V.prototype.name=function(){return"Filter"};var zn=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in nn))throw Error("Unknown filtering operator: "+b);a=Q("Filter."+nn[b],a,c);return d?a.ic():a};V.metadata=zn;var W=function(a,b,c){S.call(this,a,b,c);An()};y(W,S);x("ee.Collection",W);var Bn=!1,An=function(){Bn||(Km(W,"Collection","Collection"),Km(W,"AggregateFeatureCollection","Collection","aggregate_"),Bn=!0)};W.prototype.filter=function(a){a=R(W.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return qm(this,Q("Collection.filter",this,a))};W.prototype.filter=W.prototype.filter;
W.prototype.Ue=function(a,b,c){var d=R(W.prototype.Ue,arguments);return this.filter(zn(d.name,d.operator,d.value))};W.prototype.filterMetadata=W.prototype.Ue;W.prototype.Mg=function(a){return this.filter(yn(a))};W.prototype.filterBounds=W.prototype.Mg;W.prototype.Te=function(a,b){var c=R(W.prototype.Te,arguments);return this.filter(wn(c.start,c.end))};W.prototype.filterDate=W.prototype.Te;
W.prototype.limit=function(a,b,c){var d=R(W.prototype.limit,arguments);return qm(this,Q("Collection.limit",this,d.max,d.property,d.ascending))};W.prototype.limit=W.prototype.limit;W.prototype.sort=function(a,b){var c=R(W.prototype.sort,arguments);return qm(this,Q("Collection.limit",this,void 0,c.property,c.ascending))};W.prototype.sort=W.prototype.sort;W.prototype.name=function(){return"Collection"};W.prototype.elementType=function(){return S};
W.prototype.map=function(a,b){var c=this.elementType();return qm(this,Q("Collection.map",this,function(d){return a(new c(d))},b))};W.prototype.map=W.prototype.map;W.prototype.ih=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return Q("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};W.prototype.iterate=W.prototype.ih;var X=function(a,b){if(!(this instanceof X))return pm(X,arguments);if(a instanceof X){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)");Cn();if(a instanceof U||null===a)S.call(this,new P("Feature"),{geometry:a,metadata:b||null});else if(a instanceof O)S.call(this,a.D,a.args,a.R);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=Nb(c);c["system:index"]=a.id}S.call(this,new P("Feature"),{geometry:new U(a.geometry),metadata:c})}else S.call(this,new P("Feature"),{geometry:new U(a),metadata:b||null})};y(X,S);x("ee.Feature",X);var Dn=!1,Cn=function(){Dn||(Km(X,"Feature","Feature"),Dn=!0)};X.prototype.V=function(a){return X.G.V.call(this,a)};X.prototype.getInfo=X.prototype.V;
X.prototype.getMap=function(a,b){var c=R(X.prototype.getMap,arguments);return Q("Collection",[this]).getMap(c.visParams,c.callback)};X.prototype.getMap=X.prototype.getMap;X.prototype.name=function(){return"Feature"};var Tl=function(a){var b={},c=En(a.element,a);c=Fn(c,a,b);b.element=c;return b},Ul=function(a){var b={},c=a.element.map(function(d){d=En(d,a);return Fn(d,a,b)});b.element=c;return b},Fn=function(a,b,c){var d={},e=["maxDimension","width","height","scale"];Bb(b,function(f,g){switch(g){case "dimensions":g="string"===typeof f?f.split("x").map(Number):Array.isArray(f)?f:"number"===typeof f?[f]:[];if(1===g.length)d.maxDimension=g[0];else if(2===g.length)d.width=g[0],d.height=g[1];else throw Error("Invalid dimensions "+
f);break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof $m)){g=f;if("string"===typeof f)try{g=JSON.parse(f)}catch(h){g=f.split(/\s*,\s*/).map(Number)}if(Array.isArray(g)){if(g.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");f=new $m(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 U)){g=f;if("string"===typeof f)try{g=JSON.parse(f)}catch(h){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(Array.isArray(g))f=new dn(g,null,!1);else if(u(g))f=new U(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}});Lb(d)||(d.input=a,a=e.some(function(f){return f in d})?Dm("Image.clipToBoundsAndScale",d):Dm("Image.clip",d));return a},En=function(a,b){var c=
b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=Gn(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=Dm("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 P("Projection")).call(c,d),b.region=new $m([0,0,e[0],e[1]],c,!1))}}else a=Dm("Image.setDefaultProjection",{image:a,crs:c,
crsTransform:[1,0,0,0,-1,0]});return a},Gn=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Za(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.");},In=function(a,b){var c={};b=Hn(b,c);Lb(b)||(b.image=a,a=Dm("Image.visualize",b));c.image=a;return c},Hn=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),
d={};Bb(a,function(e,f){cb(c,f)?d[f]=e:b[f]=e});return d},yl=function(a,b){b=Object.assign({},b);var c=function(e){var f={};["crs","crs_transform","dimensions","region"].forEach(function(g){g in e&&(f[g]=e[g])});null!=e.scale&&null==e.dimensions&&(f.scale=e.scale);return f},d=function(e){var f=e.id;if(void 0===f)throw Error("Each band dictionary must have an id.");f=a.select(f);var g=c(b);e=c(e);e=c(Object.assign(g,e));f=En(f,e);return f=Fn(f,e,{})};"ZIPPED_GEO_TIFF_PER_BAND"===b.format&&b.bands&&
b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,f){return Q("Image.addBands",e,f,null,!0)},d.shift())):(d=c(b),a=En(a,d),a=Fn(a,d,{}));return a};var N=function(a){if(!(this instanceof N))return pm(N,arguments);if(a instanceof N)return a;Jn();var b=arguments.length;if(0==b||1==b&&void 0===a)S.call(this,new P("Image.mask"),{image:new N(0),mask:new N(0)});else if(1==b)if(tm(a))S.call(this,new P("Image.constant"),{value:a});else if(um(a))S.call(this,new P("Image.load"),{id:a});else{if(Array.isArray(a))return Kn(Xa(a,function(d){return new N(d)}));if(a instanceof O)"Array"==a.name()?S.call(this,new P("Image.constant"),{value:a}):S.call(this,a.D,
a.args,a.R);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(um(b)&&tm(c))S.call(this,new P("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};y(N,S);x("ee.Image",N);var Ln=!1,Jn=function(){Ln||(Km(N,"Image","Image"),Km(N,"Window","Image","focal_"),Ln=!0)};
N.prototype.V=function(a){return N.G.V.call(this,a)};N.prototype.getInfo=N.prototype.V;N.prototype.getMap=function(a,b){var c=this,d=R(N.prototype.getMap,arguments),e=In(this,d.visParams);if(d.callback){var f=d.callback;rl(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=rl(e),d.image=this,d};N.prototype.getMap=N.prototype.getMap;
N.prototype.lb=function(a,b){var c=R(N.prototype.lb,arguments),d=c.params?Nb(c.params):{};d.image=M?this:this.W();if(c.callback){var e=c.callback;zl(d,function(f,g){f?e(Al(f)):e(null,g)})}else return Al(zl(d))};N.prototype.getDownloadURL=N.prototype.lb;
N.prototype.ud=function(a,b){var c=R(N.prototype.lb,arguments),d=c.params?Nb(c.params):{};if(M){var e={},f=En(this,d);f=Fn(f,d,e);d=In(f,e)}else if(d=In(this,d),d.region)if(d.region instanceof U&&(d.region=d.region.dd()),Array.isArray(d.region)||vm(d.region))d.region=li(d.region);else if("string"!==typeof d.region)throw Error("The region parameter must be an array or a GeoJSON object.");return c.callback?(ul(d,c.callback),null):ul(d)};N.prototype.getThumbId=N.prototype.ud;
N.prototype.Ze=function(a,b){var c=R(N.prototype.Ze,arguments);if(c.callback)this.ud(c.params,function(d,e){var f="";if(void 0===e)try{f=xl(d)}catch(g){e=String(g.message)}c.callback(f,e)});else return xl(this.ud(c.params))};N.prototype.getThumbURL=N.prototype.Ze;var Mn=function(a,b,c){var d=R(Mn,arguments);return Kn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};N.rgb=Mn;var Nn=function(a){return Kn(Array.prototype.slice.call(arguments),null)};N.cat=Nn;
var Kn=function(a,b){if(0==a.length)return Q("Image.constant",[]);for(var c=new N(a[0]),d=1;d<a.length;d++)c=Q("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
N.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||um(b[0])||tm(b[0])){for(var d=0;d<b.length;d++)if(!(um(b[d])||tm(b[d])||b[d]instanceof O))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Dm("Image.select",c)};N.prototype.select=N.prototype.select;
N.prototype.i=function(a,b){var c=R(N.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 N(f[g])}var h=Q("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new xm;c.encode=function(n){return h.encode(n)};c.Pe=function(n,p){return Nj(n(h),p)};c.Y=function(){return{name:"",args:Xa(d,function(n){return{name:n,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
N.prototype.expression=N.prototype.i;N.prototype.clip=function(a){try{a=new U(a)}catch(b){}return Q("Image.clip",this,a)};N.prototype.clip=N.prototype.clip;N.prototype.Fh=function(a){var b=1!=arguments.length||um(arguments[0])?ib(arguments):arguments[0];return Q("Image.rename",this,b)};N.prototype.rename=N.prototype.Fh;N.prototype.name=function(){return"Image"};var On=function(a){if(this instanceof On){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof On)return a}else return pm(On,arguments);Pn();if(Array.isArray(a))O.call(this,null,null),this.Tc=a;else if(a instanceof O)O.call(this,a.D,a.args,a.R),this.Tc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};y(On,O);x("ee.List",On);var Qn=!1,Pn=function(){Qn||(Km(On,"List","List"),Qn=!0)};
On.prototype.encode=function(a){return Array.isArray(this.Tc)?Xa(this.Tc,function(b){return a(b)}):On.G.encode.call(this,a)};On.prototype.oa=function(a){return Array.isArray(this.Tc)?Jj(a(this.Tc)):On.G.oa.call(this,a)};On.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return pm(Y,arguments);if(a instanceof Y)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");Rn();a instanceof U&&(a=new X(a));a instanceof X&&(a=[a]);if(um(a)){var c={tableId:a};b&&(c.geometryColumn=b);W.call(this,new P("Collection.loadTable"),c)}else if(Array.isArray(a))W.call(this,new P("Collection"),{features:Xa(a,function(d){return new X(d)})});else if(a instanceof On)W.call(this,
new P("Collection"),{features:a});else if(a instanceof O)W.call(this,a.D,a.args,a.R);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};y(Y,W);x("ee.FeatureCollection",Y);var Sn=!1,Rn=function(){Sn||(Km(Y,"FeatureCollection","FeatureCollection"),Sn=!0)};Y.prototype.getMap=function(a,b){var c=R(Y.prototype.getMap,arguments),d=Dm("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(void 0,c.callback);else return d.getMap()};
Y.prototype.getMap=Y.prototype.getMap;Y.prototype.V=function(a){return Y.G.V.call(this,a)};Y.prototype.getInfo=Y.prototype.V;
Y.prototype.lb=function(a,b,c,d){var e=R(Y.prototype.lb,arguments),f={};f.table=M?this:this.W();e.format&&(f.format=e.format.toUpperCase());e.filename&&!M&&(f.filename=e.filename);if(e.selectors){var g=e.selectors;M?("string"===typeof g&&(g=g.split(",")),ya(g)&&(f.table=this.select(g))):(ya(g)&&(g=g.join(",")),f.selectors=g)}if(e.callback)Bl(f,function(h,n){h?e.callback(Cl(h)):e.callback(null,n)});else return Cl(Bl(f))};Y.prototype.getDownloadURL=Y.prototype.lb;
Y.prototype.select=function(a,b,c){if(um(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(f){return f.select(d)})}var e=R(Y.prototype.select,arguments);return this.map(function(f){return f.select(e)})};Y.prototype.select=Y.prototype.select;Y.prototype.name=function(){return"FeatureCollection"};Y.prototype.elementType=function(){return X};var Z=function(a){if(!(this instanceof Z))return pm(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Tn();a instanceof N&&(a=[a]);if(um(a))W.call(this,new P("ImageCollection.load"),{id:a});else if(Array.isArray(a))W.call(this,new P("ImageCollection.fromImages"),{images:Xa(a,function(b){return new N(b)})});else if(a instanceof On)W.call(this,new P("ImageCollection.fromImages"),{images:a});
else if(a instanceof O)W.call(this,a.D,a.args,a.R);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};y(Z,W);x("ee.ImageCollection",Z);var Un=!1,Tn=function(){Un||(Km(Z,"ImageCollection","ImageCollection"),Km(Z,"reduce","ImageCollection"),Un=!0)};Z.prototype.Ye=function(a,b){var c=R(Z.prototype.Ye,arguments);return Vn(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.Ye;
Z.prototype.$e=function(a,b){var c=R(Z.prototype.$e,arguments);return Vn(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.$e;
var Vn=function(a,b,c,d){var e={};a=a.map(function(h){h=En(h,b.params);return Fn(h,b.params,e)});var f={},g=Hn(e,f);f.imageCollection=a.map(function(h){g.image=h;return Dm("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!Ya(c,function(h){return h.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=ul;if(M)switch(d){case "video":c=vl;break;case "filmstrip":c=wl}if(b.callback)c(f,function(h,n){var p=
"";if(void 0===n)try{p=xl(h)}catch(t){n=String(t.message)}b.callback(p,n)});else return xl(c(f))};Z.prototype.getMap=function(a,b){var c=R(Z.prototype.getMap,arguments),d=Q("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Z.prototype.getMap=Z.prototype.getMap;Z.prototype.V=function(a){return Z.G.V.call(this,a)};Z.prototype.getInfo=Z.prototype.V;
Z.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Z.prototype.select=Z.prototype.select;Z.prototype.first=function(){return new N(Q("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return N};var Wn=function(a){this.He=a;this.id=null},Yn=function(a){var b={element:Xn(a)};Object.assign(b,a);b=Cb(b,function(c){return null!=c});return new Wn(b)};
Wn.prototype.start=function(a,b){var c=this;A(this.He,"Task config must be specified for tasks to be started.");if(a){var d=function(){Qa(c.id);Sl(c.id,c.He,function(e,f){f?b(f):a()})};this.id?d():Dl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||Dl(1)[0],Qa(this.id,"Failed to obtain task ID."),Sl(this.id,this.He)};Wn.prototype.start=Wn.prototype.start;var Zn=function(a,b,c,d,e,f,g,h,n,p){var t=R(Zn,arguments);t=$n(t,"ASSET","EXPORT_IMAGE");return Yn(t)};
x("ee.batch.Export.image.toAsset",Zn);var ao=function(a,b,c,d,e,f,g,h,n,p,t,C,E,aa,Fa){var T=R(ao,arguments);T=$n(T,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Yn(T)};x("ee.batch.Export.image.toCloudStorage",ao);var bo=function(a,b,c,d,e,f,g,h,n,p,t,C,E,aa,Fa){var T=R(bo,arguments);T=$n(T,"DRIVE","EXPORT_IMAGE");return Yn(T)};x("ee.batch.Export.image.toDrive",bo);var co=function(a,b,c,d,e,f,g,h,n,p,t,C){var E=R(co,arguments);E=$n(E,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Yn(E)};
x("ee.batch.Export.map.toCloudStorage",co);var eo=function(a,b,c,d,e,f){var g=R(eo,arguments);g=$n(g,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Yn(g)};x("ee.batch.Export.table.toCloudStorage",eo);var fo=function(a,b,c,d,e,f){var g=R(fo,arguments);g.type="EXPORT_FEATURES";g=$n(g,"DRIVE","EXPORT_FEATURES");return Yn(g)};x("ee.batch.Export.table.toDrive",fo);var go=function(a,b,c){var d=R(go,arguments);d=$n(d,"ASSET","EXPORT_FEATURES");return Yn(d)};x("ee.batch.Export.table.toAsset",go);
var ho=function(a,b,c,d,e,f,g,h,n,p,t,C){var E=R(ho,arguments);E=$n(E,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Yn(E)};x("ee.batch.Export.video.toCloudStorage",ho);var io=function(a,b,c,d,e,f,g,h,n,p,t,C){var E=R(io,arguments);E=$n(E,"DRIVE","EXPORT_VIDEO");return Yn(E)};x("ee.batch.Export.video.toDrive",io);var jo=function(a,b,c,d,e,f,g,h,n,p,t,C,E,aa,Fa,T,db,Hb,eq,fq){var Oi=R(jo,arguments);Oi=$n(Oi,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Yn(Oi)};
x("ee.batch.Export.videoMap.toCloudStorage",jo);
var Xn=function(a){var b=function(d){return d in a},c=ko.find(b);A(1===$a(ko,b),'Expected a single "image" or "collection" key.');b=a[c];if(!(b instanceof N||b instanceof Y||b instanceof Z||b instanceof S))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection or ee.Element.");delete a[c];return b},$n=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=lo(e,a),delete e.formatOptions,Object.assign(e,a));e=mo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_TILES":e=
b=mo(e,b);break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());e=mo(e,b);break;case "EXPORT_VIDEO":e=no(e);e=mo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=no(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=mo(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof
U)b=b.dd();else if("string"===typeof b)try{b=Sa(JSON.parse(b))}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}if(!(u(b)&&"type"in b))try{new an(b)}catch(f){try{new dn(b)}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");
}}b=li(b);d.region=b}return e},mo=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=a.assetId||"";break;default:b=xa(a.folder);if(!cb(["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},
oo={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},po={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},no=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;a.fileFormat="MP4";return a},lo=function(a,b){var c=a.formatOptions;if(null==c)return{};if(Object.keys(a).some(function(n){return null!==c&&n in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");
a=po[b];for(var d=oo[b],e={},f=m(Object.entries(c)),g=f.next();!g.done;g=f.next()){var h=m(g.value);g=h.next().value;h=h.next().value;if(!cb(d,g))throw Error('"'+g+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+g[0].toUpperCase()+g.substring(1)]=Array.isArray(h)?h.join():h}return e},ko=["image","collection"];var qo=function(a){if(!(this instanceof qo))return pm(qo,arguments);if(a instanceof qo)return a;ro();if("number"===typeof a)O.call(this,null,null),this.Vc=a;else if(a instanceof O)O.call(this,a.D,a.args,a.R),this.Vc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};y(qo,O);x("ee.Number",qo);var so=!1,ro=function(){so||(Km(qo,"Number","Number"),so=!0)};qo.prototype.encode=function(a){return"number"===typeof this.Vc?this.Vc:qo.G.encode.call(this,a)};
qo.prototype.oa=function(a){return"number"===typeof this.Vc?Jj(a(this.Vc)):qo.G.oa.call(this,a)};qo.prototype.name=function(){return"Number"};var to=function(a){if(!(this instanceof to))return pm(to,arguments);if(a instanceof to)return a;uo();if("string"===typeof a)O.call(this,null,null),this.bd=a;else if(a instanceof O)this.bd=null,a.D&&"String"==a.D.Y().returns?O.call(this,a.D,a.args,a.R):O.call(this,new P("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};y(to,O);x("ee.String",to);var vo=!1,uo=function(){vo||(Km(to,"String","String"),vo=!0)};
to.prototype.encode=function(a){return"string"===typeof this.bd?this.bd:to.G.encode.call(this,a)};to.prototype.oa=function(a){return"string"===typeof this.bd?Jj(a(this.bd)):to.G.oa.call(this,a)};to.prototype.name=function(){return"String"};var wo=function(a,b){if(!(this instanceof wo))return pm(wo,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(xo(g in rm?rm[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Pa=yo(a,c,b);this.mg=b.apply(null,c)};y(wo,xm);x("ee.CustomFunction",wo);wo.prototype.encode=function(a){return{type:"Function",argumentNames:Xa(this.Pa.args,function(b){return b.name}),body:a(this.mg)}};
wo.prototype.oa=function(a){return Oj(this.Pa.args.map(function(b){return b.name}),a(this.mg))};wo.prototype.Pe=function(a,b){return Nj(a(this),b)};wo.prototype.Y=function(){return this.Pa};
var xo=function(a,b){a=a||Object;if(!(a.prototype instanceof O))if(a&&a!=Object)if(a==String)a=to;else if(a==Number)a=qo;else if(a==Array)a=r.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=O;var c=function(d){this.args=this.D=null;this.R=d};c.prototype=a.prototype;return new c(b)},zo=function(a,b){b={name:"",returns:"Object",args:Xa(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof O?c.prototype.name.call(null):c==Number?
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new wo(b,a)},yo=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].R&&d.push(e);if(0==d.length)return a;var f=function(n){var p=0;u(n)&&!v(n)&&("Function"==n.type&&p++,Bb(n,function(t){p+=f(t)}));return p};e=Dk(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].R=h;a.args[g].name=h}return a};var Ao=function(a,b){if(!(this instanceof Ao))return pm(Ao,arguments);if(a instanceof Ao)return a;Bo();var c=R(Ao,arguments);a=c.date;c=c.tz;var d=new P("Date"),e={},f=null;if(um(a)){if(e.value=a,c)if(um(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(tm(a))e.value=a;else if(za(a))e.value=Math.floor(a.getTime());else if(a instanceof O)a.D&&"Date"==a.D.Y().returns?(d=a.D,e=a.args,f=a.R):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
a);O.call(this,d,e,f)};y(Ao,O);x("ee.Date",Ao);var Co=!1,Bo=function(){Co||(Km(Ao,"Date","Date"),Co=!0)};Ao.prototype.name=function(){return"Date"};x("ee.Deserializer",function(){});var Eo=function(a){return Do(JSON.parse(a))};x("ee.Deserializer.fromJSON",Eo);var Do=function(a){var b={};if(u(a)&&"CompoundValue"==a.type){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],f=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=Fo(f,b)}a=a.value}return Fo(a,b)};x("ee.Deserializer.decode",Do);
var Fo=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Xa(a,function(f){return Fo(f,b)});if(!u(a)||v(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 xo(Object,c);case "Date":c=a.value;if("number"!==typeof c)throw Error("Invalid date value: "+
c);return new Ao(c/1E3);case "Bytes":return c=new Hj,c.encode=function(){return a},c;case "Invocation":c="functionName"in a?Cm(a.functionName):Fo(a["function"],b);var d=Db(a.arguments,function(f){return Fo(f,b)});if(c instanceof xm)return c.apply(d);if(c instanceof O)return new O(c,d);throw Error("Invalid function value: "+a["function"]);case "Dictionary":return Db(a.value,function(f){return Fo(f,b)});case "Function":var e=Fo(a.body,b);c={name:"",args:Xa(a.argumentNames,function(f){return{name:f,
type:"Object",optional:!1}}),returns:"Object"};return new wo(c,function(){return e});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new U(a);case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}};var Go=function(a){if(!(this instanceof Go))return pm(Go,arguments);if(a instanceof Go)return a;Ho();vm(a)?(O.call(this,null,null),this.Fc=a):(a instanceof O&&a.D&&"Dictionary"==a.D.Y().returns?O.call(this,a.D,a.args,a.R):O.call(this,new P("Dictionary"),{input:a},null),this.Fc=null)};y(Go,O);x("ee.Dictionary",Go);var Io=!1,Ho=function(){Io||(Km(Go,"Dictionary","Dictionary"),Io=!0)};Go.prototype.encode=function(a){return null!==this.Fc?a(this.Fc):Go.G.encode.call(this,a)};
Go.prototype.oa=function(a){return null!==this.Fc?Jj(a(this.Fc)):Go.G.oa.call(this,a)};Go.prototype.name=function(){return"Dictionary"};var Jo={};x("ee.Terrain",Jo);Jo.ff=!1;Jo.Jj=function(){Jo.ff||(Km(Jo,"Terrain","Terrain"),Jo.ff=!0)};Jo.reset=function(){Lm(Jo);Jo.ff=!1};var Po=function(a,b,c,d,e){if("ready"!=Ko||a||b){var f=null!=c;if(d)if(f)Lo.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Ko&&f)Mo.push(c);else if(Ko="loading",bj(a,b,e),f)Mo.push(c),Gm(No,Oo);else try{Gm(),No()}catch(g){throw Oo(g),g;}}else c&&c()};x("ee.initialize",Po);
var So=function(){Ko="not_ready";wj=vj=jj=null;uj=!1;Em=null;Fm={};Lm(Ao);Co=!1;Lm(Go);Io=!1;Lm(S);Sm=!1;Lm(N);Ln=!1;Lm(X);Dn=!1;Lm(W);Bn=!1;Lm(Z);Un=!1;Lm(Y);Sn=!1;Lm(V);mn=!1;Lm(U);Vm=!1;Lm(On);Qn=!1;Lm(qo);so=!1;Lm(to);vo=!1;Jo.reset();for(var a=r.ee,b=0;b<Qo.length;b++){var c=Qo[b];Lm(a[c]);delete a[c]}Qo=[];rm=a;a=Ro;for(var d in a)delete a[d]};x("ee.reset",So);var To={jk:"not_ready",LOADING:"loading",kk:"ready"};x("ee.InitState",To);x("ee.InitState.NOT_READY","not_ready");
x("ee.InitState.LOADING","loading");x("ee.InitState.READY","ready");var Ko="not_ready",Mo=[],Lo=[];x("ee.TILE_SIZE",256);var Qo=[],Ro={};x("ee.Algorithms",Ro);var Uo=function(a,b){"string"===typeof a&&(a=new P(a));return xm.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};x("ee.call",Uo);var Vo=function(a,b){"string"===typeof a&&(a=new P(a));return a.apply(b)};x("ee.apply",Vo);
var No=function(){if("loading"==Ko){try{Bo();Ho();Rm();Jn();Cn();An();Tn();Rn();ln();Tm();Pn();ro();uo();Jo.Jj();var a=Hm(),b={},c={},d;for(d in a){b[-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d]=!0;var e=a[d].returns.replace(/<.*>/,"");c[e]=!0}var f=r.ee,g;for(g in b)g in c&&!(g in f)&&(f[g]=Wo(g),Qo.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,Fm[g]=!0):f[g].signature={});rm=f;Xo()}catch(h){Oo(h);return}Ko="ready";for(Lo=[];0<Mo.length;)Mo.shift()()}},Oo=function(a){if("loading"==
Ko)for(Ko="not_ready",Mo=[];0<Lo.length;)Lo.shift()(a)},Xo=function(){var a=Im();Gb(a).sort().forEach(function(b){var c=a[b],d=c.Y();if(!d.hidden){b=b.split(".");var e=Ro;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=kb(b,1)}f=function(g){return Bm(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=w(c.toString,c);e[b[0]]=f}})},Wo=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),f=1==e.length;if(f&&e[0]instanceof
d)return e[0];if(!(this instanceof d))return pm(d,e);d=Jm(a);var g=!(e[0]instanceof O),h=!1;d&&(f?g?h=!0:e[0].D&&e[0].D.Y().returns==d.Y().returns||(h=!0):h=!0);if(h)e=wm(e,d.Y())?e[0]:zm(d,e),O.call(this,d,Am(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];O.call(this,e.D,e.args,e.R)}};y(b,O);b.prototype.name=function(){return a};Km(b,a,a);return b};
ym=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new N(a);case "Feature":return a instanceof W?Q("Feature",Q("Collection.geometry",a)):new X(a);case "Element":if(a instanceof S)return a;if(a instanceof U)return new X(a);if(a instanceof O)return new S(a.D,a.args,a.R);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?Q("Collection.geometry",a):new U(a);case "FeatureCollection":case "Collection":return a instanceof W?
a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new V(a);case "Algorithm":if("string"===typeof a)return new P(a);if(v(a)){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return zo(a,c)}if(a instanceof Hj)return a;throw Error("Argument is not a function: "+a);case "String":return um(a)||a instanceof to||a instanceof O?new to(a):a;case "Dictionary":return vm(a)?a:new Go(a);case "List":return new On(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new qo(a);
default:if(b in c){d=Jm(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 Yo=function(a,b,c){Dd.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.Pg=new rd;this.Og=new rd};q(Yo,Dd);Yo.prototype.getTile=function(a,b){var c=Ed(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.pb,this.token].join("/");this.rb.push(c);this.pb+=1;var d=gh("DIV");Zo(this,b,a,c,d);$o(this);return d};
var Zo=function(a,b,c,d,e){var f=Ji(Hi);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=w(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.Pg.set(c,g),this.Og.set(c,e),gb(this.rb,d),$o(this);else throw this.Xf.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},$o=function(a){a.dispatchEvent(new Fd(a.rb.length))};Yo.prototype.F=function(){this.Og=this.Pg=null;Dd.prototype.F.call(this)};
x("ee.FloatTileOverlay",Yo);var ap=function(){this.Nd=new Map};ap.prototype.clear=function(){this.Nd.clear()};var bp=function(a,b){a.Nd.has(b)||a.Nd.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.Nd.get(b)};var cp=function(a){Ia.call(this);this.Lb=a;this.H={}};y(cp,Ia);var dp=[];cp.prototype.Na=function(a,b,c,d){Array.isArray(b)||(b&&(dp[0]=b.toString()),b=dp);for(var e=0;e<b.length;e++){var f=Zc(a,b[e],c||this.handleEvent,d||!1,this.Lb||this);if(!f)break;this.H[f.key]=f}return this};cp.prototype.Uc=function(a,b,c,d){return ep(this,a,b,c,d)};
var ep=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)ep(a,b,c[g],d,e,f);else{b=Yc(b,c,d||a.handleEvent,e,f||a.Lb||a);if(!b)return a;a.H[b.key]=b}return a};cp.prototype.Vd=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Vd(a,b[f],c,d,e);else c=c||this.handleEvent,d=u(d)?!!d.capture:!!d,e=e||this.Lb||this,c=$c(c),d=!!d,b=Oc(a)?a.Ic(b,c,d,e):a?(a=bd(a))?a.Ic(b,c,d,e):null:null,b&&(gd(b),delete this.H[b.key])};
cp.prototype.$c=function(){Bb(this.H,function(a,b){this.H.hasOwnProperty(b)&&gd(a)},this);this.H={}};cp.prototype.F=function(){cp.G.F.call(this);this.$c()};cp.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var gp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Jb[a.name]):(this.code=a=Pa(a.code),this.name=fp(a));Ka.call(this,mc("%s %s",this.name,b))};y(gp,Ka);var fp=function(a){var b=Kb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Jb={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 hp=function(a,b){z.call(this,a.type,b);this.Ba=a};y(hp,z);var ip=function(){kd.call(this);this.$=new FileReader;this.$.onloadstart=w(this.dc,this);this.$.onprogress=w(this.dc,this);this.$.onload=w(this.dc,this);this.$.onabort=w(this.dc,this);this.$.onerror=w(this.dc,this);this.$.onloadend=w(this.dc,this)};y(ip,kd);k=ip.prototype;k.abort=function(){try{this.$.abort()}catch(a){throw new gp(a,"aborting read");}};k.mb=function(){return this.$.readyState};k.getError=function(){return this.$.error&&new gp(this.$.error,"reading file")};
k.dc=function(a){this.dispatchEvent(new hp(a,this))};k.F=function(){ip.G.F.call(this);delete this.$};k.readAsBinaryString=function(a){this.$.readAsBinaryString(a)};k.readAsArrayBuffer=function(a){this.$.readAsArrayBuffer(a)};k.readAsText=function(a,b){this.$.readAsText(a,b)};var jp=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};k=jp.prototype;k.clone=function(){return new jp(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 jp?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){u(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};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 bh?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(Pa(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 kp=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};k=kp.prototype;k.clone=function(){return new kp(this.left,this.top,this.width,this.height)};k.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
k.gh=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.Oe=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 kp(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 kp(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);h<f&&(b.push(new kp(this.left,
h,this.width,f-h)),d=h-c);a.left>this.left&&b.push(new kp(this.left,c,a.left-this.left,d));g<e&&b.push(new kp(g,c,e-g,d));a=b}else a=[this.clone()];return a};k.contains=function(a){return a instanceof bh?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 bh(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 bh?(this.left+=a.x,this.top+=a.y):(this.left+=Pa(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 lp=function(a,b){A(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};var mp=function(a,b){kd.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.Md=new ap;this.qb=new rd;this.pb=0;this.Wf=a;this.ab=new cp(this);this.projection=null;this.radius=0;this.alt=null};y(mp,kd);x("ee.layers.AbstractOverlay",mp);
mp.prototype.ue=function(a){return Zc(this,"tile-load",a)};mp.prototype.addTileCallback=mp.prototype.ue;mp.prototype.Gf=function(a){gd(a)};mp.prototype.removeTileCallback=mp.prototype.Gf;k=mp.prototype;k.Jc=function(){return np(this,"throttled")+np(this,"loading")+np(this,"new")};k.setOpacity=function(a){this.opacity=a;this.qb.forEach(function(b){lp(b.na,this.opacity)},this)};k.getStats=function(){return this.Md};
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.pb++].join("-"),this.Wf.Wg()].join("-");b=this.yg(d,b,c,a);b.tileSize=this.tileSize;lp(b.na,this.opacity);this.qb.set(a,b);op(this,b);this.dispatchEvent(new pp(this.Jc()));this.Wf.lh(b,(new Date).getTime()/1E3);return b.na};k.releaseTile=function(a){var b=this.qb.get(a.id);this.qb.remove(a.id);b&&(b.abort(),Ja(b))};
var op=function(a,b){a.ab.Na(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.Oj,d=(new Date).getTime();bp(this.Md,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new qp(this.Jc()));break;case "throttled":bp(this.Md,b.zoom).throttleCount++;this.dispatchEvent(new rp(b.Fa));break;case "failed":bp(this.Md,b.zoom).errorCount++;this.dispatchEvent(new sp(b.Fa,b.Cj));break;case "aborted":this.dispatchEvent(new tp(this.Jc()))}})};
mp.prototype.F=function(){mp.G.F.call(this);this.qb.forEach(Ja);this.qb.clear();this.qb=null;Ja(this.ab);this.Wf=this.ab=null};var np=function(a,b){return $a(a.qb.S(),function(c){return c.getStatus()==b})},qp=function(){z.call(this,"tile-load")};y(qp,z);var pp=function(){z.call(this,"tile-start")};y(pp,z);var rp=function(){z.call(this,"tile-throttle")};y(rp,z);var sp=function(a,b){z.call(this,"tile-fail");this.errorMessage=b};y(sp,z);var tp=function(){z.call(this,"tile-abort")};y(tp,z);
var up=function(a,b,c,d){kd.call(this);this.cc=a;this.zoom=b;this.na=c.createElement("div");this.na.id=d;this.Qj=5;this.Id=function(){};this.Od="new";this.Ih=0;this.jf=!1};y(up,kd);
var wp=function(a){if(!a.jf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");vp(a,"loading");a.Oj=(new Date).getTime();a.Ra=new Ki;a.Ra.oc="blob";a.Ra.Na("complete",function(){var b=Yi(this.Ra),c=this.Ra.getStatus();429==c&&vp(this,"throttled");if(Di(c)){var d={};Bb(Zi(this.Ra),function(f,g){d[g.toLowerCase()]=f});this.ck=d;this.Oh=b;this.Hc()}else if(b){var e=new ip;e.Na("loadend",function(){this.ad(e.$.result)},void 0,this);
e.readAsText(b)}else this.ad("Failed to load tile.")},!1,a);a.Ra.Uc("ready",Ga(Ja,a.Ra));a.Fa&&a.Fa.endsWith("&profiling=1")&&M&&(a.Fa=a.Fa.replace("&profiling=1",""),a.Ra.headers.set("X-Earth-Engine-Computation-Profile","1"));a.Ra.send(a.Fa,"GET")};k=up.prototype;k.Hc=function(){this.Id(this);vp(this,"loaded")};k.Bc=function(){Ja(this.Ra)};
k.ad=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.Ih>=this.Qj?(this.Cj=b(a),vp(this,"failed")):(this.Bc(),setTimeout(w(function(){this.La||(this.jf=!0,wp(this),this.jf=!1)},this),1E3*Math.pow(2,this.Ih++)))};k.abort=function(){this.Bc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&vp(this,this.Od in xp?"removed":"aborted")};k.getStatus=function(){return this.Od};
var vp=function(a,b){a.Od=b;a.dispatchEvent("status-changed")},xp={aborted:!0,failed:!0,loaded:!0,removed:!0};up.prototype.F=function(){up.G.F.call(this);this.Bc();this.na.remove();this.Id=null};var yp=function(){Ia.call(this)};y(yp,Ia);var zp=function(a,b){mp.call(this,a,b);this.og=new rd;this.Ig=new rd};q(zp,mp);zp.prototype.yg=function(a,b,c,d){var e=new Ap(a,b,c,d);this.ab.Na(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.og.set(a,new Float32Array(e.wj)),this.Ig.set(a,e.na))});return e};zp.prototype.F=function(){mp.prototype.F.call(this);this.Ig=this.og=null};x("ee.layers.BinaryOverlay",zp);var Ap=function(a,b,c,d){up.call(this,a,b,c,d)};q(Ap,up);
Ap.prototype.Hc=function(){var a=new ip;a.Na("loadend",function(){this.wj=a.$.result;up.prototype.Hc.call(this)},void 0,this);a.readAsArrayBuffer(this.Oh)};var Bp=function(a){kd.call(this);this.Oc={};this.Nc={};this.Lb=new cp(this);this.N=a};y(Bp,kd);var Cp=[tc&&!Dc("11")?"readystatechange":"load","abort","error"],Dp=function(a,b,c){(c="string"===typeof c?c:c.src)&&(a.Oc[b]={src:c,wg:null})},Ep=function(a,b){delete a.Oc[b];var c=a.Nc[b];c&&(delete a.Nc[b],a.Lb.Vd(c,Cp,a.uh),Lb(a.Nc)&&Lb(a.Oc)&&a.dispatchEvent("complete"))};
Bp.prototype.start=function(){var a=this.Oc;Va(Gb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.La)){if(this.N){var d=this.N;d=(d?new nh(mh(d)):La||(La=new nh)).Aj("IMG")}else d=new Image;c.wg&&(d.crossOrigin=c.wg);this.Lb.Na(d,Cp,this.uh);this.Nc[b]=d;d.id=b;d.src=c.src}},this)};
Bp.prototype.uh=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||Ep(this,b.id)}};Bp.prototype.F=function(){delete this.Oc;delete this.Nc;Ja(this.Lb);Bp.G.F.call(this)};var Fp=function(a,b){mp.call(this,a,b)};q(Fp,mp);Fp.prototype.yg=function(a,b,c,d){return new Gp(a,b,c,d)};x("ee.layers.ImageOverlay",Fp);var Gp=function(a,b,c,d){up.call(this,a,b,c,d);this.Id=Hp;this.eh=this.da=this.zd=null;this.Wc=""};q(Gp,up);
Gp.prototype.Hc=function(){try{var a=ic(this.Oh);this.Wc=gc(a);var b="about:invalid#zClosurez"!==this.Wc?this.Wc:this.Fa}catch(c){b=this.Fa}this.da=new Bp;Dp(this.da,this.na.id+"-image",b);this.eh=Yc(this.da,Ip,function(c){"load"==c.type?(this.zd=c.target,up.prototype.Hc.call(this)):this.ad()},void 0,this);this.da.start()};Gp.prototype.Bc=function(){up.prototype.Bc.call(this);this.da&&(gd(this.eh),Ja(this.da))};Gp.prototype.F=function(){up.prototype.F.call(this);this.Wc&&URL.revokeObjectURL(this.Wc)};
var Hp=function(a){a.na.appendChild(a.zd)},Ip=["load","abort","error"];var Jp=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 Kp=function(a,b,c,d){Ia.call(this);this.ng=a;this.bb=b;this.Uf=d||"";this.Ed=c};y(Kp,yp);x("ee.layers.CloudStorageTileSource",Kp);
Kp.prototype.lh=function(a){if(a.zoom<=this.Ed)a.Fa=this.vd(a.cc,a.zoom);else{var b=a.zoom-this.Ed,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.cc.x/c),Math.floor(a.cc.y/c));a.Fa=this.vd(c,a.zoom-b);a.Id=Ga(Lp,this.Ed)}var d=w(a.ad,a);a.ad=w(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?vp(a,"loaded"):d(e)},a);wp(a)};Kp.prototype.Wg=function(){return[this.ng,this.bb,this.Ed,this.Uf].join("-")};
Kp.prototype.vd=function(a,b){a=Jp("https://storage.googleapis.com",this.ng,this.bb,String(b),String(a.x),String(a.y));this.Uf&&(a+=this.Uf);return a};
var Lp=function(a,b){if(!b.zd)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.na.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.na.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.zd,c/a*(b.cc.x%a),c/a*(b.cc.y%a),c/a,c/a,0,0,c,c)};var Mp=function(){this.Ca=[];this.Ja=[]};k=Mp.prototype;k.enqueue=function(a){this.Ja.push(a)};k.Ec=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 cb(this.Ca,a)||cb(this.Ja,a)};
k.remove=function(a){var b=this.Ca;var c=Ua(b,a);0<=c?(fb(b,c),b=!0):b=!1;return b||gb(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 Np=function(a,b){Ia.call(this);this.rh=a||0;this.Dd=b||10;if(this.rh>this.Dd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ma=new Mp;this.nb=new Ad;this.delay=0;this.kf=null;this.jd()};y(Np,Ia);Np.prototype.Kc=function(){var a=Ha();if(!(null!=this.kf&&a-this.kf<this.delay)){for(var b;0<this.Ma.L()&&(b=this.Ma.Ec(),!this.uf(b));)this.jd();!b&&this.L()<this.Dd&&(b=this.Ie());b&&(this.kf=a,this.nb.add(b));return b}};
var Op=function(a,b){return a.nb.remove(b)?(a.te(b),!0):!1};k=Np.prototype;k.te=function(a){this.nb.remove(a);this.uf(a)&&this.L()<this.Dd?this.Ma.enqueue(a):this.pd(a)};k.jd=function(){for(var a=this.Ma;this.L()<this.rh;)a.enqueue(this.Ie());for(;this.L()>this.Dd&&0<this.Ma.L();)this.pd(a.Ec())};k.Ie=function(){return{}};k.pd=function(a){if("function"==typeof a.Ka)a.Ka();else for(var b in a)a[b]=null};k.uf=function(a){return"function"==typeof a.yj?a.yj():!0};
k.contains=function(a){return this.Ma.contains(a)||this.nb.contains(a)};k.L=function(){return this.Ma.L()+this.nb.L()};k.isEmpty=function(){return this.Ma.isEmpty()&&this.nb.isEmpty()};k.F=function(){Np.G.F.call(this);if(0<this.nb.L())throw Error("[goog.structs.Pool] Objects not released");delete this.nb;for(var a=this.Ma;!a.isEmpty();)this.pd(a.Ec());delete this.Ma};var Pp=function(a,b){this.jh=a;this.Yd=b};Pp.prototype.getKey=function(){return this.jh};Pp.prototype.clone=function(){return new Pp(this.jh,this.Yd)};var Qp=function(a){this.va=[];if(a)a:{if(a instanceof Qp){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 Pp(b[d],a[d]));break a}}else b=Gb(a),a=Fb(a);for(d=0;d<b.length;d++)Rp(this,b[d],a[d])}},Rp=function(a,b,c){var d=a.va;d.push(new Pp(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=Qp.prototype;
k.remove=function(){var a=this.va,b=a.length,c=a[0];if(!(0>=b)){if(1==b)eb(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.Yd}};k.S=function(){for(var a=this.va,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Yd);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.Cc=function(a){return Ya(this.va,function(b){return b.Yd==a})};k.ib=function(a){return Ya(this.va,function(b){return b.getKey()==a})};k.clone=function(){return new Qp(this)};k.L=function(){return this.va.length};k.isEmpty=function(){return 0==this.va.length};k.clear=function(){eb(this.va)};var Sp=function(){Qp.call(this)};y(Sp,Qp);Sp.prototype.enqueue=function(a,b){Rp(this,a,b)};Sp.prototype.Ec=function(){return this.remove()};var Tp=function(a,b){this.Gg=void 0;this.Kd=new Sp;Np.call(this,a,b)};y(Tp,Np);k=Tp.prototype;k.Kc=function(a,b){if(!a)return(a=Tp.G.Kc.call(this))&&this.delay&&(this.Gg=r.setTimeout(w(this.xd,this),this.delay)),a;this.Kd.enqueue(void 0!==b?b:100,a);this.xd()};k.xd=function(){for(var a=this.Kd;0<a.L();){var b=this.Kc();if(b)a.Ec().apply(this,[b]);else break}};k.te=function(a){Tp.G.te.call(this,a);this.xd()};k.jd=function(){Tp.G.jd.call(this);this.xd()};
k.F=function(){Tp.G.F.call(this);r.clearTimeout(this.Gg);this.Kd.clear();this.Kd=null};var Up=function(a,b){Ia.call(this);this.lf=a;this.qa=b||null};y(Up,yp);x("ee.layers.EarthEngineTileSource",Up);Up.prototype.lh=function(a,b){var c=Zc(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.ck["x-earth-engine-computation-profile"];this.qa&&e&&this.qa.tj(a.na.id,e);break;case "failed":case "aborted":this.qa&&""!==a.na.id&&this.qa.Xj(a.na.id),gd(c)}},void 0,this);a.Fa=this.vd(a.cc,a.zoom);var d=w(this.af,this,a);Vp().Kc(d,b)};
Up.prototype.Wg=function(){return this.lf.mapid+"-"+this.lf.token};Up.prototype.af=function(a,b){var c=Vp();if(a.La||"aborted"==a.getStatus())Op(c,b);else{var d=Zc(a,"status-changed",function(){a.Od in xp&&(gd(d),Op(c,b))});wp(a)}};Up.prototype.vd=function(a,b){a=sl(this.lf,a.x,a.y,b);return this.qa&&this.qa.isEnabled()?a+"&profiling=1":a};var Vp=function(){Wp||(Wp=new Tp(0,4));return Wp},Wp=null;var Yp=function(){kd.call(this);this.Sd=new Xp(0,60);this.nc=new rd};y(Yp,kd);x("ee.MapTileManager",Yp);Yp.gf=void 0;Yp.Vg=function(){return Yp.gf?Yp.gf:Yp.gf=new Yp};Yp.prototype.send=function(a,b,c,d,e){if(this.nc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Zp(a,b,d,w(this.Eh,this),void 0!==e?e:1);this.nc.set(a,b);a=w(this.af,this,b);this.Sd.Kc(a,c);return b};Yp.prototype.abort=function(a){if(a=this.nc.get(a))a.ac||(a.ac=!0,a.Ba=new z("abort")),this.Eh(a)};
Yp.prototype.af=function(a,b){if(a.da||a.ac)$p(this,b);else if(a.Xh=b,b.setActive(!0),b=new Bp,a.da=b,!a.retry())throw Error("Cannot dispatch first request!");};Yp.prototype.Eh=function(a){this.nc.remove(a.getId());a.da&&($p(this,a.Xh),a.da.Ka());a.bf&&a.bf(a.Ba,a.Ch)};var $p=function(a,b){b.setActive(!1);if(!Op(a.Sd,b))throw Error("Object not released");};Yp.prototype.F=function(){Yp.G.F.call(this);this.Sd.Ka();this.Sd=null;var a=this.nc;Va(a.S(),function(b){b.Ka()});a.clear();this.nc=null};
var Zp=function(a,b,c,d,e){Ia.call(this);this.ca=a;this.hk=b;this.Rj=void 0!==e?e:1;this.bf=c;this.Tb=d};y(Zp,Ia);k=Zp.prototype;k.gg=0;k.ac=!1;k.da=null;k.Xh=null;k.Ba=null;k.Ch=null;var aq=["load","abort","error"];k=Zp.prototype;k.getId=function(){return this.ca};k.getUrl=function(){return this.hk};k.Hj=function(a){if(this.ac)this.Tb&&this.Tb(this);else switch(a.type){case "load":this.Ba=a;this.Tb&&this.Tb(this);break;case "error":case "abort":this.retry()||(this.Ba=a,this.Tb&&this.Tb(this))}};
k.F=function(){Zp.G.F.call(this);delete this.bf;delete this.Tb};k.retry=function(){if(this.gg>this.Rj)return!1;this.gg++;Ep(this.da,this.ca);setTimeout(w(this.dk,this),0);return!0};
k.dk=function(){if(!this.ac){var a=w(function(d){this.ac||(Dp(this.da,this.ca,d),Yc(this.da,aq,w(this.Hj,this)),this.da.start())},this),b=this.getUrl();if(je(b).xa.ib("profiling")){var c=new Ki;c.oc="blob";c.Na("complete",w(function(){this.Ch=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=gc(ic(Yi(c)));var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.Uc("ready",w(c.Ka,c));c.send(b,"GET")}else a(b)}};
var bq=function(){Ia.call(this);this.za=!1};y(bq,Ia);bq.prototype.setActive=function(a){this.za=a};bq.prototype.hh=function(){return this.za};var Xp=function(a,b){Tp.call(this,a,b)};y(Xp,Tp);Xp.prototype.Ie=function(){return new bq};Xp.prototype.pd=function(a){a.Ka()};Xp.prototype.uf=function(a){return!a.La&&!a.hh()};var cq=function(a,b,c,d,e){Dd.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.Yf=new Ad;this.vf=1;this.qa=e||null};q(cq,Dd);k=cq.prototype;k.ue=function(a){return Zc(this,"tileevent",a)};k.Gf=function(a){gd(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=Ed(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.qa&&this.qa.isEnabled()&&(a+="&profiling=1");b=[b,this.pb,this.token].join("/");this.pb+=1;c=gh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.rb.push(b);Yp.Vg().send(b,a,d,w(this.Gj,this,c,b));$o(this);return c};k.Jc=function(){return this.rb.length};
k.releaseTile=function(a){Yp.Vg().abort(a.id);this.Yf.remove(void 0!==a.firstElementChild?a.firstElementChild:lh(a.firstChild));""!==a.id&&(this.Xf.remove(a.id),this.qa&&this.qa.Xj(a.id))};k.setOpacity=function(a){this.vf=a;var b=this.Yf.$b();qd(b,function(c){lp(c,a)})};
k.Gj=function(a,b,c,d){"error"==c.type?(gb(this.rb,b),this.Xf.add(b),this.dispatchEvent(c)):(gb(this.rb,b),c.target&&"load"==c.type&&(c=c.target,this.Yf.add(c),1!=this.vf&&lp(c,this.vf),a.appendChild(c)),$o(this));this.qa&&null!==d&&this.qa.tj(b,d)};x("ee.MapLayerOverlay",cq);cq.prototype.removeTileCallback=cq.prototype.Gf;cq.prototype.addTileCallback=cq.prototype.ue;cq.prototype.getTile=cq.prototype.getTile;cq.prototype.setOpacity=cq.prototype.setOpacity;cq.prototype.releaseTile=cq.prototype.releaseTile;var dq=function(a,b){if(!(this instanceof dq))return new dq(a,b);this.bb=a;this.Pa=b};y(dq,xm);x("ee.SavedFunction",dq);dq.prototype.encode=function(a){return Q("LoadAlgorithmById",this.bb).encode(a)};dq.prototype.Y=function(){return this.Pa};(function(){var a={},b="ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.table.toDrive ee.batch.Export.video.toDrive ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.image.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.data.createAsset ee.data.getThumbId ee.data.getOperation ee.data.newTaskId ee.data.getVideoThumbId ee.data.createFolder ee.data.cancelTask ee.data.getTaskStatus ee.data.authenticateViaPrivateKey ee.data.updateAsset ee.data.getFilmstripThumbId ee.data.updateTask ee.data.getMapId ee.data.makeThumbUrl ee.data.renameAsset ee.data.setAssetAcl ee.data.getTaskList ee.data.startProcessing ee.data.getTableDownloadId ee.data.getDownloadId ee.data.cancelOperation ee.data.getTileUrl ee.data.setAssetProperties ee.data.copyAsset ee.data.computeValue ee.data.getTaskListWithLimit ee.data.makeDownloadUrl ee.data.getAssetAcl ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.listOperations ee.data.makeTableDownloadUrl ee.data.getList ee.data.startIngestion ee.data.listAssets ee.data.authenticateViaOauth ee.data.listImages ee.data.listBuckets ee.data.getInfo ee.data.authenticate ee.data.startTableIngestion ee.data.getAssetRoots ee.data.getAsset ee.data.createAssetHome ee.data.authenticateViaPopup ee.Date ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.call ee.reset ee.apply ee.TILE_SIZE ee.initialize ee.InitState ee.Algorithms ee.Element.prototype.set ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.Filter ee.Filter.gte ee.Filter.lte ee.Filter.inList ee.Filter.date ee.Filter.metadata ee.Filter.lt ee.Filter.or ee.Filter.gt ee.Filter.and ee.Filter.prototype.not ee.Filter.eq ee.Filter.bounds ee.Filter.neq ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.LineString ee.Geometry.prototype.toGeoJSON ee.Geometry.Point ee.Geometry.MultiLineString ee.Geometry.MultiPolygon ee.Geometry.prototype.toGeoJSONString ee.Geometry ee.Geometry.MultiPoint ee.Geometry.Polygon ee.Geometry.Rectangle ee.Geometry.prototype.serialize ee.Geometry.LinearRing ee.Image ee.Image.prototype.getThumbURL ee.Image.prototype.getDownloadURL ee.Image.prototype.getMap ee.Image.cat ee.Image.rgb ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.prototype.getInfo ee.Image.prototype.rename ee.Image.prototype.expression ee.Image.prototype.clip ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection ee.ImageCollection.prototype.getInfo ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.toJSON ee.String ee.Terrain".split(" "),
c=[["name","namedArgs"],["name"],["name","var_args"],"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(" "),"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_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(" "),"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_assetId"],"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),["start",
"opt_end"],["property","opt_ascending"],["algorithm","opt_dropNulls"],["filter"],["algorithm","opt_first"],["max","opt_property","opt_ascending"],["geometry"],["name","operator","value"],["callback"],[],["opt_callback"],["func","var_args"],["value","opt_path","opt_force","opt_properties","opt_callback"],["params","opt_callback"],["operationName","opt_callback"],["opt_count","opt_callback"],["params","opt_callback"],["path","opt_force","opt_callback"],["taskId","opt_callback"],["taskId","opt_callback"],
["privateKey","opt_success","opt_error","opt_extraScopes"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["taskId","action","opt_callback"],["params","opt_callback"],["id"],["sourceId","destinationId","opt_callback"],["assetId","aclUpdate","opt_callback"],["opt_callback"],["taskId","params","opt_callback"],["params","opt_callback"],["params","opt_callback"],["operationName","opt_callback"],["id","x","y","z"],["assetId","properties","opt_callback"],["sourceId","destinationId",
"opt_overwrite","opt_callback"],["obj","opt_callback"],["opt_limit","opt_callback"],["id"],["assetId","opt_callback"],["assetId","opt_callback"],["rootId","opt_callback"],["opt_limit","opt_callback"],["id"],["params","opt_callback"],["taskId","request","opt_callback"],["parent","params","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["parent","params","opt_callback"],["project","opt_callback"],["id","opt_callback"],["clientId","success","opt_error","opt_extraScopes",
"opt_onImmediateFailed"],["taskId","request","opt_callback"],["opt_callback"],["id","opt_callback"],["requestedId","opt_callback"],["opt_success","opt_error"],["date","opt_tz"],["json"],["json"],["opt_dict"],["func","var_args"],[],["func","namedArgs"],[],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],[],[],["var_args"],["opt_visParams","opt_callback"],["opt_callback"],["geometry","opt_properties"],["opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],
["opt_format","opt_selectors","opt_filename","opt_callback"],["args","opt_column"],["opt_visParams","opt_callback"],["opt_filter"],["name","value"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["start","opt_end"],["name","operator","value"],["name","value"],["var_args"],["name","value"],["var_args"],[],["name","value"],["geometry","opt_errorMargin"],["name","value"],["namedArgs"],["var_args"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["coords",
"opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],[],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["opt_args"],["params","opt_callback"],["params","opt_callback"],["opt_visParams","opt_callback"],["var_args"],["r","g","b"],
["params","opt_callback"],["var_args"],["opt_callback"],["var_args"],["expression","opt_map"],["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"],[]];[Dm,Cm,Q,fo,io,jo,bo,Zn,ao,co,go,ho,eo,W.prototype.Te,W.prototype.sort,W.prototype.map,W.prototype.filter,W.prototype.ih,W.prototype.limit,W.prototype.Mg,
W.prototype.Ue,O.prototype.evaluate,O.prototype.W,O.prototype.V,O.prototype.dg,fm,ul,Kl,Dl,vl,gm,Ml,Fl,ml,lm,wl,Ll,rl,xl,hm,mm,Hl,Sl,Bl,zl,Jl,sl,nm,im,tl,Gl,Al,km,jm,om,Il,Cl,$l,Wl,am,kl,bm,cm,Zl,ll,Yl,dm,Zl,em,jl,Ao,Do,Eo,Go,Uo,So,Vo,256,Po,To,Ro,S.prototype.set,X.prototype.getMap,X.prototype.V,X,Y.prototype.V,Y.prototype.select,Y.prototype.lb,Y,Y.prototype.getMap,V,rn,tn,xn,wn,zn,qn,vn,sn,un,V.prototype.ic,on,yn,pn,xm.prototype.apply,xm.prototype.call,an,U.prototype.dd,Wm,cn,en,U.prototype.Zf,U,
Zm,dn,$m,U.prototype.W,bn,N,N.prototype.Ze,N.prototype.lb,N.prototype.getMap,Nn,Mn,N.prototype.ud,N.prototype.select,N.prototype.V,N.prototype.Fh,N.prototype.i,N.prototype.clip,Z.prototype.select,Z.prototype.getMap,Z.prototype.first,Z.prototype.$e,Z.prototype.Ye,Z,Z.prototype.V,On,qo,Lk,Gk,Jk,Mk,Dk,Ek,to,Jo].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);