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={Ah:!0},ia={};try{ia.__proto__=ha;fa=ia.Ah;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.Mh()})}this.bb.push(g)};var d=r.setTimeout;b.prototype.zf=function(g){d(g,0)};b.prototype.Mh=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.Dh(p)}}}this.bb=null};b.prototype.Dh=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.hh(2,g)};e.prototype.kg=function(g){this.hh(1,g)};e.prototype.hh=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.Oh()};e.prototype.Oh=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,E){return"function"==typeof z?function(M){try{p(z(M))}catch(ba){q(ba)}}:E}var p,q,v=new e(function(z,E){p=z;q=E});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(M){return function(ba){z[M]=ba;E--;0==E&&p(z)}}var z=[],E=0;do z.push(void 0),E++,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.vh=a;ka(this,"description",{configurable:!0,writable:!0,value:b})};ra.prototype.toString=function(){return this.vh};
|
|
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.rc={};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.rc[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.rc[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.rc={};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.rc[p];if(q&&na(h.rc,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.Fb=!1;this.bh=!0};Oa.prototype.stopPropagation=function(){this.Fb=!0};Oa.prototype.preventDefault=function(){this.defaultPrevented=!0;this.bh=!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.yh=Xb};Yb.prototype.zb=!0;Yb.prototype.xb=function(){return this.lf};Yb.prototype.toString=function(){return"Const{"+this.lf+"}"};var Zb=function(a){if(a instanceof Yb&&a.constructor===Yb&&a.yh===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.zb=!0;ac.prototype.xb=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.rh=a===bc&&c||null;this.zh=cc};dc.prototype.zb=!0;dc.prototype.xb=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.zh===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.xh=kc};lc.prototype.zb=!0;lc.prototype.xb=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.xh===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.zb=!0;pc.prototype.xb=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.zb=!0;qc.prototype.xb=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.wh=rc};sc.prototype.zb=!0;sc.prototype.xb=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.wh===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.rh?b.rh: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.Qc=0};ad.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.$[f];a||(a=this.$[f]=[],this.Qc++);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.Qc--),!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.Qc--))};ad.prototype.Lc=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.Qc--}};ad.prototype.wc=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.Fc(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.wc(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.Qc&&(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.Fb&&0<=e;e--){b.currentTarget=d[e];var f=rd(d[e],a,!0,b);c=c&&f}for(e=0;!b.Fb&&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.Bh=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.Bh;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.Fb&&0<=f;f--){var g=a.currentTarget=c[f];e=vd(g,d,!0,a)&&e}a.Fb||(g=a.currentTarget=b,e=vd(g,d,!0,a)&&e,a.Fb||(e=vd(g,d,!1,a)&&e));if(c)for(f=0;!a.Fb&&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.Lc(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.Fc=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.bh};
|
|
td.prototype.wc=function(a,b,c,d){return this.za.wc(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.Nb=function(){return this};
|
|
var yd=function(a){if(a instanceof xd)return a;if("function"==typeof a.Nb)return a.Nb(!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.Sc=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.qc=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.Sc=this.M=this.J.length=0};
|
|
Ad.prototype.remove=function(a){return Cd(this.o,a)?(delete this.o[a],this.M--,this.Sc++,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.Sc++);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.Nb=function(a){Bd(this);var b=0,c=this.Sc,d=this,e=new xd;e.next=function(){if(c!=d.Sc)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.Lc=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.Lc(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.qc&&"function"==typeof e.qc?e.qc(d):Da(e)||u(e)?hb(e,d):Lb(e,d)})};Jd.prototype.Nb=function(){return this.o.Nb(!1)};var ee={},Md=function(a,b,c){td.call(this);this.Yh=b;this.token=c;this.mb=[];this.qf=new Jd;this.kb=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.Yh,c,e,b.y].join("/")};Md.prototype.re=function(){return this.mb.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={}},F=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 F(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(E){return function(M){return ae(M,E.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.Rh=void 0===b?null:b};n(fe,be);var ge=function(a,b,c){var d=de(a.Rh,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")?F(this,"scaleX"):null},set:function(a){this.a.scaleX=a}},$e:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleY")?F(this,"scaleY"):null},set:function(a){this.a.scaleY=a}},df:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearX")?F(this,"shearX"):null},set:function(a){this.a.shearX=a}},ef:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearY")?
|
|
F(this,"shearY"):null},set:function(a){this.a.shearY=a}},tf:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateX")?F(this,"translateX"):null},set:function(a){this.a.translateX=a}},uf:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateY")?F(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")?F(this,"arguments"):null},set:function(a){this.a.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecated")?F(this,"deprecated"):null},set:function(a){this.a.deprecated=a}},de:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecationReason")?F(this,"deprecationReason"):null},set:function(a){this.a.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return G(this,"hidden")?F(this,"hidden"):null},set:function(a){this.a.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},Ye:{configurable:!0,enumerable:!0,get:function(){return G(this,"returnType")?F(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.Wc?null:a.Wc;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,{Wc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentName")?F(this,"argumentName"):null},set:function(a){this.a.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"optional")?F(this,"optional"):null},set:function(a){this.a.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(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")?F(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.fh?null:a.fh;this.a.exemptedMembers=null==a.uc?null:a.uc;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")?F(this,"auditLogConfigs"):null},set:function(a){this.a.auditLogConfigs=a}},uc:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?F(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},fh:{configurable:!0,enumerable:!0,get:function(){return G(this,"service")?F(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.uc?null:a.uc;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,{uc:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?F(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},vg:{configurable:!0,enumerable:!0,get:function(){return G(this,"ignoreChildExemptions")?F(this,"ignoreChildExemptions"):null},set:function(a){this.a.ignoreChildExemptions=a}},Hg:{configurable:!0,enumerable:!0,get:function(){return G(this,"logType")?F(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.Sg?null:a.Sg};n(re,D);re.prototype.f=function(){return{h:{},l:{},keys:["permissionType"],i:{},j:{}}};r.Object.defineProperties(re.prototype,{Sg:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?F(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.Cb?null:a.Cb;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")?F(this,"condition"):null},set:function(a){this.a.condition=a}},Cb:{configurable:!0,enumerable:!0,get:function(){return G(this,"members")?F(this,"members"):null},set:function(a){this.a.members=a}},cc:{configurable:!0,enumerable:!0,get:function(){return G(this,"role")?F(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")?F(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")?F(this,"authorizationLoggingOptions"):null},set:function(a){this.a.authorizationLoggingOptions=a}},Gg:{configurable:!0,enumerable:!0,get:function(){return G(this,"logName")?F(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")?F(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")?F(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.mh?null:a.mh;this.a.svc=null==a.lh?null:a.lh;this.a.op=null==a.Qg?null:a.Qg;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")?F(this,"iam"):null},set:function(a){this.a.iam=a}},Qg:{configurable:!0,enumerable:!0,get:function(){return G(this,"op")?F(this,"op"):null},set:function(a){this.a.op=a}},lh:{configurable:!0,enumerable:!0,get:function(){return G(this,"svc")?F(this,"svc"):null},set:function(a){this.a.svc=a}},mh:{configurable:!0,enumerable:!0,get:function(){return G(this,"sys")?F(this,"sys"):null},set:function(a){this.a.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(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.qb?null:a.qb;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")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},qb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.a.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(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")?F(this,"field"):null},set:function(a){this.a.field=a}},Jg:{configurable:!0,enumerable:!0,get:function(){return G(this,"metric")?F(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")?F(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")?F(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")?F(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return G(this,"min")?F(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.tb?null:a.tb};n(Ge,D);
|
|
Ge.prototype.f=function(){return{h:{},l:{},keys:["filenamePrefix","folder"],i:{},j:{}}};r.Object.defineProperties(Ge.prototype,{tb:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},pe:{configurable:!0,enumerable:!0,get:function(){return G(this,"folder")?F(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.ph?null:a.ph};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")?F(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"geometry")?F(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=a}},quota:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"quota")?F(this,"quota"):null},set:function(a){this.a.quota=a}},Ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},ph:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilestoreEntry")?F(this,"tilestoreEntry"):null},
|
|
set:function(a){this.a.tilestoreEntry=a}},title:{configurable:!0,enumerable:!0,get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.a.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.a.type=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(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")?F(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.Lb?null:a.Lb};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")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.a.name=a}},Lb:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(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")?F(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},Ie:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixels")?F(this,"maxPixels"):null},set:function(a){this.a.maxPixels=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(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.Ib?null:a.Ib;this.a.tileExportOptions=null==a.Hb?null:a.Hb;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")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},Hb:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Ib:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?F(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.Bb?null:a.Bb;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")?F(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},Bb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"selectors")?F(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.Ib?null:a.Ib;this.a.tileExportOptions=null==a.Hb?null:a.Hb;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")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},Hb:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Ib:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?F(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?F(this,"version"):null},set:function(a){this.a.version=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(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")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},L:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(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")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return G(this,"location")?F(this,"location"):null},set:function(a){this.a.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"title")?F(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")?F(this,"result"):null},set:function(a){this.a.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(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")?F(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.a.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return G(this,"orientation")?F(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")?F(this,"assetCount"):null},set:function(a){this.a.assetCount=a}},Ig:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxAssetCount")?F(this,"maxAssetCount"):null},set:function(a){this.a.maxAssetCount=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},Ea:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"sizeBytes")?F(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.lc?null:a.lc;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,{lc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentNames")?F(this,"argumentNames"):null},set:function(a){this.a.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return G(this,"body")?F(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.gb?null:a.gb;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")?F(this,"arguments"):null},set:function(a){this.a.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionName")?F(this,"functionName"):null},set:function(a){this.a.functionName=a}},gb:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionReference")?F(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.tb?null:a.tb;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")?F(this,"bucket"):null},set:function(a){this.a.bucket=a}},Td:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucketCorsUris")?F(this,"bucketCorsUris"):null},set:function(a){this.a.bucketCorsUris=a}},tb:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"permissions")?F(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")?F(this,"cloudOptimized"):null},set:function(a){this.a.cloudOptimized=a}},gf:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyFiles")?F(this,"skipEmptyFiles"):null},set:function(a){this.a.skipEmptyFiles=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(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")?F(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.Zg?null:a.Zg};n(jf,D);
|
|
jf.prototype.f=function(){return{h:{},l:{},keys:["requestedPolicyVersion"],i:{},j:{}}};r.Object.defineProperties(jf.prototype,{Zg:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestedPolicyVersion")?F(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")?F(this,"height"):null},set:function(a){this.a.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return G(this,"width")?F(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")?F(this,"x"):null},set:function(a){this.a.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return G(this,"y")?F(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")?F(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"geometry")?F(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=a}},Ea:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.a.title=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(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.sb?null:a.sb;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,{sb:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Te:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicyOverrides")?F(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")?F(this,"dataType"):null},set:function(a){this.a.dataType=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?
|
|
F(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(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")?F(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ja:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}},dd:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"geoTiffOptions")?F(this,"geoTiffOptions"):null},set:function(a){this.a.geoTiffOptions=a}},Ad:{configurable:!0,enumerable:!0,get:function(){return G(this,"tfRecordOptions")?F(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.Rc?null:a.Rc;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")?F(this,"bands"):null},set:function(a){this.a.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},jg:{configurable:!0,enumerable:!0,get:function(){return G(this,"footprint")?F(this,"footprint"):null},set:function(a){this.a.footprint=a}},Ge:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"maskBands")?F(this,"maskBands"):null},set:function(a){this.a.maskBands=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.a.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=
|
|
a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.a.tilesets=a}},Rc:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"uriPrefix")?F(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")?F(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(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")?F(this,"description"):null},set:function(a){this.a.description=a}},we:{configurable:!0,enumerable:!0,get:function(){return G(this,"imageManifest")?F(this,"imageManifest"):null},set:function(a){this.a.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},L:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"requestId")?F(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")?F(this,"description"):null},set:function(a){this.a.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},L:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},nf:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"tableManifest")?F(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")?F(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")?F(this,"assets"):null},set:function(a){this.a.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(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")?F(this,"images"):null},set:function(a){this.a.images=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(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")?F(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}},Da:{configurable:!0,enumerable:!0,get:function(){return G(this,"operations")?F(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")?F(this,"cloudAudit"):null},set:function(a){this.a.cloudAudit=a}},Rf:{configurable:!0,enumerable:!0,get:function(){return G(this,"counter")?F(this,"counter"):null},set:function(a){this.a.counter=a}},Wf:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataAccess")?F(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")?F(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.qb?null:a.qb};n(Ff,D);
|
|
Ff.prototype.f=function(){return{h:{},l:{},keys:["destinationName"],i:{},j:{}}};r.Object.defineProperties(Ff.prototype,{qb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(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")?F(this,"done"):null},set:function(a){this.a.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return G(this,"error")?F(this,"error"):null},set:function(a){this.a.error=a}},Je:{configurable:!0,enumerable:!0,get:function(){return G(this,"metadata")?F(this,"metadata"):null},set:function(a){this.a.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?
|
|
F(this,"name"):null},set:function(a){this.a.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return G(this,"response")?F(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")?F(this,"createTime"):null},set:function(a){this.a.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},fe:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationUris")?F(this,"destinationUris"):null},set:function(a){this.a.destinationUris=a}},endTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.a.priority=a}},af:{configurable:!0,enumerable:!0,get:function(){return G(this,"scriptUri")?F(this,"scriptUri"):null},set:function(a){this.a.scriptUri=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},
|
|
set:function(a){this.a.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return G(this,"state")?F(this,"state"):null},set:function(a){this.a.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.a.type=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(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.Kc?null:a.Kc;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")?F(this,"dimensionsCount"):null},set:function(a){this.a.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return G(this,"precision")?F(this,"precision"):null},set:function(a){this.a.precision=a}},Kc:{configurable:!0,enumerable:!0,get:function(){return G(this,"range")?F(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.Tg?null:a.Tg;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")?F(this,"bandId"):null},set:function(a){this.a.bandId=a}},Tg:{configurable:!0,enumerable:!0,get:function(){return G(this,"points")?F(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")?F(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},ce:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsCode")?F(this,"crsCode"):null},set:function(a){this.a.crsCode=a}},Tf:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsWkt")?F(this,"crsWkt"):null},set:function(a){this.a.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"dimensions")?F(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")?F(this,"auditConfigs"):null},set:function(a){this.a.auditConfigs=a}},Xc:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindings")?F(this,"bindings"):null},set:function(a){this.a.bindings=a}},je:{configurable:!0,enumerable:!0,get:function(){return G(this,"etag")?F(this,"etag"):null},set:function(a){this.a.etag=a}},sg:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"iamOwned")?F(this,"iamOwned"):null},set:function(a){this.a.iamOwned=a}},rules:{configurable:!0,enumerable:!0,get:function(){return G(this,"rules")?F(this,"rules"):null},set:function(a){this.a.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?F(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.Lg?null:a.Lg;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")?F(this,"action"):null},set:function(a){this.a.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return G(this,"conditions")?F(this,"conditions"):null},set:function(a){this.a.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},xg:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"in")?F(this,"in"):null},set:function(a){this.a["in"]=a}},Eg:{configurable:!0,enumerable:!0,get:function(){return G(this,"logConfig")?F(this,"logConfig"):null},set:function(a){this.a.logConfig=a}},Lg:{configurable:!0,enumerable:!0,get:function(){return G(this,"notIn")?F(this,"notIn"):null},set:function(a){this.a.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissions")?F(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")?F(this,"assets"):null},set:function(a){this.a.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(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")?F(this,"policy"):null},set:function(a){this.a.policy=a}},gc:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(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")?F(this,"code"):null},set:function(a){this.a.code=a}},$f:{configurable:!0,enumerable:!0,get:function(){return G(this,"details")?F(this,"details"):null},set:function(a){this.a.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return G(this,"message")?F(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.sb?null:a.sb};n(We,D);We.prototype.f=function(){return{h:{},l:{},keys:["earthEngineDestination"],i:{},j:{earthEngineDestination:Le}}};r.Object.defineProperties(We.prototype,{sb:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(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")?F(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ja:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(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.Rc?null:a.Rc;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")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sources")?F(this,"sources"):null},set:function(a){this.a.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},Rc:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(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.Bb?null:a.Bb;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.Ug?null:a.Ug;this.a.xColumn=null==a.th?null:a.th;this.a.yColumn=null==a.uh?null:a.uh;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")?F(this,"charset"):null},set:function(a){this.a.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?F(this,"crs"):null},set:function(a){this.a.crs=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return G(this,"csvDelimiter")?F(this,"csvDelimiter"):null},set:function(a){this.a.csvDelimiter=a}},Vf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"csvQualifier")?F(this,"csvQualifier"):null},set:function(a){this.a.csvQualifier=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return G(this,"dateFormat")?F(this,"dateFormat"):null},set:function(a){this.a.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return G(this,"geodesic")?F(this,"geodesic"):null},set:function(a){this.a.geodesic=a}},Bb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},Ug:{configurable:!0,enumerable:!0,get:function(){return G(this,"primaryGeometryColumn")?F(this,"primaryGeometryColumn"):null},set:function(a){this.a.primaryGeometryColumn=a}},hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.a.uris=a}},th:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"xColumn")?F(this,"xColumn"):null},set:function(a){this.a.xColumn=a}},uh:{configurable:!0,enumerable:!0,get:function(){return G(this,"yColumn")?F(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")?F(this,"collapseBands"):null},set:function(a){this.a.collapseBands=a}},Yd:{configurable:!0,enumerable:!0,get:function(){return G(this,"compress")?F(this,"compress"):null},set:function(a){this.a.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},Fe:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"marginDimensions")?F(this,"marginDimensions"):null},set:function(a){this.a.marginDimensions=a}},He:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxMaskedRatio")?F(this,"maxMaskedRatio"):null},set:function(a){this.a.maxMaskedRatio=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},bf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sequenceData")?F(this,"sequenceData"):null},set:function(a){this.a.sequenceData=a}},zd:{configurable:!0,enumerable:!0,get:function(){return G(this,"tensorDepths")?F(this,"tensorDepths"):null},set:function(a){this.a.tensorDepths=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(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.Lb?null:a.Lb;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")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},Lb:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(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")?F(this,"mapsApiKey"):null},set:function(a){this.a.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxZoom")?F(this,"maxZoom"):null},set:function(a){this.a.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return G(this,"minZoom")?F(this,"minZoom"):null},set:function(a){this.a.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"scale")?F(this,"scale"):null},set:function(a){this.a.scale=a}},hf:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyTiles")?F(this,"skipEmptyTiles"):null},set:function(a){this.a.skipEmptyTiles=a}},kf:{configurable:!0,enumerable:!0,get:function(){return G(this,"stride")?F(this,"stride"):null},set:function(a){this.a.stride=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(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.jh?null:a.jh;this.a.subdatasetSuffix=null==a.kh?null:a.kh};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")?F(this,"crs"):null},set:function(a){this.a.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.a.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?
|
|
F(this,"sources"):null},set:function(a){this.a.sources=a}},jh:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetPrefix")?F(this,"subdatasetPrefix"):null},set:function(a){this.a.subdatasetPrefix=a}},kh:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetSuffix")?F(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.oh?null:a.oh;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")?F(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},oh:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?F(this,"tilesetBandIndex"):null},set:function(a){this.a.tilesetBandIndex=a}},ec:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(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")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},ec:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(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")?F(this,"pathPrefix"):null},set:function(a){this.a.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?F(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")?F(this,"headerSizeBytes"):null},set:function(a){this.a.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathSuffix")?F(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.nh?null:a.nh};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")?F(this,"fileIndexes"):null},set:function(a){this.a.fileIndexes=a}},gg:{configurable:!0,enumerable:!0,get:function(){return G(this,"firstTileIndex")?F(this,"firstTileIndex"):null},set:function(a){this.a.firstTileIndex=a}},nh:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesPerFile")?F(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")?F(this,"asset"):null},set:function(a){this.a.asset=a}},gc:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(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.pb?null:a.pb;this.a.integerValue=null==a.Ae?null:a.Ae;this.a.bytesValue=null==a.Ud?null:a.Ud;this.a.arrayValue=null==a.nb?null:a.nb;this.a.dictionaryValue=null==a.rb?null:a.rb;this.a.functionDefinitionValue=null==a.vb?null:a.vb;this.a.functionInvocationValue=null==a.fb?null:a.fb;this.a.argumentReference=null==a.mc?null:a.mc;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,{mc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentReference")?F(this,"argumentReference"):null},set:function(a){this.a.argumentReference=a}},nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"arrayValue")?F(this,"arrayValue"):null},set:function(a){this.a.arrayValue=a}},Ud:{configurable:!0,enumerable:!0,get:function(){return G(this,"bytesValue")?F(this,"bytesValue"):null},set:function(a){this.a.bytesValue=a}},pb:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"constantValue")?F(this,"constantValue"):null},set:function(a){this.a.constantValue=a}},rb:{configurable:!0,enumerable:!0,get:function(){return G(this,"dictionaryValue")?F(this,"dictionaryValue"):null},set:function(a){this.a.dictionaryValue=a}},vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionDefinitionValue")?F(this,"functionDefinitionValue"):null},set:function(a){this.a.functionDefinitionValue=a}},fb:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"functionInvocationValue")?F(this,"functionInvocationValue"):null},set:function(a){this.a.functionInvocationValue=a}},Ae:{configurable:!0,enumerable:!0,get:function(){return G(this,"integerValue")?F(this,"integerValue"):null},set:function(a){this.a.integerValue=a}},ab:{configurable:!0,enumerable:!0,get:function(){return G(this,"valueReference")?F(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")?F(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ja:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(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")?F(this,"framesPerSecond"):null},set:function(a){this.a.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxFrames")?F(this,"maxFrames"):null},set:function(a){this.a.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixelsPerFrame")?F(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")?F(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.a.name=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(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.Ic?null:a.Ic;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")?F(this,"gamma"):null},set:function(a){this.a.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return G(this,"opacity")?F(this,"opacity"):null},set:function(a){this.a.opacity=a}},Ic:{configurable:!0,enumerable:!0,get:function(){return G(this,"paletteColors")?F(this,"paletteColors"):null},set:function(a){this.a.paletteColors=a}},Ue:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"ranges")?F(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.Dc=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,E=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:E,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,E=void 0===d.quotaUser?void 0:d.quotaUser,M=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:E,uploadType:M,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.Dc=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,E=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:E,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,E=void 0===d.pageToken?void 0:d.pageToken,M=void 0===d.prettyPrint?void 0:d.prettyPrint,ba=void 0===d.quotaUser?void 0:d.quotaUser,tj=void 0===d.region?void 0:d.region,uj=void 0===d.startTime?void 0:d.startTime,vj=void 0===d.uploadType?void 0:d.uploadType,wj=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:E,prettyPrint:M,quotaUser:ba,region:tj,startTime:uj,uploadType:vj,upload_protocol:wj,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,E=void 0===c.quotaUser?void 0:c.quotaUser,M=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:E,uploadType:M,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,E=void 0===c.quotaUser?void 0:c.quotaUser,M=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:E,uploadType:M,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.Vh=100;this.Kh=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.Kh();return a};gg.prototype.put=function(a){this.gi(a);this.pd<this.Vh&&(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.Mb=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.Mb),this.Mb=c);this.Jd=c};kg.prototype.remove=function(){var a=null;this.Mb&&(a=this.Mb,this.Mb=this.Mb.next,this.Mb||(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.Pb=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.Db=this.ob=null;this.Vc=!1};xg.prototype.reset=function(){this.context=this.Xb=this.Db=this.ob=null;this.Vc=!1};
|
|
var yg=new gg(function(){return new xg},function(a){a.reset()}),zg=function(a,b,c){var d=yg.get();d.Db=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.Vc||(d++,g.ob==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.Pb&&(c.Pb=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.Db);a.Pb?a.Pb.next=b:a.Ta=b;a.Pb=b},Ag=function(a,b,c,d){var e=zg(null,null,null);e.ob=new wg(function(f,g){e.Db=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.ob.R=a;Fg(a,e);return e.ob};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.Nh,a))},Cg=function(a){var b=null;a.Ta&&(b=a.Ta,a.Ta=b.next,b.next=null);a.Ta||(a.Pb=null);null!=b&&C(null!=b.Db);return b};wg.prototype.Nh=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.Vc)for(;a&&a.fd;a=a.R)a.fd=!1;if(b.ob)b.ob.R=null,Ig(b,c,d);else try{b.Vc?b.Db.call(b.context):Ig(b,c,d)}catch(e){Jg.call(null,e)}yg.put(b)},Ig=function(a,b,c){2==b?a.Db.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.Wh=null!=c?y(a,c):a;this.Th=b;this.Gh=y(this.di,this);this.Od=[]};B(Lg,Ma);k=Lg.prototype;k.dc=!1;k.Jc=0;k.Jb=null;k.ne=function(a){this.Od=arguments;this.Jb||this.Jc?this.dc=!0:Mg(this)};k.stop=function(){this.Jb&&(t.clearTimeout(this.Jb),this.Jb=null,this.dc=!1,this.Od=[])};k.pause=function(){this.Jc++};k.resume=function(){this.Jc--;this.Jc||!this.dc||this.Jb||(this.dc=!1,Mg(this))};k.F=function(){Lg.H.F.call(this);this.stop()};
|
|
k.di=function(){this.Jb=null;this.dc&&!this.Jc&&(this.dc=!1,Mg(this))};var Mg=function(a){a.Jb=Kg(a.Gh,a.Th);a.Wh.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.zb&&(c=c.xb());"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.Jh=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.Mg=b;this.Yf=a||null;this.yc=this.Tb=!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.Tb)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.Mg?this.Mg.call(this.Yf,this):this.ff=!0;this.Tb||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.Tb=!0;a.ta=c;a.yc=!b;fh(a)},hh=function(a){if(a.Tb){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.Tb&&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.Tb&&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.yc?g:f)try{var h=f.call(e||a.Yf,b);wa(h)&&(a.yc=a.yc&&(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.yc=!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={eh:e,Oc: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.Oc=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.eh){var a=this.eh;a&&"SCRIPT"==a.tagName&&nh(a,!0,this.Oc)}},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.Cc=a;delete this.cg};xh.prototype.gh=function(a){this.Cc=a};var zh=function(a){this.ai=a;this.pg=this.Vd=this.Cc=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.getParent=function(){return this.R};zh.prototype.mg=function(){this.Vd||(this.Vd={});return this.Vd};zh.prototype.gh=function(a){this.Cc=a};
|
|
var Fh=function(a){if(a.Cc)return a.Cc;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.ai),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.gh(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.Bc=this.Cg=this.md="";this.Ab=this.xe=this.kd=this.ie=!1;this.fc=0;this.Bd=null;this.bc="";this.Gd=this.ei=this.sh=!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.Ih=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.Bc="";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.Pg,this);this.ei&&"onprogress"in this.s&&(this.s.onprogress=y(function(f){this.Og(f,!0)},this),this.s.upload&&(this.s.upload.onprogress=y(this.Og,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.sh&&
|
|
(this.s.withCredentials=this.sh);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.Oc,this)):this.Bd=Kg(this.Oc,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.Oc=function(){"undefined"!=typeof va&&this.s&&(this.Bc="Timed out after "+this.fc+"ms, aborting",Jh(this.oa,Zh(this,this.Bc)),this.dispatchEvent("timeout"),this.abort(8))};Th.prototype.cd=function(a,b){this.ya=!1;this.s&&(this.Ab=!0,this.s.abort(),this.Ab=!1);this.Bc=b;bi(this);di(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.Ab=!0,this.s.abort(),this.Ab=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),di(this))};Th.prototype.F=function(){this.s&&(this.ya&&(this.ya=!1,this.Ab=!0,this.s.abort(),this.Ab=!1),di(this,!0));Th.H.F.call(this)};Th.prototype.Pg=function(){this.La||(this.xe||this.kd||this.Ab?ei(this):this.ci())};Th.prototype.ci=function(){ei(this)};
|
|
var ei=function(a){if(a.ya&&"undefined"!=typeof va)if(a.Kd[1]&&4==a.hb()&&2==a.getStatus())Jh(a.oa,Zh(a,"Local request error detected and ignored"));else if(a.kd&&4==a.hb())Kg(a.Pg,0,a);else if(a.dispatchEvent("readystatechange"),4==a.hb()){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.hb()?a.s.statusText:""}catch(h){Jh(a.oa,"Can not get status: "+h.message),g=""}a.Bc=g+" ["+a.getStatus()+"]";bi(a)}}finally{di(a)}}};Th.prototype.Og=function(a,b){C("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(fi(a,"progress"));this.dispatchEvent(fi(a,b?"downloadprogress":"uploadprogress"))};
|
|
var fi=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},di=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.hb=function(){return this.s?this.s.readyState:0};Th.prototype.getStatus=function(){try{return 2<this.hb()?this.s.status:-1}catch(a){return-1}};
|
|
var gi=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.hb())return a=this.s.getResponseHeader(a),null===a?void 0:a};Th.prototype.getAllResponseHeaders=function(){return this.s&&4==this.hb()?this.s.getAllResponseHeaders()||"":""};
|
|
var hi=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 ii=function(a,b){this.Ua=this.Kb=this.jb="";this.Zb=null;this.ub=this.Ya="";this.va=this.Uh=!1;if(a instanceof ii){this.va=wa(b)?b:a.va;ji(this,a.jb);var c=a.Kb;ki(this);this.Kb=c;c=a.Ua;ki(this);this.Ua=c;li(this,a.Zb);this.setPath(a.getPath());mi(this,a.xa.clone());a=a.ub;ki(this);this.ub=a}else a&&(c=String(a).match(Rh))?(this.va=!!b,ji(this,c[1]||"",!0),a=c[2]||"",ki(this),this.Kb=ni(a),a=c[3]||"",ki(this),this.Ua=ni(a,!0),li(this,c[4]),this.setPath(c[5]||"",!0),mi(this,c[6]||"",!0),a=c[7]||
|
|
"",ki(this),this.ub=ni(a)):(this.va=!!b,this.xa=new oi(null,this.va))};
|
|
ii.prototype.toString=function(){var a=[],b=this.jb;b&&a.push(pi(b,qi,!0),":");var c=this.Ua;if(c||"file"==b)a.push("//"),(b=this.Kb)&&a.push(pi(b,qi,!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(pi(c,"/"==c.charAt(0)?ri:si,!0));(c=this.xa.toString())&&a.push("?",c);(c=this.ub)&&a.push("#",pi(c,ti));return a.join("")};
|
|
ii.prototype.resolve=function(a){var b=this.clone(),c=!!a.jb;c?ji(b,a.jb):c=!!a.Kb;if(c){var d=a.Kb;ki(b);b.Kb=d}else c=!!a.Ua;c?(d=a.Ua,ki(b),b.Ua=d):c=null!=a.Zb;d=a.getPath();if(c)li(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?mi(b,a.xa.clone()):c=!!a.ub;c&&(a=a.ub,ki(b),b.ub=a);return b};ii.prototype.clone=function(){return new ii(this)};
|
|
var ji=function(a,b,c){ki(a);a.jb=c?ni(b,!0):b;a.jb&&(a.jb=a.jb.replace(/:$/,""))},li=function(a,b){ki(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Zb=b}else a.Zb=null};ii.prototype.getPath=function(){return this.Ya};ii.prototype.setPath=function(a,b){ki(this);this.Ya=b?ni(a,!0):a;return this};var mi=function(a,b,c){ki(a);b instanceof oi?(a.xa=b,a.xa.cf(a.va)):(c||(b=pi(b,ui)),a.xa=new oi(b,a.va))};ii.prototype.getQuery=function(){return this.xa.toString()};
|
|
ii.prototype.removeParameter=function(a){ki(this);this.xa.remove(a);return this};var ki=function(a){if(a.Uh)throw Error("Tried to modify a read-only Uri");};ii.prototype.cf=function(a){this.va=a;this.xa&&this.xa.cf(a)};
|
|
var vi=function(a){return a instanceof ii?a.clone():new ii(a,void 0)},ni=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},pi=function(a,b,c){return u(a)?(a=encodeURI(a).replace(b,wi),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},wi=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},qi=/[#\/\?@]/g,si=/[#\?:]/g,ri=/[#\?]/g,ui=/[#\?@]/g,ti=/#/g,oi=function(a,b){this.M=this.O=null;this.ra=a||null;this.va=!!b},xi=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=oi.prototype;k.N=function(){xi(this);return this.M};k.add=function(a,b){xi(this);this.ra=null;a=yi(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){xi(this);a=yi(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(){xi(this);return 0==this.M};k.eb=function(a){xi(this);a=yi(this,a);return this.O.eb(a)};k.qc=function(a){var b=this.T();return hb(b,a)};k.forEach=function(a,b){xi(this);this.O.forEach(function(c,d){$a(c,function(e){a.call(b,e,d,this)},this)},this)};k.Ca=function(){xi(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){xi(this);var b=[];if(u(a))this.eb(a)&&(b=lb(b,this.O.get(yi(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){xi(this);this.ra=null;a=yi(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(yi(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 oi;a.ra=this.ra;this.O&&(a.O=this.O.clone(),a.M=this.M);return a};var yi=function(a,b){b=String(b);a.va&&(b=b.toLowerCase());return b};oi.prototype.cf=function(a){a&&!this.va&&(xi(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};oi.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Hd(arguments[b],function(c,d){this.add(d,c)},this)};var zi,J=function(a,b){Ai();this.callback=a;this.W=new Bi(!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},Ci=function(){return"projects/"+zi};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 Bi=function(a,b){this.sync=a=void 0===a?!1:a;this.$g=null!=b?b:a?5:10;return this};n(Bi,ie);
|
|
Bi.prototype.send=function(a,b){var c=this;he(a);var d=a.path||"",e=Di()+d,f=L(a.A||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=N(e,f,void 0,a.B,g,this.$g);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){N(e,f,function(q,v){v?p(v):m(q)},a.B,g,c.$g)})).then(function(m){return b?Ud(b,m):m})};var Fi=function(a){J.call(this,a);this.W=new Ei};n(Fi,J);
|
|
Fi.prototype.send=function(a,b){var c=this,d=Di()+"/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?(N(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(N(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var Ei=function(){return ie.apply(this,arguments)||this};n(Ei,ie);
|
|
Ei.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=Gi();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 Hi=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"))}},Di=function(){var a=Ii.replace(/\/api$/,"");return"window"in t&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Oi=function(a,b,c){Ji&&Ki&&Ji({client_id:String(Ki),
|
|
immediate:!0,scope:Li.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if(O&&"window"in t)try{Mi(function(){try{t.gapi.auth.setToken(d),Ni(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Ni(a,b,d)})},Gi=function(){Pi&&0<=La()-Pi&&(Pi=Qi=null);return Qi},Ri=function(a,b){Ki=a;Li=b},Ai=function(a,b,c){null!=a?Ii=a:Si||(Ii="https://earthengine.googleapis.com/api");null!=b?Ti=b:Si||(Ti="https://earthengine.googleapis.com");void 0!==c&&(Ui=c);O&&(zi=zi||"earthengine-legacy");
|
|
Si=!0},N=function(a,b,c,d,e,f){Ai();var g=Vi,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=Gi();if(null!=m)h.Authorization=m;else if(c&&Ji&&Ki)return Oi(function(){Wi(g,function(){N(a,b,c,d)})}),null;b=b?b.clone():new oi;null!=Xi&&b.add("key",Xi);O?(g&&(h["X-Earth-Engine-Computation-Profile"]="1"),zi&&"earthengine-legacy"!==zi&&(h["X-Goog-User-Project"]=zi)):g&&b.add("profiling","1");b=Yi(b,a);null!=
|
|
Ui&&(h["X-XSRF-Token"]=Ui);null!=Zi&&(h["X-Earth-Engine-App-ID-Token"]=Zi);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("/")?Ii+a:a;if(c)return $i.push(aj(e,c,d,m,h,f)),bj.ne(),null;p=function(z,E){this.setRequestHeader&&this.setRequestHeader(E,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 cj(v.status,function(z){try{return v.getResponseHeader(z)}catch(E){return null}},
|
|
v.responseText,g)},aj=function(a,b,c,d,e,f){var g=0,h={url:a,method:c,content:d,headers:e},m=Vi,p=null!=f?f:10;h.callback=function(q){q=q.target;if(429==q.getStatus()&&g<p)return g++,setTimeout(function(){$i.push(h);bj.ne()},Math.min(12E4,1E3*Math.pow(2,g))),null;var v=cj,z=q.getStatus(),E=y(q.getResponseHeader,q);try{var M=q.s?q.s.responseText:""}catch(ba){Jh(q.oa,"Can not get responseText: "+ba.message),M=""}return v(z,E,M,m,b)};return h},Wi=function(a,b){var c=Vi;try{Vi=a,b.call(void 0)}finally{Vi=
|
|
c}},cj=function(a,b,c,d,e){var f=d?b("X-Earth-Engine-Computation-Profile"):"";f&&d&&d(f);var g=function(E){return O?E:E.data},h=function(E){try{var M=JSON.parse(E);return x(M)&&"error"in M&&"message"in M.error?M.error.message:{parsed:M}}catch(ba){return"Invalid JSON: "+E}},m=function(E){if(0===E)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>E||300<=E)return"Server returned HTTP code: "+E},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=[];Hi(b,c,function(E,M,ba){ba=h(ba);ba.parsed&&(q[E]=g(ba.parsed));(M=(ba.parsed?"":ba)||m(M))&&v.push(E+": "+M)});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);},Mi=function(a){var b=function(){t.gapi.config.update("client/cors",
|
|
!0);Ji||(Ji=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}))}},Ni=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(Oi,.9*c);void 0!==d.unref&&d.unref();Pi=La()+c}Qi=b;a&&a()}else b&&b(c.error||"Unknown error.")},L=function(a){var b=new oi;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},$i=[],bj=new Lg(function(){var a=$i.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=dj,g=new Th;Yh.push(g);c&&g.Na("complete",c);g.Fc("ready",g.Ih);f&&(g.fc=Math.max(0,f));g.send(b,d,e,a)}0==$i.length||bj.ne()},350),Ii=null,Ti=null,Ui=null,Zi=null,Yi=Vb,Qi=null,Pi=null,Ki=null,Li=[],Ji=null,fc=new Yb(Wb,"https://apis.google.com/js/client.js?onload=%{onload}"),Xi=null,
|
|
O=!1,Si=!1,dj=0,Vi=null;var ej=function(){},fj=function(a){if(void 0===a||null===a)a=Qd;return new oe({pb:a})},gj=function(a){return new oe({ab:a})},hj=function(a){return new oe({nb:new ne({values:a})})},ij=function(a){return new oe({rb:new Ee({values:a})})},jj=function(a,b){return new oe({fb:new df({functionName:a,arguments:b})})},kj=function(a,b){return new oe({fb:new df({gb:a,arguments:b})})},lj=function(a,b){return new oe({vb:new cf({lc:a,body:b})})},mj=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}},nj=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}},oj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');
|
|
return a},pj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(w(a))return a;throw Error("Invalid band list "+a);},sj=function(a){var b=new Ne,c=!1;"palette"in a&&(c=a.palette,b.Ic="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.Ic?b.Ic.length-1:255;d=qj(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=qj(a,"min","max");0!==d.length&&(b.Ue=d.map(function(f){return new Fe(f)}),c=!0);a=rj(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},rj=function(a){return a?a.split(",").map(Number):[]},qj=function(a,b,c){var d=rj(a[b]),e=rj(a[c]);if(0===d.length)return e.map(function(f){var g={};return g[b]=0,g[c]=f,g});if(0===e.length)return d.map(function(f){var g={};return g[b]=f,g[c]=1,g});if(d.length!==e.length)throw Error("Length of "+
|
|
b+" and "+c+" must match.");return d.map(function(f,g){var h={};return h[b]=f,h[c]=e[g],h})},xj=function(a){var b=function(g){var h={};h.description=g.description||"";h.type=g.type||"";null!=g.Wc&&(h.name=g.Wc);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},yj=function(a){return(a=/^(projects\/[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/.exec(a))?a[1]:"projects/earthengine-legacy"},zj=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},Bj=function(a){return(a.P||[]).map(Aj)},Dj=function(a){return(a.images||
|
|
[]).map(Cj)},Ej=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"}},Aj=function(a){var b=Fj(Ej(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.Kc&&(f.min=d.dataType.Kc.min||0,f.max=d.dataType.Kc.max);e.data_type=f}return e}));return b},Gj=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},Cj=function(a){return Fj("Image",a.name)},Fj=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},Ij=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=Hj(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},Hj=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("],[")+"]]]}"},Jj=function(a){var b={};(a.Xc||[]).forEach(function(f){b[f.cc]=f.Cb});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},Kj=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",
|
|
Cb:b("owners")},{cc:"roles/viewer",Cb:b("readers").concat(c)},{cc:"roles/editor",Cb:b("writers")}].map(function(d){return new se(d)});return new If({Xc:b.filter(function(d){return d.Cb.length}),je:null})},Lj=function(a){return"projects/earthengine-legacy/operations/"+a},Mj=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Nj=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=Mj(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.fe;b.source_url=e.af;return b},
|
|
Oj=function(a){var b={started:"OK"};a.name&&(b.taskId=Mj(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},Pj=function(a){var b=Object.assign({},a);if(a.primaryPath){var c=[a.primaryPath].concat(ca(a.additionalPaths||[]));b.hc=c}a.maxError&&(b.Bb=a.maxError);b.ea&&(b.ea=new ke(b.ea));return b},Sj=function(a){var b=new qf(a);b.name=zj(a.id);b.tilesets=(a.tilesets||[]).map(function(c){var d=(c.sources||[]).map(Pj).map(function(e){return new vf(e)});return new tf(Object.assign({},c,
|
|
{sources:d}))});b.bands=(a.bands||[]).map(function(c){var d=Qj(c.missingData);return new rf(Object.assign({},c,{missingData:d}))});b.missingData=Qj(a.missingData);b.Ge=rb((a.tilesets||[]).map(Rj));b.pyramidingPolicy=a.pyramidingPolicy||null;return b},Rj=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},Tj=function(a){var b=new yf(a);b.name=zj(a.id);b.sources=(a.sources||[]).map(Pj).map(function(c){return new Mf(c)});return b},Qj=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 Uj=function(){this.cb=-1};var Vj=function(){this.cb=64;this.Y=Array(4);this.Eh=Array(this.cb);this.Dd=this.oc=0;this.reset()};B(Vj,Uj);Vj.prototype.reset=function(){this.Y[0]=1732584193;this.Y[1]=4023233417;this.Y[2]=2562383102;this.Y[3]=271733878;this.Dd=this.oc=0};
|
|
var Wj=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};
|
|
Vj.prototype.update=function(a,b){wa(b)||(b=a.length);for(var c=b-this.cb,d=this.Eh,e=this.oc,f=0;f<b;){if(0==e)for(;f<=c;)Wj(this,a,f),f+=this.cb;if(u(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.cb){Wj(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.cb){Wj(this,d);e=0;break}}this.oc=e;this.Dd+=b};
|
|
Vj.prototype.digest=function(){var a=Array((56>this.oc?this.cb:2*this.cb)-this.oc);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 Xj=function(a){this.Tc="__ee_hash__";this.ld=!1!==a;this.Oa=[];this.ua={};this.vf=[];this.hd=new WeakMap};A("ee.Serializer",Xj);var Yj=new rh,Zj=new Vj,bk=function(a,b){return ak(new Xj(void 0!==b?b:!0),a)};A("ee.Serializer.encode",bk);var ck=function(a){return Yj.X(bk(a))};A("ee.Serializer.toJSON",ck);var ek=function(a){return dk(bk(a,!1))};A("ee.Serializer.toReadableJSON",ek);
|
|
var dk=function(a){return"JSON"in t?t.JSON.stringify(a,null," "):Yj.X(a)},ak=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.Tc]},a)),a.vf=[],a.ua={});return b};
|
|
Xj.prototype.bd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=x(a)?a[this.Tc]: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 ej){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.Tc),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.ld){b=fk(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.Tc]=b;this.vf.push(a);return{type:"ValueRef",value:d}}return c};var fk=function(a){Zj.reset();Zj.update(Yj.X(a));return Zj.digest().toString()},hk=function(a){return gk(new Xj(!0),a)};
|
|
A("ee.Serializer.encodeCloudApi",hk);
|
|
var ik=function(a){a=gk(new Xj(!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.a: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.lc,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.gb?{arguments:Hb(h.arguments,c),functionReference:c(b[h.gb])}:"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",ik);var jk=function(a){return dk(ik(a))};A("ee.Serializer.toReadableCloudApiJSON",jk);
|
|
var gk=function(a,b){try{var c=kk(a,b),d=new lk(c,a.Oa,a.ld),e=mk(d,d.dh);return new ye({result:e,values:d.Rg})}finally{a.hd=new WeakMap,a.ua={},a.Oa=[]}},kk=function(a,b){var c=function(e){var f=fk(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(fj(b));if(Ea(b))return c(jj("Date",{value:fj(Math.floor(b.getTime()))}));
|
|
if(b instanceof ej)return c(b.qa(function(e){return kk(a,e)}));if(w(b))return c(hj(b.map(function(e){return gj(kk(a,e))})));if(x(b)&&!Fa(b)){var d={};Object.keys(b).sort().forEach(function(e){d[e]=gj(kk(a,b[e]))});return c(ij(d))}throw Error("Can't encode object: "+b);},lk=function(a,b,c){var d=this;this.dh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.Wg=c?nk(this):null;this.Rg={};this.Ve={};this.bi=0},mk=function(a,b){if(b in a.Ve)return a.Ve[b];var c=String(a.bi++);a.Ve[b]=
|
|
c;a.Rg[c]=ok(a,a.values[b],0);return c},ok=function(a,b,c){var d=function(p){return null!==p.pb},e=function(p){return p===Qd?null:p};if(d(b)||null!=b.Ae||null!=b.Ud||null!=b.mc)return b;if(null!=b.ab)return d=a.values[b.ab],null===a.Wg||50>c&&1===a.Wg[b.ab]?ok(a,d,c):pk(d)?d:gj(mk(a,b.ab));if(null!=b.nb){var f=b.nb.values.map(function(p){return ok(a,p,c+3)});return f.every(d)?fj(f.map(function(p){return e(p.pb)})):hj(f)}if(null!=b.rb){f={};var g={};b=l(Object.entries(b.rb.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]=ok(a,m,c+3);null!==g&&d(f[h])?g[h]=e(f[h].pb):g=null}return null!==g?fj(g):ij(f)}if(null!=b.vb)return d=b.vb,lj(d.lc||[],mk(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]=ok(a,d.arguments[b],c+3);return d.functionName?jj(d.functionName,f):kj(mk(a,d.gb||""),f)}throw Error("Can't optimize value: "+b);},pk=function(a){var b=a.pb;return null!==b?b===Qd||"number"===
|
|
typeof b||"boolean"===typeof b:null!=a.mc},nk=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.nb?e.nb.values.forEach(d):null!=e.rb?Object.values(e.rb.values).forEach(d):null!=e.vb?c(e.vb.body):null!=e.fb?(e=e.fb,null!=e.gb&&c(e.gb),Object.values(e.arguments).forEach(d)):null!=e.ab&&c(e.ab)};c(a.dh);return b};var tk=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=new Pe({m:hk(a.element),description:qk(a.description),ia:null,Sa:null,K:null,Ie:qk(a.maxPixels),L:qk(a.id)}),c=rk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":b.ia=sk(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({sb:new Le({name:zj(a.assetId)}),
|
|
pyramidingPolicy:d,Te:Ob(c)?null:c});b.Sa=a;break;default:throw Error('Export destination "'+c+'" unknown');}return b},xk=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:hk(a.element),description:qk(a.description),ia:null,Sa:null,selectors:b,Bb:uk(a.maxErrorMeters),L:qk(a.id)});var c=rk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Xe({ja:null,ha:null,I:nj(a.fileFormat)});
|
|
"GOOGLE_CLOUD_STORAGE"===c?d.ja=vk(a):d.ha=wk(a);b.ia=d;break;case "ASSET":b.Sa=new We({sb:new Le({name:zj(a.assetId)})});break;default:throw Error('Export destination "'+c+'" unknown');}return b},zk=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=new af({m:hk(a.element),description:qk(a.description),Ia:new $e({framesPerSecond:uk(a.framesPerSecond),maxFrames:uk(a.maxFrames),maxPixelsPerFrame:qk(a.maxPixels)}),ia:null,L:qk(a.id)});b.ia=yk(a,rk(a));return b},Bk=
|
|
function(a){if(null==a.element)throw Error('"element" not found in params '+a);return new Te({m:hk(a.element),description:qk(a.description),Ib:Ak(a),Hb:sk(a,"GOOGLE_CLOUD_STORAGE"),L:qk(a.id)})},Ck=function(a){if(null==a.element)throw Error('"element" not found in params '+a);return new Ye({m:hk(a.element),description:qk(a.description),Ia:new $e({framesPerSecond:uk(a.framesPerSecond),maxFrames:uk(a.maxFrames),maxPixelsPerFrame:null}),Ib:Ak(a),Hb:yk(a,"GOOGLE_CLOUD_STORAGE"),L:qk(a.id),version:qk(a.version)})};
|
|
function qk(a){return null!=a?String(a):null}function uk(a){return null!=a?Number(a):null}
|
|
var rk=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},Ek=function(a){var b=new pf({Yd:!!a.tfrecordCompressed,Vb:qk(a.tfrecordMaxFileSize),bf:!!a.tfrecordSequenceData,Xd:!!a.tfrecordCollapseBands,He:uk(a.tfrecordMaskedThreshold),defaultValue:uk(a.tfrecordDefaultValue),Ga:Dk(a.tfrecordPatchDimensions),Fe:Dk(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},sk=function(a,b){var c=new Re({ja:null,ha:null,dd:null,Ad:null,I:mj(a.fileFormat)});"GEO_TIFF"===c.I?c.dd=new ff({Wd:!!a.tiffCloudOptimized,gf:!!a.tiffSkipEmptyFiles,Ga:Dk(a.tiffFileDimensions)}):"TF_RECORD_IMAGE"===c.I&&(c.Ad=Ek(a));"GOOGLE_CLOUD_STORAGE"===
|
|
b?c.ja=vk(a):c.ha=wk(a);return c},yk=function(a,b){var c=new Ze({ja:null,ha:null,I:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ja=vk(a):c.ha=wk(a);return c},Ak=function(a){return new Ue({maxZoom:uk(a.maxZoom),scale:uk(a.scale),minZoom:uk(a.minZoom),hf:!!a.skipEmptyTiles,Ee:qk(a.mapsApiKey),Ga:Dk(a.tileDimensions),kf:uk(a.stride)})},Dk=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},vk=function(a){return new ef({Sd:qk(a.outputBucket),tb:qk(a.outputPrefix),Td:null,permissions:null})},wk=function(a){return new Ge({pe:qk(a.driveFolder),tb:qk(a.driveFileNamePrefix)})};var Gk=function(a,b){this.Ra=a;this.Hd=b;this.o={};this.nc=!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 Fk(c,b[1])}this.nc=!0}},Hk=function(a){if(a.nc){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&&Hk(d)}}}else{a.Ra.length=0;b=Ik(a);b.sort();for(c=0;c<b.length;c++){var e=a.o[b[c]];(d=e.ic)&&Hk(d);a.Ra.push([e.key,e.value])}a.nc=!0}return a.Ra},Jk=function(a){this.tg=0;this.Ra=a};
|
|
Jk.prototype.next=function(){return this.tg<this.Ra.length?{done:!1,value:this.Ra[this.tg++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&(Jk.prototype[Symbol.iterator]=function(){return this});k=Gk.prototype;k.getLength=function(){return Ik(this).length};k.clear=function(){this.o={};this.nc=!1};k.entries=function(){var a=[],b=Ik(this);b.sort();for(var c=0;c<b.length;c++){var d=this.o[b[c]];a.push([d.key,Kk(this,d)])}return new Jk(a)};
|
|
k.keys=function(){var a=[],b=Ik(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.o[b[c]].key);return new Jk(a)};k.values=function(){var a=[],b=Ik(this);b.sort();for(var c=0;c<b.length;c++)a.push(Kk(this,this.o[b[c]]));return new Jk(a)};k.forEach=function(a,b){var c=Ik(this);c.sort();for(var d=0;d<c.length;d++){var e=this.o[c[d]];a.call(b,Kk(this,e),e.key,this)}};k.set=function(a,b){var c=new Fk(a);this.Hd?(c.ic=b,c.value=Hk(b)):c.value=b;this.o[a.toString()]=c;this.nc=!1;return this};
|
|
var Kk=function(a,b){return a.Hd?(b.ic||(b.ic=new a.Hd(b.value)),b.ic):b.value};Gk.prototype.get=function(a){if(a=this.o[a.toString()])return Kk(this,a)};Gk.prototype.has=function(a){return a.toString()in this.o};var Ik=function(a){a=a.o;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},Fk=function(a,b){this.key=a;this.value=b;this.ic=void 0};Object.freeze&&Object.freeze([]);var Mk=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine"];O&&f.push("https://www.googleapis.com/auth/cloud-platform");d&&(nb(f,d),pb(f));Ri(a,f);null===a?Pi=Qi=null:Mi(function(){Oi(b,c,e||Ka(Lk,b,c))})};A("ee.data.authenticateViaOauth",Mk);var Nk=function(a,b,c,d,e){Mk(a,b,c,d,e)};A("ee.data.authenticate",Nk);var Lk=function(a,b){t.gapi.auth.authorize({client_id:Ki,immediate:!1,scope:Li.join(" ")},Ka(Ni,a,b))};A("ee.data.authenticateViaPopup",Lk);
|
|
var Ok=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"];O&&e.push("https://www.googleapis.com/auth/cloud-platform");d&&(nb(e,d),pb(e));Ri(a.client_email,e);var f=new google.auth.JWT(a.client_email,null,a.private_key,e,null);Ji=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})})};Oi(b,c)};A("ee.data.authenticateViaPrivateKey",Ok);var Pk=[];Pk.push("setApiKey");Pk.push("setProject");Pk.push("getProject");Pk.push("setCloudApiEnabled");Pk.push("getCloudApiEnabled");A("ee.data.setExpressionAugmenter",function(a){Qk=a||Vb});var Qk=Vb;A("ee.data.setDeadline",function(a){dj=a});A("ee.data.setParamAugmenter",function(a){Yi=a||Vb});
|
|
var Rk=function(a){if(O)return a=new J(a),K(a,a.kc().list(Ci(),{prettyPrint:!1}).then(xj));var b=N("/algorithms",null,a,"GET");return a?null:b},Tk=function(a,b){if(O){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:Qk(hk(a.image)),I:mj(a.format),fa:pj(a.bands),Lb:sj(a)});var c=new J(b);return K(c,c.maps().create(Ci(),a,{fields:["name"]}).then(function(e){var f=Xi;return Sk(e.name,
|
|
"","/v1alpha/{}/tiles",f?"?key="+f:"")}))}a=Qb(a);"string"!==typeof a.image&&(a.image=a.image.X());var d=function(e){return Sk(e.mapid,e.token,"/map/{}","?token={}")};return b?(N("/mapid",L(a),function(e,f){return b(e&&d(e),f)}),null):d(N("/mapid",L(a)))};A("ee.data.getMapId",Tk);var Uk=function(a,b,c,d){return a.formatTileUrl(b,c,d)};A("ee.data.getTileUrl",Uk);
|
|
var Sk=function(a,b,c,d){c=Ti+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}}},Vk=function(a,b){a=Qb(a);return N("/value",L(a),b)};A("ee.data.getValue",Vk);
|
|
var Wk=function(a,b){if(O)return a=Qk(hk(a)),b=new J(b),K(b,cg(b.value(),Ci(),new xe({m:a})).then(function(c){return c.result}));a={json:ck(a)};return N("/value",L(a),b)},Xk=function(a,b){if(O){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:Qk(hk(a.image)),
|
|
I:mj(a.format),fa:pj(a.bands),Lb:sj(a),K:null});b=new J(b);return K(b,(new ag(b.W)).create(Ci(),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 N("/thumb",a,b)};A("ee.data.getThumbId",Xk);
|
|
var Yk=function(a,b){if(!O)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:Qk(hk(a.imageCollection)),I:mj(a.format),Ia:c,K:null});b=new J(b);return K(b,(new fg(b.W)).create(Ci(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};A("ee.data.getVideoThumbId",Yk);Pk.push("getVideoThumbId");
|
|
var Zk=function(a,b){if(!O)throw Error("getFilmstripThumbId is only supported in Cloud API mode.");a=new bf({name:null,m:Qk(hk(a.imageCollection)),I:mj(a.format),orientation:oj(a.orientation),K:null});b=new J(b);return K(b,(new Vf(b.W)).create(Ci(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};A("ee.data.getFilmstripThumbId",Zk);Pk.push("getFilmstripThumbId");
|
|
var $k=function(a){if(O){var b=Xi;return Ti+"/v1alpha/"+a.thumbid+":getPixels"+(b?"?key="+b:"")}return Ti+"/api/thumb?thumbid="+a.thumbid+"&token="+a.token};A("ee.data.makeThumbUrl",$k);var al=function(a,b){a=Qb(a);return N("/download",L(a),b)};A("ee.data.getDownloadId",al);var bl=function(a){return Ti+"/api/download?docid="+a.docid+"&token="+a.token};A("ee.data.makeDownloadUrl",bl);var cl=function(a,b){a=Qb(a);return N("/table",L(a),b)};A("ee.data.getTableDownloadId",cl);
|
|
var dl=function(a){return Ti+"/api/table?docid="+a.docid+"&token="+a.token};A("ee.data.makeTableDownloadUrl",dl);var el=function(a,b){if(O){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 N("/newtaskid",L(d),b)};A("ee.data.newTaskId",el);
|
|
var gl=function(a,b){if(O){var c=fl(a).map(Lj);if(1===c.length)return b=new J(b),K(b,b.Da().get(c[0]).then(function(e){return[Nj(e)]}));b=new Fi(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 Nj(e[f])})})}a="/taskstatus?q="+fl(a).join();return N(a,null,b,"GET")};A("ee.data.getTaskStatus",gl);
|
|
var fl=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.");},il=function(a){return hl(void 0,a)};A("ee.data.getTaskList",il);
|
|
var hl=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);N("/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(O)return b?(jl(a,function(h,m){return b(h?{tasks:h.map(Nj)}:null,m)}),null):{tasks:jl(a).map(Nj)};var e={tasks:[]};if(b)return d(b),null;for(var f="";;){f=c(f);var g=N("/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",hl);var jl=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(Ci(),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(Ci(),d).then(e));return b?null:a?c.slice(0,a):c};Pk.push("listOperations");
|
|
var kl=function(a,b){a=fl(a);var c=new ue;if(1===a.length)b=new J(b),K(b,b.Da().cancel(a[0],c));else{b=new Fi(b);var d=b.Da();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};A("ee.data.cancelOperation",kl);Pk.push("cancelOperation");var ll=function(a,b){var c=fl(a).map(Lj);if(!w(a))return a=new J(b),K(a,a.Da().get(c[0]));a=new Fi(b);var d=a.Da();return a.send(c.map(function(e){return[e,d.get(e)]}))};A("ee.data.getOperation",ll);Pk.push("getOperation");
|
|
var nl=function(a,b){return ml(a,"CANCEL",b)};A("ee.data.cancelTask",nl);var ml=function(a,b,c){if(!Lb(ol,b))throw Error("Invalid action: "+b);a=fl(a);return O?(a=a.map(Lj),kl(a,c),null):N("/updatetask",L({id:a,action:b}),c,"POST")};A("ee.data.updateTask",ml);
|
|
var rl=function(a,b,c){if(O){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(Oj))};switch(d){case "EXPORT_IMAGE":return b=pl(b),b=tk(b),b.m=Qk(b.m,a),c(e.image().Va(Ci(),b));case "EXPORT_FEATURES":return b=xk(b),b.m=Qk(b.m,a),c(e.table().Va(Ci(),b));case "EXPORT_VIDEO":return b=ql(b),b=zk(b),b.m=Qk(b.m,a),c(e.video().Va(Ci(),b));case "EXPORT_TILES":return b=Bk(b),b.m=Qk(b.m,a),c(e.map().Va(Ci(),b));case "EXPORT_VIDEO_MAP":return b=
|
|
Ck(b),b.m=Qk(b.m,a),c((new eg(e.W)).Va(Ci(),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 N("/processingrequest",L(b),c)};A("ee.data.startProcessing",rl);
|
|
var tl=function(a,b,c){if(O){b=Sj(b);var d=function(e){return e?Oj(e):null};return d(sl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,request:sh(b)};return N("/ingestionrequest",L(a),c)};A("ee.data.startIngestion",tl);
|
|
var sl=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"](Ci(),b))},ul=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"](Ci(),b))},vl=function(a,b,c){if(O){b=Tj(b);var d=function(e){return e?Oj(e):null};return d(ul(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,tableRequest:sh(b)};return N("/ingestionrequest",L(a),c)};A("ee.data.startTableIngestion",vl);
|
|
var wl=function(a,b){return O?(b=new J(b),a=zj(a),K(b,b.P().get(a,{prettyPrint:!1}).then(Aj))):N("/info",(new oi).add("id",a),b)};A("ee.data.getAsset",wl);Pk.push("getAsset");A("ee.data.getInfo",wl);var xl=function(a,b){if(O){var c=zj(a.id);if(Object.keys(a).every(function(d){return"id"===d||"num"===d}))return b=new J(b),K(b,b.P().Dc(c,{pageSize:a.num}).then(Bj));a=Ij(a);b=new J(b);return K(b,Uf(b.P(),c,a).then(Dj))}c=L(a);return N("/list",c,b)};A("ee.data.getList",xl);
|
|
var yl=function(a,b,c){b=void 0===b?{}:b;c=new J(c);return K(c,c.P().Dc(a,b))};A("ee.data.listAssets",yl);Pk.push("listAssets");var zl=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",zl);Pk.push("listImages");var Al=function(a,b){b=new J(b);return K(b,(new Sf(b.W)).Dc(a||Ci()))};A("ee.data.listBuckets",Al);Pk.push("listBuckets");var Bl=function(a){return O?(a=new J(a),K(a,(new Sf(a.W)).Dc(Ci()).then(Bj))):N("/buckets",null,a,"GET")};
|
|
A("ee.data.getAssetRoots",Bl);var Cl=function(a,b){if(O){var c=yj(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(Aj))}else c=L({id:a}),N("/createbucket",c,b)};A("ee.data.createAssetHome",Cl);
|
|
var Dl=function(a,b,c,d,e){if(O){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&zj(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);c=c.slice(f+8);a.id=null;a.name=null;d&&!a.properties&&(a.properties=d);a:switch(d=a.type,d){case "ImageCollection":d="IMAGE_COLLECTION";break a;
|
|
case "Folder":d="FOLDER"}a.type=d;e=new J(e);return K(e,e.P().create(b,a,{assetId:c}).then(Aj))}"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 N("/create",L(a),e)};A("ee.data.createAsset",Dl);var El=function(a,b,c){return O?(b=yj(a),a=new He({name:zj(a),type:"Folder"}),c=new J(c),K(c,c.P().create(b,a).then(Aj))):N("/createfolder",L({id:a,force:b||!1}),c)};A("ee.data.createFolder",El);
|
|
var Fl=function(a,b,c){O?(a=zj(a),b=new Ff({qb:zj(b)}),c=new J(c),K(c,c.P().move(a,b).then(Aj))):N("/rename",L({sourceId:a,destinationId:b}),c)};A("ee.data.renameAsset",Fl);
|
|
var Gl=function(a,b,c,d){if(O){a=zj(a);c=new Be({qb:zj(b),overwrite:null!=c?c:null});d=new J(d);b=Aj;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),N("/copy",L(a),d)};A("ee.data.copyAsset",Gl);var Hl=function(a,b){O?(b=new J(b),K(b,b.P()["delete"](zj(a)))):N("/delete",L({id:a}),b)};A("ee.data.deleteAsset",Hl);
|
|
var Il=function(a,b){if(O){a=zj(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,E=void 0===f.quotaUser?void 0:f.quotaUser,M=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:E,uploadType:M,upload_protocol:f},
|
|
G:If});return K(b,a.then(Jj))}return N("/getacl",L({id:a}),b,"GET")};A("ee.data.getAssetAcl",Il);
|
|
var Jl=function(a,b,c,d){b=new Pf({Pd:b,gc:(c||[]).join(",")});d=new J(d);c=Aj;var e=d.P();a=zj(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",Jl);
|
|
var Kl=function(a,b,c){if(O){a=zj(a);b=Kj(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,E=void 0===f.quotaUser?void 0:f.quotaUser,M=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:E,uploadType:M,
|
|
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)},N("/setacl",L(a),c)};A("ee.data.setAssetAcl",Kl);
|
|
var Ll=function(a,b,c){if(O){var d=Gj(b);b=d.f().keys.filter(function(e){return"properties"!==e&&G(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(f,g){return"_"+g.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return"properties."+e}));Jl(a,d,b,c)}else a={id:a,properties:sh(b)},N("/setproperties",L(a),c)};A("ee.data.setAssetProperties",Ll);
|
|
var Ml=function(a,b){if(O){var c=zj(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 N("/quota",L({id:a}),b,"GET")};A("ee.data.getAssetRootQuota",Ml);var ol={si:"CANCEL",yi:"UPDATE"};var P=function(a,b,c){if(!(this instanceof P))return Nl(P,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(P,ej);A("ee.ComputedObject",P);P.prototype.evaluate=function(a){if(!a||!Fa(a))throw Error("evaluate() requires a callback function.");Wk(this,a)};P.prototype.evaluate=P.prototype.evaluate;
|
|
P.prototype.V=function(a){return Wk(this,a)};P.prototype.getInfo=P.prototype.V;P.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};
|
|
P.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({mc:this.S})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=gj(a(this.args[c])));return"string"===typeof this.C?jj(String(this.C),b):this.C.he(a,b)};P.prototype.X=function(){return ck(this)};P.prototype.serialize=P.prototype.X;P.prototype.toString=function(){return"ee."+this.name()+"("+ek(this)+")"};
|
|
A("ee.ComputedObject.prototype.toString",P.prototype.toString);P.prototype.name=function(){return"ComputedObject"};P.prototype.wf=function(a,b){var c=mb(arguments);c[0]=this;a.apply(t,c);return this};P.prototype.aside=P.prototype.wf;var Ol=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},Nl=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var Pl={},Ql=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}},Rl=function(a){return"number"===typeof a||a instanceof P&&"Number"==a.name()},Sl=function(a){return"string"===typeof a||a instanceof P&&"String"==a.name()},Tl=function(a){return x(a)&&
|
|
!Fa(a)?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},Ul=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&Tl(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var Vl=function(){if(!(this instanceof Vl))return new Vl};B(Vl,ej);A("ee.Function",Vl);var Wl=Vb;Vl.prototype.call=function(a){return this.apply(Xl(this,Array.prototype.slice.call(arguments,0)))};Vl.prototype.call=Vl.prototype.call;Vl.prototype.apply=function(a){a=new P(this,Yl(this,a));return Wl(a,this.Z().returns)};Vl.prototype.apply=Vl.prototype.apply;
|
|
var Zl=function(a,b,c){var d=void 0!==b,e=a.Z();if(Ul(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=Xl(a,d?[b].concat(c):c);return a.apply(c)},Yl=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]=Wl(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},Xl=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};
|
|
Vl.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("")};Vl.prototype.X=function(){return ck(this)};var Q=function(a,b){if(void 0===b)return $l(a);if(!(this instanceof Q))return Nl(Q,arguments);this.Pa=Rb(b);this.Pa.name=a};B(Q,Vl);A("ee.ApiFunction",Q);var R=function(a,b){return Vl.prototype.call.apply($l(a),Array.prototype.slice.call(arguments,1))};A("ee.ApiFunction._call",R);var am=function(a,b){return $l(a).apply(b)};A("ee.ApiFunction._apply",am);Q.prototype.encode=function(){return this.Pa.name};Q.prototype.he=function(a,b){return jj(this.Pa.name,b)};Q.prototype.Z=function(){return this.Pa};
|
|
var bm=null,cm={},em=function(){dm();return Hb(bm,function(a){return a.Z()})},fm=function(){dm();return Gb(bm,function(a,b){return!cm[b]})},$l=function(a){var b=gm(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};A("ee.ApiFunction.lookup",$l);
|
|
var gm=function(a){dm();return bm[a]||null},dm=function(a,b){if(bm)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(bm=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 Q(g,f)}),a&&a())};a?Rk(c):c(Rk())}},hm=function(a,b,c,d){dm();var e=d||"";Fb(bm,function(f,g){var h=g.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var m=f.Z();cm[g]=!0;var p=!1;m.args.length&&(g=m.args[0].type,p="Object"!=g&&Ql(g,c));
|
|
g=p?a.prototype:a;h in g&&!g[h].signature||(g[h]=function(q){return Zl(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[h].toString=y(f.toString,f,h,p),g[h].signature=m)}})},im=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=jm(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 P);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},jm=function(a){var b=km,c=[];t.EXPORTED_FN_INFO?(a=t.EXPORTED_FN_INFO[a.toString()],x(a)||lm(),c=a.paramNames,w(c)||lm()):(a=a.toString().replace(mm,"").match(b),null===a&&lm(),c=(a[1].split(",")||[]).map(function(d){return d.replace(nm,
|
|
"")}));return c},lm=function(){throw Error("Failed to locate function parameters.");},mm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,km=/^function[^\(]*\(([^\)]*)\)/m,nm=/=.*$/;var T=function(a,b,c){P.call(this,a,b,c);om()};B(T,P);A("ee.Element",T);var pm=!1,om=function(){pm||(hm(T,"Element","Element"),pm=!0)};T.prototype.name=function(){return"Element"};
|
|
T.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=Tl(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(Tl(c)){b=this;for(var g in c)d=c[g],b=R("Element.set",b,g,d)}else if(c instanceof P&&gm("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 Ol(this,b)};T.prototype.set=T.prototype.set;var U=function(a,b,c,d){if(!(this instanceof U))return Nl(U,arguments);if(!("type"in a)){var e=S(U,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}qm();e=null!=b||null!=c||null!=d;if(a instanceof P&&!(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().");P.call(this,a.C,a.args,a.S)}else{a instanceof U&&(a=a.encode());if(!rm(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));P.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.Eb=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.Eb=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.Sb=d;void 0===this.Sb&&"evenOdd"in a&&(this.Sb=!!a.evenOdd)}};B(U,P);A("ee.Geometry",U);
|
|
var sm=!1,qm=function(){sm||(hm(U,"Geometry","Geometry"),sm=!0)},tm=function(a,b){if(!(this instanceof tm))return um(tm,arguments);var c=vm(tm,"Point",1,arguments);if(!(c instanceof P)){var d=c.coordinates;if(!w(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}U.call(this,c)};B(tm,U);U.Point=tm;var wm=function(a,b){if(!(this instanceof wm))return um(wm,arguments);U.call(this,vm(wm,"MultiPoint",2,arguments))};B(wm,U);U.MultiPoint=wm;
|
|
var xm=function(a,b,c,d){if(!(this instanceof xm))return um(xm,arguments);var e=vm(xm,"Rectangle",2,arguments);if(!(e instanceof P)){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(xm,U);U.Rectangle=xm;
|
|
var ym=function(a,b,c,d){if(!(this instanceof ym))return um(ym,arguments);U.call(this,vm(ym,"LineString",2,arguments))};B(ym,U);U.LineString=ym;var zm=function(a,b,c,d){if(!(this instanceof zm))return um(zm,arguments);U.call(this,vm(zm,"LinearRing",2,arguments))};B(zm,U);U.LinearRing=zm;var Am=function(a,b,c,d){if(!(this instanceof Am))return um(Am,arguments);U.call(this,vm(Am,"MultiLineString",3,arguments))};B(Am,U);U.MultiLineString=Am;
|
|
var Bm=function(a,b,c,d,e){if(!(this instanceof Bm))return um(Bm,arguments);U.call(this,vm(Bm,"Polygon",3,arguments))};B(Bm,U);U.Polygon=Bm;var Cm=function(a,b,c,d,e){if(!(this instanceof Cm))return um(Cm,arguments);U.call(this,vm(Cm,"MultiPolygon",4,arguments))};B(Cm,U);U.MultiPolygon=Cm;
|
|
U.prototype.encode=function(a){if(!this.$a){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return P.prototype.encode.call(this,a)}a={type:this.$a};"GeometryCollection"==this.$a?a.geometries=this.lg:a.coordinates=this.Pf;null!=this.Eb&&(a.crs={type:"name",properties:{name:this.Eb}});null!=this.Ub&&(a.geodesic=this.Ub);null!=this.Sb&&(a.evenOdd=this.Sb);return a};
|
|
U.prototype.Pc=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.Pc;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.Pc())};U.prototype.toGeoJSONString=U.prototype.sf;U.prototype.X=function(){return ck(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 P.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.Eb&&(b.crs="string"===typeof this.Eb?(new Q("Projection")).call(this.Eb):this.Eb);var d="Point"!==this.$a&&"MultiPoint"!==this.$a;
|
|
null!=this.Ub&&d&&(b.geodesic=this.Ub);null!=this.Sb&&(b.evenOdd=this.Sb);return(new Q(c)).apply(b).qa(a)};
|
|
var rm=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(!rm(b[a]))return!1;return!0}a=a.coordinates;var c=Dm(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)},Dm=function(a){if(!w(a))return-1;if(w(a[0])){for(var b=Dm(a[0]),c=1;c<a.length;c++)if(Dm(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},vm=function(a,b,c,d){db(d,Rl)?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(Em(a.coordinates)||null!=a.crs||null!=a.maxError)return(new Q("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(Dm(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},Em=function(a){return w(a)?cb(a,Em):a instanceof P},um=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 Nl(V,arguments);if(a instanceof V)return a;Fm();if(w(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new V(a[0]);P.call(this,new Q("Filter.and"),{filters:a})}else if(a instanceof P)P.call(this,a.C,a.args,a.S);else if(void 0===a)P.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};B(V,P);A("ee.Filter",V);
|
|
var Gm=!1,Fm=function(){Gm||(hm(V,"Filter","Filter"),Gm=!0)},Hm={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 Im=function(a,b){var c=S(Im,arguments);return R("Filter.equals",c.name,c.value)};V.eq=Im;var Jm=function(a,b){var c=S(Jm,arguments);return Im(c.name,c.value).Wb()};V.neq=Jm;
|
|
var Km=function(a,b){var c=S(Km,arguments);return R("Filter.lessThan",c.name,c.value)};V.lt=Km;var Lm=function(a,b){var c=S(Lm,arguments);return Km(c.name,c.value).Wb()};V.gte=Lm;var Mm=function(a,b){var c=S(Mm,arguments);return R("Filter.greaterThan",c.name,c.value)};V.gt=Mm;var Nm=function(a,b){var c=S(Nm,arguments);return Mm(c.name,c.value).Wb()};V.lte=Nm;var Om=function(a){return R("Filter.and",Array.prototype.slice.call(arguments))};V.and=Om;var Pm=function(a){return R("Filter.or",Array.prototype.slice.call(arguments))};
|
|
V.or=Pm;var Qm=function(a,b){var c=S(Qm,arguments);c=R("DateRange",c.start,c.end);return am("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};V.date=Qm;var Rm=function(a,b,c,d){var e=S(Rm,arguments);return am("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};V.inList=Rm;var Sm=function(a,b){return am("Filter.intersects",{leftField:".all",rightValue:R("Feature",a),maxError:b})};V.bounds=Sm;
|
|
V.prototype.name=function(){return"Filter"};var Tm=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in Hm))throw Error("Unknown filtering operator: "+b);a=R("Filter."+Hm[b],a,c);return d?a.Wb():a};V.metadata=Tm;var W=function(a,b,c){T.call(this,a,b,c);Um()};B(W,T);A("ee.Collection",W);var Vm=!1,Um=function(){Vm||(hm(W,"Collection","Collection"),hm(W,"AggregateFeatureCollection","Collection","aggregate_"),Vm=!0)};W.prototype.filter=function(a){a=S(W.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return Ol(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(Tm(d.name,d.operator,d.value))};W.prototype.filterMetadata=W.prototype.me;W.prototype.fg=function(a){return this.filter(Sm(a))};W.prototype.filterBounds=W.prototype.fg;W.prototype.le=function(a,b){var c=S(W.prototype.le,arguments);return this.filter(Qm(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 Ol(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 Ol(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 Ol(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 Wm=function(a,b){if(!(this instanceof Wm))return Nl(Wm,arguments);if(a instanceof Wm){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)");Xm();if(a instanceof U||null===a)T.call(this,new Q("Feature"),{geometry:a,metadata:b||null});else if(a instanceof P)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 Q("Feature"),{geometry:new U(a.geometry),metadata:c})}else T.call(this,new Q("Feature"),{geometry:new U(a),metadata:b||null})};B(Wm,T);A("ee.Feature",Wm);var Ym=!1,Xm=function(){Ym||(hm(Wm,"Feature","Feature"),Ym=!0)};Wm.prototype.V=function(a){return Wm.H.V.call(this,a)};Wm.prototype.getInfo=Wm.prototype.V;
|
|
Wm.prototype.getMap=function(a,b){var c=S(Wm.prototype.getMap,arguments);return R("Collection",[this]).getMap(c.visParams,c.callback)};Wm.prototype.getMap=Wm.prototype.getMap;Wm.prototype.name=function(){return"Feature"};var pl=function(a){var b={},c=Zm(a.element,a);c=$m(c,a,b);b.element=c;return b},ql=function(a){var b={},c=a.element.map(function(d){d=Zm(d,a);return $m(d,a,b)});b.element=c;return b},$m=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 xm)){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 xm(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=am("Image.clipToBoundsAndScale",d));return a},Zm=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=am("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 Q("Projection")).call(c,d),b.region=new xm([0,0,e[0],e[1]],c,!1)))):a=am("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,
|
|
0,0,0,-1,0]});return a},bn=function(a,b){var c={};b=an(b,c);Ob(b)||(b.image=a,a=am("Image.visualize",b));c.image=a;return c},an=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 Nl(X,arguments);if(a instanceof X)return a;cn();var b=arguments.length;if(0==b||1==b&&void 0===a)T.call(this,new Q("Image.mask"),{image:new X(0),mask:new X(0)});else if(1==b)if(Rl(a))T.call(this,new Q("Image.constant"),{value:a});else if(Sl(a))T.call(this,new Q("Image.load"),{id:a});else{if(w(a))return dn(bb(a,function(d){return new X(d)}));if(a instanceof P)"Array"==a.name()?T.call(this,new Q("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(Sl(b)&&Rl(c))T.call(this,new Q("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 en=!1,cn=function(){en||(hm(X,"Image","Image"),hm(X,"Window","Image","focal_"),en=!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=bn(this,d.visParams);if(d.callback){var f=d.callback;Tk(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=Tk(e),d.image=this,d};X.prototype.getMap=X.prototype.getMap;
|
|
X.prototype.wb=function(a,b){var c=S(X.prototype.wb,arguments),d=c.params?Qb(c.params):{};d.image=this.X();if(c.callback){var e=c.callback;al(d,function(f,g){f?e(bl(f)):e(null,g)})}else return bl(al(d))};X.prototype.getDownloadURL=X.prototype.wb;
|
|
X.prototype.se=function(a,b){var c=S(X.prototype.se,arguments);if(O){var d={};var e=$m(this,c.params,d);d=bn(e,d)}else if(d=bn(this,c.params),d.region)if(d.region instanceof U&&(d.region=d.region.Pc()),w(d.region)||Tl(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)Xk(d,function(f,g){var h="";if(void 0===g)try{h=$k(f)}catch(m){g=String(m.message)}c.callback(h,g)});else return $k(Xk(d))};
|
|
X.prototype.getThumbURL=X.prototype.se;var fn=function(a,b,c){var d=S(fn,arguments);return dn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};X.rgb=fn;var gn=function(a){return dn(Array.prototype.slice.call(arguments),null)};X.cat=gn;var dn=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||Sl(b[0])||Rl(b[0])){for(var d=0;d<b.length;d++)if(!(Sl(b[d])||Rl(b[d])||b[d]instanceof P))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return am("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 Vl;c.encode=function(m){return h.encode(m)};c.he=function(m,p){return kj(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.Yg=function(a){var b=1!=arguments.length||Sl(arguments[0])?mb(arguments):arguments[0];return R("Image.rename",this,b)};X.prototype.rename=X.prototype.Yg;X.prototype.name=function(){return"Image"};var hn=function(a){if(this instanceof hn){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof hn)return a}else return Nl(hn,arguments);jn();if(w(a))P.call(this,null,null),this.Ec=a;else if(a instanceof P)P.call(this,a.C,a.args,a.S),this.Ec=null;else throw Error("Invalid argument specified for ee.List(): "+a);};B(hn,P);A("ee.List",hn);var kn=!1,jn=function(){kn||(hm(hn,"List","List"),kn=!0)};
|
|
hn.prototype.encode=function(a){return w(this.Ec)?bb(this.Ec,function(b){return a(b)}):hn.H.encode.call(this,a)};hn.prototype.qa=function(a){return w(this.Ec)?gj(a(this.Ec)):hn.H.qa.call(this,a)};hn.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return Nl(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)");ln();a instanceof U&&(a=new Wm(a));a instanceof Wm&&(a=[a]);if(Sl(a)){var c={tableId:a};b&&(c.geometryColumn=b);W.call(this,new Q("Collection.loadTable"),c)}else if(w(a))W.call(this,new Q("Collection"),{features:bb(a,function(d){return new Wm(d)})});else if(a instanceof hn)W.call(this,
|
|
new Q("Collection"),{features:a});else if(a instanceof P)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 mn=!1,ln=function(){mn||(hm(Y,"FeatureCollection","FeatureCollection"),mn=!0)};Y.prototype.getMap=function(a,b){var c=S(Y.prototype.getMap,arguments),d=am("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.wb=function(a,b,c,d){var e=S(Y.prototype.wb,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)cl(f,function(h,m){h?e.callback(dl(h)):e.callback(null,m)});else return dl(cl(f))};Y.prototype.getDownloadURL=Y.prototype.wb;
|
|
Y.prototype.select=function(a,b,c){if(Sl(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 Wm};var Z=function(a){if(!(this instanceof Z))return Nl(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");nn();a instanceof X&&(a=[a]);if(Sl(a))W.call(this,new Q("ImageCollection.load"),{id:a});else if(w(a))W.call(this,new Q("ImageCollection.fromImages"),{images:bb(a,function(b){return new X(b)})});else if(a instanceof hn)W.call(this,new Q("ImageCollection.fromImages"),{images:a});else if(a instanceof
|
|
P)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 on=!1,nn=function(){on||(hm(Z,"ImageCollection","ImageCollection"),hm(Z,"reduce","ImageCollection"),on=!0)};Z.prototype.qe=function(a,b){var c=S(Z.prototype.qe,arguments);return pn(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 pn(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.te;
|
|
var pn=function(a,b,c,d){var e={};a=a.map(function(h){h=Zm(h,b.params);return $m(h,b.params,e)});var f={},g=an(e,f);f.imageCollection=a.map(function(h){g.image=h;return am("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=Xk;if(O)switch(d){case "video":c=Yk;break;case "filmstrip":c=Zk}if(b.callback)c(f,function(h,m){var p=
|
|
"";if(void 0===m)try{p=$k(h)}catch(q){m=String(q.message)}b.callback(p,m)});else return $k(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 qn=function(a){this.Zd=a;this.id=null},sn=function(a){var b={element:rn(a)};Object.assign(b,a);b=Gb(b,Ca);return new qn(b)};qn.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);rl(c.id,c.Zd,function(e,f){f?b(f):a()})};this.id?d():el(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||el(1)[0],Va(this.id,"Failed to obtain task ID."),rl(this.id,this.Zd)};
|
|
qn.prototype.start=qn.prototype.start;var tn=function(a,b,c,d,e,f,g,h,m,p){var q=S(tn,arguments);q=un(q,"ASSET","EXPORT_IMAGE");return sn(q)};A("ee.batch.Export.image.toAsset",tn);var vn=function(a,b,c,d,e,f,g,h,m,p,q,v,z,E,M){var ba=S(vn,arguments);ba=un(ba,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return sn(ba)};A("ee.batch.Export.image.toCloudStorage",vn);var wn=function(a,b,c,d,e,f,g,h,m,p,q,v,z,E,M){var ba=S(wn,arguments);ba=un(ba,"DRIVE","EXPORT_IMAGE");return sn(ba)};
|
|
A("ee.batch.Export.image.toDrive",wn);var xn=function(a,b,c,d,e,f,g,h,m,p,q,v){var z=S(xn,arguments);z=un(z,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return sn(z)};A("ee.batch.Export.map.toCloudStorage",xn);var yn=function(a,b,c,d,e,f){var g=S(yn,arguments);g=un(g,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return sn(g)};A("ee.batch.Export.table.toCloudStorage",yn);var zn=function(a,b,c,d,e,f){var g=S(zn,arguments);g.type="EXPORT_FEATURES";g=un(g,"DRIVE","EXPORT_FEATURES");return sn(g)};
|
|
A("ee.batch.Export.table.toDrive",zn);var An=function(a,b,c){var d=S(An,arguments);d=un(d,"ASSET","EXPORT_FEATURES");return sn(d)};A("ee.batch.Export.table.toAsset",An);var Bn=function(a,b,c,d,e,f,g,h,m,p,q,v){var z=S(Bn,arguments);z=un(z,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return sn(z)};A("ee.batch.Export.video.toCloudStorage",Bn);var Cn=function(a,b,c,d,e,f,g,h,m,p,q,v){var z=S(Cn,arguments);z=un(z,"DRIVE","EXPORT_VIDEO");return sn(z)};A("ee.batch.Export.video.toDrive",Cn);
|
|
var Dn=function(a,b,c,d,e,f,g,h,m,p,q,v,z,E,M,ba,tj,uj,vj,wj){var ci=S(Dn,arguments);ci=un(ci,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return sn(ci)};A("ee.batch.Export.videoMap.toCloudStorage",Dn);
|
|
var rn=function(a){var b=function(d){return d in a},c=En.find(b);C(1===eb(En,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},un=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=Fn(e,a),delete e.formatOptions,Object.assign(e,a));e=Gn(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_TILES":e=
|
|
b=Gn(e,b);break;case "EXPORT_FEATURES":w(e.selectors)&&(e.selectors=e.selectors.join());e=Gn(e,b);break;case "EXPORT_VIDEO":e=Hn(e);e=Gn(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=Hn(e);e.version=e.version||"V2";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||1068,height:e.tileHeight||600};e=Gn(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.Pc();
|
|
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 ym(b)}catch(f){try{new Bm(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},Gn=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},
|
|
In={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},Jn={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},Hn=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;a.fileFormat="MP4";return a},Fn=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=Jn[b];for(var d=In[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},En=["image","collection"];var Kn=function(a){if(!(this instanceof Kn))return Nl(Kn,arguments);if(a instanceof Kn)return a;Ln();if("number"===typeof a)P.call(this,null,null),this.Gc=a;else if(a instanceof P)P.call(this,a.C,a.args,a.S),this.Gc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};B(Kn,P);A("ee.Number",Kn);var Mn=!1,Ln=function(){Mn||(hm(Kn,"Number","Number"),Mn=!0)};Kn.prototype.encode=function(a){return"number"===typeof this.Gc?this.Gc:Kn.H.encode.call(this,a)};
|
|
Kn.prototype.qa=function(a){return"number"===typeof this.Gc?gj(a(this.Gc)):Kn.H.qa.call(this,a)};Kn.prototype.name=function(){return"Number"};var Nn=function(a){if(!(this instanceof Nn))return Nl(Nn,arguments);if(a instanceof Nn)return a;On();if("string"===typeof a)P.call(this,null,null),this.Nc=a;else if(a instanceof P)this.Nc=null,a.C&&"String"==a.C.Z().returns?P.call(this,a.C,a.args,a.S):P.call(this,new Q("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};B(Nn,P);A("ee.String",Nn);var Pn=!1,On=function(){Pn||(hm(Nn,"String","String"),Pn=!0)};
|
|
Nn.prototype.encode=function(a){return"string"===typeof this.Nc?this.Nc:Nn.H.encode.call(this,a)};Nn.prototype.qa=function(a){return"string"===typeof this.Nc?gj(a(this.Nc)):Nn.H.qa.call(this,a)};Nn.prototype.name=function(){return"String"};var Qn=function(a,b){if(!(this instanceof Qn))return Nl(Qn,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(Rn(g in Pl?Pl[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Pa=Sn(a,c,b);this.Gf=b.apply(null,c)};B(Qn,Vl);A("ee.CustomFunction",Qn);Qn.prototype.encode=function(a){return{type:"Function",argumentNames:bb(this.Pa.args,function(b){return b.name}),body:a(this.Gf)}};
|
|
Qn.prototype.qa=function(a){return lj(this.Pa.args.map(function(b){return b.name}),a(this.Gf))};Qn.prototype.he=function(a,b){return kj(a(this),b)};Qn.prototype.Z=function(){return this.Pa};
|
|
var Rn=function(a,b){a=a||Object;if(!(a.prototype instanceof P))if(a&&a!=Object)if(a==String)a=Nn;else if(a==Number)a=Kn;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=P;var c=function(d){this.args=this.C=null;this.S=d};c.prototype=a.prototype;return new c(b)},Tn=function(a,b){b={name:"",returns:"Object",args:bb(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof P?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new Qn(b,a)},Sn=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=bk(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 Un=function(a,b){if(!(this instanceof Un))return Nl(Un,arguments);if(a instanceof Un)return a;Vn();var c=S(Un,arguments);a=c.date;c=c.tz;var d=new Q("Date"),e={},f=null;if(Sl(a)){if(e.value=a,c)if(Sl(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(Rl(a))e.value=a;else if(Ea(a))e.value=Math.floor(a.getTime());else if(a instanceof P)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);P.call(this,d,e,f)};B(Un,P);A("ee.Date",Un);var Wn=!1,Vn=function(){Wn||(hm(Un,"Date","Date"),Wn=!0)};Un.prototype.name=function(){return"Date"};A("ee.Deserializer",function(){});var Yn=function(a){return Xn(JSON.parse(a))};A("ee.Deserializer.fromJSON",Yn);var Xn=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]=Zn(f,b)}a=a.value}return Zn(a,b)};A("ee.Deserializer.decode",Xn);
|
|
var Zn=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 Zn(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 Rn(Object,c);case "Date":c=a.value;if("number"!==typeof c)throw Error("Invalid date value: "+
|
|
c);return new Un(c/1E3);case "Bytes":return c=new ej,c.encode=function(){return a},c;case "Invocation":c="functionName"in a?$l(a.functionName):Zn(a["function"],b);var d=Hb(a.arguments,function(f){return Zn(f,b)});if(c instanceof Vl)return c.apply(d);if(c instanceof P)return new P(c,d);throw Error("Invalid function value: "+a["function"]);case "Dictionary":return Hb(a.value,function(f){return Zn(f,b)});case "Function":var e=Zn(a.body,b);c={name:"",args:bb(a.argumentNames,function(f){return{name:f,
|
|
type:"Object",optional:!1}}),returns:"Object"};return new Qn(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 $n=function(a){if(!(this instanceof $n))return Nl($n,arguments);if(a instanceof $n)return a;ao();Tl(a)?(P.call(this,null,null),this.tc=a):(a instanceof P&&a.C&&"Dictionary"==a.C.Z().returns?P.call(this,a.C,a.args,a.S):P.call(this,new Q("Dictionary"),{input:a},null),this.tc=null)};B($n,P);A("ee.Dictionary",$n);var bo=!1,ao=function(){bo||(hm($n,"Dictionary","Dictionary"),bo=!0)};$n.prototype.encode=function(a){return null!==this.tc?a(this.tc):$n.H.encode.call(this,a)};
|
|
$n.prototype.qa=function(a){return null!==this.tc?gj(a(this.tc)):$n.H.qa.call(this,a)};$n.prototype.name=function(){return"Dictionary"};var co={};A("ee.Terrain",co);co.ye=!1;co.Sh=function(){co.ye||(hm(co,"Terrain","Terrain"),co.ye=!0)};co.reset=function(){im(co);co.ye=!1};var jo=function(a,b,c,d,e){if("ready"!=eo||a||b){var f=null!=c;if(d)if(f)fo.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==eo&&f)go.push(c);else if(eo="loading",Ai(a,b,e),f)go.push(c),dm(ho,io);else try{dm(),ho()}catch(g){throw io(g),g;}}else c&&c()};A("ee.initialize",jo);
|
|
var mo=function(){eo="not_ready";Ui=Ti=Ii=null;Si=!1;bm=null;cm={};im(Un);Wn=!1;im($n);bo=!1;im(T);pm=!1;im(X);en=!1;im(Wm);Ym=!1;im(W);Vm=!1;im(Z);on=!1;im(Y);mn=!1;im(V);Gm=!1;im(U);sm=!1;im(hn);kn=!1;im(Kn);Mn=!1;im(Nn);Pn=!1;co.reset();for(var a=t.ee,b=0;b<ko.length;b++){var c=ko[b];im(a[c]);delete a[c]}ko=[];Pl=a;a=lo;for(var d in a)delete a[d]};A("ee.reset",mo);var no={ui:"not_ready",LOADING:"loading",wi:"ready"};A("ee.InitState",no);A("ee.InitState.NOT_READY","not_ready");
|
|
A("ee.InitState.LOADING","loading");A("ee.InitState.READY","ready");var eo="not_ready",go=[],fo=[];A("ee.TILE_SIZE",256);var ko=[],lo={};A("ee.Algorithms",lo);var oo=function(a,b){"string"===typeof a&&(a=new Q(a));return Vl.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};A("ee.call",oo);var po=function(a,b){"string"===typeof a&&(a=new Q(a));return a.apply(b)};A("ee.apply",po);
|
|
var ho=function(){if("loading"==eo){try{Vn();ao();om();cn();Xm();Um();nn();ln();Fm();qm();jn();Ln();On();co.Sh();var a=em(),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]=qo(g),ko.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,cm[g]=!0):f[g].signature={});Pl=f;ro()}catch(h){io(h);return}eo="ready";for(fo=[];0<go.length;)go.shift()()}},io=function(a){if("loading"==
|
|
eo)for(eo="not_ready",go=[];0<fo.length;)fo.shift()(a)},ro=function(){var a=fm();Kb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=lo;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 Zl(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=y(c.toString,c);e[b[0]]=f}})},qo=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 Nl(d,e);d=gm(a);var g=!(e[0]instanceof P),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=Ul(e,d.Z())?e[0]:Xl(d,e),P.call(this,d,Yl(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];P.call(this,e.C,e.args,e.S)}};B(b,P);b.prototype.name=function(){return a};hm(b,a,a);return b};
|
|
Wl=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 Wm(a);case "Element":if(a instanceof T)return a;if(a instanceof U)return new Wm(a);if(a instanceof P)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 Q(a);if(Fa(a)){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return Tn(a,c)}if(a instanceof ej)return a;throw Error("Argument is not a function: "+a);case "String":return Sl(a)||a instanceof Nn||a instanceof P?new Nn(a):a;case "Dictionary":return Tl(a)?a:new $n(a);case "List":return new hn(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Kn(a);
|
|
default:if(b in c){d=gm(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 so=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(so,Md);so.prototype.getTile=function(a,b){var c=Nd(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.kb,this.token].join("/");this.mb.push(c);this.kb+=1;var d=Ug("DIV");to(this,b,a,c,d);uo(this);return d};
|
|
var to=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.mb,d),uo(this);else throw this.qf.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},uo=function(a){a.dispatchEvent(new Od(a.mb.length))};so.prototype.F=function(){this.hg=this.ig=null;Md.prototype.F.call(this)};
|
|
A("ee.FloatTileOverlay",so);var vo=function(){this.yd=new Map};vo.prototype.clear=function(){this.yd.clear()};var wo=function(a,b){a.yd.has(b)||a.yd.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.yd.get(b)};var xo=function(a){Ma.call(this);this.yb=a;this.J={}};B(xo,Ma);var yo=[];xo.prototype.Na=function(a,b,c,d){w(b)||(b&&(yo[0]=b.toString()),b=yo);for(var e=0;e<b.length;e++){var f=hd(a,b[e],c||this.handleEvent,d||!1,this.yb||this);if(!f)break;this.J[f.key]=f}return this};xo.prototype.Fc=function(a,b,c,d){return zo(this,a,b,c,d)};var zo=function(a,b,c,d,e,f){if(w(c))for(var g=0;g<c.length;g++)zo(a,b,c[g],d,e,f);else{b=gd(b,c,d||a.handleEvent,e,f||a.yb||a);if(!b)return a;a.J[b.key]=b}return a};
|
|
xo.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.yb||this,c=id(c),d=!!d,b=Xc(a)?a.wc(b,c,d,e):a?(a=kd(a))?a.wc(b,c,d,e):null:null,b&&(pd(b),delete this.J[b.key])};xo.prototype.Lc=function(){Fb(this.J,function(a,b){this.J.hasOwnProperty(b)&&pd(a)},this);this.J={}};xo.prototype.F=function(){xo.H.F.call(this);this.Lc()};
|
|
xo.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Bo=function(a,b){wa(a.name)?(this.name=a.name,this.code=Mb[a.name]):(this.code=a=Ua(a.code),this.name=Ao(a));Pa.call(this,xc("%s %s",this.name,b))};B(Bo,Pa);var Ao=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 Co=function(a,b){Oa.call(this,a.type,b);this.Aa=a};B(Co,Oa);var Do=function(){td.call(this);this.aa=new FileReader;this.aa.onloadstart=y(this.Rb,this);this.aa.onprogress=y(this.Rb,this);this.aa.onload=y(this.Rb,this);this.aa.onabort=y(this.Rb,this);this.aa.onerror=y(this.Rb,this);this.aa.onloadend=y(this.Rb,this)};B(Do,td);k=Do.prototype;k.abort=function(){try{this.aa.abort()}catch(a){throw new Bo(a,"aborting read");}};k.hb=function(){return this.aa.readyState};k.getError=function(){return this.aa.error&&new Bo(this.aa.error,"reading file")};
|
|
k.Rb=function(a){this.dispatchEvent(new Co(a,this))};k.F=function(){Do.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 Eo=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};k=Eo.prototype;k.clone=function(){return new Eo(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 Eo?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 Fo=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};k=Fo.prototype;k.clone=function(){return new Fo(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 Fo(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 Fo(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);h<f&&(b.push(new Fo(this.left,
|
|
h,this.width,f-h)),d=h-c);a.left>this.left&&b.push(new Fo(this.left,c,a.left-this.left,d));g<e&&b.push(new Fo(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 Go=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 Ho=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 vo;this.lb=new Ad;this.kb=0;this.pf=a;this.Wa=new xo(this);this.projection=null;this.radius=0;this.alt=null};B(Ho,td);A("ee.layers.AbstractOverlay",Ho);
|
|
Ho.prototype.Nd=function(a){return hd(this,"tile-load",a)};Ho.prototype.addTileCallback=Ho.prototype.Nd;Ho.prototype.Xe=function(a){pd(a)};Ho.prototype.removeTileCallback=Ho.prototype.Xe;k=Ho.prototype;k.re=function(){return Io(this,"throttled")+Io(this,"loading")+Io(this,"new")};k.setOpacity=function(a){this.opacity=a;this.lb.forEach(function(b){Go(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.kb++].join("-"),this.pf.og()].join("-");b=this.Sf(d,b,c,a);b.tileSize=this.tileSize;Go(b.pa,this.opacity);this.lb.set(a,b);Jo(this,b);this.pf.Dg(b,(new Date).getTime()/1E3);return b.pa};k.releaseTile=function(a){var b=this.lb.get(a.id);this.lb.remove(a.id);b&&(b.abort(),Na(b))};
|
|
var Jo=function(a,b){a.Wa.Na(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.Xh,d=(new Date).getTime();wo(this.xd,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new Ko(this.re()));break;case "throttled":wo(this.xd,b.zoom).throttleCount++;this.dispatchEvent(new Lo(b.Fa));break;case "failed":wo(this.xd,b.zoom).errorCount++,this.dispatchEvent(new Mo(b.Fa,b.Lh))}})};
|
|
Ho.prototype.F=function(){Ho.H.F.call(this);this.lb.forEach(Na);this.lb.clear();this.lb=null;Na(this.Wa);this.pf=this.Wa=null};var Io=function(a,b){return eb(a.lb.T(),function(c){return c.getStatus()==b})},Ko=function(){Oa.call(this,"tile-load")};B(Ko,Oa);var Lo=function(){Oa.call(this,"tile-throttle")};B(Lo,Oa);var Mo=function(a,b){Oa.call(this,"tile-fail");this.errorMessage=b};B(Mo,Oa);
|
|
var No=function(a,b,c,d){td.call(this);this.Qb=a;this.zoom=b;this.pa=c.createElement("div");this.pa.id=d;this.Zh=5;this.td=function(){};this.jf="new";this.ah=0;this.Be=!1};B(No,td);
|
|
var Po=function(a){if(!a.Be&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");Oo(a,"loading");a.Xh=(new Date).getTime();a.Qa=new Th;a.Qa.bc="blob";a.Qa.Na("complete",function(){var b=gi(this.Qa),c=this.Qa.getStatus();429==c&&Oo(this,"throttled");if(Kh(c)){var d={};Fb(hi(this.Qa),function(f,g){d[g.toLowerCase()]=f});this.li=d;this.ih=b;this.vc()}else if(b){var e=new Do;e.Na("loadend",function(){this.Mc(e.aa.result)},void 0,this);
|
|
e.readAsText(b)}else this.Mc("Failed to load tile.")},!1,a);a.Qa.Fc("ready",Ka(Na,a.Qa));a.Fa&&a.Fa.endsWith("&profiling=1")&&O&&(a.Fa=a.Fa.replace("&profiling=1",""),a.Qa.headers.set("X-Earth-Engine-Computation-Profile","1"));a.Qa.send(a.Fa,"GET")};k=No.prototype;k.vc=function(){this.td(this);Oo(this,"loaded")};k.pc=function(){Na(this.Qa)};
|
|
k.Mc=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.ah>=this.Zh?(this.Lh=b(a),Oo(this,"failed")):(this.pc(),setTimeout(y(function(){this.La||(this.Be=!0,Po(this),this.Be=!1)},this),1E3*Math.pow(2,this.ah++)))};k.abort=function(){this.pc();Oo(this,"aborted")};k.getStatus=function(){return this.jf};var Oo=function(a,b){a.jf=b;a.dispatchEvent("status-changed")},Qo={aborted:!0,failed:!0,loaded:!0};
|
|
No.prototype.F=function(){No.H.F.call(this);this.pc();this.pa.remove();this.td=null};var Ro=function(){Ma.call(this)};B(Ro,Ma);var So=function(a,b){Ho.call(this,a,b);this.If=new Ad;this.bg=new Ad};n(So,Ho);So.prototype.Sf=function(a,b,c,d){var e=new To(a,b,c,d);this.Wa.Na(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.If.set(a,new Float32Array(e.Fh)),this.bg.set(a,e.pa))});return e};So.prototype.F=function(){Ho.prototype.F.call(this);this.bg=this.If=null};A("ee.layers.BinaryOverlay",So);var To=function(a,b,c,d){No.call(this,a,b,c,d)};n(To,No);
|
|
To.prototype.vc=function(){var a=new Do;a.Na("loadend",function(){this.Fh=a.aa.result;No.prototype.vc.call(this)},void 0,this);a.readAsArrayBuffer(this.ih)};var Uo=function(a){td.call(this);this.Ac={};this.zc={};this.yb=new xo(this);this.R=a};B(Uo,td);var Vo=[Ec&&!Oc("11")?"readystatechange":"load","abort","error"],Wo=function(a,b,c){(c=u(c)?c:c.src)&&(a.Ac[b]={src:c,Qf:wa(void 0)?void 0:null})},Xo=function(a,b){delete a.Ac[b];var c=a.zc[b];c&&(delete a.zc[b],a.yb.Fd(c,Vo,a.Ng),Ob(a.zc)&&Ob(a.Ac)&&a.dispatchEvent("complete"))};
|
|
Uo.prototype.start=function(){var a=this.Ac;$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)).Jh("IMG")}else d=new Image;c.Qf&&(d.crossOrigin=c.Qf);this.yb.Na(d,Vo,this.Ng);this.zc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
Uo.prototype.Ng=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||Xo(this,b.id)}};Uo.prototype.F=function(){delete this.Ac;delete this.zc;Na(this.yb);Uo.H.F.call(this)};var Yo=function(a,b){Ho.call(this,a,b)};n(Yo,Ho);Yo.prototype.Sf=function(a,b,c,d){return new Zo(a,b,c,d)};A("ee.layers.ImageOverlay",Yo);var Zo=function(a,b,c,d){No.call(this,a,b,c,d);this.td=$o;this.wg=this.da=this.jd=null;this.Hc=""};n(Zo,No);
|
|
Zo.prototype.vc=function(){try{var a=oc(this.ih);this.Hc=mc(a).toString();var b="about:invalid#zClosurez"!==this.Hc?this.Hc:this.Fa}catch(c){b=this.Fa}this.da=new Uo;Wo(this.da,this.pa.id+"-image",b);this.wg=gd(this.da,ap,function(c){"load"==c.type?(this.jd=c.target,No.prototype.vc.call(this)):this.Mc()},void 0,this);this.da.start()};Zo.prototype.pc=function(){No.prototype.pc.call(this);this.da&&(pd(this.wg),Na(this.da))};Zo.prototype.F=function(){No.prototype.F.call(this);this.Hc&&URL.revokeObjectURL(this.Hc)};
|
|
var $o=function(a){a.pa.appendChild(a.jd)},ap=["load","abort","error"];var bp=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 cp=function(a,b,c,d){Ma.call(this);this.Hf=a;this.Ya=b;this.mf=d||"";this.od=c};B(cp,Ro);A("ee.layers.CloudStorageTileSource",cp);
|
|
cp.prototype.Dg=function(a){if(a.zoom<=this.od)a.Fa=this.ed(a.Qb,a.zoom);else{var b=a.zoom-this.od,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.Qb.x/c),Math.floor(a.Qb.y/c));a.Fa=this.ed(c,a.zoom-b);a.td=Ka(dp,this.od)}var d=y(a.Mc,a);a.Mc=y(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?Oo(a,"loaded"):d(e)},a);Po(a)};cp.prototype.og=function(){return[this.Hf,this.Ya,this.od,this.mf].join("-")};
|
|
cp.prototype.ed=function(a,b){a=bp("https://storage.googleapis.com",this.Hf,this.Ya,String(b),String(a.x),String(a.y));this.mf&&(a+=this.mf);return a};
|
|
var dp=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.Qb.x%a),c/a*(b.Qb.y%a),c/a,c/a,0,0,c,c)};var ep=function(){this.Ba=[];this.Ja=[]};k=ep.prototype;k.enqueue=function(a){this.Ja.push(a)};k.sc=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 fp=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 ep;this.ib=new Jd;this.delay=0;this.Ce=null;this.Uc()};B(fp,Ma);fp.prototype.xc=function(){var a=La();if(!(null!=this.Ce&&a-this.Ce<this.delay)){for(var b;0<this.Ma.N()&&(b=this.Ma.sc(),!this.Ke(b));)this.Uc();!b&&this.N()<this.nd&&(b=this.$d());b&&(this.Ce=a,this.ib.add(b));return b}};
|
|
var gp=function(a,b){return a.ib.remove(b)?(a.Md(b),!0):!1};k=fp.prototype;k.Md=function(a){this.ib.remove(a);this.Ke(a)&&this.N()<this.nd?this.Ma.enqueue(a):this.$c(a)};k.Uc=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.sc())};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.Hh?a.Hh():!0};
|
|
k.contains=function(a){return this.Ma.contains(a)||this.ib.contains(a)};k.N=function(){return this.Ma.N()+this.ib.N()};k.isEmpty=function(){return this.Ma.isEmpty()&&this.ib.isEmpty()};k.F=function(){fp.H.F.call(this);if(0<this.ib.N())throw Error("[goog.structs.Pool] Objects not released");delete this.ib;for(var a=this.Ma;!a.isEmpty();)this.$c(a.sc());delete this.Ma};var hp=function(a,b){this.Bg=a;this.Id=b};hp.prototype.getKey=function(){return this.Bg};hp.prototype.clone=function(){return new hp(this.Bg,this.Id)};var ip=function(a){this.wa=[];if(a)a:{if(a instanceof ip){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 hp(b[d],a[d]));break a}}else b=Kb(a),a=Jb(a);for(d=0;d<b.length;d++)jp(this,b[d],a[d])}},jp=function(a,b,c){var d=a.wa;d.push(new hp(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=ip.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.qc=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 ip(this)};k.N=function(){return this.wa.length};k.isEmpty=function(){return 0==this.wa.length};k.clear=function(){ib(this.wa)};var kp=function(){ip.call(this)};B(kp,ip);kp.prototype.enqueue=function(a,b){jp(this,a,b)};kp.prototype.sc=function(){return this.remove()};var lp=function(a,b){this.Zf=void 0;this.vd=new kp;fp.call(this,a,b)};B(lp,fp);k=lp.prototype;k.xc=function(a,b){if(!a)return(a=lp.H.xc.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.xc();if(b)a.sc().apply(this,[b]);else break}};k.Md=function(a){lp.H.Md.call(this,a);this.gd()};k.Uc=function(){lp.H.Uc.call(this);this.gd()};
|
|
k.F=function(){lp.H.F.call(this);t.clearTimeout(this.Zf);this.vd.clear();this.vd=null};var mp=function(a,b){Ma.call(this);this.De=a;this.sa=b||null};B(mp,Ro);A("ee.layers.EarthEngineTileSource",mp);mp.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.Ch(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.Qb,a.zoom);var d=y(this.ue,this,a);np().xc(d,b)};
|
|
mp.prototype.og=function(){return this.De.mapid+"-"+this.De.token};mp.prototype.ue=function(a,b){var c=np();if(a.La||"aborted"==a.getStatus())gp(c,b);else{var d=hd(a,"status-changed",function(){a.jf in Qo&&(pd(d),gp(c,b))});Po(a)}};mp.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 np=function(){op||(op=new lp(0,4));return op},op=null;var qp=function(){td.call(this);this.Cd=new pp(0,60);this.ac=new Ad};B(qp,td);A("ee.MapTileManager",qp);qp.ze=void 0;qp.ng=function(){return qp.ze?qp.ze:qp.ze=new qp};qp.prototype.send=function(a,b,c,d,e){if(this.ac.get(a))throw Error("[ee.MapTileManager] ID in use");b=new rp(a,b,d,y(this.Xg,this),void 0!==e?e:1);this.ac.set(a,b);a=y(this.ue,this,b);this.Cd.xc(a,c);return b};qp.prototype.abort=function(a){if(a=this.ac.get(a))a.Ob||(a.Ob=!0,a.Aa=new Oa("abort")),this.Xg(a)};
|
|
qp.prototype.ue=function(a,b){if(a.da||a.Ob)sp(this,b);else if(a.qh=b,b.setActive(!0),b=new Uo,a.da=b,!tp(a))throw Error("Cannot dispatch first request!");};qp.prototype.Xg=function(a){this.ac.remove(a.getId());a.da&&(sp(this,a.qh),a.da.Ka());a.ve&&a.ve(a.Aa,a.Vg)};var sp=function(a,b){b.setActive(!1);if(!gp(a.Cd,b))throw Error("Object not released");};qp.prototype.F=function(){qp.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 rp=function(a,b,c,d,e){Ma.call(this);this.ca=a;this.ri=b;this.$h=void 0!==e?e:1;this.ve=c;this.Gb=d};B(rp,Ma);k=rp.prototype;k.Af=0;k.Ob=!1;k.da=null;k.qh=null;k.Aa=null;k.Vg=null;var up=["load","abort","error"];rp.prototype.getId=function(){return this.ca};rp.prototype.getUrl=function(){return this.ri};rp.prototype.Qh=function(a){if(this.Ob)this.Gb&&this.Gb(this);else switch(a.type){case "load":this.Aa=a;this.Gb&&this.Gb(this);break;case "error":case "abort":tp(this)||(this.Aa=a,this.Gb&&this.Gb(this))}};
|
|
rp.prototype.F=function(){rp.H.F.call(this);delete this.ve;delete this.Gb};var tp=function(a){if(a.Af>a.$h)return!1;a.Af++;Xo(a.da,a.ca);setTimeout(y(a.mi,a),0);return!0};
|
|
rp.prototype.mi=function(){if(!this.Ob){var a=y(function(d){this.Ob||(Wo(this.da,this.ca,d),gd(this.da,up,y(this.Qh,this)),this.da.start())},this),b=this.getUrl();if(vi(b).xa.eb("profiling")){var c=new Th;c.bc="blob";c.Na("complete",y(function(){this.Vg=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=mc(oc(gi(c))).toString();var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.Fc("ready",y(c.Ka,c));c.send(b,"GET")}else a(b)}};
|
|
var vp=function(){Ma.call(this);this.ya=!1};B(vp,Ma);vp.prototype.setActive=function(a){this.ya=a};vp.prototype.zg=function(){return this.ya};var pp=function(a,b){lp.call(this,a,b)};B(pp,lp);pp.prototype.$d=function(){return new vp};pp.prototype.$c=function(a){a.Ka()};pp.prototype.Ke=function(a){return!a.La&&!a.zg()};var wp=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(wp,Md);k=wp.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.kb,this.token].join("/");this.kb+=1;c=Ug("DIV",{id:b});var d=(new Date).getTime()/1E3;this.mb.push(b);qp.ng().send(b,a,d,y(this.Ph,this,c,b));uo(this);return c};k.re=function(){return this.mb.length};
|
|
k.releaseTile=function(a){qp.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.Nb();zd(b,function(c){Go(c,a)})};
|
|
k.Ph=function(a,b,c,d){"error"==c.type?(kb(this.mb,b),this.qf.add(b),this.dispatchEvent(c)):(kb(this.mb,b),c.target&&"load"==c.type&&(c=c.target,this.rf.add(c),1!=this.Le&&Go(c,this.Le),a.appendChild(c)),uo(this));this.sa&&null!==d&&this.sa.Ch(b,d)};A("ee.MapLayerOverlay",wp);wp.prototype.removeTileCallback=wp.prototype.Xe;wp.prototype.addTileCallback=wp.prototype.Nd;wp.prototype.getTile=wp.prototype.getTile;wp.prototype.setOpacity=wp.prototype.setOpacity;wp.prototype.releaseTile=wp.prototype.releaseTile;var xp=function(a,b){if(!(this instanceof xp))return new xp(a,b);this.Ya=a;this.Pa=b};B(xp,Vl);A("ee.SavedFunction",xp);xp.prototype.encode=function(a){return R("LoadAlgorithmById",this.Ya).encode(a)};xp.prototype.Z=function(){return this.Pa};(function(){var a={},b="ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.Collection.prototype.limit ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.evaluate ee.data.getVideoThumbId ee.data.listBuckets ee.data.setAssetProperties ee.data.getOperation ee.data.getThumbId ee.data.getAssetRoots ee.data.getAssetRootQuota ee.data.cancelTask ee.data.createAssetHome ee.data.getFilmstripThumbId ee.data.updateTask ee.data.authenticateViaOauth ee.data.createAsset ee.data.makeThumbUrl ee.data.startProcessing ee.data.authenticate ee.data.getDownloadId ee.data.createFolder ee.data.authenticateViaPopup ee.data.makeTableDownloadUrl ee.data.startIngestion ee.data.getTableDownloadId ee.data.copyAsset ee.data.authenticateViaPrivateKey ee.data.renameAsset ee.data.makeDownloadUrl ee.data.newTaskId ee.data.startTableIngestion ee.data.deleteAsset ee.data.getTaskStatus ee.data.getAsset ee.data.getAssetAcl ee.data.getMapId ee.data.getInfo ee.data.getTileUrl ee.data.getTaskList ee.data.getList ee.data.listImages ee.data.getTaskListWithLimit ee.data.getValue ee.data.listAssets ee.data.setAssetAcl ee.data.updateAsset ee.data.cancelOperation ee.Date ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.initialize ee.Algorithms ee.apply ee.reset ee.TILE_SIZE ee.InitState ee.call ee.Element.prototype.set ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.Filter.prototype.not ee.Filter.eq ee.Filter.lt ee.Filter.and ee.Filter.bounds ee.Filter.neq ee.Filter ee.Filter.gte ee.Filter.metadata ee.Filter.inList ee.Filter.date ee.Filter.lte ee.Filter.or ee.Filter.gt ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.MultiLineString ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Geometry.Polygon ee.Geometry.Rectangle ee.Geometry.prototype.serialize ee.Geometry.LinearRing ee.Geometry ee.Geometry.MultiPolygon ee.Geometry.LineString ee.Image.prototype.getInfo ee.Image.prototype.clip ee.Image ee.Image.prototype.expression ee.Image.prototype.select ee.Image.cat ee.Image.prototype.getMap ee.Image.rgb ee.Image.prototype.getThumbURL ee.Image.prototype.rename ee.Image.prototype.getDownloadURL ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection ee.List ee.Number ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.String ee.Terrain".split(" "),
|
|
c=[["name","var_args"],["name"],["name","namedArgs"],"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),["collection","opt_description","opt_assetId"],"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "),
|
|
"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey".split(" "),
|
|
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels".split(" "),["max","opt_property","opt_ascending"],["geometry"],["name","operator","value"],
|
|
["start","opt_end"],["property","opt_ascending"],["algorithm","opt_dropNulls"],["filter"],["algorithm","opt_first"],[],["func","var_args"],["opt_callback"],["callback"],["params","opt_callback"],["project","opt_callback"],["assetId","properties","opt_callback"],["operationName","opt_callback"],["params","opt_callback"],["opt_callback"],["rootId","opt_callback"],["taskId","opt_callback"],["requestedId","opt_callback"],["params","opt_callback"],["taskId","action","opt_callback"],["clientId","success",
|
|
"opt_error","opt_extraScopes","opt_onImmediateFailed"],["value","opt_path","opt_force","opt_properties","opt_callback"],["id"],["taskId","params","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["params","opt_callback"],["path","opt_force","opt_callback"],["opt_success","opt_error"],["id"],["taskId","request","opt_callback"],["params","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes"],
|
|
["sourceId","destinationId","opt_callback"],["id"],["opt_count","opt_callback"],["taskId","request","opt_callback"],["assetId","opt_callback"],["taskId","opt_callback"],["id","opt_callback"],["assetId","opt_callback"],["params","opt_callback"],["id","opt_callback"],["mapid","x","y","z"],["opt_callback"],["params","opt_callback"],["parent","params","opt_callback"],["opt_limit","opt_callback"],["params","opt_callback"],["parent","params","opt_callback"],["assetId","aclUpdate","opt_callback"],["assetId",
|
|
"asset","updateFields","opt_callback"],["operationName","opt_callback"],["date","opt_tz"],["json"],["json"],["opt_dict"],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],[],["func","namedArgs"],[],[],[],["func","var_args"],["var_args"],["opt_visParams","opt_callback"],["opt_callback"],["geometry","opt_properties"],["opt_format","opt_selectors","opt_filename","opt_callback"],["args","opt_column"],["opt_visParams","opt_callback"],["opt_callback"],["propertySelectors",
|
|
"opt_newProperties","opt_retainGeometry"],[],["name","value"],["name","value"],["var_args"],["geometry","opt_errorMargin"],["name","value"],["opt_filter"],["name","value"],["name","operator","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["start","opt_end"],["name","value"],["var_args"],["name","value"],["var_args"],["namedArgs"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],[],[],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError",
|
|
"opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["opt_callback"],["geometry"],["opt_args"],["expression","opt_map"],["var_args"],["var_args"],["opt_visParams","opt_callback"],["r","g","b"],["params","opt_callback"],["var_args"],["params","opt_callback"],["selectors",
|
|
"opt_names"],[],["opt_callback"],["params","opt_callback"],["params","opt_callback"],["opt_visParams","opt_callback"],["args"],["list"],["number"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["obj"],["obj"],["string"],[]];[R,$l,am,Cn,zn,An,Dn,wn,vn,xn,Bn,yn,tn,W.prototype.limit,W.prototype.fg,W.prototype.me,W.prototype.le,W.prototype.sort,W.prototype.map,W.prototype.filter,W.prototype.Ag,P.prototype.X,P.prototype.wf,P.prototype.V,P.prototype.evaluate,Yk,Al,Ll,ll,Xk,Bl,Ml,nl,Cl,Zk,ml,Mk,Dl,$k,
|
|
rl,Nk,al,El,Lk,dl,tl,cl,Gl,Ok,Fl,bl,el,vl,Hl,gl,wl,Il,Tk,wl,Uk,il,xl,zl,hl,Vk,yl,Kl,Jl,kl,Un,Xn,Yn,$n,jo,lo,po,mo,256,no,oo,T.prototype.set,Wm.prototype.getMap,Wm.prototype.V,Wm,Y.prototype.wb,Y,Y.prototype.getMap,Y.prototype.V,Y.prototype.select,V.prototype.Wb,Im,Km,Om,Sm,Jm,V,Lm,Tm,Rm,Qm,Nm,Pm,Mm,Vl.prototype.call,Vl.prototype.apply,Am,tm,U.prototype.Pc,U.prototype.sf,wm,Bm,xm,U.prototype.X,zm,U,Cm,ym,X.prototype.V,X.prototype.clip,X,X.prototype.m,X.prototype.select,gn,X.prototype.getMap,fn,X.prototype.se,
|
|
X.prototype.Yg,X.prototype.wb,Z.prototype.select,Z.prototype.first,Z.prototype.V,Z.prototype.te,Z.prototype.qe,Z.prototype.getMap,Z,hn,Kn,bk,jk,ik,ek,hk,ck,Nn,co].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
|