Michael DeWitt a9f0828505 v0.1.225
2020-06-11 20:10:04 -07:00

636 lines
294 KiB
JavaScript

(function(){/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
var k,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
},l=ca(this),da=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&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
da("Symbol",function(a){if(a)return a;var b=function(e,f){this.bi=e;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.bi};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});
da("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]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});
var ea=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},m=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},fa=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},ha="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ia;
if("function"==typeof Object.setPrototypeOf)ia=Object.setPrototypeOf;else{var ja;a:{var ka={sj:!0},la={};try{la.__proto__=ka;ja=la.sj;break a}catch(a){}ja=!1}ia=ja?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var ma=ia,q=function(a,b){a.prototype=ha(b.prototype);a.prototype.constructor=a;if(ma)ma(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.H=b.prototype};da("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 na=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+""};da("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=na(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}});
da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=na(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}});da("String.prototype.repeat",function(a){return a?a:function(b){var c=na(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 oa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},pa="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)oa(d,e)&&(a[e]=d[e])}return a};da("Object.assign",function(a){return a||pa});
da("Promise",function(a){function b(){this.ib=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.gg=function(g){if(null==this.ib){this.ib=[];var h=this;this.hg(function(){h.Dj()})}this.ib.push(g)};var d=l.setTimeout;b.prototype.hg=function(g){d(g,0)};b.prototype.Dj=function(){for(;this.ib&&this.ib.length;){var g=this.ib;this.ib=[];for(var h=0;h<g.length;++h){var n=g[h];g[h]=null;try{n()}catch(p){this.vj(p)}}}this.ib=null};b.prototype.vj=function(g){this.hg(function(){throw g;
})};var e=function(g){this.W=0;this.sa=void 0;this.mc=[];var h=this.Le();try{g(h.resolve,h.reject)}catch(n){h.reject(n)}};e.prototype.Le=function(){function g(p){return function(t){n||(n=!0,p.call(h,t))}}var h=this,n=!1;return{resolve:g(this.Zj),reject:g(this.Hf)}};e.prototype.Zj=function(g){if(g===this)this.Hf(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.$j(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.Yj(g):this.Sg(g)}};e.prototype.Yj=function(g){var h=void 0;try{h=g.then}catch(n){this.Hf(n);return}"function"==typeof h?this.ak(h,g):this.Sg(g)};e.prototype.Hf=function(g){this.Oh(2,g)};e.prototype.Sg=function(g){this.Oh(1,g)};e.prototype.Oh=function(g,h){if(0!=this.W)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.W);this.W=g;this.sa=h;this.Fj()};e.prototype.Fj=function(){if(null!=this.mc){for(var g=0;g<this.mc.length;++g)f.gg(this.mc[g]);this.mc=null}};var f=
new b;e.prototype.$j=function(g){var h=this.Le();g.rd(h.resolve,h.reject)};e.prototype.ak=function(g,h){var n=this.Le();try{g.call(h,n.resolve,n.reject)}catch(p){n.reject(p)}};e.prototype.then=function(g,h){function n(E,Z){return"function"==typeof E?function(Da){try{p(E(Da))}catch(T){t(T)}}:Z}var p,t,C=new e(function(E,Z){p=E;t=Z});this.rd(n(g,p),n(h,t));return C};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.rd=function(g,h){function n(){switch(p.W){case 1:g(p.sa);break;case 2:h(p.sa);
break;default:throw Error("Unexpected state: "+p.W);}}var p=this;null==this.mc?f.gg(n):this.mc.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).rd(h,n)})};e.all=function(g){var h=m(g),n=h.next();return n.done?c([]):new e(function(p,t){function C(Da){return function(T){E[Da]=T;Z--;0==Z&&p(E)}}var E=[],Z=0;do E.push(void 0),Z++,c(n.value).rd(C(E.length-1),t),n=h.next();while(!n.done)})};
return e});var qa=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};da("Array.prototype.keys",function(a){return a?a:function(){return qa(this,function(b){return b})}});da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)oa(b,d)&&c.push([d,b[d]]);return c}});
da("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});da("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}});da("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==na(this,b,"includes").indexOf(b,c||0)}});
da("Array.prototype.values",function(a){return a?a:function(){return qa(this,function(b,c){return c})}});
da("WeakMap",function(a){function b(){}function c(n){var p=typeof n;return"object"===p&&null!==n||"function"===p}function d(n){if(!oa(n,f)){var p=new b;ba(n,f,{value:p})}}function e(n){var p=Object[n];p&&(Object[n]=function(t){if(t instanceof b)return t;Object.isExtensible(t)&&d(t);return p(t)})}if(function(){if(!a||!Object.seal)return!1;try{var n=Object.seal({}),p=Object.seal({}),t=new a([[n,2],[p,3]]);if(2!=t.get(n)||3!=t.get(p))return!1;t.delete(n);t.set(p,4);return!t.has(n)&&4==t.get(p)}catch(C){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,h=function(n){this.da=(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(!oa(n,f))throw Error("WeakMap key fail: "+n);n[f][this.da]=p;return this};h.prototype.get=function(n){return c(n)&&oa(n,f)?n[f][this.da]:void 0};h.prototype.has=function(n){return c(n)&&oa(n,f)&&oa(n[f],
this.da)};h.prototype.delete=function(n){return c(n)&&oa(n,f)&&oa(n[f],this.da)?delete n[f][this.da]:!1};return h});
da("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.Fc={};this.ja=
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.Fc[p.id]=[]);p.ca?p.ca.value=n:(p.ca={next:this.ja,fb:this.ja.fb,head:this.ja,key:h,value:n},p.list.push(p.ca),this.ja.fb.next=p.ca,this.ja.fb=p.ca,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.ca&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.Fc[h.id],h.ca.fb.next=h.ca.next,h.ca.next.fb=
h.ca.fb,h.ca.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.Fc={};this.ja=this.ja.fb=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).ca};c.prototype.get=function(h){return(h=d(this,h).ca)&&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.Fc[p];if(t&&oa(h.Fc,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,ca:C}}return{id:p,list:t,index:-1,ca:void 0}},e=function(h,n){var p=h.ja;return ea(function(){if(p){for(;p.head!=h.ja;)p=p.fb;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.fb=h.next=h.head=h},g=0;return c});
da("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});da("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)oa(b,d)&&c.push(b[d]);return c}});da("String.prototype.padStart",function(a){return a?a:function(b,c){var d=na(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 ra=ra||{},r=this||self,sa=/^[\w+/_-]+[=]{0,2}$/,ta=null,ua=function(a){return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&sa.test(a)?a:""},va=function(){},wa=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},xa=function(a){var b=wa(a);return"array"==b||"object"==b&&"number"==typeof a.length},ya=function(a){return u(a)&&"function"==typeof a.getFullYear},za=function(a){return"function"==wa(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,Ea=function(a,b,c){return a.call.apply(a.bind,arguments)},Fa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,
arguments)}},v=function(a,b,c){v=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Ea:Fa;return v.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},w=function(a,b){a=a.split(".");var c=r;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||
void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},x=function(a,b){function c(){}c.prototype=b.prototype;a.H=b.prototype;a.prototype=new c;a.prototype.constructor=a},Ia=function(a){return a};var Ja=function(){this.Ma=this.Ma;this.Jd=this.Jd};Ja.prototype.Ma=!1;Ja.prototype.La=function(){this.Ma||(this.Ma=!0,this.G())};Ja.prototype.G=function(){if(this.Jd)for(;this.Jd.length;)this.Jd.shift()()};var Ka=function(a){a&&"function"==typeof a.La&&a.La()};var y=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Ub=!1};y.prototype.stopPropagation=function(){this.Ub=!0};y.prototype.preventDefault=function(){this.defaultPrevented=!0};var La=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,La);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};x(La,Error);La.prototype.name="CustomError";var Ma;var Na=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");La.call(this,c+a[d])};x(Na,La);Na.prototype.name="AssertionError";
var Oa=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Na(""+e,f||[]);},z=function(a,b,c){a||Oa("",null,b,Array.prototype.slice.call(arguments,2))},Pa=function(a,b){throw new Na("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Qa=function(a,b,c){"number"!==typeof a&&Oa("Expected number but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Ra=function(a,b,c){"string"!==typeof a&&Oa("Expected string but got %s: %s.",
[wa(a),a],b,Array.prototype.slice.call(arguments,2))},Sa=function(a,b,c){za(a)||Oa("Expected function but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2))},Ta=function(a,b,c){u(a)||Oa("Expected object but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Ua=Array.prototype.indexOf?function(a,b){z(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},Va=Array.prototype.lastIndexOf?function(a,b){z(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},Wa=Array.prototype.forEach?function(a,b,c){z(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)},Xa=Array.prototype.filter?function(a,b){z(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},Ya=Array.prototype.map?function(a,b,c){z(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},Za=Array.prototype.some?function(a,b){z(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},$a=Array.prototype.every?function(a,b,c){z(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},ab=function(a,b){var c=0;Wa(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c},cb=function(a){a:{var b=bb;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]},eb=function(a,b){return 0<=Ua(a,b)},fb=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},hb=function(a,b){b=Ua(a,b);var c;(c=0<=b)&&gb(a,b);return c},gb=function(a,b){z(null!=a.length);Array.prototype.splice.call(a,b,1)},ib=function(a){return Array.prototype.concat.apply([],arguments)},jb=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[]},kb=function(a,b){for(var c=1;c<arguments.length;c++){var d=
arguments[c];if(xa(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)}},lb=function(a,b,c){z(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},mb=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},nb=function(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);
return b},ob=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=lb(d,e,e+8192);f=ob.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var pb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},qb=/&/g,rb=/</g,sb=/>/g,tb=/"/g,ub=/'/g,vb=/\x00/g,wb=/[\x00&<>"']/,xb=function(a,b){return a<b?-1:a>b?1:0};var yb;a:{var zb=r.navigator;if(zb){var Ab=zb.userAgent;if(Ab){yb=Ab;break a}}yb=""}var Bb=function(a){return-1!=yb.indexOf(a)};var Cb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Db=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Eb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Fb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Gb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Ib=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Jb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Lb=function(a){var b=
Kb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Mb=function(a){for(var b in a)return!1;return!0},Nb=function(a,b){b in a&&delete a[b]},Ob=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Pb=function(a){var b=wa(a);if("object"==b||"array"==b){if(za(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=Pb(a[c]);return b}return a},Qb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Rb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=
arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Qb.length;f++)c=Qb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Sb=function(a){return a};var Tb;var Wb=function(a,b){this.Vf=a===Ub&&b||"";this.ej=Vb};Wb.prototype.Rc=!0;Wb.prototype.Nc=function(){return this.Vf};Wb.prototype.toString=function(){return"Const{"+this.Vf+"}"};var Xb=function(a){if(a instanceof Wb&&a.constructor===Wb&&a.ej===Vb)return a.Vf;Pa("expected object of type Const, got '"+a+"'");return"type_error:Const"},Vb={},Ub={};var $b=function(a,b){this.Df=a===Yb&&b||"";this.ij=Zb};$b.prototype.Rc=!0;$b.prototype.Nc=function(){return this.Df.toString()};$b.prototype.toString=function(){return"TrustedResourceUrl{"+this.Df+"}"};
var ac=function(a){if(a instanceof $b&&a.constructor===$b&&a.ij===Zb)return a.Df;Pa("expected object of type TrustedResourceUrl, got '"+a+"' of type "+wa(a));return"type_error:TrustedResourceUrl"},fc=function(a){var b=Xb(bc);if(!cc.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(dc,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];
return d instanceof Wb?Xb(d):encodeURIComponent(String(d))});return ec(c)},dc=/%{(\w+)}/g,cc=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Zb={},ec=function(a){if(void 0===Tb){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ia,createScript:Ia,createScriptURL:Ia})}catch(d){r.console&&r.console.error(d.message)}Tb=b}a=(b=Tb)?b.createScriptURL(a):a;return new $b(Yb,a)},Yb={};var ic=function(a,b){this.Cf=a===gc&&b||"";this.aj=hc};ic.prototype.Rc=!0;ic.prototype.Nc=function(){return this.Cf.toString()};ic.prototype.toString=function(){return"SafeUrl{"+this.Cf+"}"};
var jc=function(a){if(a instanceof ic&&a.constructor===ic&&a.aj===hc)return a.Cf;Pa("expected object of type SafeUrl, got '"+a+"' of type "+wa(a));return"type_error:SafeUrl"},kc=/^(?: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,lc=function(a){if(kc.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 ic(gc,a)},hc={},gc={};var mc=function(){this.Bf=""};mc.prototype.Rc=!0;mc.prototype.Nc=function(){return this.Bf};mc.prototype.toString=function(){return"SafeStyle{"+this.Bf+"}"};mc.prototype.gf=function(a){this.Bf=a};(new mc).gf("");var nc=function(){this.Af=""};nc.prototype.Rc=!0;nc.prototype.Nc=function(){return this.Af};nc.prototype.toString=function(){return"SafeStyleSheet{"+this.Af+"}"};nc.prototype.gf=function(a){this.Af=a};(new nc).gf("");var oc=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;Pa("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
"HTMLScriptElement",f)}a.src=ac(b);(b=a.ownerDocument&&a.ownerDocument.defaultView)&&b!=r?b=ua(b.document):(null===ta&&(ta=ua(r.document)),b=ta);b&&a.setAttribute("nonce",b)};var pc=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")},qc=function(a){wb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(qb,"&amp;")),-1!=a.indexOf("<")&&(a=a.replace(rb,"&lt;")),-1!=a.indexOf(">")&&(a=a.replace(sb,"&gt;")),-1!=a.indexOf('"')&&(a=a.replace(tb,"&quot;")),-1!=a.indexOf("'")&&(a=a.replace(ub,"&#39;")),-1!=a.indexOf("\x00")&&(a=a.replace(vb,"&#0;")));return a},rc=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 sc=function(a){sc[" "](a);return a};sc[" "]=va;var uc=function(a,b){var c=tc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var vc=Bb("Opera"),wc=Bb("Trident")||Bb("MSIE"),xc=Bb("Edge"),yc=Bb("Gecko")&&!(-1!=yb.toLowerCase().indexOf("webkit")&&!Bb("Edge"))&&!(Bb("Trident")||Bb("MSIE"))&&!Bb("Edge"),zc=-1!=yb.toLowerCase().indexOf("webkit")&&!Bb("Edge"),Ac=function(){var a=r.document;return a?a.documentMode:void 0},Bc;
a:{var Cc="",Dc=function(){var a=yb;if(yc)return/rv:([^\);]+)(\)|;)/.exec(a);if(xc)return/Edge\/([\d\.]+)/.exec(a);if(wc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(zc)return/WebKit\/(\S+)/.exec(a);if(vc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Dc&&(Cc=Dc?Dc[1]:"");if(wc){var Ec=Ac();if(null!=Ec&&Ec>parseFloat(Cc)){Bc=String(Ec);break a}}Bc=Cc}
var Fc=Bc,tc={},Gc=function(a){return uc(a,function(){for(var b=0,c=pb(String(Fc)).split("."),d=pb(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=xb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||xb(0==g[2].length,0==h[2].length)||xb(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})},Hc;
if(r.document&&wc){var Ic=Ac();Hc=Ic?Ic:parseInt(Fc,10)||void 0}else Hc=void 0;var Jc=Hc;var Kc=Object.freeze||function(a){return a};var Lc=!wc||9<=Number(Jc),Mc=wc&&!Gc("9"),Nc=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{r.addEventListener("test",va,b),r.removeEventListener("test",va,b)}catch(c){}return a}();var Pc=function(a,b){y.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.Ca=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(yc){a:{try{sc(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=zc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=zc||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:Oc[a.pointerType]||"";this.state=a.state;this.Ca=a;a.defaultPrevented&&this.preventDefault()}};
x(Pc,y);var Oc=Kc({2:"touch",3:"pen",4:"mouse"});Pc.prototype.stopPropagation=function(){Pc.H.stopPropagation.call(this);this.Ca.stopPropagation?this.Ca.stopPropagation():this.Ca.cancelBubble=!0};Pc.prototype.preventDefault=function(){Pc.H.preventDefault.call(this);var a=this.Ca;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Mc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Qc="closure_listenable_"+(1E6*Math.random()|0),Rc=function(a){return!(!a||!a[Qc])},Sc=0;var Tc=function(a,b,c,d,e){this.listener=a;this.Kd=null;this.src=b;this.type=c;this.capture=!!d;this.cb=e;this.key=++Sc;this.oc=this.qd=!1},Uc=function(a){a.oc=!0;a.listener=null;a.Kd=null;a.src=null;a.cb=null};var Vc=function(a){this.src=a;this.$={};this.gd=0};Vc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.$[f];a||(a=this.$[f]=[],this.gd++);var g=Wc(a,b,d,e);-1<g?(b=a[g],c||(b.qd=!1)):(b=new Tc(b,this.src,f,!!d,e),b.qd=c,a.push(b));return b};Vc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.$))return!1;var e=this.$[a];b=Wc(e,b,c,d);return-1<b?(Uc(e[b]),gb(e,b),0==e.length&&(delete this.$[a],this.gd--),!0):!1};
var Xc=function(a,b){var c=b.type;c in a.$&&hb(a.$[c],b)&&(Uc(b),0==a.$[c].length&&(delete a.$[c],a.gd--))};Vc.prototype.bd=function(a){a=a&&a.toString();var b=0,c;for(c in this.$)if(!a||c==a){for(var d=this.$[c],e=0;e<d.length;e++)++b,Uc(d[e]);delete this.$[c];this.gd--}};Vc.prototype.Kc=function(a,b,c,d){a=this.$[a.toString()];var e=-1;a&&(e=Wc(a,b,c,d));return-1<e?a[e]:null};
Vc.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Fb(this.$,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var Wc=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.oc&&f.listener==b&&f.capture==!!c&&f.cb==d)return e}return-1};var Yc="closure_lm_"+(1E6*Math.random()|0),Zc={},$c=0,bd=function(a,b,c,d,e){if(d&&d.once)return ad(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)bd(a,b[f],c,d,e);return null}c=cd(c);return Rc(a)?a.Oa(b,c,u(d)?!!d.capture:!!d,e):dd(a,b,c,!1,d,e)},dd=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=u(e)?!!e.capture:!!e,h=ed(a);h||(a[Yc]=h=new Vc(a));c=h.add(b,c,d,g,f);if(c.Kd)return c;d=fd();c.Kd=d;d.src=a;d.listener=c;if(a.addEventListener)Nc||(e=g),void 0===e&&(e=
!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(gd(b.toString()),d);else if(a.addListener&&a.removeListener)z("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");$c++;return c},fd=function(){var a=hd,b=Lc?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},ad=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)ad(a,
b[f],c,d,e);return null}c=cd(c);return Rc(a)?a.Wc(b,c,u(d)?!!d.capture:!!d,e):dd(a,b,c,!0,d,e)},id=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)id(a,b[f],c,d,e);else d=u(d)?!!d.capture:!!d,c=cd(c),Rc(a)?a.Yd(b,c,d,e):a&&(a=ed(a))&&(b=a.Kc(b,c,d,e))&&jd(b)},jd=function(a){if("number"!==typeof a&&a&&!a.oc){var b=a.src;if(Rc(b))Xc(b.Ba,a);else{var c=a.type,d=a.Kd;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(gd(c),d):b.addListener&&b.removeListener&&
b.removeListener(d);$c--;(c=ed(b))?(Xc(c,a),0==c.gd&&(c.src=null,b[Yc]=null)):Uc(a)}}},gd=function(a){return a in Zc?Zc[a]:Zc[a]="on"+a},ld=function(a,b,c,d){var e=!0;if(a=ed(a))if(b=a.$[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.oc&&(f=kd(f,d),e=e&&!1!==f)}return e},kd=function(a,b){var c=a.listener,d=a.cb||a.src;a.qd&&jd(a);return c.call(d,b)},hd=function(a,b){if(a.oc)return!0;if(!Lc){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 Pc(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.Ub&&0<=e;e--){b.currentTarget=d[e];var f=ld(d[e],a,!0,b);c=c&&f}for(e=0;!b.Ub&&e<d.length;e++)b.currentTarget=d[e],f=ld(d[e],a,!1,b),c=c&&f}return c}return kd(a,new Pc(b,this))},ed=function(a){a=a[Yc];return a instanceof
Vc?a:null},md="__closure_events_fn_"+(1E9*Math.random()>>>0),cd=function(a){z(a,"Listener can not be null.");if(za(a))return a;z(a.handleEvent,"An object listener must have handleEvent method.");a[md]||(a[md]=function(b){return a.handleEvent(b)});return a[md]};var nd=function(){Ja.call(this);this.Ba=new Vc(this);this.tj=this;this.yf=null};x(nd,Ja);nd.prototype[Qc]=!0;k=nd.prototype;k.addEventListener=function(a,b,c,d){bd(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){id(this,a,b,c,d)};
k.dispatchEvent=function(a){od(this);var b=this.yf;if(b){var c=[];for(var d=1;b;b=b.yf)c.push(b),z(1E3>++d,"infinite loop")}b=this.tj;d=a.type||a;if("string"===typeof a)a=new y(a,b);else if(a instanceof y)a.target=a.target||b;else{var e=a;a=new y(d,b);Rb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Ub&&0<=f;f--){var g=a.currentTarget=c[f];e=pd(g,d,!0,a)&&e}a.Ub||(g=a.currentTarget=b,e=pd(g,d,!0,a)&&e,a.Ub||(e=pd(g,d,!1,a)&&e));if(c)for(f=0;!a.Ub&&f<c.length;f++)g=a.currentTarget=c[f],e=pd(g,d,!1,a)&&e;
return e};k.G=function(){nd.H.G.call(this);this.Ba&&this.Ba.bd(void 0);this.yf=null};k.Oa=function(a,b,c,d){od(this);return this.Ba.add(String(a),b,!1,c,d)};k.Wc=function(a,b,c,d){return this.Ba.add(String(a),b,!0,c,d)};k.Yd=function(a,b,c,d){this.Ba.remove(String(a),b,c,d)};
var pd=function(a,b,c,d){b=a.Ba.$[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.oc&&g.capture==c){var h=g.listener,n=g.cb||g.src;g.qd&&Xc(a.Ba,g);e=!1!==h.call(n,d)&&e}}return e&&!d.defaultPrevented};nd.prototype.Kc=function(a,b,c,d){return this.Ba.Kc(String(a),b,c,d)};nd.prototype.hasListener=function(a,b){return this.Ba.hasListener(void 0!==a?String(a):void 0,b)};var od=function(a){z(a.Ba,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var qd="StopIteration"in r?r.StopIteration:{message:"StopIteration",stack:""},rd=function(){};rd.prototype.next=function(){throw qd;};rd.prototype.bc=function(){return this};
var sd=function(a){if(a instanceof rd)return a;if("function"==typeof a.bc)return a.bc(!1);if(xa(a)){var b=0,c=new rd;c.next=function(){for(;;){if(b>=a.length)throw qd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},td=function(a,b){if(xa(a))try{Wa(a,b,void 0)}catch(c){if(c!==qd)throw c;}else{a=sd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==qd)throw c;}}};var ud=function(a,b){this.l={};this.I=[];this.jd=this.J=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};k=ud.prototype;k.M=function(){return this.J};k.T=function(){vd(this);for(var a=[],b=0;b<this.I.length;b++)a.push(this.l[this.I[b]]);return a};k.Ea=function(){vd(this);return this.I.concat()};k.kb=function(a){return wd(this.l,a)};
k.Ec=function(a){for(var b=0;b<this.I.length;b++){var c=this.I[b];if(wd(this.l,c)&&this.l[c]==a)return!0}return!1};k.equals=function(a,b){if(this===a)return!0;if(this.J!=a.M())return!1;b=b||xd;vd(this);for(var c,d=0;c=this.I[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var xd=function(a,b){return a===b};ud.prototype.isEmpty=function(){return 0==this.J};ud.prototype.clear=function(){this.l={};this.jd=this.J=this.I.length=0};
ud.prototype.remove=function(a){return wd(this.l,a)?(delete this.l[a],this.J--,this.jd++,this.I.length>2*this.J&&vd(this),!0):!1};var vd=function(a){if(a.J!=a.I.length){for(var b=0,c=0;b<a.I.length;){var d=a.I[b];wd(a.l,d)&&(a.I[c++]=d);b++}a.I.length=c}if(a.J!=a.I.length){var e={};for(c=b=0;b<a.I.length;)d=a.I[b],wd(e,d)||(a.I[c++]=d,e[d]=1),b++;a.I.length=c}};k=ud.prototype;k.get=function(a,b){return wd(this.l,a)?this.l[a]:b};
k.set=function(a,b){wd(this.l,a)||(this.J++,this.I.push(a),this.jd++);this.l[a]=b};k.addAll=function(a){if(a instanceof ud)for(var b=a.Ea(),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.Ea(),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 ud(this)};
k.bc=function(a){vd(this);var b=0,c=this.jd,d=this,e=new rd;e.next=function(){if(c!=d.jd)throw Error("The map has changed since the iterator was created");if(b>=d.I.length)throw qd;var f=d.I[b++];return a?f:d.l[f]};return e};var wd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var yd=function(a){if(a.M&&"function"==typeof a.M)a=a.M();else if(xa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},zd=function(a){if(a.T&&"function"==typeof a.T)return a.T();if("string"===typeof a)return a.split("");if(xa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Gb(a)},Ad=function(a){if(a.Ea&&"function"==typeof a.Ea)return a.Ea();if(!a.T||"function"!=typeof a.T){if(xa(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);
return b}return Ib(a)}},Bd=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(xa(a)||"string"===typeof a)Wa(a,b,c);else for(var d=Ad(a),e=zd(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},Cd=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(xa(a)||"string"===typeof a)return $a(a,b,void 0);for(var c=Ad(a),d=zd(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 Dd=function(a){this.l=new ud;a&&this.addAll(a)},Ed=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ca(a):b.substr(0,1)+a};k=Dd.prototype;k.M=function(){return this.l.M()};k.add=function(a){this.l.set(Ed(a),a)};k.addAll=function(a){a=zd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};k.bd=function(a){a=zd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};k.remove=function(a){return this.l.remove(Ed(a))};k.clear=function(){this.l.clear()};k.isEmpty=function(){return this.l.isEmpty()};
k.contains=function(a){return this.l.kb(Ed(a))};k.hh=function(a){var b=new Dd;a=zd(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};k.Qe=function(a){var b=this.clone();b.bd(a);return b};k.T=function(){return this.l.T()};k.clone=function(){return new Dd(this)};k.equals=function(a){return this.M()==yd(a)&&Fd(this,a)};
var Fd=function(a,b){var c=yd(b);if(a.M()>c)return!1;!(b instanceof Dd)&&5<c&&(b=new Dd(b));return Cd(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Ec&&"function"==typeof e.Ec?e.Ec(d):xa(e)||"string"===typeof e?eb(e,d):Jb(e,d)})};Dd.prototype.bc=function(){return this.l.bc(!1)};var ee={},Gd=function(a,b,c){nd.call(this);this.Pj=b;this.token=c;this.tb=[];this.Zf=new Dd;this.rb=0;this.url=a};x(Gd,nd);w("ee.AbstractOverlay",Gd);var Hd=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.Pj,c,e,b.y].join("/")};Gd.prototype.Lc=function(){return this.tb.length};var Id=function(a){y.call(this,"tileevent");this.count=a};x(Id,y);var Jd=function(){},Kd=new Jd;function Ld(a){return Object.assign({S:{},mk:{},keys:[],xa:{},s:{},L:{}},a)}var A=function(){this.a={}},B=function(a,b){return a.a.hasOwnProperty(b)?a.a[b]:null},D=function(a,b){return null!=a.a[b]};function Md(a,b){return B(b,a)}function Nd(a,b,c){b[a]=c}function Od(){return{}}function Pd(a,b){var c=new a;return null==b?c:Qd(b,Rd,Sd,Td,a)}function Rd(a,b){return b[a]}function Sd(a,b,c){b.a[a]=c}
function Td(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
function Qd(a,b,c,d,e){e=d(e);var f=Ud(a,e),g=f.S||{},h=f.s||{},n=f.xa||{},p={};f=m(f.keys||[]);for(var t=f.next();!t.done;p={xc:p.xc},t=f.next()){t=t.value;var C=b(t,a);if(null!=C){var E=void 0;g.hasOwnProperty(t)?E=Vd(C,b,c,d,!0,!0,g[t]):h.hasOwnProperty(t)?E=Vd(C,b,c,d,!1,!0,h[t]):n.hasOwnProperty(t)?(p.xc=n[t],E=p.xc.ka?C.map(function(Z){return function(Da){return Wd(Da,Z.xc,b,c,d)}}(p)):Wd(C,p.xc,b,c,d)):E=Array.isArray(C)?Vd(C,b,c,d,!0,!1):C instanceof Jd?null:C;c(t,e,E)}}return e}
function Wd(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]=Vd(n,c,d,e,b.ma,b.la,b.fa))}return f}function Vd(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 Qd(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Qd(a,b,c,d,g):a instanceof Jd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}
function Ud(a,b){if(b instanceof A)a=Ld(b.f());else if(a instanceof A)a=Ld(a.f());else throw Error("Cannot find ClassMetadata.");return a};var Xd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Yd=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 Zd=function(a,b){this.ab=this.Zb=this.qb="";this.nc=null;this.Lb=this.eb="";this.va=this.Lj=!1;if(a instanceof Zd){this.va=void 0!==b?b:a.va;$d(this,a.qb);var c=a.Zb;ae(this);this.Zb=c;c=a.ab;ae(this);this.ab=c;be(this,a.nc);this.setPath(a.getPath());ce(this,a.ya.clone());a=a.Lb;ae(this);this.Lb=a}else a&&(c=String(a).match(Xd))?(this.va=!!b,$d(this,c[1]||"",!0),a=c[2]||"",ae(this),this.Zb=de(a),a=c[3]||"",ae(this),this.ab=de(a,!0),be(this,c[4]),this.setPath(c[5]||"",!0),ce(this,c[6]||"",!0),
a=c[7]||"",ae(this),this.Lb=de(a)):(this.va=!!b,this.ya=new fe(null,this.va))};
Zd.prototype.toString=function(){var a=[],b=this.qb;b&&a.push(ge(b,he,!0),":");var c=this.ab;if(c||"file"==b)a.push("//"),(b=this.Zb)&&a.push(ge(b,he,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.nc,null!=c&&a.push(":",String(c));if(c=this.getPath())this.ab&&"/"!=c.charAt(0)&&a.push("/"),a.push(ge(c,"/"==c.charAt(0)?ie:je,!0));(c=this.ya.toString())&&a.push("?",c);(c=this.Lb)&&a.push("#",ge(c,ke));return a.join("")};
Zd.prototype.resolve=function(a){var b=this.clone(),c=!!a.qb;c?$d(b,a.qb):c=!!a.Zb;if(c){var d=a.Zb;ae(b);b.Zb=d}else c=!!a.ab;c?(d=a.ab,ae(b),b.ab=d):c=null!=a.nc;d=a.getPath();if(c)be(b,a.nc);else if(c=!!a.eb){if("/"!=d.charAt(0))if(this.ab&&!this.eb)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.ya.toString();c?ce(b,a.ya.clone()):c=!!a.Lb;c&&(a=a.Lb,ae(b),b.Lb=a);return b};Zd.prototype.clone=function(){return new Zd(this)};
var $d=function(a,b,c){ae(a);a.qb=c?de(b,!0):b;a.qb&&(a.qb=a.qb.replace(/:$/,""))},be=function(a,b){ae(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.nc=b}else a.nc=null};Zd.prototype.getPath=function(){return this.eb};Zd.prototype.setPath=function(a,b){ae(this);this.eb=b?de(a,!0):a;return this};var ce=function(a,b,c){ae(a);b instanceof fe?(a.ya=b,a.ya.Of(a.va)):(c||(b=ge(b,le)),a.ya=new fe(b,a.va))};Zd.prototype.getQuery=function(){return this.ya.toString()};
Zd.prototype.removeParameter=function(a){ae(this);this.ya.remove(a);return this};var ae=function(a){if(a.Lj)throw Error("Tried to modify a read-only Uri");};Zd.prototype.Of=function(a){this.va=a;this.ya&&this.ya.Of(a)};
var me=function(a){return a instanceof Zd?a.clone():new Zd(a,void 0)},de=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},ge=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,ne),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},ne=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},he=/[#\/\?@]/g,je=/[#\?:]/g,ie=/[#\?]/g,le=/[#\?@]/g,ke=/#/g,fe=function(a,b){this.J=this.N=null;this.qa=a||null;this.va=!!b},
oe=function(a){a.N||(a.N=new ud,a.J=0,a.qa&&Yd(a.qa,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=fe.prototype;k.M=function(){oe(this);return this.J};k.add=function(a,b){oe(this);this.qa=null;a=pe(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.J=Qa(this.J)+1;return this};k.remove=function(a){oe(this);a=pe(this,a);return this.N.kb(a)?(this.qa=null,this.J=Qa(this.J)-this.N.get(a).length,this.N.remove(a)):!1};k.clear=function(){this.N=this.qa=null;this.J=0};
k.isEmpty=function(){oe(this);return 0==this.J};k.kb=function(a){oe(this);a=pe(this,a);return this.N.kb(a)};k.Ec=function(a){var b=this.T();return eb(b,a)};k.forEach=function(a,b){oe(this);this.N.forEach(function(c,d){Wa(c,function(e){a.call(b,e,d,this)},this)},this)};k.Ea=function(){oe(this);for(var a=this.N.T(),b=this.N.Ea(),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.T=function(a){oe(this);var b=[];if("string"===typeof a)this.kb(a)&&(b=ib(b,this.N.get(pe(this,a))));else{a=this.N.T();for(var c=0;c<a.length;c++)b=ib(b,a[c])}return b};k.set=function(a,b){oe(this);this.qa=null;a=pe(this,a);this.kb(a)&&(this.J=Qa(this.J)-this.N.get(a).length);this.N.set(a,[b]);this.J=Qa(this.J)+1;return this};k.get=function(a,b){if(!a)return b;a=this.T(a);return 0<a.length?String(a[0]):b};
k.setValues=function(a,b){this.remove(a);0<b.length&&(this.qa=null,this.N.set(pe(this,a),jb(b)),this.J=Qa(this.J)+b.length)};k.toString=function(){if(this.qa)return this.qa;if(!this.N)return"";for(var a=[],b=this.N.Ea(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.T(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.qa=a.join("&")};
k.clone=function(){var a=new fe;a.qa=this.qa;this.N&&(a.N=this.N.clone(),a.J=this.J);return a};var pe=function(a,b){b=String(b);a.va&&(b=b.toLowerCase());return b};fe.prototype.Of=function(a){a&&!this.va&&(oe(this),this.qa=null,this.N.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.va=a};fe.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Bd(arguments[b],function(c,d){this.add(d,c)},this)};function qe(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 F(a){for(var b={},c=m(Object.entries(re)),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 se=function(){};se.prototype.A=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function te(a){var b=a.body instanceof A?Qd(a.body,Md,Nd,Od):a.body;return{path:a.path,u:a.u,C:a.C,body:b,o:a.o,Qh:a.Qh&&a.Qh}};function ue(a,b){if(null==a)return null;a=a.nk(b);return null==a?null:a};var ve=function(a,b){this.P=a;this.Ij=void 0===b?null:b};q(ve,se);var we=function(a,b,c){var d=ue(a.Ij,b);if(null==d)return c;d.pk();return c.then(function(e){d.rk(e);return e},function(e){d.qk(e);throw e;})},G=function(a,b){var c=b.F||void 0;return we(a,b,a.P.send(te(b),c))};var xe={fe:"ADMIN_READ",he:"DATA_READ",ie:"DATA_WRITE",Ni:"LOG_TYPE_UNSPECIFIED",values:function(){return[xe.Ni,xe.fe,xe.ie,xe.he]}},ye={fe:"ADMIN_READ",di:"ADMIN_WRITE",he:"DATA_READ",ie:"DATA_WRITE",Vi:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[ye.Vi,ye.fe,ye.di,ye.he,ye.ie]}},ze={li:"CAPABILITY_GROUP_UNSPECIFIED",mi:"CLOUD_ALPHA",wi:"EXTERNAL",Gi:"INTERNAL",Ji:"LIMITED",Wi:"PREAUTHORIZED",Yi:"PREVIEW",qe:"PUBLIC",values:function(){return[ze.li,ze.qe,ze.Gi,ze.wi,ze.Ji,ze.Wi,ze.Yi,ze.mi]}},
Ae={ci:"ADMIN_ACTIVITY",oi:"DATA_ACCESS",nj:"UNSPECIFIED_LOG_NAME",values:function(){return[Ae.nj,Ae.ci,Ae.oi]}},Be={gi:"APPROVER",hi:"ATTRIBUTION",ii:"AUTHORITY",ni:"CREDENTIALS_TYPE",Ii:"JUSTIFICATION_TYPE",pe:"NO_ATTR",bj:"SECURITY_REALM",values:function(){return[Be.pe,Be.ii,Be.hi,Be.bj,Be.gi,Be.Ii,Be.ni]}},Ce={ui:"DISCHARGED",vi:"EQUALS",Ci:"IN",Pi:"NOT_EQUALS",Qi:"NOT_IN",Si:"NO_OP",values:function(){return[Ce.Si,Ce.vi,Ce.Pi,Ce.Ci,Ce.Qi,Ce.ui]}},De={Hi:"IP",Oi:"NAME",pe:"NO_ATTR",Zi:"REGION",
cj:"SERVICE",values:function(){return[De.pe,De.Zi,De.cj,De.Oi,De.Hi]}},Ee={Li:"LOG_FAIL_CLOSED",Mi:"LOG_MODE_UNSPECIFIED",values:function(){return[Ee.Mi,Ee.Li]}},Fe={yi:"FOLDER",Ai:"IMAGE",Bi:"IMAGE_COLLECTION",gj:"TABLE",jj:"TYPE_UNSPECIFIED",values:function(){return[Fe.jj,Fe.Ai,Fe.Bi,Fe.gj,Fe.yi]}},Ge={ub:"AUTO_JPEG_PNG",vb:"GEO_TIFF",wb:"IMAGE_FILE_FORMAT_UNSPECIFIED",xb:"JPEG",yb:"MULTI_BAND_IMAGE_TILE",zb:"NPY",Ab:"PNG",Bb:"TF_RECORD_IMAGE",Cb:"ZIPPED_GEO_TIFF",Db:"ZIPPED_GEO_TIFF_PER_BAND",
values:function(){return[Ge.wb,Ge.xb,Ge.Ab,Ge.ub,Ge.zb,Ge.vb,Ge.Bb,Ge.yb,Ge.Cb,Ge.Db]}},He={oj:"V1",pj:"V2",qj:"VERSION_UNSPECIFIED",values:function(){return[He.qj,He.oj,He.pj]}},Ie={ub:"AUTO_JPEG_PNG",vb:"GEO_TIFF",wb:"IMAGE_FILE_FORMAT_UNSPECIFIED",xb:"JPEG",yb:"MULTI_BAND_IMAGE_TILE",zb:"NPY",Ab:"PNG",Bb:"TF_RECORD_IMAGE",Cb:"ZIPPED_GEO_TIFF",Db:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Ie.wb,Ie.xb,Ie.Ab,Ie.ub,Ie.zb,Ie.vb,Ie.Bb,Ie.yb,Ie.Cb,Ie.Db]}},Je={zi:"HORIZONTAL",Ti:"ORIENTATION_UNSPECIFIED",
rj:"VERTICAL",values:function(){return[Je.Ti,Je.zi,Je.rj]}},Ke={ri:"DEFAULT_OBJECT_ACL",qe:"PUBLIC",hj:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[Ke.hj,Ke.qe,Ke.ri]}},Le={MAX:"MAX",Ua:"MEAN",MIN:"MIN",Va:"MODE",Wa:"PYRAMIDING_POLICY_UNSPECIFIED",Xa:"SAMPLE",values:function(){return[Le.Wa,Le.Ua,Le.Xa,Le.MIN,Le.MAX,Le.Va]}},Me={MAX:"MAX",Ua:"MEAN",MIN:"MIN",Va:"MODE",Wa:"PYRAMIDING_POLICY_UNSPECIFIED",Xa:"SAMPLE",values:function(){return[Me.Wa,Me.Ua,Me.Xa,Me.MIN,Me.MAX,Me.Va]}},Ne={MAX:"MAX",
Ua:"MEAN",MIN:"MIN",Va:"MODE",Wa:"PYRAMIDING_POLICY_UNSPECIFIED",Xa:"SAMPLE",values:function(){return[Ne.Wa,Ne.Ua,Ne.Xa,Ne.MIN,Ne.MAX,Ne.Va]}},Oe={ub:"AUTO_JPEG_PNG",vb:"GEO_TIFF",wb:"IMAGE_FILE_FORMAT_UNSPECIFIED",xb:"JPEG",yb:"MULTI_BAND_IMAGE_TILE",zb:"NPY",Ab:"PNG",Bb:"TF_RECORD_IMAGE",Cb:"ZIPPED_GEO_TIFF",Db:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Oe.wb,Oe.xb,Oe.Ab,Oe.ub,Oe.zb,Oe.vb,Oe.Bb,Oe.yb,Oe.Cb,Oe.Db]}},Pe={MAX:"MAX",Ua:"MEAN",MIN:"MIN",Va:"MODE",Wa:"PYRAMIDING_POLICY_UNSPECIFIED",
Xa:"SAMPLE",values:function(){return[Pe.Wa,Pe.Ua,Pe.Xa,Pe.MIN,Pe.MAX,Pe.Va]}},Qe={ji:"CANCELLED",ki:"CANCELLING",xi:"FAILED",Ui:"PENDING",$i:"RUNNING",dj:"STATE_UNSPECIFIED",fj:"SUCCEEDED",values:function(){return[Qe.dj,Qe.Ui,Qe.$i,Qe.ki,Qe.fj,Qe.ji,Qe.xi]}},Re={je:"DOUBLE",FLOAT:"FLOAT",INT:"INT",Xi:"PRECISION_UNSPECIFIED",values:function(){return[Re.Xi,Re.INT,Re.FLOAT,Re.je]}},Se={ei:"ALLOW",fi:"ALLOW_WITH_LOG",si:"DENY",ti:"DENY_WITH_LOG",Ki:"LOG",Ri:"NO_ACTION",values:function(){return[Se.Ri,
Se.ei,Se.fi,Se.si,Se.ti,Se.Ki]}},Te={ge:"CSV",ke:"GEO_JSON",me:"KML",ne:"KMZ",re:"SHP",se:"TABLE_FILE_FORMAT_UNSPECIFIED",te:"TF_RECORD_TABLE",values:function(){return[Te.se,Te.ge,Te.ke,Te.me,Te.ne,Te.re,Te.te]}},Ue={ge:"CSV",ke:"GEO_JSON",me:"KML",ne:"KMZ",re:"SHP",se:"TABLE_FILE_FORMAT_UNSPECIFIED",te:"TF_RECORD_TABLE",values:function(){return[Ue.se,Ue.ge,Ue.ke,Ue.me,Ue.ne,Ue.re,Ue.te]}},Ve={ub:"AUTO_JPEG_PNG",vb:"GEO_TIFF",wb:"IMAGE_FILE_FORMAT_UNSPECIFIED",xb:"JPEG",yb:"MULTI_BAND_IMAGE_TILE",
zb:"NPY",Ab:"PNG",Bb:"TF_RECORD_IMAGE",Cb:"ZIPPED_GEO_TIFF",Db:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Ve.wb,Ve.xb,Ve.Ab,Ve.ub,Ve.zb,Ve.vb,Ve.Bb,Ve.yb,Ve.Cb,Ve.Db]}},We={MAX:"MAX",Ua:"MEAN",MIN:"MIN",Va:"MODE",Wa:"PYRAMIDING_POLICY_UNSPECIFIED",Xa:"SAMPLE",values:function(){return[We.Wa,We.Ua,We.Xa,We.MIN,We.MAX,We.Va]}},Xe={pi:"DATA_TYPE_UNSPECIFIED",je:"DOUBLE",FLOAT:"FLOAT",Di:"INT16",Ei:"INT32",Fi:"INT8",kj:"UINT16",lj:"UINT32",mj:"UINT8",values:function(){return[Xe.pi,Xe.Fi,Xe.mj,
Xe.Di,Xe.kj,Xe.Ei,Xe.lj,Xe.FLOAT,Xe.je]}},Ye={le:"GIF",oe:"MP4",ue:"VIDEO_FILE_FORMAT_UNSPECIFIED",ve:"VP9",values:function(){return[Ye.ue,Ye.oe,Ye.le,Ye.ve]}},Ze={le:"GIF",oe:"MP4",ue:"VIDEO_FILE_FORMAT_UNSPECIFIED",ve:"VP9",values:function(){return[Ze.ue,Ze.oe,Ze.le,Ze.ve]}},$e=function(a){a=void 0===a?{}:a;this.a={};this.a.scaleX=null==a.Kf?null:a.Kf;this.a.shearX=null==a.Pf?null:a.Pf;this.a.translateX=null==a.bg?null:a.bg;this.a.shearY=null==a.Qf?null:a.Qf;this.a.scaleY=null==a.Lf?null:a.Lf;this.a.translateY=
null==a.cg?null:a.cg};q($e,A);$e.prototype.f=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
l.Object.defineProperties($e.prototype,{Kf:{configurable:!0,enumerable:!0,get:function(){return D(this,"scaleX")?B(this,"scaleX"):null},set:function(a){this.a.scaleX=a}},Lf:{configurable:!0,enumerable:!0,get:function(){return D(this,"scaleY")?B(this,"scaleY"):null},set:function(a){this.a.scaleY=a}},Pf:{configurable:!0,enumerable:!0,get:function(){return D(this,"shearX")?B(this,"shearX"):null},set:function(a){this.a.shearX=a}},Qf:{configurable:!0,enumerable:!0,get:function(){return D(this,"shearY")?
B(this,"shearY"):null},set:function(a){this.a.shearY=a}},bg:{configurable:!0,enumerable:!0,get:function(){return D(this,"translateX")?B(this,"translateX"):null},set:function(a){this.a.translateX=a}},cg:{configurable:!0,enumerable:!0,get:function(){return D(this,"translateY")?B(this,"translateY"):null},set:function(a){this.a.translateY=a}}});
var af=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.Jf?null:a.Jf;this.a.arguments=null==a.arguments?null:a.arguments;this.a.deprecated=null==a.deprecated?null:a.deprecated;this.a.deprecationReason=null==a.Oe?null:a.Oe;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(af,A);
af.prototype.f=function(){return{S:{arguments:bf},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
l.Object.defineProperties(af.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return D(this,"arguments")?B(this,"arguments"):null},set:function(a){this.a.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return D(this,"deprecated")?B(this,"deprecated"):null},set:function(a){this.a.deprecated=a}},Oe:{configurable:!0,enumerable:!0,get:function(){return D(this,"deprecationReason")?B(this,"deprecationReason"):null},set:function(a){this.a.deprecationReason=a}},description:{configurable:!0,
enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return D(this,"hidden")?B(this,"hidden"):null},set:function(a){this.a.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return D(this,"name")?B(this,"name"):null},set:function(a){this.a.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return D(this,"preview")?B(this,"preview"):null},set:function(a){this.a.preview=
a}},Jf:{configurable:!0,enumerable:!0,get:function(){return D(this,"returnType")?B(this,"returnType"):null},set:function(a){this.a.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return D(this,"sourceCodeUri")?B(this,"sourceCodeUri"):null},set:function(a){this.a.sourceCodeUri=a}}});
var bf=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentName=null==a.od?null:a.od;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(bf,A);bf.prototype.f=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
l.Object.defineProperties(bf.prototype,{od:{configurable:!0,enumerable:!0,get:function(){return D(this,"argumentName")?B(this,"argumentName"):null},set:function(a){this.a.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return D(this,"defaultValue")?B(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},optional:{configurable:!0,
enumerable:!0,get:function(){return D(this,"optional")?B(this,"optional"):null},set:function(a){this.a.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return D(this,"type")?B(this,"type"):null},set:function(a){this.a.type=a}}});var cf=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q(cf,A);cf.prototype.f=function(){return{S:{values:df},keys:["values"]}};
l.Object.defineProperties(cf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return D(this,"values")?B(this,"values"):null},set:function(a){this.a.values=a}}});var ef=function(a){a=void 0===a?{}:a;this.a={};this.a.service=null==a.Mh?null:a.Mh;this.a.exemptedMembers=null==a.Ic?null:a.Ic;this.a.auditLogConfigs=null==a.kg?null:a.kg};q(ef,A);ef.prototype.f=function(){return{S:{auditLogConfigs:ff},keys:["auditLogConfigs","exemptedMembers","service"]}};
l.Object.defineProperties(ef.prototype,{kg:{configurable:!0,enumerable:!0,get:function(){return D(this,"auditLogConfigs")?B(this,"auditLogConfigs"):null},set:function(a){this.a.auditLogConfigs=a}},Ic:{configurable:!0,enumerable:!0,get:function(){return D(this,"exemptedMembers")?B(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},Mh:{configurable:!0,enumerable:!0,get:function(){return D(this,"service")?B(this,"service"):null},set:function(a){this.a.service=a}}});
var ff=function(a){a=void 0===a?{}:a;this.a={};this.a.logType=null==a.qh?null:a.qh;this.a.exemptedMembers=null==a.Ic?null:a.Ic;this.a.ignoreChildExemptions=null==a.eh?null:a.eh};q(ff,A);ff.prototype.f=function(){return{L:{logType:xe},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
l.Object.defineProperties(ff.prototype,{Ic:{configurable:!0,enumerable:!0,get:function(){return D(this,"exemptedMembers")?B(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},eh:{configurable:!0,enumerable:!0,get:function(){return D(this,"ignoreChildExemptions")?B(this,"ignoreChildExemptions"):null},set:function(a){this.a.ignoreChildExemptions=a}},qh:{configurable:!0,enumerable:!0,get:function(){return D(this,"logType")?B(this,"logType"):null},set:function(a){this.a.logType=
a}}});var gf=function(a){a=void 0===a?{}:a;this.a={};this.a.permissionType=null==a.Ah?null:a.Ah};q(gf,A);gf.prototype.f=function(){return{L:{permissionType:ye},keys:["permissionType"]}};l.Object.defineProperties(gf.prototype,{Ah:{configurable:!0,enumerable:!0,get:function(){return D(this,"permissionType")?B(this,"permissionType"):null},set:function(a){this.a.permissionType=a}}});
var hf=function(a){a=void 0===a?{}:a;this.a={};this.a.role=null==a.rc?null:a.rc;this.a.members=null==a.Rb?null:a.Rb;this.a.condition=null==a.vg?null:a.vg};q(hf,A);hf.prototype.f=function(){return{keys:["condition","members","role"],s:{condition:jf}}};
l.Object.defineProperties(hf.prototype,{vg:{configurable:!0,enumerable:!0,get:function(){return D(this,"condition")?B(this,"condition"):null},set:function(a){this.a.condition=a}},Rb:{configurable:!0,enumerable:!0,get:function(){return D(this,"members")?B(this,"members"):null},set:function(a){this.a.members=a}},rc:{configurable:!0,enumerable:!0,get:function(){return D(this,"role")?B(this,"role"):null},set:function(a){this.a.role=a}}});var kf=function(){this.a={}};q(kf,A);kf.prototype.f=function(){return{keys:[]}};
var lf=function(a){a=void 0===a?{}:a;this.a={};this.a.capabilities=null==a.sg?null:a.sg};q(lf,A);lf.prototype.f=function(){return{L:{capabilities:ze},keys:["capabilities"]}};l.Object.defineProperties(lf.prototype,{sg:{configurable:!0,enumerable:!0,get:function(){return D(this,"capabilities")?B(this,"capabilities"):null},set:function(a){this.a.capabilities=a}}});var mf=function(a){a=void 0===a?{}:a;this.a={};this.a.logName=null==a.ph?null:a.ph;this.a.authorizationLoggingOptions=null==a.lg?null:a.lg};
q(mf,A);mf.prototype.f=function(){return{L:{logName:Ae},keys:["authorizationLoggingOptions","logName"],s:{authorizationLoggingOptions:gf}}};
l.Object.defineProperties(mf.prototype,{lg:{configurable:!0,enumerable:!0,get:function(){return D(this,"authorizationLoggingOptions")?B(this,"authorizationLoggingOptions"):null},set:function(a){this.a.authorizationLoggingOptions=a}},ph:{configurable:!0,enumerable:!0,get:function(){return D(this,"logName")?B(this,"logName"):null},set:function(a){this.a.logName=a}}});var nf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i};q(nf,A);
nf.prototype.f=function(){return{keys:["expression"],s:{expression:of}}};l.Object.defineProperties(nf.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}}});var pf=function(a){a=void 0===a?{}:a;this.a={};this.a.result=null==a.result?null:a.result};q(pf,A);pf.prototype.f=function(){return{keys:["result"]}};
l.Object.defineProperties(pf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return D(this,"result")?B(this,"result"):null},set:function(a){this.a.result=a}}});var qf=function(a){a=void 0===a?{}:a;this.a={};this.a.iam=null==a.$g?null:a.$g;this.a.sys=null==a.Uh?null:a.Uh;this.a.svc=null==a.Th?null:a.Th;this.a.op=null==a.yh?null:a.yh;this.a.values=null==a.values?null:a.values};q(qf,A);qf.prototype.f=function(){return{L:{iam:Be,op:Ce,sys:De},keys:["iam","op","svc","sys","values"]}};
l.Object.defineProperties(qf.prototype,{$g:{configurable:!0,enumerable:!0,get:function(){return D(this,"iam")?B(this,"iam"):null},set:function(a){this.a.iam=a}},yh:{configurable:!0,enumerable:!0,get:function(){return D(this,"op")?B(this,"op"):null},set:function(a){this.a.op=a}},Th:{configurable:!0,enumerable:!0,get:function(){return D(this,"svc")?B(this,"svc"):null},set:function(a){this.a.svc=a}},Uh:{configurable:!0,enumerable:!0,get:function(){return D(this,"sys")?B(this,"sys"):null},set:function(a){this.a.sys=
a}},values:{configurable:!0,enumerable:!0,get:function(){return D(this,"values")?B(this,"values"):null},set:function(a){this.a.values=a}}});var rf=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.Ib?null:a.Ib;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.bandIds=null==a.ba?null:a.ba};q(rf,A);rf.prototype.f=function(){return{keys:["bandIds","destinationName","overwrite"]}};
l.Object.defineProperties(rf.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return D(this,"bandIds")?B(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},Ib:{configurable:!0,enumerable:!0,get:function(){return D(this,"destinationName")?B(this,"destinationName"):null},set:function(a){this.a.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return D(this,"overwrite")?B(this,"overwrite"):null},set:function(a){this.a.overwrite=a}}});
var sf=function(a){a=void 0===a?{}:a;this.a={};this.a.metric=null==a.rh?null:a.rh;this.a.field=null==a.Lg?null:a.Lg;this.a.customFields=null==a.Dg?null:a.Dg};q(sf,A);sf.prototype.f=function(){return{S:{customFields:tf},keys:["customFields","field","metric"]}};
l.Object.defineProperties(sf.prototype,{Dg:{configurable:!0,enumerable:!0,get:function(){return D(this,"customFields")?B(this,"customFields"):null},set:function(a){this.a.customFields=a}},Lg:{configurable:!0,enumerable:!0,get:function(){return D(this,"field")?B(this,"field"):null},set:function(a){this.a.field=a}},rh:{configurable:!0,enumerable:!0,get:function(){return D(this,"metric")?B(this,"metric"):null},set:function(a){this.a.metric=a}}});
var tf=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(tf,A);tf.prototype.f=function(){return{keys:["name","value"]}};l.Object.defineProperties(tf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return D(this,"name")?B(this,"name"):null},set:function(a){this.a.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return D(this,"value")?B(this,"value"):null},set:function(a){this.a.value=a}}});
var uf=function(a){a=void 0===a?{}:a;this.a={};this.a.logMode=null==a.oh?null:a.oh};q(uf,A);uf.prototype.f=function(){return{L:{logMode:Ee},keys:["logMode"]}};l.Object.defineProperties(uf.prototype,{oh:{configurable:!0,enumerable:!0,get:function(){return D(this,"logMode")?B(this,"logMode"):null},set:function(a){this.a.logMode=a}}});var vf=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q(vf,A);
vf.prototype.f=function(){return{keys:["values"],xa:{values:{fa:df,ka:!1,la:!0,ma:!1}}}};l.Object.defineProperties(vf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return D(this,"values")?B(this,"values"):null},set:function(a){this.a.values=a}}});var wf=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(wf,A);wf.prototype.f=function(){return{keys:["max","min"]}};
l.Object.defineProperties(wf.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return D(this,"max")?B(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return D(this,"min")?B(this,"min"):null},set:function(a){this.a.min=a}}});var xf=function(a){a=void 0===a?{}:a;this.a={};this.a.folder=null==a.Ze?null:a.Ze;this.a.filenamePrefix=null==a.ua?null:a.ua};q(xf,A);xf.prototype.f=function(){return{keys:["filenamePrefix","folder"]}};
l.Object.defineProperties(xf.prototype,{ua:{configurable:!0,enumerable:!0,get:function(){return D(this,"filenamePrefix")?B(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},Ze:{configurable:!0,enumerable:!0,get:function(){return D(this,"folder")?B(this,"folder"):null},set:function(a){this.a.folder=a}}});
var yf=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.Ia?null:a.Ia;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.za?null:a.za;this.a.quota=null==a.quota?null:a.quota;this.a.tilestoreEntry=null==a.Xh?null:a.Xh;this.a.gcsLocation=null==a.Tg?null:a.Tg;this.a.expression=null==a.i?null:a.i};q(yf,A);
yf.prototype.f=function(){return{S:{bands:zf},L:{type:Fe},keys:"bands description endTime expression gcsLocation geometry id name properties quota sizeBytes startTime tilestoreEntry title type updateTime".split(" "),xa:{geometry:{fa:null,ka:!1,la:!1,ma:!1},properties:{fa:null,ka:!1,la:!1,ma:!1}},s:{expression:of,gcsLocation:Af,quota:Bf,tilestoreEntry:Cf}}};
l.Object.defineProperties(yf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return D(this,"bands")?B(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return D(this,"endTime")?B(this,"endTime"):null},set:function(a){this.a.endTime=a}},i:{configurable:!0,enumerable:!0,get:function(){return D(this,
"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},Tg:{configurable:!0,enumerable:!0,get:function(){return D(this,"gcsLocation")?B(this,"gcsLocation"):null},set:function(a){this.a.gcsLocation=a}},geometry:{configurable:!0,enumerable:!0,get:function(){return D(this,"geometry")?B(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return D(this,"id")?B(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,
enumerable:!0,get:function(){return D(this,"name")?B(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return D(this,"properties")?B(this,"properties"):null},set:function(a){this.a.properties=a}},quota:{configurable:!0,enumerable:!0,get:function(){return D(this,"quota")?B(this,"quota"):null},set:function(a){this.a.quota=a}},za:{configurable:!0,enumerable:!0,get:function(){return D(this,"sizeBytes")?B(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=
a}},startTime:{configurable:!0,enumerable:!0,get:function(){return D(this,"startTime")?B(this,"startTime"):null},set:function(a){this.a.startTime=a}},Xh:{configurable:!0,enumerable:!0,get:function(){return D(this,"tilestoreEntry")?B(this,"tilestoreEntry"):null},set:function(a){this.a.tilestoreEntry=a}},title:{configurable:!0,enumerable:!0,get:function(){return D(this,"title")?B(this,"title"):null},set:function(a){this.a.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return D(this,"type")?
B(this,"type"):null},set:function(a){this.a.type=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return D(this,"updateTime")?B(this,"updateTime"):null},set:function(a){this.a.updateTime=a}}});var Df=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name};q(Df,A);Df.prototype.f=function(){return{keys:["name"]}};
l.Object.defineProperties(Df.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return D(this,"name")?B(this,"name"):null},set:function(a){this.a.name=a}}});var Ef=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.B?null:a.B;this.a.bandIds=null==a.ba?null:a.ba;this.a.visualizationOptions=null==a.$b?null:a.$b};q(Ef,A);
Ef.prototype.f=function(){return{L:{fileFormat:Ge},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],s:{expression:of,visualizationOptions:Ff}}};
l.Object.defineProperties(Ef.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return D(this,"bandIds")?B(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileFormat")?B(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return D(this,
"name")?B(this,"name"):null},set:function(a){this.a.name=a}},$b:{configurable:!0,enumerable:!0,get:function(){return D(this,"visualizationOptions")?B(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});var Gf=function(){this.a={}};q(Gf,A);Gf.prototype.f=function(){return{keys:[]}};
var Hf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.assetExportOptions=null==a.Za?null:a.Za;this.a.maxPixels=null==a.uf?null:a.uf;this.a.grid=null==a.K?null:a.K;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};q(Hf,A);
Hf.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkerCount requestId".split(" "),s:{assetExportOptions:If,expression:of,fileExportOptions:Jf,grid:Kf}}};
l.Object.defineProperties(Hf.prototype,{Za:{configurable:!0,enumerable:!0,get:function(){return D(this,"assetExportOptions")?B(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},
ha:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileExportOptions")?B(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},K:{configurable:!0,enumerable:!0,get:function(){return D(this,"grid")?B(this,"grid"):null},set:function(a){this.a.grid=a}},uf:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxPixels")?B(this,"maxPixels"):null},set:function(a){this.a.maxPixels=a}},U:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxWorkerCount")?
B(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return D(this,"requestId")?B(this,"requestId"):null},set:function(a){this.a.requestId=a}}});
var Lf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.tileOptions=null==a.Xb?null:a.Xb;this.a.tileExportOptions=null==a.Wb?null:a.Wb;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};q(Lf,A);Lf.prototype.f=function(){return{keys:"description expression maxWorkerCount requestId tileExportOptions tileOptions".split(" "),s:{expression:of,tileExportOptions:Jf,tileOptions:Mf}}};
l.Object.defineProperties(Lf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},U:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxWorkerCount")?B(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,
enumerable:!0,get:function(){return D(this,"requestId")?B(this,"requestId"):null},set:function(a){this.a.requestId=a}},Wb:{configurable:!0,enumerable:!0,get:function(){return D(this,"tileExportOptions")?B(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Xb:{configurable:!0,enumerable:!0,get:function(){return D(this,"tileOptions")?B(this,"tileOptions"):null},set:function(a){this.a.tileOptions=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.fileExportOptions=null==a.ha?null:a.ha;this.a.assetExportOptions=null==a.Za?null:a.Za;this.a.selectors=null==a.selectors?null:a.selectors;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxErrorMeters=null==a.Pb?null:a.Pb;this.a.maxWorkerCount=null==a.U?null:a.U;this.a.maxVertices=null==a.maxVertices?null:a.maxVertices};q(Nf,A);
Nf.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions maxErrorMeters maxVertices maxWorkerCount requestId selectors".split(" "),s:{assetExportOptions:Of,expression:of,fileExportOptions:Pf}}};
l.Object.defineProperties(Nf.prototype,{Za:{configurable:!0,enumerable:!0,get:function(){return D(this,"assetExportOptions")?B(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},
ha:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileExportOptions")?B(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},Pb:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxErrorMeters")?B(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxVertices")?B(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},U:{configurable:!0,enumerable:!0,
get:function(){return D(this,"maxWorkerCount")?B(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return D(this,"requestId")?B(this,"requestId"):null},set:function(a){this.a.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return D(this,"selectors")?B(this,"selectors"):null},set:function(a){this.a.selectors=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.Ja?null:a.Ja;this.a.tileOptions=null==a.Xb?null:a.Xb;this.a.tileExportOptions=null==a.Wb?null:a.Wb;this.a.requestId=null==a.requestId?null:a.requestId;this.a.version=null==a.version?null:a.version;this.a.maxWorkerCount=null==a.U?null:a.U};q(Qf,A);
Qf.prototype.f=function(){return{L:{version:He},keys:"description expression maxWorkerCount requestId tileExportOptions tileOptions version videoOptions".split(" "),s:{expression:of,tileExportOptions:Rf,tileOptions:Mf,videoOptions:Sf}}};
l.Object.defineProperties(Qf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},U:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxWorkerCount")?B(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,
enumerable:!0,get:function(){return D(this,"requestId")?B(this,"requestId"):null},set:function(a){this.a.requestId=a}},Wb:{configurable:!0,enumerable:!0,get:function(){return D(this,"tileExportOptions")?B(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Xb:{configurable:!0,enumerable:!0,get:function(){return D(this,"tileOptions")?B(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return D(this,"version")?
B(this,"version"):null},set:function(a){this.a.version=a}},Ja:{configurable:!0,enumerable:!0,get:function(){return D(this,"videoOptions")?B(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});
var Tf=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.Ja?null:a.Ja;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};q(Tf,A);Tf.prototype.f=function(){return{keys:"description expression fileExportOptions maxWorkerCount requestId videoOptions".split(" "),s:{expression:of,fileExportOptions:Rf,videoOptions:Sf}}};
l.Object.defineProperties(Tf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},ha:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileExportOptions")?B(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},U:{configurable:!0,
enumerable:!0,get:function(){return D(this,"maxWorkerCount")?B(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return D(this,"requestId")?B(this,"requestId"):null},set:function(a){this.a.requestId=a}},Ja:{configurable:!0,enumerable:!0,get:function(){return D(this,"videoOptions")?B(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});
var jf=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(jf,A);jf.prototype.f=function(){return{keys:["description","expression","location","title"]}};
l.Object.defineProperties(jf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return D(this,"location")?B(this,"location"):null},set:function(a){this.a.location=a}},title:{configurable:!0,enumerable:!0,
get:function(){return D(this,"title")?B(this,"title"):null},set:function(a){this.a.title=a}}});var of=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(of,A);of.prototype.f=function(){return{keys:["result","values"],xa:{values:{fa:df,ka:!1,la:!0,ma:!1}}}};
l.Object.defineProperties(of.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return D(this,"result")?B(this,"result"):null},set:function(a){this.a.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return D(this,"values")?B(this,"values"):null},set:function(a){this.a.values=a}}});
var Uf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.orientation=null==a.orientation?null:a.orientation;this.a.fileFormat=null==a.B?null:a.B;this.a.grid=null==a.K?null:a.K};q(Uf,A);Uf.prototype.f=function(){return{L:{fileFormat:Ie,orientation:Je},keys:["expression","fileFormat","grid","name","orientation"],s:{expression:of,grid:Kf}}};
l.Object.defineProperties(Uf.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileFormat")?B(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return D(this,"grid")?B(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return D(this,
"name")?B(this,"name"):null},set:function(a){this.a.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return D(this,"orientation")?B(this,"orientation"):null},set:function(a){this.a.orientation=a}}});var Bf=function(a){a=void 0===a?{}:a;this.a={};this.a.sizeBytes=null==a.za?null:a.za;this.a.maxSizeBytes=null==a.Qb?null:a.Qb;this.a.assetCount=null==a.ze?null:a.ze;this.a.maxAssetCount=null==a.sf?null:a.sf};q(Bf,A);
Bf.prototype.f=function(){return{keys:["assetCount","maxAssetCount","maxSizeBytes","sizeBytes"]}};
l.Object.defineProperties(Bf.prototype,{ze:{configurable:!0,enumerable:!0,get:function(){return D(this,"assetCount")?B(this,"assetCount"):null},set:function(a){this.a.assetCount=a}},sf:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxAssetCount")?B(this,"maxAssetCount"):null},set:function(a){this.a.maxAssetCount=a}},Qb:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxSizeBytes")?B(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},za:{configurable:!0,
enumerable:!0,get:function(){return D(this,"sizeBytes")?B(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}}});var Vf=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentNames=null==a.zc?null:a.zc;this.a.body=null==a.body?null:a.body};q(Vf,A);Vf.prototype.f=function(){return{keys:["argumentNames","body"]}};
l.Object.defineProperties(Vf.prototype,{zc:{configurable:!0,enumerable:!0,get:function(){return D(this,"argumentNames")?B(this,"argumentNames"):null},set:function(a){this.a.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return D(this,"body")?B(this,"body"):null},set:function(a){this.a.body=a}}});
var Wf=function(a){a=void 0===a?{}:a;this.a={};this.a.functionName=null==a.functionName?null:a.functionName;this.a.functionReference=null==a.mb?null:a.mb;this.a.arguments=null==a.arguments?null:a.arguments};q(Wf,A);Wf.prototype.f=function(){return{keys:["arguments","functionName","functionReference"],xa:{arguments:{fa:df,ka:!1,la:!0,ma:!1}}}};
l.Object.defineProperties(Wf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return D(this,"arguments")?B(this,"arguments"):null},set:function(a){this.a.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return D(this,"functionName")?B(this,"functionName"):null},set:function(a){this.a.functionName=a}},mb:{configurable:!0,enumerable:!0,get:function(){return D(this,"functionReference")?B(this,"functionReference"):null},set:function(a){this.a.functionReference=
a}}});var Xf=function(a){a=void 0===a?{}:a;this.a={};this.a.bucket=null==a.Ce?null:a.Ce;this.a.filenamePrefix=null==a.ua?null:a.ua;this.a.permissions=null==a.permissions?null:a.permissions;this.a.bucketCorsUris=null==a.De?null:a.De};q(Xf,A);Xf.prototype.f=function(){return{L:{permissions:Ke},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
l.Object.defineProperties(Xf.prototype,{Ce:{configurable:!0,enumerable:!0,get:function(){return D(this,"bucket")?B(this,"bucket"):null},set:function(a){this.a.bucket=a}},De:{configurable:!0,enumerable:!0,get:function(){return D(this,"bucketCorsUris")?B(this,"bucketCorsUris"):null},set:function(a){this.a.bucketCorsUris=a}},ua:{configurable:!0,enumerable:!0,get:function(){return D(this,"filenamePrefix")?B(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},permissions:{configurable:!0,
enumerable:!0,get:function(){return D(this,"permissions")?B(this,"permissions"):null},set:function(a){this.a.permissions=a}}});l.Object.defineProperties(Xf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return Ke}}});var Af=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Sa?null:a.Sa};q(Af,A);Af.prototype.f=function(){return{keys:["uris"]}};
l.Object.defineProperties(Af.prototype,{Sa:{configurable:!0,enumerable:!0,get:function(){return D(this,"uris")?B(this,"uris"):null},set:function(a){this.a.uris=a}}});var Yf=function(a){a=void 0===a?{}:a;this.a={};this.a.cloudOptimized=null==a.Ge?null:a.Ge;this.a.tileDimensions=null==a.Ha?null:a.Ha;this.a.skipEmptyFiles=null==a.Sf?null:a.Sf};q(Yf,A);Yf.prototype.f=function(){return{keys:["cloudOptimized","skipEmptyFiles","tileDimensions"],s:{tileDimensions:Zf}}};
l.Object.defineProperties(Yf.prototype,{Ge:{configurable:!0,enumerable:!0,get:function(){return D(this,"cloudOptimized")?B(this,"cloudOptimized"):null},set:function(a){this.a.cloudOptimized=a}},Sf:{configurable:!0,enumerable:!0,get:function(){return D(this,"skipEmptyFiles")?B(this,"skipEmptyFiles"):null},set:function(a){this.a.skipEmptyFiles=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return D(this,"tileDimensions")?B(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
var $f=function(a){a=void 0===a?{}:a;this.a={};this.a.options=null==a.options?null:a.options};q($f,A);$f.prototype.f=function(){return{keys:["options"],s:{options:ag}}};l.Object.defineProperties($f.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return D(this,"options")?B(this,"options"):null},set:function(a){this.a.options=a}}});var ag=function(a){a=void 0===a?{}:a;this.a={};this.a.requestedPolicyVersion=null==a.Hh?null:a.Hh};q(ag,A);ag.prototype.f=function(){return{keys:["requestedPolicyVersion"]}};
l.Object.defineProperties(ag.prototype,{Hh:{configurable:!0,enumerable:!0,get:function(){return D(this,"requestedPolicyVersion")?B(this,"requestedPolicyVersion"):null},set:function(a){this.a.requestedPolicyVersion=a}}});var Zf=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(Zf,A);Zf.prototype.f=function(){return{keys:["height","width"]}};
l.Object.defineProperties(Zf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return D(this,"height")?B(this,"height"):null},set:function(a){this.a.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return D(this,"width")?B(this,"width"):null},set:function(a){this.a.width=a}}});var bg=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(bg,A);bg.prototype.f=function(){return{keys:["x","y"]}};
l.Object.defineProperties(bg.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return D(this,"x")?B(this,"x"):null},set:function(a){this.a.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return D(this,"y")?B(this,"y"):null},set:function(a){this.a.y=a}}});
var cg=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.Ia?null:a.Ia;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.za?null:a.za};q(cg,A);cg.prototype.f=function(){return{S:{bands:zf},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),xa:{geometry:{fa:null,ka:!1,la:!1,ma:!1},properties:{fa:null,ka:!1,la:!1,ma:!1}}}};
l.Object.defineProperties(cg.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return D(this,"bands")?B(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return D(this,"endTime")?B(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
get:function(){return D(this,"geometry")?B(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return D(this,"id")?B(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return D(this,"name")?B(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return D(this,"properties")?B(this,"properties"):null},set:function(a){this.a.properties=a}},za:{configurable:!0,
enumerable:!0,get:function(){return D(this,"sizeBytes")?B(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return D(this,"startTime")?B(this,"startTime"):null},set:function(a){this.a.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return D(this,"title")?B(this,"title"):null},set:function(a){this.a.title=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return D(this,"updateTime")?B(this,"updateTime"):null},set:function(a){this.a.updateTime=
a}}});var If=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.Kb?null:a.Kb;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.pyramidingPolicyOverrides=null==a.Ef?null:a.Ef;this.a.tileSize=null==a.tileSize?null:a.tileSize};q(If,A);
If.prototype.f=function(){return{L:{pyramidingPolicy:Le,pyramidingPolicyOverrides:Me},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],xa:{pyramidingPolicyOverrides:{fa:null,ka:!1,la:!1,ma:!1}},s:{earthEngineDestination:Df}}};
l.Object.defineProperties(If.prototype,{Kb:{configurable:!0,enumerable:!0,get:function(){return D(this,"earthEngineDestination")?B(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return D(this,"pyramidingPolicy")?B(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Ef:{configurable:!0,enumerable:!0,get:function(){return D(this,"pyramidingPolicyOverrides")?B(this,"pyramidingPolicyOverrides"):
null},set:function(a){this.a.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return D(this,"tileSize")?B(this,"tileSize"):null},set:function(a){this.a.tileSize=a}}});
var zf=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.K?null:a.K;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(zf,A);
zf.prototype.f=function(){return{S:{tilesets:dg},L:{pyramidingPolicy:Ne},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),s:{dataType:eg,grid:Kf,missingData:fg}}};
l.Object.defineProperties(zf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return D(this,"dataType")?B(this,"dataType"):null},set:function(a){this.a.dataType=a}},K:{configurable:!0,enumerable:!0,get:function(){return D(this,"grid")?B(this,"grid"):null},set:function(a){this.a.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return D(this,"id")?B(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return D(this,"missingData")?
B(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return D(this,"pyramidingPolicy")?B(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return D(this,"tilesets")?B(this,"tilesets"):null},set:function(a){this.a.tilesets=a}}});
var Jf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.B?null:a.B;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia;this.a.geoTiffOptions=null==a.wd?null:a.wd;this.a.tfRecordOptions=null==a.Td?null:a.Td};q(Jf,A);Jf.prototype.f=function(){return{L:{fileFormat:Oe},keys:["driveDestination","fileFormat","gcsDestination","geoTiffOptions","tfRecordOptions"],s:{driveDestination:xf,gcsDestination:Xf,geoTiffOptions:Yf,tfRecordOptions:gg}}};
l.Object.defineProperties(Jf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return D(this,"driveDestination")?B(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileFormat")?B(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return D(this,"gcsDestination")?B(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}},wd:{configurable:!0,
enumerable:!0,get:function(){return D(this,"geoTiffOptions")?B(this,"geoTiffOptions"):null},set:function(a){this.a.geoTiffOptions=a}},Td:{configurable:!0,enumerable:!0,get:function(){return D(this,"tfRecordOptions")?B(this,"tfRecordOptions"):null},set:function(a){this.a.tfRecordOptions=a}}});
var hg=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.hd?null:a.hd;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.bands=null==a.bands?null:a.bands;this.a.maskBands=null==a.rf?null:a.rf;this.a.footprint=null==a.Rg?null:a.Rg;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(hg,A);hg.prototype.f=function(){return{S:{bands:ig,maskBands:jg,tilesets:kg},L:{pyramidingPolicy:Pe},keys:"bands endTime footprint maskBands missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),xa:{properties:{fa:null,ka:!1,la:!1,ma:!1}},s:{footprint:lg,missingData:fg}}};
l.Object.defineProperties(hg.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return D(this,"bands")?B(this,"bands"):null},set:function(a){this.a.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return D(this,"endTime")?B(this,"endTime"):null},set:function(a){this.a.endTime=a}},Rg:{configurable:!0,enumerable:!0,get:function(){return D(this,"footprint")?B(this,"footprint"):null},set:function(a){this.a.footprint=a}},rf:{configurable:!0,enumerable:!0,get:function(){return D(this,
"maskBands")?B(this,"maskBands"):null},set:function(a){this.a.maskBands=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return D(this,"missingData")?B(this,"missingData"):null},set:function(a){this.a.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return D(this,"name")?B(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return D(this,"properties")?B(this,"properties"):null},set:function(a){this.a.properties=
a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return D(this,"pyramidingPolicy")?B(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return D(this,"startTime")?B(this,"startTime"):null},set:function(a){this.a.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return D(this,"tilesets")?B(this,"tilesets"):null},set:function(a){this.a.tilesets=a}},hd:{configurable:!0,enumerable:!0,get:function(){return D(this,
"uriPrefix")?B(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});var mg=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Sa?null:a.Sa;this.a.affineTransform=null==a.Eb?null:a.Eb};q(mg,A);mg.prototype.f=function(){return{keys:["affineTransform","uris"],s:{affineTransform:$e}}};
l.Object.defineProperties(mg.prototype,{Eb:{configurable:!0,enumerable:!0,get:function(){return D(this,"affineTransform")?B(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return D(this,"uris")?B(this,"uris"):null},set:function(a){this.a.uris=a}}});
var ng=function(a){a=void 0===a?{}:a;this.a={};this.a.imageManifest=null==a.ef?null:a.ef;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(ng,A);ng.prototype.f=function(){return{keys:["description","imageManifest","overwrite","requestId"],s:{imageManifest:hg}}};
l.Object.defineProperties(ng.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},ef:{configurable:!0,enumerable:!0,get:function(){return D(this,"imageManifest")?B(this,"imageManifest"):null},set:function(a){this.a.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return D(this,"overwrite")?B(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},requestId:{configurable:!0,
enumerable:!0,get:function(){return D(this,"requestId")?B(this,"requestId"):null},set:function(a){this.a.requestId=a}}});var og=function(a){a=void 0===a?{}:a;this.a={};this.a.tableManifest=null==a.Xf?null:a.Xf;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(og,A);og.prototype.f=function(){return{keys:["description","overwrite","requestId","tableManifest"],s:{tableManifest:pg}}};
l.Object.defineProperties(og.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return D(this,"overwrite")?B(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return D(this,"requestId")?B(this,"requestId"):null},set:function(a){this.a.requestId=a}},Xf:{configurable:!0,
enumerable:!0,get:function(){return D(this,"tableManifest")?B(this,"tableManifest"):null},set:function(a){this.a.tableManifest=a}}});var qg=function(a){a=void 0===a?{}:a;this.a={};this.a.algorithms=null==a.yc?null:a.yc};q(qg,A);qg.prototype.f=function(){return{S:{algorithms:af},keys:["algorithms"]}};l.Object.defineProperties(qg.prototype,{yc:{configurable:!0,enumerable:!0,get:function(){return D(this,"algorithms")?B(this,"algorithms"):null},set:function(a){this.a.algorithms=a}}});
var rg=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.assets?null:a.assets;this.a.nextPageToken=null==a.Pa?null:a.Pa};q(rg,A);rg.prototype.f=function(){return{S:{assets:yf},keys:["assets","nextPageToken"]}};
l.Object.defineProperties(rg.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return D(this,"assets")?B(this,"assets"):null},set:function(a){this.a.assets=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return D(this,"nextPageToken")?B(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});var sg=function(a){a=void 0===a?{}:a;this.a={};this.a.images=null==a.images?null:a.images;this.a.nextPageToken=null==a.Pa?null:a.Pa};q(sg,A);
sg.prototype.f=function(){return{S:{images:cg},keys:["images","nextPageToken"]}};l.Object.defineProperties(sg.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return D(this,"images")?B(this,"images"):null},set:function(a){this.a.images=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return D(this,"nextPageToken")?B(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});
var tg=function(a){a=void 0===a?{}:a;this.a={};this.a.operations=null==a.Fa?null:a.Fa;this.a.nextPageToken=null==a.Pa?null:a.Pa};q(tg,A);tg.prototype.f=function(){return{S:{operations:ug},keys:["nextPageToken","operations"]}};
l.Object.defineProperties(tg.prototype,{Pa:{configurable:!0,enumerable:!0,get:function(){return D(this,"nextPageToken")?B(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return D(this,"operations")?B(this,"operations"):null},set:function(a){this.a.operations=a}}});
var vg=function(a){a=void 0===a?{}:a;this.a={};this.a.counter=null==a.counter?null:a.counter;this.a.dataAccess=null==a.Eg?null:a.Eg;this.a.cloudAudit=null==a.ug?null:a.ug};q(vg,A);vg.prototype.f=function(){return{keys:["cloudAudit","counter","dataAccess"],s:{cloudAudit:mf,counter:sf,dataAccess:uf}}};
l.Object.defineProperties(vg.prototype,{ug:{configurable:!0,enumerable:!0,get:function(){return D(this,"cloudAudit")?B(this,"cloudAudit"):null},set:function(a){this.a.cloudAudit=a}},counter:{configurable:!0,enumerable:!0,get:function(){return D(this,"counter")?B(this,"counter"):null},set:function(a){this.a.counter=a}},Eg:{configurable:!0,enumerable:!0,get:function(){return D(this,"dataAccess")?B(this,"dataAccess"):null},set:function(a){this.a.dataAccess=a}}});
var fg=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q(fg,A);fg.prototype.f=function(){return{keys:["values"]}};l.Object.defineProperties(fg.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return D(this,"values")?B(this,"values"):null},set:function(a){this.a.values=a}}});var wg=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.Ib?null:a.Ib};q(wg,A);wg.prototype.f=function(){return{keys:["destinationName"]}};
l.Object.defineProperties(wg.prototype,{Ib:{configurable:!0,enumerable:!0,get:function(){return D(this,"destinationName")?B(this,"destinationName"):null},set:function(a){this.a.destinationName=a}}});var ug=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.metadata=null==a.vf?null:a.vf;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(ug,A);
ug.prototype.f=function(){return{keys:["done","error","metadata","name","response"],xa:{metadata:{fa:null,ka:!1,la:!1,ma:!1},response:{fa:null,ka:!1,la:!1,ma:!1}},s:{error:xg}}};
l.Object.defineProperties(ug.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return D(this,"done")?B(this,"done"):null},set:function(a){this.a.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return D(this,"error")?B(this,"error"):null},set:function(a){this.a.error=a}},vf:{configurable:!0,enumerable:!0,get:function(){return D(this,"metadata")?B(this,"metadata"):null},set:function(a){this.a.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return D(this,"name")?
B(this,"name"):null},set:function(a){this.a.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return D(this,"response")?B(this,"response"):null},set:function(a){this.a.response=a}}});
var yg=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.Me?null:a.Me;this.a.updateTime=null==a.Ia?null:a.Ia;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.scriptUri=null==a.Mf?null:a.Mf;this.a.destinationUris=null==a.Pe?null:a.Pe};q(yg,A);
yg.prototype.f=function(){return{L:{state:Qe},keys:"createTime description destinationUris endTime priority scriptUri startTime state type updateTime".split(" ")}};
l.Object.defineProperties(yg.prototype,{Me:{configurable:!0,enumerable:!0,get:function(){return D(this,"createTime")?B(this,"createTime"):null},set:function(a){this.a.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},Pe:{configurable:!0,enumerable:!0,get:function(){return D(this,"destinationUris")?B(this,"destinationUris"):null},set:function(a){this.a.destinationUris=a}},endTime:{configurable:!0,
enumerable:!0,get:function(){return D(this,"endTime")?B(this,"endTime"):null},set:function(a){this.a.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return D(this,"priority")?B(this,"priority"):null},set:function(a){this.a.priority=a}},Mf:{configurable:!0,enumerable:!0,get:function(){return D(this,"scriptUri")?B(this,"scriptUri"):null},set:function(a){this.a.scriptUri=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return D(this,"startTime")?B(this,"startTime"):null},
set:function(a){this.a.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return D(this,"state")?B(this,"state"):null},set:function(a){this.a.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return D(this,"type")?B(this,"type"):null},set:function(a){this.a.type=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return D(this,"updateTime")?B(this,"updateTime"):null},set:function(a){this.a.updateTime=a}}});
var eg=function(a){a=void 0===a?{}:a;this.a={};this.a.precision=null==a.precision?null:a.precision;this.a.range=null==a.ad?null:a.ad;this.a.dimensionsCount=null==a.Ig?null:a.Ig};q(eg,A);eg.prototype.f=function(){return{L:{precision:Re},keys:["dimensionsCount","precision","range"],s:{range:wf}}};
l.Object.defineProperties(eg.prototype,{Ig:{configurable:!0,enumerable:!0,get:function(){return D(this,"dimensionsCount")?B(this,"dimensionsCount"):null},set:function(a){this.a.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return D(this,"precision")?B(this,"precision"):null},set:function(a){this.a.precision=a}},ad:{configurable:!0,enumerable:!0,get:function(){return D(this,"range")?B(this,"range"):null},set:function(a){this.a.range=a}}});
var lg=function(a){a=void 0===a?{}:a;this.a={};this.a.points=null==a.Bh?null:a.Bh;this.a.bandId=null==a.mg?null:a.mg};q(lg,A);lg.prototype.f=function(){return{S:{points:bg},keys:["bandId","points"]}};l.Object.defineProperties(lg.prototype,{mg:{configurable:!0,enumerable:!0,get:function(){return D(this,"bandId")?B(this,"bandId"):null},set:function(a){this.a.bandId=a}},Bh:{configurable:!0,enumerable:!0,get:function(){return D(this,"points")?B(this,"points"):null},set:function(a){this.a.points=a}}});
var Kf=function(a){a=void 0===a?{}:a;this.a={};this.a.crsCode=null==a.Ne?null:a.Ne;this.a.crsWkt=null==a.Ag?null:a.Ag;this.a.dimensions=null==a.dimensions?null:a.dimensions;this.a.affineTransform=null==a.Eb?null:a.Eb};q(Kf,A);Kf.prototype.f=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],s:{affineTransform:$e,dimensions:Zf}}};
l.Object.defineProperties(Kf.prototype,{Eb:{configurable:!0,enumerable:!0,get:function(){return D(this,"affineTransform")?B(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Ne:{configurable:!0,enumerable:!0,get:function(){return D(this,"crsCode")?B(this,"crsCode"):null},set:function(a){this.a.crsCode=a}},Ag:{configurable:!0,enumerable:!0,get:function(){return D(this,"crsWkt")?B(this,"crsWkt"):null},set:function(a){this.a.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
get:function(){return D(this,"dimensions")?B(this,"dimensions"):null},set:function(a){this.a.dimensions=a}}});var zg=function(a){a=void 0===a?{}:a;this.a={};this.a.version=null==a.version?null:a.version;this.a.bindings=null==a.pd?null:a.pd;this.a.auditConfigs=null==a.jg?null:a.jg;this.a.rules=null==a.rules?null:a.rules;this.a.etag=null==a.Te?null:a.Te;this.a.iamOwned=null==a.ah?null:a.ah};q(zg,A);zg.prototype.f=function(){return{S:{auditConfigs:ef,bindings:hf,rules:Ag},keys:"auditConfigs bindings etag iamOwned rules version".split(" ")}};
l.Object.defineProperties(zg.prototype,{jg:{configurable:!0,enumerable:!0,get:function(){return D(this,"auditConfigs")?B(this,"auditConfigs"):null},set:function(a){this.a.auditConfigs=a}},pd:{configurable:!0,enumerable:!0,get:function(){return D(this,"bindings")?B(this,"bindings"):null},set:function(a){this.a.bindings=a}},Te:{configurable:!0,enumerable:!0,get:function(){return D(this,"etag")?B(this,"etag"):null},set:function(a){this.a.etag=a}},ah:{configurable:!0,enumerable:!0,get:function(){return D(this,
"iamOwned")?B(this,"iamOwned"):null},set:function(a){this.a.iamOwned=a}},rules:{configurable:!0,enumerable:!0,get:function(){return D(this,"rules")?B(this,"rules"):null},set:function(a){this.a.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return D(this,"version")?B(this,"version"):null},set:function(a){this.a.version=a}}});
var Ag=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.gh?null:a.gh;this.a.notIn=null==a.th?null:a.th;this.a.conditions=null==a.conditions?null:a.conditions;this.a.logConfig=null==a.nh?null:a.nh};q(Ag,A);Ag.prototype.f=function(){return{S:{conditions:qf,logConfig:vg},L:{action:Se},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
l.Object.defineProperties(Ag.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return D(this,"action")?B(this,"action"):null},set:function(a){this.a.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return D(this,"conditions")?B(this,"conditions"):null},set:function(a){this.a.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return D(this,"description")?B(this,"description"):null},set:function(a){this.a.description=a}},gh:{configurable:!0,enumerable:!0,
get:function(){return D(this,"in")?B(this,"in"):null},set:function(a){this.a["in"]=a}},nh:{configurable:!0,enumerable:!0,get:function(){return D(this,"logConfig")?B(this,"logConfig"):null},set:function(a){this.a.logConfig=a}},th:{configurable:!0,enumerable:!0,get:function(){return D(this,"notIn")?B(this,"notIn"):null},set:function(a){this.a.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return D(this,"permissions")?B(this,"permissions"):null},set:function(a){this.a.permissions=
a}}});var Bg=function(a){a=void 0===a?{}:a;this.a={};this.a.policy=null==a.zf?null:a.zf;this.a.updateMask=null==a.vc?null:a.vc};q(Bg,A);Bg.prototype.f=function(){return{keys:["policy","updateMask"],s:{policy:zg}}};
l.Object.defineProperties(Bg.prototype,{zf:{configurable:!0,enumerable:!0,get:function(){return D(this,"policy")?B(this,"policy"):null},set:function(a){this.a.policy=a}},vc:{configurable:!0,enumerable:!0,get:function(){return D(this,"updateMask")?B(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});var xg=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(xg,A);
xg.prototype.f=function(){return{keys:["code","details","message"],xa:{details:{fa:null,ka:!0,la:!1,ma:!1}}}};
l.Object.defineProperties(xg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return D(this,"code")?B(this,"code"):null},set:function(a){this.a.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return D(this,"details")?B(this,"details"):null},set:function(a){this.a.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return D(this,"message")?B(this,"message"):null},set:function(a){this.a.message=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.B?null:a.B;this.a.selectors=null==a.selectors?null:a.selectors;this.a.filename=null==a.filename?null:a.filename};q(Cg,A);Cg.prototype.f=function(){return{L:{fileFormat:Ue},keys:["expression","fileFormat","filename","name","selectors"],s:{expression:of}}};
l.Object.defineProperties(Cg.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileFormat")?B(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return D(this,"filename")?B(this,"filename"):null},set:function(a){this.a.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return D(this,
"name")?B(this,"name"):null},set:function(a){this.a.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return D(this,"selectors")?B(this,"selectors"):null},set:function(a){this.a.selectors=a}}});var Of=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.Kb?null:a.Kb};q(Of,A);Of.prototype.f=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:Df}}};
l.Object.defineProperties(Of.prototype,{Kb:{configurable:!0,enumerable:!0,get:function(){return D(this,"earthEngineDestination")?B(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}}});var Pf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.B?null:a.B;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia};q(Pf,A);
Pf.prototype.f=function(){return{L:{fileFormat:Te},keys:["driveDestination","fileFormat","gcsDestination"],s:{driveDestination:xf,gcsDestination:Xf}}};
l.Object.defineProperties(Pf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return D(this,"driveDestination")?B(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileFormat")?B(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return D(this,"gcsDestination")?B(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
var pg=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.hd?null:a.hd;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(pg,A);pg.prototype.f=function(){return{S:{sources:Dg},keys:"endTime name properties sources startTime uriPrefix".split(" "),xa:{properties:{fa:null,ka:!1,la:!1,ma:!1}}}};
l.Object.defineProperties(pg.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return D(this,"endTime")?B(this,"endTime"):null},set:function(a){this.a.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return D(this,"name")?B(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return D(this,"properties")?B(this,"properties"):null},set:function(a){this.a.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return D(this,
"sources")?B(this,"sources"):null},set:function(a){this.a.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return D(this,"startTime")?B(this,"startTime"):null},set:function(a){this.a.startTime=a}},hd:{configurable:!0,enumerable:!0,get:function(){return D(this,"uriPrefix")?B(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});
var Dg=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Sa?null:a.Sa;this.a.charset=null==a.charset?null:a.charset;this.a.maxErrorMeters=null==a.Pb?null:a.Pb;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.Ch?null:a.Ch;this.a.xColumn=null==a.$h?null:a.$h;this.a.yColumn=null==a.ai?null:a.ai;this.a.dateFormat=null==a.Fg?null:a.Fg;this.a.csvDelimiter=null==a.Bg?
null:a.Bg;this.a.csvQualifier=null==a.Cg?null:a.Cg};q(Dg,A);Dg.prototype.f=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
l.Object.defineProperties(Dg.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return D(this,"charset")?B(this,"charset"):null},set:function(a){this.a.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return D(this,"crs")?B(this,"crs"):null},set:function(a){this.a.crs=a}},Bg:{configurable:!0,enumerable:!0,get:function(){return D(this,"csvDelimiter")?B(this,"csvDelimiter"):null},set:function(a){this.a.csvDelimiter=a}},Cg:{configurable:!0,enumerable:!0,get:function(){return D(this,
"csvQualifier")?B(this,"csvQualifier"):null},set:function(a){this.a.csvQualifier=a}},Fg:{configurable:!0,enumerable:!0,get:function(){return D(this,"dateFormat")?B(this,"dateFormat"):null},set:function(a){this.a.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return D(this,"geodesic")?B(this,"geodesic"):null},set:function(a){this.a.geodesic=a}},Pb:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxErrorMeters")?B(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxVertices")?B(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},Ch:{configurable:!0,enumerable:!0,get:function(){return D(this,"primaryGeometryColumn")?B(this,"primaryGeometryColumn"):null},set:function(a){this.a.primaryGeometryColumn=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return D(this,"uris")?B(this,"uris"):null},set:function(a){this.a.uris=a}},$h:{configurable:!0,enumerable:!0,get:function(){return D(this,
"xColumn")?B(this,"xColumn"):null},set:function(a){this.a.xColumn=a}},ai:{configurable:!0,enumerable:!0,get:function(){return D(this,"yColumn")?B(this,"yColumn"):null},set:function(a){this.a.yColumn=a}}});
var gg=function(a){a=void 0===a?{}:a;this.a={};this.a.tileDimensions=null==a.Ha?null:a.Ha;this.a.marginDimensions=null==a.qf?null:a.qf;this.a.compress=null==a.Ie?null:a.Ie;this.a.maxSizeBytes=null==a.Qb?null:a.Qb;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue;this.a.tensorDepths=null==a.Sd?null:a.Sd;this.a.sequenceData=null==a.Nf?null:a.Nf;this.a.collapseBands=null==a.He?null:a.He;this.a.maxMaskedRatio=null==a.tf?null:a.tf};q(gg,A);
gg.prototype.f=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),xa:{tensorDepths:{fa:null,ka:!1,la:!1,ma:!1}},s:{marginDimensions:Zf,tileDimensions:Zf}}};
l.Object.defineProperties(gg.prototype,{He:{configurable:!0,enumerable:!0,get:function(){return D(this,"collapseBands")?B(this,"collapseBands"):null},set:function(a){this.a.collapseBands=a}},Ie:{configurable:!0,enumerable:!0,get:function(){return D(this,"compress")?B(this,"compress"):null},set:function(a){this.a.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return D(this,"defaultValue")?B(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},qf:{configurable:!0,
enumerable:!0,get:function(){return D(this,"marginDimensions")?B(this,"marginDimensions"):null},set:function(a){this.a.marginDimensions=a}},tf:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxMaskedRatio")?B(this,"maxMaskedRatio"):null},set:function(a){this.a.maxMaskedRatio=a}},Qb:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxSizeBytes")?B(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},Nf:{configurable:!0,enumerable:!0,get:function(){return D(this,
"sequenceData")?B(this,"sequenceData"):null},set:function(a){this.a.sequenceData=a}},Sd:{configurable:!0,enumerable:!0,get:function(){return D(this,"tensorDepths")?B(this,"tensorDepths"):null},set:function(a){this.a.tensorDepths=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return D(this,"tileDimensions")?B(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
var Eg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.B?null:a.B;this.a.bandIds=null==a.ba?null:a.ba;this.a.visualizationOptions=null==a.$b?null:a.$b;this.a.grid=null==a.K?null:a.K;this.a.filenamePrefix=null==a.ua?null:a.ua};q(Eg,A);Eg.prototype.f=function(){return{L:{fileFormat:Ve},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),s:{expression:of,grid:Kf,visualizationOptions:Ff}}};
l.Object.defineProperties(Eg.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return D(this,"bandIds")?B(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileFormat")?B(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ua:{configurable:!0,enumerable:!0,get:function(){return D(this,
"filenamePrefix")?B(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},K:{configurable:!0,enumerable:!0,get:function(){return D(this,"grid")?B(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return D(this,"name")?B(this,"name"):null},set:function(a){this.a.name=a}},$b:{configurable:!0,enumerable:!0,get:function(){return D(this,"visualizationOptions")?B(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=
a}}});var Mf=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.Tf?null:a.Tf;this.a.mapsApiKey=null==a.pf?null:a.pf;this.a.tileDimensions=null==a.Ha?null:a.Ha;this.a.stride=null==a.Uf?null:a.Uf;this.a.zoomSubset=null==a.eg?null:a.eg};q(Mf,A);
Mf.prototype.f=function(){return{keys:"mapsApiKey maxZoom minZoom scale skipEmptyTiles stride tileDimensions zoomSubset".split(" "),s:{tileDimensions:Zf,zoomSubset:Fg}}};
l.Object.defineProperties(Mf.prototype,{pf:{configurable:!0,enumerable:!0,get:function(){return D(this,"mapsApiKey")?B(this,"mapsApiKey"):null},set:function(a){this.a.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxZoom")?B(this,"maxZoom"):null},set:function(a){this.a.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return D(this,"minZoom")?B(this,"minZoom"):null},set:function(a){this.a.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return D(this,
"scale")?B(this,"scale"):null},set:function(a){this.a.scale=a}},Tf:{configurable:!0,enumerable:!0,get:function(){return D(this,"skipEmptyTiles")?B(this,"skipEmptyTiles"):null},set:function(a){this.a.skipEmptyTiles=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return D(this,"stride")?B(this,"stride"):null},set:function(a){this.a.stride=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return D(this,"tileDimensions")?B(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}},
eg:{configurable:!0,enumerable:!0,get:function(){return D(this,"zoomSubset")?B(this,"zoomSubset"):null},set:function(a){this.a.zoomSubset=a}}});var kg=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.Rh?null:a.Rh;this.a.subdatasetSuffix=null==a.Sh?null:a.Sh};q(kg,A);
kg.prototype.f=function(){return{S:{sources:mg},L:{dataType:Xe},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
l.Object.defineProperties(kg.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return D(this,"crs")?B(this,"crs"):null},set:function(a){this.a.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return D(this,"dataType")?B(this,"dataType"):null},set:function(a){this.a.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return D(this,"id")?B(this,"id"):null},set:function(a){this.a.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return D(this,"sources")?
B(this,"sources"):null},set:function(a){this.a.sources=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return D(this,"subdatasetPrefix")?B(this,"subdatasetPrefix"):null},set:function(a){this.a.subdatasetPrefix=a}},Sh:{configurable:!0,enumerable:!0,get:function(){return D(this,"subdatasetSuffix")?B(this,"subdatasetSuffix"):null},set:function(a){this.a.subdatasetSuffix=a}}});
var ig=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.tilesetId=null==a.tc?null:a.tc;this.a.tilesetBandIndex=null==a.Wh?null:a.Wh;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(ig,A);ig.prototype.f=function(){return{L:{pyramidingPolicy:We},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],s:{missingData:fg}}};
l.Object.defineProperties(ig.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return D(this,"id")?B(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return D(this,"missingData")?B(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return D(this,"pyramidingPolicy")?B(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Wh:{configurable:!0,
enumerable:!0,get:function(){return D(this,"tilesetBandIndex")?B(this,"tilesetBandIndex"):null},set:function(a){this.a.tilesetBandIndex=a}},tc:{configurable:!0,enumerable:!0,get:function(){return D(this,"tilesetId")?B(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var jg=function(a){a=void 0===a?{}:a;this.a={};this.a.tilesetId=null==a.tc?null:a.tc;this.a.bandIds=null==a.ba?null:a.ba};q(jg,A);jg.prototype.f=function(){return{keys:["bandIds","tilesetId"]}};
l.Object.defineProperties(jg.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return D(this,"bandIds")?B(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},tc:{configurable:!0,enumerable:!0,get:function(){return D(this,"tilesetId")?B(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var Cf=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(Cf,A);
Cf.prototype.f=function(){return{S:{sources:Gg},keys:["pathPrefix","sources"]}};l.Object.defineProperties(Cf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return D(this,"pathPrefix")?B(this,"pathPrefix"):null},set:function(a){this.a.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return D(this,"sources")?B(this,"sources"):null},set:function(a){this.a.sources=a}}});
var Gg=function(a){a=void 0===a?{}:a;this.a={};this.a.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.a.headerSizeBytes=null==a.Zg?null:a.Zg};q(Gg,A);Gg.prototype.f=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
l.Object.defineProperties(Gg.prototype,{Zg:{configurable:!0,enumerable:!0,get:function(){return D(this,"headerSizeBytes")?B(this,"headerSizeBytes"):null},set:function(a){this.a.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return D(this,"pathSuffix")?B(this,"pathSuffix"):null},set:function(a){this.a.pathSuffix=a}}});
var dg=function(a){a=void 0===a?{}:a;this.a={};this.a.fileIndexes=null==a.Mg?null:a.Mg;this.a.firstTileIndex=null==a.Og?null:a.Og;this.a.tilesPerFile=null==a.Vh?null:a.Vh};q(dg,A);dg.prototype.f=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
l.Object.defineProperties(dg.prototype,{Mg:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileIndexes")?B(this,"fileIndexes"):null},set:function(a){this.a.fileIndexes=a}},Og:{configurable:!0,enumerable:!0,get:function(){return D(this,"firstTileIndex")?B(this,"firstTileIndex"):null},set:function(a){this.a.firstTileIndex=a}},Vh:{configurable:!0,enumerable:!0,get:function(){return D(this,"tilesPerFile")?B(this,"tilesPerFile"):null},set:function(a){this.a.tilesPerFile=a}}});
var Hg=function(a){a=void 0===a?{}:a;this.a={};this.a.asset=null==a.ye?null:a.ye;this.a.updateMask=null==a.vc?null:a.vc};q(Hg,A);Hg.prototype.f=function(){return{keys:["asset","updateMask"],s:{asset:yf}}};
l.Object.defineProperties(Hg.prototype,{ye:{configurable:!0,enumerable:!0,get:function(){return D(this,"asset")?B(this,"asset"):null},set:function(a){this.a.asset=a}},vc:{configurable:!0,enumerable:!0,get:function(){return D(this,"updateMask")?B(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
var df=function(a){a=void 0===a?{}:a;this.a={};this.a.constantValue=null==a.Hb?null:a.Hb;this.a.integerValue=null==a.kf?null:a.kf;this.a.bytesValue=null==a.Ee?null:a.Ee;this.a.arrayValue=null==a.Fb?null:a.Fb;this.a.dictionaryValue=null==a.Jb?null:a.Jb;this.a.functionDefinitionValue=null==a.Mb?null:a.Mb;this.a.functionInvocationValue=null==a.lb?null:a.lb;this.a.argumentReference=null==a.Ac?null:a.Ac;this.a.valueReference=null==a.hb?null:a.hb};q(df,A);
df.prototype.f=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),s:{arrayValue:cf,dictionaryValue:vf,functionDefinitionValue:Vf,functionInvocationValue:Wf}}};
l.Object.defineProperties(df.prototype,{Ac:{configurable:!0,enumerable:!0,get:function(){return D(this,"argumentReference")?B(this,"argumentReference"):null},set:function(a){this.a.argumentReference=a}},Fb:{configurable:!0,enumerable:!0,get:function(){return D(this,"arrayValue")?B(this,"arrayValue"):null},set:function(a){this.a.arrayValue=a}},Ee:{configurable:!0,enumerable:!0,get:function(){return D(this,"bytesValue")?B(this,"bytesValue"):null},set:function(a){this.a.bytesValue=a}},Hb:{configurable:!0,
enumerable:!0,get:function(){return D(this,"constantValue")?B(this,"constantValue"):null},set:function(a){this.a.constantValue=a}},Jb:{configurable:!0,enumerable:!0,get:function(){return D(this,"dictionaryValue")?B(this,"dictionaryValue"):null},set:function(a){this.a.dictionaryValue=a}},Mb:{configurable:!0,enumerable:!0,get:function(){return D(this,"functionDefinitionValue")?B(this,"functionDefinitionValue"):null},set:function(a){this.a.functionDefinitionValue=a}},lb:{configurable:!0,enumerable:!0,
get:function(){return D(this,"functionInvocationValue")?B(this,"functionInvocationValue"):null},set:function(a){this.a.functionInvocationValue=a}},kf:{configurable:!0,enumerable:!0,get:function(){return D(this,"integerValue")?B(this,"integerValue"):null},set:function(a){this.a.integerValue=a}},hb:{configurable:!0,enumerable:!0,get:function(){return D(this,"valueReference")?B(this,"valueReference"):null},set:function(a){this.a.valueReference=a}}});
var Rf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.B?null:a.B;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia};q(Rf,A);Rf.prototype.f=function(){return{L:{fileFormat:Ye},keys:["driveDestination","fileFormat","gcsDestination"],s:{driveDestination:xf,gcsDestination:Xf}}};
l.Object.defineProperties(Rf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return D(this,"driveDestination")?B(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileFormat")?B(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return D(this,"gcsDestination")?B(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
var Sf=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(Sf,A);Sf.prototype.f=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
l.Object.defineProperties(Sf.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return D(this,"framesPerSecond")?B(this,"framesPerSecond"):null},set:function(a){this.a.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxFrames")?B(this,"maxFrames"):null},set:function(a){this.a.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return D(this,"maxPixelsPerFrame")?B(this,"maxPixelsPerFrame"):null},set:function(a){this.a.maxPixelsPerFrame=
a}}});var Ig=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.Ja?null:a.Ja;this.a.fileFormat=null==a.B?null:a.B;this.a.grid=null==a.K?null:a.K};q(Ig,A);Ig.prototype.f=function(){return{L:{fileFormat:Ze},keys:["expression","fileFormat","grid","name","videoOptions"],s:{expression:of,grid:Kf,videoOptions:Sf}}};
l.Object.defineProperties(Ig.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return D(this,"expression")?B(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return D(this,"fileFormat")?B(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return D(this,"grid")?B(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return D(this,
"name")?B(this,"name"):null},set:function(a){this.a.name=a}},Ja:{configurable:!0,enumerable:!0,get:function(){return D(this,"videoOptions")?B(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});var Ff=function(a){a=void 0===a?{}:a;this.a={};this.a.ranges=null==a.Ff?null:a.Ff;this.a.paletteColors=null==a.Zc?null:a.Zc;this.a.gamma=null==a.gamma?null:a.gamma;this.a.opacity=null==a.opacity?null:a.opacity};q(Ff,A);
Ff.prototype.f=function(){return{S:{ranges:wf},keys:["gamma","opacity","paletteColors","ranges"]}};
l.Object.defineProperties(Ff.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return D(this,"gamma")?B(this,"gamma"):null},set:function(a){this.a.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return D(this,"opacity")?B(this,"opacity"):null},set:function(a){this.a.opacity=a}},Zc:{configurable:!0,enumerable:!0,get:function(){return D(this,"paletteColors")?B(this,"paletteColors"):null},set:function(a){this.a.paletteColors=a}},Ff:{configurable:!0,enumerable:!0,get:function(){return D(this,
"ranges")?B(this,"ranges"):null},set:function(a){this.a.ranges=a}}});var Fg=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(Fg,A);Fg.prototype.f=function(){return{keys:["max","min"]}};
l.Object.defineProperties(Fg.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return D(this,"max")?B(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return D(this,"min")?B(this,"min"):null},set:function(a){this.a.min=a}}});
var re={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",callback:"callback",endTime:"endTime",fields:"fields",filter:"filter",key:"key",oauth_token:"oauth_token",overwrite:"overwrite",pageSize:"pageSize",pageToken:"pageToken",prettyPrint:"prettyPrint",quotaUser:"quotaUser",region:"region",startTime:"startTime",uploadType:"uploadType",upload_protocol:"upload_protocol",view:"view"},Jg=function(a){this.j="v1alpha";this.h=new ve(a,null)};
Jg.prototype.list=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.algorithms.list",path:"/"+this.j+"/"+a+"/algorithms",o:F(b),F:qg})};var Kg=function(a){this.j="v1alpha";this.h=new ve(a,null)};Kg.prototype.getCapabilities=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.getCapabilities",path:"/"+this.j+"/"+a+"/capabilities",o:F(b),F:lf})};
Kg.prototype.Uc=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.listAssets",path:"/"+this.j+"/"+a+":listAssets",o:F(b),F:rg})};var Lg=function(a){this.j="v1alpha";this.h=new ve(a,null)};k=Lg.prototype;k.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.assets.create",path:"/"+this.j+"/"+a+"/assets",o:F(c),F:yf})};
k.delete=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return G(this.h,{body:null,u:"DELETE",C:"earthengine.projects.assets.delete",path:"/"+this.j+"/"+a,o:F(b),F:Gf})};k.get=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.assets.get",path:"/"+this.j+"/"+a,o:F(b),F:yf})};
k.link=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.assets.link",path:"/"+this.j+"/"+a+":link",o:F(c),F:yf})};k.Uc=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.assets.listAssets",path:"/"+this.j+"/"+a+":listAssets",o:F(b),F:rg})};
var Mg=function(a,b,c){c=void 0===c?{}:c;a.h.A(b,/^projects\/[^/]+\/assets\/.*$/);return G(a.h,{body:null,u:"GET",C:"earthengine.projects.assets.listImages",path:"/"+a.j+"/"+b+":listImages",o:F(c),F:sg})};Lg.prototype.move=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.assets.move",path:"/"+this.j+"/"+a+":move",o:F(c),F:yf})};var Ng=function(a){this.j="v1alpha";this.h=new ve(a,null)};
Ng.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.j+"/"+a+"/filmstripThumbnails",o:F(c),F:Uf})};var Og=function(a){this.j="v1alpha";this.h=new ve(a,null)};Og.prototype.bb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.image.export",path:"/"+this.j+"/"+a+"/image:export",o:F(c),F:ug})};
Og.prototype.import=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.image.import",path:"/"+this.j+"/"+a+"/image:import",o:F(c),F:ug})};var Pg=function(a){this.j="v1alpha";this.h=new ve(a,null)};Pg.prototype.bb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.map.export",path:"/"+this.j+"/"+a+"/map:export",o:F(c),F:ug})};
var Qg=function(a){this.j="v1alpha";this.h=new ve(a,null)};Qg.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.maps.create",path:"/"+this.j+"/"+a+"/maps",o:F(c),F:Ef})};var Rg=function(a){this.j="v1alpha";this.h=new ve(a,null)};k=Rg.prototype;
k.cancel=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.operations.cancel",path:"/"+this.j+"/"+a+":cancel",o:F(c),F:Gf})};k.delete=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return G(this.h,{body:null,u:"DELETE",C:"earthengine.projects.operations.delete",path:"/"+this.j+"/"+a,o:F(b),F:Gf})};
k.get=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.operations.get",path:"/"+this.j+"/"+a,o:F(b),F:ug})};k.list=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.operations.list",path:"/"+this.j+"/"+a+"/operations",o:F(b),F:tg})};
k.wait=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.operations.wait",path:"/"+this.j+"/"+a+":wait",o:F(c),F:ug})};var Sg=function(a){this.j="v1alpha";this.h=new ve(a,null)};Sg.prototype.bb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.table.export",path:"/"+this.j+"/"+a+"/table:export",o:F(c),F:ug})};
Sg.prototype.import=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.table.import",path:"/"+this.j+"/"+a+"/table:import",o:F(c),F:ug})};var Tg=function(a){this.j="v1alpha";this.h=new ve(a,null)};Tg.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.tables.create",path:"/"+this.j+"/"+a+"/tables",o:F(c),F:Cg})};
var Ug=function(a){this.j="v1alpha";this.h=new ve(a,null)};Ug.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.thumbnails.create",path:"/"+this.j+"/"+a+"/thumbnails",o:F(c),F:Eg})};
var Vg=function(a){this.j="v1alpha";this.h=new ve(a,null)},Wg=function(a,b,c){var d=void 0===d?{}:d;a.h.A(b,/^projects\/[^/]+$/);return G(a.h,{body:c,u:"POST",C:"earthengine.projects.value.compute",path:"/"+a.j+"/"+b+"/value:compute",o:F(d),F:pf})},Xg=function(a){this.j="v1alpha";this.h=new ve(a,null)};
Xg.prototype.bb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.video.export",path:"/"+this.j+"/"+a+"/video:export",o:F(c),F:ug})};var Yg=function(a){this.j="v1alpha";this.h=new ve(a,null)};Yg.prototype.bb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.videoMap.export",path:"/"+this.j+"/"+a+"/videoMap:export",o:F(c),F:ug})};
var Zg=function(a){this.j="v1alpha";this.h=new ve(a,null)};Zg.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.videoThumbnails.create",path:"/"+this.j+"/"+a+"/videoThumbnails",o:F(c),F:Ig})};var $g=function(){};$g.prototype.send=function(a,b){qe(a);return(void 0).then(function(c){return b?Pd(b,c):c})};var ah=function(a,b){this.Mj=100;this.Bj=a;this.Xj=b;this.Id=0;this.ja=null};ah.prototype.get=function(){if(0<this.Id){this.Id--;var a=this.ja;this.ja=a.next;a.next=null}else a=this.Bj();return a};ah.prototype.put=function(a){this.Xj(a);this.Id<this.Mj&&(this.Id++,a.next=this.ja,this.ja=a)};var bh=!wc||9<=Number(Jc),ch=!yc&&!wc||wc&&9<=Number(Jc)||yc&&Gc("1.9.1");var dh=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};k=dh.prototype;k.clone=function(){return new dh(this.x,this.y)};k.toString=function(){return"("+this.x+", "+this.y+")"};k.equals=function(a){return a instanceof dh&&(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 dh?(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 eh=function(a,b){this.width=a;this.height=b};k=eh.prototype;k.clone=function(){return new eh(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 gh=function(a,b){Cb(b,function(c,d){c&&"object"==typeof c&&c.Rc&&(c=c.Nc());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:fh.hasOwnProperty(d)?a.setAttribute(fh[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},fh={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"},ih=function(a,b,c){return hh(document,arguments)},hh=function(a,b){var c=String(b[0]),d=b[1];if(!bh&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',qc(d.name),'"');if(d.type){c.push(' type="',qc(d.type),'"');var e={};Rb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=jh(a,c);d&&("string"===typeof d?c.className=d:Array.isArray(d)?c.className=d.join(" "):gh(c,d));2<b.length&&kh(a,c,b,2);return c},kh=function(a,b,c,d){function e(h){h&&b.appendChild("string"===typeof h?a.createTextNode(h):
h)}for(;d<c.length;d++){var f=c[d];if(!xa(f)||u(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(u(f)){var g="function"==typeof f.item||"string"==typeof f.item;break a}if(za(f)){g="function"==typeof f.item;break a}}g=!1}Wa(g?jb(f):f,e)}}},jh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},lh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},mh=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a},
nh=function(a){z(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},oh=function(a){this.td=a||r.document||document};k=oh.prototype;k.getElementsByTagName=function(a,b){return(b||this.td).getElementsByTagName(String(a))};k.Aj=function(a,b,c){return hh(this.td,arguments)};k.createElement=function(a){return jh(this.td,a)};k.createTextNode=function(a){return this.td.createTextNode(String(a))};
k.appendChild=function(a,b){z(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};k.append=function(a,b){kh(nh(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=lh;k.Vg=function(){return ch&&void 0!=(void 0).children?(void 0).children:Xa((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 ph=function(a){r.setTimeout(function(){throw a;},0)},qh,rh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Bb("Presto")&&(a=function(){var e=jh(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=v(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&&!Bb("Trident")&&!Bb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.tg;c.tg=null;e()}};return function(e){d.next={tg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};var sh=function(){this.be=this.ac=null},uh=new ah(function(){return new th},function(a){a.reset()});sh.prototype.add=function(a,b){var c=uh.get();c.set(a,b);this.be?this.be.next=c:(z(!this.ac),this.ac=c);this.be=c};sh.prototype.remove=function(){var a=null;this.ac&&(a=this.ac,this.ac=this.ac.next,this.ac||(this.be=null),a.next=null);return a};var th=function(){this.next=this.scope=this.Ye=null};th.prototype.set=function(a,b){this.Ye=a;this.scope=b;this.next=null};
th.prototype.reset=function(){this.next=this.scope=this.Ye=null};var zh=function(a,b){vh||wh();xh||(vh(),xh=!0);yh.add(a,b)},vh,wh=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);vh=function(){a.then(Ah)}}else vh=function(){var b=Ah;!za(r.setImmediate)||r.Window&&r.Window.prototype&&!Bb("Edge")&&r.Window.prototype.setImmediate==r.setImmediate?(qh||(qh=rh()),qh(b)):r.setImmediate(b)}},xh=!1,yh=new sh,Ah=function(){for(var a;a=yh.remove();){try{a.Ye.call(a.scope)}catch(b){ph(b)}uh.put(a)}xh=!1};var Bh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Eh=function(a){this.W=0;this.sa=void 0;this.dc=this.$a=this.O=null;this.zd=this.Ue=!1;if(a!=va)try{var b=this;a.call(void 0,function(c){Ch(b,2,c)},function(c){if(!(c instanceof Dh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Ch(b,3,c)})}catch(c){Ch(this,3,c)}},Fh=function(){this.next=this.context=this.lc=this.Sb=this.Gb=null;this.md=!1};Fh.prototype.reset=function(){this.context=this.lc=this.Sb=this.Gb=null;this.md=!1};
var Gh=new ah(function(){return new Fh},function(a){a.reset()}),Hh=function(a,b,c){var d=Gh.get();d.Sb=a;d.lc=b;d.context=c;return d};Eh.prototype.then=function(a,b,c){null!=a&&Sa(a,"opt_onFulfilled should be a function.");null!=b&&Sa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Ih(this,za(a)?a:null,za(b)?b:null,c)};Eh.prototype.$goog_Thenable=!0;
Eh.prototype.cancel=function(a){if(0==this.W){var b=new Dh(a);zh(function(){Jh(this,b)},this)}};
var Jh=function(a,b){if(0==a.W)if(a.O){var c=a.O;if(c.$a){for(var d=0,e=null,f=null,g=c.$a;g&&(g.md||(d++,g.Gb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.W&&1==d?Jh(c,b):(f?(d=f,z(c.$a),z(null!=d),d.next==c.dc&&(c.dc=d),d.next=d.next.next):Kh(c),Lh(c,e,3,b)))}a.O=null}else Ch(a,3,b)},Nh=function(a,b){a.$a||2!=a.W&&3!=a.W||Mh(a);z(null!=b.Sb);a.dc?a.dc.next=b:a.$a=b;a.dc=b},Ih=function(a,b,c,d){var e=Hh(null,null,null);e.Gb=new Eh(function(f,g){e.Sb=b?function(h){try{var n=b.call(d,h);f(n)}catch(p){g(p)}}:
f;e.lc=c?function(h){try{var n=c.call(d,h);void 0===n&&h instanceof Dh?g(h):f(n)}catch(p){g(p)}}:g});e.Gb.O=a;Nh(a,e);return e.Gb};Eh.prototype.ek=function(a){z(1==this.W);this.W=0;Ch(this,2,a)};Eh.prototype.fk=function(a){z(1==this.W);this.W=0;Ch(this,3,a)};
var Ch=function(a,b,c){if(0==a.W){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.W=1;a:{var d=c,e=a.ek,f=a.fk;if(d instanceof Eh){null!=e&&Sa(e,"opt_onFulfilled should be a function.");null!=f&&Sa(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Nh(d,Hh(e||va,f||null,a));var g=!0}else if(Bh(d))d.then(e,f,a),g=!0;else{if(u(d))try{var h=d.then;if(za(h)){Oh(d,h,e,f,a);g=!0;break a}}catch(n){f.call(a,n);g=!0;break a}g=
!1}}g||(a.sa=c,a.W=b,a.O=null,Mh(a),3!=b||c instanceof Dh||Ph(a,c))}},Oh=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)}},Mh=function(a){a.Ue||(a.Ue=!0,zh(a.Ej,a))},Kh=function(a){var b=null;a.$a&&(b=a.$a,a.$a=b.next,b.next=null);a.$a||(a.dc=null);null!=b&&z(null!=b.Sb);return b};Eh.prototype.Ej=function(){for(var a;a=Kh(this);)Lh(this,a,this.W,this.sa);this.Ue=!1};
var Lh=function(a,b,c,d){if(3==c&&b.lc&&!b.md)for(;a&&a.zd;a=a.O)a.zd=!1;if(b.Gb)b.Gb.O=null,Qh(b,c,d);else try{b.md?b.Sb.call(b.context):Qh(b,c,d)}catch(e){Rh.call(null,e)}Gh.put(b)},Qh=function(a,b,c){2==b?a.Sb.call(a.context,c):a.lc&&a.lc.call(a.context,c)},Ph=function(a,b){a.zd=!0;zh(function(){a.zd&&Rh.call(null,b)})},Rh=ph,Dh=function(a){La.call(this,a)};x(Dh,La);Dh.prototype.name="cancel";var Sh=function(a,b,c){if(za(a))c&&(a=v(a,c));else if(a&&"function"==typeof a.handleEvent)a=v(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:r.setTimeout(a,b||0)};var Th=function(a,b,c){Ja.call(this);this.Nj=null!=c?a.bind(c):a;this.Kj=b;this.nd=null;this.sc=!1;this.$c=0;this.Yb=null};q(Th,Ja);k=Th.prototype;k.Xe=function(a){this.nd=arguments;this.Yb||this.$c?this.sc=!0:Uh(this)};k.stop=function(){this.Yb&&(r.clearTimeout(this.Yb),this.Yb=null,this.sc=!1,this.nd=null)};k.pause=function(){this.$c++};k.resume=function(){this.$c--;this.$c||!this.sc||this.Yb||(this.sc=!1,Uh(this))};k.G=function(){Ja.prototype.G.call(this);this.stop()};
var Uh=function(a){a.Yb=Sh(function(){a.Yb=null;a.sc&&!a.$c&&(a.sc=!1,Uh(a))},a.Kj);var b=a.nd;a.nd=null;a.Nj.apply(null,b)};/*
Portions of this code are from MochiKit, received by
The Closure Authors under the MIT license. All other code is Copyright
2005-2009 The Closure Authors. All Rights Reserved.
*/
var Wh=function(a){var b=Vh;this.Od=[];this.uh=b;this.Gg=a||null;this.Oc=this.ic=!1;this.sa=void 0;this.Rf=this.ng=this.Ae=!1;this.Xd=0;this.O=null;this.Be=0};Wh.prototype.cancel=function(a){if(this.ic)this.sa instanceof Wh&&this.sa.cancel();else{if(this.O){var b=this.O;delete this.O;a?b.cancel(a):(b.Be--,0>=b.Be&&b.cancel())}this.uh?this.uh.call(this.Gg,this):this.Rf=!0;this.ic||Xh(this,new Yh(this))}};Wh.prototype.wg=function(a,b){this.Ae=!1;Zh(this,a,b)};
var Zh=function(a,b,c){a.ic=!0;a.sa=c;a.Oc=!b;$h(a)},bi=function(a){if(a.ic){if(!a.Rf)throw new ai(a);a.Rf=!1}};Wh.prototype.callback=function(a){bi(this);ci(a);Zh(this,!0,a)};var Xh=function(a,b){bi(a);ci(b);Zh(a,!1,b)},ci=function(a){z(!(a instanceof Wh),"An execution sequence may not be initiated with a blocking Deferred.")},di=function(a,b,c){z(!a.ng,"Blocking Deferreds can not be re-used");a.Od.push([b,c,void 0]);a.ic&&$h(a)};
Wh.prototype.then=function(a,b,c){var d,e,f=new Eh(function(g,h){d=g;e=h});di(this,d,function(g){g instanceof Yh?f.cancel():e(g)});return f.then(a,b,c)};Wh.prototype.$goog_Thenable=!0;
var ei=function(a){return Za(a.Od,function(b){return za(b[1])})},$h=function(a){if(a.Xd&&a.ic&&ei(a)){var b=a.Xd,c=fi[b];c&&(r.clearTimeout(c.da),delete fi[b]);a.Xd=0}a.O&&(a.O.Be--,delete a.O);b=a.sa;for(var d=c=!1;a.Od.length&&!a.Ae;){var e=a.Od.shift(),f=e[0],g=e[1];e=e[2];if(f=a.Oc?g:f)try{var h=f.call(e||a.Gg,b);void 0!==h&&(a.Oc=a.Oc&&(h==b||h instanceof Error),a.sa=b=h);if(Bh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Ae=!0}catch(n){b=n,a.Oc=!0,ei(a)||(c=!0)}}a.sa=b;d&&
(h=v(a.wg,a,!0),d=v(a.wg,a,!1),b instanceof Wh?(di(b,h,d),b.ng=!0):b.then(h,d));c&&(b=new gi(b),fi[b.da]=b,a.Xd=b.da)},ai=function(){La.call(this)};x(ai,La);ai.prototype.message="Deferred has already fired";ai.prototype.name="AlreadyCalledError";var Yh=function(){La.call(this)};x(Yh,La);Yh.prototype.message="Deferred was canceled";Yh.prototype.name="CanceledError";var gi=function(a){this.da=r.setTimeout(v(this.dk,this),0);this.vd=a};
gi.prototype.dk=function(){z(fi[this.da],"Cannot throw an error that is not scheduled.");delete fi[this.da];throw this.vd;};var fi={};var ki=function(a){var b={},c=b.document||document,d=ac(a).toString(),e=jh(document,"SCRIPT"),f={Lh:e,ed:void 0},g=new Wh(f),h=null,n=null!=b.timeout?b.timeout:5E3;0<n&&(h=window.setTimeout(function(){hi(e,!0);Xh(g,new ii(1,"Timeout reached for loading script "+d))},n),f.ed=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(hi(e,b.lk||!1,h),g.callback(null))};e.onerror=function(){hi(e,!0,h);Xh(g,new ii(0,"Error while loading script "+d))};
f=b.attributes||{};Rb(f,{type:"text/javascript",charset:"UTF-8"});gh(e,f);oc(e,a);ji(c).appendChild(e)},ji=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},Vh=function(){if(this&&this.Lh){var a=this.Lh;a&&"SCRIPT"==a.tagName&&hi(a,!0,this.ed)}},hi=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=va;a.onerror=va;a.onreadystatechange=va;b&&window.setTimeout(function(){lh(a)},0)},ii=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=
": "+b);La.call(this,c);this.code=a};x(ii,La);var mi=function(a){return(new li(void 0)).V(a)},li=function(a){this.Md=a};li.prototype.V=function(a){var b=[];ni(this,a,b);return b.join("")};
var ni=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],ni(a,a.Md?a.Md.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),oi(d,c),c.push(":"),ni(a,a.Md?a.Md.call(b,d,e):e,c),f=","));c.push("}");
return}}switch(typeof b){case "string":oi(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);}}},pi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},qi=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,oi=function(a,b){b.push('"',a.replace(qi,function(c){var d=pi[c];
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),pi[c]=d);return d}),'"')};var ri=function(a,b,c){this.reset(a,b,c,void 0,void 0)};ri.prototype.Kg=null;var si=0;ri.prototype.reset=function(a,b,c,d,e){"number"==typeof e||si++;d||Ha();this.Tc=a;delete this.Kg};ri.prototype.Nh=function(a){this.Tc=a};var ti=function(a){this.Sj=a;this.Yg=this.Fe=this.Tc=this.O=null},ui=function(a,b){this.name=a;this.value=b};ui.prototype.toString=function(){return this.name};var vi=new ui("SEVERE",1E3),wi=new ui("INFO",800),xi=new ui("CONFIG",700),yi=new ui("FINE",500);ti.prototype.getParent=function(){return this.O};ti.prototype.Vg=function(){this.Fe||(this.Fe={});return this.Fe};ti.prototype.Nh=function(a){this.Tc=a};
var zi=function(a){if(a.Tc)return a.Tc;if(a.O)return zi(a.O);Pa("Root logger has no level set.");return null};ti.prototype.log=function(a,b,c){if(a.value>=zi(this).value)for(za(b)&&(b=b()),a=new ri(a,String(b),this.Sj),c&&(a.Kg=c),c=this;c;){var d=c,e=a;if(d.Yg)for(var f=0;b=d.Yg[f];f++)b(e);c=c.getParent()}};ti.prototype.info=function(a,b){this.log(wi,a,b)};
var Ai={},Bi=null,Ci=function(a){Bi||(Bi=new ti(""),Ai[""]=Bi,Bi.Nh(xi));var b;if(!(b=Ai[a])){b=new ti(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=Ci(a.substr(0,c));c.Vg()[d]=b;b.O=c;Ai[a]=b}return b};var Di=function(a,b){a&&a.log(yi,b,void 0)};var Ei=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Fi=function(){};Fi.prototype.rg=null;var Hi=function(a){var b;(b=a.rg)||(b={},Gi(a)&&(b[0]=!0,b[1]=!0),b=a.rg=b);return b};var Ii,Ji=function(){};x(Ji,Fi);var Ki=function(a){return(a=Gi(a))?new ActiveXObject(a):new XMLHttpRequest},Gi=function(a){if(!a.dh&&"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.dh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.dh};Ii=new Ji;var Li=function(a){nd.call(this);this.headers=new ud;this.de=a||null;this.Aa=!1;this.ce=this.m=null;this.Sc=this.lh=this.Fd="";this.Ob=this.ff=this.Dd=this.Se=!1;this.uc=0;this.Ud=null;this.qc="";this.Zd=this.Vj=this.Zh=!1};x(Li,nd);var Mi=Li.prototype,Ni=Ci("goog.net.XhrIo");Mi.na=Ni;var Oi=/^https?$/i,Pi=["POST","PUT"],Ri=[];Li.prototype.zj=function(){this.La();hb(Ri,this)};
Li.prototype.send=function(a,b,c,d){if(this.m)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Fd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Fd=a;this.Sc="";this.lh=b;this.Se=!1;this.Aa=!0;this.m=this.de?Ki(this.de):Ki(Ii);this.ce=this.de?Hi(this.de):Hi(Ii);this.m.onreadystatechange=v(this.xh,this);this.Vj&&"onprogress"in this.m&&(this.m.onprogress=v(function(f){this.wh(f,!0)},this),this.m.upload&&(this.m.upload.onprogress=v(this.wh,this)));try{Di(this.na,Si(this,"Opening Xhr")),
this.ff=!0,this.m.open(b,String(a),!0),this.ff=!1}catch(f){Di(this.na,Si(this,"Error opening Xhr: "+f.message));this.vd(5,f);return}a=c||"";var e=this.headers.clone();d&&Bd(d,function(f,g){e.set(g,f)});d=cb(e.Ea());c=r.FormData&&a instanceof r.FormData;!eb(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.qc&&(this.m.responseType=this.qc);"withCredentials"in this.m&&this.m.withCredentials!==this.Zh&&
(this.m.withCredentials=this.Zh);try{Ti(this),0<this.uc&&(this.Zd=Ui(this.m),Di(this.na,Si(this,"Will abort after "+this.uc+"ms if incomplete, xhr2 "+this.Zd)),this.Zd?(this.m.timeout=this.uc,this.m.ontimeout=v(this.ed,this)):this.Ud=Sh(this.ed,this.uc,this)),Di(this.na,Si(this,"Sending request")),this.Dd=!0,this.m.send(a),this.Dd=!1}catch(f){Di(this.na,Si(this,"Send error: "+f.message)),this.vd(5,f)}};
var Ui=function(a){return wc&&Gc(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},bb=function(a){return"content-type"==a.toLowerCase()};Li.prototype.ed=function(){"undefined"!=typeof ra&&this.m&&(this.Sc="Timed out after "+this.uc+"ms, aborting",Di(this.na,Si(this,this.Sc)),this.dispatchEvent("timeout"),this.abort(8))};Li.prototype.vd=function(a,b){this.Aa=!1;this.m&&(this.Ob=!0,this.m.abort(),this.Ob=!1);this.Sc=b;Vi(this);Wi(this)};
var Vi=function(a){a.Se||(a.Se=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Li.prototype.abort=function(){this.m&&this.Aa&&(Di(this.na,Si(this,"Aborting")),this.Aa=!1,this.Ob=!0,this.m.abort(),this.Ob=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Wi(this))};Li.prototype.G=function(){this.m&&(this.Aa&&(this.Aa=!1,this.Ob=!0,this.m.abort(),this.Ob=!1),Wi(this,!0));Li.H.G.call(this)};Li.prototype.xh=function(){this.Ma||(this.ff||this.Dd||this.Ob?Xi(this):this.Uj())};
Li.prototype.Uj=function(){Xi(this)};
var Xi=function(a){if(a.Aa&&"undefined"!=typeof ra)if(a.ce[1]&&4==a.ob()&&2==a.getStatus())Di(a.na,Si(a,"Local request error detected and ignored"));else if(a.Dd&&4==a.ob())Sh(a.xh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.ob()){Di(a.na,Si(a,"Request complete"));a.Aa=!1;try{var b=a.getStatus(),c;if(!(c=Ei(b))){var d;if(d=0===b){var e=String(a.Fd).match(Xd)[1]||null;if(!e&&r.self&&r.self.location){var f=r.self.location.protocol;e=f.substr(0,f.length-1)}d=!Oi.test(e?e.toLowerCase():"")}c=
d}if(c)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var g=2<a.ob()?a.m.statusText:""}catch(h){Di(a.na,"Can not get status: "+h.message),g=""}a.Sc=g+" ["+a.getStatus()+"]";Vi(a)}}finally{Wi(a)}}};Li.prototype.wh=function(a,b){z("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Yi(a,"progress"));this.dispatchEvent(Yi(a,b?"downloadprogress":"uploadprogress"))};
var Yi=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Wi=function(a,b){if(a.m){Ti(a);var c=a.m,d=a.ce[0]?va:null;a.m=null;a.ce=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.na)&&a.log(vi,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}},Ti=function(a){a.m&&a.Zd&&(a.m.ontimeout=null);a.Ud&&(r.clearTimeout(a.Ud),a.Ud=null)};Li.prototype.ih=function(){return!!this.m};
Li.prototype.ob=function(){return this.m?this.m.readyState:0};Li.prototype.getStatus=function(){try{return 2<this.ob()?this.m.status:-1}catch(a){return-1}};
var Zi=function(a){try{if(!a.m)return null;if("response"in a.m)return a.m.response;switch(a.qc){case "":case "text":return a.m.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.m)return a.m.mozResponseArrayBuffer}var b=a.na;b&&b.log(vi,"Response type "+a.qc+" is not supported on this browser",void 0);return null}catch(c){return Di(a.na,"Can not get response: "+c.message),null}};
Li.prototype.getResponseHeader=function(a){if(this.m&&4==this.ob())return a=this.m.getResponseHeader(a),null===a?void 0:a};Li.prototype.getAllResponseHeaders=function(){return this.m&&4==this.ob()?this.m.getAllResponseHeaders()||"":""};
var $i=function(a){var b={};a=a.getAllResponseHeaders().split("\r\n");for(var c=0;c<a.length;c++)if(!/^[\s\xa0]*$/.test(a[c])){var d=rc(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 Eb(b,function(g){return g.join(", ")})},Si=function(a,b){return b+" ["+a.lh+" "+a.Fd+" "+a.getStatus()+"]"};var aj,bj=/^\/(table).*/,H=function(a,b){cj();this.callback=a;this.P=new dj(!a,b)},I=function(a,b){b instanceof Promise?a.callback&&b.then(function(c){return a.callback(c)}).catch(function(c){return a.callback(void 0,c)}):b.then(function(c){b=c});return b},ej=function(){return"projects/"+aj};k=H.prototype;k.yc=function(){return new Jg(this.P)};k.assets=function(){return new Lg(this.P)};k.Fa=function(){return new Rg(this.P)};k.value=function(){return new Vg(this.P)};k.maps=function(){return new Qg(this.P)};
k.map=function(){return new Pg(this.P)};k.image=function(){return new Og(this.P)};k.table=function(){return new Sg(this.P)};k.video=function(){return new Xg(this.P)};var dj=function(a,b){this.sync=a=void 0===a?!1:a;this.Ih=null!=b?b:a?5:10};q(dj,$g);
dj.prototype.send=function(a,b){var c=this;qe(a);var d=a.path||"",e=fj()+d,f=J(a.o||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=K(e,f,void 0,a.u,g,this.Ih);d=b?Pd(b,d):d;var h=function(n){return{then:function(p){return h(p(n))}}};return h(d)}return(new Promise(function(n,p){K(e,f,function(t,C){C?p(C):n(t)},a.u,g,c.Ih)})).then(function(n){return b?Pd(b,n):n})};var hj=function(a){H.call(this,a);this.P=new gj};q(hj,H);
hj.prototype.send=function(a,b){var c=this,d=fj()+"/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]=
Pd(p,g[n]))});return b?b(h):h};return this.callback?(K(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(K(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var gj=function(){};q(gj,$g);
gj.prototype.send=function(a,b){var c=[a.u+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=ij();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 jj=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"))}},fj=function(){var a=kj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},qj=function(a,b,c){lj&&mj&&lj({client_id:String(mj),
immediate:!0,scope:nj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if(L&&"window"in r)try{oj(function(){try{r.gapi.auth.setToken(d),pj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else pj(a,b,d)})},ij=function(){rj&&0<=Ha()-rj&&sj();return tj},sj=function(){rj=tj=null},uj=function(a,b){mj=a;nj=b},cj=function(a,b,c){null!=a?kj=a:vj||(kj="https://earthengine.googleapis.com/api");null!=b?wj=b:vj||(wj="https://earthengine.googleapis.com");void 0!==c&&(xj=c);L&&(aj=
aj||"earthengine-legacy");vj=!0},K=function(a,b,c,d,e,f){cj();var g=yj,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=bj.test(a);if(L&&!n){var p="0.1.225";"0.1.225"===p&&(p="latest");h["x-goog-api-client"]="ee-js/"+p}p=ij();if(null!=p)h.Authorization=p;else if(c&&lj&&mj)return qj(function(){zj(g,function(){K(a,b,c,d)})}),null;b=b?b.clone():new fe;null!=Aj&&b.add("key",Aj);L?(g&&(h["X-Earth-Engine-Computation-Profile"]=
"1"),aj&&"earthengine-legacy"!==aj&&!n&&(h["X-Goog-User-Project"]=aj)):g&&b.add("profiling","1");b=Bj(b,a);null!=xj&&(h["X-XSRF-Token"]=xj);null!=Cj&&(h["X-Earth-Engine-App-ID-Token"]=Cj);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("/")?kj+a:a;if(c)return Dj.push(Ej(e,c,d,n,h,f)),Fj.Xe(),null;p=function(E,Z){this.setRequestHeader&&this.setRequestHeader(Z,E)};var t=0;for(f=null!=f?f:5;;){var C=Ki(Ii);C.open(d,e,
!1);Cb(h,p,C);C.send(n);if(429!=C.status||t>f)break;t++}return Gj(C.status,function(E){try{return C.getResponseHeader(E)}catch(Z){return null}},C.responseText,g,void 0,e,d)},Ej=function(a,b,c,d,e,f){var g=0,h={url:a,method:c,content:d,headers:e},n=yj,p=null!=f?f:10;h.callback=function(t){t=t.target;if(429==t.getStatus()&&g<p)return g++,setTimeout(function(){Dj.push(h);Fj.Xe()},Math.min(12E4,1E3*Math.pow(2,g))),null;var C=Gj,E=t.getStatus(),Z=v(t.getResponseHeader,t);try{var Da=t.m?t.m.responseText:
""}catch(T){Di(t.na,"Can not get responseText: "+T.message),Da=""}return C(E,Z,Da,n,b,a,c)};return h},zj=function(a,b){var c=yj;try{yj=a,b.call(void 0)}finally{yj=c}},Gj=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 L?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 Z=[];jj(b,c,function(T,db,Hb){Hb=p(Hb);Hb.parsed&&(E[T]=n(Hb.parsed));(db=(Hb.parsed?"":Hb)||t(db))&&Z.push(T+": "+db)});Z.length&&(C=Z.join("\n"))}else var Da="Response was unexpectedly not JSON, but "+
d;C=C||t(a)||Da;if(e)return e(E,C),null;if(!C)return E;throw Error(C);},oj=function(a){var b=function(){r.gapi.config.update("client/cors",!0);lj||(lj=r.gapi.auth.authorize);a()};if(u(r.gapi)&&u(r.gapi.auth)&&"function"===typeof r.gapi.auth.authorize)b();else{for(var c=Ha().toString(36);c in r;)c+="_";r[c]=function(){delete r[c];b()};ki(fc({onload:c}))}},pj=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(qj,
.9*c);void 0!==d.unref&&d.unref();rj=Ha()+c}tj=b;a&&a()}else b&&b(c.error||"Unknown error.")},J=function(a){var b=new fe;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},Dj=[],Fj=new Th(function(){var a=Dj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=Hj,g=new Li;Ri.push(g);c&&g.Oa("complete",c);g.Wc("ready",g.zj);f&&(g.uc=Math.max(0,f));g.send(b,d,e,a)}0==Dj.length||Fj.Xe()},350),
kj=null,wj=null,xj=null,Cj=null,Bj=Sb,tj=null,rj=null,mj=null,nj=[],lj=null,bc=new Wb(Ub,"https://apis.google.com/js/client.js?onload=%{onload}"),Aj=null,L=!0,vj=!1,Hj=0,yj=null;w("ee.api.ListAssetsResponse",rg);w("ee.api.EarthEngineAsset",yf);w("ee.api.ListImagesResponse",sg);w("ee.api.Image",cg);w("ee.api.Operation",ug);var Ij=function(){},Jj=function(a){if(void 0===a||null===a)a=Kd;return new df({Hb:a})},Kj=function(a){return new df({hb:a})},Lj=function(a){return new df({Fb:new cf({values:a})})},Mj=function(a){return new df({Jb:new vf({values:a})})},Nj=function(a,b){return new df({lb:new Wf({functionName:a,arguments:b})})},Oj=function(a,b){return new df({lb:new Wf({mb:a,arguments:b})})},Pj=function(a,b){return new df({Mb:new Vf({zc:a,body:b})})},Qj=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}},Rj=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}},Sj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},Tj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Wj=function(a){var b=new Ff,c=!1;"palette"in a&&(c=a.palette,b.Zc="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.Zc?b.Zc.length-1:255;d=Uj(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=Uj(a,"min","max");0!==d.length&&(b.Ff=d.map(function(f){return new wf(f)}),c=!0);a=Vj(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},Vj=function(a){return a?a.split(",").map(Number):[]},Uj=function(a,b,c){var d=Vj(a[b]),e=Vj(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})},Xj=function(a){var b=function(g){var h={};h.description=g.description||"";h.type=g.type||"";null!=g.od&&
(h.name=g.od);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.Jf||"";null!=g.hidden&&(h.hidden=g.hidden);g.preview&&(h.preview=g.preview);g.deprecated&&(h.deprecated=g.Oe);g.sourceCodeUri&&(h.sourceCodeUri=g.sourceCodeUri);return h},d={};a=m(a.yc||[]);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},Yj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,Zj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,ak=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,bk=function(a){return(a=Yj.exec(a))?a[1]:"earthengine-legacy"},ck=function(a){return Zj.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
a},ek=function(a){return(a.assets||[]).map(dk)},gk=function(a){return(a.images||[]).map(fk)},hk=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"}},dk=function(a){var b=ik(hk(a.type),a.name),c=Object.assign({},a.properties||{});a.za&&(c["system:asset_size"]=Number(a.za));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.Ia&&(b.version=1E3*Date.parse(a.Ia));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,crs:d.K.Ne,dimensions:void 0,crs_transform:void 0};if(d.K){if(null!=d.K.Eb){var f=d.K.Eb;e.crs_transform=[f.Kf||0,f.Pf||0,f.bg||0,f.Qf||0,f.Lf||0,f.cg||0]}null!=d.K.dimensions&&
(e.dimensions=[d.K.dimensions.width,d.K.dimensions.height])}d.dataType&&(f={type:"PixelType"},f.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.ad&&(f.min=d.dataType.ad.min||0,f.max=d.dataType.ad.max),e.data_type=f);return e}));return b},jk=function(a){var b=new yf,c=Object.assign({},a),d;a=function(e){d=c[e];delete c[e];return d};a("system:asset_size")&&(b.za=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},fk=function(a){return ik("Image",a.name)},ik=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},lk=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=kk(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},kk=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("],[")+"]]]}"},mk=function(a){var b={};(a.pd||[]).forEach(function(f){b[f.rc]=f.Rb});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},nk=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=[{rc:"roles/owner",Rb:b("owners")},{rc:"roles/viewer",Rb:b("readers").concat(c)},{rc:"roles/editor",Rb:b("writers")}].map(function(d){return new hf(d)});return new zg({pd:b.filter(function(d){return d.Rb.length}),Te:null})},ok=function(a){return"projects/earthengine-legacy/operations/"+
a},pk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},qk=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=Pd(yg,a.vf||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",
e.Me);c("update_timestamp_ms",e.Ia);c("start_timestamp_ms",e.startTime);a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=pk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.Pe;b.source_url=e.Mf;return b},rk=function(a){var b={started:"OK"};a.name&&(b.taskId=pk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},sk=function(a){return a.primaryPath?[a.primaryPath].concat(fa(a.additionalPaths||[])):null},vk=function(a){var b=function(f){var g=
Pd(mg,f);g.Sa=sk(f);return g},c=Pd(hg,a);c.name=ck(a.id);c.tilesets=(a.tilesets||[]).map(function(f){var g=Pd(kg,f);g.sources=(f.sources||[]).map(b);return g});c.bands=(a.bands||[]).map(function(f){var g=Pd(ig,f);g.missingData=tk(f.missingData);return g});c.missingData=tk(a.missingData);c.rf=ob((a.tilesets||[]).map(uk));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},uk=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 jg({tc:a.id||"",ba:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});return b},wk=function(a){var b=Pd(pg,a);b.name=ck(a.id);
b.sources=(a.sources||[]).map(function(e){var f=Pd(Dg,e);f.Sa=sk(e);e.maxError&&(f.Pb=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},tk=function(a){if(null==a)return null;var b=new fg({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 xk=function(){this.jb=-1};var yk=function(){this.jb=64;this.Y=Array(4);this.wj=Array(this.jb);this.Wd=this.Cc=0;this.reset()};x(yk,xk);yk.prototype.reset=function(){this.Y[0]=1732584193;this.Y[1]=4023233417;this.Y[2]=2562383102;this.Y[3]=271733878;this.Wd=this.Cc=0};
var zk=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.Y[0];c=a.Y[1];e=a.Y[2];var f=a.Y[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>
15);g=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|
g>>>20);g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<
5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|
g>>>21);g=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+
3873151461&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&
4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&
4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.Y[0]=a.Y[0]+b&4294967295;a.Y[1]=a.Y[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.Y[2]=a.Y[2]+e&4294967295;a.Y[3]=a.Y[3]+f&4294967295};
yk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.jb,d=this.wj,e=this.Cc,f=0;f<b;){if(0==e)for(;f<=c;)zk(this,a,f),f+=this.jb;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.jb){zk(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.jb){zk(this,d);e=0;break}}this.Cc=e;this.Wd+=b};
yk.prototype.digest=function(){var a=Array((56>this.Cc?this.jb:2*this.jb)-this.Cc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.Wd;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.Y[b]>>>d&255;return a};var Ak=function(a){this.kd="__ee_hash__";this.Ed=!1!==a;this.Qa=[];this.ta={};this.dg=[];this.Bd=new WeakMap};w("ee.Serializer",Ak);var Bk=new li,Ck=new yk,Ek=function(a,b){return Dk(new Ak(void 0!==b?b:!0),a)};w("ee.Serializer.encode",Ek);var Fk=function(a){return Bk.V(Ek(a))};w("ee.Serializer.toJSON",Fk);var Hk=function(a){return Gk(Ek(a,!1))};w("ee.Serializer.toReadableJSON",Hk);
var Gk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):Bk.V(a)},Dk=function(a,b){b=a.ud(b);a.Ed&&(b=u(b)&&"ValueRef"==b.type&&1==a.Qa.length?a.Qa[0][1]:{type:"CompoundValue",scope:a.Qa,value:b},a.Qa=[],Wa(a.dg,v(function(c){delete c[this.kd]},a)),a.dg=[],a.ta={});return b};
Ak.prototype.ud=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=u(a)?a[this.kd]:null;if(this.Ed&&null!=b&&this.ta[b])return{type:"ValueRef",value:this.ta[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(ya(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Ij){var c=a.encode(v(this.ud,this));if(!(Array.isArray(c)||u(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
Ya(a,function(e){return this.ud(e)},this);else if(u(a)&&"function"!==typeof a)c=Eb(a,function(e){if("function"!==typeof e)return this.ud(e)},this),Nb(c,this.kd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Ed){b=Ik(c);if(this.ta[b])var d=this.ta[b];else d=String(this.Qa.length),this.Qa.push([d,c]),this.ta[b]=d;a[this.kd]=b;this.dg.push(a);return{type:"ValueRef",value:d}}return c};
var Ik=function(a){Ck.reset();Ck.update(Bk.V(a));return Ck.digest().toString()},Kk=function(a){return Qd(Jk(a),Md,Nd,Od)};w("ee.Serializer.encodeCloudApi",Kk);
var Jk=function(a){return Lk(new Ak(!0),a)},Mk=function(a){a=Lk(new Ak(!1),a);var b=a.values,c=function(d){if(!u(d))return d;var e=Array.isArray(d)?[]:{},f=d instanceof Object.getPrototypeOf(df);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.zc,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.mb?{arguments:Eb(h.arguments,c),functionReference:c(b[h.mb])}:
"constantValue"===g?h===Kd?null:h:c(h)):e[g]=c(h)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",Mk);var Nk=function(a){return Bk.V(Kk(a))};w("ee.Serializer.toCloudApiJSON",Nk);var Ok=function(a){return Gk(Mk(a))};w("ee.Serializer.toReadableCloudApiJSON",Ok);
var Lk=function(a,b){try{var c=Pk(a,b),d=new Qk(c,a.Qa,a.Ed),e=Rk(d,d.Kh);return new of({result:e,values:d.zh})}finally{a.Bd=new WeakMap,a.ta={},a.Qa=[]}},Pk=function(a,b){var c=function(e){var f=Ik(e);if(a.ta[f])return a.ta[f];var g=String(a.Qa.length);a.Qa.push([g,e]);a.ta[f]=g;u(b)&&a.Bd.set(b,f);return g};if(u(b)&&a.ta[a.Bd.get(b)])return a.ta[a.Bd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(Jj(b));if(ya(b))return c(Nj("Date",{value:Jj(Math.floor(b.getTime()))}));
if(b instanceof Ij)return c(b.pa(function(e){return Pk(a,e)}));if(Array.isArray(b))return c(Lj(b.map(function(e){return Kj(Pk(a,e))})));if(u(b)&&"function"!==typeof b){var d={};Object.keys(b).sort().forEach(function(e){d[e]=Kj(Pk(a,b[e]))});return c(Mj(d))}throw Error("Can't encode object: "+b);},Qk=function(a,b,c){var d=this;this.Kh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.Eh=c?Sk(this):null;this.zh={};this.Gf={};this.Tj=0},Rk=function(a,b){if(b in a.Gf)return a.Gf[b];
var c=String(a.Tj++);a.Gf[b]=c;a.zh[c]=Tk(a,a.values[b],0);return c},Tk=function(a,b,c){var d=function(p){return null!==p.Hb},e=function(p){return p===Kd?null:p};if(d(b)||null!=b.kf||null!=b.Ee||null!=b.Ac)return b;if(null!=b.hb)return d=a.values[b.hb],null===a.Eh||50>c&&1===a.Eh[b.hb]?Tk(a,d,c):Uk(d)?d:Kj(Rk(a,b.hb));if(null!=b.Fb){var f=b.Fb.values.map(function(p){return Tk(a,p,c+3)});return f.every(d)?Jj(f.map(function(p){return e(p.Hb)})):Lj(f)}if(null!=b.Jb){f={};var g={};b=m(Object.entries(b.Jb.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]=Tk(a,n,c+3);null!==g&&d(f[h])?g[h]=e(f[h].Hb):g=null}return null!==g?Jj(g):Mj(f)}if(null!=b.Mb)return d=b.Mb,Pj(d.zc||[],Rk(a,d.body||""));if(null!=b.lb){d=b.lb;f={};g=m(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=Tk(a,d.arguments[b],c+3);return d.functionName?Nj(d.functionName,f):Oj(Rk(a,d.mb||""),f)}throw Error("Can't optimize value: "+b);},Uk=function(a){var b=
a.Hb;return null!==b?b===Kd||"number"===typeof b||"boolean"===typeof b:null!=a.Ac},Sk=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Fb?e.Fb.values.forEach(d):null!=e.Jb?Object.values(e.Jb.values).forEach(d):null!=e.Mb?c(e.Mb.body):null!=e.lb?(e=e.lb,null!=e.mb&&c(e.mb),Object.values(e.arguments).forEach(d)):null!=e.hb&&c(e.hb)};c(a.Kh);return b};var $k=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 Nf({i:Jk(a.element),description:Vk(a.description),ha:null,Za:null,selectors:b,Pb:Wk(a.maxErrorMeters),requestId:Vk(a.id),U:Wk(a.maxWorkers)});var c=Xk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Pf({ia:null,ga:null,B:Rj(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ia=Yk(a):d.ga=Zk(a);b.ha=d;break;case "ASSET":b.Za=new Of({Kb:new Df({name:ck(a.assetId)})});
break;default:throw Error('Export destination "'+c+'" unknown');}return b};function Vk(a){return null!=a?String(a):null}function Wk(a){return null!=a?Number(a):null}
var Xk=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},bl=function(a){var b=new gg({Ie:!!a.tfrecordCompressed,Qb:Vk(a.tfrecordMaxFileSize),Nf:!!a.tfrecordSequenceData,He:!!a.tfrecordCollapseBands,tf:Wk(a.tfrecordMaskedThreshold),defaultValue:Wk(a.tfrecordDefaultValue),Ha:al(a.tfrecordPatchDimensions),qf:al(a.tfrecordKernelSize),Sd:null});a=a.tfrecordTensorDepths;if(null!=a)if(u(a)){var c={};Cb(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.Sd=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},cl=function(a,b){var c=new Jf({ia:null,ga:null,wd:null,Td:null,B:Qj(a.fileFormat)});if("GEO_TIFF"===c.B){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');var d=new Yf({Ge:!!a.tiffCloudOptimized,
Sf:!!a.tiffSkipEmptyFiles,Ha:al(a.fileDimensions||a.tiffFileDimensions)});c.wd=d}else"TF_RECORD_IMAGE"===c.B&&(c.Td=bl(a));"GOOGLE_CLOUD_STORAGE"===b?c.ia=Yk(a):c.ga=Zk(a);return c},dl=function(a,b){var c=new Rf({ia:null,ga:null,B:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ia=Yk(a):c.ga=Zk(a);return c},el=function(a){var b=Wk(a.maxZoom),c=Wk(a.scale),d=Wk(a.minZoom),e=!!a.skipEmptyTiles,f=Vk(a.mapsApiKey),g=al(a.tileDimensions),h=Wk(a.stride);var n=Wk(a.minTimeMachineZoomSubset);a=Wk(a.maxTimeMachineZoomSubset);
if(null==n&&null==a)n=null;else{var p=new Fg({min:0,max:null});null!=n&&(p.min=n);p.max=a;n=p}return new Mf({maxZoom:b,scale:c,minZoom:d,Tf:e,pf:f,Ha:g,Uf:h,eg:n})},al=function(a){if(null==a)return null;var b=new Zf({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},Yk=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Xf({Ce:Vk(a.outputBucket),ua:Vk(a.outputPrefix),De:a.bucketCorsUris||null,permissions:b})},Zk=function(a){return new xf({Ze:Vk(a.driveFolder),ua:Vk(a.driveFileNamePrefix)})};var gl=function(a,b){this.Ya=a;this.$d=b;this.l={};this.Bc=!0;if(0<this.Ya.length){for(a=0;a<this.Ya.length;a++){b=this.Ya[a];var c=b[0];this.l[c.toString()]=new fl(c,b[1])}this.Bc=!0}},hl=function(a){if(a.Bc){if(a.$d){var b=a.l,c;for(c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c].wc;d&&hl(d)}}}else{a.Ya.length=0;b=il(a);b.sort();for(c=0;c<b.length;c++){var e=a.l[b[c]];(d=e.wc)&&hl(d);a.Ya.push([e.key,e.value])}a.Bc=!0}return a.Ya};k=gl.prototype;k.getLength=function(){return il(this).length};
k.clear=function(){this.l={};this.Bc=!1};k.entries=function(){var a=[],b=il(this);b.sort();for(var c=0;c<b.length;c++){var d=this.l[b[c]];a.push([d.key,jl(this,d)])}return new kl(a)};k.keys=function(){var a=[],b=il(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.l[b[c]].key);return new kl(a)};k.values=function(){var a=[],b=il(this);b.sort();for(var c=0;c<b.length;c++)a.push(jl(this,this.l[b[c]]));return new kl(a)};
k.forEach=function(a,b){var c=il(this);c.sort();for(var d=0;d<c.length;d++){var e=this.l[c[d]];a.call(b,jl(this,e),e.key,this)}};k.set=function(a,b){var c=new fl(a);this.$d?(c.wc=b,c.value=hl(b)):c.value=b;this.l[a.toString()]=c;this.Bc=!1;return this};var jl=function(a,b){return a.$d?(b.wc||(b.wc=new a.$d(b.value)),b.wc):b.value};gl.prototype.get=function(a){if(a=this.l[a.toString()])return jl(this,a)};gl.prototype.has=function(a){return a.toString()in this.l};
var il=function(a){a=a.l;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},fl=function(a,b){this.key=a;this.value=b;this.wc=void 0},kl=function(a){this.bh=0;this.Ya=a};kl.prototype.next=function(){return this.bh<this.Ya.length?{done:!1,value:this.Ya[this.bh++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&"undefined"!=typeof Symbol.iterator&&(kl.prototype[Symbol.iterator]=function(){return this});Object.freeze&&Object.freeze([]);var ml=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine"];L&&f.push("https://www.googleapis.com/auth/cloud-platform");d&&(kb(f,d),mb(f));uj(a,f);null===a?sj():oj(function(){qj(b,c,e||Ga(ll,b,c))})};w("ee.data.authenticateViaOauth",ml);var nl=function(a,b,c,d,e){ml(a,b,c,d,e)};w("ee.data.authenticate",nl);var ll=function(a,b){r.gapi.auth.authorize({client_id:mj,immediate:!1,scope:nj.join(" ")},Ga(pj,a,b))};w("ee.data.authenticateViaPopup",ll);
var ol=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"];L&&e.push("https://www.googleapis.com/auth/cloud-platform");d&&(kb(e,d),mb(e));uj(a.client_email,e);var f=new google.auth.JWT(a.client_email,null,a.private_key,e,null);lj=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})})};qj(b,c)};w("ee.data.authenticateViaPrivateKey",ol);var pl=[];pl.push("setApiKey");pl.push("setProject");pl.push("getProject");pl.push("setCloudApiEnabled");pl.push("getCloudApiEnabled");w("ee.data.setExpressionAugmenter",function(a){ql=a||Sb});var ql=Sb;
w("ee.data.setAuthToken",function(a,b,c,d,e,f,g){var h=["https://www.googleapis.com/auth/earthengine"];L&&h.push("https://www.googleapis.com/auth/cloud-platform");e&&(kb(h,e),mb(h));mj=a;nj=h;var n={token_type:b,access_token:c,state:h.join(" "),expires_in:d};pj(void 0,void 0,n);!1===g?f&&f():oj(function(){r.gapi.auth.setToken(n);f&&f()})});w("ee.data.refreshAuthToken",qj);w("ee.data.setAuthTokenRefresher",function(a){lj=a});w("ee.data.getAuthToken",ij);w("ee.data.clearAuthToken",sj);
w("ee.data.getAuthClientId",function(){return mj});w("ee.data.getAuthScopes",function(){return nj});w("ee.data.setDeadline",function(a){Hj=a});w("ee.data.setParamAugmenter",function(a){Bj=a||Sb});
var rl=function(a){if(L)return a=new H(a),I(a,a.yc().list(ej(),{prettyPrint:!1}).then(Xj));var b=K("/algorithms",null,a,"GET");return a?null:b},tl=function(a,b){if(L){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");a=new Ef({name:null,i:ql(Jk(a.image)),B:Qj(a.format),ba:Tj(a.bands),$b:Wj(a)});var c=new H(b);return I(c,c.maps().create(ej(),a,{fields:["name"]}).then(function(e){return sl(e.name,
"")}))}a=Ob(a);"string"!==typeof a.image&&(a.image=a.image.V());var d=function(e){return sl(e.mapid,e.token)};return b?(K("/mapid",J(a),function(e,f){return b(e&&d(e),f)}),null):d(K("/mapid",J(a)))};w("ee.data.getMapId",tl);var ul=function(a,b,c,d){if(!a.formatTileUrl){var e=sl(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",ul);
var sl=function(a,b,c){var d=void 0===c?"":c;d||(cj(),c=wj,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}},vl=function(a,b){if(L)return a=ql(Jk(a)),b=new H(b),I(b,Wg(b.value(),ej(),new nf({i:a})).then(function(c){return c.result}));a={json:Fk(a)};return K("/value",J(a),b)};
w("ee.data.computeValue",vl);
var wl=function(a,b){if(L){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");if(void 0!==a.region)throw Error('"region" not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');if(void 0!==a.dimensions)throw Error('"dimensions" is not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');a=new Eg({name:null,i:ql(Jk(a.image)),B:Qj(a.format),ua:a.name,ba:Tj(a.bands),
$b:Wj(a),K:null});b=new H(b);return I(b,(new Ug(b.P)).create(ej(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))}a=Ob(a);Array.isArray(a.dimensions)&&(a.dimensions=a.dimensions.join("x"));var c=a.image||a.imageCollection;"string"!==typeof c&&(c=c.V());a.image=c;delete a.imageCollection;a=J(a).add("getid","1");return K("/thumb",a,b)};w("ee.data.getThumbId",wl);
var xl=function(a,b){if(!L)throw Error("getVideoThumbId is only supported in Cloud API mode.");var c=new Sf({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Ig({name:null,i:ql(Jk(a.imageCollection)),B:Qj(a.format),Ja:c,K:null});b=new H(b);return I(b,(new Zg(b.P)).create(ej(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};w("ee.data.getVideoThumbId",xl);pl.push("getVideoThumbId");
var yl=function(a,b){if(!L)throw Error("getFilmstripThumbId is only supported in Cloud API mode.");a=new Uf({name:null,i:ql(Jk(a.imageCollection)),B:Qj(a.format),orientation:Sj(a.orientation),K:null});b=new H(b);return I(b,(new Ng(b.P)).create(ej(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getFilmstripThumbId",yl);pl.push("getFilmstripThumbId");
var zl=function(a){return L?wj+"/v1alpha/"+a.thumbid+":getPixels":wj+"/api/thumb?thumbid="+a.thumbid+("&token="+a.token)};w("ee.data.makeThumbUrl",zl);
var Bl=function(a,b){if(L){a=Object.assign({},a);a.id&&(a.image=new M(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=Tj(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=Al(a.image,a);a=new Eg({name:null,i:ql(Jk(c)),B:Qj(a.format),ua:a.name,ba:a.bands&&Tj(a.bands.map(function(d){return d.id})),K:null});b=new H(b);return I(b,(new Ug(b.P)).create(ej(),a,{fields:["name"]}).then(function(d){return{docid:d.name,token:""}}))}a=Ob(a);return K("/download",J(a),b)};w("ee.data.getDownloadId",Bl);var Cl=function(a){cj();var b=wj;return L?b+"/v1alpha/"+a.docid+":getPixels":b+"/api/download?docid="+a.docid+"&token="+a.token};
w("ee.data.makeDownloadUrl",Cl);
var Dl=function(a,b){if(L){b=new H(b);var c=Rj(a.format),d=ql(Jk(a.table)),e=null;if(null!=a.selectors)if("string"===typeof a.selectors)e=a.selectors.split(",");else if(Array.isArray(a.selectors)&&a.selectors.every(function(f){return"string"===typeof f}))e=a.selectors;else throw Error("'selectors' parameter must be an array of strings.");a=new Cg({name:null,i:d,B:c,selectors:e,filename:a.filename||null});return I(b,(new Tg(b.P)).create(ej(),a,{fields:["name"]}).then(function(f){return{docid:f.name||"",
token:""}}))}a=Ob(a);return K("/table",J(a),b)};w("ee.data.getTableDownloadId",Dl);var El=function(a){return L?wj+"/v1alpha/"+a.docid+":getFeatures":wj+"/api/table?docid="+a.docid+"&token="+a.token};w("ee.data.makeTableDownloadUrl",El);
var Fl=function(a,b){if(L){var c=function(e){return Math.floor(Math.random()*Math.pow(2,4*e)).toString(16).padStart(e,"0")};a=nb(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(4*Math.random())).toString(16)+c(3),c(12)].join("-")});return b?b(a):a}var d={};"number"===typeof a&&(d.count=a);return K("/newtaskid",J(d),b)};w("ee.data.newTaskId",Fl);
var Hl=function(a,b){if(L){var c=Gl(a).map(ok);if(1===c.length)return b=new H(b),I(b,b.Fa().get(c[0]).then(function(e){return[qk(e)]}));b=new hj(b);var d=b.Fa();return b.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(f){return qk(e[f])})})}a="/taskstatus?q="+Gl(a).join();return K(a,null,b,"GET")};w("ee.data.getTaskStatus",Hl);
var Gl=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.");},Jl=function(a){return Il(void 0,a)};w("ee.data.getTaskList",Jl);
var Il=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);K("/tasklist",J(n),function(p,t){t?h(e,t):(kb(e.tasks,p.tasks),!p.next_page_token||a&&e.tasks.length>=a?h(e):d(h,p.next_page_token))},"GET")}if(L)return b?(Kl(a,function(h,n){return b(h?{tasks:h.map(qk)}:null,n)}),null):{tasks:Kl(a).map(qk)};var e={tasks:[]};if(b)return d(b),null;for(var f="";;){f=c(f);var g=K("/tasklist",J(f),void 0,"GET");
kb(e.tasks,g.tasks);f=g.next_page_token;if(!g.next_page_token||a&&e.tasks.length>=a)break}return e};w("ee.data.getTaskListWithLimit",Il);var Kl=function(a,b){var c=[],d={pageSize:500},e=function(h){kb(c,h.Fa||[]);!h.Pa||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.Pa,I(f,g.list(ej(),d).then(e)));return null},f=new H(b?function(h,n){return n&&b(h,n)}:void 0),g=f.Fa();I(f,g.list(ej(),d).then(e));return b?null:a?c.slice(0,a):c};w("ee.data.listOperations",Kl);pl.push("listOperations");
var Ll=function(a,b){a=Gl(a);var c=new kf;if(1===a.length)b=new H(b),I(b,b.Fa().cancel(a[0],c));else{b=new hj(b);var d=b.Fa();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",Ll);pl.push("cancelOperation");var Ml=function(a,b){var c=Gl(a).map(ok);if(!Array.isArray(a))return a=new H(b),I(a,a.Fa().get(c[0]));a=new hj(b);var d=a.Fa();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",Ml);pl.push("getOperation");
var Ol=function(a,b){return Nl(a,"CANCEL",b)};w("ee.data.cancelTask",Ol);var Nl=function(a,b,c){if(!Jb(Pl,b))throw Error("Invalid action: "+b);a=Gl(a);return L?(a=a.map(ok),Ll(a,c),null):K("/updatetask",J({id:a,action:b}),c,"POST")};w("ee.data.updateTask",Nl);
var Ul=function(a,b,c){if(L){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new H(c);c=function(f){return I(e,f.then(rk))};switch(d){case "EXPORT_IMAGE":return b=Ql(b,a),c(e.image().bb(ej(),b));case "EXPORT_FEATURES":return b=$k(b),b.i=ql(b.i,a),c(e.table().bb(ej(),b));case "EXPORT_VIDEO":return b=Rl(b,a),c(e.video().bb(ej(),b));case "EXPORT_TILES":return b=Sl(b,a),c(e.map().bb(ej(),b));case "EXPORT_VIDEO_MAP":return b=Tl(b),c((new Yg(e.P)).bb(ej(),b));default:throw Error("Unable to start processing for task of type "+
d);}}b=Ob(b);null!=b.element&&(b.json=b.element.V(),delete b.element);Array.isArray(b.crs_transform)&&(b.crs_transform=b.crs_transform.toString());b.id=a;return K("/processingrequest",J(b),c)};w("ee.data.startProcessing",Ul);
var Ql=function(a,b){var c=Vl(a);if(null==c.element)throw Error('"element" not found in params '+c);a=new Hf({i:Jk(c.element),description:Vk(c.description),ha:null,Za:null,K:null,uf:Vk(c.maxPixels),requestId:Vk(c.id),U:Wk(c.maxWorkers)});var d=Xk(c);switch(d){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":a.ha=cl(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 If({Kb:new Df({name:ck(c.assetId)}),pyramidingPolicy:e,Ef:Mb(d)?null:d});a.Za=c;break;default:throw Error('Export destination "'+d+'" unknown');}a.i=ql(a.i,b);return a},Rl=function(a,b){a=Wl(a);if(null==a.element)throw Error('"element" not found in params '+a);var c=new Tf({i:Jk(a.element),description:Vk(a.description),Ja:new Sf({framesPerSecond:Wk(a.framesPerSecond),maxFrames:Wk(a.maxFrames),maxPixelsPerFrame:Vk(a.maxPixels)}),ha:null,requestId:Vk(a.id),U:Wk(a.maxWorkers)});c.ha=dl(a,Xk(a));
c.i=ql(c.i,b);return c},Sl=function(a,b){var c=a.scale;delete a.scale;a=Vl(a);a.scale=c;if(null==a.element)throw Error('"element" not found in params '+a);c=new Lf({i:Jk(a.element),description:Vk(a.description),Xb:el(a),Wb:cl(a,"GOOGLE_CLOUD_STORAGE"),requestId:Vk(a.id),U:Wk(a.maxWorkers)});c.i=ql(c.i,b);return c},Tl=function(a){var b=a.scale;delete a.scale;a=Wl(a);a.scale=b;if(null==a.element)throw Error('"element" not found in params '+a);b=new Qf({i:Jk(a.element),description:Vk(a.description),
Ja:new Sf({framesPerSecond:Wk(a.framesPerSecond),maxFrames:Wk(a.maxFrames),maxPixelsPerFrame:null}),Xb:el(a),Wb:dl(a,"GOOGLE_CLOUD_STORAGE"),requestId:Vk(a.id),version:Vk(a.version),U:Wk(a.maxWorkers)});b.i=ql(b.i);return b},Yl=function(a,b,c){if(L){b=vk(b);var d=function(e){return e?rk(e):null};return d(Xl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,request:mi(b)};return K("/ingestionrequest",J(a),c)};w("ee.data.startIngestion",Yl);
var Xl=function(a,b,c){b=new ng({ef:b,requestId:a,overwrite:null,description:null});a=new H(c,a?void 0:0);return I(a,a.image().import(ej(),b))},Zl=function(a,b,c){b=new og({Xf:b,requestId:a,overwrite:null,description:null});a=new H(c,a?void 0:0);return I(a,a.table().import(ej(),b))},$l=function(a,b,c){if(L){b=wk(b);var d=function(e){return e?rk(e):null};return d(Zl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,tableRequest:mi(b)};return K("/ingestionrequest",J(a),c)};
w("ee.data.startTableIngestion",$l);var am=function(a,b){return L?(b=new H(b),a=ck(a),I(b,b.assets().get(a,{prettyPrint:!1}).then(dk))):K("/info",(new fe).add("id",a),b)};w("ee.data.getAsset",am);pl.push("getAsset");w("ee.data.getInfo",am);
var bm=function(a,b){if(L){b=new H(b);var c=b.assets(),d=ck(a.id),e=ak.test(a.id);e&&(c=new Kg(b.P),d="projects/"+bk(a.id));if(Object.keys(a).every(function(f){return"id"===f||"num"===f}))return I(b,c.Uc(d,{pageSize:a.num}).then(ek));if(e)throw Error("getList on a project does not support filtering options. Please provide a full asset path. Got: "+a.id);a=lk(a);return I(b,Mg(c,d,a).then(gk))}a=J(a);return K("/list",a,b)};w("ee.data.getList",bm);
var cm=function(a,b,c){b=void 0===b?{}:b;var d=ak.test(a);c=new H(c);var e=d?new Kg(c.P):c.assets();a=d?"projects/"+bk(a):ck(a);return I(c,e.Uc(a,b))};w("ee.data.listAssets",cm);pl.push("listAssets");var dm=function(a,b,c){b=void 0===b?{}:b;c=new H(c);return I(c,Mg(c.assets(),a,b))};w("ee.data.listImages",dm);pl.push("listImages");var em=function(a,b){b=new H(b);return I(b,(new Kg(b.P)).Uc(a||ej()))};w("ee.data.listBuckets",em);pl.push("listBuckets");
var fm=function(a){return L?(a=new H(a),I(a,(new Kg(a.P)).Uc(ej()).then(ek))):K("/buckets",null,a,"GET")};w("ee.data.getAssetRoots",fm);var gm=function(a,b){if(L){var c="projects/"+bk(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new yf({type:"Folder"});b=new H(b);I(b,b.assets().create(c,d,{assetId:a}).then(dk))}else c=J({id:a}),K("/createbucket",c,b)};w("ee.data.createAssetHome",gm);
var hm=function(a,b,c,d,e){if(L){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&ck(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 yf(a);b=c.slice(0,f);c=c.slice(f+8);a.id=null;a.name=null;d&&!a.properties&&(a.properties=d);a:switch(d=a.type,d){case "ImageCollection":d="IMAGE_COLLECTION";break a;
case "Folder":d="FOLDER"}a.type=d;e=new H(e);return I(e,e.assets().create(b,a,{assetId:c}).then(dk))}"string"!==typeof a&&(a=mi(a));a={value:a};void 0!==b&&(a.id=b);a.force=c||!1;void 0!=d&&(a.properties=mi(d));return K("/create",J(a),e)};w("ee.data.createAsset",hm);var im=function(a,b,c){return L?hm({type:"Folder"},a,b,void 0,c):K("/createfolder",J({id:a,force:b||!1}),c)};w("ee.data.createFolder",im);
var jm=function(a,b,c){L?(a=ck(a),b=ck(b),b=new wg({Ib:b}),c=new H(c),I(c,c.assets().move(a,b).then(dk))):K("/rename",J({sourceId:a,destinationId:b}),c)};w("ee.data.renameAsset",jm);
var km=function(a,b,c,d){if(L){a=ck(a);b=ck(b);c=new rf({Ib:b,overwrite:null!=c?c:null});d=new H(d);b=dk;var e=d.assets();var f=void 0===f?{}:f;e.h.A(a,/^projects\/[^/]+\/assets\/.*$/);f=G(e.h,{body:c,u:"POST",C:"earthengine.projects.assets.copy",path:"/"+e.j+"/"+a+":copy",o:F(f),F:yf});I(d,f.then(b))}else f={sourceId:a,destinationId:b},c&&(f.allowOverwrite=c),K("/copy",J(f),d)};w("ee.data.copyAsset",km);var lm=function(a,b){L?(b=new H(b),I(b,b.assets().delete(ck(a)))):K("/delete",J({id:a}),b)};
w("ee.data.deleteAsset",lm);var mm=function(a,b){if(L){a=ck(a);var c=new $f;b=new H(b);var d=b.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;d.h.A(a,/^projects\/[^/]+\/assets\/.*$/);a=G(d.h,{body:c,u:"POST",C:"earthengine.projects.assets.getIamPolicy",path:"/"+d.j+"/"+a+":getIamPolicy",o:F(e),F:zg});return I(b,a.then(mk))}return K("/getacl",J({id:a}),b,"GET")};w("ee.data.getAssetAcl",mm);
var nm=function(a,b,c,d){b=new Hg({ye:b,vc:(c||[]).join(",")});d=new H(d);c=dk;var e=d.assets();a=ck(a);var f=void 0===f?{}:f;e.h.A(a,/^projects\/[^/]+\/assets\/.*$/);f=G(e.h,{body:b,u:"PATCH",C:"earthengine.projects.assets.patch",path:"/"+e.j+"/"+a,o:F(f),F:yf});return I(d,f.then(c))};w("ee.data.updateAsset",nm);
var om=function(a,b,c){if(L){a=ck(a);b=nk(b);b=new Bg({zf:b});c=new H(c);var d=c.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;d.h.A(a,/^projects\/[^/]+\/assets\/.*$/);a=G(d.h,{body:b,u:"POST",C:"earthengine.projects.assets.setIamPolicy",path:"/"+d.j+"/"+a+":setIamPolicy",o:F(e),F:zg});I(c,a)}else b={readers:b.readers,writers:b.writers,all_users_can_read:b.all_users_can_read},a={id:a,value:mi(b)},K("/setacl",J(a),c)};w("ee.data.setAssetAcl",om);
var pm=function(a,b,c){if(L){var d=jk(b);b=Ld(d.f()).keys.filter(function(e){return"properties"!==e&&D(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+'"'}));nm(a,d,b,c)}else a={id:a,properties:mi(b)},K("/setproperties",J(a),c)};w("ee.data.setAssetProperties",pm);
var qm=function(a,b){if(L){var c=ck(a);b=new H(b);var d=b.assets(),e=d.h.A;d.h.A=function(f,g){"^projects\\/[^/]+\\/assets\\/.+$"===g.source&&(g=/^projects\/[^/]+\/assets\/.*$/);return e(f,g)};c=d.get(c,{prettyPrint:!1});return I(b,c.then(function(f){if(!(f instanceof yf&&f.quota))throw Error(a+" is not a root folder.");f=f.quota;return{asset_count:{usage:Number(f.ze||0),limit:Number(f.sf||0)},asset_size:{usage:Number(f.za||0),limit:Number(f.Qb||0)}}}))}return K("/quota",J({id:a}),b,"GET")};
w("ee.data.getAssetRootQuota",qm);var Pl={hk:"CANCEL",kk:"UPDATE"};var N=function(a,b,c){if(!(this instanceof N))return rm(N,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.D=a;this.args=b;this.R=c||null};x(N,Ij);w("ee.ComputedObject",N);N.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");vl(this,a)};N.prototype.evaluate=N.prototype.evaluate;
N.prototype.X=function(a){return vl(this,a)};N.prototype.getInfo=N.prototype.X;N.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};
N.prototype.pa=function(a){if(null===this.D&&null===this.args){if(null===this.R)throw Error("Internal error: function argument not initialized.");return new df({Ac:this.R})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=Kj(a(this.args[c])));return"string"===typeof this.D?Nj(String(this.D),b):this.D.Re(a,b)};N.prototype.V=function(){return Fk(this)};N.prototype.serialize=N.prototype.V;N.prototype.toString=function(){return"ee."+this.name()+"("+Hk(this)+")"};
w("ee.ComputedObject.prototype.toString",N.prototype.toString);N.prototype.name=function(){return"ComputedObject"};N.prototype.fg=function(a,b){var c=jb(arguments);c[0]=this;a.apply(r,c);return this};N.prototype.aside=N.prototype.fg;var sm=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},rm=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var tm={},um=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}},vm=function(a){return"number"===typeof a||a instanceof N&&"Number"==a.name()},wm=function(a){return"string"===typeof a||a instanceof N&&"String"==a.name()},xm=function(a){return u(a)&&
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},ym=function(a,b,c){return 1===a.length&&xm(a[0])&&(a=b.args,(void 0===c?0:c)&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var zm=function(){if(!(this instanceof zm))return new zm};x(zm,Ij);w("ee.Function",zm);var Am=Sb;zm.prototype.call=function(a){return this.apply(Bm(this,Array.prototype.slice.call(arguments,0)))};zm.prototype.call=zm.prototype.call;zm.prototype.apply=function(a){a=new N(this,Cm(this,a));return Am(a,this.Z().returns)};zm.prototype.apply=zm.prototype.apply;
var Dm=function(a,b,c){var d=void 0!==b,e=a.Z();if(ym(c,e,d)){if(c=Ob(c[0]),d){d=e.args[0].name;if(d in c)throw Error("Named args for "+e.name+" can't contain keyword "+d);c[d]=b}}else c=Bm(a,d?[b].concat(c):c);return a.apply(c)},Cm=function(a,b){for(var c=a.Z().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&void 0!==b[g])d[g]=Am(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},Bm=function(a,b){var c=a.Z().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
zm.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(Ya(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("")};zm.prototype.V=function(){return Fk(this)};var O=function(a,b){if(void 0===b)return Em(a);if(!(this instanceof O))return rm(O,arguments);this.Ra=Pb(b);this.Ra.name=a};x(O,zm);w("ee.ApiFunction",O);var P=function(a,b){return zm.prototype.call.apply(Em(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",P);var Fm=function(a,b){return Em(a).apply(b)};w("ee.ApiFunction._apply",Fm);O.prototype.encode=function(){return this.Ra.name};O.prototype.Re=function(a,b){return Nj(this.Ra.name,b)};O.prototype.Z=function(){return this.Ra};
var Gm=null,Hm={},Jm=function(){Im();return Eb(Gm,function(a){return a.Z()})},Km=function(){Im();return Db(Gm,function(a,b){return!Hm[b]})},Em=function(a){var b=Lm(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",Em);
var Lm=function(a){Im();return Gm[a]||null},Im=function(a,b){if(Gm)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(Gm=Eb(d,function(f,g){f.returns=f.returns.replace(/<.*>/,"");for(var h=0;h<f.args.length;h++)f.args[h].type=f.args[h].type.replace(/<.*>/,"");return new O(g,f)}),a&&a())};a?rl(c):c(rl())}},Mm=function(a,b,c,d){Im();var e=d||"";Cb(Gm,function(f,g){var h=g.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var n=f.Z();Hm[g]=!0;var p=!1;n.args.length&&(g=n.args[0].type,p="Object"!=g&&um(g,c));
g=p?a.prototype:a;h in g&&!g[h].signature||(g[h]=function(t){return Dm(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[h].toString=v(f.toString,f,h,p),g[h].signature=n)}})},Nm=function(a){var b=function(c){for(var d in c)"function"===typeof c[d]&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var Q=function(a,b){var c=Om(a),d=Ya(c,function(n){return n.replace(/^opt_/,"")});a=(a=r.EXPORTED_FN_INFO?r.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},f=b[0],g=u(f)&&"function"!==typeof f&&!Array.isArray(f)&&"Object"===Object.getPrototypeOf(f).constructor.name;if(1<b.length||!g){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(f=0;f<b.length;f++)e[d[f]]=b[f]}else{g=new Dd(Ib(f));
var h=new Dd(d);if(h.hh(g).isEmpty())e[d[0]]=b[0];else{b=g.Qe(h);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.T().join(", "));e=Ob(f)}}b=new Dd(Ib(e));c=(new Dd(Xa(c,function(n){return 0!=n.lastIndexOf("opt_",0)}))).Qe(b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.T().join(", "));return e},Om=function(a){var b=Pm,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],u(a)||Qm(),c=a.paramNames,Array.isArray(c)||Qm()):(a=a.toString().replace(Rm,"").match(b),
null===a&&Qm(),c=(a[1].split(",")||[]).map(function(d){return d.replace(Sm,"")}));return c},Qm=function(){throw Error("Failed to locate function parameters.");},Rm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Pm=/^function[^\(]*\(([^\)]*)\)/m,Sm=/=.*$/;var R=function(a,b,c){N.call(this,a,b,c);Tm()};x(R,N);w("ee.Element",R);var Um=!1,Tm=function(){Um||(Mm(R,"Element","Element"),Um=!0)};R.prototype.name=function(){return"Element"};
R.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=xm(c))a:{b=Ib(c);var d=["properties"];if(xa(b)&&xa(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(xm(c)){b=this;for(var g in c)d=c[g],b=P("Element.set",b,g,d)}else if(c instanceof N&&Lm("Element.setMulti"))b=P("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(0!=
arguments.length%2)throw Error("When Element.set() is passed multiple arguments, there must be an even number of them.");b=this;for(c=0;c<arguments.length;c+=2)g=arguments[c],d=arguments[c+1],b=P("Element.set",b,g,d)}return sm(this,b)};R.prototype.set=R.prototype.set;var S=function(a,b,c,d){if(!(this instanceof S))return rm(S,arguments);if(!("type"in a)){var e=Q(S,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Vm();e=null!=b||null!=c||null!=d;if(a instanceof N&&!(a instanceof S&&a.gb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");N.call(this,a.D,a.args,a.R)}else{a instanceof S&&(a=a.encode());if(!Wm(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));N.call(this,
null,null);this.gb=a.type;this.xg=null!=a.coordinates?Pb(a.coordinates):null;this.Ug=a.geometries||null;if(null!=b)this.Tb=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.Tb=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new li).V(a.crs));this.jc=c;void 0===this.jc&&"geodesic"in a&&(this.jc=!!a.geodesic);this.hc=d;void 0===this.hc&&"evenOdd"in a&&(this.hc=!!a.evenOdd)}};x(S,N);w("ee.Geometry",S);
var Xm=!1,Vm=function(){Xm||(Mm(S,"Geometry","Geometry"),Xm=!0)},Ym=function(a,b){if(!(this instanceof Ym))return Zm(Ym,arguments);var c=$m(Ym,"Point",1,arguments);if(!(c instanceof N)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}S.call(this,c)};x(Ym,S);S.Point=Ym;var an=function(a,b){if(!(this instanceof an))return Zm(an,arguments);S.call(this,$m(an,"MultiPoint",2,arguments))};x(an,S);S.MultiPoint=an;
var bn=function(a,b,c,d){if(!(this instanceof bn))return Zm(bn,arguments);var e=$m(bn,"Rectangle",2,arguments);if(!(e instanceof N)){var f=e.coordinates;if(2!=f.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var g=f[0][0],h=f[0][1],n=f[1][0];f=f[1][1];e.coordinates=[[[g,f],[g,h],[n,h],[n,f]]];e.type="Polygon"}S.call(this,e)};x(bn,S);S.Rectangle=bn;
var cn=function(a,b,c,d){if(!(this instanceof cn))return Zm(cn,arguments);S.call(this,$m(cn,"LineString",2,arguments))};x(cn,S);S.LineString=cn;var dn=function(a,b,c,d){if(!(this instanceof dn))return Zm(dn,arguments);S.call(this,$m(dn,"LinearRing",2,arguments))};x(dn,S);S.LinearRing=dn;var en=function(a,b,c,d){if(!(this instanceof en))return Zm(en,arguments);S.call(this,$m(en,"MultiLineString",3,arguments))};x(en,S);S.MultiLineString=en;
var fn=function(a,b,c,d,e){if(!(this instanceof fn))return Zm(fn,arguments);S.call(this,$m(fn,"Polygon",3,arguments))};x(fn,S);S.Polygon=fn;var gn=function(a,b,c,d,e){if(!(this instanceof gn))return Zm(gn,arguments);S.call(this,$m(gn,"MultiPolygon",4,arguments))};x(gn,S);S.MultiPolygon=gn;
S.prototype.encode=function(a){if(!this.gb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return N.prototype.encode.call(this,a)}a={type:this.gb};"GeometryCollection"==this.gb?a.geometries=this.Ug:a.coordinates=this.xg;null!=this.Tb&&(a.crs={type:"name",properties:{name:this.Tb}});null!=this.jc&&(a.geodesic=this.jc);null!=this.hc&&(a.evenOdd=this.hc);return a};
S.prototype.fd=function(){if(this.D)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};S.prototype.toGeoJSON=S.prototype.fd;S.prototype.ag=function(){if(this.D)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new li).V(this.fd())};S.prototype.toGeoJSONString=S.prototype.ag;S.prototype.V=function(){return Fk(this)};S.prototype.serialize=S.prototype.V;
S.prototype.toString=function(){return"ee.Geometry("+this.ag()+")"};
S.prototype.pa=function(a){if(!this.gb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return N.prototype.pa.call(this,a)}var b={},c="";"GeometryCollection"===this.gb?(b.geometries=this.Ug.map(function(e){return new S(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.xg,c="GeometryConstructors."+this.gb);null!=this.Tb&&(b.crs="string"===typeof this.Tb?(new O("Projection")).call(this.Tb):this.Tb);var d="Point"!==this.gb&&"MultiPoint"!==this.gb;
null!=this.jc&&d&&(b.geodesic=this.jc);null!=this.hc&&(b.evenOdd=this.hc);return(new O(c)).apply(b).pa(a)};
var Wm=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(!Wm(b[a]))return!1;return!0}a=a.coordinates;var c=hn(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)},hn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=hn(a[0]),c=1;c<a.length;c++)if(hn(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},jn=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},$m=function(a,b,c,d){a=kn(a,d);if(ln(a.coordinates)||null!=a.crs||null!=a.maxError)return(new O("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=mn(c,a.coordinates);(b=eb(["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},kn=function(a,b){if($a(b,vm))return{coordinates:jb(b)};a=Q(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Db(a,function(c){return null!=c})},ln=function(a){return Array.isArray(a)?Za(a,ln):a instanceof N},mn=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");$a(b,function(e){return"number"===
typeof e})&&(b=jn(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(hn(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},Zm=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};S.prototype.name=function(){return"Geometry"};var U=function(a){if(!(this instanceof U))return rm(U,arguments);if(a instanceof U)return a;nn();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new U(a[0]);N.call(this,new O("Filter.and"),{filters:a})}else if(a instanceof N)N.call(this,a.D,a.args,a.R);else if(void 0===a)N.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(U,N);w("ee.Filter",U);
var on=!1,nn=function(){on||(Mm(U,"Filter","Filter"),on=!0)},pn={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};U.prototype.kc=function(){return P("Filter.not",this)};U.prototype.not=U.prototype.kc;var qn=function(a,b){var c=Q(qn,arguments);return P("Filter.equals",c.name,c.value)};U.eq=qn;var rn=function(a,b){var c=Q(rn,arguments);return qn(c.name,c.value).kc()};U.neq=rn;
var sn=function(a,b){var c=Q(sn,arguments);return P("Filter.lessThan",c.name,c.value)};U.lt=sn;var tn=function(a,b){var c=Q(tn,arguments);return sn(c.name,c.value).kc()};U.gte=tn;var un=function(a,b){var c=Q(un,arguments);return P("Filter.greaterThan",c.name,c.value)};U.gt=un;var vn=function(a,b){var c=Q(vn,arguments);return un(c.name,c.value).kc()};U.lte=vn;var wn=function(a){return P("Filter.and",Array.prototype.slice.call(arguments))};U.and=wn;var xn=function(a){return P("Filter.or",Array.prototype.slice.call(arguments))};
U.or=xn;var yn=function(a,b){var c=Q(yn,arguments);c=P("DateRange",c.start,c.end);return Fm("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};U.date=yn;var zn=function(a,b,c,d){var e=Q(zn,arguments);return Fm("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};U.inList=zn;var An=function(a,b){return Fm("Filter.intersects",{leftField:".all",rightValue:P("Feature",a),maxError:b})};U.bounds=An;
U.prototype.name=function(){return"Filter"};var Bn=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in pn))throw Error("Unknown filtering operator: "+b);a=P("Filter."+pn[b],a,c);return d?a.kc():a};U.metadata=Bn;var V=function(a,b,c){R.call(this,a,b,c);Cn()};x(V,R);w("ee.Collection",V);var Dn=!1,Cn=function(){Dn||(Mm(V,"Collection","Collection"),Mm(V,"AggregateFeatureCollection","Collection","aggregate_"),Dn=!0)};V.prototype.filter=function(a){a=Q(V.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return sm(this,P("Collection.filter",this,a))};V.prototype.filter=V.prototype.filter;
V.prototype.We=function(a,b,c){var d=Q(V.prototype.We,arguments);return this.filter(Bn(d.name,d.operator,d.value))};V.prototype.filterMetadata=V.prototype.We;V.prototype.Ng=function(a){return this.filter(An(a))};V.prototype.filterBounds=V.prototype.Ng;V.prototype.Ve=function(a,b){var c=Q(V.prototype.Ve,arguments);return this.filter(yn(c.start,c.end))};V.prototype.filterDate=V.prototype.Ve;
V.prototype.limit=function(a,b,c){var d=Q(V.prototype.limit,arguments);return sm(this,P("Collection.limit",this,d.max,d.property,d.ascending))};V.prototype.limit=V.prototype.limit;V.prototype.sort=function(a,b){var c=Q(V.prototype.sort,arguments);return sm(this,P("Collection.limit",this,void 0,c.property,c.ascending))};V.prototype.sort=V.prototype.sort;V.prototype.name=function(){return"Collection"};V.prototype.elementType=function(){return R};
V.prototype.map=function(a,b){var c=this.elementType();return sm(this,P("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.jh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return P("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};V.prototype.iterate=V.prototype.jh;var W=function(a,b){if(!(this instanceof W))return rm(W,arguments);if(a instanceof W){if(b)throw Error("Can't create Feature out of a Feature and properties.");return a}if(2<arguments.length)throw Error("The Feature constructor takes at most 2 arguments ("+arguments.length+" given)");En();if(a instanceof S||null===a)R.call(this,new O("Feature"),{geometry:a,metadata:b||null});else if(a instanceof N)R.call(this,a.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=Ob(c);c["system:index"]=a.id}R.call(this,new O("Feature"),{geometry:new S(a.geometry),metadata:c})}else R.call(this,new O("Feature"),{geometry:new S(a),metadata:b||null})};x(W,R);w("ee.Feature",W);var Fn=!1,En=function(){Fn||(Mm(W,"Feature","Feature"),Fn=!0)};W.prototype.X=function(a){return W.H.X.call(this,a)};W.prototype.getInfo=W.prototype.X;
W.prototype.getMap=function(a,b){var c=Q(W.prototype.getMap,arguments);return P("Collection",[this]).getMap(c.visParams,c.callback)};W.prototype.getMap=W.prototype.getMap;W.prototype.name=function(){return"Feature"};var Vl=function(a){var b={},c=Gn(a.element,a);c=Hn(c,a,b);b.element=c;return b},Wl=function(a){var b={},c=a.element.map(function(d){d=Gn(d,a);return Hn(d,a,b)});b.element=c;return b},Hn=function(a,b,c){var d={},e=["maxDimension","width","height","scale"];Cb(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 bn)){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 bn(g,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");
if(!(f instanceof S)){g=f;if("string"===typeof f)try{g=JSON.parse(f)}catch(h){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(Array.isArray(g))f=new fn(g,null,!1);else if(u(g))f=new S(g,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=f;break;case "scale":d.scale=Number(f);break;default:c[g]=f}});Mb(d)||(d.input=a,a=e.some(function(f){return f in d})?Fm("Image.clipToBoundsAndScale",d):Fm("Image.clip",d));return a},Gn=function(a,b){var c=
b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=In(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=Fm("Image.reproject",{image:a,crs:c,crsTransform:d}),null!=b.dimensions&&null==b.scale&&null==b.region){var e=b.dimensions;"string"===typeof e&&(e=e.split("x").map(Number));2===e.length&&(delete b.dimensions,c=(new O("Projection")).call(c,d),b.region=new bn([0,0,e[0],e[1]],c,!1))}}else a=Fm("Image.setDefaultProjection",{image:a,crs:c,
crsTransform:[1,0,0,0,-1,0]});return a},In=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&$a(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.");},Kn=function(a,b){var c={};b=Jn(b,c);Mb(b)||(b.image=a,a=Fm("Image.visualize",b));c.image=a;return c},Jn=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),
d={};Cb(a,function(e,f){eb(c,f)?d[f]=e:b[f]=e});return d},Al=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=Gn(f,e);return f=Hn(f,e,{})};"ZIPPED_GEO_TIFF_PER_BAND"===b.format&&b.bands&&
b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,f){return P("Image.addBands",e,f,null,!0)},d.shift())):(d=c(b),a=Gn(a,d),a=Hn(a,d,{}));return a};var M=function(a){if(!(this instanceof M))return rm(M,arguments);if(a instanceof M)return a;Ln();var b=arguments.length;if(0==b||1==b&&void 0===a)R.call(this,new O("Image.mask"),{image:new M(0),mask:new M(0)});else if(1==b)if(vm(a))R.call(this,new O("Image.constant"),{value:a});else if(wm(a))R.call(this,new O("Image.load"),{id:a});else{if(Array.isArray(a))return Mn(Ya(a,function(d){return new M(d)}));if(a instanceof N)"Array"==a.name()?R.call(this,new O("Image.constant"),{value:a}):R.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(wm(b)&&vm(c))R.call(this,new O("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};x(M,R);w("ee.Image",M);var Nn=!1,Ln=function(){Nn||(Mm(M,"Image","Image"),Mm(M,"Window","Image","focal_"),Nn=!0)};
M.prototype.X=function(a){return M.H.X.call(this,a)};M.prototype.getInfo=M.prototype.X;M.prototype.getMap=function(a,b){var c=this,d=Q(M.prototype.getMap,arguments),e=Kn(this,d.visParams);if(d.callback){var f=d.callback;tl(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=tl(e),d.image=this,d};M.prototype.getMap=M.prototype.getMap;
M.prototype.nb=function(a,b){var c=Q(M.prototype.nb,arguments),d=c.params?Ob(c.params):{};d.image=L?this:this.V();if(c.callback){var e=c.callback;Bl(d,function(f,g){f?e(Cl(f)):e(null,g)})}else return Cl(Bl(d))};M.prototype.getDownloadURL=M.prototype.nb;
M.prototype.xd=function(a,b){var c=Q(M.prototype.nb,arguments),d=c.params?Ob(c.params):{};if(L){var e={},f=Gn(this,d);f=Hn(f,d,e);d=Kn(f,e)}else if(d=Kn(this,d),d.region)if(d.region instanceof S&&(d.region=d.region.fd()),Array.isArray(d.region)||xm(d.region))d.region=mi(d.region);else if("string"!==typeof d.region)throw Error("The region parameter must be an array or a GeoJSON object.");return c.callback?(wl(d,c.callback),null):wl(d)};M.prototype.getThumbId=M.prototype.xd;
M.prototype.af=function(a,b){var c=Q(M.prototype.af,arguments);if(c.callback)this.xd(c.params,function(d,e){var f="";if(void 0===e)try{f=zl(d)}catch(g){e=String(g.message)}c.callback(f,e)});else return zl(this.xd(c.params))};M.prototype.getThumbURL=M.prototype.af;var On=function(a,b,c){var d=Q(On,arguments);return Mn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};M.rgb=On;var Pn=function(a){return Mn(Array.prototype.slice.call(arguments),null)};M.cat=Pn;
var Mn=function(a,b){if(0==a.length)return P("Image.constant",[]);for(var c=new M(a[0]),d=1;d<a.length;d++)c=P("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
M.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||wm(b[0])||vm(b[0])){for(var d=0;d<b.length;d++)if(!(wm(b[d])||vm(b[d])||b[d]instanceof N))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Fm("Image.select",c)};M.prototype.select=M.prototype.select;
M.prototype.i=function(a,b){var c=Q(M.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 M(f[g])}var h=P("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new zm;c.encode=function(n){return h.encode(n)};c.Re=function(n,p){return Oj(n(h),p)};c.Z=function(){return{name:"",args:Ya(d,function(n){return{name:n,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
M.prototype.expression=M.prototype.i;M.prototype.clip=function(a){try{a=new S(a)}catch(b){}return P("Image.clip",this,a)};M.prototype.clip=M.prototype.clip;M.prototype.Gh=function(a){var b=1!=arguments.length||wm(arguments[0])?jb(arguments):arguments[0];return P("Image.rename",this,b)};M.prototype.rename=M.prototype.Gh;M.prototype.name=function(){return"Image"};var Qn=function(a){if(this instanceof Qn){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Qn)return a}else return rm(Qn,arguments);Rn();if(Array.isArray(a))N.call(this,null,null),this.Vc=a;else if(a instanceof N)N.call(this,a.D,a.args,a.R),this.Vc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(Qn,N);w("ee.List",Qn);var Sn=!1,Rn=function(){Sn||(Mm(Qn,"List","List"),Sn=!0)};
Qn.prototype.encode=function(a){return Array.isArray(this.Vc)?Ya(this.Vc,function(b){return a(b)}):Qn.H.encode.call(this,a)};Qn.prototype.pa=function(a){return Array.isArray(this.Vc)?Kj(a(this.Vc)):Qn.H.pa.call(this,a)};Qn.prototype.name=function(){return"List"};var X=function(a,b){if(!(this instanceof X))return rm(X,arguments);if(a instanceof X)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");Tn();a instanceof S&&(a=new W(a));a instanceof W&&(a=[a]);if(wm(a)){var c={tableId:a};b&&(c.geometryColumn=b);V.call(this,new O("Collection.loadTable"),c)}else if(Array.isArray(a))V.call(this,new O("Collection"),{features:Ya(a,function(d){return new W(d)})});else if(a instanceof Qn)V.call(this,
new O("Collection"),{features:a});else if(a instanceof N)V.call(this,a.D,a.args,a.R);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(X,V);w("ee.FeatureCollection",X);var Un=!1,Tn=function(){Un||(Mm(X,"FeatureCollection","FeatureCollection"),Un=!0)};X.prototype.getMap=function(a,b){var c=Q(X.prototype.getMap,arguments),d=Fm("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(void 0,c.callback);else return d.getMap()};
X.prototype.getMap=X.prototype.getMap;X.prototype.X=function(a){return X.H.X.call(this,a)};X.prototype.getInfo=X.prototype.X;X.prototype.nb=function(a,b,c,d){var e=Q(X.prototype.nb,arguments),f={};f.table=L?this:this.V();e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);e.selectors&&(f.selectors=e.selectors);if(e.callback)Dl(f,function(g,h){g?e.callback(El(g)):e.callback(null,h)});else return El(Dl(f))};X.prototype.getDownloadURL=X.prototype.nb;
X.prototype.select=function(a,b,c){if(wm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(f){return f.select(d)})}var e=Q(X.prototype.select,arguments);return this.map(function(f){return f.select(e)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"FeatureCollection"};X.prototype.elementType=function(){return W};var Y=function(a){if(!(this instanceof Y))return rm(Y,arguments);if(a instanceof Y)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Vn();a instanceof M&&(a=[a]);if(wm(a))V.call(this,new O("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new O("ImageCollection.fromImages"),{images:Ya(a,function(b){return new M(b)})});else if(a instanceof Qn)V.call(this,new O("ImageCollection.fromImages"),{images:a});
else if(a instanceof N)V.call(this,a.D,a.args,a.R);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Y,V);w("ee.ImageCollection",Y);var Wn=!1,Vn=function(){Wn||(Mm(Y,"ImageCollection","ImageCollection"),Mm(Y,"reduce","ImageCollection"),Wn=!0)};Y.prototype.$e=function(a,b){var c=Q(Y.prototype.$e,arguments);return Xn(this,c,["png","jpg","jpeg"],"filmstrip")};Y.prototype.getFilmstripThumbURL=Y.prototype.$e;
Y.prototype.bf=function(a,b){var c=Q(Y.prototype.bf,arguments);return Xn(this,c,["gif"],"video")};Y.prototype.getVideoThumbURL=Y.prototype.bf;
var Xn=function(a,b,c,d){var e={};a=a.map(function(h){h=Gn(h,b.params);return Hn(h,b.params,e)});var f={},g=Jn(e,f);f.imageCollection=a.map(function(h){g.image=h;return Fm("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!Za(c,function(h){return h.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=wl;if(L)switch(d){case "video":c=xl;break;case "filmstrip":c=yl}if(b.callback)c(f,function(h,n){var p=
"";if(void 0===n)try{p=zl(h)}catch(t){n=String(t.message)}b.callback(p,n)});else return zl(c(f))};Y.prototype.getMap=function(a,b){var c=Q(Y.prototype.getMap,arguments),d=P("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Y.prototype.getMap=Y.prototype.getMap;Y.prototype.X=function(a){return Y.H.X.call(this,a)};Y.prototype.getInfo=Y.prototype.X;
Y.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Y.prototype.select=Y.prototype.select;Y.prototype.first=function(){return new M(P("Collection.first",this))};Y.prototype.first=Y.prototype.first;Y.prototype.name=function(){return"ImageCollection"};Y.prototype.elementType=function(){return M};var Yn=function(a){this.Je=a;this.id=null},$n=function(a){var b={element:Zn(a)};Object.assign(b,a);b=Db(b,function(c){return null!=c});return new Yn(b)};
Yn.prototype.start=function(a,b){var c=this;z(this.Je,"Task config must be specified for tasks to be started.");if(a){var d=function(){Ra(c.id);Ul(c.id,c.Je,function(e,f){f?b(f):a()})};this.id?d():Fl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||Fl(1)[0],Ra(this.id,"Failed to obtain task ID."),Ul(this.id,this.Je)};Yn.prototype.start=Yn.prototype.start;var ao=function(a,b,c,d,e,f,g,h,n,p){var t=Q(ao,arguments);t=bo(t,"ASSET","EXPORT_IMAGE");return $n(t)};
w("ee.batch.Export.image.toAsset",ao);var co=function(a,b,c,d,e,f,g,h,n,p,t,C,E,Z,Da){var T=Q(co,arguments);T=bo(T,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return $n(T)};w("ee.batch.Export.image.toCloudStorage",co);var eo=function(a,b,c,d,e,f,g,h,n,p,t,C,E,Z,Da){var T=Q(eo,arguments);T=bo(T,"DRIVE","EXPORT_IMAGE");return $n(T)};w("ee.batch.Export.image.toDrive",eo);var fo=function(a,b,c,d,e,f,g,h,n,p,t,C){var E=Q(fo,arguments);E=bo(E,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return $n(E)};
w("ee.batch.Export.map.toCloudStorage",fo);var go=function(a,b,c,d,e,f){var g=Q(go,arguments);g=bo(g,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return $n(g)};w("ee.batch.Export.table.toCloudStorage",go);var ho=function(a,b,c,d,e,f){var g=Q(ho,arguments);g.type="EXPORT_FEATURES";g=bo(g,"DRIVE","EXPORT_FEATURES");return $n(g)};w("ee.batch.Export.table.toDrive",ho);var io=function(a,b,c){var d=Q(io,arguments);d=bo(d,"ASSET","EXPORT_FEATURES");return $n(d)};w("ee.batch.Export.table.toAsset",io);
var jo=function(a,b,c,d,e,f,g,h,n,p,t,C){var E=Q(jo,arguments);E=bo(E,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return $n(E)};w("ee.batch.Export.video.toCloudStorage",jo);var ko=function(a,b,c,d,e,f,g,h,n,p,t,C){var E=Q(ko,arguments);E=bo(E,"DRIVE","EXPORT_VIDEO");return $n(E)};w("ee.batch.Export.video.toDrive",ko);var lo=function(a,b,c,d,e,f,g,h,n,p,t,C,E,Z,Da,T,db,Hb,gq,hq){var Qi=Q(lo,arguments);Qi=bo(Qi,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return $n(Qi)};
w("ee.batch.Export.videoMap.toCloudStorage",lo);
var Zn=function(a){var b=function(d){return d in a},c=mo.find(b);z(1===ab(mo,b),'Expected a single "image" or "collection" key.');b=a[c];if(!(b instanceof M||b instanceof X||b instanceof Y||b instanceof R))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection or ee.Element.");delete a[c];return b},bo=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=no(e,a),delete e.formatOptions,Object.assign(e,a));e=oo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_TILES":e=
b=oo(e,b);break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());e=oo(e,b);break;case "EXPORT_VIDEO":e=po(e);e=oo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=po(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=oo(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof
S)b=b.fd();else if("string"===typeof b)try{b=Ta(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 cn(b)}catch(f){try{new fn(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=mi(b);d.region=b}return e},oo=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=a.assetId||"";break;default:b=wa(a.folder);if(!eb(["string","undefined"],b))throw Error('Error: toDrive "folder" parameter must be a string, but is of type '+b+".");a.driveFolder=a.folder||"";a.driveFileNamePrefix=a.fileNamePrefix||"";delete a.folder;delete a.fileNamePrefix}return a},
qo={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},ro={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},po=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;a.fileFormat="MP4";return a},no=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=ro[b];for(var d=qo[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(!eb(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},mo=["image","collection"];var so=function(a){if(!(this instanceof so))return rm(so,arguments);if(a instanceof so)return a;to();if("number"===typeof a)N.call(this,null,null),this.Xc=a;else if(a instanceof N)N.call(this,a.D,a.args,a.R),this.Xc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(so,N);w("ee.Number",so);var uo=!1,to=function(){uo||(Mm(so,"Number","Number"),uo=!0)};so.prototype.encode=function(a){return"number"===typeof this.Xc?this.Xc:so.H.encode.call(this,a)};
so.prototype.pa=function(a){return"number"===typeof this.Xc?Kj(a(this.Xc)):so.H.pa.call(this,a)};so.prototype.name=function(){return"Number"};var vo=function(a){if(!(this instanceof vo))return rm(vo,arguments);if(a instanceof vo)return a;wo();if("string"===typeof a)N.call(this,null,null),this.dd=a;else if(a instanceof N)this.dd=null,a.D&&"String"==a.D.Z().returns?N.call(this,a.D,a.args,a.R):N.call(this,new O("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(vo,N);w("ee.String",vo);var xo=!1,wo=function(){xo||(Mm(vo,"String","String"),xo=!0)};
vo.prototype.encode=function(a){return"string"===typeof this.dd?this.dd:vo.H.encode.call(this,a)};vo.prototype.pa=function(a){return"string"===typeof this.dd?Kj(a(this.dd)):vo.H.pa.call(this,a)};vo.prototype.name=function(){return"String"};var yo=function(a,b){if(!(this instanceof yo))return rm(yo,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(zo(g in tm?tm[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Ra=Ao(a,c,b);this.og=b.apply(null,c)};x(yo,zm);w("ee.CustomFunction",yo);yo.prototype.encode=function(a){return{type:"Function",argumentNames:Ya(this.Ra.args,function(b){return b.name}),body:a(this.og)}};
yo.prototype.pa=function(a){return Pj(this.Ra.args.map(function(b){return b.name}),a(this.og))};yo.prototype.Re=function(a,b){return Oj(a(this),b)};yo.prototype.Z=function(){return this.Ra};
var zo=function(a,b){a=a||Object;if(!(a.prototype instanceof N))if(a&&a!=Object)if(a==String)a=vo;else if(a==Number)a=so;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=N;var c=function(d){this.args=this.D=null;this.R=d};c.prototype=a.prototype;return new c(b)},Bo=function(a,b){b={name:"",returns:"Object",args:Ya(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof N?c.prototype.name.call(null):c==Number?
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new yo(b,a)},Ao=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)&&"function"!==typeof n&&("Function"==n.type&&p++,Cb(n,function(t){p+=f(t)}));return p};e=Ek(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 Co=function(a,b){if(!(this instanceof Co))return rm(Co,arguments);if(a instanceof Co)return a;Do();var c=Q(Co,arguments);a=c.date;c=c.tz;var d=new O("Date"),e={},f=null;if(wm(a)){if(e.value=a,c)if(wm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(vm(a))e.value=a;else if(ya(a))e.value=Math.floor(a.getTime());else if(a instanceof N)a.D&&"Date"==a.D.Z().returns?(d=a.D,e=a.args,f=a.R):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
a);N.call(this,d,e,f)};x(Co,N);w("ee.Date",Co);var Eo=!1,Do=function(){Eo||(Mm(Co,"Date","Date"),Eo=!0)};Co.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var Go=function(a){return Fo(JSON.parse(a))};w("ee.Deserializer.fromJSON",Go);var Fo=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]=Ho(f,b)}a=a.value}return Ho(a,b)};w("ee.Deserializer.decode",Fo);
var Ho=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Ya(a,function(f){return Ho(f,b)});if(!u(a)||"function"===typeof a)throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":c=a.value;if("string"!==typeof c)throw Error("Invalid variable name: "+c);return zo(Object,c);case "Date":c=a.value;if("number"!==typeof c)throw Error("Invalid date value: "+
c);return new Co(c/1E3);case "Bytes":return c=new Ij,c.encode=function(){return a},c;case "Invocation":c="functionName"in a?Em(a.functionName):Ho(a["function"],b);var d=Eb(a.arguments,function(f){return Ho(f,b)});if(c instanceof zm)return c.apply(d);if(c instanceof N)return new N(c,d);throw Error("Invalid function value: "+a["function"]);case "Dictionary":return Eb(a.value,function(f){return Ho(f,b)});case "Function":var e=Ho(a.body,b);c={name:"",args:Ya(a.argumentNames,function(f){return{name:f,
type:"Object",optional:!1}}),returns:"Object"};return new yo(c,function(){return e});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new S(a);case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}};var Io=function(a){if(!(this instanceof Io))return rm(Io,arguments);if(a instanceof Io)return a;Jo();xm(a)?(N.call(this,null,null),this.Hc=a):(a instanceof N&&a.D&&"Dictionary"==a.D.Z().returns?N.call(this,a.D,a.args,a.R):N.call(this,new O("Dictionary"),{input:a},null),this.Hc=null)};x(Io,N);w("ee.Dictionary",Io);var Ko=!1,Jo=function(){Ko||(Mm(Io,"Dictionary","Dictionary"),Ko=!0)};Io.prototype.encode=function(a){return null!==this.Hc?a(this.Hc):Io.H.encode.call(this,a)};
Io.prototype.pa=function(a){return null!==this.Hc?Kj(a(this.Hc)):Io.H.pa.call(this,a)};Io.prototype.name=function(){return"Dictionary"};var Lo={};w("ee.Terrain",Lo);Lo.hf=!1;Lo.Jj=function(){Lo.hf||(Mm(Lo,"Terrain","Terrain"),Lo.hf=!0)};Lo.reset=function(){Nm(Lo);Lo.hf=!1};var Ro=function(a,b,c,d,e){if("ready"!=Mo||a||b){var f=null!=c;if(d)if(f)No.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Mo&&f)Oo.push(c);else if(Mo="loading",cj(a,b,e),f)Oo.push(c),Im(Po,Qo);else try{Im(),Po()}catch(g){throw Qo(g),g;}}else c&&c()};w("ee.initialize",Ro);
var Uo=function(){Mo="not_ready";xj=wj=kj=null;vj=!1;Gm=null;Hm={};Nm(Co);Eo=!1;Nm(Io);Ko=!1;Nm(R);Um=!1;Nm(M);Nn=!1;Nm(W);Fn=!1;Nm(V);Dn=!1;Nm(Y);Wn=!1;Nm(X);Un=!1;Nm(U);on=!1;Nm(S);Xm=!1;Nm(Qn);Sn=!1;Nm(so);uo=!1;Nm(vo);xo=!1;Lo.reset();for(var a=r.ee,b=0;b<So.length;b++){var c=So[b];Nm(a[c]);delete a[c]}So=[];tm=a;a=To;for(var d in a)delete a[d]};w("ee.reset",Uo);var Vo={ik:"not_ready",LOADING:"loading",jk:"ready"};w("ee.InitState",Vo);w("ee.InitState.NOT_READY","not_ready");
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var Mo="not_ready",Oo=[],No=[];w("ee.TILE_SIZE",256);var So=[],To={};w("ee.Algorithms",To);var Wo=function(a,b){"string"===typeof a&&(a=new O(a));return zm.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",Wo);var Xo=function(a,b){"string"===typeof a&&(a=new O(a));return a.apply(b)};w("ee.apply",Xo);
var Po=function(){if("loading"==Mo){try{Do();Jo();Tm();Ln();En();Cn();Vn();Tn();nn();Vm();Rn();to();wo();Lo.Jj();var a=Jm(),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]=Yo(g),So.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,Hm[g]=!0):f[g].signature={});tm=f;Zo()}catch(h){Qo(h);return}Mo="ready";for(No=[];0<Oo.length;)Oo.shift()()}},Qo=function(a){if("loading"==
Mo)for(Mo="not_ready",Oo=[];0<No.length;)No.shift()(a)},Zo=function(){var a=Km();Ib(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=To;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=lb(b,1)}f=function(g){return Dm(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=v(c.toString,c);e[b[0]]=f}})},Yo=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 rm(d,e);d=Lm(a);var g=!(e[0]instanceof N),h=!1;d&&(f?g?h=!0:e[0].D&&e[0].D.Z().returns==d.Z().returns||(h=!0):h=!0);if(h)e=ym(e,d.Z())?e[0]:Bm(d,e),N.call(this,d,Cm(d,e));else{if(!f)throw Error("Too many arguments for ee."+a+"(): "+e);if(g)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];N.call(this,e.D,e.args,e.R)}};x(b,N);b.prototype.name=function(){return a};Mm(b,a,a);return b};
Am=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new M(a);case "Feature":return a instanceof V?P("Feature",P("Collection.geometry",a)):new W(a);case "Element":if(a instanceof R)return a;if(a instanceof S)return new W(a);if(a instanceof N)return new R(a.D,a.args,a.R);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof X?P("Collection.geometry",a):new S(a);case "FeatureCollection":case "Collection":return a instanceof V?
a:new X(a);case "ImageCollection":return new Y(a);case "Filter":return new U(a);case "Algorithm":if("string"===typeof a)return new O(a);if("function"===typeof a){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return Bo(a,c)}if(a instanceof Ij)return a;throw Error("Argument is not a function: "+a);case "String":return wm(a)||a instanceof vo||a instanceof N?new vo(a):a;case "Dictionary":return xm(a)?a:new Io(a);case "List":return new Qn(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new so(a);
default:if(b in c){d=Lm(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 $o=function(a,b,c){Gd.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.Qg=new ud;this.Pg=new ud};q($o,Gd);$o.prototype.getTile=function(a,b){var c=Hd(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.rb,this.token].join("/");this.tb.push(c);this.rb+=1;var d=ih("DIV");ap(this,b,a,c,d);bp(this);return d};
var ap=function(a,b,c,d,e){var f=Ki(Ii);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=v(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.Qg.set(c,g),this.Pg.set(c,e),hb(this.tb,d),bp(this);else throw this.Zf.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},bp=function(a){a.dispatchEvent(new Id(a.tb.length))};$o.prototype.G=function(){this.Pg=this.Qg=null;Gd.prototype.G.call(this)};
w("ee.FloatTileOverlay",$o);var cp=function(){this.Qd=new Map};cp.prototype.clear=function(){this.Qd.clear()};var dp=function(a,b){a.Qd.has(b)||a.Qd.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.Qd.get(b)};var ep=function(a){Ja.call(this);this.Nb=a;this.I={}};x(ep,Ja);var fp=[];ep.prototype.Oa=function(a,b,c,d){Array.isArray(b)||(b&&(fp[0]=b.toString()),b=fp);for(var e=0;e<b.length;e++){var f=bd(a,b[e],c||this.handleEvent,d||!1,this.Nb||this);if(!f)break;this.I[f.key]=f}return this};ep.prototype.Wc=function(a,b,c,d){return gp(this,a,b,c,d)};
var gp=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)gp(a,b,c[g],d,e,f);else{b=ad(b,c,d||a.handleEvent,e,f||a.Nb||a);if(!b)return a;a.I[b.key]=b}return a};ep.prototype.Yd=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Yd(a,b[f],c,d,e);else c=c||this.handleEvent,d=u(d)?!!d.capture:!!d,e=e||this.Nb||this,c=cd(c),d=!!d,b=Rc(a)?a.Kc(b,c,d,e):a?(a=ed(a))?a.Kc(b,c,d,e):null:null,b&&(jd(b),delete this.I[b.key])};
ep.prototype.bd=function(){Cb(this.I,function(a,b){this.I.hasOwnProperty(b)&&jd(a)},this);this.I={}};ep.prototype.G=function(){ep.H.G.call(this);this.bd()};ep.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var ip=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Kb[a.name]):(this.code=a=Qa(a.code),this.name=hp(a));La.call(this,pc("%s %s",this.name,b))};x(ip,La);var hp=function(a){var b=Lb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Kb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};var jp=function(a,b){y.call(this,a.type,b);this.Ca=a};x(jp,y);var kp=function(){nd.call(this);this.aa=new FileReader;this.aa.onloadstart=v(this.fc,this);this.aa.onprogress=v(this.fc,this);this.aa.onload=v(this.fc,this);this.aa.onabort=v(this.fc,this);this.aa.onerror=v(this.fc,this);this.aa.onloadend=v(this.fc,this)};x(kp,nd);k=kp.prototype;k.abort=function(){try{this.aa.abort()}catch(a){throw new ip(a,"aborting read");}};k.ob=function(){return this.aa.readyState};k.getError=function(){return this.aa.error&&new ip(this.aa.error,"reading file")};
k.fc=function(a){this.dispatchEvent(new jp(a,this))};k.G=function(){kp.H.G.call(this);delete this.aa};k.readAsBinaryString=function(a){this.aa.readAsBinaryString(a)};k.readAsArrayBuffer=function(a){this.aa.readAsArrayBuffer(a)};k.readAsText=function(a,b){this.aa.readAsText(a,b)};var lp=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};k=lp.prototype;k.clone=function(){return new lp(this.top,this.right,this.bottom,this.left)};k.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};k.contains=function(a){return this&&a?a instanceof lp?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
k.expand=function(a,b,c,d){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 dh?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(Qa(a),this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var mp=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};k=mp.prototype;k.clone=function(){return new mp(this.left,this.top,this.width,this.height)};k.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
k.hh=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.Qe=function(a){b:{var b=Math.max(this.left,a.left);var c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top),e=Math.min(this.top+this.height,a.top+a.height);if(d<=e){b=new mp(b,d,c-b,e-d);break b}}b=null}if(b&&b.height&&b.width){b=[];c=this.top;d=this.height;e=this.left+this.width;var f=this.top+this.height,g=a.left+a.width,h=a.top+a.height;a.top>this.top&&(b.push(new mp(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);h<f&&(b.push(new mp(this.left,
h,this.width,f-h)),d=h-c);a.left>this.left&&b.push(new mp(this.left,c,a.left-this.left,d));g<e&&b.push(new mp(g,c,e-g,d));a=b}else a=[this.clone()];return a};k.contains=function(a){return a instanceof dh?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 dh(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 dh?(this.left+=a.x,this.top+=a.y):(this.left+=Qa(a),"number"===typeof b&&(this.top+=b));return this};
k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var np=function(a,b){z(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 op=function(a,b){nd.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.Pd=new cp;this.sb=new ud;this.rb=0;this.Yf=a;this.cb=new ep(this);this.projection=null;this.radius=0;this.alt=null};x(op,nd);w("ee.layers.AbstractOverlay",op);
op.prototype.xe=function(a){return bd(this,"tile-load",a)};op.prototype.addTileCallback=op.prototype.xe;op.prototype.If=function(a){jd(a)};op.prototype.removeTileCallback=op.prototype.If;k=op.prototype;k.Lc=function(){return pp(this,"throttled")+pp(this,"loading")+pp(this,"new")};k.setOpacity=function(a){this.opacity=a;this.sb.forEach(function(b){np(b.oa,this.opacity)},this)};k.getStats=function(){return this.Pd};
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.rb++].join("-"),this.Yf.Xg()].join("-");b=this.zg(d,b,c,a);b.tileSize=this.tileSize;np(b.oa,this.opacity);this.sb.set(a,b);qp(this,b);this.dispatchEvent(new rp(this.Lc()));this.Yf.mh(b,(new Date).getTime()/1E3);return b.oa};k.releaseTile=function(a){var b=this.sb.get(a.id);this.sb.remove(a.id);b&&(b.abort(),Ka(b))};
var qp=function(a,b){a.cb.Oa(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.Oj,d=(new Date).getTime();dp(this.Pd,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new sp(this.Lc()));break;case "throttled":dp(this.Pd,b.zoom).throttleCount++;this.dispatchEvent(new tp(b.Ga));break;case "failed":dp(this.Pd,b.zoom).errorCount++;this.dispatchEvent(new up(b.Ga,b.Cj));break;case "aborted":this.dispatchEvent(new vp(this.Lc()))}})};
op.prototype.G=function(){op.H.G.call(this);this.sb.forEach(Ka);this.sb.clear();this.sb=null;Ka(this.cb);this.Yf=this.cb=null};var pp=function(a,b){return ab(a.sb.T(),function(c){return c.getStatus()==b})},sp=function(){y.call(this,"tile-load")};x(sp,y);var rp=function(){y.call(this,"tile-start")};x(rp,y);var tp=function(){y.call(this,"tile-throttle")};x(tp,y);var up=function(a,b){y.call(this,"tile-fail");this.errorMessage=b};x(up,y);var vp=function(){y.call(this,"tile-abort")};x(vp,y);
var wp=function(a,b,c,d){nd.call(this);this.ec=a;this.zoom=b;this.oa=c.createElement("div");this.oa.id=d;this.Qj=5;this.Ld=function(){};this.Rd="new";this.Jh=0;this.lf=!1};x(wp,nd);
var yp=function(a){if(!a.lf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");xp(a,"loading");a.Oj=(new Date).getTime();a.Ta=new Li;a.Ta.qc="blob";a.Ta.Oa("complete",function(){var b=Zi(this.Ta),c=this.Ta.getStatus();429==c&&xp(this,"throttled");if(Ei(c)){var d={};Cb($i(this.Ta),function(f,g){d[g.toLowerCase()]=f});this.bk=d;this.Ph=b;this.Jc()}else if(b){var e=new kp;e.Oa("loadend",function(){this.cd(e.aa.result)},void 0,this);
e.readAsText(b)}else this.cd("Failed to load tile.")},!1,a);a.Ta.Wc("ready",Ga(Ka,a.Ta));a.Ga&&a.Ga.endsWith("&profiling=1")&&L&&(a.Ga=a.Ga.replace("&profiling=1",""),a.Ta.headers.set("X-Earth-Engine-Computation-Profile","1"));a.Ta.send(a.Ga,"GET")};k=wp.prototype;k.Jc=function(){this.Ld(this);xp(this,"loaded")};k.Dc=function(){Ka(this.Ta)};
k.cd=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.Jh>=this.Qj?(this.Cj=b(a),xp(this,"failed")):(this.Dc(),setTimeout(v(function(){this.Ma||(this.lf=!0,yp(this),this.lf=!1)},this),1E3*Math.pow(2,this.Jh++)))};k.abort=function(){this.Dc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&xp(this,this.Rd in zp?"removed":"aborted")};k.getStatus=function(){return this.Rd};
var xp=function(a,b){a.Rd=b;a.dispatchEvent("status-changed")},zp={aborted:!0,failed:!0,loaded:!0,removed:!0};wp.prototype.G=function(){wp.H.G.call(this);this.Dc();this.oa.remove();this.Ld=null};var Ap=function(){Ja.call(this)};x(Ap,Ja);var Bp=function(a,b){op.call(this,a,b);this.qg=new ud;this.Jg=new ud};q(Bp,op);Bp.prototype.zg=function(a,b,c,d){var e=new Cp(a,b,c,d);this.cb.Oa(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.qg.set(a,new Float32Array(e.xj)),this.Jg.set(a,e.oa))});return e};Bp.prototype.G=function(){op.prototype.G.call(this);this.Jg=this.qg=null};w("ee.layers.BinaryOverlay",Bp);var Cp=function(a,b,c,d){wp.call(this,a,b,c,d)};q(Cp,wp);
Cp.prototype.Jc=function(){var a=new kp;a.Oa("loadend",function(){this.xj=a.aa.result;wp.prototype.Jc.call(this)},void 0,this);a.readAsArrayBuffer(this.Ph)};var Dp=function(a){nd.call(this);this.Qc={};this.Pc={};this.Nb=new ep(this);this.O=a};x(Dp,nd);var Ep=[wc&&!Gc("11")?"readystatechange":"load","abort","error"],Fp=function(a,b,c){(c="string"===typeof c?c:c.src)&&(a.Qc[b]={src:c,yg:null})},Gp=function(a,b){delete a.Qc[b];var c=a.Pc[b];c&&(delete a.Pc[b],a.Nb.Yd(c,Ep,a.vh),Mb(a.Pc)&&Mb(a.Qc)&&a.dispatchEvent("complete"))};
Dp.prototype.start=function(){var a=this.Qc;Wa(Ib(a),function(b){var c=a[b];if(c&&(delete a[b],!this.Ma)){if(this.O){var d=this.O;d=(d?new oh(nh(d)):Ma||(Ma=new oh)).Aj("IMG")}else d=new Image;c.yg&&(d.crossOrigin=c.yg);this.Nb.Oa(d,Ep,this.vh);this.Pc[b]=d;d.id=b;d.src=c.src}},this)};
Dp.prototype.vh=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.Ma||Gp(this,b.id)}};Dp.prototype.G=function(){delete this.Qc;delete this.Pc;Ka(this.Nb);Dp.H.G.call(this)};var Hp=function(a,b){op.call(this,a,b)};q(Hp,op);Hp.prototype.zg=function(a,b,c,d){return new Ip(a,b,c,d)};w("ee.layers.ImageOverlay",Hp);var Ip=function(a,b,c,d){wp.call(this,a,b,c,d);this.Ld=Jp;this.fh=this.ea=this.Cd=null;this.Yc=""};q(Ip,wp);
Ip.prototype.Jc=function(){try{var a=lc(this.Ph);this.Yc=jc(a);var b="about:invalid#zClosurez"!==this.Yc?this.Yc:this.Ga}catch(c){b=this.Ga}this.ea=new Dp;Fp(this.ea,this.oa.id+"-image",b);this.fh=ad(this.ea,Kp,function(c){"load"==c.type?(this.Cd=c.target,wp.prototype.Jc.call(this)):this.cd()},void 0,this);this.ea.start()};Ip.prototype.Dc=function(){wp.prototype.Dc.call(this);this.ea&&(jd(this.fh),Ka(this.ea))};Ip.prototype.G=function(){wp.prototype.G.call(this);this.Yc&&URL.revokeObjectURL(this.Yc)};
var Jp=function(a){a.oa.appendChild(a.Cd)},Kp=["load","abort","error"];var Lp=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 Mp=function(a,b,c,d){Ja.call(this);this.pg=a;this.eb=b;this.Wf=d||"";this.Hd=c};q(Mp,Ap);Mp.prototype.mh=function(a){if(a.zoom<=this.Hd)a.Ga=this.yd(a.ec,a.zoom);else{var b=a.zoom-this.Hd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.ec.x/c),Math.floor(a.ec.y/c));a.Ga=this.yd(c,a.zoom-b);a.Ld=Ga(Np,this.Hd)}var d=v(a.cd,a);a.cd=v(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?xp(a,"loaded"):d(e)},a);yp(a)};
Mp.prototype.Xg=function(){return[this.pg,this.eb,this.Hd,this.Wf].join("-")};Mp.prototype.yd=function(a,b){a=Lp("https://storage.googleapis.com",this.pg,this.eb,String(b),String(a.x),String(a.y));this.Wf&&(a+=this.Wf);return a};
var Np=function(a,b){if(!b.Cd)throw Error("Tile must have an image element to be rendered.");a=Math.pow(2,b.zoom-a);var c=b.tileSize.width,d=b.oa.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.oa.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Cd,c/a*(b.ec.x%a),c/a*(b.ec.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",Mp);var Op=function(){this.Da=[];this.Ka=[]};k=Op.prototype;k.enqueue=function(a){this.Ka.push(a)};k.Gc=function(){0==this.Da.length&&(this.Da=this.Ka,this.Da.reverse(),this.Ka=[]);return this.Da.pop()};k.M=function(){return this.Da.length+this.Ka.length};k.isEmpty=function(){return 0==this.Da.length&&0==this.Ka.length};k.clear=function(){this.Da=[];this.Ka=[]};k.contains=function(a){return eb(this.Da,a)||eb(this.Ka,a)};
k.remove=function(a){var b=this.Da;var c=Va(b,a);0<=c?(gb(b,c),b=!0):b=!1;return b||hb(this.Ka,a)};k.T=function(){for(var a=[],b=this.Da.length-1;0<=b;--b)a.push(this.Da[b]);var c=this.Ka.length;for(b=0;b<c;++b)a.push(this.Ka[b]);return a};var Pp=function(a,b){Ja.call(this);this.sh=a||0;this.Gd=b||10;if(this.sh>this.Gd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Na=new Op;this.pb=new Dd;this.delay=0;this.mf=null;this.ld()};x(Pp,Ja);Pp.prototype.Mc=function(){var a=Ha();if(!(null!=this.mf&&a-this.mf<this.delay)){for(var b;0<this.Na.M()&&(b=this.Na.Gc(),!this.wf(b));)this.ld();!b&&this.M()<this.Gd&&(b=this.Ke());b&&(this.mf=a,this.pb.add(b));return b}};
var Qp=function(a,b){return a.pb.remove(b)?(a.we(b),!0):!1};k=Pp.prototype;k.we=function(a){this.pb.remove(a);this.wf(a)&&this.M()<this.Gd?this.Na.enqueue(a):this.sd(a)};k.ld=function(){for(var a=this.Na;this.M()<this.sh;)a.enqueue(this.Ke());for(;this.M()>this.Gd&&0<this.Na.M();)this.sd(a.Gc())};k.Ke=function(){return{}};k.sd=function(a){if("function"==typeof a.La)a.La();else for(var b in a)a[b]=null};k.wf=function(a){return"function"==typeof a.yj?a.yj():!0};
k.contains=function(a){return this.Na.contains(a)||this.pb.contains(a)};k.M=function(){return this.Na.M()+this.pb.M()};k.isEmpty=function(){return this.Na.isEmpty()&&this.pb.isEmpty()};k.G=function(){Pp.H.G.call(this);if(0<this.pb.M())throw Error("[goog.structs.Pool] Objects not released");delete this.pb;for(var a=this.Na;!a.isEmpty();)this.sd(a.Gc());delete this.Na};var Rp=function(a,b){this.kh=a;this.ae=b};Rp.prototype.getKey=function(){return this.kh};Rp.prototype.clone=function(){return new Rp(this.kh,this.ae)};var Sp=function(a){this.wa=[];if(a)a:{if(a instanceof Sp){var b=a.Ea();a=a.T();if(0>=this.M()){for(var c=this.wa,d=0;d<b.length;d++)c.push(new Rp(b[d],a[d]));break a}}else b=Ib(a),a=Gb(a);for(d=0;d<b.length;d++)Tp(this,b[d],a[d])}},Tp=function(a,b,c){var d=a.wa;d.push(new Rp(b,c));b=d.length-1;a=a.wa;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=Sp.prototype;
k.remove=function(){var a=this.wa,b=a.length,c=a[0];if(!(0>=b)){if(1==b)fb(a);else{a[0]=a.pop();a=0;b=this.wa;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.ae}};k.T=function(){for(var a=this.wa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].ae);return b};k.Ea=function(){for(var a=this.wa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
k.Ec=function(a){return Za(this.wa,function(b){return b.ae==a})};k.kb=function(a){return Za(this.wa,function(b){return b.getKey()==a})};k.clone=function(){return new Sp(this)};k.M=function(){return this.wa.length};k.isEmpty=function(){return 0==this.wa.length};k.clear=function(){fb(this.wa)};var Up=function(){Sp.call(this)};x(Up,Sp);Up.prototype.enqueue=function(a,b){Tp(this,a,b)};Up.prototype.Gc=function(){return this.remove()};var Vp=function(a,b){this.Hg=void 0;this.Nd=new Up;Pp.call(this,a,b)};x(Vp,Pp);k=Vp.prototype;k.Mc=function(a,b){if(!a)return(a=Vp.H.Mc.call(this))&&this.delay&&(this.Hg=r.setTimeout(v(this.Ad,this),this.delay)),a;this.Nd.enqueue(void 0!==b?b:100,a);this.Ad()};k.Ad=function(){for(var a=this.Nd;0<a.M();){var b=this.Mc();if(b)a.Gc().apply(this,[b]);else break}};k.we=function(a){Vp.H.we.call(this,a);this.Ad()};k.ld=function(){Vp.H.ld.call(this);this.Ad()};
k.G=function(){Vp.H.G.call(this);r.clearTimeout(this.Hg);this.Nd.clear();this.Nd=null};var Wp=function(a,b){Ja.call(this);this.nf=a;this.ra=b||null};q(Wp,Ap);Wp.prototype.mh=function(a,b){var c=bd(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.bk["x-earth-engine-computation-profile"];this.ra&&e&&this.ra.uj(a.oa.id,e);break;case "failed":case "aborted":this.ra&&""!==a.oa.id&&this.ra.Wj(a.oa.id),jd(c)}},void 0,this);a.Ga=this.yd(a.ec,a.zoom);var d=v(this.cf,this,a);Xp().Mc(d,b)};Wp.prototype.Xg=function(){return this.nf.mapid+"-"+this.nf.token};
Wp.prototype.cf=function(a,b){var c=Xp();if(a.Ma||"aborted"==a.getStatus())Qp(c,b);else{var d=bd(a,"status-changed",function(){a.Rd in zp&&(jd(d),Qp(c,b))});yp(a)}};Wp.prototype.yd=function(a,b){a=ul(this.nf,a.x,a.y,b);return this.ra&&this.ra.isEnabled()?a+"&profiling=1":a};var Xp=function(){Yp||(Yp=new Vp(0,4));return Yp};w("ee.layers.EarthEngineTileSource",Wp);var Yp=null;var $p=function(){nd.call(this);this.Vd=new Zp(0,60);this.pc=new ud};x($p,nd);w("ee.MapTileManager",$p);$p.jf=void 0;$p.Wg=function(){return $p.jf?$p.jf:$p.jf=new $p};$p.prototype.send=function(a,b,c,d,e){if(this.pc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new aq(a,b,d,v(this.Fh,this),void 0!==e?e:1);this.pc.set(a,b);a=v(this.cf,this,b);this.Vd.Mc(a,c);return b};$p.prototype.abort=function(a){if(a=this.pc.get(a))a.cc||(a.cc=!0,a.Ca=new y("abort")),this.Fh(a)};
$p.prototype.cf=function(a,b){if(a.ea||a.cc)bq(this,b);else if(a.Yh=b,b.setActive(!0),b=new Dp,a.ea=b,!a.retry())throw Error("Cannot dispatch first request!");};$p.prototype.Fh=function(a){this.pc.remove(a.getId());a.ea&&(bq(this,a.Yh),a.ea.La());a.df&&a.df(a.Ca,a.Dh)};var bq=function(a,b){b.setActive(!1);if(!Qp(a.Vd,b))throw Error("Object not released");};$p.prototype.G=function(){$p.H.G.call(this);this.Vd.La();this.Vd=null;var a=this.pc;Wa(a.T(),function(b){b.La()});a.clear();this.pc=null};
var aq=function(a,b,c,d,e){Ja.call(this);this.da=a;this.gk=b;this.Rj=void 0!==e?e:1;this.df=c;this.Vb=d};x(aq,Ja);k=aq.prototype;k.ig=0;k.cc=!1;k.ea=null;k.Yh=null;k.Ca=null;k.Dh=null;var cq=["load","abort","error"];k=aq.prototype;k.getId=function(){return this.da};k.getUrl=function(){return this.gk};k.Hj=function(a){if(this.cc)this.Vb&&this.Vb(this);else switch(a.type){case "load":this.Ca=a;this.Vb&&this.Vb(this);break;case "error":case "abort":this.retry()||(this.Ca=a,this.Vb&&this.Vb(this))}};
k.G=function(){aq.H.G.call(this);delete this.df;delete this.Vb};k.retry=function(){if(this.ig>this.Rj)return!1;this.ig++;Gp(this.ea,this.da);setTimeout(v(this.ck,this),0);return!0};
k.ck=function(){if(!this.cc){var a=v(function(d){this.cc||(Fp(this.ea,this.da,d),ad(this.ea,cq,v(this.Hj,this)),this.ea.start())},this),b=this.getUrl();if(me(b).ya.kb("profiling")){var c=new Li;c.qc="blob";c.Oa("complete",v(function(){this.Dh=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=jc(lc(Zi(c)));var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.Wc("ready",v(c.La,c));c.send(b,"GET")}else a(b)}};
var dq=function(){Ja.call(this);this.Aa=!1};x(dq,Ja);dq.prototype.setActive=function(a){this.Aa=a};dq.prototype.ih=function(){return this.Aa};var Zp=function(a,b){Vp.call(this,a,b)};x(Zp,Vp);Zp.prototype.Ke=function(){return new dq};Zp.prototype.sd=function(a){a.La()};Zp.prototype.wf=function(a){return!a.Ma&&!a.ih()};var eq=function(a,b,c,d,e){Gd.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.$f=new Dd;this.xf=1;this.ra=e||null};q(eq,Gd);k=eq.prototype;k.xe=function(a){return bd(this,"tileevent",a)};k.If=function(a){jd(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=Hd(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ra&&this.ra.isEnabled()&&(a+="&profiling=1");b=[b,this.rb,this.token].join("/");this.rb+=1;c=ih("DIV",{id:b});var d=(new Date).getTime()/1E3;this.tb.push(b);$p.Wg().send(b,a,d,v(this.Gj,this,c,b));bp(this);return c};k.Lc=function(){return this.tb.length};
k.releaseTile=function(a){$p.Wg().abort(a.id);this.$f.remove(void 0!==a.firstElementChild?a.firstElementChild:mh(a.firstChild));""!==a.id&&(this.Zf.remove(a.id),this.ra&&this.ra.Wj(a.id))};k.setOpacity=function(a){this.xf=a;var b=this.$f.bc();td(b,function(c){np(c,a)})};
k.Gj=function(a,b,c,d){"error"==c.type?(hb(this.tb,b),this.Zf.add(b),this.dispatchEvent(c)):(hb(this.tb,b),c.target&&"load"==c.type&&(c=c.target,this.$f.add(c),1!=this.xf&&np(c,this.xf),a.appendChild(c)),bp(this));this.ra&&null!==d&&this.ra.uj(b,d)};w("ee.MapLayerOverlay",eq);eq.prototype.removeTileCallback=eq.prototype.If;eq.prototype.addTileCallback=eq.prototype.xe;eq.prototype.getTile=eq.prototype.getTile;eq.prototype.setOpacity=eq.prototype.setOpacity;eq.prototype.releaseTile=eq.prototype.releaseTile;var fq=function(a,b){if(!(this instanceof fq))return new fq(a,b);this.eb=a;this.Ra=b};x(fq,zm);w("ee.SavedFunction",fq);fq.prototype.encode=function(a){return P("LoadAlgorithmById",this.eb).encode(a)};fq.prototype.Z=function(){return this.Ra};(function(){var a={},b="ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toDrive ee.batch.Export.video.toDrive ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.map.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.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.data.listOperations ee.data.cancelOperation ee.data.makeTableDownloadUrl ee.data.authenticateViaPrivateKey ee.data.getInfo ee.data.getOperation ee.data.newTaskId ee.data.getList ee.data.cancelTask ee.data.startIngestion ee.data.getTaskStatus ee.data.listAssets ee.data.getMapId ee.data.updateTask ee.data.listImages ee.data.getTaskList ee.data.startProcessing ee.data.getTaskListWithLimit ee.data.listBuckets ee.data.getTileUrl ee.data.getAssetRoots ee.data.authenticate ee.data.startTableIngestion ee.data.getAsset ee.data.authenticateViaPopup ee.data.createAssetHome ee.data.computeValue ee.data.createAsset ee.data.getThumbId ee.data.getVideoThumbId ee.data.createFolder ee.data.updateAsset ee.data.getFilmstripThumbId ee.data.renameAsset ee.data.setAssetAcl ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetProperties ee.data.copyAsset ee.data.getDownloadId ee.data.getAssetAcl ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.getTableDownloadId ee.data.makeDownloadUrl ee.Date ee.Deserializer.fromJSON ee.Deserializer.decode ee.Dictionary ee.Algorithms ee.apply ee.InitState ee.call ee.TILE_SIZE ee.initialize ee.reset ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.Filter.or ee.Filter.gt ee.Filter.eq ee.Filter.prototype.not ee.Filter.and ee.Filter.bounds ee.Filter.neq ee.Filter ee.Filter.gte ee.Filter.metadata ee.Filter.lt ee.Filter.date ee.Filter.lte ee.Filter.inList ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Geometry.Polygon ee.Geometry.LineString ee.Geometry.prototype.serialize ee.Geometry.LinearRing ee.Geometry ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.MultiPolygon ee.Image.prototype.select ee.Image.prototype.getInfo ee.Image.prototype.rename ee.Image.prototype.clip ee.Image.cat ee.Image.prototype.getThumbURL ee.Image.prototype.getDownloadURL ee.Image.prototype.expression ee.Image ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.rgb ee.ImageCollection ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getFilmstripThumbURL ee.List ee.Number ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.String ee.Terrain".split(" "),
c=[["name","namedArgs"],["name"],["name","var_args"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels".split(" "),"collection opt_description opt_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(" "),
"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_assetId"],"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(" "),
["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"],["opt_limit","opt_callback"],["operationName","opt_callback"],["id"],["privateKey","opt_success","opt_error","opt_extraScopes"],["id","opt_callback"],["operationName","opt_callback"],["opt_count","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],
["taskId","request","opt_callback"],["taskId","opt_callback"],["parent","params","opt_callback"],["params","opt_callback"],["taskId","action","opt_callback"],["parent","params","opt_callback"],["opt_callback"],["taskId","params","opt_callback"],["opt_limit","opt_callback"],["project","opt_callback"],["id","x","y","z"],["opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["taskId","request","opt_callback"],["id","opt_callback"],["opt_success","opt_error"],["requestedId",
"opt_callback"],["obj","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["params","opt_callback"],["params","opt_callback"],["path","opt_force","opt_callback"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["sourceId","destinationId","opt_callback"],["assetId","aclUpdate","opt_callback"],["id"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["assetId","properties","opt_callback"],["sourceId","destinationId",
"opt_overwrite","opt_callback"],["params","opt_callback"],["assetId","opt_callback"],["assetId","opt_callback"],["rootId","opt_callback"],["params","opt_callback"],["id"],["date","opt_tz"],["json"],["json"],["opt_dict"],[],["func","namedArgs"],[],["func","var_args"],[],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],[],["var_args"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],
["opt_format","opt_selectors","opt_filename","opt_callback"],["args","opt_column"],["opt_visParams","opt_callback"],["opt_callback"],["var_args"],["name","value"],["name","value"],[],["var_args"],["geometry","opt_errorMargin"],["name","value"],["opt_filter"],["name","value"],["name","operator","value"],["name","value"],["start","opt_end"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["var_args"],["namedArgs"],["coords","opt_proj"],[],[],["coords","opt_proj"],
["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["var_args"],["opt_callback"],["var_args"],["geometry"],["var_args"],["params","opt_callback"],["params","opt_callback"],
["expression","opt_map"],["opt_args"],["opt_visParams","opt_callback"],["params","opt_callback"],["r","g","b"],["args"],["opt_callback"],["params","opt_callback"],["selectors","opt_names"],["opt_visParams","opt_callback"],[],["params","opt_callback"],["list"],["number"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj"],["string"],[]];[Fm,Em,P,go,ao,ho,ko,lo,eo,jo,io,co,fo,V.prototype.Ve,V.prototype.sort,V.prototype.map,V.prototype.filter,V.prototype.jh,V.prototype.limit,V.prototype.Ng,
V.prototype.We,N.prototype.evaluate,N.prototype.X,N.prototype.V,N.prototype.fg,Kl,Ll,El,ol,am,Ml,Fl,bm,Ol,Yl,Hl,cm,tl,Nl,dm,Jl,Ul,Il,em,ul,fm,nl,$l,am,ll,gm,vl,hm,wl,xl,im,nm,yl,jm,om,zl,ml,pm,km,Bl,mm,lm,qm,Dl,Cl,Co,Go,Fo,Io,To,Xo,Vo,Wo,256,Ro,Uo,R.prototype.set,W,W.prototype.getMap,W.prototype.X,X.prototype.select,X.prototype.nb,X,X.prototype.getMap,X.prototype.X,xn,un,qn,U.prototype.kc,wn,An,rn,U,tn,Bn,sn,yn,vn,zn,zm.prototype.call,zm.prototype.apply,Ym,S.prototype.fd,S.prototype.ag,an,fn,cn,S.prototype.V,
dn,S,en,bn,gn,M.prototype.select,M.prototype.X,M.prototype.Gh,M.prototype.clip,Pn,M.prototype.af,M.prototype.nb,M.prototype.i,M,M.prototype.getMap,M.prototype.xd,On,Y,Y.prototype.X,Y.prototype.bf,Y.prototype.select,Y.prototype.getMap,Y.prototype.first,Y.prototype.$e,Qn,so,Ek,Ok,Fk,Mk,Hk,Nk,Kk,vo,Lo].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);