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