mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
661 lines
304 KiB
JavaScript
661 lines
304 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},da=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
|
|
},l=da(this),ea=function(a,b){if(b)a:{var c=l;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
|
|
ea("Symbol",function(a){if(a)return a;var b=function(e,f){this.xi=e;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.xi};var c=0,d=function(e){if(this instanceof d)throw new TypeError("Symbol is not a constructor");return new b("jscomp_symbol_"+(e||"")+"_"+c++,e)};return d});
|
|
ea("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=l[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return fa(aa(this))}})}return a});
|
|
var fa=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},m=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(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={a:!0},la={};try{la.__proto__=ka;ja=la.a;break a}catch(a){}ja=!1}ia=ja?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
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.K=b.prototype};ea("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
|
|
var 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+""};ea("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}});
|
|
ea("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}});ea("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};ea("Object.assign",function(a){return a||pa});
|
|
ea("Promise",function(a){function b(){this.tb=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.qg=function(g){if(null==this.tb){this.tb=[];var h=this;this.rg(function(){h.Uj()})}this.tb.push(g)};var d=l.setTimeout;b.prototype.rg=function(g){d(g,0)};b.prototype.Uj=function(){for(;this.tb&&this.tb.length;){var g=this.tb;this.tb=[];for(var h=0;h<g.length;++h){var n=g[h];g[h]=null;try{n()}catch(p){this.Mj(p)}}}this.tb=null};b.prototype.Mj=function(g){this.rg(function(){throw g;
|
|
})};var e=function(g){this.V=0;this.ia=void 0;this.Ac=[];this.wh=!1;var h=this.Ye();try{g(h.resolve,h.reject)}catch(n){h.reject(n)}};e.prototype.Ye=function(){function g(p){return function(t){n||(n=!0,p.call(h,t))}}var h=this,n=!1;return{resolve:g(this.qk),reject:g(this.Rf)}};e.prototype.qk=function(g){if(g===this)this.Rf(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.sk(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.pk(g):this.hh(g)}};e.prototype.pk=function(g){var h=void 0;try{h=g.then}catch(n){this.Rf(n);return}"function"==typeof h?this.tk(h,g):this.hh(g)};e.prototype.Rf=function(g){this.di(2,g)};e.prototype.hh=function(g){this.di(1,g)};e.prototype.di=function(g,h){if(0!=this.V)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.V);this.V=g;this.ia=h;2===this.V&&this.rk();this.Wj()};e.prototype.rk=function(){var g=this;d(function(){if(g.jk()){var h=l.console;"undefined"!==
|
|
typeof h&&h.error(g.ia)}},1)};e.prototype.jk=function(){if(this.wh)return!1;var g=l.CustomEvent,h=l.Event,n=l.dispatchEvent;if("undefined"===typeof n)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):"function"===typeof h?g=new h("unhandledrejection",{cancelable:!0}):(g=l.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.ia;return n(g)};e.prototype.Wj=function(){if(null!=this.Ac){for(var g=0;g<this.Ac.length;++g)f.qg(this.Ac[g]);
|
|
this.Ac=null}};var f=new b;e.prototype.sk=function(g){var h=this.Ye();g.Bd(h.resolve,h.reject)};e.prototype.tk=function(g,h){var n=this.Ye();try{g.call(h,n.resolve,n.reject)}catch(p){n.reject(p)}};e.prototype.then=function(g,h){function n(D,ca){return"function"==typeof D?function(Y){try{p(D(Y))}catch(V){t(V)}}:ca}var p,t,C=new e(function(D,ca){p=D;t=ca});this.Bd(n(g,p),n(h,t));return C};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.Bd=function(g,h){function n(){switch(p.V){case 1:g(p.ia);
|
|
break;case 2:h(p.ia);break;default:throw Error("Unexpected state: "+p.V);}}var p=this;null==this.Ac?f.qg(n):this.Ac.push(n);this.wh=!0};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).Bd(h,n)})};e.all=function(g){var h=m(g),n=h.next();return n.done?c([]):new e(function(p,t){function C(Y){return function(V){D[Y]=V;ca--;0==ca&&p(D)}}var D=[],ca=0;do D.push(void 0),ca++,c(n.value).Bd(C(D.length-
|
|
1),t),n=h.next();while(!n.done)})};return e});var qa=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};ea("Array.prototype.keys",function(a){return a?a:function(){return qa(this,function(b){return b})}});ea("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}});
|
|
ea("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});ea("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});ea("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==na(this,b,"includes").indexOf(b,c||0)}});
|
|
ea("Array.prototype.values",function(a){return a?a:function(){return qa(this,function(b,c){return c})}});ea("Array.prototype.entries",function(a){return a?a:function(){return qa(this,function(b,c){return[b,c]})}});
|
|
ea("WeakMap",function(a){function b(){}function c(n){var p=typeof n;return"object"===p&&null!==n||"function"===p}function d(n){if(!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.T=(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.T]=p;return this};h.prototype.get=function(n){return c(n)&&oa(n,f)?n[f][this.T]:void 0};h.prototype.has=function(n){return c(n)&&oa(n,f)&&oa(n[f],
|
|
this.T)};h.prototype.delete=function(n){return c(n)&&oa(n,f)&&oa(n[f],this.T)?delete n[f][this.T]:!1};return h});
|
|
ea("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),n=new a(m([[h,"s"]]));if("s"!=n.get(h)||1!=n.size||n.get({x:4})||n.set({x:4},"t")!=n||2!=n.size)return!1;var p=n.entries(),t=p.next();if(t.done||t.value[0]!=h||"s"!=t.value[1])return!1;t=p.next();return t.done||4!=t.value[0].x||"t"!=t.value[1]||!p.next().done?!1:!0}catch(C){return!1}}())return a;var b=new WeakMap,c=function(h){this.Rc={};this.oa=
|
|
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.Rc[p.id]=[]);p.fa?p.fa.value=n:(p.fa={next:this.oa,rb:this.oa.rb,head:this.oa,key:h,value:n},p.list.push(p.fa),this.oa.rb.next=p.fa,this.oa.rb=p.fa,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.fa&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.Rc[h.id],h.fa.rb.next=h.fa.next,h.fa.next.rb=
|
|
h.fa.rb,h.fa.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.Rc={};this.oa=this.oa.rb=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).fa};c.prototype.get=function(h){return(h=d(this,h).fa)&&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.Rc[p];if(t&&oa(h.Rc,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,fa:C}}return{id:p,list:t,index:-1,fa:void 0}},e=function(h,n){var p=h.oa;return fa(function(){if(p){for(;p.head!=h.oa;)p=p.rb;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.rb=h.next=h.head=h},g=0;return c});
|
|
ea("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(m([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;var b=function(c){this.F=new Map;if(c){c=
|
|
m(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.F.size};b.prototype.add=function(c){c=0===c?0:c;this.F.set(c,c);this.size=this.F.size;return this};b.prototype.delete=function(c){c=this.F.delete(c);this.size=this.F.size;return c};b.prototype.clear=function(){this.F.clear();this.size=0};b.prototype.has=function(c){return this.F.has(c)};b.prototype.entries=function(){return this.F.entries()};b.prototype.values=function(){return this.F.values()};b.prototype.keys=b.prototype.values;
|
|
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.F.forEach(function(f){return c.call(d,f,f,e)})};return b});ea("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)oa(b,d)&&c.push(b[d]);return c}});ea("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},u=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==
|
|
b},Ba=function(a){return Object.prototype.hasOwnProperty.call(a,za)&&a[za]||(a[za]=++Aa)},za="closure_uid_"+(1E9*Math.random()>>>0),Aa=0,Ca=function(a,b,c){return a.call.apply(a.bind,arguments)},Da=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")?Ca:Da;return v.apply(null,arguments)},Ea=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)}},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.K=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Fk=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)}},Fa=function(a){return a};var y=function(){this.Va=this.Va;this.Xd=this.Xd};y.prototype.Va=!1;y.prototype.Ua=function(){this.Va||(this.Va=!0,this.B())};y.prototype.B=function(){if(this.Xd)for(;this.Xd.length;)this.Xd.shift()()};var Ga=function(a){a&&"function"==typeof a.Ua&&a.Ua()};var z=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.dc=!1};z.prototype.stopPropagation=function(){this.dc=!0};z.prototype.preventDefault=function(){this.defaultPrevented=!0};function Ha(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ha);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}x(Ha,Error);Ha.prototype.name="CustomError";var Ia;var Ja=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");Ha.call(this,c+a[d])};x(Ja,Ha);Ja.prototype.name="AssertionError";
|
|
var Ka=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Ja(""+e,f||[]);},A=function(a,b,c){a||Ka("",null,b,Array.prototype.slice.call(arguments,2))},La=function(a,b){throw new Ja("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Ma=function(a,b,c){"number"!==typeof a&&Ka("Expected number but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Na=function(a,b,c){"string"!==typeof a&&Ka("Expected string but got %s: %s.",
|
|
[wa(a),a],b,Array.prototype.slice.call(arguments,2))},Oa=function(a,b,c){"function"!==typeof a&&Ka("Expected function but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2))},Pa=function(a,b,c){u(a)||Ka("Expected object but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Qa=Array.prototype.indexOf?function(a,b){A(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ra=Array.prototype.lastIndexOf?function(a,b){A(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||
|
|
1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Sa=Array.prototype.forEach?function(a,b,c){A(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Ta=Array.prototype.filter?function(a,b){A(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f="string"===typeof a?a.split(""):a,g=0;g<c;g++)if(g in f){var h=
|
|
f[g];b.call(void 0,h,g,a)&&(d[e++]=h)}return d},Ua=Array.prototype.map?function(a,b,c){A(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},Va=Array.prototype.some?function(a,b){A(null!=a.length);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;
|
|
return!1},Wa=Array.prototype.every?function(a,b,c){A(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0};function Xa(a,b){var c=0;Sa(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c}
|
|
function Ya(a){a:{var b=Za;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]}function $a(a,b){return 0<=Qa(a,b)}function ab(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function bb(a,b){b=Qa(a,b);var c;(c=0<=b)&&cb(a,b);return c}function cb(a,b){A(null!=a.length);Array.prototype.splice.call(a,b,1)}
|
|
function db(a){return Array.prototype.concat.apply([],arguments)}function eb(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[]}function fb(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)}}function gb(a,b,c){A(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
|
|
function hb(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=u(f)?"o"+Ba(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c}function ib(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function jb(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=gb(d,e,e+8192);f=jb.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var kb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},lb=/&/g,mb=/</g,nb=/>/g,ob=/"/g,pb=/'/g,qb=/\x00/g,rb=/[\x00&<>"']/,sb=function(a,b){return a<b?-1:a>b?1:0};var tb;a:{var ub=r.navigator;if(ub){var vb=ub.userAgent;if(vb){tb=vb;break a}}tb=""}var wb=function(a){return-1!=tb.indexOf(a)};var xb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},yb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},zb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Ab=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Cb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Db=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Eb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Gb=function(a){var b=
|
|
Fb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Hb=function(a){for(var b in a)return!1;return!0},Ib=function(a,b){b in a&&delete a[b]},Jb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Kb=function(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=Kb(a[c]);return b},
|
|
Lb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Mb=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<Lb.length;f++)c=Lb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Nb=function(a){return a};var Ob;var Rb=function(a,b){this.eg=a===Pb&&b||"";this.yj=Qb};Rb.prototype.uf=!0;Rb.prototype.pf=function(){return this.eg};Rb.prototype.toString=function(){return"Const{"+this.eg+"}"};var Sb=function(a){if(a instanceof Rb&&a.constructor===Rb&&a.yj===Qb)return a.eg;La("expected object of type Const, got '"+a+"'");return"type_error:Const"},Qb={},Pb={};var Ub=function(a,b){this.Nf=b===Tb?a:""};Ub.prototype.uf=!0;Ub.prototype.pf=function(){return this.Nf.toString()};Ub.prototype.toString=function(){return"TrustedResourceUrl{"+this.Nf+"}"};
|
|
var Vb=function(a){if(a instanceof Ub&&a.constructor===Ub)return a.Nf;La("expected object of type TrustedResourceUrl, got '"+a+"' of type "+wa(a));return"type_error:TrustedResourceUrl"},$b=function(a){var b=Sb(Wb);if(!Xb.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(Yb,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
|
|
Rb?Sb(d):encodeURIComponent(String(d))});return Zb(c)},Yb=/%{(\w+)}/g,Xb=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Tb={},Zb=function(a){if(void 0===Ob){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Fa,createScript:Fa,createScriptURL:Fa})}catch(d){r.console&&r.console.error(d.message)}Ob=b}a=(b=Ob)?b.createScriptURL(a):a;return new Ub(a,Tb)};var bc=function(a,b){this.Mf=b===ac?a:""};bc.prototype.uf=!0;bc.prototype.pf=function(){return this.Mf.toString()};bc.prototype.toString=function(){return"SafeUrl{"+this.Mf+"}"};
|
|
var cc=function(a){if(a instanceof bc&&a.constructor===bc)return a.Mf;La("expected object of type SafeUrl, got '"+a+"' of type "+wa(a));return"type_error:SafeUrl"},dc=/^(?: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)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,ec=function(a){if(dc.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 bc(a,ac)},ac={};var fc=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;La("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
|
|
"HTMLScriptElement",f)}a.src=Vb(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 gc=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")},hc=function(a){rb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(lb,"&")),-1!=a.indexOf("<")&&(a=a.replace(mb,"<")),-1!=a.indexOf(">")&&(a=a.replace(nb,">")),-1!=a.indexOf('"')&&(a=a.replace(ob,""")),-1!=a.indexOf("'")&&(a=a.replace(pb,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(qb,"�")));return a},ic=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 jc=function(a){jc[" "](a);return a};jc[" "]=va;var lc=function(a,b){var c=kc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var mc=wb("Opera"),nc=wb("Trident")||wb("MSIE"),oc=wb("Edge"),pc=wb("Gecko")&&!(-1!=tb.toLowerCase().indexOf("webkit")&&!wb("Edge"))&&!(wb("Trident")||wb("MSIE"))&&!wb("Edge"),qc=-1!=tb.toLowerCase().indexOf("webkit")&&!wb("Edge"),rc=function(){var a=r.document;return a?a.documentMode:void 0},sc;
|
|
a:{var tc="",uc=function(){var a=tb;if(pc)return/rv:([^\);]+)(\)|;)/.exec(a);if(oc)return/Edge\/([\d\.]+)/.exec(a);if(nc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(qc)return/WebKit\/(\S+)/.exec(a);if(mc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();uc&&(tc=uc?uc[1]:"");if(nc){var vc=rc();if(null!=vc&&vc>parseFloat(tc)){sc=String(vc);break a}}sc=tc}
|
|
var wc=sc,kc={},xc=function(a){return lc(a,function(){for(var b=0,c=kb(String(wc)).split("."),d=kb(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=sb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||sb(0==g[2].length,0==h[2].length)||sb(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})},yc;
|
|
if(r.document&&nc){var zc=rc();yc=zc?zc:parseInt(wc,10)||void 0}else yc=void 0;var Ac=yc;var Bc=Object.freeze||function(a){return a};var Cc=!nc||9<=Number(Ac),Dc=nc&&!xc("9"),Ec=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 Gc=function(a,b){z.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.Ka=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(pc){a:{try{jc(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=qc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=qc||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:Fc[a.pointerType]||"";this.state=a.state;this.Ka=a;a.defaultPrevented&&this.preventDefault()}};
|
|
x(Gc,z);var Fc=Bc({2:"touch",3:"pen",4:"mouse"});Gc.prototype.stopPropagation=function(){Gc.K.stopPropagation.call(this);this.Ka.stopPropagation?this.Ka.stopPropagation():this.Ka.cancelBubble=!0};Gc.prototype.preventDefault=function(){Gc.K.preventDefault.call(this);var a=this.Ka;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Dc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Hc="closure_listenable_"+(1E6*Math.random()|0),Ic=function(a){return!(!a||!a[Hc])},Jc=0;var Kc=function(a,b,c,d,e){this.listener=a;this.Yd=null;this.src=b;this.type=c;this.capture=!!d;this.pb=e;this.key=++Jc;this.Cc=this.Ad=!1},Lc=function(a){a.Cc=!0;a.listener=null;a.Yd=null;a.src=null;a.pb=null};var Mc=function(a){this.src=a;this.ca={};this.rd=0};Mc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.ca[f];a||(a=this.ca[f]=[],this.rd++);var g=Nc(a,b,d,e);-1<g?(b=a[g],c||(b.Ad=!1)):(b=new Kc(b,this.src,f,!!d,e),b.Ad=c,a.push(b));return b};Mc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ca))return!1;var e=this.ca[a];b=Nc(e,b,c,d);return-1<b?(Lc(e[b]),cb(e,b),0==e.length&&(delete this.ca[a],this.rd--),!0):!1};
|
|
var Oc=function(a,b){var c=b.type;c in a.ca&&bb(a.ca[c],b)&&(Lc(b),0==a.ca[c].length&&(delete a.ca[c],a.rd--))};Mc.prototype.md=function(a){a=a&&a.toString();var b=0,c;for(c in this.ca)if(!a||c==a){for(var d=this.ca[c],e=0;e<d.length;e++)++b,Lc(d[e]);delete this.ca[c];this.rd--}};Mc.prototype.Wc=function(a,b,c,d){a=this.ca[a.toString()];var e=-1;a&&(e=Nc(a,b,c,d));return-1<e?a[e]:null};
|
|
Mc.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Ab(this.ca,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 Nc=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Cc&&f.listener==b&&f.capture==!!c&&f.pb==d)return e}return-1};var Pc="closure_lm_"+(1E6*Math.random()|0),Qc={},Rc=0,Tc=function(a,b,c,d,e){if(d&&d.once)return Sc(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Tc(a,b[f],c,d,e);return null}c=Uc(c);return Ic(a)?a.$a(b,c,u(d)?!!d.capture:!!d,e):Vc(a,b,c,!1,d,e)},Vc=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=u(e)?!!e.capture:!!e,h=Wc(a);h||(a[Pc]=h=new Mc(a));c=h.add(b,c,d,g,f);if(c.Yd)return c;d=Xc();c.Yd=d;d.src=a;d.listener=c;if(a.addEventListener)Ec||(e=g),void 0===e&&(e=
|
|
!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Yc(b.toString()),d);else if(a.addListener&&a.removeListener)A("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Rc++;return c},Xc=function(){var a=Zc,b=Cc?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},Sc=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Sc(a,
|
|
b[f],c,d,e);return null}c=Uc(c);return Ic(a)?a.ed(b,c,u(d)?!!d.capture:!!d,e):Vc(a,b,c,!0,d,e)},$c=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)$c(a,b[f],c,d,e);else d=u(d)?!!d.capture:!!d,c=Uc(c),Ic(a)?a.ne(b,c,d,e):a&&(a=Wc(a))&&(b=a.Wc(b,c,d,e))&&ad(b)},ad=function(a){if("number"!==typeof a&&a&&!a.Cc){var b=a.src;if(Ic(b))Oc(b.Ja,a);else{var c=a.type,d=a.Yd;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Yc(c),d):b.addListener&&b.removeListener&&
|
|
b.removeListener(d);Rc--;(c=Wc(b))?(Oc(c,a),0==c.rd&&(c.src=null,b[Pc]=null)):Lc(a)}}},Yc=function(a){return a in Qc?Qc[a]:Qc[a]="on"+a},cd=function(a,b,c,d){var e=!0;if(a=Wc(a))if(b=a.ca[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.Cc&&(f=bd(f,d),e=e&&!1!==f)}return e},bd=function(a,b){var c=a.listener,d=a.pb||a.src;a.Ad&&ad(a);return c.call(d,b)},Zc=function(a,b){if(a.Cc)return!0;if(!Cc){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 Gc(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.dc&&0<=e;e--){b.currentTarget=d[e];var f=cd(d[e],a,!0,b);c=c&&f}for(e=0;!b.dc&&e<d.length;e++)b.currentTarget=d[e],f=cd(d[e],a,!1,b),c=c&&f}return c}return bd(a,new Gc(b,this))},Wc=function(a){a=a[Pc];return a instanceof
|
|
Mc?a:null},dd="__closure_events_fn_"+(1E9*Math.random()>>>0),Uc=function(a){A(a,"Listener can not be null.");if("function"===typeof a)return a;A(a.handleEvent,"An object listener must have handleEvent method.");a[dd]||(a[dd]=function(b){return a.handleEvent(b)});return a[dd]};var B=function(){y.call(this);this.Ja=new Mc(this);this.Kj=this;this.Kf=null};x(B,y);B.prototype[Hc]=!0;k=B.prototype;k.addEventListener=function(a,b,c,d){Tc(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){$c(this,a,b,c,d)};
|
|
k.dispatchEvent=function(a){ed(this);var b=this.Kf;if(b){var c=[];for(var d=1;b;b=b.Kf)c.push(b),A(1E3>++d,"infinite loop")}b=this.Kj;d=a.type||a;if("string"===typeof a)a=new z(a,b);else if(a instanceof z)a.target=a.target||b;else{var e=a;a=new z(d,b);Mb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.dc&&0<=f;f--){var g=a.currentTarget=c[f];e=fd(g,d,!0,a)&&e}a.dc||(g=a.currentTarget=b,e=fd(g,d,!0,a)&&e,a.dc||(e=fd(g,d,!1,a)&&e));if(c)for(f=0;!a.dc&&f<c.length;f++)g=a.currentTarget=c[f],e=fd(g,d,!1,a)&&e;
|
|
return e};k.B=function(){B.K.B.call(this);this.Ja&&this.Ja.md(void 0);this.Kf=null};k.$a=function(a,b,c,d){ed(this);return this.Ja.add(String(a),b,!1,c,d)};k.ed=function(a,b,c,d){return this.Ja.add(String(a),b,!0,c,d)};k.ne=function(a,b,c,d){this.Ja.remove(String(a),b,c,d)};
|
|
var fd=function(a,b,c,d){b=a.Ja.ca[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.Cc&&g.capture==c){var h=g.listener,n=g.pb||g.src;g.Ad&&Oc(a.Ja,g);e=!1!==h.call(n,d)&&e}}return e&&!d.defaultPrevented};B.prototype.Wc=function(a,b,c,d){return this.Ja.Wc(String(a),b,c,d)};B.prototype.hasListener=function(a,b){return this.Ja.hasListener(void 0!==a?String(a):void 0,b)};var ed=function(a){A(a.Ja,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var gd="StopIteration"in r?r.StopIteration:{message:"StopIteration",stack:""},hd=function(){};hd.prototype.next=function(){throw gd;};hd.prototype.mc=function(){return this};
|
|
var id=function(a){if(a instanceof hd)return a;if("function"==typeof a.mc)return a.mc(!1);if(xa(a)){var b=0,c=new hd;c.next=function(){for(;;){if(b>=a.length)throw gd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},jd=function(a,b){if(xa(a))try{Sa(a,b,void 0)}catch(c){if(c!==gd)throw c;}else{a=id(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==gd)throw c;}}};var kd=function(a,b){this.F={};this.J=[];this.td=this.L=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=kd.prototype;k.O=function(){return this.L};k.U=function(){ld(this);for(var a=[],b=0;b<this.J.length;b++)a.push(this.F[this.J[b]]);return a};k.Ma=function(){ld(this);return this.J.concat()};k.yb=function(a){return md(this.F,a)};
|
|
k.Qc=function(a){for(var b=0;b<this.J.length;b++){var c=this.J[b];if(md(this.F,c)&&this.F[c]==a)return!0}return!1};k.equals=function(a,b){if(this===a)return!0;if(this.L!=a.O())return!1;b=b||nd;ld(this);for(var c,d=0;c=this.J[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var nd=function(a,b){return a===b};kd.prototype.isEmpty=function(){return 0==this.L};kd.prototype.clear=function(){this.F={};this.td=this.L=this.J.length=0};
|
|
kd.prototype.remove=function(a){return md(this.F,a)?(delete this.F[a],this.L--,this.td++,this.J.length>2*this.L&&ld(this),!0):!1};var ld=function(a){if(a.L!=a.J.length){for(var b=0,c=0;b<a.J.length;){var d=a.J[b];md(a.F,d)&&(a.J[c++]=d);b++}a.J.length=c}if(a.L!=a.J.length){var e={};for(c=b=0;b<a.J.length;)d=a.J[b],md(e,d)||(a.J[c++]=d,e[d]=1),b++;a.J.length=c}};k=kd.prototype;k.get=function(a,b){return md(this.F,a)?this.F[a]:b};
|
|
k.set=function(a,b){md(this.F,a)||(this.L++,this.J.push(a),this.td++);this.F[a]=b};k.addAll=function(a){if(a instanceof kd)for(var b=a.Ma(),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.Ma(),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 kd(this)};
|
|
k.mc=function(a){ld(this);var b=0,c=this.td,d=this,e=new hd;e.next=function(){if(c!=d.td)throw Error("The map has changed since the iterator was created");if(b>=d.J.length)throw gd;var f=d.J[b++];return a?f:d.F[f]};return e};var md=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var od=function(a){if(a.O&&"function"==typeof a.O)a=a.O();else if(xa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},pd=function(a){if(a.U&&"function"==typeof a.U)return a.U();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 Cb(a)},qd=function(a){if(a.Ma&&"function"==typeof a.Ma)return a.Ma();if(!a.U||"function"!=typeof a.U){if(xa(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);
|
|
return b}return Db(a)}},rd=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(xa(a)||"string"===typeof a)Sa(a,b,c);else for(var d=qd(a),e=pd(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},sd=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(xa(a)||"string"===typeof a)return Wa(a,b,void 0);for(var c=qd(a),d=pd(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 td=function(a){this.F=new kd;a&&this.addAll(a)},ud=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ba(a):b.substr(0,1)+a};k=td.prototype;k.O=function(){return this.F.O()};k.add=function(a){this.F.set(ud(a),a)};k.addAll=function(a){a=pd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};k.md=function(a){a=pd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};k.remove=function(a){return this.F.remove(ud(a))};k.clear=function(){this.F.clear()};k.isEmpty=function(){return this.F.isEmpty()};
|
|
k.contains=function(a){return this.F.yb(ud(a))};k.uh=function(a){var b=new td;a=pd(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};k.cf=function(a){var b=this.clone();b.md(a);return b};k.U=function(){return this.F.U()};k.clone=function(){return new td(this)};k.equals=function(a){return this.O()==od(a)&&vd(this,a)};
|
|
var vd=function(a,b){var c=od(b);if(a.O()>c)return!1;!(b instanceof td)&&5<c&&(b=new td(b));return sd(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Qc&&"function"==typeof e.Qc?e.Qc(d):xa(e)||"string"===typeof e?$a(e,d):Eb(e,d)})};td.prototype.mc=function(){return this.F.mc(!1)};var ee={},wd=function(a,b,c){B.call(this);this.fk=b;this.token=c;this.Gb=[];this.ig=new td;this.Eb=0;this.url=a};x(wd,B);w("ee.AbstractOverlay",wd);var xd=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.fk,c,e,b.y].join("/")};wd.prototype.Xc=function(){return this.Gb.length};var yd=function(a){z.call(this,"tileevent");this.count=a};x(yd,z);var zd=function(){},Ad=new zd;function Bd(a){return Object.assign({R:{},Hk:{},keys:[],Da:{},u:{},M:{}},a)}var E=function(){this.h={}},F=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},G=function(a,b){return null!=a.h[b]};function Cd(a,b){return F(b,a)}function Dd(a,b,c){b[a]=c}function Ed(){return{}}function Fd(a,b){var c=new a;return null==b?c:Gd(b,Hd,Id,Jd,a)}function Hd(a,b){return b[a]}function Id(a,b,c){b.h[a]=c}
|
|
function Jd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function Gd(a,b,c,d,e){e=d(e);var f=Kd(a,e),g=f.R||{},h=f.u||{},n=f.Da||{},p={};f=m(f.keys||[]);for(var t=f.next();!t.done;p={Kc:p.Kc},t=f.next()){t=t.value;var C=b(t,a);if(null!=C){var D=void 0;g.hasOwnProperty(t)?D=Ld(C,b,c,d,!0,!0,g[t]):h.hasOwnProperty(t)?D=Ld(C,b,c,d,!1,!0,h[t]):n.hasOwnProperty(t)?(p.Kc=n[t],D=p.Kc.pa?C.map(function(ca){return function(Y){return Md(Y,ca.Kc,b,c,d)}}(p)):Md(C,p.Kc,b,c,d)):D=Array.isArray(C)?Ld(C,b,c,d,!0,!1):C instanceof zd?null:C;c(t,e,D)}}return e}
|
|
function Md(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]=Ld(n,c,d,e,b.ra,b.qa,b.ja))}return f}function Ld(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 Gd(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Gd(a,b,c,d,g):a instanceof zd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}
|
|
function Kd(a,b){if(b instanceof E)a=Bd(b.i());else if(a instanceof E)a=Bd(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Nd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Od=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 Pd=function(a,b){this.nb=this.ic=this.Db="";this.Bc=null;this.Wb=this.qb="";this.Ba=this.bk=!1;if(a instanceof Pd){this.Ba=void 0!==b?b:a.Ba;Qd(this,a.Db);var c=a.ic;Rd(this);this.ic=c;c=a.nb;Rd(this);this.nb=c;Sd(this,a.Bc);this.setPath(a.getPath());Td(this,a.Ea.clone());a=a.Wb;Rd(this);this.Wb=a}else a&&(c=String(a).match(Nd))?(this.Ba=!!b,Qd(this,c[1]||"",!0),a=c[2]||"",Rd(this),this.ic=Ud(a),a=c[3]||"",Rd(this),this.nb=Ud(a,!0),Sd(this,c[4]),this.setPath(c[5]||"",!0),Td(this,c[6]||"",!0),
|
|
a=c[7]||"",Rd(this),this.Wb=Ud(a)):(this.Ba=!!b,this.Ea=new Vd(null,this.Ba))};
|
|
Pd.prototype.toString=function(){var a=[],b=this.Db;b&&a.push(Wd(b,Xd,!0),":");var c=this.nb;if(c||"file"==b)a.push("//"),(b=this.ic)&&a.push(Wd(b,Xd,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Bc,null!=c&&a.push(":",String(c));if(c=this.getPath())this.nb&&"/"!=c.charAt(0)&&a.push("/"),a.push(Wd(c,"/"==c.charAt(0)?Yd:Zd,!0));(c=this.Ea.toString())&&a.push("?",c);(c=this.Wb)&&a.push("#",Wd(c,$d));return a.join("")};
|
|
Pd.prototype.resolve=function(a){var b=this.clone(),c=!!a.Db;c?Qd(b,a.Db):c=!!a.ic;if(c){var d=a.ic;Rd(b);b.ic=d}else c=!!a.nb;c?(d=a.nb,Rd(b),b.nb=d):c=null!=a.Bc;d=a.getPath();if(c)Sd(b,a.Bc);else if(c=!!a.qb){if("/"!=d.charAt(0))if(this.nb&&!this.qb)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.Ea.toString();c?Td(b,a.Ea.clone()):c=!!a.Wb;c&&(a=a.Wb,Rd(b),b.Wb=a);return b};Pd.prototype.clone=function(){return new Pd(this)};
|
|
var Qd=function(a,b,c){Rd(a);a.Db=c?Ud(b,!0):b;a.Db&&(a.Db=a.Db.replace(/:$/,""))},Sd=function(a,b){Rd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Bc=b}else a.Bc=null};Pd.prototype.getPath=function(){return this.qb};Pd.prototype.setPath=function(a,b){Rd(this);this.qb=b?Ud(a,!0):a;return this};var Td=function(a,b,c){Rd(a);b instanceof Vd?(a.Ea=b,a.Ea.Yf(a.Ba)):(c||(b=Wd(b,ae)),a.Ea=new Vd(b,a.Ba))};Pd.prototype.getQuery=function(){return this.Ea.toString()};
|
|
Pd.prototype.removeParameter=function(a){Rd(this);this.Ea.remove(a);return this};var Rd=function(a){if(a.bk)throw Error("Tried to modify a read-only Uri");};Pd.prototype.Yf=function(a){this.Ba=a;this.Ea&&this.Ea.Yf(a)};
|
|
var be=function(a){return a instanceof Pd?a.clone():new Pd(a,void 0)},Ud=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Wd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,ce),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},ce=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Xd=/[#\/\?@]/g,Zd=/[#\?:]/g,Yd=/[#\?]/g,ae=/[#\?@]/g,$d=/#/g,Vd=function(a,b){this.L=this.P=null;this.va=a||null;this.Ba=!!b},
|
|
de=function(a){a.P||(a.P=new kd,a.L=0,a.va&&Od(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Vd.prototype;k.O=function(){de(this);return this.L};k.add=function(a,b){de(this);this.va=null;a=fe(this,a);var c=this.P.get(a);c||this.P.set(a,c=[]);c.push(b);this.L=Ma(this.L)+1;return this};k.remove=function(a){de(this);a=fe(this,a);return this.P.yb(a)?(this.va=null,this.L=Ma(this.L)-this.P.get(a).length,this.P.remove(a)):!1};k.clear=function(){this.P=this.va=null;this.L=0};
|
|
k.isEmpty=function(){de(this);return 0==this.L};k.yb=function(a){de(this);a=fe(this,a);return this.P.yb(a)};k.Qc=function(a){var b=this.U();return $a(b,a)};k.forEach=function(a,b){de(this);this.P.forEach(function(c,d){Sa(c,function(e){a.call(b,e,d,this)},this)},this)};k.Ma=function(){de(this);for(var a=this.P.U(),b=this.P.Ma(),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.U=function(a){de(this);var b=[];if("string"===typeof a)this.yb(a)&&(b=db(b,this.P.get(fe(this,a))));else{a=this.P.U();for(var c=0;c<a.length;c++)b=db(b,a[c])}return b};k.set=function(a,b){de(this);this.va=null;a=fe(this,a);this.yb(a)&&(this.L=Ma(this.L)-this.P.get(a).length);this.P.set(a,[b]);this.L=Ma(this.L)+1;return this};k.get=function(a,b){if(!a)return b;a=this.U(a);return 0<a.length?String(a[0]):b};
|
|
k.setValues=function(a,b){this.remove(a);0<b.length&&(this.va=null,this.P.set(fe(this,a),eb(b)),this.L=Ma(this.L)+b.length)};k.toString=function(){if(this.va)return this.va;if(!this.P)return"";for(var a=[],b=this.P.Ma(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.U(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.va=a.join("&")};
|
|
k.clone=function(){var a=new Vd;a.va=this.va;this.P&&(a.P=this.P.clone(),a.L=this.L);return a};var fe=function(a,b){b=String(b);a.Ba&&(b=b.toLowerCase());return b};Vd.prototype.Yf=function(a){a&&!this.Ba&&(de(this),this.va=null,this.P.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.Ba=a};Vd.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)rd(arguments[b],function(c,d){this.add(d,c)},this)};function ge(a){if(null!=a.s){var b={},c;for(c in a.s)void 0!==a.s[c]&&(b[c]=a.s[c]);a.s=b}}function H(a,b){var c=he;b=void 0===b?{}:b;c=m(Object.entries(c));for(var 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 ie=function(){};ie.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function je(a,b){if(null==a)return null;a=a.Ik(b);return null==a?null:a};var ke=function(a,b){this.S=a;this.$j=void 0===b?null:b};q(ke,ie);var le=function(a,b,c){var d=je(a.$j,b);if(null==d)return c;d.Jk();return c.then(function(e){d.Lk(e);return e},function(e){d.Kk(e);throw e;})},I=function(a,b){var c=b.I||void 0,d=a.S,e=d.send,f=b.body instanceof E?Gd(b.body,Cd,Dd,Ed):b.body;return le(a,b,e.call(d,{path:b.path,A:b.A,G:b.G,body:f,s:b.s,ii:b.ii&&b.ii},c))};var me={ue:"ADMIN_READ",we:"DATA_READ",xe:"DATA_WRITE",hj:"LOG_TYPE_UNSPECIFIED",values:function(){return[me.hj,me.ue,me.xe,me.we]}},ne={ue:"ADMIN_READ",zi:"ADMIN_WRITE",we:"DATA_READ",xe:"DATA_WRITE",pj:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[ne.pj,ne.ue,ne.zi,ne.we,ne.xe]}},oe={Hi:"CAPABILITY_GROUP_UNSPECIFIED",Ii:"CLOUD_ALPHA",Ri:"EXTERNAL",aj:"INTERNAL",dj:"LIMITED",qj:"PREAUTHORIZED",sj:"PREVIEW",Lc:"PUBLIC",values:function(){return[oe.Hi,oe.Lc,oe.aj,oe.Ri,oe.dj,oe.qj,oe.sj,oe.Ii]}},
|
|
pe={yi:"ADMIN_ACTIVITY",Li:"DATA_ACCESS",Fj:"UNSPECIFIED_LOG_NAME",values:function(){return[pe.Fj,pe.yi,pe.Li]}},qe={ye:"DEFAULT_OBJECT_ACL",Lc:"PUBLIC",Je:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[qe.Je,qe.Lc,qe.ye]}},re={Ci:"APPROVER",Di:"ATTRIBUTION",Ei:"AUTHORITY",Ji:"CREDENTIALS_TYPE",Ki:"CREDS_ASSERTION",cj:"JUSTIFICATION_TYPE",Fe:"NO_ATTR",vj:"SECURITY_REALM",values:function(){return[re.Fe,re.Ei,re.Di,re.vj,re.Ci,re.cj,re.Ji,re.Ki]}},se={Pi:"DISCHARGED",Qi:"EQUALS",Xi:"IN",jj:"NOT_EQUALS",
|
|
kj:"NOT_IN",mj:"NO_OP",values:function(){return[se.mj,se.Qi,se.jj,se.Xi,se.kj,se.Pi]}},te={bj:"IP",ij:"NAME",Fe:"NO_ATTR",tj:"REGION",wj:"SERVICE",values:function(){return[te.Fe,te.tj,te.wj,te.ij,te.bj]}},ue={fj:"LOG_FAIL_CLOSED",gj:"LOG_MODE_UNSPECIFIED",values:function(){return[ue.gj,ue.fj]}},ve={Ti:"FOLDER",Vi:"IMAGE",Wi:"IMAGE_COLLECTION",Aj:"TABLE",Bj:"TYPE_UNSPECIFIED",values:function(){return[ve.Bj,ve.Vi,ve.Wi,ve.Aj,ve.Ti]}},we={Hb:"AUTO_JPEG_PNG",Ib:"GEO_TIFF",Jb:"IMAGE_FILE_FORMAT_UNSPECIFIED",
|
|
Kb:"JPEG",Lb:"MULTI_BAND_IMAGE_TILE",Mb:"NPY",Nb:"PNG",Ob:"TF_RECORD_IMAGE",Pb:"ZIPPED_GEO_TIFF",Qb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[we.Jb,we.Kb,we.Nb,we.Hb,we.Mb,we.Ib,we.Ob,we.Lb,we.Pb,we.Qb]}},xe={Gj:"V1",Hj:"V2",Ij:"VERSION_UNSPECIFIED",values:function(){return[xe.Ij,xe.Gj,xe.Hj]}},ye={Hb:"AUTO_JPEG_PNG",Ib:"GEO_TIFF",Jb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Kb:"JPEG",Lb:"MULTI_BAND_IMAGE_TILE",Mb:"NPY",Nb:"PNG",Ob:"TF_RECORD_IMAGE",Pb:"ZIPPED_GEO_TIFF",Qb:"ZIPPED_GEO_TIFF_PER_BAND",
|
|
values:function(){return[ye.Jb,ye.Kb,ye.Nb,ye.Hb,ye.Mb,ye.Ib,ye.Ob,ye.Lb,ye.Pb,ye.Qb]}},ze={Ui:"HORIZONTAL",nj:"ORIENTATION_UNSPECIFIED",Jj:"VERTICAL",values:function(){return[ze.nj,ze.Ui,ze.Jj]}},Ae={ye:"DEFAULT_OBJECT_ACL",Lc:"PUBLIC",Je:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[Ae.Je,Ae.Lc,Ae.ye]}},Be={MAX:"MAX",fb:"MEAN",MIN:"MIN",gb:"MODE",hb:"PYRAMIDING_POLICY_UNSPECIFIED",ib:"SAMPLE",values:function(){return[Be.hb,Be.fb,Be.ib,Be.MIN,Be.MAX,Be.gb]}},Ce={MAX:"MAX",fb:"MEAN",MIN:"MIN",
|
|
gb:"MODE",hb:"PYRAMIDING_POLICY_UNSPECIFIED",ib:"SAMPLE",values:function(){return[Ce.hb,Ce.fb,Ce.ib,Ce.MIN,Ce.MAX,Ce.gb]}},De={MAX:"MAX",fb:"MEAN",MIN:"MIN",gb:"MODE",hb:"PYRAMIDING_POLICY_UNSPECIFIED",ib:"SAMPLE",values:function(){return[De.hb,De.fb,De.ib,De.MIN,De.MAX,De.gb]}},Ee={Hb:"AUTO_JPEG_PNG",Ib:"GEO_TIFF",Jb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Kb:"JPEG",Lb:"MULTI_BAND_IMAGE_TILE",Mb:"NPY",Nb:"PNG",Ob:"TF_RECORD_IMAGE",Pb:"ZIPPED_GEO_TIFF",Qb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Ee.Jb,
|
|
Ee.Kb,Ee.Nb,Ee.Hb,Ee.Mb,Ee.Ib,Ee.Ob,Ee.Lb,Ee.Pb,Ee.Qb]}},Fe={MAX:"MAX",fb:"MEAN",MIN:"MIN",gb:"MODE",hb:"PYRAMIDING_POLICY_UNSPECIFIED",ib:"SAMPLE",values:function(){return[Fe.hb,Fe.fb,Fe.ib,Fe.MIN,Fe.MAX,Fe.gb]}},Ge={Fi:"CANCELLED",Gi:"CANCELLING",Si:"FAILED",oj:"PENDING",uj:"RUNNING",xj:"STATE_UNSPECIFIED",zj:"SUCCEEDED",values:function(){return[Ge.xj,Ge.oj,Ge.uj,Ge.Gi,Ge.zj,Ge.Fi,Ge.Si]}},He={ze:"DOUBLE",FLOAT:"FLOAT",INT:"INT",rj:"PRECISION_UNSPECIFIED",values:function(){return[He.rj,He.INT,He.FLOAT,
|
|
He.ze]}},Ie={Ai:"ALLOW",Bi:"ALLOW_WITH_LOG",Ni:"DENY",Oi:"DENY_WITH_LOG",ej:"LOG",lj:"NO_ACTION",values:function(){return[Ie.lj,Ie.Ai,Ie.Bi,Ie.Ni,Ie.Oi,Ie.ej]}},Je={ve:"CSV",Ae:"GEO_JSON",Ce:"KML",De:"KMZ",Ge:"SHP",He:"TABLE_FILE_FORMAT_UNSPECIFIED",Ie:"TF_RECORD_TABLE",values:function(){return[Je.He,Je.ve,Je.Ae,Je.Ce,Je.De,Je.Ge,Je.Ie]}},Ke={ve:"CSV",Ae:"GEO_JSON",Ce:"KML",De:"KMZ",Ge:"SHP",He:"TABLE_FILE_FORMAT_UNSPECIFIED",Ie:"TF_RECORD_TABLE",values:function(){return[Ke.He,Ke.ve,Ke.Ae,Ke.Ce,Ke.De,
|
|
Ke.Ge,Ke.Ie]}},Le={Hb:"AUTO_JPEG_PNG",Ib:"GEO_TIFF",Jb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Kb:"JPEG",Lb:"MULTI_BAND_IMAGE_TILE",Mb:"NPY",Nb:"PNG",Ob:"TF_RECORD_IMAGE",Pb:"ZIPPED_GEO_TIFF",Qb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Le.Jb,Le.Kb,Le.Nb,Le.Hb,Le.Mb,Le.Ib,Le.Ob,Le.Lb,Le.Pb,Le.Qb]}},Me={MAX:"MAX",fb:"MEAN",MIN:"MIN",gb:"MODE",hb:"PYRAMIDING_POLICY_UNSPECIFIED",ib:"SAMPLE",values:function(){return[Me.hb,Me.fb,Me.ib,Me.MIN,Me.MAX,Me.gb]}},Ne={Mi:"DATA_TYPE_UNSPECIFIED",ze:"DOUBLE",
|
|
FLOAT:"FLOAT",Yi:"INT16",Zi:"INT32",$i:"INT8",Cj:"UINT16",Dj:"UINT32",Ej:"UINT8",values:function(){return[Ne.Mi,Ne.$i,Ne.Ej,Ne.Yi,Ne.Cj,Ne.Zi,Ne.Dj,Ne.FLOAT,Ne.ze]}},Oe={Be:"GIF",Ee:"MP4",Ke:"VIDEO_FILE_FORMAT_UNSPECIFIED",Le:"VP9",values:function(){return[Oe.Ke,Oe.Ee,Oe.Be,Oe.Le]}},Pe={Be:"GIF",Ee:"MP4",Ke:"VIDEO_FILE_FORMAT_UNSPECIFIED",Le:"VP9",values:function(){return[Pe.Ke,Pe.Ee,Pe.Be,Pe.Le]}},Qe=function(a){a=void 0===a?{}:a;this.h={};this.h.scaleX=null==a.Uf?null:a.Uf;this.h.shearX=null==a.Zf?
|
|
null:a.Zf;this.h.translateX=null==a.lg?null:a.lg;this.h.shearY=null==a.$f?null:a.$f;this.h.scaleY=null==a.Vf?null:a.Vf;this.h.translateY=null==a.mg?null:a.mg};q(Qe,E);Qe.prototype.i=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
l.Object.defineProperties(Qe.prototype,{Uf:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleX")?F(this,"scaleX"):null},set:function(a){this.h.scaleX=a}},Vf:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleY")?F(this,"scaleY"):null},set:function(a){this.h.scaleY=a}},Zf:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearX")?F(this,"shearX"):null},set:function(a){this.h.shearX=a}},$f:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearY")?
|
|
F(this,"shearY"):null},set:function(a){this.h.shearY=a}},lg:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateX")?F(this,"translateX"):null},set:function(a){this.h.translateX=a}},mg:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateY")?F(this,"translateY"):null},set:function(a){this.h.translateY=a}}});
|
|
var Re=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.description=null==a.description?null:a.description;this.h.returnType=null==a.Tf?null:a.Tf;this.h.arguments=null==a.arguments?null:a.arguments;this.h.deprecated=null==a.deprecated?null:a.deprecated;this.h.deprecationReason=null==a.af?null:a.af;this.h.hidden=null==a.hidden?null:a.hidden;this.h.preview=null==a.preview?null:a.preview;this.h.sourceCodeUri=null==a.sourceCodeUri?null:a.sourceCodeUri};q(Re,E);
|
|
Re.prototype.i=function(){return{R:{arguments:Se},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
|
|
l.Object.defineProperties(Re.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?F(this,"arguments"):null},set:function(a){this.h.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecated")?F(this,"deprecated"):null},set:function(a){this.h.deprecated=a}},af:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecationReason")?F(this,"deprecationReason"):null},set:function(a){this.h.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return G(this,"hidden")?F(this,"hidden"):null},set:function(a){this.h.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return G(this,"preview")?F(this,"preview"):null},set:function(a){this.h.preview=
|
|
a}},Tf:{configurable:!0,enumerable:!0,get:function(){return G(this,"returnType")?F(this,"returnType"):null},set:function(a){this.h.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return G(this,"sourceCodeUri")?F(this,"sourceCodeUri"):null},set:function(a){this.h.sourceCodeUri=a}}});
|
|
var Se=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.yd?null:a.yd;this.h.type=null==a.type?null:a.type;this.h.description=null==a.description?null:a.description;this.h.optional=null==a.optional?null:a.optional;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue};q(Se,E);Se.prototype.i=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
l.Object.defineProperties(Se.prototype,{yd:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentName")?F(this,"argumentName"):null},set:function(a){this.h.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"optional")?F(this,"optional"):null},set:function(a){this.h.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}}});var Te=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Te,E);Te.prototype.i=function(){return{R:{values:Ue},keys:["values"]}};
|
|
l.Object.defineProperties(Te.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var Ve=function(a){a=void 0===a?{}:a;this.h={};this.h.service=null==a.ci?null:a.ci;this.h.exemptedMembers=null==a.Uc?null:a.Uc;this.h.auditLogConfigs=null==a.ug?null:a.ug};q(Ve,E);Ve.prototype.i=function(){return{R:{auditLogConfigs:We},keys:["auditLogConfigs","exemptedMembers","service"]}};
|
|
l.Object.defineProperties(Ve.prototype,{ug:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditLogConfigs")?F(this,"auditLogConfigs"):null},set:function(a){this.h.auditLogConfigs=a}},Uc:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?F(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},ci:{configurable:!0,enumerable:!0,get:function(){return G(this,"service")?F(this,"service"):null},set:function(a){this.h.service=a}}});
|
|
var We=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Fh?null:a.Fh;this.h.exemptedMembers=null==a.Uc?null:a.Uc;this.h.ignoreChildExemptions=null==a.rh?null:a.rh};q(We,E);We.prototype.i=function(){return{M:{logType:me},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
l.Object.defineProperties(We.prototype,{Uc:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?F(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},rh:{configurable:!0,enumerable:!0,get:function(){return G(this,"ignoreChildExemptions")?F(this,"ignoreChildExemptions"):null},set:function(a){this.h.ignoreChildExemptions=a}},Fh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logType")?F(this,"logType"):null},set:function(a){this.h.logType=
|
|
a}}});var Xe=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.Rh?null:a.Rh};q(Xe,E);Xe.prototype.i=function(){return{M:{permissionType:ne},keys:["permissionType"]}};l.Object.defineProperties(Xe.prototype,{Rh:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?F(this,"permissionType"):null},set:function(a){this.h.permissionType=a}}});
|
|
var Ye=function(a){a=void 0===a?{}:a;this.h={};this.h.role=null==a.Fc?null:a.Fc;this.h.members=null==a.ac?null:a.ac;this.h.condition=null==a.Jg?null:a.Jg;this.h.bindingId=null==a.xg?null:a.xg};q(Ye,E);Ye.prototype.i=function(){return{keys:["bindingId","condition","members","role"],u:{condition:Ze}}};
|
|
l.Object.defineProperties(Ye.prototype,{xg:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindingId")?F(this,"bindingId"):null},set:function(a){this.h.bindingId=a}},Jg:{configurable:!0,enumerable:!0,get:function(){return G(this,"condition")?F(this,"condition"):null},set:function(a){this.h.condition=a}},ac:{configurable:!0,enumerable:!0,get:function(){return G(this,"members")?F(this,"members"):null},set:function(a){this.h.members=a}},Fc:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"role")?F(this,"role"):null},set:function(a){this.h.role=a}}});var $e=function(){this.h={}};q($e,E);$e.prototype.i=function(){return{keys:[]}};var af=function(a){a=void 0===a?{}:a;this.h={};this.h.capabilities=null==a.Eg?null:a.Eg};q(af,E);af.prototype.i=function(){return{M:{capabilities:oe},keys:["capabilities"]}};
|
|
l.Object.defineProperties(af.prototype,{Eg:{configurable:!0,enumerable:!0,get:function(){return G(this,"capabilities")?F(this,"capabilities"):null},set:function(a){this.h.capabilities=a}}});var bf=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Eh?null:a.Eh;this.h.authorizationLoggingOptions=null==a.vg?null:a.vg};q(bf,E);bf.prototype.i=function(){return{M:{logName:pe},keys:["authorizationLoggingOptions","logName"],u:{authorizationLoggingOptions:Xe}}};
|
|
l.Object.defineProperties(bf.prototype,{vg:{configurable:!0,enumerable:!0,get:function(){return G(this,"authorizationLoggingOptions")?F(this,"authorizationLoggingOptions"):null},set:function(a){this.h.authorizationLoggingOptions=a}},Eh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logName")?F(this,"logName"):null},set:function(a){this.h.logName=a}}});
|
|
var cf=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.pc?null:a.pc;this.h.filenamePrefix=null==a.ga?null:a.ga;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.qc?null:a.qc};q(cf,E);cf.prototype.i=function(){return{M:{permissions:qe},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
l.Object.defineProperties(cf.prototype,{pc:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucket")?F(this,"bucket"):null},set:function(a){this.h.bucket=a}},qc:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucketCorsUris")?F(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.h.permissions=a}}});l.Object.defineProperties(cf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return qe}}});var df=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.ya?null:a.ya};q(df,E);df.prototype.i=function(){return{keys:["uris"]}};
|
|
l.Object.defineProperties(df.prototype,{ya:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}}});var ef=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l};q(ef,E);ef.prototype.i=function(){return{keys:["expression"],u:{expression:ff}}};
|
|
l.Object.defineProperties(ef.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}}});var gf=function(a){a=void 0===a?{}:a;this.h={};this.h.result=null==a.result?null:a.result};q(gf,E);gf.prototype.i=function(){return{keys:["result"]}};
|
|
l.Object.defineProperties(gf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.h.result=a}}});var hf=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.nh?null:a.nh;this.h.sys=null==a.mi?null:a.mi;this.h.svc=null==a.li?null:a.li;this.h.op=null==a.Ph?null:a.Ph;this.h.values=null==a.values?null:a.values};q(hf,E);hf.prototype.i=function(){return{M:{iam:re,op:se,sys:te},keys:["iam","op","svc","sys","values"]}};
|
|
l.Object.defineProperties(hf.prototype,{nh:{configurable:!0,enumerable:!0,get:function(){return G(this,"iam")?F(this,"iam"):null},set:function(a){this.h.iam=a}},Ph:{configurable:!0,enumerable:!0,get:function(){return G(this,"op")?F(this,"op"):null},set:function(a){this.h.op=a}},li:{configurable:!0,enumerable:!0,get:function(){return G(this,"svc")?F(this,"svc"):null},set:function(a){this.h.svc=a}},mi:{configurable:!0,enumerable:!0,get:function(){return G(this,"sys")?F(this,"sys"):null},set:function(a){this.h.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var jf=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Ub?null:a.Ub;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.bandIds=null==a.ea?null:a.ea};q(jf,E);jf.prototype.i=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
l.Object.defineProperties(jf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Ub:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.h.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
|
|
var kf=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Ih?null:a.Ih;this.h.field=null==a.$g?null:a.$g;this.h.customFields=null==a.Sg?null:a.Sg};q(kf,E);kf.prototype.i=function(){return{R:{customFields:lf},keys:["customFields","field","metric"]}};
|
|
l.Object.defineProperties(kf.prototype,{Sg:{configurable:!0,enumerable:!0,get:function(){return G(this,"customFields")?F(this,"customFields"):null},set:function(a){this.h.customFields=a}},$g:{configurable:!0,enumerable:!0,get:function(){return G(this,"field")?F(this,"field"):null},set:function(a){this.h.field=a}},Ih:{configurable:!0,enumerable:!0,get:function(){return G(this,"metric")?F(this,"metric"):null},set:function(a){this.h.metric=a}}});
|
|
var lf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.value=null==a.value?null:a.value};q(lf,E);lf.prototype.i=function(){return{keys:["name","value"]}};l.Object.defineProperties(lf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return G(this,"value")?F(this,"value"):null},set:function(a){this.h.value=a}}});
|
|
var mf=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Dh?null:a.Dh};q(mf,E);mf.prototype.i=function(){return{M:{logMode:ue},keys:["logMode"]}};l.Object.defineProperties(mf.prototype,{Dh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logMode")?F(this,"logMode"):null},set:function(a){this.h.logMode=a}}});var nf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(nf,E);
|
|
nf.prototype.i=function(){return{keys:["values"],Da:{values:{ja:Ue,pa:!1,qa:!0,ra:!1}}}};l.Object.defineProperties(nf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var of=function(a){a=void 0===a?{}:a;this.h={};this.h.min=null==a.min?null:a.min;this.h.max=null==a.max?null:a.max};q(of,E);of.prototype.i=function(){return{keys:["max","min"]}};
|
|
l.Object.defineProperties(of.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return G(this,"max")?F(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return G(this,"min")?F(this,"min"):null},set:function(a){this.h.min=a}}});var pf=function(a){a=void 0===a?{}:a;this.h={};this.h.folder=null==a.kf?null:a.kf;this.h.filenamePrefix=null==a.ga?null:a.ga};q(pf,E);pf.prototype.i=function(){return{keys:["filenamePrefix","folder"]}};
|
|
l.Object.defineProperties(pf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},kf:{configurable:!0,enumerable:!0,get:function(){return G(this,"folder")?F(this,"folder"):null},set:function(a){this.h.folder=a}}});
|
|
var qf=function(a){a=void 0===a?{}:a;this.h={};this.h.tilestoreLocation=null==a.ri?null:a.ri;this.h.cloudStorageLocation=null==a.Hg?null:a.Hg;this.h.tilestoreEntry=null==a.pi?null:a.pi;this.h.gcsLocation=null==a.ih?null:a.ih;this.h.type=null==a.type?null:a.type;this.h.name=null==a.name?null:a.name;this.h.id=null==a.id?null:a.id;this.h.updateTime=null==a.Qa?null:a.Qa;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.properties=null==a.properties?
|
|
null:a.properties;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.geometry=null==a.geometry?null:a.geometry;this.h.bands=null==a.bands?null:a.bands;this.h.sizeBytes=null==a.Fa?null:a.Fa;this.h.quota=null==a.quota?null:a.quota;this.h.expression=null==a.l?null:a.l};q(qf,E);
|
|
qf.prototype.i=function(){return{R:{bands:rf},M:{type:ve},keys:"bands cloudStorageLocation description endTime expression gcsLocation geometry id name properties quota sizeBytes startTime tilestoreEntry tilestoreLocation title type updateTime".split(" "),Da:{geometry:{ja:null,pa:!1,qa:!1,ra:!1},properties:{ja:null,pa:!1,qa:!1,ra:!1}},u:{cloudStorageLocation:df,expression:ff,gcsLocation:sf,quota:tf,tilestoreEntry:uf,tilestoreLocation:vf}}};
|
|
l.Object.defineProperties(qf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.h.bands=a}},Hg:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageLocation")?F(this,"cloudStorageLocation"):null},set:function(a){this.h.cloudStorageLocation=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},endTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.h.endTime=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},ih:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsLocation")?F(this,"gcsLocation"):null},set:function(a){this.h.gcsLocation=a}},geometry:{configurable:!0,enumerable:!0,get:function(){return G(this,"geometry")?F(this,"geometry"):null},
|
|
set:function(a){this.h.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=a}},quota:{configurable:!0,enumerable:!0,get:function(){return G(this,"quota")?
|
|
F(this,"quota"):null},set:function(a){this.h.quota=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},pi:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilestoreEntry")?F(this,"tilestoreEntry"):null},set:function(a){this.h.tilestoreEntry=a}},ri:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tilestoreLocation")?F(this,"tilestoreLocation"):null},set:function(a){this.h.tilestoreLocation=a}},title:{configurable:!0,enumerable:!0,get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.h.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}},Qa:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},
|
|
set:function(a){this.h.updateTime=a}}});var wf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name};q(wf,E);wf.prototype.i=function(){return{keys:["name"]}};l.Object.defineProperties(wf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}}});
|
|
var xf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.D?null:a.D;this.h.bandIds=null==a.ea?null:a.ea;this.h.visualizationOptions=null==a.kc?null:a.kc};q(xf,E);xf.prototype.i=function(){return{M:{fileFormat:we},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],u:{expression:ff,visualizationOptions:yf}}};
|
|
l.Object.defineProperties(xf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},D:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},kc:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var zf=function(){this.h={}};q(zf,E);zf.prototype.i=function(){return{keys:[]}};
|
|
var Af=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.ma?null:a.ma;this.h.assetExportOptions=null==a.kb?null:a.kb;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.maxPixels=null==a.Gf?null:a.Gf;this.h.grid=null==a.N?null:a.N;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.ta?null:a.ta;this.h.maxWorkerCount=null==a.X?null:a.X};q(Af,E);
|
|
Af.prototype.i=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkerCount maxWorkers requestId".split(" "),u:{assetExportOptions:Bf,expression:ff,fileExportOptions:Cf,grid:Df}}};
|
|
l.Object.defineProperties(Af.prototype,{kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
ma:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},N:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},Gf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixels")?F(this,"maxPixels"):null},set:function(a){this.h.maxPixels=a}},X:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkerCount")?
|
|
F(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},ta:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}}});
|
|
var Ef=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.tileOptions=null==a.hc?null:a.hc;this.h.tileExportOptions=null==a.fc?null:a.fc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.ta?null:a.ta;this.h.maxWorkerCount=null==a.X?null:a.X};q(Ef,E);
|
|
Ef.prototype.i=function(){return{keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions".split(" "),u:{expression:ff,tileExportOptions:Cf,tileOptions:Ff}}};
|
|
l.Object.defineProperties(Ef.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},X:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkerCount")?F(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},ta:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},fc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?
|
|
F(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}}});
|
|
var Gf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.ma?null:a.ma;this.h.assetExportOptions=null==a.kb?null:a.kb;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.selectors=null==a.selectors?null:a.selectors;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxErrorMeters=null==a.Zb?null:a.Zb;this.h.maxWorkers=null==a.ta?null:a.ta;this.h.maxWorkerCount=null==a.X?null:a.X;this.h.maxVertices=null==a.maxVertices?
|
|
null:a.maxVertices};q(Gf,E);Gf.prototype.i=function(){return{keys:"assetExportOptions description expression fileExportOptions maxErrorMeters maxVertices maxWorkerCount maxWorkers requestId selectors".split(" "),u:{assetExportOptions:Hf,expression:ff,fileExportOptions:If}}};
|
|
l.Object.defineProperties(Gf.prototype,{kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
ma:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},Zb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},X:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"maxWorkerCount")?F(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},ta:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return G(this,"selectors")?F(this,"selectors"):
|
|
null},set:function(a){this.h.selectors=a}}});var Jf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.videoOptions=null==a.Sa?null:a.Sa;this.h.tileOptions=null==a.hc?null:a.hc;this.h.tileExportOptions=null==a.fc?null:a.fc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.version=null==a.version?null:a.version;this.h.maxWorkers=null==a.ta?null:a.ta;this.h.maxWorkerCount=null==a.X?null:a.X};q(Jf,E);
|
|
Jf.prototype.i=function(){return{M:{version:xe},keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions version videoOptions".split(" "),u:{expression:ff,tileExportOptions:Kf,tileOptions:Ff,videoOptions:Lf}}};
|
|
l.Object.defineProperties(Jf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},X:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkerCount")?F(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},ta:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},fc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?
|
|
F(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?F(this,"version"):null},set:function(a){this.h.version=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});
|
|
var Mf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.videoOptions=null==a.Sa?null:a.Sa;this.h.fileExportOptions=null==a.ma?null:a.ma;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.ta?null:a.ta;this.h.maxWorkerCount=null==a.X?null:a.X};q(Mf,E);
|
|
Mf.prototype.i=function(){return{keys:"description expression fileExportOptions maxWorkerCount maxWorkers requestId videoOptions".split(" "),u:{expression:ff,fileExportOptions:Kf,videoOptions:Lf}}};
|
|
l.Object.defineProperties(Mf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},ma:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},X:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"maxWorkerCount")?F(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},ta:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?
|
|
F(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var Ze=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.location=null==a.location?null:a.location};q(Ze,E);Ze.prototype.i=function(){return{keys:["description","expression","location","title"]}};
|
|
l.Object.defineProperties(Ze.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return G(this,"location")?F(this,"location"):null},set:function(a){this.h.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.h.title=a}}});var ff=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values;this.h.result=null==a.result?null:a.result};q(ff,E);ff.prototype.i=function(){return{keys:["result","values"],Da:{values:{ja:Ue,pa:!1,qa:!0,ra:!1}}}};
|
|
l.Object.defineProperties(ff.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.h.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});
|
|
var Nf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.orientation=null==a.orientation?null:a.orientation;this.h.fileFormat=null==a.D?null:a.D;this.h.grid=null==a.N?null:a.N};q(Nf,E);Nf.prototype.i=function(){return{M:{fileFormat:ye,orientation:ze},keys:["expression","fileFormat","grid","name","orientation"],u:{expression:ff,grid:Df}}};
|
|
l.Object.defineProperties(Nf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},D:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},N:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return G(this,"orientation")?F(this,"orientation"):null},set:function(a){this.h.orientation=a}}});var tf=function(a){a=void 0===a?{}:a;this.h={};this.h.sizeBytes=null==a.Fa?null:a.Fa;this.h.maxSizeBytes=null==a.$b?null:a.$b;this.h.assetCount=null==a.Pe?null:a.Pe;this.h.maxAssets=null==a.Hh?null:a.Hh;this.h.maxAssetCount=null==a.Ef?null:a.Ef};q(tf,E);
|
|
tf.prototype.i=function(){return{keys:["assetCount","maxAssetCount","maxAssets","maxSizeBytes","sizeBytes"]}};
|
|
l.Object.defineProperties(tf.prototype,{Pe:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetCount")?F(this,"assetCount"):null},set:function(a){this.h.assetCount=a}},Ef:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxAssetCount")?F(this,"maxAssetCount"):null},set:function(a){this.h.maxAssetCount=a}},Hh:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxAssets")?F(this,"maxAssets"):null},set:function(a){this.h.maxAssets=a}},$b:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});var Of=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentNames=null==a.oc?null:a.oc;this.h.body=null==a.body?null:a.body};q(Of,E);Of.prototype.i=function(){return{keys:["argumentNames","body"]}};
|
|
l.Object.defineProperties(Of.prototype,{oc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentNames")?F(this,"argumentNames"):null},set:function(a){this.h.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return G(this,"body")?F(this,"body"):null},set:function(a){this.h.body=a}}});
|
|
var Pf=function(a){a=void 0===a?{}:a;this.h={};this.h.functionName=null==a.functionName?null:a.functionName;this.h.functionReference=null==a.Ya?null:a.Ya;this.h.arguments=null==a.arguments?null:a.arguments};q(Pf,E);Pf.prototype.i=function(){return{keys:["arguments","functionName","functionReference"],Da:{arguments:{ja:Ue,pa:!1,qa:!0,ra:!1}}}};
|
|
l.Object.defineProperties(Pf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?F(this,"arguments"):null},set:function(a){this.h.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionName")?F(this,"functionName"):null},set:function(a){this.h.functionName=a}},Ya:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionReference")?F(this,"functionReference"):null},set:function(a){this.h.functionReference=
|
|
a}}});var Qf=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.pc?null:a.pc;this.h.filenamePrefix=null==a.ga?null:a.ga;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.qc?null:a.qc};q(Qf,E);Qf.prototype.i=function(){return{M:{permissions:Ae},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
l.Object.defineProperties(Qf.prototype,{pc:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucket")?F(this,"bucket"):null},set:function(a){this.h.bucket=a}},qc:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucketCorsUris")?F(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.h.permissions=a}}});l.Object.defineProperties(Qf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return Ae}}});var sf=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.ya?null:a.ya};q(sf,E);sf.prototype.i=function(){return{keys:["uris"]}};
|
|
l.Object.defineProperties(sf.prototype,{ya:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}}});var Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.cloudOptimized=null==a.Se?null:a.Se;this.h.tileDimensions=null==a.Pa?null:a.Pa;this.h.skipEmptyFiles=null==a.bg?null:a.bg;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(Rf,E);
|
|
Rf.prototype.i=function(){return{keys:["cloudOptimized","skipEmptyFiles","tileDimensions","tileSize"],u:{tileDimensions:Sf}}};
|
|
l.Object.defineProperties(Rf.prototype,{Se:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudOptimized")?F(this,"cloudOptimized"):null},set:function(a){this.h.cloudOptimized=a}},bg:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyFiles")?F(this,"skipEmptyFiles"):null},set:function(a){this.h.skipEmptyFiles=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},
|
|
tileSize:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileSize")?F(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});var Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.options=null==a.options?null:a.options};q(Tf,E);Tf.prototype.i=function(){return{keys:["options"],u:{options:Uf}}};l.Object.defineProperties(Tf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return G(this,"options")?F(this,"options"):null},set:function(a){this.h.options=a}}});
|
|
var Uf=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.Yh?null:a.Yh};q(Uf,E);Uf.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};l.Object.defineProperties(Uf.prototype,{Yh:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestedPolicyVersion")?F(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});
|
|
var Sf=function(a){a=void 0===a?{}:a;this.h={};this.h.width=null==a.width?null:a.width;this.h.height=null==a.height?null:a.height};q(Sf,E);Sf.prototype.i=function(){return{keys:["height","width"]}};l.Object.defineProperties(Sf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return G(this,"height")?F(this,"height"):null},set:function(a){this.h.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return G(this,"width")?F(this,"width"):null},set:function(a){this.h.width=a}}});
|
|
var Vf=function(a){a=void 0===a?{}:a;this.h={};this.h.x=null==a.x?null:a.x;this.h.y=null==a.y?null:a.y};q(Vf,E);Vf.prototype.i=function(){return{keys:["x","y"]}};l.Object.defineProperties(Vf.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return G(this,"x")?F(this,"x"):null},set:function(a){this.h.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return G(this,"y")?F(this,"y"):null},set:function(a){this.h.y=a}}});
|
|
var Wf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.id=null==a.id?null:a.id;this.h.updateTime=null==a.Qa?null:a.Qa;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.properties=null==a.properties?null:a.properties;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.geometry=null==a.geometry?null:a.geometry;this.h.bands=null==a.bands?null:a.bands;this.h.sizeBytes=
|
|
null==a.Fa?null:a.Fa};q(Wf,E);Wf.prototype.i=function(){return{R:{bands:rf},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),Da:{geometry:{ja:null,pa:!1,qa:!1,ra:!1},properties:{ja:null,pa:!1,qa:!1,ra:!1}}}};
|
|
l.Object.defineProperties(Wf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.h.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.h.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"geometry")?F(this,"geometry"):null},set:function(a){this.h.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=a}},Fa:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.h.title=a}},Qa:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.h.updateTime=
|
|
a}}});var Bf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Vb?null:a.Vb;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.pyramidingPolicyOverrides=null==a.Of?null:a.Of;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(Bf,E);
|
|
Bf.prototype.i=function(){return{M:{pyramidingPolicy:Be,pyramidingPolicyOverrides:Ce},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],Da:{pyramidingPolicyOverrides:{ja:null,pa:!1,qa:!1,ra:!1}},u:{earthEngineDestination:wf}}};
|
|
l.Object.defineProperties(Bf.prototype,{Vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Of:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicyOverrides")?F(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.h.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileSize")?F(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});
|
|
var rf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.dataType=null==a.dataType?null:a.dataType;this.h.grid=null==a.N?null:a.N;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.missingData=null==a.missingData?null:a.missingData};q(rf,E);
|
|
rf.prototype.i=function(){return{R:{tilesets:Xf},M:{pyramidingPolicy:De},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),u:{dataType:Yf,grid:Df,missingData:Zf}}};
|
|
l.Object.defineProperties(rf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.h.dataType=a}},N:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?
|
|
F(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}}});
|
|
var Cf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.ka?null:a.ka;this.h.cloudStorageDestination=null==a.xb?null:a.xb;this.h.gcsDestination=null==a.na?null:a.na;this.h.geoTiffOptions=null==a.Jd?null:a.Jd;this.h.tfRecordOptions=null==a.he?null:a.he;this.h.fileFormat=null==a.D?null:a.D};q(Cf,E);
|
|
Cf.prototype.i=function(){return{M:{fileFormat:Ee},keys:"cloudStorageDestination driveDestination fileFormat gcsDestination geoTiffOptions tfRecordOptions".split(" "),u:{cloudStorageDestination:cf,driveDestination:pf,gcsDestination:Qf,geoTiffOptions:Rf,tfRecordOptions:$f}}};
|
|
l.Object.defineProperties(Cf.prototype,{xb:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},ka:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},D:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},na:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}},Jd:{configurable:!0,enumerable:!0,get:function(){return G(this,"geoTiffOptions")?F(this,"geoTiffOptions"):null},set:function(a){this.h.geoTiffOptions=a}},he:{configurable:!0,enumerable:!0,get:function(){return G(this,"tfRecordOptions")?F(this,"tfRecordOptions"):null},set:function(a){this.h.tfRecordOptions=a}}});
|
|
var ag=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.sd?null:a.sd;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.bands=null==a.bands?null:a.bands;this.h.maskBands=null==a.Df?null:a.Df;this.h.footprint=null==a.gh?null:a.gh;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.startTime=null==a.startTime?
|
|
null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime};q(ag,E);ag.prototype.i=function(){return{R:{bands:bg,maskBands:cg,tilesets:dg},M:{pyramidingPolicy:Fe},keys:"bands endTime footprint maskBands missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),Da:{properties:{ja:null,pa:!1,qa:!1,ra:!1}},u:{footprint:eg,missingData:Zf}}};
|
|
l.Object.defineProperties(ag.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.h.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.h.endTime=a}},gh:{configurable:!0,enumerable:!0,get:function(){return G(this,"footprint")?F(this,"footprint"):null},set:function(a){this.h.footprint=a}},Df:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"maskBands")?F(this,"maskBands"):null},set:function(a){this.h.maskBands=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.h.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=
|
|
a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},sd:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});var fg=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.ya?null:a.ya;this.h.affineTransform=null==a.Rb?null:a.Rb};q(fg,E);fg.prototype.i=function(){return{keys:["affineTransform","uris"],u:{affineTransform:Qe}}};
|
|
l.Object.defineProperties(fg.prototype,{Rb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},ya:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}}});
|
|
var gg=function(a){a=void 0===a?{}:a;this.h={};this.h.imageManifest=null==a.tf?null:a.tf;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId};q(gg,E);gg.prototype.i=function(){return{keys:["description","imageManifest","overwrite","requestId"],u:{imageManifest:ag}}};
|
|
l.Object.defineProperties(gg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},tf:{configurable:!0,enumerable:!0,get:function(){return G(this,"imageManifest")?F(this,"imageManifest"):null},set:function(a){this.h.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}}});var hg=function(a){a=void 0===a?{}:a;this.h={};this.h.tableManifest=null==a.gg?null:a.gg;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId};q(hg,E);hg.prototype.i=function(){return{keys:["description","overwrite","requestId","tableManifest"],u:{tableManifest:ig}}};
|
|
l.Object.defineProperties(hg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},gg:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tableManifest")?F(this,"tableManifest"):null},set:function(a){this.h.tableManifest=a}}});var jg=function(a){a=void 0===a?{}:a;this.h={};this.h.algorithms=null==a.Mc?null:a.Mc};q(jg,E);jg.prototype.i=function(){return{R:{algorithms:Re},keys:["algorithms"]}};l.Object.defineProperties(jg.prototype,{Mc:{configurable:!0,enumerable:!0,get:function(){return G(this,"algorithms")?F(this,"algorithms"):null},set:function(a){this.h.algorithms=a}}});
|
|
var kg=function(a){a=void 0===a?{}:a;this.h={};this.h.assets=null==a.assets?null:a.assets;this.h.nextPageToken=null==a.ab?null:a.ab};q(kg,E);kg.prototype.i=function(){return{R:{assets:qf},keys:["assets","nextPageToken"]}};
|
|
l.Object.defineProperties(kg.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return G(this,"assets")?F(this,"assets"):null},set:function(a){this.h.assets=a}},ab:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});var lg=function(a){a=void 0===a?{}:a;this.h={};this.h.images=null==a.images?null:a.images;this.h.nextPageToken=null==a.ab?null:a.ab};q(lg,E);
|
|
lg.prototype.i=function(){return{R:{images:Wf},keys:["images","nextPageToken"]}};l.Object.defineProperties(lg.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return G(this,"images")?F(this,"images"):null},set:function(a){this.h.images=a}},ab:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});
|
|
var mg=function(a){a=void 0===a?{}:a;this.h={};this.h.operations=null==a.Na?null:a.Na;this.h.nextPageToken=null==a.ab?null:a.ab};q(mg,E);mg.prototype.i=function(){return{R:{operations:ng},keys:["nextPageToken","operations"]}};
|
|
l.Object.defineProperties(mg.prototype,{ab:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},Na:{configurable:!0,enumerable:!0,get:function(){return G(this,"operations")?F(this,"operations"):null},set:function(a){this.h.operations=a}}});
|
|
var og=function(a){a=void 0===a?{}:a;this.h={};this.h.counter=null==a.counter?null:a.counter;this.h.dataAccess=null==a.Tg?null:a.Tg;this.h.cloudAudit=null==a.Gg?null:a.Gg};q(og,E);og.prototype.i=function(){return{keys:["cloudAudit","counter","dataAccess"],u:{cloudAudit:bf,counter:kf,dataAccess:mf}}};
|
|
l.Object.defineProperties(og.prototype,{Gg:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudAudit")?F(this,"cloudAudit"):null},set:function(a){this.h.cloudAudit=a}},counter:{configurable:!0,enumerable:!0,get:function(){return G(this,"counter")?F(this,"counter"):null},set:function(a){this.h.counter=a}},Tg:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataAccess")?F(this,"dataAccess"):null},set:function(a){this.h.dataAccess=a}}});
|
|
var Zf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Zf,E);Zf.prototype.i=function(){return{keys:["values"]}};l.Object.defineProperties(Zf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var pg=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Ub?null:a.Ub};q(pg,E);pg.prototype.i=function(){return{keys:["destinationName"]}};
|
|
l.Object.defineProperties(pg.prototype,{Ub:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.h.destinationName=a}}});var ng=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.metadata=null==a.Hf?null:a.Hf;this.h.done=null==a.done?null:a.done;this.h.error=null==a.error?null:a.error;this.h.response=null==a.response?null:a.response};q(ng,E);
|
|
ng.prototype.i=function(){return{keys:["done","error","metadata","name","response"],Da:{metadata:{ja:null,pa:!1,qa:!1,ra:!1},response:{ja:null,pa:!1,qa:!1,ra:!1}},u:{error:qg}}};
|
|
l.Object.defineProperties(ng.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return G(this,"done")?F(this,"done"):null},set:function(a){this.h.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return G(this,"error")?F(this,"error"):null},set:function(a){this.h.error=a}},Hf:{configurable:!0,enumerable:!0,get:function(){return G(this,"metadata")?F(this,"metadata"):null},set:function(a){this.h.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?
|
|
F(this,"name"):null},set:function(a){this.h.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return G(this,"response")?F(this,"response"):null},set:function(a){this.h.response=a}}});
|
|
var rg=function(a){a=void 0===a?{}:a;this.h={};this.h.state=null==a.state?null:a.state;this.h.description=null==a.description?null:a.description;this.h.type=null==a.type?null:a.type;this.h.priority=null==a.priority?null:a.priority;this.h.createTime=null==a.Ze?null:a.Ze;this.h.updateTime=null==a.Qa?null:a.Qa;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.progress=null==a.progress?null:a.progress;this.h.stages=null==a.gi?null:a.gi;this.h.attempt=
|
|
null==a.attempt?null:a.attempt;this.h.scriptUri=null==a.Wf?null:a.Wf;this.h.destinationUris=null==a.bf?null:a.bf};q(rg,E);rg.prototype.i=function(){return{R:{stages:sg},M:{state:Ge},keys:"attempt createTime description destinationUris endTime priority progress scriptUri stages startTime state type updateTime".split(" ")}};
|
|
l.Object.defineProperties(rg.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return G(this,"attempt")?F(this,"attempt"):null},set:function(a){this.h.attempt=a}},Ze:{configurable:!0,enumerable:!0,get:function(){return G(this,"createTime")?F(this,"createTime"):null},set:function(a){this.h.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},bf:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"destinationUris")?F(this,"destinationUris"):null},set:function(a){this.h.destinationUris=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.h.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.h.priority=a}},progress:{configurable:!0,enumerable:!0,get:function(){return G(this,"progress")?F(this,"progress"):
|
|
null},set:function(a){this.h.progress=a}},Wf:{configurable:!0,enumerable:!0,get:function(){return G(this,"scriptUri")?F(this,"scriptUri"):null},set:function(a){this.h.scriptUri=a}},gi:{configurable:!0,enumerable:!0,get:function(){return G(this,"stages")?F(this,"stages"):null},set:function(a){this.h.stages=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"state")?F(this,"state"):null},set:function(a){this.h.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}},Qa:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});
|
|
var sg=function(a){a=void 0===a?{}:a;this.h={};this.h.displayName=null==a.displayName?null:a.displayName;this.h.completeWorkUnits=null==a.Ig?null:a.Ig;this.h.totalWorkUnits=null==a.ti?null:a.ti;this.h.description=null==a.description?null:a.description};q(sg,E);sg.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
|
|
l.Object.defineProperties(sg.prototype,{Ig:{configurable:!0,enumerable:!0,get:function(){return G(this,"completeWorkUnits")?F(this,"completeWorkUnits"):null},set:function(a){this.h.completeWorkUnits=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},displayName:{configurable:!0,enumerable:!0,get:function(){return G(this,"displayName")?F(this,"displayName"):null},set:function(a){this.h.displayName=
|
|
a}},ti:{configurable:!0,enumerable:!0,get:function(){return G(this,"totalWorkUnits")?F(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var Yf=function(a){a=void 0===a?{}:a;this.h={};this.h.precision=null==a.precision?null:a.precision;this.h.range=null==a.ld?null:a.ld;this.h.dimensionsCount=null==a.Xg?null:a.Xg};q(Yf,E);Yf.prototype.i=function(){return{M:{precision:He},keys:["dimensionsCount","precision","range"],u:{range:of}}};
|
|
l.Object.defineProperties(Yf.prototype,{Xg:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensionsCount")?F(this,"dimensionsCount"):null},set:function(a){this.h.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return G(this,"precision")?F(this,"precision"):null},set:function(a){this.h.precision=a}},ld:{configurable:!0,enumerable:!0,get:function(){return G(this,"range")?F(this,"range"):null},set:function(a){this.h.range=a}}});
|
|
var eg=function(a){a=void 0===a?{}:a;this.h={};this.h.points=null==a.Sh?null:a.Sh;this.h.bandId=null==a.wg?null:a.wg};q(eg,E);eg.prototype.i=function(){return{R:{points:Vf},keys:["bandId","points"]}};l.Object.defineProperties(eg.prototype,{wg:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandId")?F(this,"bandId"):null},set:function(a){this.h.bandId=a}},Sh:{configurable:!0,enumerable:!0,get:function(){return G(this,"points")?F(this,"points"):null},set:function(a){this.h.points=a}}});
|
|
var Df=function(a){a=void 0===a?{}:a;this.h={};this.h.crsCode=null==a.$e?null:a.$e;this.h.crsWkt=null==a.Og?null:a.Og;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.affineTransform=null==a.Rb?null:a.Rb};q(Df,E);Df.prototype.i=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],u:{affineTransform:Qe,dimensions:Sf}}};
|
|
l.Object.defineProperties(Df.prototype,{Rb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},$e:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsCode")?F(this,"crsCode"):null},set:function(a){this.h.crsCode=a}},Og:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsWkt")?F(this,"crsWkt"):null},set:function(a){this.h.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}}});var tg=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.zd?null:a.zd;this.h.auditConfigs=null==a.tg?null:a.tg;this.h.rules=null==a.rules?null:a.rules;this.h.etag=null==a.ef?null:a.ef;this.h.iamOwned=null==a.oh?null:a.oh};q(tg,E);tg.prototype.i=function(){return{R:{auditConfigs:Ve,bindings:Ye,rules:ug},keys:"auditConfigs bindings etag iamOwned rules version".split(" ")}};
|
|
l.Object.defineProperties(tg.prototype,{tg:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditConfigs")?F(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},zd:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindings")?F(this,"bindings"):null},set:function(a){this.h.bindings=a}},ef:{configurable:!0,enumerable:!0,get:function(){return G(this,"etag")?F(this,"etag"):null},set:function(a){this.h.etag=a}},oh:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"iamOwned")?F(this,"iamOwned"):null},set:function(a){this.h.iamOwned=a}},rules:{configurable:!0,enumerable:!0,get:function(){return G(this,"rules")?F(this,"rules"):null},set:function(a){this.h.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?F(this,"version"):null},set:function(a){this.h.version=a}}});
|
|
var ug=function(a){a=void 0===a?{}:a;this.h={};this.h.description=null==a.description?null:a.description;this.h.permissions=null==a.permissions?null:a.permissions;this.h.action=null==a.action?null:a.action;this.h["in"]=null==a.th?null:a.th;this.h.notIn=null==a.Kh?null:a.Kh;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.Ch?null:a.Ch};q(ug,E);ug.prototype.i=function(){return{R:{conditions:hf,logConfig:og},M:{action:Ie},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
l.Object.defineProperties(ug.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return G(this,"action")?F(this,"action"):null},set:function(a){this.h.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return G(this,"conditions")?F(this,"conditions"):null},set:function(a){this.h.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},th:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"in")?F(this,"in"):null},set:function(a){this.h["in"]=a}},Ch:{configurable:!0,enumerable:!0,get:function(){return G(this,"logConfig")?F(this,"logConfig"):null},set:function(a){this.h.logConfig=a}},Kh:{configurable:!0,enumerable:!0,get:function(){return G(this,"notIn")?F(this,"notIn"):null},set:function(a){this.h.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.h.permissions=
|
|
a}}});var vg=function(a){a=void 0===a?{}:a;this.h={};this.h.policy=null==a.Lf?null:a.Lf;this.h.updateMask=null==a.Jc?null:a.Jc};q(vg,E);vg.prototype.i=function(){return{keys:["policy","updateMask"],u:{policy:tg}}};
|
|
l.Object.defineProperties(vg.prototype,{Lf:{configurable:!0,enumerable:!0,get:function(){return G(this,"policy")?F(this,"policy"):null},set:function(a){this.h.policy=a}},Jc:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});var qg=function(a){a=void 0===a?{}:a;this.h={};this.h.code=null==a.code?null:a.code;this.h.message=null==a.message?null:a.message;this.h.details=null==a.details?null:a.details};q(qg,E);
|
|
qg.prototype.i=function(){return{keys:["code","details","message"],Da:{details:{ja:null,pa:!0,qa:!1,ra:!1}}}};
|
|
l.Object.defineProperties(qg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return G(this,"code")?F(this,"code"):null},set:function(a){this.h.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return G(this,"details")?F(this,"details"):null},set:function(a){this.h.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return G(this,"message")?F(this,"message"):null},set:function(a){this.h.message=a}}});
|
|
var wg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.D?null:a.D;this.h.selectors=null==a.selectors?null:a.selectors;this.h.filename=null==a.filename?null:a.filename};q(wg,E);wg.prototype.i=function(){return{M:{fileFormat:Ke},keys:["expression","fileFormat","filename","name","selectors"],u:{expression:ff}}};
|
|
l.Object.defineProperties(wg.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},D:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return G(this,"filename")?F(this,"filename"):null},set:function(a){this.h.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return G(this,"selectors")?F(this,"selectors"):null},set:function(a){this.h.selectors=a}}});var Hf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Vb?null:a.Vb};q(Hf,E);Hf.prototype.i=function(){return{keys:["earthEngineDestination"],u:{earthEngineDestination:wf}}};
|
|
l.Object.defineProperties(Hf.prototype,{Vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var If=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.ka?null:a.ka;this.h.cloudStorageDestination=null==a.xb?null:a.xb;this.h.gcsDestination=null==a.na?null:a.na;this.h.fileFormat=null==a.D?null:a.D};q(If,E);
|
|
If.prototype.i=function(){return{M:{fileFormat:Je},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],u:{cloudStorageDestination:cf,driveDestination:pf,gcsDestination:Qf}}};
|
|
l.Object.defineProperties(If.prototype,{xb:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},ka:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},D:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},na:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}}});var ig=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.sd?null:a.sd;this.h.sources=null==a.sources?null:a.sources;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime};q(ig,E);
|
|
ig.prototype.i=function(){return{R:{sources:xg},keys:"endTime name properties sources startTime uriPrefix".split(" "),Da:{properties:{ja:null,pa:!1,qa:!1,ra:!1}}}};
|
|
l.Object.defineProperties(ig.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.h.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sources")?F(this,"sources"):null},set:function(a){this.h.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},sd:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var xg=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.ya?null:a.ya;this.h.charset=null==a.charset?null:a.charset;this.h.maxErrorMeters=null==a.Zb?null:a.Zb;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices;this.h.crs=null==a.crs?null:a.crs;this.h.geodesic=null==a.geodesic?null:a.geodesic;this.h.primaryGeometryColumn=null==a.Th?null:a.Th;this.h.xColumn=null==a.vi?null:a.vi;this.h.yColumn=null==a.wi?null:a.wi;this.h.dateFormat=null==a.Ug?null:a.Ug;this.h.csvDelimiter=null==a.Pg?
|
|
null:a.Pg;this.h.csvQualifier=null==a.Qg?null:a.Qg};q(xg,E);xg.prototype.i=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
l.Object.defineProperties(xg.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return G(this,"charset")?F(this,"charset"):null},set:function(a){this.h.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?F(this,"crs"):null},set:function(a){this.h.crs=a}},Pg:{configurable:!0,enumerable:!0,get:function(){return G(this,"csvDelimiter")?F(this,"csvDelimiter"):null},set:function(a){this.h.csvDelimiter=a}},Qg:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"csvQualifier")?F(this,"csvQualifier"):null},set:function(a){this.h.csvQualifier=a}},Ug:{configurable:!0,enumerable:!0,get:function(){return G(this,"dateFormat")?F(this,"dateFormat"):null},set:function(a){this.h.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return G(this,"geodesic")?F(this,"geodesic"):null},set:function(a){this.h.geodesic=a}},Zb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},Th:{configurable:!0,enumerable:!0,get:function(){return G(this,"primaryGeometryColumn")?F(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},ya:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}},vi:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"xColumn")?F(this,"xColumn"):null},set:function(a){this.h.xColumn=a}},wi:{configurable:!0,enumerable:!0,get:function(){return G(this,"yColumn")?F(this,"yColumn"):null},set:function(a){this.h.yColumn=a}}});
|
|
var $f=function(a){a=void 0===a?{}:a;this.h={};this.h.tileDimensions=null==a.Pa?null:a.Pa;this.h.marginDimensions=null==a.Cf?null:a.Cf;this.h.compress=null==a.Ve?null:a.Ve;this.h.maxSizeBytes=null==a.$b?null:a.$b;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue;this.h.tensorDepths=null==a.ge?null:a.ge;this.h.sequenceData=null==a.Xf?null:a.Xf;this.h.collapseBands=null==a.Te?null:a.Te;this.h.maxMaskedRatio=null==a.Ff?null:a.Ff};q($f,E);
|
|
$f.prototype.i=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),Da:{tensorDepths:{ja:null,pa:!1,qa:!1,ra:!1}},u:{marginDimensions:Sf,tileDimensions:Sf}}};
|
|
l.Object.defineProperties($f.prototype,{Te:{configurable:!0,enumerable:!0,get:function(){return G(this,"collapseBands")?F(this,"collapseBands"):null},set:function(a){this.h.collapseBands=a}},Ve:{configurable:!0,enumerable:!0,get:function(){return G(this,"compress")?F(this,"compress"):null},set:function(a){this.h.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},Cf:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"marginDimensions")?F(this,"marginDimensions"):null},set:function(a){this.h.marginDimensions=a}},Ff:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxMaskedRatio")?F(this,"maxMaskedRatio"):null},set:function(a){this.h.maxMaskedRatio=a}},$b:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sequenceData")?F(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},ge:{configurable:!0,enumerable:!0,get:function(){return G(this,"tensorDepths")?F(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
|
|
var yg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.D?null:a.D;this.h.bandIds=null==a.ea?null:a.ea;this.h.visualizationOptions=null==a.kc?null:a.kc;this.h.grid=null==a.N?null:a.N;this.h.filenamePrefix=null==a.ga?null:a.ga};q(yg,E);yg.prototype.i=function(){return{M:{fileFormat:Le},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),u:{expression:ff,grid:Df,visualizationOptions:yf}}};
|
|
l.Object.defineProperties(yg.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},D:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},ga:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},N:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},kc:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=
|
|
a}}});
|
|
var Ff=function(a){a=void 0===a?{}:a;this.h={};this.h.endZoom=null==a.Zg?null:a.Zg;this.h.maxZoom=null==a.maxZoom?null:a.maxZoom;this.h.scale=null==a.scale?null:a.scale;this.h.startZoom=null==a.hi?null:a.hi;this.h.minZoom=null==a.minZoom?null:a.minZoom;this.h.skipEmpty=null==a.ei?null:a.ei;this.h.skipEmptyTiles=null==a.cg?null:a.cg;this.h.mapsApiKey=null==a.Bf?null:a.Bf;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.tileDimensions=null==a.Pa?null:a.Pa;this.h.stride=null==a.dg?null:
|
|
a.dg;this.h.zoomSubset=null==a.og?null:a.og};q(Ff,E);Ff.prototype.i=function(){return{keys:"dimensions endZoom mapsApiKey maxZoom minZoom scale skipEmpty skipEmptyTiles startZoom stride tileDimensions zoomSubset".split(" "),u:{dimensions:Sf,tileDimensions:Sf,zoomSubset:zg}}};
|
|
l.Object.defineProperties(Ff.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},Zg:{configurable:!0,enumerable:!0,get:function(){return G(this,"endZoom")?F(this,"endZoom"):null},set:function(a){this.h.endZoom=a}},Bf:{configurable:!0,enumerable:!0,get:function(){return G(this,"mapsApiKey")?F(this,"mapsApiKey"):null},set:function(a){this.h.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"maxZoom")?F(this,"maxZoom"):null},set:function(a){this.h.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return G(this,"minZoom")?F(this,"minZoom"):null},set:function(a){this.h.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return G(this,"scale")?F(this,"scale"):null},set:function(a){this.h.scale=a}},ei:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmpty")?F(this,"skipEmpty"):null},set:function(a){this.h.skipEmpty=
|
|
a}},cg:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyTiles")?F(this,"skipEmptyTiles"):null},set:function(a){this.h.skipEmptyTiles=a}},hi:{configurable:!0,enumerable:!0,get:function(){return G(this,"startZoom")?F(this,"startZoom"):null},set:function(a){this.h.startZoom=a}},dg:{configurable:!0,enumerable:!0,get:function(){return G(this,"stride")?F(this,"stride"):null},set:function(a){this.h.stride=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?
|
|
F(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},og:{configurable:!0,enumerable:!0,get:function(){return G(this,"zoomSubset")?F(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});
|
|
var dg=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.sources=null==a.sources?null:a.sources;this.h.dataType=null==a.dataType?null:a.dataType;this.h.crs=null==a.crs?null:a.crs;this.h.subdatasetPrefix=null==a.ji?null:a.ji;this.h.subdatasetSuffix=null==a.ki?null:a.ki};q(dg,E);dg.prototype.i=function(){return{R:{sources:fg},M:{dataType:Ne},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
l.Object.defineProperties(dg.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?F(this,"crs"):null},set:function(a){this.h.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.h.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?
|
|
F(this,"sources"):null},set:function(a){this.h.sources=a}},ji:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetPrefix")?F(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},ki:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetSuffix")?F(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
|
|
var bg=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.tilesetId=null==a.Hc?null:a.Hc;this.h.tilesetBandIndex=null==a.oi?null:a.oi;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(bg,E);bg.prototype.i=function(){return{M:{pyramidingPolicy:Me},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],u:{missingData:Zf}}};
|
|
l.Object.defineProperties(bg.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},oi:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?F(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},Hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var cg=function(a){a=void 0===a?{}:a;this.h={};this.h.tilesetId=null==a.Hc?null:a.Hc;this.h.bandIds=null==a.ea?null:a.ea};q(cg,E);cg.prototype.i=function(){return{keys:["bandIds","tilesetId"]}};
|
|
l.Object.defineProperties(cg.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var uf=function(a){a=void 0===a?{}:a;this.h={};this.h.sources=null==a.sources?null:a.sources;this.h.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(uf,E);
|
|
uf.prototype.i=function(){return{R:{sources:Ag},keys:["pathPrefix","sources"]}};l.Object.defineProperties(uf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathPrefix")?F(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?F(this,"sources"):null},set:function(a){this.h.sources=a}}});
|
|
var vf=function(a){a=void 0===a?{}:a;this.h={};this.h.sources=null==a.sources?null:a.sources;this.h.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(vf,E);vf.prototype.i=function(){return{R:{sources:Ag},keys:["pathPrefix","sources"]}};
|
|
l.Object.defineProperties(vf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathPrefix")?F(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?F(this,"sources"):null},set:function(a){this.h.sources=a}}});var Ag=function(a){a=void 0===a?{}:a;this.h={};this.h.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.h.headerSizeBytes=null==a.mh?null:a.mh};q(Ag,E);
|
|
Ag.prototype.i=function(){return{keys:["headerSizeBytes","pathSuffix"]}};l.Object.defineProperties(Ag.prototype,{mh:{configurable:!0,enumerable:!0,get:function(){return G(this,"headerSizeBytes")?F(this,"headerSizeBytes"):null},set:function(a){this.h.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathSuffix")?F(this,"pathSuffix"):null},set:function(a){this.h.pathSuffix=a}}});
|
|
var Xf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.ah?null:a.ah;this.h.firstTileIndex=null==a.dh?null:a.dh;this.h.tilesPerFile=null==a.ni?null:a.ni};q(Xf,E);Xf.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
l.Object.defineProperties(Xf.prototype,{ah:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileIndexes")?F(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},dh:{configurable:!0,enumerable:!0,get:function(){return G(this,"firstTileIndex")?F(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},ni:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesPerFile")?F(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
|
|
var Bg=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Oe?null:a.Oe;this.h.updateMask=null==a.Jc?null:a.Jc};q(Bg,E);Bg.prototype.i=function(){return{keys:["asset","updateMask"],u:{asset:qf}}};
|
|
l.Object.defineProperties(Bg.prototype,{Oe:{configurable:!0,enumerable:!0,get:function(){return G(this,"asset")?F(this,"asset"):null},set:function(a){this.h.asset=a}},Jc:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});
|
|
var Ue=function(a){a=void 0===a?{}:a;this.h={};this.h.constantValue=null==a.mb?null:a.mb;this.h.integerValue=null==a.Yb?null:a.Yb;this.h.bytesValue=null==a.wb?null:a.wb;this.h.arrayValue=null==a.Ha?null:a.Ha;this.h.dictionaryValue=null==a.Ia?null:a.Ia;this.h.functionDefinitionValue=null==a.Xa?null:a.Xa;this.h.functionInvocationValue=null==a.Aa?null:a.Aa;this.h.argumentReference=null==a.Sb?null:a.Sb;this.h.valueReference=null==a.Ra?null:a.Ra};q(Ue,E);
|
|
Ue.prototype.i=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),u:{arrayValue:Te,dictionaryValue:nf,functionDefinitionValue:Of,functionInvocationValue:Pf}}};
|
|
l.Object.defineProperties(Ue.prototype,{Sb:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentReference")?F(this,"argumentReference"):null},set:function(a){this.h.argumentReference=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"arrayValue")?F(this,"arrayValue"):null},set:function(a){this.h.arrayValue=a}},wb:{configurable:!0,enumerable:!0,get:function(){return G(this,"bytesValue")?F(this,"bytesValue"):null},set:function(a){this.h.bytesValue=a}},mb:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"constantValue")?F(this,"constantValue"):null},set:function(a){this.h.constantValue=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"dictionaryValue")?F(this,"dictionaryValue"):null},set:function(a){this.h.dictionaryValue=a}},Xa:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionDefinitionValue")?F(this,"functionDefinitionValue"):null},set:function(a){this.h.functionDefinitionValue=a}},Aa:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"functionInvocationValue")?F(this,"functionInvocationValue"):null},set:function(a){this.h.functionInvocationValue=a}},Yb:{configurable:!0,enumerable:!0,get:function(){return G(this,"integerValue")?F(this,"integerValue"):null},set:function(a){this.h.integerValue=a}},Ra:{configurable:!0,enumerable:!0,get:function(){return G(this,"valueReference")?F(this,"valueReference"):null},set:function(a){this.h.valueReference=a}}});
|
|
var Kf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.ka?null:a.ka;this.h.cloudStorageDestination=null==a.xb?null:a.xb;this.h.gcsDestination=null==a.na?null:a.na;this.h.fileFormat=null==a.D?null:a.D};q(Kf,E);Kf.prototype.i=function(){return{M:{fileFormat:Oe},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],u:{cloudStorageDestination:cf,driveDestination:pf,gcsDestination:Qf}}};
|
|
l.Object.defineProperties(Kf.prototype,{xb:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},ka:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},D:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},na:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}}});var Lf=function(a){a=void 0===a?{}:a;this.h={};this.h.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.h.maxFrames=null==a.maxFrames?null:a.maxFrames;this.h.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};q(Lf,E);Lf.prototype.i=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
l.Object.defineProperties(Lf.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return G(this,"framesPerSecond")?F(this,"framesPerSecond"):null},set:function(a){this.h.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxFrames")?F(this,"maxFrames"):null},set:function(a){this.h.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixelsPerFrame")?F(this,"maxPixelsPerFrame"):null},set:function(a){this.h.maxPixelsPerFrame=
|
|
a}}});var Cg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.videoOptions=null==a.Sa?null:a.Sa;this.h.fileFormat=null==a.D?null:a.D;this.h.grid=null==a.N?null:a.N};q(Cg,E);Cg.prototype.i=function(){return{M:{fileFormat:Pe},keys:["expression","fileFormat","grid","name","videoOptions"],u:{expression:ff,grid:Df,videoOptions:Lf}}};
|
|
l.Object.defineProperties(Cg.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},D:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},N:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var yf=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Pf?null:a.Pf;this.h.paletteColors=null==a.jd?null:a.jd;this.h.gamma=null==a.gamma?null:a.gamma;this.h.opacity=null==a.opacity?null:a.opacity};q(yf,E);
|
|
yf.prototype.i=function(){return{R:{ranges:of},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
l.Object.defineProperties(yf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return G(this,"gamma")?F(this,"gamma"):null},set:function(a){this.h.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return G(this,"opacity")?F(this,"opacity"):null},set:function(a){this.h.opacity=a}},jd:{configurable:!0,enumerable:!0,get:function(){return G(this,"paletteColors")?F(this,"paletteColors"):null},set:function(a){this.h.paletteColors=a}},Pf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"ranges")?F(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var zg=function(a){a=void 0===a?{}:a;this.h={};this.h.start=null==a.start?null:a.start;this.h.end=null==a.end?null:a.end;this.h.min=null==a.min?null:a.min;this.h.max=null==a.max?null:a.max};q(zg,E);zg.prototype.i=function(){return{keys:["end","max","min","start"]}};
|
|
l.Object.defineProperties(zg.prototype,{end:{configurable:!0,enumerable:!0,get:function(){return G(this,"end")?F(this,"end"):null},set:function(a){this.h.end=a}},max:{configurable:!0,enumerable:!0,get:function(){return G(this,"max")?F(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return G(this,"min")?F(this,"min"):null},set:function(a){this.h.min=a}},start:{configurable:!0,enumerable:!0,get:function(){return G(this,"start")?F(this,"start"):null},
|
|
set:function(a){this.h.start=a}}});var he={$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"},Dg=function(a){this.m="v1alpha";this.j=new ke(a,null)};
|
|
Dg.prototype.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:null,A:"GET",G:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",s:H(b,c),I:jg})};var Eg=function(a){this.m="v1alpha";this.j=new ke(a,null)};
|
|
Eg.prototype.getCapabilities=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:null,A:"GET",G:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",s:H(b,c),I:af})};Eg.prototype.cd=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:null,A:"GET",G:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",s:H(b,c),I:kg})};
|
|
var Fg=function(a){this.m="v1alpha";this.j=new ke(a,null)};k=Fg.prototype;k.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",s:H(c,d),I:qf})};
|
|
k.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,/^projects\/[^/]+\/assets\/.*$/);return I(this.j,{body:null,A:"DELETE",G:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,s:H(b,c),I:zf})};k.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,/^projects\/[^/]+\/assets\/.*$/);return I(this.j,{body:null,A:"GET",G:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,s:H(b,c),I:qf})};
|
|
k.link=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+\/assets\/.*$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.assets.link",path:"/"+this.m+"/"+a+":link",s:H(c,d),I:qf})};k.cd=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,/^projects\/[^/]+\/assets\/.*$/);return I(this.j,{body:null,A:"GET",G:"earthengine.projects.assets.listAssets",path:"/"+this.m+"/"+a+":listAssets",s:H(b,c),I:kg})};
|
|
var Gg=function(a,b,c){c=void 0===c?{}:c;var d=void 0===d?{}:d;a.j.C(b,/^projects\/[^/]+\/assets\/.*$/);return I(a.j,{body:null,A:"GET",G:"earthengine.projects.assets.listImages",path:"/"+a.m+"/"+b+":listImages",s:H(c,d),I:lg})};Fg.prototype.move=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+\/assets\/.*$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.assets.move",path:"/"+this.m+"/"+a+":move",s:H(c,d),I:qf})};
|
|
var Hg=function(a){this.m="v1alpha";this.j=new ke(a,null)};Hg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.m+"/"+a+"/filmstripThumbnails",s:H(c,d),I:Nf})};var Ig=function(a){this.m="v1alpha";this.j=new ke(a,null)};
|
|
Ig.prototype.ob=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.image.export",path:"/"+this.m+"/"+a+"/image:export",s:H(c,d),I:ng})};Ig.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.image.import",path:"/"+this.m+"/"+a+"/image:import",s:H(c,d),I:ng})};
|
|
var Jg=function(a){this.m="v1alpha";this.j=new ke(a,null)};Jg.prototype.ob=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.map.export",path:"/"+this.m+"/"+a+"/map:export",s:H(c,d),I:ng})};var Kg=function(a){this.m="v1alpha";this.j=new ke(a,null)};
|
|
Kg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.maps.create",path:"/"+this.m+"/"+a+"/maps",s:H(c,d),I:xf})};var Lg=function(a){this.m="v1alpha";this.j=new ke(a,null)};k=Lg.prototype;
|
|
k.cancel=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+\/operations\/.*$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.operations.cancel",path:"/"+this.m+"/"+a+":cancel",s:H(c,d),I:zf})};k.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,/^projects\/[^/]+\/operations\/.*$/);return I(this.j,{body:null,A:"DELETE",G:"earthengine.projects.operations.delete",path:"/"+this.m+"/"+a,s:H(b,c),I:zf})};
|
|
k.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,/^projects\/[^/]+\/operations\/.*$/);return I(this.j,{body:null,A:"GET",G:"earthengine.projects.operations.get",path:"/"+this.m+"/"+a,s:H(b,c),I:ng})};k.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:null,A:"GET",G:"earthengine.projects.operations.list",path:"/"+this.m+"/"+a+"/operations",s:H(b,c),I:mg})};
|
|
k.wait=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+\/operations\/.*$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.operations.wait",path:"/"+this.m+"/"+a+":wait",s:H(c,d),I:ng})};var Mg=function(a){this.m="v1alpha";this.j=new ke(a,null)};
|
|
Mg.prototype.ob=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.table.export",path:"/"+this.m+"/"+a+"/table:export",s:H(c,d),I:ng})};Mg.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.table.import",path:"/"+this.m+"/"+a+"/table:import",s:H(c,d),I:ng})};
|
|
var Ng=function(a){this.m="v1alpha";this.j=new ke(a,null)};Ng.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.tables.create",path:"/"+this.m+"/"+a+"/tables",s:H(c,d),I:wg})};var Og=function(a){this.m="v1alpha";this.j=new ke(a,null)};
|
|
Og.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.thumbnails.create",path:"/"+this.m+"/"+a+"/thumbnails",s:H(c,d),I:yg})};
|
|
var Pg=function(a){this.m="v1alpha";this.j=new ke(a,null)},Qg=function(a,b,c){var d=void 0===d?{}:d;var e=void 0===e?{}:e;a.j.C(b,/^projects\/[^/]+$/);return I(a.j,{body:c,A:"POST",G:"earthengine.projects.value.compute",path:"/"+a.m+"/"+b+"/value:compute",s:H(d,e),I:gf})},Rg=function(a){this.m="v1alpha";this.j=new ke(a,null)};
|
|
Rg.prototype.ob=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.video.export",path:"/"+this.m+"/"+a+"/video:export",s:H(c,d),I:ng})};var Sg=function(a){this.m="v1alpha";this.j=new ke(a,null)};
|
|
Sg.prototype.ob=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",s:H(c,d),I:ng})};var Tg=function(a){this.m="v1alpha";this.j=new ke(a,null)};
|
|
Tg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,/^projects\/[^/]+$/);return I(this.j,{body:b,A:"POST",G:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",s:H(c,d),I:Cg})};var Ug=function(){};Ug.prototype.send=function(a,b){ge(a);return(void 0).then(function(c){return b?Fd(b,c):c})};var Vg=function(a,b){this.ck=100;this.Sj=a;this.nk=b;this.Wd=0;this.oa=null};Vg.prototype.get=function(){if(0<this.Wd){this.Wd--;var a=this.oa;this.oa=a.next;a.next=null}else a=this.Sj();return a};Vg.prototype.put=function(a){this.nk(a);this.Wd<this.ck&&(this.Wd++,a.next=this.oa,this.oa=a)};var Wg=!nc||9<=Number(Ac);var Xg=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};k=Xg.prototype;k.clone=function(){return new Xg(this.x,this.y)};k.toString=function(){return"("+this.x+", "+this.y+")"};k.equals=function(a){return a instanceof Xg&&(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 Xg?(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 Yg=function(a,b){this.width=a;this.height=b};k=Yg.prototype;k.clone=function(){return new Yg(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 $g=function(a,b){xb(b,function(c,d){c&&"object"==typeof c&&c.uf&&(c=c.pf());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Zg.hasOwnProperty(d)?a.setAttribute(Zg[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},Zg={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"},bh=function(a,b,c){return ah(document,arguments)},ah=function(a,b){var c=String(b[0]),d=b[1];if(!Wg&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',hc(d.name),'"');if(d.type){c.push(' type="',hc(d.type),'"');var e={};Mb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=ch(a,c);d&&("string"===typeof d?c.className=d:Array.isArray(d)?c.className=d.join(" "):$g(c,d));2<b.length&&dh(a,c,b,2);return c},dh=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("function"===typeof f){g="function"==typeof f.item;break a}}g=!1}Sa(g?eb(f):f,e)}}},ch=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},eh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},fh=function(a){A(a,"Node cannot be null or undefined.");
|
|
return 9==a.nodeType?a:a.ownerDocument||a.document},gh=function(a){this.Ed=a||r.document||document};k=gh.prototype;k.getElementsByTagName=function(a,b){return(b||this.Ed).getElementsByTagName(String(a))};k.Rj=function(a,b,c){return ah(this.Ed,arguments)};k.createElement=function(a){return ch(this.Ed,a)};k.createTextNode=function(a){return this.Ed.createTextNode(String(a))};k.appendChild=function(a,b){A(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};
|
|
k.append=function(a,b){dh(fh(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=eh;
|
|
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 hh=function(a){r.setTimeout(function(){throw a;},0)},ih,jh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!wb("Presto")&&(a=function(){var e=ch(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&&!wb("Trident")&&!wb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Fg;c.Fg=null;e()}};return function(e){d.next={Fg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};var kh=function(){this.re=this.lc=null};kh.prototype.add=function(a,b){var c=lh.get();c.set(a,b);this.re?this.re.next=c:(A(!this.lc),this.lc=c);this.re=c};kh.prototype.remove=function(){var a=null;this.lc&&(a=this.lc,this.lc=this.lc.next,this.lc||(this.re=null),a.next=null);return a};var lh=new Vg(function(){return new mh},function(a){return a.reset()}),mh=function(){this.next=this.scope=this.jf=null};mh.prototype.set=function(a,b){this.jf=a;this.scope=b;this.next=null};
|
|
mh.prototype.reset=function(){this.next=this.scope=this.jf=null};var rh=function(a,b){nh||oh();ph||(nh(),ph=!0);qh.add(a,b)},nh,oh=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);nh=function(){a.then(sh)}}else nh=function(){var b=sh;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&!wb("Edge")&&r.Window.prototype.setImmediate==r.setImmediate?(ih||(ih=jh()),ih(b)):r.setImmediate(b)}},ph=!1,qh=new kh,sh=function(){for(var a;a=qh.remove();){try{a.jf.call(a.scope)}catch(b){hh(b)}lh.put(a)}ph=!1};var th=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var wh=function(a){this.V=0;this.ia=void 0;this.rc=this.lb=this.ba=null;this.Md=this.ff=!1;if(a!=va)try{var b=this;a.call(void 0,function(c){uh(b,2,c)},function(c){if(!(c instanceof vh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}uh(b,3,c)})}catch(c){uh(this,3,c)}},xh=function(){this.next=this.context=this.zc=this.bc=this.Tb=null;this.wd=!1};xh.prototype.reset=function(){this.context=this.zc=this.bc=this.Tb=null;this.wd=!1};
|
|
var yh=new Vg(function(){return new xh},function(a){a.reset()}),zh=function(a,b,c){var d=yh.get();d.bc=a;d.zc=b;d.context=c;return d};wh.prototype.then=function(a,b,c){null!=a&&Oa(a,"opt_onFulfilled should be a function.");null!=b&&Oa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Ah(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};wh.prototype.$goog_Thenable=!0;
|
|
wh.prototype.cancel=function(a){if(0==this.V){var b=new vh(a);rh(function(){Bh(this,b)},this)}};
|
|
var Bh=function(a,b){if(0==a.V)if(a.ba){var c=a.ba;if(c.lb){for(var d=0,e=null,f=null,g=c.lb;g&&(g.wd||(d++,g.Tb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.V&&1==d?Bh(c,b):(f?(d=f,A(c.lb),A(null!=d),d.next==c.rc&&(c.rc=d),d.next=d.next.next):Ch(c),Dh(c,e,3,b)))}a.ba=null}else uh(a,3,b)},Fh=function(a,b){a.lb||2!=a.V&&3!=a.V||Eh(a);A(null!=b.bc);a.rc?a.rc.next=b:a.lb=b;a.rc=b},Ah=function(a,b,c,d){var e=zh(null,null,null);e.Tb=new wh(function(f,g){e.bc=b?function(h){try{var n=b.call(d,h);f(n)}catch(p){g(p)}}:
|
|
f;e.zc=c?function(h){try{var n=c.call(d,h);void 0===n&&h instanceof vh?g(h):f(n)}catch(p){g(p)}}:g});e.Tb.ba=a;Fh(a,e);return e.Tb};wh.prototype.yk=function(a){A(1==this.V);this.V=0;uh(this,2,a)};wh.prototype.zk=function(a){A(1==this.V);this.V=0;uh(this,3,a)};
|
|
var uh=function(a,b,c){if(0==a.V){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.V=1;a:{var d=c,e=a.yk,f=a.zk;if(d instanceof wh){null!=e&&Oa(e,"opt_onFulfilled should be a function.");null!=f&&Oa(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Fh(d,zh(e||va,f||null,a));var g=!0}else if(th(d))d.then(e,f,a),g=!0;else{if(u(d))try{var h=d.then;if("function"===typeof h){Gh(d,h,e,f,a);g=!0;break a}}catch(n){f.call(a,n);
|
|
g=!0;break a}g=!1}}g||(a.ia=c,a.V=b,a.ba=null,Eh(a),3!=b||c instanceof vh||Hh(a,c))}},Gh=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)}},Eh=function(a){a.ff||(a.ff=!0,rh(a.Vj,a))},Ch=function(a){var b=null;a.lb&&(b=a.lb,a.lb=b.next,b.next=null);a.lb||(a.rc=null);null!=b&&A(null!=b.bc);return b};wh.prototype.Vj=function(){for(var a;a=Ch(this);)Dh(this,a,this.V,this.ia);this.ff=!1};
|
|
var Dh=function(a,b,c,d){if(3==c&&b.zc&&!b.wd)for(;a&&a.Md;a=a.ba)a.Md=!1;if(b.Tb)b.Tb.ba=null,Ih(b,c,d);else try{b.wd?b.bc.call(b.context):Ih(b,c,d)}catch(e){Jh.call(null,e)}yh.put(b)},Ih=function(a,b,c){2==b?a.bc.call(a.context,c):a.zc&&a.zc.call(a.context,c)},Hh=function(a,b){a.Md=!0;rh(function(){a.Md&&Jh.call(null,b)})},Jh=hh,vh=function(a){Ha.call(this,a)};x(vh,Ha);vh.prototype.name="cancel";var Kh=function(a,b){B.call(this);this.Cb=a||1;this.qd=b||r;this.Ag=v(this.xk,this);this.Ah=Date.now()};x(Kh,B);k=Kh.prototype;k.enabled=!1;k.Y=null;k.setInterval=function(a){this.Cb=a;this.Y&&this.enabled?(this.stop(),this.start()):this.Y&&this.stop()};k.xk=function(){if(this.enabled){var a=Date.now()-this.Ah;0<a&&a<.8*this.Cb?this.Y=this.qd.setTimeout(this.Ag,this.Cb-a):(this.Y&&(this.qd.clearTimeout(this.Y),this.Y=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
|
|
k.start=function(){this.enabled=!0;this.Y||(this.Y=this.qd.setTimeout(this.Ag,this.Cb),this.Ah=Date.now())};k.stop=function(){this.enabled=!1;this.Y&&(this.qd.clearTimeout(this.Y),this.Y=null)};k.B=function(){Kh.K.B.call(this);this.stop();delete this.qd};var Lh=function(a,b,c){if("function"===typeof 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 Mh=function(a,b,c){y.call(this);this.fd=null!=c?a.bind(c):a;this.Cb=b;this.xd=null;this.Gc=!1;this.kd=0;this.Y=null};q(Mh,y);k=Mh.prototype;k.Id=function(a){this.xd=arguments;this.Y||this.kd?this.Gc=!0:this.uc()};k.stop=function(){this.Y&&(r.clearTimeout(this.Y),this.Y=null,this.Gc=!1,this.xd=null)};k.pause=function(){this.kd++};k.resume=function(){this.kd--;this.kd||!this.Gc||this.Y||(this.Gc=!1,this.uc())};k.B=function(){y.prototype.B.call(this);this.stop()};
|
|
k.uc=function(){var a=this;this.Y=Lh(function(){a.Y=null;a.Gc&&!a.kd&&(a.Gc=!1,a.uc())},this.Cb);var b=this.xd;this.xd=null;this.fd.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 Oh=function(a){var b=Nh;this.be=[];this.Lh=b;this.Vg=a||null;this.Zc=this.wc=!1;this.ia=void 0;this.ag=this.yg=this.Qe=!1;this.me=0;this.ba=null;this.Re=0};Oh.prototype.cancel=function(a){if(this.wc)this.ia instanceof Oh&&this.ia.cancel();else{if(this.ba){var b=this.ba;delete this.ba;a?b.cancel(a):(b.Re--,0>=b.Re&&b.cancel())}this.Lh?this.Lh.call(this.Vg,this):this.ag=!0;this.wc||Ph(this,new Qh(this))}};Oh.prototype.Kg=function(a,b){this.Qe=!1;Rh(this,a,b)};
|
|
var Rh=function(a,b,c){a.wc=!0;a.ia=c;a.Zc=!b;Sh(a)},Uh=function(a){if(a.wc){if(!a.ag)throw new Th(a);a.ag=!1}};Oh.prototype.callback=function(a){Uh(this);Vh(a);Rh(this,!0,a)};var Ph=function(a,b){Uh(a);Vh(b);Rh(a,!1,b)},Vh=function(a){A(!(a instanceof Oh),"An execution sequence may not be initiated with a blocking Deferred.")},Wh=function(a,b,c){A(!a.yg,"Blocking Deferreds can not be re-used");a.be.push([b,c,void 0]);a.wc&&Sh(a)};
|
|
Oh.prototype.then=function(a,b,c){var d,e,f=new wh(function(g,h){d=g;e=h});Wh(this,d,function(g){g instanceof Qh?f.cancel():e(g)});return f.then(a,b,c)};Oh.prototype.$goog_Thenable=!0;
|
|
var Xh=function(a){return Va(a.be,function(b){return"function"===typeof b[1]})},Sh=function(a){if(a.me&&a.wc&&Xh(a)){var b=a.me,c=Yh[b];c&&(r.clearTimeout(c.T),delete Yh[b]);a.me=0}a.ba&&(a.ba.Re--,delete a.ba);b=a.ia;for(var d=c=!1;a.be.length&&!a.Qe;){var e=a.be.shift(),f=e[0],g=e[1];e=e[2];if(f=a.Zc?g:f)try{var h=f.call(e||a.Vg,b);void 0!==h&&(a.Zc=a.Zc&&(h==b||h instanceof Error),a.ia=b=h);if(th(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Qe=!0}catch(n){b=n,a.Zc=!0,Xh(a)||
|
|
(c=!0)}}a.ia=b;d&&(h=v(a.Kg,a,!0),d=v(a.Kg,a,!1),b instanceof Oh?(Wh(b,h,d),b.yg=!0):b.then(h,d));c&&(b=new Zh(b),Yh[b.T]=b,a.me=b.T)},Th=function(){Ha.call(this)};x(Th,Ha);Th.prototype.message="Deferred has already fired";Th.prototype.name="AlreadyCalledError";var Qh=function(){Ha.call(this)};x(Qh,Ha);Qh.prototype.message="Deferred was canceled";Qh.prototype.name="CanceledError";var Zh=function(a){this.T=r.setTimeout(v(this.wk,this),0);this.Hd=a};
|
|
Zh.prototype.wk=function(){A(Yh[this.T],"Cannot throw an error that is not scheduled.");delete Yh[this.T];throw this.Hd;};var Yh={};var ci=function(a){var b={},c=b.document||document,d=Vb(a).toString(),e=ch(document,"SCRIPT"),f={bi:e,pd:void 0},g=new Oh(f),h=null,n=null!=b.timeout?b.timeout:5E3;0<n&&(h=window.setTimeout(function(){$h(e,!0);Ph(g,new ai(1,"Timeout reached for loading script "+d))},n),f.pd=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||($h(e,b.Gk||!1,h),g.callback(null))};e.onerror=function(){$h(e,!0,h);Ph(g,new ai(0,"Error while loading script "+d))};
|
|
f=b.attributes||{};Mb(f,{type:"text/javascript",charset:"UTF-8"});$g(e,f);fc(e,a);bi(c).appendChild(e)},bi=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},Nh=function(){if(this&&this.bi){var a=this.bi;a&&"SCRIPT"==a.tagName&&$h(a,!0,this.pd)}},$h=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=va;a.onerror=va;a.onreadystatechange=va;b&&window.setTimeout(function(){eh(a)},0)},ai=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=
|
|
": "+b);Ha.call(this,c);this.code=a};x(ai,Ha);var di=function(){this.$d=void 0};di.prototype.xa=function(a){var b=[];ei(this,a,b);return b.join("")};
|
|
var ei=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],ei(a,a.$d?a.$d.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),fi(d,c),c.push(":"),ei(a,a.$d?a.$d.call(b,d,e):e,c),f=","));c.push("}");
|
|
return}}switch(typeof b){case "string":fi(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);}}},gi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},hi=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,fi=function(a,b){b.push('"',a.replace(hi,function(c){var d=gi[c];
|
|
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),gi[c]=d);return d}),'"')};var ii=function(a,b){this.name=a;this.value=b};ii.prototype.toString=function(){return this.name};var ji=new ii("OFF",Infinity),ki=new ii("SEVERE",1E3),li=new ii("CONFIG",700),mi=new ii("FINE",500),ni=function(){this.Cd=0;this.clear()},oi;ni.prototype.clear=function(){this.vb=Array(this.Cd);this.Rg=-1;this.vh=!1};var pi=function(a,b,c){this.reset(a||ji,b,c,void 0,void 0)};pi.prototype.reset=function(){};
|
|
var qi=function(a,b){this.level=null;this.Zj=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.ek={mf:function(){return a}}},ri=function(a){if(a.level)return a.level;if(a.parent)return ri(a.parent);La("Root logger has no level set.");return ji},si=function(a,b){for(;a;)a.Zj.forEach(function(c){c(b)}),a=a.parent},ti=function(){this.entries={};var a=new qi("");a.level=li;this.entries[""]=a},ui,vi=function(a,b,c){var d=a.entries[b];if(d)return void 0!==c&&(d.level=c),d;d=vi(a,b.substr(0,
|
|
b.lastIndexOf(".")));var e=new qi(b,d);a.entries[b]=e;d.children.push(e);void 0!==c&&(e.level=c);return e},wi=function(){ui||(ui=new ti);return ui},xi=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?ri(vi(wi(),a.mf())):ji;d=d>=e.value}if(d){b=b||ji;d=vi(wi(),a.mf());"function"===typeof c&&(c=c());oi||(oi=new ni);e=oi;a=a.mf();if(0<e.Cd){var f=(e.Rg+1)%e.Cd;e.Rg=f;e.vh?(e=e.vb[f],e.reset(b,c,a),a=e):(e.vh=f==e.Cd-1,a=e.vb[f]=new pi(b,c,a))}else a=new pi(b,c,a);si(d,a)}},yi=function(a,b){a&&
|
|
xi(a,mi,b)};var zi=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Ai=function(){};Ai.prototype.Dg=null;var Ci=function(a){var b;(b=a.Dg)||(b={},Bi(a)&&(b[0]=!0,b[1]=!0),b=a.Dg=b);return b};var Di,Ei=function(){};x(Ei,Ai);var Fi=function(a){return(a=Bi(a))?new ActiveXObject(a):new XMLHttpRequest},Bi=function(a){if(!a.qh&&"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.qh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.qh};Di=new Ei;var Gi=function(a){B.call(this);this.headers=new kd;this.te=a||null;this.Ga=!1;this.se=this.o=null;this.bd=this.zh=this.Td="";this.Xb=this.vf=this.Qd=this.df=!1;this.Ic=0;this.ie=null;this.Ec="";this.oe=this.lk=this.ui=!1};x(Gi,B);Gi.prototype.sa=vi(wi(),"goog.net.XhrIo",void 0).ek;var Hi=/^https?$/i,Ii=["POST","PUT"],Ji=[];Gi.prototype.Qj=function(){this.Ua();bb(Ji,this)};
|
|
Gi.prototype.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Td+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Td=a;this.bd="";this.zh=b;this.df=!1;this.Ga=!0;this.o=this.te?Fi(this.te):Fi(Di);this.se=this.te?Ci(this.te):Ci(Di);this.o.onreadystatechange=v(this.Oh,this);this.lk&&"onprogress"in this.o&&(this.o.onprogress=v(function(f){this.Nh(f,!0)},this),this.o.upload&&(this.o.upload.onprogress=v(this.Nh,this)));try{yi(this.sa,Ki(this,"Opening Xhr")),
|
|
this.vf=!0,this.o.open(b,String(a),!0),this.vf=!1}catch(f){yi(this.sa,Ki(this,"Error opening Xhr: "+f.message));this.Hd(5,f);return}a=c||"";var e=this.headers.clone();d&&rd(d,function(f,g){e.set(g,f)});d=Ya(e.Ma());c=r.FormData&&a instanceof r.FormData;!$a(Ii,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.o.setRequestHeader(g,f)},this);this.Ec&&(this.o.responseType=this.Ec);"withCredentials"in this.o&&this.o.withCredentials!==this.ui&&
|
|
(this.o.withCredentials=this.ui);try{Li(this),0<this.Ic&&(this.oe=Mi(this.o),yi(this.sa,Ki(this,"Will abort after "+this.Ic+"ms if incomplete, xhr2 "+this.oe)),this.oe?(this.o.timeout=this.Ic,this.o.ontimeout=v(this.pd,this)):this.ie=Lh(this.pd,this.Ic,this)),yi(this.sa,Ki(this,"Sending request")),this.Qd=!0,this.o.send(a),this.Qd=!1}catch(f){yi(this.sa,Ki(this,"Send error: "+f.message)),this.Hd(5,f)}};
|
|
var Mi=function(a){return nc&&xc(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},Za=function(a){return"content-type"==a.toLowerCase()};Gi.prototype.pd=function(){"undefined"!=typeof ra&&this.o&&(this.bd="Timed out after "+this.Ic+"ms, aborting",yi(this.sa,Ki(this,this.bd)),this.dispatchEvent("timeout"),this.abort(8))};Gi.prototype.Hd=function(a,b){this.Ga=!1;this.o&&(this.Xb=!0,this.o.abort(),this.Xb=!1);this.bd=b;Ni(this);Oi(this)};
|
|
var Ni=function(a){a.df||(a.df=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Gi.prototype.abort=function(){this.o&&this.Ga&&(yi(this.sa,Ki(this,"Aborting")),this.Ga=!1,this.Xb=!0,this.o.abort(),this.Xb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Oi(this))};Gi.prototype.B=function(){this.o&&(this.Ga&&(this.Ga=!1,this.Xb=!0,this.o.abort(),this.Xb=!1),Oi(this,!0));Gi.K.B.call(this)};Gi.prototype.Oh=function(){this.Va||(this.vf||this.Qd||this.Xb?Qi(this):this.kk())};
|
|
Gi.prototype.kk=function(){Qi(this)};
|
|
var Qi=function(a){if(a.Ga&&"undefined"!=typeof ra)if(a.se[1]&&4==a.Ab()&&2==a.getStatus())yi(a.sa,Ki(a,"Local request error detected and ignored"));else if(a.Qd&&4==a.Ab())Lh(a.Oh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.Ab()){yi(a.sa,Ki(a,"Request complete"));a.Ga=!1;try{var b=a.getStatus(),c;if(!(c=zi(b))){var d;if(d=0===b){var e=String(a.Td).match(Nd)[1]||null;if(!e&&r.self&&r.self.location){var f=r.self.location.protocol;e=f.substr(0,f.length-1)}d=!Hi.test(e?e.toLowerCase():"")}c=
|
|
d}if(c)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var g=2<a.Ab()?a.o.statusText:""}catch(h){yi(a.sa,"Can not get status: "+h.message),g=""}a.bd=g+" ["+a.getStatus()+"]";Ni(a)}}finally{Oi(a)}}};Gi.prototype.Nh=function(a,b){A("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Ri(a,"progress"));this.dispatchEvent(Ri(a,b?"downloadprogress":"uploadprogress"))};
|
|
var Ri=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Oi=function(a,b){if(a.o){Li(a);var c=a.o,d=a.se[0]?va:null;a.o=null;a.se=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.sa)&&xi(a,ki,"Problem encountered resetting onreadystatechange: "+e.message)}}},Li=function(a){a.o&&a.oe&&(a.o.ontimeout=null);a.ie&&(r.clearTimeout(a.ie),a.ie=null)};Gi.prototype.Rd=function(){return!!this.o};
|
|
Gi.prototype.Ab=function(){return this.o?this.o.readyState:0};Gi.prototype.getStatus=function(){try{return 2<this.Ab()?this.o.status:-1}catch(a){return-1}};
|
|
var Si=function(a){try{if(!a.o)return null;if("response"in a.o)return a.o.response;switch(a.Ec){case "":case "text":return a.o.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.o)return a.o.mozResponseArrayBuffer}var b=a.sa;b&&xi(b,ki,"Response type "+a.Ec+" is not supported on this browser");return null}catch(c){return yi(a.sa,"Can not get response: "+c.message),null}};
|
|
Gi.prototype.getResponseHeader=function(a){if(this.o&&4==this.Ab())return a=this.o.getResponseHeader(a),null===a?void 0:a};Gi.prototype.getAllResponseHeaders=function(){return this.o&&4==this.Ab()?this.o.getAllResponseHeaders()||"":""};
|
|
var Ti=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=ic(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 zb(b,function(g){return g.join(", ")})},Ki=function(a,b){return b+" ["+a.zh+" "+a.Td+" "+a.getStatus()+"]"};var Ui,J=function(a,b){Vi();this.callback=a;this.S=new Wi(!a,b)},K=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},Xi=function(){return"projects/"+Ui};k=J.prototype;k.Mc=function(){return new Dg(this.S)};k.assets=function(){return new Fg(this.S)};k.Na=function(){return new Lg(this.S)};k.value=function(){return new Pg(this.S)};k.maps=function(){return new Kg(this.S)};k.map=function(){return new Jg(this.S)};
|
|
k.image=function(){return new Ig(this.S)};k.table=function(){return new Mg(this.S)};k.video=function(){return new Rg(this.S)};var Wi=function(a,b){this.sync=a=void 0===a?!1:a;this.Zh=null!=b?b:a?5:10};q(Wi,Ug);
|
|
Wi.prototype.send=function(a,b){var c=this;ge(a);var d=a.path||"",e=Yi()+d,f=Zi(a.s||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=$i(e,f,void 0,a.A,g,this.Zh);d=b?Fd(b,d):d;var h=function(n){return{then:function(p){return h(p(n))}}};return h(d)}return(new Promise(function(n,p){$i(e,f,function(t,C){C?p(C):n(t)},a.A,g,c.Zh)})).then(function(n){return b?Fd(b,n):n})};var bj=function(a){J.call(this,a);this.S=new aj};q(bj,J);
|
|
bj.prototype.send=function(a,b){var c=this,d=Yi()+"/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]=
|
|
Fd(p,g[n]))});return b?b(h):h};return this.callback?($i(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f($i(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var aj=function(){};q(aj,Ug);
|
|
aj.prototype.send=function(a,b){var c=[a.A+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=cj();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 dj=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"))}},Yi=function(){var a=ej.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},kj=function(a,b,c){fj&&gj&&fj({client_id:String(gj),
|
|
immediate:!0,scope:hj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{ij(function(){try{r.gapi.auth.setToken(d),jj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else jj(a,b,d)})},cj=function(){lj&&0<=Date.now()-lj&&mj();return nj},mj=function(){lj=nj=null},Vi=function(a,b,c){null!=a?ej=a:oj||(ej="https://earthengine.googleapis.com/api");null!=b?pj=b:oj||(pj="https://earthengine.googleapis.com");void 0!==c&&(qj=c);Ui=Ui||"earthengine-legacy";oj=!0},
|
|
$i=function(a,b,c,d,e,f){Vi();var g=rj,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="0.1.246";"0.1.246"===n&&(n="latest");h["x-goog-api-client"]="ee-js/"+n;n=cj();if(null!=n)h.Authorization=n;else if(c&&fj&&gj)return kj(function(){sj(g,function(){$i(a,b,c,d)})}),null;b=b?b.clone():new Vd;null!=tj&&b.add("key",tj);g&&(h["X-Earth-Engine-Computation-Profile"]="1");Ui&&"earthengine-legacy"!==Ui&&(h["X-Goog-User-Project"]=
|
|
Ui);b=uj(b,a);null!=qj&&(h["X-XSRF-Token"]=qj);null!=vj&&(h["X-Earth-Engine-App-ID-Token"]=vj);n=e||null;var p=b?b.toString():"";"POST"===d&&void 0===e?n=p:/^[\s\xa0]*$/.test(p)||(a+=-1!=a.indexOf("?")?"&":"?",a+=p);e=a.startsWith("/")?ej+a:a;if(c)return wj.push(xj(e,c,d,n,h,f)),yj.Id(),null;p=function(D,ca){this.setRequestHeader&&this.setRequestHeader(ca,D)};var t=0;for(f=null!=f?f:5;;){var C=Fi(Di);C.open(d,e,!1);xb(h,p,C);C.send(n);if(429!=C.status||t>f)break;t++}return zj(C.status,function(D){try{return C.getResponseHeader(D)}catch(ca){return null}},
|
|
C.responseText,g,void 0,e,d)},xj=function(a,b,c,d,e,f){var g=0,h={url:a,method:c,content:d,headers:e},n=rj,p=null!=f?f:10;h.callback=function(t){t=t.target;if(429==t.getStatus()&&g<p)return g++,setTimeout(function(){wj.push(h);yj.Id()},Math.min(12E4,1E3*Math.pow(2,g))),null;var C=zj,D=t.getStatus(),ca=v(t.getResponseHeader,t);try{var Y=t.o?t.o.responseText:""}catch(V){yi(t.sa,"Can not get responseText: "+V.message),Y=""}return C(D,ca,Y,n,b,a,c)};return h},sj=function(a,b){var c=rj;try{rj=a,b.call(void 0)}finally{rj=
|
|
c}},zj=function(a,b,c,d,e,f,g){var h=d?b("X-Earth-Engine-Computation-Profile"):"";h&&d&&d(h);var n=function(Y){try{var V=JSON.parse(Y);return u(V)&&"error"in V&&"message"in V.error?V.error.message:{parsed:V}}catch(Bb){return"Invalid JSON: "+Y}},p=function(Y){if(0===Y)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>Y||300<=Y)return"Server returned HTTP code: "+Y+" for "+g+" "+f},t;b=b("Content-Type")||"application/json";
|
|
d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=n(c),b.parsed){var C=b.parsed;void 0===C&&(t="Malformed response: "+c)}else t=b;else if("multipart/mixed"===d){C={};var D=[];dj(b,c,function(Y,V,Bb){Bb=n(Bb);Bb.parsed&&(C[Y]=Bb.parsed);(V=(Bb.parsed?"":Bb)||p(V))&&D.push(Y+": "+V)});D.length&&(t=D.join("\n"))}else var ca="Response was unexpectedly not JSON, but "+d;t=t||p(a)||ca;if(e)return e(C,t),null;if(!t)return C;throw Error(t);},ij=function(a){var b=function(){r.gapi.config.update("client/cors",
|
|
!0);fj||(fj=r.gapi.auth.authorize);a()};if(u(r.gapi)&&u(r.gapi.auth)&&"function"===typeof r.gapi.auth.authorize)b();else{for(var c=Date.now().toString(36);c in r;)c+="_";r[c]=function(){delete r[c];b()};ci($b({onload:c}))}},jj=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(kj,.9*c);void 0!==d.unref&&d.unref();lj=Date.now()+c}nj=b;a&&a()}else b&&b(c.error||"Unknown error.")},Zi=function(a){var b=new Vd;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},wj=[],yj=new Mh(function(){var a=wj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=Aj,g=new Gi;Ji.push(g);c&&g.$a("complete",c);g.ed("ready",g.Qj);f&&(g.Ic=Math.max(0,f));g.send(b,d,e,a)}0==wj.length||yj.Id()},350),ej=null,pj=null,qj=null,vj=null,uj=Nb,nj=null,lj=null,gj=null,hj=[],fj=null,Wb=new Rb(Pb,"https://apis.google.com/js/client.js?onload=%{onload}"),
|
|
tj=null,oj=!1,Aj=0,rj=null;w("ee.api.ListAssetsResponse",kg);w("ee.api.EarthEngineAsset",qf);w("ee.api.ListImagesResponse",lg);w("ee.api.Image",Wf);w("ee.api.Operation",ng);var Bj=function(){},Cj=function(a){if(void 0===a||null===a)a=Ad;return new Ue({mb:a})},Dj=function(a){return new Ue({Ra:a})},Ej=function(a){return new Ue({Ha:new Te({values:a})})},Fj=function(a){return new Ue({Ia:new nf({values:a})})},Gj=function(a,b){return new Ue({Aa:new Pf({functionName:a,arguments:b})})},Hj=function(a,b){return new Ue({Aa:new Pf({Ya:a,arguments:b})})},Ij=function(a,b){return new Ue({Xa:new Of({oc:a,body:b})})},Jj=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}},Kj=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}},Lj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},Mj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Pj=function(a){var b=new yf,c=!1;"palette"in a&&(c=a.palette,b.jd="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.jd?b.jd.length-1:255;d=Nj(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=Nj(a,"min","max");0!==d.length&&(b.Pf=d.map(function(f){return new of(f)}),c=!0);a=Oj(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},Oj=function(a){return a?a.split(",").map(Number):[]},Nj=function(a,b,c){var d=Oj(a[b]),e=Oj(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})},Qj=function(a){var b=function(g){var h={};h.description=g.description||"";h.type=g.type||"";null!=g.yd&&
|
|
(h.name=g.yd);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.Tf||"";null!=g.hidden&&(h.hidden=g.hidden);g.preview&&(h.preview=g.preview);g.deprecated&&(h.deprecated=g.af);g.sourceCodeUri&&(h.sourceCodeUri=g.sourceCodeUri);return h},d={};a=m(a.Mc||[]);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},Rj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,Sj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,Tj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,Uj=function(a){return(a=Rj.exec(a))?a[1]:"earthengine-legacy"},Vj=function(a){return Sj.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
a},Xj=function(a){return(a.assets||[]).map(Wj)},Zj=function(a){return(a.images||[]).map(Yj)},ak=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"}},Wj=function(a){var b=bk(ak(a.type),a.name),c=Object.assign({},a.properties||{});a.Fa&&(c["system:asset_size"]=Number(a.Fa));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.Qa&&(b.version=1E3*Date.parse(a.Qa));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,crs:d.N.$e,dimensions:void 0,crs_transform:void 0};if(d.N){if(null!=d.N.Rb){var f=d.N.Rb;e.crs_transform=[f.Uf||0,f.Zf||0,f.lg||0,f.$f||0,f.Vf||0,f.mg||0]}null!=d.N.dimensions&&
|
|
(e.dimensions=[d.N.dimensions.width,d.N.dimensions.height])}d.dataType&&(f={type:"PixelType"},f.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.ld&&(f.min=d.dataType.ld.min||0,f.max=d.dataType.ld.max),e.data_type=f);return e}));return b},ck=function(a){var b=new qf,c=Object.assign({},a),d;a=function(e){d=c[e];delete c[e];return d};a("system:asset_size")&&(b.Fa=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")&&null==c.title&&(c.title=d);"string"===typeof a("system:description")&&null==c.description&&(c.description=d);b.properties=c;return b},Yj=function(a){return bk("Image",a.name)},bk=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},ek=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=dk(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},
|
|
dk=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("],[")+"]]]}"},fk=function(a){var b={};(a.zd||[]).forEach(function(f){b[f.Fc]=f.ac});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},gk=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=[{Fc:"roles/owner",ac:b("owners")},{Fc:"roles/viewer",ac:b("readers").concat(c)},{Fc:"roles/editor",ac:b("writers")}].map(function(d){return new Ye(d)});return new tg({zd:b.filter(function(d){return d.ac.length}),
|
|
ef:null})},hk=function(a){return"projects/earthengine-legacy/operations/"+a},ik=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},jk=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=Fd(rg,a.Hf||{});null!=e.description&&
|
|
(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.Ze);c("update_timestamp_ms",e.Qa);c("start_timestamp_ms",e.startTime);b.attempt=e.attempt;a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=ik(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.bf;b.source_url=e.Wf;return b},kk=function(a){var b={started:"OK"};a.name&&(b.taskId=ik(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},lk=function(a){if(a.primaryPath){var b=
|
|
[a.primaryPath];var c=b.concat;a=a.additionalPaths||[];if(!(a instanceof Array)){a=m(a);for(var d,e=[];!(d=a.next()).done;)e.push(d.value);a=e}b=c.call(b,a)}else b=null;return b},ok=function(a){var b=function(f){var g=Fd(fg,f);g.ya=lk(f);return g},c=Fd(ag,a);c.name=Vj(a.id);c.tilesets=(a.tilesets||[]).map(function(f){var g=Fd(dg,f);g.sources=(f.sources||[]).map(b);return g});c.bands=(a.bands||[]).map(function(f){var g=Fd(bg,f);g.missingData=mk(f.missingData);return g});c.missingData=mk(a.missingData);
|
|
c.Df=jb((a.tilesets||[]).map(nk));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},nk=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 cg({Hc:a.id||"",ea:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});return b},pk=function(a){var b=Fd(ig,a);b.name=Vj(a.id);b.sources=(a.sources||[]).map(function(e){var f=Fd(xg,e);f.ya=lk(e);e.maxError&&(f.Zb=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},mk=function(a){if(null==a)return null;var b=new Zf({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 qk=function(){this.ub=-1};var rk=function(){this.ub=64;this.$=Array(4);this.Nj=Array(this.ub);this.le=this.Oc=0;this.reset()};x(rk,qk);rk.prototype.reset=function(){this.$[0]=1732584193;this.$[1]=4023233417;this.$[2]=2562383102;this.$[3]=271733878;this.le=this.Oc=0};
|
|
var sk=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.$[0];c=a.$[1];e=a.$[2];var f=a.$[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.$[0]=a.$[0]+b&4294967295;a.$[1]=a.$[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.$[2]=a.$[2]+e&4294967295;a.$[3]=a.$[3]+f&4294967295};
|
|
rk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.ub,d=this.Nj,e=this.Oc,f=0;f<b;){if(0==e)for(;f<=c;)sk(this,a,f),f+=this.ub;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.ub){sk(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.ub){sk(this,d);e=0;break}}this.Oc=e;this.le+=b};
|
|
rk.prototype.digest=function(){var a=Array((56>this.Oc?this.ub:2*this.ub)-this.Oc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.le;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.$[b]>>>d&255;return a};var tk=function(a){this.ud="__ee_hash__";this.Sd=!1!==a;this.bb=[];this.za={};this.ng=[];this.Od=new WeakMap};w("ee.Serializer",tk);var uk=new di,vk=new rk,xk=function(a,b){return wk(new tk(void 0!==b?b:!0),a)};w("ee.Serializer.encode",xk);var yk=function(a){return uk.xa(xk(a))};w("ee.Serializer.toJSON",yk);var Ak=function(a){return zk(xk(a,!1))};w("ee.Serializer.toReadableJSON",Ak);
|
|
var zk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):uk.xa(a)},wk=function(a,b){b=a.Gd(b);a.Sd&&(b=u(b)&&"ValueRef"==b.type&&1==a.bb.length?a.bb[0][1]:{type:"CompoundValue",scope:a.bb,value:b},a.bb=[],Sa(a.ng,v(function(c){delete c[this.ud]},a)),a.ng=[],a.za={});return b};
|
|
tk.prototype.Gd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=u(a)?a[this.ud]:null;if(this.Sd&&null!=b&&this.za[b])return{type:"ValueRef",value:this.za[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 Bj){var c=a.encode(v(this.Gd,this));if(!(Array.isArray(c)||u(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
Ua(a,function(e){return this.Gd(e)},this);else if(u(a)&&"function"!==typeof a)c=zb(a,function(e){if("function"!==typeof e)return this.Gd(e)},this),Ib(c,this.ud),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Sd){b=Bk(c);if(this.za[b])var d=this.za[b];else d=String(this.bb.length),this.bb.push([d,c]),this.za[b]=d;a[this.ud]=b;this.ng.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var Bk=function(a){vk.reset();vk.update(uk.xa(a));return vk.digest().toString()},Dk=function(a){return Gd(Ck(a),Cd,Dd,Ed)};w("ee.Serializer.encodeCloudApi",Dk);
|
|
var Ck=function(a){return Ek(new tk(!0),a)},Fk=function(a){a=Ek(new tk(!1),a);var b=a.values,c=function(d){if(!u(d))return d;var e=Array.isArray(d)?[]:{},f=d instanceof Object.getPrototypeOf(Ue);d=m(Object.entries(f?d.h: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.oc,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.Ya?{arguments:zb(h.arguments,c),functionReference:c(b[h.Ya])}:
|
|
"constantValue"===g?h===Ad?null:h:c(h)):e[g]=c(h)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",Fk);var Gk=function(a){return uk.xa(Dk(a))};w("ee.Serializer.toCloudApiJSON",Gk);var Hk=function(a){return zk(Fk(a))};w("ee.Serializer.toReadableCloudApiJSON",Hk);
|
|
var Ek=function(a,b){try{var c=Ik(a,b),d=new Jk(c,a.bb,a.Sd),e=Kk(d,d.ai);return new ff({result:e,values:d.Qh})}finally{a.Od=new WeakMap,a.za={},a.bb=[]}},Ik=function(a,b){var c=function(e){var f=Bk(e);u(b)&&a.Od.set(b,f);if(a.za[f])return a.za[f];var g=String(a.bb.length);a.bb.push([g,e]);return a.za[f]=g};if(u(b)&&a.za[a.Od.get(b)])return a.za[a.Od.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(Cj(b));if(ya(b))return c(Gj("Date",{value:Cj(Math.floor(b.getTime()))}));
|
|
if(b instanceof Bj)return c(b.la(function(e){return Ik(a,e)}));if(Array.isArray(b))return c(Ej(b.map(function(e){return Dj(Ik(a,e))})));if(u(b)&&"function"!==typeof b){var d={};Object.keys(b).sort().forEach(function(e){d[e]=Dj(Ik(a,b[e]))});return c(Fj(d))}throw Error("Can't encode object: "+b);},Jk=function(a,b,c){var d=this;this.ai=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.Vh=c?Lk(this):null;this.Qh={};this.Qf={};this.ik=0},Kk=function(a,b){if(b in a.Qf)return a.Qf[b];
|
|
var c=String(a.ik++);a.Qf[b]=c;a.Qh[c]=Mk(a,a.values[b],0);return c},Mk=function(a,b,c){var d=function(p){return null!==p.mb},e=function(p){return p===Ad?null:p};if(d(b)||null!=b.Yb||null!=b.wb||null!=b.Sb)return b;if(null!=b.Ra)return d=a.values[b.Ra],null===a.Vh||50>c&&1===a.Vh[b.Ra]?Mk(a,d,c):Nk(d)?d:Dj(Kk(a,b.Ra));if(null!=b.Ha){var f=b.Ha.values.map(function(p){return Mk(a,p,c+3)});return f.every(d)?Cj(f.map(function(p){return e(p.mb)})):Ej(f)}if(null!=b.Ia){f={};var g={};b=m(Object.entries(b.Ia.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]=Mk(a,n,c+3);null!==g&&d(f[h])?g[h]=e(f[h].mb):g=null}return null!==g?Cj(g):Fj(f)}if(null!=b.Xa)return d=b.Xa,Ij(d.oc||[],Kk(a,d.body||""));if(null!=b.Aa){d=b.Aa;f={};g=m(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=Mk(a,d.arguments[b],c+3);return d.functionName?Gj(d.functionName,f):Hj(Kk(a,d.Ya||""),f)}throw Error("Can't optimize value: "+b);},Nk=function(a){var b=
|
|
a.mb;return null!==b?b===Ad||"number"===typeof b||"boolean"===typeof b:null!=a.Sb},Lk=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Ha?e.Ha.values.forEach(d):null!=e.Ia?Object.values(e.Ia.values).forEach(d):null!=e.Xa?c(e.Xa.body):null!=e.Aa?(e=e.Aa,null!=e.Ya&&c(e.Ya),Object.values(e.arguments).forEach(d)):null!=e.Ra&&c(e.Ra)};c(a.ai);return b};var Tk=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 Gf({l:Ck(a.element),description:Ok(a.description),ma:null,kb:null,selectors:b,Zb:Pk(a.maxErrorMeters),requestId:Ok(a.id),X:Pk(a.maxWorkers)});var c=Qk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new If({na:null,ka:null,D:Kj(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.na=Rk(a):d.ka=Sk(a);b.ma=d;break;case "ASSET":b.kb=new Hf({Vb:new wf({name:Vj(a.assetId)})});
|
|
break;default:throw Error('Export destination "'+c+'" unknown');}return b};function Ok(a){return null!=a?String(a):null}function Pk(a){return null!=a?Number(a):null}
|
|
var Qk=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},Vk=function(a){var b=new $f({Ve:!!a.tfrecordCompressed,$b:Ok(a.tfrecordMaxFileSize),Xf:!!a.tfrecordSequenceData,Te:!!a.tfrecordCollapseBands,Ff:Pk(a.tfrecordMaskedThreshold),defaultValue:Pk(a.tfrecordDefaultValue),Pa:Uk(a.tfrecordPatchDimensions),Cf:Uk(a.tfrecordKernelSize),ge:null});a=a.tfrecordTensorDepths;if(null!=a)if(u(a)){var c={};xb(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.ge=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},Wk=function(a,b){var c=new Cf({na:null,ka:null,Jd:null,he:null,D:Jj(a.fileFormat)});if("GEO_TIFF"===c.D){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');var d=new Rf({Se:!!a.tiffCloudOptimized,
|
|
bg:!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),Pa:Uk(a.fileDimensions||a.tiffFileDimensions)});c.Jd=d}else"TF_RECORD_IMAGE"===c.D&&(c.he=Vk(a));"GOOGLE_CLOUD_STORAGE"===b?c.na=Rk(a):c.ka=Sk(a);return c},Xk=function(a,b){var c=new Kf({na:null,ka:null,D:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.na=Rk(a):c.ka=Sk(a);return c},Yk=function(a){var b=Pk(a.maxZoom),c=Pk(a.scale),d=Pk(a.minZoom),e=!!a.skipEmptyTiles,f=Ok(a.mapsApiKey),g=Uk(a.tileDimensions),h=Pk(a.stride);var n=Pk(a.minTimeMachineZoomSubset);a=
|
|
Pk(a.maxTimeMachineZoomSubset);if(null==n&&null==a)n=null;else{var p=new zg({min:0,max:null});null!=n&&(p.min=n);p.max=a;n=p}return new Ff({maxZoom:b,scale:c,minZoom:d,cg:e,Bf:f,Pa:g,dg:h,og:n})},Uk=function(a){if(null==a)return null;var b=new Sf({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},Rk=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Qf({pc:Ok(a.outputBucket),ga:Ok(a.outputPrefix),qc:a.bucketCorsUris||null,permissions:b})},Sk=function(a){return new pf({kf:Ok(a.driveFolder),ga:Ok(a.driveFileNamePrefix)})};var Zk=function(){this.vb=[]};Zk.prototype.length=function(){return this.vb.length};Zk.prototype.end=function(){var a=this.vb;this.vb=[];return a};var al=function(a,b){this.jb=a;this.pe=b;this.map={};this.Nc=!0;this.Gh=null;if(0<this.jb.length){for(a=0;a<this.jb.length;a++){b=this.jb[a];var c=b[0];this.map[c.toString()]=new $k(c,b[1])}this.Nc=!0}};al.prototype.isFrozen=function(){return!1};
|
|
var bl=function(a){if(a.Nc){if(a.pe){var b=a.map,c;for(c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c].jc;d&&bl(d)}}}else{a.jb.length=0;b=cl(a);b.sort();for(c=0;c<b.length;c++){var e=a.map[b[c]];(d=e.jc)&&bl(d);a.jb.push([e.key,e.value])}a.Nc=!0}return a.jb};k=al.prototype;k.getLength=function(){return cl(this).length};k.clear=function(){this.map={};this.Nc=!1};
|
|
k.entries=function(){var a=[],b=cl(this);b.sort();for(var c=0;c<b.length;c++){var d=this.map[b[c]];a.push([d.key,dl(this,d)])}return new el(a)};k.keys=function(){var a=[],b=cl(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.map[b[c]].key);return new el(a)};k.values=function(){var a=[],b=cl(this);b.sort();for(var c=0;c<b.length;c++)a.push(dl(this,this.map[b[c]]));return new el(a)};
|
|
k.forEach=function(a,b){var c=cl(this);c.sort();for(var d=0;d<c.length;d++){var e=this.map[c[d]];a.call(b,dl(this,e),e.key,this)}};k.set=function(a,b){var c=new $k(a);this.pe?(c.jc=b,c.value=bl(b)):c.value=b;this.map[a.toString()]=c;this.Nc=!1;return this};var dl=function(a,b){return a.pe?(b.jc||(b.jc=new a.pe(b.value),a.isFrozen()&&(A(null!=a.Gh),a.Gh(b.jc))),b.jc):b.value};al.prototype.get=function(a){if(a=this.map[a.toString()])return dl(this,a)};
|
|
al.prototype.has=function(a){return a.toString()in this.map};var cl=function(a){a=a.map;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},$k=function(a,b){this.key=a;this.value=b;this.jc=void 0},el=function(a){this.ph=0;this.jb=a};el.prototype.next=function(){return this.ph<this.jb.length?{done:!1,value:this.jb[this.ph++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&"undefined"!=typeof Symbol.iterator&&(el.prototype[Symbol.iterator]=function(){return this});Object.freeze&&Object.freeze([]);var gl=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"];d&&(fb(f,d),hb(f));gj=a;hj=f;null===a?mj():ij(function(){kj(b,c,e||Ea(fl,b,c))})};w("ee.data.authenticateViaOauth",gl);var hl=function(a,b,c,d,e){gl(a,b,c,d,e)};w("ee.data.authenticate",hl);var fl=function(a,b){r.gapi.auth.authorize({client_id:gj,immediate:!1,scope:hj.join(" ")},Ea(jj,a,b))};w("ee.data.authenticateViaPopup",fl);
|
|
var il=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","https://www.googleapis.com/auth/cloud-platform"];d&&(fb(e,d),hb(e));gj=a.client_email;hj=e;var f=new google.auth.JWT(a.client_email,null,a.private_key,e,null);fj=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})})};kj(b,c)};w("ee.data.authenticateViaPrivateKey",il);w("ee.data.setExpressionAugmenter",function(a){jl=a||Nb});var jl=Nb;
|
|
w("ee.data.setAuthToken",function(a,b,c,d,e,f,g){var h=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"];e&&(fb(h,e),hb(h));gj=a;hj=h;var n={token_type:b,access_token:c,state:h.join(" "),expires_in:d};jj(void 0,void 0,n);!1===g?f&&f():ij(function(){r.gapi.auth.setToken(n);f&&f()})});w("ee.data.refreshAuthToken",kj);w("ee.data.setAuthTokenRefresher",function(a){fj=a});w("ee.data.getAuthToken",cj);w("ee.data.clearAuthToken",mj);
|
|
w("ee.data.getAuthClientId",function(){return gj});w("ee.data.getAuthScopes",function(){return hj});w("ee.data.setDeadline",function(a){Aj=a});w("ee.data.setParamAugmenter",function(a){uj=a||Nb});
|
|
var kl=function(a){a=new J(a);return K(a,a.Mc().list(Xi(),{prettyPrint:!1}).then(Qj))},ml=function(a,b){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 xf({name:null,l:jl(Ck(a.image)),D:Jj(a.format),ea:Mj(a.bands),kc:Pj(a)});b=new J(b);return K(b,b.maps().create(Xi(),a,{fields:["name"]}).then(function(c){return ll(c.name,"")}))};w("ee.data.getMapId",ml);
|
|
var nl=function(a,b,c,d){if(!a.formatTileUrl){var e=ll(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",nl);
|
|
var ll=function(a,b,c){var d=void 0===c?"":c;d||(Vi(),c=pj,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}},ol=function(a,b){a=jl(Ck(a));b=new J(b);return K(b,Qg(b.value(),Xi(),new ef({l:a})).then(function(c){return c.result}))};w("ee.data.computeValue",ol);
|
|
var pl=function(a,b){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 yg({name:null,l:jl(Ck(a.image)),D:Jj(a.format),ga:a.name,ea:Mj(a.bands),
|
|
kc:Pj(a),N:null});b=new J(b);return K(b,(new Og(b.S)).create(Xi(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getThumbId",pl);
|
|
var ql=function(a,b){var c=new Lf({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Cg({name:null,l:jl(Ck(a.imageCollection)),D:Jj(a.format),Sa:c,N:null});b=new J(b);return K(b,(new Tg(b.S)).create(Xi(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};w("ee.data.getVideoThumbId",ql);
|
|
var rl=function(a,b){a=new Nf({name:null,l:jl(Ck(a.imageCollection)),D:Jj(a.format),orientation:Lj(a.orientation),N:null});b=new J(b);return K(b,(new Hg(b.S)).create(Xi(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getFilmstripThumbId",rl);var sl=function(a){return pj+"/v1alpha/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",sl);
|
|
var ul=function(a,b){a=Object.assign({},a);a.id&&(a.image=new L(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=Mj(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=tl(a.image,a);a=new yg({name:null,l:jl(Ck(c)),D:Jj(a.format),ga:a.name,ea:a.bands&&Mj(a.bands.map(function(d){return d.id})),N:null});b=new J(b);return K(b,(new Og(b.S)).create(Xi(),a,{fields:["name"]}).then(function(d){return{docid:d.name,token:""}}))};w("ee.data.getDownloadId",ul);var vl=function(a){Vi();return pj+"/v1alpha/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",vl);
|
|
var wl=function(a,b){b=new J(b);var c=Kj(a.format),d=jl(Ck(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 wg({name:null,l:d,D:c,selectors:e,filename:a.filename||null});return K(b,(new Ng(b.S)).create(Xi(),a,{fields:["name"]}).then(function(f){return{docid:f.name||"",
|
|
token:""}}))};w("ee.data.getTableDownloadId",wl);var xl=function(a){return pj+"/v1alpha/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",xl);var yl=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,4*d)).toString(16).padStart(d,"0")};a=ib(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};w("ee.data.newTaskId",yl);
|
|
var Al=function(a,b){var c=zl(a).map(hk);if(1===c.length)return a=new J(b),K(a,a.Na().get(c[0]).then(function(e){return[jk(e)]}));a=new bj(b);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(f){return jk(e[f])})})};w("ee.data.getTaskStatus",Al);var zl=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.");},Cl=function(a){return Bl(void 0,a)};
|
|
w("ee.data.getTaskList",Cl);var Bl=function(a,b){return b?(Dl(a,function(c,d){return b(c?{tasks:c.map(jk)}:null,d)}),null):{tasks:Dl(a).map(jk)}};w("ee.data.getTaskListWithLimit",Bl);var Dl=function(a,b){var c=[],d={pageSize:500},e=function(h){fb(c,h.Na||[]);!h.ab||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.ab,K(f,g.list(Xi(),d).then(e)));return null},f=new J(b?function(h,n){return n&&b(h,n)}:void 0),g=f.Na();K(f,g.list(Xi(),d).then(e));return b?null:a?c.slice(0,a):c};
|
|
w("ee.data.listOperations",Dl);var El=function(a,b){a=zl(a);var c=new $e;if(1===a.length)b=new J(b),K(b,b.Na().cancel(a[0],c));else{b=new bj(b);var d=b.Na();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",El);var Fl=function(a,b){var c=zl(a).map(hk);if(!Array.isArray(a))return a=new J(b),K(a,a.Na().get(c[0]));a=new bj(b);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",Fl);var Hl=function(a,b){return Gl(a,"CANCEL",b)};
|
|
w("ee.data.cancelTask",Hl);var Gl=function(a,b,c){if(!Eb(Il,b))throw Error("Invalid action: "+b);a=zl(a);a=a.map(hk);El(a,c);return null};w("ee.data.updateTask",Gl);
|
|
var Nl=function(a,b,c){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new J(c);c=function(f){return K(e,f.then(kk))};switch(d){case "EXPORT_IMAGE":return b=Jl(b,a),c(e.image().ob(Xi(),b));case "EXPORT_FEATURES":return b=Tk(b),b.l=jl(b.l,a),c(e.table().ob(Xi(),b));case "EXPORT_VIDEO":return b=Kl(b,a),c(e.video().ob(Xi(),b));case "EXPORT_TILES":return b=Ll(b,a),c(e.map().ob(Xi(),b));case "EXPORT_VIDEO_MAP":return b=Ml(b),c((new Sg(e.S)).ob(Xi(),b));default:throw Error("Unable to start processing for task of type "+
|
|
d);}};w("ee.data.startProcessing",Nl);
|
|
var Jl=function(a,b){var c=Ol(a);if(null==c.element)throw Error('"element" not found in params '+c);a=new Af({l:Ck(c.element),description:Ok(c.description),ma:null,kb:null,N:null,Gf:Ok(c.maxPixels),requestId:Ok(c.id),X:Pk(c.maxWorkers)});var d=Qk(c);switch(d){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":a.ma=Wk(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 Bf({Vb:new wf({name:Vj(c.assetId)}),pyramidingPolicy:e,Of:Hb(d)?null:d});a.kb=c;break;default:throw Error('Export destination "'+d+'" unknown');}a.l=jl(a.l,b);return a},Kl=function(a,b){a=Pl(a);if(null==a.element)throw Error('"element" not found in params '+a);var c=new Mf({l:Ck(a.element),description:Ok(a.description),Sa:new Lf({framesPerSecond:Pk(a.framesPerSecond),maxFrames:Pk(a.maxFrames),maxPixelsPerFrame:Ok(a.maxPixels)}),ma:null,requestId:Ok(a.id),X:Pk(a.maxWorkers)});c.ma=Xk(a,Qk(a));
|
|
c.l=jl(c.l,b);return c},Ll=function(a,b){var c=a.scale;delete a.scale;a=Ol(a);a.scale=c;if(null==a.element)throw Error('"element" not found in params '+a);c=new Ef({l:Ck(a.element),description:Ok(a.description),hc:Yk(a),fc:Wk(a,"GOOGLE_CLOUD_STORAGE"),requestId:Ok(a.id),X:Pk(a.maxWorkers)});c.l=jl(c.l,b);return c},Ml=function(a){var b=a.scale;delete a.scale;a=Pl(a);a.scale=b;if(null==a.element)throw Error('"element" not found in params '+a);b=new Jf({l:Ck(a.element),description:Ok(a.description),
|
|
Sa:new Lf({framesPerSecond:Pk(a.framesPerSecond),maxFrames:Pk(a.maxFrames),maxPixelsPerFrame:null}),hc:Yk(a),fc:Xk(a,"GOOGLE_CLOUD_STORAGE"),requestId:Ok(a.id),version:Ok(a.version),X:Pk(a.maxWorkers)});b.l=jl(b.l);return b},Rl=function(a,b,c){b=ok(b);var d=function(e){return e?kk(e):null};return d(Ql(a,b,c&&function(e,f){return c(d(e),f)}))};w("ee.data.startIngestion",Rl);
|
|
var Ql=function(a,b,c){b=new gg({tf:b,requestId:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return K(a,a.image().import(Xi(),b))},Sl=function(a,b,c){b=new hg({gg:b,requestId:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return K(a,a.table().import(Xi(),b))},Tl=function(a,b,c){b=pk(b);var d=function(e){return e?kk(e):null};return d(Sl(a,b,c&&function(e,f){return c(d(e),f)}))};w("ee.data.startTableIngestion",Tl);
|
|
var Ul=function(a,b){b=new J(b);a=Vj(a);return K(b,b.assets().get(a,{prettyPrint:!1}).then(Wj))};w("ee.data.getAsset",Ul);w("ee.data.getInfo",Ul);
|
|
var Vl=function(a,b){b=new J(b);var c=b.assets(),d=Vj(a.id),e=Tj.test(a.id);e&&(c=new Eg(b.S),d="projects/"+Uj(a.id));if(Object.keys(a).every(function(f){return"id"===f||"num"===f}))return K(b,c.cd(d,{pageSize:a.num}).then(Xj));if(e)throw Error("getList on a project does not support filtering options. Please provide a full asset path. Got: "+a.id);a=ek(a);return K(b,Gg(c,d,a).then(Zj))};w("ee.data.getList",Vl);
|
|
var Wl=function(a,b,c){b=void 0===b?{}:b;var d=Tj.test(a);c=new J(c);var e=d?new Eg(c.S):c.assets();a=d?"projects/"+Uj(a):Vj(a);return K(c,e.cd(a,b))};w("ee.data.listAssets",Wl);var Xl=function(a,b,c){b=void 0===b?{}:b;c=new J(c);return K(c,Gg(c.assets(),a,b))};w("ee.data.listImages",Xl);var Yl=function(a,b){b=new J(b);return K(b,(new Eg(b.S)).cd(a||Xi()))};w("ee.data.listBuckets",Yl);var Zl=function(a){a=new J(a);return K(a,(new Eg(a.S)).cd(Xi()).then(Xj))};w("ee.data.getAssetRoots",Zl);
|
|
var $l=function(a,b){var c="projects/"+Uj(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new qf({type:"Folder"});b=new J(b);K(b,b.assets().create(c,d,{assetId:a}).then(Wj))};w("ee.data.createAssetHome",$l);
|
|
var am=function(a,b,c,d,e){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&Vj(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 qf(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 J(e);return K(e,e.assets().create(b,a,{assetId:c}).then(Wj))};w("ee.data.createAsset",am);var bm=function(a,b,c){return am({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",bm);var cm=function(a,b,c){a=Vj(a);b=Vj(b);b=new pg({Ub:b});c=new J(c);K(c,c.assets().move(a,b).then(Wj))};w("ee.data.renameAsset",cm);
|
|
var dm=function(a,b,c,d){a=Vj(a);b=Vj(b);c=new jf({Ub:b,overwrite:null!=c?c:null});d=new J(d);b=Wj;var e=d.assets();var f=void 0===f?{}:f;var g=void 0===g?{}:g;e.j.C(a,/^projects\/[^/]+\/assets\/.*$/);f=I(e.j,{body:c,A:"POST",G:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",s:H(f,g),I:qf});K(d,f.then(b))};w("ee.data.copyAsset",dm);var em=function(a,b){b=new J(b);K(b,b.assets().delete(Vj(a)))};w("ee.data.deleteAsset",em);
|
|
var fm=function(a,b){a=Vj(a);var c=new Tf;b=new J(b);var d=b.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;var f=void 0===f?{}:f;d.j.C(a,/^projects\/[^/]+\/assets\/.*$/);f=I(d.j,{body:c,A:"POST",G:"earthengine.projects.assets.getIamPolicy",path:"/"+d.m+"/"+a+":getIamPolicy",s:H(e,f),I:tg});return K(b,f.then(fk))};w("ee.data.getAssetAcl",fm);
|
|
var gm=function(a,b,c,d){b=new Bg({Oe:b,Jc:(c||[]).join(",")});d=new J(d);c=Wj;var e=d.assets();a=Vj(a);var f=void 0===f?{}:f;var g=void 0===g?{}:g;e.j.C(a,/^projects\/[^/]+\/assets\/.*$/);f=I(e.j,{body:b,A:"PATCH",G:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,s:H(f,g),I:qf});return K(d,f.then(c))};w("ee.data.updateAsset",gm);
|
|
var hm=function(a,b,c){a=Vj(a);b=gk(b);b=new vg({Lf:b});c=new J(c);var d=c.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;var f=void 0===f?{}:f;d.j.C(a,/^projects\/[^/]+\/assets\/.*$/);f=I(d.j,{body:b,A:"POST",G:"earthengine.projects.assets.setIamPolicy",path:"/"+d.m+"/"+a+":setIamPolicy",s:H(e,f),I:tg});K(c,f)};w("ee.data.setAssetAcl",hm);
|
|
var im=function(a,b,c){var d=ck(b);b=Bd(d.i()).keys.filter(function(e){return"properties"!==e&&G(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+'"'}));gm(a,d,b,c)};w("ee.data.setAssetProperties",im);
|
|
var jm=function(a,b){var c=Vj(a);b=new J(b);var d=b.assets(),e=d.j.C;d.j.C=function(f,g){"^projects\\/[^/]+\\/assets\\/.+$"===g.source&&(g=/^projects\/[^/]+\/assets\/.*$/);return e(f,g)};c=d.get(c,{prettyPrint:!1});return K(b,c.then(function(f){if(!(f instanceof qf&&f.quota))throw Error(a+" is not a root folder.");f=f.quota;return{asset_count:{usage:Number(f.Pe||0),limit:Number(f.Ef||0)},asset_size:{usage:Number(f.Fa||0),limit:Number(f.$b||0)}}}))};w("ee.data.getAssetRootQuota",jm);
|
|
var Il={Bk:"CANCEL",Ek:"UPDATE"};var M=function(a,b,c){if(!(this instanceof M))return km(M,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.H=a;this.args=b;this.W=c||null};x(M,Bj);w("ee.ComputedObject",M);M.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");ol(this,a)};M.prototype.evaluate=M.prototype.evaluate;
|
|
M.prototype.Z=function(a){return ol(this,a)};M.prototype.getInfo=M.prototype.Z;M.prototype.encode=function(a){if(null===this.H&&null===this.args)return{type:"ArgumentRef",value:this.W};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.H);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
M.prototype.la=function(a){if(null===this.H&&null===this.args)return new Ue({Sb:this.W||""});var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=Dj(a(this.args[c])));return"string"===typeof this.H?Gj(String(this.H),b):this.H.Fd(a,b)};M.prototype.xa=function(a){return(void 0===a?0:a)?yk(this):Gk(this)};M.prototype.serialize=M.prototype.xa;M.prototype.toString=function(){return"ee."+this.name()+"("+Ak(this)+")"};w("ee.ComputedObject.prototype.toString",M.prototype.toString);
|
|
M.prototype.name=function(){return"ComputedObject"};M.prototype.pg=function(a,b){var c=eb(arguments);c[0]=this;a.apply(r,c);return this};M.prototype.aside=M.prototype.pg;var lm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.H=b.H;a.args=b.args;a.W=b.W;return a},km=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var mm={},nm=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}},om=function(a){return"number"===typeof a||a instanceof M&&"Number"==a.name()},pm=function(a){return"string"===typeof a||a instanceof M&&"String"==a.name()},qm=function(a){return u(a)&&
|
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},rm=function(a,b,c){return 1===a.length&&qm(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 N=function(){if(!(this instanceof N))return new N};x(N,Bj);w("ee.Function",N);var sm=Nb;N.prototype.call=function(a){return this.apply(tm(this,Array.prototype.slice.call(arguments,0)))};N.prototype.call=N.prototype.call;N.prototype.apply=function(a){a=new M(this,um(this,a));return sm(a,this.aa().returns)};N.prototype.apply=N.prototype.apply;
|
|
var vm=function(a,b,c){var d=void 0!==b,e=a.aa();if(rm(c,e,d)){if(c=Jb(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=tm(a,d?[b].concat(c):c);return a.apply(c)},um=function(a,b){for(var c=a.aa().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&void 0!==b[g])d[g]=sm(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},tm=function(a,b){var c=a.aa().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};
|
|
N.prototype.toString=function(a,b){var c=this.aa(),d=[];d.push(a||c.name);d.push("(");d.push(Ua(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("")};N.prototype.xa=function(a){return(void 0===a?0:a)?yk(this):Gk(this)};var O=function(a,b){if(void 0===b)return wm(a);if(!(this instanceof O))return km(O,arguments);this.cb=Kb(b);this.cb.name=a};x(O,N);w("ee.ApiFunction",O);var P=function(a,b){return N.prototype.call.apply(wm(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",P);var xm=function(a,b){return wm(a).apply(b)};w("ee.ApiFunction._apply",xm);O.prototype.encode=function(){return this.cb.name};O.prototype.Fd=function(a,b){return Gj(this.cb.name,b)};O.prototype.aa=function(){return this.cb};
|
|
var ym=null,zm={},Bm=function(){Am();return zb(ym,function(a){return a.aa()})},Cm=function(){Am();return yb(ym,function(a,b){return!zm[b]})},wm=function(a){var b=Dm(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",wm);
|
|
var Dm=function(a){Am();return ym[a]||null},Am=function(a,b){if(ym)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(ym=zb(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?kl(c):c(kl())}},Em=function(a,b,c,d){Am();var e=d||"";xb(ym,function(f,g){var h=g.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var n=f.aa();zm[g]=!0;var p=!1;n.args.length&&(g=n.args[0].type,p="Object"!=g&&nm(g,
|
|
c));g=p?a.prototype:a;h in g&&!g[h].signature||(g[h]=function(t){return vm(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[h].toString=v(f.toString,f,h,p),g[h].signature=n)}})},Fm=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=Gm(a),d=Ua(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 td(Db(f));
|
|
var h=new td(d);if(h.uh(g).isEmpty())e[d[0]]=b[0];else{b=g.cf(h);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.U().join(", "));e=Jb(f)}}b=new td(Db(e));c=(new td(Ta(c,function(n){return 0!=n.lastIndexOf("opt_",0)}))).cf(b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.U().join(", "));return e},Gm=function(a){var b=Hm,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],u(a)||Im(),c=a.paramNames,Array.isArray(c)||Im()):(a=a.toString().replace(Jm,"").match(b),
|
|
null===a&&Im(),c=(a[1].split(",")||[]).map(function(d){return d.replace(Km,"")}));return c},Im=function(){throw Error("Failed to locate function parameters.");},Jm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Hm=/^function[^\(]*\(([^\)]*)\)/m,Km=/=.*$/;var R=function(a,b,c){M.call(this,a,b,c);Lm()};x(R,M);w("ee.Element",R);var Mm=!1,Lm=function(){Mm||(Em(R,"Element","Element"),Mm=!0)};R.prototype.name=function(){return"Element"};
|
|
R.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=qm(c))a:{b=Db(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(qm(c)){b=this;for(var g in c)d=c[g],b=P("Element.set",b,g,d)}else if(c instanceof M&&Dm("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 lm(this,b)};R.prototype.set=R.prototype.set;var S=function(a,b,c,d){if(!(this instanceof S))return km(S,arguments);if(!("type"in a)){var e=Q(S,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Nm();e=null!=b||null!=c||null!=d;if(a instanceof M&&!(a instanceof S&&a.sb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");M.call(this,a.H,a.args,a.W)}else{a instanceof S&&(a=a.encode());if(!Om(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));M.call(this,
|
|
null,null);this.sb=a.type;this.Lg=null!=a.coordinates?Kb(a.coordinates):null;this.jh=a.geometries||null;if(null!=b)this.cc=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.cc=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new di).xa(a.crs));this.xc=c;void 0===this.xc&&"geodesic"in a&&(this.xc=!!a.geodesic);this.vc=d;void 0===this.vc&&"evenOdd"in a&&(this.vc=!!a.evenOdd)}};x(S,M);w("ee.Geometry",S);
|
|
var Pm=!1,Nm=function(){Pm||(Em(S,"Geometry","Geometry"),Pm=!0)},Qm=function(a,b){if(!(this instanceof Qm))return Rm(Qm,arguments);var c=Sm(Qm,"Point",1,arguments);if(!(c instanceof M)){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(Qm,S);S.Point=Qm;var Tm=function(a,b){if(!(this instanceof Tm))return Rm(Tm,arguments);S.call(this,Sm(Tm,"MultiPoint",2,arguments))};x(Tm,S);S.MultiPoint=Tm;
|
|
var Um=function(a,b,c,d){if(!(this instanceof Um))return Rm(Um,arguments);var e=Sm(Um,"Rectangle",2,arguments);if(!(e instanceof M)){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(Um,S);S.Rectangle=Um;
|
|
var Vm=function(a,b,c,d){if(!(this instanceof Vm))return Rm(Vm,arguments);var e=[a,b,c,d];if(Wm(e))return(new O("GeometryConstructors.BBox")).apply(e);if(!(Infinity>a))throw Error("Geometry.BBox: west must not be "+a);if(!(-Infinity<c))throw Error("Geometry.BBox: east must not be "+c);if(!(90>=b))throw Error("Geometry.BBox: south must be at most +90\u00b0, but was "+b+"\u00b0");if(!(-90<=d))throw Error("Geometry.BBox: north must be at least -90\u00b0, but was "+d+"\u00b0");b=Math.max(b,-90);d=Math.min(d,
|
|
90);360<=c-a?(a=-180,c=180):(a=Xm(a),c=Xm(c),c<a&&(c+=360));S.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(Vm,Um);S.BBox=Vm;var Xm=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},Ym=function(a,b,c,d){if(!(this instanceof Ym))return Rm(Ym,arguments);S.call(this,Sm(Ym,"LineString",2,arguments))};x(Ym,S);S.LineString=Ym;var Zm=function(a,b,c,d){if(!(this instanceof Zm))return Rm(Zm,arguments);S.call(this,Sm(Zm,"LinearRing",2,arguments))};x(Zm,S);
|
|
S.LinearRing=Zm;var $m=function(a,b,c,d){if(!(this instanceof $m))return Rm($m,arguments);S.call(this,Sm($m,"MultiLineString",3,arguments))};x($m,S);S.MultiLineString=$m;var an=function(a,b,c,d,e){if(!(this instanceof an))return Rm(an,arguments);S.call(this,Sm(an,"Polygon",3,arguments))};x(an,S);S.Polygon=an;var bn=function(a,b,c,d,e){if(!(this instanceof bn))return Rm(bn,arguments);S.call(this,Sm(bn,"MultiPolygon",4,arguments))};x(bn,S);S.MultiPolygon=bn;
|
|
S.prototype.encode=function(a){if(!this.sb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return M.prototype.encode.call(this,a)}a={type:this.sb};"GeometryCollection"==this.sb?a.geometries=this.jh:a.coordinates=this.Lg;null!=this.cc&&(a.crs={type:"name",properties:{name:this.cc}});null!=this.xc&&(a.geodesic=this.xc);null!=this.vc&&(a.evenOdd=this.vc);return a};
|
|
S.prototype.je=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};S.prototype.toGeoJSON=S.prototype.je;S.prototype.kg=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new di).xa(this.je())};S.prototype.toGeoJSONString=S.prototype.kg;S.prototype.xa=function(a){return(void 0===a?0:a)?yk(this):Gk(this)};S.prototype.serialize=S.prototype.xa;
|
|
S.prototype.toString=function(){return"ee.Geometry("+this.kg()+")"};
|
|
S.prototype.la=function(a){if(!this.sb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return M.prototype.la.call(this,a)}var b={},c="";"GeometryCollection"===this.sb?(b.geometries=this.jh.map(function(e){return new S(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.Lg,c="GeometryConstructors."+this.sb);null!=this.cc&&(b.crs="string"===typeof this.cc?(new O("Projection")).call(this.cc):this.cc);var d="Point"!==this.sb&&"MultiPoint"!==this.sb;
|
|
null!=this.xc&&d&&(b.geodesic=this.xc);null!=this.vc&&(b.evenOdd=this.vc);return(new O(c)).apply(b).la(a)};
|
|
var Om=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(!Om(b[a]))return!1;return!0}a=a.coordinates;var c=cn(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)},cn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=cn(a[0]),c=1;c<a.length;c++)if(cn(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},dn=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},Sm=function(a,b,c,d){a=en(a,d);if(Wm(a.coordinates)||null!=a.crs||null!=a.maxError)return(new O("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=fn(c,a.coordinates);(b=$a(["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},en=function(a,b){if(Wa(b,om))return{coordinates:eb(b)};a=Q(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return yb(a,function(c){return null!=c})},Wm=function(a){return Array.isArray(a)?Va(a,Wm):a instanceof M},fn=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Wa(b,function(e){return"number"===
|
|
typeof e})&&(b=dn(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(cn(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},Rm=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};S.prototype.name=function(){return"Geometry"};var T=function(a){if(!(this instanceof T))return km(T,arguments);if(a instanceof T)return a;gn();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new T(a[0]);M.call(this,new O("Filter.and"),{filters:a})}else if(a instanceof M)M.call(this,a.H,a.args,a.W);else if(void 0===a)M.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(T,M);w("ee.Filter",T);
|
|
var hn=!1,gn=function(){hn||(Em(T,"Filter","Filter"),hn=!0)},jn={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};T.prototype.yc=function(){return P("Filter.not",this)};T.prototype.not=T.prototype.yc;var kn=function(a,b){var c=Q(kn,arguments);return P("Filter.equals",c.name,c.value)};T.eq=kn;var ln=function(a,b){var c=Q(ln,arguments);return kn(c.name,c.value).yc()};T.neq=ln;
|
|
var mn=function(a,b){var c=Q(mn,arguments);return P("Filter.lessThan",c.name,c.value)};T.lt=mn;var nn=function(a,b){var c=Q(nn,arguments);return mn(c.name,c.value).yc()};T.gte=nn;var on=function(a,b){var c=Q(on,arguments);return P("Filter.greaterThan",c.name,c.value)};T.gt=on;var pn=function(a,b){var c=Q(pn,arguments);return on(c.name,c.value).yc()};T.lte=pn;var qn=function(a){return P("Filter.and",Array.prototype.slice.call(arguments))};T.and=qn;var rn=function(a){return P("Filter.or",Array.prototype.slice.call(arguments))};
|
|
T.or=rn;var sn=function(a,b){var c=Q(sn,arguments);c=P("DateRange",c.start,c.end);return xm("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};T.date=sn;var tn=function(a,b,c,d){var e=Q(tn,arguments);return xm("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};T.inList=tn;var un=function(a,b){return xm("Filter.intersects",{leftField:".all",rightValue:P("Feature",a),maxError:b})};T.bounds=un;
|
|
T.prototype.name=function(){return"Filter"};var vn=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in jn))throw Error("Unknown filtering operator: "+b);a=P("Filter."+jn[b],a,c);return d?a.yc():a};T.metadata=vn;var U=function(a,b,c){R.call(this,a,b,c);wn()};x(U,R);w("ee.Collection",U);var xn=!1,wn=function(){xn||(Em(U,"Collection","Collection"),Em(U,"AggregateFeatureCollection","Collection","aggregate_"),xn=!0)};U.prototype.filter=function(a){a=Q(U.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return lm(this,P("Collection.filter",this,a))};U.prototype.filter=U.prototype.filter;
|
|
U.prototype.hf=function(a,b,c){var d=Q(U.prototype.hf,arguments);return this.filter(vn(d.name,d.operator,d.value))};U.prototype.filterMetadata=U.prototype.hf;U.prototype.bh=function(a){return this.filter(un(a))};U.prototype.filterBounds=U.prototype.bh;U.prototype.gf=function(a,b){var c=Q(U.prototype.gf,arguments);return this.filter(sn(c.start,c.end))};U.prototype.filterDate=U.prototype.gf;
|
|
U.prototype.limit=function(a,b,c){var d=Q(U.prototype.limit,arguments);return lm(this,P("Collection.limit",this,d.max,d.property,d.ascending))};U.prototype.limit=U.prototype.limit;U.prototype.sort=function(a,b){var c=Q(U.prototype.sort,arguments);return lm(this,P("Collection.limit",this,void 0,c.property,c.ascending))};U.prototype.sort=U.prototype.sort;U.prototype.name=function(){return"Collection"};U.prototype.elementType=function(){return R};
|
|
U.prototype.map=function(a,b){var c=this.elementType();return lm(this,P("Collection.map",this,function(d){return a(new c(d))},b))};U.prototype.map=U.prototype.map;U.prototype.xh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return P("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};U.prototype.iterate=U.prototype.xh;var W=function(a,b){if(!(this instanceof W))return km(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)");yn();if(a instanceof S||null===a)R.call(this,new O("Feature"),{geometry:a,metadata:b||null});else if(a instanceof M)R.call(this,a.H,a.args,a.W);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=Jb(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 zn=!1,yn=function(){zn||(Em(W,"Feature","Feature"),zn=!0)};W.prototype.Z=function(a){return W.K.Z.call(this,a)};W.prototype.getInfo=W.prototype.Z;
|
|
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 Ol=function(a){var b={},c=An(a.element,a);c=Bn(c,a,b);b.element=c;return b},Pl=function(a){var b={},c=a.element.map(function(d){d=An(d,a);return Bn(d,a,b)});b.element=c;return b},Bn=function(a,b,c){var d={},e=!1,f=["maxDimension","width","height","scale"];xb(b,function(g,h){if(null!=g)switch(h){case "dimensions":h="string"===typeof g?g.split("x").map(Number):Array.isArray(g)?g:"number"===typeof g?[g]:[];if(1===h.length)d.maxDimension=h[0];else if(2===h.length)d.width=h[0],d.height=h[1];else throw Error("Invalid dimensions "+
|
|
g);break;case "dimensions_consumed":e=!0;break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(g instanceof Um)){h=g;if("string"===typeof g)try{h=JSON.parse(g)}catch(n){h=g.split(/\s*,\s*/).map(Number)}if(Array.isArray(h)){if(h.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");g=new Um(h,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=g;break;case "region":null!=
|
|
d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(g instanceof S)){h=g;if("string"===typeof g)try{h=JSON.parse(g)}catch(n){throw Error('Region string "'+g+'" is not valid GeoJSON.');}if(Array.isArray(h))g=new an(h,null,!1);else if(u(h))g=new S(h,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=g;break;case "scale":d.scale=Number(g);break;default:c[h]=g}});Hb(d)||(d.input=a,a=f.some(function(g){return g in d})||e?xm("Image.clipToBoundsAndScale",
|
|
d):xm("Image.clip",d));return a},An=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=Cn(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=xm("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,b.dimensions_consumed=!0,c=(new O("Projection")).call(c,d),b.region=new Um([0,
|
|
0,e[0],e[1]],c,!1))}}else a=xm("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},Cn=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Wa(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.");},En=function(a,b){var c={};b=Dn(b,c);Hb(b)||(b.image=a,a=xm("Image.visualize",
|
|
b));c.image=a;return c},Dn=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};xb(a,function(e,f){$a(c,f)?d[f]=e:b[f]=e});return d},tl=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=An(f,e);return f=Bn(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=An(a,d),a=Bn(a,d,{}));return a};var L=function(a){if(!(this instanceof L))return km(L,arguments);if(a instanceof L)return a;Fn();var b=arguments.length;if(0==b||1==b&&void 0===a)R.call(this,new O("Image.mask"),{image:new L(0),mask:new L(0)});else if(1==b)if(om(a))R.call(this,new O("Image.constant"),{value:a});else if(pm(a))R.call(this,new O("Image.load"),{id:a});else{if(Array.isArray(a))return Gn(Ua(a,function(d){return new L(d)}));if(a instanceof M)"Array"==a.name()?R.call(this,new O("Image.constant"),{value:a}):R.call(this,a.H,
|
|
a.args,a.W);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(pm(b)&&om(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(L,R);w("ee.Image",L);var Hn=!1,Fn=function(){Hn||(Em(L,"Image","Image"),Em(L,"Window","Image","focal_"),Hn=!0)};
|
|
L.prototype.Z=function(a){return L.K.Z.call(this,a)};L.prototype.getInfo=L.prototype.Z;L.prototype.getMap=function(a,b){var c=this,d=Q(L.prototype.getMap,arguments),e=En(this,d.visParams);if(d.callback){var f=d.callback;ml(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=ml(e),d.image=this,d};L.prototype.getMap=L.prototype.getMap;
|
|
L.prototype.zb=function(a,b){var c=Q(L.prototype.zb,arguments),d=c.params?Jb(c.params):{};d.image=this;if(c.callback){var e=c.callback;ul(d,function(f,g){f?e(vl(f)):e(null,g)})}else return vl(ul(d))};L.prototype.getDownloadURL=L.prototype.zb;L.prototype.Kd=function(a,b){var c=Q(L.prototype.zb,arguments),d=c.params?Jb(c.params):{},e={},f=An(this,d);f=Bn(f,d,e);d=En(f,e);return c.callback?(pl(d,c.callback),null):pl(d)};L.prototype.getThumbId=L.prototype.Kd;
|
|
L.prototype.nf=function(a,b){var c=Q(L.prototype.nf,arguments);if(c.callback)this.Kd(c.params,function(d,e){var f="";if(void 0===e)try{f=sl(d)}catch(g){e=String(g.message)}c.callback(f,e)});else return sl(this.Kd(c.params))};L.prototype.getThumbURL=L.prototype.nf;var In=function(a,b,c){var d=Q(In,arguments);return Gn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};L.rgb=In;var Jn=function(a){return Gn(Array.prototype.slice.call(arguments),null)};L.cat=Jn;
|
|
var Gn=function(a,b){if(0==a.length)return P("Image.constant",[]);for(var c=new L(a[0]),d=1;d<a.length;d++)c=P("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
L.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||pm(b[0])||om(b[0])){for(var d=0;d<b.length;d++)if(!(pm(b[d])||om(b[d])||b[d]instanceof M))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return xm("Image.select",c)};L.prototype.select=L.prototype.select;
|
|
L.prototype.l=function(a,b){var c=Q(L.prototype.l,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 L(f[g])}var h=P("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new N;c.encode=function(n){return h.encode(n)};c.Fd=function(n,p){return Hj(n(h),p)};c.aa=function(){return{name:"",args:Ua(d,function(n){return{name:n,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
L.prototype.expression=L.prototype.l;L.prototype.clip=function(a){try{a=new S(a)}catch(b){}return P("Image.clip",this,a)};L.prototype.clip=L.prototype.clip;L.prototype.Xh=function(a){var b=1!=arguments.length||pm(arguments[0])?eb(arguments):arguments[0];return P("Image.rename",this,b)};L.prototype.rename=L.prototype.Xh;L.prototype.name=function(){return"Image"};var Kn=function(a){if(this instanceof Kn){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Kn)return a}else return km(Kn,arguments);Ln();if(Array.isArray(a))M.call(this,null,null),this.dd=a;else if(a instanceof M)M.call(this,a.H,a.args,a.W),this.dd=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(Kn,M);w("ee.List",Kn);var Mn=!1,Ln=function(){Mn||(Em(Kn,"List","List"),Mn=!0)};
|
|
Kn.prototype.encode=function(a){return Array.isArray(this.dd)?Ua(this.dd,function(b){return a(b)}):Kn.K.encode.call(this,a)};Kn.prototype.la=function(a){return Array.isArray(this.dd)?Dj(a(this.dd)):Kn.K.la.call(this,a)};Kn.prototype.name=function(){return"List"};var X=function(a,b){if(!(this instanceof X))return km(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)");Nn();a instanceof S&&(a=new W(a));a instanceof W&&(a=[a]);if(pm(a)){var c={tableId:a};b&&(c.geometryColumn=b);U.call(this,new O("Collection.loadTable"),c)}else if(Array.isArray(a))U.call(this,new O("Collection"),{features:Ua(a,function(d){return new W(d)})});else if(a instanceof Kn)U.call(this,
|
|
new O("Collection"),{features:a});else if(a&&"object"===typeof a&&"FeatureCollection"===a.type)U.call(this,new O("Collection"),{features:a.features.map(function(d){return new W(d)})});else if(a instanceof M)U.call(this,a.H,a.args,a.W);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(X,U);w("ee.FeatureCollection",X);var On=!1,Nn=function(){On||(Em(X,"FeatureCollection","FeatureCollection"),On=!0)};
|
|
X.prototype.getMap=function(a,b){var c=Q(X.prototype.getMap,arguments),d=xm("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.Z=function(a){return X.K.Z.call(this,a)};X.prototype.getInfo=X.prototype.Z;
|
|
X.prototype.zb=function(a,b,c,d){var e=Q(X.prototype.zb,arguments),f={table:this};e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);e.selectors&&(f.selectors=e.selectors);if(e.callback)wl(f,function(g,h){g?e.callback(xl(g)):e.callback(null,h)});else return xl(wl(f))};X.prototype.getDownloadURL=X.prototype.zb;
|
|
X.prototype.select=function(a,b,c){if(pm(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 Z=function(a){if(!(this instanceof Z))return km(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Pn();a instanceof L&&(a=[a]);if(pm(a))U.call(this,new O("ImageCollection.load"),{id:a});else if(Array.isArray(a))U.call(this,new O("ImageCollection.fromImages"),{images:Ua(a,function(b){return new L(b)})});else if(a instanceof Kn)U.call(this,new O("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof M)U.call(this,a.H,a.args,a.W);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,U);w("ee.ImageCollection",Z);var Qn=!1,Pn=function(){Qn||(Em(Z,"ImageCollection","ImageCollection"),Em(Z,"reduce","ImageCollection"),Qn=!0)};Z.prototype.lf=function(a,b){var c=Q(Z.prototype.lf,arguments);return Rn(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.lf;
|
|
Z.prototype.qf=function(a,b){var c=Q(Z.prototype.qf,arguments);return Rn(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.qf;
|
|
var Rn=function(a,b,c,d){var e={};a=a.map(function(h){h=An(h,b.params);return Bn(h,b.params,e)});var f={},g=Dn(e,f);f.imageCollection=a.map(function(h){g.image=h;return xm("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!Va(c,function(h){return h.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=pl;switch(d){case "video":c=ql;break;case "filmstrip":c=rl}if(b.callback)c(f,function(h,n){var p="";
|
|
if(void 0===n)try{p=sl(h)}catch(t){n=String(t.message)}b.callback(p,n)});else return sl(c(f))};Z.prototype.getMap=function(a,b){var c=Q(Z.prototype.getMap,arguments),d=P("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Z.prototype.getMap=Z.prototype.getMap;Z.prototype.Z=function(a){return Z.K.Z.call(this,a)};Z.prototype.getInfo=Z.prototype.Z;
|
|
Z.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Z.prototype.select=Z.prototype.select;Z.prototype.first=function(){return new L(P("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return L};var Sn=function(a){this.We=a;this.id=null},Un=function(a){var b={element:Tn(a)};Object.assign(b,a);b=yb(b,function(c){return null!=c});return new Sn(b)};
|
|
Sn.prototype.start=function(a,b){var c=this;A(this.We,"Task config must be specified for tasks to be started.");if(a){var d=function(){Na(c.id);Nl(c.id,c.We,function(e,f){f?b(f):a()})};this.id?d():yl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||yl(1)[0],Na(this.id,"Failed to obtain task ID."),Nl(this.id,this.We)};Sn.prototype.start=Sn.prototype.start;var Vn=function(a,b,c,d,e,f,g,h,n,p){var t=Q(Vn,arguments);t=Wn(t,"ASSET","EXPORT_IMAGE");return Un(t)};
|
|
w("module$contents$ee$batch_Export.image.toAsset",Vn);var Xn=function(a,b,c,d,e,f,g,h,n,p,t,C,D,ca,Y){var V=Q(Xn,arguments);V=Wn(V,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Un(V)};w("module$contents$ee$batch_Export.image.toCloudStorage",Xn);var Yn=function(a,b,c,d,e,f,g,h,n,p,t,C,D,ca,Y){var V=Q(Yn,arguments);V=Wn(V,"DRIVE","EXPORT_IMAGE");return Un(V)};w("module$contents$ee$batch_Export.image.toDrive",Yn);
|
|
var Zn=function(a,b,c,d,e,f,g,h,n,p,t,C){var D=Q(Zn,arguments);D=Wn(D,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Un(D)};w("module$contents$ee$batch_Export.map.toCloudStorage",Zn);var $n=function(a,b,c,d,e,f){var g=Q($n,arguments);g=Wn(g,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Un(g)};w("module$contents$ee$batch_Export.table.toCloudStorage",$n);var ao=function(a,b,c,d,e,f){var g=Q(ao,arguments);g.type="EXPORT_FEATURES";g=Wn(g,"DRIVE","EXPORT_FEATURES");return Un(g)};
|
|
w("module$contents$ee$batch_Export.table.toDrive",ao);var bo=function(a,b,c){var d=Q(bo,arguments);d=Wn(d,"ASSET","EXPORT_FEATURES");return Un(d)};w("module$contents$ee$batch_Export.table.toAsset",bo);var co=function(a,b,c,d,e,f,g,h,n,p,t,C){var D=Q(co,arguments);D=Wn(D,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Un(D)};w("module$contents$ee$batch_Export.video.toCloudStorage",co);var eo=function(a,b,c,d,e,f,g,h,n,p,t,C){var D=Q(eo,arguments);D=Wn(D,"DRIVE","EXPORT_VIDEO");return Un(D)};
|
|
w("module$contents$ee$batch_Export.video.toDrive",eo);var fo=function(a,b,c,d,e,f,g,h,n,p,t,C,D,ca,Y,V,Bb,fq,gq,hq){var Pi=Q(fo,arguments);Pi=Wn(Pi,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Un(Pi)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",fo);
|
|
var Tn=function(a){var b=function(d){return d in a},c=go.find(b);A(1===Xa(go,b),'Expected a single "image" or "collection" key.');b=a[c];if(!(b instanceof L||b instanceof X||b instanceof Z||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},Wn=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'.");}e.fileFormat=a;null!=e.formatOptions&&(a=ho(e,a),delete e.formatOptions,Object.assign(e,a));e=io(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);
|
|
break;case "EXPORT_TILES":b=io(e,b);e=b.fileFormat;null==e&&(e="AUTO_JPEG_PNG");e=e.toUpperCase();switch(e){case "AUTO":case "AUTO_JPEG_PNG":case "AUTO_JPG_PNG":e="AUTO_JPEG_PNG";break;case "JPG":case "JPEG":e="JPEG";break;case "PNG":e="PNG";break;default:throw Error("Invalid file format "+e+". Supported formats are: 'AUTO', 'PNG', and 'JPEG'.");}b.fileFormat=e;e=b;break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());a=e.fileFormat;null==a&&(a="CSV");a=a.toUpperCase();
|
|
switch(a){case "CSV":a="CSV";break;case "JSON":case "GEOJSON":case "GEO_JSON":a="GEO_JSON";break;case "KML":a="KML";break;case "KMZ":a="KMZ";break;case "SHP":a="SHP";break;case "TF_RECORD":case "TF_RECORD_TABLE":case "TFRECORD":a="TF_RECORD_TABLE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'CSV', 'GeoJSON', 'KML', 'KMZ', 'SHP', and 'TFRecord'.");}e.fileFormat=a;e=io(e,b);break;case "EXPORT_VIDEO":e=jo(e);e=io(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
|
|
delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=jo(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=io(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.je();else if("string"===typeof b)try{b=Pa(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 Ym(b)}catch(f){try{new an(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=JSON.stringify(b);d.region=b}return e},io=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(!$a(["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},ko={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},lo={GEO_TIFF:"tiff",
|
|
TF_RECORD_IMAGE:"tfrecord"},jo=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;var b=a.fileFormat;null==b&&(b="MP4");b=b.toUpperCase();switch(b){case "MP4":b="MP4";break;case "GIF":case "JIF":b="GIF";break;case "VP9":case "WEBM":b="VP9";break;default:throw Error("Invalid file format "+b+". Supported formats are: 'MP4', 'GIF', and 'WEBM'.");}a.fileFormat=b;return a},ho=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=lo[b];for(var d=ko[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(!$a(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},go=["image","collection"];var mo=function(a){if(!(this instanceof mo))return km(mo,arguments);if(a instanceof mo)return a;no();if("number"===typeof a)M.call(this,null,null),this.gd=a;else if(a instanceof M)M.call(this,a.H,a.args,a.W),this.gd=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(mo,M);w("ee.Number",mo);var oo=!1,no=function(){oo||(Em(mo,"Number","Number"),oo=!0)};mo.prototype.encode=function(a){return"number"===typeof this.gd?this.gd:mo.K.encode.call(this,a)};
|
|
mo.prototype.la=function(a){return"number"===typeof this.gd?Dj(a(this.gd)):mo.K.la.call(this,a)};mo.prototype.name=function(){return"Number"};var po=function(a){if(!(this instanceof po))return km(po,arguments);if(a instanceof po)return a;qo();if("string"===typeof a)M.call(this,null,null),this.od=a;else if(a instanceof M)this.od=null,a.H&&"String"==a.H.aa().returns?M.call(this,a.H,a.args,a.W):M.call(this,new O("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(po,M);w("ee.String",po);var ro=!1,qo=function(){ro||(Em(po,"String","String"),ro=!0)};
|
|
po.prototype.encode=function(a){return"string"===typeof this.od?this.od:po.K.encode.call(this,a)};po.prototype.la=function(a){return"string"===typeof this.od?Dj(a(this.od)):po.K.la.call(this,a)};po.prototype.name=function(){return"String"};var so=function(a,b){if(!(this instanceof so))return km(so,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(to(g in mm?mm[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.cb=uo(a,c,b);this.zg=b.apply(null,c)};x(so,N);w("ee.CustomFunction",so);so.prototype.encode=function(a){return{type:"Function",argumentNames:Ua(this.cb.args,function(b){return b.name}),body:a(this.zg)}};
|
|
so.prototype.la=function(a){return Ij(this.cb.args.map(function(b){return b.name}),a(this.zg))};so.prototype.Fd=function(a,b){return Hj(a(this),b)};so.prototype.aa=function(){return this.cb};
|
|
var to=function(a,b){a=a||Object;if(!(a.prototype instanceof M))if(a&&a!=Object)if(a==String)a=po;else if(a==Number)a=mo;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=M;var c=function(d){this.args=this.H=null;this.W=d};c.prototype=a.prototype;return new c(b)},vo=function(a,b){b={name:"",returns:"Object",args:Ua(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof M?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new so(b,a)},uo=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].W&&d.push(e);if(0===d.length)return a;c="_MAPPING_VAR_"+function(h){var n=function(t){return t.map(p).reduce(function(C,D){return C+D},0)},p=function(t){return t.Xa?1:t.Ha?n(t.Ha.values):t.Ia?n(Object.values(t.Ia.values)):t.Aa?n(Object.values(t.Aa.arguments)):0};return n(Object.values(h.values))}(Ck(c.apply(null,b)))+"_";for(e=0;e<d.length;e++){var f=
|
|
d[e],g=c+e;b[f].W=g;a.args[f].name=g}return a};var wo=function(a,b){if(!(this instanceof wo))return km(wo,arguments);if(a instanceof wo)return a;xo();var c=Q(wo,arguments);a=c.date;c=c.tz;var d=new O("Date"),e={},f=null;if(pm(a)){if(e.value=a,c)if(pm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(om(a))e.value=a;else if(ya(a))e.value=Math.floor(a.getTime());else if(a instanceof M)a.H&&"Date"==a.H.aa().returns?(d=a.H,e=a.args,f=a.W):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);M.call(this,d,e,f)};x(wo,M);w("ee.Date",wo);var yo=!1,xo=function(){yo||(Em(wo,"Date","Date"),yo=!0)};wo.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var Ao=function(a){return zo(JSON.parse(a))};w("ee.Deserializer.fromJSON",Ao);var zo=function(a){if("result"in a&&"values"in a)return Bo(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]=Co(f,b)}a=a.value}return Co(a,b)};w("ee.Deserializer.decode",zo);
|
|
var Co=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Ua(a,function(e){return Co(e,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":a=a.value;if("string"!==typeof a)throw Error("Invalid variable name: "+a);return to(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
a);return new wo(a/1E3);case "Bytes":return Do(new Ue({wb:a}),a);case "Invocation":return c="functionName"in a?wm(a.functionName):Co(a["function"],b),a=zb(a.arguments,function(e){return Co(e,b)}),Eo(c,a);case "Dictionary":return zb(a.value,function(e){return Co(e,b)});case "Function":var d=Co(a.body,b);a={name:"",args:Ua(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new so(a,function(){return d});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);}},Do=function(a,b){var c=function(){};q(c,Bj);c.prototype.encode=function(){return b};c.prototype.la=function(){return a};return new c},Eo=function(a,b){if(a instanceof N)return a.apply(b);if(a instanceof M){var c=function(){return N.apply(this,arguments)||this};q(c,N);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Fd=function(d,e){return Hj(d(a),e)};return new M(new c,
|
|
b)}throw Error("Invalid function value");},Fo=function(a){return Bo(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",Fo);
|
|
var Bo=function(a){var b=Fd(ff,a),c={},d=function(g,h){if(!(g in c)){if(!(g in b.values))throw Error("Cannot find "+h+" "+g);c[g]=e(b.values[g])}return c[g]},e=function(g){if(null!==g.mb)g=g.mb;else if(null!==g.Ha)g=g.Ha.values.map(e);else if(null!==g.Ia)g=zb(g.Ia.values,e);else if(null!==g.Sb)g=to(Object,g.Sb);else if(null!==g.Xa)g=f(g.Xa);else if(null!==g.Aa){var h=g.Aa;g=h.Ya?d(h.Ya,"function"):wm(h.functionName);h=zb(h.arguments,e);g=Eo(g,h)}else g=null!==g.wb?Do(new Ue({wb:g.wb}),g.wb):null!==
|
|
g.Yb?Do(new Ue({Yb:g.Yb}),g.Yb):null!==g.Ra?d(g.Ra,"reference"):null;return g},f=function(g){var h=d(g.body,"function body");g={args:g.oc.map(function(n){return{name:n,type:"Object",optional:!1}}),name:"",returns:"Object"};return new so(g,function(){return h})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",Bo);var Go=function(a){if(!(this instanceof Go))return km(Go,arguments);if(a instanceof Go)return a;Ho();qm(a)?(M.call(this,null,null),this.Tc=a):(a instanceof M&&a.H&&"Dictionary"==a.H.aa().returns?M.call(this,a.H,a.args,a.W):M.call(this,new O("Dictionary"),{input:a},null),this.Tc=null)};x(Go,M);w("ee.Dictionary",Go);var Io=!1,Ho=function(){Io||(Em(Go,"Dictionary","Dictionary"),Io=!0)};Go.prototype.encode=function(a){return null!==this.Tc?a(this.Tc):Go.K.encode.call(this,a)};
|
|
Go.prototype.la=function(a){return null!==this.Tc?Dj(a(this.Tc)):Go.K.la.call(this,a)};Go.prototype.name=function(){return"Dictionary"};var Jo={};w("ee.Terrain",Jo);Jo.wf=!1;Jo.ak=function(){Jo.wf||(Em(Jo,"Terrain","Terrain"),Jo.wf=!0)};Jo.reset=function(){Fm(Jo);Jo.wf=!1};var Po=function(a,b,c,d,e){if("ready"!=Ko||a||b){var f=null!=c;if(d)if(f)Lo.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Ko&&f)Mo.push(c);else if(Ko="loading",Vi(a,b,e),f)Mo.push(c),Am(No,Oo);else try{Am(),No()}catch(g){throw Oo(g),g;}}else c&&c()};w("ee.initialize",Po);
|
|
var So=function(){Ko="not_ready";qj=pj=ej=null;oj=!1;ym=null;zm={};Fm(wo);yo=!1;Fm(Go);Io=!1;Fm(R);Mm=!1;Fm(L);Hn=!1;Fm(W);zn=!1;Fm(U);xn=!1;Fm(Z);Qn=!1;Fm(X);On=!1;Fm(T);hn=!1;Fm(S);Pm=!1;Fm(Kn);Mn=!1;Fm(mo);oo=!1;Fm(po);ro=!1;Jo.reset();for(var a=r.ee,b=0;b<Qo.length;b++){var c=Qo[b];Fm(a[c]);delete a[c]}Qo=[];mm=a;a=Ro;for(var d in a)delete a[d]};w("ee.reset",So);var To={Ck:"not_ready",LOADING:"loading",Dk:"ready"};w("ee.InitState",To);w("ee.InitState.NOT_READY","not_ready");
|
|
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var Ko="not_ready",Mo=[],Lo=[];w("ee.TILE_SIZE",256);var Qo=[],Ro={};w("ee.Algorithms",Ro);var Uo=function(a,b){"string"===typeof a&&(a=new O(a));return N.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",Uo);var Vo=function(a,b){"string"===typeof a&&(a=new O(a));return a.apply(b)};w("ee.apply",Vo);
|
|
var No=function(){if("loading"==Ko){try{xo();Ho();Lm();Fn();yn();wn();Pn();Nn();gn();Nm();Ln();no();qo();Jo.ak();var a=Bm(),b={},c={},d;for(d in a){b[-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d]=!0;var e=a[d].returns.replace(/<.*>/,"");c[e]=!0}var f=r.ee,g;for(g in b)g in c&&!(g in f)&&(f[g]=Wo(g),Qo.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,zm[g]=!0):f[g].signature={});mm=f;Xo()}catch(h){Oo(h);return}Ko="ready";for(Lo=[];0<Mo.length;)Mo.shift()()}},Oo=function(a){if("loading"==
|
|
Ko)for(Ko="not_ready",Mo=[];0<Lo.length;)Lo.shift()(a)},Xo=function(){var a=Cm();Db(a).sort().forEach(function(b){var c=a[b],d=c.aa();if(!d.hidden){b=b.split(".");var e=Ro;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=gb(b,1)}f=function(g){return vm(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=v(c.toString,c);e[b[0]]=f}})},Wo=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),f=1==e.length;if(f&&e[0]instanceof
|
|
d)return e[0];if(!(this instanceof d))return km(d,e);d=Dm(a);var g=!(e[0]instanceof M),h=!1;d&&(f?g?h=!0:e[0].H&&e[0].H.aa().returns==d.aa().returns||(h=!0):h=!0);if(h)e=rm(e,d.aa())?e[0]:tm(d,e),M.call(this,d,um(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];M.call(this,e.H,e.args,e.W)}};x(b,M);b.prototype.name=function(){return a};Em(b,a,a);return b};
|
|
sm=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new L(a);case "Feature":return a instanceof U?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 M)return new R(a.H,a.args,a.W);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof X?P("Collection.geometry",a):new S(a);case "FeatureCollection":case "Collection":return a instanceof U?
|
|
a:new X(a);case "ImageCollection":return new Z(a);case "Filter":return new T(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 vo(a,c)}if(a instanceof Bj)return a;throw Error("Argument is not a function: "+a);case "String":return pm(a)||a instanceof po||a instanceof M?new po(a):a;case "Dictionary":return qm(a)?a:new Go(a);case "List":return new Kn(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new mo(a);
|
|
default:if(b in c){d=Dm(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if("string"===typeof a){if(a in c[b])return c[b][a].call();throw Error("Unknown algorithm: "+b+"."+a);}return new c[b](a)}return a}}};var Yo=function(a,b,c){wd.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.fh=new kd;this.eh=new kd};q(Yo,wd);Yo.prototype.getTile=function(a,b){var c=xd(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.Eb,this.token].join("/");this.Gb.push(c);this.Eb+=1;var d=bh("DIV");Zo(this,b,a,c,d);$o(this);return d};
|
|
var Zo=function(a,b,c,d,e){var f=Fi(Di);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.fh.set(c,g),this.eh.set(c,e),bb(this.Gb,d),$o(this);else throw this.ig.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},$o=function(a){a.dispatchEvent(new yd(a.Gb.length))};Yo.prototype.B=function(){this.eh=this.fh=null;wd.prototype.B.call(this)};
|
|
w("ee.FloatTileOverlay",Yo);var ap=function(){this.de=new Map};ap.prototype.clear=function(){this.de.clear()};var bp=function(a,b){a.de.has(b)||a.de.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.de.get(b)};var cp=function(a){y.call(this);this.Za=a;this.J={}};x(cp,y);var dp=[];cp.prototype.$a=function(a,b,c,d){Array.isArray(b)||(b&&(dp[0]=b.toString()),b=dp);for(var e=0;e<b.length;e++){var f=Tc(a,b[e],c||this.handleEvent,d||!1,this.Za||this);if(!f)break;this.J[f.key]=f}return this};cp.prototype.ed=function(a,b,c,d){return ep(this,a,b,c,d)};
|
|
var ep=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)ep(a,b,c[g],d,e,f);else{b=Sc(b,c,d||a.handleEvent,e,f||a.Za||a);if(!b)return a;a.J[b.key]=b}return a};cp.prototype.ne=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.ne(a,b[f],c,d,e);else c=c||this.handleEvent,d=u(d)?!!d.capture:!!d,e=e||this.Za||this,c=Uc(c),d=!!d,b=Ic(a)?a.Wc(b,c,d,e):a?(a=Wc(a))?a.Wc(b,c,d,e):null:null,b&&(ad(b),delete this.J[b.key])};
|
|
cp.prototype.md=function(){xb(this.J,function(a,b){this.J.hasOwnProperty(b)&&ad(a)},this);this.J={}};cp.prototype.B=function(){cp.K.B.call(this);this.md()};cp.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var gp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Fb[a.name]):(this.code=a=Ma(a.code),this.name=fp(a));Ha.call(this,gc("%s %s",this.name,b))};x(gp,Ha);var fp=function(a){var b=Gb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Fb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};var hp=function(a,b){z.call(this,a.type,b);this.Ka=a};x(hp,z);var ip=function(){B.call(this);this.da=new FileReader;this.da.onloadstart=v(this.tc,this);this.da.onprogress=v(this.tc,this);this.da.onload=v(this.tc,this);this.da.onabort=v(this.tc,this);this.da.onerror=v(this.tc,this);this.da.onloadend=v(this.tc,this)};x(ip,B);k=ip.prototype;k.abort=function(){try{this.da.abort()}catch(a){throw new gp(a,"aborting read");}};k.Ab=function(){return this.da.readyState};k.getError=function(){return this.da.error&&new gp(this.da.error,"reading file")};
|
|
k.tc=function(a){this.dispatchEvent(new hp(a,this))};k.B=function(){ip.K.B.call(this);delete this.da};k.readAsBinaryString=function(a){this.da.readAsBinaryString(a)};k.readAsArrayBuffer=function(a){this.da.readAsArrayBuffer(a)};k.readAsText=function(a,b){this.da.readAsText(a,b)};var jp=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};k=jp.prototype;k.clone=function(){return new jp(this.top,this.right,this.bottom,this.left)};k.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};k.contains=function(a){return this&&a?a instanceof jp?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
|
|
k.expand=function(a,b,c,d){u(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};k.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
|
|
k.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};k.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
|
|
k.translate=function(a,b){a instanceof Xg?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(Ma(a),this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var kp=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};k=kp.prototype;k.clone=function(){return new kp(this.left,this.top,this.width,this.height)};k.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
|
|
k.uh=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.cf=function(a){b:{var b=Math.max(this.left,a.left);var c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top),e=Math.min(this.top+this.height,a.top+a.height);if(d<=e){b=new kp(b,d,c-b,e-d);break b}}b=null}if(b&&b.height&&b.width){b=[];c=this.top;d=this.height;e=this.left+this.width;var f=this.top+this.height,g=a.left+a.width,h=a.top+a.height;a.top>this.top&&(b.push(new kp(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);h<f&&(b.push(new kp(this.left,
|
|
h,this.width,f-h)),d=h-c);a.left>this.left&&b.push(new kp(this.left,c,a.left-this.left,d));g<e&&b.push(new kp(g,c,e-g,d));a=b}else a=[this.clone()];return a};k.contains=function(a){return a instanceof Xg?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 Xg(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 Xg?(this.left+=a.x,this.top+=a.y):(this.left+=Ma(a),"number"===typeof b&&(this.top+=b));return this};
|
|
k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var lp=function(a,b){A(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};var mp=function(a,b){B.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.ce=new ap;this.Fb=new kd;this.Eb=0;this.hg=a;this.pb=new cp(this);this.projection=null;this.radius=0;this.alt=null};q(mp,B);k=mp.prototype;k.Ne=function(a){return Tc(this,"tile-load",a)};k.Sf=function(a){ad(a)};
|
|
k.Xc=function(){return np(this,"throttled")+np(this,"loading")+np(this,"new")};k.setOpacity=function(a){this.opacity=a;this.Fb.forEach(function(b){lp(b.ua,this.opacity)},this)};k.getStats=function(){return this.ce};
|
|
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.Eb++].join("-"),this.hg.lh()].join("-");b=this.Ng(d,b,c,a);b.tileSize=this.tileSize;lp(b.ua,this.opacity);this.Fb.set(a,b);op(this,b);this.dispatchEvent(new pp(this.Xc()));this.hg.Bh(b,(new Date).getTime()/1E3);return b.ua};k.releaseTile=function(a){var b=this.Fb.get(a.id);this.Fb.remove(a.id);b&&(b.abort(),Ga(b))};
|
|
var op=function(a,b){a.pb.$a(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.dk,d=(new Date).getTime();bp(this.ce,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new qp(this.Xc()));break;case "throttled":bp(this.ce,b.zoom).throttleCount++;this.dispatchEvent(new rp(b.Oa));break;case "failed":bp(this.ce,b.zoom).errorCount++;this.dispatchEvent(new sp(b.Oa,b.Tj));break;case "aborted":this.dispatchEvent(new tp(this.Xc()))}})};
|
|
mp.prototype.B=function(){B.prototype.B.call(this);this.Fb.forEach(Ga);this.Fb.clear();this.Fb=null;Ga(this.pb);this.hg=this.pb=null};var np=function(a,b){return Xa(a.Fb.U(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",mp);mp.prototype.removeTileCallback=mp.prototype.Sf;mp.prototype.addTileCallback=mp.prototype.Ne;var qp=function(){z.call(this,"tile-load")};q(qp,z);var pp=function(){z.call(this,"tile-start")};q(pp,z);var rp=function(){z.call(this,"tile-throttle")};q(rp,z);
|
|
var sp=function(a,b){z.call(this,"tile-fail");this.errorMessage=b};q(sp,z);var tp=function(){z.call(this,"tile-abort")};q(tp,z);var up=function(a,b,c,d){B.call(this);this.sc=a;this.zoom=b;this.ua=c.createElement("div");this.ua.id=d;this.gk=5;this.Zd=function(){};this.fe="new";this.$h=0;this.yf=!1};q(up,B);
|
|
var wp=function(a){if(!a.yf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");vp(a,"loading");a.dk=(new Date).getTime();a.eb=new Gi;a.eb.Ec="blob";a.eb.$a("complete",function(){var b=Si(a.eb),c=a.eb.getStatus();429==c&&vp(a,"throttled");if(zi(c)){var d={};xb(Ti(a.eb),function(f,g){d[g.toLowerCase()]=f});a.uk=d;a.fi=b;a.Vc()}else if(b){var e=new ip;e.$a("loadend",function(){a.nd(e.da.result)},void 0);e.readAsText(b)}else a.nd("Failed to load tile.")},
|
|
!1);a.eb.ed("ready",Ea(Ga,a.eb));a.Oa&&a.Oa.endsWith("&profiling=1")&&(a.Oa=a.Oa.replace("&profiling=1",""),a.eb.headers.set("X-Earth-Engine-Computation-Profile","1"));a.eb.send(a.Oa,"GET")};k=up.prototype;k.Vc=function(){this.Zd(this);vp(this,"loaded")};k.Pc=function(){Ga(this.eb)};
|
|
k.nd=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.$h>=this.gk?(this.Tj=b(a),vp(this,"failed")):(this.Pc(),setTimeout(v(function(){this.Va||(this.yf=!0,wp(this),this.yf=!1)},this),1E3*Math.pow(2,this.$h++)))};k.abort=function(){this.Pc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&vp(this,this.fe in xp?"removed":"aborted")};k.getStatus=function(){return this.fe};var vp=function(a,b){a.fe=b;a.dispatchEvent("status-changed")};
|
|
up.prototype.B=function(){B.prototype.B.call(this);this.Pc();this.ua.remove();this.Zd=null};var xp={aborted:!0,failed:!0,loaded:!0,removed:!0};var yp=function(){y.call(this)};q(yp,y);var zp=function(a,b){mp.call(this,a,b);this.Cg=new kd;this.Yg=new kd};q(zp,mp);zp.prototype.Ng=function(a,b,c,d){var e=new Ap(a,b,c,d);this.pb.$a(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Cg.set(a,new Float32Array(e.vb)),this.Yg.set(a,e.ua))});return e};zp.prototype.B=function(){mp.prototype.B.call(this);this.Yg=this.Cg=null};w("ee.layers.BinaryOverlay",zp);var Ap=function(a,b,c,d){up.call(this,a,b,c,d)};q(Ap,up);
|
|
Ap.prototype.Vc=function(){var a=new ip;a.$a("loadend",function(){this.vb=a.da.result;up.prototype.Vc.call(this)},void 0,this);a.readAsArrayBuffer(this.fi)};var Bp=function(a){B.call(this);this.ad={};this.$c={};this.Za=new cp(this);this.ba=a;this.Ue=!1};x(Bp,B);var Cp=[nc&&!xc("11")?"readystatechange":"load","abort","error"],Dp=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Ue=!1,a.ad[b]={src:c,Mg:null}},Ep=function(a,b){delete a.ad[b];var c=a.$c[b];c&&(delete a.$c[b],a.Za.ne(c,Cp,a.Mh))};
|
|
Bp.prototype.start=function(){var a=this.ad;Sa(Db(a),function(b){var c=a[b];if(c&&(delete a[b],!this.Va)){if(this.ba){var d=this.ba;d=(d?new gh(fh(d)):Ia||(Ia=new gh)).Rj("IMG")}else d=new Image;c.Mg&&(d.crossOrigin=c.Mg);this.Za.$a(d,Cp,this.Mh);this.$c[b]=d;d.id=b;d.src=c.src}},this)};
|
|
Bp.prototype.Mh=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));Ep(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Va&&Hb(this.$c)&&Hb(this.ad)&&!this.Ue&&(this.Ue=!0,this.dispatchEvent("complete"))}};Bp.prototype.B=function(){delete this.ad;delete this.$c;Ga(this.Za);Bp.K.B.call(this)};var Fp=function(a,b){mp.call(this,a,b)};q(Fp,mp);Fp.prototype.Ng=function(a,b,c,d){return new Gp(a,b,c,d)};w("ee.layers.ImageOverlay",Fp);var Gp=function(a,b,c,d){up.call(this,a,b,c,d);this.Zd=Hp;this.sh=this.ha=this.Pd=null;this.hd=""};q(Gp,up);
|
|
Gp.prototype.Vc=function(){try{var a=ec(this.fi);this.hd=cc(a);var b="about:invalid#zClosurez"!==this.hd?this.hd:this.Oa}catch(c){b=this.Oa}this.ha=new Bp;Dp(this.ha,this.ua.id+"-image",b);this.sh=Sc(this.ha,Ip,function(c){"load"==c.type?(this.Pd=c.target,up.prototype.Vc.call(this)):this.nd()},void 0,this);this.ha.start()};Gp.prototype.Pc=function(){up.prototype.Pc.call(this);this.ha&&(ad(this.sh),Ga(this.ha))};Gp.prototype.B=function(){up.prototype.B.call(this);this.hd&&URL.revokeObjectURL(this.hd)};
|
|
var Hp=function(a){a.ua.appendChild(a.Pd)},Ip=["load","abort","error"];var Jp=function(a){for(var b=arguments[0],c=1;c<arguments.length;c++){var d=arguments[c];if(0==d.lastIndexOf("/",0))b=d;else{var e;(e=""==b)||(e=b.length-1,e=0<=e&&b.indexOf("/",e)==e);b=e?b+d:b+("/"+d)}}return b};var Kp=function(a,b,c,d){y.call(this);this.Bg=a;this.qb=b;this.fg=d||"";this.Vd=c};q(Kp,yp);Kp.prototype.Bh=function(a){if(a.zoom<=this.Vd)a.Oa=this.Ld(a.sc,a.zoom);else{var b=a.zoom-this.Vd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.sc.x/c),Math.floor(a.sc.y/c));a.Oa=this.Ld(c,a.zoom-b);a.Zd=Ea(Lp,this.Vd)}var d=v(a.nd,a);a.nd=v(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?vp(a,"loaded"):d(e)},a);wp(a)};
|
|
Kp.prototype.lh=function(){return[this.Bg,this.qb,this.Vd,this.fg].join("-")};Kp.prototype.Ld=function(a,b){a=Jp("https://storage.googleapis.com",this.Bg,this.qb,String(b),String(a.x),String(a.y));this.fg&&(a+=this.fg);return a};
|
|
var Lp=function(a,b){if(!b.Pd)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.ua.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.ua.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Pd,c/a*(b.sc.x%a),c/a*(b.sc.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",Kp);var Mp=function(){this.La=[];this.Ta=[]};k=Mp.prototype;k.enqueue=function(a){this.Ta.push(a)};k.Sc=function(){0==this.La.length&&(this.La=this.Ta,this.La.reverse(),this.Ta=[]);return this.La.pop()};k.O=function(){return this.La.length+this.Ta.length};k.isEmpty=function(){return 0==this.La.length&&0==this.Ta.length};k.clear=function(){this.La=[];this.Ta=[]};k.contains=function(a){return $a(this.La,a)||$a(this.Ta,a)};
|
|
k.remove=function(a){var b=this.La;var c=Ra(b,a);0<=c?(cb(b,c),b=!0):b=!1;return b||bb(this.Ta,a)};k.U=function(){for(var a=[],b=this.La.length-1;0<=b;--b)a.push(this.La[b]);var c=this.Ta.length;for(b=0;b<c;++b)a.push(this.Ta[b]);return a};var Np=function(a,b){y.call(this);this.Jh=a||0;this.Ud=b||10;if(this.Jh>this.Ud)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Wa=new Mp;this.Bb=new td;this.delay=0;this.zf=null;this.vd()};x(Np,y);Np.prototype.Yc=function(){var a=Date.now();if(!(null!=this.zf&&a-this.zf<this.delay)){for(var b;0<this.Wa.O()&&(b=this.Wa.Sc(),!this.If(b));)this.vd();!b&&this.O()<this.Ud&&(b=this.Xe());b&&(this.zf=a,this.Bb.add(b));return b}};
|
|
var Op=function(a,b){return a.Bb.remove(b)?(a.Me(b),!0):!1};k=Np.prototype;k.Me=function(a){this.Bb.remove(a);this.If(a)&&this.O()<this.Ud?this.Wa.enqueue(a):this.Dd(a)};k.vd=function(){for(var a=this.Wa;this.O()<this.Jh;)a.enqueue(this.Xe());for(;this.O()>this.Ud&&0<this.Wa.O();)this.Dd(a.Sc())};k.Xe=function(){return{}};k.Dd=function(a){if("function"==typeof a.Ua)a.Ua();else for(var b in a)a[b]=null};k.If=function(a){return"function"==typeof a.Pj?a.Pj():!0};
|
|
k.contains=function(a){return this.Wa.contains(a)||this.Bb.contains(a)};k.O=function(){return this.Wa.O()+this.Bb.O()};k.isEmpty=function(){return this.Wa.isEmpty()&&this.Bb.isEmpty()};k.B=function(){Np.K.B.call(this);if(0<this.Bb.O())throw Error("[goog.structs.Pool] Objects not released");delete this.Bb;for(var a=this.Wa;!a.isEmpty();)this.Dd(a.Sc());delete this.Wa};var Pp=function(a,b){this.yh=a;this.qe=b};Pp.prototype.getKey=function(){return this.yh};Pp.prototype.clone=function(){return new Pp(this.yh,this.qe)};var Qp=function(a){this.Ca=[];if(a)a:{if(a instanceof Qp){var b=a.Ma();a=a.U();if(0>=this.O()){for(var c=this.Ca,d=0;d<b.length;d++)c.push(new Pp(b[d],a[d]));break a}}else b=Db(a),a=Cb(a);for(d=0;d<b.length;d++)Rp(this,b[d],a[d])}},Rp=function(a,b,c){var d=a.Ca;d.push(new Pp(b,c));b=d.length-1;a=a.Ca;for(c=a[b];0<b;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};k=Qp.prototype;
|
|
k.remove=function(){var a=this.Ca,b=a.length,c=a[0];if(!(0>=b)){if(1==b)ab(a);else{a[0]=a.pop();a=0;b=this.Ca;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.qe}};k.U=function(){for(var a=this.Ca,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].qe);return b};k.Ma=function(){for(var a=this.Ca,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
k.Qc=function(a){return Va(this.Ca,function(b){return b.qe==a})};k.yb=function(a){return Va(this.Ca,function(b){return b.getKey()==a})};k.clone=function(){return new Qp(this)};k.O=function(){return this.Ca.length};k.isEmpty=function(){return 0==this.Ca.length};k.clear=function(){ab(this.Ca)};var Sp=function(){Qp.call(this)};x(Sp,Qp);Sp.prototype.enqueue=function(a,b){Rp(this,a,b)};Sp.prototype.Sc=function(){return this.remove()};var Tp=function(a,b){this.Wg=void 0;this.ae=new Sp;Np.call(this,a,b)};x(Tp,Np);k=Tp.prototype;k.Yc=function(a,b){if(!a)return(a=Tp.K.Yc.call(this))&&this.delay&&(this.Wg=r.setTimeout(v(this.Nd,this),this.delay)),a;this.ae.enqueue(void 0!==b?b:100,a);this.Nd()};k.Nd=function(){for(var a=this.ae;0<a.O();){var b=this.Yc();if(b)a.Sc().apply(this,[b]);else break}};k.Me=function(a){Tp.K.Me.call(this,a);this.Nd()};k.vd=function(){Tp.K.vd.call(this);this.Nd()};
|
|
k.B=function(){Tp.K.B.call(this);r.clearTimeout(this.Wg);this.ae.clear();this.ae=null};var Up=function(a,b){y.call(this);this.Af=a;this.wa=b||null};q(Up,yp);Up.prototype.Bh=function(a,b){var c=Tc(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.uk["x-earth-engine-computation-profile"];this.wa&&e&&this.wa.Lj(a.ua.id,e);break;case "failed":case "aborted":this.wa&&""!==a.ua.id&&this.wa.mk(a.ua.id),ad(c)}},void 0,this);a.Oa=this.Ld(a.sc,a.zoom);var d=v(this.rf,this,a);Vp().Yc(d,b)};Up.prototype.lh=function(){return this.Af.mapid+"-"+this.Af.token};
|
|
Up.prototype.rf=function(a,b){var c=Vp();if(a.Va||"aborted"==a.getStatus())Op(c,b);else{var d=Tc(a,"status-changed",function(){a.fe in xp&&(ad(d),Op(c,b))});wp(a)}};Up.prototype.Ld=function(a,b){a=nl(this.Af,a.x,a.y,b);return this.wa&&this.wa.isEnabled()?a+"&profiling=1":a};var Vp=function(){Wp||(Wp=new Tp(0,4));return Wp};w("ee.layers.EarthEngineTileSource",Up);var Wp=null;var Yp=function(){B.call(this);this.ke=new Xp(0,60);this.Dc=new kd};q(Yp,B);Yp.prototype.send=function(a,b,c,d,e){if(this.Dc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Zp(a,b,d,v(this.Wh,this),void 0!==e?e:1);this.Dc.set(a,b);a=v(this.rf,this,b);this.ke.Yc(a,c);return b};Yp.prototype.abort=function(a){if(a=this.Dc.get(a))a.nc||(a.nc=!0,a.Ka=new z("abort")),this.Wh(a)};
|
|
Yp.prototype.rf=function(a,b){if(a.ha||a.nc)$p(this,b);else if(a.si=b,b.setActive(!0),b=new Bp,a.ha=b,!a.retry())throw Error("Cannot dispatch first request!");};Yp.prototype.Wh=function(a){this.Dc.remove(a.getId());a.ha&&($p(this,a.si),a.ha.Ua());a.sf&&a.sf(a.Ka,a.Uh)};var $p=function(a,b){b.setActive(!1);if(!Op(a.ke,b))throw Error("Object not released");};Yp.prototype.B=function(){B.prototype.B.call(this);this.ke.Ua();this.ke=null;var a=this.Dc;Sa(a.U(),function(b){b.Ua()});a.clear();this.Dc=null};
|
|
w("ee.MapTileManager",Yp);Yp.xf=void 0;Yp.kh=function(){return Yp.xf?Yp.xf:Yp.xf=new Yp};var Zp=function(a,b,c,d,e){y.call(this);this.T=a;this.Ak=b;this.hk=void 0!==e?e:1;this.sf=c;this.ec=d};q(Zp,y);k=Zp.prototype;k.getId=function(){return this.T};k.getUrl=function(){return this.Ak};k.Yj=function(a){if(this.nc)this.ec&&this.ec(this);else switch(a.type){case "load":this.Ka=a;this.ec&&this.ec(this);break;case "error":case "abort":this.retry()||(this.Ka=a,this.ec&&this.ec(this))}};
|
|
k.B=function(){y.prototype.B.call(this);delete this.sf;delete this.ec};k.retry=function(){if(this.sg>this.hk)return!1;this.sg++;Ep(this.ha,this.T);setTimeout(v(this.vk,this),0);return!0};
|
|
k.vk=function(){if(!this.nc){var a=v(function(d){this.nc||(Dp(this.ha,this.T,d),Sc(this.ha,aq,v(this.Yj,this)),this.ha.start())},this),b=this.getUrl();if(be(b).Ea.yb("profiling")){var c=new Gi;c.Ec="blob";c.$a("complete",v(function(){this.Uh=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=cc(ec(Si(c)));var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.ed("ready",v(c.Ua,c));c.send(b,"GET")}else a(b)}};k.sg=0;k.nc=!1;
|
|
k.ha=null;k.si=null;k.Ka=null;k.Uh=null;var aq=["load","abort","error"],bq=function(){y.call(this);this.Ga=!1};q(bq,y);bq.prototype.setActive=function(a){this.Ga=a};bq.prototype.Rd=function(){return this.Ga};var Xp=function(a,b){Tp.call(this,a,b)};q(Xp,Tp);Xp.prototype.Xe=function(){return new bq};Xp.prototype.Dd=function(a){a.Ua()};Xp.prototype.If=function(a){return!a.Va&&!a.Rd()};var cq=function(a,b,c,d,e){wd.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.jg=new td;this.Jf=1;this.wa=e||null};q(cq,wd);k=cq.prototype;k.Ne=function(a){return Tc(this,"tileevent",a)};k.Sf=function(a){ad(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=xd(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.wa&&this.wa.isEnabled()&&(a+="&profiling=1");b=[b,this.Eb,this.token].join("/");this.Eb+=1;c=bh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Gb.push(b);Yp.kh().send(b,a,d,v(this.Xj,this,c,b));$o(this);return c};k.Xc=function(){return this.Gb.length};
|
|
k.releaseTile=function(a){Yp.kh().abort(a.id);if(void 0!==a.firstElementChild)var b=a.firstElementChild;else for(b=a.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;this.jg.remove(b);""!==a.id&&(this.ig.remove(a.id),this.wa&&this.wa.mk(a.id))};k.setOpacity=function(a){this.Jf=a;var b=this.jg.mc();jd(b,function(c){lp(c,a)})};
|
|
k.Xj=function(a,b,c,d){"error"==c.type?(bb(this.Gb,b),this.ig.add(b),this.dispatchEvent(c)):(bb(this.Gb,b),c.target&&"load"==c.type&&(c=c.target,this.jg.add(c),1!=this.Jf&&lp(c,this.Jf),a.appendChild(c)),$o(this));this.wa&&null!==d&&this.wa.Lj(b,d)};w("ee.MapLayerOverlay",cq);cq.prototype.removeTileCallback=cq.prototype.Sf;cq.prototype.addTileCallback=cq.prototype.Ne;cq.prototype.getTile=cq.prototype.getTile;cq.prototype.setOpacity=cq.prototype.setOpacity;cq.prototype.releaseTile=cq.prototype.releaseTile;var dq=function(a,b,c){y.call(this);this.fd=a;this.Cb=b||0;this.Za=c;this.Oj=v(this.uc,this)};x(dq,y);k=dq.prototype;k.T=0;k.B=function(){dq.K.B.call(this);this.stop();delete this.fd;delete this.Za};k.start=function(a){this.stop();this.T=Lh(this.Oj,void 0!==a?a:this.Cb)};k.stop=function(){this.Rd()&&r.clearTimeout(this.T);this.T=0};k.Id=function(){this.stop();this.uc()};k.Rd=function(){return 0!=this.T};k.uc=function(){this.T=0;this.fd&&this.fd.call(this.Za)};var eq=function(a,b){if(!(this instanceof eq))return new eq(a,b);this.qb=a;this.cb=b};x(eq,N);w("ee.SavedFunction",eq);eq.prototype.encode=function(a){return P("LoadAlgorithmById",this.qb).encode(a)};eq.prototype.aa=function(){return this.cb};(function(){var a={},b="ee.ApiFunction._apply ee.ApiFunction._call ee.ApiFunction.lookup ee.batch.Export.table.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.map.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.video.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toAsset ee.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.data.deleteAsset ee.data.authenticateViaOauth ee.data.copyAsset ee.data.authenticateViaPopup ee.data.getTileUrl ee.data.authenticate ee.data.getAssetAcl ee.data.computeValue ee.data.authenticateViaPrivateKey ee.data.getThumbId ee.data.getFilmstripThumbId ee.data.getVideoThumbId ee.data.updateAsset ee.data.getMapId ee.data.setAssetAcl ee.data.makeThumbUrl ee.data.listImages ee.data.getAssetRoots ee.data.setAssetProperties ee.data.getTaskList ee.data.getDownloadId ee.data.startProcessing ee.data.listBuckets ee.data.makeDownloadUrl ee.data.getAssetRootQuota ee.data.createAssetHome ee.data.startTableIngestion ee.data.getTaskListWithLimit ee.data.getAsset ee.data.listOperations ee.data.getTableDownloadId ee.data.makeTableDownloadUrl ee.data.cancelOperation ee.data.getInfo ee.data.createAsset ee.data.newTaskId ee.data.getOperation ee.data.updateTask ee.data.getList ee.data.createFolder ee.data.getTaskStatus ee.data.renameAsset ee.data.cancelTask ee.data.startIngestion ee.data.listAssets ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.TILE_SIZE ee.InitState ee.Algorithms ee.initialize ee.call ee.reset ee.apply ee.Element.prototype.set ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.Filter.prototype.not ee.Filter.eq ee.Filter.and ee.Filter.bounds ee.Filter.neq ee.Filter ee.Filter.gte ee.Filter.metadata ee.Filter.inList ee.Filter.date ee.Filter.lte ee.Filter.lt ee.Filter.gt ee.Filter.or ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.LinearRing ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiPolygon ee.Geometry.LineString ee.Geometry.MultiLineString ee.Geometry.BBox ee.Geometry.prototype.toGeoJSON ee.Geometry.Polygon ee.Geometry.Rectangle ee.Geometry.prototype.toGeoJSONString ee.Image.rgb ee.Image.prototype.getThumbId ee.Image.prototype.getDownloadURL ee.Image.prototype.clip ee.Image ee.Image.prototype.expression ee.Image.prototype.getThumbURL ee.Image.prototype.getInfo ee.Image.prototype.rename ee.Image.prototype.select ee.Image.cat ee.Image.prototype.getMap ee.ImageCollection ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getInfo ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.toJSON ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encodeCloudApi ee.String ee.Terrain".split(" "),
|
|
c=[["name","namedArgs"],["name","var_args"],["name"],"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),["collection","opt_description","opt_assetId"],"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "),
|
|
"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey".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_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels".split(" "),
|
|
["property","opt_ascending"],["algorithm","opt_dropNulls"],["geometry"],["filter"],["algorithm","opt_first"],["name","operator","value"],["start","opt_end"],["max","opt_property","opt_ascending"],["callback"],["opt_callback"],["legacy"],["func","var_args"],["assetId","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["sourceId","destinationId","opt_overwrite","opt_callback"],["opt_success","opt_error"],["id","x","y","z"],["clientId","success","opt_error",
|
|
"opt_extraScopes","opt_onImmediateFailed"],["assetId","opt_callback"],["obj","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes"],["params","opt_callback"],["params","opt_callback"],["params","opt_callback"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["assetId","aclUpdate","opt_callback"],["id"],["parent","params","opt_callback"],["opt_callback"],["assetId","properties","opt_callback"],["opt_callback"],["params","opt_callback"],["taskId","params",
|
|
"opt_callback"],["project","opt_callback"],["id"],["rootId","opt_callback"],["requestedId","opt_callback"],["taskId","request","opt_callback"],["opt_limit","opt_callback"],["id","opt_callback"],["opt_limit","opt_callback"],["params","opt_callback"],["id"],["operationName","opt_callback"],["id","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["opt_count","opt_callback"],["operationName","opt_callback"],["taskId","action","opt_callback"],["params","opt_callback"],["path",
|
|
"opt_force","opt_callback"],["taskId","opt_callback"],["sourceId","destinationId","opt_callback"],["taskId","opt_callback"],["taskId","request","opt_callback"],["parent","params","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],[],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],["func","var_args"],[],["func","namedArgs"],["var_args"],["opt_visParams","opt_callback"],["opt_callback"],["geometry","opt_properties"],["args",
|
|
"opt_column"],["opt_visParams","opt_callback"],["opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],[],["name","value"],["var_args"],["geometry","opt_errorMargin"],["name","value"],["opt_filter"],["name","value"],["name","operator","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["start","opt_end"],["name","value"],["name","value"],["name","value"],["var_args"],["var_args"],["namedArgs"],
|
|
["coords","opt_proj"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError"],["west","south","east","north"],[],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],[],["r","g","b"],["params",
|
|
"opt_callback"],["params","opt_callback"],["geometry"],["opt_args"],["expression","opt_map"],["params","opt_callback"],["opt_callback"],["var_args"],["var_args"],["var_args"],["opt_visParams","opt_callback"],["args"],["selectors","opt_names"],["opt_visParams","opt_callback"],["params","opt_callback"],[],["params","opt_callback"],["opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["string"],[]];[xm,P,wm,ao,$n,bo,fo,Yn,Zn,eo,co,Xn,Vn,U.prototype.sort,
|
|
U.prototype.map,U.prototype.bh,U.prototype.filter,U.prototype.xh,U.prototype.hf,U.prototype.gf,U.prototype.limit,M.prototype.evaluate,M.prototype.Z,M.prototype.xa,M.prototype.pg,em,gl,dm,fl,nl,hl,fm,ol,il,pl,rl,ql,gm,ml,hm,sl,Xl,Zl,im,Cl,ul,Nl,Yl,vl,jm,$l,Tl,Bl,Ul,Dl,wl,xl,El,Ul,am,yl,Fl,Gl,Vl,bm,Al,cm,Hl,Rl,Wl,wo,Bo,Ao,zo,Fo,Go,256,To,Ro,Po,Uo,So,Vo,R.prototype.set,W.prototype.getMap,W.prototype.Z,W,X,X.prototype.getMap,X.prototype.Z,X.prototype.zb,X.prototype.select,T.prototype.yc,kn,qn,un,ln,T,
|
|
nn,vn,tn,sn,pn,mn,on,rn,N.prototype.call,N.prototype.apply,Qm,S.prototype.xa,Zm,S,Tm,bn,Ym,$m,Vm,S.prototype.je,an,Um,S.prototype.kg,In,L.prototype.Kd,L.prototype.zb,L.prototype.clip,L,L.prototype.l,L.prototype.nf,L.prototype.Z,L.prototype.Xh,L.prototype.select,Jn,L.prototype.getMap,Z,Z.prototype.select,Z.prototype.getMap,Z.prototype.qf,Z.prototype.first,Z.prototype.lf,Z.prototype.Z,Kn,mo,Ak,Hk,yk,xk,Gk,Fk,Dk,po,Jo].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=
|
|
a})();}).call(this);
|