mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
650 lines
297 KiB
JavaScript
650 lines
297 KiB
JavaScript
(function(){var k,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},l=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},ca=function(a){if(!(a instanceof Array)){a=l(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},da="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ea;
|
|
if("function"==typeof Object.setPrototypeOf)ea=Object.setPrototypeOf;else{var fa;a:{var ha={Bh:!0},ia={};try{ia.__proto__=ha;fa=ia.Bh;break a}catch(a){}fa=!1}ea=fa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var ja=ea,n=function(a,b){a.prototype=da(b.prototype);a.prototype.constructor=a;if(ja)ja(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.H=b.prototype},r="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ka="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},
|
|
la=function(a,b){if(b){var c=r;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ka(c,a,{configurable:!0,writable:!0,value:b})}};la("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 ma=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+""};la("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=ma(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}});
|
|
la("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ma(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}});la("String.prototype.repeat",function(a){return a?a:function(b){var c=ma(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 na=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},oa="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)na(d,e)&&(a[e]=d[e])}return a};la("Object.assign",function(a){return a||oa});
|
|
la("Promise",function(a){function b(){this.bb=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.yf=function(g){if(null==this.bb){this.bb=[];var h=this;this.zf(function(){h.Nh()})}this.bb.push(g)};var d=r.setTimeout;b.prototype.zf=function(g){d(g,0)};b.prototype.Nh=function(){for(;this.bb&&this.bb.length;){var g=this.bb;this.bb=[];for(var h=0;h<g.length;++h){var m=g[h];g[h]=null;try{m()}catch(p){this.Eh(p)}}}this.bb=null};b.prototype.Eh=function(g){this.zf(function(){throw g;
|
|
})};var e=function(g){this.U=0;this.ta=void 0;this.Yb=[];var h=this.ae();try{g(h.resolve,h.reject)}catch(m){h.reject(m)}};e.prototype.ae=function(){function g(p){return function(q){m||(m=!0,p.call(h,q))}}var h=this,m=!1;return{resolve:g(this.ii),reject:g(this.We)}};e.prototype.ii=function(g){if(g===this)this.We(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.ji(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.hi(g):this.kg(g)}};e.prototype.hi=function(g){var h=void 0;try{h=g.then}catch(m){this.We(m);return}"function"==typeof h?this.ki(h,g):this.kg(g)};e.prototype.We=function(g){this.ih(2,g)};e.prototype.kg=function(g){this.ih(1,g)};e.prototype.ih=function(g,h){if(0!=this.U)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.U);this.U=g;this.ta=h;this.Ph()};e.prototype.Ph=function(){if(null!=this.Yb){for(var g=0;g<this.Yb.length;++g)f.yf(this.Yb[g]);this.Yb=null}};var f=
|
|
new b;e.prototype.ji=function(g){var h=this.ae();g.Zc(h.resolve,h.reject)};e.prototype.ki=function(g,h){var m=this.ae();try{g.call(h,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(g,h){function m(z,F){return"function"==typeof z?function(Q){try{p(z(Q))}catch(ba){q(ba)}}:F}var p,q,v=new e(function(z,F){p=z;q=F});this.Zc(m(g,p),m(h,q));return v};e.prototype["catch"]=function(g){return this.then(void 0,g)};e.prototype.Zc=function(g,h){function m(){switch(p.U){case 1:g(p.ta);break;
|
|
case 2:h(p.ta);break;default:throw Error("Unexpected state: "+p.U);}}var p=this;null==this.Yb?f.yf(m):this.Yb.push(m)};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=l(g),q=p.next();!q.done;q=p.next())c(q.value).Zc(h,m)})};e.all=function(g){var h=l(g),m=h.next();return m.done?c([]):new e(function(p,q){function v(Q){return function(ba){z[Q]=ba;F--;0==F&&p(z)}}var z=[],F=0;do z.push(void 0),F++,c(m.value).Zc(v(z.length-1),
|
|
q),m=h.next();while(!m.done)})};return e});var pa=function(){pa=function(){};r.Symbol||(r.Symbol=qa)},ra=function(a,b){this.wh=a;ka(this,"description",{configurable:!0,writable:!0,value:b})};ra.prototype.toString=function(){return this.wh};
|
|
var qa=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new ra("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}(),ta=function(){pa();var a=r.Symbol.iterator;a||(a=r.Symbol.iterator=r.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ka(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return sa(aa(this))}});ta=function(){}},sa=function(a){ta();a={next:a};a[r.Symbol.iterator]=function(){return this};return a},
|
|
ua=function(a,b){ta();a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var e=c++;return{value:b(e,a[e]),done:!1}}d.next=function(){return{done:!0,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d};la("Array.prototype.keys",function(a){return a?a:function(){return ua(this,function(b){return b})}});la("Array.prototype.values",function(a){return a?a:function(){return ua(this,function(b,c){return c})}});
|
|
la("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)na(b,d)&&c.push([d,b[d]]);return c}});la("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});la("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}});
|
|
la("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==ma(this,b,"includes").indexOf(b,c||0)}});
|
|
la("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return"object"===p&&null!==m||"function"===p}function d(m){if(!na(m,f)){var p=new b;ka(m,f,{value:p})}}function e(m){var p=Object[m];p&&(Object[m]=function(q){if(q instanceof b)return q;d(q);return p(q)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),p=Object.seal({}),q=new a([[m,2],[p,3]]);if(2!=q.get(m)||3!=q.get(p))return!1;q["delete"](m);q.set(p,4);return!q.has(m)&&4==q.get(p)}catch(v){return!1}}())return a;
|
|
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,h=function(m){this.ca=(g+=Math.random()+1).toString();if(m){m=l(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(!na(m,f))throw Error("WeakMap key fail: "+m);m[f][this.ca]=p;return this};h.prototype.get=function(m){return c(m)&&na(m,f)?m[f][this.ca]:void 0};h.prototype.has=function(m){return c(m)&&na(m,f)&&na(m[f],
|
|
this.ca)};h.prototype["delete"]=function(m){return c(m)&&na(m,f)&&na(m[f],this.ca)?delete m[f][this.ca]:!1};return h});
|
|
la("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(l([[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(),q=p.next();if(q.done||q.value[0]!=h||"s"!=q.value[1])return!1;q=p.next();return q.done||4!=q.value[0].x||"t"!=q.value[1]||!p.next().done?!1:!0}catch(v){return!1}}())return a;ta();var b=new WeakMap,c=function(h){this.qc={};this.ka=
|
|
f();this.size=0;if(h){h=l(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.qc[p.id]=[]);p.ba?p.ba.value=m:(p.ba={next:this.ka,Za:this.ka.Za,head:this.ka,key:h,value:m},p.list.push(p.ba),this.ka.Za.next=p.ba,this.ka.Za=p.ba,this.size++);return this};c.prototype["delete"]=function(h){h=d(this,h);return h.ba&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.qc[h.id],h.ba.Za.next=h.ba.next,h.ba.next.Za=
|
|
h.ba.Za,h.ba.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.qc={};this.ka=this.ka.Za=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).ba};c.prototype.get=function(h){return(h=d(this,h).ba)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=function(h,m){for(var p=this.entries(),
|
|
q;!(q=p.next()).done;)q=q.value,h.call(m,q[1],q[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 q=h.qc[p];if(q&&na(h.qc,p))for(h=0;h<q.length;h++){var v=q[h];if(m!==m&&v.key!==v.key||m===v.key)return{id:p,list:q,index:h,ba:v}}return{id:p,list:q,index:-1,ba:void 0}},e=function(h,m){var p=h.ka;return sa(function(){if(p){for(;p.head!=h.ka;)p=p.Za;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.Za=h.next=h.head=h},g=0;return c});
|
|
la("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(l([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;ta();var b=function(c){this.o=new Map;
|
|
if(c){c=l(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.o.size};b.prototype.add=function(c){c=0===c?0:c;this.o.set(c,c);this.size=this.o.size;return this};b.prototype["delete"]=function(c){c=this.o["delete"](c);this.size=this.o.size;return c};b.prototype.clear=function(){this.o.clear();this.size=0};b.prototype.has=function(c){return this.o.has(c)};b.prototype.entries=function(){return this.o.entries()};b.prototype.values=function(){return this.o.values()};b.prototype.keys=b.prototype.values;
|
|
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.o.forEach(function(f){return c.call(d,f,f,e)})};return b});la("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)na(b,d)&&c.push(b[d]);return c}});la("String.prototype.padStart",function(a){return a?a:function(b,c){var d=ma(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 va=va||{},t=this||self,wa=function(a){return void 0!==a},u=function(a){return"string"==typeof a},xa=function(a){return"number"==typeof a},ya=/^[\w+/_-]+[=]{0,2}$/,za=null,Aa=function(){},Ba=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&
|
|
!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},Ca=function(a){return null!=a},w=function(a){return"array"==Ba(a)},Da=function(a){var b=Ba(a);return"array"==b||"object"==b&&"number"==typeof a.length},Ea=function(a){return x(a)&&"function"==typeof a.getFullYear},
|
|
Fa=function(a){return"function"==Ba(a)},x=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Ga="closure_uid_"+(1E9*Math.random()>>>0),Ha=0,Ia=function(a,b,c){return a.call.apply(a.bind,arguments)},Ja=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)}},y=function(a,
|
|
b,c){y=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Ia:Ja;return y.apply(null,arguments)},Ka=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)}},La=Date.now||function(){return+new Date},A=function(a,b){a=a.split(".");var c=t;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&wa(b)?c[d]=b:c=c[d]&&c[d]!==
|
|
Object.prototype[d]?c[d]:c[d]={}},B=function(a,b){function c(){}c.prototype=b.prototype;a.H=b.prototype;a.prototype=new c;a.prototype.constructor=a};var Ma=function(){this.La=this.La;this.qd=this.qd};Ma.prototype.La=!1;Ma.prototype.Ka=function(){this.La||(this.La=!0,this.F())};Ma.prototype.F=function(){if(this.qd)for(;this.qd.length;)this.qd.shift()()};var Na=function(a){a&&"function"==typeof a.Ka&&a.Ka()};var Oa=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Eb=!1;this.dh=!0};Oa.prototype.stopPropagation=function(){this.Eb=!0};Oa.prototype.preventDefault=function(){this.defaultPrevented=!0;this.dh=!1};var Pa=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Pa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};B(Pa,Error);Pa.prototype.name="CustomError";var Qa;var Ra=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");Pa.call(this,c+a[d])};B(Ra,Pa);Ra.prototype.name="AssertionError";
|
|
var Sa=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Ra(""+e,f||[]);},C=function(a,b,c){a||Sa("",null,b,Array.prototype.slice.call(arguments,2))},Ta=function(a,b){throw new Ra("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Ua=function(a,b,c){xa(a)||Sa("Expected number but got %s: %s.",[Ba(a),a],b,Array.prototype.slice.call(arguments,2));return a},Va=function(a,b,c){u(a)||Sa("Expected string but got %s: %s.",[Ba(a),a],b,Array.prototype.slice.call(arguments,
|
|
2))},Wa=function(a,b,c){Fa(a)||Sa("Expected function but got %s: %s.",[Ba(a),a],b,Array.prototype.slice.call(arguments,2))},Xa=function(a,b,c){x(a)||Sa("Expected object but got %s: %s.",[Ba(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Ya=Array.prototype.indexOf?function(a,b){C(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(u(a))return u(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Za=Array.prototype.lastIndexOf?function(a,b){C(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(u(a))return u(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in
|
|
a&&a[c]===b)return c;return-1},$a=Array.prototype.forEach?function(a,b,c){C(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},ab=Array.prototype.filter?function(a,b){C(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f=u(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},bb=Array.prototype.map?function(a,
|
|
b,c){C(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=u(a)?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},cb=Array.prototype.some?function(a,b){C(null!=a.length);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=u(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},db=Array.prototype.every?function(a,b,c){C(null!=a.length);return Array.prototype.every.call(a,
|
|
b,c)}:function(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0},eb=function(a,b){var c=0;$a(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c},gb=function(a){a:{var b=fb;for(var c=a.length,d=u(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:u(a)?a.charAt(b):a[b]},hb=function(a,b){return 0<=Ya(a,b)},ib=function(a){if(!w(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},kb=
|
|
function(a,b){b=Ya(a,b);var c;(c=0<=b)&&jb(a,b);return c},jb=function(a,b){C(null!=a.length);Array.prototype.splice.call(a,b,1)},lb=function(a){return Array.prototype.concat.apply([],arguments)},mb=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},nb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Da(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)}},ob=function(a,b,c){C(null!=a.length);
|
|
return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},pb=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=x(f)?"o"+(f[Ga]||(f[Ga]=++Ha)):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c},qb=function(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b},rb=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(w(d))for(var e=0;e<d.length;e+=8192){var f=ob(d,
|
|
e,e+8192);f=rb.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var sb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},tb=/&/g,ub=/</g,vb=/>/g,wb=/"/g,xb=/'/g,yb=/\x00/g,zb=/[\x00&<>"']/,Ab=function(a,b){return a<b?-1:a>b?1:0};var Bb;a:{var Cb=t.navigator;if(Cb){var Db=Cb.userAgent;if(Db){Bb=Db;break a}}Bb=""}var Eb=function(a){return-1!=Bb.indexOf(a)};var Fb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Gb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Hb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Ib=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Jb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Kb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Lb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Nb=function(a){var b=
|
|
Mb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Ob=function(a){for(var b in a)return!1;return!0},Pb=function(a,b){b in a&&delete a[b]},Qb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Rb=function(a){var b=Ba(a);if("object"==b||"array"==b){if(Fa(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=Rb(a[c]);return b}return a},Sb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Tb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=
|
|
arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Sb.length;f++)c=Sb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Ub=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||t;if(d.Element&&d.Location){var e=d;break a}}catch(g){}e=null}if(e&&"undefined"!=typeof e[b]&&(!a||!(a instanceof e[b])&&(a instanceof e.Location||a instanceof e.Element))){if(x(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;Ta("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
|
|
b,f)}};var Vb=function(a){return a};var Yb=function(a,b){this.lf=a===Wb&&b||"";this.zh=Xb};Yb.prototype.yb=!0;Yb.prototype.wb=function(){return this.lf};Yb.prototype.toString=function(){return"Const{"+this.lf+"}"};var Zb=function(a){if(a instanceof Yb&&a.constructor===Yb&&a.zh===Xb)return a.lf;Ta("expected object of type Const, got '"+a+"'");return"type_error:Const"},Xb={},Wb={},$b=new Yb(Wb,"");var ac=function(){this.Oe=""};ac.prototype.yb=!0;ac.prototype.wb=function(){return this.Oe.toString()};ac.prototype.toString=function(){return"SafeScript{"+this.Oe+"}"};ac.prototype.Xa=function(a){this.Oe=a;return this};(new ac).Xa("");var dc=function(a,b,c){this.Se=a===bc&&b||"";this.sh=a===bc&&c||null;this.Ah=cc};dc.prototype.yb=!0;dc.prototype.wb=function(){return this.Se.toString()};dc.prototype.toString=function(){return"TrustedResourceUrl{"+this.Se+"}"};
|
|
var ec=function(a){if(a instanceof dc&&a.constructor===dc&&a.Ah===cc)return a.Se;Ta("expected object of type TrustedResourceUrl, got '"+a+"' of type "+Ba(a));return"type_error:TrustedResourceUrl"},ic=function(a){var b=Zb(fc);if(!gc.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(hc,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 Yb?Zb(d):encodeURIComponent(String(d))});return new dc(bc,c,null)},hc=/%{(\w+)}/g,gc=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,cc={},bc={};var lc=function(a,b){this.Re=a===jc&&b||"";this.yh=kc};lc.prototype.yb=!0;lc.prototype.wb=function(){return this.Re.toString()};lc.prototype.toString=function(){return"SafeUrl{"+this.Re+"}"};
|
|
var mc=function(a){if(a instanceof lc&&a.constructor===lc&&a.yh===kc)return a.Re;Ta("expected object of type SafeUrl, got '"+a+"' of type "+Ba(a));return"type_error:SafeUrl"},nc=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,oc=function(a){if(nc.test(a.type)){var b=wa(t.URL)&&wa(t.URL.createObjectURL)?t.URL:wa(t.webkitURL)&&wa(t.webkitURL.createObjectURL)?
|
|
t.webkitURL:wa(t.createObjectURL)?t: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 lc(jc,a)},kc={},jc={};var pc=function(){this.Qe=""};pc.prototype.yb=!0;pc.prototype.wb=function(){return this.Qe};pc.prototype.toString=function(){return"SafeStyle{"+this.Qe+"}"};pc.prototype.Xa=function(a){this.Qe=a;return this};(new pc).Xa("");var qc=function(){this.Pe=""};qc.prototype.yb=!0;qc.prototype.wb=function(){return this.Pe};qc.prototype.toString=function(){return"SafeStyleSheet{"+this.Pe+"}"};qc.prototype.Xa=function(a){this.Pe=a;return this};(new qc).Xa("");var sc=function(){this.rd="";this.xh=rc};sc.prototype.yb=!0;sc.prototype.wb=function(){return this.rd.toString()};sc.prototype.toString=function(){return"SafeHtml{"+this.rd+"}"};var uc=function(){var a=tc;if(a instanceof sc&&a.constructor===sc&&a.xh===rc)return a.rd;Ta("expected object of type SafeHtml, got '"+a+"' of type "+Ba(a));return"type_error:SafeHtml"},rc={};sc.prototype.Xa=function(a){this.rd=a;return this};(new sc).Xa("<!DOCTYPE html>");var tc=(new sc).Xa("");(new sc).Xa("<br>");var vc=function(a){var b=new dc(bc,Zb($b),null);Ub(a,"HTMLIFrameElement");a.src=b.sh?b.sh:ec(b).toString()},wc=function(a,b){Ub(a,"HTMLScriptElement");a.src=ec(b);if(null===za)b:{b=t.document;if((b=b.querySelector&&b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&ya.test(b)){za=b;break b}za=""}b=za;b&&a.setAttribute("nonce",b)};var xc=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")},yc=function(a){zb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(tb,"&")),-1!=a.indexOf("<")&&(a=a.replace(ub,"<")),-1!=a.indexOf(">")&&(a=a.replace(vb,">")),-1!=a.indexOf('"')&&(a=a.replace(wb,""")),-1!=a.indexOf("'")&&(a=a.replace(xb,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(yb,"�")));return a},zc=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 Ac=function(a){Ac[" "](a);return a};Ac[" "]=Aa;var Cc=function(a,b){var c=Bc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Dc=Eb("Opera"),Ec=Eb("Trident")||Eb("MSIE"),Fc=Eb("Edge"),Gc=Eb("Gecko")&&!(-1!=Bb.toLowerCase().indexOf("webkit")&&!Eb("Edge"))&&!(Eb("Trident")||Eb("MSIE"))&&!Eb("Edge"),Hc=-1!=Bb.toLowerCase().indexOf("webkit")&&!Eb("Edge"),Ic=function(){var a=t.document;return a?a.documentMode:void 0},Jc;
|
|
a:{var Kc="",Lc=function(){var a=Bb;if(Gc)return/rv:([^\);]+)(\)|;)/.exec(a);if(Fc)return/Edge\/([\d\.]+)/.exec(a);if(Ec)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Hc)return/WebKit\/(\S+)/.exec(a);if(Dc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Lc&&(Kc=Lc?Lc[1]:"");if(Ec){var Mc=Ic();if(null!=Mc&&Mc>parseFloat(Kc)){Jc=String(Mc);break a}}Jc=Kc}
|
|
var Nc=Jc,Bc={},Oc=function(a){return Cc(a,function(){for(var b=0,c=sb(String(Nc)).split("."),d=sb(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=Ab(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||Ab(0==g[2].length,0==h[2].length)||Ab(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})},Pc;
|
|
Pc=t.document&&Ec?Ic():void 0;var Qc=Object.freeze||function(a){return a};var Rc=!Ec||9<=Number(Pc),Sc=Ec&&!Oc("9"),Tc=function(){if(!t.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{t.addEventListener("test",Aa,b),t.removeEventListener("test",Aa,b)}catch(c){}return a}();var Vc=function(a,b){Oa.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.Aa=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(Gc){a:{try{Ac(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=Hc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Hc||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=u(a.pointerType)?a.pointerType:Uc[a.pointerType]||"";this.state=a.state;this.Aa=a;a.defaultPrevented&&this.preventDefault()}};B(Vc,Oa);
|
|
var Uc=Qc({2:"touch",3:"pen",4:"mouse"});Vc.prototype.stopPropagation=function(){Vc.H.stopPropagation.call(this);this.Aa.stopPropagation?this.Aa.stopPropagation():this.Aa.cancelBubble=!0};Vc.prototype.preventDefault=function(){Vc.H.preventDefault.call(this);var a=this.Aa;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Sc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Wc="closure_listenable_"+(1E6*Math.random()|0),Xc=function(a){return!(!a||!a[Wc])},Yc=0;var Zc=function(a,b,c,d,e){this.listener=a;this.sd=null;this.src=b;this.type=c;this.capture=!!d;this.Wa=e;this.key=++Yc;this.$b=this.Yc=!1},$c=function(a){a.$b=!0;a.listener=null;a.sd=null;a.src=null;a.Wa=null};var ad=function(a){this.src=a;this.$={};this.Pc=0};ad.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.$[f];a||(a=this.$[f]=[],this.Pc++);var g=bd(a,b,d,e);-1<g?(b=a[g],c||(b.Yc=!1)):(b=new Zc(b,this.src,f,!!d,e),b.Yc=c,a.push(b));return b};ad.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.$))return!1;var e=this.$[a];b=bd(e,b,c,d);return-1<b?($c(e[b]),jb(e,b),0==e.length&&(delete this.$[a],this.Pc--),!0):!1};
|
|
var cd=function(a,b){var c=b.type;c in a.$&&kb(a.$[c],b)&&($c(b),0==a.$[c].length&&(delete a.$[c],a.Pc--))};ad.prototype.Kc=function(a){a=a&&a.toString();var b=0,c;for(c in this.$)if(!a||c==a){for(var d=this.$[c],e=0;e<d.length;e++)++b,$c(d[e]);delete this.$[c];this.Pc--}};ad.prototype.vc=function(a,b,c,d){a=this.$[a.toString()];var e=-1;a&&(e=bd(a,b,c,d));return-1<e?a[e]:null};
|
|
ad.prototype.hasListener=function(a,b){var c=wa(a),d=c?a.toString():"",e=wa(b);return Ib(this.$,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var bd=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.$b&&f.listener==b&&f.capture==!!c&&f.Wa==d)return e}return-1};var dd="closure_lm_"+(1E6*Math.random()|0),ed={},fd=0,hd=function(a,b,c,d,e){if(d&&d.once)return gd(a,b,c,d,e);if(w(b)){for(var f=0;f<b.length;f++)hd(a,b[f],c,d,e);return null}c=id(c);return Xc(a)?a.Na(b,c,x(d)?!!d.capture:!!d,e):jd(a,b,c,!1,d,e)},jd=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=x(e)?!!e.capture:!!e,h=kd(a);h||(a[dd]=h=new ad(a));c=h.add(b,c,d,g,f);if(c.sd)return c;d=ld();c.sd=d;d.src=a;d.listener=c;if(a.addEventListener)Tc||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),
|
|
d,e);else if(a.attachEvent)a.attachEvent(md(b.toString()),d);else if(a.addListener&&a.removeListener)C("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");fd++;return c},ld=function(){var a=nd,b=Rc?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},gd=function(a,b,c,d,e){if(w(b)){for(var f=0;f<b.length;f++)gd(a,b[f],c,d,e);return null}c=id(c);return Xc(a)?
|
|
a.Ec(b,c,x(d)?!!d.capture:!!d,e):jd(a,b,c,!0,d,e)},od=function(a,b,c,d,e){if(w(b))for(var f=0;f<b.length;f++)od(a,b[f],c,d,e);else d=x(d)?!!d.capture:!!d,c=id(c),Xc(a)?a.Fd(b,c,d,e):a&&(a=kd(a))&&(b=a.vc(b,c,d,e))&&pd(b)},pd=function(a){if(!xa(a)&&a&&!a.$b){var b=a.src;if(Xc(b))cd(b.za,a);else{var c=a.type,d=a.sd;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(md(c),d):b.addListener&&b.removeListener&&b.removeListener(d);fd--;(c=kd(b))?(cd(c,a),0==c.Pc&&(c.src=
|
|
null,b[dd]=null)):$c(a)}}},md=function(a){return a in ed?ed[a]:ed[a]="on"+a},rd=function(a,b,c,d){var e=!0;if(a=kd(a))if(b=a.$[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.$b&&(f=qd(f,d),e=e&&!1!==f)}return e},qd=function(a,b){var c=a.listener,d=a.Wa||a.src;a.Yc&&pd(a);return c.call(d,b)},nd=function(a,b){if(a.$b)return!0;if(!Rc){if(!b)a:{b=["window","event"];for(var c=t,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;break a}b=c}d=b;b=new Vc(d,this);c=!0;if(!(0>
|
|
d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.Eb&&0<=e;e--){b.currentTarget=d[e];var f=rd(d[e],a,!0,b);c=c&&f}for(e=0;!b.Eb&&e<d.length;e++)b.currentTarget=d[e],f=rd(d[e],a,!1,b),c=c&&f}return c}return qd(a,new Vc(b,this))},kd=function(a){a=a[dd];return a instanceof ad?a:null},sd="__closure_events_fn_"+(1E9*Math.random()>>>
|
|
0),id=function(a){C(a,"Listener can not be null.");if(Fa(a))return a;C(a.handleEvent,"An object listener must have handleEvent method.");a[sd]||(a[sd]=function(b){return a.handleEvent(b)});return a[sd]};var td=function(){Ma.call(this);this.za=new ad(this);this.Ch=this;this.Me=null};B(td,Ma);td.prototype[Wc]=!0;k=td.prototype;k.addEventListener=function(a,b,c,d){hd(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){od(this,a,b,c,d)};
|
|
k.dispatchEvent=function(a){ud(this);var b=this.Me;if(b){var c=[];for(var d=1;b;b=b.Me)c.push(b),C(1E3>++d,"infinite loop")}b=this.Ch;d=a.type||a;if(u(a))a=new Oa(a,b);else if(a instanceof Oa)a.target=a.target||b;else{var e=a;a=new Oa(d,b);Tb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Eb&&0<=f;f--){var g=a.currentTarget=c[f];e=vd(g,d,!0,a)&&e}a.Eb||(g=a.currentTarget=b,e=vd(g,d,!0,a)&&e,a.Eb||(e=vd(g,d,!1,a)&&e));if(c)for(f=0;!a.Eb&&f<c.length;f++)g=a.currentTarget=c[f],e=vd(g,d,!1,a)&&e;return e};
|
|
k.F=function(){td.H.F.call(this);this.za&&this.za.Kc(void 0);this.Me=null};k.Na=function(a,b,c,d){ud(this);return this.za.add(String(a),b,!1,c,d)};k.Ec=function(a,b,c,d){return this.za.add(String(a),b,!0,c,d)};k.Fd=function(a,b,c,d){this.za.remove(String(a),b,c,d)};var vd=function(a,b,c,d){b=a.za.$[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.$b&&g.capture==c){var h=g.listener,m=g.Wa||g.src;g.Yc&&cd(a.za,g);e=!1!==h.call(m,d)&&e}}return e&&0!=d.dh};
|
|
td.prototype.vc=function(a,b,c,d){return this.za.vc(String(a),b,c,d)};td.prototype.hasListener=function(a,b){return this.za.hasListener(wa(a)?String(a):void 0,b)};var ud=function(a){C(a.za,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var wd="StopIteration"in t?t.StopIteration:{message:"StopIteration",stack:""},xd=function(){};xd.prototype.next=function(){throw wd;};xd.prototype.Mb=function(){return this};
|
|
var yd=function(a){if(a instanceof xd)return a;if("function"==typeof a.Mb)return a.Mb(!1);if(Da(a)){var b=0,c=new xd;c.next=function(){for(;;){if(b>=a.length)throw wd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},zd=function(a,b){if(Da(a))try{$a(a,b,void 0)}catch(c){if(c!==wd)throw c;}else{a=yd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==wd)throw c;}}};var Ad=function(a,b){this.o={};this.J=[];this.Rc=this.M=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=Ad.prototype;k.N=function(){return this.M};k.T=function(){Bd(this);for(var a=[],b=0;b<this.J.length;b++)a.push(this.o[this.J[b]]);return a};k.Ca=function(){Bd(this);return this.J.concat()};k.eb=function(a){return Cd(this.o,a)};
|
|
k.pc=function(a){for(var b=0;b<this.J.length;b++){var c=this.J[b];if(Cd(this.o,c)&&this.o[c]==a)return!0}return!1};k.equals=function(a,b){if(this===a)return!0;if(this.M!=a.N())return!1;b=b||Dd;Bd(this);for(var c,d=0;c=this.J[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Dd=function(a,b){return a===b};Ad.prototype.isEmpty=function(){return 0==this.M};Ad.prototype.clear=function(){this.o={};this.Rc=this.M=this.J.length=0};
|
|
Ad.prototype.remove=function(a){return Cd(this.o,a)?(delete this.o[a],this.M--,this.Rc++,this.J.length>2*this.M&&Bd(this),!0):!1};var Bd=function(a){if(a.M!=a.J.length){for(var b=0,c=0;b<a.J.length;){var d=a.J[b];Cd(a.o,d)&&(a.J[c++]=d);b++}a.J.length=c}if(a.M!=a.J.length){var e={};for(c=b=0;b<a.J.length;)d=a.J[b],Cd(e,d)||(a.J[c++]=d,e[d]=1),b++;a.J.length=c}};k=Ad.prototype;k.get=function(a,b){return Cd(this.o,a)?this.o[a]:b};
|
|
k.set=function(a,b){Cd(this.o,a)||(this.M++,this.J.push(a),this.Rc++);this.o[a]=b};k.addAll=function(a){if(a instanceof Ad)for(var b=a.Ca(),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.Ca(),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 Ad(this)};
|
|
k.Mb=function(a){Bd(this);var b=0,c=this.Rc,d=this,e=new xd;e.next=function(){if(c!=d.Rc)throw Error("The map has changed since the iterator was created");if(b>=d.J.length)throw wd;var f=d.J[b++];return a?f:d.o[f]};return e};var Cd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Ed=function(a){if(a.N&&"function"==typeof a.N)a=a.N();else if(Da(a)||u(a))a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Fd=function(a){if(a.T&&"function"==typeof a.T)return a.T();if(u(a))return a.split("");if(Da(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Jb(a)},Gd=function(a){if(a.Ca&&"function"==typeof a.Ca)return a.Ca();if(!a.T||"function"!=typeof a.T){if(Da(a)||u(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Kb(a)}},Hd=function(a,b,
|
|
c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(Da(a)||u(a))$a(a,b,c);else for(var d=Gd(a),e=Fd(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},Id=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(Da(a)||u(a))return db(a,b,void 0);for(var c=Gd(a),d=Fd(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 Jd=function(a){this.o=new Ad;a&&this.addAll(a)},Kd=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+(a[Ga]||(a[Ga]=++Ha)):b.substr(0,1)+a};k=Jd.prototype;k.N=function(){return this.o.N()};k.add=function(a){this.o.set(Kd(a),a)};k.addAll=function(a){a=Fd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};k.Kc=function(a){a=Fd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};k.remove=function(a){return this.o.remove(Kd(a))};k.clear=function(){this.o.clear()};k.isEmpty=function(){return this.o.isEmpty()};
|
|
k.contains=function(a){return this.o.eb(Kd(a))};k.yg=function(a){var b=new Jd;a=Fd(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};k.ge=function(a){var b=this.clone();b.Kc(a);return b};k.T=function(){return this.o.T()};k.clone=function(){return new Jd(this)};k.equals=function(a){return this.N()==Ed(a)&&Ld(this,a)};
|
|
var Ld=function(a,b){var c=Ed(b);if(a.N()>c)return!1;!(b instanceof Jd)&&5<c&&(b=new Jd(b));return Id(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.pc&&"function"==typeof e.pc?e.pc(d):Da(e)||u(e)?hb(e,d):Lb(e,d)})};Jd.prototype.Mb=function(){return this.o.Mb(!1)};var ee={},Md=function(a,b,c){td.call(this);this.Zh=b;this.token=c;this.lb=[];this.qf=new Jd;this.jb=0;this.url=a};B(Md,td);A("ee.AbstractOverlay",Md);var Nd=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.Zh,c,e,b.y].join("/")};Md.prototype.re=function(){return this.lb.length};var Od=function(a){Oa.call(this,"tileevent");this.count=a};B(Od,Oa);/*
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
this file except in compliance with the License. You may obtain a copy of the
|
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
and limitations under the License.
|
|
*/
|
|
var Pd=function(){},Qd=new Pd,D=function(){this.a={}},E=function(a,b){return a.a.hasOwnProperty(b)?a.a[b]:null},G=function(a,b){return null!=a.a[b]};function Rd(a,b){return E(b,a)}function Sd(a,b,c){b[a]=c}function Td(){return{}}function Ud(a,b){var c=new a;return null==b?c:Vd(b,Wd,Xd,Yd,a)}function Wd(a,b){return b[a]}function Xd(a,b,c){b.a[a]=c}function Yd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function Vd(a,b,c,d,e){e=d(e);var f=Zd(a,e),g=f.h||{},h=f.j||{},m=f.i||{},p={};f=l(f.keys||[]);for(var q=f.next();!q.done;p={jc:p.jc},q=f.next()){q=q.value;var v=b(q,a);if(null!=v){var z=void 0;g.hasOwnProperty(q)?z=$d(v,b,c,d,!0,!0,g[q]):h.hasOwnProperty(q)?z=$d(v,b,c,d,!1,!0,h[q]):m.hasOwnProperty(q)?(p.jc=m[q],z=p.jc.la?v.map(function(F){return function(Q){return ae(Q,F.jc,b,c,d)}}(p)):ae(v,p.jc,b,c,d)):z=Array.isArray(v)?$d(v,b,c,d,!0,!1):v instanceof Pd?null:v;c(q,e,z)}}return e}
|
|
function ae(a,b,c,d,e){for(var f={},g=l(Object.keys(a)),h=g.next();!h.done;h=g.next()){h=h.value;var m=a[h];null!=m&&(f[h]=$d(m,c,d,e,b.na,b.ma,b.ga))}return f}function $d(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 Vd(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Vd(a,b,c,d,g):a instanceof Pd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}
|
|
function Zd(a,b){if(b instanceof D)a=b.f();else if(a instanceof D)a=a.f();else throw Error("Cannot find ClassMetadata.");return a};var be=function(){},H=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function ce(a){var b=a.body instanceof D?Vd(a.body,Rd,Sd,Td):a.body;return{path:a.path,B:a.B,D:a.D,body:b,A:a.A}};function de(a,b){if(null==a)return null;a=a.Ai(b);return null==a?null:a};var fe=function(a,b){this.W=a;this.Sh=void 0===b?null:b};n(fe,be);var ge=function(a,b,c){var d=de(a.Sh,b);if(null==d)return c;d.Bi();return c.then(function(e){d.Di(e);return e},function(e){d.Ci(e);throw e;})},I=function(a,b){var c=b.G||void 0;return ge(a,b,a.W.send(ce(b),c))};function he(a){if(null!=a.A){var b={},c;for(c in a.A)void 0!==a.A[c]&&(b[c]=a.A[c]);a.A=b}};var ie=function(){};ie.prototype.send=function(a,b){he(a);return(void 0).then(function(c){return b?Ud(b,c):c})};var je={get ti(){return"DEFAULT_OBJECT_ACL"},get vi(){return"PUBLIC"},get xi(){return"TILE_PERMISSIONS_UNSPECIFIED"},values:function(){return["TILE_PERMISSIONS_UNSPECIFIED","PUBLIC","DEFAULT_OBJECT_ACL"]}},ke=function(a){a=void 0===a?{}:a;this.a={};this.a.scaleX=null==a.Ze?null:a.Ze;this.a.shearX=null==a.df?null:a.df;this.a.translateX=null==a.tf?null:a.tf;this.a.shearY=null==a.ef?null:a.ef;this.a.scaleY=null==a.$e?null:a.$e;this.a.translateY=null==a.uf?null:a.uf};n(ke,D);
|
|
ke.prototype.f=function(){return{h:{},l:{},keys:"scaleX scaleY shearX shearY translateX translateY".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(ke.prototype,{Ze:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleX")?E(this,"scaleX"):null},set:function(a){this.a.scaleX=a}},$e:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleY")?E(this,"scaleY"):null},set:function(a){this.a.scaleY=a}},df:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearX")?E(this,"shearX"):null},set:function(a){this.a.shearX=a}},ef:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearY")?
|
|
E(this,"shearY"):null},set:function(a){this.a.shearY=a}},tf:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateX")?E(this,"translateX"):null},set:function(a){this.a.translateX=a}},uf:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateY")?E(this,"translateY"):null},set:function(a){this.a.translateY=a}}});
|
|
var le=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.description=null==a.description?null:a.description;this.a.returnType=null==a.Ye?null:a.Ye;this.a.arguments=null==a.arguments?null:a.arguments;this.a.deprecated=null==a.deprecated?null:a.deprecated;this.a.deprecationReason=null==a.de?null:a.de;this.a.hidden=null==a.hidden?null:a.hidden};n(le,D);
|
|
le.prototype.f=function(){return{h:{arguments:me},l:{},keys:"arguments deprecated deprecationReason description hidden name returnType".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(le.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?E(this,"arguments"):null},set:function(a){this.a.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecated")?E(this,"deprecated"):null},set:function(a){this.a.deprecated=a}},de:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecationReason")?E(this,"deprecationReason"):null},set:function(a){this.a.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return G(this,"hidden")?E(this,"hidden"):null},set:function(a){this.a.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?E(this,"name"):null},set:function(a){this.a.name=a}},Ye:{configurable:!0,enumerable:!0,get:function(){return G(this,"returnType")?E(this,"returnType"):null},set:function(a){this.a.returnType=
|
|
a}}});var me=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentName=null==a.Vc?null:a.Vc;this.a.type=null==a.type?null:a.type;this.a.description=null==a.description?null:a.description;this.a.optional=null==a.optional?null:a.optional;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue};n(me,D);me.prototype.f=function(){return{h:{},l:{},keys:["argumentName","defaultValue","description","optional","type"],i:{},j:{}}};
|
|
r.Object.defineProperties(me.prototype,{Vc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentName")?E(this,"argumentName"):null},set:function(a){this.a.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?E(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"optional")?E(this,"optional"):null},set:function(a){this.a.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?E(this,"type"):null},set:function(a){this.a.type=a}}});var ne=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(ne,D);ne.prototype.f=function(){return{h:{values:oe},l:{},keys:["values"],i:{},j:{}}};
|
|
r.Object.defineProperties(ne.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?E(this,"values"):null},set:function(a){this.a.values=a}}});var pe=function(a){a=void 0===a?{}:a;this.a={};this.a.service=null==a.gh?null:a.gh;this.a.exemptedMembers=null==a.tc?null:a.tc;this.a.auditLogConfigs=null==a.Cf?null:a.Cf};n(pe,D);pe.prototype.f=function(){return{h:{auditLogConfigs:qe},l:{},keys:["auditLogConfigs","exemptedMembers","service"],i:{},j:{}}};
|
|
r.Object.defineProperties(pe.prototype,{Cf:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditLogConfigs")?E(this,"auditLogConfigs"):null},set:function(a){this.a.auditLogConfigs=a}},tc:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?E(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},gh:{configurable:!0,enumerable:!0,get:function(){return G(this,"service")?E(this,"service"):null},set:function(a){this.a.service=a}}});
|
|
var qe=function(a){a=void 0===a?{}:a;this.a={};this.a.logType=null==a.Hg?null:a.Hg;this.a.exemptedMembers=null==a.tc?null:a.tc;this.a.ignoreChildExemptions=null==a.vg?null:a.vg};n(qe,D);qe.prototype.f=function(){return{h:{},l:{},keys:["exemptedMembers","ignoreChildExemptions","logType"],i:{},j:{}}};
|
|
r.Object.defineProperties(qe.prototype,{tc:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?E(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},vg:{configurable:!0,enumerable:!0,get:function(){return G(this,"ignoreChildExemptions")?E(this,"ignoreChildExemptions"):null},set:function(a){this.a.ignoreChildExemptions=a}},Hg:{configurable:!0,enumerable:!0,get:function(){return G(this,"logType")?E(this,"logType"):null},set:function(a){this.a.logType=
|
|
a}}});var re=function(a){a=void 0===a?{}:a;this.a={};this.a.permissionType=null==a.Tg?null:a.Tg};n(re,D);re.prototype.f=function(){return{h:{},l:{},keys:["permissionType"],i:{},j:{}}};r.Object.defineProperties(re.prototype,{Tg:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?E(this,"permissionType"):null},set:function(a){this.a.permissionType=a}}});
|
|
var se=function(a){a=void 0===a?{}:a;this.a={};this.a.role=null==a.cc?null:a.cc;this.a.members=null==a.Bb?null:a.Bb;this.a.condition=null==a.Nf?null:a.Nf};n(se,D);se.prototype.f=function(){return{h:{},l:{},keys:["condition","members","role"],i:{},j:{condition:te}}};
|
|
r.Object.defineProperties(se.prototype,{Nf:{configurable:!0,enumerable:!0,get:function(){return G(this,"condition")?E(this,"condition"):null},set:function(a){this.a.condition=a}},Bb:{configurable:!0,enumerable:!0,get:function(){return G(this,"members")?E(this,"members"):null},set:function(a){this.a.members=a}},cc:{configurable:!0,enumerable:!0,get:function(){return G(this,"role")?E(this,"role"):null},set:function(a){this.a.role=a}}});var ue=function(){this.a={}};n(ue,D);
|
|
ue.prototype.f=function(){return{h:{},l:{},keys:[],i:{},j:{}}};var ve=function(a){a=void 0===a?{}:a;this.a={};this.a.capabilities=null==a.Kf?null:a.Kf};n(ve,D);ve.prototype.f=function(){return{h:{},l:{},keys:["capabilities"],i:{},j:{}}};r.Object.defineProperties(ve.prototype,{Kf:{configurable:!0,enumerable:!0,get:function(){return G(this,"capabilities")?E(this,"capabilities"):null},set:function(a){this.a.capabilities=a}}});
|
|
var we=function(a){a=void 0===a?{}:a;this.a={};this.a.logName=null==a.Gg?null:a.Gg;this.a.authorizationLoggingOptions=null==a.Df?null:a.Df};n(we,D);we.prototype.f=function(){return{h:{},l:{},keys:["authorizationLoggingOptions","logName"],i:{},j:{authorizationLoggingOptions:re}}};
|
|
r.Object.defineProperties(we.prototype,{Df:{configurable:!0,enumerable:!0,get:function(){return G(this,"authorizationLoggingOptions")?E(this,"authorizationLoggingOptions"):null},set:function(a){this.a.authorizationLoggingOptions=a}},Gg:{configurable:!0,enumerable:!0,get:function(){return G(this,"logName")?E(this,"logName"):null},set:function(a){this.a.logName=a}}});var xe=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m};n(xe,D);
|
|
xe.prototype.f=function(){return{h:{},l:{},keys:["expression"],i:{},j:{expression:ye}}};r.Object.defineProperties(xe.prototype,{m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?E(this,"expression"):null},set:function(a){this.a.expression=a}}});var ze=function(a){a=void 0===a?{}:a;this.a={};this.a.result=null==a.result?null:a.result};n(ze,D);ze.prototype.f=function(){return{h:{},l:{},keys:["result"],i:{},j:{}}};
|
|
r.Object.defineProperties(ze.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?E(this,"result"):null},set:function(a){this.a.result=a}}});var Ae=function(a){a=void 0===a?{}:a;this.a={};this.a.iam=null==a.rg?null:a.rg;this.a.sys=null==a.nh?null:a.nh;this.a.svc=null==a.mh?null:a.mh;this.a.op=null==a.Rg?null:a.Rg;this.a.values=null==a.values?null:a.values};n(Ae,D);Ae.prototype.f=function(){return{h:{},l:{},keys:["iam","op","svc","sys","values"],i:{},j:{}}};
|
|
r.Object.defineProperties(Ae.prototype,{rg:{configurable:!0,enumerable:!0,get:function(){return G(this,"iam")?E(this,"iam"):null},set:function(a){this.a.iam=a}},Rg:{configurable:!0,enumerable:!0,get:function(){return G(this,"op")?E(this,"op"):null},set:function(a){this.a.op=a}},mh:{configurable:!0,enumerable:!0,get:function(){return G(this,"svc")?E(this,"svc"):null},set:function(a){this.a.svc=a}},nh:{configurable:!0,enumerable:!0,get:function(){return G(this,"sys")?E(this,"sys"):null},set:function(a){this.a.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?E(this,"values"):null},set:function(a){this.a.values=a}}});var Be=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.pb?null:a.pb;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.bandIds=null==a.fa?null:a.fa};n(Be,D);Be.prototype.f=function(){return{h:{},l:{},keys:["bandIds","destinationName","overwrite"],i:{},j:{}}};
|
|
r.Object.defineProperties(Be.prototype,{fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},pb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?E(this,"destinationName"):null},set:function(a){this.a.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.a.overwrite=a}}});
|
|
var Ce=function(a){a=void 0===a?{}:a;this.a={};this.a.metric=null==a.Jg?null:a.Jg;this.a.field=null==a.dg?null:a.dg};n(Ce,D);Ce.prototype.f=function(){return{h:{},l:{},keys:["field","metric"],i:{},j:{}}};r.Object.defineProperties(Ce.prototype,{dg:{configurable:!0,enumerable:!0,get:function(){return G(this,"field")?E(this,"field"):null},set:function(a){this.a.field=a}},Jg:{configurable:!0,enumerable:!0,get:function(){return G(this,"metric")?E(this,"metric"):null},set:function(a){this.a.metric=a}}});
|
|
var De=function(a){a=void 0===a?{}:a;this.a={};this.a.logMode=null==a.Fg?null:a.Fg};n(De,D);De.prototype.f=function(){return{h:{},l:{},keys:["logMode"],i:{},j:{}}};r.Object.defineProperties(De.prototype,{Fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"logMode")?E(this,"logMode"):null},set:function(a){this.a.logMode=a}}});var Ee=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(Ee,D);
|
|
Ee.prototype.f=function(){return{h:{},l:{},keys:["values"],i:{values:{ga:oe,la:!1,ma:!0,na:!1}},j:{}}};r.Object.defineProperties(Ee.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?E(this,"values"):null},set:function(a){this.a.values=a}}});var Fe=function(a){a=void 0===a?{}:a;this.a={};this.a.min=null==a.min?null:a.min;this.a.max=null==a.max?null:a.max};n(Fe,D);Fe.prototype.f=function(){return{h:{},l:{},keys:["max","min"],i:{},j:{}}};
|
|
r.Object.defineProperties(Fe.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return G(this,"max")?E(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return G(this,"min")?E(this,"min"):null},set:function(a){this.a.min=a}}});var Ge=function(a){a=void 0===a?{}:a;this.a={};this.a.folder=null==a.pe?null:a.pe;this.a.filenamePrefix=null==a.sb?null:a.sb};n(Ge,D);
|
|
Ge.prototype.f=function(){return{h:{},l:{},keys:["filenamePrefix","folder"],i:{},j:{}}};r.Object.defineProperties(Ge.prototype,{sb:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},pe:{configurable:!0,enumerable:!0,get:function(){return G(this,"folder")?E(this,"folder"):null},set:function(a){this.a.folder=a}}});
|
|
var He=function(a){a=void 0===a?{}:a;this.a={};this.a.type=null==a.type?null:a.type;this.a.name=null==a.name?null:a.name;this.a.id=null==a.id?null:a.id;this.a.updateTime=null==a.Ha?null:a.Ha;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.properties=null==a.properties?null:a.properties;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.geometry=null==a.geometry?null:a.geometry;this.a.bands=
|
|
null==a.bands?null:a.bands;this.a.sizeBytes=null==a.Ea?null:a.Ea;this.a.quota=null==a.quota?null:a.quota;this.a.tilestoreEntry=null==a.qh?null:a.qh};n(He,D);He.prototype.f=function(){return{h:{bands:Ie},l:{},keys:"bands description endTime geometry id name properties quota sizeBytes startTime tilestoreEntry title type updateTime".split(" "),i:{geometry:{ga:null,la:!1,ma:!1,na:!1},properties:{ga:null,la:!1,ma:!1,na:!1}},j:{quota:Je,tilestoreEntry:Ke}}};
|
|
r.Object.defineProperties(He.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?E(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?E(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"geometry")?E(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?E(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?E(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?E(this,"properties"):null},set:function(a){this.a.properties=a}},quota:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"quota")?E(this,"quota"):null},set:function(a){this.a.quota=a}},Ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?E(this,"startTime"):null},set:function(a){this.a.startTime=a}},qh:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilestoreEntry")?E(this,"tilestoreEntry"):null},
|
|
set:function(a){this.a.tilestoreEntry=a}},title:{configurable:!0,enumerable:!0,get:function(){return G(this,"title")?E(this,"title"):null},set:function(a){this.a.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?E(this,"type"):null},set:function(a){this.a.type=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?E(this,"updateTime"):null},set:function(a){this.a.updateTime=a}}});
|
|
var Le=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name};n(Le,D);Le.prototype.f=function(){return{h:{},l:{},keys:["name"],i:{},j:{}}};r.Object.defineProperties(Le.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?E(this,"name"):null},set:function(a){this.a.name=a}}});
|
|
var Me=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.m?null:a.m;this.a.fileFormat=null==a.I?null:a.I;this.a.bandIds=null==a.fa?null:a.fa;this.a.visualizationOptions=null==a.Kb?null:a.Kb};n(Me,D);Me.prototype.f=function(){return{h:{},l:{},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],i:{},j:{expression:ye,visualizationOptions:Ne}}};
|
|
r.Object.defineProperties(Me.prototype,{fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?E(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.a.name=a}},Kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?E(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});var Oe=function(){this.a={}};n(Oe,D);Oe.prototype.f=function(){return{h:{},l:{},keys:[],i:{},j:{}}};
|
|
var Pe=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;this.a.description=null==a.description?null:a.description;this.a.fileExportOptions=null==a.ia?null:a.ia;this.a.assetExportOptions=null==a.Sa?null:a.Sa;this.a.maxPixels=null==a.Ie?null:a.Ie;this.a.grid=null==a.K?null:a.K;this.a.requestId=null==a.L?null:a.L};n(Pe,D);
|
|
Pe.prototype.f=function(){return{h:{},l:{},keys:"assetExportOptions description expression fileExportOptions grid maxPixels requestId".split(" "),i:{},j:{assetExportOptions:Qe,expression:ye,fileExportOptions:Re,grid:Se}}};
|
|
r.Object.defineProperties(Pe.prototype,{Sa:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?E(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?E(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?E(this,"grid"):null},set:function(a){this.a.grid=a}},Ie:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixels")?E(this,"maxPixels"):null},set:function(a){this.a.maxPixels=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?E(this,
|
|
"requestId"):null},set:function(a){this.a.requestId=a}}});var Te=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;this.a.description=null==a.description?null:a.description;this.a.tileOptions=null==a.Hb?null:a.Hb;this.a.tileExportOptions=null==a.Gb?null:a.Gb;this.a.requestId=null==a.L?null:a.L};n(Te,D);Te.prototype.f=function(){return{h:{},l:{},keys:["description","expression","requestId","tileExportOptions","tileOptions"],i:{},j:{expression:ye,tileExportOptions:Re,tileOptions:Ue}}};
|
|
r.Object.defineProperties(Te.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?E(this,"expression"):null},set:function(a){this.a.expression=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?E(this,"requestId"):null},set:function(a){this.a.requestId=a}},Gb:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"tileExportOptions")?E(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Hb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?E(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}}});
|
|
var Ve=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;this.a.description=null==a.description?null:a.description;this.a.fileExportOptions=null==a.ia?null:a.ia;this.a.assetExportOptions=null==a.Sa?null:a.Sa;this.a.selectors=null==a.selectors?null:a.selectors;this.a.maxErrorMeters=null==a.Ab?null:a.Ab;this.a.requestId=null==a.L?null:a.L};n(Ve,D);
|
|
Ve.prototype.f=function(){return{h:{},l:{},keys:"assetExportOptions description expression fileExportOptions maxErrorMeters requestId selectors".split(" "),i:{},j:{assetExportOptions:We,expression:ye,fileExportOptions:Xe}}};
|
|
r.Object.defineProperties(Ve.prototype,{Sa:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?E(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?E(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},Ab:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?E(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?E(this,"requestId"):null},set:function(a){this.a.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"selectors")?E(this,"selectors"):null},set:function(a){this.a.selectors=a}}});var Ye=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Ia?null:a.Ia;this.a.tileOptions=null==a.Hb?null:a.Hb;this.a.tileExportOptions=null==a.Gb?null:a.Gb;this.a.requestId=null==a.L?null:a.L;this.a.version=null==a.version?null:a.version};n(Ye,D);
|
|
Ye.prototype.f=function(){return{h:{},l:{},keys:"description expression requestId tileExportOptions tileOptions version videoOptions".split(" "),i:{},j:{expression:ye,tileExportOptions:Ze,tileOptions:Ue,videoOptions:$e}}};
|
|
r.Object.defineProperties(Ye.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?E(this,"expression"):null},set:function(a){this.a.expression=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?E(this,"requestId"):null},set:function(a){this.a.requestId=a}},Gb:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"tileExportOptions")?E(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Hb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?E(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?E(this,"version"):null},set:function(a){this.a.version=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?E(this,"videoOptions"):
|
|
null},set:function(a){this.a.videoOptions=a}}});var af=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Ia?null:a.Ia;this.a.fileExportOptions=null==a.ia?null:a.ia;this.a.requestId=null==a.L?null:a.L};n(af,D);af.prototype.f=function(){return{h:{},l:{},keys:["description","expression","fileExportOptions","requestId","videoOptions"],i:{},j:{expression:ye,fileExportOptions:Ze,videoOptions:$e}}};
|
|
r.Object.defineProperties(af.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?E(this,"expression"):null},set:function(a){this.a.expression=a}},ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},L:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"requestId")?E(this,"requestId"):null},set:function(a){this.a.requestId=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?E(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});var te=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.location=null==a.location?null:a.location};
|
|
n(te,D);te.prototype.f=function(){return{h:{},l:{},keys:["description","expression","location","title"],i:{},j:{}}};
|
|
r.Object.defineProperties(te.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?E(this,"expression"):null},set:function(a){this.a.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return G(this,"location")?E(this,"location"):null},set:function(a){this.a.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"title")?E(this,"title"):null},set:function(a){this.a.title=a}}});var ye=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values;this.a.result=null==a.result?null:a.result};n(ye,D);ye.prototype.f=function(){return{h:{},l:{},keys:["result","values"],i:{values:{ga:oe,la:!1,ma:!0,na:!1}},j:{}}};
|
|
r.Object.defineProperties(ye.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?E(this,"result"):null},set:function(a){this.a.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?E(this,"values"):null},set:function(a){this.a.values=a}}});
|
|
var bf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.m?null:a.m;this.a.orientation=null==a.orientation?null:a.orientation;this.a.fileFormat=null==a.I?null:a.I;this.a.grid=null==a.K?null:a.K};n(bf,D);bf.prototype.f=function(){return{h:{},l:{},keys:["expression","fileFormat","grid","name","orientation"],i:{},j:{expression:ye,grid:Se}}};
|
|
r.Object.defineProperties(bf.prototype,{m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?E(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?E(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.a.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return G(this,"orientation")?E(this,"orientation"):null},set:function(a){this.a.orientation=a}}});var Je=function(a){a=void 0===a?{}:a;this.a={};this.a.sizeBytes=null==a.Ea?null:a.Ea;this.a.maxSizeBytes=null==a.Vb?null:a.Vb;this.a.assetCount=null==a.xf?null:a.xf;this.a.maxAssetCount=null==a.Ig?null:a.Ig};n(Je,D);
|
|
Je.prototype.f=function(){return{h:{},l:{},keys:["assetCount","maxAssetCount","maxSizeBytes","sizeBytes"],i:{},j:{}}};
|
|
r.Object.defineProperties(Je.prototype,{xf:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetCount")?E(this,"assetCount"):null},set:function(a){this.a.assetCount=a}},Ig:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxAssetCount")?E(this,"maxAssetCount"):null},set:function(a){this.a.maxAssetCount=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?E(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},Ea:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}}});var cf=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentNames=null==a.Wc?null:a.Wc;this.a.body=null==a.body?null:a.body};n(cf,D);cf.prototype.f=function(){return{h:{},l:{},keys:["argumentNames","body"],i:{},j:{}}};
|
|
r.Object.defineProperties(cf.prototype,{Wc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentNames")?E(this,"argumentNames"):null},set:function(a){this.a.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return G(this,"body")?E(this,"body"):null},set:function(a){this.a.body=a}}});
|
|
var df=function(a){a=void 0===a?{}:a;this.a={};this.a.functionName=null==a.functionName?null:a.functionName;this.a.functionReference=null==a.Tb?null:a.Tb;this.a.arguments=null==a.arguments?null:a.arguments};n(df,D);df.prototype.f=function(){return{h:{},l:{},keys:["arguments","functionName","functionReference"],i:{arguments:{ga:oe,la:!1,ma:!0,na:!1}},j:{}}};
|
|
r.Object.defineProperties(df.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?E(this,"arguments"):null},set:function(a){this.a.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionName")?E(this,"functionName"):null},set:function(a){this.a.functionName=a}},Tb:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionReference")?E(this,"functionReference"):null},set:function(a){this.a.functionReference=
|
|
a}}});var ef=function(a){a=void 0===a?{}:a;this.a={};this.a.bucket=null==a.Sd?null:a.Sd;this.a.filenamePrefix=null==a.sb?null:a.sb;this.a.permissions=null==a.permissions?null:a.permissions;this.a.bucketCorsUris=null==a.Td?null:a.Td};n(ef,D);ef.prototype.f=function(){return{h:{},l:{},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"],i:{},j:{}}};
|
|
r.Object.defineProperties(ef.prototype,{Sd:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucket")?E(this,"bucket"):null},set:function(a){this.a.bucket=a}},Td:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucketCorsUris")?E(this,"bucketCorsUris"):null},set:function(a){this.a.bucketCorsUris=a}},sb:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"permissions")?E(this,"permissions"):null},set:function(a){this.a.permissions=a}}});r.Object.defineProperties(ef,{Permissions:{configurable:!0,enumerable:!0,get:function(){return je}}});var ff=function(a){a=void 0===a?{}:a;this.a={};this.a.cloudOptimized=null==a.Wd?null:a.Wd;this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.skipEmptyFiles=null==a.gf?null:a.gf};n(ff,D);
|
|
ff.prototype.f=function(){return{h:{},l:{},keys:["cloudOptimized","skipEmptyFiles","tileDimensions"],i:{},j:{tileDimensions:gf}}};
|
|
r.Object.defineProperties(ff.prototype,{Wd:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudOptimized")?E(this,"cloudOptimized"):null},set:function(a){this.a.cloudOptimized=a}},gf:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyFiles")?E(this,"skipEmptyFiles"):null},set:function(a){this.a.skipEmptyFiles=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?E(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
|
|
var hf=function(a){a=void 0===a?{}:a;this.a={};this.a.options=null==a.options?null:a.options};n(hf,D);hf.prototype.f=function(){return{h:{},l:{},keys:["options"],i:{},j:{options:jf}}};r.Object.defineProperties(hf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return G(this,"options")?E(this,"options"):null},set:function(a){this.a.options=a}}});var jf=function(a){a=void 0===a?{}:a;this.a={};this.a.requestedPolicyVersion=null==a.$g?null:a.$g};n(jf,D);
|
|
jf.prototype.f=function(){return{h:{},l:{},keys:["requestedPolicyVersion"],i:{},j:{}}};r.Object.defineProperties(jf.prototype,{$g:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestedPolicyVersion")?E(this,"requestedPolicyVersion"):null},set:function(a){this.a.requestedPolicyVersion=a}}});var gf=function(a){a=void 0===a?{}:a;this.a={};this.a.width=null==a.width?null:a.width;this.a.height=null==a.height?null:a.height};n(gf,D);
|
|
gf.prototype.f=function(){return{h:{},l:{},keys:["height","width"],i:{},j:{}}};r.Object.defineProperties(gf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return G(this,"height")?E(this,"height"):null},set:function(a){this.a.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return G(this,"width")?E(this,"width"):null},set:function(a){this.a.width=a}}});var kf=function(a){a=void 0===a?{}:a;this.a={};this.a.x=null==a.x?null:a.x;this.a.y=null==a.y?null:a.y};n(kf,D);
|
|
kf.prototype.f=function(){return{h:{},l:{},keys:["x","y"],i:{},j:{}}};r.Object.defineProperties(kf.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return G(this,"x")?E(this,"x"):null},set:function(a){this.a.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return G(this,"y")?E(this,"y"):null},set:function(a){this.a.y=a}}});
|
|
var lf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.id=null==a.id?null:a.id;this.a.updateTime=null==a.Ha?null:a.Ha;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.properties=null==a.properties?null:a.properties;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.geometry=null==a.geometry?null:a.geometry;this.a.bands=null==a.bands?null:a.bands;this.a.sizeBytes=
|
|
null==a.Ea?null:a.Ea};n(lf,D);lf.prototype.f=function(){return{h:{bands:Ie},l:{},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),i:{geometry:{ga:null,la:!1,ma:!1,na:!1},properties:{ga:null,la:!1,ma:!1,na:!1}},j:{}}};
|
|
r.Object.defineProperties(lf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?E(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?E(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"geometry")?E(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?E(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?E(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?E(this,"properties"):null},set:function(a){this.a.properties=a}},Ea:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?E(this,"startTime"):null},set:function(a){this.a.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return G(this,"title")?E(this,"title"):null},set:function(a){this.a.title=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?E(this,"updateTime"):null},set:function(a){this.a.updateTime=
|
|
a}}});var Qe=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.rb?null:a.rb;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.pyramidingPolicyOverrides=null==a.Te?null:a.Te};n(Qe,D);Qe.prototype.f=function(){return{h:{},l:{},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides"],i:{pyramidingPolicyOverrides:{ga:null,la:!1,ma:!1,na:!1}},j:{earthEngineDestination:Le}}};
|
|
r.Object.defineProperties(Qe.prototype,{rb:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Te:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicyOverrides")?E(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.a.pyramidingPolicyOverrides=a}}});var Ie=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.dataType=null==a.dataType?null:a.dataType;this.a.grid=null==a.K?null:a.K;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.missingData=null==a.missingData?null:a.missingData};n(Ie,D);
|
|
Ie.prototype.f=function(){return{h:{tilesets:mf},l:{},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),i:{},j:{dataType:nf,grid:Se,missingData:of}}};
|
|
r.Object.defineProperties(Ie.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?E(this,"dataType"):null},set:function(a){this.a.dataType=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?E(this,"grid"):null},set:function(a){this.a.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?E(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?
|
|
E(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?E(this,"tilesets"):null},set:function(a){this.a.tilesets=a}}});
|
|
var Re=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.I?null:a.I;this.a.driveDestination=null==a.ha?null:a.ha;this.a.gcsDestination=null==a.ja?null:a.ja;this.a.geoTiffOptions=null==a.dd?null:a.dd;this.a.tfRecordOptions=null==a.Ad?null:a.Ad};n(Re,D);Re.prototype.f=function(){return{h:{},l:{},keys:["driveDestination","fileFormat","gcsDestination","geoTiffOptions","tfRecordOptions"],i:{},j:{driveDestination:Ge,gcsDestination:ef,geoTiffOptions:ff,tfRecordOptions:pf}}};
|
|
r.Object.defineProperties(Re.prototype,{ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ja:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?E(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}},dd:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"geoTiffOptions")?E(this,"geoTiffOptions"):null},set:function(a){this.a.geoTiffOptions=a}},Ad:{configurable:!0,enumerable:!0,get:function(){return G(this,"tfRecordOptions")?E(this,"tfRecordOptions"):null},set:function(a){this.a.tfRecordOptions=a}}});
|
|
var qf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.properties=null==a.properties?null:a.properties;this.a.uriPrefix=null==a.Qc?null:a.Qc;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.bands=null==a.bands?null:a.bands;this.a.maskBands=null==a.Ge?null:a.Ge;this.a.footprint=null==a.jg?null:a.jg;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.startTime=null==a.startTime?
|
|
null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};n(qf,D);qf.prototype.f=function(){return{h:{bands:rf,maskBands:sf,tilesets:tf},l:{},keys:"bands endTime footprint maskBands missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),i:{properties:{ga:null,la:!1,ma:!1,na:!1}},j:{footprint:uf,missingData:of}}};
|
|
r.Object.defineProperties(qf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?E(this,"bands"):null},set:function(a){this.a.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?E(this,"endTime"):null},set:function(a){this.a.endTime=a}},jg:{configurable:!0,enumerable:!0,get:function(){return G(this,"footprint")?E(this,"footprint"):null},set:function(a){this.a.footprint=a}},Ge:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"maskBands")?E(this,"maskBands"):null},set:function(a){this.a.maskBands=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?E(this,"missingData"):null},set:function(a){this.a.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?E(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?E(this,"properties"):null},set:function(a){this.a.properties=
|
|
a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?E(this,"startTime"):null},set:function(a){this.a.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?E(this,"tilesets"):null},set:function(a){this.a.tilesets=a}},Qc:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"uriPrefix")?E(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});var vf=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.hc?null:a.hc;this.a.affineTransform=null==a.ea?null:a.ea};n(vf,D);vf.prototype.f=function(){return{h:{},l:{},keys:["affineTransform","uris"],i:{},j:{affineTransform:ke}}};
|
|
r.Object.defineProperties(vf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?E(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?E(this,"uris"):null},set:function(a){this.a.uris=a}}});
|
|
var wf=function(a){a=void 0===a?{}:a;this.a={};this.a.imageManifest=null==a.we?null:a.we;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.L?null:a.L};n(wf,D);wf.prototype.f=function(){return{h:{},l:{},keys:["description","imageManifest","overwrite","requestId"],i:{},j:{imageManifest:qf}}};
|
|
r.Object.defineProperties(wf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},we:{configurable:!0,enumerable:!0,get:function(){return G(this,"imageManifest")?E(this,"imageManifest"):null},set:function(a){this.a.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},L:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"requestId")?E(this,"requestId"):null},set:function(a){this.a.requestId=a}}});var xf=function(a){a=void 0===a?{}:a;this.a={};this.a.tableManifest=null==a.nf?null:a.nf;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.L?null:a.L};n(xf,D);xf.prototype.f=function(){return{h:{},l:{},keys:["description","overwrite","requestId","tableManifest"],i:{},j:{tableManifest:yf}}};
|
|
r.Object.defineProperties(xf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?E(this,"requestId"):null},set:function(a){this.a.requestId=a}},nf:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"tableManifest")?E(this,"tableManifest"):null},set:function(a){this.a.tableManifest=a}}});var zf=function(a){a=void 0===a?{}:a;this.a={};this.a.algorithms=null==a.kc?null:a.kc};n(zf,D);zf.prototype.f=function(){return{h:{algorithms:le},l:{},keys:["algorithms"],i:{},j:{}}};r.Object.defineProperties(zf.prototype,{kc:{configurable:!0,enumerable:!0,get:function(){return G(this,"algorithms")?E(this,"algorithms"):null},set:function(a){this.a.algorithms=a}}});
|
|
var Af=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.P?null:a.P;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(Af,D);Af.prototype.f=function(){return{h:{assets:He},l:{},keys:["assets","nextPageToken"],i:{},j:{}}};
|
|
r.Object.defineProperties(Af.prototype,{P:{configurable:!0,enumerable:!0,get:function(){return G(this,"assets")?E(this,"assets"):null},set:function(a){this.a.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});var Bf=function(a){a=void 0===a?{}:a;this.a={};this.a.images=null==a.images?null:a.images;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(Bf,D);
|
|
Bf.prototype.f=function(){return{h:{images:lf},l:{},keys:["images","nextPageToken"],i:{},j:{}}};r.Object.defineProperties(Bf.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return G(this,"images")?E(this,"images"):null},set:function(a){this.a.images=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});
|
|
var Cf=function(a){a=void 0===a?{}:a;this.a={};this.a.operations=null==a.Da?null:a.Da;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(Cf,D);Cf.prototype.f=function(){return{h:{operations:Df},l:{},keys:["nextPageToken","operations"],i:{},j:{}}};
|
|
r.Object.defineProperties(Cf.prototype,{nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}},Da:{configurable:!0,enumerable:!0,get:function(){return G(this,"operations")?E(this,"operations"):null},set:function(a){this.a.operations=a}}});
|
|
var Ef=function(a){a=void 0===a?{}:a;this.a={};this.a.counter=null==a.Rf?null:a.Rf;this.a.dataAccess=null==a.Wf?null:a.Wf;this.a.cloudAudit=null==a.Mf?null:a.Mf};n(Ef,D);Ef.prototype.f=function(){return{h:{},l:{},keys:["cloudAudit","counter","dataAccess"],i:{},j:{cloudAudit:we,counter:Ce,dataAccess:De}}};
|
|
r.Object.defineProperties(Ef.prototype,{Mf:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudAudit")?E(this,"cloudAudit"):null},set:function(a){this.a.cloudAudit=a}},Rf:{configurable:!0,enumerable:!0,get:function(){return G(this,"counter")?E(this,"counter"):null},set:function(a){this.a.counter=a}},Wf:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataAccess")?E(this,"dataAccess"):null},set:function(a){this.a.dataAccess=a}}});
|
|
var of=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(of,D);of.prototype.f=function(){return{h:{},l:{},keys:["values"],i:{},j:{}}};r.Object.defineProperties(of.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?E(this,"values"):null},set:function(a){this.a.values=a}}});var Ff=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.pb?null:a.pb};n(Ff,D);
|
|
Ff.prototype.f=function(){return{h:{},l:{},keys:["destinationName"],i:{},j:{}}};r.Object.defineProperties(Ff.prototype,{pb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?E(this,"destinationName"):null},set:function(a){this.a.destinationName=a}}});
|
|
var Df=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.metadata=null==a.Je?null:a.Je;this.a.done=null==a.done?null:a.done;this.a.error=null==a.error?null:a.error;this.a.response=null==a.response?null:a.response};n(Df,D);Df.prototype.f=function(){return{h:{},l:{},keys:["done","error","metadata","name","response"],i:{metadata:{ga:null,la:!1,ma:!1,na:!1},response:{ga:null,la:!1,ma:!1,na:!1}},j:{error:Gf}}};
|
|
r.Object.defineProperties(Df.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return G(this,"done")?E(this,"done"):null},set:function(a){this.a.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return G(this,"error")?E(this,"error"):null},set:function(a){this.a.error=a}},Je:{configurable:!0,enumerable:!0,get:function(){return G(this,"metadata")?E(this,"metadata"):null},set:function(a){this.a.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?
|
|
E(this,"name"):null},set:function(a){this.a.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return G(this,"response")?E(this,"response"):null},set:function(a){this.a.response=a}}});
|
|
var Hf=function(a){a=void 0===a?{}:a;this.a={};this.a.state=null==a.state?null:a.state;this.a.description=null==a.description?null:a.description;this.a.type=null==a.type?null:a.type;this.a.priority=null==a.priority?null:a.priority;this.a.createTime=null==a.be?null:a.be;this.a.updateTime=null==a.Ha?null:a.Ha;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.scriptUri=null==a.af?null:a.af;this.a.destinationUris=null==a.fe?null:a.fe};n(Hf,D);
|
|
Hf.prototype.f=function(){return{h:{},l:{},keys:"createTime description destinationUris endTime priority scriptUri startTime state type updateTime".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(Hf.prototype,{be:{configurable:!0,enumerable:!0,get:function(){return G(this,"createTime")?E(this,"createTime"):null},set:function(a){this.a.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},fe:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationUris")?E(this,"destinationUris"):null},set:function(a){this.a.destinationUris=a}},endTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"endTime")?E(this,"endTime"):null},set:function(a){this.a.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?E(this,"priority"):null},set:function(a){this.a.priority=a}},af:{configurable:!0,enumerable:!0,get:function(){return G(this,"scriptUri")?E(this,"scriptUri"):null},set:function(a){this.a.scriptUri=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?E(this,"startTime"):null},
|
|
set:function(a){this.a.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return G(this,"state")?E(this,"state"):null},set:function(a){this.a.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?E(this,"type"):null},set:function(a){this.a.type=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?E(this,"updateTime"):null},set:function(a){this.a.updateTime=a}}});
|
|
var nf=function(a){a=void 0===a?{}:a;this.a={};this.a.precision=null==a.precision?null:a.precision;this.a.range=null==a.Jc?null:a.Jc;this.a.dimensionsCount=null==a.ag?null:a.ag};n(nf,D);nf.prototype.f=function(){return{h:{},l:{},keys:["dimensionsCount","precision","range"],i:{},j:{range:Fe}}};
|
|
r.Object.defineProperties(nf.prototype,{ag:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensionsCount")?E(this,"dimensionsCount"):null},set:function(a){this.a.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return G(this,"precision")?E(this,"precision"):null},set:function(a){this.a.precision=a}},Jc:{configurable:!0,enumerable:!0,get:function(){return G(this,"range")?E(this,"range"):null},set:function(a){this.a.range=a}}});
|
|
var uf=function(a){a=void 0===a?{}:a;this.a={};this.a.points=null==a.Ug?null:a.Ug;this.a.bandId=null==a.Ef?null:a.Ef};n(uf,D);uf.prototype.f=function(){return{h:{points:kf},l:{},keys:["bandId","points"],i:{},j:{}}};
|
|
r.Object.defineProperties(uf.prototype,{Ef:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandId")?E(this,"bandId"):null},set:function(a){this.a.bandId=a}},Ug:{configurable:!0,enumerable:!0,get:function(){return G(this,"points")?E(this,"points"):null},set:function(a){this.a.points=a}}});
|
|
var Se=function(a){a=void 0===a?{}:a;this.a={};this.a.crsCode=null==a.ce?null:a.ce;this.a.crsWkt=null==a.Tf?null:a.Tf;this.a.dimensions=null==a.dimensions?null:a.dimensions;this.a.affineTransform=null==a.ea?null:a.ea};n(Se,D);Se.prototype.f=function(){return{h:{},l:{},keys:["affineTransform","crsCode","crsWkt","dimensions"],i:{},j:{affineTransform:ke,dimensions:gf}}};
|
|
r.Object.defineProperties(Se.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?E(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},ce:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsCode")?E(this,"crsCode"):null},set:function(a){this.a.crsCode=a}},Tf:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsWkt")?E(this,"crsWkt"):null},set:function(a){this.a.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"dimensions")?E(this,"dimensions"):null},set:function(a){this.a.dimensions=a}}});var If=function(a){a=void 0===a?{}:a;this.a={};this.a.version=null==a.version?null:a.version;this.a.bindings=null==a.Xc?null:a.Xc;this.a.auditConfigs=null==a.Bf?null:a.Bf;this.a.rules=null==a.rules?null:a.rules;this.a.etag=null==a.je?null:a.je;this.a.iamOwned=null==a.sg?null:a.sg};n(If,D);
|
|
If.prototype.f=function(){return{h:{auditConfigs:pe,bindings:se,rules:Jf},l:{},keys:"auditConfigs bindings etag iamOwned rules version".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(If.prototype,{Bf:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditConfigs")?E(this,"auditConfigs"):null},set:function(a){this.a.auditConfigs=a}},Xc:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindings")?E(this,"bindings"):null},set:function(a){this.a.bindings=a}},je:{configurable:!0,enumerable:!0,get:function(){return G(this,"etag")?E(this,"etag"):null},set:function(a){this.a.etag=a}},sg:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"iamOwned")?E(this,"iamOwned"):null},set:function(a){this.a.iamOwned=a}},rules:{configurable:!0,enumerable:!0,get:function(){return G(this,"rules")?E(this,"rules"):null},set:function(a){this.a.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?E(this,"version"):null},set:function(a){this.a.version=a}}});
|
|
var Jf=function(a){a=void 0===a?{}:a;this.a={};this.a.description=null==a.description?null:a.description;this.a.permissions=null==a.permissions?null:a.permissions;this.a.action=null==a.action?null:a.action;this.a["in"]=null==a.xg?null:a.xg;this.a.notIn=null==a.Mg?null:a.Mg;this.a.conditions=null==a.conditions?null:a.conditions;this.a.logConfig=null==a.Eg?null:a.Eg};n(Jf,D);
|
|
Jf.prototype.f=function(){return{h:{conditions:Ae,logConfig:Ef},l:{},keys:"action conditions description in logConfig notIn permissions".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(Jf.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return G(this,"action")?E(this,"action"):null},set:function(a){this.a.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return G(this,"conditions")?E(this,"conditions"):null},set:function(a){this.a.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?E(this,"description"):null},set:function(a){this.a.description=a}},xg:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"in")?E(this,"in"):null},set:function(a){this.a["in"]=a}},Eg:{configurable:!0,enumerable:!0,get:function(){return G(this,"logConfig")?E(this,"logConfig"):null},set:function(a){this.a.logConfig=a}},Mg:{configurable:!0,enumerable:!0,get:function(){return G(this,"notIn")?E(this,"notIn"):null},set:function(a){this.a.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissions")?E(this,"permissions"):null},set:function(a){this.a.permissions=
|
|
a}}});var Kf=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.P?null:a.P;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(Kf,D);Kf.prototype.f=function(){return{h:{assets:He},l:{},keys:["assets","nextPageToken"],i:{},j:{}}};
|
|
r.Object.defineProperties(Kf.prototype,{P:{configurable:!0,enumerable:!0,get:function(){return G(this,"assets")?E(this,"assets"):null},set:function(a){this.a.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});var Lf=function(a){a=void 0===a?{}:a;this.a={};this.a.policy=null==a.Ne?null:a.Ne;this.a.updateMask=null==a.gc?null:a.gc};n(Lf,D);
|
|
Lf.prototype.f=function(){return{h:{},l:{},keys:["policy","updateMask"],i:{},j:{policy:If}}};r.Object.defineProperties(Lf.prototype,{Ne:{configurable:!0,enumerable:!0,get:function(){return G(this,"policy")?E(this,"policy"):null},set:function(a){this.a.policy=a}},gc:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?E(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
|
|
var Gf=function(a){a=void 0===a?{}:a;this.a={};this.a.code=null==a.code?null:a.code;this.a.message=null==a.message?null:a.message;this.a.details=null==a.$f?null:a.$f};n(Gf,D);Gf.prototype.f=function(){return{h:{},l:{},keys:["code","details","message"],i:{details:{ga:null,la:!0,ma:!1,na:!1}},j:{}}};
|
|
r.Object.defineProperties(Gf.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return G(this,"code")?E(this,"code"):null},set:function(a){this.a.code=a}},$f:{configurable:!0,enumerable:!0,get:function(){return G(this,"details")?E(this,"details"):null},set:function(a){this.a.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return G(this,"message")?E(this,"message"):null},set:function(a){this.a.message=a}}});
|
|
var We=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.rb?null:a.rb};n(We,D);We.prototype.f=function(){return{h:{},l:{},keys:["earthEngineDestination"],i:{},j:{earthEngineDestination:Le}}};r.Object.defineProperties(We.prototype,{rb:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}}});
|
|
var Xe=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.I?null:a.I;this.a.driveDestination=null==a.ha?null:a.ha;this.a.gcsDestination=null==a.ja?null:a.ja};n(Xe,D);Xe.prototype.f=function(){return{h:{},l:{},keys:["driveDestination","fileFormat","gcsDestination"],i:{},j:{driveDestination:Ge,gcsDestination:ef}}};
|
|
r.Object.defineProperties(Xe.prototype,{ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ja:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?E(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
|
|
var yf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.properties=null==a.properties?null:a.properties;this.a.uriPrefix=null==a.Qc?null:a.Qc;this.a.sources=null==a.sources?null:a.sources;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};n(yf,D);yf.prototype.f=function(){return{h:{sources:Mf},l:{},keys:"endTime name properties sources startTime uriPrefix".split(" "),i:{properties:{ga:null,la:!1,ma:!1,na:!1}},j:{}}};
|
|
r.Object.defineProperties(yf.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?E(this,"endTime"):null},set:function(a){this.a.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?E(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?E(this,"properties"):null},set:function(a){this.a.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sources")?E(this,"sources"):null},set:function(a){this.a.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?E(this,"startTime"):null},set:function(a){this.a.startTime=a}},Qc:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?E(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});
|
|
var Mf=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.hc?null:a.hc;this.a.charset=null==a.charset?null:a.charset;this.a.maxErrorMeters=null==a.Ab?null:a.Ab;this.a.maxVertices=null==a.maxVertices?null:a.maxVertices;this.a.crs=null==a.crs?null:a.crs;this.a.geodesic=null==a.geodesic?null:a.geodesic;this.a.primaryGeometryColumn=null==a.Vg?null:a.Vg;this.a.xColumn=null==a.uh?null:a.uh;this.a.yColumn=null==a.vh?null:a.vh;this.a.dateFormat=null==a.Xf?null:a.Xf;this.a.csvDelimiter=null==a.Uf?
|
|
null:a.Uf;this.a.csvQualifier=null==a.Vf?null:a.Vf};n(Mf,D);Mf.prototype.f=function(){return{h:{},l:{},keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(Mf.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return G(this,"charset")?E(this,"charset"):null},set:function(a){this.a.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?E(this,"crs"):null},set:function(a){this.a.crs=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return G(this,"csvDelimiter")?E(this,"csvDelimiter"):null},set:function(a){this.a.csvDelimiter=a}},Vf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"csvQualifier")?E(this,"csvQualifier"):null},set:function(a){this.a.csvQualifier=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return G(this,"dateFormat")?E(this,"dateFormat"):null},set:function(a){this.a.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return G(this,"geodesic")?E(this,"geodesic"):null},set:function(a){this.a.geodesic=a}},Ab:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?E(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?E(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},Vg:{configurable:!0,enumerable:!0,get:function(){return G(this,"primaryGeometryColumn")?E(this,"primaryGeometryColumn"):null},set:function(a){this.a.primaryGeometryColumn=a}},hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?E(this,"uris"):null},set:function(a){this.a.uris=a}},uh:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"xColumn")?E(this,"xColumn"):null},set:function(a){this.a.xColumn=a}},vh:{configurable:!0,enumerable:!0,get:function(){return G(this,"yColumn")?E(this,"yColumn"):null},set:function(a){this.a.yColumn=a}}});
|
|
var pf=function(a){a=void 0===a?{}:a;this.a={};this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.marginDimensions=null==a.Fe?null:a.Fe;this.a.compress=null==a.Yd?null:a.Yd;this.a.maxSizeBytes=null==a.Vb?null:a.Vb;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue;this.a.tensorDepths=null==a.zd?null:a.zd;this.a.sequenceData=null==a.bf?null:a.bf;this.a.collapseBands=null==a.Xd?null:a.Xd;this.a.maxMaskedRatio=null==a.He?null:a.He};n(pf,D);
|
|
pf.prototype.f=function(){return{h:{},l:{},keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),i:{tensorDepths:{ga:null,la:!1,ma:!1,na:!1}},j:{marginDimensions:gf,tileDimensions:gf}}};
|
|
r.Object.defineProperties(pf.prototype,{Xd:{configurable:!0,enumerable:!0,get:function(){return G(this,"collapseBands")?E(this,"collapseBands"):null},set:function(a){this.a.collapseBands=a}},Yd:{configurable:!0,enumerable:!0,get:function(){return G(this,"compress")?E(this,"compress"):null},set:function(a){this.a.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?E(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},Fe:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"marginDimensions")?E(this,"marginDimensions"):null},set:function(a){this.a.marginDimensions=a}},He:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxMaskedRatio")?E(this,"maxMaskedRatio"):null},set:function(a){this.a.maxMaskedRatio=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?E(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},bf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sequenceData")?E(this,"sequenceData"):null},set:function(a){this.a.sequenceData=a}},zd:{configurable:!0,enumerable:!0,get:function(){return G(this,"tensorDepths")?E(this,"tensorDepths"):null},set:function(a){this.a.tensorDepths=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?E(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
|
|
var Nf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.m?null:a.m;this.a.fileFormat=null==a.I?null:a.I;this.a.bandIds=null==a.fa?null:a.fa;this.a.visualizationOptions=null==a.Kb?null:a.Kb;this.a.grid=null==a.K?null:a.K};n(Nf,D);Nf.prototype.f=function(){return{h:{},l:{},keys:"bandIds expression fileFormat grid name visualizationOptions".split(" "),i:{},j:{expression:ye,grid:Se,visualizationOptions:Ne}}};
|
|
r.Object.defineProperties(Nf.prototype,{fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?E(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"grid")?E(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?E(this,"name"):null},set:function(a){this.a.name=a}},Kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?E(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});
|
|
var Ue=function(a){a=void 0===a?{}:a;this.a={};this.a.maxZoom=null==a.maxZoom?null:a.maxZoom;this.a.scale=null==a.scale?null:a.scale;this.a.minZoom=null==a.minZoom?null:a.minZoom;this.a.skipEmptyTiles=null==a.hf?null:a.hf;this.a.mapsApiKey=null==a.Ee?null:a.Ee;this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.stride=null==a.kf?null:a.kf};n(Ue,D);Ue.prototype.f=function(){return{h:{},l:{},keys:"mapsApiKey maxZoom minZoom scale skipEmptyTiles stride tileDimensions".split(" "),i:{},j:{tileDimensions:gf}}};
|
|
r.Object.defineProperties(Ue.prototype,{Ee:{configurable:!0,enumerable:!0,get:function(){return G(this,"mapsApiKey")?E(this,"mapsApiKey"):null},set:function(a){this.a.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxZoom")?E(this,"maxZoom"):null},set:function(a){this.a.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return G(this,"minZoom")?E(this,"minZoom"):null},set:function(a){this.a.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"scale")?E(this,"scale"):null},set:function(a){this.a.scale=a}},hf:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyTiles")?E(this,"skipEmptyTiles"):null},set:function(a){this.a.skipEmptyTiles=a}},kf:{configurable:!0,enumerable:!0,get:function(){return G(this,"stride")?E(this,"stride"):null},set:function(a){this.a.stride=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?E(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
|
|
var tf=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.sources=null==a.sources?null:a.sources;this.a.dataType=null==a.dataType?null:a.dataType;this.a.crs=null==a.crs?null:a.crs;this.a.subdatasetPrefix=null==a.kh?null:a.kh;this.a.subdatasetSuffix=null==a.lh?null:a.lh};n(tf,D);tf.prototype.f=function(){return{h:{sources:vf},l:{},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(tf.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?E(this,"crs"):null},set:function(a){this.a.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?E(this,"dataType"):null},set:function(a){this.a.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?E(this,"id"):null},set:function(a){this.a.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?
|
|
E(this,"sources"):null},set:function(a){this.a.sources=a}},kh:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetPrefix")?E(this,"subdatasetPrefix"):null},set:function(a){this.a.subdatasetPrefix=a}},lh:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetSuffix")?E(this,"subdatasetSuffix"):null},set:function(a){this.a.subdatasetSuffix=a}}});
|
|
var rf=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.tilesetId=null==a.ec?null:a.ec;this.a.tilesetBandIndex=null==a.ph?null:a.ph;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};n(rf,D);rf.prototype.f=function(){return{h:{},l:{},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],i:{},j:{missingData:of}}};
|
|
r.Object.defineProperties(rf.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?E(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?E(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},ph:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?E(this,"tilesetBandIndex"):null},set:function(a){this.a.tilesetBandIndex=a}},ec:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?E(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var sf=function(a){a=void 0===a?{}:a;this.a={};this.a.tilesetId=null==a.ec?null:a.ec;this.a.bandIds=null==a.fa?null:a.fa};n(sf,D);sf.prototype.f=function(){return{h:{},l:{},keys:["bandIds","tilesetId"],i:{},j:{}}};
|
|
r.Object.defineProperties(sf.prototype,{fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},ec:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?E(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var Ke=function(a){a=void 0===a?{}:a;this.a={};this.a.sources=null==a.sources?null:a.sources;this.a.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};n(Ke,D);
|
|
Ke.prototype.f=function(){return{h:{sources:Of},l:{},keys:["pathPrefix","sources"],i:{},j:{}}};r.Object.defineProperties(Ke.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathPrefix")?E(this,"pathPrefix"):null},set:function(a){this.a.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?E(this,"sources"):null},set:function(a){this.a.sources=a}}});
|
|
var Of=function(a){a=void 0===a?{}:a;this.a={};this.a.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.a.headerSizeBytes=null==a.qg?null:a.qg};n(Of,D);Of.prototype.f=function(){return{h:{},l:{},keys:["headerSizeBytes","pathSuffix"],i:{},j:{}}};
|
|
r.Object.defineProperties(Of.prototype,{qg:{configurable:!0,enumerable:!0,get:function(){return G(this,"headerSizeBytes")?E(this,"headerSizeBytes"):null},set:function(a){this.a.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathSuffix")?E(this,"pathSuffix"):null},set:function(a){this.a.pathSuffix=a}}});
|
|
var mf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileIndexes=null==a.eg?null:a.eg;this.a.firstTileIndex=null==a.gg?null:a.gg;this.a.tilesPerFile=null==a.oh?null:a.oh};n(mf,D);mf.prototype.f=function(){return{h:{},l:{},keys:["fileIndexes","firstTileIndex","tilesPerFile"],i:{},j:{}}};
|
|
r.Object.defineProperties(mf.prototype,{eg:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileIndexes")?E(this,"fileIndexes"):null},set:function(a){this.a.fileIndexes=a}},gg:{configurable:!0,enumerable:!0,get:function(){return G(this,"firstTileIndex")?E(this,"firstTileIndex"):null},set:function(a){this.a.firstTileIndex=a}},oh:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesPerFile")?E(this,"tilesPerFile"):null},set:function(a){this.a.tilesPerFile=a}}});
|
|
var Pf=function(a){a=void 0===a?{}:a;this.a={};this.a.asset=null==a.Pd?null:a.Pd;this.a.updateMask=null==a.gc?null:a.gc};n(Pf,D);Pf.prototype.f=function(){return{h:{},l:{},keys:["asset","updateMask"],i:{},j:{asset:He}}};
|
|
r.Object.defineProperties(Pf.prototype,{Pd:{configurable:!0,enumerable:!0,get:function(){return G(this,"asset")?E(this,"asset"):null},set:function(a){this.a.asset=a}},gc:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?E(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
|
|
var oe=function(a){a=void 0===a?{}:a;this.a={};this.a.constantValue=null==a.ob?null:a.ob;this.a.integerValue=null==a.Ae?null:a.Ae;this.a.bytesValue=null==a.Ud?null:a.Ud;this.a.arrayValue=null==a.mb?null:a.mb;this.a.dictionaryValue=null==a.qb?null:a.qb;this.a.functionDefinitionValue=null==a.ub?null:a.ub;this.a.functionInvocationValue=null==a.fb?null:a.fb;this.a.argumentReference=null==a.lc?null:a.lc;this.a.valueReference=null==a.ab?null:a.ab};n(oe,D);
|
|
oe.prototype.f=function(){return{h:{},l:{},keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),i:{},j:{arrayValue:ne,dictionaryValue:Ee,functionDefinitionValue:cf,functionInvocationValue:df}}};
|
|
r.Object.defineProperties(oe.prototype,{lc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentReference")?E(this,"argumentReference"):null},set:function(a){this.a.argumentReference=a}},mb:{configurable:!0,enumerable:!0,get:function(){return G(this,"arrayValue")?E(this,"arrayValue"):null},set:function(a){this.a.arrayValue=a}},Ud:{configurable:!0,enumerable:!0,get:function(){return G(this,"bytesValue")?E(this,"bytesValue"):null},set:function(a){this.a.bytesValue=a}},ob:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"constantValue")?E(this,"constantValue"):null},set:function(a){this.a.constantValue=a}},qb:{configurable:!0,enumerable:!0,get:function(){return G(this,"dictionaryValue")?E(this,"dictionaryValue"):null},set:function(a){this.a.dictionaryValue=a}},ub:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionDefinitionValue")?E(this,"functionDefinitionValue"):null},set:function(a){this.a.functionDefinitionValue=a}},fb:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"functionInvocationValue")?E(this,"functionInvocationValue"):null},set:function(a){this.a.functionInvocationValue=a}},Ae:{configurable:!0,enumerable:!0,get:function(){return G(this,"integerValue")?E(this,"integerValue"):null},set:function(a){this.a.integerValue=a}},ab:{configurable:!0,enumerable:!0,get:function(){return G(this,"valueReference")?E(this,"valueReference"):null},set:function(a){this.a.valueReference=a}}});
|
|
var Ze=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.I?null:a.I;this.a.driveDestination=null==a.ha?null:a.ha;this.a.gcsDestination=null==a.ja?null:a.ja};n(Ze,D);Ze.prototype.f=function(){return{h:{},l:{},keys:["driveDestination","fileFormat","gcsDestination"],i:{},j:{driveDestination:Ge,gcsDestination:ef}}};
|
|
r.Object.defineProperties(Ze.prototype,{ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ja:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?E(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
|
|
var $e=function(a){a=void 0===a?{}:a;this.a={};this.a.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.a.maxFrames=null==a.maxFrames?null:a.maxFrames;this.a.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};n($e,D);$e.prototype.f=function(){return{h:{},l:{},keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"],i:{},j:{}}};
|
|
r.Object.defineProperties($e.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return G(this,"framesPerSecond")?E(this,"framesPerSecond"):null},set:function(a){this.a.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxFrames")?E(this,"maxFrames"):null},set:function(a){this.a.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixelsPerFrame")?E(this,"maxPixelsPerFrame"):null},set:function(a){this.a.maxPixelsPerFrame=
|
|
a}}});var Qf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.m?null:a.m;this.a.videoOptions=null==a.Ia?null:a.Ia;this.a.fileFormat=null==a.I?null:a.I;this.a.grid=null==a.K?null:a.K};n(Qf,D);Qf.prototype.f=function(){return{h:{},l:{},keys:["expression","fileFormat","grid","name","videoOptions"],i:{},j:{expression:ye,grid:Se,videoOptions:$e}}};
|
|
r.Object.defineProperties(Qf.prototype,{m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?E(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?E(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.a.name=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?E(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});var Ne=function(a){a=void 0===a?{}:a;this.a={};this.a.ranges=null==a.Ue?null:a.Ue;this.a.paletteColors=null==a.Hc?null:a.Hc;this.a.gamma=null==a.gamma?null:a.gamma;this.a.opacity=null==a.opacity?null:a.opacity};n(Ne,D);
|
|
Ne.prototype.f=function(){return{h:{ranges:Fe},l:{},keys:["gamma","opacity","paletteColors","ranges"],i:{},j:{}}};
|
|
r.Object.defineProperties(Ne.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return G(this,"gamma")?E(this,"gamma"):null},set:function(a){this.a.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return G(this,"opacity")?E(this,"opacity"):null},set:function(a){this.a.opacity=a}},Hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"paletteColors")?E(this,"paletteColors"):null},set:function(a){this.a.paletteColors=a}},Ue:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"ranges")?E(this,"ranges"):null},set:function(a){this.a.ranges=a}}});var Rf=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
Rf.prototype.list=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,
|
|
p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.w+"/"+a+"/algorithms",A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:zf})};
|
|
var Sf=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
Sf.prototype.getCapabilities=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:
|
|
c.oauth_token,p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.w+"/"+a+"/capabilities",A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:ve})};
|
|
Sf.prototype.Cc=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===
|
|
c.oauth_token?void 0:c.oauth_token,p=void 0===c.pageSize?void 0:c.pageSize,q=void 0===c.pageToken?void 0:c.pageToken,v=void 0===c.prettyPrint?void 0:c.prettyPrint,z=void 0===c.quotaUser?void 0:c.quotaUser,F=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.listAssets",path:"/"+this.w+"/"+a+":listAssets",A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,
|
|
pageSize:p,pageToken:q,prettyPrint:v,quotaUser:z,uploadType:F,upload_protocol:c},G:Af})};var Tf=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
Tf.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,assetId:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,overwrite:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.assetId?void 0:d.assetId,h=void 0===d.callback?void 0:d.callback,m=void 0===d.fields?void 0:d.fields,
|
|
p=void 0===d.key?void 0:d.key,q=void 0===d.oauth_token?void 0:d.oauth_token,v=void 0===d.overwrite?void 0:d.overwrite,z=void 0===d.prettyPrint?void 0:d.prettyPrint,F=void 0===d.quotaUser?void 0:d.quotaUser,Q=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.assets.create",path:"/"+this.w+"/"+a+"/assets",A:{"$.xgafv":c,access_token:e,alt:f,assetId:g,callback:h,fields:m,key:p,
|
|
oauth_token:q,overwrite:v,prettyPrint:z,quotaUser:F,uploadType:Q,upload_protocol:d},G:He})};
|
|
Tf.prototype["delete"]=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,
|
|
p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+\/assets\/.+$/);return I(this.u,{body:null,B:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.w+"/"+a,A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:Oe})};
|
|
Tf.prototype.get=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,
|
|
p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+\/assets\/.+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.assets.get",path:"/"+this.w+"/"+a,A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:He})};
|
|
Tf.prototype.Cc=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===
|
|
c.oauth_token?void 0:c.oauth_token,p=void 0===c.pageSize?void 0:c.pageSize,q=void 0===c.pageToken?void 0:c.pageToken,v=void 0===c.prettyPrint?void 0:c.prettyPrint,z=void 0===c.quotaUser?void 0:c.quotaUser,F=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+\/assets\/.+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.assets.listAssets",path:"/"+this.w+"/"+a+":listAssets",A:{"$.xgafv":b,access_token:d,alt:e,callback:f,
|
|
fields:g,key:h,oauth_token:m,pageSize:p,pageToken:q,prettyPrint:v,quotaUser:z,uploadType:F,upload_protocol:c},G:Af})};
|
|
var Uf=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,endTime:void 0,fields:void 0,filter:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,region:void 0,startTime:void 0,uploadType:void 0,upload_protocol:void 0,view:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.endTime?
|
|
void 0:d.endTime,m=void 0===d.fields?void 0:d.fields,p=void 0===d.filter?void 0:d.filter,q=void 0===d.key?void 0:d.key,v=void 0===d.oauth_token?void 0:d.oauth_token,z=void 0===d.pageSize?void 0:d.pageSize,F=void 0===d.pageToken?void 0:d.pageToken,Q=void 0===d.prettyPrint?void 0:d.prettyPrint,ba=void 0===d.quotaUser?void 0:d.quotaUser,Jn=void 0===d.region?void 0:d.region,Kn=void 0===d.startTime?void 0:d.startTime,Ln=void 0===d.uploadType?void 0:d.uploadType,Mn=void 0===d.upload_protocol?void 0:d.upload_protocol;
|
|
d=void 0===d.view?void 0:d.view;H(b,/^projects\/[^/]+\/assets\/.+$/);return I(a.u,{body:null,B:"GET",D:"earthengine.projects.assets.listImages",path:"/"+a.w+"/"+b+":listImages",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,endTime:h,fields:m,filter:p,key:q,oauth_token:v,pageSize:z,pageToken:F,prettyPrint:Q,quotaUser:ba,region:Jn,startTime:Kn,uploadType:Ln,upload_protocol:Mn,view:d},G:Bf})};
|
|
Tf.prototype.move=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,v=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;H(a,/^projects\/[^/]+\/assets\/.+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.assets.move",path:"/"+this.w+"/"+a+":move",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:He})};
|
|
Tf.prototype.search=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,nextPageToken:void 0,oauth_token:void 0,pageSize:void 0,prettyPrint:void 0,query:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:
|
|
c.key,m=void 0===c.nextPageToken?void 0:c.nextPageToken,p=void 0===c.oauth_token?void 0:c.oauth_token,q=void 0===c.pageSize?void 0:c.pageSize,v=void 0===c.prettyPrint?void 0:c.prettyPrint,z=void 0===c.query?void 0:c.query,F=void 0===c.quotaUser?void 0:c.quotaUser,Q=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.assets.search",path:"/"+this.w+"/"+a+"/assets:search",A:{"$.xgafv":b,
|
|
access_token:d,alt:e,callback:f,fields:g,key:h,nextPageToken:m,oauth_token:p,pageSize:q,prettyPrint:v,query:z,quotaUser:F,uploadType:Q,upload_protocol:c},G:Kf})};var Vf=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
Vf.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,v=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.w+"/"+a+"/filmstripThumbnails",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:bf})};
|
|
var Wf=function(a){this.w="v1alpha";this.u=new fe(a,null)};Wf.prototype.Va=function(a,b){H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.image.export",path:"/"+this.w+"/"+a+"/image:export",A:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},G:Df})};
|
|
Wf.prototype["import"]=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,v=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.image.import",path:"/"+this.w+"/"+a+"/image:import",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Df})};
|
|
var Xf=function(a){this.w="v1alpha";this.u=new fe(a,null)};Xf.prototype.Va=function(a,b){H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.map.export",path:"/"+this.w+"/"+a+"/map:export",A:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},G:Df})};var Yf=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
Yf.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,v=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.maps.create",path:"/"+this.w+"/"+a+"/maps",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Me})};
|
|
var Zf=function(a){this.w="v1alpha";this.u=new fe(a,null)};k=Zf.prototype;
|
|
k.cancel=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,q=void 0===
|
|
d.prettyPrint?void 0:d.prettyPrint,v=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;H(a,/^projects\/[^/]+\/operations\/.+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.operations.cancel",path:"/"+this.w+"/"+a+":cancel",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Oe})};
|
|
k["delete"]=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,p=
|
|
void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+\/operations\/.+$/);return I(this.u,{body:null,B:"DELETE",D:"earthengine.projects.operations.delete",path:"/"+this.w+"/"+a,A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:Oe})};
|
|
k.get=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,p=void 0===
|
|
c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+\/operations\/.+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.operations.get",path:"/"+this.w+"/"+a,A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:Df})};
|
|
k.list=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,filter:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.filter?void 0:c.filter,
|
|
m=void 0===c.key?void 0:c.key,p=void 0===c.oauth_token?void 0:c.oauth_token,q=void 0===c.pageSize?void 0:c.pageSize,v=void 0===c.pageToken?void 0:c.pageToken,z=void 0===c.prettyPrint?void 0:c.prettyPrint,F=void 0===c.quotaUser?void 0:c.quotaUser,Q=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.operations.list",path:"/"+this.w+"/"+a+"/operations",A:{"$.xgafv":b,access_token:d,
|
|
alt:e,callback:f,fields:g,filter:h,key:m,oauth_token:p,pageSize:q,pageToken:v,prettyPrint:z,quotaUser:F,uploadType:Q,upload_protocol:c},G:Cf})};
|
|
k.wait=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,q=void 0===
|
|
d.prettyPrint?void 0:d.prettyPrint,v=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;H(a,/^projects\/[^/]+\/operations\/.+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.operations.wait",path:"/"+this.w+"/"+a+":wait",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Df})};
|
|
var $f=function(a){this.w="v1alpha";this.u=new fe(a,null)};$f.prototype.Va=function(a,b){H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.table.export",path:"/"+this.w+"/"+a+"/table:export",A:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},G:Df})};
|
|
$f.prototype["import"]=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,v=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.table.import",path:"/"+this.w+"/"+a+"/table:import",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Df})};
|
|
var ag=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
ag.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,v=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.thumbnails.create",path:"/"+this.w+"/"+a+"/thumbnails",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Nf})};
|
|
var bg=function(a){this.w="v1alpha";this.u=new fe(a,null)},cg=function(a,b,c){H(b,/^projects\/[^/]+$/);return I(a.u,{body:c,B:"POST",D:"earthengine.projects.value.compute",path:"/"+a.w+"/"+b+"/value:compute",A:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},G:ze})},dg=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
dg.prototype.Va=function(a,b){H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.video.export",path:"/"+this.w+"/"+a+"/video:export",A:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},G:Df})};var eg=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
eg.prototype.Va=function(a,b){H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.videoMap.export",path:"/"+this.w+"/"+a+"/videoMap:export",A:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},G:Df})};var fg=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
fg.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,v=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.w+"/"+a+"/videoThumbnails",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Qf})};var gg=function(a,b){this.Wh=100;this.Lh=a;this.gi=b;this.pd=0;this.ka=null};gg.prototype.get=function(){if(0<this.pd){this.pd--;var a=this.ka;this.ka=a.next;a.next=null}else a=this.Lh();return a};gg.prototype.put=function(a){this.gi(a);this.pd<this.Wh&&(this.pd++,a.next=this.ka,this.ka=a)};var hg=function(a){t.setTimeout(function(){throw a;},0)},ig,jg=function(){var a=t.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Eb("Presto")&&(a=function(){var e=document.createElement("IFRAME");e.style.display="none";vc(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(uc());e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;
|
|
e=y(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&&!Eb("Trident")&&!Eb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(wa(c.next)){c=c.next;var e=c.Lf;c.Lf=null;e()}};return function(e){d.next={Lf:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?
|
|
function(e){var f=document.createElement("SCRIPT");f.onreadystatechange=function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e();e=null};document.documentElement.appendChild(f)}:function(e){t.setTimeout(e,0)}};var kg=function(){this.Jd=this.Lb=null},mg=new gg(function(){return new lg},function(a){a.reset()});kg.prototype.add=function(a,b){var c=mg.get();c.set(a,b);this.Jd?this.Jd.next=c:(C(!this.Lb),this.Lb=c);this.Jd=c};kg.prototype.remove=function(){var a=null;this.Lb&&(a=this.Lb,this.Lb=this.Lb.next,this.Lb||(this.Jd=null),a.next=null);return a};var lg=function(){this.next=this.scope=this.oe=null};lg.prototype.set=function(a,b){this.oe=a;this.scope=b;this.next=null};
|
|
lg.prototype.reset=function(){this.next=this.scope=this.oe=null};var rg=function(a,b){ng||og();pg||(ng(),pg=!0);qg.add(a,b)},ng,og=function(){if(t.Promise&&t.Promise.resolve){var a=t.Promise.resolve(void 0);ng=function(){a.then(sg)}}else ng=function(){var b=sg;!Fa(t.setImmediate)||t.Window&&t.Window.prototype&&!Eb("Edge")&&t.Window.prototype.setImmediate==t.setImmediate?(ig||(ig=jg()),ig(b)):t.setImmediate(b)}},pg=!1,qg=new kg,sg=function(){for(var a;a=qg.remove();){try{a.oe.call(a.scope)}catch(b){hg(b)}mg.put(a)}pg=!1};var tg=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var wg=function(a){this.U=0;this.ta=void 0;this.Ob=this.Ta=this.R=null;this.fd=this.ke=!1;if(a!=Aa)try{var b=this;a.call(void 0,function(c){ug(b,2,c)},function(c){if(!(c instanceof vg))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}ug(b,3,c)})}catch(c){ug(this,3,c)}},xg=function(){this.next=this.context=this.Xb=this.Cb=this.nb=null;this.Uc=!1};xg.prototype.reset=function(){this.context=this.Xb=this.Cb=this.nb=null;this.Uc=!1};
|
|
var yg=new gg(function(){return new xg},function(a){a.reset()}),zg=function(a,b,c){var d=yg.get();d.Cb=a;d.Xb=b;d.context=c;return d};wg.prototype.then=function(a,b,c){null!=a&&Wa(a,"opt_onFulfilled should be a function.");null!=b&&Wa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Ag(this,Fa(a)?a:null,Fa(b)?b:null,c)};wg.prototype.$goog_Thenable=!0;
|
|
wg.prototype.cancel=function(a){0==this.U&&rg(function(){var b=new vg(a);Bg(this,b)},this)};
|
|
var Bg=function(a,b){if(0==a.U)if(a.R){var c=a.R;if(c.Ta){for(var d=0,e=null,f=null,g=c.Ta;g&&(g.Uc||(d++,g.nb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.U&&1==d?Bg(c,b):(f?(d=f,C(c.Ta),C(null!=d),d.next==c.Ob&&(c.Ob=d),d.next=d.next.next):Cg(c),Dg(c,e,3,b)))}a.R=null}else ug(a,3,b)},Fg=function(a,b){a.Ta||2!=a.U&&3!=a.U||Eg(a);C(null!=b.Cb);a.Ob?a.Ob.next=b:a.Ta=b;a.Ob=b},Ag=function(a,b,c,d){var e=zg(null,null,null);e.nb=new wg(function(f,g){e.Cb=b?function(h){try{var m=b.call(d,h);f(m)}catch(p){g(p)}}:
|
|
f;e.Xb=c?function(h){try{var m=c.call(d,h);!wa(m)&&h instanceof vg?g(h):f(m)}catch(p){g(p)}}:g});e.nb.R=a;Fg(a,e);return e.nb};wg.prototype.oi=function(a){C(1==this.U);this.U=0;ug(this,2,a)};wg.prototype.pi=function(a){C(1==this.U);this.U=0;ug(this,3,a)};
|
|
var ug=function(a,b,c){if(0==a.U){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.U=1;a:{var d=c,e=a.oi,f=a.pi;if(d instanceof wg){null!=e&&Wa(e,"opt_onFulfilled should be a function.");null!=f&&Wa(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Fg(d,zg(e||Aa,f||null,a));var g=!0}else if(tg(d))d.then(e,f,a),g=!0;else{if(x(d))try{var h=d.then;if(Fa(h)){Gg(d,h,e,f,a);g=!0;break a}}catch(m){f.call(a,m);g=!0;break a}g=
|
|
!1}}g||(a.ta=c,a.U=b,a.R=null,Eg(a),3!=b||c instanceof vg||Hg(a,c))}},Gg=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)}},Eg=function(a){a.ke||(a.ke=!0,rg(a.Oh,a))},Cg=function(a){var b=null;a.Ta&&(b=a.Ta,a.Ta=b.next,b.next=null);a.Ta||(a.Ob=null);null!=b&&C(null!=b.Cb);return b};wg.prototype.Oh=function(){for(var a;a=Cg(this);)Dg(this,a,this.U,this.ta);this.ke=!1};
|
|
var Dg=function(a,b,c,d){if(3==c&&b.Xb&&!b.Uc)for(;a&&a.fd;a=a.R)a.fd=!1;if(b.nb)b.nb.R=null,Ig(b,c,d);else try{b.Uc?b.Cb.call(b.context):Ig(b,c,d)}catch(e){Jg.call(null,e)}yg.put(b)},Ig=function(a,b,c){2==b?a.Cb.call(a.context,c):a.Xb&&a.Xb.call(a.context,c)},Hg=function(a,b){a.fd=!0;rg(function(){a.fd&&Jg.call(null,b)})},Jg=hg,vg=function(a){Pa.call(this,a)};B(vg,Pa);vg.prototype.name="cancel";var Kg=function(a,b,c){if(Fa(a))c&&(a=y(a,c));else if(a&&"function"==typeof a.handleEvent)a=y(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:t.setTimeout(a,b||0)};var Lg=function(a,b,c){Ma.call(this);this.Xh=null!=c?y(a,c):a;this.Uh=b;this.Hh=y(this.di,this);this.Od=[]};B(Lg,Ma);k=Lg.prototype;k.dc=!1;k.Ic=0;k.Ib=null;k.ne=function(a){this.Od=arguments;this.Ib||this.Ic?this.dc=!0:Mg(this)};k.stop=function(){this.Ib&&(t.clearTimeout(this.Ib),this.Ib=null,this.dc=!1,this.Od=[])};k.pause=function(){this.Ic++};k.resume=function(){this.Ic--;this.Ic||!this.dc||this.Ib||(this.dc=!1,Mg(this))};k.F=function(){Lg.H.F.call(this);this.stop()};
|
|
k.di=function(){this.Ib=null;this.dc&&!this.Ic&&(this.dc=!1,Mg(this))};var Mg=function(a){a.Ib=Kg(a.Hh,a.Uh);a.Xh.apply(null,a.Od)};var Ng=!Ec||9<=Number(Pc),Og=!Gc&&!Ec||Ec&&9<=Number(Pc)||Gc&&Oc("1.9.1");var Pg=function(a,b){this.x=wa(a)?a:0;this.y=wa(b)?b:0};k=Pg.prototype;k.clone=function(){return new Pg(this.x,this.y)};k.toString=function(){return"("+this.x+", "+this.y+")"};k.equals=function(a){return a instanceof Pg&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};k.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};k.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
|
|
k.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};k.translate=function(a,b){a instanceof Pg?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),xa(b)&&(this.y+=b));return this};k.scale=function(a,b){b=xa(b)?b:a;this.x*=a;this.y*=b;return this};var Qg=function(a,b){this.width=a;this.height=b};k=Qg.prototype;k.clone=function(){return new Qg(this.width,this.height)};k.toString=function(){return"("+this.width+" x "+this.height+")"};k.aspectRatio=function(){return this.width/this.height};k.isEmpty=function(){return!(this.width*this.height)};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
|
|
k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.scale=function(a,b){b=xa(b)?b:a;this.width*=a;this.height*=b;return this};var Sg=function(a,b){Fb(b,function(c,d){c&&"object"==typeof c&&c.yb&&(c=c.wb());"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=String(b[0]),d=b[1];if(!Ng&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',yc(d.name),'"');if(d.type){c.push(' type="',yc(d.type),'"');var e={};Tb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(u(d)?c.className=d:w(d)?c.className=d.join(" "):Sg(c,d));2<b.length&&Vg(a,c,b,2);return c},Vg=function(a,b,c,d){function e(g){g&&b.appendChild(u(g)?a.createTextNode(g):g)}for(;d<c.length;d++){var f=
|
|
c[d];!Da(f)||x(f)&&0<f.nodeType?e(f):$a(Wg(f)?mb(f):f,e)}},Xg=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Yg=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a},Zg=function(a){C(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Wg=function(a){if(a&&"number"==typeof a.length){if(x(a))return"function"==typeof a.item||"string"==typeof a.item;if(Fa(a))return"function"==typeof a.item}return!1},$g=function(a){this.ad=a||t.document||
|
|
document};k=$g.prototype;k.getElementsByTagName=function(a,b){return(b||this.ad).getElementsByTagName(String(a))};k.Kh=function(a,b,c){return Tg(this.ad,arguments)};k.createElement=function(a){return this.ad.createElement(String(a))};k.createTextNode=function(a){return this.ad.createTextNode(String(a))};k.appendChild=function(a,b){C(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};k.append=function(a,b){Vg(Zg(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.mg=function(){return Og&&void 0!=(void 0).children?(void 0).children:ab((void 0).childNodes,function(a){return 1==a.nodeType})};k.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};/*
|
|
Portions of this code are from MochiKit, received by
|
|
The Closure Authors under the MIT license. All other code is Copyright
|
|
2005-2009 The Closure Authors. All Rights Reserved.
|
|
*/
|
|
var bh=function(a){var b=ah;this.wd=[];this.Ng=b;this.Yf=a||null;this.xc=this.Sb=!1;this.ta=void 0;this.ff=this.Ff=this.Qd=!1;this.Ed=0;this.R=null;this.Rd=0};bh.prototype.cancel=function(a){if(this.Sb)this.ta instanceof bh&&this.ta.cancel();else{if(this.R){var b=this.R;delete this.R;a?b.cancel(a):(b.Rd--,0>=b.Rd&&b.cancel())}this.Ng?this.Ng.call(this.Yf,this):this.ff=!0;this.Sb||ch(this,new dh(this))}};bh.prototype.Of=function(a,b){this.Qd=!1;eh(this,a,b)};
|
|
var eh=function(a,b,c){a.Sb=!0;a.ta=c;a.xc=!b;fh(a)},hh=function(a){if(a.Sb){if(!a.ff)throw new gh(a);a.ff=!1}};bh.prototype.callback=function(a){hh(this);ih(a);eh(this,!0,a)};var ch=function(a,b){hh(a);ih(b);eh(a,!1,b)},ih=function(a){C(!(a instanceof bh),"An execution sequence may not be initiated with a blocking Deferred.")},jh=function(a,b,c){C(!a.Ff,"Blocking Deferreds can not be re-used");a.wd.push([b,c,void 0]);a.Sb&&fh(a)};
|
|
bh.prototype.then=function(a,b,c){var d,e,f=new wg(function(g,h){d=g;e=h});jh(this,d,function(g){g instanceof dh?f.cancel():e(g)});return f.then(a,b,c)};bh.prototype.$goog_Thenable=!0;
|
|
var kh=function(a){return cb(a.wd,function(b){return Fa(b[1])})},fh=function(a){if(a.Ed&&a.Sb&&kh(a)){var b=a.Ed,c=lh[b];c&&(t.clearTimeout(c.ca),delete lh[b]);a.Ed=0}a.R&&(a.R.Rd--,delete a.R);b=a.ta;for(var d=c=!1;a.wd.length&&!a.Qd;){var e=a.wd.shift(),f=e[0],g=e[1];e=e[2];if(f=a.xc?g:f)try{var h=f.call(e||a.Yf,b);wa(h)&&(a.xc=a.xc&&(h==b||h instanceof Error),a.ta=b=h);if(tg(b)||"function"===typeof t.Promise&&b instanceof t.Promise)d=!0,a.Qd=!0}catch(m){b=m,a.xc=!0,kh(a)||(c=!0)}}a.ta=b;d&&(h=
|
|
y(a.Of,a,!0),d=y(a.Of,a,!1),b instanceof bh?(jh(b,h,d),b.Ff=!0):b.then(h,d));c&&(b=new mh(b),lh[b.ca]=b,a.Ed=b.ca)},gh=function(){Pa.call(this)};B(gh,Pa);gh.prototype.message="Deferred has already fired";gh.prototype.name="AlreadyCalledError";var dh=function(){Pa.call(this)};B(dh,Pa);dh.prototype.message="Deferred was canceled";dh.prototype.name="CanceledError";var mh=function(a){this.ca=t.setTimeout(y(this.ni,this),0);this.cd=a};
|
|
mh.prototype.ni=function(){C(lh[this.ca],"Cannot throw an error that is not scheduled.");delete lh[this.ca];throw this.cd;};var lh={};var qh=function(a){var b={},c=b.document||document,d=ec(a).toString(),e=document.createElement("SCRIPT"),f={fh:e,Nc:void 0},g=new bh(f),h=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(h=window.setTimeout(function(){nh(e,!0);ch(g,new oh(1,"Timeout reached for loading script "+d))},m),f.Nc=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(nh(e,b.zi||!1,h),g.callback(null))};e.onerror=function(){nh(e,!0,h);ch(g,new oh(0,"Error while loading script "+
|
|
d))};f=b.attributes||{};Tb(f,{type:"text/javascript",charset:"UTF-8"});Sg(e,f);wc(e,a);ph(c).appendChild(e)},ph=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},ah=function(){if(this&&this.fh){var a=this.fh;a&&"SCRIPT"==a.tagName&&nh(a,!0,this.Nc)}},nh=function(a,b,c){null!=c&&t.clearTimeout(c);a.onload=Aa;a.onerror=Aa;a.onreadystatechange=Aa;b&&window.setTimeout(function(){Xg(a)},0)},oh=function(a,b){var c="Jsloader error (code #"+a+")";
|
|
b&&(c+=": "+b);Pa.call(this,c);this.code=a};B(oh,Pa);var sh=function(a){return(new rh(void 0)).X(a)},rh=function(a){this.ud=a};rh.prototype.X=function(a){var b=[];th(this,a,b);return b.join("")};
|
|
var th=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(w(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],th(a,a.ud?a.ud.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),uh(d,c),c.push(":"),th(a,a.ud?a.ud.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":uh(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);}}},vh={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},wh=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,uh=function(a,b){b.push('"',a.replace(wh,function(c){var d=vh[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),
|
|
vh[c]=d);return d}),'"')};var xh=function(a,b,c){this.reset(a,b,c,void 0,void 0)};xh.prototype.cg=null;var yh=0;xh.prototype.reset=function(a,b,c,d,e){"number"==typeof e||yh++;d||La();this.Bc=a;delete this.cg};xh.prototype.hh=function(a){this.Bc=a};var zh=function(a){this.Lg=a;this.pg=this.Vd=this.Bc=this.R=null},Ah=function(a,b){this.name=a;this.value=b};Ah.prototype.toString=function(){return this.name};var Bh=new Ah("SEVERE",1E3),Ch=new Ah("INFO",800),Dh=new Ah("CONFIG",700),Eh=new Ah("FINE",500);zh.prototype.getName=function(){return this.Lg};zh.prototype.getParent=function(){return this.R};zh.prototype.mg=function(){this.Vd||(this.Vd={});return this.Vd};zh.prototype.hh=function(a){this.Bc=a};
|
|
var Fh=function(a){if(a.Bc)return a.Bc;if(a.R)return Fh(a.R);Ta("Root logger has no level set.");return null};zh.prototype.log=function(a,b,c){if(a.value>=Fh(this).value)for(Fa(b)&&(b=b()),a=new xh(a,String(b),this.Lg),c&&(a.cg=c),c=this;c;){var d=c,e=a;if(d.pg)for(var f=0;b=d.pg[f];f++)b(e);c=c.getParent()}};zh.prototype.info=function(a,b){this.log(Ch,a,b)};
|
|
var Gh={},Hh=null,Ih=function(a){Hh||(Hh=new zh(""),Gh[""]=Hh,Hh.hh(Dh));var b;if(!(b=Gh[a])){b=new zh(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=Ih(a.substr(0,c));c.mg()[d]=b;b.R=c;Gh[a]=b}return b};var Jh=function(a,b){a&&a.log(Eh,b,void 0)};var Kh=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Lh=function(){};Lh.prototype.Jf=null;var Nh=function(a){var b;(b=a.Jf)||(b={},Mh(a)&&(b[0]=!0,b[1]=!0),b=a.Jf=b);return b};var Oh,Ph=function(){};B(Ph,Lh);var Qh=function(a){return(a=Mh(a))?new ActiveXObject(a):new XMLHttpRequest},Mh=function(a){if(!a.ug&&"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.ug=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.ug};Oh=new Ph;var Rh=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Sh=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 Th=function(a){td.call(this);this.headers=new Ad;this.Ld=a||null;this.ya=!1;this.Kd=this.s=null;this.Ac=this.Cg=this.md="";this.zb=this.xe=this.kd=this.ie=!1;this.fc=0;this.Bd=null;this.bc="";this.Gd=this.ei=this.th=!1};B(Th,td);var Uh=Th.prototype,Vh=Ih("goog.net.XhrIo");Uh.oa=Vh;var Wh=/^https?$/i,Xh=["POST","PUT"],Yh=[];Th.prototype.Jh=function(){this.Ka();kb(Yh,this)};
|
|
Th.prototype.send=function(a,b,c,d){if(this.s)throw Error("[goog.net.XhrIo] Object is active with another request="+this.md+"; newUri="+a);b=b?b.toUpperCase():"GET";this.md=a;this.Ac="";this.Cg=b;this.ie=!1;this.ya=!0;this.s=this.Ld?Qh(this.Ld):Qh(Oh);this.Kd=this.Ld?Nh(this.Ld):Nh(Oh);this.s.onreadystatechange=y(this.Qg,this);this.ei&&"onprogress"in this.s&&(this.s.onprogress=y(function(f){this.Pg(f,!0)},this),this.s.upload&&(this.s.upload.onprogress=y(this.Pg,this)));try{Jh(this.oa,Zh(this,"Opening Xhr")),
|
|
this.xe=!0,this.s.open(b,String(a),!0),this.xe=!1}catch(f){Jh(this.oa,Zh(this,"Error opening Xhr: "+f.message));this.cd(5,f);return}a=c||"";var e=this.headers.clone();d&&Hd(d,function(f,g){e.set(g,f)});d=gb(e.Ca());c=t.FormData&&a instanceof t.FormData;!hb(Xh,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.s.setRequestHeader(g,f)},this);this.bc&&(this.s.responseType=this.bc);"withCredentials"in this.s&&this.s.withCredentials!==this.th&&
|
|
(this.s.withCredentials=this.th);try{$h(this),0<this.fc&&(this.Gd=ai(this.s),Jh(this.oa,Zh(this,"Will abort after "+this.fc+"ms if incomplete, xhr2 "+this.Gd)),this.Gd?(this.s.timeout=this.fc,this.s.ontimeout=y(this.Nc,this)):this.Bd=Kg(this.Nc,this.fc,this)),Jh(this.oa,Zh(this,"Sending request")),this.kd=!0,this.s.send(a),this.kd=!1}catch(f){Jh(this.oa,Zh(this,"Send error: "+f.message)),this.cd(5,f)}};
|
|
var ai=function(a){return Ec&&Oc(9)&&xa(a.timeout)&&wa(a.ontimeout)},fb=function(a){return"content-type"==a.toLowerCase()};Th.prototype.Nc=function(){"undefined"!=typeof va&&this.s&&(this.Ac="Timed out after "+this.fc+"ms, aborting",Jh(this.oa,Zh(this,this.Ac)),this.dispatchEvent("timeout"),this.abort(8))};Th.prototype.cd=function(a,b){this.ya=!1;this.s&&(this.zb=!0,this.s.abort(),this.zb=!1);this.Ac=b;bi(this);ci(this)};var bi=function(a){a.ie||(a.ie=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
Th.prototype.abort=function(){this.s&&this.ya&&(Jh(this.oa,Zh(this,"Aborting")),this.ya=!1,this.zb=!0,this.s.abort(),this.zb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ci(this))};Th.prototype.F=function(){this.s&&(this.ya&&(this.ya=!1,this.zb=!0,this.s.abort(),this.zb=!1),ci(this,!0));Th.H.F.call(this)};Th.prototype.Qg=function(){this.La||(this.xe||this.kd||this.zb?di(this):this.ci())};Th.prototype.ci=function(){di(this)};
|
|
var di=function(a){if(a.ya&&"undefined"!=typeof va)if(a.Kd[1]&&4==a.gb()&&2==a.getStatus())Jh(a.oa,Zh(a,"Local request error detected and ignored"));else if(a.kd&&4==a.gb())Kg(a.Qg,0,a);else if(a.dispatchEvent("readystatechange"),4==a.gb()){Jh(a.oa,Zh(a,"Request complete"));a.ya=!1;try{var b=a.getStatus(),c;if(!(c=Kh(b))){var d;if(d=0===b){var e=String(a.md).match(Rh)[1]||null;if(!e&&t.self&&t.self.location){var f=t.self.location.protocol;e=f.substr(0,f.length-1)}d=!Wh.test(e?e.toLowerCase():"")}c=
|
|
d}if(c)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var g=2<a.gb()?a.s.statusText:""}catch(h){Jh(a.oa,"Can not get status: "+h.message),g=""}a.Ac=g+" ["+a.getStatus()+"]";bi(a)}}finally{ci(a)}}};Th.prototype.Pg=function(a,b){C("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(ei(a,"progress"));this.dispatchEvent(ei(a,b?"downloadprogress":"uploadprogress"))};
|
|
var ei=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},ci=function(a,b){if(a.s){$h(a);var c=a.s,d=a.Kd[0]?Aa:null;a.s=null;a.Kd=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.oa)&&a.log(Bh,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}},$h=function(a){a.s&&a.Gd&&(a.s.ontimeout=null);a.Bd&&(t.clearTimeout(a.Bd),a.Bd=null)};Th.prototype.zg=function(){return!!this.s};
|
|
Th.prototype.gb=function(){return this.s?this.s.readyState:0};Th.prototype.getStatus=function(){try{return 2<this.gb()?this.s.status:-1}catch(a){return-1}};
|
|
var fi=function(a){try{if(!a.s)return null;if("response"in a.s)return a.s.response;switch(a.bc){case "":case "text":return a.s.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.s)return a.s.mozResponseArrayBuffer}var b=a.oa;b&&b.log(Bh,"Response type "+a.bc+" is not supported on this browser",void 0);return null}catch(c){return Jh(a.oa,"Can not get response: "+c.message),null}};
|
|
Th.prototype.getResponseHeader=function(a){if(this.s&&4==this.gb())return a=this.s.getResponseHeader(a),null===a?void 0:a};Th.prototype.getAllResponseHeaders=function(){return this.s&&4==this.gb()?this.s.getAllResponseHeaders()||"":""};
|
|
var gi=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=zc(a[c]),e=d[0];d=d[1];if(u(d)){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}return Hb(b,function(g){return g.join(", ")})},Zh=function(a,b){return b+" ["+a.Cg+" "+a.md+" "+a.getStatus()+"]"};var hi=function(a,b){this.Ua=this.Jb=this.ib="";this.Zb=null;this.tb=this.Ya="";this.va=this.Vh=!1;if(a instanceof hi){this.va=wa(b)?b:a.va;ii(this,a.ib);var c=a.Jb;ji(this);this.Jb=c;c=a.Ua;ji(this);this.Ua=c;ki(this,a.Zb);this.setPath(a.getPath());li(this,a.xa.clone());a=a.tb;ji(this);this.tb=a}else a&&(c=String(a).match(Rh))?(this.va=!!b,ii(this,c[1]||"",!0),a=c[2]||"",ji(this),this.Jb=mi(a),a=c[3]||"",ji(this),this.Ua=mi(a,!0),ki(this,c[4]),this.setPath(c[5]||"",!0),li(this,c[6]||"",!0),a=c[7]||
|
|
"",ji(this),this.tb=mi(a)):(this.va=!!b,this.xa=new ni(null,this.va))};
|
|
hi.prototype.toString=function(){var a=[],b=this.ib;b&&a.push(oi(b,pi,!0),":");var c=this.Ua;if(c||"file"==b)a.push("//"),(b=this.Jb)&&a.push(oi(b,pi,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Zb,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Ua&&"/"!=c.charAt(0)&&a.push("/"),a.push(oi(c,"/"==c.charAt(0)?qi:ri,!0));(c=this.xa.toString())&&a.push("?",c);(c=this.tb)&&a.push("#",oi(c,si));return a.join("")};
|
|
hi.prototype.resolve=function(a){var b=this.clone(),c=!!a.ib;c?ii(b,a.ib):c=!!a.Jb;if(c){var d=a.Jb;ji(b);b.Jb=d}else c=!!a.Ua;c?(d=a.Ua,ji(b),b.Ua=d):c=null!=a.Zb;d=a.getPath();if(c)ki(b,a.Zb);else if(c=!!a.Ya){if("/"!=d.charAt(0))if(this.Ua&&!this.Ya)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=[],g=0;g<e.length;){var h=e[g++];
|
|
"."==h?d&&g==e.length&&f.push(""):".."==h?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=""!==a.xa.toString();c?li(b,a.xa.clone()):c=!!a.tb;c&&(a=a.tb,ji(b),b.tb=a);return b};hi.prototype.clone=function(){return new hi(this)};
|
|
var ii=function(a,b,c){ji(a);a.ib=c?mi(b,!0):b;a.ib&&(a.ib=a.ib.replace(/:$/,""))},ki=function(a,b){ji(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Zb=b}else a.Zb=null};hi.prototype.getPath=function(){return this.Ya};hi.prototype.setPath=function(a,b){ji(this);this.Ya=b?mi(a,!0):a;return this};var li=function(a,b,c){ji(a);b instanceof ni?(a.xa=b,a.xa.cf(a.va)):(c||(b=oi(b,ti)),a.xa=new ni(b,a.va))};hi.prototype.getQuery=function(){return this.xa.toString()};
|
|
hi.prototype.removeParameter=function(a){ji(this);this.xa.remove(a);return this};var ji=function(a){if(a.Vh)throw Error("Tried to modify a read-only Uri");};hi.prototype.cf=function(a){this.va=a;this.xa&&this.xa.cf(a)};
|
|
var ui=function(a){return a instanceof hi?a.clone():new hi(a,void 0)},mi=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},oi=function(a,b,c){return u(a)?(a=encodeURI(a).replace(b,vi),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},vi=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},pi=/[#\/\?@]/g,ri=/[#\?:]/g,qi=/[#\?]/g,ti=/[#\?@]/g,si=/#/g,ni=function(a,b){this.M=this.O=null;this.ra=a||null;this.va=!!b},wi=function(a){a.O||
|
|
(a.O=new Ad,a.M=0,a.ra&&Sh(a.ra,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=ni.prototype;k.N=function(){wi(this);return this.M};k.add=function(a,b){wi(this);this.ra=null;a=xi(this,a);var c=this.O.get(a);c||this.O.set(a,c=[]);c.push(b);this.M=Ua(this.M)+1;return this};k.remove=function(a){wi(this);a=xi(this,a);return this.O.eb(a)?(this.ra=null,this.M=Ua(this.M)-this.O.get(a).length,this.O.remove(a)):!1};k.clear=function(){this.O=this.ra=null;this.M=0};
|
|
k.isEmpty=function(){wi(this);return 0==this.M};k.eb=function(a){wi(this);a=xi(this,a);return this.O.eb(a)};k.pc=function(a){var b=this.T();return hb(b,a)};k.forEach=function(a,b){wi(this);this.O.forEach(function(c,d){$a(c,function(e){a.call(b,e,d,this)},this)},this)};k.Ca=function(){wi(this);for(var a=this.O.T(),b=this.O.Ca(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
|
|
k.T=function(a){wi(this);var b=[];if(u(a))this.eb(a)&&(b=lb(b,this.O.get(xi(this,a))));else{a=this.O.T();for(var c=0;c<a.length;c++)b=lb(b,a[c])}return b};k.set=function(a,b){wi(this);this.ra=null;a=xi(this,a);this.eb(a)&&(this.M=Ua(this.M)-this.O.get(a).length);this.O.set(a,[b]);this.M=Ua(this.M)+1;return this};k.get=function(a,b){if(!a)return b;a=this.T(a);return 0<a.length?String(a[0]):b};
|
|
k.setValues=function(a,b){this.remove(a);0<b.length&&(this.ra=null,this.O.set(xi(this,a),mb(b)),this.M=Ua(this.M)+b.length)};k.toString=function(){if(this.ra)return this.ra;if(!this.O)return"";for(var a=[],b=this.O.Ca(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.T(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.ra=a.join("&")};
|
|
k.clone=function(){var a=new ni;a.ra=this.ra;this.O&&(a.O=this.O.clone(),a.M=this.M);return a};var xi=function(a,b){b=String(b);a.va&&(b=b.toLowerCase());return b};ni.prototype.cf=function(a){a&&!this.va&&(wi(this),this.ra=null,this.O.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.va=a};ni.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Hd(arguments[b],function(c,d){this.add(d,c)},this)};var yi,J=function(a,b){zi();this.callback=a;this.W=new Ai(!a,b)},K=function(a,b){b instanceof Promise?a.callback&&b.then(function(c){return a.callback(c)})["catch"](function(c){return a.callback(void 0,c)}):b.then(function(c){b=c});return b},Bi=function(){return"projects/"+yi};k=J.prototype;k.kc=function(){return new Rf(this.W)};k.P=function(){return new Tf(this.W)};k.Da=function(){return new Zf(this.W)};k.value=function(){return new bg(this.W)};k.maps=function(){return new Yf(this.W)};k.map=function(){return new Xf(this.W)};
|
|
k.image=function(){return new Wf(this.W)};k.table=function(){return new $f(this.W)};k.video=function(){return new dg(this.W)};var Ai=function(a,b){this.sync=a=void 0===a?!1:a;this.ah=null!=b?b:a?5:10;return this};n(Ai,ie);
|
|
Ai.prototype.send=function(a,b){var c=this;he(a);var d=a.path||"",e=Ci()+d,f=L(a.A||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=M(e,f,void 0,a.B,g,this.ah);d=b?Ud(b,d):d;var h=function(m){return{then:function(p){return h(p(m))}}};return h(d)}return(new Promise(function(m,p){M(e,f,function(q,v){v?p(v):m(q)},a.B,g,c.ah)})).then(function(m){return b?Ud(b,m):m})};var Ei=function(a){J.call(this,a);this.W=new Di};n(Ei,J);
|
|
Ei.prototype.send=function(a,b){var c=this,d=Ci()+"/batch",e=a.map(function(g){var h=l(g);g=h.next().value;h=l(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=l(m);m=p.next().value;p=l(p.next().value);p.next();p=p.next().value;null!=g[m]&&(h[m]=
|
|
Ud(p,g[m]))});return b?b(h):h};return this.callback?(M(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(M(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var Di=function(){return ie.apply(this,arguments)||this};n(Di,ie);
|
|
Di.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=Fi();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 Gi=function(a,b,c){a=l(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"))}},Ci=function(){var a=Hi.replace(/\/api$/,"");return"window"in t&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Ni=function(a,b,c){Ii&&Ji&&Ii({client_id:String(Ji),
|
|
immediate:!0,scope:Ki.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if(N&&"window"in t)try{Li(function(){try{t.gapi.auth.setToken(d),Mi(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Mi(a,b,d)})},Fi=function(){Oi&&0<=La()-Oi&&(Oi=Pi=null);return Pi},Qi=function(a,b){Ji=a;Ki=b},zi=function(a,b,c){null!=a?Hi=a:Ri||(Hi="https://earthengine.googleapis.com/api");null!=b?Si=b:Ri||(Si="https://earthengine.googleapis.com");void 0!==c&&(Ti=c);N&&(yi=yi||"earthengine-legacy");
|
|
Ri=!0},M=function(a,b,c,d,e,f){zi();var g=Ui,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=Fi();if(null!=m)h.Authorization=m;else if(c&&Ii&&Ji)return Ni(function(){Vi(g,function(){M(a,b,c,d)})}),null;b=b?b.clone():new ni;null!=Wi&&b.add("key",Wi);N?(g&&(h["X-Earth-Engine-Computation-Profile"]="1"),yi&&"earthengine-legacy"!==yi&&(h["X-Goog-User-Project"]=yi)):g&&b.add("profiling","1");b=Xi(b,a);null!=
|
|
Ti&&(h["X-XSRF-Token"]=Ti);null!=Yi&&(h["X-Earth-Engine-App-ID-Token"]=Yi);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("/")?Hi+a:a;if(c)return Zi.push($i(e,c,d,m,h,f)),aj.ne(),null;p=function(z,F){this.setRequestHeader&&this.setRequestHeader(F,z)};var q=0;for(f=null!=f?f:5;;){var v=Qh(Oh);v.open(d,e,!1);Fb(h,p,v);v.send(m);if(429!=v.status||q>f)break;q++}return bj(v.status,function(z){try{return v.getResponseHeader(z)}catch(F){return null}},
|
|
v.responseText,g)},$i=function(a,b,c,d,e,f){var g=0,h={url:a,method:c,content:d,headers:e},m=Ui,p=null!=f?f:10;h.callback=function(q){q=q.target;if(429==q.getStatus()&&g<p)return g++,setTimeout(function(){Zi.push(h);aj.ne()},Math.min(12E4,1E3*Math.pow(2,g))),null;var v=bj,z=q.getStatus(),F=y(q.getResponseHeader,q);try{var Q=q.s?q.s.responseText:""}catch(ba){Jh(q.oa,"Can not get responseText: "+ba.message),Q=""}return v(z,F,Q,m,b)};return h},Vi=function(a,b){var c=Ui;try{Ui=a,b.call(void 0)}finally{Ui=
|
|
c}},bj=function(a,b,c,d,e){var f=d?b("X-Earth-Engine-Computation-Profile"):"";f&&d&&d(f);var g=function(F){return N?F:F.data},h=function(F){try{var Q=JSON.parse(F);return x(Q)&&"error"in Q&&"message"in Q.error?Q.error.message:{parsed:Q}}catch(ba){return"Invalid JSON: "+F}},m=function(F){if(0===F)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>F||300<=F)return"Server returned HTTP code: "+F},p;b=b("Content-Type")||"application/json";
|
|
d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=h(c),b.parsed){var q=g(b.parsed);void 0===q&&(p="Malformed response: "+c)}else p=b;else if("multipart/mixed"===d){q={};var v=[];Gi(b,c,function(F,Q,ba){ba=h(ba);ba.parsed&&(q[F]=g(ba.parsed));(Q=(ba.parsed?"":ba)||m(Q))&&v.push(F+": "+Q)});v.length&&(p=v.join("\n"))}else var z="Response was unexpectedly not JSON, but "+d;p=p||m(a)||z;if(e)return e(q,p),null;if(!p)return q;throw Error(p);},Li=function(a){var b=function(){t.gapi.config.update("client/cors",
|
|
!0);Ii||(Ii=t.gapi.auth.authorize);a()};if(x(t.gapi)&&x(t.gapi.auth)&&Fa(t.gapi.auth.authorize))b();else{for(var c=La().toString(36);c in t;)c+="_";t[c]=function(){delete t[c];b()};qh(ic({onload:c}))}},Mi=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(Ni,.9*c);void 0!==d.unref&&d.unref();Oi=La()+c}Pi=b;a&&a()}else b&&b(c.error||"Unknown error.")},L=function(a){var b=new ni;a=l(Object.entries(a));for(var c=
|
|
a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},Zi=[],aj=new Lg(function(){var a=Zi.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=cj,g=new Th;Yh.push(g);c&&g.Na("complete",c);g.Ec("ready",g.Jh);f&&(g.fc=Math.max(0,f));g.send(b,d,e,a)}0==Zi.length||aj.ne()},350),Hi=null,Si=null,Ti=null,Yi=null,Xi=Vb,Pi=null,Oi=null,Ji=null,Ki=[],Ii=null,fc=new Yb(Wb,"https://apis.google.com/js/client.js?onload=%{onload}"),Wi=null,
|
|
N=!1,Ri=!1,cj=0,Ui=null;var dj=function(){},ej=function(a){if(void 0===a||null===a)a=Qd;return new oe({ob:a})},fj=function(a){return new oe({ab:a})},gj=function(a){return new oe({mb:new ne({values:a})})},hj=function(a){return new oe({qb:new Ee({values:a})})},ij=function(a,b){return new oe({fb:new df({functionName:a,arguments:b})})},jj=function(a,b){return new oe({fb:new df({Tb:a,arguments:b})})},kj=function(a,b){return new oe({ub:new cf({Wc:a,body:b})})},lj=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";default:return a}},mj=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}},nj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');
|
|
return a},oj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(w(a))return a;throw Error("Invalid band list "+a);},rj=function(a){var b=new Ne,c=!1;"palette"in a&&(c=a.palette,b.Hc="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.Hc?b.Hc.length-1:255;d=pj(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=pj(a,"min","max");0!==d.length&&(b.Ue=d.map(function(f){return new Fe(f)}),c=!0);a=qj(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},qj=function(a){return a?a.split(",").map(Number):[]},pj=function(a,b,c){var d=qj(a[b]),e=qj(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})},sj=function(a){var b=function(g){var h={};h.description=g.description||"";h.type=g.type||"";null!=g.Vc&&(h.name=g.Vc);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.Ye||"";null!=g.hidden&&(h.hidden=g.hidden);g.deprecated&&(h.deprecated=g.de);return h},
|
|
d={};a=l(a.kc||[]);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},tj=function(a){return(a=/^(projects\/[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/.exec(a))?a[1]:"projects/earthengine-legacy"},uj=function(a){return/^projects\/[a-z][a-z0-9\-]{4,28}[a-z0-9]\/assets\/.*/.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+a},wj=function(a){return(a.P||[]).map(vj)},yj=function(a){return(a.images||
|
|
[]).map(xj)},zj=function(a){switch(a){case "ALGORITHM":return"Algorithm";case "FOLDER":return"Folder";case "IMAGE":return"Image";case "IMAGE_COLLECTION":return"ImageCollection";case "TABLE":return"Table";default:return"Unknown"}},vj=function(a){var b=Aj(zj(a.type),a.name),c=Object.assign({},a.properties||{});a.Ea&&(c["system:asset_size"]=Number(a.Ea));a.startTime&&(c["system:time_start"]=Date.parse(a.startTime));a.endTime&&(c["system:time_end"]=Date.parse(a.endTime));a.geometry&&(c["system:footprint"]=
|
|
a.geometry);"string"===typeof a.title&&(c["system:title"]=a.title);"string"===typeof a.description&&(c["system:description"]=a.description);a.Ha&&(b.version=1E3*Date.parse(a.Ha));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,dimensions:[d.K.dimensions.width,d.K.dimensions.height],crs:d.K.ce,crs_transform:[d.K.ea.Ze||0,d.K.ea.df||0,d.K.ea.tf||0,d.K.ea.ef||0,d.K.ea.$e||0,d.K.ea.uf||0]};if(d.dataType){var f={type:"PixelType"};f.precision=(d.dataType.precision||"").toLowerCase();
|
|
d.dataType.Jc&&(f.min=d.dataType.Jc.min||0,f.max=d.dataType.Jc.max);e.data_type=f}return e}));return b},Bj=function(a){var b=new He,c=Object.assign({},a),d;a=function(e){d=c[e];delete c[e];return d};a("system:asset_size")&&(b.Ea=String(d));a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&(b.endTime=(new Date(Number(d))).toISOString());a("system:footprint")&&(b.geometry=d);"string"===typeof a("system:title")&&(b.title=d);"string"===typeof a("system:description")&&
|
|
(b.description=d);b.properties=c;return b},xj=function(a){return Aj("Image",a.name)},Aj=function(a,b){var c={};c.type=a;null!=b&&(a=b.split("/"),c.id="projects"===a[0]&&"assets"===a[2]?a.slice(3).join("/"):b);return c},Dj=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=Cj(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=l(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},Cj=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("],[")+"]]]}"},Ej=function(a){var b={};(a.Xc||[]).forEach(function(f){b[f.cc]=f.Bb});var c=new Set,d=function(f){var g=
|
|
f.replace(/^group:|^user:/,"");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},Fj=function(a){var b=function(d){return(a[d]||[]).map(function(e){return(a.groups&&a.groups.has(e)?"group:":"user:")+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{cc:"roles/owner",
|
|
Bb:b("owners")},{cc:"roles/viewer",Bb:b("readers").concat(c)},{cc:"roles/editor",Bb:b("writers")}].map(function(d){return new se(d)});return new If({Xc:b.filter(function(d){return d.Bb.length}),je:null})},Gj=function(a){return"projects/earthengine-legacy/operations/"+a},Hj=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Ij=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=new Hf(a.Je||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.be);c("update_timestamp_ms",e.Ha);c("start_timestamp_ms",e.startTime);a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=Hj(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.fe;b.source_url=e.af;return b},
|
|
Jj=function(a){var b={started:"OK"};a.name&&(b.taskId=Hj(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},Kj=function(a){var b=Object.assign({},a);if(a.primaryPath){var c=[a.primaryPath].concat(ca(a.additionalPaths||[]));b.hc=c}a.maxError&&(b.Ab=a.maxError);b.ea&&(b.ea=new ke(b.ea));return b},Nj=function(a){var b=new qf(a);b.name=uj(a.id);b.tilesets=(a.tilesets||[]).map(function(c){var d=(c.sources||[]).map(Kj).map(function(e){return new vf(e)});return new tf(Object.assign({},c,
|
|
{sources:d}))});b.bands=(a.bands||[]).map(function(c){var d=Lj(c.missingData);return new rf(Object.assign({},c,{missingData:d}))});b.missingData=Lj(a.missingData);b.Ge=rb((a.tilesets||[]).map(Mj));b.pyramidingPolicy=a.pyramidingPolicy||null;return b},Mj=function(a){var b=[];if(!w(a.fileBands))return b;var c=function(d){var e=[];null!=d&&w(d.bandId)&&(e=d.bandId.map(function(f){return f||""}));return new sf({ec:a.id||"",fa:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=
|
|
d.maskForBands&&b.push(c(d.maskForBands))});delete a.fileBands;return b},Oj=function(a){var b=new yf(a);b.name=uj(a.id);b.sources=(a.sources||[]).map(Kj).map(function(c){return new Mf(c)});return b},Lj=function(a){if(null==a)return null;var b=new of({values:[]});null!=a.value&&"number"===typeof a.value&&b.values.push(a.value);w(a.values)&&a.values.map(function(c){"number"===typeof c&&b.values.push(c)});return 0==b.values.length?null:b};var Pj=function(){this.cb=-1};var Qj=function(){this.cb=64;this.Y=Array(4);this.Fh=Array(this.cb);this.Dd=this.nc=0;this.reset()};B(Qj,Pj);Qj.prototype.reset=function(){this.Y[0]=1732584193;this.Y[1]=4023233417;this.Y[2]=2562383102;this.Y[3]=271733878;this.Dd=this.nc=0};
|
|
var Rj=function(a,b,c){c||(c=0);var d=Array(16);if(u(b))for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.Y[0];c=a.Y[1];e=a.Y[2];var f=a.Y[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&
|
|
(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|g>>>20);g=
|
|
e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<5&4294967295|
|
|
g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(g<<20&4294967295|
|
|
g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(g<<14&4294967295|
|
|
g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^
|
|
b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+3873151461&4294967295;
|
|
f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+
|
|
(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&4294967295;
|
|
c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.Y[0]=a.Y[0]+b&4294967295;a.Y[1]=a.Y[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.Y[2]=a.Y[2]+e&4294967295;a.Y[3]=a.Y[3]+f&4294967295};
|
|
Qj.prototype.update=function(a,b){wa(b)||(b=a.length);for(var c=b-this.cb,d=this.Fh,e=this.nc,f=0;f<b;){if(0==e)for(;f<=c;)Rj(this,a,f),f+=this.cb;if(u(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.cb){Rj(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.cb){Rj(this,d);e=0;break}}this.nc=e;this.Dd+=b};
|
|
Qj.prototype.digest=function(){var a=Array((56>this.nc?this.cb:2*this.cb)-this.nc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.Dd;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.Y[b]>>>d&255;return a};var Sj=function(a){this.Sc="__ee_hash__";this.ld=!1!==a;this.Oa=[];this.ua={};this.vf=[];this.hd=new WeakMap};A("ee.Serializer",Sj);var Tj=new rh,Uj=new Qj,Wj=function(a,b){return Vj(new Sj(void 0!==b?b:!0),a)};A("ee.Serializer.encode",Wj);var Xj=function(a){return Tj.X(Wj(a))};A("ee.Serializer.toJSON",Xj);var Zj=function(a){return Yj(Wj(a,!1))};A("ee.Serializer.toReadableJSON",Zj);
|
|
var Yj=function(a){return"JSON"in t?t.JSON.stringify(a,null," "):Tj.X(a)},Vj=function(a,b){b=a.bd(b);a.ld&&(b=x(b)&&"ValueRef"==b.type&&1==a.Oa.length?a.Oa[0][1]:{type:"CompoundValue",scope:a.Oa,value:b},a.Oa=[],$a(a.vf,y(function(c){delete c[this.Sc]},a)),a.vf=[],a.ua={});return b};
|
|
Sj.prototype.bd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=x(a)?a[this.Sc]:null;if(this.ld&&null!=b&&this.ua[b])return{type:"ValueRef",value:this.ua[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(Ea(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof dj){var c=a.encode(y(this.bd,this));if(!(w(c)||x(c)&&"ArgumentRef"!=c.type))return c}else if(w(a))c=bb(a,function(e){return this.bd(e)},
|
|
this);else if(x(a)&&!Fa(a))c=Hb(a,function(e){if(!Fa(e))return this.bd(e)},this),Pb(c,this.Sc),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.ld){b=ak(c);if(this.ua[b])var d=this.ua[b];else d=String(this.Oa.length),this.Oa.push([d,c]),this.ua[b]=d;a[this.Sc]=b;this.vf.push(a);return{type:"ValueRef",value:d}}return c};var ak=function(a){Uj.reset();Uj.update(Tj.X(a));return Uj.digest().toString()},ck=function(a){return bk(new Sj(!0),a)};
|
|
A("ee.Serializer.encodeCloudApi",ck);
|
|
var dk=function(a){a=bk(new Sj(!1),a);var b=a.values,c=function(d){if(!x(d))return d;var e=w(d)?[]:{},f=d instanceof Object.getPrototypeOf(oe);d=l(Object.entries(f?d.Serializable$values:d));for(var g=d.next();!g.done;g=d.next()){var h=l(g.value);g=h.next().value;h=h.next().value;f?null!==h&&(e[g]="functionDefinitionValue"===g&&null!=h.body?{argumentNames:h.argumentNames,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.functionReference?{arguments:h.arguments.map(c),functionReference:c(b[h.functionReference])}:
|
|
"constantValue"===g?h===Qd?null:h:c(h)):e[g]=c(h)}return e};return a.result&&c(b[a.result])};A("ee.Serializer.encodeCloudApiPretty",dk);var ek=function(a){return Yj(dk(a))};A("ee.Serializer.toReadableCloudApiJSON",ek);
|
|
var bk=function(a,b){try{var c=fk(a,b),d=new gk(c,a.Oa,a.ld),e=hk(d,d.eh);return new ye({result:e,values:d.Sg})}finally{a.hd=new WeakMap,a.ua={},a.Oa=[]}},fk=function(a,b){var c=function(e){var f=ak(e);if(a.ua[f])return a.ua[f];var g=String(a.Oa.length);a.Oa.push([g,e]);a.ua[f]=g;x(b)&&a.hd.set(b,f);return g};if(x(b)&&a.ua[a.hd.get(b)])return a.ua[a.hd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(ej(b));if(Ea(b))return c(ij("Date",{value:ej(Math.floor(b.getTime()))}));
|
|
if(b instanceof dj)return c(b.qa(function(e){return fk(a,e)}));if(w(b))return c(gj(b.map(function(e){return fj(fk(a,e))})));if(x(b)&&!Fa(b)){var d={};Object.keys(b).sort().forEach(function(e){d[e]=fj(fk(a,b[e]))});return c(hj(d))}throw Error("Can't encode object: "+b);},gk=function(a,b,c){var d=this;this.eh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.Xg=c?ik(this):null;this.Sg={};this.Ve={};this.bi=0},hk=function(a,b){if(b in a.Ve)return a.Ve[b];var c=String(a.bi++);a.Ve[b]=
|
|
c;a.Sg[c]=jk(a,a.values[b],0);return c},jk=function(a,b,c){var d=function(p){return null!==p.ob},e=function(p){return p===Qd?null:p};if(d(b)||null!=b.Ae||null!=b.Ud||null!=b.lc)return b;if(null!=b.ab)return d=a.values[b.ab],null===a.Xg||50>c&&1===a.Xg[b.ab]?jk(a,d,c):kk(d)?d:fj(hk(a,b.ab));if(null!=b.mb){var f=b.mb.values.map(function(p){return jk(a,p,c+3)});return f.every(d)?ej(f.map(function(p){return e(p.ob)})):gj(f)}if(null!=b.qb){f={};var g={};b=l(Object.entries(b.qb.values||{}));for(var h=b.next();!h.done;h=
|
|
b.next()){var m=l(h.value);h=m.next().value;m=m.next().value;f[h]=jk(a,m,c+3);null!==g&&d(f[h])?g[h]=e(f[h].ob):g=null}return null!==g?ej(g):hj(f)}if(null!=b.ub)return d=b.ub,kj(d.Wc||[],hk(a,d.body||""));if(null!=b.fb){d=b.fb;f={};g=l(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=jk(a,d.arguments[b],c+3);return d.functionName?ij(d.functionName,f):jj(hk(a,d.Tb||""),f)}throw Error("Can't optimize value: "+b);},kk=function(a){var b=a.ob;return null!==b?b===Qd||"number"===
|
|
typeof b||"boolean"===typeof b:null!=a.lc},ik=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.mb?e.mb.values.forEach(d):null!=e.qb?Object.values(e.qb.values).forEach(d):null!=e.ub?c(e.ub.body):null!=e.fb?(e=e.fb,null!=e.Tb&&c(e.Tb),Object.values(e.arguments).forEach(d)):null!=e.ab&&c(e.ab)};c(a.eh);return b};var ok=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=new Pe({m:ck(a.element),description:lk(a.description),ia:null,Sa:null,K:null,Ie:lk(a.maxPixels),L:lk(a.id)}),c=mk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":b.ia=nk(a,c);break;case "ASSET":c=a.pyramidingPolicy||{};try{c=JSON.parse(c)}catch(e){}var d="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof c?(d=c,c={}):c[".default"]&&(d=c[".default"],delete c[".default"]);a=new Qe({rb:new Le({name:uj(a.assetId)}),
|
|
pyramidingPolicy:d,Te:Ob(c)?null:c});b.Sa=a;break;default:throw Error('Export destination "'+c+'" unknown');}return b},sk=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 Ve({m:ck(a.element),description:lk(a.description),ia:null,Sa:null,selectors:b,Ab:pk(a.maxErrorMeters),L:lk(a.id)});var c=mk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Xe({ja:null,ha:null,I:mj(a.fileFormat)});
|
|
"GOOGLE_CLOUD_STORAGE"===c?d.ja=qk(a):d.ha=rk(a);b.ia=d;break;case "ASSET":b.Sa=new We({rb:new Le({name:uj(a.assetId)})});break;default:throw Error('Export destination "'+c+'" unknown');}return b},uk=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=new af({m:ck(a.element),description:lk(a.description),Ia:new $e({framesPerSecond:pk(a.framesPerSecond),maxFrames:pk(a.maxFrames),maxPixelsPerFrame:lk(a.maxPixels)}),ia:null,L:lk(a.id)});b.ia=tk(a,mk(a));return b},wk=
|
|
function(a){if(null==a.element)throw Error('"element" not found in params '+a);return new Te({m:ck(a.element),description:lk(a.description),Hb:vk(a),Gb:nk(a,"GOOGLE_CLOUD_STORAGE"),L:lk(a.id)})},xk=function(a){if(null==a.element)throw Error('"element" not found in params '+a);return new Ye({m:ck(a.element),description:lk(a.description),Ia:new $e({framesPerSecond:pk(a.framesPerSecond),maxFrames:pk(a.maxFrames),maxPixelsPerFrame:null}),Hb:vk(a),Gb:tk(a,"GOOGLE_CLOUD_STORAGE"),L:lk(a.id),version:lk(a.version)})};
|
|
function lk(a){return null!=a?String(a):null}function pk(a){return null!=a?Number(a):null}
|
|
var mk=function(a){var b="DRIVE";if(null==a)return b;null!=a.outputBucket||null!=a.outputPrefix?b="GOOGLE_CLOUD_STORAGE":null!=a.assetId&&(b="ASSET");return b},zk=function(a){var b=new pf({Yd:!!a.tfrecordCompressed,Vb:lk(a.tfrecordMaxFileSize),bf:!!a.tfrecordSequenceData,Xd:!!a.tfrecordCollapseBands,He:pk(a.tfrecordMaskedThreshold),defaultValue:pk(a.tfrecordDefaultValue),Ga:yk(a.tfrecordPatchDimensions),Fe:yk(a.tfrecordKernelSize),zd:null});a=a.tfrecordTensorDepths;if(null!=a)if(x(a)){var c={};Fb(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.zd=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},nk=function(a,b){var c=new Re({ja:null,ha:null,dd:null,Ad:null,I:lj(a.fileFormat)});"GEO_TIFF"===c.I?c.dd=new ff({Wd:!!a.tiffCloudOptimized,gf:!!a.tiffSkipEmptyFiles,Ga:yk(a.tiffFileDimensions)}):"TF_RECORD_IMAGE"===c.I&&(c.Ad=zk(a));"GOOGLE_CLOUD_STORAGE"===
|
|
b?c.ja=qk(a):c.ha=rk(a);return c},tk=function(a,b){var c=new Ze({ja:null,ha:null,I:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ja=qk(a):c.ha=rk(a);return c},vk=function(a){return new Ue({maxZoom:pk(a.maxZoom),scale:pk(a.scale),minZoom:pk(a.minZoom),hf:!!a.skipEmptyTiles,Ee:lk(a.mapsApiKey),Ga:yk(a.tileDimensions),kf:pk(a.stride)})},yk=function(a){if(null==a)return null;var b=new gf({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(w(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(x(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);return b},qk=function(a){return new ef({Sd:lk(a.outputBucket),sb:lk(a.outputPrefix),Td:null,permissions:null})},rk=function(a){return new Ge({pe:lk(a.driveFolder),sb:lk(a.driveFileNamePrefix)})};var Bk=function(a,b){this.Ra=a;this.Hd=b;this.o={};this.mc=!0;if(0<this.Ra.length){for(a=0;a<this.Ra.length;a++){b=this.Ra[a];var c=b[0];this.o[c.toString()]=new Ak(c,b[1])}this.mc=!0}},Ck=function(a){if(a.mc){if(a.Hd){var b=a.o,c;for(c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c].ic;d&&Ck(d)}}}else{a.Ra.length=0;b=Dk(a);b.sort();for(c=0;c<b.length;c++){var e=a.o[b[c]];(d=e.ic)&&Ck(d);a.Ra.push([e.key,e.value])}a.mc=!0}return a.Ra},Ek=function(a){this.tg=0;this.Ra=a};
|
|
Ek.prototype.next=function(){return this.tg<this.Ra.length?{done:!1,value:this.Ra[this.tg++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&(Ek.prototype[Symbol.iterator]=function(){return this});k=Bk.prototype;k.getLength=function(){return Dk(this).length};k.clear=function(){this.o={};this.mc=!1};k.entries=function(){var a=[],b=Dk(this);b.sort();for(var c=0;c<b.length;c++){var d=this.o[b[c]];a.push([d.key,Fk(this,d)])}return new Ek(a)};
|
|
k.keys=function(){var a=[],b=Dk(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.o[b[c]].key);return new Ek(a)};k.values=function(){var a=[],b=Dk(this);b.sort();for(var c=0;c<b.length;c++)a.push(Fk(this,this.o[b[c]]));return new Ek(a)};k.forEach=function(a,b){var c=Dk(this);c.sort();for(var d=0;d<c.length;d++){var e=this.o[c[d]];a.call(b,Fk(this,e),e.key,this)}};k.set=function(a,b){var c=new Ak(a);this.Hd?(c.ic=b,c.value=Ck(b)):c.value=b;this.o[a.toString()]=c;this.mc=!1;return this};
|
|
var Fk=function(a,b){return a.Hd?(b.ic||(b.ic=new a.Hd(b.value)),b.ic):b.value};Bk.prototype.get=function(a){if(a=this.o[a.toString()])return Fk(this,a)};Bk.prototype.has=function(a){return a.toString()in this.o};var Dk=function(a){a=a.o;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},Ak=function(a,b){this.key=a;this.value=b;this.ic=void 0};Object.freeze&&Object.freeze([]);var Hk=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine"];N&&f.push("https://www.googleapis.com/auth/cloud-platform");d&&(nb(f,d),pb(f));Qi(a,f);null===a?Oi=Pi=null:Li(function(){Ni(b,c,e||Ka(Gk,b,c))})};A("ee.data.authenticateViaOauth",Hk);var Ik=function(a,b,c,d,e){Hk(a,b,c,d,e)};A("ee.data.authenticate",Ik);var Gk=function(a,b){t.gapi.auth.authorize({client_id:Ji,immediate:!1,scope:Ki.join(" ")},Ka(Mi,a,b))};A("ee.data.authenticateViaPopup",Gk);
|
|
var Jk=function(a,b,c,d){if("window"in t)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");var e=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/devstorage.read_write"];N&&e.push("https://www.googleapis.com/auth/cloud-platform");d&&(nb(e,d),pb(e));Qi(a.client_email,e);var f=new google.auth.JWT(a.client_email,null,a.private_key,e,null);Ii=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})})};Ni(b,c)};A("ee.data.authenticateViaPrivateKey",Jk);var Kk=[];Kk.push("setApiKey");Kk.push("setProject");Kk.push("getProject");Kk.push("setCloudApiEnabled");Kk.push("getCloudApiEnabled");A("ee.data.setExpressionAugmenter",function(a){Lk=a||Vb});var Lk=Vb;A("ee.data.setDeadline",function(a){cj=a});A("ee.data.setParamAugmenter",function(a){Xi=a||Vb});
|
|
var Mk=function(a){if(N)return a=new J(a),K(a,a.kc().list(Bi(),{prettyPrint:!1}).then(sj));var b=M("/algorithms",null,a,"GET");return a?null:b},Ok=function(a,b){if(N){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 Me({name:null,m:Lk(ck(a.image)),I:lj(a.format),fa:oj(a.bands),Kb:rj(a)});var c=new J(b);return K(c,c.maps().create(Bi(),a,{fields:["name"]}).then(function(e){var f=Wi;return Nk(e.name,
|
|
"","/v1alpha/{}/tiles",f?"?key="+f:"")}))}a=Qb(a);"string"!==typeof a.image&&(a.image=a.image.X());var d=function(e){return Nk(e.mapid,e.token,"/map/{}","?token={}")};return b?(M("/mapid",L(a),function(e,f){return b(e&&d(e),f)}),null):d(M("/mapid",L(a)))};A("ee.data.getMapId",Ok);var Pk=function(a,b,c,d){return a.formatTileUrl(b,c,d)};A("ee.data.getTileUrl",Pk);
|
|
var Nk=function(a,b,c,d){c=Si+c.replace("{}",a);d=d.replace("{}",b);return{mapid:a,token:b,formatTileUrl:function(e,f,g){var h=Math.pow(2,g);e%=h;0>e&&(e+=h);return[c,g,e,f].join("/")+d}}},Qk=function(a,b){a=Qb(a);return M("/value",L(a),b)};A("ee.data.getValue",Qk);
|
|
var Rk=function(a,b){if(N)return a=Lk(ck(a)),b=new J(b),K(b,cg(b.value(),Bi(),new xe({m:a})).then(function(c){return c.result}));a={json:Xj(a)};return M("/value",L(a),b)},Sk=function(a,b){if(N){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.');a=new Nf({name:null,m:Lk(ck(a.image)),
|
|
I:lj(a.format),fa:oj(a.bands),Kb:rj(a),K:null});b=new J(b);return K(b,(new ag(b.W)).create(Bi(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))}a=Qb(a);w(a.dimensions)&&(a.dimensions=a.dimensions.join("x"));var c=a.image||a.imageCollection;"string"!==typeof c&&(c=c.X());a.image=c;delete a.imageCollection;a=L(a).add("getid","1");return M("/thumb",a,b)};A("ee.data.getThumbId",Sk);
|
|
var Tk=function(a,b){if(!N)throw Error("getVideoThumbId is only supported in Cloud API mode.");var c=new $e({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Qf({name:null,m:Lk(ck(a.imageCollection)),I:lj(a.format),Ia:c,K:null});b=new J(b);return K(b,(new fg(b.W)).create(Bi(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};A("ee.data.getVideoThumbId",Tk);Kk.push("getVideoThumbId");
|
|
var Uk=function(a,b){if(!N)throw Error("getFilmstripThumbId is only supported in Cloud API mode.");a=new bf({name:null,m:Lk(ck(a.imageCollection)),I:lj(a.format),orientation:nj(a.orientation),K:null});b=new J(b);return K(b,(new Vf(b.W)).create(Bi(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};A("ee.data.getFilmstripThumbId",Uk);Kk.push("getFilmstripThumbId");
|
|
var Vk=function(a){if(N){var b=Wi;return Si+"/v1alpha/"+a.thumbid+":getPixels"+(b?"?key="+b:"")}return Si+"/api/thumb?thumbid="+a.thumbid+"&token="+a.token};A("ee.data.makeThumbUrl",Vk);var Wk=function(a,b){a=Qb(a);return M("/download",L(a),b)};A("ee.data.getDownloadId",Wk);var Xk=function(a){return Si+"/api/download?docid="+a.docid+"&token="+a.token};A("ee.data.makeDownloadUrl",Xk);var Yk=function(a,b){a=Qb(a);return M("/table",L(a),b)};A("ee.data.getTableDownloadId",Yk);
|
|
var Zk=function(a){return Si+"/api/table?docid="+a.docid+"&token="+a.token};A("ee.data.makeTableDownloadUrl",Zk);var $k=function(a,b){if(N){var c=function(e){return Math.floor(Math.random()*Math.pow(2,4*e)).toString(16).padStart(e,"0")};a=qb(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(4*Math.random())).toString(16)+c(3),c(12)].join("-")});return b?b(a):a}var d={};"number"===typeof a&&(d.count=a);return M("/newtaskid",L(d),b)};A("ee.data.newTaskId",$k);
|
|
var bl=function(a,b){if(N){var c=al(a).map(Gj);if(1===c.length)return b=new J(b),K(b,b.Da().get(c[0]).then(function(e){return[Ij(e)]}));b=new Ei(b);var d=b.Da();return b.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(f){return Ij(e[f])})})}a="/taskstatus?q="+al(a).join();return M(a,null,b,"GET")};A("ee.data.getTaskStatus",bl);
|
|
var al=function(a){if("string"===typeof a)return[a];if(w(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},dl=function(a){return cl(void 0,a)};A("ee.data.getTaskList",dl);
|
|
var cl=function(a,b){function c(h){var m={pagesize:500};a&&(m.pagesize=Math.min(m.pagesize,a-e.tasks.length));h&&(m.pagetoken=h);return m}function d(h,m){m=c(m);M("/tasklist",L(m),function(p,q){q?h(e,q):(nb(e.tasks,p.tasks),!p.next_page_token||a&&e.tasks.length>=a?h(e):d(h,p.next_page_token))},"GET")}if(N)return b?(el(a,function(h,m){return b(h?{tasks:h.map(Ij)}:null,m)}),null):{tasks:el(a).map(Ij)};var e={tasks:[]};if(b)return d(b),null;for(var f="";;){f=c(f);var g=M("/tasklist",L(f),void 0,"GET");
|
|
nb(e.tasks,g.tasks);f=g.next_page_token;if(!g.next_page_token||a&&e.tasks.length>=a)break}return e};A("ee.data.getTaskListWithLimit",cl);var el=function(a,b){var c=[],d={pageSize:500},e=function(h){nb(c,h.Da||[]);!h.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.nextPageToken,K(f,g.list(Bi(),d).then(e)));return null},f=new J(b?function(h,m){return m&&b(h,m)}:void 0),g=f.Da();K(f,g.list(Bi(),d).then(e));return b?null:a?c.slice(0,a):c};Kk.push("listOperations");
|
|
var fl=function(a,b){a=al(a);var c=new ue;if(1===a.length)b=new J(b),K(b,b.Da().cancel(a[0],c));else{b=new Ei(b);var d=b.Da();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};A("ee.data.cancelOperation",fl);Kk.push("cancelOperation");var gl=function(a,b){var c=al(a).map(Gj);if(!w(a))return a=new J(b),K(a,a.Da().get(c[0]));a=new Ei(b);var d=a.Da();return a.send(c.map(function(e){return[e,d.get(e)]}))};A("ee.data.getOperation",gl);Kk.push("getOperation");
|
|
var il=function(a,b){return hl(a,"CANCEL",b)};A("ee.data.cancelTask",il);var hl=function(a,b,c){if(!Lb(jl,b))throw Error("Invalid action: "+b);a=al(a);return N?(a=a.map(Gj),fl(a,c),null):M("/updatetask",L({id:a,action:b}),c,"POST")};A("ee.data.updateTask",hl);
|
|
var ml=function(a,b,c){if(N){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new J(c);c=function(f){return K(e,f.then(Jj))};switch(d){case "EXPORT_IMAGE":return b=kl(b),b=ok(b),b.m=Lk(b.m,a),c(e.image().Va(Bi(),b));case "EXPORT_FEATURES":return b=sk(b),b.m=Lk(b.m,a),c(e.table().Va(Bi(),b));case "EXPORT_VIDEO":return b=ll(b),b=uk(b),b.m=Lk(b.m,a),c(e.video().Va(Bi(),b));case "EXPORT_TILES":return b=wk(b),b.m=Lk(b.m,a),c(e.map().Va(Bi(),b));case "EXPORT_VIDEO_MAP":return b=
|
|
xk(b),b.m=Lk(b.m,a),c((new eg(e.W)).Va(Bi(),b));default:throw Error("Unable to start processing for task of type "+d);}}b=Qb(b);null!=b.element&&(b.json=b.element.X(),delete b.element);w(b.crs_transform)&&(b.crs_transform=b.crs_transform.toString());b.id=a;return M("/processingrequest",L(b),c)};A("ee.data.startProcessing",ml);
|
|
var ol=function(a,b,c){if(N){b=Nj(b);var d=function(e){return e?Jj(e):null};return d(nl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,request:sh(b)};return M("/ingestionrequest",L(a),c)};A("ee.data.startIngestion",ol);
|
|
var nl=function(a,b,c){b=new wf({we:b,L:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return K(a,a.image()["import"](Bi(),b))},pl=function(a,b,c){b=new xf({nf:b,L:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return K(a,a.table()["import"](Bi(),b))},ql=function(a,b,c){if(N){b=Oj(b);var d=function(e){return e?Jj(e):null};return d(pl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,tableRequest:sh(b)};return M("/ingestionrequest",L(a),c)};A("ee.data.startTableIngestion",ql);
|
|
var rl=function(a,b){return N?(b=new J(b),a=uj(a),K(b,b.P().get(a,{prettyPrint:!1}).then(vj))):M("/info",(new ni).add("id",a),b)};A("ee.data.getAsset",rl);Kk.push("getAsset");A("ee.data.getInfo",rl);var sl=function(a,b){if(N){var c=uj(a.id);if(Object.keys(a).every(function(d){return"id"===d||"num"===d}))return b=new J(b),K(b,b.P().Cc(c,{pageSize:a.num}).then(wj));a=Dj(a);b=new J(b);return K(b,Uf(b.P(),c,a).then(yj))}c=L(a);return M("/list",c,b)};A("ee.data.getList",sl);
|
|
var tl=function(a,b,c){b=void 0===b?{}:b;c=new J(c);return K(c,c.P().Cc(a,b))};A("ee.data.listAssets",tl);Kk.push("listAssets");var ul=function(a,b,c){b=void 0===b?{}:b;c=new J(c);return K(c,Uf(c.P(),a,b))};A("ee.data.listImages",ul);Kk.push("listImages");var vl=function(a,b){b=new J(b);return K(b,(new Sf(b.W)).Cc(a||Bi()))};A("ee.data.listBuckets",vl);Kk.push("listBuckets");var wl=function(a){return N?(a=new J(a),K(a,(new Sf(a.W)).Cc(Bi()).then(wj))):M("/buckets",null,a,"GET")};
|
|
A("ee.data.getAssetRoots",wl);var xl=function(a,b){if(N){var c=tj(a);a=new He({assetId:"projects/earthengine-legacy"===c?a:void 0,type:"Folder"});b=new J(b);K(b,b.P().create(c,a).then(vj))}else c=L({id:a}),M("/createbucket",c,b)};A("ee.data.createAssetHome",xl);
|
|
var yl=function(a,b,c,d,e){if(N){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&uj(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 He(a);b=c.slice(0,f);a.id=c.slice(f+8);a.name=null;d&&!a.properties&&(a.properties=d);a:switch(d=a.type,d){case "ImageCollection":d="IMAGE_COLLECTION";break a;case "Folder":d=
|
|
"FOLDER"}a.type=d;e=new J(e);return K(e,e.P().create(b,a).then(vj))}"string"!==typeof a&&(a=sh(a));a={value:a};void 0!==b&&(a.id=b);a.force=c||!1;void 0!=d&&(a.properties=sh(d));return M("/create",L(a),e)};A("ee.data.createAsset",yl);var zl=function(a,b,c){return N?(b=tj(a),a=new He({name:uj(a),type:"Folder"}),c=new J(c),K(c,c.P().create(b,a).then(vj))):M("/createfolder",L({id:a,force:b||!1}),c)};A("ee.data.createFolder",zl);
|
|
var Al=function(a,b,c){N?(a=uj(a),b=new Ff({pb:uj(b)}),c=new J(c),K(c,c.P().move(a,b).then(vj))):M("/rename",L({sourceId:a,destinationId:b}),c)};A("ee.data.renameAsset",Al);
|
|
var Bl=function(a,b,c,d){if(N){a=uj(a);c=new Be({pb:uj(b),overwrite:null!=c?c:null});d=new J(d);b=vj;var e=d.P();H(a,/^projects\/[^/]+\/assets\/.+$/);a=I(e.u,{body:c,B:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.w+"/"+a+":copy",A:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},G:He});K(d,a.then(b))}else a={sourceId:a,destinationId:b},c&&(a.allowOverwrite=
|
|
c),M("/copy",L(a),d)};A("ee.data.copyAsset",Bl);var Cl=function(a,b){N?(b=new J(b),K(b,b.P()["delete"](uj(a)))):M("/delete",L({id:a}),b)};A("ee.data.deleteAsset",Cl);
|
|
var Dl=function(a,b){if(N){a=uj(a);var c=new hf;b=new J(b);var d=b.P(),e={prettyPrint:!1},f=void 0===e?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:e;e=void 0===f.$Xgafv?void 0:f.$Xgafv;var g=void 0===f.access_token?void 0:f.access_token,h=void 0===f.alt?void 0:f.alt,m=void 0===f.callback?void 0:f.callback,p=void 0===f.fields?void 0:f.fields,q=void 0===f.key?void 0:
|
|
f.key,v=void 0===f.oauth_token?void 0:f.oauth_token,z=void 0===f.prettyPrint?void 0:f.prettyPrint,F=void 0===f.quotaUser?void 0:f.quotaUser,Q=void 0===f.uploadType?void 0:f.uploadType;f=void 0===f.upload_protocol?void 0:f.upload_protocol;H(a,/^projects\/[^/]+\/assets\/.+$/);a=I(d.u,{body:c,B:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+d.w+"/"+a+":getIamPolicy",A:{"$.xgafv":e,access_token:g,alt:h,callback:m,fields:p,key:q,oauth_token:v,prettyPrint:z,quotaUser:F,uploadType:Q,upload_protocol:f},
|
|
G:If});return K(b,a.then(Ej))}return M("/getacl",L({id:a}),b,"GET")};A("ee.data.getAssetAcl",Dl);
|
|
var El=function(a,b,c,d){b=new Pf({Pd:b,gc:(c||[]).join(",")});d=new J(d);c=vj;var e=d.P();a=uj(a);H(a,/^projects\/[^/]+\/assets\/.+$/);a=I(e.u,{body:b,B:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.w+"/"+a,A:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},G:He});return K(d,a.then(c))};A("ee.data.updateAsset",El);
|
|
var Fl=function(a,b,c){if(N){a=uj(a);b=Fj(b);b=new Lf({Ne:b});c=new J(c);var d=c.P(),e={prettyPrint:!1},f=void 0===e?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:e;e=void 0===f.$Xgafv?void 0:f.$Xgafv;var g=void 0===f.access_token?void 0:f.access_token,h=void 0===f.alt?void 0:f.alt,m=void 0===f.callback?void 0:f.callback,p=void 0===f.fields?void 0:f.fields,q=void 0===
|
|
f.key?void 0:f.key,v=void 0===f.oauth_token?void 0:f.oauth_token,z=void 0===f.prettyPrint?void 0:f.prettyPrint,F=void 0===f.quotaUser?void 0:f.quotaUser,Q=void 0===f.uploadType?void 0:f.uploadType;f=void 0===f.upload_protocol?void 0:f.upload_protocol;H(a,/^projects\/[^/]+\/assets\/.+$/);a=I(d.u,{body:b,B:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+d.w+"/"+a+":setIamPolicy",A:{"$.xgafv":e,access_token:g,alt:h,callback:m,fields:p,key:q,oauth_token:v,prettyPrint:z,quotaUser:F,uploadType:Q,
|
|
upload_protocol:f},G:If});K(c,a)}else b={readers:b.readers,writers:b.writers,all_users_can_read:b.all_users_can_read},a={id:a,value:sh(b)},M("/setacl",L(a),c)};A("ee.data.setAssetAcl",Fl);
|
|
var Gl=function(a,b,c){if(N){var d=Bj(b);b=d.f().keys.filter(function(e){return"properties"!==e&&null!==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}));El(a,d,b,c)}else a={id:a,properties:sh(b)},M("/setproperties",L(a),c)};A("ee.data.setAssetProperties",Gl);
|
|
var Hl=function(a,b){if(N){var c=uj(a);b=new J(b);return K(b,b.P().get(c,{prettyPrint:!1}).then(function(d){if(!d.quota)throw Error(a+" is not a root folder.");var e=function(f){return Number(d.quota[f]||0)};return{asset_count:{usage:e("assetCount"),limit:e("maxAssetCount")},asset_size:{usage:e("sizeBytes"),limit:e("maxSizeBytes")}}}))}return M("/quota",L({id:a}),b,"GET")};A("ee.data.getAssetRootQuota",Hl);var jl={si:"CANCEL",yi:"UPDATE"};var O=function(a,b,c){if(!(this instanceof O))return Il(O,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.C=a;this.args=b;this.S=c||null};B(O,dj);A("ee.ComputedObject",O);O.prototype.evaluate=function(a){if(!a||!Fa(a))throw Error("evaluate() requires a callback function.");Rk(this,a)};O.prototype.evaluate=O.prototype.evaluate;
|
|
O.prototype.V=function(a){return Rk(this,a)};O.prototype.getInfo=O.prototype.V;O.prototype.encode=function(a){if(null===this.C&&null===this.args)return{type:"ArgumentRef",value:this.S};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.C);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
O.prototype.qa=function(a){if(null===this.C&&null===this.args){if(null===this.S)throw Error("Internal error: function argument not initialized.");return new oe({lc:this.S})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=fj(a(this.args[c])));return"string"===typeof this.C?ij(String(this.C),b):this.C.he(a,b)};O.prototype.X=function(){return Xj(this)};O.prototype.serialize=O.prototype.X;O.prototype.toString=function(){return"ee."+this.name()+"("+Zj(this)+")"};
|
|
A("ee.ComputedObject.prototype.toString",O.prototype.toString);O.prototype.name=function(){return"ComputedObject"};O.prototype.wf=function(a,b){var c=mb(arguments);c[0]=this;a.apply(t,c);return this};O.prototype.aside=O.prototype.wf;var Jl=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.C=b.C;a.args=b.args;a.S=b.S;return a},Il=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var Kl={},Ll=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}},Ml=function(a){return"number"===typeof a||a instanceof O&&"Number"==a.name()},Nl=function(a){return"string"===typeof a||a instanceof O&&"String"==a.name()},Ol=function(a){return x(a)&&
|
|
!Fa(a)?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},Pl=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&Ol(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var Ql=function(){if(!(this instanceof Ql))return new Ql};B(Ql,dj);A("ee.Function",Ql);var Rl=Vb;Ql.prototype.call=function(a){return this.apply(Sl(this,Array.prototype.slice.call(arguments,0)))};Ql.prototype.call=Ql.prototype.call;Ql.prototype.apply=function(a){a=new O(this,Tl(this,a));return Rl(a,this.Z().returns)};Ql.prototype.apply=Ql.prototype.apply;
|
|
var Ul=function(a,b,c){var d=void 0!==b,e=a.Z();if(Pl(c,e,d)){if(c=Qb(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=Sl(a,d?[b].concat(c):c);return a.apply(c)},Tl=function(a,b){for(var c=a.Z().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&void 0!==b[g])d[g]=Rl(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},Sl=function(a,b){var c=a.Z().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
|
|
Ql.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(bb(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("")};Ql.prototype.X=function(){return Xj(this)};var P=function(a,b){if(void 0===b)return Vl(a);if(!(this instanceof P))return Il(P,arguments);this.Pa=Rb(b);this.Pa.name=a};B(P,Ql);A("ee.ApiFunction",P);var R=function(a,b){return Ql.prototype.call.apply(Vl(a),Array.prototype.slice.call(arguments,1))};A("ee.ApiFunction._call",R);var Wl=function(a,b){return Vl(a).apply(b)};A("ee.ApiFunction._apply",Wl);P.prototype.encode=function(){return this.Pa.name};P.prototype.he=function(a,b){return ij(this.Pa.name,b)};P.prototype.Z=function(){return this.Pa};
|
|
var Xl=null,Yl={},$l=function(){Zl();return Hb(Xl,function(a){return a.Z()})},am=function(){Zl();return Gb(Xl,function(a,b){return!Yl[b]})},Vl=function(a){var b=bm(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};A("ee.ApiFunction.lookup",Vl);
|
|
var bm=function(a){Zl();return Xl[a]||null},Zl=function(a,b){if(Xl)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(Xl=Hb(d,function(f,g){f.returns=f.returns.replace(/<.*>/,"");for(var h=0;h<f.args.length;h++)f.args[h].type=f.args[h].type.replace(/<.*>/,"");return new P(g,f)}),a&&a())};a?Mk(c):c(Mk())}},cm=function(a,b,c,d){Zl();var e=d||"";Fb(Xl,function(f,g){var h=g.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var m=f.Z();Yl[g]=!0;var p=!1;m.args.length&&(g=m.args[0].type,p="Object"!=g&&Ll(g,c));
|
|
g=p?a.prototype:a;h in g&&!g[h].signature||(g[h]=function(q){return Ul(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[h].toString=y(f.toString,f,h,p),g[h].signature=m)}})},dm=function(a){var b=function(c){for(var d in c)Fa(c[d])&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var S=function(a,b){var c=em(a),d=bb(c,function(m){return m.replace(/^opt_/,"")});a=(a=t.EXPORTED_FN_INFO?t.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},f=b[0],g=x(f)&&!Fa(f)&&!w(f)&&!(f instanceof O);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 Jd(Kb(f));var h=new Jd(d);if(h.yg(g).isEmpty())e[d[0]]=b[0];else{b=
|
|
g.ge(h);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.T().join(", "));e=Qb(f)}}b=new Jd(Kb(e));c=(new Jd(ab(c,function(m){return 0!=m.lastIndexOf("opt_",0)}))).ge(b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.T().join(", "));return e},em=function(a){var b=fm,c=[];t.EXPORTED_FN_INFO?(a=t.EXPORTED_FN_INFO[a.toString()],x(a)||gm(),c=a.paramNames,w(c)||gm()):(a=a.toString().replace(hm,"").match(b),null===a&&gm(),c=(a[1].split(",")||[]).map(function(d){return d.replace(im,
|
|
"")}));return c},gm=function(){throw Error("Failed to locate function parameters.");},hm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,fm=/^function[^\(]*\(([^\)]*)\)/m,im=/=.*$/;var T=function(a,b,c){O.call(this,a,b,c);jm()};B(T,O);A("ee.Element",T);var km=!1,jm=function(){km||(cm(T,"Element","Element"),km=!0)};T.prototype.name=function(){return"Element"};
|
|
T.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=Ol(c))a:{b=Kb(c);var d=["properties"];if(Da(b)&&Da(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&&x(c.properties)&&(c=c.properties);if(Ol(c)){b=this;for(var g in c)d=c[g],b=R("Element.set",b,g,d)}else if(c instanceof O&&bm("Element.setMulti"))b=R("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=R("Element.set",b,g,d)}return Jl(this,b)};T.prototype.set=T.prototype.set;var U=function(a,b,c,d){if(!(this instanceof U))return Il(U,arguments);if(!("type"in a)){var e=S(U,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}lm();e=null!=b||null!=c||null!=d;if(a instanceof O&&!(a instanceof U&&a.$a)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");O.call(this,a.C,a.args,a.S)}else{a instanceof U&&(a=a.encode());if(!mm(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));O.call(this,
|
|
null,null);this.$a=a.type;this.Pf=null!=a.coordinates?Rb(a.coordinates):null;this.lg=a.geometries||null;if(null!=b)this.Db=b;else if("crs"in a)if(x(a.crs)&&"name"==a.crs.type&&x(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.Db=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new rh).X(a.crs));this.Ub=c;void 0===this.Ub&&"geodesic"in a&&(this.Ub=!!a.geodesic);this.Rb=d;void 0===this.Rb&&"evenOdd"in a&&(this.Rb=!!a.evenOdd)}};B(U,O);A("ee.Geometry",U);
|
|
var nm=!1,lm=function(){nm||(cm(U,"Geometry","Geometry"),nm=!0)},om=function(a,b){if(!(this instanceof om))return pm(om,arguments);var c=qm(om,"Point",1,arguments);if(!(c instanceof O)){var d=c.coordinates;if(!w(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}U.call(this,c)};B(om,U);U.Point=om;var rm=function(a,b){if(!(this instanceof rm))return pm(rm,arguments);U.call(this,qm(rm,"MultiPoint",2,arguments))};B(rm,U);U.MultiPoint=rm;
|
|
var sm=function(a,b,c,d){if(!(this instanceof sm))return pm(sm,arguments);var e=qm(sm,"Rectangle",2,arguments);if(!(e instanceof O)){var f=e.coordinates;if(2!=f.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var g=f[0][0],h=f[0][1],m=f[1][0];f=f[1][1];e.coordinates=[[[g,f],[g,h],[m,h],[m,f]]];e.type="Polygon"}U.call(this,e)};B(sm,U);U.Rectangle=sm;
|
|
var tm=function(a,b,c,d){if(!(this instanceof tm))return pm(tm,arguments);U.call(this,qm(tm,"LineString",2,arguments))};B(tm,U);U.LineString=tm;var um=function(a,b,c,d){if(!(this instanceof um))return pm(um,arguments);U.call(this,qm(um,"LinearRing",2,arguments))};B(um,U);U.LinearRing=um;var vm=function(a,b,c,d){if(!(this instanceof vm))return pm(vm,arguments);U.call(this,qm(vm,"MultiLineString",3,arguments))};B(vm,U);U.MultiLineString=vm;
|
|
var wm=function(a,b,c,d,e){if(!(this instanceof wm))return pm(wm,arguments);U.call(this,qm(wm,"Polygon",3,arguments))};B(wm,U);U.Polygon=wm;var xm=function(a,b,c,d,e){if(!(this instanceof xm))return pm(xm,arguments);U.call(this,qm(xm,"MultiPolygon",4,arguments))};B(xm,U);U.MultiPolygon=xm;
|
|
U.prototype.encode=function(a){if(!this.$a){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return O.prototype.encode.call(this,a)}a={type:this.$a};"GeometryCollection"==this.$a?a.geometries=this.lg:a.coordinates=this.Pf;null!=this.Db&&(a.crs={type:"name",properties:{name:this.Db}});null!=this.Ub&&(a.geodesic=this.Ub);null!=this.Rb&&(a.evenOdd=this.Rb);return a};
|
|
U.prototype.Oc=function(){if(this.C)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};U.prototype.toGeoJSON=U.prototype.Oc;U.prototype.sf=function(){if(this.C)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new rh).X(this.Oc())};U.prototype.toGeoJSONString=U.prototype.sf;U.prototype.X=function(){return Xj(this)};U.prototype.serialize=U.prototype.X;
|
|
U.prototype.toString=function(){return"ee.Geometry("+this.sf()+")"};
|
|
U.prototype.qa=function(a){if(!this.$a){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return O.prototype.qa.call(this,a)}var b={},c="";"GeometryCollection"===this.$a?(b.geometries=this.lg.map(function(e){return new U(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.Pf,c="GeometryConstructors."+this.$a);null!=this.Db&&(b.crs="string"===typeof this.Db?(new P("Projection")).call(this.Db):this.Db);var d="Point"!==this.$a&&"MultiPoint"!==this.$a;
|
|
null!=this.Ub&&d&&(b.geodesic=this.Ub);null!=this.Rb&&(b.evenOdd=this.Rb);return(new P(c)).apply(b).qa(a)};
|
|
var mm=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!w(b))return!1;for(a=0;a<b.length;a++)if(!mm(b[a]))return!1;return!0}a=a.coordinates;var c=ym(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)},ym=function(a){if(!w(a))return-1;if(w(a[0])){for(var b=ym(a[0]),c=1;c<a.length;c++)if(ym(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},qm=function(a,b,c,d){db(d,Ml)?a={coordinates:mb(d)}:(a=S(a,d),a.coordinates=a.coords,delete a.coords,a.crs=a.proj,delete a.proj,a=Gb(a,Ca));if(zm(a.coordinates)||null!=a.crs||null!=a.maxError)return(new P("GeometryConstructors."+b)).apply(a);a.type=b;d=a.coordinates;if(1>c||4<c)throw Error("Unexpected nesting level.");if(db(d,xa)&&"number"===typeof d[0]&&2!=d.length){if(0!=d.length%2)throw Error("Invalid number of coordinates: "+
|
|
d.length);for(var e=[],f=0;f<d.length;f+=2)e.push([d[f],d[f+1]]);d=e}e=d;for(f=0;w(e);)e=e[0],f++;for(;f<c;)d=[d],f++;if(ym(d)!=c)throw Error("Invalid geometry");for(e=d;w(e)&&1==e.length;)e=e[0];c=w(e)&&0==e.length?[]:d;a.coordinates=c;(b=hb(["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},zm=function(a){return w(a)?cb(a,zm):a instanceof O},pm=function(a,b){var c=function(){};
|
|
c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};U.prototype.name=function(){return"Geometry"};var V=function(a){if(!(this instanceof V))return Il(V,arguments);if(a instanceof V)return a;Am();if(w(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new V(a[0]);O.call(this,new P("Filter.and"),{filters:a})}else if(a instanceof O)O.call(this,a.C,a.args,a.S);else if(void 0===a)O.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};B(V,O);A("ee.Filter",V);
|
|
var Bm=!1,Am=function(){Bm||(cm(V,"Filter","Filter"),Bm=!0)},Cm={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};V.prototype.Wb=function(){return R("Filter.not",this)};V.prototype.not=V.prototype.Wb;var Dm=function(a,b){var c=S(Dm,arguments);return R("Filter.equals",c.name,c.value)};V.eq=Dm;var Em=function(a,b){var c=S(Em,arguments);return Dm(c.name,c.value).Wb()};V.neq=Em;
|
|
var Fm=function(a,b){var c=S(Fm,arguments);return R("Filter.lessThan",c.name,c.value)};V.lt=Fm;var Gm=function(a,b){var c=S(Gm,arguments);return Fm(c.name,c.value).Wb()};V.gte=Gm;var Hm=function(a,b){var c=S(Hm,arguments);return R("Filter.greaterThan",c.name,c.value)};V.gt=Hm;var Im=function(a,b){var c=S(Im,arguments);return Hm(c.name,c.value).Wb()};V.lte=Im;var Jm=function(a){return R("Filter.and",Array.prototype.slice.call(arguments))};V.and=Jm;var Km=function(a){return R("Filter.or",Array.prototype.slice.call(arguments))};
|
|
V.or=Km;var Lm=function(a,b){var c=S(Lm,arguments);c=R("DateRange",c.start,c.end);return Wl("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};V.date=Lm;var Mm=function(a,b,c,d){var e=S(Mm,arguments);return Wl("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};V.inList=Mm;var Nm=function(a,b){return Wl("Filter.intersects",{leftField:".all",rightValue:R("Feature",a),maxError:b})};V.bounds=Nm;
|
|
V.prototype.name=function(){return"Filter"};var Om=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in Cm))throw Error("Unknown filtering operator: "+b);a=R("Filter."+Cm[b],a,c);return d?a.Wb():a};V.metadata=Om;var W=function(a,b,c){T.call(this,a,b,c);Pm()};B(W,T);A("ee.Collection",W);var Qm=!1,Pm=function(){Qm||(cm(W,"Collection","Collection"),cm(W,"AggregateFeatureCollection","Collection","aggregate_"),Qm=!0)};W.prototype.filter=function(a){a=S(W.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return Jl(this,R("Collection.filter",this,a))};W.prototype.filter=W.prototype.filter;
|
|
W.prototype.me=function(a,b,c){var d=S(W.prototype.me,arguments);return this.filter(Om(d.name,d.operator,d.value))};W.prototype.filterMetadata=W.prototype.me;W.prototype.fg=function(a){return this.filter(Nm(a))};W.prototype.filterBounds=W.prototype.fg;W.prototype.le=function(a,b){var c=S(W.prototype.le,arguments);return this.filter(Lm(c.start,c.end))};W.prototype.filterDate=W.prototype.le;
|
|
W.prototype.limit=function(a,b,c){var d=S(W.prototype.limit,arguments);return Jl(this,R("Collection.limit",this,d.max,d.property,d.ascending))};W.prototype.limit=W.prototype.limit;W.prototype.sort=function(a,b){var c=S(W.prototype.sort,arguments);return Jl(this,R("Collection.limit",this,void 0,c.property,c.ascending))};W.prototype.sort=W.prototype.sort;W.prototype.name=function(){return"Collection"};W.prototype.elementType=function(){return T};
|
|
W.prototype.map=function(a,b){var c=this.elementType();return Jl(this,R("Collection.map",this,function(d){return a(new c(d))},b))};W.prototype.map=W.prototype.map;W.prototype.Ag=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return R("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};W.prototype.iterate=W.prototype.Ag;var Rm=function(a,b){if(!(this instanceof Rm))return Il(Rm,arguments);if(a instanceof Rm){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)");Sm();if(a instanceof U||null===a)T.call(this,new P("Feature"),{geometry:a,metadata:b||null});else if(a instanceof O)T.call(this,a.C,a.args,a.S);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=Qb(c);c["system:index"]=a.id}T.call(this,new P("Feature"),{geometry:new U(a.geometry),metadata:c})}else T.call(this,new P("Feature"),{geometry:new U(a),metadata:b||null})};B(Rm,T);A("ee.Feature",Rm);var Tm=!1,Sm=function(){Tm||(cm(Rm,"Feature","Feature"),Tm=!0)};Rm.prototype.V=function(a){return Rm.H.V.call(this,a)};Rm.prototype.getInfo=Rm.prototype.V;
|
|
Rm.prototype.getMap=function(a,b){var c=S(Rm.prototype.getMap,arguments);return R("Collection",[this]).getMap(c.visParams,c.callback)};Rm.prototype.getMap=Rm.prototype.getMap;Rm.prototype.name=function(){return"Feature"};var kl=function(a){var b={},c=Um(a.element,a);c=Vm(c,a,b);b.element=c;return b},ll=function(a){var b={},c=a.element.map(function(d){d=Um(d,a);return Vm(d,a,b)});b.element=c;return b},Vm=function(a,b,c){var d={};Fb(b,function(e,f){switch(f){case "dimensions":f=u(e)?e.split("x").map(Number):w(e)?e:xa(e)?[e]:[];if(1===f.length)d.maxDimension=f[0];else if(2===f.length)d.width=f[0],d.height=f[1];else throw Error("Invalid dimensions "+e);break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");
|
|
if(!(e instanceof sm)){f=e;if(u(e))try{f=JSON.parse(e)}catch(g){f=e.split(/\s*,\s*/).map(Number)}if(w(f)){if(f.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");e=new sm(f,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=e;break;case "region":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(e instanceof U)){f=e;if(u(e))try{f=JSON.parse(e)}catch(g){throw Error('Region string "'+
|
|
e+'" is not valid GeoJSON.');}if(x(f))e=new U(f,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=e;break;case "scale":d.scale=Number(e);break;default:c[f]=e}});Ob(d)||(d.input=a,a=Wl("Image.clipToBoundsAndScale",d));return a},Um=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;if(null!=d)a:{var e=d;if(u(e))try{e=JSON.parse(e)}catch(f){}if(w(e)){if(6===e.length&&db(e,xa)){d=e;break 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.");}if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');d?(a=Wl("Image.reproject",{image:a,crs:c,crsTransform:d}),null!=b.dimensions&&null==b.scale&&null==b.region&&(e=b.dimensions,u(e)&&(e=e.split("x").map(Number)),2===e.length&&(delete b.dimensions,c=(new P("Projection")).call(c,d),b.region=new sm([0,0,e[0],e[1]],c,!1)))):a=Wl("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,
|
|
0,0,0,-1,0]});return a},Xm=function(a,b){var c={};b=Wm(b,c);Ob(b)||(b.image=a,a=Wl("Image.visualize",b));c.image=a;return c},Wm=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Fb(a,function(e,f){hb(c,f)?d[f]=e:b[f]=e});return d};var X=function(a){if(!(this instanceof X))return Il(X,arguments);if(a instanceof X)return a;Ym();var b=arguments.length;if(0==b||1==b&&void 0===a)T.call(this,new P("Image.mask"),{image:new X(0),mask:new X(0)});else if(1==b)if(Ml(a))T.call(this,new P("Image.constant"),{value:a});else if(Nl(a))T.call(this,new P("Image.load"),{id:a});else{if(w(a))return Zm(bb(a,function(d){return new X(d)}));if(a instanceof O)"Array"==a.name()?T.call(this,new P("Image.constant"),{value:a}):T.call(this,a.C,a.args,a.S);
|
|
else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(Nl(b)&&Ml(c))T.call(this,new P("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};B(X,T);A("ee.Image",X);var $m=!1,Ym=function(){$m||(cm(X,"Image","Image"),cm(X,"Window","Image","focal_"),$m=!0)};
|
|
X.prototype.V=function(a){return X.H.V.call(this,a)};X.prototype.getInfo=X.prototype.V;X.prototype.getMap=function(a,b){var c=this,d=S(X.prototype.getMap,arguments),e=Xm(this,d.visParams);if(d.callback){var f=d.callback;Ok(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=Ok(e),d.image=this,d};X.prototype.getMap=X.prototype.getMap;
|
|
X.prototype.vb=function(a,b){var c=S(X.prototype.vb,arguments),d=c.params?Qb(c.params):{};d.image=this.X();if(c.callback){var e=c.callback;Wk(d,function(f,g){f?e(Xk(f)):e(null,g)})}else return Xk(Wk(d))};X.prototype.getDownloadURL=X.prototype.vb;
|
|
X.prototype.se=function(a,b){var c=S(X.prototype.se,arguments);if(N){var d={};var e=Vm(this,c.params,d);d=Xm(e,d)}else if(d=Xm(this,c.params),d.region)if(d.region instanceof U&&(d.region=d.region.Oc()),w(d.region)||Ol(d.region))d.region=sh(d.region);else if("string"!==typeof d.region)throw Error("The region parameter must be an array or a GeoJSON object.");if(c.callback)Sk(d,function(f,g){var h="";if(void 0===g)try{h=Vk(f)}catch(m){g=String(m.message)}c.callback(h,g)});else return Vk(Sk(d))};
|
|
X.prototype.getThumbURL=X.prototype.se;var an=function(a,b,c){var d=S(an,arguments);return Zm([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};X.rgb=an;var bn=function(a){return Zm(Array.prototype.slice.call(arguments),null)};X.cat=bn;var Zm=function(a,b){if(0==a.length)return R("Image.constant",[]);for(var c=new X(a[0]),d=1;d<a.length;d++)c=R("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
X.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||Nl(b[0])||Ml(b[0])){for(var d=0;d<b.length;d++)if(!(Nl(b[d])||Ml(b[d])||b[d]instanceof O))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Wl("Image.select",c)};X.prototype.select=X.prototype.select;
|
|
X.prototype.m=function(a,b){var c=S(X.prototype.m,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 X(f[g])}var h=R("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Ql;c.encode=function(m){return h.encode(m)};c.he=function(m,p){return jj(m(h),p)};c.Z=function(){return{name:"",args:bb(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
X.prototype.expression=X.prototype.m;X.prototype.clip=function(a){try{a=new U(a)}catch(b){}return R("Image.clip",this,a)};X.prototype.clip=X.prototype.clip;X.prototype.Zg=function(a){var b=1!=arguments.length||Nl(arguments[0])?mb(arguments):arguments[0];return R("Image.rename",this,b)};X.prototype.rename=X.prototype.Zg;X.prototype.name=function(){return"Image"};var cn=function(a){if(this instanceof cn){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof cn)return a}else return Il(cn,arguments);dn();if(w(a))O.call(this,null,null),this.Dc=a;else if(a instanceof O)O.call(this,a.C,a.args,a.S),this.Dc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};B(cn,O);A("ee.List",cn);var en=!1,dn=function(){en||(cm(cn,"List","List"),en=!0)};
|
|
cn.prototype.encode=function(a){return w(this.Dc)?bb(this.Dc,function(b){return a(b)}):cn.H.encode.call(this,a)};cn.prototype.qa=function(a){return w(this.Dc)?fj(a(this.Dc)):cn.H.qa.call(this,a)};cn.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return Il(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)");fn();a instanceof U&&(a=new Rm(a));a instanceof Rm&&(a=[a]);if(Nl(a)){var c={tableId:a};b&&(c.geometryColumn=b);W.call(this,new P("Collection.loadTable"),c)}else if(w(a))W.call(this,new P("Collection"),{features:bb(a,function(d){return new Rm(d)})});else if(a instanceof cn)W.call(this,
|
|
new P("Collection"),{features:a});else if(a instanceof O)W.call(this,a.C,a.args,a.S);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};B(Y,W);A("ee.FeatureCollection",Y);var gn=!1,fn=function(){gn||(cm(Y,"FeatureCollection","FeatureCollection"),gn=!0)};Y.prototype.getMap=function(a,b){var c=S(Y.prototype.getMap,arguments),d=Wl("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.H.V.call(this,a)};Y.prototype.getInfo=Y.prototype.V;Y.prototype.vb=function(a,b,c,d){var e=S(Y.prototype.vb,arguments),f={};f.table=this.X();e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);if(e.selectors){var g=e.selectors;Da(g)&&(g=g.join(","));f.selectors=g}if(e.callback)Yk(f,function(h,m){h?e.callback(Zk(h)):e.callback(null,m)});else return Zk(Yk(f))};Y.prototype.getDownloadURL=Y.prototype.vb;
|
|
Y.prototype.select=function(a,b,c){if(Nl(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(f){return f.select(d)})}var e=S(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 Rm};var Z=function(a){if(!(this instanceof Z))return Il(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");hn();a instanceof X&&(a=[a]);if(Nl(a))W.call(this,new P("ImageCollection.load"),{id:a});else if(w(a))W.call(this,new P("ImageCollection.fromImages"),{images:bb(a,function(b){return new X(b)})});else if(a instanceof cn)W.call(this,new P("ImageCollection.fromImages"),{images:a});else if(a instanceof
|
|
O)W.call(this,a.C,a.args,a.S);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};B(Z,W);A("ee.ImageCollection",Z);var jn=!1,hn=function(){jn||(cm(Z,"ImageCollection","ImageCollection"),cm(Z,"reduce","ImageCollection"),jn=!0)};Z.prototype.qe=function(a,b){var c=S(Z.prototype.qe,arguments);return kn(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.qe;
|
|
Z.prototype.te=function(a,b){var c=S(Z.prototype.te,arguments);return kn(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.te;
|
|
var kn=function(a,b,c,d){var e={};a=a.map(function(h){h=Um(h,b.params);return Vm(h,b.params,e)});var f={},g=Wm(e,f);f.imageCollection=a.map(function(h){g.image=h;return Wl("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!cb(c,function(h){return h.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=Sk;if(N)switch(d){case "video":c=Tk;break;case "filmstrip":c=Uk}if(b.callback)c(f,function(h,m){var p=
|
|
"";if(void 0===m)try{p=Vk(h)}catch(q){m=String(q.message)}b.callback(p,m)});else return Vk(c(f))};Z.prototype.getMap=function(a,b){var c=S(Z.prototype.getMap,arguments),d=R("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.H.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 X(R("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return X};var ln=function(a){this.Zd=a;this.id=null},nn=function(a){var b={element:mn(a)};Object.assign(b,a);b=Gb(b,Ca);return new ln(b)};ln.prototype.start=function(a,b){var c=this;C(this.Zd,"Task config must be specified for tasks to be started.");if(a){var d=function(){Va(c.id);ml(c.id,c.Zd,function(e,f){f?b(f):a()})};this.id?d():$k(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||$k(1)[0],Va(this.id,"Failed to obtain task ID."),ml(this.id,this.Zd)};
|
|
ln.prototype.start=ln.prototype.start;var on=function(a,b,c,d,e,f,g,h,m,p){var q=S(on,arguments);q=pn(q,"ASSET","EXPORT_IMAGE");return nn(q)};A("ee.batch.Export.image.toAsset",on);var qn=function(a,b,c,d,e,f,g,h,m,p,q,v,z,F,Q){var ba=S(qn,arguments);ba=pn(ba,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return nn(ba)};A("ee.batch.Export.image.toCloudStorage",qn);var rn=function(a,b,c,d,e,f,g,h,m,p,q,v,z,F,Q){var ba=S(rn,arguments);ba=pn(ba,"DRIVE","EXPORT_IMAGE");return nn(ba)};
|
|
A("ee.batch.Export.image.toDrive",rn);var sn=function(a,b,c,d,e,f,g,h,m,p,q,v){var z=S(sn,arguments);z=pn(z,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return nn(z)};A("ee.batch.Export.map.toCloudStorage",sn);var tn=function(a,b,c,d,e,f){var g=S(tn,arguments);g=pn(g,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return nn(g)};A("ee.batch.Export.table.toCloudStorage",tn);var un=function(a,b,c,d,e,f){var g=S(un,arguments);g.type="EXPORT_FEATURES";g=pn(g,"DRIVE","EXPORT_FEATURES");return nn(g)};
|
|
A("ee.batch.Export.table.toDrive",un);var vn=function(a,b,c){var d=S(vn,arguments);d=pn(d,"ASSET","EXPORT_FEATURES");return nn(d)};A("ee.batch.Export.table.toAsset",vn);var wn=function(a,b,c,d,e,f,g,h,m,p,q,v){var z=S(wn,arguments);z=pn(z,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return nn(z)};A("ee.batch.Export.video.toCloudStorage",wn);var xn=function(a,b,c,d,e,f,g,h,m,p,q,v){var z=S(xn,arguments);z=pn(z,"DRIVE","EXPORT_VIDEO");return nn(z)};A("ee.batch.Export.video.toDrive",xn);
|
|
var yn=function(a,b,c,d,e,f,g,h,m,p,q){var v=S(yn,arguments);v=pn(v,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return nn(v)};A("ee.batch.Export.videoMap.toCloudStorage",yn);
|
|
var mn=function(a){var b=function(d){return d in a},c=zn.find(b);C(1===eb(zn,b),'Expected a single "image" or "collection" key.');b=a[c];if(!(b instanceof X||b instanceof Y||b instanceof Z||b instanceof T))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection or ee.Element.");delete a[c];return b},pn=function(a,b,c){var d=void 0===d?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":null==e.fileFormat&&(e.fileFormat=
|
|
"GeoTIFF");a=e.fileFormat;null==a&&(a="GEO_TIFF");a=a.toUpperCase();switch(a){case "TIFF":case "TIF":case "GEO_TIFF":case "GEOTIFF":a="GEO_TIFF";break;case "TF_RECORD":case "TF_RECORD_IMAGE":case "TFRECORD":a="TF_RECORD_IMAGE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'GEOTIFF', 'TFRECORD'.");}null!=e.formatOptions&&(a=An(e,a),delete e.formatOptions,Object.assign(e,a));e=Bn(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_TILES":e=
|
|
b=Bn(e,b);break;case "EXPORT_FEATURES":w(e.selectors)&&(e.selectors=e.selectors.join());e=Bn(e,b);break;case "EXPORT_VIDEO":e=Cn(e);e=Bn(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=Cn(e);e=Bn(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof U)b=b.Oc();else if("string"===typeof b)try{b=Xa(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(!(x(b)&&"type"in b))try{new tm(b)}catch(f){try{new wm(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=sh(b);d.region=b}return e},Bn=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=Ba(a.folder);if(!hb(["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},Dn={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},En={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},
|
|
Cn=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;a.fileFormat="MP4";return a},An=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=En[b];for(var d=Dn[b],e={},f=l(Object.entries(c)),g=f.next();!g.done;g=f.next()){var h=l(g.value);g=h.next().value;h=h.next().value;if(!hb(d,
|
|
g))throw Error('"'+g+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));g=a+g[0].toUpperCase()+g.substring(1);w(h)?e[g]=h.join():e[g]=h}return e},zn=["image","collection"];var Fn=function(a){if(!(this instanceof Fn))return Il(Fn,arguments);if(a instanceof Fn)return a;Gn();if("number"===typeof a)O.call(this,null,null),this.Fc=a;else if(a instanceof O)O.call(this,a.C,a.args,a.S),this.Fc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};B(Fn,O);A("ee.Number",Fn);var Hn=!1,Gn=function(){Hn||(cm(Fn,"Number","Number"),Hn=!0)};Fn.prototype.encode=function(a){return"number"===typeof this.Fc?this.Fc:Fn.H.encode.call(this,a)};
|
|
Fn.prototype.qa=function(a){return"number"===typeof this.Fc?fj(a(this.Fc)):Fn.H.qa.call(this,a)};Fn.prototype.name=function(){return"Number"};var In=function(a){if(!(this instanceof In))return Il(In,arguments);if(a instanceof In)return a;Nn();if("string"===typeof a)O.call(this,null,null),this.Mc=a;else if(a instanceof O)this.Mc=null,a.C&&"String"==a.C.Z().returns?O.call(this,a.C,a.args,a.S):O.call(this,new P("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};B(In,O);A("ee.String",In);var On=!1,Nn=function(){On||(cm(In,"String","String"),On=!0)};
|
|
In.prototype.encode=function(a){return"string"===typeof this.Mc?this.Mc:In.H.encode.call(this,a)};In.prototype.qa=function(a){return"string"===typeof this.Mc?fj(a(this.Mc)):In.H.qa.call(this,a)};In.prototype.name=function(){return"String"};var Pn=function(a,b){if(!(this instanceof Pn))return Il(Pn,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(Qn(g in Kl?Kl[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Pa=Rn(a,c,b);this.Gf=b.apply(null,c)};B(Pn,Ql);A("ee.CustomFunction",Pn);Pn.prototype.encode=function(a){return{type:"Function",argumentNames:bb(this.Pa.args,function(b){return b.name}),body:a(this.Gf)}};
|
|
Pn.prototype.qa=function(a){return kj(this.Pa.args.map(function(b){return b.name}),a(this.Gf))};Pn.prototype.he=function(a,b){return jj(a(this),b)};Pn.prototype.Z=function(){return this.Pa};
|
|
var Qn=function(a,b){a=a||Object;if(!(a.prototype instanceof O))if(a&&a!=Object)if(a==String)a=In;else if(a==Number)a=Fn;else if(a==Array)a=t.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=O;var c=function(d){this.args=this.C=null;this.S=d};c.prototype=a.prototype;return new c(b)},Sn=function(a,b){b={name:"",returns:"Object",args:bb(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof O?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new Pn(b,a)},Rn=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].S&&d.push(e);if(0==d.length)return a;var f=function(m){var p=0;x(m)&&!Fa(m)&&("Function"==m.type&&p++,Fb(m,function(q){p+=f(q)}));return p};e=Wj(c.apply(null,b));c="_MAPPING_VAR_"+f(e)+"_";for(e=0;e<d.length;e++){var g=d[e],h=c+e;b[g].S=h;a.args[g].name=h}return a};var Tn=function(a,b){if(!(this instanceof Tn))return Il(Tn,arguments);if(a instanceof Tn)return a;Un();var c=S(Tn,arguments);a=c.date;c=c.tz;var d=new P("Date"),e={},f=null;if(Nl(a)){if(e.value=a,c)if(Nl(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(Ml(a))e.value=a;else if(Ea(a))e.value=Math.floor(a.getTime());else if(a instanceof O)a.C&&"Date"==a.C.Z().returns?(d=a.C,e=a.args,f=a.S):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);O.call(this,d,e,f)};B(Tn,O);A("ee.Date",Tn);var Vn=!1,Un=function(){Vn||(cm(Tn,"Date","Date"),Vn=!0)};Tn.prototype.name=function(){return"Date"};A("ee.Deserializer",function(){});var Xn=function(a){return Wn(JSON.parse(a))};A("ee.Deserializer.fromJSON",Xn);var Wn=function(a){var b={};if(x(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]=Yn(f,b)}a=a.value}return Yn(a,b)};A("ee.Deserializer.decode",Wn);
|
|
var Yn=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(w(a))return bb(a,function(f){return Yn(f,b)});if(!x(a)||Fa(a))throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":c=a.value;if("string"!==typeof c)throw Error("Invalid variable name: "+c);return Qn(Object,c);case "Date":c=a.value;if("number"!==typeof c)throw Error("Invalid date value: "+
|
|
c);return new Tn(c/1E3);case "Bytes":return c=new dj,c.encode=function(){return a},c;case "Invocation":c="functionName"in a?Vl(a.functionName):Yn(a["function"],b);var d=Hb(a.arguments,function(f){return Yn(f,b)});if(c instanceof Ql)return c.apply(d);if(c instanceof O)return new O(c,d);throw Error("Invalid function value: "+a["function"]);case "Dictionary":return Hb(a.value,function(f){return Yn(f,b)});case "Function":var e=Yn(a.body,b);c={name:"",args:bb(a.argumentNames,function(f){return{name:f,
|
|
type:"Object",optional:!1}}),returns:"Object"};return new Pn(c,function(){return e});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new U(a);case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}};var Zn=function(a){if(!(this instanceof Zn))return Il(Zn,arguments);if(a instanceof Zn)return a;$n();Ol(a)?(O.call(this,null,null),this.sc=a):(a instanceof O&&a.C&&"Dictionary"==a.C.Z().returns?O.call(this,a.C,a.args,a.S):O.call(this,new P("Dictionary"),{input:a},null),this.sc=null)};B(Zn,O);A("ee.Dictionary",Zn);var ao=!1,$n=function(){ao||(cm(Zn,"Dictionary","Dictionary"),ao=!0)};Zn.prototype.encode=function(a){return null!==this.sc?a(this.sc):Zn.H.encode.call(this,a)};
|
|
Zn.prototype.qa=function(a){return null!==this.sc?fj(a(this.sc)):Zn.H.qa.call(this,a)};Zn.prototype.name=function(){return"Dictionary"};var bo={};A("ee.Terrain",bo);bo.ye=!1;bo.Th=function(){bo.ye||(cm(bo,"Terrain","Terrain"),bo.ye=!0)};bo.reset=function(){dm(bo);bo.ye=!1};var io=function(a,b,c,d,e){if("ready"!=co||a||b){var f=null!=c;if(d)if(f)eo.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==co&&f)fo.push(c);else if(co="loading",zi(a,b,e),f)fo.push(c),Zl(go,ho);else try{Zl(),go()}catch(g){throw ho(g),g;}}else c&&c()};A("ee.initialize",io);
|
|
var lo=function(){co="not_ready";Ti=Si=Hi=null;Ri=!1;Xl=null;Yl={};dm(Tn);Vn=!1;dm(Zn);ao=!1;dm(T);km=!1;dm(X);$m=!1;dm(Rm);Tm=!1;dm(W);Qm=!1;dm(Z);jn=!1;dm(Y);gn=!1;dm(V);Bm=!1;dm(U);nm=!1;dm(cn);en=!1;dm(Fn);Hn=!1;dm(In);On=!1;bo.reset();for(var a=t.ee,b=0;b<jo.length;b++){var c=jo[b];dm(a[c]);delete a[c]}jo=[];Kl=a;a=ko;for(var d in a)delete a[d]};A("ee.reset",lo);var mo={ui:"not_ready",LOADING:"loading",wi:"ready"};A("ee.InitState",mo);A("ee.InitState.NOT_READY","not_ready");
|
|
A("ee.InitState.LOADING","loading");A("ee.InitState.READY","ready");var co="not_ready",fo=[],eo=[];A("ee.TILE_SIZE",256);var jo=[],ko={};A("ee.Algorithms",ko);var no=function(a,b){"string"===typeof a&&(a=new P(a));return Ql.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};A("ee.call",no);var oo=function(a,b){"string"===typeof a&&(a=new P(a));return a.apply(b)};A("ee.apply",oo);
|
|
var go=function(){if("loading"==co){try{Un();$n();jm();Ym();Sm();Pm();hn();fn();Am();lm();dn();Gn();Nn();bo.Th();var a=$l(),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=t.ee,g;for(g in b)g in c&&!(g in f)&&(f[g]=po(g),jo.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,Yl[g]=!0):f[g].signature={});Kl=f;qo()}catch(h){ho(h);return}co="ready";for(eo=[];0<fo.length;)fo.shift()()}},ho=function(a){if("loading"==
|
|
co)for(co="not_ready",fo=[];0<eo.length;)eo.shift()(a)},qo=function(){var a=am();Kb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=ko;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=ob(b,1)}f=function(g){return Ul(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=y(c.toString,c);e[b[0]]=f}})},po=function(a){var b=function(c){var d=t.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 Il(d,e);d=bm(a);var g=!(e[0]instanceof O),h=!1;d&&(f?g?h=!0:e[0].C&&e[0].C.Z().returns==d.Z().returns||(h=!0):h=!0);if(h)e=Pl(e,d.Z())?e[0]:Sl(d,e),O.call(this,d,Tl(d,e));else{if(!f)throw Error("Too many arguments for ee."+a+"(): "+e);if(g)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];O.call(this,e.C,e.args,e.S)}};B(b,O);b.prototype.name=function(){return a};cm(b,a,a);return b};
|
|
Rl=function(a,b){if(null===a)return null;if(void 0!==a){var c=t.ee;switch(b){case "Image":return new X(a);case "Feature":return a instanceof W?R("Feature",R("Collection.geometry",a)):new Rm(a);case "Element":if(a instanceof T)return a;if(a instanceof U)return new Rm(a);if(a instanceof O)return new T(a.C,a.args,a.S);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?R("Collection.geometry",a):new U(a);case "FeatureCollection":case "Collection":return a instanceof
|
|
W?a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new V(a);case "Algorithm":if("string"===typeof a)return new P(a);if(Fa(a)){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return Sn(a,c)}if(a instanceof dj)return a;throw Error("Argument is not a function: "+a);case "String":return Nl(a)||a instanceof In||a instanceof O?new In(a):a;case "Dictionary":return Ol(a)?a:new Zn(a);case "List":return new cn(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Fn(a);
|
|
default:if(b in c){d=bm(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 ro=function(a,b,c){Md.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.ig=new Ad;this.hg=new Ad};n(ro,Md);ro.prototype.getTile=function(a,b){var c=Nd(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.jb,this.token].join("/");this.lb.push(c);this.jb+=1;var d=Ug("DIV");so(this,b,a,c,d);to(this);return d};
|
|
var so=function(a,b,c,d,e){var f=Qh(Oh);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=y(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.ig.set(c,g),this.hg.set(c,e),kb(this.lb,d),to(this);else throw this.qf.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},to=function(a){a.dispatchEvent(new Od(a.lb.length))};ro.prototype.F=function(){this.hg=this.ig=null;Md.prototype.F.call(this)};
|
|
A("ee.FloatTileOverlay",ro);var uo=function(){this.yd=new Map};uo.prototype.clear=function(){this.yd.clear()};var vo=function(a,b){a.yd.has(b)||a.yd.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.yd.get(b)};var wo=function(a){Ma.call(this);this.xb=a;this.J={}};B(wo,Ma);var xo=[];wo.prototype.Na=function(a,b,c,d){w(b)||(b&&(xo[0]=b.toString()),b=xo);for(var e=0;e<b.length;e++){var f=hd(a,b[e],c||this.handleEvent,d||!1,this.xb||this);if(!f)break;this.J[f.key]=f}return this};wo.prototype.Ec=function(a,b,c,d){return yo(this,a,b,c,d)};var yo=function(a,b,c,d,e,f){if(w(c))for(var g=0;g<c.length;g++)yo(a,b,c[g],d,e,f);else{b=gd(b,c,d||a.handleEvent,e,f||a.xb||a);if(!b)return a;a.J[b.key]=b}return a};
|
|
wo.prototype.Fd=function(a,b,c,d,e){if(w(b))for(var f=0;f<b.length;f++)this.Fd(a,b[f],c,d,e);else c=c||this.handleEvent,d=x(d)?!!d.capture:!!d,e=e||this.xb||this,c=id(c),d=!!d,b=Xc(a)?a.vc(b,c,d,e):a?(a=kd(a))?a.vc(b,c,d,e):null:null,b&&(pd(b),delete this.J[b.key])};wo.prototype.Kc=function(){Fb(this.J,function(a,b){this.J.hasOwnProperty(b)&&pd(a)},this);this.J={}};wo.prototype.F=function(){wo.H.F.call(this);this.Kc()};
|
|
wo.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Ao=function(a,b){wa(a.name)?(this.name=a.name,this.code=Mb[a.name]):(this.code=a=Ua(a.code),this.name=zo(a));Pa.call(this,xc("%s %s",this.name,b))};B(Ao,Pa);var zo=function(a){var b=Nb(function(c){return a==c});if(!wa(b))throw Error("Invalid code: "+a);return b},Mb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};var Bo=function(a,b){Oa.call(this,a.type,b);this.Aa=a};B(Bo,Oa);var Co=function(){td.call(this);this.aa=new FileReader;this.aa.onloadstart=y(this.Qb,this);this.aa.onprogress=y(this.Qb,this);this.aa.onload=y(this.Qb,this);this.aa.onabort=y(this.Qb,this);this.aa.onerror=y(this.Qb,this);this.aa.onloadend=y(this.Qb,this)};B(Co,td);k=Co.prototype;k.abort=function(){try{this.aa.abort()}catch(a){throw new Ao(a,"aborting read");}};k.gb=function(){return this.aa.readyState};k.getError=function(){return this.aa.error&&new Ao(this.aa.error,"reading file")};
|
|
k.Qb=function(a){this.dispatchEvent(new Bo(a,this))};k.F=function(){Co.H.F.call(this);delete this.aa};k.readAsBinaryString=function(a){this.aa.readAsBinaryString(a)};k.readAsArrayBuffer=function(a){this.aa.readAsArrayBuffer(a)};k.readAsText=function(a,b){this.aa.readAsText(a,b)};var Do=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};k=Do.prototype;k.clone=function(){return new Do(this.top,this.right,this.bottom,this.left)};k.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};k.contains=function(a){return this&&a?a instanceof Do?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
|
|
k.expand=function(a,b,c,d){x(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};k.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
|
|
k.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};k.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
|
|
k.translate=function(a,b){a instanceof Pg?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(Ua(a),this.left+=a,this.right+=a,xa(b)&&(this.top+=b,this.bottom+=b));return this};k.scale=function(a,b){b=xa(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Eo=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};k=Eo.prototype;k.clone=function(){return new Eo(this.left,this.top,this.width,this.height)};k.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
|
|
k.yg=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};k.intersects=function(a){return this.left<=a.left+a.width&&a.left<=this.left+this.width&&this.top<=a.top+a.height&&a.top<=this.top+this.height};
|
|
k.ge=function(a){b:{var b=Math.max(this.left,a.left);var c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top),e=Math.min(this.top+this.height,a.top+a.height);if(d<=e){b=new Eo(b,d,c-b,e-d);break b}}b=null}if(b&&b.height&&b.width){b=[];c=this.top;d=this.height;e=this.left+this.width;var f=this.top+this.height,g=a.left+a.width,h=a.top+a.height;a.top>this.top&&(b.push(new Eo(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);h<f&&(b.push(new Eo(this.left,
|
|
h,this.width,f-h)),d=h-c);a.left>this.left&&b.push(new Eo(this.left,c,a.left-this.left,d));g<e&&b.push(new Eo(g,c,e-g,d));a=b}else a=[this.clone()];return a};k.contains=function(a){return a instanceof Pg?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
|
|
k.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};k.getCenter=function(){return new Pg(this.left+this.width/2,this.top+this.height/2)};k.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
|
|
k.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};k.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.translate=function(a,b){a instanceof Pg?(this.left+=a.x,this.top+=a.y):(this.left+=Ua(a),xa(b)&&(this.top+=b));return this};
|
|
k.scale=function(a,b){b=xa(b)?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var Fo=function(a,b){C(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 Go=function(a,b){td.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.xd=new uo;this.kb=new Ad;this.jb=0;this.pf=a;this.Wa=new wo(this);this.projection=null;this.radius=0;this.alt=null};B(Go,td);A("ee.layers.AbstractOverlay",Go);
|
|
Go.prototype.Nd=function(a){return hd(this,"tile-load",a)};Go.prototype.addTileCallback=Go.prototype.Nd;Go.prototype.Xe=function(a){pd(a)};Go.prototype.removeTileCallback=Go.prototype.Xe;k=Go.prototype;k.re=function(){return Ho(this,"throttled")+Ho(this,"loading")+Ho(this,"new")};k.setOpacity=function(a){this.opacity=a;this.kb.forEach(function(b){Fo(b.pa,this.opacity)},this)};k.getStats=function(){return this.xd};
|
|
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.jb++].join("-"),this.pf.og()].join("-");b=this.Sf(d,b,c,a);b.tileSize=this.tileSize;Fo(b.pa,this.opacity);this.kb.set(a,b);Io(this,b);this.pf.Dg(b,(new Date).getTime()/1E3);return b.pa};k.releaseTile=function(a){var b=this.kb.get(a.id);this.kb.remove(a.id);b&&(b.abort(),Na(b))};
|
|
var Io=function(a,b){a.Wa.Na(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.Yh,d=(new Date).getTime();vo(this.xd,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new Jo(this.re()));break;case "throttled":vo(this.xd,b.zoom).throttleCount++;this.dispatchEvent(new Ko(b.Fa));break;case "failed":vo(this.xd,b.zoom).errorCount++,this.dispatchEvent(new Lo(b.Fa,b.Mh))}})};
|
|
Go.prototype.F=function(){Go.H.F.call(this);this.kb.forEach(Na);this.kb.clear();this.kb=null;Na(this.Wa);this.pf=this.Wa=null};var Ho=function(a,b){return eb(a.kb.T(),function(c){return c.getStatus()==b})},Jo=function(){Oa.call(this,"tile-load")};B(Jo,Oa);var Ko=function(){Oa.call(this,"tile-throttle")};B(Ko,Oa);var Lo=function(a,b){Oa.call(this,"tile-fail");this.errorMessage=b};B(Lo,Oa);
|
|
var Mo=function(a,b,c,d){td.call(this);this.Pb=a;this.zoom=b;this.pa=c.createElement("div");this.pa.id=d;this.$h=5;this.td=function(){};this.jf="new";this.bh=0;this.Be=!1};B(Mo,td);
|
|
var Oo=function(a){if(!a.Be&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");No(a,"loading");a.Yh=(new Date).getTime();a.Qa=new Th;a.Qa.bc="blob";a.Qa.Na("complete",function(){var b=fi(this.Qa),c=this.Qa.getStatus();429==c&&No(this,"throttled");if(Kh(c)){var d={};Fb(gi(this.Qa),function(f,g){d[g.toLowerCase()]=f});this.li=d;this.jh=b;this.uc()}else if(b){var e=new Co;e.Na("loadend",function(){this.Lc(e.aa.result)},void 0,this);
|
|
e.readAsText(b)}else this.Lc("Failed to load tile.")},!1,a);a.Qa.Ec("ready",Ka(Na,a.Qa));a.Fa&&a.Fa.endsWith("&profiling=1")&&N&&(a.Fa=a.Fa.replace("&profiling=1",""),a.Qa.headers.set("X-Earth-Engine-Computation-Profile","1"));a.Qa.send(a.Fa,"GET")};k=Mo.prototype;k.uc=function(){this.td(this);No(this,"loaded")};k.oc=function(){Na(this.Qa)};
|
|
k.Lc=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.bh>=this.$h?(this.Mh=b(a),No(this,"failed")):(this.oc(),setTimeout(y(function(){this.La||(this.Be=!0,Oo(this),this.Be=!1)},this),1E3*Math.pow(2,this.bh++)))};k.abort=function(){this.oc();No(this,"aborted")};k.getStatus=function(){return this.jf};var No=function(a,b){a.jf=b;a.dispatchEvent("status-changed")},Po={aborted:!0,failed:!0,loaded:!0};
|
|
Mo.prototype.F=function(){Mo.H.F.call(this);this.oc();this.pa.remove();this.td=null};var Qo=function(){Ma.call(this)};B(Qo,Ma);var Ro=function(a,b){Go.call(this,a,b);this.If=new Ad;this.bg=new Ad};n(Ro,Go);Ro.prototype.Sf=function(a,b,c,d){var e=new So(a,b,c,d);this.Wa.Na(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.If.set(a,new Float32Array(e.Gh)),this.bg.set(a,e.pa))});return e};Ro.prototype.F=function(){Go.prototype.F.call(this);this.bg=this.If=null};A("ee.layers.BinaryOverlay",Ro);var So=function(a,b,c,d){Mo.call(this,a,b,c,d)};n(So,Mo);
|
|
So.prototype.uc=function(){var a=new Co;a.Na("loadend",function(){this.Gh=a.aa.result;Mo.prototype.uc.call(this)},void 0,this);a.readAsArrayBuffer(this.jh)};var To=function(a){td.call(this);this.zc={};this.yc={};this.xb=new wo(this);this.R=a};B(To,td);var Uo=[Ec&&!Oc("11")?"readystatechange":"load","abort","error"],Vo=function(a,b,c){(c=u(c)?c:c.src)&&(a.zc[b]={src:c,Qf:wa(void 0)?void 0:null})},Wo=function(a,b){delete a.zc[b];var c=a.yc[b];c&&(delete a.yc[b],a.xb.Fd(c,Uo,a.Og),Ob(a.yc)&&Ob(a.zc)&&a.dispatchEvent("complete"))};
|
|
To.prototype.start=function(){var a=this.zc;$a(Kb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.La)){if(this.R){var d=this.R;d=(d?new $g(Zg(d)):Qa||(Qa=new $g)).Kh("IMG")}else d=new Image;c.Qf&&(d.crossOrigin=c.Qf);this.xb.Na(d,Uo,this.Og);this.yc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
To.prototype.Og=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.La||Wo(this,b.id)}};To.prototype.F=function(){delete this.zc;delete this.yc;Na(this.xb);To.H.F.call(this)};var Xo=function(a,b){Go.call(this,a,b)};n(Xo,Go);Xo.prototype.Sf=function(a,b,c,d){return new Yo(a,b,c,d)};A("ee.layers.ImageOverlay",Xo);var Yo=function(a,b,c,d){Mo.call(this,a,b,c,d);this.td=Zo;this.wg=this.da=this.jd=null;this.Gc=""};n(Yo,Mo);
|
|
Yo.prototype.uc=function(){try{var a=oc(this.jh);this.Gc=mc(a).toString();var b="about:invalid#zClosurez"!==this.Gc?this.Gc:this.Fa}catch(c){b=this.Fa}this.da=new To;Vo(this.da,this.pa.id+"-image",b);this.wg=gd(this.da,$o,function(c){"load"==c.type?(this.jd=c.target,Mo.prototype.uc.call(this)):this.Lc()},void 0,this);this.da.start()};Yo.prototype.oc=function(){Mo.prototype.oc.call(this);this.da&&(pd(this.wg),Na(this.da))};Yo.prototype.F=function(){Mo.prototype.F.call(this);this.Gc&&URL.revokeObjectURL(this.Gc)};
|
|
var Zo=function(a){a.pa.appendChild(a.jd)},$o=["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){Ma.call(this);this.Hf=a;this.Ya=b;this.mf=d||"";this.od=c};B(bp,Qo);A("ee.layers.CloudStorageTileSource",bp);
|
|
bp.prototype.Dg=function(a){if(a.zoom<=this.od)a.Fa=this.ed(a.Pb,a.zoom);else{var b=a.zoom-this.od,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.Pb.x/c),Math.floor(a.Pb.y/c));a.Fa=this.ed(c,a.zoom-b);a.td=Ka(cp,this.od)}var d=y(a.Lc,a);a.Lc=y(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?No(a,"loaded"):d(e)},a);Oo(a)};bp.prototype.og=function(){return[this.Hf,this.Ya,this.od,this.mf].join("-")};
|
|
bp.prototype.ed=function(a,b){a=ap("https://storage.googleapis.com",this.Hf,this.Ya,String(b),String(a.x),String(a.y));this.mf&&(a+=this.mf);return a};
|
|
var cp=function(a,b){if(!b.jd)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.pa.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.pa.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.jd,c/a*(b.Pb.x%a),c/a*(b.Pb.y%a),c/a,c/a,0,0,c,c)};var dp=function(){this.Ba=[];this.Ja=[]};k=dp.prototype;k.enqueue=function(a){this.Ja.push(a)};k.rc=function(){0==this.Ba.length&&(this.Ba=this.Ja,this.Ba.reverse(),this.Ja=[]);return this.Ba.pop()};k.N=function(){return this.Ba.length+this.Ja.length};k.isEmpty=function(){return 0==this.Ba.length&&0==this.Ja.length};k.clear=function(){this.Ba=[];this.Ja=[]};k.contains=function(a){return hb(this.Ba,a)||hb(this.Ja,a)};
|
|
k.remove=function(a){var b=this.Ba;var c=Za(b,a);0<=c?(jb(b,c),b=!0):b=!1;return b||kb(this.Ja,a)};k.T=function(){for(var a=[],b=this.Ba.length-1;0<=b;--b)a.push(this.Ba[b]);var c=this.Ja.length;for(b=0;b<c;++b)a.push(this.Ja[b]);return a};var ep=function(a,b){Ma.call(this);this.Kg=a||0;this.nd=b||10;if(this.Kg>this.nd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ma=new dp;this.hb=new Jd;this.delay=0;this.Ce=null;this.Tc()};B(ep,Ma);ep.prototype.wc=function(){var a=La();if(!(null!=this.Ce&&a-this.Ce<this.delay)){for(var b;0<this.Ma.N()&&(b=this.Ma.rc(),!this.Ke(b));)this.Tc();!b&&this.N()<this.nd&&(b=this.$d());b&&(this.Ce=a,this.hb.add(b));return b}};
|
|
var fp=function(a,b){return a.hb.remove(b)?(a.Md(b),!0):!1};k=ep.prototype;k.Md=function(a){this.hb.remove(a);this.Ke(a)&&this.N()<this.nd?this.Ma.enqueue(a):this.$c(a)};k.Tc=function(){for(var a=this.Ma;this.N()<this.Kg;)a.enqueue(this.$d());for(;this.N()>this.nd&&0<this.Ma.N();)this.$c(a.rc())};k.$d=function(){return{}};k.$c=function(a){if("function"==typeof a.Ka)a.Ka();else for(var b in a)a[b]=null};k.Ke=function(a){return"function"==typeof a.Ih?a.Ih():!0};
|
|
k.contains=function(a){return this.Ma.contains(a)||this.hb.contains(a)};k.N=function(){return this.Ma.N()+this.hb.N()};k.isEmpty=function(){return this.Ma.isEmpty()&&this.hb.isEmpty()};k.F=function(){ep.H.F.call(this);if(0<this.hb.N())throw Error("[goog.structs.Pool] Objects not released");delete this.hb;for(var a=this.Ma;!a.isEmpty();)this.$c(a.rc());delete this.Ma};var gp=function(a,b){this.Bg=a;this.Id=b};gp.prototype.getKey=function(){return this.Bg};gp.prototype.clone=function(){return new gp(this.Bg,this.Id)};var hp=function(a){this.wa=[];if(a)a:{if(a instanceof hp){var b=a.Ca();a=a.T();if(0>=this.N()){for(var c=this.wa,d=0;d<b.length;d++)c.push(new gp(b[d],a[d]));break a}}else b=Kb(a),a=Jb(a);for(d=0;d<b.length;d++)ip(this,b[d],a[d])}},ip=function(a,b,c){var d=a.wa;d.push(new gp(b,c));b=d.length-1;a=a.wa;for(c=a[b];0<b;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};k=hp.prototype;
|
|
k.remove=function(){var a=this.wa,b=a.length,c=a[0];if(!(0>=b)){if(1==b)ib(a);else{a[0]=a.pop();a=0;b=this.wa;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,g=2*a+2;f=g<d&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>e.getKey())break;b[a]=b[f];a=f}b[a]=e}return c.Id}};k.T=function(){for(var a=this.wa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Id);return b};k.Ca=function(){for(var a=this.wa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
k.pc=function(a){return cb(this.wa,function(b){return b.Id==a})};k.eb=function(a){return cb(this.wa,function(b){return b.getKey()==a})};k.clone=function(){return new hp(this)};k.N=function(){return this.wa.length};k.isEmpty=function(){return 0==this.wa.length};k.clear=function(){ib(this.wa)};var jp=function(){hp.call(this)};B(jp,hp);jp.prototype.enqueue=function(a,b){ip(this,a,b)};jp.prototype.rc=function(){return this.remove()};var kp=function(a,b){this.Zf=void 0;this.vd=new jp;ep.call(this,a,b)};B(kp,ep);k=kp.prototype;k.wc=function(a,b){if(!a)return(a=kp.H.wc.call(this))&&this.delay&&(this.Zf=t.setTimeout(y(this.gd,this),this.delay)),a;this.vd.enqueue(wa(b)?b:100,a);this.gd()};k.gd=function(){for(var a=this.vd;0<a.N();){var b=this.wc();if(b)a.rc().apply(this,[b]);else break}};k.Md=function(a){kp.H.Md.call(this,a);this.gd()};k.Tc=function(){kp.H.Tc.call(this);this.gd()};
|
|
k.F=function(){kp.H.F.call(this);t.clearTimeout(this.Zf);this.vd.clear();this.vd=null};var lp=function(a,b){Ma.call(this);this.De=a;this.sa=b||null};B(lp,Qo);A("ee.layers.EarthEngineTileSource",lp);lp.prototype.Dg=function(a,b){var c=hd(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.li["x-earth-engine-computation-profile"];this.sa&&e&&this.sa.Dh(a.pa.id,e);break;case "failed":case "aborted":this.sa&&""!==a.pa.id&&this.sa.fi(a.pa.id),pd(c)}},void 0,this);a.Fa=this.ed(a.Pb,a.zoom);var d=y(this.ue,this,a);mp().wc(d,b)};
|
|
lp.prototype.og=function(){return this.De.mapid+"-"+this.De.token};lp.prototype.ue=function(a,b){var c=mp();if(a.La||"aborted"==a.getStatus())fp(c,b);else{var d=hd(a,"status-changed",function(){a.jf in Po&&(pd(d),fp(c,b))});Oo(a)}};lp.prototype.ed=function(a,b){a=this.De.formatTileUrl(a.x,a.y,b);return this.sa&&this.sa.isEnabled()?a+"&profiling=1":a};var mp=function(){np||(np=new kp(0,4));return np},np=null;var pp=function(){td.call(this);this.Cd=new op(0,60);this.ac=new Ad};B(pp,td);A("ee.MapTileManager",pp);pp.ze=void 0;pp.ng=function(){return pp.ze?pp.ze:pp.ze=new pp};pp.prototype.send=function(a,b,c,d,e){if(this.ac.get(a))throw Error("[ee.MapTileManager] ID in use");b=new qp(a,b,d,y(this.Yg,this),void 0!==e?e:1);this.ac.set(a,b);a=y(this.ue,this,b);this.Cd.wc(a,c);return b};pp.prototype.abort=function(a){if(a=this.ac.get(a))a.Nb||(a.Nb=!0,a.Aa=new Oa("abort")),this.Yg(a)};
|
|
pp.prototype.ue=function(a,b){if(a.da||a.Nb)rp(this,b);else if(a.rh=b,b.setActive(!0),b=new To,a.da=b,!sp(a))throw Error("Cannot dispatch first request!");};pp.prototype.Yg=function(a){this.ac.remove(a.getId());a.da&&(rp(this,a.rh),a.da.Ka());a.ve&&a.ve(a.Aa,a.Wg)};var rp=function(a,b){b.setActive(!1);if(!fp(a.Cd,b))throw Error("Object not released");};pp.prototype.F=function(){pp.H.F.call(this);this.Cd.Ka();this.Cd=null;var a=this.ac;$a(a.T(),function(b){b.Ka()});a.clear();this.ac=null};
|
|
var qp=function(a,b,c,d,e){Ma.call(this);this.ca=a;this.ri=b;this.ai=void 0!==e?e:1;this.ve=c;this.Fb=d};B(qp,Ma);k=qp.prototype;k.Af=0;k.Nb=!1;k.da=null;k.rh=null;k.Aa=null;k.Wg=null;var tp=["load","abort","error"];qp.prototype.getId=function(){return this.ca};qp.prototype.getUrl=function(){return this.ri};qp.prototype.Rh=function(a){if(this.Nb)this.Fb&&this.Fb(this);else switch(a.type){case "load":this.Aa=a;this.Fb&&this.Fb(this);break;case "error":case "abort":sp(this)||(this.Aa=a,this.Fb&&this.Fb(this))}};
|
|
qp.prototype.F=function(){qp.H.F.call(this);delete this.ve;delete this.Fb};var sp=function(a){if(a.Af>a.ai)return!1;a.Af++;Wo(a.da,a.ca);setTimeout(y(a.mi,a),0);return!0};
|
|
qp.prototype.mi=function(){if(!this.Nb){var a=y(function(d){this.Nb||(Vo(this.da,this.ca,d),gd(this.da,tp,y(this.Rh,this)),this.da.start())},this),b=this.getUrl();if(ui(b).xa.eb("profiling")){var c=new Th;c.bc="blob";c.Na("complete",y(function(){this.Wg=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=mc(oc(fi(c))).toString();var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.Ec("ready",y(c.Ka,c));c.send(b,"GET")}else a(b)}};
|
|
var up=function(){Ma.call(this);this.ya=!1};B(up,Ma);up.prototype.setActive=function(a){this.ya=a};up.prototype.zg=function(){return this.ya};var op=function(a,b){kp.call(this,a,b)};B(op,kp);op.prototype.$d=function(){return new up};op.prototype.$c=function(a){a.Ka()};op.prototype.Ke=function(a){return!a.La&&!a.zg()};var vp=function(a,b,c,d,e){Md.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.rf=new Jd;this.Le=1;this.sa=e||null};n(vp,Md);k=vp.prototype;k.Nd=function(a){return hd(this,"tileevent",a)};k.Xe=function(a){pd(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=Nd(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.sa&&this.sa.isEnabled()&&(a+="&profiling=1");b=[b,this.jb,this.token].join("/");this.jb+=1;c=Ug("DIV",{id:b});var d=(new Date).getTime()/1E3;this.lb.push(b);pp.ng().send(b,a,d,y(this.Qh,this,c,b));to(this);return c};k.re=function(){return this.lb.length};
|
|
k.releaseTile=function(a){pp.ng().abort(a.id);this.rf.remove(wa(a.firstElementChild)?a.firstElementChild:Yg(a.firstChild));""!==a.id&&(this.qf.remove(a.id),this.sa&&this.sa.fi(a.id))};k.setOpacity=function(a){this.Le=a;var b=this.rf.Mb();zd(b,function(c){Fo(c,a)})};
|
|
k.Qh=function(a,b,c,d){"error"==c.type?(kb(this.lb,b),this.qf.add(b),this.dispatchEvent(c)):(kb(this.lb,b),c.target&&"load"==c.type&&(c=c.target,this.rf.add(c),1!=this.Le&&Fo(c,this.Le),a.appendChild(c)),to(this));this.sa&&null!==d&&this.sa.Dh(b,d)};A("ee.MapLayerOverlay",vp);vp.prototype.removeTileCallback=vp.prototype.Xe;vp.prototype.addTileCallback=vp.prototype.Nd;vp.prototype.getTile=vp.prototype.getTile;vp.prototype.setOpacity=vp.prototype.setOpacity;vp.prototype.releaseTile=vp.prototype.releaseTile;var wp=function(a,b){if(!(this instanceof wp))return new wp(a,b);this.Ya=a;this.Pa=b};B(wp,Ql);A("ee.SavedFunction",wp);wp.prototype.encode=function(a){return R("LoadAlgorithmById",this.Ya).encode(a)};wp.prototype.Z=function(){return this.Pa};(function(){var a={},b="ee.Serializer.toReadableCloudApiJSON ee.Deserializer.fromJSON ee.Image.rgb ee.data.getAssetRootQuota ee.Filter.date ee.data.getMapId ee.Geometry.MultiLineString ee.data.authenticateViaPrivateKey ee.Collection.prototype.iterate ee.Image.prototype.select ee.Filter.inList ee.Image.prototype.getDownloadURL ee.data.createAssetHome ee.data.getList ee.data.getAssetAcl ee.Element.prototype.set ee.ApiFunction._call ee.Filter.eq ee.data.getFilmstripThumbId ee.Date ee.data.getTableDownloadId ee.batch.Export.image.toAsset ee.data.getDownloadId ee.data.authenticateViaPopup ee.InitState ee.data.deleteAsset ee.data.startTableIngestion ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.Image.prototype.rename ee.batch.Export.map.toCloudStorage ee.Geometry.prototype.serialize ee.Image ee.Collection.prototype.filterDate ee.FeatureCollection ee.TILE_SIZE ee.Serializer.toJSON ee.List ee.data.makeDownloadUrl ee.data.authenticateViaOauth ee.Geometry ee.Function.prototype.apply ee.Filter.or ee.data.cancelOperation ee.ComputedObject.prototype.serialize ee.Geometry.prototype.toGeoJSONString ee.Image.prototype.getInfo ee.data.createFolder ee.Filter.neq ee.Algorithms ee.data.newTaskId ee.data.getTaskList ee.Filter.gt ee.Filter ee.Deserializer.decode ee.Collection.prototype.filter ee.data.getAssetRoots ee.batch.Export.table.toCloudStorage ee.apply ee.ComputedObject.prototype.aside ee.Collection.prototype.filterBounds ee.data.authenticate ee.Filter.lte ee.Image.prototype.expression ee.Number ee.Filter.lt ee.data.startIngestion ee.data.getTileUrl ee.batch.Export.image.toDrive ee.data.getInfo ee.ImageCollection.prototype.getVideoThumbURL ee.batch.Export.videoMap.toCloudStorage ee.data.cancelTask ee.data.updateAsset ee.Geometry.Rectangle ee.Feature.prototype.getInfo ee.ImageCollection.prototype.getInfo ee.Geometry.Point ee.data.listBuckets ee.data.getTaskListWithLimit ee.FeatureCollection.prototype.getMap ee.data.setAssetAcl ee.data.createAsset ee.data.updateTask ee.data.getValue ee.data.startProcessing ee.Feature ee.batch.Export.table.toAsset ee.Geometry.MultiPolygon ee.data.getAsset ee.batch.Export.image.toCloudStorage ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.ImageCollection.prototype.first ee.Collection.prototype.sort ee.Serializer.toReadableJSON ee.ImageCollection ee.ComputedObject.prototype.getInfo ee.Image.prototype.getThumbURL ee.Function.prototype.call ee.Serializer.encodeCloudApi ee.Image.prototype.getMap ee.data.getVideoThumbId ee.Collection.prototype.limit ee.FeatureCollection.prototype.select ee.ImageCollection.prototype.select ee.data.getTaskStatus ee.batch.Export.table.toDrive ee.data.listAssets ee.data.getOperation ee.data.copyAsset ee.Geometry.LineString ee.Filter.and ee.batch.Export.video.toDrive ee.Image.prototype.clip ee.data.makeTableDownloadUrl ee.batch.Export.video.toCloudStorage ee.ImageCollection.prototype.getFilmstripThumbURL ee.data.renameAsset ee.Serializer.encode ee.call ee.reset ee.Filter.bounds ee.initialize ee.String ee.Filter.metadata ee.Feature.prototype.getMap ee.Filter.prototype.not ee.Collection.prototype.filterMetadata ee.data.setAssetProperties ee.Terrain ee.Image.cat ee.data.makeThumbUrl ee.ApiFunction._apply ee.ImageCollection.prototype.getMap ee.Collection.prototype.map ee.data.listImages ee.Geometry.Polygon ee.Dictionary ee.Filter.gte ee.Geometry.prototype.toGeoJSON ee.data.getThumbId ee.ComputedObject.prototype.evaluate ee.Serializer.encodeCloudApiPretty ee.ApiFunction.lookup".split(" "),
|
|
c=[["obj"],["json"],["r","g","b"],["rootId","opt_callback"],["start","opt_end"],["params","opt_callback"],["coords","opt_proj","opt_geodesic","opt_maxError"],["privateKey","opt_success","opt_error","opt_extraScopes"],["algorithm","opt_first"],["var_args"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["params","opt_callback"],["requestedId","opt_callback"],["params","opt_callback"],["assetId","opt_callback"],["var_args"],["name","var_args"],["name","value"],["params","opt_callback"],
|
|
["date","opt_tz"],["params","opt_callback"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels".split(" "),["params","opt_callback"],["opt_success","opt_error"],[],["assetId","opt_callback"],["taskId","request","opt_callback"],["opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["var_args"],"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey".split(" "),
|
|
[],["opt_args"],["start","opt_end"],["args","opt_column"],[],["obj"],["list"],["id"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["namedArgs"],["var_args"],["operationName","opt_callback"],[],[],["opt_callback"],["path","opt_force","opt_callback"],["name","value"],[],["opt_count","opt_callback"],["opt_callback"],["name","value"],["opt_filter"],["json"],["filter"],["opt_callback"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),
|
|
["func","namedArgs"],["func","var_args"],["geometry"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["name","value"],["expression","opt_map"],["number"],["name","value"],["taskId","request","opt_callback"],["mapid","x","y","z"],"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(" "),["id","opt_callback"],
|
|
["params","opt_callback"],"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles".split(" "),["taskId","opt_callback"],["assetId","asset","updateFields","opt_callback"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["opt_callback"],["opt_callback"],["coords","opt_proj"],["project","opt_callback"],["opt_limit","opt_callback"],["opt_visParams","opt_callback"],["assetId","aclUpdate","opt_callback"],
|
|
["value","opt_path","opt_force","opt_properties","opt_callback"],["taskId","action","opt_callback"],["params","opt_callback"],["taskId","params","opt_callback"],["geometry","opt_properties"],["collection","opt_description","opt_assetId"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["id","opt_callback"],"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(" "),
|
|
["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],[],["property","opt_ascending"],["obj"],["args"],["opt_callback"],["params","opt_callback"],["var_args"],["obj"],["opt_visParams","opt_callback"],["params","opt_callback"],["max","opt_property","opt_ascending"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["selectors","opt_names"],["taskId","opt_callback"],"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),["parent",
|
|
"params","opt_callback"],["operationName","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["coords","opt_proj","opt_geodesic","opt_maxError"],["var_args"],"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),["geometry"],["id"],"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
|
|
["params","opt_callback"],["sourceId","destinationId","opt_callback"],["obj","opt_isCompound"],["func","var_args"],[],["geometry","opt_errorMargin"],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],["string"],["name","operator","value"],["opt_visParams","opt_callback"],[],["name","operator","value"],["assetId","properties","opt_callback"],[],["var_args"],["id"],["name","namedArgs"],["opt_visParams","opt_callback"],["algorithm","opt_dropNulls"],["parent","params",
|
|
"opt_callback"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["opt_dict"],["name","value"],[],["params","opt_callback"],["callback"],["obj"],["name"]];[ek,Xn,an,Hl,Lm,Ok,vm,Jk,W.prototype.Ag,X.prototype.select,Mm,X.prototype.vb,xl,sl,Dl,T.prototype.set,R,Dm,Uk,Tn,Yk,on,Wk,Gk,mo,Cl,ql,Y.prototype.V,Y.prototype.vb,X.prototype.Zg,sn,U.prototype.X,X,W.prototype.le,Y,256,Xj,cn,Xk,Hk,U,Ql.prototype.apply,Km,fl,O.prototype.X,U.prototype.sf,X.prototype.V,zl,Em,ko,$k,dl,Hm,V,Wn,W.prototype.filter,
|
|
wl,tn,oo,O.prototype.wf,W.prototype.fg,Ik,Im,X.prototype.m,Fn,Fm,ol,Pk,rn,rl,Z.prototype.te,yn,il,El,sm,Rm.prototype.V,Z.prototype.V,om,vl,cl,Y.prototype.getMap,Fl,yl,hl,Qk,ml,Rm,vn,xm,rl,qn,um,rm,Z.prototype.first,W.prototype.sort,Zj,Z,O.prototype.V,X.prototype.se,Ql.prototype.call,ck,X.prototype.getMap,Tk,W.prototype.limit,Y.prototype.select,Z.prototype.select,bl,un,tl,gl,Bl,tm,Jm,xn,X.prototype.clip,Zk,wn,Z.prototype.qe,Al,Wj,no,lo,Nm,io,In,Om,Rm.prototype.getMap,V.prototype.Wb,W.prototype.me,
|
|
Gl,bo,bn,Vk,Wl,Z.prototype.getMap,W.prototype.map,ul,wm,Zn,Gm,U.prototype.Oc,Sk,O.prototype.evaluate,dk,Vl].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
|