mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
664 lines
304 KiB
JavaScript
664 lines
304 KiB
JavaScript
(function(){/*
|
|
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var k,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
|
|
},l=ca(this),da=function(a,b){if(b)a:{var c=l;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
|
|
da("Symbol",function(a){if(a)return a;var b=function(f,g){this.vi=f;ba(this,"description",{configurable:!0,writable:!0,value:g})};b.prototype.toString=function(){return this.vi};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};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=l[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});
|
|
var ea=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},fa="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ha;
|
|
if("function"==typeof Object.setPrototypeOf)ha=Object.setPrototypeOf;else{var ia;a:{var ja={a:!0},ka={};try{ka.__proto__=ja;ia=ka.a;break a}catch(a){}ia=!1}ha=ia?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var la=ha,q=function(a,b){a.prototype=fa(b.prototype);a.prototype.constructor=a;if(la)la(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.M=b.prototype},ma=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
|
|
da("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return"object"===p&&null!==m||"function"===p}function d(m){if(!ma(m,f)){var p=new b;ba(m,f,{value:p})}}function e(m){var p=Object[m];p&&(Object[m]=function(v){if(v instanceof b)return v;Object.isExtensible(v)&&d(v);return p(v)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),p=Object.seal({}),v=new a([[m,2],[p,3]]);if(2!=v.get(m)||3!=v.get(p))return!1;v.delete(m);v.set(p,4);return!v.has(m)&&4==v.get(p)}catch(B){return!1}}())return a;
|
|
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,h=function(m){this.fa=(g+=Math.random()+1).toString();if(m){m=n(m);for(var p;!(p=m.next()).done;)p=p.value,this.set(p[0],p[1])}};h.prototype.set=function(m,p){if(!c(m))throw Error("Invalid WeakMap key");d(m);if(!ma(m,f))throw Error("WeakMap key fail: "+m);m[f][this.fa]=p;return this};h.prototype.get=function(m){return c(m)&&ma(m,f)?m[f][this.fa]:void 0};h.prototype.has=function(m){return c(m)&&ma(m,f)&&ma(m[f],
|
|
this.fa)};h.prototype.delete=function(m){return c(m)&&ma(m,f)&&ma(m[f],this.fa)?delete m[f][this.fa]:!1};return h});
|
|
da("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),m=new a(n([[h,"s"]]));if("s"!=m.get(h)||1!=m.size||m.get({x:4})||m.set({x:4},"t")!=m||2!=m.size)return!1;var p=m.entries(),v=p.next();if(v.done||v.value[0]!=h||"s"!=v.value[1])return!1;v=p.next();return v.done||4!=v.value[0].x||"t"!=v.value[1]||!p.next().done?!1:!0}catch(B){return!1}}())return a;var b=new WeakMap,c=function(h){this.Nc={};this.pa=
|
|
f();this.size=0;if(h){h=n(h);for(var m;!(m=h.next()).done;)m=m.value,this.set(m[0],m[1])}};c.prototype.set=function(h,m){h=0===h?0:h;var p=d(this,h);p.list||(p.list=this.Nc[p.id]=[]);p.da?p.da.value=m:(p.da={next:this.pa,sb:this.pa.sb,head:this.pa,key:h,value:m},p.list.push(p.da),this.pa.sb.next=p.da,this.pa.sb=p.da,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.da&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.Nc[h.id],h.da.sb.next=h.da.next,h.da.next.sb=
|
|
h.da.sb,h.da.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.Nc={};this.pa=this.pa.sb=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).da};c.prototype.get=function(h){return(h=d(this,h).da)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=function(h,m){for(var p=this.entries(),
|
|
v;!(v=p.next()).done;)v=v.value,h.call(m,v[1],v[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,m){var p=m&&typeof m;"object"==p||"function"==p?b.has(m)?p=b.get(m):(p=""+ ++g,b.set(m,p)):p="p_"+m;var v=h.Nc[p];if(v&&ma(h.Nc,p))for(h=0;h<v.length;h++){var B=v[h];if(m!==m&&B.key!==B.key||m===B.key)return{id:p,list:v,index:h,da:B}}return{id:p,list:v,index:-1,da:void 0}},e=function(h,m){var p=h.pa;return ea(function(){if(p){for(;p.head!=h.pa;)p=p.sb;for(;p.next!=p.head;)return p=
|
|
p.next,{done:!1,value:m(p)};p=null}return{done:!0,value:void 0}})},f=function(){var h={};return h.sb=h.next=h.head=h},g=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,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
|
|
var na=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};da("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=na(this,b,"endsWith");b+="";void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});
|
|
da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=na(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});da("String.prototype.repeat",function(a){return a?a:function(b){var c=na(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
|
|
var oa=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};da("Array.prototype.keys",function(a){return a?a:function(){return oa(this,function(b){return b})}});
|
|
da("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(h){return h};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});da("Array.prototype.values",function(a){return a?a:function(){return oa(this,function(b,c){return c})}});
|
|
var pa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)ma(d,e)&&(a[e]=d[e])}return a};da("Object.assign",function(a){return a||pa});
|
|
da("Promise",function(a){function b(){this.vb=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.qg=function(g){if(null==this.vb){this.vb=[];var h=this;this.rg(function(){h.Uj()})}this.vb.push(g)};var d=l.setTimeout;b.prototype.rg=function(g){d(g,0)};b.prototype.Uj=function(){for(;this.vb&&this.vb.length;){var g=this.vb;this.vb=[];for(var h=0;h<g.length;++h){var m=g[h];g[h]=null;try{m()}catch(p){this.Mj(p)}}}this.vb=null};b.prototype.Mj=function(g){this.rg(function(){throw g;
|
|
})};var e=function(g){this.T=0;this.ja=void 0;this.yc=[];this.uh=!1;var h=this.Te();try{g(h.resolve,h.reject)}catch(m){h.reject(m)}};e.prototype.Te=function(){function g(p){return function(v){m||(m=!0,p.call(h,v))}}var h=this,m=!1;return{resolve:g(this.uk),reject:g(this.Of)}};e.prototype.uk=function(g){if(g===this)this.Of(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.wk(g);else{a:switch(typeof g){case "object":var h=null!=g;break a;case "function":h=!0;break a;default:h=
|
|
!1}h?this.tk(g):this.hh(g)}};e.prototype.tk=function(g){var h=void 0;try{h=g.then}catch(m){this.Of(m);return}"function"==typeof h?this.xk(h,g):this.hh(g)};e.prototype.Of=function(g){this.ai(2,g)};e.prototype.hh=function(g){this.ai(1,g)};e.prototype.ai=function(g,h){if(0!=this.T)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.T);this.T=g;this.ja=h;2===this.T&&this.vk();this.Wj()};e.prototype.vk=function(){var g=this;d(function(){if(g.nk()){var h=l.console;"undefined"!==
|
|
typeof h&&h.error(g.ja)}},1)};e.prototype.nk=function(){if(this.uh)return!1;var g=l.CustomEvent,h=l.Event,m=l.dispatchEvent;if("undefined"===typeof m)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):"function"===typeof h?g=new h("unhandledrejection",{cancelable:!0}):(g=l.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.ja;return m(g)};e.prototype.Wj=function(){if(null!=this.yc){for(var g=0;g<this.yc.length;++g)f.qg(this.yc[g]);
|
|
this.yc=null}};var f=new b;e.prototype.wk=function(g){var h=this.Te();g.zd(h.resolve,h.reject)};e.prototype.xk=function(g,h){var m=this.Te();try{g.call(h,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(g,h){function m(D,R){return"function"==typeof D?function(X){try{p(D(X))}catch(U){v(U)}}:R}var p,v,B=new e(function(D,R){p=D;v=R});this.zd(m(g,p),m(h,v));return B};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.zd=function(g,h){function m(){switch(p.T){case 1:g(p.ja);
|
|
break;case 2:h(p.ja);break;default:throw Error("Unexpected state: "+p.T);}}var p=this;null==this.yc?f.qg(m):this.yc.push(m);this.uh=!0};e.resolve=c;e.reject=function(g){return new e(function(h,m){m(g)})};e.race=function(g){return new e(function(h,m){for(var p=n(g),v=p.next();!v.done;v=p.next())c(v.value).zd(h,m)})};e.all=function(g){var h=n(g),m=h.next();return m.done?c([]):new e(function(p,v){function B(X){return function(U){D[X]=U;R--;0==R&&p(D)}}var D=[],R=0;do D.push(void 0),R++,c(m.value).zd(B(D.length-
|
|
1),v),m=h.next();while(!m.done)})};return e});da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ma(b,d)&&c.push([d,b[d]]);return c}});da("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});da("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
|
|
da("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==na(this,b,"includes").indexOf(b,c||0)}});da("Array.prototype.entries",function(a){return a?a:function(){return oa(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(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;var b=function(c){this.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(f){return c.call(d,f,f,e)})};return b});da("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ma(b,d)&&c.push(b[d]);return c}});da("String.prototype.padStart",function(a){return a?a:function(b,c){var d=na(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});
|
|
var qa=qa||{},r=this||self,ra=function(){},sa=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ta=function(a){var b=sa(a);return"array"==b||"object"==b&&"number"==typeof a.length},ua=function(a){return t(a)&&"function"==typeof a.getFullYear},t=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},xa=function(a){return Object.prototype.hasOwnProperty.call(a,va)&&a[va]||(a[va]=++wa)},va="closure_uid_"+(1E9*Math.random()>>>0),wa=0,ya=function(a,b,c){return a.call.apply(a.bind,
|
|
arguments)},za=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")?ya:za;return u.apply(null,arguments)},Aa=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.M=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ik=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,
|
|
g)}},Ba=function(a){return a};function Ca(a){a&&"function"==typeof a.Ya&&a.Ya()};var Da=function(){this.Za=this.Za;this.Ud=this.Ud};Da.prototype.Za=!1;Da.prototype.Ya=function(){this.Za||(this.Za=!0,this.I())};Da.prototype.I=function(){if(this.Ud)for(;this.Ud.length;)this.Ud.shift()()};var y=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.gd=!1};y.prototype.stopPropagation=function(){this.gd=!0};y.prototype.preventDefault=function(){this.defaultPrevented=!0};function Ea(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ea);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}x(Ea,Error);Ea.prototype.name="CustomError";var Fa;var Ga=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");Ea.call(this,c+a[d])};x(Ga,Ea);Ga.prototype.name="AssertionError";
|
|
var Ha=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Ga(""+e,f||[]);},z=function(a,b,c){a||Ha("",null,b,Array.prototype.slice.call(arguments,2))},Ia=function(a,b){throw new Ga("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Ja=function(a,b,c){"number"!==typeof a&&Ha("Expected number but got %s: %s.",[sa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Ka=function(a,b,c){"string"!==typeof a&&Ha("Expected string but got %s: %s.",
|
|
[sa(a),a],b,Array.prototype.slice.call(arguments,2))},La=function(a,b,c){"function"!==typeof a&&Ha("Expected function but got %s: %s.",[sa(a),a],b,Array.prototype.slice.call(arguments,2))},Ma=function(a,b,c){t(a)||Ha("Expected object but got %s: %s.",[sa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Na=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},Oa=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},Pa=Array.prototype.forEach?function(a,b,c){z(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Qa=Array.prototype.filter?function(a,b){z(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f="string"===typeof a?a.split(""):a,g=0;g<c;g++)if(g in f){var h=
|
|
f[g];b.call(void 0,h,g,a)&&(d[e++]=h)}return d},Ra=Array.prototype.map?function(a,b,c){z(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},Sa=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},Ta=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 Ua(a,b){var c=0;Pa(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c}function Va(a,b){return 0<=Na(a,b)}function Wa(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}
|
|
function Xa(a,b){b=Na(a,b);var c;(c=0<=b)&&Ya(a,b);return c}function Ya(a,b){z(null!=a.length);Array.prototype.splice.call(a,b,1)}function Za(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 $a(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ta(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}}
|
|
function ab(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 bb(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function cb(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var f=ab(d,e,e+8192);f=cb.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var db=Object.freeze||function(a){return a};var eb=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{r.addEventListener("test",ra,b),r.removeEventListener("test",ra,b)}catch(c){}return a}();var fb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},gb=function(a,b){return a<b?-1:a>b?1:0};var hb;a:{var ib=r.navigator;if(ib){var jb=ib.userAgent;if(jb){hb=jb;break a}}hb=""}var kb=function(a){return-1!=hb.indexOf(a)};function lb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function mb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function nb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function ob(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function pb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function qb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function rb(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
|
|
function sb(a){var b=tb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function ub(a){for(var b in a)return!1;return!0}function vb(a,b){b in a&&delete a[b]}function wb(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
|
function xb(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);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]=xb(a[c]);return b}var yb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
|
function zb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<yb.length;f++)c=yb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Ab=function(a){return a};var Bb;var Eb=function(a,b){this.bg=a===Cb&&b||"";this.yj=Db};Eb.prototype.rf=!0;Eb.prototype.lf=function(){return this.bg};Eb.prototype.toString=function(){return"Const{"+this.bg+"}"};var Fb=function(a){if(a instanceof Eb&&a.constructor===Eb&&a.yj===Db)return a.bg;Ia("expected object of type Const, got '"+a+"'");return"type_error:Const"},Db={},Cb={};var Hb=function(a,b){this.Kf=b===Gb?a:""};Hb.prototype.rf=!0;Hb.prototype.lf=function(){return this.Kf.toString()};Hb.prototype.toString=function(){return this.Kf+""};
|
|
var Jb=function(a){if(a instanceof Hb&&a.constructor===Hb)return a.Kf;Ia("expected object of type TrustedResourceUrl, got '"+a+"' of type "+sa(a));return"type_error:TrustedResourceUrl"},Ob=function(a){var b=Fb(Kb);if(!Lb.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(Mb,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
|
|
Eb?Fb(d):encodeURIComponent(String(d))});return Nb(c)},Mb=/%{(\w+)}/g,Lb=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),Gb={},Nb=function(a){if(void 0===Bb){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ba,createScript:Ba,createScriptURL:Ba})}catch(d){r.console&&r.console.error(d.message)}Bb=b}a=(b=Bb)?b.createScriptURL(a):a;return new Hb(a,Gb)};var Qb=function(a,b){this.Jf=b===Pb?a:""};Qb.prototype.rf=!0;Qb.prototype.lf=function(){return this.Jf.toString()};Qb.prototype.toString=function(){return this.Jf.toString()};
|
|
var Rb=function(a){if(a instanceof Qb&&a.constructor===Qb)return a.Jf;Ia("expected object of type SafeUrl, got '"+a+"' of type "+sa(a));return"type_error:SafeUrl"},Sb=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)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),Tb=function(a){if(Sb.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 Qb(a,Pb)},Pb={};var Vb=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||r;if(d.Element&&d.Location){var e=d;break a}}catch(g){}e=null}if(e&&"undefined"!=typeof e.HTMLScriptElement&&(!a||!(a instanceof e.HTMLScriptElement)&&(a instanceof e.Location||a instanceof e.Element))){if(t(a))try{var f=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(g){f="<object could not be stringified>"}else f=void 0===a?"undefined":null===a?"null":typeof a;Ia("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
|
|
"HTMLScriptElement",f)}a.src=Jb(b);a:{b=(a.ownerDocument&&a.ownerDocument.defaultView||r).document;if(b.querySelector&&(b=b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&Ub.test(b))break a;b=""}b&&a.setAttribute("nonce",b)},Ub=/^[\w+/_-]+[=]{0,2}$/;var Wb=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")},Xb=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 Yb=function(a){Yb[" "](a);return a};Yb[" "]=ra;var $b=function(a,b){var c=Zb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var ac=kb("Opera"),bc=kb("Trident")||kb("MSIE"),cc=kb("Edge"),dc=kb("Gecko")&&!(-1!=hb.toLowerCase().indexOf("webkit")&&!kb("Edge"))&&!(kb("Trident")||kb("MSIE"))&&!kb("Edge"),ec=-1!=hb.toLowerCase().indexOf("webkit")&&!kb("Edge"),fc;
|
|
a:{var gc="",hc=function(){var a=hb;if(dc)return/rv:([^\);]+)(\)|;)/.exec(a);if(cc)return/Edge\/([\d\.]+)/.exec(a);if(bc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ec)return/WebKit\/(\S+)/.exec(a);if(ac)return/(?:Version)[ \/]?(\S+)/.exec(a)}();hc&&(gc=hc?hc[1]:"");if(bc){var ic,jc=r.document;ic=jc?jc.documentMode:void 0;if(null!=ic&&ic>parseFloat(gc)){fc=String(ic);break a}}fc=gc}
|
|
var kc=fc,Zb={},lc=function(a){return $b(a,function(){for(var b=0,c=fb(String(kc)).split("."),d=fb(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",h=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;b=gb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||gb(0==g[2].length,0==h[2].length)||gb(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})};var nc=function(a,b){y.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.Ma=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(dc){a:{try{Yb(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=ec||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=ec||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:mc[a.pointerType]||"";this.state=a.state;this.Ma=a;a.defaultPrevented&&nc.M.preventDefault.call(this)}};
|
|
x(nc,y);var mc=db({2:"touch",3:"pen",4:"mouse"});nc.prototype.stopPropagation=function(){nc.M.stopPropagation.call(this);this.Ma.stopPropagation?this.Ma.stopPropagation():this.Ma.cancelBubble=!0};nc.prototype.preventDefault=function(){nc.M.preventDefault.call(this);var a=this.Ma;a.preventDefault?a.preventDefault():a.returnValue=!1};var oc="closure_listenable_"+(1E6*Math.random()|0),pc=function(a){return!(!a||!a[oc])};var qc=0;var rc=function(a,b,c,d,e){this.listener=a;this.Vd=null;this.src=b;this.type=c;this.capture=!!d;this.qb=e;this.key=++qc;this.kd=this.yd=!1},sc=function(a){a.kd=!0;a.listener=null;a.Vd=null;a.src=null;a.qb=null};var tc=function(a){this.src=a;this.ha={};this.od=0};tc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.ha[f];a||(a=this.ha[f]=[],this.od++);var g=uc(a,b,d,e);-1<g?(b=a[g],c||(b.yd=!1)):(b=new rc(b,this.src,f,!!d,e),b.yd=c,a.push(b));return b};tc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ha))return!1;var e=this.ha[a];b=uc(e,b,c,d);return-1<b?(sc(e[b]),Ya(e,b),0==e.length&&(delete this.ha[a],this.od--),!0):!1};
|
|
var vc=function(a,b){var c=b.type;c in a.ha&&Xa(a.ha[c],b)&&(sc(b),0==a.ha[c].length&&(delete a.ha[c],a.od--))};tc.prototype.jd=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,sc(d[e]);delete this.ha[c];this.od--}};tc.prototype.Sc=function(a,b,c,d){a=this.ha[a.toString()];var e=-1;a&&(e=uc(a,b,c,d));return-1<e?a[e]:null};
|
|
tc.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return ob(this.ha,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var uc=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.kd&&f.listener==b&&f.capture==!!c&&f.qb==d)return e}return-1};var wc="closure_lm_"+(1E6*Math.random()|0),xc={},yc=0,Ac=function(a,b,c,d,e){if(d&&d.once)return zc(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Ac(a,b[f],c,d,e);return null}c=Bc(c);return pc(a)?a.cb(b,c,t(d)?!!d.capture:!!d,e):Cc(a,b,c,!1,d,e)},Cc=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=t(e)?!!e.capture:!!e,h=Dc(a);h||(a[wc]=h=new tc(a));c=h.add(b,c,d,g,f);if(c.Vd)return c;d=Ec();c.Vd=d;d.src=a;d.listener=c;if(a.addEventListener)eb||(e=g),void 0===e&&(e=
|
|
!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Fc(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.");yc++;return c},Ec=function(){var a=Gc,b=function(c){return a.call(b.src,b.listener,c)};return b},zc=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)zc(a,b[f],c,d,e);return null}c=Bc(c);return pc(a)?a.bd(b,
|
|
c,t(d)?!!d.capture:!!d,e):Cc(a,b,c,!0,d,e)},Hc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)Hc(a,b[f],c,d,e);else d=t(d)?!!d.capture:!!d,c=Bc(c),pc(a)?a.ke(b,c,d,e):a&&(a=Dc(a))&&(b=a.Sc(b,c,d,e))&&Ic(b)},Ic=function(a){if("number"!==typeof a&&a&&!a.kd){var b=a.src;if(pc(b))vc(b.La,a);else{var c=a.type,d=a.Vd;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Fc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);yc--;(c=Dc(b))?(vc(c,
|
|
a),0==c.od&&(c.src=null,b[wc]=null)):sc(a)}}},Fc=function(a){return a in xc?xc[a]:xc[a]="on"+a},Gc=function(a,b){if(a.kd)a=!0;else{b=new nc(b,this);var c=a.listener,d=a.qb||a.src;a.yd&&Ic(a);a=c.call(d,b)}return a},Dc=function(a){a=a[wc];return a instanceof tc?a:null},Jc="__closure_events_fn_"+(1E9*Math.random()>>>0),Bc=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[Jc]||(a[Jc]=function(b){return a.handleEvent(b)});
|
|
return a[Jc]};var A=function(){Da.call(this);this.La=new tc(this);this.Kj=this;this.Hf=null};x(A,Da);A.prototype[oc]=!0;k=A.prototype;k.addEventListener=function(a,b,c,d){Ac(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){Hc(this,a,b,c,d)};
|
|
k.dispatchEvent=function(a){Kc(this);var b=this.Hf;if(b){var c=[];for(var d=1;b;b=b.Hf)c.push(b),z(1E3>++d,"infinite loop")}b=this.Kj;d=a.type||a;if("string"===typeof a)a=new y(a,b);else if(a instanceof y)a.target=a.target||b;else{var e=a;a=new y(d,b);zb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.gd&&0<=f;f--){var g=a.currentTarget=c[f];e=Lc(g,d,!0,a)&&e}a.gd||(g=a.currentTarget=b,e=Lc(g,d,!0,a)&&e,a.gd||(e=Lc(g,d,!1,a)&&e));if(c)for(f=0;!a.gd&&f<c.length;f++)g=a.currentTarget=c[f],e=Lc(g,d,!1,a)&&e;
|
|
return e};k.I=function(){A.M.I.call(this);this.La&&this.La.jd(void 0);this.Hf=null};k.cb=function(a,b,c,d){Kc(this);return this.La.add(String(a),b,!1,c,d)};k.bd=function(a,b,c,d){return this.La.add(String(a),b,!0,c,d)};k.ke=function(a,b,c,d){this.La.remove(String(a),b,c,d)};
|
|
var Lc=function(a,b,c,d){b=a.La.ha[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.kd&&g.capture==c){var h=g.listener,m=g.qb||g.src;g.yd&&vc(a.La,g);e=!1!==h.call(m,d)&&e}}return e&&!d.defaultPrevented};A.prototype.Sc=function(a,b,c,d){return this.La.Sc(String(a),b,c,d)};A.prototype.hasListener=function(a,b){return this.La.hasListener(void 0!==a?String(a):void 0,b)};var Kc=function(a){z(a.La,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Mc=function(a,b){this.Pj=a[r.Symbol.iterator]();this.hk=b;this.lk=0};Mc.prototype[Symbol.iterator]=function(){return this};Mc.prototype.next=function(){var a=this.Pj.next();return{value:a.done?void 0:this.hk.call(void 0,a.value,this.lk++),done:a.done}};var Nc=function(a,b){return new Mc(a,b)};var Oc="StopIteration"in r?r.StopIteration:{message:"StopIteration",stack:""},Pc=function(){};Pc.prototype.next=function(){return Pc.prototype.rb.call(this)};Pc.prototype.rb=function(){throw Oc;};Pc.prototype.Ga=function(){return this};
|
|
var Qc=function(a){if(a instanceof Pc)return a;if("function"==typeof a.Ga)return a.Ga(!1);if(ta(a)){var b=0,c=new Pc;c.rb=function(){for(;;){if(b>=a.length)throw Oc;if(b in a)return a[b++];b++}};c.next=c.rb.bind(c);return c}throw Error("Not implemented");},Rc=function(a,b){if(ta(a))try{Pa(a,b,void 0)}catch(c){if(c!==Oc)throw c;}else{a=Qc(a);try{for(;;)b.call(void 0,a.rb(),void 0,a)}catch(c){if(c!==Oc)throw c;}}};var Wc=function(a){if(a instanceof Sc||a instanceof Tc||a instanceof Uc)return a;if("function"==typeof a.next)return new Sc(function(){return Vc(a)});if("function"==typeof a[Symbol.iterator])return new Sc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ga)return new Sc(function(){return Vc(a.Ga())});throw Error("Not an iterator or iterable.");},Vc=function(a){if(!(a instanceof Pc))return a;var b=!1;return{next:function(){for(var c;!b;)try{c=a.rb();break}catch(d){if(d!==Oc)throw d;
|
|
b=!0}return{value:c,done:b}}}},Sc=function(a){this.gf=a};Sc.prototype.Ga=function(){return new Tc(this.gf())};Sc.prototype[Symbol.iterator]=function(){return new Uc(this.gf())};Sc.prototype.hg=function(){return new Uc(this.gf())};var Tc=function(a){this.Yc=a};q(Tc,Pc);Tc.prototype.rb=function(){var a=this.Yc.next();if(a.done)throw Oc;return a.value};Tc.prototype.next=function(){return Tc.prototype.rb.call(this)};Tc.prototype[Symbol.iterator]=function(){return new Uc(this.Yc)};Tc.prototype.hg=function(){return new Uc(this.Yc)};
|
|
var Uc=function(a){Sc.call(this,function(){return a});this.Yc=a};q(Uc,Sc);Uc.prototype.next=function(){return this.Yc.next()};var Xc=function(a,b){this.A={};this.J=[];this.qd=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)};k=Xc.prototype;k.S=function(){return this.size};k.W=function(){Yc(this);for(var a=[],b=0;b<this.J.length;b++)a.push(this.A[this.J[b]]);return a};k.Pa=function(){Yc(this);return this.J.concat()};k.ob=function(a){return this.has(a)};k.has=function(a){return Zc(this.A,a)};
|
|
k.Mc=function(a){for(var b=0;b<this.J.length;b++){var c=this.J[b];if(Zc(this.A,c)&&this.A[c]==a)return!0}return!1};k.equals=function(a,b){if(this===a)return!0;if(this.size!=a.S())return!1;b=b||$c;Yc(this);for(var c,d=0;c=this.J[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var $c=function(a,b){return a===b};Xc.prototype.isEmpty=function(){return 0==this.size};Xc.prototype.clear=function(){this.A={};this.J.length=0;this.tb(0);this.qd=0};Xc.prototype.remove=function(a){return this.delete(a)};
|
|
Xc.prototype.delete=function(a){return Zc(this.A,a)?(delete this.A[a],this.tb(this.size-1),this.qd++,this.J.length>2*this.size&&Yc(this),!0):!1};var Yc=function(a){if(a.size!=a.J.length){for(var b=0,c=0;b<a.J.length;){var d=a.J[b];Zc(a.A,d)&&(a.J[c++]=d);b++}a.J.length=c}if(a.size!=a.J.length){var e={};for(c=b=0;b<a.J.length;)d=a.J[b],Zc(e,d)||(a.J[c++]=d,e[d]=1),b++;a.J.length=c}};k=Xc.prototype;k.get=function(a,b){return Zc(this.A,a)?this.A[a]:b};
|
|
k.set=function(a,b){Zc(this.A,a)||(this.tb(this.size+1),this.J.push(a),this.qd++);this.A[a]=b};k.addAll=function(a){if(a instanceof Xc)for(var b=a.Pa(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};k.forEach=function(a,b){for(var c=this.Pa(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};k.clone=function(){return new Xc(this)};k.keys=function(){return Wc(this.Ga(!0)).hg()};k.values=function(){return Wc(this.Ga(!1)).hg()};
|
|
k.entries=function(){var a=this;return Nc(this.keys(),function(b){return[b,a.get(b)]})};k.Ga=function(a){Yc(this);var b=0,c=this.qd,d=this,e=new Pc;e.rb=function(){if(c!=d.qd)throw Error("The map has changed since the iterator was created");if(b>=d.J.length)throw Oc;var f=d.J[b++];return a?f:d.A[f]};e.next=e.rb.bind(e);return e};k.tb=function(a){this.size=a};var Zc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ad=function(a){if(a.S&&"function"==typeof a.S)a=a.S();else if(ta(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},bd=function(a){if(a.W&&"function"==typeof a.W)return a.W();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(ta(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return pb(a)},cd=function(a){if(a.Pa&&"function"==typeof a.Pa)return a.Pa();
|
|
if(!a.W||"function"!=typeof a.W){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(ta(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return qb(a)}}},dd=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ta(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=cd(a),e=bd(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},ed=function(a,
|
|
b){if("function"==typeof a.every)return a.every(b,void 0);if(ta(a)||"string"===typeof a)return Array.prototype.every.call(a,b,void 0);for(var c=cd(a),d=bd(a),e=d.length,f=0;f<e;f++)if(!b.call(void 0,d[f],c&&c[f],a))return!1;return!0};var fd=function(a){this.A=new Xc;this.size=0;a&&this.addAll(a)},gd=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+xa(a):b.substr(0,1)+a};k=fd.prototype;k.S=function(){return this.A.size};k.add=function(a){this.A.set(gd(a),a);this.tb(this.A.size)};k.addAll=function(a){a=bd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.tb(this.A.size)};k.jd=function(a){a=bd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.tb(this.A.size)};
|
|
k.delete=function(a){a=this.A.remove(gd(a));this.tb(this.A.size);return a};k.remove=function(a){return this.delete(a)};k.clear=function(){this.A.clear();this.tb(0)};k.isEmpty=function(){return 0===this.A.size};k.has=function(a){return this.A.ob(gd(a))};k.contains=function(a){return this.A.ob(gd(a))};var hd=function(a,b){var c=new fd;b=bd(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},id=function(a,b){a=a.clone();a.jd(b);return a};fd.prototype.W=function(){return this.A.W()};
|
|
fd.prototype.values=function(){return this.A.values()};fd.prototype.clone=function(){return new fd(this)};fd.prototype.equals=function(a){return this.S()==ad(a)&&jd(this,a)};var jd=function(a,b){var c=ad(b);if(a.S()>c)return!1;!(b instanceof fd)&&5<c&&(b=new fd(b));return ed(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Mc&&"function"==typeof e.Mc?e.Mc(d):ta(e)||"string"===typeof e?Va(e,d):rb(e,d)})};fd.prototype.Ga=function(){return this.A.Ga(!1)};
|
|
fd.prototype[Symbol.iterator]=function(){return this.values()};fd.prototype.tb=function(a){this.size=a};var kd=function(a,b,c){A.call(this);this.ik=b;this.token=c;this.Fb=[];this.fg=new fd;this.Db=0;this.url=a};x(kd,A);w("ee.AbstractOverlay",kd);var ld=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.ik,c,e,b.y].join("/")};kd.prototype.Tc=function(){return this.Fb.length};var md=function(a){y.call(this,"tileevent");this.count=a};x(md,y);var nd=function(){},od=new nd;function pd(a){return Object.assign({R:{},Kk:{},keys:[],Da:{},u:{},K:{},Yg:!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 qd(a,b){return E(b,a)}function rd(a,b,c){b[a]=c}function sd(){return{}}function td(a,b){var c=new a;return null==b?c:ud(b,vd,wd,xd,a)}function vd(a,b){return b[a]}function wd(a,b,c){b.h[a]=c}
|
|
function xd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function ud(a,b,c,d,e){e=d(e);for(var f=yd(a,e),g=f.R||{},h=f.u||{},m=f.Da||{},p={},v=n(f.keys||[]),B=v.next();!B.done;p={Hc:p.Hc},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var R=void 0;if(g.hasOwnProperty(B)){if(f.Yg&&0===D.length)continue;R=zd(D,b,c,d,!0,!0,g[B])}else if(h.hasOwnProperty(B))R=zd(D,b,c,d,!1,!0,h[B]);else if(m.hasOwnProperty(B))p.Hc=m[B],R=p.Hc.qa?D.map(function(X){return function(U){return Ad(U,X.Hc,b,c,d)}}(p)):Ad(D,p.Hc,b,c,d);else if(Array.isArray(D)){if(f.Yg&&0===D.length)continue;
|
|
R=zd(D,b,c,d,!0,!1)}else R=D instanceof nd?null:D;c(B,e,R)}}return e}function Ad(a,b,c,d,e){for(var f={},g=n(Object.keys(a)),h=g.next();!h.done;h=g.next()){h=h.value;var m=a[h];null!=m&&(f[h]=zd(m,c,d,e,b.sa,b.ra,b.ka))}return f}
|
|
function zd(a,b,c,d,e,f,g){if(f&&null==g)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&f?a.map(function(h){return ud(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?ud(a,b,c,d,g):a instanceof nd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function yd(a,b){if(b instanceof C)a=pd(b.i());else if(a instanceof C)a=pd(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Bd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Cd=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var Dd=function(a,b){this.pb=this.kc=this.Bb="";this.zc=null;this.Wb=this.dc="";this.Ba=this.ck=!1;if(a instanceof Dd){this.Ba=void 0!==b?b:a.Ba;Ed(this,a.Bb);var c=a.kc;Fd(this);this.kc=c;c=a.pb;Fd(this);this.pb=c;Gd(this,a.zc);this.setPath(a.getPath());Hd(this,a.Ea.clone());a=a.Wb;Fd(this);this.Wb=a}else a&&(c=String(a).match(Bd))?(this.Ba=!!b,Ed(this,c[1]||"",!0),a=c[2]||"",Fd(this),this.kc=Id(a),a=c[3]||"",Fd(this),this.pb=Id(a,!0),Gd(this,c[4]),this.setPath(c[5]||"",!0),Hd(this,c[6]||"",!0),
|
|
a=c[7]||"",Fd(this),this.Wb=Id(a)):(this.Ba=!!b,this.Ea=new Jd(null,this.Ba))};
|
|
Dd.prototype.toString=function(){var a=[],b=this.Bb;b&&a.push(Kd(b,Ld,!0),":");var c=this.pb;if(c||"file"==b)a.push("//"),(b=this.kc)&&a.push(Kd(b,Ld,!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.pb&&"/"!=c.charAt(0)&&a.push("/"),a.push(Kd(c,"/"==c.charAt(0)?Md:Nd,!0));(c=this.Ea.toString())&&a.push("?",c);(c=this.Wb)&&a.push("#",Kd(c,Od));return a.join("")};
|
|
Dd.prototype.resolve=function(a){var b=this.clone(),c=!!a.Bb;c?Ed(b,a.Bb):c=!!a.kc;if(c){var d=a.kc;Fd(b);b.kc=d}else c=!!a.pb;c?(d=a.pb,Fd(b),b.pb=d):c=null!=a.zc;d=a.getPath();if(c)Gd(b,a.zc);else if(c=!!a.dc){if("/"!=d.charAt(0))if(this.pb&&!this.dc)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=[],g=0;g<e.length;){var h=e[g++];
|
|
"."==h?d&&g==e.length&&f.push(""):".."==h?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=""!==a.Ea.toString();c?Hd(b,a.Ea.clone()):c=!!a.Wb;c&&(a=a.Wb,Fd(b),b.Wb=a);return b};Dd.prototype.clone=function(){return new Dd(this)};
|
|
var Ed=function(a,b,c){Fd(a);a.Bb=c?Id(b,!0):b;a.Bb&&(a.Bb=a.Bb.replace(/:$/,""))},Gd=function(a,b){Fd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.zc=b}else a.zc=null};Dd.prototype.getPath=function(){return this.dc};Dd.prototype.setPath=function(a,b){Fd(this);this.dc=b?Id(a,!0):a;return this};var Hd=function(a,b,c){Fd(a);b instanceof Jd?(a.Ea=b,a.Ea.Vf(a.Ba)):(c||(b=Kd(b,Pd)),a.Ea=new Jd(b,a.Ba))};Dd.prototype.getQuery=function(){return this.Ea.toString()};
|
|
Dd.prototype.removeParameter=function(a){Fd(this);this.Ea.remove(a);return this};var Fd=function(a){if(a.ck)throw Error("Tried to modify a read-only Uri");};Dd.prototype.Vf=function(a){this.Ba=a;this.Ea&&this.Ea.Vf(a)};
|
|
var Qd=function(a){return a instanceof Dd?a.clone():new Dd(a,void 0)},Id=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Kd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Rd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Rd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Ld=/[#\/\?@]/g,Nd=/[#\?:]/g,Md=/[#\?]/g,Pd=/[#\?@]/g,Od=/#/g,Jd=function(a,b){this.$=this.O=null;this.va=a||null;this.Ba=!!b},
|
|
Sd=function(a){a.O||(a.O=new Xc,a.$=0,a.va&&Cd(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Jd.prototype;k.S=function(){Sd(this);return this.$};k.add=function(a,b){Sd(this);this.va=null;a=Td(this,a);var c=this.O.get(a);c||this.O.set(a,c=[]);c.push(b);this.$=Ja(this.$)+1;return this};k.remove=function(a){Sd(this);a=Td(this,a);return this.O.ob(a)?(this.va=null,this.$=Ja(this.$)-this.O.get(a).length,this.O.remove(a)):!1};k.clear=function(){this.O=this.va=null;this.$=0};
|
|
k.isEmpty=function(){Sd(this);return 0==this.$};k.ob=function(a){Sd(this);a=Td(this,a);return this.O.ob(a)};k.Mc=function(a){var b=this.W();return Va(b,a)};k.forEach=function(a,b){Sd(this);this.O.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};k.Pa=function(){Sd(this);for(var a=this.O.W(),b=this.O.Pa(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
|
|
k.W=function(a){Sd(this);var b=[];if("string"===typeof a)this.ob(a)&&(b=b.concat(this.O.get(Td(this,a))));else{a=this.O.W();for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};k.set=function(a,b){Sd(this);this.va=null;a=Td(this,a);this.ob(a)&&(this.$=Ja(this.$)-this.O.get(a).length);this.O.set(a,[b]);this.$=Ja(this.$)+1;return this};k.get=function(a,b){if(!a)return b;a=this.W(a);return 0<a.length?String(a[0]):b};
|
|
k.setValues=function(a,b){this.remove(a);0<b.length&&(this.va=null,this.O.set(Td(this,a),Za(b)),this.$=Ja(this.$)+b.length)};k.toString=function(){if(this.va)return this.va;if(!this.O)return"";for(var a=[],b=this.O.Pa(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.W(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.va=a.join("&")};
|
|
k.clone=function(){var a=new Jd;a.va=this.va;this.O&&(a.O=this.O.clone(),a.$=this.$);return a};var Td=function(a,b){b=String(b);a.Ba&&(b=b.toLowerCase());return b};Jd.prototype.Vf=function(a){a&&!this.Ba&&(Sd(this),this.va=null,this.O.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.Ba=a};Jd.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)dd(arguments[b],function(c,d){this.add(d,c)},this)};function Ud(a){if(null!=a.s){var b={},c;for(c in a.s)void 0!==a.s[c]&&(b[c]=a.s[c]);a.s=b}}function G(a,b){var c=Vd;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 Wd=function(){};Wd.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function Xd(a,b){if(null==a)return null;a=a.Lk(b);return null==a?null:a};var Yd=function(a,b){this.N=a;this.$j=void 0===b?null:b};q(Yd,Wd);var Zd=function(a,b,c){var d=Xd(a.$j,b);if(null==d)return c;d.Mk();return c.then(function(e){d.Ok(e);return e},function(e){d.Nk(e);throw e;})},H=function(a,b){var c=b.G||void 0,d=a.N,e=d.send,f=b.body instanceof C?ud(b.body,qd,rd,sd):b.body;return Zd(a,b,e.call(d,{path:b.path,B:b.B,D:b.D,body:f,s:b.s,fi:b.fi&&b.fi},c))};var $d={qe:"ADMIN_READ",se:"DATA_READ",te:"DATA_WRITE",hj:"LOG_TYPE_UNSPECIFIED",values:function(){return[$d.hj,$d.qe,$d.te,$d.se]}},ae={qe:"ADMIN_READ",xi:"ADMIN_WRITE",se:"DATA_READ",te:"DATA_WRITE",pj:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[ae.pj,ae.qe,ae.xi,ae.se,ae.te]}},be={Fi:"CAPABILITY_GROUP_UNSPECIFIED",Hi:"CLOUD_ALPHA",Ri:"EXTERNAL",aj:"INTERNAL",dj:"LIMITED",qj:"PREAUTHORIZED",sj:"PREVIEW",Ic:"PUBLIC",values:function(){return[be.Fi,be.Ic,be.aj,be.Ri,be.dj,be.qj,be.sj,be.Hi]}},
|
|
ce={wi:"ADMIN_ACTIVITY",Ki:"DATA_ACCESS",Fj:"UNSPECIFIED_LOG_NAME",values:function(){return[ce.Fj,ce.wi,ce.Ki]}},de={ue:"DEFAULT_OBJECT_ACL",Ic:"PUBLIC",Fe:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[de.Fe,de.Ic,de.ue]}},fe={Ai:"APPROVER",Bi:"ATTRIBUTION",Ci:"AUTHORITY",Ii:"CREDENTIALS_TYPE",Ji:"CREDS_ASSERTION",cj:"JUSTIFICATION_TYPE",Be:"NO_ATTR",vj:"SECURITY_REALM",values:function(){return[fe.Be,fe.Ci,fe.Bi,fe.vj,fe.Ai,fe.cj,fe.Ii,fe.Ji]}},ge={Pi:"DISCHARGED",Qi:"EQUALS",Xi:"IN",jj:"NOT_EQUALS",
|
|
kj:"NOT_IN",mj:"NO_OP",values:function(){return[ge.mj,ge.Qi,ge.jj,ge.Xi,ge.kj,ge.Pi]}},he={bj:"IP",ij:"NAME",Be:"NO_ATTR",tj:"REGION",wj:"SERVICE",values:function(){return[he.Be,he.tj,he.wj,he.ij,he.bj]}},ie={fj:"LOG_FAIL_CLOSED",gj:"LOG_MODE_UNSPECIFIED",values:function(){return[ie.gj,ie.fj]}},je={Gi:"CLASSIFIER",Li:"DATA_MAPPING_SERVICE",Ti:"FOLDER",Vi:"IMAGE",Wi:"IMAGE_COLLECTION",Aj:"TABLE",Bj:"TYPE_UNSPECIFIED",values:function(){return[je.Bj,je.Vi,je.Wi,je.Aj,je.Ti,je.Gi,je.Li]}},ke={Gb:"AUTO_JPEG_PNG",
|
|
Hb:"GEO_TIFF",Ib:"IMAGE_FILE_FORMAT_UNSPECIFIED",Jb:"JPEG",Kb:"MULTI_BAND_IMAGE_TILE",Lb:"NPY",Mb:"PNG",Nb:"TF_RECORD_IMAGE",Ob:"ZIPPED_GEO_TIFF",Pb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[ke.Ib,ke.Jb,ke.Mb,ke.Gb,ke.Lb,ke.Hb,ke.Nb,ke.Kb,ke.Ob,ke.Pb]}},le={Gj:"V1",Hj:"V2",Ij:"VERSION_UNSPECIFIED",values:function(){return[le.Ij,le.Gj,le.Hj]}},me={Gb:"AUTO_JPEG_PNG",Hb:"GEO_TIFF",Ib:"IMAGE_FILE_FORMAT_UNSPECIFIED",Jb:"JPEG",Kb:"MULTI_BAND_IMAGE_TILE",Lb:"NPY",Mb:"PNG",Nb:"TF_RECORD_IMAGE",
|
|
Ob:"ZIPPED_GEO_TIFF",Pb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[me.Ib,me.Jb,me.Mb,me.Gb,me.Lb,me.Hb,me.Nb,me.Kb,me.Ob,me.Pb]}},ne={Ui:"HORIZONTAL",nj:"ORIENTATION_UNSPECIFIED",Jj:"VERTICAL",values:function(){return[ne.nj,ne.Ui,ne.Jj]}},oe={ue:"DEFAULT_OBJECT_ACL",Ic:"PUBLIC",Fe:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[oe.Fe,oe.Ic,oe.ue]}},pe={MAX:"MAX",hb:"MEAN",ib:"MEDIAN",MIN:"MIN",jb:"MODE",kb:"PYRAMIDING_POLICY_UNSPECIFIED",lb:"SAMPLE",values:function(){return[pe.kb,
|
|
pe.hb,pe.lb,pe.MIN,pe.MAX,pe.jb,pe.ib]}},qe={MAX:"MAX",hb:"MEAN",ib:"MEDIAN",MIN:"MIN",jb:"MODE",kb:"PYRAMIDING_POLICY_UNSPECIFIED",lb:"SAMPLE",values:function(){return[qe.kb,qe.hb,qe.lb,qe.MIN,qe.MAX,qe.jb,qe.ib]}},re={MAX:"MAX",hb:"MEAN",ib:"MEDIAN",MIN:"MIN",jb:"MODE",kb:"PYRAMIDING_POLICY_UNSPECIFIED",lb:"SAMPLE",values:function(){return[re.kb,re.hb,re.lb,re.MIN,re.MAX,re.jb,re.ib]}},se={Gb:"AUTO_JPEG_PNG",Hb:"GEO_TIFF",Ib:"IMAGE_FILE_FORMAT_UNSPECIFIED",Jb:"JPEG",Kb:"MULTI_BAND_IMAGE_TILE",Lb:"NPY",
|
|
Mb:"PNG",Nb:"TF_RECORD_IMAGE",Ob:"ZIPPED_GEO_TIFF",Pb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[se.Ib,se.Jb,se.Mb,se.Gb,se.Lb,se.Hb,se.Nb,se.Kb,se.Ob,se.Pb]}},te={MAX:"MAX",hb:"MEAN",ib:"MEDIAN",MIN:"MIN",jb:"MODE",kb:"PYRAMIDING_POLICY_UNSPECIFIED",lb:"SAMPLE",values:function(){return[te.kb,te.hb,te.lb,te.MIN,te.MAX,te.jb,te.ib]}},ue={Di:"CANCELLED",Ei:"CANCELLING",Si:"FAILED",oj:"PENDING",uj:"RUNNING",xj:"STATE_UNSPECIFIED",zj:"SUCCEEDED",values:function(){return[ue.xj,ue.oj,ue.uj,ue.Ei,
|
|
ue.zj,ue.Di,ue.Si]}},ve={ve:"DOUBLE",FLOAT:"FLOAT",INT:"INT",rj:"PRECISION_UNSPECIFIED",values:function(){return[ve.rj,ve.INT,ve.FLOAT,ve.ve]}},we={yi:"ALLOW",zi:"ALLOW_WITH_LOG",Ni:"DENY",Oi:"DENY_WITH_LOG",ej:"LOG",lj:"NO_ACTION",values:function(){return[we.lj,we.yi,we.zi,we.Ni,we.Oi,we.ej]}},xe={re:"CSV",we:"GEO_JSON",ye:"KML",ze:"KMZ",Ce:"SHP",De:"TABLE_FILE_FORMAT_UNSPECIFIED",Ee:"TF_RECORD_TABLE",values:function(){return[xe.De,xe.re,xe.we,xe.ye,xe.ze,xe.Ce,xe.Ee]}},ye={re:"CSV",we:"GEO_JSON",
|
|
ye:"KML",ze:"KMZ",Ce:"SHP",De:"TABLE_FILE_FORMAT_UNSPECIFIED",Ee:"TF_RECORD_TABLE",values:function(){return[ye.De,ye.re,ye.we,ye.ye,ye.ze,ye.Ce,ye.Ee]}},ze={Gb:"AUTO_JPEG_PNG",Hb:"GEO_TIFF",Ib:"IMAGE_FILE_FORMAT_UNSPECIFIED",Jb:"JPEG",Kb:"MULTI_BAND_IMAGE_TILE",Lb:"NPY",Mb:"PNG",Nb:"TF_RECORD_IMAGE",Ob:"ZIPPED_GEO_TIFF",Pb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[ze.Ib,ze.Jb,ze.Mb,ze.Gb,ze.Lb,ze.Hb,ze.Nb,ze.Kb,ze.Ob,ze.Pb]}},Ae={MAX:"MAX",hb:"MEAN",ib:"MEDIAN",MIN:"MIN",jb:"MODE",kb:"PYRAMIDING_POLICY_UNSPECIFIED",
|
|
lb:"SAMPLE",values:function(){return[Ae.kb,Ae.hb,Ae.lb,Ae.MIN,Ae.MAX,Ae.jb,Ae.ib]}},Be={Mi:"DATA_TYPE_UNSPECIFIED",ve:"DOUBLE",FLOAT:"FLOAT",Yi:"INT16",Zi:"INT32",$i:"INT8",Cj:"UINT16",Dj:"UINT32",Ej:"UINT8",values:function(){return[Be.Mi,Be.$i,Be.Ej,Be.Yi,Be.Cj,Be.Zi,Be.Dj,Be.FLOAT,Be.ve]}},Ce={xe:"GIF",Ae:"MP4",Ge:"VIDEO_FILE_FORMAT_UNSPECIFIED",He:"VP9",values:function(){return[Ce.Ge,Ce.Ae,Ce.xe,Ce.He]}},De={xe:"GIF",Ae:"MP4",Ge:"VIDEO_FILE_FORMAT_UNSPECIFIED",He:"VP9",values:function(){return[De.Ge,
|
|
De.Ae,De.xe,De.He]}},Ee=function(a){a=void 0===a?{}:a;this.h={};this.h.scaleX=null==a.Rf?null:a.Rf;this.h.shearX=null==a.Wf?null:a.Wf;this.h.translateX=null==a.jg?null:a.jg;this.h.shearY=null==a.Xf?null:a.Xf;this.h.scaleY=null==a.Sf?null:a.Sf;this.h.translateY=null==a.kg?null:a.kg};q(Ee,C);Ee.prototype.i=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
l.Object.defineProperties(Ee.prototype,{Rf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleX")?E(this,"scaleX"):null},set:function(a){this.h.scaleX=a}},Sf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleY")?E(this,"scaleY"):null},set:function(a){this.h.scaleY=a}},Wf:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearX")?E(this,"shearX"):null},set:function(a){this.h.shearX=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearY")?
|
|
E(this,"shearY"):null},set:function(a){this.h.shearY=a}},jg:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateX")?E(this,"translateX"):null},set:function(a){this.h.translateX=a}},kg:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateY")?E(this,"translateY"):null},set:function(a){this.h.translateY=a}}});
|
|
var Fe=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.Qf?null:a.Qf;this.h.arguments=null==a.arguments?null:a.arguments;this.h.deprecated=null==a.deprecated?null:a.deprecated;this.h.deprecationReason=null==a.We?null:a.We;this.h.hidden=null==a.hidden?null:a.hidden;this.h.preview=null==a.preview?null:a.preview;this.h.sourceCodeUri=null==a.sourceCodeUri?null:a.sourceCodeUri};q(Fe,C);
|
|
Fe.prototype.i=function(){return{R:{arguments:Ge},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
|
|
l.Object.defineProperties(Fe.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}},We:{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}},Qf:{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 Ge=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.vd?null:a.vd;this.h.type=null==a.type?null:a.type;this.h.description=null==a.description?null:a.description;this.h.optional=null==a.optional?null:a.optional;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue};q(Ge,C);Ge.prototype.i=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
l.Object.defineProperties(Ge.prototype,{vd:{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 He=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(He,C);He.prototype.i=function(){return{R:{values:Ie},keys:["values"]}};
|
|
l.Object.defineProperties(He.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var Je=function(a){a=void 0===a?{}:a;this.h={};this.h.service=null==a.$h?null:a.$h;this.h.exemptedMembers=null==a.Qc?null:a.Qc;this.h.auditLogConfigs=null==a.ug?null:a.ug};q(Je,C);Je.prototype.i=function(){return{R:{auditLogConfigs:Ke},keys:["auditLogConfigs","exemptedMembers","service"]}};
|
|
l.Object.defineProperties(Je.prototype,{ug:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditLogConfigs")?E(this,"auditLogConfigs"):null},set:function(a){this.h.auditLogConfigs=a}},Qc:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?E(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},$h:{configurable:!0,enumerable:!0,get:function(){return F(this,"service")?E(this,"service"):null},set:function(a){this.h.service=a}}});
|
|
var Ke=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Ch?null:a.Ch;this.h.exemptedMembers=null==a.Qc?null:a.Qc;this.h.ignoreChildExemptions=null==a.ph?null:a.ph};q(Ke,C);Ke.prototype.i=function(){return{K:{logType:$d},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
l.Object.defineProperties(Ke.prototype,{Qc:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?E(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},ph:{configurable:!0,enumerable:!0,get:function(){return F(this,"ignoreChildExemptions")?E(this,"ignoreChildExemptions"):null},set:function(a){this.h.ignoreChildExemptions=a}},Ch:{configurable:!0,enumerable:!0,get:function(){return F(this,"logType")?E(this,"logType"):null},set:function(a){this.h.logType=
|
|
a}}});var Le=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.Oh?null:a.Oh};q(Le,C);Le.prototype.i=function(){return{K:{permissionType:ae},keys:["permissionType"]}};l.Object.defineProperties(Le.prototype,{Oh:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissionType")?E(this,"permissionType"):null},set:function(a){this.h.permissionType=a}}});
|
|
var Me=function(a){a=void 0===a?{}:a;this.h={};this.h.role=null==a.Cc?null:a.Cc;this.h.members=null==a.bc?null:a.bc;this.h.condition=null==a.Ig?null:a.Ig;this.h.bindingId=null==a.xg?null:a.xg};q(Me,C);Me.prototype.i=function(){return{keys:["bindingId","condition","members","role"],u:{condition:Ne}}};
|
|
l.Object.defineProperties(Me.prototype,{xg:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindingId")?E(this,"bindingId"):null},set:function(a){this.h.bindingId=a}},Ig:{configurable:!0,enumerable:!0,get:function(){return F(this,"condition")?E(this,"condition"):null},set:function(a){this.h.condition=a}},bc:{configurable:!0,enumerable:!0,get:function(){return F(this,"members")?E(this,"members"):null},set:function(a){this.h.members=a}},Cc:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"role")?E(this,"role"):null},set:function(a){this.h.role=a}}});var Oe=function(){this.h={}};q(Oe,C);Oe.prototype.i=function(){return{keys:[]}};var Pe=function(a){a=void 0===a?{}:a;this.h={};this.h.capabilities=null==a.Dg?null:a.Dg};q(Pe,C);Pe.prototype.i=function(){return{K:{capabilities:be},keys:["capabilities"]}};
|
|
l.Object.defineProperties(Pe.prototype,{Dg:{configurable:!0,enumerable:!0,get:function(){return F(this,"capabilities")?E(this,"capabilities"):null},set:function(a){this.h.capabilities=a}}});var Qe=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ka?null:a.Ka};q(Qe,C);Qe.prototype.i=function(){return{keys:["earthEngineDestination"],u:{earthEngineDestination:Re}}};
|
|
l.Object.defineProperties(Qe.prototype,{Ka:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Se=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Bh?null:a.Bh;this.h.authorizationLoggingOptions=null==a.vg?null:a.vg};q(Se,C);Se.prototype.i=function(){return{K:{logName:ce},keys:["authorizationLoggingOptions","logName"],u:{authorizationLoggingOptions:Le}}};
|
|
l.Object.defineProperties(Se.prototype,{vg:{configurable:!0,enumerable:!0,get:function(){return F(this,"authorizationLoggingOptions")?E(this,"authorizationLoggingOptions"):null},set:function(a){this.h.authorizationLoggingOptions=a}},Bh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logName")?E(this,"logName"):null},set:function(a){this.h.logName=a}}});
|
|
var Te=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};q(Te,C);Te.prototype.i=function(){return{K:{permissions:de},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
l.Object.defineProperties(Te.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}}});l.Object.defineProperties(Te,{Permissions:{configurable:!0,enumerable:!0,get:function(){return de}}});var Ue=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.ya?null:a.ya};q(Ue,C);Ue.prototype.i=function(){return{keys:["uris"]}};
|
|
l.Object.defineProperties(Ue.prototype,{ya:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}}});var Ve=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l};q(Ve,C);Ve.prototype.i=function(){return{keys:["expression"],u:{expression:We}}};
|
|
l.Object.defineProperties(Ve.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}}});var Xe=function(a){a=void 0===a?{}:a;this.h={};this.h.result=null==a.result?null:a.result};q(Xe,C);Xe.prototype.i=function(){return{keys:["result"]}};
|
|
l.Object.defineProperties(Xe.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?E(this,"result"):null},set:function(a){this.h.result=a}}});var Ye=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.mh?null:a.mh;this.h.sys=null==a.ji?null:a.ji;this.h.svc=null==a.ii?null:a.ii;this.h.op=null==a.Mh?null:a.Mh;this.h.values=null==a.values?null:a.values};q(Ye,C);Ye.prototype.i=function(){return{K:{iam:fe,op:ge,sys:he},keys:["iam","op","svc","sys","values"]}};
|
|
l.Object.defineProperties(Ye.prototype,{mh:{configurable:!0,enumerable:!0,get:function(){return F(this,"iam")?E(this,"iam"):null},set:function(a){this.h.iam=a}},Mh:{configurable:!0,enumerable:!0,get:function(){return F(this,"op")?E(this,"op"):null},set:function(a){this.h.op=a}},ii:{configurable:!0,enumerable:!0,get:function(){return F(this,"svc")?E(this,"svc"):null},set:function(a){this.h.svc=a}},ji:{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 Ze=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Ub?null:a.Ub;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.bandIds=null==a.ca?null:a.ca};q(Ze,C);Ze.prototype.i=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
l.Object.defineProperties(Ze.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Ub:{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 $e=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Eh?null:a.Eh;this.h.field=null==a.$g?null:a.$g;this.h.customFields=null==a.Rg?null:a.Rg};q($e,C);$e.prototype.i=function(){return{R:{customFields:af},keys:["customFields","field","metric"]}};
|
|
l.Object.defineProperties($e.prototype,{Rg:{configurable:!0,enumerable:!0,get:function(){return F(this,"customFields")?E(this,"customFields"):null},set:function(a){this.h.customFields=a}},$g:{configurable:!0,enumerable:!0,get:function(){return F(this,"field")?E(this,"field"):null},set:function(a){this.h.field=a}},Eh:{configurable:!0,enumerable:!0,get:function(){return F(this,"metric")?E(this,"metric"):null},set:function(a){this.h.metric=a}}});
|
|
var af=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.value=null==a.value?null:a.value};q(af,C);af.prototype.i=function(){return{keys:["name","value"]}};l.Object.defineProperties(af.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 bf=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Sb?null:a.Sb;this.h.dmsName=null==a.Vb?null:a.Vb;this.h.name=null==a.name?null:a.name;this.h.visualizationOptions=null==a.Wa?null:a.Wa};q(bf,C);bf.prototype.i=function(){return{keys:["asset","dmsName","name","visualizationOptions"]}};
|
|
l.Object.defineProperties(bf.prototype,{Sb:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?E(this,"asset"):null},set:function(a){this.h.asset=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return F(this,"dmsName")?E(this,"dmsName"):null},set:function(a){this.h.dmsName=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},Wa:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?
|
|
E(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var cf=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Ah?null:a.Ah};q(cf,C);cf.prototype.i=function(){return{K:{logMode:ie},keys:["logMode"]}};l.Object.defineProperties(cf.prototype,{Ah:{configurable:!0,enumerable:!0,get:function(){return F(this,"logMode")?E(this,"logMode"):null},set:function(a){this.h.logMode=a}}});
|
|
var df=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(df,C);df.prototype.i=function(){return{keys:["values"],Da:{values:{ka:Ie,qa:!1,ra:!0,sa:!1}}}};l.Object.defineProperties(df.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var ef=function(a){a=void 0===a?{}:a;this.h={};this.h.dmsDestination=null==a.Ye?null:a.Ye};q(ef,C);
|
|
ef.prototype.i=function(){return{keys:["dmsDestination"],u:{dmsDestination:ff}}};l.Object.defineProperties(ef.prototype,{Ye:{configurable:!0,enumerable:!0,get:function(){return F(this,"dmsDestination")?E(this,"dmsDestination"):null},set:function(a){this.h.dmsDestination=a}}});var ff=function(a){a=void 0===a?{}:a;this.h={};this.h.dmsName=null==a.Vb?null:a.Vb;this.h.assetVersion=null==a.pg?null:a.pg};q(ff,C);ff.prototype.i=function(){return{keys:["assetVersion","dmsName"]}};
|
|
l.Object.defineProperties(ff.prototype,{pg:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetVersion")?E(this,"assetVersion"):null},set:function(a){this.h.assetVersion=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return F(this,"dmsName")?E(this,"dmsName"):null},set:function(a){this.h.dmsName=a}}});var gf=function(a){a=void 0===a?{}:a;this.h={};this.h.min=null==a.min?null:a.min;this.h.max=null==a.max?null:a.max};q(gf,C);gf.prototype.i=function(){return{keys:["max","min"]}};
|
|
l.Object.defineProperties(gf.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 hf=function(a){a=void 0===a?{}:a;this.h={};this.h.folder=null==a.ff?null:a.ff;this.h.filenamePrefix=null==a.ea?null:a.ea};q(hf,C);hf.prototype.i=function(){return{keys:["filenamePrefix","folder"]}};
|
|
l.Object.defineProperties(hf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},ff:{configurable:!0,enumerable:!0,get:function(){return F(this,"folder")?E(this,"folder"):null},set:function(a){this.h.folder=a}}});
|
|
var jf=function(a){a=void 0===a?{}:a;this.h={};this.h.tilestoreLocation=null==a.ni?null:a.ni;this.h.cloudStorageLocation=null==a.Gg?null:a.Gg;this.h.tilestoreEntry=null==a.mi?null:a.mi;this.h.gcsLocation=null==a.ih?null:a.ih;this.h.type=null==a.type?null:a.type;this.h.name=null==a.name?null:a.name;this.h.id=null==a.id?null:a.id;this.h.updateTime=null==a.Ta?null:a.Ta;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.properties=null==a.properties?
|
|
null:a.properties;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.geometry=null==a.geometry?null:a.geometry;this.h.bands=null==a.bands?null:a.bands;this.h.sizeBytes=null==a.Fa?null:a.Fa;this.h.quota=null==a.quota?null:a.quota;this.h.expression=null==a.l?null:a.l};q(jf,C);
|
|
jf.prototype.i=function(){return{R:{bands:kf},K:{type:je},keys:"bands cloudStorageLocation description endTime expression gcsLocation geometry id name properties quota sizeBytes startTime tilestoreEntry tilestoreLocation title type updateTime".split(" "),Da:{geometry:{ka:null,qa:!1,ra:!1,sa:!1},properties:{ka:null,qa:!1,ra:!1,sa:!1}},u:{cloudStorageLocation:Ue,expression:We,gcsLocation:lf,quota:mf,tilestoreEntry:nf,tilestoreLocation:of}}};
|
|
l.Object.defineProperties(jf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?E(this,"bands"):null},set:function(a){this.h.bands=a}},Gg:{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}},ih:{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}},Fa:{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}},mi:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilestoreEntry")?E(this,"tilestoreEntry"):null},set:function(a){this.h.tilestoreEntry=a}},ni:{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}},Ta:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?E(this,"updateTime"):null},
|
|
set:function(a){this.h.updateTime=a}}});var Re=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name};q(Re,C);Re.prototype.i=function(){return{keys:["name"]}};l.Object.defineProperties(Re.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}}});
|
|
var pf=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.Wa?null:a.Wa};q(pf,C);pf.prototype.i=function(){return{K:{fileFormat:ke},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],u:{expression:We,visualizationOptions:qf}}};
|
|
l.Object.defineProperties(pf.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}},Wa:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?E(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var rf=function(){this.h={}};q(rf,C);rf.prototype.i=function(){return{keys:[]}};
|
|
var sf=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.ta?null:a.ta;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:a.P};q(sf,C);sf.prototype.i=function(){return{keys:"assetExportOptions description expression maxWorkerCount maxWorkers requestId".split(" "),u:{assetExportOptions:Qe,expression:We}}};
|
|
l.Object.defineProperties(sf.prototype,{ta:{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}},
|
|
P:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{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}}});
|
|
var tf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.na?null:a.na;this.h.assetExportOptions=null==a.ta?null:a.ta;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.maxPixels=null==a.Df?null:a.Df;this.h.grid=null==a.L?null:a.L;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:a.P};q(tf,C);
|
|
tf.prototype.i=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkerCount maxWorkers requestId".split(" "),u:{assetExportOptions:uf,expression:We,fileExportOptions:vf,grid:wf}}};
|
|
l.Object.defineProperties(tf.prototype,{ta:{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}},
|
|
na:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},L:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},Df:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixels")?E(this,"maxPixels"):null},set:function(a){this.h.maxPixels=a}},P:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?
|
|
E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{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}}});
|
|
var xf=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.ic?null:a.ic;this.h.tileExportOptions=null==a.hc?null:a.hc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:a.P};q(xf,C);
|
|
xf.prototype.i=function(){return{keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions".split(" "),u:{expression:We,tileExportOptions:vf,tileOptions:yf}}};
|
|
l.Object.defineProperties(xf.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}},P:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{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}},hc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?E(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},ic:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?
|
|
E(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}}});
|
|
var zf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.na?null:a.na;this.h.assetExportOptions=null==a.ta?null:a.ta;this.h.dmsExportOptions=null==a.Cd?null:a.Cd;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.$b?null:a.$b;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:
|
|
a.P;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices};q(zf,C);zf.prototype.i=function(){return{keys:"assetExportOptions description dmsExportOptions expression fileExportOptions maxErrorMeters maxVertices maxWorkerCount maxWorkers requestId selectors".split(" "),u:{assetExportOptions:Af,dmsExportOptions:ef,expression:We,fileExportOptions:Bf}}};
|
|
l.Object.defineProperties(zf.prototype,{ta:{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}},Cd:{configurable:!0,enumerable:!0,get:function(){return F(this,"dmsExportOptions")?E(this,"dmsExportOptions"):null},set:function(a){this.h.dmsExportOptions=
|
|
a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},na:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},$b:{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}},P:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{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}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,"selectors")?E(this,"selectors"):null},set:function(a){this.h.selectors=a}}});
|
|
var Cf=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.Va?null:a.Va;this.h.tileOptions=null==a.ic?null:a.ic;this.h.tileExportOptions=null==a.hc?null:a.hc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.version=null==a.version?null:a.version;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:a.P};q(Cf,C);
|
|
Cf.prototype.i=function(){return{K:{version:le},keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions version videoOptions".split(" "),u:{expression:We,tileExportOptions:Df,tileOptions:yf,videoOptions:Ef}}};
|
|
l.Object.defineProperties(Cf.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}},P:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{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}},hc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?E(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},ic:{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}},Va:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});
|
|
var Ff=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.Va?null:a.Va;this.h.fileExportOptions=null==a.na?null:a.na;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:a.P};q(Ff,C);
|
|
Ff.prototype.i=function(){return{keys:"description expression fileExportOptions maxWorkerCount maxWorkers requestId videoOptions".split(" "),u:{expression:We,fileExportOptions:Df,videoOptions:Ef}}};
|
|
l.Object.defineProperties(Ff.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}},na:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},P:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{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}},Va:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,
|
|
"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var Ne=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.location=null==a.location?null:a.location};q(Ne,C);Ne.prototype.i=function(){return{keys:["description","expression","location","title"]}};
|
|
l.Object.defineProperties(Ne.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 We=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values;this.h.result=null==a.result?null:a.result};q(We,C);We.prototype.i=function(){return{keys:["result","values"],Da:{values:{ka:Ie,qa:!1,ra:!0,sa:!1}}}};
|
|
l.Object.defineProperties(We.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 Gf=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.L?null:a.L};q(Gf,C);Gf.prototype.i=function(){return{K:{fileFormat:me,orientation:ne},keys:["expression","fileFormat","grid","name","orientation"],u:{expression:We,grid:wf}}};
|
|
l.Object.defineProperties(Gf.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}},L:{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 mf=function(a){a=void 0===a?{}:a;this.h={};this.h.sizeBytes=null==a.Fa?null:a.Fa;this.h.maxSizeBytes=null==a.ac?null:a.ac;this.h.assetCount=null==a.Ke?null:a.Ke;this.h.maxAssets=null==a.Dh?null:a.Dh;this.h.maxAssetCount=null==a.Bf?null:a.Bf};q(mf,C);
|
|
mf.prototype.i=function(){return{keys:["assetCount","maxAssetCount","maxAssets","maxSizeBytes","sizeBytes"]}};
|
|
l.Object.defineProperties(mf.prototype,{Ke:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetCount")?E(this,"assetCount"):null},set:function(a){this.h.assetCount=a}},Bf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxAssetCount")?E(this,"maxAssetCount"):null},set:function(a){this.h.maxAssetCount=a}},Dh:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxAssets")?E(this,"maxAssets"):null},set:function(a){this.h.maxAssets=a}},ac:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"maxSizeBytes")?E(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return F(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});var Hf=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};q(Hf,C);Hf.prototype.i=function(){return{keys:["argumentNames","body"]}};
|
|
l.Object.defineProperties(Hf.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 If=function(a){a=void 0===a?{}:a;this.h={};this.h.functionName=null==a.functionName?null:a.functionName;this.h.functionReference=null==a.bb?null:a.bb;this.h.arguments=null==a.arguments?null:a.arguments};q(If,C);If.prototype.i=function(){return{keys:["arguments","functionName","functionReference"],Da:{arguments:{ka:Ie,qa:!1,ra:!0,sa:!1}}}};
|
|
l.Object.defineProperties(If.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}},bb:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionReference")?E(this,"functionReference"):null},set:function(a){this.h.functionReference=
|
|
a}}});var Jf=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};q(Jf,C);Jf.prototype.i=function(){return{K:{permissions:oe},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
l.Object.defineProperties(Jf.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}}});l.Object.defineProperties(Jf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return oe}}});var lf=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.ya?null:a.ya};q(lf,C);lf.prototype.i=function(){return{keys:["uris"]}};
|
|
l.Object.defineProperties(lf.prototype,{ya:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}}});var Kf=function(a){a=void 0===a?{}:a;this.h={};this.h.cloudOptimized=null==a.Ne?null:a.Ne;this.h.tileDimensions=null==a.Sa?null:a.Sa;this.h.skipEmptyFiles=null==a.Zf?null:a.Zf;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(Kf,C);
|
|
Kf.prototype.i=function(){return{keys:["cloudOptimized","skipEmptyFiles","tileDimensions","tileSize"],u:{tileDimensions:Lf}}};
|
|
l.Object.defineProperties(Kf.prototype,{Ne:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudOptimized")?E(this,"cloudOptimized"):null},set:function(a){this.h.cloudOptimized=a}},Zf:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyFiles")?E(this,"skipEmptyFiles"):null},set:function(a){this.h.skipEmptyFiles=a}},Sa:{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 Mf=function(a){a=void 0===a?{}:a;this.h={};this.h.options=null==a.options?null:a.options};q(Mf,C);Mf.prototype.i=function(){return{keys:["options"],u:{options:Nf}}};l.Object.defineProperties(Mf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return F(this,"options")?E(this,"options"):null},set:function(a){this.h.options=a}}});
|
|
var Nf=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.Vh?null:a.Vh};q(Nf,C);Nf.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};l.Object.defineProperties(Nf.prototype,{Vh:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestedPolicyVersion")?E(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});
|
|
var Lf=function(a){a=void 0===a?{}:a;this.h={};this.h.width=null==a.width?null:a.width;this.h.height=null==a.height?null:a.height};q(Lf,C);Lf.prototype.i=function(){return{keys:["height","width"]}};l.Object.defineProperties(Lf.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 Of=function(a){a=void 0===a?{}:a;this.h={};this.h.x=null==a.x?null:a.x;this.h.y=null==a.y?null:a.y};q(Of,C);Of.prototype.i=function(){return{keys:["x","y"]}};l.Object.defineProperties(Of.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 Pf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.id=null==a.id?null:a.id;this.h.updateTime=null==a.Ta?null:a.Ta;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.properties=null==a.properties?null:a.properties;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.geometry=null==a.geometry?null:a.geometry;this.h.bands=null==a.bands?null:a.bands;this.h.sizeBytes=
|
|
null==a.Fa?null:a.Fa};q(Pf,C);Pf.prototype.i=function(){return{R:{bands:kf},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),Da:{geometry:{ka:null,qa:!1,ra:!1,sa:!1},properties:{ka:null,qa:!1,ra:!1,sa:!1}}}};
|
|
l.Object.defineProperties(Pf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?E(this,"bands"):null},set:function(a){this.h.bands=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}},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}},Fa:{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}},title:{configurable:!0,enumerable:!0,get:function(){return F(this,"title")?E(this,"title"):null},set:function(a){this.h.title=a}},Ta:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?E(this,"updateTime"):null},set:function(a){this.h.updateTime=
|
|
a}}});var uf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ka?null:a.Ka;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.pyramidingPolicyOverrides=null==a.Lf?null:a.Lf;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(uf,C);
|
|
uf.prototype.i=function(){return{K:{pyramidingPolicy:pe,pyramidingPolicyOverrides:qe},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],Da:{pyramidingPolicyOverrides:{ka:null,qa:!1,ra:!1,sa:!1}},u:{earthEngineDestination:Re}}};
|
|
l.Object.defineProperties(uf.prototype,{Ka:{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}},Lf:{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 kf=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.L?null:a.L;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.missingData=null==a.missingData?null:a.missingData};q(kf,C);
|
|
kf.prototype.i=function(){return{R:{tilesets:Qf},K:{pyramidingPolicy:re},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),u:{dataType:Rf,grid:wf,missingData:Sf}}};
|
|
l.Object.defineProperties(kf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?E(this,"dataType"):null},set:function(a){this.h.dataType=a}},L:{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 vf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.la?null:a.la;this.h.cloudStorageDestination=null==a.xb?null:a.xb;this.h.gcsDestination=null==a.oa?null:a.oa;this.h.geoTiffOptions=null==a.Hd?null:a.Hd;this.h.tfRecordOptions=null==a.de?null:a.de;this.h.fileFormat=null==a.F?null:a.F};q(vf,C);
|
|
vf.prototype.i=function(){return{K:{fileFormat:se},keys:"cloudStorageDestination driveDestination fileFormat gcsDestination geoTiffOptions tfRecordOptions".split(" "),u:{cloudStorageDestination:Te,driveDestination:hf,gcsDestination:Jf,geoTiffOptions:Kf,tfRecordOptions:Tf}}};
|
|
l.Object.defineProperties(vf.prototype,{xb:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},la:{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}},oa:{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}},de:{configurable:!0,enumerable:!0,get:function(){return F(this,"tfRecordOptions")?E(this,"tfRecordOptions"):null},set:function(a){this.h.tfRecordOptions=a}}});
|
|
var Uf=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.pd?null:a.pd;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.bands=null==a.bands?null:a.bands;this.h.maskBands=null==a.Af?null:a.Af;this.h.footprint=null==a.gh?null:a.gh;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.startTime=null==a.startTime?
|
|
null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.minTileAreaRatio=null==a.Gh?null:a.Gh};q(Uf,C);Uf.prototype.i=function(){return{R:{bands:Vf,maskBands:Wf,tilesets:Xf},K:{pyramidingPolicy:te},keys:"bands endTime footprint maskBands minTileAreaRatio missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),Da:{properties:{ka:null,qa:!1,ra:!1,sa:!1}},u:{footprint:Yf,missingData:Sf}}};
|
|
l.Object.defineProperties(Uf.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}},gh:{configurable:!0,enumerable:!0,get:function(){return F(this,"footprint")?E(this,"footprint"):null},set:function(a){this.h.footprint=a}},Af:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"maskBands")?E(this,"maskBands"):null},set:function(a){this.h.maskBands=a}},Gh:{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}},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}},pd:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?E(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});var Zf=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.ya?null:a.ya;this.h.affineTransform=null==a.Qb?null:a.Qb};q(Zf,C);Zf.prototype.i=function(){return{keys:["affineTransform","uris"],u:{affineTransform:Ee}}};
|
|
l.Object.defineProperties(Zf.prototype,{Qb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?E(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},ya:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}}});
|
|
var $f=function(a){a=void 0===a?{}:a;this.h={};this.h.imageManifest=null==a.qf?null:a.qf;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId};q($f,C);$f.prototype.i=function(){return{keys:["description","imageManifest","overwrite","requestId"],u:{imageManifest:Uf}}};
|
|
l.Object.defineProperties($f.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},qf:{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 ag=function(a){a=void 0===a?{}:a;this.h={};this.h.tableManifest=null==a.dg?null:a.dg;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId};q(ag,C);ag.prototype.i=function(){return{keys:["description","overwrite","requestId","tableManifest"],u:{tableManifest:bg}}};
|
|
l.Object.defineProperties(ag.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}},dg:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tableManifest")?E(this,"tableManifest"):null},set:function(a){this.h.tableManifest=a}}});var cg=function(a){a=void 0===a?{}:a;this.h={};this.h.algorithms=null==a.Jc?null:a.Jc};q(cg,C);cg.prototype.i=function(){return{R:{algorithms:Fe},keys:["algorithms"]}};l.Object.defineProperties(cg.prototype,{Jc:{configurable:!0,enumerable:!0,get:function(){return F(this,"algorithms")?E(this,"algorithms"):null},set:function(a){this.h.algorithms=a}}});
|
|
var dg=function(a){a=void 0===a?{}:a;this.h={};this.h.assets=null==a.assets?null:a.assets;this.h.nextPageToken=null==a.eb?null:a.eb};q(dg,C);dg.prototype.i=function(){return{R:{assets:jf},keys:["assets","nextPageToken"]}};
|
|
l.Object.defineProperties(dg.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return F(this,"assets")?E(this,"assets"):null},set:function(a){this.h.assets=a}},eb:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});var eg=function(a){a=void 0===a?{}:a;this.h={};this.h.images=null==a.images?null:a.images;this.h.nextPageToken=null==a.eb?null:a.eb};q(eg,C);
|
|
eg.prototype.i=function(){return{R:{images:Pf},keys:["images","nextPageToken"]}};l.Object.defineProperties(eg.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return F(this,"images")?E(this,"images"):null},set:function(a){this.h.images=a}},eb:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});
|
|
var fg=function(a){a=void 0===a?{}:a;this.h={};this.h.operations=null==a.Qa?null:a.Qa;this.h.nextPageToken=null==a.eb?null:a.eb};q(fg,C);fg.prototype.i=function(){return{R:{operations:gg},keys:["nextPageToken","operations"]}};
|
|
l.Object.defineProperties(fg.prototype,{eb:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},Qa:{configurable:!0,enumerable:!0,get:function(){return F(this,"operations")?E(this,"operations"):null},set:function(a){this.h.operations=a}}});
|
|
var hg=function(a){a=void 0===a?{}:a;this.h={};this.h.counter=null==a.counter?null:a.counter;this.h.dataAccess=null==a.Sg?null:a.Sg;this.h.cloudAudit=null==a.Fg?null:a.Fg};q(hg,C);hg.prototype.i=function(){return{keys:["cloudAudit","counter","dataAccess"],u:{cloudAudit:Se,counter:$e,dataAccess:cf}}};
|
|
l.Object.defineProperties(hg.prototype,{Fg:{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}},Sg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataAccess")?E(this,"dataAccess"):null},set:function(a){this.h.dataAccess=a}}});
|
|
var Sf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Sf,C);Sf.prototype.i=function(){return{keys:["values"]}};l.Object.defineProperties(Sf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var ig=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Ub?null:a.Ub};q(ig,C);ig.prototype.i=function(){return{keys:["destinationName"]}};
|
|
l.Object.defineProperties(ig.prototype,{Ub:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?E(this,"destinationName"):null},set:function(a){this.h.destinationName=a}}});var gg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.metadata=null==a.Ef?null:a.Ef;this.h.done=null==a.done?null:a.done;this.h.error=null==a.error?null:a.error;this.h.response=null==a.response?null:a.response};q(gg,C);
|
|
gg.prototype.i=function(){return{keys:["done","error","metadata","name","response"],Da:{metadata:{ka:null,qa:!1,ra:!1,sa:!1},response:{ka:null,qa:!1,ra:!1,sa:!1}},u:{error:jg}}};
|
|
l.Object.defineProperties(gg.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}},Ef:{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 kg=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.Ue?null:a.Ue;this.h.updateTime=null==a.Ta?null:a.Ta;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.Tf?null:a.Tf;this.h.destinationUris=null==a.Xe?null:a.Xe};q(kg,C);kg.prototype.i=function(){return{R:{stages:lg},K:{state:ue},keys:"attempt createTime description destinationUris endTime priority progress scriptUri stages startTime state type updateTime".split(" ")}};
|
|
l.Object.defineProperties(kg.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return F(this,"attempt")?E(this,"attempt"):null},set:function(a){this.h.attempt=a}},Ue:{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}},Xe:{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}},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}},Tf:{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}},Ta:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?E(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});
|
|
var lg=function(a){a=void 0===a?{}:a;this.h={};this.h.displayName=null==a.displayName?null:a.displayName;this.h.completeWorkUnits=null==a.Hg?null:a.Hg;this.h.totalWorkUnits=null==a.pi?null:a.pi;this.h.description=null==a.description?null:a.description};q(lg,C);lg.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
|
|
l.Object.defineProperties(lg.prototype,{Hg:{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}},pi:{configurable:!0,enumerable:!0,get:function(){return F(this,"totalWorkUnits")?E(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.precision=null==a.precision?null:a.precision;this.h.range=null==a.hd?null:a.hd;this.h.dimensionsCount=null==a.Wg?null:a.Wg};q(Rf,C);Rf.prototype.i=function(){return{K:{precision:ve},keys:["dimensionsCount","precision","range"],u:{range:gf}}};
|
|
l.Object.defineProperties(Rf.prototype,{Wg:{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}},hd:{configurable:!0,enumerable:!0,get:function(){return F(this,"range")?E(this,"range"):null},set:function(a){this.h.range=a}}});
|
|
var Yf=function(a){a=void 0===a?{}:a;this.h={};this.h.points=null==a.Ph?null:a.Ph;this.h.bandId=null==a.wg?null:a.wg};q(Yf,C);Yf.prototype.i=function(){return{R:{points:Of},keys:["bandId","points"]}};l.Object.defineProperties(Yf.prototype,{wg:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandId")?E(this,"bandId"):null},set:function(a){this.h.bandId=a}},Ph:{configurable:!0,enumerable:!0,get:function(){return F(this,"points")?E(this,"points"):null},set:function(a){this.h.points=a}}});
|
|
var wf=function(a){a=void 0===a?{}:a;this.h={};this.h.crsCode=null==a.Ve?null:a.Ve;this.h.crsWkt=null==a.Ng?null:a.Ng;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.affineTransform=null==a.Qb?null:a.Qb};q(wf,C);wf.prototype.i=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],u:{affineTransform:Ee,dimensions:Lf}}};
|
|
l.Object.defineProperties(wf.prototype,{Qb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?E(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},Ve:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsCode")?E(this,"crsCode"):null},set:function(a){this.h.crsCode=a}},Ng:{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 mg=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.wd?null:a.wd;this.h.auditConfigs=null==a.tg?null:a.tg;this.h.rules=null==a.rules?null:a.rules;this.h.etag=null==a.$e?null:a.$e;this.h.iamOwned=null==a.nh?null:a.nh};q(mg,C);mg.prototype.i=function(){return{R:{auditConfigs:Je,bindings:Me,rules:ng},keys:"auditConfigs bindings etag iamOwned rules version".split(" ")}};
|
|
l.Object.defineProperties(mg.prototype,{tg:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditConfigs")?E(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},wd:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindings")?E(this,"bindings"):null},set:function(a){this.h.bindings=a}},$e:{configurable:!0,enumerable:!0,get:function(){return F(this,"etag")?E(this,"etag"):null},set:function(a){this.h.etag=a}},nh:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"iamOwned")?E(this,"iamOwned"):null},set:function(a){this.h.iamOwned=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 ng=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.rh?null:a.rh;this.h.notIn=null==a.Hh?null:a.Hh;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.zh?null:a.zh};q(ng,C);ng.prototype.i=function(){return{R:{conditions:Ye,logConfig:hg},K:{action:we},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
l.Object.defineProperties(ng.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}},rh:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"in")?E(this,"in"):null},set:function(a){this.h["in"]=a}},zh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logConfig")?E(this,"logConfig"):null},set:function(a){this.h.logConfig=a}},Hh:{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 og=function(a){a=void 0===a?{}:a;this.h={};this.h.policy=null==a.If?null:a.If;this.h.updateMask=null==a.Gc?null:a.Gc};q(og,C);og.prototype.i=function(){return{keys:["policy","updateMask"],u:{policy:mg}}};
|
|
l.Object.defineProperties(og.prototype,{If:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?E(this,"policy"):null},set:function(a){this.h.policy=a}},Gc:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?E(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});var jg=function(a){a=void 0===a?{}:a;this.h={};this.h.code=null==a.code?null:a.code;this.h.message=null==a.message?null:a.message;this.h.details=null==a.details?null:a.details};q(jg,C);
|
|
jg.prototype.i=function(){return{keys:["code","details","message"],Da:{details:{ka:null,qa:!0,ra:!1,sa:!1}}}};
|
|
l.Object.defineProperties(jg.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 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.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};q(pg,C);pg.prototype.i=function(){return{K:{fileFormat:ye},keys:["expression","fileFormat","filename","name","selectors"],u:{expression:We}}};
|
|
l.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}},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 Af=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ka?null:a.Ka};q(Af,C);Af.prototype.i=function(){return{keys:["earthEngineDestination"],u:{earthEngineDestination:Re}}};
|
|
l.Object.defineProperties(Af.prototype,{Ka:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Bf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.la?null:a.la;this.h.cloudStorageDestination=null==a.xb?null:a.xb;this.h.gcsDestination=null==a.oa?null:a.oa;this.h.fileFormat=null==a.F?null:a.F};q(Bf,C);
|
|
Bf.prototype.i=function(){return{K:{fileFormat:xe},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],u:{cloudStorageDestination:Te,driveDestination:hf,gcsDestination:Jf}}};
|
|
l.Object.defineProperties(Bf.prototype,{xb:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},la:{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}},oa:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?E(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}}});var bg=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.pd?null:a.pd;this.h.sources=null==a.sources?null:a.sources;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime};q(bg,C);
|
|
bg.prototype.i=function(){return{R:{sources:qg},keys:"endTime name properties sources startTime uriPrefix".split(" "),Da:{properties:{ka:null,qa:!1,ra:!1,sa:!1}}}};
|
|
l.Object.defineProperties(bg.prototype,{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}},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}},pd:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?E(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var qg=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.$b?null:a.$b;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.Qh?null:a.Qh;this.h.xColumn=null==a.ti?null:a.ti;this.h.yColumn=null==a.ui?null:a.ui;this.h.dateFormat=null==a.Tg?null:a.Tg;this.h.csvDelimiter=null==a.Og?
|
|
null:a.Og;this.h.csvQualifier=null==a.Pg?null:a.Pg};q(qg,C);qg.prototype.i=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
l.Object.defineProperties(qg.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}},Og:{configurable:!0,enumerable:!0,get:function(){return F(this,"csvDelimiter")?E(this,"csvDelimiter"):null},set:function(a){this.h.csvDelimiter=a}},Pg:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"csvQualifier")?E(this,"csvQualifier"):null},set:function(a){this.h.csvQualifier=a}},Tg:{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}},$b:{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}},Qh:{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}},ti:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"xColumn")?E(this,"xColumn"):null},set:function(a){this.h.xColumn=a}},ui:{configurable:!0,enumerable:!0,get:function(){return F(this,"yColumn")?E(this,"yColumn"):null},set:function(a){this.h.yColumn=a}}});
|
|
var Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.tileDimensions=null==a.Sa?null:a.Sa;this.h.marginDimensions=null==a.zf?null:a.zf;this.h.compress=null==a.Qe?null:a.Qe;this.h.maxSizeBytes=null==a.ac?null:a.ac;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue;this.h.tensorDepths=null==a.ce?null:a.ce;this.h.sequenceData=null==a.Uf?null:a.Uf;this.h.collapseBands=null==a.Oe?null:a.Oe;this.h.maxMaskedRatio=null==a.Cf?null:a.Cf};q(Tf,C);
|
|
Tf.prototype.i=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),Da:{tensorDepths:{ka:null,qa:!1,ra:!1,sa:!1}},u:{marginDimensions:Lf,tileDimensions:Lf}}};
|
|
l.Object.defineProperties(Tf.prototype,{Oe:{configurable:!0,enumerable:!0,get:function(){return F(this,"collapseBands")?E(this,"collapseBands"):null},set:function(a){this.h.collapseBands=a}},Qe:{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}},zf:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"marginDimensions")?E(this,"marginDimensions"):null},set:function(a){this.h.marginDimensions=a}},Cf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxMaskedRatio")?E(this,"maxMaskedRatio"):null},set:function(a){this.h.maxMaskedRatio=a}},ac:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?E(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"sequenceData")?E(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},ce:{configurable:!0,enumerable:!0,get:function(){return F(this,"tensorDepths")?E(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?E(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
|
|
var rg=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.Wa?null:a.Wa;this.h.grid=null==a.L?null:a.L;this.h.filenamePrefix=null==a.ea?null:a.ea};q(rg,C);rg.prototype.i=function(){return{K:{fileFormat:ze},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),u:{expression:We,grid:wf,visualizationOptions:qf}}};
|
|
l.Object.defineProperties(rg.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}},L:{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}},Wa:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?E(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=
|
|
a}}});
|
|
var yf=function(a){a=void 0===a?{}:a;this.h={};this.h.endZoom=null==a.Zg?null:a.Zg;this.h.maxZoom=null==a.maxZoom?null:a.maxZoom;this.h.scale=null==a.scale?null:a.scale;this.h.startZoom=null==a.ei?null:a.ei;this.h.minZoom=null==a.minZoom?null:a.minZoom;this.h.skipEmpty=null==a.bi?null:a.bi;this.h.skipEmptyTiles=null==a.$f?null:a.$f;this.h.mapsApiKey=null==a.yf?null:a.yf;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.tileDimensions=null==a.Sa?null:a.Sa;this.h.stride=null==a.ag?null:
|
|
a.ag;this.h.zoomSubset=null==a.ng?null:a.ng};q(yf,C);yf.prototype.i=function(){return{keys:"dimensions endZoom mapsApiKey maxZoom minZoom scale skipEmpty skipEmptyTiles startZoom stride tileDimensions zoomSubset".split(" "),u:{dimensions:Lf,tileDimensions:Lf,zoomSubset:sg}}};
|
|
l.Object.defineProperties(yf.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensions")?E(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},Zg:{configurable:!0,enumerable:!0,get:function(){return F(this,"endZoom")?E(this,"endZoom"):null},set:function(a){this.h.endZoom=a}},yf:{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}},bi:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmpty")?E(this,"skipEmpty"):null},set:function(a){this.h.skipEmpty=
|
|
a}},$f:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyTiles")?E(this,"skipEmptyTiles"):null},set:function(a){this.h.skipEmptyTiles=a}},ei:{configurable:!0,enumerable:!0,get:function(){return F(this,"startZoom")?E(this,"startZoom"):null},set:function(a){this.h.startZoom=a}},ag:{configurable:!0,enumerable:!0,get:function(){return F(this,"stride")?E(this,"stride"):null},set:function(a){this.h.stride=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?
|
|
E(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},ng:{configurable:!0,enumerable:!0,get:function(){return F(this,"zoomSubset")?E(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});
|
|
var Xf=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.gi?null:a.gi;this.h.subdatasetSuffix=null==a.hi?null:a.hi};q(Xf,C);Xf.prototype.i=function(){return{R:{sources:Zf},K:{dataType:Be},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
l.Object.defineProperties(Xf.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}},gi:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetPrefix")?E(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},hi:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetSuffix")?E(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
|
|
var Vf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.tilesetId=null==a.Ec?null:a.Ec;this.h.tilesetBandIndex=null==a.li?null:a.li;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(Vf,C);Vf.prototype.i=function(){return{K:{pyramidingPolicy:Ae},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],u:{missingData:Sf}}};
|
|
l.Object.defineProperties(Vf.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}},li:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tilesetBandIndex")?E(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},Ec:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?E(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var Wf=function(a){a=void 0===a?{}:a;this.h={};this.h.tilesetId=null==a.Ec?null:a.Ec;this.h.bandIds=null==a.ca?null:a.ca};q(Wf,C);Wf.prototype.i=function(){return{keys:["bandIds","tilesetId"]}};
|
|
l.Object.defineProperties(Wf.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Ec:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?E(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var nf=function(a){a=void 0===a?{}:a;this.h={};this.h.sources=null==a.sources?null:a.sources;this.h.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(nf,C);
|
|
nf.prototype.i=function(){return{R:{sources:tg},keys:["pathPrefix","sources"]}};l.Object.defineProperties(nf.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 of=function(a){a=void 0===a?{}:a;this.h={};this.h.sources=null==a.sources?null:a.sources;this.h.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(of,C);of.prototype.i=function(){return{R:{sources:tg},keys:["pathPrefix","sources"]}};
|
|
l.Object.defineProperties(of.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 tg=function(a){a=void 0===a?{}:a;this.h={};this.h.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.h.headerSizeBytes=null==a.lh?null:a.lh};q(tg,C);
|
|
tg.prototype.i=function(){return{keys:["headerSizeBytes","pathSuffix"]}};l.Object.defineProperties(tg.prototype,{lh:{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 Qf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.ah?null:a.ah;this.h.firstTileIndex=null==a.dh?null:a.dh;this.h.tilesPerFile=null==a.ki?null:a.ki};q(Qf,C);Qf.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
l.Object.defineProperties(Qf.prototype,{ah:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileIndexes")?E(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},dh:{configurable:!0,enumerable:!0,get:function(){return F(this,"firstTileIndex")?E(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},ki:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesPerFile")?E(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
|
|
var ug=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Sb?null:a.Sb;this.h.updateMask=null==a.Gc?null:a.Gc};q(ug,C);ug.prototype.i=function(){return{keys:["asset","updateMask"],u:{asset:jf}}};
|
|
l.Object.defineProperties(ug.prototype,{Sb:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?E(this,"asset"):null},set:function(a){this.h.asset=a}},Gc:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?E(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});
|
|
var Ie=function(a){a=void 0===a?{}:a;this.h={};this.h.constantValue=null==a.nb?null:a.nb;this.h.integerValue=null==a.Zb?null:a.Zb;this.h.bytesValue=null==a.wb?null:a.wb;this.h.arrayValue=null==a.Ia?null:a.Ia;this.h.dictionaryValue=null==a.Ja?null:a.Ja;this.h.functionDefinitionValue=null==a.ab?null:a.ab;this.h.functionInvocationValue=null==a.Aa?null:a.Aa;this.h.argumentReference=null==a.Rb?null:a.Rb;this.h.valueReference=null==a.Ua?null:a.Ua};q(Ie,C);
|
|
Ie.prototype.i=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),u:{arrayValue:He,dictionaryValue:df,functionDefinitionValue:Hf,functionInvocationValue:If}}};
|
|
l.Object.defineProperties(Ie.prototype,{Rb:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentReference")?E(this,"argumentReference"):null},set:function(a){this.h.argumentReference=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"arrayValue")?E(this,"arrayValue"):null},set:function(a){this.h.arrayValue=a}},wb:{configurable:!0,enumerable:!0,get:function(){return F(this,"bytesValue")?E(this,"bytesValue"):null},set:function(a){this.h.bytesValue=a}},nb:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"constantValue")?E(this,"constantValue"):null},set:function(a){this.h.constantValue=a}},Ja:{configurable:!0,enumerable:!0,get:function(){return F(this,"dictionaryValue")?E(this,"dictionaryValue"):null},set:function(a){this.h.dictionaryValue=a}},ab:{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}},Zb:{configurable:!0,enumerable:!0,get:function(){return F(this,"integerValue")?E(this,"integerValue"):null},set:function(a){this.h.integerValue=a}},Ua:{configurable:!0,enumerable:!0,get:function(){return F(this,"valueReference")?E(this,"valueReference"):null},set:function(a){this.h.valueReference=a}}});
|
|
var Df=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.la?null:a.la;this.h.cloudStorageDestination=null==a.xb?null:a.xb;this.h.gcsDestination=null==a.oa?null:a.oa;this.h.fileFormat=null==a.F?null:a.F};q(Df,C);Df.prototype.i=function(){return{K:{fileFormat:Ce},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],u:{cloudStorageDestination:Te,driveDestination:hf,gcsDestination:Jf}}};
|
|
l.Object.defineProperties(Df.prototype,{xb:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},la:{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}},oa:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?E(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}}});var Ef=function(a){a=void 0===a?{}:a;this.h={};this.h.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.h.maxFrames=null==a.maxFrames?null:a.maxFrames;this.h.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};q(Ef,C);Ef.prototype.i=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
l.Object.defineProperties(Ef.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 vg=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.Va?null:a.Va;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.L?null:a.L};q(vg,C);vg.prototype.i=function(){return{K:{fileFormat:De},keys:["expression","fileFormat","grid","name","videoOptions"],u:{expression:We,grid:wf,videoOptions:Ef}}};
|
|
l.Object.defineProperties(vg.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}},L:{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}},Va:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var qf=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Mf?null:a.Mf;this.h.paletteColors=null==a.ed?null:a.ed;this.h.gamma=null==a.gamma?null:a.gamma;this.h.opacity=null==a.opacity?null:a.opacity};q(qf,C);
|
|
qf.prototype.i=function(){return{R:{ranges:gf},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
l.Object.defineProperties(qf.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}},ed:{configurable:!0,enumerable:!0,get:function(){return F(this,"paletteColors")?E(this,"paletteColors"):null},set:function(a){this.h.paletteColors=a}},Mf:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"ranges")?E(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var sg=function(a){a=void 0===a?{}:a;this.h={};this.h.start=null==a.start?null:a.start;this.h.end=null==a.end?null:a.end;this.h.min=null==a.min?null:a.min;this.h.max=null==a.max?null:a.max};q(sg,C);sg.prototype.i=function(){return{keys:["end","max","min","start"]}};
|
|
l.Object.defineProperties(sg.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 Vd={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",callback:"callback",endTime:"endTime",fields:"fields",filter:"filter",key:"key",oauth_token:"oauth_token",overwrite:"overwrite",pageSize:"pageSize",pageToken:"pageToken",prettyPrint:"prettyPrint",quotaUser:"quotaUser",region:"region",startTime:"startTime",uploadType:"uploadType",upload_protocol:"upload_protocol",view:"view"},wg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
wg.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",s:G(b,c),G:cg})};var xg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
xg.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",s:G(b,c),G:Pe})};xg.prototype.$c=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",s:G(b,c),G:dg})};
|
|
var yg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};k=yg.prototype;k.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",s:G(c,d),G:jf})};
|
|
k.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,s:G(b,c),G:rf})};k.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,s:G(b,c),G:jf})};
|
|
k.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",s:G(c,d),G:jf})};k.$c=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",s:G(b,c),G:dg})};
|
|
var zg=function(a,b,c){c=void 0===c?{}:c;var d=void 0===d?{}:d;a.j.C(b,RegExp("^projects/[^/]+/assets/.*$"));return H(a.j,{body:null,B:"GET",D:"earthengine.projects.assets.listImages",path:"/"+a.m+"/"+b+":listImages",s:G(c,d),G:eg})};yg.prototype.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",s:G(c,d),G:jf})};
|
|
var Ag=function(a){this.m="v1alpha";this.j=new Yd(a,null)};Ag.prototype.Na=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",s:G(c,d),G:gg})};var Bg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Bg.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.dmsMaps.create",path:"/"+this.m+"/"+a+"/dmsMaps",s:G(c,d),G:bf})};var Cg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Cg.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",s:G(c,d),G:Gf})};var Dg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Dg.prototype.Na=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",s:G(c,d),G:gg})};Dg.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",s:G(c,d),G:gg})};
|
|
var Eg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};Eg.prototype.Na=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",s:G(c,d),G:gg})};var Fg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Fg.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",s:G(c,d),G:pf})};var Gg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};k=Gg.prototype;
|
|
k.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",s:G(c,d),G:rf})};k.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,s:G(b,c),G:rf})};
|
|
k.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,s:G(b,c),G:gg})};k.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",s:G(b,c),G:fg})};
|
|
k.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",s:G(c,d),G:gg})};var Hg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Hg.prototype.Na=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",s:G(c,d),G:gg})};Hg.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",s:G(c,d),G:gg})};
|
|
var Ig=function(a){this.m="v1alpha";this.j=new Yd(a,null)};Ig.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",s:G(c,d),G:pg})};var Jg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Jg.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",s:G(c,d),G:rg})};
|
|
var Kg=function(a){this.m="v1alpha";this.j=new Yd(a,null)},Lg=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",s:G(d,e),G:Xe})},Mg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Mg.prototype.Na=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",s:G(c,d),G:gg})};var Ng=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Ng.prototype.Na=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",s:G(c,d),G:gg})};var Og=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Og.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",s:G(c,d),G:vg})};var Pg=function(){};Pg.prototype.send=function(a,b){Ud(a);return(void 0).then(function(c){return b?td(b,c):c})};var Qg=function(a,b){this.dk=100;this.Sj=a;this.sk=b;this.Td=0;this.pa=null};Qg.prototype.get=function(){if(0<this.Td){this.Td--;var a=this.pa;this.pa=a.next;a.next=null}else a=this.Sj();return a};Qg.prototype.put=function(a){this.sk(a);this.Td<this.dk&&(this.Td++,a.next=this.pa,this.pa=a)};var Sg=function(a,b){lb(b,function(c,d){c&&"object"==typeof c&&c.rf&&(c=c.lf());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Rg.hasOwnProperty(d)?a.setAttribute(Rg[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},Rg={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"},Ug=function(a,b,c){return Tg(document,arguments)},Tg=function(a,b){var c=b[1],d=Vg(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):Sg(d,c));2<b.length&&Wg(a,d,b,2);return d},Wg=function(a,b,c,d){function e(h){h&&b.appendChild("string"===typeof h?a.createTextNode(h):h)}for(;d<c.length;d++){var f=c[d];if(!ta(f)||t(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(t(f)){var g="function"==typeof f.item||"string"==typeof f.item;
|
|
break a}if("function"===typeof f){g="function"==typeof f.item;break a}}g=!1}Pa(g?Za(f):f,e)}}},Vg=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},Xg=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Yg=function(a){z(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Zg=function(a){this.Dd=a||r.document||document};k=Zg.prototype;
|
|
k.getElementsByTagName=function(a,b){return(b||this.Dd).getElementsByTagName(String(a))};k.Rj=function(a,b,c){return Tg(this.Dd,arguments)};k.createElement=function(a){return Vg(this.Dd,a)};k.createTextNode=function(a){return this.Dd.createTextNode(String(a))};k.appendChild=function(a,b){z(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};k.append=function(a,b){Wg(Yg(a),a,arguments,1)};k.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
|
|
k.removeNode=Xg;k.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var $g,ah=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!kb("Presto")&&(a=function(){var e=Vg(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=u(function(m){if(("*"==h||m.origin==h)&&m.data==g)this.port1.onmessage()},
|
|
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}});if("undefined"!==typeof a&&!kb("Trident")&&!kb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Eg;c.Eg=null;e()}};return function(e){d.next={Eg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};function bh(a){r.setTimeout(function(){throw a;},0)};var ch=function(){this.ne=this.lc=null};ch.prototype.add=function(a,b){var c=dh.get();c.set(a,b);this.ne?this.ne.next=c:(z(!this.lc),this.lc=c);this.ne=c};ch.prototype.remove=function(){var a=null;this.lc&&(a=this.lc,this.lc=this.lc.next,this.lc||(this.ne=null),a.next=null);return a};var dh=new Qg(function(){return new eh},function(a){return a.reset()}),eh=function(){this.next=this.scope=this.ef=null};eh.prototype.set=function(a,b){this.ef=a;this.scope=b;this.next=null};
|
|
eh.prototype.reset=function(){this.next=this.scope=this.ef=null};var jh=function(a,b){fh||gh();hh||(fh(),hh=!0);ih.add(a,b)},fh,gh=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);fh=function(){a.then(kh)}}else fh=function(){var b=kh;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&!kb("Edge")&&r.Window.prototype.setImmediate==r.setImmediate?($g||($g=ah()),$g(b)):r.setImmediate(b)}},hh=!1,ih=new ch,kh=function(){for(var a;a=ih.remove();){try{a.ef.call(a.scope)}catch(b){bh(b)}dh.put(a)}hh=!1};var lh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var oh=function(a){this.T=0;this.ja=void 0;this.qc=this.mb=this.Z=null;this.Kd=this.af=!1;if(a!=ra)try{var b=this;a.call(void 0,function(c){mh(b,2,c)},function(c){if(!(c instanceof nh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}mh(b,3,c)})}catch(c){mh(this,3,c)}},ph=function(){this.next=this.context=this.xc=this.cc=this.Tb=null;this.td=!1};ph.prototype.reset=function(){this.context=this.xc=this.cc=this.Tb=null;this.td=!1};
|
|
var qh=new Qg(function(){return new ph},function(a){a.reset()}),rh=function(a,b,c){var d=qh.get();d.cc=a;d.xc=b;d.context=c;return d};oh.prototype.then=function(a,b,c){null!=a&&La(a,"opt_onFulfilled should be a function.");null!=b&&La(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return sh(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};oh.prototype.$goog_Thenable=!0;
|
|
oh.prototype.cancel=function(a){if(0==this.T){var b=new nh(a);jh(function(){th(this,b)},this)}};
|
|
var th=function(a,b){if(0==a.T)if(a.Z){var c=a.Z;if(c.mb){for(var d=0,e=null,f=null,g=c.mb;g&&(g.td||(d++,g.Tb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.T&&1==d?th(c,b):(f?(d=f,z(c.mb),z(null!=d),d.next==c.qc&&(c.qc=d),d.next=d.next.next):uh(c),vh(c,e,3,b)))}a.Z=null}else mh(a,3,b)},xh=function(a,b){a.mb||2!=a.T&&3!=a.T||wh(a);z(null!=b.cc);a.qc?a.qc.next=b:a.mb=b;a.qc=b},sh=function(a,b,c,d){var e=rh(null,null,null);e.Tb=new oh(function(f,g){e.cc=b?function(h){try{var m=b.call(d,h);f(m)}catch(p){g(p)}}:
|
|
f;e.xc=c?function(h){try{var m=c.call(d,h);void 0===m&&h instanceof nh?g(h):f(m)}catch(p){g(p)}}:g});e.Tb.Z=a;xh(a,e);return e.Tb};oh.prototype.Bk=function(a){z(1==this.T);this.T=0;mh(this,2,a)};oh.prototype.Ck=function(a){z(1==this.T);this.T=0;mh(this,3,a)};
|
|
var mh=function(a,b,c){if(0==a.T){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.T=1;a:{var d=c,e=a.Bk,f=a.Ck;if(d instanceof oh){null!=e&&La(e,"opt_onFulfilled should be a function.");null!=f&&La(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");xh(d,rh(e||ra,f||null,a));var g=!0}else if(lh(d))d.then(e,f,a),g=!0;else{if(t(d))try{var h=d.then;if("function"===typeof h){yh(d,h,e,f,a);g=!0;break a}}catch(m){f.call(a,m);
|
|
g=!0;break a}g=!1}}g||(a.ja=c,a.T=b,a.Z=null,wh(a),3!=b||c instanceof nh||zh(a,c))}},yh=function(a,b,c,d,e){var f=!1,g=function(m){f||(f=!0,c.call(e,m))},h=function(m){f||(f=!0,d.call(e,m))};try{b.call(a,g,h)}catch(m){h(m)}},wh=function(a){a.af||(a.af=!0,jh(a.Vj,a))},uh=function(a){var b=null;a.mb&&(b=a.mb,a.mb=b.next,b.next=null);a.mb||(a.qc=null);null!=b&&z(null!=b.cc);return b};oh.prototype.Vj=function(){for(var a;a=uh(this);)vh(this,a,this.T,this.ja);this.af=!1};
|
|
var vh=function(a,b,c,d){if(3==c&&b.xc&&!b.td)for(;a&&a.Kd;a=a.Z)a.Kd=!1;if(b.Tb)b.Tb.Z=null,Ah(b,c,d);else try{b.td?b.cc.call(b.context):Ah(b,c,d)}catch(e){Bh.call(null,e)}qh.put(b)},Ah=function(a,b,c){2==b?a.cc.call(a.context,c):a.xc&&a.xc.call(a.context,c)},zh=function(a,b){a.Kd=!0;jh(function(){a.Kd&&Bh.call(null,b)})},Bh=bh,nh=function(a){Ea.call(this,a)};x(nh,Ea);nh.prototype.name="cancel";var Ch=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 Dh=function(a,b,c){Da.call(this);this.ek=null!=c?a.bind(c):a;this.bk=b;this.ud=null;this.Dc=!1;this.fd=0;this.jc=null};q(Dh,Da);k=Dh.prototype;k.df=function(a){this.ud=arguments;this.jc||this.fd?this.Dc=!0:Eh(this)};k.stop=function(){this.jc&&(r.clearTimeout(this.jc),this.jc=null,this.Dc=!1,this.ud=null)};k.pause=function(){this.fd++};k.resume=function(){this.fd--;this.fd||!this.Dc||this.jc||(this.Dc=!1,Eh(this))};k.I=function(){Da.prototype.I.call(this);this.stop()};
|
|
var Eh=function(a){a.jc=Ch(function(){a.jc=null;a.Dc&&!a.fd&&(a.Dc=!1,Eh(a))},a.bk);var b=a.ud;a.ud=null;a.ek.apply(null,b)};/*
|
|
|
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
var Gh=function(a){var b=Fh;this.Zd=[];this.Ih=b;this.Ug=a||null;this.Vc=this.uc=!1;this.ja=void 0;this.Yf=this.yg=this.Le=!1;this.je=0;this.Z=null;this.Me=0};Gh.prototype.cancel=function(a){if(this.uc)this.ja instanceof Gh&&this.ja.cancel();else{if(this.Z){var b=this.Z;delete this.Z;a?b.cancel(a):(b.Me--,0>=b.Me&&b.cancel())}this.Ih?this.Ih.call(this.Ug,this):this.Yf=!0;this.uc||Hh(this,new Ih(this))}};Gh.prototype.Jg=function(a,b){this.Le=!1;Jh(this,a,b)};
|
|
var Jh=function(a,b,c){a.uc=!0;a.ja=c;a.Vc=!b;Kh(a)},Mh=function(a){if(a.uc){if(!a.Yf)throw new Lh(a);a.Yf=!1}};Gh.prototype.callback=function(a){Mh(this);Nh(a);Jh(this,!0,a)};var Hh=function(a,b){Mh(a);Nh(b);Jh(a,!1,b)},Nh=function(a){z(!(a instanceof Gh),"An execution sequence may not be initiated with a blocking Deferred.")},Oh=function(a,b,c){z(!a.yg,"Blocking Deferreds can not be re-used");a.Zd.push([b,c,void 0]);a.uc&&Kh(a)};
|
|
Gh.prototype.then=function(a,b,c){var d,e,f=new oh(function(g,h){e=g;d=h});Oh(this,e,function(g){g instanceof Ih?f.cancel():d(g)});return f.then(a,b,c)};Gh.prototype.$goog_Thenable=!0;
|
|
var Ph=function(a){return Sa(a.Zd,function(b){return"function"===typeof b[1]})},Kh=function(a){if(a.je&&a.uc&&Ph(a)){var b=a.je,c=Qh[b];c&&(r.clearTimeout(c.fa),delete Qh[b]);a.je=0}a.Z&&(a.Z.Me--,delete a.Z);b=a.ja;for(var d=c=!1;a.Zd.length&&!a.Le;){var e=a.Zd.shift(),f=e[0],g=e[1];e=e[2];if(f=a.Vc?g:f)try{var h=f.call(e||a.Ug,b);void 0!==h&&(a.Vc=a.Vc&&(h==b||h instanceof Error),a.ja=b=h);if(lh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Le=!0}catch(m){b=m,a.Vc=!0,Ph(a)||(c=
|
|
!0)}}a.ja=b;d&&(h=u(a.Jg,a,!0),d=u(a.Jg,a,!1),b instanceof Gh?(Oh(b,h,d),b.yg=!0):b.then(h,d));c&&(b=new Rh(b),Qh[b.fa]=b,a.je=b.fa)},Lh=function(){Ea.call(this)};x(Lh,Ea);Lh.prototype.message="Deferred has already fired";Lh.prototype.name="AlreadyCalledError";var Ih=function(){Ea.call(this)};x(Ih,Ea);Ih.prototype.message="Deferred was canceled";Ih.prototype.name="CanceledError";var Rh=function(a){this.fa=r.setTimeout(u(this.Ak,this),0);this.Gd=a};
|
|
Rh.prototype.Ak=function(){z(Qh[this.fa],"Cannot throw an error that is not scheduled.");delete Qh[this.fa];throw this.Gd;};var Qh={};var Vh=function(a){var b={},c=b.document||document,d=Jb(a).toString(),e=(new Zg(c)).createElement("SCRIPT"),f={Zh:e,nd:void 0},g=new Gh(f),h=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(h=window.setTimeout(function(){Sh(e,!0);Hh(g,new Th(1,"Timeout reached for loading script "+d))},m),f.nd=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(Sh(e,b.Jk||!1,h),g.callback(null))};e.onerror=function(){Sh(e,!0,h);Hh(g,new Th(0,"Error while loading script "+
|
|
d))};f=b.attributes||{};zb(f,{type:"text/javascript",charset:"UTF-8"});Sg(e,f);Vb(e,a);Uh(c).appendChild(e)},Uh=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},Fh=function(){if(this&&this.Zh){var a=this.Zh;a&&"SCRIPT"==a.tagName&&Sh(a,!0,this.nd)}},Sh=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=ra;a.onerror=ra;a.onreadystatechange=ra;b&&window.setTimeout(function(){Xg(a)},0)},Th=function(a,b){var c="Jsloader error (code #"+a+")";
|
|
b&&(c+=": "+b);Ea.call(this,c);this.code=a};x(Th,Ea);var Wh=function(){this.Xd=void 0};Wh.prototype.xa=function(a){var b=[];Xh(this,a,b);return b.join("")};
|
|
var Xh=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],Xh(a,a.Xd?a.Xd.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),Yh(d,c),c.push(":"),Xh(a,a.Xd?a.Xd.call(b,d,e):e,c),f=","));c.push("}");
|
|
return}}switch(typeof b){case "string":Yh(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},Zh={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},$h=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Yh=function(a,b){b.push('"',a.replace($h,function(c){var d=Zh[c];
|
|
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),Zh[c]=d);return d}),'"')};var ai=function(a,b){this.name=a;this.value=b};ai.prototype.toString=function(){return this.name};var bi=new ai("OFF",Infinity),ci=new ai("SEVERE",1E3),di=new ai("CONFIG",700),ei=new ai("FINE",500),fi=function(){this.Ad=0;this.clear()},gi;fi.prototype.clear=function(){this.xd=Array(this.Ad);this.Qg=-1;this.th=!1};var hi=function(a,b,c){this.reset(a||bi,b,c,void 0,void 0)};hi.prototype.reset=function(){};
|
|
var ii=function(a,b){this.level=null;this.Zj=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.gk={jf:function(){return a}}},ji=function(a){if(a.level)return a.level;if(a.parent)return ji(a.parent);Ia("Root logger has no level set.");return bi},ki=function(a,b){for(;a;)a.Zj.forEach(function(c){c(b)}),a=a.parent},li=function(){this.entries={};var a=new ii("");a.level=di;this.entries[""]=a},mi,ni=function(a,b,c){var d=a.entries[b];if(d)return void 0!==c&&(d.level=c),d;d=ni(a,b.substr(0,
|
|
b.lastIndexOf(".")));var e=new ii(b,d);a.entries[b]=e;d.children.push(e);void 0!==c&&(e.level=c);return e},oi=function(){mi||(mi=new li);return mi},pi=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?ji(ni(oi(),a.jf())):bi;d=d>=e.value}if(d){b=b||bi;d=ni(oi(),a.jf());"function"===typeof c&&(c=c());gi||(gi=new fi);e=gi;a=a.jf();if(0<e.Ad){var f=(e.Qg+1)%e.Ad;e.Qg=f;e.th?(e=e.xd[f],e.reset(b,c,a),a=e):(e.th=f==e.Ad-1,a=e.xd[f]=new hi(b,c,a))}else a=new hi(b,c,a);ki(d,a)}},qi=function(a,b){a&&
|
|
pi(a,ei,b)};var ri=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var si=function(){};si.prototype.Cg=null;var ui=function(a){var b;(b=a.Cg)||(b={},ti(a)&&(b[0]=!0,b[1]=!0),b=a.Cg=b);return b};var vi,wi=function(){};x(wi,si);var xi=function(a){return(a=ti(a))?new ActiveXObject(a):new XMLHttpRequest},ti=function(a){if(!a.oh&&"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.oh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.oh};vi=new wi;var yi=function(a){A.call(this);this.headers=new Xc;this.pe=a||null;this.Ha=!1;this.oe=this.o=null;this.Zc=this.xh=this.Qd="";this.Yb=this.sf=this.Od=this.Ze=!1;this.Fc=0;this.fe=null;this.Bc="";this.le=this.qk=this.si=!1;this.lg=null};x(yi,A);yi.prototype.ia=ni(oi(),"goog.net.XhrIo",void 0).gk;var zi=/^https?$/i,Ai=["POST","PUT"],Bi=[];yi.prototype.Qj=function(){this.Ya();Xa(Bi,this)};yi.prototype.setTrustToken=function(a){this.lg=a};
|
|
yi.prototype.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Qd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Qd=a;this.Zc="";this.xh=b;this.Ze=!1;this.Ha=!0;this.o=this.pe?xi(this.pe):xi(vi);this.oe=this.pe?ui(this.pe):ui(vi);this.o.onreadystatechange=u(this.Lh,this);this.qk&&"onprogress"in this.o&&(this.o.onprogress=u(function(f){this.Kh(f,!0)},this),this.o.upload&&(this.o.upload.onprogress=u(this.Kh,this)));try{qi(this.ia,Ci(this,"Opening Xhr")),
|
|
this.sf=!0,this.o.open(b,String(a),!0),this.sf=!1}catch(f){qi(this.ia,Ci(this,"Error opening Xhr: "+f.message));this.Gd(5,f);return}a=c||"";var e=this.headers.clone();d&&dd(d,function(f,g){e.set(g,f)});d=e.Pa().find(function(f){return"content-type"==f.toLowerCase()});c=r.FormData&&a instanceof r.FormData;!Va(Ai,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.o.setRequestHeader(g,f)},this);this.Bc&&(this.o.responseType=this.Bc);"withCredentials"in
|
|
this.o&&this.o.withCredentials!==this.si&&(this.o.withCredentials=this.si);if("setTrustToken"in this.o&&this.lg)try{this.o.setTrustToken(this.lg)}catch(f){qi(this.ia,Ci(this,"Error SetTrustToken: "+f.message))}try{Di(this),0<this.Fc&&(this.le=Ei(this.o),qi(this.ia,Ci(this,"Will abort after "+this.Fc+"ms if incomplete, xhr2 "+this.le)),this.le?(this.o.timeout=this.Fc,this.o.ontimeout=u(this.nd,this)):this.fe=Ch(this.nd,this.Fc,this)),qi(this.ia,Ci(this,"Sending request")),this.Od=!0,this.o.send(a),
|
|
this.Od=!1}catch(f){qi(this.ia,Ci(this,"Send error: "+f.message)),this.Gd(5,f)}};var Ei=function(a){return bc&&lc(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout};yi.prototype.nd=function(){"undefined"!=typeof qa&&this.o&&(this.Zc="Timed out after "+this.Fc+"ms, aborting",qi(this.ia,Ci(this,this.Zc)),this.dispatchEvent("timeout"),this.abort(8))};yi.prototype.Gd=function(a,b){this.Ha=!1;this.o&&(this.Yb=!0,this.o.abort(),this.Yb=!1);this.Zc=b;Fi(this);Gi(this)};
|
|
var Fi=function(a){a.Ze||(a.Ze=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};yi.prototype.abort=function(){this.o&&this.Ha&&(qi(this.ia,Ci(this,"Aborting")),this.Ha=!1,this.Yb=!0,this.o.abort(),this.Yb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Gi(this))};yi.prototype.I=function(){this.o&&(this.Ha&&(this.Ha=!1,this.Yb=!0,this.o.abort(),this.Yb=!1),Gi(this,!0));yi.M.I.call(this)};yi.prototype.Lh=function(){this.Za||(this.sf||this.Od||this.Yb?Hi(this):this.pk())};
|
|
yi.prototype.pk=function(){Hi(this)};
|
|
var Hi=function(a){if(a.Ha&&"undefined"!=typeof qa)if(a.oe[1]&&4==a.zb()&&2==a.getStatus())qi(a.ia,Ci(a,"Local request error detected and ignored"));else if(a.Od&&4==a.zb())Ch(a.Lh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.zb()){qi(a.ia,Ci(a,"Request complete"));a.Ha=!1;try{var b=a.getStatus(),c;if(!(c=ri(b))){var d;if(d=0===b){var e=String(a.Qd).match(Bd)[1]||null;if(!e&&r.self&&r.self.location){var f=r.self.location.protocol;e=f.substr(0,f.length-1)}d=!zi.test(e?e.toLowerCase():"")}c=
|
|
d}if(c)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var g=2<a.zb()?a.o.statusText:""}catch(h){qi(a.ia,"Can not get status: "+h.message),g=""}a.Zc=g+" ["+a.getStatus()+"]";Fi(a)}}finally{Gi(a)}}};yi.prototype.Kh=function(a,b){z("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Ii(a,"progress"));this.dispatchEvent(Ii(a,b?"downloadprogress":"uploadprogress"))};
|
|
var Ii=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Gi=function(a,b){if(a.o){Di(a);var c=a.o,d=a.oe[0]?ra:null;a.o=null;a.oe=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.ia)&&pi(a,ci,"Problem encountered resetting onreadystatechange: "+e.message)}}},Di=function(a){a.o&&a.le&&(a.o.ontimeout=null);a.fe&&(r.clearTimeout(a.fe),a.fe=null)};yi.prototype.sh=function(){return!!this.o};
|
|
yi.prototype.zb=function(){return this.o?this.o.readyState:0};yi.prototype.getStatus=function(){try{return 2<this.zb()?this.o.status:-1}catch(a){return-1}};
|
|
var Ji=function(a){try{if(!a.o)return null;if("response"in a.o)return a.o.response;switch(a.Bc){case "":case "text":return a.o.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.o)return a.o.mozResponseArrayBuffer}var b=a.ia;b&&pi(b,ci,"Response type "+a.Bc+" is not supported on this browser");return null}catch(c){return qi(a.ia,"Can not get response: "+c.message),null}};
|
|
yi.prototype.getResponseHeader=function(a){if(this.o&&4==this.zb())return a=this.o.getResponseHeader(a),null===a?void 0:a};yi.prototype.getAllResponseHeaders=function(){return this.o&&4==this.zb()?this.o.getAllResponseHeaders()||"":""};
|
|
var Ki=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=Xb(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}return nb(b,function(g){return g.join(", ")})},Ci=function(a,b){return b+" ["+a.xh+" "+a.Qd+" "+a.getStatus()+"]"};var Li,I=function(a,b){Mi();this.callback=a;this.N=new Ni(!a,b)},J=function(a,b){if(b instanceof Promise){if(a.callback){var c=function(d,e){try{return a.callback(d,e)}catch(f){setTimeout(function(){throw f;},0)}};b.then(c,function(d){return c(void 0,d)})}}else b.then(function(d){b=d});return b},Oi=function(){return"projects/"+Li};k=I.prototype;k.Jc=function(){return new wg(this.N)};k.assets=function(){return new yg(this.N)};k.Qa=function(){return new Gg(this.N)};k.value=function(){return new Kg(this.N)};
|
|
k.maps=function(){return new Fg(this.N)};k.map=function(){return new Eg(this.N)};k.image=function(){return new Dg(this.N)};k.table=function(){return new Hg(this.N)};k.video=function(){return new Mg(this.N)};var Ni=function(a,b){this.sync=a=void 0===a?!1:a;this.Wh=null!=b?b:a?5:10};q(Ni,Pg);
|
|
Ni.prototype.send=function(a,b){var c=this;Ud(a);var d=a.path||"",e=Qi()+d,f=Ri(a.s||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=Si(e,f,void 0,a.B,g,this.Wh);d=b?td(b,d):d;var h=function(m){return{then:function(p){return h(p(m))}}};return h(d)}return(new Promise(function(m,p){Si(e,f,function(v,B){B?p(B):m(v)},a.B,g,c.Wh)})).then(function(m){return b?td(b,m):m})};var Ui=function(a){I.call(this,a);this.N=new Ti};q(Ui,I);
|
|
Ui.prototype.send=function(a,b){var c=this,d=Qi()+"/batch",e=a.map(function(g){var h=n(g);g=h.next().value;h=n(h.next().value);var m=h.next().value;h.next();return"--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <"+g+">\r\n\r\n"+m+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",f=function(g){var h={};a.forEach(function(m){var p=n(m);m=p.next().value;p=n(p.next().value);p.next();p=p.next().value;null!=g[m]&&(h[m]=
|
|
td(p,g[m]))});return b?b(h):h};return this.callback?(Si(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(Si(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var Ti=function(){};q(Ti,Pg);
|
|
Ti.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=Vi();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 Wi=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"))}},Qi=function(){var a=Xi.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Zi=function(a,b,c){var d=[];a&&(d=d.concat(Yi));
|
|
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 f=a[c++],g=t(f)?"o"+xa(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,g)||(e[g]=!0,a[b++]=f)}a.length=b;return d},ej=function(a,b,c){$i&&aj&&$i({client_id:String(aj),immediate:!0,scope:bj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{cj(function(){try{r.gapi.auth.setToken(d),dj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else dj(a,
|
|
b,d)})},Vi=function(){fj&&0<=Date.now()-fj&&gj();return hj},gj=function(){fj=hj=null},Mi=function(a,b,c,d){null!=a?Xi=a:ij||(Xi="https://earthengine.googleapis.com/api");null!=b?jj=b:ij||(jj="https://earthengine.googleapis.com");void 0!==c&&(kj=c);Li=null!=d?d:Li||"earthengine-legacy";ij=!0},Si=function(a,b,c,d,e,f){Mi();var g=lj,h="application/x-www-form-urlencoded";e&&(h="application/json",d&&d.startsWith("multipart")&&(h=d,d="POST"));d=d||"POST";h={"Content-Type":h};var m="0.1.281";"0.1.281"===
|
|
m&&(m="latest");h["x-goog-api-client"]="ee-js/"+m;m=Vi();if(null!=m)h.Authorization=m;else if(c&&$i&&aj)return ej(function(){mj(g,function(){Si(a,b,c,d)})}),null;b=b?b.clone():new Jd;null!=nj&&b.add("key",nj);g&&(h["X-Earth-Engine-Computation-Profiling"]="1");Li&&"earthengine-legacy"!==Li&&(h["X-Goog-User-Project"]=Li);b=oj(b,a);null!=kj&&(h["X-XSRF-Token"]=kj);null!=pj&&(h["X-Earth-Engine-App-ID-Token"]=pj);m=e||null;var p=b?b.toString():"";"POST"===d&&void 0===e?m=p:/^[\s\xa0]*$/.test(p)||(a+=-1!=
|
|
a.indexOf("?")?"&":"?",a+=p);e=a.startsWith("/")?Xi+a:a;if(c)return qj.push(rj(e,c,d,m,h,f)),sj.df(),null;p=function(D,R){this.setRequestHeader&&this.setRequestHeader(R,D)};var v=0;for(f=null!=f?f:5;;){var B=xi(vi);B.open(d,e,!1);lb(h,p,B);B.send(m);if(429!=B.status||v>f)break;v++}return tj(B.status,function(D){try{return B.getResponseHeader(D)}catch(R){return null}},B.responseText,g,void 0,e,d)},rj=function(a,b,c,d,e,f){var g=0,h={url:a,method:c,content:d,headers:e},m=lj,p=null!=f?f:10;h.callback=
|
|
function(v){v=v.target;if(429==v.getStatus()&&g<p)return g++,setTimeout(function(){qj.push(h);sj.df()},Math.min(12E4,1E3*Math.pow(2,g))),null;var B=tj,D=v.getStatus(),R=u(v.getResponseHeader,v);try{var X=v.o?v.o.responseText:""}catch(U){qi(v.ia,"Can not get responseText: "+U.message),X=""}return B(D,R,X,m,b,a,c)};return h},mj=function(a,b){var c=lj;try{lj=a,b.call(void 0)}finally{lj=c}},tj=function(a,b,c,d,e,f,g){var h=d?b("X-Earth-Engine-Computation-Profile"):"";h&&d&&d(h);var m=function(X){try{var U=
|
|
JSON.parse(X);return t(U)&&"error"in U&&"message"in U.error?U.error.message:{parsed:U}}catch(Ib){return"Invalid JSON: "+X}},p=function(X){if(0===X)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>X||300<=X)return"Server returned HTTP code: "+X+" for "+g+" "+f},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=[];Wi(b,c,function(X,U,Ib){Ib=m(Ib);Ib.parsed&&(B[X]=Ib.parsed);(U=(Ib.parsed?"":Ib)||p(U))&&D.push(X+": "+U)});D.length&&(v=D.join("\n"))}else var R="Response was unexpectedly not JSON, but "+d;v=v||p(a)||R;if(e)return e(B,v),null;if(!v)return B;throw Error(v);},cj=function(a){var b=function(){r.gapi.config.update("client/cors",!0);$i||($i=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()};Vh(Ob({onload:c}))}},dj=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(ej,.9*c);void 0!==d.unref&&d.unref();fj=Date.now()+c}hj=b;a&&a()}else b&&b(c.error||"Unknown error.")},Ri=function(a){var b=new Jd;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},qj=[],sj=new Dh(function(){var a=qj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=uj,g=new yi;Bi.push(g);c&&g.cb("complete",c);g.bd("ready",g.Qj);f&&(g.Fc=Math.max(0,f));g.send(b,d,e,a)}0==qj.length||sj.df()},350),Xi=null,jj=null,kj=null,pj=null,oj=Ab,hj=null,fj=null,aj=null,bj=[],$i=null,Yi=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],Kb=new Eb(Cb,"https://apis.google.com/js/client.js?onload=%{onload}"),
|
|
nj=null,ij=!1,uj=0,lj=null;w("ee.api.ListAssetsResponse",dg);w("ee.api.EarthEngineAsset",jf);w("ee.api.ListImagesResponse",eg);w("ee.api.Image",Pf);w("ee.api.Operation",gg);var vj=function(){},wj=function(a){if(void 0===a||null===a)a=od;return new Ie({nb:a})},xj=function(a){return new Ie({Ua:a})},yj=function(a){return new Ie({Ia:new He({values:a})})},zj=function(a){return new Ie({Ja:new df({values:a})})},Aj=function(a,b){return new Ie({Aa:new If({functionName:a,arguments:b})})},Bj=function(a,b){return new Ie({Aa:new If({bb:a,arguments:b})})},Cj=function(a,b){return new Ie({ab:new Hf({nc:a,body:b})})},Dj=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}},Ej=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}},Fj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},Gj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Jj=function(a){var b=new qf,c=!1;"palette"in a&&(c=a.palette,b.ed="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.ed?b.ed.length-1:255;d=Hj(a,"bias","gain").map(function(f){var g=-f.bias/f.gain;return{min:g,max:e/f.gain+g}})}else if("min"in a||"max"in a)d=Hj(a,"min","max");0!==d.length&&(b.Mf=d.map(function(f){return new gf(f)}),c=!0);a=Ij(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},Ij=function(a){return a?a.split(",").map(Number):[]},Hj=function(a,b,c){var d=Ij(a[b]),e=Ij(a[c]);if(0===d.length)return e.map(function(f){var g={};return g[b]=0,g[c]=f,g});if(0===e.length)return d.map(function(f){var g={};return g[b]=f,g[c]=1,g});if(d.length!==e.length)throw Error("Length of "+b+" and "+c+" must match.");return d.map(function(f,g){var h={};return h[b]=f,h[c]=e[g],h})},Kj=function(a){var b=function(g){var h={};h.description=g.description||"";h.type=g.type||"";null!=g.vd&&
|
|
(h.name=g.vd);void 0!==g.defaultValue&&(h["default"]=g.defaultValue);null!=g.optional&&(h.optional=g.optional);return h},c=function(g){var h={};h.args=(g.arguments||[]).map(b);h.description=g.description||"";h.returns=g.Qf||"";null!=g.hidden&&(h.hidden=g.hidden);g.preview&&(h.preview=g.preview);g.deprecated&&(h.deprecated=g.We);g.sourceCodeUri&&(h.sourceCodeUri=g.sourceCodeUri);return h},d={};a=n(a.Jc||[]);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=e.name.replace(/^algorithms\//,"");d[f]=
|
|
c(e)}return d},Lj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,Mj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,Nj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,Oj=function(a){return(a=Lj.exec(a))?a[1]:"earthengine-legacy"},Pj=function(a){return Mj.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
a},Rj=function(a){return(a.assets||[]).map(Qj)},Tj=function(a){return(a.images||[]).map(Sj)},Uj=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";default:return"Unknown"}},Qj=function(a){var b=Vj(Uj(a.type),a.name),c=Object.assign({},a.properties||{});a.Fa&&(c["system:asset_size"]=Number(a.Fa));a.startTime&&(c["system:time_start"]=
|
|
Date.parse(a.startTime));a.endTime&&(c["system:time_end"]=Date.parse(a.endTime));a.geometry&&(c["system:footprint"]=a.geometry);"string"===typeof a.title&&(c["system:title"]=a.title);"string"===typeof a.description&&(c["system:description"]=a.description);a.Ta&&(b.version=1E3*Date.parse(a.Ta));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,crs:d.L.Ve,dimensions:void 0,crs_transform:void 0};if(d.L){if(null!=d.L.Qb){var f=d.L.Qb;e.crs_transform=[f.Rf||0,f.Wf||0,f.jg||0,f.Xf||
|
|
0,f.Sf||0,f.kg||0]}null!=d.L.dimensions&&(e.dimensions=[d.L.dimensions.width,d.L.dimensions.height])}d.dataType&&(f={type:"PixelType"},f.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.hd&&(f.min=d.dataType.hd.min||0,f.max=d.dataType.hd.max),e.data_type=f);return e}));return b},Wj=function(a){var b=new jf,c=function(f){return null===f?od:void 0},d=Object.assign({},a),e;a=function(f){e=d[f];delete d[f];return e};void 0!==a("system:asset_size")&&(b.Fa=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(f){var g=n(f);f=g.next().value;g=g.next().value;d[f]=c(g)||g});b.properties=d;return b},Sj=
|
|
function(a){return Vj("Image",a.name)},Vj=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},Yj=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=Xj(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");b.fields="assets(type,path)";return b},Xj=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("],[")+"]]]}"},Zj=function(a){var b={};(a.wd||[]).forEach(function(f){b[f.Cc]=f.bc});var c=new Set,d=function(f){var g=
|
|
f.replace(/^group:|^user:|^serviceAccount:/,"");f.startsWith("group:")&&c.add(g);return g};a=b["roles/viewer"]||[];var e=a.filter(function(f){return"allUsers"!==f});d={owners:(b["roles/owner"]||[]).map(d),writers:(b["roles/editor"]||[]).map(d),readers:e.map(d)};0<c.size&&(d.groups=c);a.length!=e.length&&(d.all_users_can_read=!0);return d},ak=function(a){var b=function(d){return(a[d]||[]).map(function(e){var f="user:";a.groups&&a.groups.has(e)?f="group:":e.match(/[@|\.]gserviceaccount\.com$/)&&(f=
|
|
"serviceAccount:");return f+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{Cc:"roles/owner",bc:b("owners")},{Cc:"roles/viewer",bc:b("readers").concat(c)},{Cc:"roles/editor",bc:b("writers")}].map(function(d){return new Me(d)});return new mg({wd:b.filter(function(d){return d.bc.length}),$e:null})},ck=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+bk(a)},bk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},
|
|
dk=function(a){var b={},c=function(f,g){null!=g&&(b[f]=Date.parse(g))},d=function(f){switch(f){case "PENDING":return"READY";case "RUNNING":return"RUNNING";case "CANCELLING":return"CANCEL_REQUESTED";case "SUCCEEDED":return"COMPLETED";case "CANCELLED":return"CANCELLED";case "FAILED":return"FAILED";default:return"UNKNOWN"}},e=td(kg,a.Ef||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.Ue);c("update_timestamp_ms",e.Ta);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=bk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.Xe;b.source_url=e.Tf;return b},ek=function(a){var b={started:"OK"};a.name&&(b.taskId=bk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},fk=function(a){if(a.primaryPath){var b=[a.primaryPath];var c=b.concat;a=a.additionalPaths||[];if(!(a instanceof Array)){a=n(a);for(var d,e=[];!(d=a.next()).done;)e.push(d.value);
|
|
a=e}b=c.call(b,a)}else b=null;return b},ik=function(a){var b=function(f){var g=td(Zf,f);g.ya=fk(f);return g},c=td(Uf,a);c.name=Pj(a.id);c.tilesets=(a.tilesets||[]).map(function(f){var g=td(Xf,f);g.sources=(f.sources||[]).map(b);return g});c.bands=(a.bands||[]).map(function(f){var g=td(Vf,f);g.missingData=gk(f.missingData);return g});c.missingData=gk(a.missingData);c.Af=cb((a.tilesets||[]).map(hk));c.pyramidingPolicy=a.pyramidingPolicy||null;if(a.properties){var d=Object.assign({},a.properties),e;
|
|
a=function(f){e=d[f];delete d[f];return e};a("system:time_start")&&(c.startTime=(new Date(Number(e))).toISOString());a("system:time_end")&&(c.endTime=(new Date(Number(e))).toISOString());c.properties=d}return c},hk=function(a){var b=[];if(!Array.isArray(a.fileBands))return b;var c=function(d){var e=[];null!=d&&Array.isArray(d.bandId)&&(e=d.bandId.map(function(f){return f||""}));return new Wf({Ec: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},jk=function(a){var b=td(bg,a);b.name=Pj(a.id);b.sources=(a.sources||[]).map(function(e){var f=td(qg,e);f.ya=fk(e);e.maxError&&(f.$b=e.maxError);return f});if(a.properties){var c=Object.assign({},a.properties),d;a=function(e){d=c[e];delete c[e];return d};a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&(b.endTime=(new Date(Number(d))).toISOString());b.properties=c}return b},gk=function(a){if(null==a)return null;var b=
|
|
new Sf({values:[]});null!=a.value&&"number"===typeof a.value&&b.values.push(a.value);Array.isArray(a.values)&&a.values.map(function(c){"number"===typeof c&&b.values.push(c)});return 0==b.values.length?null:b};var kk=function(){this.blockSize=-1};var lk=function(){this.blockSize=-1;this.blockSize=64;this.X=Array(4);this.Nj=Array(this.blockSize);this.ie=this.Kc=0;this.reset()};x(lk,kk);lk.prototype.reset=function(){this.X[0]=1732584193;this.X[1]=4023233417;this.X[2]=2562383102;this.X[3]=271733878;this.ie=this.Kc=0};
|
|
var mk=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.X[0];c=a.X[1];e=a.X[2];var f=a.X[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>
|
|
15);g=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|
|
|
g>>>20);g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<
|
|
5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
|
|
e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
|
|
e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|
|
|
g>>>21);g=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+
|
|
3873151461&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&
|
|
4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&
|
|
4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.X[0]=a.X[0]+b&4294967295;a.X[1]=a.X[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.X[2]=a.X[2]+e&4294967295;a.X[3]=a.X[3]+f&4294967295};
|
|
lk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.Nj,e=this.Kc,f=0;f<b;){if(0==e)for(;f<=c;)mk(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){mk(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){mk(this,d);e=0;break}}this.Kc=e;this.ie+=b};
|
|
lk.prototype.digest=function(){var a=Array((56>this.Kc?this.blockSize:2*this.blockSize)-this.Kc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.ie;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.X[b]>>>d&255;return a};var nk=function(a){this.rd="__ee_hash__";this.Pd=!1!==a;this.fb=[];this.za={};this.mg=[];this.Md=new WeakMap;this.ri=void 0};w("ee.Serializer",nk);var ok=new Wh,pk=new lk,rk=function(a,b){return qk(new nk(void 0!==b?b:!0),a)};w("ee.Serializer.encode",rk);var sk=function(a){return ok.xa(rk(a))};w("ee.Serializer.toJSON",sk);var uk=function(a){return tk(rk(a,!1))};w("ee.Serializer.toReadableJSON",uk);
|
|
var tk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):ok.xa(a)},qk=function(a,b){b=a.Fd(b);a.Pd&&(b=t(b)&&"ValueRef"==b.type&&1==a.fb.length?a.fb[0][1]:{type:"CompoundValue",scope:a.fb,value:b},a.fb=[],Pa(a.mg,u(function(c){delete c[this.rd]},a)),a.mg=[],a.za={});return b};
|
|
nk.prototype.Fd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=t(a)?a[this.rd]: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(ua(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof vj){var c=a.encode(u(this.Fd,this));if(!(Array.isArray(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
Ra(a,function(e){return this.Fd(e)},this);else if(t(a)&&"function"!==typeof a)c=nb(a,function(e){if("function"!==typeof e)return this.Fd(e)},this),vb(c,this.rd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Pd){b=vk(c);if(this.za[b])var d=this.za[b];else d=String(this.fb.length),this.fb.push([d,c]),this.za[b]=d;a[this.rd]=b;this.mg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var vk=function(a){pk.reset();pk.update(ok.xa(a));return pk.digest().toString()},xk=function(a){return ud(wk(a),qd,rd,sd)};w("ee.Serializer.encodeCloudApi",xk);
|
|
var wk=function(a,b){var c=new nk(!0);c.ri=b;return yk(c,a)},zk=function(a){a=yk(new nk(!1),a);var b=a.values,c=function(d){if(!t(d))return d;var e=Array.isArray(d)?[]:{},f=d instanceof Object.getPrototypeOf(Ie);d=n(Object.entries(f?d.h:d));for(var g=d.next();!g.done;g=d.next()){var h=n(g.value);g=h.next().value;h=h.next().value;f?null!==h&&(e[g]="functionDefinitionValue"===g&&null!=h.body?{argumentNames:h.nc,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.bb?{arguments:nb(h.arguments,c),
|
|
functionReference:c(b[h.bb])}:"constantValue"===g?h===od?null:h:c(h)):e[g]=c(h)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",zk);var Ak=function(a){return ok.xa(xk(a))};w("ee.Serializer.toCloudApiJSON",Ak);var Bk=function(a){return tk(zk(a))};w("ee.Serializer.toReadableCloudApiJSON",Bk);
|
|
var yk=function(a,b){try{var c=Ck(a,b),d=new Dk(c,a.fb,a.Pd),e=Ek(d,d.Yh);return new We({result:e,values:d.Nh})}finally{a.Md=new WeakMap,a.za={},a.fb=[]}},Ck=function(a,b){var c=function(e){var f=vk(e);t(b)&&a.Md.set(b,f);if(a.za[f])return a.za[f];var g=String(a.fb.length);a.fb.push([g,e]);return a.za[f]=g};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(wj(b));if(ua(b))return c(Aj("Date",{value:wj(Math.floor(b.getTime()))}));
|
|
if(b instanceof vj)return c(b.ma(a));if(Array.isArray(b))return c(yj(b.map(function(e){return xj(Ck(a,e))})));if(t(b)&&"function"!==typeof b){var d={};Object.keys(b).sort().forEach(function(e){d[e]=xj(Ck(a,b[e]))});return c(zj(d))}throw Error("Can't encode object: "+b);},Dk=function(a,b,c){var d=this;this.Yh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.Sh=c?Fk(this):null;this.Nh={};this.Nf={};this.mk=0},Ek=function(a,b){if(b in a.Nf)return a.Nf[b];var c=String(a.mk++);
|
|
a.Nf[b]=c;a.Nh[c]=Gk(a,a.values[b],0);return c},Gk=function(a,b,c){var d=function(p){return null!==p.nb},e=function(p){return p===od?null:p};if(d(b)||null!=b.Zb||null!=b.wb||null!=b.Rb)return b;if(null!=b.Ua)return d=a.values[b.Ua],null===a.Sh||50>c&&1===a.Sh[b.Ua]?Gk(a,d,c):Hk(d)?d:xj(Ek(a,b.Ua));if(null!=b.Ia){var f=b.Ia.values.map(function(p){return Gk(a,p,c+3)});return f.every(d)?wj(f.map(function(p){return e(p.nb)})):yj(f)}if(null!=b.Ja){f={};var g={};b=n(Object.entries(b.Ja.values||{}));for(var h=
|
|
b.next();!h.done;h=b.next()){var m=n(h.value);h=m.next().value;m=m.next().value;f[h]=Gk(a,m,c+3);null!==g&&d(f[h])?g[h]=e(f[h].nb):g=null}return null!==g?wj(g):zj(f)}if(null!=b.ab)return d=b.ab,Cj(d.nc||[],Ek(a,d.body||""));if(null!=b.Aa){d=b.Aa;f={};g=n(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=Gk(a,d.arguments[b],c+3);return d.functionName?Aj(d.functionName,f):Bj(Ek(a,d.bb||""),f)}throw Error("Can't optimize value: "+b);},Hk=function(a){var b=a.nb;return null!==
|
|
b?b===od||"number"===typeof b||"boolean"===typeof b:null!=a.Rb},Fk=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Ia?e.Ia.values.forEach(d):null!=e.Ja?Object.values(e.Ja.values).forEach(d):null!=e.ab?c(e.ab.body):null!=e.Aa?(e=e.Aa,null!=e.bb&&c(e.bb),Object.values(e.arguments).forEach(d)):null!=e.Ua&&c(e.Ua)};c(a.Yh);return b};var Nk=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 zf({l:wk(a.element),description:K(a.description),na:null,ta:null,Cd:null,selectors:b,$b:Ik(a.maxErrorMeters),requestId:K(a.id),maxVertices:Ik(a.maxVertices),P:Ik(a.maxWorkers)});var c=Jk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Bf({oa:null,la:null,F:Ej(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.oa=Kk(a):d.la=Lk(a);
|
|
b.na=d;break;case "ASSET":b.ta=new Af({Ka:Mk(a)});break;case "DMS":b.Cd=new ef({Ye:new ff({Vb:K(a.dmsName)})});break;default:throw Error('Export destination "'+c+'" unknown');}return b};function K(a){return null!=a?String(a):null}function Ik(a){return null!=a?Number(a):null}
|
|
var Jk=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.dmsName&&(b="DMS");return b},Pk=function(a){var b=new Tf({Qe:!!a.tfrecordCompressed,ac:K(a.tfrecordMaxFileSize),Uf:!!a.tfrecordSequenceData,Oe:!!a.tfrecordCollapseBands,Cf:Ik(a.tfrecordMaskedThreshold),defaultValue:Ik(a.tfrecordDefaultValue),Sa:Ok(a.tfrecordPatchDimensions),zf:Ok(a.tfrecordKernelSize),ce:null});a=a.tfrecordTensorDepths;if(null!=
|
|
a)if(t(a)){var c={};lb(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.ce=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},Qk=function(a,b){var c=new vf({oa:null,la:null,Hd:null,de:null,F:Dj(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 Kf({Ne:!!a.tiffCloudOptimized,Zf:!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),Sa:Ok(a.fileDimensions||a.tiffFileDimensions),tileSize:Ik(d)});c.Hd=d}else"TF_RECORD_IMAGE"===c.F&&(c.de=Pk(a));"GOOGLE_CLOUD_STORAGE"===b?c.oa=Kk(a):c.la=Lk(a);return c},Rk=function(a,b){var c=new Df({oa:null,la:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.oa=Kk(a):c.la=Lk(a);return c},Sk=function(a){var b=Ik(a.maxZoom),c=Ik(a.scale),d=Ik(a.minZoom),e=!!a.skipEmptyTiles,f=K(a.mapsApiKey),
|
|
g=Ok(a.tileDimensions),h=Ik(a.stride);var m=Ik(a.minTimeMachineZoomSubset);a=Ik(a.maxTimeMachineZoomSubset);if(null==m&&null==a)m=null;else{var p=new sg({min:0,max:null});null!=m&&(p.min=m);p.max=a;m=p}return new yf({maxZoom:b,scale:c,minZoom:d,$f:e,yf:f,Sa:g,ag:h,ng:m})},Ok=function(a){if(null==a)return null;var b=new Lf({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},Kk=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Jf({oc:K(a.outputBucket),ea:K(a.outputPrefix),
|
|
pc:a.bucketCorsUris||null,permissions:b})},Lk=function(a){return new hf({ff:K(a.driveFolder),ea:K(a.driveFileNamePrefix)})},Mk=function(a){return new Re({name:Pj(a.assetId)})};var Uk=function(a,b,c,d,e,f){d=Zi(!f,!1,d||[]);aj=a;bj=d;null===a?gj():cj(function(){ej(b,c,e||Aa(Tk,b,c))})};w("ee.data.authenticateViaOauth",Uk);var Vk=function(a,b,c,d,e){Uk(a,b,c,d,e)};w("ee.data.authenticate",Vk);var Tk=function(a,b){r.gapi.auth.authorize({client_id:aj,immediate:!1,scope:bj.join(" ")},Aa(dj,a,b))};w("ee.data.authenticateViaPopup",Tk);
|
|
var Wk=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=Zi(!e,!e,d||[]);aj=a.client_email;bj=d;var f=new google.auth.JWT(a.client_email,null,a.private_key,d,null);$i=function(g,h){f.authorize(function(m,p){m?h({error:m}):h({access_token:p.access_token,token_type:p.token_type,expires_in:(p.expiry_date-Date.now())/1E3})})};ej(b,c)};w("ee.data.authenticateViaPrivateKey",Wk);
|
|
w("ee.data.setExpressionAugmenter",function(a){Xk=a||Ab});var Xk=Ab;w("ee.data.setAuthToken",function(a,b,c,d,e,f,g,h){e=Zi(!h,!1,e||[]);aj=a;bj=e;var m={token_type:b,access_token:c,state:e.join(" "),expires_in:d};dj(void 0,void 0,m);!1===g?f&&f():cj(function(){r.gapi.auth.setToken(m);f&&f()})});w("ee.data.refreshAuthToken",ej);w("ee.data.setAuthTokenRefresher",function(a){$i=a});w("ee.data.getAuthToken",Vi);w("ee.data.clearAuthToken",gj);w("ee.data.getAuthClientId",function(){return aj});
|
|
w("ee.data.getAuthScopes",function(){return bj});w("ee.data.setDeadline",function(a){uj=a});w("ee.data.setParamAugmenter",function(a){oj=a||Ab});
|
|
var Yk=function(a){a=new I(a);return J(a,a.Jc().list(Oi(),{prettyPrint:!1}).then(Kj))},$k=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 pf({name:null,l:Xk(wk(a.image)),F:Dj(a.format),ca:Gj(a.bands),Wa:Jj(a)});b=new I(b);return J(b,b.maps().create(Oi(),a,{fields:["name"]}).then(function(c){return Zk(c.name,"")}))};w("ee.data.getMapId",$k);
|
|
var al=function(a,b,c,d){if(!a.formatTileUrl){var e=Zk(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",al);
|
|
var Zk=function(a,b,c){var d=void 0===c?"":c;d||(Mi(),c=jj,d=b?c+"/map/"+a+"/{z}/{x}/{y}?token="+b:c+"/v1alpha/"+a+"/tiles/{z}/{x}/{y}");return{mapid:a,token:b,formatTileUrl:function(e,f,g){var h=Math.pow(2,g);e%=h;e=String(0>e?e+h:e);return d.replace("{x}",e).replace("{y}",f).replace("{z}",g)},urlFormat:d}},bl=function(a,b){var c=a.visParams?JSON.stringify(a.visParams):null;a=new bf({name:null,Sb:a.assetName,Vb:a.mapName,Wa:c});b=new I(b);return J(b,(new Bg(b.N)).create(Oi(),a,{fields:["name"]}).then(function(d){return{token:d.name}}))};
|
|
w("ee.data.getDmsTilesKey",bl);var cl=function(a,b){a=Xk(wk(a));b=new I(b);return J(b,Lg(b.value(),Oi(),new Ve({l:a})).then(function(c){return c.result}))};w("ee.data.computeValue",cl);
|
|
var dl=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 rg({name:null,l:Xk(wk(a.image)),F:Dj(a.format),ea:a.name,ca:Gj(a.bands),
|
|
Wa:Jj(a),L:null});b=new I(b);return J(b,(new Jg(b.N)).create(Oi(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getThumbId",dl);
|
|
var el=function(a,b){var c=new Ef({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new vg({name:null,l:Xk(wk(a.imageCollection)),F:Dj(a.format),Va:c,L:null});b=new I(b);return J(b,(new Og(b.N)).create(Oi(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};w("ee.data.getVideoThumbId",el);
|
|
var fl=function(a,b){a=new Gf({name:null,l:Xk(wk(a.imageCollection)),F:Dj(a.format),orientation:Fj(a.orientation),L:null});b=new I(b);return J(b,(new Cg(b.N)).create(Oi(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getFilmstripThumbId",fl);var gl=function(a){return jj+"/v1alpha/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",gl);
|
|
var il=function(a,b){a=Object.assign({},a);a.id&&(a.image=new L(a.id));if("string"===typeof a.image)throw Error("Image as serialized JSON string not supported.");if(!a.image)throw Error("Missing ID or image parameter.");a.filePerBand=!1!==a.filePerBand;a.format=a.format||(a.filePerBand?"ZIPPED_GEO_TIFF_PER_BAND":"ZIPPED_GEO_TIFF");if(null!=a.region&&(null!=a.scale||null!=a.crs_transform)&&null!=a.dimensions)throw Error("Cannot specify (bounding region, crs_transform/scale, dimensions) simultaneously.");
|
|
if("string"===typeof a.bands)try{a.bands=JSON.parse(a.bands)}catch(d){a.bands=Gj(a.bands)}if(a.bands&&!Array.isArray(a.bands))throw Error("Bands parameter must be an array.");a.bands&&a.bands.every(function(d){return"string"===typeof d})&&(a.bands=a.bands.map(function(d){return{id:d}}));if(a.bands&&a.bands.some(function(d){return null==d.id}))throw Error("Each band dictionary must have an id.");"string"===typeof a.region&&(a.region=JSON.parse(a.region));if("string"===typeof a.crs_transform)try{a.crs_transform=
|
|
JSON.parse(a.crs_transform)}catch(d){}var c=hl(a.image,a);a=new rg({name:null,l:Xk(wk(c)),F:Dj(a.format),ea:a.name,ca:a.bands&&Gj(a.bands.map(function(d){return d.id})),L:null});b=new I(b);return J(b,(new Jg(b.N)).create(Oi(),a,{fields:["name"]}).then(function(d){return{docid:d.name,token:""}}))};w("ee.data.getDownloadId",il);var jl=function(a){Mi();return jj+"/v1alpha/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",jl);
|
|
var kl=function(a,b){b=new I(b);var c=Ej(a.format),d=Xk(wk(a.table)),e=null;if(null!=a.selectors)if("string"===typeof a.selectors)e=a.selectors.split(",");else if(Array.isArray(a.selectors)&&a.selectors.every(function(f){return"string"===typeof f}))e=a.selectors;else throw Error("'selectors' parameter must be an array of strings.");a=new pg({name:null,l:d,F:c,selectors:e,filename:a.filename||null});return J(b,(new Ig(b.N)).create(Oi(),a,{fields:["name"]}).then(function(f){return{docid:f.name||"",
|
|
token:""}}))};w("ee.data.getTableDownloadId",kl);var ll=function(a){return jj+"/v1alpha/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",ll);var ml=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,4*d)).toString(16).padStart(d,"0")};a=bb(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",ml);
|
|
var ol=function(a,b){var c=nl(a).map(ck);if(1===c.length)return a=new I(b),J(a,a.Qa().get(c[0]).then(function(e){return[dk(e)]}));a=new Ui(b);var d=a.Qa();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(f){return dk(e[f])})})};w("ee.data.getTaskStatus",ol);var nl=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.");},ql=function(a){return pl(void 0,a)};
|
|
w("ee.data.getTaskList",ql);var pl=function(a,b){return b?(rl(a,function(c,d){return b(c?{tasks:c.map(dk)}:null,d)}),null):{tasks:rl(a).map(dk)}};w("ee.data.getTaskListWithLimit",pl);var rl=function(a,b){var c=[],d={pageSize:500},e=function(h){$a(c,h.Qa||[]);!h.eb||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.eb,J(f,g.list(Oi(),d).then(e)));return null},f=new I(b?function(h,m){return m&&b(h,m)}:void 0),g=f.Qa();J(f,g.list(Oi(),d).then(e));return b?null:a?c.slice(0,a):c};
|
|
w("ee.data.listOperations",rl);var sl=function(a,b){a=nl(a);var c=new Oe;if(1===a.length)b=new I(b),J(b,b.Qa().cancel(a[0],c));else{b=new Ui(b);var d=b.Qa();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",sl);var tl=function(a,b){var c=nl(a).map(ck);if(!Array.isArray(a))return a=new I(b),J(a,a.Qa().get(c[0]));a=new Ui(b);var d=a.Qa();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",tl);var vl=function(a,b){return ul(a,"CANCEL",b)};
|
|
w("ee.data.cancelTask",vl);var ul=function(a,b,c){if(!rb(wl,b))throw Error("Invalid action: "+b);a=nl(a);a=a.map(ck);sl(a,c);return null};w("ee.data.updateTask",ul);
|
|
var Cl=function(a,b,c){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new I(c);c=function(f){return J(e,f.then(ek))};switch(d){case "EXPORT_IMAGE":return b=xl(b,a),c(e.image().Na(Oi(),b));case "EXPORT_FEATURES":return b=Nk(b),b.l=Xk(b.l,a),c(e.table().Na(Oi(),b));case "EXPORT_VIDEO":return b=yl(b,a),c(e.video().Na(Oi(),b));case "EXPORT_TILES":return b=zl(b,a),c(e.map().Na(Oi(),b));case "EXPORT_VIDEO_MAP":return b=Al(b),c((new Ng(e.N)).Na(Oi(),b));case "EXPORT_CLASSIFIER":return b=
|
|
Bl(b),c((new Ag(e.N)).Na(Oi(),b));default:throw Error("Unable to start processing for task of type "+d);}};w("ee.data.startProcessing",Cl);
|
|
var xl=function(a,b){var c=Dl(a);if(null==c.element)throw Error('"element" not found in params '+c);a=new tf({l:wk(c.element),description:K(c.description),na:null,ta:null,L:null,Df:K(c.maxPixels),requestId:K(c.id),P:Ik(c.maxWorkers)});var d=Jk(c);switch(d){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":a.na=Qk(c,d);break;case "ASSET":d=c.pyramidingPolicy||{};try{d=JSON.parse(d)}catch(f){}var e="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof d?(e=d,d={}):d[".default"]&&(e=d[".default"],delete d[".default"]);
|
|
c=new uf({Ka:Mk(c),pyramidingPolicy:e,Lf:ub(d)?null:d,tileSize:Ik(c.shardSize)});a.ta=c;break;default:throw Error('Export destination "'+d+'" unknown');}a.l=Xk(a.l,b);return a},yl=function(a,b){a=El(a);if(null==a.element)throw Error('"element" not found in params '+a);var c=new Ff({l:wk(a.element),description:K(a.description),Va:new Ef({framesPerSecond:Ik(a.framesPerSecond),maxFrames:Ik(a.maxFrames),maxPixelsPerFrame:K(a.maxPixels)}),na:null,requestId:K(a.id),P:Ik(a.maxWorkers)});c.na=Rk(a,Jk(a));
|
|
c.l=Xk(c.l,b);return c},zl=function(a,b){var c=a.scale;delete a.scale;a=Dl(a);a.scale=c;if(null==a.element)throw Error('"element" not found in params '+a);c=new xf({l:wk(a.element),description:K(a.description),ic:Sk(a),hc:Qk(a,"GOOGLE_CLOUD_STORAGE"),requestId:K(a.id),P:Ik(a.maxWorkers)});c.l=Xk(c.l,b);return c},Al=function(a){var b=a.scale;delete a.scale;a=El(a);a.scale=b;if(null==a.element)throw Error('"element" not found in params '+a);b=new Cf({l:wk(a.element),description:K(a.description),Va:new Ef({framesPerSecond:Ik(a.framesPerSecond),
|
|
maxFrames:Ik(a.maxFrames),maxPixelsPerFrame:null}),ic:Sk(a),hc:Rk(a,"GOOGLE_CLOUD_STORAGE"),requestId:K(a.id),version:K(a.version),P:Ik(a.maxWorkers)});b.l=Xk(b.l);return b},Bl=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=Jk(a);if("ASSET"!=b)throw Error('Export destination "'+b+'" unknown');a=new sf({l:wk(a.element),description:K(a.description),requestId:K(a.id),ta:new Qe({Ka:Mk(a)}),P:Ik(a.maxWorkers)});a.l=Xk(a.l);return a},Gl=function(a,b,c){b=ik(b);var d=
|
|
function(e){return e?ek(e):null};return d(Fl(a,b,c&&function(e,f){return c(d(e),f)}))};w("ee.data.startIngestion",Gl);
|
|
var Fl=function(a,b,c){b=new $f({qf:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return J(a,a.image().import(Oi(),b))},Hl=function(a,b,c){b=new ag({dg:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return J(a,a.table().import(Oi(),b))},Il=function(a,b,c){b=jk(b);var d=function(e){return e?ek(e):null};return d(Hl(a,b,c&&function(e,f){return c(d(e),f)}))};w("ee.data.startTableIngestion",Il);
|
|
var Jl=function(a,b){b=new I(b);a=Pj(a);return J(b,b.assets().get(a,{prettyPrint:!1}).then(Qj))};w("ee.data.getAsset",Jl);w("ee.data.getInfo",Jl);
|
|
var Kl=function(a,b){b=new I(b);var c=b.assets(),d=Pj(a.id),e=Nj.test(a.id);e&&(c=new xg(b.N),d="projects/"+Oj(a.id));if(Object.keys(a).every(function(f){return"id"===f||"num"===f}))return J(b,c.$c(d,{pageSize:a.num}).then(Rj));if(e)throw Error("getList on a project does not support filtering options. Please provide a full asset path. Got: "+a.id);a=Yj(a);return J(b,zg(c,d,a).then(Tj))};w("ee.data.getList",Kl);
|
|
var Ll=function(a,b,c){b=void 0===b?{}:b;var d=Nj.test(a);c=new I(c);var e=d?new xg(c.N):c.assets();a=d?"projects/"+Oj(a):Pj(a);return J(c,e.$c(a,b))};w("ee.data.listAssets",Ll);var Ml=function(a,b,c){b=void 0===b?{}:b;c=new I(c);return J(c,zg(c.assets(),a,b))};w("ee.data.listImages",Ml);var Nl=function(a,b){b=new I(b);return J(b,(new xg(b.N)).$c(a||Oi()))};w("ee.data.listBuckets",Nl);var Ol=function(a){a=new I(a);return J(a,(new xg(a.N)).$c(Oi()).then(Rj))};w("ee.data.getAssetRoots",Ol);
|
|
var Pl=function(a,b){var c="projects/"+Oj(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new jf({type:"Folder"});b=new I(b);J(b,b.assets().create(c,d,{assetId:a}).then(Qj))};w("ee.data.createAssetHome",Pl);
|
|
var Ql=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&&Pj(b);if(!c)throw Error("Either asset name or opt_path must be specified.");var f=c.indexOf("/assets/");if(-1===f)throw Error("Asset name must contain /assets/.");a=new jf(a);b=c.slice(0,f);c=c.slice(f+8);a.id=null;a.name=null;d&&!a.properties&&(a.properties=d);a:switch(d=a.type,d){case "ImageCollection":d="IMAGE_COLLECTION";break a;
|
|
case "Folder":d="FOLDER"}a.type=d;e=new I(e);return J(e,e.assets().create(b,a,{assetId:c}).then(Qj))};w("ee.data.createAsset",Ql);var Rl=function(a,b,c){return Ql({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",Rl);var Sl=function(a,b,c){a=Pj(a);b=Pj(b);b=new ig({Ub:b});c=new I(c);J(c,c.assets().move(a,b).then(Qj))};w("ee.data.renameAsset",Sl);
|
|
var Tl=function(a,b,c,d){a=Pj(a);b=Pj(b);c=new Ze({Ub:b,overwrite:null!=c?c:null});d=new I(d);b=Qj;var e=d.assets();var f=void 0===f?{}:f;var g=void 0===g?{}:g;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",s:G(f,g),G:jf});J(d,f.then(b))};w("ee.data.copyAsset",Tl);var Ul=function(a,b){b=new I(b);J(b,b.assets().delete(Pj(a)))};w("ee.data.deleteAsset",Ul);
|
|
var Vl=function(a,b){a=Pj(a);var c=new Mf;b=new I(b);var d=b.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;var f=void 0===f?{}:f;d.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(d.j,{body:c,B:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+d.m+"/"+a+":getIamPolicy",s:G(e,f),G:mg});return J(b,f.then(Zj))};w("ee.data.getAssetAcl",Vl);
|
|
var Wl=function(a,b,c,d){b=new ug({Sb:b,Gc:(c||[]).join(",")});d=new I(d);c=Qj;var e=d.assets();a=Pj(a);var f=void 0===f?{}:f;var g=void 0===g?{}:g;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(e.j,{body:b,B:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,s:G(f,g),G:jf});return J(d,f.then(c))};w("ee.data.updateAsset",Wl);
|
|
var Xl=function(a,b,c){a=Pj(a);b=ak(b);b=new og({If:b});c=new I(c);var d=c.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;var f=void 0===f?{}:f;d.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(d.j,{body:b,B:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+d.m+"/"+a+":setIamPolicy",s:G(e,f),G:mg});J(c,f)};w("ee.data.setAssetAcl",Xl);
|
|
var Yl=function(a,b,c){var d=Wj(b);b=pd(d.i()).keys.filter(function(e){return"properties"!==e&&F(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(f,g){return"_"+g.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));Wl(a,d,b,c)};w("ee.data.setAssetProperties",Yl);
|
|
var Zl=function(a,b){var c=Pj(a);b=new I(b);var d=b.assets(),e=d.j.C;d.j.C=function(f,g){"^projects\\/[^/]+\\/assets\\/.+$"===g.source&&(g=RegExp("^projects/[^/]+/assets/.*$"));return e(f,g)};c=d.get(c,{prettyPrint:!1});return J(b,c.then(function(f){if(!(f instanceof jf&&f.quota))throw Error(a+" is not a root folder.");f=f.quota;return{asset_count:{usage:Number(f.Ke||0),limit:Number(f.Bf||0)},asset_size:{usage:Number(f.Fa||0),limit:Number(f.ac||0)}}}))};w("ee.data.getAssetRootQuota",Zl);
|
|
var wl={Ek:"CANCEL",Hk:"UPDATE"};var M=function(a,b,c){if(!(this instanceof M))return $l(M,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.H=a;this.args=b;this.U=c||null};x(M,vj);w("ee.ComputedObject",M);M.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");cl(this,a)};M.prototype.evaluate=M.prototype.evaluate;
|
|
M.prototype.V=function(a){return cl(this,a)};M.prototype.getInfo=M.prototype.V;M.prototype.encode=function(a){if(null===this.H&&null===this.args)return{type:"ArgumentRef",value:this.U};var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=a(this.args[c]));b={type:"Invocation",arguments:b};a=a(this.H);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
M.prototype.ma=function(a){if(null===this.H&&null===this.args){a=this.U||a.ri;if(!a)throw Error("A mapped function's arguments cannot be used in client-side operations");return new Ie({Rb:a})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=xj(Ck(a,this.args[c])));return"string"===typeof this.H?Aj(String(this.H),b):this.H.Ed(a,b)};M.prototype.xa=function(a){return(void 0===a?0:a)?sk(this):Ak(this)};M.prototype.serialize=M.prototype.xa;
|
|
M.prototype.toString=function(){return"ee."+this.name()+"("+uk(this)+")"};w("ee.ComputedObject.prototype.toString",M.prototype.toString);M.prototype.name=function(){return"ComputedObject"};M.prototype.og=function(a,b){var c=Array.from(arguments);c[0]=this;a.apply(r,c);return this};M.prototype.aside=M.prototype.og;
|
|
var am=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.H=b.H;a.args=b.args;a.U=b.U;return a},$l=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var bm={},cm=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}},dm=function(a){return"number"===typeof a||a instanceof M&&"Number"==a.name()},em=function(a){return"string"===typeof a||a instanceof M&&"String"==a.name()},fm=function(a){return t(a)&&
|
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},gm=function(a,b,c){return 1===a.length&&fm(a[0])&&(a=b.args,(void 0===c?0:c)&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var hm=function(){if(!(this instanceof hm))return new hm};x(hm,vj);w("ee.Function",hm);var im=Ab;hm.prototype.call=function(a){return this.apply(jm(this,Array.prototype.slice.call(arguments,0)))};hm.prototype.call=hm.prototype.call;hm.prototype.apply=function(a){a=new M(this,km(this,a));return im(a,this.aa().returns)};hm.prototype.apply=hm.prototype.apply;
|
|
var lm=function(a,b,c){var d=void 0!==b,e=a.aa();if(gm(c,e,d)){if(c=wb(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=jm(a,d?[b].concat(c):c);return a.apply(c)},km=function(a,b){for(var c=a.aa().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&void 0!==b[g])d[g]=im(b[g],c[f].type);else if(!c[f].optional)throw Error("Required argument ("+g+") missing to function: "+a);e[g]=!0}c=[];for(var h in b)e[h]||c.push(h);if(0<
|
|
c.length)throw Error("Unrecognized arguments ("+c+") to function: "+a);return d},jm=function(a,b){var c=a.aa().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
|
|
hm.prototype.toString=function(a,b){var c=this.aa(),d=[];d.push(a||c.name);d.push("(");d.push(Ra(c.args.slice(b?1:0),function(f){return f.name}).join(", "));d.push(")\n");d.push("\n");c.description?d.push(c.description):d.push("Undocumented.");d.push("\n");if(c.args.length)for(d.push("\nArgs:\n"),a=0;a<c.args.length;a++){b&&0==a?d.push(" this:"):d.push("\n ");var e=c.args[a];d.push(e.name);d.push(" (");d.push(e.type);e.optional&&d.push(", optional");d.push("): ");e.description?d.push(e.description):
|
|
d.push("Undocumented.")}return d.join("")};hm.prototype.xa=function(a){return(void 0===a?0:a)?sk(this):Ak(this)};var N=function(a,b){if(void 0===b)return mm(a);if(!(this instanceof N))return $l(N,arguments);this.Cb=xb(b);this.Cb.name=a};x(N,hm);w("ee.ApiFunction",N);var O=function(a,b){return hm.prototype.call.apply(mm(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",O);var nm=function(a,b){return mm(a).apply(b)};w("ee.ApiFunction._apply",nm);N.prototype.encode=function(){return this.Cb.name};N.prototype.Ed=function(a,b){return Aj(this.Cb.name,b)};N.prototype.aa=function(){return this.Cb};
|
|
var om=null,pm={},rm=function(){qm();return nb(om,function(a){return a.aa()})},sm=function(){qm();return mb(om,function(a,b){return!pm[b]})},mm=function(a){var b=tm(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",mm);
|
|
var tm=function(a){qm();return om[a]||null},qm=function(a,b){if(om)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(om=nb(d,function(f,g){f.returns=f.returns.replace(/<.*>/,"");for(var h=0;h<f.args.length;h++)f.args[h].type=f.args[h].type.replace(/<.*>/,"");return new N(g,f)}),a&&a())};a?Yk(c):c(Yk())}},um=function(a,b,c,d){qm();var e=d||"";lb(om,function(f,g){var h=g.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var m=f.aa();pm[g]=!0;var p=!1;m.args.length&&(g=m.args[0].type,p="Object"!=g&&cm(g,
|
|
c));g=p?a.prototype:a;h in g&&!g[h].signature||(g[h]=function(v){return lm(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[h].toString=u(f.toString,f,h,p),g[h].signature=m)}})},vm=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=wm(a),d=Ra(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={},f=b[0],g=t(f)&&"function"!==typeof f&&!Array.isArray(f)&&"Object"===Object.getPrototypeOf(f).constructor.name;if(1<b.length||!g){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(f=0;f<b.length;f++)e[d[f]]=b[f]}else{g=new fd(qb(f));
|
|
var h=new fd(d);if(hd(h,g).isEmpty())e[d[0]]=b[0];else{b=id(g,h);if(0!==b.size)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=wb(f)}}b=new fd(qb(e));c=id(new fd(Qa(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},wm=function(a){var b=xm,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],t(a)||ym(),c=a.paramNames,Array.isArray(c)||ym()):(a=a.toString().replace(zm,
|
|
"").match(b),null===a&&ym(),c=(a[1].split(",")||[]).map(function(d){return d.replace(Am,"")}));return c},ym=function(){throw Error("Failed to locate function parameters.");},zm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,xm=/^function[^\(]*\(([^\)]*)\)/m,Am=/=.*$/;var Q=function(a,b,c){M.call(this,a,b,c);Bm()};x(Q,M);w("ee.Element",Q);var Cm=!1,Bm=function(){Cm||(um(Q,"Element","Element"),Cm=!0)};Q.prototype.name=function(){return"Element"};
|
|
Q.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=fm(c))a:{b=qb(c);var d=["properties"];if(ta(b)&&ta(d)&&b.length==d.length){for(var e=b.length,f=0;f<e;f++)if(b[f]!==d[f]){b=!1;break a}b=!0}else b=!1}b&&t(c.properties)&&(c=c.properties);if(fm(c)){b=this;for(var g in c)d=c[g],b=O("Element.set",b,g,d)}else if(c instanceof M&&tm("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)g=arguments[c],d=arguments[c+1],b=O("Element.set",b,g,d)}return am(this,b)};Q.prototype.set=Q.prototype.set;var S=function(a,b,c,d){if(!(this instanceof S))return $l(S,arguments);if(!("type"in a)){var e=P(S,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Dm();e=null!=b||null!=c||null!=d;if(a instanceof M&&!(a instanceof S&&a.ub)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");M.call(this,a.H,a.args,a.U)}else{a instanceof S&&(a=a.encode());if(!Em(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));M.call(this,
|
|
null,null);this.ub=a.type;this.Kg=null!=a.coordinates?xb(a.coordinates):null;this.jh=a.geometries||null;if(null!=b)this.ec=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.ec=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new Wh).xa(a.crs));this.vc=c;void 0===this.vc&&"geodesic"in a&&(this.vc=!!a.geodesic);this.tc=d;void 0===this.tc&&"evenOdd"in a&&(this.tc=!!a.evenOdd)}};x(S,M);w("ee.Geometry",S);
|
|
var Fm=!1,Dm=function(){Fm||(um(S,"Geometry","Geometry"),Fm=!0)},Gm=function(a,b){if(!(this instanceof Gm))return Hm(Gm,arguments);var c=Im(Gm,"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(Gm,S);S.Point=Gm;var Jm=function(a,b){if(!(this instanceof Jm))return Hm(Jm,arguments);S.call(this,Im(Jm,"MultiPoint",2,arguments))};x(Jm,S);S.MultiPoint=Jm;
|
|
var Km=function(a,b,c,d){if(!(this instanceof Km))return Hm(Km,arguments);var e=Im(Km,"Rectangle",2,arguments);if(!(e instanceof M)){var f=e.coordinates;if(2!=f.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var g=f[0][0],h=f[0][1],m=f[1][0];f=f[1][1];e.coordinates=[[[g,f],[g,h],[m,h],[m,f]]];e.type="Polygon"}S.call(this,e)};x(Km,S);S.Rectangle=Km;
|
|
var Lm=function(a,b,c,d){if(!(this instanceof Lm))return Hm(Lm,arguments);var e=[a,b,c,d];if(Mm(e))return(new N("GeometryConstructors.BBox")).apply(e);if(!(Infinity>a))throw Error("Geometry.BBox: west must not be "+a);if(!(-Infinity<c))throw Error("Geometry.BBox: east must not be "+c);if(!(90>=b))throw Error("Geometry.BBox: south must be at most +90\u00b0, but was "+b+"\u00b0");if(!(-90<=d))throw Error("Geometry.BBox: north must be at least -90\u00b0, but was "+d+"\u00b0");b=Math.max(b,-90);d=Math.min(d,
|
|
90);360<=c-a?(a=-180,c=180):(a=Nm(a),c=Nm(c),c<a&&(c+=360));S.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(Lm,Km);S.BBox=Lm;var Nm=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},Om=function(a,b,c,d){if(!(this instanceof Om))return Hm(Om,arguments);S.call(this,Im(Om,"LineString",2,arguments))};x(Om,S);S.LineString=Om;var Pm=function(a,b,c,d){if(!(this instanceof Pm))return Hm(Pm,arguments);S.call(this,Im(Pm,"LinearRing",2,arguments))};x(Pm,S);
|
|
S.LinearRing=Pm;var Qm=function(a,b,c,d){if(!(this instanceof Qm))return Hm(Qm,arguments);S.call(this,Im(Qm,"MultiLineString",3,arguments))};x(Qm,S);S.MultiLineString=Qm;var Rm=function(a,b,c,d,e){if(!(this instanceof Rm))return Hm(Rm,arguments);S.call(this,Im(Rm,"Polygon",3,arguments))};x(Rm,S);S.Polygon=Rm;var Sm=function(a,b,c,d,e){if(!(this instanceof Sm))return Hm(Sm,arguments);S.call(this,Im(Sm,"MultiPolygon",4,arguments))};x(Sm,S);S.MultiPolygon=Sm;
|
|
S.prototype.encode=function(a){if(!this.ub){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return M.prototype.encode.call(this,a)}a={type:this.ub};"GeometryCollection"==this.ub?a.geometries=this.jh:a.coordinates=this.Kg;null!=this.ec&&(a.crs={type:"name",properties:{name:this.ec}});null!=this.vc&&(a.geodesic=this.vc);null!=this.tc&&(a.evenOdd=this.tc);return a};
|
|
S.prototype.ge=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};S.prototype.toGeoJSON=S.prototype.ge;S.prototype.ig=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new Wh).xa(this.ge())};S.prototype.toGeoJSONString=S.prototype.ig;S.prototype.xa=function(a){return(void 0===a?0:a)?sk(this):Ak(this)};S.prototype.serialize=S.prototype.xa;
|
|
S.prototype.toString=function(){return"ee.Geometry("+this.ig()+")"};
|
|
S.prototype.ma=function(a){if(!this.ub){if(!a)throw Error("Must specify a serializer when encoding a computed geometry.");return M.prototype.ma.call(this,a)}var b={},c="";"GeometryCollection"===this.ub?(b.geometries=this.jh.map(function(e){return new S(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.Kg,c="GeometryConstructors."+this.ub);null!=this.ec&&(b.crs="string"===typeof this.ec?(new N("Projection")).call(this.ec):this.ec);var d="Point"!==this.ub&&"MultiPoint"!==this.ub;null!=
|
|
this.vc&&d&&(b.geodesic=this.vc);null!=this.tc&&(b.evenOdd=this.tc);return(new N(c)).apply(b).ma(a)};
|
|
var Em=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(!Em(b[a]))return!1;return!0}a=a.coordinates;var c=Tm(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)},Tm=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=Tm(a[0]),c=1;c<a.length;c++)if(Tm(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},Um=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},Im=function(a,b,c,d){a=Vm(a,d);if(Mm(a.coordinates)||null!=a.crs||null!=a.maxError)return(new N("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=Wm(c,a.coordinates);(b=Va(["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},Vm=function(a,b){if(Ta(b,dm))return{coordinates:Za(b)};a=P(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return mb(a,function(c){return null!=c})},Mm=function(a){return Array.isArray(a)?Sa(a,Mm):a instanceof M},Wm=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Ta(b,function(e){return"number"===
|
|
typeof e})&&(b=Um(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(Tm(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},Hm=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};S.prototype.name=function(){return"Geometry"};var T=function(a){if(!(this instanceof T))return $l(T,arguments);if(a instanceof T)return a;Xm();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new T(a[0]);M.call(this,new N("Filter.and"),{filters:a})}else if(a instanceof M)M.call(this,a.H,a.args,a.U);else if(void 0===a)M.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(T,M);w("ee.Filter",T);
|
|
var Ym=!1,Xm=function(){Ym||(um(T,"Filter","Filter"),Ym=!0)},Zm={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};T.prototype.wc=function(){return O("Filter.not",this)};T.prototype.not=T.prototype.wc;var $m=function(a,b){var c=P($m,arguments);return O("Filter.equals",c.name,c.value)};T.eq=$m;var an=function(a,b){var c=P(an,arguments);return $m(c.name,c.value).wc()};T.neq=an;
|
|
var bn=function(a,b){var c=P(bn,arguments);return O("Filter.lessThan",c.name,c.value)};T.lt=bn;var cn=function(a,b){var c=P(cn,arguments);return bn(c.name,c.value).wc()};T.gte=cn;var dn=function(a,b){var c=P(dn,arguments);return O("Filter.greaterThan",c.name,c.value)};T.gt=dn;var en=function(a,b){var c=P(en,arguments);return dn(c.name,c.value).wc()};T.lte=en;var fn=function(a){return O("Filter.and",Array.prototype.slice.call(arguments))};T.and=fn;var gn=function(a){return O("Filter.or",Array.prototype.slice.call(arguments))};
|
|
T.or=gn;var hn=function(a,b){var c=P(hn,arguments);c=O("DateRange",c.start,c.end);return nm("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};T.date=hn;var jn=function(a,b,c,d){var e=P(jn,arguments);return nm("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};T.inList=jn;var kn=function(a,b){return nm("Filter.intersects",{leftField:".all",rightValue:O("Feature",a),maxError:b})};T.bounds=kn;
|
|
T.prototype.name=function(){return"Filter"};var ln=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in Zm))throw Error("Unknown filtering operator: "+b);a=O("Filter."+Zm[b],a,c);return d?a.wc():a};T.metadata=ln;var V=function(a,b,c){Q.call(this,a,b,c);mn()};x(V,Q);w("ee.Collection",V);var nn=!1,mn=function(){nn||(um(V,"Collection","Collection"),um(V,"AggregateFeatureCollection","Collection","aggregate_"),nn=!0)};V.prototype.filter=function(a){a=P(V.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return am(this,O("Collection.filter",this,a))};V.prototype.filter=V.prototype.filter;
|
|
V.prototype.cf=function(a,b,c){var d=P(V.prototype.cf,arguments);return this.filter(ln(d.name,d.operator,d.value))};V.prototype.filterMetadata=V.prototype.cf;V.prototype.bh=function(a){return this.filter(kn(a))};V.prototype.filterBounds=V.prototype.bh;V.prototype.bf=function(a,b){var c=P(V.prototype.bf,arguments);return this.filter(hn(c.start,c.end))};V.prototype.filterDate=V.prototype.bf;
|
|
V.prototype.limit=function(a,b,c){var d=P(V.prototype.limit,arguments);return am(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 am(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 Q};
|
|
V.prototype.map=function(a,b){var c=this.elementType();return am(this,O("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.vh=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.vh;var W=function(a,b){if(!(this instanceof W))return $l(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)");on();if(a instanceof S||null===a)Q.call(this,new N("Feature"),{geometry:a,metadata:b||null});else if(a instanceof M)Q.call(this,a.H,a.args,a.U);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=wb(c);c["system:index"]=a.id}Q.call(this,new N("Feature"),{geometry:new S(a.geometry),metadata:c})}else Q.call(this,new N("Feature"),{geometry:new S(a),metadata:b||null})};x(W,Q);w("ee.Feature",W);var pn=!1,on=function(){pn||(um(W,"Feature","Feature"),pn=!0)};W.prototype.V=function(a){return W.M.V.call(this,a)};W.prototype.getInfo=W.prototype.V;
|
|
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 Dl=function(a){var b={},c=qn(a.element,a);c=rn(c,a,b);b.element=c;return b},El=function(a){var b={},c=a.element.map(function(d){d=qn(d,a);return rn(d,a,b)});b.element=c;return b},rn=function(a,b,c){var d={},e=!1,f=["maxDimension","width","height","scale"];lb(b,function(g,h){if(null!=g)switch(h){case "dimensions":h="string"===typeof g?g.split("x").map(Number):Array.isArray(g)?g:"number"===typeof g?[g]:[];if(1===h.length)d.maxDimension=h[0];else if(2===h.length)d.width=h[0],d.height=h[1];else throw Error("Invalid dimensions "+
|
|
g);break;case "dimensions_consumed":e=!0;break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(g instanceof Km)){h=g;if("string"===typeof g)try{h=JSON.parse(g)}catch(m){h=g.split(/\s*,\s*/).map(Number)}if(Array.isArray(h)){if(h.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");g=new Km(h,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=g;break;case "region":null!=
|
|
d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(g instanceof S)){h=g;if("string"===typeof g)try{h=JSON.parse(g)}catch(m){throw Error('Region string "'+g+'" is not valid GeoJSON.');}if(Array.isArray(h))g=new Rm(h,null,!1);else if(t(h))g=new S(h,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=g;break;case "scale":d.scale=Number(g);break;default:c[h]=g}});ub(d)||(d.input=a,a=f.some(function(g){return g in d})||e?nm("Image.clipToBoundsAndScale",
|
|
d):nm("Image.clip",d));return a},qn=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=sn(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=nm("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 Km([0,
|
|
0,e[0],e[1]],c,!1))}}else a=nm("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},sn=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Ta(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.");},un=function(a,b){var c={};b=tn(b,c);ub(b)||(b.image=a,a=nm("Image.visualize",
|
|
b));c.image=a;return c},tn=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};lb(a,function(e,f){Va(c,f)?d[f]=e:b[f]=e});return d},hl=function(a,b){b=Object.assign({},b);var c=function(e){var f={};["crs","crs_transform","dimensions","region"].forEach(function(g){g in e&&(f[g]=e[g])});null!=e.scale&&null==e.dimensions&&(f.scale=e.scale);return f},d=function(e){var f=e.id;if(void 0===f)throw Error("Each band dictionary must have an id.");f=a.select(f);
|
|
var g=c(b);e=c(e);e=c(Object.assign(g,e));f=qn(f,e);return f=rn(f,e,{})};"ZIPPED_GEO_TIFF_PER_BAND"===b.format&&b.bands&&b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,f){return O("Image.addBands",e,f,null,!0)},d.shift())):(d=c(b),a=qn(a,d),a=rn(a,d,{}));return a};var L=function(a){if(!(this instanceof L))return $l(L,arguments);if(a instanceof L)return a;vn();var b=arguments.length;if(0==b||1==b&&void 0===a)Q.call(this,new N("Image.mask"),{image:new L(0),mask:new L(0)});else if(1==b)if(dm(a))Q.call(this,new N("Image.constant"),{value:a});else if(em(a))Q.call(this,new N("Image.load"),{id:a});else{if(Array.isArray(a))return wn(Ra(a,function(d){return new L(d)}));if(a instanceof M)"Array"==a.name()?Q.call(this,new N("Image.constant"),{value:a}):Q.call(this,a.H,
|
|
a.args,a.U);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(em(b)&&dm(c))Q.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,Q);w("ee.Image",L);var xn=!1,vn=function(){xn||(um(L,"Image","Image"),xn=!0)};L.prototype.V=function(a){return L.M.V.call(this,a)};
|
|
L.prototype.getInfo=L.prototype.V;L.prototype.getMap=function(a,b){var c=this,d=P(L.prototype.getMap,arguments),e=un(this,d.visParams);if(d.callback){var f=d.callback;$k(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=$k(e),d.image=this,d};L.prototype.getMap=L.prototype.getMap;L.prototype.yb=function(a,b){var c=P(L.prototype.yb,arguments),d=c.params?wb(c.params):{};d.image=this;if(c.callback){var e=c.callback;il(d,function(f,g){f?e(jl(f)):e(null,g)})}else return jl(il(d))};
|
|
L.prototype.getDownloadURL=L.prototype.yb;L.prototype.Id=function(a,b){var c=P(L.prototype.yb,arguments),d=c.params?wb(c.params):{},e={},f=qn(this,d);f=rn(f,d,e);d=un(f,e);return c.callback?(dl(d,c.callback),null):dl(d)};L.prototype.getThumbId=L.prototype.Id;L.prototype.kf=function(a,b){var c=P(L.prototype.kf,arguments);if(c.callback)this.Id(c.params,function(d,e){var f="";if(void 0===e)try{f=gl(d)}catch(g){e=String(g.message)}c.callback(f,e)});else return gl(this.Id(c.params))};
|
|
L.prototype.getThumbURL=L.prototype.kf;var yn=function(a,b,c){var d=P(yn,arguments);return wn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};L.rgb=yn;var zn=function(a){return wn(Array.prototype.slice.call(arguments),null)};L.cat=zn;var wn=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||em(b[0])||dm(b[0])){for(var d=0;d<b.length;d++)if(!(em(b[d])||dm(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 nm("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 f=c.map,g;for(g in f)d.push(g),e[g]=new L(f[g])}var h=O("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new hm;c.encode=function(m){return h.encode(m)};c.Ed=function(m,p){return Bj(Ck(m,h),p)};c.aa=function(){return{name:"",args:Ra(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.Uh=function(a){var b=1!=arguments.length||em(arguments[0])?Array.from(arguments):arguments[0];return O("Image.rename",this,b)};L.prototype.rename=L.prototype.Uh;L.prototype.name=function(){return"Image"};var An=function(a){if(this instanceof An){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof An)return a}else return $l(An,arguments);Bn();if(Array.isArray(a))M.call(this,null,null),this.ad=a;else if(a instanceof M)M.call(this,a.H,a.args,a.U),this.ad=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(An,M);w("ee.List",An);var Cn=!1,Bn=function(){Cn||(um(An,"List","List"),Cn=!0)};
|
|
An.prototype.encode=function(a){return Array.isArray(this.ad)?Ra(this.ad,function(b){return a(b)}):An.M.encode.call(this,a)};An.prototype.ma=function(a){return Array.isArray(this.ad)?xj(Ck(a,this.ad)):An.M.ma.call(this,a)};An.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return $l(Y,arguments);if(a instanceof Y)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");Dn();a instanceof S&&(a=new W(a));a instanceof W&&(a=[a]);if(em(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:Ra(a,function(d){return new W(d)})});else if(a instanceof An)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.H,a.args,a.U);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(Y,V);w("ee.FeatureCollection",Y);var En=!1,Dn=function(){En||(um(Y,"FeatureCollection","FeatureCollection"),En=!0)};
|
|
Y.prototype.getMap=function(a,b){var c=P(Y.prototype.getMap,arguments),d=nm("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(void 0,c.callback);else return d.getMap()};Y.prototype.getMap=Y.prototype.getMap;Y.prototype.V=function(a){return Y.M.V.call(this,a)};Y.prototype.getInfo=Y.prototype.V;
|
|
Y.prototype.yb=function(a,b,c,d){var e=P(Y.prototype.yb,arguments),f={table:this};e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);e.selectors&&(f.selectors=e.selectors);if(e.callback)kl(f,function(g,h){g?e.callback(ll(g)):e.callback(null,h)});else return ll(kl(f))};Y.prototype.getDownloadURL=Y.prototype.yb;
|
|
Y.prototype.select=function(a,b,c){if(em(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(f){return f.select(d)})}var e=P(Y.prototype.select,arguments);return this.map(function(f){return f.select(e)})};Y.prototype.select=Y.prototype.select;Y.prototype.name=function(){return"FeatureCollection"};Y.prototype.elementType=function(){return W};var Z=function(a){if(!(this instanceof Z))return $l(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Fn();a instanceof L&&(a=[a]);if(em(a))V.call(this,new N("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new N("ImageCollection.fromImages"),{images:Ra(a,function(b){return new L(b)})});else if(a instanceof An)V.call(this,new N("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof M)V.call(this,a.H,a.args,a.U);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,V);w("ee.ImageCollection",Z);var Gn=!1,Fn=function(){Gn||(um(Z,"ImageCollection","ImageCollection"),um(Z,"reduce","ImageCollection"),Gn=!0)};Z.prototype.hf=function(a,b){var c=P(Z.prototype.hf,arguments);return Hn(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.hf;
|
|
Z.prototype.mf=function(a,b){var c=P(Z.prototype.mf,arguments);return Hn(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.mf;
|
|
var Hn=function(a,b,c,d){var e={};a=a.map(function(h){h=qn(h,b.params);return rn(h,b.params,e)});var f={},g=tn(e,f);f.imageCollection=a.map(function(h){g.image=h;return nm("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!Sa(c,function(h){return h.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=dl;switch(d){case "video":c=el;break;case "filmstrip":c=fl}if(b.callback)c(f,function(h,m){var p="";
|
|
if(void 0===m)try{p=gl(h)}catch(v){m=String(v.message)}b.callback(p,m)});else return gl(c(f))};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.V=function(a){return Z.M.V.call(this,a)};Z.prototype.getInfo=Z.prototype.V;
|
|
Z.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Z.prototype.select=Z.prototype.select;Z.prototype.first=function(){return new L(O("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return L};var In=function(a){this.Re=a;this.id=null},Kn=function(a){var b={element:Jn(a)};Object.assign(b,a);b=mb(b,function(c){return null!=c});return new In(b)};
|
|
In.prototype.start=function(a,b){var c=this;z(this.Re,"Task config must be specified for tasks to be started.");if(a){var d=function(){Ka(c.id);Cl(c.id,c.Re,function(e,f){f?b(f):a()})};this.id?d():ml(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||ml(1)[0],Ka(this.id,"Failed to obtain task ID."),Cl(this.id,this.Re)};In.prototype.start=In.prototype.start;var Ln=function(a,b,c,d,e,f,g,h,m,p,v){var B=P(Ln,arguments);B=Mn(B,"ASSET","EXPORT_IMAGE");return Kn(B)};
|
|
w("module$contents$ee$batch_Export.image.toAsset",Ln);var Nn=function(a,b,c,d,e,f,g,h,m,p,v,B,D,R,X){var U=P(Nn,arguments);U=Mn(U,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Kn(U)};w("module$contents$ee$batch_Export.image.toCloudStorage",Nn);var On=function(a,b,c,d,e,f,g,h,m,p,v,B,D,R,X){var U=P(On,arguments);U=Mn(U,"DRIVE","EXPORT_IMAGE");return Kn(U)};w("module$contents$ee$batch_Export.image.toDrive",On);
|
|
var Pn=function(a,b,c,d,e,f,g,h,m,p,v,B,D){var R=P(Pn,arguments);R=Mn(R,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Kn(R)};w("module$contents$ee$batch_Export.map.toCloudStorage",Pn);var Qn=function(a,b,c,d,e,f,g){var h=P(Qn,arguments);h=Mn(h,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Kn(h)};w("module$contents$ee$batch_Export.table.toCloudStorage",Qn);var Rn=function(a,b,c,d,e,f,g){var h=P(Rn,arguments);h.type="EXPORT_FEATURES";h=Mn(h,"DRIVE","EXPORT_FEATURES");return Kn(h)};
|
|
w("module$contents$ee$batch_Export.table.toDrive",Rn);var Sn=function(a,b,c,d){var e=P(Sn,arguments);e=Mn(e,"ASSET","EXPORT_FEATURES");return Kn(e)};w("module$contents$ee$batch_Export.table.toAsset",Sn);var Tn=function(a,b,c,d){var e=P(Tn,arguments);e=Mn(e,"DMS","EXPORT_FEATURES");return Kn(e)};w("module$contents$ee$batch_Export.table.toDmsLayer",Tn);var Un=function(a,b,c,d,e,f,g,h,m,p,v,B){var D=P(Un,arguments);D=Mn(D,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Kn(D)};
|
|
w("module$contents$ee$batch_Export.video.toCloudStorage",Un);var Vn=function(a,b,c,d,e,f,g,h,m,p,v,B){var D=P(Vn,arguments);D=Mn(D,"DRIVE","EXPORT_VIDEO");return Kn(D)};w("module$contents$ee$batch_Export.video.toDrive",Vn);var Wn=function(a,b,c,d,e,f,g,h,m,p,v,B,D,R,X,U,Ib,Xp,Yp,Zp){var Pi=P(Wn,arguments);Pi=Mn(Pi,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Kn(Pi)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",Wn);
|
|
var Xn=function(a,b,c){var d=P(Xn,arguments);d=Mn(d,"ASSET","EXPORT_CLASSIFIER");return Kn(d)};w("module$contents$ee$batch_Export.classifier.toAsset",Xn);
|
|
var Jn=function(a){var b=function(d){return d in a},c=Yn.find(b);z(1===Ua(Yn,b),'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof L||b instanceof Y||b instanceof Z||b instanceof Q||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},Mn=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=Zn(e,a),delete e.formatOptions,Object.assign(e,a));e=$n(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
|
|
delete e.crsTransform);break;case "EXPORT_TILES":b=$n(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=$n(e,b);break;case "EXPORT_VIDEO":e=ao(e);e=$n(e,b);null!=e.crsTransform&&
|
|
(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=ao(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=$n(e,b);break;case "EXPORT_CLASSIFIER":e=b=$n(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.ge();else if("string"===typeof b)try{b=Ma(JSON.parse(b))}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");
|
|
}if(!(t(b)&&"type"in b))try{new Om(b)}catch(f){try{new Rm(b)}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}}b=JSON.stringify(b);d.region=b}return e},$n=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=
|
|
a.assetId||"";break;default:b=sa(a.folder);if(!Va(["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},bo={GEO_TIFF:["cloudOptimized","fileDimensions","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},co={GEO_TIFF:"tiff",
|
|
TF_RECORD_IMAGE:"tfrecord"},ao=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},Zn=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=co[b];for(var d=bo[b],e={},f=n(Object.entries(c)),g=f.next();!g.done;g=f.next()){var h=n(g.value);g=h.next().value;h=h.next().value;if(!Va(d,g))throw Error('"'+g+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+g[0].toUpperCase()+g.substring(1)]=Array.isArray(h)?h.join():h}return e},Yn=["image","collection","classifier"];var eo=function(a){if(!(this instanceof eo))return $l(eo,arguments);if(a instanceof eo)return a;fo();if("number"===typeof a)M.call(this,null,null),this.cd=a;else if(a instanceof M)M.call(this,a.H,a.args,a.U),this.cd=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(eo,M);w("ee.Number",eo);var go=!1,fo=function(){go||(um(eo,"Number","Number"),go=!0)};eo.prototype.encode=function(a){return"number"===typeof this.cd?this.cd:eo.M.encode.call(this,a)};
|
|
eo.prototype.ma=function(a){return"number"===typeof this.cd?xj(Ck(a,this.cd)):eo.M.ma.call(this,a)};eo.prototype.name=function(){return"Number"};var ho=function(a){if(!(this instanceof ho))return $l(ho,arguments);if(a instanceof ho)return a;io();if("string"===typeof a)M.call(this,null,null),this.md=a;else if(a instanceof M)this.md=null,a.H&&"String"==a.H.aa().returns?M.call(this,a.H,a.args,a.U):M.call(this,new N("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(ho,M);w("ee.String",ho);var jo=!1,io=function(){jo||(um(ho,"String","String"),jo=!0)};
|
|
ho.prototype.encode=function(a){return"string"===typeof this.md?this.md:ho.M.encode.call(this,a)};ho.prototype.ma=function(a){return"string"===typeof this.md?xj(Ck(a,this.md)):ho.M.ma.call(this,a)};ho.prototype.name=function(){return"String"};var ko=function(a,b){if(!(this instanceof ko))return $l(ko,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(lo(g in bm?bm[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Cb=mo(a,c,b);this.zg=b.apply(null,c)};x(ko,hm);w("ee.CustomFunction",ko);ko.prototype.encode=function(a){return{type:"Function",argumentNames:Ra(this.Cb.args,function(b){return b.name}),body:a(this.zg)}};
|
|
ko.prototype.ma=function(a){return Cj(this.Cb.args.map(function(b){return b.name}),Ck(a,this.zg))};ko.prototype.Ed=function(a,b){return Bj(Ck(a,this),b)};ko.prototype.aa=function(){return this.Cb};
|
|
var lo=function(a,b){a=a||Object;if(!(a.prototype instanceof M))if(a&&a!=Object)if(a==String)a=ho;else if(a==Number)a=eo;else if(a==Array)a=r.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=M;var c=function(d){this.args=this.H=null;this.U=d};c.prototype=a.prototype;return new c(b)},no=function(a,b){b={name:"",returns:"Object",args:Ra(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 ko(b,a)},mo=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].U&&d.push(e);if(0===d.length)return a;c="_MAPPING_VAR_"+function(h){var m=function(v){return v.map(p).reduce(function(B,D){return B+D},0)},p=function(v){return v.ab?1:v.Ia?m(v.Ia.values):v.Ja?m(Object.values(v.Ja.values)):v.Aa?m(Object.values(v.Aa.arguments)):0};return m(Object.values(h.values))}(wk(c.apply(null,b),"<unbound>"))+"_";for(e=0;e<
|
|
d.length;e++){var f=d[e],g=c+e;b[f].U=g;a.args[f].name=g}return a};var oo=function(a,b){if(!(this instanceof oo))return $l(oo,arguments);if(a instanceof oo)return a;po();var c=P(oo,arguments);a=c.date;c=c.tz;var d=new N("Date"),e={},f=null;if(em(a)){if(e.value=a,c)if(em(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(dm(a))e.value=a;else if(ua(a))e.value=Math.floor(a.getTime());else if(a instanceof M)a.H&&"Date"==a.H.aa().returns?(d=a.H,e=a.args,f=a.U):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);M.call(this,d,e,f)};x(oo,M);w("ee.Date",oo);var qo=!1,po=function(){qo||(um(oo,"Date","Date"),qo=!0)};oo.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var so=function(a){return ro(JSON.parse(a))};w("ee.Deserializer.fromJSON",so);var ro=function(a){if("result"in a&&"values"in a)return to(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],f=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=uo(f,b)}a=a.value}return uo(a,b)};w("ee.Deserializer.decode",ro);
|
|
var uo=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Ra(a,function(e){return uo(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 lo(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
a);return new oo(a/1E3);case "Bytes":return vo(new Ie({wb:a}),a);case "Invocation":return c="functionName"in a?mm(a.functionName):uo(a["function"],b),a=nb(a.arguments,function(e){return uo(e,b)}),wo(c,a);case "Dictionary":return nb(a.value,function(e){return uo(e,b)});case "Function":var d=uo(a.body,b);a={name:"",args:Ra(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new ko(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);}},vo=function(a,b){var c=function(){};q(c,vj);c.prototype.encode=function(){return b};c.prototype.ma=function(){return a};return new c},wo=function(a,b){if(a instanceof hm)return a.apply(b);if(a instanceof M){var c=function(){return hm.apply(this,arguments)||this};q(c,hm);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Ed=function(d,e){return Bj(Ck(d,a),
|
|
e)};return new M(new c,b)}throw Error("Invalid function value");},xo=function(a){return to(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",xo);
|
|
var to=function(a){var b=td(We,a),c={},d=function(g,h){if(!(g in c)){if(!(g in b.values))throw Error("Cannot find "+h+" "+g);c[g]=e(b.values[g])}return c[g]},e=function(g){if(null!==g.nb)g=g.nb;else if(null!==g.Ia)g=g.Ia.values.map(e);else if(null!==g.Ja)g=nb(g.Ja.values,e);else if(null!==g.Rb)g=lo(Object,g.Rb);else if(null!==g.ab)g=f(g.ab);else if(null!==g.Aa){var h=g.Aa;g=h.bb?d(h.bb,"function"):mm(h.functionName);h=nb(h.arguments,e);g=wo(g,h)}else g=null!==g.wb?vo(new Ie({wb:g.wb}),g.wb):null!==
|
|
g.Zb?vo(new Ie({Zb:g.Zb}),g.Zb):null!==g.Ua?d(g.Ua,"reference"):null;return g},f=function(g){var h=d(g.body,"function body");g={args:g.nc.map(function(m){return{name:m,type:"Object",optional:!1}}),name:"",returns:"Object"};return new ko(g,function(){return h})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",to);var yo=function(a){if(!(this instanceof yo))return $l(yo,arguments);if(a instanceof yo)return a;zo();fm(a)?(M.call(this,null,null),this.Pc=a):(a instanceof M&&a.H&&"Dictionary"==a.H.aa().returns?M.call(this,a.H,a.args,a.U):M.call(this,new N("Dictionary"),{input:a},null),this.Pc=null)};x(yo,M);w("ee.Dictionary",yo);var Ao=!1,zo=function(){Ao||(um(yo,"Dictionary","Dictionary"),Ao=!0)};yo.prototype.encode=function(a){return null!==this.Pc?a(this.Pc):yo.M.encode.call(this,a)};
|
|
yo.prototype.ma=function(a){return null!==this.Pc?xj(Ck(a,this.Pc)):yo.M.ma.call(this,a)};yo.prototype.name=function(){return"Dictionary"};var Bo={};w("ee.Terrain",Bo);Bo.tf=!1;Bo.ak=function(){Bo.tf||(um(Bo,"Terrain","Terrain"),Bo.tf=!0)};Bo.reset=function(){vm(Bo);Bo.tf=!1};var Ho=function(a,b,c,d,e,f){if("ready"!=Co||a||b){var g=null!=c;if(d)if(g)Do.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Co&&g)Eo.push(c);else if(Co="loading",Mi(a,b,e,f),g)Eo.push(c),qm(Fo,Go);else try{qm(),Fo()}catch(h){throw Go(h),h;}}else c&&c()};w("ee.initialize",Ho);
|
|
var Ko=function(){Co="not_ready";kj=jj=Xi=null;ij=!1;om=null;pm={};vm(oo);qo=!1;vm(yo);Ao=!1;vm(Q);Cm=!1;vm(L);xn=!1;vm(W);pn=!1;vm(V);nn=!1;vm(Z);Gn=!1;vm(Y);En=!1;vm(T);Ym=!1;vm(S);Fm=!1;vm(An);Cn=!1;vm(eo);go=!1;vm(ho);jo=!1;Bo.reset();for(var a=r.ee,b=0;b<Io.length;b++){var c=Io[b];vm(a[c]);delete a[c]}Io=[];bm=a;a=Jo;for(var d in a)delete a[d]};w("ee.reset",Ko);var Lo={Fk:"not_ready",LOADING:"loading",Gk:"ready"};w("ee.InitState",Lo);w("ee.InitState.NOT_READY","not_ready");
|
|
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var Co="not_ready",Eo=[],Do=[];w("ee.TILE_SIZE",256);var Io=[],Jo={};w("ee.Algorithms",Jo);var Mo=function(a,b){"string"===typeof a&&(a=new N(a));return hm.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",Mo);var No=function(a,b){"string"===typeof a&&(a=new N(a));return a.apply(b)};w("ee.apply",No);
|
|
var Fo=function(){if("loading"==Co){try{po();zo();Bm();vn();on();mn();Fn();Dn();Xm();Dm();Bn();fo();io();Bo.ak();var a=rm(),b={},c={},d;for(d in a){b[-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d]=!0;var e=a[d].returns.replace(/<.*>/,"");c[e]=!0}var f=r.ee,g;for(g in b)g in c&&!(g in f)&&(f[g]=Oo(g),Io.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,pm[g]=!0):f[g].signature={});bm=f;Po()}catch(h){Go(h);return}Co="ready";for(Do=[];0<Eo.length;)Eo.shift()()}},Go=function(a){if("loading"==
|
|
Co)for(Co="not_ready",Eo=[];0<Do.length;)Do.shift()(a)},Po=function(){var a=sm();qb(a).sort().forEach(function(b){var c=a[b],d=c.aa();if(!d.hidden){b=b.split(".");var e=Jo;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=ab(b,1)}f=function(g){return lm(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=u(c.toString,c);e[b[0]]=f}})},Oo=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),f=1==e.length;if(f&&e[0]instanceof
|
|
d)return e[0];if(!(this instanceof d))return $l(d,e);d=tm(a);var g=!(e[0]instanceof M),h=!1;d&&(f?g?h=!0:e[0].H&&e[0].H.aa().returns==d.aa().returns||(h=!0):h=!0);if(h)e=gm(e,d.aa())?e[0]:jm(d,e),M.call(this,d,km(d,e));else{if(!f)throw Error("Too many arguments for ee."+a+"(): "+e);if(g)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];M.call(this,e.H,e.args,e.U)}};x(b,M);b.prototype.name=function(){return a};um(b,a,a);return b};
|
|
im=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 Q)return a;if(a instanceof S)return new W(a);if(a instanceof M)return new Q(a.H,a.args,a.U);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?O("Collection.geometry",a):new S(a);case "FeatureCollection":case "Collection":return a instanceof V?
|
|
a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new T(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 no(a,c)}if(a instanceof vj)return a;throw Error("Argument is not a function: "+a);case "String":return em(a)||a instanceof ho||a instanceof M?new ho(a):a;case "Dictionary":return fm(a)?a:new yo(a);case "List":return new An(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new eo(a);
|
|
default:if(b in c){d=tm(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 Qo=function(a,b,c){kd.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.fh=new Xc;this.eh=new Xc};q(Qo,kd);Qo.prototype.getTile=function(a,b){var c=ld(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.Db,this.token].join("/");this.Fb.push(c);this.Db+=1;var d=Ug("DIV");Ro(this,b,a,c,d);So(this);return d};
|
|
var Ro=function(a,b,c,d,e){var f=xi(vi);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=u(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.fh.set(c,g),this.eh.set(c,e),Xa(this.Fb,d),So(this);else throw this.fg.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},So=function(a){a.dispatchEvent(new md(a.Fb.length))};Qo.prototype.I=function(){this.eh=this.fh=null;kd.prototype.I.call(this)};
|
|
w("ee.FloatTileOverlay",Qo);var To=function(){this.ae=new Map};To.prototype.clear=function(){this.ae.clear()};var Uo=function(a,b){a.ae.has(b)||a.ae.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.ae.get(b)};var Vo=function(a){Da.call(this);this.Xb=a;this.J={}};x(Vo,Da);var Wo=[];Vo.prototype.cb=function(a,b,c,d){Array.isArray(b)||(b&&(Wo[0]=b.toString()),b=Wo);for(var e=0;e<b.length;e++){var f=Ac(a,b[e],c||this.handleEvent,d||!1,this.Xb||this);if(!f)break;this.J[f.key]=f}return this};Vo.prototype.bd=function(a,b,c,d){return Xo(this,a,b,c,d)};
|
|
var Xo=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)Xo(a,b,c[g],d,e,f);else{b=zc(b,c,d||a.handleEvent,e,f||a.Xb||a);if(!b)return a;a.J[b.key]=b}return a};Vo.prototype.ke=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.ke(a,b[f],c,d,e);else c=c||this.handleEvent,d=t(d)?!!d.capture:!!d,e=e||this.Xb||this,c=Bc(c),d=!!d,b=pc(a)?a.Sc(b,c,d,e):a?(a=Dc(a))?a.Sc(b,c,d,e):null:null,b&&(Ic(b),delete this.J[b.key])};
|
|
Vo.prototype.jd=function(){lb(this.J,function(a,b){this.J.hasOwnProperty(b)&&Ic(a)},this);this.J={}};Vo.prototype.I=function(){Vo.M.I.call(this);this.jd()};Vo.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Zo=function(a,b){void 0!==a.name?(this.name=a.name,this.code=tb[a.name]):(this.code=a=Ja(a.code),this.name=Yo(a));Ea.call(this,Wb("%s %s",this.name,b))};x(Zo,Ea);
|
|
var Yo=function(a){var b=sb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},$o={},tb=($o.AbortError=3,$o.EncodingError=5,$o.InvalidModificationError=9,$o.InvalidStateError=7,$o.NotFoundError=1,$o.NotReadableError=4,$o.NoModificationAllowedError=6,$o.PathExistsError=12,$o.QuotaExceededError=10,$o.SecurityError=2,$o.SyntaxError=8,$o.TypeMismatchError=11,$o);var ap=function(a,b){y.call(this,a.type,b);this.Ma=a};x(ap,y);var bp=function(){A.call(this);this.ba=new FileReader;this.ba.onloadstart=u(this.sc,this);this.ba.onprogress=u(this.sc,this);this.ba.onload=u(this.sc,this);this.ba.onabort=u(this.sc,this);this.ba.onerror=u(this.sc,this);this.ba.onloadend=u(this.sc,this)};x(bp,A);k=bp.prototype;k.abort=function(){try{this.ba.abort()}catch(a){throw new Zo(a,"aborting read");}};k.zb=function(){return this.ba.readyState};k.getError=function(){return this.ba.error&&new Zo(this.ba.error,"reading file")};
|
|
k.sc=function(a){this.dispatchEvent(new ap(a,this))};k.I=function(){bp.M.I.call(this);delete this.ba};k.readAsBinaryString=function(a){this.ba.readAsBinaryString(a)};k.readAsArrayBuffer=function(a){this.ba.readAsArrayBuffer(a)};k.readAsText=function(a,b){this.ba.readAsText(a,b)};var cp=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 dp=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.$d=new To;this.Eb=new Xc;this.Db=0;this.eg=a;this.qb=new Vo(this);this.projection=null;this.radius=0;this.alt=null};q(dp,A);k=dp.prototype;k.Je=function(a){return Ac(this,"tile-load",a)};k.Pf=function(a){Ic(a)};
|
|
k.Tc=function(){return ep(this,"throttled")+ep(this,"loading")+ep(this,"new")};k.setOpacity=function(a){this.opacity=a;this.Eb.forEach(function(b){cp(b.ua,this.opacity)},this)};k.getStats=function(){return this.$d};
|
|
k.getTile=function(a,b,c){var d=1<<b;if(b<this.minZoom||0>a.y||a.y>=d)return c.createElement("div");var e=a.x%d;0>e&&(e+=d);d=new google.maps.Point(e,a.y);a=[[a.x,a.y,b,this.Db++].join("-"),this.eg.kh()].join("-");b=this.Mg(d,b,c,a);b.tileSize=this.tileSize;cp(b.ua,this.opacity);this.Eb.set(a,b);fp(this,b);this.dispatchEvent(new gp(this.Tc()));this.eg.yh(b,(new Date).getTime()/1E3);return b.ua};k.releaseTile=function(a){var b=this.Eb.get(a.id);this.Eb.remove(a.id);b&&(b.abort(),Ca(b))};
|
|
var fp=function(a,b){a.qb.cb(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.fk,d=(new Date).getTime();Uo(this.$d,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new hp(this.Tc()));break;case "throttled":Uo(this.$d,b.zoom).throttleCount++;this.dispatchEvent(new ip(b.Ra));break;case "failed":Uo(this.$d,b.zoom).errorCount++;this.dispatchEvent(new jp(b.Ra,b.Tj));break;case "aborted":this.dispatchEvent(new kp(this.Tc()))}})};
|
|
dp.prototype.I=function(){A.prototype.I.call(this);this.Eb.forEach(Ca);this.Eb.clear();this.Eb=null;Ca(this.qb);this.eg=this.qb=null};var ep=function(a,b){return Ua(a.Eb.W(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",dp);dp.prototype.removeTileCallback=dp.prototype.Pf;dp.prototype.addTileCallback=dp.prototype.Je;var hp=function(){y.call(this,"tile-load")};q(hp,y);var gp=function(){y.call(this,"tile-start")};q(gp,y);var ip=function(){y.call(this,"tile-throttle")};q(ip,y);
|
|
var jp=function(a,b){y.call(this,"tile-fail");this.errorMessage=b};q(jp,y);var kp=function(){y.call(this,"tile-abort")};q(kp,y);var lp=function(a,b,c,d){A.call(this);this.rc=a;this.zoom=b;this.ua=c.createElement("div");this.ua.id=d;this.jk=5;this.Wd=function(){};this.be="new";this.Xh=0;this.vf=!1};q(lp,A);
|
|
var np=function(a){if(!a.vf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");mp(a,"loading");a.fk=(new Date).getTime();a.gb=new yi;a.gb.Bc="blob";a.gb.cb("complete",function(){var b=Ji(a.gb),c=a.gb.getStatus();429==c&&mp(a,"throttled");if(ri(c)){var d={};lb(Ki(a.gb),function(f,g){d[g.toLowerCase()]=f});a.yk=d;a.ci=b;a.Rc()}else if(b){var e=new bp;e.cb("loadend",function(){a.ld(e.ba.result)},void 0);e.readAsText(b)}else a.ld("Failed to load tile.")},
|
|
!1);a.gb.bd("ready",Aa(Ca,a.gb));a.Ra&&a.Ra.endsWith("&profiling=1")&&(a.Ra=a.Ra.replace("&profiling=1",""),a.gb.headers.set("X-Earth-Engine-Computation-Profiling","1"));a.gb.send(a.Ra,"GET")};k=lp.prototype;k.Rc=function(){this.Wd(this);mp(this,"loaded")};k.Lc=function(){Ca(this.gb)};
|
|
k.ld=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.Xh>=this.jk?(this.Tj=b(a),mp(this,"failed")):(this.Lc(),setTimeout(u(function(){this.Za||(this.vf=!0,np(this),this.vf=!1)},this),1E3*Math.pow(2,this.Xh++)))};k.abort=function(){this.Lc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&mp(this,this.be in op?"removed":"aborted")};k.getStatus=function(){return this.be};var mp=function(a,b){a.be=b;a.dispatchEvent("status-changed")};
|
|
lp.prototype.I=function(){A.prototype.I.call(this);this.Lc();this.ua.remove();this.Wd=null};var op={aborted:!0,failed:!0,loaded:!0,removed:!0};var pp=function(){Da.call(this)};q(pp,Da);var qp=function(a,b){dp.call(this,a,b);this.Bg=new Xc;this.Xg=new Xc};q(qp,dp);qp.prototype.Mg=function(a,b,c,d){var e=new rp(a,b,c,d);this.qb.cb(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Bg.set(a,new Float32Array(e.xd)),this.Xg.set(a,e.ua))});return e};qp.prototype.I=function(){dp.prototype.I.call(this);this.Xg=this.Bg=null};w("ee.layers.BinaryOverlay",qp);var rp=function(a,b,c,d){lp.call(this,a,b,c,d)};q(rp,lp);
|
|
rp.prototype.Rc=function(){var a=new bp;a.cb("loadend",function(){this.xd=a.ba.result;lp.prototype.Rc.call(this)},void 0,this);a.readAsArrayBuffer(this.ci)};var sp=function(a){A.call(this);this.Xc={};this.Wc={};this.Xb=new Vo(this);this.Z=a;this.Pe=!1};x(sp,A);var tp=[bc&&!lc("11")?"readystatechange":"load","abort","error"],up=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Pe=!1,a.Xc[b]={src:c,Lg:null}},vp=function(a,b){delete a.Xc[b];var c=a.Wc[b];c&&(delete a.Wc[b],a.Xb.ke(c,tp,a.Jh))};
|
|
sp.prototype.start=function(){var a=this.Xc;qb(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Za)){if(this.Z){var d=this.Z;d=(d?new Zg(Yg(d)):Fa||(Fa=new Zg)).Rj("IMG")}else d=new Image;c.Lg&&(d.crossOrigin=c.Lg);this.Xb.cb(d,tp,this.Jh);this.Wc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
sp.prototype.Jh=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));vp(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Za&&ub(this.Wc)&&ub(this.Xc)&&!this.Pe&&(this.Pe=!0,this.dispatchEvent("complete"))}};sp.prototype.I=function(){delete this.Xc;delete this.Wc;Ca(this.Xb);sp.M.I.call(this)};var wp=function(a,b){dp.call(this,a,b)};q(wp,dp);wp.prototype.Mg=function(a,b,c,d){return new xp(a,b,c,d)};w("ee.layers.ImageOverlay",wp);var xp=function(a,b,c,d){lp.call(this,a,b,c,d);this.Wd=yp;this.qh=this.ga=this.Nd=null;this.dd=""};q(xp,lp);
|
|
xp.prototype.Rc=function(){try{var a=Tb(this.ci);this.dd=Rb(a);var b="about:invalid#zClosurez"!==this.dd?this.dd:this.Ra}catch(c){b=this.Ra}this.ga=new sp;up(this.ga,this.ua.id+"-image",b);this.qh=zc(this.ga,zp,function(c){"load"==c.type?(this.Nd=c.target,lp.prototype.Rc.call(this)):this.ld()},void 0,this);this.ga.start()};xp.prototype.Lc=function(){lp.prototype.Lc.call(this);this.ga&&(Ic(this.qh),Ca(this.ga))};xp.prototype.I=function(){lp.prototype.I.call(this);this.dd&&URL.revokeObjectURL(this.dd)};
|
|
var yp=function(a){a.ua.appendChild(a.Nd)},zp=["load","abort","error"];var Ap=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 Bp=function(a,b,c,d){Da.call(this);this.Ag=a;this.dc=b;this.cg=d||"";this.Sd=c};q(Bp,pp);Bp.prototype.yh=function(a){if(a.zoom<=this.Sd)a.Ra=this.Jd(a.rc,a.zoom);else{var b=a.zoom-this.Sd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.rc.x/c),Math.floor(a.rc.y/c));a.Ra=this.Jd(c,a.zoom-b);a.Wd=Aa(Cp,this.Sd)}var d=u(a.ld,a);a.ld=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?mp(a,"loaded"):d(e)},a);np(a)};
|
|
Bp.prototype.kh=function(){return[this.Ag,this.dc,this.Sd,this.cg].join("-")};Bp.prototype.Jd=function(a,b){a=Ap("https://storage.googleapis.com",this.Ag,this.dc,String(b),String(a.x),String(a.y));this.cg&&(a+=this.cg);return a};
|
|
var Cp=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.ua.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.ua.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Nd,c/a*(b.rc.x%a),c/a*(b.rc.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",Bp);var Dp=function(){this.Oa=[];this.Xa=[]};k=Dp.prototype;k.enqueue=function(a){this.Xa.push(a)};k.Oc=function(){0===this.Oa.length&&(this.Oa=this.Xa,this.Oa.reverse(),this.Xa=[]);return this.Oa.pop()};k.S=function(){return this.Oa.length+this.Xa.length};k.isEmpty=function(){return 0===this.Oa.length&&0===this.Xa.length};k.clear=function(){this.Oa=[];this.Xa=[]};k.contains=function(a){return Va(this.Oa,a)||Va(this.Xa,a)};
|
|
k.remove=function(a){var b=this.Oa;var c=Oa(b,a);0<=c?(Ya(b,c),b=!0):b=!1;return b||Xa(this.Xa,a)};k.W=function(){for(var a=[],b=this.Oa.length-1;0<=b;--b)a.push(this.Oa[b]);var c=this.Xa.length;for(b=0;b<c;++b)a.push(this.Xa[b]);return a};var Ep=function(a,b){Da.call(this);this.Fh=a||0;this.Rd=b||10;if(this.Fh>this.Rd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.$a=new Dp;this.Ab=new fd;this.delay=0;this.wf=null;this.sd()};x(Ep,Da);Ep.prototype.Uc=function(){var a=Date.now();if(!(null!=this.wf&&a-this.wf<this.delay)){for(var b;0<this.$a.S()&&(b=this.$a.Oc(),!this.Ff(b));)this.sd();!b&&this.S()<this.Rd&&(b=this.Se());b&&(this.wf=a,this.Ab.add(b));return b}};
|
|
var Fp=function(a,b){return a.Ab.remove(b)?(a.Ie(b),!0):!1};k=Ep.prototype;k.Ie=function(a){this.Ab.remove(a);this.Ff(a)&&this.S()<this.Rd?this.$a.enqueue(a):this.Bd(a)};k.sd=function(){for(var a=this.$a;this.S()<this.Fh;)a.enqueue(this.Se());for(;this.S()>this.Rd&&0<this.$a.S();)this.Bd(a.Oc())};k.Se=function(){return{}};k.Bd=function(a){if("function"==typeof a.Ya)a.Ya();else for(var b in a)a[b]=null};k.Ff=function(a){return"function"==typeof a.Oj?a.Oj():!0};
|
|
k.contains=function(a){return this.$a.contains(a)||this.Ab.contains(a)};k.S=function(){return this.$a.S()+this.Ab.S()};k.isEmpty=function(){return this.$a.isEmpty()&&this.Ab.isEmpty()};k.I=function(){Ep.M.I.call(this);if(0<this.Ab.S())throw Error("[goog.structs.Pool] Objects not released");delete this.Ab;for(var a=this.$a;!a.isEmpty();)this.Bd(a.Oc());delete this.$a};var Gp=function(a,b){this.wh=a;this.me=b};Gp.prototype.getKey=function(){return this.wh};Gp.prototype.clone=function(){return new Gp(this.wh,this.me)};var Hp=function(a){this.Ca=[];if(a)a:{if(a instanceof Hp){var b=a.Pa();a=a.W();if(0>=this.S()){for(var c=this.Ca,d=0;d<b.length;d++)c.push(new Gp(b[d],a[d]));break a}}else b=qb(a),a=pb(a);for(d=0;d<b.length;d++)Ip(this,b[d],a[d])}},Ip=function(a,b,c){var d=a.Ca;d.push(new Gp(b,c));b=d.length-1;a=a.Ca;for(c=a[b];0<b;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};k=Hp.prototype;
|
|
k.remove=function(){var a=this.Ca,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Wa(a);else{a[0]=a.pop();a=0;b=this.Ca;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,g=2*a+2;f=g<d&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>e.getKey())break;b[a]=b[f];a=f}b[a]=e}return c.me}};k.W=function(){for(var a=this.Ca,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].me);return b};k.Pa=function(){for(var a=this.Ca,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
k.Mc=function(a){return Sa(this.Ca,function(b){return b.me==a})};k.ob=function(a){return Sa(this.Ca,function(b){return b.getKey()==a})};k.clone=function(){return new Hp(this)};k.S=function(){return this.Ca.length};k.isEmpty=function(){return 0===this.Ca.length};k.clear=function(){Wa(this.Ca)};var Jp=function(){Hp.call(this)};x(Jp,Hp);Jp.prototype.enqueue=function(a,b){Ip(this,a,b)};Jp.prototype.Oc=function(){return this.remove()};var Kp=function(a,b){this.Vg=void 0;this.Yd=new Jp;Ep.call(this,a,b)};x(Kp,Ep);k=Kp.prototype;k.Uc=function(a,b){if(!a)return(a=Kp.M.Uc.call(this))&&this.delay&&(this.Vg=r.setTimeout(u(this.Ld,this),this.delay)),a;this.Yd.enqueue(void 0!==b?b:100,a);this.Ld()};k.Ld=function(){for(var a=this.Yd;0<a.S();){var b=this.Uc();if(b)a.Oc().apply(this,[b]);else break}};k.Ie=function(a){Kp.M.Ie.call(this,a);this.Ld()};k.sd=function(){Kp.M.sd.call(this);this.Ld()};
|
|
k.I=function(){Kp.M.I.call(this);r.clearTimeout(this.Vg);this.Yd.clear();this.Yd=null};var Lp=function(a,b){Da.call(this);this.xf=a;this.wa=b||null};q(Lp,pp);Lp.prototype.yh=function(a,b){var c=Ac(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.yk["x-earth-engine-computation-profile"];this.wa&&e&&this.wa.Lj(a.ua.id,e);break;case "failed":case "aborted":this.wa&&""!==a.ua.id&&this.wa.rk(a.ua.id),Ic(c)}},void 0,this);a.Ra=this.Jd(a.rc,a.zoom);var d=u(this.nf,this,a);Mp().Uc(d,b)};Lp.prototype.kh=function(){return this.xf.mapid+"-"+this.xf.token};
|
|
Lp.prototype.nf=function(a,b){var c=Mp();if(a.Za||"aborted"==a.getStatus())Fp(c,b);else{var d=Ac(a,"status-changed",function(){a.be in op&&(Ic(d),Fp(c,b))});np(a)}};Lp.prototype.Jd=function(a,b){a=al(this.xf,a.x,a.y,b);return this.wa&&this.wa.isEnabled()?a+"&profiling=1":a};var Mp=function(){Np||(Np=new Kp(0,4));return Np};w("ee.layers.EarthEngineTileSource",Lp);var Np=null;var Op=[];var Qp=function(){A.call(this);this.he=new Pp(0,60);this.Ac=new Xc};q(Qp,A);Qp.prototype.send=function(a,b,c,d,e){if(this.Ac.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Rp(a,b,d,u(this.Th,this),void 0!==e?e:1);this.Ac.set(a,b);a=u(this.nf,this,b);this.he.Uc(a,c);return b};Qp.prototype.abort=function(a){if(a=this.Ac.get(a))a.mc||(a.mc=!0,a.Ma=new y("abort")),this.Th(a)};
|
|
Qp.prototype.nf=function(a,b){if(a.ga||a.mc)Sp(this,b);else if(a.oi=b,b.setActive(!0),b=new sp,a.ga=b,!a.retry())throw Error("Cannot dispatch first request!");};Qp.prototype.Th=function(a){this.Ac.remove(a.getId());a.ga&&(Sp(this,a.oi),a.ga.Ya());a.pf&&a.pf(a.Ma,a.Rh)};var Sp=function(a,b){b.setActive(!1);if(!Fp(a.he,b))throw Error("Object not released");};Qp.prototype.I=function(){A.prototype.I.call(this);this.he.Ya();this.he=null;var a=this.Ac;Pa(a.W(),function(b){b.Ya()});a.clear();this.Ac=null};
|
|
var Tp=function(){z(!Object.isSealed(Qp),"Cannot use getInstance() with a sealed constructor.");if(Qp.uf&&Qp.hasOwnProperty("uf"))var a=Qp.uf;else Op.push(Qp),a=new Qp,Qp.uf=a;return a};w("ee.MapTileManager",Qp);var Rp=function(a,b,c,d,e){Da.call(this);this.fa=a;this.Dk=b;this.kk=void 0!==e?e:1;this.pf=c;this.fc=d};q(Rp,Da);k=Rp.prototype;k.getId=function(){return this.fa};k.getUrl=function(){return this.Dk};
|
|
k.Yj=function(a){if(this.mc)this.fc&&this.fc(this);else switch(a.type){case "load":this.Ma=a;this.fc&&this.fc(this);break;case "error":case "abort":this.retry()||(this.Ma=a,this.fc&&this.fc(this))}};k.I=function(){Da.prototype.I.call(this);delete this.pf;delete this.fc};k.retry=function(){if(this.sg>this.kk)return!1;this.sg++;vp(this.ga,this.fa);setTimeout(u(this.zk,this),0);return!0};
|
|
k.zk=function(){if(!this.mc){var a=u(function(d){this.mc||(up(this.ga,this.fa,d),zc(this.ga,Up,u(this.Yj,this)),this.ga.start())},this),b=this.getUrl();if(Qd(b).Ea.ob("profiling")){var c=new yi;c.Bc="blob";c.cb("complete",u(function(){this.Rh=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=Rb(Tb(Ji(c)));var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.bd("ready",u(c.Ya,c));c.send(b,"GET")}else a(b)}};k.sg=0;k.mc=!1;
|
|
k.ga=null;k.oi=null;k.Ma=null;k.Rh=null;var Up=["load","abort","error"],Vp=function(){Da.call(this);this.Ha=!1};q(Vp,Da);Vp.prototype.setActive=function(a){this.Ha=a};Vp.prototype.sh=function(){return this.Ha};var Pp=function(a,b){Kp.call(this,a,b)};q(Pp,Kp);Pp.prototype.Se=function(){return new Vp};Pp.prototype.Bd=function(a){a.Ya()};Pp.prototype.Ff=function(a){return!a.Za&&!a.sh()};var Wp=function(a,b,c,d,e){kd.call(this,a,b,c,d,e);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.name=d.name;this.gg=new fd;this.Gf=1;this.wa=e||null};q(Wp,kd);k=Wp.prototype;k.Je=function(a){return Ac(this,"tileevent",a)};k.Pf=function(a){Ic(a)};
|
|
k.getTile=function(a,b,c){if(b<this.minZoom||0>a.y||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=ld(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.wa&&this.wa.isEnabled()&&(a+="&profiling=1");b=[b,this.Db,this.token].join("/");this.Db+=1;c=Ug("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Fb.push(b);Tp().send(b,a,d,u(this.Xj,this,c,b));So(this);return c};k.Tc=function(){return this.Fb.length};
|
|
k.releaseTile=function(a){Tp().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.gg.remove(b);""!==a.id&&(this.fg.remove(a.id),this.wa&&this.wa.rk(a.id))};k.setOpacity=function(a){this.Gf=a;var b=this.gg.Ga();Rc(b,function(c){cp(c,a)})};
|
|
k.Xj=function(a,b,c,d){"error"==c.type?(Xa(this.Fb,b),this.fg.add(b),this.dispatchEvent(c)):(Xa(this.Fb,b),c.target&&"load"==c.type&&(c=c.target,this.gg.add(c),1!=this.Gf&&cp(c,this.Gf),a.appendChild(c)),So(this));this.wa&&null!==d&&this.wa.Lj(b,d)};w("ee.MapLayerOverlay",Wp);Wp.prototype.removeTileCallback=Wp.prototype.Pf;Wp.prototype.addTileCallback=Wp.prototype.Je;Wp.prototype.getTile=Wp.prototype.getTile;Wp.prototype.setOpacity=Wp.prototype.setOpacity;Wp.prototype.releaseTile=Wp.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._call ee.ApiFunction._apply ee.ApiFunction.lookup ee.batch.Export.table.toDmsLayer ee.batch.Export.image.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.video.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toDrive ee.batch.Export.video.toDrive ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toDrive ee.Collection.prototype.filter ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.sort ee.Collection.prototype.filterDate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.data.setAssetProperties ee.data.createAssetHome ee.data.getAssetRootQuota ee.data.authenticateViaPopup ee.data.createAsset ee.data.createFolder ee.data.makeDownloadUrl ee.data.renameAsset ee.data.authenticate ee.data.copyAsset ee.data.deleteAsset ee.data.startIngestion ee.data.getTileUrl ee.data.getVideoThumbId ee.data.authenticateViaOauth ee.data.newTaskId ee.data.getList ee.data.getFilmstripThumbId ee.data.cancelOperation ee.data.authenticateViaPrivateKey ee.data.getTaskStatus ee.data.listAssets ee.data.getOperation ee.data.getMapId ee.data.makeThumbUrl ee.data.getThumbId ee.data.listOperations ee.data.updateTask ee.data.startTableIngestion ee.data.getAssetAcl ee.data.getTaskList ee.data.getInfo ee.data.setAssetAcl ee.data.listBuckets ee.data.getDownloadId ee.data.listImages ee.data.cancelTask ee.data.getTableDownloadId ee.data.getTaskListWithLimit ee.data.getAssetRoots ee.data.getDmsTilesKey ee.data.startProcessing ee.data.makeTableDownloadUrl ee.data.updateAsset ee.data.computeValue ee.data.getAsset ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.call ee.reset ee.TILE_SIZE ee.initialize ee.apply ee.InitState ee.Algorithms ee.Element.prototype.set ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.Filter.date ee.Filter.gte ee.Filter.and ee.Filter.gt ee.Filter ee.Filter.lte ee.Filter.inList ee.Filter.neq ee.Filter.or ee.Filter.bounds ee.Filter.lt ee.Filter.prototype.not ee.Filter.eq ee.Filter.metadata ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.LinearRing ee.Geometry.Rectangle ee.Geometry.Polygon ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Geometry.LineString ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getThumbURL ee.Image.cat ee.Image.prototype.getInfo ee.Image.prototype.rename ee.Image.prototype.select ee.Image.prototype.expression ee.Image.prototype.clip ee.Image ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
c=[["name","var_args"],["name","namedArgs"],["name"],["collection","opt_description","opt_assetId","opt_maxVertices"],"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_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_assetId","opt_maxVertices"],"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),["classifier","opt_description",
|
|
"opt_assetId"],"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris".split(" "),
|
|
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),["filter"],["geometry"],["max","opt_property","opt_ascending"],["algorithm","opt_dropNulls"],["algorithm","opt_first"],["name","operator","value"],["property","opt_ascending"],["start","opt_end"],["opt_callback"],["func","var_args"],["legacy"],["callback"],["assetId","properties",
|
|
"opt_callback"],["requestedId","opt_callback"],["rootId","opt_callback"],["opt_success","opt_error"],["value","opt_path","opt_force","opt_properties","opt_callback"],["path","opt_force","opt_callback"],["id"],["sourceId","destinationId","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["sourceId","destinationId","opt_overwrite","opt_callback"],["assetId","opt_callback"],["taskId","request","opt_callback"],["id","x","y","z"],["params","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),
|
|
["opt_count","opt_callback"],["params","opt_callback"],["params","opt_callback"],["operationName","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["taskId","opt_callback"],["parent","params","opt_callback"],["operationName","opt_callback"],["params","opt_callback"],["id"],["params","opt_callback"],["opt_limit","opt_callback"],["taskId","action","opt_callback"],["taskId","request","opt_callback"],["assetId","opt_callback"],["opt_callback"],["id",
|
|
"opt_callback"],["assetId","aclUpdate","opt_callback"],["project","opt_callback"],["params","opt_callback"],["parent","params","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],["opt_limit","opt_callback"],["opt_callback"],["params","opt_callback"],["taskId","params","opt_callback"],["id"],["assetId","asset","updateFields","opt_callback"],["obj","opt_callback"],["id","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],["func","var_args"],[],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
["func","namedArgs"],[],[],["var_args"],["opt_visParams","opt_callback"],["geometry","opt_properties"],["opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["args","opt_column"],["opt_callback"],["opt_visParams","opt_callback"],["start","opt_end"],["name","value"],["var_args"],["name","value"],["opt_filter"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","value"],["var_args"],
|
|
["geometry","opt_errorMargin"],["name","value"],[],["name","value"],["name","operator","value"],["namedArgs"],["var_args"],[],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],[],["west","south","east","north"],["coords","opt_proj"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj"],
|
|
["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError"],["params","opt_callback"],["r","g","b"],["params","opt_callback"],["var_args"],["opt_callback"],["var_args"],["var_args"],["expression","opt_map"],["geometry"],["opt_args"],["opt_visParams","opt_callback"],["params","opt_callback"],["params","opt_callback"],["args"],["selectors","opt_names"],["params","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],[],["list"],["number"],["obj"],
|
|
["obj"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["string"],[]];[O,nm,mm,Tn,Ln,Wn,Sn,Un,Nn,Xn,On,Vn,Pn,Qn,Rn,V.prototype.filter,V.prototype.bh,V.prototype.limit,V.prototype.map,V.prototype.vh,V.prototype.cf,V.prototype.sort,V.prototype.bf,M.prototype.V,M.prototype.og,M.prototype.xa,M.prototype.evaluate,Yl,Pl,Zl,Tk,Ql,Rl,jl,Sl,Vk,Tl,Ul,Gl,al,el,Uk,ml,Kl,fl,sl,Wk,ol,Ll,tl,$k,gl,dl,rl,ul,Il,Vl,ql,Jl,Xl,Nl,il,Ml,vl,kl,pl,Ol,bl,Cl,ll,Wl,cl,Jl,oo,to,xo,ro,so,yo,Mo,Ko,256,Ho,No,Lo,Jo,Q.prototype.set,
|
|
W.prototype.getMap,W,W.prototype.V,Y.prototype.yb,Y.prototype.select,Y,Y.prototype.V,Y.prototype.getMap,hn,cn,fn,dn,T,en,jn,an,gn,kn,bn,T.prototype.wc,$m,ln,hm.prototype.apply,hm.prototype.call,S.prototype.ge,Sm,S,S.prototype.ig,Lm,Gm,S.prototype.xa,Pm,Km,Rm,Jm,Qm,Om,L.prototype.yb,yn,L.prototype.kf,zn,L.prototype.V,L.prototype.Uh,L.prototype.select,L.prototype.l,L.prototype.clip,L,L.prototype.getMap,L.prototype.Id,Z.prototype.mf,Z,Z.prototype.select,Z.prototype.hf,Z.prototype.getMap,Z.prototype.V,
|
|
Z.prototype.first,An,eo,xk,sk,uk,Bk,zk,Ak,rk,ho,Bo].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|