mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
717 lines
325 KiB
JavaScript
717 lines
325 KiB
JavaScript
(function(){/*
|
|
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var h,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
|
|
},k=ca(this),da=function(a,b){if(b)a:{var c=k;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})}};
|
|
da("Symbol",function(a){if(a)return a;var b=function(g,f){this.Xi=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.Xi};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e});
|
|
da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=k[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});
|
|
var ea=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");},fa=function(a){if(!(a instanceof Array)){a=n(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ha=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},ia="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)ha(d,e)&&(a[e]=d[e])}return a};da("Object.assign",function(a){return a||ia});var ja="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ka;
|
|
if("function"==typeof Object.setPrototypeOf)ka=Object.setPrototypeOf;else{var la;a:{var ma={a:!0},na={};try{na.__proto__=ma;la=na.a;break a}catch(a){}la=!1}ka=la?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var oa=ka,p=function(a,b){a.prototype=ja(b.prototype);a.prototype.constructor=a;if(oa)oa(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.L=b.prototype},pa=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};
|
|
da("Promise",function(a){function b(){this.qb=null}function c(f){return f instanceof e?f:new e(function(l){l(f)})}if(a)return a;b.prototype.Gg=function(f){if(null==this.qb){this.qb=[];var l=this;this.Hg(function(){l.Vk()})}this.qb.push(f)};var d=k.setTimeout;b.prototype.Hg=function(f){d(f,0)};b.prototype.Vk=function(){for(;this.qb&&this.qb.length;){var f=this.qb;this.qb=[];for(var l=0;l<f.length;++l){var m=f[l];f[l]=null;try{m()}catch(q){this.Nk(q)}}}this.qb=null};b.prototype.Nk=function(f){this.Hg(function(){throw f;
|
|
})};var e=function(f){this.S=0;this.ja=void 0;this.yc=[];this.Kh=!1;var l=this.Ye();try{f(l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.Ye=function(){function f(q){return function(v){m||(m=!0,q.call(l,v))}}var l=this,m=!1;return{resolve:f(this.tl),reject:f(this.Xf)}};e.prototype.tl=function(f){if(f===this)this.Xf(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.vl(f);else{a:switch(typeof f){case "object":var l=null!=f;break a;case "function":l=!0;break a;default:l=
|
|
!1}l?this.sl(f):this.Bh(f)}};e.prototype.sl=function(f){var l=void 0;try{l=f.then}catch(m){this.Xf(m);return}"function"==typeof l?this.wl(l,f):this.Bh(f)};e.prototype.Xf=function(f){this.yi(2,f)};e.prototype.Bh=function(f){this.yi(1,f)};e.prototype.yi=function(f,l){if(0!=this.S)throw Error("Cannot settle("+f+", "+l+"): Promise already settled in state"+this.S);this.S=f;this.ja=l;2===this.S&&this.ul();this.Xk()};e.prototype.ul=function(){var f=this;d(function(){if(f.nl()){var l=k.console;"undefined"!==
|
|
typeof l&&l.error(f.ja)}},1)};e.prototype.nl=function(){if(this.Kh)return!1;var f=k.CustomEvent,l=k.Event,m=k.dispatchEvent;if("undefined"===typeof m)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):"function"===typeof l?f=new l("unhandledrejection",{cancelable:!0}):(f=k.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.ja;return m(f)};e.prototype.Xk=function(){if(null!=this.yc){for(var f=0;f<this.yc.length;++f)g.Gg(this.yc[f]);
|
|
this.yc=null}};var g=new b;e.prototype.vl=function(f){var l=this.Ye();f.yd(l.resolve,l.reject)};e.prototype.wl=function(f,l){var m=this.Ye();try{f.call(l,m.resolve,m.reject)}catch(q){m.reject(q)}};e.prototype.then=function(f,l){function m(D,Q){return"function"==typeof D?function(Y){try{q(D(Y))}catch(T){v(T)}}:Q}var q,v,B=new e(function(D,Q){q=D;v=Q});this.yd(m(f,q),m(l,v));return B};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.yd=function(f,l){function m(){switch(q.S){case 1:f(q.ja);
|
|
break;case 2:l(q.ja);break;default:throw Error("Unexpected state: "+q.S);}}var q=this;null==this.yc?g.Gg(m):this.yc.push(m);this.Kh=!0};e.resolve=c;e.reject=function(f){return new e(function(l,m){m(f)})};e.race=function(f){return new e(function(l,m){for(var q=n(f),v=q.next();!v.done;v=q.next())c(v.value).yd(l,m)})};e.all=function(f){var l=n(f),m=l.next();return m.done?c([]):new e(function(q,v){function B(Y){return function(T){D[Y]=T;Q--;0==Q&&q(D)}}var D=[],Q=0;do D.push(void 0),Q++,c(m.value).yd(B(D.length-
|
|
1),v),m=l.next();while(!m.done)})};return e});
|
|
da("WeakMap",function(a){function b(){}function c(m){var q=typeof m;return"object"===q&&null!==m||"function"===q}function d(m){if(!ha(m,g)){var q=new b;ba(m,g,{value:q})}}function e(m){var q=Object[m];q&&(Object[m]=function(v){if(v instanceof b)return v;Object.isExtensible(v)&&d(v);return q(v)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),q=Object.seal({}),v=new a([[m,2],[q,3]]);if(2!=v.get(m)||3!=v.get(q))return!1;v.delete(m);v.set(q,4);return!v.has(m)&&4==v.get(q)}catch(B){return!1}}())return a;
|
|
var g="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var f=0,l=function(m){this.fa=(f+=Math.random()+1).toString();if(m){m=n(m);for(var q;!(q=m.next()).done;)q=q.value,this.set(q[0],q[1])}};l.prototype.set=function(m,q){if(!c(m))throw Error("Invalid WeakMap key");d(m);if(!ha(m,g))throw Error("WeakMap key fail: "+m);m[g][this.fa]=q;return this};l.prototype.get=function(m){return c(m)&&ha(m,g)?m[g][this.fa]:void 0};l.prototype.has=function(m){return c(m)&&ha(m,g)&&ha(m[g],
|
|
this.fa)};l.prototype.delete=function(m){return c(m)&&ha(m,g)&&ha(m[g],this.fa)?delete m[g][this.fa]:!1};return l});
|
|
da("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),m=new a(n([[l,"s"]]));if("s"!=m.get(l)||1!=m.size||m.get({x:4})||m.set({x:4},"t")!=m||2!=m.size)return!1;var q=m.entries(),v=q.next();if(v.done||v.value[0]!=l||"s"!=v.value[1])return!1;v=q.next();return v.done||4!=v.value[0].x||"t"!=v.value[1]||!q.next().done?!1:!0}catch(B){return!1}}())return a;var b=new WeakMap,c=function(l){this.Lc={};this.qa=
|
|
g();this.size=0;if(l){l=n(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}};c.prototype.set=function(l,m){l=0===l?0:l;var q=d(this,l);q.list||(q.list=this.Lc[q.id]=[]);q.da?q.da.value=m:(q.da={next:this.qa,nb:this.qa.nb,head:this.qa,key:l,value:m},q.list.push(q.da),this.qa.nb.next=q.da,this.qa.nb=q.da,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.da&&l.list?(l.list.splice(l.index,1),l.list.length||delete this.Lc[l.id],l.da.nb.next=l.da.next,l.da.next.nb=
|
|
l.da.nb,l.da.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.Lc={};this.qa=this.qa.nb=g();this.size=0};c.prototype.has=function(l){return!!d(this,l).da};c.prototype.get=function(l){return(l=d(this,l).da)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=function(){return e(this,function(l){return l.value})};c.prototype.forEach=function(l,m){for(var q=this.entries(),
|
|
v;!(v=q.next()).done;)v=v.value,l.call(m,v[1],v[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,m){var q=m&&typeof m;"object"==q||"function"==q?b.has(m)?q=b.get(m):(q=""+ ++f,b.set(m,q)):q="p_"+m;var v=l.Lc[q];if(v&&ha(l.Lc,q))for(l=0;l<v.length;l++){var B=v[l];if(m!==m&&B.key!==B.key||m===B.key)return{id:q,list:v,index:l,da:B}}return{id:q,list:v,index:-1,da:void 0}},e=function(l,m){var q=l.qa;return ea(function(){if(q){for(;q.head!=l.qa;)q=q.nb;for(;q.next!=q.head;)return q=
|
|
q.next,{done:!1,value:m(q)};q=null}return{done:!0,value:void 0}})},g=function(){var l={};return l.nb=l.next=l.head=l},f=0;return c});da("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,g=0;g<e;g++){var f=d[g];if(b.call(c,f,g,d)){b=f;break a}}b=void 0}return b}});
|
|
var qa=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};da("String.prototype.repeat",function(a){return a?a:function(b){var c=qa(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 ra=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};da("Array.prototype.keys",function(a){return a?a:function(){return ra(this,function(b){return b})}});
|
|
da("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l};var e=[],g="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof g){b=g.call(b);for(var f=0;!(g=b.next()).done;)e.push(c.call(d,g.value,f++))}else for(g=b.length,f=0;f<g;f++)e.push(c.call(d,b[f],f));return e}});da("Array.prototype.values",function(a){return a?a:function(){return ra(this,function(b,c){return c})}});
|
|
da("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=qa(this,b,"endsWith");b+="";void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=qa(this,b,"startsWith");b+="";var e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var f=0;f<g&&c<e;)if(d[c++]!=b[f++])return!1;return f>=g}});
|
|
da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ha(b,d)&&c.push([d,b[d]]);return c}});da("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});da("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});
|
|
da("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==qa(this,b,"includes").indexOf(b,c||0)}});da("Array.prototype.entries",function(a){return a?a:function(){return ra(this,function(b,c){return[b,c]})}});
|
|
da("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(n([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(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||4!=g.value[0].x||g.value[1]!=g.value[0]?!1:e.next().done}catch(f){return!1}}())return a;var b=function(c){this.A=new Map;if(c){c=
|
|
n(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.A.size};b.prototype.add=function(c){c=0===c?0:c;this.A.set(c,c);this.size=this.A.size;return this};b.prototype.delete=function(c){c=this.A.delete(c);this.size=this.A.size;return c};b.prototype.clear=function(){this.A.clear();this.size=0};b.prototype.has=function(c){return this.A.has(c)};b.prototype.entries=function(){return this.A.entries()};b.prototype.values=function(){return this.A.values()};b.prototype.keys=b.prototype.values;
|
|
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.A.forEach(function(g){return c.call(d,g,g,e)})};return b});da("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ha(b,d)&&c.push(b[d]);return c}});da("String.prototype.padStart",function(a){return a?a:function(b,c){var d=qa(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});
|
|
var sa=sa||{},r=this||self,ta=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ua=function(a){var b=ta(a);return"array"==b||"object"==b&&"number"==typeof a.length},va=function(a){return t(a)&&"function"==typeof a.getFullYear},t=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ya=function(a){return Object.prototype.hasOwnProperty.call(a,wa)&&a[wa]||(a[wa]=++xa)},wa="closure_uid_"+(1E9*Math.random()>>>0),xa=0,za=function(a,b,c){return a.call.apply(a.bind,
|
|
arguments)},Aa=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)}},u=function(a,b,c){u=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?za:Aa;return u.apply(null,arguments)},Ba=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.L=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Il=function(d,e,g){for(var f=Array(arguments.length-2),l=2;l<arguments.length;l++)f[l-2]=arguments[l];return b.prototype[e].apply(d,
|
|
f)}},Ca=function(a){return a};function Da(a){a&&"function"==typeof a.Ta&&a.Ta()};var y=function(){this.Ua=this.Ua;this.Vd=this.Vd};y.prototype.Ua=!1;y.prototype.Ta=function(){this.Ua||(this.Ua=!0,this.J())};y.prototype.J=function(){if(this.Vd)for(;this.Vd.length;)this.Vd.shift()()};var Ea=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.ed=!1};Ea.prototype.stopPropagation=function(){this.ed=!0};Ea.prototype.preventDefault=function(){this.defaultPrevented=!0};function Fa(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,Fa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}x(Fa,Error);Fa.prototype.name="CustomError";var Ga;function Ha(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");Fa.call(this,c+a[d])}x(Ha,Fa);Ha.prototype.name="AssertionError";function Ia(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var g=d}else a&&(e+=": "+a,g=b);throw new Ha(""+e,g||[]);}
|
|
var z=function(a,b,c){a||Ia("",null,b,Array.prototype.slice.call(arguments,2))},Ja=function(a,b,c){null==a&&Ia("Expected to exist: %s.",[a],b,Array.prototype.slice.call(arguments,2));return a},Ka=function(a,b){throw new Ha("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},La=function(a,b,c){"number"!==typeof a&&Ia("Expected number but got %s: %s.",[ta(a),a],b,Array.prototype.slice.call(arguments,2));return a},Ma=function(a,b,c){"string"!==typeof a&&Ia("Expected string but got %s: %s.",
|
|
[ta(a),a],b,Array.prototype.slice.call(arguments,2))},Na=function(a,b,c){"function"!==typeof a&&Ia("Expected function but got %s: %s.",[ta(a),a],b,Array.prototype.slice.call(arguments,2))},Oa=function(a,b,c){t(a)||Ia("Expected object but got %s: %s.",[ta(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Pa=Array.prototype.indexOf?function(a,b){z(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Qa=Array.prototype.lastIndexOf?function(a,b){z(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||
|
|
1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Ra=Array.prototype.forEach?function(a,b){z(null!=a.length);Array.prototype.forEach.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++)e in d&&b.call(void 0,d[e],e,a)},Sa=Array.prototype.filter?function(a,b){z(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,g="string"===typeof a?a.split(""):a,f=0;f<c;f++)if(f in
|
|
g){var l=g[f];b.call(void 0,l,f,a)&&(d[e++]=l)}return d},Ta=Array.prototype.map?function(a,b,c){z(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in g&&(e[f]=b.call(c,g[f],f,a));return e},Ua=Array.prototype.some?function(a,b){z(null!=a.length);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],
|
|
e,a))return!0;return!1},Va=Array.prototype.every?function(a,b){z(null!=a.length);return Array.prototype.every.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!1;return!0};function Wa(a,b){var c=0;Ra(a,function(d,e,g){b.call(void 0,d,e,g)&&++c});return c}function Xa(a,b){return 0<=Pa(a,b)}function Ya(a,b){b=Pa(a,b);var c;(c=0<=b)&&Za(a,b);return c}
|
|
function Za(a,b){z(null!=a.length);Array.prototype.splice.call(a,b,1)}function $a(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 ab(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ua(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var f=0;f<g;f++)a[e+f]=d[f]}else a.push(d)}}function bb(a,b,c){z(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
|
|
function cb(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function db(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var g=bb(d,e,e+8192);g=db.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var eb=Object.freeze||function(a){return a};var fb=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{r.addEventListener("test",function(){},b),r.removeEventListener("test",function(){},b)}catch(c){}return a}();var gb,hb;a:{for(var ib=["CLOSURE_FLAGS"],jb=r,kb=0;kb<ib.length;kb++)if(jb=jb[ib[kb]],null==jb){hb=null;break a}hb=jb}var lb=hb&&hb[610401301];gb=null!=lb?lb:!1;function mb(){var a=r.navigator;return a&&(a=a.userAgent)?a:""}var nb,ob=r.navigator;nb=ob?ob.userAgentData||null:null;function pb(a){return-1!=mb().indexOf(a)};function qb(){return gb&&nb&&0<nb.brands.length?!1:pb("Trident")||pb("MSIE")};var rb=function(a){rb[" "](a);return a};rb[" "]=function(){};var sb=qb(),tb=pb("Gecko")&&!(-1!=mb().toLowerCase().indexOf("webkit")&&!pb("Edge"))&&!(pb("Trident")||pb("MSIE"))&&!pb("Edge"),ub=-1!=mb().toLowerCase().indexOf("webkit")&&!pb("Edge");var wb=function(a,b){Ea.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.La=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(tb){a:{try{rb(b.nodeName);var e=!0;break a}catch(g){}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=ub||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=ub||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:vb[a.pointerType]||"";this.state=a.state;this.La=a;a.defaultPrevented&&wb.L.preventDefault.call(this)}};
|
|
x(wb,Ea);var vb=eb({2:"touch",3:"pen",4:"mouse"});wb.prototype.stopPropagation=function(){wb.L.stopPropagation.call(this);this.La.stopPropagation?this.La.stopPropagation():this.La.cancelBubble=!0};wb.prototype.preventDefault=function(){wb.L.preventDefault.call(this);var a=this.La;a.preventDefault?a.preventDefault():a.returnValue=!1};var xb="closure_listenable_"+(1E6*Math.random()|0),yb=function(a){return!(!a||!a[xb])};var zb=0;var Ab=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.lb=e;this.key=++zb;this.hd=this.xd=!1},Bb=function(a){a.hd=!0;a.listener=null;a.proxy=null;a.src=null;a.lb=null};function Cb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Db(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Eb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function Fb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Gb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Hb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Jb(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
|
|
function Kb(a){var b=Lb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function Mb(a){for(var b in a)return!1;return!0}function Nb(a,b){b in a&&delete a[b]}function Ob(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
|
function Pb(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());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]=Pb(a[c]);return b}var Qb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
|
function Rb(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 g=0;g<Qb.length;g++)c=Qb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Sb=function(a){this.src=a;this.ha={};this.md=0};Sb.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.ha[g];a||(a=this.ha[g]=[],this.md++);var f=Tb(a,b,d,e);-1<f?(b=a[f],c||(b.xd=!1)):(b=new Ab(b,this.src,g,!!d,e),b.xd=c,a.push(b));return b};Sb.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ha))return!1;var e=this.ha[a];b=Tb(e,b,c,d);return-1<b?(Bb(e[b]),Za(e,b),0==e.length&&(delete this.ha[a],this.md--),!0):!1};
|
|
var Ub=function(a,b){var c=b.type;c in a.ha&&Ya(a.ha[c],b)&&(Bb(b),0==a.ha[c].length&&(delete a.ha[c],a.md--))};Sb.prototype.gd=function(a){a=a&&a.toString();var b=0,c;for(c in this.ha)if(!a||c==a){for(var d=this.ha[c],e=0;e<d.length;e++)++b,Bb(d[e]);delete this.ha[c];this.md--}};Sb.prototype.Pc=function(a,b,c,d){a=this.ha[a.toString()];var e=-1;a&&(e=Tb(a,b,c,d));return-1<e?a[e]:null};
|
|
Sb.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Fb(this.ha,function(g){for(var f=0;f<g.length;++f)if(!(c&&g[f].type!=d||e&&g[f].capture!=b))return!0;return!1})};var Tb=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.hd&&g.listener==b&&g.capture==!!c&&g.lb==d)return e}return-1};var Vb="closure_lm_"+(1E6*Math.random()|0),Wb={},Xb=0,Zb=function(a,b,c,d,e){if(d&&d.once)return Yb(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)Zb(a,b[g],c,d,e);return null}c=$b(c);return yb(a)?a.Ya(b,c,t(d)?!!d.capture:!!d,e):ac(a,b,c,!1,d,e)},ac=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=t(e)?!!e.capture:!!e,l=bc(a);l||(a[Vb]=l=new Sb(a));c=l.add(b,c,d,f,g);if(c.proxy)return c;d=cc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)fb||(e=f),void 0===
|
|
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(dc(b.toString()),d);else if(a.addListener&&a.removeListener)z("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Xb++;return c},cc=function(){var a=ec,b=function(c){return a.call(b.src,b.listener,c)};return b},Yb=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)Yb(a,b[g],c,d,e);return null}c=$b(c);return yb(a)?
|
|
a.Yc(b,c,t(d)?!!d.capture:!!d,e):ac(a,b,c,!0,d,e)},fc=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)fc(a,b[g],c,d,e);else d=t(d)?!!d.capture:!!d,c=$b(c),yb(a)?a.oe(b,c,d,e):a&&(a=bc(a))&&(b=a.Pc(b,c,d,e))&&gc(b)},gc=function(a){if("number"!==typeof a&&a&&!a.hd){var b=a.src;if(yb(b))Ub(b.Ka,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(dc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Xb--;(c=bc(b))?
|
|
(Ub(c,a),0==c.md&&(c.src=null,b[Vb]=null)):Bb(a)}}},dc=function(a){return a in Wb?Wb[a]:Wb[a]="on"+a},ec=function(a,b){if(a.hd)a=!0;else{b=new wb(b,this);var c=a.listener,d=a.lb||a.src;a.xd&&gc(a);a=c.call(d,b)}return a},bc=function(a){a=a[Vb];return a instanceof Sb?a:null},hc="__closure_events_fn_"+(1E9*Math.random()>>>0),$b=function(a){z(a,"Listener can not be null.");if("function"===typeof a)return a;z(a.handleEvent,"An object listener must have handleEvent method.");a[hc]||(a[hc]=function(b){return a.handleEvent(b)});
|
|
return a[hc]};var A=function(){y.call(this);this.Ka=new Sb(this);this.Lk=this;this.Pf=null};x(A,y);A.prototype[xb]=!0;h=A.prototype;h.addEventListener=function(a,b,c,d){Zb(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){fc(this,a,b,c,d)};
|
|
h.dispatchEvent=function(a){ic(this);var b=this.Pf;if(b){var c=[];for(var d=1;b;b=b.Pf)c.push(b),z(1E3>++d,"infinite loop")}b=this.Lk;d=a.type||a;if("string"===typeof a)a=new Ea(a,b);else if(a instanceof Ea)a.target=a.target||b;else{var e=a;a=new Ea(d,b);Rb(a,e)}e=!0;if(c)for(var g=c.length-1;!a.ed&&0<=g;g--){var f=a.currentTarget=c[g];e=jc(f,d,!0,a)&&e}a.ed||(f=a.currentTarget=b,e=jc(f,d,!0,a)&&e,a.ed||(e=jc(f,d,!1,a)&&e));if(c)for(g=0;!a.ed&&g<c.length;g++)f=a.currentTarget=c[g],e=jc(f,d,!1,a)&&
|
|
e;return e};h.J=function(){A.L.J.call(this);this.Ka&&this.Ka.gd();this.Pf=null};h.Ya=function(a,b,c,d){ic(this);return this.Ka.add(String(a),b,!1,c,d)};h.Yc=function(a,b,c,d){return this.Ka.add(String(a),b,!0,c,d)};h.oe=function(a,b,c,d){this.Ka.remove(String(a),b,c,d)};var jc=function(a,b,c,d){b=a.Ka.ha[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var f=b[g];if(f&&!f.hd&&f.capture==c){var l=f.listener,m=f.lb||f.src;f.xd&&Ub(a.Ka,f);e=!1!==l.call(m,d)&&e}}return e&&!d.defaultPrevented};
|
|
A.prototype.Pc=function(a,b,c,d){return this.Ka.Pc(String(a),b,c,d)};A.prototype.hasListener=function(a,b){return this.Ka.hasListener(void 0!==a?String(a):void 0,b)};var ic=function(a){z(a.Ka,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var kc=function(a,b){this.Qk=a[r.Symbol.iterator]();this.il=b};kc.prototype[Symbol.iterator]=function(){return this};kc.prototype.next=function(){var a=this.Qk.next();return{value:a.done?void 0:this.il.call(void 0,a.value),done:a.done}};var lc=function(a,b){return new kc(a,b)};var mc=function(){},nc=function(a){return a};var oc=function(){};oc.prototype.next=function(){return pc};var pc=eb({done:!0,value:void 0});oc.prototype.Fa=function(){return this};
|
|
var qc=function(a){if(a instanceof oc)return a;if("function"==typeof a.Fa)return a.Fa(!1);if(ua(a)){var b=0,c=new oc;c.next=function(){for(;;){if(b>=a.length)return pc;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},rc=function(a,b){if(ua(a))Ra(a,b);else for(a=qc(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var vc=function(a){if(a instanceof sc||a instanceof tc||a instanceof uc)return a;if("function"==typeof a.next)return new sc(function(){return a});if("function"==typeof a[Symbol.iterator])return new sc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Fa)return new sc(function(){return a.Fa()});throw Error("Not an iterator or iterable.");},sc=function(a){this.pf=a};sc.prototype.Fa=function(){return new tc(this.pf())};sc.prototype[Symbol.iterator]=function(){return new uc(this.pf())};
|
|
sc.prototype.vg=function(){return new uc(this.pf())};var tc=function(a){this.Vc=a};p(tc,oc);tc.prototype.next=function(){return this.Vc.next()};tc.prototype[Symbol.iterator]=function(){return new uc(this.Vc)};tc.prototype.vg=function(){return new uc(this.Vc)};var uc=function(a){sc.call(this,function(){return a});this.Vc=a};p(uc,sc);uc.prototype.next=function(){return this.Vc.next()};var wc=function(a,b){this.A={};this.K=[];this.od=this.size=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)};h=wc.prototype;h.R=function(){return this.size};h.aa=function(){xc(this);for(var a=[],b=0;b<this.K.length;b++)a.push(this.A[this.K[b]]);return a};h.vb=function(){xc(this);return this.K.concat()};h.Sb=function(a){return this.has(a)};h.has=function(a){return yc(this.A,a)};
|
|
h.Kc=function(a){for(var b=0;b<this.K.length;b++){var c=this.K[b];if(yc(this.A,c)&&this.A[c]==a)return!0}return!1};h.equals=function(a,b){if(this===a)return!0;if(this.size!=a.R())return!1;b=b||zc;xc(this);for(var c,d=0;c=this.K[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var zc=function(a,b){return a===b};wc.prototype.isEmpty=function(){return 0==this.size};wc.prototype.clear=function(){this.A={};this.K.length=0;this.ob(0);this.od=0};wc.prototype.remove=function(a){return this.delete(a)};
|
|
wc.prototype.delete=function(a){return yc(this.A,a)?(delete this.A[a],this.ob(this.size-1),this.od++,this.K.length>2*this.size&&xc(this),!0):!1};var xc=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b<a.K.length;){var d=a.K[b];yc(a.A,d)&&(a.K[c++]=d);b++}a.K.length=c}if(a.size!=a.K.length){var e={};for(c=b=0;b<a.K.length;)d=a.K[b],yc(e,d)||(a.K[c++]=d,e[d]=1),b++;a.K.length=c}};h=wc.prototype;h.get=function(a,b){return yc(this.A,a)?this.A[a]:b};
|
|
h.set=function(a,b){yc(this.A,a)||(this.ob(this.size+1),this.K.push(a),this.od++);this.A[a]=b};h.addAll=function(a){if(a instanceof wc)for(var b=a.vb(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};h.forEach=function(a,b){for(var c=this.vb(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};h.clone=function(){return new wc(this)};h.keys=function(){return vc(this.Fa(!0)).vg()};h.values=function(){return vc(this.Fa(!1)).vg()};
|
|
h.entries=function(){var a=this;return lc(this.keys(),function(b){return[b,a.get(b)]})};h.Fa=function(a){xc(this);var b=0,c=this.od,d=this,e=new oc;e.next=function(){if(c!=d.od)throw Error("The map has changed since the iterator was created");if(b>=d.K.length)return pc;var g=d.K[b++];return{value:a?g:d.A[g],done:!1}};return e};h.ob=function(a){this.size=a};var yc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Ac=function(a){if(a.R&&"function"==typeof a.R)a=a.R();else if(ua(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Bc=function(a){if(a.aa&&"function"==typeof a.aa)return a.aa();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ua(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Gb(a)},Cc=function(a){if(a.vb&&"function"==typeof a.vb)return a.vb();
|
|
if(!a.aa||"function"!=typeof a.aa){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(ua(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Hb(a)}}},Dc=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ua(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=Cc(a),e=Bc(a),g=e.length,f=0;f<g;f++)b.call(c,e[f],d&&d[f],a)},Ec=function(a,
|
|
b){if("function"==typeof a.every)return a.every(b,void 0);if(ua(a)||"string"===typeof a)return Array.prototype.every.call(a,b,void 0);for(var c=Cc(a),d=Bc(a),e=d.length,g=0;g<e;g++)if(!b.call(void 0,d[g],c&&c[g],a))return!1;return!0};var Fc=function(a){this.A=new wc;this.size=0;a&&this.addAll(a)},Gc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+ya(a):b.slice(0,1)+a};h=Fc.prototype;h.R=function(){return this.A.size};h.add=function(a){this.A.set(Gc(a),a);this.ob(this.A.size)};h.addAll=function(a){a=Bc(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.ob(this.A.size)};h.gd=function(a){a=Bc(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.ob(this.A.size)};
|
|
h.delete=function(a){a=this.A.remove(Gc(a));this.ob(this.A.size);return a};h.remove=function(a){return this.delete(a)};h.clear=function(){this.A.clear();this.ob(0)};h.isEmpty=function(){return 0===this.A.size};h.has=function(a){return this.A.Sb(Gc(a))};h.contains=function(a){return this.A.Sb(Gc(a))};var Hc=function(a,b){var c=new Fc;b=Bc(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},Ic=function(a,b){a=a.clone();a.gd(b);return a};Fc.prototype.aa=function(){return this.A.aa()};
|
|
Fc.prototype.values=function(){return this.A.values()};Fc.prototype.clone=function(){return new Fc(this)};Fc.prototype.equals=function(a){return this.R()==Ac(a)&&Jc(this,a)};var Jc=function(a,b){var c=Ac(b);if(a.R()>c)return!1;!(b instanceof Fc)&&5<c&&(b=new Fc(b));return Ec(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Kc&&"function"==typeof e.Kc?e.Kc(d):ua(e)||"string"===typeof e?Xa(e,d):Jb(e,d)})};Fc.prototype.Fa=function(){return this.A.Fa(!1)};
|
|
Fc.prototype[Symbol.iterator]=function(){return this.values()};Fc.prototype.ob=function(a){this.size=a};var Kc=function(a,b,c){A.call(this);this.jl=b;this.token=c;this.Cb=[];this.tg=new Fc;this.Ab=0;this.url=a};x(Kc,A);w("ee.AbstractOverlay",Kc);var Lc=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.jl,c,e,b.y].join("/")};Kc.prototype.Qc=function(){return this.Cb.length};var Mc=function(a){Ea.call(this,"tileevent");this.count=a};x(Mc,Ea);var Nc=function(){},Oc=new Nc;function Pc(a){return Object.assign({},{M:{},Kl:{},keys:[],Oa:{},o:{},H:{},rh:!1},a)}var C=function(){this.h={}},E=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},F=function(a,b){return null!=a.h[b]};function Qc(a,b){return E(b,a)}function Rc(a,b,c){b[a]=c}function Sc(){return{}}function Tc(a,b){var c=new a;return null==b?c:Uc(b,Vc,Wc,Xc,a)}function Vc(a,b){return b[a]}function Wc(a,b,c){b.h[a]=c}
|
|
function Xc(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function Uc(a,b,c,d,e){e=d(e);for(var g=Yc(a,e),f=g.M||{},l=g.o||{},m=g.Oa||{},q={},v=n(g.keys||[]),B=v.next();!B.done;q={Fc:q.Fc},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var Q=void 0;if(f.hasOwnProperty(B)){if(g.rh&&0===D.length)continue;Q=Zc(D,b,c,d,!0,!0,f[B])}else if(l.hasOwnProperty(B))Q=Zc(D,b,c,d,!1,!0,l[B]);else if(m.hasOwnProperty(B))q.Fc=m[B],Q=q.Fc.ra?D.map(function(Y){return function(T){return $c(T,Y.Fc,b,c,d)}}(q)):$c(D,q.Fc,b,c,d);else if(Array.isArray(D)){if(g.rh&&0===D.length)continue;
|
|
Q=Zc(D,b,c,d,!0,!1)}else Q=D instanceof Nc?null:D;c(B,e,Q)}}return e}function $c(a,b,c,d,e){for(var g={},f=n(Object.keys(a)),l=f.next();!l.done;l=f.next()){l=l.value;var m=a[l];null!=m&&(g[l]=Zc(m,c,d,e,b.ta,b.sa,b.la))}return g}
|
|
function Zc(a,b,c,d,e,g,f){if(g&&null==f)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&g?a.map(function(l){return Uc(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Uc(a,b,c,d,f):a instanceof Nc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function Yc(a,b){if(b instanceof C)a=Pc(b.i());else if(a instanceof C)a=Pc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var ad;var dd=function(a,b){this.mg=a===bd&&b||"";this.yk=cd};dd.prototype.yf=!0;dd.prototype.tf=function(){return this.mg};dd.prototype.toString=function(){return"Const{"+this.mg+"}"};var ed=function(a){if(a instanceof dd&&a.constructor===dd&&a.yk===cd)return a.mg;Ka("expected object of type Const, got '"+a+"'");return"type_error:Const"},cd={},bd={};var gd=function(a,b){this.Rf=b===fd?a:""};gd.prototype.toString=function(){return this.Rf+""};gd.prototype.yf=!0;gd.prototype.tf=function(){return this.Rf.toString()};
|
|
var hd=function(a){if(a instanceof gd&&a.constructor===gd)return a.Rf;Ka("expected object of type TrustedResourceUrl, got '"+a+"' of type "+ta(a));return"type_error:TrustedResourceUrl"},md=function(a){var b=ed(id);if(!jd.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(kd,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
|
|
dd?ed(d):encodeURIComponent(String(d))});return ld(c)},kd=/%{(\w+)}/g,jd=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),fd={},ld=function(a){if(void 0===ad){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ca,createScript:Ca,createScriptURL:Ca})}catch(d){r.console&&r.console.error(d.message)}ad=b}a=(b=ad)?b.createScriptURL(a):a;return new gd(a,fd)};var od=function(a,b){this.Qf=b===nd?a:""};od.prototype.toString=function(){return this.Qf.toString()};od.prototype.yf=!0;od.prototype.tf=function(){return this.Qf.toString()};
|
|
var pd=function(a){if(a instanceof od&&a.constructor===od)return a.Qf;Ka("expected object of type SafeUrl, got '"+a+"' of type "+ta(a));return"type_error:SafeUrl"},qd=RegExp('^(?: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|heic|heif)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),rd=function(a){if(qd.test(a.type)){var b=void 0!==r.URL&&void 0!==r.URL.createObjectURL?
|
|
r.URL: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 od(a,nd)},nd={};var td=function(a,b){if(!t(a)||!t(a)||!t(a)||1!==a.nodeType||a.namespaceURI&&"http://www.w3.org/1999/xhtml"!==a.namespaceURI||a.tagName.toUpperCase()!=="SCRIPT".toString()){var c="SCRIPT".toString()+"; got: ";if(t(a))try{var d=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(e){d="<object could not be stringified>"}else d=void 0===a?"undefined":null===a?"null":typeof a;Ka("Argument is not an HTML Element with tag name "+(c+d))}a:{c=(a.ownerDocument&&a.ownerDocument.defaultView||
|
|
r).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&sd.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=hd(b)},sd=/^[\w+/_-]+[=]{0,2}$/;var ud=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")},vd=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 wd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),xd=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 g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var yd=function(a){this.kb=this.jc=this.yb="";this.zc=null;this.Ub=this.cc="";this.Ba=this.dl=!1;if(a instanceof yd){this.Ba=a.Ba;zd(this,a.yb);var b=a.jc;Ad(this);this.jc=b;b=a.kb;Ad(this);this.kb=b;Bd(this,a.zc);this.setPath(a.getPath());Cd(this,a.Da.clone());a=a.Ub;Ad(this);this.Ub=a}else a&&(b=String(a).match(wd))?(this.Ba=!1,zd(this,b[1]||"",!0),a=b[2]||"",Ad(this),this.jc=Dd(a),a=b[3]||"",Ad(this),this.kb=Dd(a,!0),Bd(this,b[4]),this.setPath(b[5]||"",!0),Cd(this,b[6]||"",!0),a=b[7]||"",Ad(this),
|
|
this.Ub=Dd(a)):(this.Ba=!1,this.Da=new Ed(null,this.Ba))};
|
|
yd.prototype.toString=function(){var a=[],b=this.yb;b&&a.push(Fd(b,Gd,!0),":");var c=this.kb;if(c||"file"==b)a.push("//"),(b=this.jc)&&a.push(Fd(b,Gd,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.zc,null!=c&&a.push(":",String(c));if(c=this.getPath())this.kb&&"/"!=c.charAt(0)&&a.push("/"),a.push(Fd(c,"/"==c.charAt(0)?Hd:Id,!0));(c=this.Da.toString())&&a.push("?",c);(c=this.Ub)&&a.push("#",Fd(c,Jd));return a.join("")};
|
|
yd.prototype.resolve=function(a){var b=this.clone(),c=!!a.yb;c?zd(b,a.yb):c=!!a.jc;if(c){var d=a.jc;Ad(b);b.jc=d}else c=!!a.kb;c?(d=a.kb,Ad(b),b.kb=d):c=null!=a.zc;d=a.getPath();if(c)Bd(b,a.zc);else if(c=!!a.cc){if("/"!=d.charAt(0))if(this.kb&&!this.cc)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(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 g=[],f=0;f<e.length;){var l=e[f++];
|
|
"."==l?d&&f==e.length&&g.push(""):".."==l?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&f==e.length&&g.push("")):(g.push(l),d=!0)}d=g.join("/")}else d=e}c?b.setPath(d):c=""!==a.Da.toString();c?Cd(b,a.Da.clone()):c=!!a.Ub;c&&(a=a.Ub,Ad(b),b.Ub=a);return b};yd.prototype.clone=function(){return new yd(this)};
|
|
var zd=function(a,b,c){Ad(a);a.yb=c?Dd(b,!0):b;a.yb&&(a.yb=a.yb.replace(/:$/,""))},Bd=function(a,b){Ad(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.zc=b}else a.zc=null};yd.prototype.getPath=function(){return this.cc};yd.prototype.setPath=function(a,b){Ad(this);this.cc=b?Dd(a,!0):a;return this};var Cd=function(a,b,c){Ad(a);b instanceof Ed?(a.Da=b,a.Da.eg(a.Ba)):(c||(b=Fd(b,Kd)),a.Da=new Ed(b,a.Ba))};yd.prototype.getQuery=function(){return this.Da.toString()};
|
|
yd.prototype.removeParameter=function(a){Ad(this);this.Da.remove(a);return this};var Ad=function(a){if(a.dl)throw Error("Tried to modify a read-only Uri");};yd.prototype.eg=function(a){this.Ba=a;this.Da&&this.Da.eg(a)};
|
|
var Ld=function(a){return a instanceof yd?a.clone():new yd(a)},Dd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Fd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Md),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Md=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Gd=/[#\/\?@]/g,Id=/[#\?:]/g,Hd=/[#\?]/g,Kd=/[#\?@]/g,Jd=/#/g,Ed=function(a,b){this.Y=this.N=null;this.va=a||null;this.Ba=!!b},Nd=
|
|
function(a){a.N||(a.N=new Map,a.Y=0,a.va&&xd(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Ed.prototype;h.R=function(){Nd(this);return this.Y};h.add=function(a,b){Nd(this);this.va=null;a=Od(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.Y=La(this.Y)+1;return this};h.remove=function(a){Nd(this);a=Od(this,a);return this.N.has(a)?(this.va=null,this.Y=La(this.Y)-this.N.get(a).length,this.N.delete(a)):!1};h.clear=function(){this.N=this.va=null;this.Y=0};
|
|
h.isEmpty=function(){Nd(this);return 0==this.Y};h.Sb=function(a){Nd(this);a=Od(this,a);return this.N.has(a)};h.Kc=function(a){var b=this.aa();return Xa(b,a)};h.forEach=function(a,b){Nd(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.vb=function(){Nd(this);for(var a=Array.from(this.N.values()),b=Array.from(this.N.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};
|
|
h.aa=function(a){Nd(this);var b=[];if("string"===typeof a)this.Sb(a)&&(b=b.concat(this.N.get(Od(this,a))));else{a=Array.from(this.N.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};h.set=function(a,b){Nd(this);this.va=null;a=Od(this,a);this.Sb(a)&&(this.Y=La(this.Y)-this.N.get(a).length);this.N.set(a,[b]);this.Y=La(this.Y)+1;return this};h.get=function(a,b){if(!a)return b;a=this.aa(a);return 0<a.length?String(a[0]):b};
|
|
h.setValues=function(a,b){this.remove(a);0<b.length&&(this.va=null,this.N.set(Od(this,a),$a(b)),this.Y=La(this.Y)+b.length)};h.toString=function(){if(this.va)return this.va;if(!this.N)return"";for(var a=[],b=Array.from(this.N.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.aa(d);for(var g=0;g<d.length;g++){var f=e;""!==d[g]&&(f+="="+encodeURIComponent(String(d[g])));a.push(f)}}return this.va=a.join("&")};
|
|
h.clone=function(){var a=new Ed;a.va=this.va;this.N&&(a.N=new Map(this.N),a.Y=this.Y);return a};var Od=function(a,b){b=String(b);a.Ba&&(b=b.toLowerCase());return b};Ed.prototype.eg=function(a){a&&!this.Ba&&(Nd(this),this.va=null,this.N.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.Ba=a};Ed.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Dc(arguments[b],function(c,d){this.add(d,c)},this)};function Pd(a){if(null!=a.u){var b={},c;for(c in a.u)void 0!==a.u[c]&&(b[c]=a.u[c]);a.u=b}}function G(a,b){var c=Qd;b=void 0===b?{}:b;c=n(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=n(d.value);d=e.next().value;e=e.next().value;d in a&&(b[e]=a[d])}return b};var Rd=function(){};Rd.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function Sd(a,b){if(null==a)return null;a=a.Ll(b);return null==a?null:a};var Td=function(a,b){this.P=a;this.bl=void 0===b?null:b};p(Td,Rd);var Ud=function(a,b,c){var d=Sd(a.bl,b);if(null==d)return c;d.Ml();return c.then(function(e){d.Ol(e);return e},function(e){d.Nl(e);throw e;})},H=function(a,b){var c=b.G||void 0,d=a.P,e=d.send,g=b.body instanceof C?Uc(b.body,Qc,Rc,Sc):b.body;return Ud(a,b,e.call(d,{path:b.path,B:b.B,D:b.D,body:g,u:b.u,Ei:b.Ei&&b.Ei},c))};var Vd={ue:"ADMIN_READ",we:"DATA_READ",xe:"DATA_WRITE",ck:"LOG_TYPE_UNSPECIFIED",values:function(){return[Vd.ck,Vd.ue,Vd.xe,Vd.we]}},Wd={ue:"ADMIN_READ",Zi:"ADMIN_WRITE",we:"DATA_READ",xe:"DATA_WRITE",kk:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[Wd.kk,Wd.ue,Wd.Zi,Wd.we,Wd.xe]}},Xd={gj:"AUTO_APPEAL_ELIGIBLE",kj:"CAPABILITY_GROUP_UNSPECIFIED",mj:"CLOUD_ALPHA",Gj:"EXTERNAL",Vj:"INTERNAL",Yj:"LIMITED",lk:"PREAUTHORIZED",nk:"PREVIEW",Kb:"PUBLIC",qk:"RESTRICTED",values:function(){return[Xd.kj,
|
|
Xd.Kb,Xd.Vj,Xd.Gj,Xd.Yj,Xd.lk,Xd.nk,Xd.mj,Xd.qk,Xd.gj]}},Yd={Yi:"ADMIN_ACTIVITY",xj:"DATA_ACCESS",Fk:"UNSPECIFIED_LOG_NAME",values:function(){return[Yd.Fk,Yd.Yi,Yd.xj]}},Zd={ye:"DEFAULT_OBJECT_ACL",Kb:"PUBLIC",Ie:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[Zd.Ie,Zd.Kb,Zd.ye]}},$d={cj:"APPROVER",ej:"ATTRIBUTION",fj:"AUTHORITY",rj:"CREDENTIALS_TYPE",sj:"CREDS_ASSERTION",Xj:"JUSTIFICATION_TYPE",Ee:"NO_ATTR",sk:"SECURITY_REALM",values:function(){return[$d.Ee,$d.fj,$d.ej,$d.sk,$d.cj,$d.Xj,
|
|
$d.rj,$d.sj]}},ae={Ej:"DISCHARGED",Fj:"EQUALS",Qj:"IN",ek:"NOT_EQUALS",fk:"NOT_IN",hk:"NO_OP",values:function(){return[ae.hk,ae.Fj,ae.ek,ae.Qj,ae.fk,ae.Ej]}},be={Wj:"IP",dk:"NAME",Ee:"NO_ATTR",pk:"REGION",tk:"SERVICE",values:function(){return[be.Ee,be.pk,be.tk,be.dk,be.Wj]}},ce={ak:"LOG_FAIL_CLOSED",bk:"LOG_MODE_UNSPECIFIED",values:function(){return[ce.bk,ce.ak]}},de={lj:"CLASSIFIER",Ij:"FEATURE_VIEW",Kj:"FOLDER",Oj:"IMAGE",Pj:"IMAGE_COLLECTION",Ak:"TABLE",Je:"TYPE_UNSPECIFIED",values:function(){return[de.Je,
|
|
de.Oj,de.Pj,de.Ak,de.Kj,de.lj,de.Ij]}},fe={Db:"AUTO_JPEG_PNG",Eb:"GEO_TIFF",Fb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Gb:"JPEG",Hb:"MULTI_BAND_IMAGE_TILE",Ib:"NPY",Jb:"PNG",Lb:"TF_RECORD_IMAGE",Mb:"ZIPPED_GEO_TIFF",Nb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[fe.Fb,fe.Gb,fe.Jb,fe.Db,fe.Ib,fe.Eb,fe.Lb,fe.Hb,fe.Mb,fe.Nb]}},ge={Gk:"V1",Hk:"V2",Ik:"VERSION_UNSPECIFIED",values:function(){return[ge.Ik,ge.Gk,ge.Hk]}},he={hj:"BOOLEAN",zj:"DATE_TIME",Gc:"DOUBLE",Uj:"INTEGER",xk:"STRING",Je:"TYPE_UNSPECIFIED",
|
|
values:function(){return[he.Je,he.Uj,he.hj,he.Gc,he.xk,he.zj]}},ie={Jj:"FEATURE_VIEW_ASSET_PERMISSIONS_UNSPECIFIED",Kb:"PUBLIC",values:function(){return[ie.Jj,ie.Kb]}},je={Db:"AUTO_JPEG_PNG",Eb:"GEO_TIFF",Fb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Gb:"JPEG",Hb:"MULTI_BAND_IMAGE_TILE",Ib:"NPY",Jb:"PNG",Lb:"TF_RECORD_IMAGE",Mb:"ZIPPED_GEO_TIFF",Nb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[je.Fb,je.Gb,je.Jb,je.Db,je.Ib,je.Eb,je.Lb,je.Hb,je.Mb,je.Nb]}},ke={Nj:"HORIZONTAL",ik:"ORIENTATION_UNSPECIFIED",
|
|
Jk:"VERTICAL",values:function(){return[ke.ik,ke.Nj,ke.Jk]}},le={ye:"DEFAULT_OBJECT_ACL",Kb:"PUBLIC",Ie:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[le.Ie,le.Kb,le.ye]}},me={MAX:"MAX",cb:"MEAN",eb:"MEDIAN",MIN:"MIN",fb:"MODE",gb:"PYRAMIDING_POLICY_UNSPECIFIED",hb:"SAMPLE",values:function(){return[me.gb,me.cb,me.hb,me.MIN,me.MAX,me.fb,me.eb]}},ne={MAX:"MAX",cb:"MEAN",eb:"MEDIAN",MIN:"MIN",fb:"MODE",gb:"PYRAMIDING_POLICY_UNSPECIFIED",hb:"SAMPLE",values:function(){return[ne.gb,ne.cb,ne.hb,
|
|
ne.MIN,ne.MAX,ne.fb,ne.eb]}},oe={MAX:"MAX",cb:"MEAN",eb:"MEDIAN",MIN:"MIN",fb:"MODE",gb:"PYRAMIDING_POLICY_UNSPECIFIED",hb:"SAMPLE",values:function(){return[oe.gb,oe.cb,oe.hb,oe.MIN,oe.MAX,oe.fb,oe.eb]}},pe={Db:"AUTO_JPEG_PNG",Eb:"GEO_TIFF",Fb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Gb:"JPEG",Hb:"MULTI_BAND_IMAGE_TILE",Ib:"NPY",Jb:"PNG",Lb:"TF_RECORD_IMAGE",Mb:"ZIPPED_GEO_TIFF",Nb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[pe.Fb,pe.Gb,pe.Jb,pe.Db,pe.Ib,pe.Eb,pe.Lb,pe.Hb,pe.Mb,pe.Nb]}},qe={MAX:"MAX",
|
|
cb:"MEAN",eb:"MEDIAN",MIN:"MIN",fb:"MODE",gb:"PYRAMIDING_POLICY_UNSPECIFIED",hb:"SAMPLE",values:function(){return[qe.gb,qe.cb,qe.hb,qe.MIN,qe.MAX,qe.fb,qe.eb]}},re={ij:"CANCELLED",jj:"CANCELLING",Hj:"FAILED",jk:"PENDING",rk:"RUNNING",wk:"STATE_UNSPECIFIED",zk:"SUCCEEDED",values:function(){return[re.wk,re.jk,re.rk,re.jj,re.zk,re.ij,re.Hj]}},se={uk:"SEVERE",vk:"SEVERITY_UNSPECIFIED",Kk:"WARNING",values:function(){return[se.vk,se.Kk,se.uk]}},te={Gc:"DOUBLE",FLOAT:"FLOAT",INT:"INT",mk:"PRECISION_UNSPECIFIED",
|
|
values:function(){return[te.mk,te.INT,te.FLOAT,te.Gc]}},ue={dj:"ASCENDING",Cj:"DESCENDING",Dj:"DIRECTION_UNSPECIFIED",values:function(){return[ue.Dj,ue.dj,ue.Cj]}},ve={aj:"ALLOW",bj:"ALLOW_WITH_LOG",Aj:"DENY",Bj:"DENY_WITH_LOG",Zj:"LOG",gk:"NO_ACTION",values:function(){return[ve.gk,ve.aj,ve.bj,ve.Aj,ve.Bj,ve.Zj]}},we={ve:"CSV",ze:"GEO_JSON",Be:"KML",Ce:"KMZ",Fe:"SHP",Ge:"TABLE_FILE_FORMAT_UNSPECIFIED",He:"TF_RECORD_TABLE",values:function(){return[we.Ge,we.ve,we.ze,we.Be,we.Ce,we.Fe,we.He]}},xe={ve:"CSV",
|
|
ze:"GEO_JSON",Be:"KML",Ce:"KMZ",Fe:"SHP",Ge:"TABLE_FILE_FORMAT_UNSPECIFIED",He:"TF_RECORD_TABLE",values:function(){return[xe.Ge,xe.ve,xe.ze,xe.Be,xe.Ce,xe.Fe,xe.He]}},ye={nj:"COLUMN_DATA_TYPE_LONG",oj:"COLUMN_DATA_TYPE_NUMERIC",pj:"COLUMN_DATA_TYPE_STRING",qj:"COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[ye.qj,ye.pj,ye.oj,ye.nj]}},ze={tj:"CSV_COLUMN_DATA_TYPE_LONG",uj:"CSV_COLUMN_DATA_TYPE_NUMERIC",vj:"CSV_COLUMN_DATA_TYPE_STRING",wj:"CSV_COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[ze.wj,
|
|
ze.vj,ze.uj,ze.tj]}},Ae={Lj:"GLOBALLY_CONSISTENT",Mj:"HIGHER_DENSITY",Ek:"UNKNOWN_THINNING_STRATEGY",values:function(){return[Ae.Ek,Ae.Lj,Ae.Mj]}},Be={Db:"AUTO_JPEG_PNG",Eb:"GEO_TIFF",Fb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Gb:"JPEG",Hb:"MULTI_BAND_IMAGE_TILE",Ib:"NPY",Jb:"PNG",Lb:"TF_RECORD_IMAGE",Mb:"ZIPPED_GEO_TIFF",Nb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Be.Fb,Be.Gb,Be.Jb,Be.Db,Be.Ib,Be.Eb,Be.Lb,Be.Hb,Be.Mb,Be.Nb]}},Ce={MAX:"MAX",cb:"MEAN",eb:"MEDIAN",MIN:"MIN",fb:"MODE",gb:"PYRAMIDING_POLICY_UNSPECIFIED",
|
|
hb:"SAMPLE",values:function(){return[Ce.gb,Ce.cb,Ce.hb,Ce.MIN,Ce.MAX,Ce.fb,Ce.eb]}},De={yj:"DATA_TYPE_UNSPECIFIED",Gc:"DOUBLE",FLOAT:"FLOAT",Rj:"INT16",Sj:"INT32",Tj:"INT8",Bk:"UINT16",Ck:"UINT32",Dk:"UINT8",values:function(){return[De.yj,De.Tj,De.Dk,De.Rj,De.Bk,De.Sj,De.Ck,De.FLOAT,De.Gc]}},Ee={Ae:"GIF",De:"MP4",Ke:"VIDEO_FILE_FORMAT_UNSPECIFIED",Le:"VP9",values:function(){return[Ee.Ke,Ee.De,Ee.Ae,Ee.Le]}},Fe={Ae:"GIF",De:"MP4",Ke:"VIDEO_FILE_FORMAT_UNSPECIFIED",Le:"VP9",values:function(){return[Fe.Ke,
|
|
Fe.De,Fe.Ae,Fe.Le]}},Ge=function(a){a=void 0===a?{}:a;this.h={};this.h.scaleX=null==a.ag?null:a.ag;this.h.shearX=null==a.fg?null:a.fg;this.h.translateX=null==a.xg?null:a.xg;this.h.shearY=null==a.gg?null:a.gg;this.h.scaleY=null==a.bg?null:a.bg;this.h.translateY=null==a.yg?null:a.yg};p(Ge,C);Ge.prototype.i=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
k.Object.defineProperties(Ge.prototype,{ag:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleX")?E(this,"scaleX"):null},set:function(a){this.h.scaleX=a}},bg:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleY")?E(this,"scaleY"):null},set:function(a){this.h.scaleY=a}},fg:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearX")?E(this,"shearX"):null},set:function(a){this.h.shearX=a}},gg:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearY")?
|
|
E(this,"shearY"):null},set:function(a){this.h.shearY=a}},xg:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateX")?E(this,"translateX"):null},set:function(a){this.h.translateX=a}},yg:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateY")?E(this,"translateY"):null},set:function(a){this.h.translateY=a}}});
|
|
var He=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.Zf?null:a.Zf;this.h.arguments=null==a.arguments?null:a.arguments;this.h.deprecated=null==a.deprecated?null:a.deprecated;this.h.deprecationReason=null==a.bf?null:a.bf;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};p(He,C);
|
|
He.prototype.i=function(){return{M:{arguments:Ie},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
|
|
k.Object.defineProperties(He.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?E(this,"arguments"):null},set:function(a){this.h.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecated")?E(this,"deprecated"):null},set:function(a){this.h.deprecated=a}},bf:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecationReason")?E(this,"deprecationReason"):null},set:function(a){this.h.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return F(this,"hidden")?E(this,"hidden"):null},set:function(a){this.h.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return F(this,"preview")?E(this,"preview"):null},set:function(a){this.h.preview=
|
|
a}},Zf:{configurable:!0,enumerable:!0,get:function(){return F(this,"returnType")?E(this,"returnType"):null},set:function(a){this.h.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return F(this,"sourceCodeUri")?E(this,"sourceCodeUri"):null},set:function(a){this.h.sourceCodeUri=a}}});
|
|
var Ie=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.td?null:a.td;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};p(Ie,C);Ie.prototype.i=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
k.Object.defineProperties(Ie.prototype,{td:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentName")?E(this,"argumentName"):null},set:function(a){this.h.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?E(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"optional")?E(this,"optional"):null},set:function(a){this.h.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}}});var Je=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};p(Je,C);Je.prototype.i=function(){return{M:{values:Ke},keys:["values"]}};
|
|
k.Object.defineProperties(Je.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var Le=function(a){a=void 0===a?{}:a;this.h={};this.h.service=null==a.xi?null:a.xi;this.h.auditLogConfigs=null==a.Kg?null:a.Kg};p(Le,C);Le.prototype.i=function(){return{M:{auditLogConfigs:Me},keys:["auditLogConfigs","service"]}};
|
|
k.Object.defineProperties(Le.prototype,{Kg:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditLogConfigs")?E(this,"auditLogConfigs"):null},set:function(a){this.h.auditLogConfigs=a}},xi:{configurable:!0,enumerable:!0,get:function(){return F(this,"service")?E(this,"service"):null},set:function(a){this.h.service=a}}});
|
|
var Me=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Rh?null:a.Rh;this.h.exemptedMembers=null==a.sh?null:a.sh;this.h.ignoreChildExemptions=null==a.Gh?null:a.Gh};p(Me,C);Me.prototype.i=function(){return{H:{logType:Vd},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
k.Object.defineProperties(Me.prototype,{sh:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?E(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},Gh:{configurable:!0,enumerable:!0,get:function(){return F(this,"ignoreChildExemptions")?E(this,"ignoreChildExemptions"):null},set:function(a){this.h.ignoreChildExemptions=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logType")?E(this,"logType"):null},set:function(a){this.h.logType=
|
|
a}}});var Ne=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.ii?null:a.ii};p(Ne,C);Ne.prototype.i=function(){return{H:{permissionType:Wd},keys:["permissionType"]}};k.Object.defineProperties(Ne.prototype,{ii:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissionType")?E(this,"permissionType"):null},set:function(a){this.h.permissionType=a}}});
|
|
var Oe=function(a){a=void 0===a?{}:a;this.h={};this.h.table=null==a.table?null:a.table;this.h.overwrite=null==a.overwrite?null:a.overwrite};p(Oe,C);Oe.prototype.i=function(){return{keys:["overwrite","table"]}};
|
|
k.Object.defineProperties(Oe.prototype,{overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},table:{configurable:!0,enumerable:!0,get:function(){return F(this,"table")?E(this,"table"):null},set:function(a){this.h.table=a}}});var Pe=function(a){a=void 0===a?{}:a;this.h={};this.h.bigqueryDestination=null==a.Pe?null:a.Pe};p(Pe,C);Pe.prototype.i=function(){return{keys:["bigqueryDestination"],o:{bigqueryDestination:Oe}}};
|
|
k.Object.defineProperties(Pe.prototype,{Pe:{configurable:!0,enumerable:!0,get:function(){return F(this,"bigqueryDestination")?E(this,"bigqueryDestination"):null},set:function(a){this.h.bigqueryDestination=a}}});var Qe=function(a){a=void 0===a?{}:a;this.h={};this.h.role=null==a.role?null:a.role;this.h.members=null==a.ac?null:a.ac;this.h.condition=null==a.Zg?null:a.Zg;this.h.bindingId=null==a.Og?null:a.Og};p(Qe,C);Qe.prototype.i=function(){return{keys:["bindingId","condition","members","role"],o:{condition:Re}}};
|
|
k.Object.defineProperties(Qe.prototype,{Og:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindingId")?E(this,"bindingId"):null},set:function(a){this.h.bindingId=a}},Zg:{configurable:!0,enumerable:!0,get:function(){return F(this,"condition")?E(this,"condition"):null},set:function(a){this.h.condition=a}},ac:{configurable:!0,enumerable:!0,get:function(){return F(this,"members")?E(this,"members"):null},set:function(a){this.h.members=a}},role:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"role")?E(this,"role"):null},set:function(a){this.h.role=a}}});var Se=function(){this.h={}};p(Se,C);Se.prototype.i=function(){return{keys:[]}};var Te=function(a){a=void 0===a?{}:a;this.h={};this.h.capabilities=null==a.Ug?null:a.Ug};p(Te,C);Te.prototype.i=function(){return{H:{capabilities:Xd},keys:["capabilities"]}};
|
|
k.Object.defineProperties(Te.prototype,{Ug:{configurable:!0,enumerable:!0,get:function(){return F(this,"capabilities")?E(this,"capabilities"):null},set:function(a){this.h.capabilities=a}}});var Ue=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ja?null:a.Ja};p(Ue,C);Ue.prototype.i=function(){return{keys:["earthEngineDestination"],o:{earthEngineDestination:Ve}}};
|
|
k.Object.defineProperties(Ue.prototype,{Ja:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var We=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Qh?null:a.Qh;this.h.authorizationLoggingOptions=null==a.Lg?null:a.Lg};p(We,C);We.prototype.i=function(){return{H:{logName:Yd},keys:["authorizationLoggingOptions","logName"],o:{authorizationLoggingOptions:Ne}}};
|
|
k.Object.defineProperties(We.prototype,{Lg:{configurable:!0,enumerable:!0,get:function(){return F(this,"authorizationLoggingOptions")?E(this,"authorizationLoggingOptions"):null},set:function(a){this.h.authorizationLoggingOptions=a}},Qh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logName")?E(this,"logName"):null},set:function(a){this.h.logName=a}}});
|
|
var Xe=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.oc?null:a.oc;this.h.filenamePrefix=null==a.ea?null:a.ea;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.pc?null:a.pc};p(Xe,C);Xe.prototype.i=function(){return{H:{permissions:Zd},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
k.Object.defineProperties(Xe.prototype,{oc:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucket")?E(this,"bucket"):null},set:function(a){this.h.bucket=a}},pc:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucketCorsUris")?E(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"permissions")?E(this,"permissions"):null},set:function(a){this.h.permissions=a}}});k.Object.defineProperties(Xe,{Permissions:{configurable:!0,enumerable:!0,get:function(){return Zd}}});var Ye=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.ya?null:a.ya};p(Ye,C);Ye.prototype.i=function(){return{keys:["uris"]}};
|
|
k.Object.defineProperties(Ye.prototype,{ya:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}}});var Ze=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};p(Ze,C);Ze.prototype.i=function(){return{keys:["expression","workloadTag"],o:{expression:$e}}};
|
|
k.Object.defineProperties(Ze.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});var af=function(a){a=void 0===a?{}:a;this.h={};this.h.result=null==a.result?null:a.result};p(af,C);af.prototype.i=function(){return{keys:["result"]}};
|
|
k.Object.defineProperties(af.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?E(this,"result"):null},set:function(a){this.h.result=a}}});var bf=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.Eh?null:a.Eh;this.h.sys=null==a.Ii?null:a.Ii;this.h.svc=null==a.Hi?null:a.Hi;this.h.op=null==a.gi?null:a.gi;this.h.values=null==a.values?null:a.values};p(bf,C);bf.prototype.i=function(){return{H:{iam:$d,op:ae,sys:be},keys:["iam","op","svc","sys","values"]}};
|
|
k.Object.defineProperties(bf.prototype,{Eh:{configurable:!0,enumerable:!0,get:function(){return F(this,"iam")?E(this,"iam"):null},set:function(a){this.h.iam=a}},gi:{configurable:!0,enumerable:!0,get:function(){return F(this,"op")?E(this,"op"):null},set:function(a){this.h.op=a}},Hi:{configurable:!0,enumerable:!0,get:function(){return F(this,"svc")?E(this,"svc"):null},set:function(a){this.h.svc=a}},Ii:{configurable:!0,enumerable:!0,get:function(){return F(this,"sys")?E(this,"sys"):null},set:function(a){this.h.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var cf=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Tb?null:a.Tb;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.bandIds=null==a.ca?null:a.ca};p(cf,C);cf.prototype.i=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
k.Object.defineProperties(cf.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Tb:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?E(this,"destinationName"):null},set:function(a){this.h.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
|
|
var df=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Uh?null:a.Uh;this.h.field=null==a.uh?null:a.uh;this.h.customFields=null==a.kh?null:a.kh};p(df,C);df.prototype.i=function(){return{M:{customFields:ef},keys:["customFields","field","metric"]}};
|
|
k.Object.defineProperties(df.prototype,{kh:{configurable:!0,enumerable:!0,get:function(){return F(this,"customFields")?E(this,"customFields"):null},set:function(a){this.h.customFields=a}},uh:{configurable:!0,enumerable:!0,get:function(){return F(this,"field")?E(this,"field"):null},set:function(a){this.h.field=a}},Uh:{configurable:!0,enumerable:!0,get:function(){return F(this,"metric")?E(this,"metric"):null},set:function(a){this.h.metric=a}}});
|
|
var ef=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};p(ef,C);ef.prototype.i=function(){return{keys:["name","value"]}};k.Object.defineProperties(ef.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return F(this,"value")?E(this,"value"):null},set:function(a){this.h.value=a}}});
|
|
var ff=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Ph?null:a.Ph};p(ff,C);ff.prototype.i=function(){return{H:{logMode:ce},keys:["logMode"]}};k.Object.defineProperties(ff.prototype,{Ph:{configurable:!0,enumerable:!0,get:function(){return F(this,"logMode")?E(this,"logMode"):null},set:function(a){this.h.logMode=a}}});var gf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};p(gf,C);
|
|
gf.prototype.i=function(){return{keys:["values"],Oa:{values:{la:Ke,ra:!1,sa:!0,ta:!1}}}};k.Object.defineProperties(gf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var hf=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};p(hf,C);hf.prototype.i=function(){return{keys:["max","min"]}};
|
|
k.Object.defineProperties(hf.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return F(this,"max")?E(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return F(this,"min")?E(this,"min"):null},set:function(a){this.h.min=a}}});var jf=function(a){a=void 0===a?{}:a;this.h={};this.h.folder=null==a.nf?null:a.nf;this.h.filenamePrefix=null==a.ea?null:a.ea};p(jf,C);jf.prototype.i=function(){return{keys:["filenamePrefix","folder"]}};
|
|
k.Object.defineProperties(jf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},nf:{configurable:!0,enumerable:!0,get:function(){return F(this,"folder")?E(this,"folder"):null},set:function(a){this.h.folder=a}}});
|
|
var kf=function(a){a=void 0===a?{}:a;this.h={};this.h.tilestoreLocation=null==a.Pi?null:a.Pi;this.h.cloudStorageLocation=null==a.cloudStorageLocation?null:a.cloudStorageLocation;this.h.tilestoreEntry=null==a.Oi?null:a.Oi;this.h.gcsLocation=null==a.gcsLocation?null:a.gcsLocation;this.h.featureViewAssetLocation=null==a.Fd?null:a.Fd;this.h.tableLocation=null==a.Ji?null:a.Ji;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.updateTime?null:a.updateTime;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.sizeBytes?null:a.sizeBytes;this.h.featureCount=null==a.featureCount?null:a.featureCount;this.h.quota=null==
|
|
a.quota?null:a.quota;this.h.expression=null==a.l?null:a.l};p(kf,C);
|
|
kf.prototype.i=function(){return{M:{bands:lf},H:{type:de},keys:"bands cloudStorageLocation description endTime expression featureCount featureViewAssetLocation gcsLocation geometry id name properties quota sizeBytes startTime tableLocation tilestoreEntry tilestoreLocation title type updateTime".split(" "),Oa:{geometry:{la:null,ra:!1,sa:!1,ta:!1},properties:{la:null,ra:!1,sa:!1,ta:!1}},o:{cloudStorageLocation:Ye,expression:$e,featureViewAssetLocation:mf,gcsLocation:nf,quota:of,tableLocation:pf,tilestoreEntry:qf,
|
|
tilestoreLocation:rf}}};
|
|
k.Object.defineProperties(kf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?E(this,"bands"):null},set:function(a){this.h.bands=a}},cloudStorageLocation:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageLocation")?E(this,"cloudStorageLocation"):null},set:function(a){this.h.cloudStorageLocation=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},
|
|
endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):null},set:function(a){this.h.endTime=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},featureCount:{configurable:!0,enumerable:!0,get:function(){return F(this,"featureCount")?E(this,"featureCount"):null},set:function(a){this.h.featureCount=a}},Fd:{configurable:!0,enumerable:!0,get:function(){return F(this,"featureViewAssetLocation")?
|
|
E(this,"featureViewAssetLocation"):null},set:function(a){this.h.featureViewAssetLocation=a}},gcsLocation:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsLocation")?E(this,"gcsLocation"):null},set:function(a){this.h.gcsLocation=a}},geometry:{configurable:!0,enumerable:!0,get:function(){return F(this,"geometry")?E(this,"geometry"):null},set:function(a){this.h.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=
|
|
a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},quota:{configurable:!0,enumerable:!0,get:function(){return F(this,"quota")?E(this,"quota"):null},set:function(a){this.h.quota=a}},sizeBytes:{configurable:!0,enumerable:!0,get:function(){return F(this,"sizeBytes")?E(this,"sizeBytes"):
|
|
null},set:function(a){this.h.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},Ji:{configurable:!0,enumerable:!0,get:function(){return F(this,"tableLocation")?E(this,"tableLocation"):null},set:function(a){this.h.tableLocation=a}},Oi:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilestoreEntry")?E(this,"tilestoreEntry"):null},set:function(a){this.h.tilestoreEntry=a}},Pi:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tilestoreLocation")?E(this,"tilestoreLocation"):null},set:function(a){this.h.tilestoreLocation=a}},title:{configurable:!0,enumerable:!0,get:function(){return F(this,"title")?E(this,"title"):null},set:function(a){this.h.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}},updateTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?E(this,"updateTime"):
|
|
null},set:function(a){this.h.updateTime=a}}});var Ve=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.overwrite=null==a.overwrite?null:a.overwrite};p(Ve,C);Ve.prototype.i=function(){return{keys:["name","overwrite"]}};
|
|
k.Object.defineProperties(Ve.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
|
|
var sf=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.F?null:a.F;this.h.bandIds=null==a.ca?null:a.ca;this.h.visualizationOptions=null==a.kc?null:a.kc};p(sf,C);sf.prototype.i=function(){return{H:{fileFormat:fe},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],o:{expression:$e,visualizationOptions:tf}}};
|
|
k.Object.defineProperties(sf.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},kc:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?E(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var uf=function(){this.h={}};p(uf,C);uf.prototype.i=function(){return{keys:[]}};
|
|
var vf=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.requestId=null==a.requestId?null:a.requestId;this.h.assetExportOptions=null==a.ua?null:a.ua;this.h.maxWorkers=null==a.O?null:a.O;this.h.maxWorkerCount=null==a.W?null:a.W;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};p(vf,C);
|
|
vf.prototype.i=function(){return{keys:"assetExportOptions description expression maxWorkerCount maxWorkers requestId workloadTag".split(" "),o:{assetExportOptions:Ue,expression:$e}}};
|
|
k.Object.defineProperties(vf.prototype,{ua:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?E(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
W:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},O:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"workloadTag")?E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var wf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.pa?null:a.pa;this.h.assetExportOptions=null==a.ua?null:a.ua;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.maxPixels=null==a.Mf?null:a.Mf;this.h.grid=null==a.grid?null:a.grid;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.O?null:a.O;this.h.maxWorkerCount=null==a.W?null:a.W;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};
|
|
p(wf,C);wf.prototype.i=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkerCount maxWorkers requestId workloadTag".split(" "),o:{assetExportOptions:xf,expression:$e,fileExportOptions:yf,grid:zf}}};
|
|
k.Object.defineProperties(wf.prototype,{ua:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?E(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
pa:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},grid:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},Mf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixels")?E(this,"maxPixels"):null},set:function(a){this.h.maxPixels=a}},W:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?
|
|
E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},O:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=
|
|
a}}});var Af=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.O?null:a.O;this.h.maxWorkerCount=null==a.W?null:a.W;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};p(Af,C);
|
|
Af.prototype.i=function(){return{keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions workloadTag".split(" "),o:{expression:$e,tileExportOptions:yf,tileOptions:Bf}}};
|
|
k.Object.defineProperties(Af.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},W:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},O:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},fc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?E(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},hc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?
|
|
E(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Cf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.pa?null:a.pa;this.h.assetExportOptions=null==a.ua?null:a.ua;this.h.featureViewExportOptions=null==a.Gd?null:a.Gd;this.h.bigqueryExportOptions=null==a.ud?null:a.ud;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.Yb?null:a.Yb;this.h.maxWorkers=
|
|
null==a.O?null:a.O;this.h.maxWorkerCount=null==a.W?null:a.W;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag;this.h.policy=null==a.mb?null:a.mb};p(Cf,C);
|
|
Cf.prototype.i=function(){return{keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkerCount maxWorkers policy requestId selectors workloadTag".split(" "),o:{assetExportOptions:Df,bigqueryExportOptions:Pe,expression:$e,featureViewExportOptions:Ef,fileExportOptions:Ff,policy:Gf}}};
|
|
k.Object.defineProperties(Cf.prototype,{ua:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?E(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},ud:{configurable:!0,enumerable:!0,get:function(){return F(this,"bigqueryExportOptions")?E(this,"bigqueryExportOptions"):null},set:function(a){this.h.bigqueryExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=
|
|
a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},Gd:{configurable:!0,enumerable:!0,get:function(){return F(this,"featureViewExportOptions")?E(this,"featureViewExportOptions"):null},set:function(a){this.h.featureViewExportOptions=a}},pa:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},Yb:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"maxErrorMeters")?E(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxVertices")?E(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},W:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},O:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},mb:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?E(this,"policy"):null},set:function(a){this.h.policy=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,"selectors")?E(this,"selectors"):null},set:function(a){this.h.selectors=a}},
|
|
workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Hf=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.Ra?null:a.Ra;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.O?null:a.O;this.h.maxWorkerCount=null==a.W?null:a.W;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};
|
|
p(Hf,C);Hf.prototype.i=function(){return{H:{version:ge},keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "),o:{expression:$e,tileExportOptions:If,tileOptions:Bf,videoOptions:Jf}}};
|
|
k.Object.defineProperties(Hf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},W:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},O:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},fc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?E(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},hc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?
|
|
E(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?E(this,"version"):null},set:function(a){this.h.version=a}},Ra:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=
|
|
a}}});var Kf=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.Ra?null:a.Ra;this.h.fileExportOptions=null==a.pa?null:a.pa;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.O?null:a.O;this.h.maxWorkerCount=null==a.W?null:a.W;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};p(Kf,C);
|
|
Kf.prototype.i=function(){return{keys:"description expression fileExportOptions maxWorkerCount maxWorkers requestId videoOptions workloadTag".split(" "),o:{expression:$e,fileExportOptions:If,videoOptions:Jf}}};
|
|
k.Object.defineProperties(Kf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},pa:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},W:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},O:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},Ra:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,
|
|
"videoOptions"):null},set:function(a){this.h.videoOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});var Re=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};p(Re,C);
|
|
Re.prototype.i=function(){return{keys:["description","expression","location","title"]}};
|
|
k.Object.defineProperties(Re.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return F(this,"location")?E(this,"location"):null},set:function(a){this.h.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"title")?E(this,"title"):null},set:function(a){this.h.title=a}}});var $e=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};p($e,C);$e.prototype.i=function(){return{keys:["result","values"],Oa:{values:{la:Ke,ra:!1,sa:!0,ta:!1}}}};
|
|
k.Object.defineProperties($e.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?E(this,"result"):null},set:function(a){this.h.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var Lf=function(a){a=void 0===a?{}:a;this.h={};this.h.type=null==a.type?null:a.type;this.h.geometry=null==a.geometry?null:a.geometry;this.h.properties=null==a.properties?null:a.properties};
|
|
p(Lf,C);Lf.prototype.i=function(){return{keys:["geometry","properties","type"]}};
|
|
k.Object.defineProperties(Lf.prototype,{geometry:{configurable:!0,enumerable:!0,get:function(){return F(this,"geometry")?E(this,"geometry"):null},set:function(a){this.h.geometry=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var Mf=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Qb?null:a.Qb;this.h.mapName=null==a.mapName?null:a.mapName;this.h.name=null==a.name?null:a.name;this.h.visualizationExpression=null==a.Ag?null:a.Ag};p(Mf,C);Mf.prototype.i=function(){return{keys:["asset","mapName","name","visualizationExpression"],o:{visualizationExpression:$e}}};
|
|
k.Object.defineProperties(Mf.prototype,{Qb:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?E(this,"asset"):null},set:function(a){this.h.asset=a}},mapName:{configurable:!0,enumerable:!0,get:function(){return F(this,"mapName")?E(this,"mapName"):null},set:function(a){this.h.mapName=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},Ag:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationExpression")?
|
|
E(this,"visualizationExpression"):null},set:function(a){this.h.visualizationExpression=a}}});var Ef=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewDestination=null==a.hf?null:a.hf;this.h.ingestionTimeParameters=null==a.vc?null:a.vc};p(Ef,C);Ef.prototype.i=function(){return{keys:["featureViewDestination","ingestionTimeParameters"],o:{featureViewDestination:Nf,ingestionTimeParameters:Of}}};
|
|
k.Object.defineProperties(Ef.prototype,{hf:{configurable:!0,enumerable:!0,get:function(){return F(this,"featureViewDestination")?E(this,"featureViewDestination"):null},set:function(a){this.h.featureViewDestination=a}},vc:{configurable:!0,enumerable:!0,get:function(){return F(this,"ingestionTimeParameters")?E(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var Pf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.type=null==a.type?null:a.type};p(Pf,C);Pf.prototype.i=function(){return{H:{type:he},keys:["name","type"]}};k.Object.defineProperties(Pf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var Nf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.assetVersion=null==a.Fg?null:a.Fg;this.h.permissions=null==a.permissions?null:a.permissions};p(Nf,C);Nf.prototype.i=function(){return{H:{permissions:ie},keys:["assetVersion","name","permissions"]}};
|
|
k.Object.defineProperties(Nf.prototype,{Fg:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetVersion")?E(this,"assetVersion"):null},set:function(a){this.h.assetVersion=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissions")?E(this,"permissions"):null},set:function(a){this.h.permissions=a}}});
|
|
k.Object.defineProperties(Nf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return ie}}});var Of=function(a){a=void 0===a?{}:a;this.h={};this.h.thinningOptions=null==a.pg?null:a.pg;this.h.rankingOptions=null==a.Vf?null:a.Vf;this.h.prerenderingOptions=null==a.ki?null:a.ki};p(Of,C);Of.prototype.i=function(){return{keys:["prerenderingOptions","rankingOptions","thinningOptions"],o:{prerenderingOptions:Qf,rankingOptions:Rf,thinningOptions:Sf}}};
|
|
k.Object.defineProperties(Of.prototype,{ki:{configurable:!0,enumerable:!0,get:function(){return F(this,"prerenderingOptions")?E(this,"prerenderingOptions"):null},set:function(a){this.h.prerenderingOptions=a}},Vf:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankingOptions")?E(this,"rankingOptions"):null},set:function(a){this.h.rankingOptions=a}},pg:{configurable:!0,enumerable:!0,get:function(){return F(this,"thinningOptions")?E(this,"thinningOptions"):null},set:function(a){this.h.thinningOptions=
|
|
a}}});var mf=function(a){a=void 0===a?{}:a;this.h={};this.h.location=null==a.location?null:a.location;this.h.assetOptions=null==a.assetOptions?null:a.assetOptions};p(mf,C);mf.prototype.i=function(){return{keys:["assetOptions","location"],o:{assetOptions:Tf}}};
|
|
k.Object.defineProperties(mf.prototype,{assetOptions:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetOptions")?E(this,"assetOptions"):null},set:function(a){this.h.assetOptions=a}},location:{configurable:!0,enumerable:!0,get:function(){return F(this,"location")?E(this,"location"):null},set:function(a){this.h.location=a}}});var Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewAttributes=null==a.th?null:a.th;this.h.ingestionTimeParameters=null==a.vc?null:a.vc};p(Tf,C);
|
|
Tf.prototype.i=function(){return{M:{featureViewAttributes:Pf},keys:["featureViewAttributes","ingestionTimeParameters"],o:{ingestionTimeParameters:Of}}};
|
|
k.Object.defineProperties(Tf.prototype,{th:{configurable:!0,enumerable:!0,get:function(){return F(this,"featureViewAttributes")?E(this,"featureViewAttributes"):null},set:function(a){this.h.featureViewAttributes=a}},vc:{configurable:!0,enumerable:!0,get:function(){return F(this,"ingestionTimeParameters")?E(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var Uf=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.F?null:a.F;this.h.grid=null==a.grid?null:a.grid};p(Uf,C);Uf.prototype.i=function(){return{H:{fileFormat:je,orientation:ke},keys:["expression","fileFormat","grid","name","orientation"],o:{expression:$e,grid:zf}}};
|
|
k.Object.defineProperties(Uf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},grid:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return F(this,"orientation")?E(this,"orientation"):null},set:function(a){this.h.orientation=a}}});var of=function(a){a=void 0===a?{}:a;this.h={};this.h.sizeBytes=null==a.sizeBytes?null:a.sizeBytes;this.h.maxSizeBytes=null==a.Zb?null:a.Zb;this.h.assetCount=null==a.Oe?null:a.Oe;this.h.maxAssets=null==a.Jf?null:a.Jf;this.h.maxAssetCount=null==a.Sh?null:a.Sh};p(of,C);
|
|
of.prototype.i=function(){return{keys:["assetCount","maxAssetCount","maxAssets","maxSizeBytes","sizeBytes"]}};
|
|
k.Object.defineProperties(of.prototype,{Oe:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetCount")?E(this,"assetCount"):null},set:function(a){this.h.assetCount=a}},Sh:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxAssetCount")?E(this,"maxAssetCount"):null},set:function(a){this.h.maxAssetCount=a}},Jf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxAssets")?E(this,"maxAssets"):null},set:function(a){this.h.maxAssets=a}},Zb:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"maxSizeBytes")?E(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},sizeBytes:{configurable:!0,enumerable:!0,get:function(){return F(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});var Vf=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentNames=null==a.nc?null:a.nc;this.h.body=null==a.body?null:a.body};p(Vf,C);Vf.prototype.i=function(){return{keys:["argumentNames","body"]}};
|
|
k.Object.defineProperties(Vf.prototype,{nc:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentNames")?E(this,"argumentNames"):null},set:function(a){this.h.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return F(this,"body")?E(this,"body"):null},set:function(a){this.h.body=a}}});
|
|
var Wf=function(a){a=void 0===a?{}:a;this.h={};this.h.functionName=null==a.functionName?null:a.functionName;this.h.functionReference=null==a.Xa?null:a.Xa;this.h.arguments=null==a.arguments?null:a.arguments};p(Wf,C);Wf.prototype.i=function(){return{keys:["arguments","functionName","functionReference"],Oa:{arguments:{la:Ke,ra:!1,sa:!0,ta:!1}}}};
|
|
k.Object.defineProperties(Wf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?E(this,"arguments"):null},set:function(a){this.h.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionName")?E(this,"functionName"):null},set:function(a){this.h.functionName=a}},Xa:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionReference")?E(this,"functionReference"):null},set:function(a){this.h.functionReference=
|
|
a}}});var Xf=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.oc?null:a.oc;this.h.filenamePrefix=null==a.ea?null:a.ea;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.pc?null:a.pc};p(Xf,C);Xf.prototype.i=function(){return{H:{permissions:le},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
k.Object.defineProperties(Xf.prototype,{oc:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucket")?E(this,"bucket"):null},set:function(a){this.h.bucket=a}},pc:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucketCorsUris")?E(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"permissions")?E(this,"permissions"):null},set:function(a){this.h.permissions=a}}});k.Object.defineProperties(Xf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return le}}});var nf=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.ya?null:a.ya};p(nf,C);nf.prototype.i=function(){return{keys:["uris"]}};
|
|
k.Object.defineProperties(nf.prototype,{ya:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}}});var Yf=function(a){a=void 0===a?{}:a;this.h={};this.h.cloudOptimized=null==a.Se?null:a.Se;this.h.tileDimensions=null==a.ab?null:a.ab;this.h.skipEmptyFiles=null==a.jg?null:a.jg;this.h.tileSize=null==a.tileSize?null:a.tileSize};p(Yf,C);
|
|
Yf.prototype.i=function(){return{keys:["cloudOptimized","skipEmptyFiles","tileDimensions","tileSize"],o:{tileDimensions:Zf}}};
|
|
k.Object.defineProperties(Yf.prototype,{Se:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudOptimized")?E(this,"cloudOptimized"):null},set:function(a){this.h.cloudOptimized=a}},jg:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyFiles")?E(this,"skipEmptyFiles"):null},set:function(a){this.h.skipEmptyFiles=a}},ab:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?E(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},
|
|
tileSize:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileSize")?E(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});var $f=function(a){a=void 0===a?{}:a;this.h={};this.h.options=null==a.options?null:a.options};p($f,C);$f.prototype.i=function(){return{keys:["options"],o:{options:ag}}};k.Object.defineProperties($f.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return F(this,"options")?E(this,"options"):null},set:function(a){this.h.options=a}}});
|
|
var ag=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.si?null:a.si};p(ag,C);ag.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};k.Object.defineProperties(ag.prototype,{si:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestedPolicyVersion")?E(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});
|
|
var Zf=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};p(Zf,C);Zf.prototype.i=function(){return{keys:["height","width"]}};k.Object.defineProperties(Zf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return F(this,"height")?E(this,"height"):null},set:function(a){this.h.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return F(this,"width")?E(this,"width"):null},set:function(a){this.h.width=a}}});
|
|
var bg=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};p(bg,C);bg.prototype.i=function(){return{keys:["x","y"]}};k.Object.defineProperties(bg.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return F(this,"x")?E(this,"x"):null},set:function(a){this.h.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return F(this,"y")?E(this,"y"):null},set:function(a){this.h.y=a}}});
|
|
var xf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ja?null:a.Ja;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.pyramidingPolicyOverrides=null==a.Sf?null:a.Sf;this.h.tileSize=null==a.tileSize?null:a.tileSize};p(xf,C);
|
|
xf.prototype.i=function(){return{H:{pyramidingPolicy:me,pyramidingPolicyOverrides:ne},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],Oa:{pyramidingPolicyOverrides:{la:null,ra:!1,sa:!1,ta:!1}},o:{earthEngineDestination:Ve}}};
|
|
k.Object.defineProperties(xf.prototype,{Ja:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Sf:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicyOverrides")?E(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.h.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileSize")?E(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});
|
|
var lf=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.grid?null:a.grid;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;this.h.cloudStorageLocation=null==a.cloudStorageLocation?null:a.cloudStorageLocation};p(lf,C);
|
|
lf.prototype.i=function(){return{M:{tilesets:cg},H:{pyramidingPolicy:oe},keys:"cloudStorageLocation dataType grid id missingData pyramidingPolicy tilesets".split(" "),o:{cloudStorageLocation:Ye,dataType:dg,grid:zf,missingData:eg}}};
|
|
k.Object.defineProperties(lf.prototype,{cloudStorageLocation:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageLocation")?E(this,"cloudStorageLocation"):null},set:function(a){this.h.cloudStorageLocation=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?E(this,"dataType"):null},set:function(a){this.h.dataType=a}},grid:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},id:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?E(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesets")?
|
|
E(this,"tilesets"):null},set:function(a){this.h.tilesets=a}}});var yf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.na?null:a.na;this.h.cloudStorageDestination=null==a.ka?null:a.ka;this.h.gcsDestination=null==a.tb?null:a.tb;this.h.geoTiffOptions=null==a.Hd?null:a.Hd;this.h.tfRecordOptions=null==a.ie?null:a.ie;this.h.fileFormat=null==a.F?null:a.F};p(yf,C);
|
|
yf.prototype.i=function(){return{H:{fileFormat:pe},keys:"cloudStorageDestination driveDestination fileFormat gcsDestination geoTiffOptions tfRecordOptions".split(" "),o:{cloudStorageDestination:Xe,driveDestination:jf,gcsDestination:Xf,geoTiffOptions:Yf,tfRecordOptions:fg}}};
|
|
k.Object.defineProperties(yf.prototype,{ka:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},na:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},tb:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?E(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}},Hd:{configurable:!0,enumerable:!0,get:function(){return F(this,"geoTiffOptions")?E(this,"geoTiffOptions"):null},set:function(a){this.h.geoTiffOptions=a}},ie:{configurable:!0,enumerable:!0,get:function(){return F(this,"tfRecordOptions")?E(this,"tfRecordOptions"):null},set:function(a){this.h.tfRecordOptions=a}}});
|
|
var gg=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.nd?null:a.nd;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.bands=null==a.bands?null:a.bands;this.h.maskBands=null==a.If?null:a.If;this.h.footprint=null==a.Ah?null:a.Ah;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;this.h.minTileAreaRatio=null==a.Xh?null:a.Xh;this.h.skipMetadataRead=null==a.Bi?null:a.Bi};p(gg,C);gg.prototype.i=function(){return{M:{bands:hg,maskBands:ig,tilesets:jg},H:{pyramidingPolicy:qe},keys:"bands endTime footprint maskBands minTileAreaRatio missingData name properties pyramidingPolicy skipMetadataRead startTime tilesets uriPrefix".split(" "),Oa:{properties:{la:null,ra:!1,sa:!1,ta:!1}},o:{footprint:kg,missingData:eg}}};
|
|
k.Object.defineProperties(gg.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?E(this,"bands"):null},set:function(a){this.h.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):null},set:function(a){this.h.endTime=a}},Ah:{configurable:!0,enumerable:!0,get:function(){return F(this,"footprint")?E(this,"footprint"):null},set:function(a){this.h.footprint=a}},If:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"maskBands")?E(this,"maskBands"):null},set:function(a){this.h.maskBands=a}},Xh:{configurable:!0,enumerable:!0,get:function(){return F(this,"minTileAreaRatio")?E(this,"minTileAreaRatio"):null},set:function(a){this.h.minTileAreaRatio=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?E(this,"missingData"):null},set:function(a){this.h.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=
|
|
a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Bi:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipMetadataRead")?E(this,"skipMetadataRead"):null},set:function(a){this.h.skipMetadataRead=a}},startTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesets")?E(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},nd:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?E(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var lg=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.ya?null:a.ya;this.h.affineTransform=null==a.Ob?null:a.Ob;this.h.dimensions=null==a.dimensions?null:a.dimensions};p(lg,C);lg.prototype.i=function(){return{keys:["affineTransform","dimensions","uris"],o:{affineTransform:Ge,dimensions:Zf}}};
|
|
k.Object.defineProperties(lg.prototype,{Ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?E(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},dimensions:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensions")?E(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},ya:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}}});
|
|
var mg=function(a){a=void 0===a?{}:a;this.h={};this.h.imageManifest=null==a.xf?null:a.xf;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};p(mg,C);mg.prototype.i=function(){return{keys:["description","imageManifest","overwrite","requestId"],o:{imageManifest:gg}}};
|
|
k.Object.defineProperties(mg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},xf:{configurable:!0,enumerable:!0,get:function(){return F(this,"imageManifest")?E(this,"imageManifest"):null},set:function(a){this.h.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}}});var ng=function(a){a=void 0===a?{}:a;this.h={};this.h.tableManifest=null==a.og?null:a.og;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};p(ng,C);ng.prototype.i=function(){return{keys:["description","overwrite","requestId","tableManifest"],o:{tableManifest:og}}};
|
|
k.Object.defineProperties(ng.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},og:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tableManifest")?E(this,"tableManifest"):null},set:function(a){this.h.tableManifest=a}}});var pg=function(a){a=void 0===a?{}:a;this.h={};this.h.algorithms=null==a.Hc?null:a.Hc};p(pg,C);pg.prototype.i=function(){return{M:{algorithms:He},keys:["algorithms"]}};k.Object.defineProperties(pg.prototype,{Hc:{configurable:!0,enumerable:!0,get:function(){return F(this,"algorithms")?E(this,"algorithms"):null},set:function(a){this.h.algorithms=a}}});
|
|
var qg=function(a){a=void 0===a?{}:a;this.h={};this.h.assets=null==a.assets?null:a.assets;this.h.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};p(qg,C);qg.prototype.i=function(){return{M:{assets:kf},keys:["assets","nextPageToken"]}};
|
|
k.Object.defineProperties(qg.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return F(this,"assets")?E(this,"assets"):null},set:function(a){this.h.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});
|
|
var rg=function(a){a=void 0===a?{}:a;this.h={};this.h.type=null==a.type?null:a.type;this.h.features=null==a.features?null:a.features;this.h.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};p(rg,C);rg.prototype.i=function(){return{M:{features:Lf},keys:["features","nextPageToken","type"]}};
|
|
k.Object.defineProperties(rg.prototype,{features:{configurable:!0,enumerable:!0,get:function(){return F(this,"features")?E(this,"features"):null},set:function(a){this.h.features=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var sg=function(a){a=void 0===a?{}:a;this.h={};this.h.operations=null==a.Pa?null:a.Pa;this.h.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};p(sg,C);sg.prototype.i=function(){return{M:{operations:tg},keys:["nextPageToken","operations"]}};
|
|
k.Object.defineProperties(sg.prototype,{nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return F(this,"operations")?E(this,"operations"):null},set:function(a){this.h.operations=a}}});
|
|
var ug=function(a){a=void 0===a?{}:a;this.h={};this.h.counter=null==a.counter?null:a.counter;this.h.dataAccess=null==a.lh?null:a.lh;this.h.cloudAudit=null==a.Wg?null:a.Wg};p(ug,C);ug.prototype.i=function(){return{keys:["cloudAudit","counter","dataAccess"],o:{cloudAudit:We,counter:df,dataAccess:ff}}};
|
|
k.Object.defineProperties(ug.prototype,{Wg:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudAudit")?E(this,"cloudAudit"):null},set:function(a){this.h.cloudAudit=a}},counter:{configurable:!0,enumerable:!0,get:function(){return F(this,"counter")?E(this,"counter"):null},set:function(a){this.h.counter=a}},lh:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataAccess")?E(this,"dataAccess"):null},set:function(a){this.h.dataAccess=a}}});
|
|
var eg=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};p(eg,C);eg.prototype.i=function(){return{keys:["values"]}};k.Object.defineProperties(eg.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var vg=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Tb?null:a.Tb};p(vg,C);vg.prototype.i=function(){return{keys:["destinationName"]}};
|
|
k.Object.defineProperties(vg.prototype,{Tb:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?E(this,"destinationName"):null},set:function(a){this.h.destinationName=a}}});var tg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.metadata=null==a.metadata?null:a.metadata;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};p(tg,C);
|
|
tg.prototype.i=function(){return{keys:["done","error","metadata","name","response"],Oa:{metadata:{la:null,ra:!1,sa:!1,ta:!1},response:{la:null,ra:!1,sa:!1,ta:!1}},o:{error:wg}}};
|
|
k.Object.defineProperties(tg.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return F(this,"done")?E(this,"done"):null},set:function(a){this.h.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return F(this,"error")?E(this,"error"):null},set:function(a){this.h.error=a}},metadata:{configurable:!0,enumerable:!0,get:function(){return F(this,"metadata")?E(this,"metadata"):null},set:function(a){this.h.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return F(this,"response")?E(this,"response"):null},set:function(a){this.h.response=a}}});
|
|
var xg=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.updateTime?null:a.updateTime;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.Di?null:
|
|
a.Di;this.h.attempt=null==a.attempt?null:a.attempt;this.h.scriptUri=null==a.cg?null:a.cg;this.h.destinationUris=null==a.cf?null:a.cf;this.h.notifications=null==a.bi?null:a.bi;this.h.batchEecuUsageSeconds=null==a.Ng?null:a.Ng};p(xg,C);xg.prototype.i=function(){return{M:{notifications:yg,stages:zg},H:{state:re},keys:"attempt batchEecuUsageSeconds createTime description destinationUris endTime notifications priority progress scriptUri stages startTime state type updateTime".split(" ")}};
|
|
k.Object.defineProperties(xg.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return F(this,"attempt")?E(this,"attempt"):null},set:function(a){this.h.attempt=a}},Ng:{configurable:!0,enumerable:!0,get:function(){return F(this,"batchEecuUsageSeconds")?E(this,"batchEecuUsageSeconds"):null},set:function(a){this.h.batchEecuUsageSeconds=a}},Ze:{configurable:!0,enumerable:!0,get:function(){return F(this,"createTime")?E(this,"createTime"):null},set:function(a){this.h.createTime=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},cf:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationUris")?E(this,"destinationUris"):null},set:function(a){this.h.destinationUris=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):null},set:function(a){this.h.endTime=a}},bi:{configurable:!0,enumerable:!0,get:function(){return F(this,"notifications")?E(this,
|
|
"notifications"):null},set:function(a){this.h.notifications=a}},priority:{configurable:!0,enumerable:!0,get:function(){return F(this,"priority")?E(this,"priority"):null},set:function(a){this.h.priority=a}},progress:{configurable:!0,enumerable:!0,get:function(){return F(this,"progress")?E(this,"progress"):null},set:function(a){this.h.progress=a}},cg:{configurable:!0,enumerable:!0,get:function(){return F(this,"scriptUri")?E(this,"scriptUri"):null},set:function(a){this.h.scriptUri=a}},Di:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"stages")?E(this,"stages"):null},set:function(a){this.h.stages=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return F(this,"state")?E(this,"state"):null},set:function(a){this.h.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=
|
|
a}},updateTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?E(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var yg=function(a){a=void 0===a?{}:a;this.h={};this.h.severity=null==a.severity?null:a.severity;this.h.topic=null==a.Ri?null:a.Ri;this.h.detail=null==a.detail?null:a.detail};p(yg,C);yg.prototype.i=function(){return{H:{severity:se},keys:["detail","severity","topic"]}};
|
|
k.Object.defineProperties(yg.prototype,{detail:{configurable:!0,enumerable:!0,get:function(){return F(this,"detail")?E(this,"detail"):null},set:function(a){this.h.detail=a}},severity:{configurable:!0,enumerable:!0,get:function(){return F(this,"severity")?E(this,"severity"):null},set:function(a){this.h.severity=a}},Ri:{configurable:!0,enumerable:!0,get:function(){return F(this,"topic")?E(this,"topic"):null},set:function(a){this.h.topic=a}}});
|
|
var zg=function(a){a=void 0===a?{}:a;this.h={};this.h.displayName=null==a.displayName?null:a.displayName;this.h.completeWorkUnits=null==a.Yg?null:a.Yg;this.h.totalWorkUnits=null==a.Si?null:a.Si;this.h.description=null==a.description?null:a.description};p(zg,C);zg.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
|
|
k.Object.defineProperties(zg.prototype,{Yg:{configurable:!0,enumerable:!0,get:function(){return F(this,"completeWorkUnits")?E(this,"completeWorkUnits"):null},set:function(a){this.h.completeWorkUnits=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},displayName:{configurable:!0,enumerable:!0,get:function(){return F(this,"displayName")?E(this,"displayName"):null},set:function(a){this.h.displayName=
|
|
a}},Si:{configurable:!0,enumerable:!0,get:function(){return F(this,"totalWorkUnits")?E(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var dg=function(a){a=void 0===a?{}:a;this.h={};this.h.precision=null==a.precision?null:a.precision;this.h.range=null==a.fd?null:a.fd;this.h.dimensionsCount=null==a.ph?null:a.ph};p(dg,C);dg.prototype.i=function(){return{H:{precision:te},keys:["dimensionsCount","precision","range"],o:{range:hf}}};
|
|
k.Object.defineProperties(dg.prototype,{ph:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensionsCount")?E(this,"dimensionsCount"):null},set:function(a){this.h.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return F(this,"precision")?E(this,"precision"):null},set:function(a){this.h.precision=a}},fd:{configurable:!0,enumerable:!0,get:function(){return F(this,"range")?E(this,"range"):null},set:function(a){this.h.range=a}}});
|
|
var kg=function(a){a=void 0===a?{}:a;this.h={};this.h.points=null==a.points?null:a.points;this.h.bandId=null==a.Mg?null:a.Mg};p(kg,C);kg.prototype.i=function(){return{M:{points:bg},keys:["bandId","points"]}};
|
|
k.Object.defineProperties(kg.prototype,{Mg:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandId")?E(this,"bandId"):null},set:function(a){this.h.bandId=a}},points:{configurable:!0,enumerable:!0,get:function(){return F(this,"points")?E(this,"points"):null},set:function(a){this.h.points=a}}});
|
|
var zf=function(a){a=void 0===a?{}:a;this.h={};this.h.crsCode=null==a.af?null:a.af;this.h.crsWkt=null==a.fh?null:a.fh;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.affineTransform=null==a.Ob?null:a.Ob};p(zf,C);zf.prototype.i=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],o:{affineTransform:Ge,dimensions:Zf}}};
|
|
k.Object.defineProperties(zf.prototype,{Ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?E(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},af:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsCode")?E(this,"crsCode"):null},set:function(a){this.h.crsCode=a}},fh:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsWkt")?E(this,"crsWkt"):null},set:function(a){this.h.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"dimensions")?E(this,"dimensions"):null},set:function(a){this.h.dimensions=a}}});var Gf=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.vd?null:a.vd;this.h.auditConfigs=null==a.Jg?null:a.Jg;this.h.rules=null==a.rules?null:a.rules;this.h.etag=null==a.ff?null:a.ff};p(Gf,C);Gf.prototype.i=function(){return{M:{auditConfigs:Le,bindings:Qe,rules:Ag},keys:["auditConfigs","bindings","etag","rules","version"]}};
|
|
k.Object.defineProperties(Gf.prototype,{Jg:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditConfigs")?E(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},vd:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindings")?E(this,"bindings"):null},set:function(a){this.h.bindings=a}},ff:{configurable:!0,enumerable:!0,get:function(){return F(this,"etag")?E(this,"etag"):null},set:function(a){this.h.etag=a}},rules:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"rules")?E(this,"rules"):null},set:function(a){this.h.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?E(this,"version"):null},set:function(a){this.h.version=a}}});var Qf=function(a){a=void 0===a?{}:a;this.h={};this.h.prerenderTiles=null==a.ji?null:a.ji;this.h.tileLimiting=null==a.Ki?null:a.Ki};p(Qf,C);Qf.prototype.i=function(){return{keys:["prerenderTiles","tileLimiting"],o:{tileLimiting:Bg}}};
|
|
k.Object.defineProperties(Qf.prototype,{ji:{configurable:!0,enumerable:!0,get:function(){return F(this,"prerenderTiles")?E(this,"prerenderTiles"):null},set:function(a){this.h.prerenderTiles=a}},Ki:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileLimiting")?E(this,"tileLimiting"):null},set:function(a){this.h.tileLimiting=a}}});var Cg=function(a){a=void 0===a?{}:a;this.h={};this.h.attributeName=null==a.attributeName?null:a.attributeName};p(Cg,C);Cg.prototype.i=function(){return{keys:["attributeName"]}};
|
|
k.Object.defineProperties(Cg.prototype,{attributeName:{configurable:!0,enumerable:!0,get:function(){return F(this,"attributeName")?E(this,"attributeName"):null},set:function(a){this.h.attributeName=a}}});var Dg=function(){this.h={}};p(Dg,C);Dg.prototype.i=function(){return{keys:[]}};var Eg=function(){this.h={}};p(Eg,C);Eg.prototype.i=function(){return{keys:[]}};var Fg=function(){this.h={}};p(Fg,C);Fg.prototype.i=function(){return{keys:[]}};
|
|
var Gg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByAttributeRule=null==a.Wd?null:a.Wd;this.h.rankByMinVisibleLodRule=null==a.ni?null:a.ni;this.h.rankByGeometryTypeRule=null==a.Xd?null:a.Xd;this.h.rankByMinZoomLevelRule=null==a.Yd?null:a.Yd;this.h.direction=null==a.direction?null:a.direction};p(Gg,C);
|
|
Gg.prototype.i=function(){return{H:{direction:ue},keys:["direction","rankByAttributeRule","rankByGeometryTypeRule","rankByMinVisibleLodRule","rankByMinZoomLevelRule"],o:{rankByAttributeRule:Cg,rankByGeometryTypeRule:Dg,rankByMinVisibleLodRule:Eg,rankByMinZoomLevelRule:Fg}}};
|
|
k.Object.defineProperties(Gg.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return F(this,"direction")?E(this,"direction"):null},set:function(a){this.h.direction=a}},Wd:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankByAttributeRule")?E(this,"rankByAttributeRule"):null},set:function(a){this.h.rankByAttributeRule=a}},Xd:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankByGeometryTypeRule")?E(this,"rankByGeometryTypeRule"):null},set:function(a){this.h.rankByGeometryTypeRule=
|
|
a}},ni:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankByMinVisibleLodRule")?E(this,"rankByMinVisibleLodRule"):null},set:function(a){this.h.rankByMinVisibleLodRule=a}},Yd:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankByMinZoomLevelRule")?E(this,"rankByMinZoomLevelRule"):null},set:function(a){this.h.rankByMinZoomLevelRule=a}}});
|
|
var Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.zOrderRankingRule=null==a.Cg?null:a.Cg;this.h.thinningRankingRule=null==a.qg?null:a.qg};p(Rf,C);Rf.prototype.i=function(){return{keys:["thinningRankingRule","zOrderRankingRule"],o:{thinningRankingRule:Hg,zOrderRankingRule:Hg}}};
|
|
k.Object.defineProperties(Rf.prototype,{qg:{configurable:!0,enumerable:!0,get:function(){return F(this,"thinningRankingRule")?E(this,"thinningRankingRule"):null},set:function(a){this.h.thinningRankingRule=a}},Cg:{configurable:!0,enumerable:!0,get:function(){return F(this,"zOrderRankingRule")?E(this,"zOrderRankingRule"):null},set:function(a){this.h.zOrderRankingRule=a}}});
|
|
var Hg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByOneThingRule=null==a.Uf?null:a.Uf;this.h.pseudoRandomTiebreaking=null==a.mi?null:a.mi};p(Hg,C);Hg.prototype.i=function(){return{M:{rankByOneThingRule:Gg},keys:["pseudoRandomTiebreaking","rankByOneThingRule"]}};
|
|
k.Object.defineProperties(Hg.prototype,{mi:{configurable:!0,enumerable:!0,get:function(){return F(this,"pseudoRandomTiebreaking")?E(this,"pseudoRandomTiebreaking"):null},set:function(a){this.h.pseudoRandomTiebreaking=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankByOneThingRule")?E(this,"rankByOneThingRule"):null},set:function(a){this.h.rankByOneThingRule=a}}});
|
|
var Ag=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.Ih?null:a.Ih;this.h.notIn=null==a.ai?null:a.ai;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.Oh?null:a.Oh};p(Ag,C);Ag.prototype.i=function(){return{M:{conditions:bf,logConfig:ug},H:{action:ve},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
k.Object.defineProperties(Ag.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return F(this,"action")?E(this,"action"):null},set:function(a){this.h.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return F(this,"conditions")?E(this,"conditions"):null},set:function(a){this.h.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},Ih:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"in")?E(this,"in"):null},set:function(a){this.h["in"]=a}},Oh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logConfig")?E(this,"logConfig"):null},set:function(a){this.h.logConfig=a}},ai:{configurable:!0,enumerable:!0,get:function(){return F(this,"notIn")?E(this,"notIn"):null},set:function(a){this.h.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissions")?E(this,"permissions"):null},set:function(a){this.h.permissions=
|
|
a}}});var Ig=function(a){a=void 0===a?{}:a;this.h={};this.h.policy=null==a.mb?null:a.mb;this.h.updateMask=null==a.updateMask?null:a.updateMask};p(Ig,C);Ig.prototype.i=function(){return{keys:["policy","updateMask"],o:{policy:Gf}}};
|
|
k.Object.defineProperties(Ig.prototype,{mb:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?E(this,"policy"):null},set:function(a){this.h.policy=a}},updateMask:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?E(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});var wg=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};
|
|
p(wg,C);wg.prototype.i=function(){return{keys:["code","details","message"],Oa:{details:{la:null,ra:!0,sa:!1,ta:!1}}}};
|
|
k.Object.defineProperties(wg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return F(this,"code")?E(this,"code"):null},set:function(a){this.h.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return F(this,"details")?E(this,"details"):null},set:function(a){this.h.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return F(this,"message")?E(this,"message"):null},set:function(a){this.h.message=a}}});
|
|
var Jg=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.F?null:a.F;this.h.selectors=null==a.selectors?null:a.selectors;this.h.filename=null==a.filename?null:a.filename};p(Jg,C);Jg.prototype.i=function(){return{H:{fileFormat:xe},keys:["expression","fileFormat","filename","name","selectors"],o:{expression:$e}}};
|
|
k.Object.defineProperties(Jg.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return F(this,"filename")?E(this,"filename"):null},set:function(a){this.h.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,"selectors")?E(this,"selectors"):null},set:function(a){this.h.selectors=a}}});var Df=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ja?null:a.Ja};p(Df,C);Df.prototype.i=function(){return{keys:["earthEngineDestination"],o:{earthEngineDestination:Ve}}};
|
|
k.Object.defineProperties(Df.prototype,{Ja:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Ff=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.na?null:a.na;this.h.cloudStorageDestination=null==a.ka?null:a.ka;this.h.gcsDestination=null==a.tb?null:a.tb;this.h.fileFormat=null==a.F?null:a.F};p(Ff,C);
|
|
Ff.prototype.i=function(){return{H:{fileFormat:we},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],o:{cloudStorageDestination:Xe,driveDestination:jf,gcsDestination:Xf}}};
|
|
k.Object.defineProperties(Ff.prototype,{ka:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},na:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},tb:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?E(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}}});var pf=function(a){a=void 0===a?{}:a;this.h={};this.h.paths=null==a.paths?null:a.paths;this.h.sizeBytes=null==a.sizeBytes?null:a.sizeBytes;this.h.shardCount=null==a.zi?null:a.zi;this.h.primaryGeometryColumn=null==a.dd?null:a.dd};p(pf,C);pf.prototype.i=function(){return{keys:["paths","primaryGeometryColumn","shardCount","sizeBytes"]}};
|
|
k.Object.defineProperties(pf.prototype,{paths:{configurable:!0,enumerable:!0,get:function(){return F(this,"paths")?E(this,"paths"):null},set:function(a){this.h.paths=a}},dd:{configurable:!0,enumerable:!0,get:function(){return F(this,"primaryGeometryColumn")?E(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},zi:{configurable:!0,enumerable:!0,get:function(){return F(this,"shardCount")?E(this,"shardCount"):null},set:function(a){this.h.shardCount=a}},sizeBytes:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});
|
|
var og=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.nd?null:a.nd;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;this.h.csvColumnDataTypeOverrides=null==a.gh?null:a.gh;this.h.policy=null==a.mb?null:a.mb;this.h.columnDataTypeOverrides=null==a.Xg?null:a.Xg};p(og,C);
|
|
og.prototype.i=function(){return{M:{sources:Kg},H:{columnDataTypeOverrides:ye,csvColumnDataTypeOverrides:ze},keys:"columnDataTypeOverrides csvColumnDataTypeOverrides endTime name policy properties sources startTime uriPrefix".split(" "),Oa:{columnDataTypeOverrides:{la:null,ra:!1,sa:!1,ta:!1},csvColumnDataTypeOverrides:{la:null,ra:!1,sa:!1,ta:!1},properties:{la:null,ra:!1,sa:!1,ta:!1}},o:{policy:Gf}}};
|
|
k.Object.defineProperties(og.prototype,{Xg:{configurable:!0,enumerable:!0,get:function(){return F(this,"columnDataTypeOverrides")?E(this,"columnDataTypeOverrides"):null},set:function(a){this.h.columnDataTypeOverrides=a}},gh:{configurable:!0,enumerable:!0,get:function(){return F(this,"csvColumnDataTypeOverrides")?E(this,"csvColumnDataTypeOverrides"):null},set:function(a){this.h.csvColumnDataTypeOverrides=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):
|
|
null},set:function(a){this.h.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},mb:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?E(this,"policy"):null},set:function(a){this.h.policy=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"sources")?E(this,"sources"):null},set:function(a){this.h.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},nd:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?E(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var Kg=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.Yb?null:a.Yb;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.dd?null:a.dd;this.h.xColumn=null==a.Vi?null:a.Vi;this.h.yColumn=null==a.Wi?null:a.Wi;this.h.dateFormat=null==a.mh?null:a.mh;this.h.csvDelimiter=null==a.hh?
|
|
null:a.hh;this.h.csvQualifier=null==a.ih?null:a.ih};p(Kg,C);Kg.prototype.i=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
k.Object.defineProperties(Kg.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return F(this,"charset")?E(this,"charset"):null},set:function(a){this.h.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?E(this,"crs"):null},set:function(a){this.h.crs=a}},hh:{configurable:!0,enumerable:!0,get:function(){return F(this,"csvDelimiter")?E(this,"csvDelimiter"):null},set:function(a){this.h.csvDelimiter=a}},ih:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"csvQualifier")?E(this,"csvQualifier"):null},set:function(a){this.h.csvQualifier=a}},mh:{configurable:!0,enumerable:!0,get:function(){return F(this,"dateFormat")?E(this,"dateFormat"):null},set:function(a){this.h.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return F(this,"geodesic")?E(this,"geodesic"):null},set:function(a){this.h.geodesic=a}},Yb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxErrorMeters")?E(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxVertices")?E(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},dd:{configurable:!0,enumerable:!0,get:function(){return F(this,"primaryGeometryColumn")?E(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},ya:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}},Vi:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"xColumn")?E(this,"xColumn"):null},set:function(a){this.h.xColumn=a}},Wi:{configurable:!0,enumerable:!0,get:function(){return F(this,"yColumn")?E(this,"yColumn"):null},set:function(a){this.h.yColumn=a}}});
|
|
var fg=function(a){a=void 0===a?{}:a;this.h={};this.h.tileDimensions=null==a.ab?null:a.ab;this.h.marginDimensions=null==a.Hf?null:a.Hf;this.h.compress=null==a.Ve?null:a.Ve;this.h.maxSizeBytes=null==a.Zb?null:a.Zb;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue;this.h.tensorDepths=null==a.he?null:a.he;this.h.sequenceData=null==a.dg?null:a.dg;this.h.collapseBands=null==a.Te?null:a.Te;this.h.maxMaskedRatio=null==a.Lf?null:a.Lf};p(fg,C);
|
|
fg.prototype.i=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),Oa:{tensorDepths:{la:null,ra:!1,sa:!1,ta:!1}},o:{marginDimensions:Zf,tileDimensions:Zf}}};
|
|
k.Object.defineProperties(fg.prototype,{Te:{configurable:!0,enumerable:!0,get:function(){return F(this,"collapseBands")?E(this,"collapseBands"):null},set:function(a){this.h.collapseBands=a}},Ve:{configurable:!0,enumerable:!0,get:function(){return F(this,"compress")?E(this,"compress"):null},set:function(a){this.h.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?E(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},Hf:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"marginDimensions")?E(this,"marginDimensions"):null},set:function(a){this.h.marginDimensions=a}},Lf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxMaskedRatio")?E(this,"maxMaskedRatio"):null},set:function(a){this.h.maxMaskedRatio=a}},Zb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?E(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},dg:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"sequenceData")?E(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},he:{configurable:!0,enumerable:!0,get:function(){return F(this,"tensorDepths")?E(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},ab:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?E(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
|
|
var Sf=function(a){a=void 0===a?{}:a;this.h={};this.h.maxFeaturesPerTile=null==a.Kf?null:a.Kf;this.h.thinningStrategy=null==a.rg?null:a.rg};p(Sf,C);Sf.prototype.i=function(){return{H:{thinningStrategy:Ae},keys:["maxFeaturesPerTile","thinningStrategy"]}};
|
|
k.Object.defineProperties(Sf.prototype,{Kf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxFeaturesPerTile")?E(this,"maxFeaturesPerTile"):null},set:function(a){this.h.maxFeaturesPerTile=a}},rg:{configurable:!0,enumerable:!0,get:function(){return F(this,"thinningStrategy")?E(this,"thinningStrategy"):null},set:function(a){this.h.thinningStrategy=a}}});
|
|
var Lg=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.F?null:a.F;this.h.bandIds=null==a.ca?null:a.ca;this.h.visualizationOptions=null==a.kc?null:a.kc;this.h.grid=null==a.grid?null:a.grid;this.h.filenamePrefix=null==a.ea?null:a.ea};p(Lg,C);
|
|
Lg.prototype.i=function(){return{H:{fileFormat:Be},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),o:{expression:$e,grid:zf,visualizationOptions:tf}}};
|
|
k.Object.defineProperties(Lg.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},ea:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},grid:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},kc:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?E(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=
|
|
a}}});var Bg=function(a){a=void 0===a?{}:a;this.h={};this.h.maxPrerenderZoom=null==a.Th?null:a.Th;this.h.minVerticesPerTile=null==a.Yh?null:a.Yh;this.h.neighborDepth=null==a.Zh?null:a.Zh;this.h.minFeaturesPerTile=null==a.Wh?null:a.Wh};p(Bg,C);Bg.prototype.i=function(){return{keys:["maxPrerenderZoom","minFeaturesPerTile","minVerticesPerTile","neighborDepth"]}};
|
|
k.Object.defineProperties(Bg.prototype,{Th:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPrerenderZoom")?E(this,"maxPrerenderZoom"):null},set:function(a){this.h.maxPrerenderZoom=a}},Wh:{configurable:!0,enumerable:!0,get:function(){return F(this,"minFeaturesPerTile")?E(this,"minFeaturesPerTile"):null},set:function(a){this.h.minFeaturesPerTile=a}},Yh:{configurable:!0,enumerable:!0,get:function(){return F(this,"minVerticesPerTile")?E(this,"minVerticesPerTile"):null},set:function(a){this.h.minVerticesPerTile=
|
|
a}},Zh:{configurable:!0,enumerable:!0,get:function(){return F(this,"neighborDepth")?E(this,"neighborDepth"):null},set:function(a){this.h.neighborDepth=a}}});
|
|
var Bf=function(a){a=void 0===a?{}:a;this.h={};this.h.endZoom=null==a.df?null:a.df;this.h.maxZoom=null==a.maxZoom?null:a.maxZoom;this.h.scale=null==a.scale?null:a.scale;this.h.startZoom=null==a.kg?null:a.kg;this.h.minZoom=null==a.minZoom?null:a.minZoom;this.h.skipEmpty=null==a.ig?null:a.ig;this.h.skipEmptyTiles=null==a.Ai?null:a.Ai;this.h.mapsApiKey=null==a.Gf?null:a.Gf;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.tileDimensions=null==a.ab?null:a.ab;this.h.stride=null==a.lg?null:
|
|
a.lg;this.h.zoomSubset=null==a.Dg?null:a.Dg};p(Bf,C);Bf.prototype.i=function(){return{keys:"dimensions endZoom mapsApiKey maxZoom minZoom scale skipEmpty skipEmptyTiles startZoom stride tileDimensions zoomSubset".split(" "),o:{dimensions:Zf,tileDimensions:Zf,zoomSubset:Mg}}};
|
|
k.Object.defineProperties(Bf.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensions")?E(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},df:{configurable:!0,enumerable:!0,get:function(){return F(this,"endZoom")?E(this,"endZoom"):null},set:function(a){this.h.endZoom=a}},Gf:{configurable:!0,enumerable:!0,get:function(){return F(this,"mapsApiKey")?E(this,"mapsApiKey"):null},set:function(a){this.h.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"maxZoom")?E(this,"maxZoom"):null},set:function(a){this.h.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return F(this,"minZoom")?E(this,"minZoom"):null},set:function(a){this.h.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return F(this,"scale")?E(this,"scale"):null},set:function(a){this.h.scale=a}},ig:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmpty")?E(this,"skipEmpty"):null},set:function(a){this.h.skipEmpty=
|
|
a}},Ai:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyTiles")?E(this,"skipEmptyTiles"):null},set:function(a){this.h.skipEmptyTiles=a}},kg:{configurable:!0,enumerable:!0,get:function(){return F(this,"startZoom")?E(this,"startZoom"):null},set:function(a){this.h.startZoom=a}},lg:{configurable:!0,enumerable:!0,get:function(){return F(this,"stride")?E(this,"stride"):null},set:function(a){this.h.stride=a}},ab:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?
|
|
E(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},Dg:{configurable:!0,enumerable:!0,get:function(){return F(this,"zoomSubset")?E(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});
|
|
var jg=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.Fi?null:a.Fi;this.h.subdatasetSuffix=null==a.Gi?null:a.Gi};p(jg,C);jg.prototype.i=function(){return{M:{sources:lg},H:{dataType:De},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
k.Object.defineProperties(jg.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?E(this,"crs"):null},set:function(a){this.h.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?E(this,"dataType"):null},set:function(a){this.h.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?
|
|
E(this,"sources"):null},set:function(a){this.h.sources=a}},Fi:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetPrefix")?E(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},Gi:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetSuffix")?E(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
|
|
var hg=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.tilesetId=null==a.Dc?null:a.Dc;this.h.tilesetBandIndex=null==a.Ni?null:a.Ni;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};p(hg,C);hg.prototype.i=function(){return{H:{pyramidingPolicy:Ce},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],o:{missingData:eg}}};
|
|
k.Object.defineProperties(hg.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?E(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Ni:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tilesetBandIndex")?E(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},Dc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?E(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var ig=function(a){a=void 0===a?{}:a;this.h={};this.h.tilesetId=null==a.Dc?null:a.Dc;this.h.bandIds=null==a.ca?null:a.ca};p(ig,C);ig.prototype.i=function(){return{keys:["bandIds","tilesetId"]}};
|
|
k.Object.defineProperties(ig.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Dc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?E(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var qf=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};p(qf,C);
|
|
qf.prototype.i=function(){return{M:{sources:Ng},keys:["pathPrefix","sources"]}};k.Object.defineProperties(qf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathPrefix")?E(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?E(this,"sources"):null},set:function(a){this.h.sources=a}}});
|
|
var rf=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};p(rf,C);rf.prototype.i=function(){return{M:{sources:Ng},keys:["pathPrefix","sources"]}};
|
|
k.Object.defineProperties(rf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathPrefix")?E(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?E(this,"sources"):null},set:function(a){this.h.sources=a}}});var Ng=function(a){a=void 0===a?{}:a;this.h={};this.h.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.h.headerSizeBytes=null==a.Dh?null:a.Dh};p(Ng,C);
|
|
Ng.prototype.i=function(){return{keys:["headerSizeBytes","pathSuffix"]}};k.Object.defineProperties(Ng.prototype,{Dh:{configurable:!0,enumerable:!0,get:function(){return F(this,"headerSizeBytes")?E(this,"headerSizeBytes"):null},set:function(a){this.h.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathSuffix")?E(this,"pathSuffix"):null},set:function(a){this.h.pathSuffix=a}}});
|
|
var cg=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.vh?null:a.vh;this.h.firstTileIndex=null==a.xh?null:a.xh;this.h.tilesPerFile=null==a.Mi?null:a.Mi};p(cg,C);cg.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
k.Object.defineProperties(cg.prototype,{vh:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileIndexes")?E(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},xh:{configurable:!0,enumerable:!0,get:function(){return F(this,"firstTileIndex")?E(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},Mi:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesPerFile")?E(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
|
|
var Og=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Qb?null:a.Qb;this.h.updateMask=null==a.updateMask?null:a.updateMask};p(Og,C);Og.prototype.i=function(){return{keys:["asset","updateMask"],o:{asset:kf}}};
|
|
k.Object.defineProperties(Og.prototype,{Qb:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?E(this,"asset"):null},set:function(a){this.h.asset=a}},updateMask:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?E(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});
|
|
var Ke=function(a){a=void 0===a?{}:a;this.h={};this.h.constantValue=null==a.jb?null:a.jb;this.h.integerValue=null==a.Xb?null:a.Xb;this.h.bytesValue=null==a.rb?null:a.rb;this.h.arrayValue=null==a.Ha?null:a.Ha;this.h.dictionaryValue=null==a.Ia?null:a.Ia;this.h.functionDefinitionValue=null==a.Wa?null:a.Wa;this.h.functionInvocationValue=null==a.Aa?null:a.Aa;this.h.argumentReference=null==a.Pb?null:a.Pb;this.h.valueReference=null==a.Qa?null:a.Qa};p(Ke,C);
|
|
Ke.prototype.i=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),o:{arrayValue:Je,dictionaryValue:gf,functionDefinitionValue:Vf,functionInvocationValue:Wf}}};
|
|
k.Object.defineProperties(Ke.prototype,{Pb:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentReference")?E(this,"argumentReference"):null},set:function(a){this.h.argumentReference=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"arrayValue")?E(this,"arrayValue"):null},set:function(a){this.h.arrayValue=a}},rb:{configurable:!0,enumerable:!0,get:function(){return F(this,"bytesValue")?E(this,"bytesValue"):null},set:function(a){this.h.bytesValue=a}},jb:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"constantValue")?E(this,"constantValue"):null},set:function(a){this.h.constantValue=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"dictionaryValue")?E(this,"dictionaryValue"):null},set:function(a){this.h.dictionaryValue=a}},Wa:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionDefinitionValue")?E(this,"functionDefinitionValue"):null},set:function(a){this.h.functionDefinitionValue=a}},Aa:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"functionInvocationValue")?E(this,"functionInvocationValue"):null},set:function(a){this.h.functionInvocationValue=a}},Xb:{configurable:!0,enumerable:!0,get:function(){return F(this,"integerValue")?E(this,"integerValue"):null},set:function(a){this.h.integerValue=a}},Qa:{configurable:!0,enumerable:!0,get:function(){return F(this,"valueReference")?E(this,"valueReference"):null},set:function(a){this.h.valueReference=a}}});
|
|
var If=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.na?null:a.na;this.h.cloudStorageDestination=null==a.ka?null:a.ka;this.h.gcsDestination=null==a.tb?null:a.tb;this.h.fileFormat=null==a.F?null:a.F};p(If,C);If.prototype.i=function(){return{H:{fileFormat:Ee},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],o:{cloudStorageDestination:Xe,driveDestination:jf,gcsDestination:Xf}}};
|
|
k.Object.defineProperties(If.prototype,{ka:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},na:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},tb:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?E(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}}});var Jf=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};p(Jf,C);Jf.prototype.i=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
k.Object.defineProperties(Jf.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return F(this,"framesPerSecond")?E(this,"framesPerSecond"):null},set:function(a){this.h.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxFrames")?E(this,"maxFrames"):null},set:function(a){this.h.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixelsPerFrame")?E(this,"maxPixelsPerFrame"):null},set:function(a){this.h.maxPixelsPerFrame=
|
|
a}}});var Pg=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.Ra?null:a.Ra;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.grid?null:a.grid};p(Pg,C);Pg.prototype.i=function(){return{H:{fileFormat:Fe},keys:["expression","fileFormat","grid","name","videoOptions"],o:{expression:$e,grid:zf,videoOptions:Jf}}};
|
|
k.Object.defineProperties(Pg.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},grid:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},Ra:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var tf=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Tf?null:a.Tf;this.h.paletteColors=null==a.bd?null:a.bd;this.h.gamma=null==a.gamma?null:a.gamma;this.h.opacity=null==a.opacity?null:a.opacity};p(tf,C);
|
|
tf.prototype.i=function(){return{M:{ranges:hf},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
k.Object.defineProperties(tf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return F(this,"gamma")?E(this,"gamma"):null},set:function(a){this.h.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return F(this,"opacity")?E(this,"opacity"):null},set:function(a){this.h.opacity=a}},bd:{configurable:!0,enumerable:!0,get:function(){return F(this,"paletteColors")?E(this,"paletteColors"):null},set:function(a){this.h.paletteColors=a}},Tf:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"ranges")?E(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var Mg=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};p(Mg,C);Mg.prototype.i=function(){return{keys:["end","max","min","start"]}};
|
|
k.Object.defineProperties(Mg.prototype,{end:{configurable:!0,enumerable:!0,get:function(){return F(this,"end")?E(this,"end"):null},set:function(a){this.h.end=a}},max:{configurable:!0,enumerable:!0,get:function(){return F(this,"max")?E(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return F(this,"min")?E(this,"min"):null},set:function(a){this.h.min=a}},start:{configurable:!0,enumerable:!0,get:function(){return F(this,"start")?E(this,"start"):null},
|
|
set:function(a){this.h.start=a}}});
|
|
var Qd={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",billingAccount:"billingAccount",callback:"callback",endTime:"endTime",fields:"fields",filter:"filter",key:"key",oauth_token:"oauth_token",overwrite:"overwrite",pageSize:"pageSize",pageToken:"pageToken",parent:"parent",prettyPrint:"prettyPrint",quotaUser:"quotaUser",region:"region",startTime:"startTime",updateMask:"updateMask",uploadType:"uploadType",upload_protocol:"upload_protocol",view:"view",workloadTag:"workloadTag"},
|
|
Qg=function(a){this.m="v1alpha";this.j=new Td(a,null)};Qg.prototype.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",u:G(b,c),G:pg})};var Rg=function(a){this.m="v1alpha";this.j=new Td(a,null)};
|
|
Rg.prototype.getCapabilities=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",u:G(b,c),G:Te})};Rg.prototype.Rd=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:G(b,c),G:qg})};
|
|
var Sg=function(a){this.m="v1alpha";this.j=new Td(a,null)};h=Sg.prototype;h.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",u:G(c,d),G:kf})};
|
|
h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:null,B:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,u:G(b,c),G:uf})};h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,u:G(b,c),G:kf})};
|
|
h.link=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.link",path:"/"+this.m+"/"+a+":link",u:G(c,d),G:kf})};h.Rd=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:G(b,c),G:qg})};
|
|
h.move=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.move",path:"/"+this.m+"/"+a+":move",u:G(c,d),G:kf})};var Tg=function(a){this.m="v1alpha";this.j=new Td(a,null)};
|
|
Tg.prototype.Ma=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.classifier.export",path:"/"+this.m+"/"+a+"/classifier:export",u:G(c,d),G:tg})};var Ug=function(a){this.m="v1alpha";this.j=new Td(a,null)};
|
|
Ug.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.featureView.create",path:"/"+this.m+"/"+a+"/featureView",u:G(c,d),G:Mf})};var Vg=function(a){this.m="v1alpha";this.j=new Td(a,null)};
|
|
Vg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.m+"/"+a+"/filmstripThumbnails",u:G(c,d),G:Uf})};var Wg=function(a){this.m="v1alpha";this.j=new Td(a,null)};
|
|
Wg.prototype.Ma=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.image.export",path:"/"+this.m+"/"+a+"/image:export",u:G(c,d),G:tg})};Wg.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.image.import",path:"/"+this.m+"/"+a+"/image:import",u:G(c,d),G:tg})};
|
|
var Xg=function(a){this.m="v1alpha";this.j=new Td(a,null)};Xg.prototype.Ma=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.map.export",path:"/"+this.m+"/"+a+"/map:export",u:G(c,d),G:tg})};var Yg=function(a){this.m="v1alpha";this.j=new Td(a,null)};
|
|
Yg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.maps.create",path:"/"+this.m+"/"+a+"/maps",u:G(c,d),G:sf})};var Zg=function(a){this.m="v1alpha";this.j=new Td(a,null)};h=Zg.prototype;
|
|
h.cancel=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.cancel",path:"/"+this.m+"/"+a+":cancel",u:G(c,d),G:uf})};h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return H(this.j,{body:null,B:"DELETE",D:"earthengine.projects.operations.delete",path:"/"+this.m+"/"+a,u:G(b,c),G:uf})};
|
|
h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.get",path:"/"+this.m+"/"+a,u:G(b,c),G:tg})};h.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.list",path:"/"+this.m+"/"+a+"/operations",u:G(b,c),G:sg})};
|
|
h.wait=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.wait",path:"/"+this.m+"/"+a+":wait",u:G(c,d),G:tg})};var $g=function(a){this.m="v1alpha";this.j=new Td(a,null)};
|
|
$g.prototype.Ma=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.table.export",path:"/"+this.m+"/"+a+"/table:export",u:G(c,d),G:tg})};$g.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.table.import",path:"/"+this.m+"/"+a+"/table:import",u:G(c,d),G:tg})};
|
|
var ah=function(a){this.m="v1alpha";this.j=new Td(a,null)};ah.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.tables.create",path:"/"+this.m+"/"+a+"/tables",u:G(c,d),G:Jg})};var bh=function(a){this.m="v1alpha";this.j=new Td(a,null)};
|
|
bh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.thumbnails.create",path:"/"+this.m+"/"+a+"/thumbnails",u:G(c,d),G:Lg})};
|
|
var ch=function(a){this.m="v1alpha";this.j=new Td(a,null)},dh=function(a,b,c){var d=void 0===d?{}:d;var e=void 0===e?{}:e;a.j.C(b,RegExp("^projects/[^/]+$"));return H(a.j,{body:c,B:"POST",D:"earthengine.projects.value.compute",path:"/"+a.m+"/"+b+"/value:compute",u:G(d,e),G:af})},eh=function(a){this.m="v1alpha";this.j=new Td(a,null)};
|
|
eh.prototype.Ma=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.video.export",path:"/"+this.m+"/"+a+"/video:export",u:G(c,d),G:tg})};var fh=function(a){this.m="v1alpha";this.j=new Td(a,null)};
|
|
fh.prototype.Ma=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",u:G(c,d),G:tg})};var gh=function(a){this.m="v1alpha";this.j=new Td(a,null)};
|
|
gh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",u:G(c,d),G:Pg})};var hh=function(){};hh.prototype.send=function(a,b){Pd(a);return(void 0).then(function(c){return b?Tc(b,c):c})};var ih=function(a,b){this.el=100;this.Tk=a;this.rl=b;this.Ud=0;this.qa=null};ih.prototype.get=function(){if(0<this.Ud){this.Ud--;var a=this.qa;this.qa=a.next;a.next=null}else a=this.Tk();return a};ih.prototype.put=function(a){this.rl(a);this.Ud<this.el&&(this.Ud++,a.next=this.qa,this.qa=a)};var kh=function(a,b){Cb(b,function(c,d){c&&"object"==typeof c&&c.yf&&(c=c.tf());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:jh.hasOwnProperty(d)?a.setAttribute(jh[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},jh={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"},mh=function(a,b,c){return lh(document,arguments)},lh=function(a,b){var c=b[1],d=nh(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):kh(d,c));2<b.length&&oh(a,d,b,2);return d},oh=function(a,b,c,d){function e(l){l&&b.appendChild("string"===typeof l?a.createTextNode(l):l)}for(;d<c.length;d++){var g=c[d];if(!ua(g)||t(g)&&0<g.nodeType)e(g);else{a:{if(g&&"number"==typeof g.length){if(t(g)){var f="function"==typeof g.item||"string"==typeof g.item;
|
|
break a}if("function"===typeof g){f="function"==typeof g.item;break a}}f=!1}Ra(f?$a(g):g,e)}}},nh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},ph=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},qh=function(a){z(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},rh=function(a){this.Bd=a||r.document||document};h=rh.prototype;
|
|
h.getElementsByTagName=function(a,b){return(b||this.Bd).getElementsByTagName(String(a))};h.Sk=function(a,b,c){return lh(this.Bd,arguments)};h.createElement=function(a){return nh(this.Bd,a)};h.createTextNode=function(a){return this.Bd.createTextNode(String(a))};h.appendChild=function(a,b){z(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};h.append=function(a,b){oh(qh(a),a,arguments,1)};h.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};
|
|
h.removeNode=ph;h.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 sh,th=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!pb("Presto")&&(a=function(){var e=nh(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var f="callImmediate"+Math.random(),l="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=u(function(m){if(("*"==l||m.origin==l)&&m.data==f)this.port1.onmessage()},
|
|
this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(f,l)}}});if("undefined"!==typeof a&&!qb()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Vg;c.Vg=null;e()}};return function(e){d.next={Vg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};function uh(a){r.setTimeout(function(){throw a;},0)};var vh=function(){this.re=this.lc=null};vh.prototype.add=function(a,b){var c=wh.get();c.set(a,b);this.re?this.re.next=c:(z(!this.lc),this.lc=c);this.re=c};vh.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 wh=new ih(function(){return new xh},function(a){return a.reset()}),xh=function(){this.next=this.scope=this.mf=null};xh.prototype.set=function(a,b){this.mf=a;this.scope=b;this.next=null};
|
|
xh.prototype.reset=function(){this.next=this.scope=this.mf=null};var yh=r.console&&r.console.createTask?r.console.createTask.bind(r.console):void 0,zh=yh?Symbol("consoleTask"):void 0;function Ah(a,b){function c(){var e=pa.apply(0,arguments),g=this;return d.run(function(){return a.call.apply(a,[g].concat(fa(e)))})}b=void 0===b?"anonymous":b;if(!yh||a[Ja(zh)])return a;var d=yh(a.name||b);c[Ja(zh)]=d;return c};var Bh,Ch=!1,Dh=new vh,Fh=function(a,b){Bh||Eh();Ch||(Bh(),Ch=!0);a=Ah(a,"goog.async.run");Dh.add(a,b)},Eh=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);Bh=function(){a.then(Gh)}}else Bh=function(){var b=Gh;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&(gb&&nb&&0<nb.brands.length||!pb("Edge"))&&r.Window.prototype.setImmediate==r.setImmediate?(sh||(sh=th()),sh(b)):r.setImmediate(b)}},Gh=function(){for(var a;a=Dh.remove();){try{a.mf.call(a.scope)}catch(b){uh(b)}wh.put(a)}Ch=
|
|
!1};var Hh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Kh=function(a){this.S=0;this.ja=void 0;this.qc=this.ib=this.X=null;this.Kd=this.gf=!1;if(a!=mc)try{var b=this;a.call(void 0,function(c){Ih(b,2,c)},function(c){if(!(c instanceof Jh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Ih(b,3,c)})}catch(c){Ih(this,3,c)}},Lh=function(){this.next=this.context=this.xc=this.bc=this.Rb=null;this.rd=!1};Lh.prototype.reset=function(){this.context=this.xc=this.bc=this.Rb=null;this.rd=!1};
|
|
var Mh=new ih(function(){return new Lh},function(a){a.reset()}),Nh=function(a,b,c){var d=Mh.get();d.bc=a;d.xc=b;d.context=c;return d};Kh.prototype.then=function(a,b,c){null!=a&&Na(a,"opt_onFulfilled should be a function.");null!=b&&Na(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Oh(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Kh.prototype.$goog_Thenable=!0;
|
|
Kh.prototype.zl=function(a,b){return Oh(this,null,a,b)};Kh.prototype.catch=Kh.prototype.zl;Kh.prototype.cancel=function(a){if(0==this.S){var b=new Jh(a);Fh(function(){Ph(this,b)},this)}};
|
|
var Ph=function(a,b){if(0==a.S)if(a.X){var c=a.X;if(c.ib){for(var d=0,e=null,g=null,f=c.ib;f&&(f.rd||(d++,f.Rb==a&&(e=f),!(e&&1<d)));f=f.next)e||(g=f);e&&(0==c.S&&1==d?Ph(c,b):(g?(d=g,z(c.ib),z(null!=d),d.next==c.qc&&(c.qc=d),d.next=d.next.next):Qh(c),Rh(c,e,3,b)))}a.X=null}else Ih(a,3,b)},Th=function(a,b){a.ib||2!=a.S&&3!=a.S||Sh(a);z(null!=b.bc);a.qc?a.qc.next=b:a.ib=b;a.qc=b},Oh=function(a,b,c,d){b&&(b=Ah(b,"goog.Promise.then"));c&&(c=Ah(c,"goog.Promise.then"));var e=Nh(null,null,null);e.Rb=new Kh(function(g,
|
|
f){e.bc=b?function(l){try{var m=b.call(d,l);g(m)}catch(q){f(q)}}:g;e.xc=c?function(l){try{var m=c.call(d,l);void 0===m&&l instanceof Jh?f(l):g(m)}catch(q){f(q)}}:f});e.Rb.X=a;Th(a,e);return e.Rb};Kh.prototype.Bl=function(a){z(1==this.S);this.S=0;Ih(this,2,a)};Kh.prototype.Cl=function(a){z(1==this.S);this.S=0;Ih(this,3,a)};
|
|
var Ih=function(a,b,c){if(0==a.S){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.S=1;a:{var d=c,e=a.Bl,g=a.Cl;if(d instanceof Kh){null!=e&&Na(e,"opt_onFulfilled should be a function.");null!=g&&Na(g,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Th(d,Nh(e||mc,g||null,a));var f=!0}else if(Hh(d))d.then(e,g,a),f=!0;else{if(t(d))try{var l=d.then;if("function"===typeof l){Uh(d,l,e,g,a);f=!0;break a}}catch(m){g.call(a,m);
|
|
f=!0;break a}f=!1}}f||(a.ja=c,a.S=b,a.X=null,Sh(a),3!=b||c instanceof Jh||Vh(a,c))}},Uh=function(a,b,c,d,e){var g=!1,f=function(m){g||(g=!0,c.call(e,m))},l=function(m){g||(g=!0,d.call(e,m))};try{b.call(a,f,l)}catch(m){l(m)}},Sh=function(a){a.gf||(a.gf=!0,Fh(a.Wk,a))},Qh=function(a){var b=null;a.ib&&(b=a.ib,a.ib=b.next,b.next=null);a.ib||(a.qc=null);null!=b&&z(null!=b.bc);return b};Kh.prototype.Wk=function(){for(var a;a=Qh(this);)Rh(this,a,this.S,this.ja);this.gf=!1};
|
|
var Rh=function(a,b,c,d){if(3==c&&b.xc&&!b.rd)for(;a&&a.Kd;a=a.X)a.Kd=!1;if(b.Rb)b.Rb.X=null,Wh(b,c,d);else try{b.rd?b.bc.call(b.context):Wh(b,c,d)}catch(e){Xh.call(null,e)}Mh.put(b)},Wh=function(a,b,c){2==b?a.bc.call(a.context,c):a.xc&&a.xc.call(a.context,c)},Vh=function(a,b){a.Kd=!0;Fh(function(){a.Kd&&Xh.call(null,b)})},Xh=uh,Jh=function(a){Fa.call(this,a)};x(Jh,Fa);Jh.prototype.name="cancel";var Yh=function(a,b,c){if("function"===typeof a)c&&(a=u(a,c));else if(a&&"function"==typeof a.handleEvent)a=u(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:r.setTimeout(a,b||0)};var Zh=function(a,b,c){y.call(this);this.fl=null!=c?a.bind(c):a;this.cl=b;this.sd=null;this.Cc=!1;this.cd=0;this.ic=null};p(Zh,y);h=Zh.prototype;h.lf=function(a){this.sd=arguments;this.ic||this.cd?this.Cc=!0:$h(this)};h.stop=function(){this.ic&&(r.clearTimeout(this.ic),this.ic=null,this.Cc=!1,this.sd=null)};h.pause=function(){this.cd++};h.resume=function(){this.cd--;this.cd||!this.Cc||this.ic||(this.Cc=!1,$h(this))};h.J=function(){y.prototype.J.call(this);this.stop()};
|
|
var $h=function(a){a.ic=Yh(function(){a.ic=null;a.Cc&&!a.cd&&(a.Cc=!1,$h(a))},a.cl);var b=a.sd;a.sd=null;a.fl.apply(null,b)};function ai(){};/*
|
|
|
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
var bi=function(a,b){this.ce=[];this.ci=a;this.nh=b||null;this.Sc=this.tc=!1;this.ja=void 0;this.hg=this.Pg=this.Qe=!1;this.ne=0;this.X=null;this.Re=0};x(bi,ai);bi.prototype.cancel=function(a){if(this.tc)this.ja instanceof bi&&this.ja.cancel();else{if(this.X){var b=this.X;delete this.X;a?b.cancel(a):(b.Re--,0>=b.Re&&b.cancel())}this.ci?this.ci.call(this.nh,this):this.hg=!0;this.tc||ci(this,new di(this))}};bi.prototype.ah=function(a,b){this.Qe=!1;ei(this,a,b)};
|
|
var ei=function(a,b,c){a.tc=!0;a.ja=c;a.Sc=!b;fi(a)},hi=function(a){if(a.tc){if(!a.hg)throw new gi(a);a.hg=!1}};bi.prototype.callback=function(a){hi(this);ii(a);ei(this,!0,a)};var ci=function(a,b){hi(a);ii(b);ei(a,!1,b)},ii=function(a){z(!(a instanceof bi),"An execution sequence may not be initiated with a blocking Deferred.")},ji=function(a,b,c,d){z(!a.Pg,"Blocking Deferreds can not be re-used");a.ce.push([b,c,d]);a.tc&&fi(a)};
|
|
bi.prototype.then=function(a,b,c){var d,e,g=new Kh(function(f,l){e=f;d=l});ji(this,e,function(f){f instanceof di?g.cancel():d(f);return ki},this);return g.then(a,b,c)};bi.prototype.$goog_Thenable=!0;
|
|
var li=function(a){return Ua(a.ce,function(b){return"function"===typeof b[1]})},ki={},fi=function(a){if(a.ne&&a.tc&&li(a)){var b=a.ne,c=mi[b];c&&(r.clearTimeout(c.fa),delete mi[b]);a.ne=0}a.X&&(a.X.Re--,delete a.X);b=a.ja;for(var d=c=!1;a.ce.length&&!a.Qe;){var e=a.ce.shift(),g=e[0],f=e[1];e=e[2];if(g=a.Sc?f:g)try{var l=g.call(e||a.nh,b);l===ki&&(l=void 0);void 0!==l&&(a.Sc=a.Sc&&(l==b||l instanceof Error),a.ja=b=l);if(Hh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Qe=!0}catch(m){b=
|
|
m,a.Sc=!0,li(a)||(c=!0)}}a.ja=b;d&&(l=u(a.ah,a,!0),d=u(a.ah,a,!1),b instanceof bi?(ji(b,l,d),b.Pg=!0):b.then(l,d));c&&(b=new ni(b),mi[b.fa]=b,a.ne=b.fa)},gi=function(){Fa.call(this)};x(gi,Fa);gi.prototype.message="Deferred has already fired";gi.prototype.name="AlreadyCalledError";var di=function(){Fa.call(this)};x(di,Fa);di.prototype.message="Deferred was canceled";di.prototype.name="CanceledError";var ni=function(a){this.fa=r.setTimeout(u(this.Al,this),0);this.Ed=a};
|
|
ni.prototype.Al=function(){z(mi[this.fa],"Cannot throw an error that is not scheduled.");delete mi[this.fa];throw this.Ed;};var mi={};var si=function(a){var b={},c=b.document||document,d=hd(a).toString(),e=(new rh(c)).createElement("SCRIPT"),g={wi:e,ld:void 0},f=new bi(oi,g),l=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(l=window.setTimeout(function(){pi(e,!0);ci(f,new qi(1,"Timeout reached for loading script "+d))},m),g.ld=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(pi(e,b.Jl||!1,l),f.callback(null))};e.onerror=function(){pi(e,!0,l);ci(f,new qi(0,"Error while loading script "+
|
|
d))};g=b.attributes||{};Rb(g,{type:"text/javascript",charset:"UTF-8"});kh(e,g);td(e,a);ri(c).appendChild(e)},ri=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},oi=function(){if(this&&this.wi){var a=this.wi;a&&"SCRIPT"==a.tagName&&pi(a,!0,this.ld)}},pi=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){ph(a)},0)},qi=function(a,b){var c=
|
|
"Jsloader error (code #"+a+")";b&&(c+=": "+b);Fa.call(this,c);this.code=a};x(qi,Fa);var ti=function(){this.ae=void 0};ti.prototype.xa=function(a){var b=[];ui(this,a,b);return b.join("")};
|
|
var ui=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="",g=0;g<b;g++)c.push(e),e=d[g],ui(a,a.ae?a.ae.call(d,String(g),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(g),vi(d,c),c.push(":"),ui(a,a.ae?a.ae.call(b,d,e):e,c),g=","));c.push("}");
|
|
return}}switch(typeof b){case "string":vi(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);}}},wi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},xi=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,vi=function(a,b){b.push('"',a.replace(xi,function(c){var d=wi[c];
|
|
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),wi[c]=d);return d}),'"')};var yi=function(a,b){this.name=a;this.value=b};yi.prototype.toString=function(){return this.name};var zi=new yi("OFF",Infinity),Ai=new yi("SEVERE",1E3),Bi=new yi("CONFIG",700),Ci=new yi("FINE",500),Di=function(){this.zd=0;this.clear()},Ei;Di.prototype.clear=function(){this.wd=Array(this.zd);this.jh=-1;this.Jh=!1};var Fi=function(a,b,c){this.reset(a||zi,b,c,void 0,void 0)};Fi.prototype.reset=function(){};
|
|
var Gi=function(a,b){this.level=null;this.al=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.hl={rf:function(){return a}}},Hi=function(a){if(a.level)return a.level;if(a.parent)return Hi(a.parent);Ka("Root logger has no level set.");return zi},Ii=function(a,b){for(;a;)a.al.forEach(function(c){c(b)}),a=a.parent},Ji=function(){this.entries={};var a=new Gi("");a.level=Bi;this.entries[""]=a},Ki,Li=function(a,b){var c=a.entries[b];if(c)return c;c=Li(a,b.slice(0,Math.max(b.lastIndexOf("."),
|
|
0)));var d=new Gi(b,c);a.entries[b]=d;c.children.push(d);return d},Mi=function(){Ki||(Ki=new Ji);return Ki},Ni=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?Hi(Li(Mi(),a.rf())):zi;d=d>=e.value}if(d){b=b||zi;d=Li(Mi(),a.rf());"function"===typeof c&&(c=c());Ei||(Ei=new Di);e=Ei;a=a.rf();if(0<e.zd){var g=(e.jh+1)%e.zd;e.jh=g;e.Jh?(e=e.wd[g],e.reset(b,c,a),a=e):(e.Jh=g==e.zd-1,a=e.wd[g]=new Fi(b,c,a))}else a=new Fi(b,c,a);Ii(d,a)}},Oi=function(a,b){a&&Ni(a,Ai,b)},Pi=function(a,b){a&&Ni(a,
|
|
Ci,b)};var Qi=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Ri=function(){};Ri.prototype.Tg=null;var Ti=function(a){var b;(b=a.Tg)||(b={},Si(a)&&(b[0]=!0,b[1]=!0),b=a.Tg=b);return b};var Ui,Vi=function(){};x(Vi,Ri);var Wi=function(a){return(a=Si(a))?new ActiveXObject(a):new XMLHttpRequest},Si=function(a){if(!a.Fh&&"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.Fh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Fh};Ui=new Vi;var Xi=function(a){A.call(this);this.headers=new Map;this.te=a||null;this.Ga=!1;this.se=this.s=null;this.Wc=this.Nh=this.Qd="";this.Wb=this.zf=this.Od=this.ef=!1;this.Ec=0;this.je=null;this.Bc="";this.pe=this.pl=this.Ui=!1;this.zg=null};x(Xi,A);Xi.prototype.ia=Li(Mi(),"goog.net.XhrIo").hl;var Yi=/^https?$/i,Zi=["POST","PUT"],$i=[];Xi.prototype.Rk=function(){this.Ta();Ya($i,this)};Xi.prototype.setTrustToken=function(a){this.zg=a};
|
|
Xi.prototype.send=function(a,b,c,d){if(this.s)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Qd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Qd=a;this.Wc="";this.Nh=b;this.ef=!1;this.Ga=!0;this.s=this.te?Wi(this.te):Wi(Ui);this.se=this.te?Ti(this.te):Ti(Ui);this.s.onreadystatechange=u(this.fi,this);this.pl&&"onprogress"in this.s&&(this.s.onprogress=u(function(f){this.ei(f,!0)},this),this.s.upload&&(this.s.upload.onprogress=u(this.ei,this)));try{Pi(this.ia,aj(this,"Opening Xhr")),
|
|
this.zf=!0,this.s.open(b,String(a),!0),this.zf=!1}catch(f){Pi(this.ia,aj(this,"Error opening Xhr: "+f.message));this.Ed(5,f);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=n(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(f){return"content-type"==
|
|
f.toLowerCase()});e=r.FormData&&a instanceof r.FormData;!Xa(Zi,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=n(c);for(d=b.next();!d.done;d=b.next())c=n(d.value),d=c.next().value,c=c.next().value,this.s.setRequestHeader(d,c);this.Bc&&(this.s.responseType=this.Bc);"withCredentials"in this.s&&this.s.withCredentials!==this.Ui&&(this.s.withCredentials=this.Ui);if("setTrustToken"in this.s&&this.zg)try{this.s.setTrustToken(this.zg)}catch(f){Pi(this.ia,aj(this,"Error SetTrustToken: "+
|
|
f.message))}try{bj(this),0<this.Ec&&(this.pe=cj(this.s),Pi(this.ia,aj(this,"Will abort after "+this.Ec+"ms if incomplete, xhr2 "+this.pe)),this.pe?(this.s.timeout=this.Ec,this.s.ontimeout=u(this.ld,this)):this.je=Yh(this.ld,this.Ec,this)),Pi(this.ia,aj(this,"Sending request")),this.Od=!0,this.s.send(a),this.Od=!1}catch(f){Pi(this.ia,aj(this,"Send error: "+f.message)),this.Ed(5,f)}};var cj=function(a){return sb&&"number"===typeof a.timeout&&void 0!==a.ontimeout};
|
|
Xi.prototype.ld=function(){"undefined"!=typeof sa&&this.s&&(this.Wc="Timed out after "+this.Ec+"ms, aborting",Pi(this.ia,aj(this,this.Wc)),this.dispatchEvent("timeout"),this.abort(8))};Xi.prototype.Ed=function(a,b){this.Ga=!1;this.s&&(this.Wb=!0,this.s.abort(),this.Wb=!1);this.Wc=b;dj(this);ej(this)};var dj=function(a){a.ef||(a.ef=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
Xi.prototype.abort=function(){this.s&&this.Ga&&(Pi(this.ia,aj(this,"Aborting")),this.Ga=!1,this.Wb=!0,this.s.abort(),this.Wb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ej(this))};Xi.prototype.J=function(){this.s&&(this.Ga&&(this.Ga=!1,this.Wb=!0,this.s.abort(),this.Wb=!1),ej(this,!0));Xi.L.J.call(this)};Xi.prototype.fi=function(){this.Ua||(this.zf||this.Od||this.Wb?fj(this):this.ol())};Xi.prototype.ol=function(){fj(this)};
|
|
var fj=function(a){if(a.Ga&&"undefined"!=typeof sa)if(a.se[1]&&4==a.wb()&&2==a.getStatus())Pi(a.ia,aj(a,"Local request error detected and ignored"));else if(a.Od&&4==a.wb())Yh(a.fi,0,a);else if(a.dispatchEvent("readystatechange"),4==a.wb()){Pi(a.ia,aj(a,"Request complete"));a.Ga=!1;try{var b=a.getStatus(),c;if(!(c=Qi(b))){var d;if(d=0===b){var e=String(a.Qd).match(wd)[1]||null;!e&&r.self&&r.self.location&&(e=r.self.location.protocol.slice(0,-1));d=!Yi.test(e?e.toLowerCase():"")}c=d}if(c)a.dispatchEvent("complete"),
|
|
a.dispatchEvent("success");else{try{var g=2<a.wb()?a.s.statusText:""}catch(f){Pi(a.ia,"Can not get status: "+f.message),g=""}a.Wc=g+" ["+a.getStatus()+"]";dj(a)}}finally{ej(a)}}};Xi.prototype.ei=function(a,b){z("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(gj(a,"progress"));this.dispatchEvent(gj(a,b?"downloadprogress":"uploadprogress"))};
|
|
var gj=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},ej=function(a,b){if(a.s){bj(a);var c=a.s,d=a.se[0]?function(){}:null;a.s=null;a.se=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){Oi(a.ia,"Problem encountered resetting onreadystatechange: "+e.message)}}},bj=function(a){a.s&&a.pe&&(a.s.ontimeout=null);a.je&&(r.clearTimeout(a.je),a.je=null)};Xi.prototype.isActive=function(){return!!this.s};
|
|
Xi.prototype.wb=function(){return this.s?this.s.readyState:0};Xi.prototype.getStatus=function(){try{return 2<this.wb()?this.s.status:-1}catch(a){return-1}};
|
|
var hj=function(a){try{if(!a.s)return null;if("response"in a.s)return a.s.response;switch(a.Bc){case "":case "text":return a.s.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.s)return a.s.mozResponseArrayBuffer}Oi(a.ia,"Response type "+a.Bc+" is not supported on this browser");return null}catch(b){return Pi(a.ia,"Can not get response: "+b.message),null}};Xi.prototype.getResponseHeader=function(a){if(this.s&&4==this.wb())return a=this.s.getResponseHeader(a),null===a?void 0:a};
|
|
Xi.prototype.getAllResponseHeaders=function(){return this.s&&2<=this.wb()?this.s.getAllResponseHeaders()||"":""};var ij=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=vd(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var g=b[e]||[];b[e]=g;g.push(d)}}return Eb(b,function(f){return f.join(", ")})},aj=function(a,b){return b+" ["+a.Nh+" "+a.Qd+" "+a.getStatus()+"]"};var jj,I=function(a,b){kj();this.callback=a;this.P=new lj(!a,b)};I.prototype.handle=function(a){var b=this;if(a instanceof Promise){if(this.callback){var c=function(d,e){try{return b.callback(d,e)}catch(g){setTimeout(function(){throw g;},0)}};a.then(c,function(d){return c(void 0,d)})}}else a.then(function(d){a=d});return a};var mj=function(){return"projects/"+jj};h=I.prototype;h.Hc=function(){return new Qg(this.P)};h.assets=function(){return new Sg(this.P)};h.Pa=function(){return new Zg(this.P)};
|
|
h.value=function(){return new ch(this.P)};h.maps=function(){return new Yg(this.P)};h.map=function(){return new Xg(this.P)};h.image=function(){return new Wg(this.P)};h.table=function(){return new $g(this.P)};h.video=function(){return new eh(this.P)};var lj=function(a,b){this.sync=a=void 0===a?!1:a;this.ti=null!=b?b:a?5:10};p(lj,hh);
|
|
lj.prototype.send=function(a,b){var c=this;Pd(a);var d=a.path||"",e=nj()+d,g=oj(a.u||{}),f=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=pj(e,g,void 0,a.B,f,this.ti);d=b?Tc(b,d):d;var l=function(m){return{then:function(q){return l(q(m))}}};return l(d)}return(new Promise(function(m,q){pj(e,g,function(v,B){B?q(B):m(v)},a.B,f,c.ti)})).then(function(m){return b?Tc(b,m):m})};var sj=function(a){I.call(this,a);this.P=new rj};p(sj,I);
|
|
sj.prototype.send=function(a,b){var c=this,d=nj()+"/batch",e=a.map(function(f){var l=n(f);f=l.next().value;l=n(l.next().value);var m=l.next().value;l.next();return"--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <"+f+">\r\n\r\n"+m+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",g=function(f){var l={};a.forEach(function(m){var q=n(m);m=q.next().value;q=n(q.next().value);q.next();q=q.next().value;null!=f[m]&&(l[m]=
|
|
Tc(q,f[m]))});return b?b(l):l};return this.callback?(pj(d,null,function(f,l){return c.callback(l?f:g(f),l)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):g(pj(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var rj=function(){};p(rj,hh);
|
|
rj.prototype.send=function(a,b){var c=[a.B+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=tj();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 uj=function(a,b,c){a=n(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"))}},nj=function(){var a=vj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},xj=function(a,b,c){var d=[];a&&(d=d.concat(wj));
|
|
b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var g=a[c++],f=t(g)?"o"+ya(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},Dj=function(a,b,c){yj&&zj&&yj({client_id:String(zj),immediate:!0,scope:Aj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Bj(function(){try{r.gapi.auth.setToken(d),Cj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Cj(a,
|
|
b,d)})},tj=function(){Ej&&0<=Date.now()-Ej&&Fj();return Gj},Fj=function(){Ej=Gj=null},kj=function(a,b,c,d){null!=a?vj=a:Hj||(vj="https://earthengine.googleapis.com/api");null!=b?Ij=b:Hj||(Ij="https://earthengine.googleapis.com");void 0!==c&&(Jj=c);jj=null!=d?d:jj||"earthengine-legacy";Hj=!0},pj=function(a,b,c,d,e,g){kj();var f=Kj,l="application/x-www-form-urlencoded";e&&(l="application/json",d&&d.startsWith("multipart")&&(l=d,d="POST"));d=d||"POST";l={"Content-Type":l};var m="0.1.347";"0.1.347"===
|
|
m&&(m="latest");l["x-goog-api-client"]="ee-js/"+m;m=tj();if(null!=m)l.Authorization=m;else if(c&&yj&&zj)return Dj(function(){Lj(f,function(){pj(a,b,c,d)})}),null;b=b?b.clone():new Ed;null!=Mj&&b.add("key",Mj);f&&(l["X-Earth-Engine-Computation-Profiling"]="1");jj&&"earthengine-legacy"!==jj&&(l["X-Goog-User-Project"]=jj);b=Nj(b,a);null!=Jj&&(l["X-XSRF-Token"]=Jj);null!=Oj&&(l["X-Earth-Engine-App-ID-Token"]=Oj);m=e||null;var q=b?b.toString():"";"POST"===d&&void 0===e?m=q:/^[\s\xa0]*$/.test(q)||(a+=-1!=
|
|
a.indexOf("?")?"&":"?",a+=q);e=a.startsWith("/")?vj+a:a;if(c)return Pj.push(Qj(e,c,d,m,l,g)),Rj.lf(),null;q=function(D,Q){this.setRequestHeader&&this.setRequestHeader(Q,D)};var v=0;for(g=null!=g?g:5;;){var B=Wi(Ui);B.open(d,e,!1);Cb(l,q,B);B.send(m);if(429!=B.status||v>g)break;v++}return Sj(B.status,function(D){try{return B.getResponseHeader(D)}catch(Q){return null}},B.responseText,f,void 0,e,d)},Qj=function(a,b,c,d,e,g){var f=0,l={url:a,method:c,content:d,headers:e},m=Kj,q=null!=g?g:10;l.callback=
|
|
function(v){v=v.target;if(429==v.getStatus()&&f<q)return f++,setTimeout(function(){Pj.push(l);Rj.lf()},Math.min(12E4,1E3*Math.pow(2,f))),null;var B=Sj,D=v.getStatus(),Q=u(v.getResponseHeader,v);try{var Y=v.s?v.s.responseText:""}catch(T){Pi(v.ia,"Can not get responseText: "+T.message),Y=""}return B(D,Q,Y,m,b,a,c)};return l},Lj=function(a,b){var c=Kj;try{Kj=a,b.call(void 0)}finally{Kj=c}},Sj=function(a,b,c,d,e,g,f){var l=d?b("X-Earth-Engine-Computation-Profile"):"";l&&d&&d(l);var m=function(Y){try{var T=
|
|
JSON.parse(Y);return t(T)&&"error"in T&&"message"in T.error?T.error.message:{parsed:T}}catch(Ib){return"Invalid JSON: "+Y}},q=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 "+f+" "+g},v;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=m(c),b.parsed){var B=b.parsed;void 0===B&&(v="Malformed response: "+
|
|
c)}else v=b;else if("multipart/mixed"===d){B={};var D=[];uj(b,c,function(Y,T,Ib){Ib=m(Ib);Ib.parsed&&(B[Y]=Ib.parsed);(T=(Ib.parsed?"":Ib)||q(T))&&D.push(Y+": "+T)});D.length&&(v=D.join("\n"))}else var Q="Response was unexpectedly not JSON, but "+d;v=v||q(a)||Q;if(e)return e(B,v),null;if(!v)return B;throw Error(v);},Bj=function(a){var b=function(){r.gapi.config.update("client/cors",!0);yj||(yj=r.gapi.auth.authorize);a()};if(t(r.gapi)&&t(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()};si(md({onload:c}))}},Cj=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(Dj,.9*c);void 0!==d.unref&&d.unref();Ej=Date.now()+c}Gj=b;a&&a()}else b&&b(c.error||"Unknown error.")},oj=function(a){var b=new Ed;a=n(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=n(c.value);c=d.next().value;d=d.next().value;b.set(c,
|
|
d)}return b},Pj=[],Rj=new Zh(function(){var a=Pj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var g=Tj,f=new Xi;$i.push(f);c&&f.Ya("complete",c);f.Yc("ready",f.Rk);g&&(f.Ec=Math.max(0,g));f.send(b,d,e,a)}0==Pj.length||Rj.lf()},350),vj=null,Ij=null,Jj=null,Oj=null,Nj=nc,Gj=null,Ej=null,zj=null,Aj=[],yj=null,wj=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],id=new dd(bd,"https://apis.google.com/js/client.js?onload=%{onload}"),
|
|
Mj=null,Hj=!1,Tj=0,Kj=null;w("ee.api.ListAssetsResponse",qg);w("ee.api.EarthEngineAsset",kf);w("ee.api.Operation",tg);w("ee.api.ListFeaturesResponse",rg);w("ee.api.FeatureViewLocation",mf);var Uj=function(){},Vj=function(a){if(void 0===a||null===a)a=Oc;return new Ke({jb:a})},Wj=function(a){return new Ke({Qa:a})},Xj=function(a){return new Ke({Ha:new Je({values:a})})},Yj=function(a){return new Ke({Ia:new gf({values:a})})},Zj=function(a,b){return new Ke({Aa:new Wf({functionName:a,arguments:b})})},ak=function(a,b){return new Ke({Aa:new Wf({Xa:a,arguments:b})})},bk=function(a,b){return new Ke({Wa:new Vf({nc:a,body:b})})},ck=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}},dk=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}},ek=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a&&"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},fk=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},ik=function(a){var b=new tf,c=!1;"palette"in a&&(c=a.palette,b.bd="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.bd?b.bd.length-1:255;d=gk(a,"bias","gain").map(function(g){var f=-g.bias/g.gain;return{min:f,max:e/g.gain+f}})}else if("min"in a||"max"in a)d=gk(a,"min","max");0!==d.length&&(b.Tf=d.map(function(g){return new hf(g)}),c=!0);a=hk(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},hk=function(a){return a?a.split(",").map(Number):[]},gk=function(a,b,c){var d=hk(a[b]),e=hk(a[c]);if(0===d.length)return e.map(function(g){var f={};return f[b]=0,f[c]=g,f});if(0===e.length)return d.map(function(g){var f={};return f[b]=g,f[c]=1,f});if(d.length!==e.length)throw Error("Length of "+b+" and "+c+" must match.");return d.map(function(g,f){var l={};return l[b]=g,l[c]=e[f],l})},jk=function(a){var b=function(f){var l={};l.description=f.description||"";l.type=f.type||"";null!=f.td&&
|
|
(l.name=f.td);void 0!==f.defaultValue&&(l["default"]=f.defaultValue);null!=f.optional&&(l.optional=f.optional);return l},c=function(f){var l={};l.args=(f.arguments||[]).map(b);l.description=f.description||"";l.returns=f.Zf||"";null!=f.hidden&&(l.hidden=f.hidden);f.preview&&(l.preview=f.preview);f.deprecated&&(l.deprecated=f.bf);f.sourceCodeUri&&(l.sourceCodeUri=f.sourceCodeUri);return l},d={};a=n(a.Hc||[]);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=e.name.replace(/^algorithms\//,"");d[g]=
|
|
c(e)}return d},kk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,lk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,mk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,nk=function(a){return(a=kk.exec(a))?a[1]:"earthengine-legacy"},ok=function(a){return lk.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
a},qk=function(a){return(a.assets||[]).map(pk)},rk=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";case "CLASSIFIER":return"Classifier";case "FEATURE_VIEW":return"FeatureView";default:return"Unknown"}},pk=function(a){var b=sk(rk(a.type),a.name),c=Object.assign({},a.properties||{});a.sizeBytes&&(c["system:asset_size"]=Number(a.sizeBytes));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 c.title&&(c["system:title"]=c.title);"string"===typeof a.description?c["system:description"]=a.description:"string"===typeof c.description&&(c["system:description"]=c.description);a.updateTime&&(b.version=1E3*Date.parse(a.updateTime));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,
|
|
crs:d.grid.af,dimensions:void 0,crs_transform:void 0};if(d.grid){if(null!=d.grid.Ob){var g=d.grid.Ob;e.crs_transform=[g.ag||0,g.fg||0,g.xg||0,g.gg||0,g.bg||0,g.yg||0]}null!=d.grid.dimensions&&(e.dimensions=[d.grid.dimensions.width,d.grid.dimensions.height])}d.dataType&&(g={type:"PixelType"},g.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.fd&&(g.min=d.dataType.fd.min||0,g.max=d.dataType.fd.max),e.data_type=g);return e}));a.Fd&&(b.mapLocation=a.Fd);a.featureCount&&(b.featureCount=a.featureCount);
|
|
return b},tk=function(a){var b=new kf,c=function(g){return null===g?Oc:void 0},d=Object.assign({},a),e;a=function(g){e=d[g];delete d[g];return e};void 0!==a("system:asset_size")&&(b.sizeBytes=c(e)||String(e));void 0!==a("system:time_start")&&(b.startTime=c(e)||(new Date(Number(e))).toISOString());void 0!==a("system:time_end")&&(b.endTime=c(e)||(new Date(Number(e))).toISOString());void 0!==a("system:footprint")&&(b.geometry=c(e)||e);a("system:title");"string"!==typeof e&&null!==e||null!=d.title||(d.title=
|
|
c(e)||e);a("system:description");"string"!==typeof e&&null!==e||null!=d.description||(d.description=c(e)||e);Object.entries(d).forEach(function(g){var f=n(g);g=f.next().value;f=f.next().value;d[g]=c(f)||f});b.properties=d;return b},sk=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},wk=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=uk(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=n(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");return vk(b)},uk=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("],[")+"]]]}"},xk=function(a){var b={};(a.vd||[]).forEach(function(g){b[g.role]=g.ac});var c=new Set,d=function(g){var f=g.replace(/^domain:|^group:|^serviceAccount:|^user:/,"");g.startsWith("group:")&&c.add(f);return f};a=b["roles/viewer"]||[];var e=a.filter(function(g){return"allUsers"!==g});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},yk=function(a){var b=function(d){return(a[d]||[]).map(function(e){if(e.includes(":"))return e;var g="user:";e.includes("@")?a.groups&&a.groups.has(e)?g="group:":e.match(/[@|\.]gserviceaccount\.com$/)&&(g="serviceAccount:"):g="domain:";return g+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{role:"roles/owner",ac:b("owners")},{role:"roles/viewer",ac:b("readers").concat(c)},{role:"roles/editor",ac:b("writers")}].map(function(d){return new Qe(d)});return new Gf({vd:b.filter(function(d){return d.ac.length}),
|
|
ff:null})},Ak=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+zk(a)},zk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Bk=function(a){var b={},c=function(g,f){null!=f&&(b[g]=Date.parse(f))},d=function(g){switch(g){case "PENDING":return"READY";case "RUNNING":return"RUNNING";case "CANCELLING":return"CANCEL_REQUESTED";case "SUCCEEDED":return"COMPLETED";case "CANCELLED":return"CANCELLED";case "FAILED":return"FAILED";
|
|
default:return"UNKNOWN"}},e=Tc(xg,a.metadata||{});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.updateTime);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=zk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.cf;b.source_url=e.cg;return b},Ck=function(a){var b={started:"OK"};a.name&&(b.taskId=zk(a.name),
|
|
b.name=a.name);a.error&&(b.note=a.error.message);return b},Dk=function(a){return a.primaryPath?[a.primaryPath].concat(fa(a.additionalPaths||[])):null},Gk=function(a){var b=function(g){var f=Tc(lg,g);f.ya=Dk(g);return f},c=Tc(gg,a);c.name=ok(a.id);c.tilesets=(a.tilesets||[]).map(function(g){var f=Tc(jg,g);f.sources=(g.sources||[]).map(b);return f});c.bands=(a.bands||[]).map(function(g){var f=Tc(hg,g);f.missingData=Ek(g.missingData);return f});c.missingData=Ek(a.missingData);c.If=db((a.tilesets||[]).map(Fk));
|
|
c.pyramidingPolicy=a.pyramidingPolicy||null;if(a.properties){var d=Object.assign({},a.properties),e;a=function(g){e=d[g];delete d[g];return e};a("system:time_start")&&(c.startTime=(new Date(Number(e))).toISOString());a("system:time_end")&&(c.endTime=(new Date(Number(e))).toISOString());c.properties=d}return c},Fk=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(g){return g||""}));return new ig({Dc:a.id||
|
|
"",ca:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});return b},Hk=function(a){var b=Tc(og,a);b.name=ok(a.id);b.sources=(a.sources||[]).map(function(e){var g=Tc(Kg,e);g.ya=Dk(e);e.maxError&&(g.Yb=e.maxError);return g});if(a.properties){var c=Object.assign({},a.properties),d;a=function(e){d=c[e];delete c[e];return d};a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&(b.endTime=(new Date(Number(d))).toISOString());
|
|
b.properties=c}return b},Ek=function(a){if(null==a)return null;var b=new eg({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},Ik=function(a){var b=[];"startTime"in a&&(b.push('startTime >= "'+(new Date(a.startTime)).toISOString()+'"'),delete a.startTime);"endTime"in a&&(b.push('endTime < "'+(new Date(a.endTime)).toISOString()+'"'),delete a.endTime);
|
|
if("region"in a){var c=a.region;if("object"===typeof c)try{c=JSON.stringify(c)}catch(e){throw Error('Filter parameter "region" must be a GeoJSON or WKT string.');}else if("string"!==typeof c)throw Error('Filter parameter "region" must be a GeoJSON or WKT string.');c=c.replace(/"/g,"'");b.push('intersects("'+c+'")');delete a.region}if("properties"in a){if(!Array.isArray(a.properties)&&a.properties.some(function(e){return"string"!==typeof e}))throw Error('Filter parameter "properties" must be an array of strings');
|
|
c=n(a.properties);for(var d=c.next();!d.done;d=c.next())b.push(d.value.trim().replace(/^(properties\.)?/,"properties."));delete a.properties}return b.join(" AND ")},vk=function(a){a=Object.assign({},a);var b=Ik(a);b&&(a.filter=a.filter?a.filter+" AND "+b:b);return a};var Jk=function(){this.blockSize=-1};var Kk=function(){this.blockSize=-1;this.blockSize=64;this.V=Array(4);this.Ok=Array(this.blockSize);this.me=this.Ic=0;this.reset()};x(Kk,Jk);Kk.prototype.reset=function(){this.V[0]=1732584193;this.V[1]=4023233417;this.V[2]=2562383102;this.V[3]=271733878;this.me=this.Ic=0};
|
|
var Lk=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.V[0];c=a.V[1];e=a.V[2];var g=a.V[3];var f=b+(g^c&(e^g))+d[0]+3614090360&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[1]+3905402710&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[2]+606105819&4294967295;e=g+(f<<17&4294967295|f>>>
|
|
15);f=c+(b^e&(g^b))+d[3]+3250441966&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[4]+4118548399&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[5]+1200080426&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[6]+2821735955&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[7]+4249261313&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[8]+1770035416&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[9]+2336552879&4294967295;g=b+(f<<12&4294967295|
|
|
f>>>20);f=e+(c^g&(b^c))+d[10]+4294925233&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[11]+2304563134&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[12]+1804603682&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[13]+4254626195&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[14]+2792965006&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[15]+1236535329&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(e^g&(c^e))+d[1]+4129170786&4294967295;b=c+(f<<
|
|
5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[6]+3225465664&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[11]+643717713&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[0]+3921069994&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[5]+3593408605&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[10]+38016083&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[15]+3634488961&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[4]+3889429448&4294967295;c=
|
|
e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[9]+568446438&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[14]+3275163606&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[3]+4107603335&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[8]+1163531501&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[13]+2850285829&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[2]+4243563512&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[7]+1735328473&4294967295;
|
|
e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[12]+2368359562&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(c^e^g)+d[5]+4294588738&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[8]+2272392833&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[11]+1839030562&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[14]+4259657740&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[1]+2763975236&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[4]+1272893353&4294967295;g=b+(f<<11&4294967295|
|
|
f>>>21);f=e+(g^b^c)+d[7]+4139469664&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[10]+3200236656&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[13]+681279174&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[0]+3936430074&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[3]+3572445317&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[6]+76029189&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[9]+3654602809&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[12]+
|
|
3873151461&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[15]+530742520&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[2]+3299628645&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(e^(c|~g))+d[0]+4096336452&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[7]+1126891415&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[14]+2878612391&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[5]+4237533241&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[12]+1700485571&
|
|
4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[3]+2399980690&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[10]+4293915773&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[1]+2240044497&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[8]+1873313359&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[15]+4264355552&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[6]+2734768916&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[13]+1309151649&
|
|
4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[4]+4149444226&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[11]+3174756917&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[2]+718787259&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[9]+3951481745&4294967295;a.V[0]=a.V[0]+b&4294967295;a.V[1]=a.V[1]+(e+(f<<21&4294967295|f>>>11))&4294967295;a.V[2]=a.V[2]+e&4294967295;a.V[3]=a.V[3]+g&4294967295};
|
|
Kk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.Ok,e=this.Ic,g=0;g<b;){if(0==e)for(;g<=c;)Lk(this,a,g),g+=this.blockSize;if("string"===typeof a)for(;g<b;){if(d[e++]=a.charCodeAt(g++),e==this.blockSize){Lk(this,d);e=0;break}}else for(;g<b;)if(d[e++]=a[g++],e==this.blockSize){Lk(this,d);e=0;break}}this.Ic=e;this.me+=b};
|
|
Kk.prototype.digest=function(){var a=Array((56>this.Ic?this.blockSize:2*this.blockSize)-this.Ic);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.me;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.V[b]>>>d&255;return a};var Mk=function(a){this.pd="__ee_hash__";this.Pd=!1!==a;this.Za=[];this.za={};this.Bg=[];this.Md=new WeakMap;this.Ti=void 0};w("ee.Serializer",Mk);var Nk=new ti,Ok=new Kk,Qk=function(a,b){return Pk(new Mk(void 0!==b?b:!0),a)};w("ee.Serializer.encode",Qk);var Rk=function(a){return Nk.xa(Qk(a))};w("ee.Serializer.toJSON",Rk);var Tk=function(a){return Sk(Qk(a,!1))};w("ee.Serializer.toReadableJSON",Tk);
|
|
var Sk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):Nk.xa(a)},Pk=function(a,b){b=a.Dd(b);a.Pd&&(b=t(b)&&"ValueRef"==b.type&&1==a.Za.length?a.Za[0][1]:{type:"CompoundValue",scope:a.Za,value:b},a.Za=[],Ra(a.Bg,u(function(c){delete c[this.pd]},a)),a.Bg=[],a.za={});return b};
|
|
Mk.prototype.Dd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=t(a)?a[this.pd]:null;if(this.Pd&&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(va(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Uj){var c=a.encode(u(this.Dd,this));if(!(Array.isArray(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
Ta(a,function(e){return this.Dd(e)},this);else if(t(a)&&"function"!==typeof a)c=Eb(a,function(e){if("function"!==typeof e)return this.Dd(e)},this),Nb(c,this.pd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Pd){b=Uk(c);if(this.za[b])var d=this.za[b];else d=String(this.Za.length),this.Za.push([d,c]),this.za[b]=d;a[this.pd]=b;this.Bg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var Uk=function(a){Ok.reset();Ok.update(Nk.xa(a));return Ok.digest().toString()},Wk=function(a){return Uc(Vk(a),Qc,Rc,Sc)};w("ee.Serializer.encodeCloudApi",Wk);
|
|
var Vk=function(a,b){var c=new Mk(!0);c.Ti=b;return Xk(c,a)},Yk=function(a){a=Xk(new Mk(!1),a);var b=a.values,c=function(d){if(!t(d))return d;var e=Array.isArray(d)?[]:{},g=d instanceof Object.getPrototypeOf(Ke);d=n(Object.entries(g?d.h:d));for(var f=d.next();!f.done;f=d.next()){var l=n(f.value);f=l.next().value;l=l.next().value;g?null!==l&&(e[f]="functionDefinitionValue"===f&&null!=l.body?{argumentNames:l.nc,body:c(b[l.body])}:"functionInvocationValue"===f&&null!=l.Xa?{arguments:Eb(l.arguments,c),
|
|
functionReference:c(b[l.Xa])}:"constantValue"===f?l===Oc?null:l:c(l)):e[f]=c(l)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",Yk);var Zk=function(a){return Nk.xa(Wk(a))};w("ee.Serializer.toCloudApiJSON",Zk);var $k=function(a){return Sk(Yk(a))};w("ee.Serializer.toReadableCloudApiJSON",$k);
|
|
var Xk=function(a,b){try{var c=al(a,b),d=new bl(c,a.Za,a.Pd),e=cl(d,d.vi);return new $e({result:e,values:d.hi})}finally{a.Md=new WeakMap,a.za={},a.Za=[]}},al=function(a,b){var c=function(e){var g=Uk(e);t(b)&&a.Md.set(b,g);if(a.za[g])return a.za[g];var f=String(a.Za.length);a.Za.push([f,e]);return a.za[g]=f};if(t(b)&&a.za[a.Md.get(b)])return a.za[a.Md.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(Vj(b));if(va(b))return c(Zj("Date",{value:Vj(Math.floor(b.getTime()))}));
|
|
if(b instanceof Uj)return c(b.oa(a));if(Array.isArray(b))return c(Xj(b.map(function(e){return Wj(al(a,e))})));if(t(b)&&"function"!==typeof b){var d={};Object.keys(b).sort().forEach(function(e){d[e]=Wj(al(a,b[e]))});return c(Yj(d))}throw Error("Can't encode object: "+b);},bl=function(a,b,c){var d=this;this.vi=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.oi=c?dl(this):null;this.hi={};this.Wf={};this.ml=0},cl=function(a,b){if(b in a.Wf)return a.Wf[b];var c=String(a.ml++);
|
|
a.Wf[b]=c;a.hi[c]=el(a,a.values[b],0);return c},el=function(a,b,c){var d=function(q){return null!==q.jb},e=function(q){return q===Oc?null:q};if(d(b)||null!=b.Xb||null!=b.rb||null!=b.Pb)return b;if(null!=b.Qa)return d=a.values[b.Qa],null===a.oi||50>c&&1===a.oi[b.Qa]?el(a,d,c):fl(d)?d:Wj(cl(a,b.Qa));if(null!=b.Ha){var g=b.Ha.values.map(function(q){return el(a,q,c+3)});return g.every(d)?Vj(g.map(function(q){return e(q.jb)})):Xj(g)}if(null!=b.Ia){g={};var f={};b=n(Object.entries(b.Ia.values||{}));for(var l=
|
|
b.next();!l.done;l=b.next()){var m=n(l.value);l=m.next().value;m=m.next().value;g[l]=el(a,m,c+3);null!==f&&d(g[l])?f[l]=e(g[l].jb):f=null}return null!==f?Vj(f):Yj(g)}if(null!=b.Wa)return d=b.Wa,bk(d.nc||[],cl(a,d.body||""));if(null!=b.Aa){d=b.Aa;g={};f=n(Object.keys(d.arguments||{}));for(b=f.next();!b.done;b=f.next())b=b.value,g[b]=el(a,d.arguments[b],c+3);return d.functionName?Zj(d.functionName,g):ak(cl(a,d.Xa||""),g)}throw Error("Can't optimize value: "+b);},fl=function(a){var b=a.jb;return null!==
|
|
b?b===Oc||"number"===typeof b||"boolean"===typeof b:null!=a.Pb},dl=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.Wa?c(e.Wa.body):null!=e.Aa?(e=e.Aa,null!=e.Xa&&c(e.Xa),Object.values(e.arguments).forEach(d)):null!=e.Qa&&c(e.Qa)};c(a.vi);return b};var ll=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 Cf({l:Vk(a.element),description:J(a.description),pa:null,ua:null,Gd:null,ud:null,selectors:b,Yb:K(a.maxErrorMeters),requestId:J(a.id),maxVertices:K(a.maxVertices),O:K(a.maxWorkers)});var c=gl(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Ff({ka:null,na:null,F:dk(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ka=hl(a):d.na=
|
|
il(a);b.pa=d;break;case "ASSET":b.ua=new Df({Ja:jl(a)});break;case "FEATURE_VIEW":c=new Nf({name:ok(a.mapName)});d=null==a?null:new Sf({Kf:K(a.maxFeaturesPerTile),rg:a.thinningStrategy});var e=null==a?null:new Rf({Cg:kl(a.zOrderRanking),qg:kl(a.thinningRanking)});d=new Of({pg:d,Vf:e});c=new Ef({hf:c,vc:d});b.Gd=c;break;case "BIGQUERY":b.ud=new Pe({Pe:new Oe({table:J(a.table),overwrite:!!a.overwrite})});break;default:throw Error('Export destination "'+c+'" unknown');}a.workloadTag&&(b.workloadTag=
|
|
a.workloadTag);return b};function J(a){return null!=a?String(a):null}function K(a){return null!=a?Number(a):null}
|
|
var gl=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":null!=a.mapName&&(b="FEATURE_VIEW");null!=a.table&&(b="BIGQUERY");return b},nl=function(a){var b=new fg({Ve:!!a.tfrecordCompressed,Zb:J(a.tfrecordMaxFileSize),dg:!!a.tfrecordSequenceData,Te:!!a.tfrecordCollapseBands,Lf:K(a.tfrecordMaskedThreshold),defaultValue:K(a.tfrecordDefaultValue),ab:ml(a.tfrecordPatchDimensions),Hf:ml(a.tfrecordKernelSize),he:null});
|
|
a=a.tfrecordTensorDepths;if(null!=a)if(t(a)){var c={};Cb(a,function(d,e){if("string"!==typeof e||"number"!==typeof d)throw Error('"tensorDepths" option must be an object of type Object<string, number>');c[e]=d});b.he=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},ol=function(a,b){var c=new yf({ka:null,na:null,Hd:null,ie:null,F:ck(a.fileFormat)});if("GEO_TIFF"===c.F){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
|
|
var d=a.tiffShardSize||a.shardSize;d=new Yf({Se:!!a.tiffCloudOptimized,jg:!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),ab:ml(a.fileDimensions||a.tiffFileDimensions),tileSize:K(d)});c.Hd=d}else"TF_RECORD_IMAGE"===c.F&&(c.ie=nl(a));"GOOGLE_CLOUD_STORAGE"===b?c.ka=hl(a):c.na=il(a);return c},pl=function(a,b){var c=new If({ka:null,na:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ka=hl(a):c.na=il(a);return c},ql=function(a){var b,c,d,e,g=K(null!=(b=a.endZoom)?b:a.maxZoom);b=K(null!=(c=a.startZoom)?c:a.minZoom);
|
|
c=K(a.scale);var f=!(null!=(d=a.skipEmpty)?!d:!a.skipEmptyTiles);d=J(a.mapsApiKey);var l=ml(null!=(e=a.dimensions)?e:a.tileDimensions);e=K(a.stride);var m=K(a.minTimeMachineZoomSubset);a=K(a.maxTimeMachineZoomSubset);a=null==m&&null==a?null:new Mg({start:null!=m?m:0,end:a});return new Bf({df:g,kg:b,scale:c,ig:f,Gf:d,dimensions:l,lg:e,Dg:a})},ml=function(a){if(null==a)return null;var b=new Zf({height:0,width:0});"string"===typeof a&&(-1!==a.indexOf("x")?a=a.split("x").map(Number):-1!==a.indexOf(",")&&
|
|
(a=a.split(",").map(Number)));if(Array.isArray(a))if(2===a.length)b.height=a[0],b.width=a[1];else if(1===a.length)b.height=a[0],b.width=a[0];else throw Error("Unable to construct grid from dimensions: "+a);else if("number"!==typeof a||isNaN(a))if(t(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},hl=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":
|
|
"DEFAULT_OBJECT_ACL");return new Xe({oc:J(a.outputBucket),ea:J(a.outputPrefix),pc:a.bucketCorsUris||null,permissions:b})},il=function(a){return new jf({nf:J(a.driveFolder),ea:J(a.driveFileNamePrefix)})},jl=function(a){return new Ve({name:ok(a.assetId)})},kl=function(a){if(!a)return null;var b=a;"string"===typeof a&&(a=a.split(","));if(Array.isArray(a))return new Hg({Uf:(a||[]).map(rl)});throw Error("Unable to build ranking rule from rules: "+JSON.stringify(b)+". Rules should either be a comma-separated string or list of strings.");
|
|
},rl=function(a){var b=new Gg({direction:null,Wd:null,Yd:null,Xd:null});a=a.trim();a=a.match(/^([\S]+.*)\s+(ASC|DESC)$/);if(null==a)throw Error("Ranking rule format is invalid. Each rule should be defined by a rule type and a direction (ASC or DESC), separated by a space. Valid rule types are: .geometryType, .minZoomLevel, or a feature property name.");var c=n(a);c.next();a=c.next().value;c=c.next().value;switch(c.toUpperCase()){case "ASC":b.direction="ASCENDING";break;case "DESC":b.direction="DESCENDING";
|
|
break;default:throw Error("Ranking rule direction '"+c+"' is invalid. Directions are: ASC, DESC.");}switch(a.trim()){case ".geometryType":b.Xd=new Dg({});break;case ".minZoomLevel":b.Yd=new Fg({});break;default:b.Wd=new Cg({attributeName:J(a)})}return b};var sl=[],tl=function(a){z(!Object.isSealed(a),"Cannot use getInstance() with a sealed constructor.");var b="Bf";if(a.Bf&&a.hasOwnProperty(b))return a.Bf;sl.push(a);var c=new a;a.Bf=c;z(a.hasOwnProperty(b),"Could not instantiate singleton.");return c};var vl=function(a,b,c,d,e,g){d=xj(!g,!1,d||[]);zj=a;Aj=d;null===a?Fj():Bj(function(){Dj(b,c,e||Ba(ul,b,c))})};w("ee.data.authenticateViaOauth",vl);var wl=function(a,b,c,d,e){vl(a,b,c,d,e)};w("ee.data.authenticate",wl);var ul=function(a,b){r.gapi.auth.authorize({client_id:zj,immediate:!1,scope:Aj.join(" ")},Ba(Cj,a,b))};w("ee.data.authenticateViaPopup",ul);
|
|
var xl=function(a,b,c,d,e){if("window"in r)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");d=xj(!e,!e,d||[]);zj=a.client_email;Aj=d;var g=new google.auth.JWT(a.client_email,null,a.private_key,d,null);yj=function(f,l){g.authorize(function(m,q){m?l({error:m}):l({access_token:q.access_token,token_type:q.token_type,expires_in:(q.expiry_date-Date.now())/1E3})})};Dj(b,c)};w("ee.data.authenticateViaPrivateKey",xl);
|
|
w("ee.data.setExpressionAugmenter",function(a){yl=a||nc});var yl=nc;w("ee.data.setAuthToken",function(a,b,c,d,e,g,f,l){e=xj(!l,!1,e||[]);zj=a;Aj=e;var m={token_type:b,access_token:c,state:e.join(" "),expires_in:d};Cj(void 0,void 0,m);!1===f?g&&g():Bj(function(){r.gapi.auth.setToken(m);g&&g()})});w("ee.data.refreshAuthToken",Dj);w("ee.data.setAuthTokenRefresher",function(a){yj=a});w("ee.data.getAuthToken",tj);w("ee.data.clearAuthToken",Fj);w("ee.data.getAuthClientId",function(){return zj});
|
|
w("ee.data.getAuthScopes",function(){return Aj});w("ee.data.setDeadline",function(a){Tj=a});w("ee.data.setParamAugmenter",function(a){Nj=a||nc});
|
|
var zl=function(a){a=new I(a);return a.handle(a.Hc().list(mj(),{prettyPrint:!1}).then(jk))},Cl=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 sf({name:null,l:yl(Vk(a.image)),F:ck(a.format),ca:fk(a.bands),kc:ik(a)});var c={fields:"name"},d=Al();d&&(c.workloadTag=d);b=new I(b);return b.handle(b.maps().create(mj(),a,c).then(function(e){return Bl(e.name,"")}))};
|
|
w("ee.data.getMapId",Cl);var Dl=function(a,b,c,d){if(!a.formatTileUrl){var e=Bl(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",Dl);
|
|
var Bl=function(a,b,c){var d=void 0===c?"":c;d||(kj(),c=Ij,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,g,f){var l=Math.pow(2,f);e%=l;e=String(0>e?e+l:e);return d.replace("{x}",e).replace("{y}",g).replace("{z}",f)},urlFormat:d}},El=function(a,b){var c=a.visParams?yl(Vk(a.visParams)):null;a=new Mf({name:null,Qb:a.assetId,mapName:a.mapName,Ag:c});b=new I(b);return b.handle((new Ug(b.P)).create(mj(),a,{fields:["name"]}).then(function(d){var e=
|
|
d.name.split("/").pop();return{token:e,formatTileUrl:function(g,f,l){return Ij+"/v1alpha/"+d.name+"/tiles/"+l+"/"+g+"/"+f},rawTilesKey:e.substring(0,e.lastIndexOf("-"))}}))};w("ee.data.getFeatureViewTilesKey",El);
|
|
var Fl=function(a,b,c){c=new I(c);var d=ok(a);a=c.handle;var e=c.assets();b=void 0===b?{}:b;var g=void 0===g?{}:g;e.j.C(d,RegExp("^projects/[^/]+/assets/.*$"));g=H(e.j,{body:null,B:"GET",D:"earthengine.projects.assets.listFeatures",path:"/"+e.m+"/"+d+":listFeatures",u:G(b,g),G:rg});return a.call(c,g)};w("ee.data.listFeatures",Fl);var Gl=function(a,b){a={l:yl(Vk(a))};var c=Al();c&&(a.workloadTag=c);b=new I(b);return b.handle(dh(b.value(),mj(),new Ze(a)).then(function(d){return d.result}))};
|
|
w("ee.data.computeValue",Gl);
|
|
var Hl=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 Lg({name:null,l:yl(Vk(a.image)),F:ck(a.format),ea:a.name,ca:fk(a.bands),
|
|
kc:ik(a),grid:null});var c={fields:"name"},d=Al();d&&(c.workloadTag=d);b=new I(b);return b.handle((new bh(b.P)).create(mj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getThumbId",Hl);
|
|
var Il=function(a,b){var c=new Jf({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Pg({name:null,l:yl(Vk(a.imageCollection)),F:ck(a.format),Ra:c,grid:null});c={fields:"name"};var d=Al();d&&(c.workloadTag=d);b=new I(b);return b.handle((new gh(b.P)).create(mj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getVideoThumbId",Il);
|
|
var Jl=function(a,b){a=new Uf({name:null,l:yl(Vk(a.imageCollection)),F:ck(a.format),orientation:ek(a.orientation),grid:null});var c={fields:"name"},d=Al();d&&(c.workloadTag=d);b=new I(b);return b.handle((new Vg(b.P)).create(mj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getFilmstripThumbId",Jl);var Kl=function(a){return Ij+"/v1alpha/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",Kl);
|
|
var Ml=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(e){a.bands=fk(a.bands)}if(a.bands&&!Array.isArray(a.bands))throw Error("Bands parameter must be an array.");a.bands&&a.bands.every(function(e){return"string"===typeof e})&&(a.bands=a.bands.map(function(e){return{id:e}}));if(a.bands&&a.bands.some(function(e){return null==e.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(e){}var c=Ll(a.image,a);a=new Lg({name:null,l:yl(Vk(c)),F:ck(a.format),ea:a.name,ca:a.bands&&fk(a.bands.map(function(e){return e.id})),grid:null});c={fields:"name"};var d=Al();d&&(c.workloadTag=d);b=new I(b);return b.handle((new bh(b.P)).create(mj(),a,c).then(function(e){return{docid:e.name,token:""}}))};w("ee.data.getDownloadId",Ml);var Nl=function(a){kj();return Ij+"/v1alpha/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",Nl);
|
|
var Ol=function(a,b){b=new I(b);var c=dk(a.format),d=yl(Vk(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(g){return"string"===typeof g}))e=a.selectors;else throw Error("'selectors' parameter must be an array of strings.");a=new Jg({name:null,l:d,F:c,selectors:e,filename:a.filename||null});c={fields:"name"};if(d=Al())c.workloadTag=d;return b.handle((new ah(b.P)).create(mj(),a,c).then(function(g){return{docid:g.name||
|
|
"",token:""}}))};w("ee.data.getTableDownloadId",Ol);var Pl=function(a){return Ij+"/v1alpha/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",Pl);var Ql=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,4*d)).toString(16).padStart(d,"0")};a=cb(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",Ql);
|
|
var Sl=function(a,b){var c=Rl(a).map(Ak);if(1===c.length)return a=new I(b),a.handle(a.Pa().get(c[0]).then(function(e){return[Bk(e)]}));a=new sj(b);var d=a.Pa();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(g){return Bk(e[g])})})};w("ee.data.getTaskStatus",Sl);var Rl=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.");},Ul=function(a){return Tl(void 0,a)};
|
|
w("ee.data.getTaskList",Ul);var Tl=function(a,b){return b?(Vl(a,function(c,d){return b(c?{tasks:c.map(Bk)}:null,d)}),null):{tasks:Vl(a).map(Bk)}};w("ee.data.getTaskListWithLimit",Tl);
|
|
var Vl=function(a,b){var c=[],d={pageSize:500},e=function(l){ab(c,l.Pa||[]);!l.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=l.nextPageToken,g.handle(f.list(mj(),d).then(e)));return null},g=new I(b?function(l,m){return m&&b(l,m)}:void 0),f=g.Pa();g.handle(f.list(mj(),d).then(e));return b?null:a?c.slice(0,a):c};w("ee.data.listOperations",Vl);
|
|
var Wl=function(a,b){a=Rl(a);var c=new Se;if(1===a.length)b=new I(b),b.handle(b.Pa().cancel(a[0],c));else{b=new sj(b);var d=b.Pa();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",Wl);var Xl=function(a,b){var c=Rl(a).map(Ak);if(!Array.isArray(a))return a=new I(b),a.handle(a.Pa().get(c[0]));a=new sj(b);var d=a.Pa();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",Xl);var Zl=function(a,b){return Yl(a,"CANCEL",b)};
|
|
w("ee.data.cancelTask",Zl);var Yl=function(a,b,c){if(!Jb($l,b))throw Error("Invalid action: "+b);a=Rl(a);a=a.map(Ak);Wl(a,c);return null};w("ee.data.updateTask",Yl);
|
|
var fm=function(a,b,c){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};if("workloadTag"in b)b.workloadTag||delete b.workloadTag;else{var e=Al();e&&(b.workloadTag=e)}var g=new I(c);c=function(f){return g.handle(f.then(Ck))};switch(d){case "EXPORT_IMAGE":return b=am(b,a),c(g.image().Ma(mj(),b));case "EXPORT_FEATURES":return b=ll(b),b.l=yl(b.l,a),c(g.table().Ma(mj(),b));case "EXPORT_VIDEO":return b=bm(b,a),c(g.video().Ma(mj(),b));case "EXPORT_TILES":return b=cm(b,a),c(g.map().Ma(mj(),
|
|
b));case "EXPORT_VIDEO_MAP":return b=dm(b),c((new fh(g.P)).Ma(mj(),b));case "EXPORT_CLASSIFIER":return b=em(b),c((new Tg(g.P)).Ma(mj(),b));default:throw Error("Unable to start processing for task of type "+d);}};w("ee.data.startProcessing",fm);
|
|
var am=function(a,b){var c=gm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new wf({l:Vk(c.element),description:J(c.description),pa:null,ua:null,grid:null,Mf:J(c.maxPixels),requestId:J(c.id),O:K(c.maxWorkers)}),e=gl(c);switch(e){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":d.pa=ol(c,e);break;case "ASSET":e=c.pyramidingPolicy||{};try{e=JSON.parse(e)}catch(f){}var g="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof e?(g=e,e={}):e[".default"]&&(g=e[".default"],delete e[".default"]);
|
|
c=new xf({Ja:jl(c),pyramidingPolicy:g,Sf:Mb(e)?null:e,tileSize:K(c.shardSize)});d.ua=c;break;default:throw Error('Export destination "'+e+'" unknown');}d.l=yl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},bm=function(a,b){var c=hm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new Kf({l:Vk(c.element),description:J(c.description),Ra:new Jf({framesPerSecond:K(c.framesPerSecond),maxFrames:K(c.maxFrames),maxPixelsPerFrame:J(c.maxPixels)}),pa:null,requestId:J(c.id),
|
|
O:K(c.maxWorkers)});d.pa=pl(c,gl(c));d.l=yl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},cm=function(a,b){var c=a.scale;delete a.scale;var d=gm(a);d.scale=c;if(null==d.element)throw Error('"element" not found in params '+d);c=new Af({l:Vk(d.element),description:J(d.description),hc:ql(d),fc:ol(d,"GOOGLE_CLOUD_STORAGE"),requestId:J(d.id),O:K(d.maxWorkers)});c.l=yl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);return c},dm=function(a){var b=a.scale;delete a.scale;var c=hm(a);c.scale=
|
|
b;if(null==c.element)throw Error('"element" not found in params '+c);b=new Hf({l:Vk(c.element),description:J(c.description),Ra:new Jf({framesPerSecond:K(c.framesPerSecond),maxFrames:K(c.maxFrames),maxPixelsPerFrame:null}),hc:ql(c),fc:pl(c,"GOOGLE_CLOUD_STORAGE"),requestId:J(c.id),version:J(c.version),O:K(c.maxWorkers)});b.l=yl(b.l);a.workloadTag&&(b.workloadTag=a.workloadTag);return b},em=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=gl(a);if("ASSET"!=b)throw Error('Export destination "'+
|
|
b+'" unknown');b=new vf({l:Vk(a.element),description:J(a.description),requestId:J(a.id),ua:new Ue({Ja:jl(a)}),O:K(a.maxWorkers)});b.l=yl(b.l);a.workloadTag&&(b.workloadTag=a.workloadTag);return b},jm=function(a,b,c){b=Gk(b);var d=function(e){return e?Ck(e):null};return d(im(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startIngestion",jm);
|
|
var im=function(a,b,c){b=new mg({xf:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return a.handle(a.image().import(mj(),b))},km=function(a,b,c){b=new ng({og:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return a.handle(a.table().import(mj(),b))},lm=function(a,b,c){b=Hk(b);var d=function(e){return e?Ck(e):null};return d(km(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startTableIngestion",lm);
|
|
var mm=function(a,b){b=new I(b);a=ok(a);return b.handle(b.assets().get(a,{prettyPrint:!1}).then(pk))};w("ee.data.getAsset",mm);w("ee.data.getInfo",mm);var nm=function(a,b,c,d){b=void 0===b?{}:b;d=void 0===d?nc:d;var e=mk.test(a);c=new I(c);var g=e?new Rg(c.P):c.assets();a=e?"projects/"+nk(a):ok(a);return c.handle(g.Rd(a,b).then(d))},om=function(a,b){return nm(a.id,wk(a),b,function(c){return null==c?null:qk(c)})};w("ee.data.getList",om);var pm=function(a,b,c){b=void 0===b?{}:b;return nm(a,b,c)};
|
|
w("ee.data.listAssets",pm);var qm=function(a,b,c){b=void 0===b?{}:b;b=vk(b);return nm(a,b,c,function(d){if(null==d)return null;var e={};d.assets&&(e.images=d.assets);d.nextPageToken&&(e.nextPageToken=d.nextPageToken);return e})};w("ee.data.listImages",qm);var rm=function(a,b){b=new I(b);return b.handle((new Rg(b.P)).Rd(a||mj()))};w("ee.data.listBuckets",rm);var sm=function(a){a=new I(a);return a.handle((new Rg(a.P)).Rd(mj()).then(qk))};w("ee.data.getAssetRoots",sm);
|
|
var tm=function(a,b){var c="projects/"+nk(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new kf({type:"Folder"});b=new I(b);b.handle(b.assets().create(c,d,{assetId:a}).then(pk))};w("ee.data.createAssetHome",tm);
|
|
var um=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&&ok(b);if(!c)throw Error("Either asset name or opt_path must be specified.");var g=c.indexOf("/assets/");if(-1===g)throw Error("Asset name must contain /assets/.");a=new kf(a);b=c.slice(0,g);c=c.slice(g+8);a.id=null;a.name=null;d&&!a.properties&&(a.properties=d);a:switch(d=a.type,d){case "ImageCollection":d="IMAGE_COLLECTION";break a;
|
|
case "Folder":d="FOLDER"}a.type=d;e=new I(e);return e.handle(e.assets().create(b,a,{assetId:c}).then(pk))};w("ee.data.createAsset",um);var vm=function(a,b,c){return um({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",vm);var wm=function(a,b,c){a=ok(a);b=ok(b);b=new vg({Tb:b});c=new I(c);c.handle(c.assets().move(a,b).then(pk))};w("ee.data.renameAsset",wm);
|
|
var xm=function(a,b,c,d){a=ok(a);b=ok(b);c=new cf({Tb:b,overwrite:null!=c?c:null});d=new I(d);b=d.handle;var e=d.assets();var g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=H(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",u:G(g,f),G:kf});b.call(d,g.then(pk))};w("ee.data.copyAsset",xm);var ym=function(a,b){b=new I(b);b.handle(b.assets().delete(ok(a)))};w("ee.data.deleteAsset",ym);
|
|
var zm=function(a,b){a=ok(a);var c=new $f;b=new I(b);var d=b.handle,e=b.assets(),g={prettyPrint:!1};g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+e.m+"/"+a+":getIamPolicy",u:G(g,f),G:Gf});return d.call(b,f.then(xk))};w("ee.data.getAssetAcl",zm);
|
|
var Am=function(a,b,c,d){b=new Og({Qb:b,updateMask:(c||[]).join(",")});d=new I(d);c=d.handle;var e=d.assets();a=ok(a);var g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=H(e.j,{body:b,B:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,u:G(g,f),G:kf});return c.call(d,g.then(pk))};w("ee.data.updateAsset",Am);
|
|
var Bm=function(a,b,c){a=ok(a);b=yk(b);b=new Ig({mb:b});c=new I(c);var d=c.handle,e=c.assets(),g={prettyPrint:!1};g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(e.j,{body:b,B:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+e.m+"/"+a+":setIamPolicy",u:G(g,f),G:Gf});d.call(c,f)};w("ee.data.setAssetAcl",Bm);
|
|
var Cm=function(a,b,c){var d=tk(b);b=Pc(d.i()).keys.filter(function(e){return"properties"!==e&&F(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(g,f){return"_"+f.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));Am(a,d,b,c)};w("ee.data.setAssetProperties",Cm);
|
|
var Dm=function(a,b){var c=ok(a);b=new I(b);var d=b.assets(),e=d.j.C;d.j.C=function(g,f){"^projects\\/[^/]+\\/assets\\/.+$"===f.source&&(f=RegExp("^projects/[^/]+/assets/.*$"));return e(g,f)};c=d.get(c,{prettyPrint:!1});return b.handle(c.then(function(g){if(!(g instanceof kf&&g.quota))throw Error(a+" is not a root folder.");g=g.quota;return{asset_count:{usage:Number(g.Oe||0),limit:Number(g.Jf||0)},asset_size:{usage:Number(g.sizeBytes||0),limit:Number(g.Zb||0)}}}))};w("ee.data.getAssetRootQuota",Dm);
|
|
var Em=function(){this.default=this.tag=""};Em.prototype.get=function(){return this.tag};Em.prototype.set=function(a){this.tag=this.validate(a)};Em.prototype.reset=function(){this.tag=this.default};
|
|
Em.prototype.validate=function(a){if(null==a||""===a)return"";a=String(a);if(!/^([a-z0-9]|[a-z0-9][-_\.a-z0-9]{0,61}[a-z0-9])$/g.test(a))throw Error('Invalid tag, "'+a+'". Tags must be 1-63 characters, beginning and ending with a lowercase alphanumeric character([a-z0-9]) with dashes (-), underscores (_), dots (.), andlowercase alphanumerics between.');return a};var Al=function(){return tl(Em).get()};w("ee.data.getWorkloadTag",Al);var Fm=function(a){tl(Em).set(a)};w("ee.data.setWorkloadTag",Fm);
|
|
var Gm=function(a){var b=tl(Em);b.default=b.validate(a);tl(Em).set(a)};w("ee.data.setDefaultWorkloadTag",Gm);var Hm=function(a){a&&(a=tl(Em),a.default=a.validate(""));tl(Em).reset()};w("ee.data.resetWorkloadTag",Hm);var $l={El:"CANCEL",Hl:"UPDATE"};var M=function(a,b,c){if(!(this instanceof M))return Im(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.I=a;this.args=b;this.T=c||null};x(M,Uj);w("ee.ComputedObject",M);M.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");Gl(this,a)};M.prototype.evaluate=M.prototype.evaluate;
|
|
M.prototype.U=function(a){return Gl(this,a)};M.prototype.getInfo=M.prototype.U;M.prototype.encode=function(a){if(null===this.I&&null===this.args)return{type:"ArgumentRef",value:this.T};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.I);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
M.prototype.oa=function(a){if(null===this.I&&null===this.args){a=this.T||a.Ti;if(!a)throw Error("A mapped function's arguments cannot be used in client-side operations");return new Ke({Pb:a})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=Wj(al(a,this.args[c])));return"string"===typeof this.I?Zj(String(this.I),b):this.I.Cd(a,b)};M.prototype.xa=function(a){return(void 0===a?0:a)?Rk(this):Zk(this)};M.prototype.serialize=M.prototype.xa;
|
|
M.prototype.toString=function(){return"ee."+this.name()+"("+Tk(this)+")"};w("ee.ComputedObject.prototype.toString",M.prototype.toString);M.prototype.name=function(){return"ComputedObject"};M.prototype.Eg=function(a,b){var c=Array.from(arguments);c[0]=this;a.apply(r,c);return this};M.prototype.aside=M.prototype.Eg;
|
|
var Jm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.I=b.I;a.args=b.args;a.T=b.T;return a},Im=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var Km={},Lm=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}},Mm=function(a){return"number"===typeof a||a instanceof M&&"Number"==a.name()},Nm=function(a){return"string"===typeof a||a instanceof M&&"String"==a.name()},Om=function(a){return t(a)&&
|
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},Pm=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&Om(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var Qm=function(){if(!(this instanceof Qm))return new Qm};x(Qm,Uj);w("ee.Function",Qm);var Rm=nc;Qm.prototype.call=function(a){return this.apply(Sm(this,Array.prototype.slice.call(arguments,0)))};Qm.prototype.call=Qm.prototype.call;Qm.prototype.apply=function(a){a=new M(this,Tm(this,a));return Rm(a,this.Z().returns)};Qm.prototype.apply=Qm.prototype.apply;
|
|
var Um=function(a,b,c){var d=void 0!==b,e=a.Z();if(Pm(c,e,d)){if(c=Ob(c[0]),d){d=e.args[0].name;if(d in c)throw Error("Named args for "+e.name+" can't contain keyword "+d);c[d]=b}}else c=Sm(a,d?[b].concat(c):c);return a.apply(c)},Tm=function(a,b){for(var c=a.Z().args,d={},e={},g=0;g<c.length;g++){var f=c[g].name;if(f in b&&void 0!==b[f])d[f]=Rm(b[f],c[g].type);else if(!c[g].optional)throw Error("Required argument ("+f+") missing to function: "+a);e[f]=!0}c=[];for(var l in b)e[l]||c.push(l);if(0<c.length)throw Error("Unrecognized arguments ("+
|
|
c+") to function: "+a);return d},Sm=function(a,b){var c=a.Z().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
|
|
Qm.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(Ta(c.args.slice(b?1:0),function(g){return g.name}).join(", "));d.push(")\n");d.push("\n");c.description?d.push(c.description):d.push("Undocumented.");d.push("\n");if(c.args.length)for(d.push("\nArgs:\n"),a=0;a<c.args.length;a++){b&&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("")};Qm.prototype.xa=function(a){return(void 0===a?0:a)?Rk(this):Zk(this)};var N=function(a,b){if(void 0===b)return Vm(a);if(!(this instanceof N))return Im(N,arguments);this.zb=Pb(b);this.zb.name=a};x(N,Qm);w("ee.ApiFunction",N);var O=function(a,b){return Qm.prototype.call.apply(Vm(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",O);var Wm=function(a,b){return Vm(a).apply(b)};w("ee.ApiFunction._apply",Wm);N.prototype.encode=function(){return this.zb.name};N.prototype.Cd=function(a,b){return Zj(this.zb.name,b)};N.prototype.Z=function(){return this.zb};
|
|
var Xm=null,Ym={},$m=function(){Zm();return Eb(Xm,function(a){return a.Z()})},an=function(){Zm();return Db(Xm,function(a,b){return!Ym[b]})},Vm=function(a){var b=bn(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",Vm);
|
|
var bn=function(a){Zm();return Xm[a]||null},Zm=function(a,b){if(Xm)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(Xm=Eb(d,function(g,f){g.returns=g.returns.replace(/<.*>/,"");for(var l=0;l<g.args.length;l++)g.args[l].type=g.args[l].type.replace(/<.*>/,"");return new N(f,g)}),a&&a())};a?zl(c):c(zl())}},cn=function(a,b,c,d){Zm();var e=d||"";Cb(Xm,function(g,f){var l=f.split(".");if(2==l.length&&l[0]==b){l=e+l[1];var m=g.Z();Ym[f]=!0;var q=!1;m.args.length&&(f=m.args[0].type,q="Object"!=f&&Lm(f,c));
|
|
f=q?a.prototype:a;l in f&&!f[l].signature||(f[l]=function(v){return Um(g,q?this:void 0,Array.prototype.slice.call(arguments,0))},f[l].toString=u(g.toString,g,l,q),f[l].signature=m)}})},dn=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 P=function(a,b){var c=en(a),d=Ta(c,function(m){return m.replace(/^opt_/,"")});a=(a=r.EXPORTED_FN_INFO?r.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},g=b[0],f=t(g)&&"function"!==typeof g&&!Array.isArray(g)&&"Object"===Object.getPrototypeOf(g).constructor.name;if(1<b.length||!f){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(g=0;g<b.length;g++)e[d[g]]=b[g]}else{f=new Fc(Hb(g));
|
|
var l=new Fc(d);if(Hc(l,f).isEmpty())e[d[0]]=b[0];else{b=Ic(f,l);if(0!==b.size)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=Ob(g)}}b=new Fc(Hb(e));c=Ic(new Fc(Sa(c,function(m){return 0!=m.lastIndexOf("opt_",0)})),b);if(0!==c.size)throw Error("Missing required arguments"+a+": "+Array.from(c.values()).join(", "));return e},en=function(a){var b=fn,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],t(a)||gn(),c=a.paramNames,Array.isArray(c)||gn()):(a=a.toString().replace(hn,
|
|
"").match(b),null===a&&gn(),c=(a[1].split(",")||[]).map(function(d){return d.replace(jn,"")}));return c},gn=function(){throw Error("Failed to locate function parameters.");},hn=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,fn=/^function[^\(]*\(([^\)]*)\)/m,jn=/=.*$/;var R=function(a,b,c){M.call(this,a,b,c);kn()};x(R,M);w("ee.Element",R);var ln=!1,kn=function(){ln||(cn(R,"Element","Element"),ln=!0)};R.prototype.name=function(){return"Element"};
|
|
R.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=Om(c))a:{b=Hb(c);var d=["properties"];if(ua(b)&&ua(d)&&b.length==d.length){for(var e=b.length,g=0;g<e;g++)if(b[g]!==d[g]){b=!1;break a}b=!0}else b=!1}b&&t(c.properties)&&(c=c.properties);if(Om(c)){b=this;for(var f in c)d=c[f],b=O("Element.set",b,f,d)}else if(c instanceof M&&bn("Element.setMulti"))b=O("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)f=arguments[c],d=arguments[c+1],b=O("Element.set",b,f,d)}return Jm(this,b)};R.prototype.set=R.prototype.set;var S=function(a,b,c,d){if(!(this instanceof S))return Im(S,arguments);if(!("type"in a)){var e=P(S,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}mn();e=null!=b||null!=c||null!=d;if(a instanceof M&&!(a instanceof S&&a.pb)){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.I,a.args,a.T)}else{a instanceof S&&(a=a.encode());if(!nn(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));M.call(this,
|
|
null,null);this.pb=a.type;this.bh=null!=a.coordinates?Pb(a.coordinates):null;this.Ch=a.geometries||null;if(null!=b)this.dc=b;else if("crs"in a)if(t(a.crs)&&"name"==a.crs.type&&t(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.dc=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new ti).xa(a.crs));this.uc=c;void 0===this.uc&&"geodesic"in a&&(this.uc=!!a.geodesic);this.sc=d;void 0===this.sc&&"evenOdd"in a&&(this.sc=!!a.evenOdd)}};x(S,M);w("ee.Geometry",S);
|
|
var on=!1,mn=function(){on||(cn(S,"Geometry","Geometry"),on=!0)},pn=function(a,b){if(!(this instanceof pn))return qn(pn,arguments);var c=rn(pn,"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(pn,S);S.Point=pn;var sn=function(a,b){if(!(this instanceof sn))return qn(sn,arguments);S.call(this,rn(sn,"MultiPoint",2,arguments))};x(sn,S);S.MultiPoint=sn;
|
|
var tn=function(a,b,c,d){if(!(this instanceof tn))return qn(tn,arguments);var e=rn(tn,"Rectangle",2,arguments);if(!(e instanceof M)){var g=e.coordinates;if(2!=g.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var f=g[0][0],l=g[0][1],m=g[1][0];g=g[1][1];e.coordinates=[[[f,g],[f,l],[m,l],[m,g]]];e.type="Polygon"}S.call(this,e)};x(tn,S);S.Rectangle=tn;
|
|
var un=function(a,b,c,d){if(!(this instanceof un))return qn(un,arguments);var e=[a,b,c,d];if(vn(e)){var g;return(g=new N("GeometryConstructors.BBox")).call.apply(g,fa(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=wn(a),c=wn(c),c<a&&(c+=360));S.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(un,tn);S.BBox=un;var wn=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},xn=function(a,b,c,d){if(!(this instanceof xn))return qn(xn,arguments);S.call(this,rn(xn,"LineString",2,arguments))};x(xn,S);S.LineString=xn;var yn=function(a,b,c,d){if(!(this instanceof yn))return qn(yn,arguments);S.call(this,rn(yn,"LinearRing",2,arguments))};
|
|
x(yn,S);S.LinearRing=yn;var zn=function(a,b,c,d){if(!(this instanceof zn))return qn(zn,arguments);S.call(this,rn(zn,"MultiLineString",3,arguments))};x(zn,S);S.MultiLineString=zn;var An=function(a,b,c,d,e){if(!(this instanceof An))return qn(An,arguments);S.call(this,rn(An,"Polygon",3,arguments))};x(An,S);S.Polygon=An;var Bn=function(a,b,c,d,e){if(!(this instanceof Bn))return qn(Bn,arguments);S.call(this,rn(Bn,"MultiPolygon",4,arguments))};x(Bn,S);S.MultiPolygon=Bn;
|
|
S.prototype.encode=function(a){if(!this.pb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return M.prototype.encode.call(this,a)}a={type:this.pb};"GeometryCollection"==this.pb?a.geometries=this.Ch:a.coordinates=this.bh;null!=this.dc&&(a.crs={type:"name",properties:{name:this.dc}});null!=this.uc&&(a.geodesic=this.uc);null!=this.sc&&(a.evenOdd=this.sc);return a};
|
|
S.prototype.ke=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};S.prototype.toGeoJSON=S.prototype.ke;S.prototype.wg=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new ti).xa(this.ke())};S.prototype.toGeoJSONString=S.prototype.wg;S.prototype.xa=function(a){return(void 0===a?0:a)?Rk(this):Zk(this)};S.prototype.serialize=S.prototype.xa;
|
|
S.prototype.toString=function(){return"ee.Geometry("+this.wg()+")"};
|
|
S.prototype.oa=function(a){if(!this.pb){if(!a)throw Error("Must specify a serializer when encoding a computed geometry.");return M.prototype.oa.call(this,a)}var b={},c="";"GeometryCollection"===this.pb?(b.geometries=this.Ch.map(function(e){return new S(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.bh,c="GeometryConstructors."+this.pb);null!=this.dc&&(b.crs="string"===typeof this.dc?(new N("Projection")).call(this.dc):this.dc);var d="Point"!==this.pb&&"MultiPoint"!==this.pb;null!=
|
|
this.uc&&d&&(b.geodesic=this.uc);null!=this.sc&&(b.evenOdd=this.sc);return(new N(c)).apply(b).oa(a)};
|
|
var nn=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(!nn(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},rn=function(a,b,c,d){a=En(a,d);if(vn(a.coordinates)||null!=a.crs||null!=a.maxError)return(new N("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=Fn(c,a.coordinates);(b=Xa(["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(Va(b,Mm))return{coordinates:$a(b)};a=P(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Db(a,function(c){return null!=c})},vn=function(a){return Array.isArray(a)?Ua(a,vn):a instanceof M},Fn=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Va(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},qn=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};S.prototype.name=function(){return"Geometry"};var U=function(a){if(!(this instanceof U))return Im(U,arguments);if(a instanceof U)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 U(a[0]);M.call(this,new N("Filter.and"),{filters:a})}else if(a instanceof M)M.call(this,a.I,a.args,a.T);else if(void 0===a)M.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(U,M);w("ee.Filter",U);
|
|
var Hn=!1,Gn=function(){Hn||(cn(U,"Filter","Filter"),Hn=!0)},In={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};U.prototype.wc=function(){return O("Filter.not",this)};U.prototype.not=U.prototype.wc;var Jn=function(a,b){var c=P(Jn,arguments);return O("Filter.equals",c.name,c.value)};U.eq=Jn;var Kn=function(a,b){var c=P(Kn,arguments);return Jn(c.name,c.value).wc()};U.neq=Kn;
|
|
var Ln=function(a,b){var c=P(Ln,arguments);return O("Filter.lessThan",c.name,c.value)};U.lt=Ln;var Mn=function(a,b){var c=P(Mn,arguments);return Ln(c.name,c.value).wc()};U.gte=Mn;var Nn=function(a,b){var c=P(Nn,arguments);return O("Filter.greaterThan",c.name,c.value)};U.gt=Nn;var On=function(a,b){var c=P(On,arguments);return Nn(c.name,c.value).wc()};U.lte=On;var Pn=function(a){return O("Filter.and",Array.prototype.slice.call(arguments))};U.and=Pn;var Qn=function(a){return O("Filter.or",Array.prototype.slice.call(arguments))};
|
|
U.or=Qn;var Rn=function(a,b){var c=P(Rn,arguments);c=O("DateRange",c.start,c.end);return Wm("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};U.date=Rn;var Sn=function(a,b,c,d){var e=P(Sn,arguments);return Wm("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};U.inList=Sn;var Tn=function(a,b){return Wm("Filter.intersects",{leftField:".all",rightValue:O("Feature",a),maxError:b})};U.bounds=Tn;
|
|
U.prototype.name=function(){return"Filter"};var Un=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in In))throw Error("Unknown filtering operator: "+b);a=O("Filter."+In[b],a,c);return d?a.wc():a};U.metadata=Un;var V=function(a,b,c){R.call(this,a,b,c);Vn()};x(V,R);w("ee.Collection",V);var Wn=!1,Vn=function(){Wn||(cn(V,"Collection","Collection"),cn(V,"AggregateFeatureCollection","Collection","aggregate_"),Wn=!0)};V.prototype.filter=function(a){a=P(V.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return Jm(this,O("Collection.filter",this,a))};V.prototype.filter=V.prototype.filter;
|
|
V.prototype.kf=function(a,b,c){var d=P(V.prototype.kf,arguments);return this.filter(Un(d.name,d.operator,d.value))};V.prototype.filterMetadata=V.prototype.kf;V.prototype.wh=function(a){return this.filter(Tn(a))};V.prototype.filterBounds=V.prototype.wh;V.prototype.jf=function(a,b){var c=P(V.prototype.jf,arguments);return this.filter(Rn(c.start,c.end))};V.prototype.filterDate=V.prototype.jf;
|
|
V.prototype.limit=function(a,b,c){var d=P(V.prototype.limit,arguments);return Jm(this,O("Collection.limit",this,d.max,d.property,d.ascending))};V.prototype.limit=V.prototype.limit;V.prototype.sort=function(a,b){var c=P(V.prototype.sort,arguments);return Jm(this,O("Collection.limit",this,void 0,c.property,c.ascending))};V.prototype.sort=V.prototype.sort;V.prototype.name=function(){return"Collection"};V.prototype.elementType=function(){return R};
|
|
V.prototype.map=function(a,b){var c=this.elementType();return Jm(this,O("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.Lh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return O("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};V.prototype.iterate=V.prototype.Lh;var W=function(a,b){if(!(this instanceof W))return Im(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)");Xn();if(a instanceof S||null===a)R.call(this,new N("Feature"),{geometry:a,metadata:b||null});else if(a instanceof M)R.call(this,a.I,a.args,a.T);else if("Feature"==a.type){var c=a.properties||{};if("id"in a){if("system:index"in
|
|
c)throw Error('Can\'t specify both "id" and "system:index".');c=Ob(c);c["system:index"]=a.id}R.call(this,new N("Feature"),{geometry:new S(a.geometry),metadata:c})}else R.call(this,new N("Feature"),{geometry:new S(a),metadata:b||null})};x(W,R);w("ee.Feature",W);var Yn=!1,Xn=function(){Yn||(cn(W,"Feature","Feature"),Yn=!0)};W.prototype.U=function(a){return W.L.U.call(this,a)};W.prototype.getInfo=W.prototype.U;
|
|
W.prototype.getMap=function(a,b){var c=P(W.prototype.getMap,arguments);return O("Collection",[this]).getMap(c.visParams,c.callback)};W.prototype.getMap=W.prototype.getMap;W.prototype.name=function(){return"Feature"};var gm=function(a){var b={},c=Zn(a.element,a);c=$n(c,a,b);b.element=c;return b},hm=function(a){var b={},c=a.element.map(function(d){d=Zn(d,a);return $n(d,a,b)});b.element=c;return b},$n=function(a,b,c){var d={},e=!1,g=["maxDimension","width","height","scale"];Cb(b,function(f,l){if(null!=f)switch(l){case "dimensions":l="string"===typeof f?f.split("x").map(Number):Array.isArray(f)?f:"number"===typeof f?[f]:[];if(1===l.length)d.maxDimension=l[0];else if(2===l.length)d.width=l[0],d.height=l[1];else throw Error("Invalid dimensions "+
|
|
f);break;case "dimensions_consumed":e=!0;break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof tn)){l=f;if("string"===typeof f)try{l=JSON.parse(f)}catch(m){l=f.split(/\s*,\s*/).map(Number)}if(Array.isArray(l)){if(l.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");f=new tn(l,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":null!=
|
|
d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof S)){l=f;if("string"===typeof f)try{l=JSON.parse(f)}catch(m){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(Array.isArray(l))f=new An(l,null,!1);else if(t(l))f=new S(l,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=f;break;case "scale":d.scale=Number(f);break;default:c[l]=f}});Mb(d)||(d.input=a,a=g.some(function(f){return f in d})||e?Wm("Image.clipToBoundsAndScale",
|
|
d):Wm("Image.clip",d));return a},Zn=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=ao(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=Wm("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 N("Projection")).call(c,d),b.region=new tn([0,
|
|
0,e[0],e[1]],c,!1))}}else a=Wm("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},ao=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Va(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.");},co=function(a,b){var c={};b=bo(b,c);Mb(b)||(b.image=a,a=Wm("Image.visualize",
|
|
b));c.image=a;return c},bo=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Cb(a,function(e,g){Xa(c,g)?d[g]=e:b[g]=e});return d},Ll=function(a,b){b=Object.assign({},b);var c=function(e){var g={};["crs","crs_transform","dimensions","region"].forEach(function(f){f in e&&(g[f]=e[f])});null!=e.scale&&null==e.dimensions&&(g.scale=e.scale);return g},d=function(e){var g=e.id;if(void 0===g)throw Error("Each band dictionary must have an id.");g=a.select(g);
|
|
var f=c(b);e=c(e);e=c(Object.assign(f,e));g=Zn(g,e);return g=$n(g,e,{})};"ZIPPED_GEO_TIFF_PER_BAND"===b.format&&b.bands&&b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,g){return O("Image.addBands",e,g,null,!0)},d.shift())):(d=c(b),a=Zn(a,d),a=$n(a,d,{}));return a};var L=function(a){if(!(this instanceof L))return Im(L,arguments);if(a instanceof L)return a;eo();var b=arguments.length;if(0==b||1==b&&void 0===a)R.call(this,new N("Image.mask"),{image:new L(0),mask:new L(0)});else if(1==b)if(Mm(a))R.call(this,new N("Image.constant"),{value:a});else if(Nm(a))R.call(this,new N("Image.load"),{id:a});else{if(Array.isArray(a))return fo(Ta(a,function(d){return new L(d)}));if(a instanceof M)"Array"==a.name()?R.call(this,new N("Image.constant"),{value:a}):R.call(this,a.I,
|
|
a.args,a.T);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(Nm(b)&&Mm(c))R.call(this,new N("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 go=!1,eo=function(){go||(cn(L,"Image","Image"),go=!0)};L.prototype.U=function(a){return L.L.U.call(this,a)};
|
|
L.prototype.getInfo=L.prototype.U;L.prototype.getMap=function(a,b){var c=this,d=P(L.prototype.getMap,arguments),e=co(this,d.visParams);if(d.callback){var g=d.callback;Cl(e,function(f,l){f=f?Object.assign(f,{image:c}):void 0;g(f,l)})}else return d=Cl(e),d.image=this,d};L.prototype.getMap=L.prototype.getMap;L.prototype.ub=function(a,b){var c=P(L.prototype.ub,arguments),d=c.params?Ob(c.params):{};d.image=this;if(c.callback){var e=c.callback;Ml(d,function(g,f){g?e(Nl(g)):e(null,f)})}else return Nl(Ml(d))};
|
|
L.prototype.getDownloadURL=L.prototype.ub;L.prototype.Id=function(a,b){var c=P(L.prototype.ub,arguments),d=c.params?Ob(c.params):{},e={},g=Zn(this,d);g=$n(g,d,e);d=co(g,e);return c.callback?(Hl(d,c.callback),null):Hl(d)};L.prototype.getThumbId=L.prototype.Id;L.prototype.sf=function(a,b){var c=P(L.prototype.sf,arguments);if(c.callback)this.Id(c.params,function(d,e){var g="";if(void 0===e)try{g=Kl(d)}catch(f){e=String(f.message)}c.callback(g,e)});else return Kl(this.Id(c.params))};
|
|
L.prototype.getThumbURL=L.prototype.sf;var ho=function(a,b,c){var d=P(ho,arguments);return fo([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};L.rgb=ho;var io=function(a){return fo(Array.prototype.slice.call(arguments),null)};L.cat=io;var fo=function(a,b){if(0==a.length)return O("Image.constant",[]);for(var c=new L(a[0]),d=1;d<a.length;d++)c=O("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||Nm(b[0])||Mm(b[0])){for(var d=0;d<b.length;d++)if(!(Nm(b[d])||Mm(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 Wm("Image.select",c)};L.prototype.select=L.prototype.select;
|
|
L.prototype.l=function(a,b){var c=P(L.prototype.l,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var g=c.map,f;for(f in g)d.push(f),e[f]=new L(g[f])}var l=O("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Qm;c.encode=function(m){return l.encode(m)};c.Cd=function(m,q){return ak(al(m,l),q)};c.Z=function(){return{name:"",args:Ta(d,function(m){return{name:m,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 O("Image.clip",this,a)};L.prototype.clip=L.prototype.clip;L.prototype.ri=function(a){var b=1!=arguments.length||Nm(arguments[0])?Array.from(arguments):arguments[0];return O("Image.rename",this,b)};L.prototype.rename=L.prototype.ri;L.prototype.name=function(){return"Image"};var jo=function(a){if(this instanceof jo){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof jo)return a}else return Im(jo,arguments);ko();if(Array.isArray(a))M.call(this,null,null),this.Xc=a;else if(a instanceof M)M.call(this,a.I,a.args,a.T),this.Xc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(jo,M);w("ee.List",jo);var lo=!1,ko=function(){lo||(cn(jo,"List","List"),lo=!0)};
|
|
jo.prototype.encode=function(a){return Array.isArray(this.Xc)?Ta(this.Xc,function(b){return a(b)}):jo.L.encode.call(this,a)};jo.prototype.oa=function(a){return Array.isArray(this.Xc)?Wj(al(a,this.Xc)):jo.L.oa.call(this,a)};jo.prototype.name=function(){return"List"};var X=function(a,b){if(!(this instanceof X))return Im(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)");mo();a instanceof S&&(a=new W(a));a instanceof W&&(a=[a]);if(Nm(a)){var c={tableId:a};b&&(c.geometryColumn=b);V.call(this,new N("Collection.loadTable"),c)}else if(Array.isArray(a))V.call(this,new N("Collection"),{features:Ta(a,function(d){return new W(d)})});else if(a instanceof jo)V.call(this,
|
|
new N("Collection"),{features:a});else if(a&&"object"===typeof a&&"FeatureCollection"===a.type)V.call(this,new N("Collection"),{features:a.features.map(function(d){return new W(d)})});else if(a instanceof M)V.call(this,a.I,a.args,a.T);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(X,V);w("ee.FeatureCollection",X);var no=!1,mo=function(){no||(cn(X,"FeatureCollection","FeatureCollection"),no=!0)};
|
|
X.prototype.getMap=function(a,b){var c=P(X.prototype.getMap,arguments),d=Wm("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.U=function(a){return X.L.U.call(this,a)};X.prototype.getInfo=X.prototype.U;
|
|
X.prototype.ub=function(a,b,c,d){var e=P(X.prototype.ub,arguments),g={table:this};e.format&&(g.format=e.format.toUpperCase());e.filename&&(g.filename=e.filename);e.selectors&&(g.selectors=e.selectors);if(e.callback)Ol(g,function(f,l){f?e.callback(Pl(f)):e.callback(null,l)});else return Pl(Ol(g))};X.prototype.getDownloadURL=X.prototype.ub;
|
|
X.prototype.select=function(a,b,c){if(Nm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(g){return g.select(d)})}var e=P(X.prototype.select,arguments);return this.map(function(g){return g.select(e)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"FeatureCollection"};X.prototype.elementType=function(){return W};var Z=function(a){if(!(this instanceof Z))return Im(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");oo();a instanceof L&&(a=[a]);if(Nm(a))V.call(this,new N("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new N("ImageCollection.fromImages"),{images:Ta(a,function(b){return new L(b)})});else if(a instanceof jo)V.call(this,new N("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof M)V.call(this,a.I,a.args,a.T);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,V);w("ee.ImageCollection",Z);var po=!1,oo=function(){po||(cn(Z,"ImageCollection","ImageCollection"),cn(Z,"reduce","ImageCollection"),po=!0)};Z.prototype.qf=function(a,b){var c=P(Z.prototype.qf,arguments);return qo(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.qf;
|
|
Z.prototype.uf=function(a,b){var c=P(Z.prototype.uf,arguments);return qo(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.uf;
|
|
var qo=function(a,b,c,d){var e={};a=a.map(function(l){l=Zn(l,b.params);return $n(l,b.params,e)});var g={},f=bo(e,g);g.imageCollection=a.map(function(l){f.image=l;return Wm("Image.visualize",f)});null!=b.params.dimensions&&(g.dimensions=b.params.dimensions);if(g.format){if(!Ua(c,function(l){return l.toLowerCase()==g.format.toLowerCase()}))throw Error("Invalid format specified.");}else g.format=c[0];c=Hl;switch(d){case "video":c=Il;break;case "filmstrip":c=Jl}if(b.callback)c(g,function(l,m){var q="";
|
|
if(void 0===m)try{q=Kl(l)}catch(v){m=String(v.message)}b.callback(q,m)});else return Kl(c(g))};Z.prototype.getMap=function(a,b){var c=P(Z.prototype.getMap,arguments),d=O("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.U=function(a){return Z.L.U.call(this,a)};Z.prototype.getInfo=Z.prototype.U;
|
|
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(O("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return L};var ro=function(a){this.We=a;this.id=null},to=function(a){var b={element:so(a)};Object.assign(b,a);b=Db(b,function(c){return null!=c});return new ro(b)};
|
|
ro.prototype.start=function(a,b){var c=this;z(this.We,"Task config must be specified for tasks to be started.");if(a){var d=function(){Ma(c.id);fm(c.id,c.We,function(e,g){g?b(g):a()})};this.id?d():Ql(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||Ql(1)[0],Ma(this.id,"Failed to obtain task ID."),fm(this.id,this.We)};ro.prototype.start=ro.prototype.start;var uo=function(a,b,c,d,e,g,f,l,m,q,v){var B=P(uo,arguments);B=vo(B,"ASSET","EXPORT_IMAGE");return to(B)};
|
|
w("module$contents$ee$batch_Export.image.toAsset",uo);var wo=function(a,b,c,d,e,g,f,l,m,q,v,B,D,Q,Y){var T=P(wo,arguments);T=vo(T,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return to(T)};w("module$contents$ee$batch_Export.image.toCloudStorage",wo);var xo=function(a,b,c,d,e,g,f,l,m,q,v,B,D,Q,Y){var T=P(xo,arguments);T=vo(T,"DRIVE","EXPORT_IMAGE");return to(T)};w("module$contents$ee$batch_Export.image.toDrive",xo);
|
|
var yo=function(a,b,c,d,e,g,f,l,m,q,v,B,D){var Q=P(yo,arguments);Q=vo(Q,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return to(Q)};w("module$contents$ee$batch_Export.map.toCloudStorage",yo);var zo=function(a,b,c,d,e,g,f){var l=P(zo,arguments);l=vo(l,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return to(l)};w("module$contents$ee$batch_Export.table.toCloudStorage",zo);var Ao=function(a,b,c,d,e,g,f){var l=P(Ao,arguments);l.type="EXPORT_FEATURES";l=vo(l,"DRIVE","EXPORT_FEATURES");return to(l)};
|
|
w("module$contents$ee$batch_Export.table.toDrive",Ao);var Bo=function(a,b,c,d){var e=P(Bo,arguments);e=vo(e,"ASSET","EXPORT_FEATURES");return to(e)};w("module$contents$ee$batch_Export.table.toAsset",Bo);var Co=function(a,b,c,d,e,g,f){var l=P(Co,arguments);l=vo(l,"FEATURE_VIEW","EXPORT_FEATURES");return to(l)};w("module$contents$ee$batch_Export.table.toFeatureView",Co);var Do=function(a,b,c,d,e,g,f,l,m,q,v,B){var D=P(Do,arguments);D=vo(D,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return to(D)};
|
|
w("module$contents$ee$batch_Export.video.toCloudStorage",Do);var Eo=function(a,b,c,d,e,g,f,l,m,q,v,B){var D=P(Eo,arguments);D=vo(D,"DRIVE","EXPORT_VIDEO");return to(D)};w("module$contents$ee$batch_Export.video.toDrive",Eo);var Fo=function(a,b,c,d,e,g,f,l,m,q,v,B,D,Q,Y,T,Ib,Eq,Fq,Gq){var qj=P(Fo,arguments);qj=vo(qj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return to(qj)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",Fo);
|
|
var Go=function(a,b,c){var d=P(Go,arguments);d=vo(d,"ASSET","EXPORT_CLASSIFIER");return to(d)};w("module$contents$ee$batch_Export.classifier.toAsset",Go);
|
|
var so=function(a){var b=function(d){return d in a},c=Ho.find(b);z(1===Wa(Ho,b),'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof L||b instanceof X||b instanceof Z||b instanceof R||b instanceof M))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection, ee.Element or ee.ComputedObject.");delete a[c];return b},vo=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=Io(e,a),delete e.formatOptions,Object.assign(e,a));e=Jo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
|
|
delete e.crsTransform);break;case "EXPORT_TILES":b=Jo(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=Jo(e,b);break;case "EXPORT_VIDEO":e=Ko(e);e=Jo(e,b);null!=e.crsTransform&&
|
|
(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=Ko(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=Jo(e,b);break;case "EXPORT_CLASSIFIER":e=Jo(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.ke();else if("string"===typeof b)try{b=Oa(JSON.parse(b))}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");
|
|
}if(!(t(b)&&"type"in b))try{new xn(b)}catch(g){try{new An(b)}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}}b=JSON.stringify(b);d.region=b}return e},Jo=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;case "FEATURE_VIEW":a.mapName=a.mapName||"";break;case "BIGQUERY":a.table=a.table||"";break;default:b=ta(a.folder);if(!Xa(["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},Lo={GEO_TIFF:["cloudOptimized","fileDimensions","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
|
|
Mo={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},Ko=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},Io=function(a,b){var c=a.formatOptions;if(null==c)return{};
|
|
if(Object.keys(a).some(function(m){return null!==c&&m in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");a=Mo[b];for(var d=Lo[b],e={},g=n(Object.entries(c)),f=g.next();!f.done;f=g.next()){var l=n(f.value);f=l.next().value;l=l.next().value;if(!Xa(d,f))throw Error('"'+f+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+f[0].toUpperCase()+f.substring(1)]=Array.isArray(l)?l.join():l}return e},
|
|
Ho=["image","collection","classifier"];var No=function(a){if(!(this instanceof No))return Im(No,arguments);if(a instanceof No)return a;Oo();if("number"===typeof a)M.call(this,null,null),this.Zc=a;else if(a instanceof M)M.call(this,a.I,a.args,a.T),this.Zc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(No,M);w("ee.Number",No);var Po=!1,Oo=function(){Po||(cn(No,"Number","Number"),Po=!0)};No.prototype.encode=function(a){return"number"===typeof this.Zc?this.Zc:No.L.encode.call(this,a)};
|
|
No.prototype.oa=function(a){return"number"===typeof this.Zc?Wj(al(a,this.Zc)):No.L.oa.call(this,a)};No.prototype.name=function(){return"Number"};var Qo=function(a){if(!(this instanceof Qo))return Im(Qo,arguments);if(a instanceof Qo)return a;Ro();if("string"===typeof a)M.call(this,null,null),this.kd=a;else if(a instanceof M)this.kd=null,a.I&&"String"==a.I.Z().returns?M.call(this,a.I,a.args,a.T):M.call(this,new N("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(Qo,M);w("ee.String",Qo);var So=!1,Ro=function(){So||(cn(Qo,"String","String"),So=!0)};
|
|
Qo.prototype.encode=function(a){return"string"===typeof this.kd?this.kd:Qo.L.encode.call(this,a)};Qo.prototype.oa=function(a){return"string"===typeof this.kd?Wj(al(a,this.kd)):Qo.L.oa.call(this,a)};Qo.prototype.name=function(){return"String"};var To=function(a,b){if(!(this instanceof To))return Im(To,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var g=d[e],f=g.type;c.push(Uo(f in Km?Km[f]:null,g.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.zb=Vo(a,c,b);this.Qg=b.apply(null,c)};x(To,Qm);w("ee.CustomFunction",To);To.prototype.encode=function(a){return{type:"Function",argumentNames:Ta(this.zb.args,function(b){return b.name}),body:a(this.Qg)}};
|
|
To.prototype.oa=function(a){return bk(this.zb.args.map(function(b){return b.name}),al(a,this.Qg))};To.prototype.Cd=function(a,b){return ak(al(a,this),b)};To.prototype.Z=function(){return this.zb};
|
|
var Uo=function(a,b){a=a||Object;if(!(a.prototype instanceof M))if(a&&a!=Object)if(a==String)a=Qo;else if(a==Number)a=No;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.I=null;this.T=d};c.prototype=a.prototype;return new c(b)},Wo=function(a,b){b={name:"",returns:"Object",args:Ta(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 To(b,a)},Vo=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].T&&d.push(e);if(0===d.length)return a;c="_MAPPING_VAR_"+function(l){var m=function(v){return v.map(q).reduce(function(B,D){return B+D},0)},q=function(v){return v.Wa?1:v.Ha?m(v.Ha.values):v.Ia?m(Object.values(v.Ia.values)):v.Aa?m(Object.values(v.Aa.arguments)):0};return m(Object.values(l.values))}(Vk(c.apply(null,b),"<unbound>"))+"_";for(e=0;e<
|
|
d.length;e++){var g=d[e],f=c+e;b[g].T=f;a.args[g].name=f}return a};var Xo=function(a,b){if(!(this instanceof Xo))return Im(Xo,arguments);if(a instanceof Xo)return a;Yo();var c=P(Xo,arguments);a=c.date;c=c.tz;var d=new N("Date"),e={},g=null;if(Nm(a)){if(e.value=a,c)if(Nm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(Mm(a))e.value=a;else if(va(a))e.value=Math.floor(a.getTime());else if(a instanceof M)a.I&&"Date"==a.I.Z().returns?(d=a.I,e=a.args,g=a.T):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);M.call(this,d,e,g)};x(Xo,M);w("ee.Date",Xo);var Zo=!1,Yo=function(){Zo||(cn(Xo,"Date","Date"),Zo=!0)};Xo.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var ap=function(a){return $o(JSON.parse(a))};w("ee.Deserializer.fromJSON",ap);var $o=function(a){if("result"in a&&"values"in a)return bp(a);var b={};if(t(a)&&"CompoundValue"===a.type){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],g=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=cp(g,b)}a=a.value}return cp(a,b)};w("ee.Deserializer.decode",$o);
|
|
var cp=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Ta(a,function(e){return cp(e,b)});if(!t(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 Uo(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
a);return new Xo(a/1E3);case "Bytes":return dp(new Ke({rb:a}),a);case "Invocation":return c="functionName"in a?Vm(a.functionName):cp(a["function"],b),a=Eb(a.arguments,function(e){return cp(e,b)}),ep(c,a);case "Dictionary":return Eb(a.value,function(e){return cp(e,b)});case "Function":var d=cp(a.body,b);a={name:"",args:Ta(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new To(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);}},dp=function(a,b){var c=function(){};p(c,Uj);c.prototype.encode=function(){return b};c.prototype.oa=function(){return a};return new c},ep=function(a,b){if(a instanceof Qm)return a.apply(b);if(a instanceof M){var c=function(){return Qm.apply(this,arguments)||this};p(c,Qm);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Cd=function(d,e){return ak(al(d,a),
|
|
e)};return new M(new c,b)}throw Error("Invalid function value");},fp=function(a){return bp(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",fp);
|
|
var bp=function(a){var b=Tc($e,a),c={},d=function(f,l){if(!(f in c)){if(!(f in b.values))throw Error("Cannot find "+l+" "+f);c[f]=e(b.values[f])}return c[f]},e=function(f){if(null!==f.jb)f=f.jb;else if(null!==f.Ha)f=f.Ha.values.map(e);else if(null!==f.Ia)f=Eb(f.Ia.values,e);else if(null!==f.Pb)f=Uo(Object,f.Pb);else if(null!==f.Wa)f=g(f.Wa);else if(null!==f.Aa){var l=f.Aa;f=l.Xa?d(l.Xa,"function"):Vm(l.functionName);l=Eb(l.arguments,e);f=ep(f,l)}else f=null!==f.rb?dp(new Ke({rb:f.rb}),f.rb):null!==
|
|
f.Xb?dp(new Ke({Xb:f.Xb}),f.Xb):null!==f.Qa?d(f.Qa,"reference"):null;return f},g=function(f){var l=d(f.body,"function body");f={args:f.nc.map(function(m){return{name:m,type:"Object",optional:!1}}),name:"",returns:"Object"};return new To(f,function(){return l})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",bp);var gp=function(a){if(!(this instanceof gp))return Im(gp,arguments);if(a instanceof gp)return a;hp();Om(a)?(M.call(this,null,null),this.Nc=a):(a instanceof M&&a.I&&"Dictionary"==a.I.Z().returns?M.call(this,a.I,a.args,a.T):M.call(this,new N("Dictionary"),{input:a},null),this.Nc=null)};x(gp,M);w("ee.Dictionary",gp);var ip=!1,hp=function(){ip||(cn(gp,"Dictionary","Dictionary"),ip=!0)};gp.prototype.encode=function(a){return null!==this.Nc?a(this.Nc):gp.L.encode.call(this,a)};
|
|
gp.prototype.oa=function(a){return null!==this.Nc?Wj(al(a,this.Nc)):gp.L.oa.call(this,a)};gp.prototype.name=function(){return"Dictionary"};var jp={};w("ee.Terrain",jp);jp.Af=!1;jp.initialize=function(){jp.Af||(cn(jp,"Terrain","Terrain"),jp.Af=!0)};jp.reset=function(){dn(jp);jp.Af=!1};var pp=function(a,b,c,d,e,g){if("ready"!=kp||a||b){var f=null!=c;if(d)if(f)lp.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==kp&&f)mp.push(c);else if(kp="loading",kj(a,b,e,g),f)mp.push(c),Zm(np,op);else try{Zm(),np()}catch(l){throw op(l),l;}}else c&&c()};w("ee.initialize",pp);
|
|
var sp=function(){kp="not_ready";Jj=Ij=vj=null;Hj=!1;Xm=null;Ym={};dn(Xo);Zo=!1;dn(gp);ip=!1;dn(R);ln=!1;dn(L);go=!1;dn(W);Yn=!1;dn(V);Wn=!1;dn(Z);po=!1;dn(X);no=!1;dn(U);Hn=!1;dn(S);on=!1;dn(jo);lo=!1;dn(No);Po=!1;dn(Qo);So=!1;jp.reset();for(var a=r.ee,b=0;b<qp.length;b++){var c=qp[b];dn(a[c]);delete a[c]}qp=[];Km=a;a=rp;for(var d in a)delete a[d]};w("ee.reset",sp);var tp={Fl:"not_ready",LOADING:"loading",Gl:"ready"};w("ee.InitState",tp);w("ee.InitState.NOT_READY","not_ready");
|
|
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var kp="not_ready",mp=[],lp=[];w("ee.TILE_SIZE",256);var qp=[],rp={};w("ee.Algorithms",rp);var up=function(a,b){"string"===typeof a&&(a=new N(a));return Qm.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",up);var vp=function(a,b){"string"===typeof a&&(a=new N(a));return a.apply(b)};w("ee.apply",vp);
|
|
var np=function(){if("loading"==kp){try{Yo();hp();kn();eo();Xn();Vn();oo();mo();Gn();mn();ko();Oo();Ro();jp.initialize();var a=$m(),b={},c={},d;for(d in a){var e=void 0;e=-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d;b[e]=!0;var g=a[d].returns.replace(/<.*>/,"");c[g]=!0}var f=r.ee,l;for(l in b)l in c&&!(l in f)&&(f[l]=wp(l),qp.push(l),a[l]?(f[l].signature=a[l],f[l].signature.isConstructor=!0,Ym[l]=!0):f[l].signature={});Km=f;xp()}catch(m){op(m);return}kp="ready";for(lp=[];0<mp.length;)mp.shift()()}},
|
|
op=function(a){if("loading"==kp)for(kp="not_ready",mp=[];0<lp.length;)lp.shift()(a)},xp=function(){var a=an();Hb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=rp;for(e.signature={};1<b.length;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=bb(b,1)}g=function(f){return Um(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=u(c.toString,c);e[b[0]]=g}})},wp=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),
|
|
g=1==e.length;if(g&&e[0]instanceof d)return e[0];if(!(this instanceof d))return Im(d,e);d=bn(a);var f=!(e[0]instanceof M),l=!1;d&&(g?f?l=!0:e[0].I&&e[0].I.Z().returns==d.Z().returns||(l=!0):l=!0);if(l)e=Pm(e,d.Z())?e[0]:Sm(d,e),M.call(this,d,Tm(d,e));else{if(!g)throw Error("Too many arguments for ee."+a+"(): "+e);if(f)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];M.call(this,e.I,e.args,e.T)}};x(b,M);b.prototype.name=function(){return a};cn(b,a,a);return b};
|
|
Rm=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 V?O("Feature",O("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.I,a.args,a.T);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof X?O("Collection.geometry",a):new S(a);case "FeatureCollection":case "Collection":return a instanceof V?
|
|
a:new X(a);case "ImageCollection":return new Z(a);case "Filter":return new U(a);case "Algorithm":if("string"===typeof a)return new N(a);if("function"===typeof a){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return Wo(a,c)}if(a instanceof Uj)return a;throw Error("Argument is not a function: "+a);case "String":return Nm(a)||a instanceof Qo||a instanceof M?new Qo(a):a;case "Dictionary":return Om(a)?a:new gp(a);case "List":return new jo(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new No(a);
|
|
default:if(b in c){d=bn(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 yp=function(a,b,c){Kc.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.zh=new wc;this.yh=new wc};p(yp,Kc);yp.prototype.getTile=function(a,b){var c=Lc(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.Ab,this.token].join("/");this.Cb.push(c);this.Ab+=1;var d=mh("DIV");zp(this,b,a,c,d);Ap(this);return d};
|
|
var zp=function(a,b,c,d,e){var g=Wi(Ui);g.open("GET",b,!0);g.responseType="arraybuffer";g.onreadystatechange=u(function(){if(g.readyState===XMLHttpRequest.DONE&&200===g.status){var f=g.response;if(f)f=new Float32Array(f),this.zh.set(c,f),this.yh.set(c,e),Ya(this.Cb,d),Ap(this);else throw this.tg.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},Ap=function(a){a.dispatchEvent(new Mc(a.Cb.length))};yp.prototype.J=function(){this.yh=this.zh=null;Kc.prototype.J.call(this)};
|
|
w("ee.FloatTileOverlay",yp);var Bp=function(){this.fe=new Map};Bp.prototype.clear=function(){this.fe.clear()};var Cp=function(a,b){a.fe.has(b)||a.fe.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.fe.get(b)};var Dp=function(a){y.call(this);this.Vb=a;this.K={}};x(Dp,y);var Ep=[];Dp.prototype.Ya=function(a,b,c,d){Array.isArray(b)||(b&&(Ep[0]=b.toString()),b=Ep);for(var e=0;e<b.length;e++){var g=Zb(a,b[e],c||this.handleEvent,d||!1,this.Vb||this);if(!g)break;this.K[g.key]=g}return this};Dp.prototype.Yc=function(a,b,c,d){return Fp(this,a,b,c,d)};
|
|
var Fp=function(a,b,c,d,e,g){if(Array.isArray(c))for(var f=0;f<c.length;f++)Fp(a,b,c[f],d,e,g);else{b=Yb(b,c,d||a.handleEvent,e,g||a.Vb||a);if(!b)return a;a.K[b.key]=b}return a};Dp.prototype.oe=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.oe(a,b[g],c,d,e);else c=c||this.handleEvent,d=t(d)?!!d.capture:!!d,e=e||this.Vb||this,c=$b(c),d=!!d,b=yb(a)?a.Pc(b,c,d,e):a?(a=bc(a))?a.Pc(b,c,d,e):null:null,b&&(gc(b),delete this.K[b.key])};
|
|
Dp.prototype.gd=function(){Cb(this.K,function(a,b){this.K.hasOwnProperty(b)&&gc(a)},this);this.K={}};Dp.prototype.J=function(){Dp.L.J.call(this);this.gd()};Dp.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Hp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Lb[a.name]):(this.code=a=La(a.code),this.name=Gp(a));Fa.call(this,ud("%s %s",this.name,b))};x(Hp,Fa);
|
|
var Gp=function(a){var b=Kb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Ip={},Lb=(Ip.AbortError=3,Ip.EncodingError=5,Ip.InvalidModificationError=9,Ip.InvalidStateError=7,Ip.NotFoundError=1,Ip.NotReadableError=4,Ip.NoModificationAllowedError=6,Ip.PathExistsError=12,Ip.QuotaExceededError=10,Ip.SecurityError=2,Ip.SyntaxError=8,Ip.TypeMismatchError=11,Ip);var Jp=function(a,b){Ea.call(this,a.type,b);this.La=a};x(Jp,Ea);var Kp=function(){A.call(this);this.ba=new FileReader;this.ba.onloadstart=u(this.rc,this);this.ba.onprogress=u(this.rc,this);this.ba.onload=u(this.rc,this);this.ba.onabort=u(this.rc,this);this.ba.onerror=u(this.rc,this);this.ba.onloadend=u(this.rc,this)};x(Kp,A);h=Kp.prototype;h.abort=function(){try{this.ba.abort()}catch(a){throw new Hp(a,"aborting read");}};h.wb=function(){return this.ba.readyState};h.getError=function(){return this.ba.error&&new Hp(this.ba.error,"reading file")};
|
|
h.rc=function(a){this.dispatchEvent(new Jp(a,this))};h.J=function(){Kp.L.J.call(this);delete this.ba};h.readAsBinaryString=function(a){this.ba.readAsBinaryString(a)};h.readAsArrayBuffer=function(a){this.ba.readAsArrayBuffer(a)};h.readAsText=function(a,b){this.ba.readAsText(a,b)};var Lp=function(a,b){z(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};var Mp=function(a,b){A.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.de=new Bp(a.getUniqueId());this.Bb=new wc;this.Ab=0;this.sg=a;this.lb=new Dp(this);this.radius=0};p(Mp,A);h=Mp.prototype;h.Ne=function(a){return Zb(this,"tile-load",a)};h.Yf=function(a){gc(a)};
|
|
h.Qc=function(){return Np(this,"throttled")+Np(this,"loading")+Np(this,"new")};h.setOpacity=function(a){this.opacity=a;this.Bb.forEach(function(b){Lp(b.ma,this.opacity)},this)};h.getStats=function(){return this.de};
|
|
h.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.Ab++].join("-");e=this.sg.getUniqueId();a=[a,e].join("-");b=this.eh(d,b,c,a);b.tileSize=this.tileSize;Lp(b.ma,this.opacity);this.Bb.set(a,b);Op(this,b);this.dispatchEvent(new Pp(this.Qc()));this.sg.Ef(b,(new Date).getTime()/1E3);return b.ma};h.releaseTile=function(a){var b=this.Bb.get(a.id);this.Bb.remove(a.id);b&&(b.abort(),Da(b))};
|
|
var Op=function(a,b){a.lb.Ya(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.gl,d=(new Date).getTime();Cp(this.de,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new Qp(this.Qc()));break;case "throttled":Cp(this.de,b.zoom).throttleCount++;this.dispatchEvent(new Rp(b.Ea));break;case "failed":Cp(this.de,b.zoom).errorCount++;this.dispatchEvent(new Sp(b.Ea,b.Uk));break;case "aborted":this.dispatchEvent(new Tp(this.Qc()))}})};
|
|
Mp.prototype.J=function(){A.prototype.J.call(this);this.Bb.forEach(Da);this.Bb.clear();this.Bb=null;Da(this.lb);this.sg=this.lb=null};var Np=function(a,b){return Wa(a.Bb.aa(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",Mp);Mp.prototype.removeTileCallback=Mp.prototype.Yf;Mp.prototype.addTileCallback=Mp.prototype.Ne;var Qp=function(){Ea.call(this,"tile-load")};p(Qp,Ea);var Pp=function(){Ea.call(this,"tile-start")};p(Pp,Ea);var Rp=function(){Ea.call(this,"tile-throttle")};
|
|
p(Rp,Ea);var Sp=function(a,b){Ea.call(this,"tile-fail");this.errorMessage=b};p(Sp,Ea);var Tp=function(){Ea.call(this,"tile-abort")};p(Tp,Ea);var Up=function(a,b,c,d){A.call(this);this.sb=a;this.zoom=b;this.ma=c.createElement("div");this.ma.id=d;this.kl=5;this.Zd=function(){};this.ge="new";this.ui=0;this.Cf=!1};p(Up,A);Up.prototype.getDiv=function(){return this.ma};
|
|
var Wp=function(a){if(!a.Cf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");Vp(a,"loading");a.gl=(new Date).getTime();a.bb=new Xi;a.bb.Bc="blob";a.bb.Ya("complete",function(){var b=hj(a.bb),c=a.bb.getStatus();429==c&&Vp(a,"throttled");if(Qi(c)){var d={};Cb(ij(a.bb),function(g,f){d[f.toLowerCase()]=g});a.xl=d;a.Ci=b;a.Oc()}else if(b){var e=new Kp;e.Ya("loadend",function(){a.jd(e.ba.result)});e.readAsText(b)}else a.jd("Failed to load tile.")},
|
|
!1);a.bb.Yc("ready",Ba(Da,a.bb));a.Ea&&a.Ea.endsWith("&profiling=1")&&(a.Ea=a.Ea.replace("&profiling=1",""),a.bb.headers.set("X-Earth-Engine-Computation-Profiling","1"));a.bb.send(a.Ea,"GET")};h=Up.prototype;h.Oc=function(){this.Zd(this);Vp(this,"loaded")};h.Jc=function(){Da(this.bb)};
|
|
h.jd=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.ui>=this.kl?(this.Uk=b(a),Vp(this,"failed")):(this.Jc(),setTimeout(u(function(){this.Ua||(this.Cf=!0,Wp(this),this.Cf=!1)},this),1E3*Math.pow(2,this.ui++)))};h.abort=function(){this.Jc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&Vp(this,this.ge in Xp?"removed":"aborted")};h.getStatus=function(){return this.ge};var Vp=function(a,b){a.ge=b;a.dispatchEvent("status-changed")};
|
|
Up.prototype.J=function(){A.prototype.J.call(this);this.Jc();this.ma.remove();this.Zd=null};var Xp={aborted:!0,failed:!0,loaded:!0,removed:!0};var Yp=function(){y.call(this)};p(Yp,y);var Zp=function(a,b){Mp.call(this,a,b);this.Sg=new wc;this.qh=new wc};p(Zp,Mp);Zp.prototype.eh=function(a,b,c,d){var e=new $p(a,b,c,d);this.lb.Ya(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Sg.set(a,new Float32Array(e.wd)),this.qh.set(a,e.ma))});return e};Zp.prototype.J=function(){Mp.prototype.J.call(this);this.qh=this.Sg=null};w("ee.layers.BinaryOverlay",Zp);var $p=function(a,b,c,d){Up.call(this,a,b,c,d)};p($p,Up);
|
|
$p.prototype.Oc=function(){var a=new Kp;a.Ya("loadend",function(){this.wd=a.ba.result;Up.prototype.Oc.call(this)},void 0,this);a.readAsArrayBuffer(this.Ci)};var aq=function(a){A.call(this);this.Uc={};this.Tc={};this.Vb=new Dp(this);this.X=a;this.Ue=!1};x(aq,A);var bq=["load","abort","error"],cq=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Ue=!1,a.Uc[b]={src:c,dh:null}},dq=function(a,b){delete a.Uc[b];var c=a.Tc[b];c&&(delete a.Tc[b],a.Vb.oe(c,bq,a.di))};
|
|
aq.prototype.start=function(){var a=this.Uc;Hb(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Ua)){if(this.X){var d=this.X;d=(d?new rh(qh(d)):Ga||(Ga=new rh)).Sk("IMG")}else d=new Image;c.dh&&(d.crossOrigin=c.dh);this.Vb.Ya(d,bq,this.di);this.Tc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
aq.prototype.di=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));dq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Ua&&Mb(this.Tc)&&Mb(this.Uc)&&!this.Ue&&(this.Ue=!0,this.dispatchEvent("complete"))}};aq.prototype.J=function(){delete this.Uc;delete this.Tc;Da(this.Vb);aq.L.J.call(this)};var eq=function(a,b){Mp.call(this,a,b)};p(eq,Mp);eq.prototype.eh=function(a,b,c,d){return new fq(a,b,c,d)};w("ee.layers.ImageOverlay",eq);var fq=function(a,b,c,d){Up.call(this,a,b,c,d);this.Zd=gq;this.Hh=this.ga=this.Nd=null;this.ad=""};p(fq,Up);
|
|
fq.prototype.Oc=function(){try{var a=rd(this.Ci);this.ad=pd(a);var b="about:invalid#zClosurez"!==this.ad?this.ad:this.Ea}catch(c){b=this.Ea}this.ga=new aq;cq(this.ga,this.ma.id+"-image",b);this.Hh=Yb(this.ga,hq,function(c){"load"==c.type?(this.Nd=c.target,Up.prototype.Oc.call(this)):this.jd()},void 0,this);this.ga.start()};fq.prototype.Jc=function(){Up.prototype.Jc.call(this);this.ga&&(gc(this.Hh),Da(this.ga))};fq.prototype.J=function(){Up.prototype.J.call(this);this.ad&&URL.revokeObjectURL(this.ad)};
|
|
var gq=function(a){a.ma.appendChild(a.Nd)},hq=["load","abort","error"];var iq=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 jq=function(a,b,c,d){y.call(this);this.Rg=a;this.cc=b;this.ng=d||"";this.Td=c};p(jq,Yp);jq.prototype.Ef=function(a){if(a.zoom<=this.Td)a.Ea=this.Jd(a.sb,a.zoom);else{var b=a.zoom-this.Td,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.sb.x/c),Math.floor(a.sb.y/c));a.Ea=this.Jd(c,a.zoom-b);a.Zd=Ba(kq,this.Td)}var d=u(a.jd,a);a.jd=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?Vp(a,"loaded"):d(e)},a);Wp(a)};
|
|
jq.prototype.getUniqueId=function(){return[this.Rg,this.cc,this.Td,this.ng].join("-")};jq.prototype.Jd=function(a,b){a=iq("https://storage.googleapis.com",this.Rg,this.cc,String(b),String(a.x),String(a.y));this.ng&&(a+=this.ng);return a};
|
|
var kq=function(a,b){if(!b.Nd)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.ma.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.ma.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Nd,c/a*(b.sb.x%a),c/a*(b.sb.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",jq);var lq=function(){this.Na=[];this.Sa=[]};h=lq.prototype;h.enqueue=function(a){this.Sa.push(a)};h.Mc=function(){0===this.Na.length&&(this.Na=this.Sa,this.Na.reverse(),this.Sa=[]);return this.Na.pop()};h.R=function(){return this.Na.length+this.Sa.length};h.isEmpty=function(){return 0===this.Na.length&&0===this.Sa.length};h.clear=function(){this.Na=[];this.Sa=[]};h.contains=function(a){return Xa(this.Na,a)||Xa(this.Sa,a)};
|
|
h.remove=function(a){var b=this.Na;var c=Qa(b,a);0<=c?(Za(b,c),b=!0):b=!1;return b||Ya(this.Sa,a)};h.aa=function(){for(var a=[],b=this.Na.length-1;0<=b;--b)a.push(this.Na[b]);var c=this.Sa.length;for(b=0;b<c;++b)a.push(this.Sa[b]);return a};var mq=function(a,b){y.call(this);this.Vh=a||0;this.Sd=b||10;if(this.Vh>this.Sd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Va=new lq;this.xb=new Fc;this.delay=0;this.Df=null;this.qd()};x(mq,y);mq.prototype.Rc=function(){var a=Date.now();if(!(null!=this.Df&&a-this.Df<this.delay)){for(var b;0<this.Va.R()&&(b=this.Va.Mc(),!this.Nf(b));)this.qd();!b&&this.R()<this.Sd&&(b=this.Xe());b&&(this.Df=a,this.xb.add(b));return b}};
|
|
var nq=function(a,b){return a.xb.remove(b)?(a.Me(b),!0):!1};h=mq.prototype;h.Me=function(a){this.xb.remove(a);this.Nf(a)&&this.R()<this.Sd?this.Va.enqueue(a):this.Ad(a)};h.qd=function(){for(var a=this.Va;this.R()<this.Vh;)a.enqueue(this.Xe());for(;this.R()>this.Sd&&0<this.Va.R();)this.Ad(a.Mc())};h.Xe=function(){return{}};h.Ad=function(a){if("function"==typeof a.Ta)a.Ta();else for(var b in a)a[b]=null};h.Nf=function(a){return"function"==typeof a.Pk?a.Pk():!0};
|
|
h.contains=function(a){return this.Va.contains(a)||this.xb.contains(a)};h.R=function(){return this.Va.R()+this.xb.R()};h.isEmpty=function(){return this.Va.isEmpty()&&this.xb.isEmpty()};h.J=function(){mq.L.J.call(this);if(0<this.xb.R())throw Error("[goog.structs.Pool] Objects not released");delete this.xb;for(var a=this.Va;!a.isEmpty();)this.Ad(a.Mc());delete this.Va};var oq=function(a,b){this.Mh=a;this.qe=b};oq.prototype.getKey=function(){return this.Mh};oq.prototype.clone=function(){return new oq(this.Mh,this.qe)};var pq=function(a){this.Ca=[];if(a)a:{if(a instanceof pq){var b=a.vb();a=a.aa();if(0>=this.R()){for(var c=this.Ca,d=0;d<b.length;d++)c.push(new oq(b[d],a[d]));break a}}else b=Hb(a),a=Gb(a);for(c=0;c<b.length;c++)qq(this,b[c],a[c])}},qq=function(a,b,c){var d=a.Ca;d.push(new oq(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};h=pq.prototype;
|
|
h.remove=function(){var a=this.Ca,b=a.length,c=a[0];if(!(0>=b)){if(1==b)a.length=0;else{a[0]=a.pop();a=0;b=this.Ca;for(var d=b.length,e=b[a];a<d>>1;){var g=2*a+1,f=2*a+2;g=f<d&&b[f].getKey()<b[g].getKey()?f:g;if(b[g].getKey()>e.getKey())break;b[a]=b[g];a=g}b[a]=e}return c.qe}};h.aa=function(){for(var a=this.Ca,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].qe);return b};h.vb=function(){for(var a=this.Ca,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
h.Kc=function(a){return this.Ca.some(function(b){return b.qe==a})};h.Sb=function(a){return this.Ca.some(function(b){return b.getKey()==a})};h.clone=function(){return new pq(this)};h.R=function(){return this.Ca.length};h.isEmpty=function(){return 0===this.Ca.length};h.clear=function(){this.Ca.length=0};var rq=function(){pq.apply(this,arguments)};p(rq,pq);rq.prototype.enqueue=function(a,b){qq(this,a,b)};rq.prototype.Mc=function(){return this.remove()};var sq=function(a,b){this.oh=void 0;this.be=new rq;mq.call(this,a,b)};x(sq,mq);h=sq.prototype;h.Rc=function(a,b){if(!a)return(a=sq.L.Rc.call(this))&&this.delay&&(this.oh=r.setTimeout(u(this.Ld,this),this.delay)),a;this.be.enqueue(void 0!==b?b:100,a);this.Ld()};h.Ld=function(){for(var a=this.be;0<a.R();){var b=this.Rc();if(b)a.Mc().apply(this,[b]);else break}};h.Me=function(a){sq.L.Me.call(this,a);this.Ld()};h.qd=function(){sq.L.qd.call(this);this.Ld()};
|
|
h.J=function(){sq.L.J.call(this);r.clearTimeout(this.oh);this.be.clear();this.be=null};var tq=function(a,b){y.call(this);this.Ff=a;this.wa=b||null};p(tq,Yp);tq.prototype.Ef=function(a,b){var c=Zb(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.xl["x-earth-engine-computation-profile"];this.wa&&e&&this.wa.Mk(a.ma.id,e);break;case "failed":case "aborted":this.wa&&""!==a.ma.id&&this.wa.ql(a.ma.id),gc(c)}},void 0,this);a.Ea=this.Jd(a.sb,a.zoom);var d=u(this.vf,this,a);uq().Rc(d,b)};tq.prototype.getUniqueId=function(){return this.Ff.mapid+"-"+this.Ff.token};
|
|
tq.prototype.vf=function(a,b){var c=uq();if(a.Ua||"aborted"==a.getStatus())nq(c,b);else{var d=Zb(a,"status-changed",function(){a.ge in Xp&&(gc(d),nq(c,b))});Wp(a)}};tq.prototype.Jd=function(a,b){a=Dl(this.Ff,a.x,a.y,b);return this.wa&&this.wa.isEnabled()?a+"&profiling=1":a};var uq=function(){vq||(vq=new sq(0,4));return vq};w("ee.layers.EarthEngineTileSource",tq);var vq=null;var wq=function(a){y.call(this);this.Li=a};p(wq,Yp);wq.prototype.Ef=function(a){a.Ea=this.Li.formatTileUrl(a.sb.x,a.sb.y,a.zoom);Wp(a)};wq.prototype.getUniqueId=function(){return this.Li.token};w("ee.layers.FeatureViewTileSource",wq);var yq=function(){A.call(this);this.le=new xq(0,60);this.Ac=new wc};p(yq,A);yq.prototype.send=function(a,b,c,d,e){if(this.Ac.get(a))throw Error("[ee.MapTileManager] ID in use");b=new zq(a,b,d,u(this.pi,this),void 0!==e?e:1);this.Ac.set(a,b);a=u(this.vf,this,b);this.le.Rc(a,c);return b};yq.prototype.abort=function(a){if(a=this.Ac.get(a))a.mc||(a.mc=!0,a.La=new Ea("abort")),this.pi(a)};
|
|
yq.prototype.vf=function(a,b){if(a.ga||a.mc)Aq(this,b);else if(a.Qi=b,b.setActive(!0),b=new aq,a.ga=b,!a.retry())throw Error("Cannot dispatch first request!");};yq.prototype.pi=function(a){this.Ac.remove(a.getId());a.ga&&(Aq(this,a.Qi),a.ga.Ta());a.wf&&a.wf(a.La,a.li)};var Aq=function(a,b){b.setActive(!1);if(!nq(a.le,b))throw Error("Object not released");};yq.prototype.J=function(){A.prototype.J.call(this);this.le.Ta();this.le=null;var a=this.Ac;Ra(a.aa(),function(b){b.Ta()});a.clear();this.Ac=null};
|
|
w("ee.MapTileManager",yq);var zq=function(a,b,c,d,e){y.call(this);this.fa=a;this.Dl=b;this.ll=void 0!==e?e:1;this.wf=c;this.ec=d};p(zq,y);h=zq.prototype;h.getId=function(){return this.fa};h.getUrl=function(){return this.Dl};h.Zk=function(a){if(this.mc)this.ec&&this.ec(this);else switch(a.type){case "load":this.La=a;this.ec&&this.ec(this);break;case "error":case "abort":this.retry()||(this.La=a,this.ec&&this.ec(this))}};h.J=function(){y.prototype.J.call(this);delete this.wf;delete this.ec};
|
|
h.retry=function(){if(this.Ig>this.ll)return!1;this.Ig++;dq(this.ga,this.fa);setTimeout(u(this.yl,this),0);return!0};
|
|
h.yl=function(){if(!this.mc){var a=u(function(d){this.mc||(cq(this.ga,this.fa,d),Yb(this.ga,Bq,u(this.Zk,this)),this.ga.start())},this),b=this.getUrl();if(Ld(b).Da.Sb("profiling")){var c=new Xi;c.Bc="blob";c.Ya("complete",u(function(){this.li=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=pd(rd(hj(c)));var e="about:invalid#zClosurez"!==d}catch(g){}a(e?d:b)},this));c.Yc("ready",u(c.Ta,c));c.send(b,"GET")}else a(b)}};h.Ig=0;h.mc=!1;
|
|
h.ga=null;h.Qi=null;h.La=null;h.li=null;var Bq=["load","abort","error"],Cq=function(){y.call(this);this.Ga=!1};p(Cq,y);Cq.prototype.setActive=function(a){this.Ga=a};Cq.prototype.isActive=function(){return this.Ga};var xq=function(a,b){sq.call(this,a,b)};p(xq,sq);xq.prototype.Xe=function(){return new Cq};xq.prototype.Ad=function(a){a.Ta()};xq.prototype.Nf=function(a){return!a.Ua&&!a.isActive()};var Dq=function(a,b,c,d,e){Kc.call(this,a,b,c,d,e);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.name=d.name;this.ug=new Fc;this.Of=1;this.wa=e||null};p(Dq,Kc);h=Dq.prototype;h.Ne=function(a){return Zb(this,"tileevent",a)};h.Yf=function(a){gc(a)};
|
|
h.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=Lc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.wa&&this.wa.isEnabled()&&(a+="&profiling=1");b=[b,this.Ab,this.token].join("/");this.Ab+=1;c=mh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Cb.push(b);tl(yq).send(b,a,d,u(this.Yk,this,c,b));Ap(this);return c};h.Qc=function(){return this.Cb.length};
|
|
h.releaseTile=function(a){tl(yq).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.ug.remove(b);""!==a.id&&(this.tg.remove(a.id),this.wa&&this.wa.ql(a.id))};h.setOpacity=function(a){this.Of=a;var b=this.ug.Fa();rc(b,function(c){Lp(c,a)})};
|
|
h.Yk=function(a,b,c,d){"error"==c.type?(Ya(this.Cb,b),this.tg.add(b),this.dispatchEvent(c)):(Ya(this.Cb,b),c.target&&"load"==c.type&&(c=c.target,this.ug.add(c),1!=this.Of&&Lp(c,this.Of),a.appendChild(c)),Ap(this));this.wa&&null!==d&&this.wa.Mk(b,d)};w("ee.MapLayerOverlay",Dq);Dq.prototype.removeTileCallback=Dq.prototype.Yf;Dq.prototype.addTileCallback=Dq.prototype.Ne;Dq.prototype.getTile=Dq.prototype.getTile;Dq.prototype.setOpacity=Dq.prototype.setOpacity;Dq.prototype.releaseTile=Dq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._call ee.ApiFunction._apply ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.image.toAsset ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.table.toAsset ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.data.getOperation ee.data.getTableDownloadId ee.data.renameAsset ee.data.cancelTask ee.data.makeTableDownloadUrl ee.data.getThumbId ee.data.makeDownloadUrl ee.data.setAssetProperties ee.data.newTaskId ee.data.setAssetAcl ee.data.getTaskStatus ee.data.startProcessing ee.data.computeValue ee.data.updateAsset ee.data.getAssetRootQuota ee.data.listFeatures ee.data.getFeatureViewTilesKey ee.data.getWorkloadTag ee.data.getAsset ee.data.setWorkloadTag ee.data.setDefaultWorkloadTag ee.data.getTaskList ee.data.createAsset ee.data.resetWorkloadTag ee.data.authenticateViaPrivateKey ee.data.authenticate ee.data.getAssetAcl ee.data.startIngestion ee.data.getTaskListWithLimit ee.data.createAssetHome ee.data.deleteAsset ee.data.getAssetRoots ee.data.authenticateViaOauth ee.data.updateTask ee.data.listBuckets ee.data.startTableIngestion ee.data.copyAsset ee.data.listImages ee.data.getList ee.data.getMapId ee.data.listAssets ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.makeThumbUrl ee.data.getDownloadId ee.data.authenticateViaPopup ee.data.createFolder ee.data.listOperations ee.data.getTileUrl ee.data.cancelOperation ee.data.getInfo ee.Date ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.initialize ee.call ee.TILE_SIZE ee.Algorithms ee.apply ee.InitState ee.reset ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.select ee.Filter.lte ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.inList ee.Filter.prototype.not ee.Filter ee.Filter.metadata ee.Filter.eq ee.Filter.neq ee.Filter.bounds ee.Filter.gt ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Image.prototype.rename ee.Image ee.Image.prototype.getMap ee.Image.prototype.expression ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.cat ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.List ee.Number ee.Serializer.toJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
c=[["name"],["name","var_args"],["name","namedArgs"],"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(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),
|
|
["classifier","opt_description","opt_assetId"],"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris".split(" "),"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".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_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".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(" "),
|
|
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices"],["max","opt_property","opt_ascending"],["property","opt_ascending"],["algorithm","opt_dropNulls"],["algorithm","opt_first"],
|
|
["name","operator","value"],["start","opt_end"],["geometry"],["filter"],["opt_callback"],["callback"],["legacy"],["func","var_args"],["operationName","opt_callback"],["params","opt_callback"],["sourceId","destinationId","opt_callback"],["taskId","opt_callback"],["id"],["params","opt_callback"],["id"],["assetId","properties","opt_callback"],["opt_count","opt_callback"],["assetId","aclUpdate","opt_callback"],["taskId","opt_callback"],["taskId","params","opt_callback"],["obj","opt_callback"],["assetId",
|
|
"asset","updateFields","opt_callback"],["rootId","opt_callback"],["asset","params","opt_callback"],["params","opt_callback"],[],["id","opt_callback"],["tag"],["tag"],["opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["opt_resetDefault"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["assetId","opt_callback"],["taskId","request","opt_callback"],["opt_limit",
|
|
"opt_callback"],["requestedId","opt_callback"],["assetId","opt_callback"],["opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["taskId","action","opt_callback"],["project","opt_callback"],["taskId","request","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["parent","opt_params","opt_callback"],["params","opt_callback"],["params","opt_callback"],["parent","opt_params","opt_callback"],["params","opt_callback"],
|
|
["params","opt_callback"],["id"],["params","opt_callback"],["opt_success","opt_error"],["path","opt_force","opt_callback"],["opt_limit","opt_callback"],["id","x","y","z"],["operationName","opt_callback"],["id","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),["func","var_args"],[],[],["func","namedArgs"],[],[],["var_args"],["geometry","opt_properties"],["opt_visParams",
|
|
"opt_callback"],["opt_callback"],["args","opt_column"],["opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["name","value"],["name","value"],["var_args"],["var_args"],["name","value"],["start","opt_end"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],[],["opt_filter"],["name","operator","value"],["name","value"],["name","value"],["geometry","opt_errorMargin"],
|
|
["name","value"],["var_args"],["namedArgs"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],[],[],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic",
|
|
"opt_maxError"],["var_args"],["opt_args"],["opt_visParams","opt_callback"],["expression","opt_map"],["params","opt_callback"],["r","g","b"],["opt_callback"],["params","opt_callback"],["geometry"],["params","opt_callback"],["var_args"],["var_args"],["params","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],[],["selectors","opt_names"],["args"],["params","opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["string"],[]];[Vm,O,
|
|
Wm,Fo,zo,Go,yo,xo,uo,Eo,Ao,wo,Do,Co,Bo,V.prototype.limit,V.prototype.sort,V.prototype.map,V.prototype.Lh,V.prototype.kf,V.prototype.jf,V.prototype.wh,V.prototype.filter,M.prototype.U,M.prototype.evaluate,M.prototype.xa,M.prototype.Eg,Xl,Ol,wm,Zl,Pl,Hl,Nl,Cm,Ql,Bm,Sl,fm,Gl,Am,Dm,Fl,El,Al,mm,Fm,Gm,Ul,um,Hm,xl,wl,zm,jm,Tl,tm,ym,sm,vl,Yl,rm,lm,xm,qm,om,Cl,pm,Il,Jl,Kl,Ml,ul,vm,Vl,Dl,Wl,mm,Xo,$o,bp,ap,fp,gp,pp,up,256,rp,vp,tp,sp,R.prototype.set,W,W.prototype.getMap,W.prototype.U,X,X.prototype.U,X.prototype.ub,
|
|
X.prototype.getMap,X.prototype.select,On,Ln,Pn,Qn,Mn,Rn,Sn,U.prototype.wc,U,Un,Jn,Kn,Tn,Nn,Qm.prototype.call,Qm.prototype.apply,tn,xn,An,S.prototype.ke,S.prototype.wg,un,yn,pn,S.prototype.xa,Bn,S,sn,zn,L.prototype.ri,L,L.prototype.getMap,L.prototype.l,L.prototype.ub,ho,L.prototype.U,L.prototype.sf,L.prototype.clip,L.prototype.Id,L.prototype.select,io,Z.prototype.uf,Z.prototype.getMap,Z.prototype.U,Z.prototype.first,Z.prototype.select,Z,Z.prototype.qf,jo,No,Rk,Tk,Wk,$k,Yk,Zk,Qk,Qo,jp].forEach(function(d,
|
|
e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|