mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
725 lines
328 KiB
JavaScript
725 lines
328 KiB
JavaScript
(function(){var h,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
|
|
},k=ca(this),fa=function(a,b){if(b)a:{var c=k;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
|
|
fa("Symbol",function(a){if(a)return a;var b=function(g,f){this.Ui=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.Ui};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e});
|
|
fa("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=k[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ha(aa(this))}})}return a});
|
|
var ha=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},ia=function(a){return a.raw=a},ja=function(a,b){a.raw=b;return a},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");},ka=function(a){if(!(a instanceof Array)){a=n(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},la=function(a,b){return Object.prototype.hasOwnProperty.call(a,
|
|
b)},ma="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)la(d,e)&&(a[e]=d[e])}return a};fa("Object.assign",function(a){return a||ma});var na="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},oa;
|
|
if("function"==typeof Object.setPrototypeOf)oa=Object.setPrototypeOf;else{var pa;a:{var qa={a:!0},ra={};try{ra.__proto__=qa;pa=ra.a;break a}catch(a){}pa=!1}oa=pa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var sa=oa,q=function(a,b){a.prototype=na(b.prototype);a.prototype.constructor=a;if(sa)sa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.L=b.prototype},ta=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};
|
|
fa("Promise",function(a){function b(){this.pb=null}function c(f){return f instanceof e?f:new e(function(l){l(f)})}if(a)return a;b.prototype.Hg=function(f){if(null==this.pb){this.pb=[];var l=this;this.Ig(function(){l.Uk()})}this.pb.push(f)};var d=k.setTimeout;b.prototype.Ig=function(f){d(f,0)};b.prototype.Uk=function(){for(;this.pb&&this.pb.length;){var f=this.pb;this.pb=[];for(var l=0;l<f.length;++l){var m=f[l];f[l]=null;try{m()}catch(p){this.Mk(p)}}}this.pb=null};b.prototype.Mk=function(f){this.Ig(function(){throw f;
|
|
})};var e=function(f){this.T=0;this.ia=void 0;this.uc=[];this.Kh=!1;var l=this.bf();try{f(l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.bf=function(){function f(p){return function(v){m||(m=!0,p.call(l,v))}}var l=this,m=!1;return{resolve:f(this.vl),reject:f(this.Zf)}};e.prototype.vl=function(f){if(f===this)this.Zf(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.xl(f);else{a:switch(typeof f){case "object":var l=null!=f;break a;case "function":l=!0;break a;default:l=
|
|
!1}l?this.ul(f):this.Bh(f)}};e.prototype.ul=function(f){var l=void 0;try{l=f.then}catch(m){this.Zf(m);return}"function"==typeof l?this.yl(l,f):this.Bh(f)};e.prototype.Zf=function(f){this.yi(2,f)};e.prototype.Bh=function(f){this.yi(1,f)};e.prototype.yi=function(f,l){if(0!=this.T)throw Error("Cannot settle("+f+", "+l+"): Promise already settled in state"+this.T);this.T=f;this.ia=l;2===this.T&&this.wl();this.Wk()};e.prototype.wl=function(){var f=this;d(function(){if(f.ml()){var l=k.console;"undefined"!==
|
|
typeof l&&l.error(f.ia)}},1)};e.prototype.ml=function(){if(this.Kh)return!1;var f=k.CustomEvent,l=k.Event,m=k.dispatchEvent;if("undefined"===typeof m)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):"function"===typeof l?f=new l("unhandledrejection",{cancelable:!0}):(f=k.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.ia;return m(f)};e.prototype.Wk=function(){if(null!=this.uc){for(var f=0;f<this.uc.length;++f)g.Hg(this.uc[f]);
|
|
this.uc=null}};var g=new b;e.prototype.xl=function(f){var l=this.bf();f.Bd(l.resolve,l.reject)};e.prototype.yl=function(f,l){var m=this.bf();try{f.call(l,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(f,l){function m(C,I){return"function"==typeof C?function(ea){try{p(C(ea))}catch(X){v(X)}}:I}var p,v,A=new e(function(C,I){p=C;v=I});this.Bd(m(f,p),m(l,v));return A};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.Bd=function(f,l){function m(){switch(p.T){case 1:f(p.ia);
|
|
break;case 2:l(p.ia);break;default:throw Error("Unexpected state: "+p.T);}}var p=this;null==this.uc?g.Hg(m):this.uc.push(m);this.Kh=!0};e.resolve=c;e.reject=function(f){return new e(function(l,m){m(f)})};e.race=function(f){return new e(function(l,m){for(var p=n(f),v=p.next();!v.done;v=p.next())c(v.value).Bd(l,m)})};e.all=function(f){var l=n(f),m=l.next();return m.done?c([]):new e(function(p,v){function A(ea){return function(X){C[ea]=X;I--;0==I&&p(C)}}var C=[],I=0;do C.push(void 0),I++,c(m.value).Bd(A(C.length-
|
|
1),v),m=l.next();while(!m.done)})};return e});var ua=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};fa("Array.prototype.keys",function(a){return a?a:function(){return ua(this,function(b){return b})}});
|
|
fa("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return"object"===p&&null!==m||"function"===p}function d(m){if(!la(m,g)){var p=new b;ba(m,g,{value:p})}}function e(m){var p=Object[m];p&&(Object[m]=function(v){if(v instanceof b)return v;Object.isExtensible(v)&&d(v);return p(v)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),p=Object.seal({}),v=new a([[m,2],[p,3]]);if(2!=v.get(m)||3!=v.get(p))return!1;v.delete(m);v.set(p,4);return!v.has(m)&&4==v.get(p)}catch(A){return!1}}())return a;
|
|
var g="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var f=0,l=function(m){this.fa=(f+=Math.random()+1).toString();if(m){m=n(m);for(var p;!(p=m.next()).done;)p=p.value,this.set(p[0],p[1])}};l.prototype.set=function(m,p){if(!c(m))throw Error("Invalid WeakMap key");d(m);if(!la(m,g))throw Error("WeakMap key fail: "+m);m[g][this.fa]=p;return this};l.prototype.get=function(m){return c(m)&&la(m,g)?m[g][this.fa]:void 0};l.prototype.has=function(m){return c(m)&&la(m,g)&&la(m[g],
|
|
this.fa)};l.prototype.delete=function(m){return c(m)&&la(m,g)&&la(m[g],this.fa)?delete m[g][this.fa]:!1};return l});
|
|
fa("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),m=new a(n([[l,"s"]]));if("s"!=m.get(l)||1!=m.size||m.get({x:4})||m.set({x:4},"t")!=m||2!=m.size)return!1;var p=m.entries(),v=p.next();if(v.done||v.value[0]!=l||"s"!=v.value[1])return!1;v=p.next();return v.done||4!=v.value[0].x||"t"!=v.value[1]||!p.next().done?!1:!0}catch(A){return!1}}())return a;var b=new WeakMap,c=function(l){this[0]={};this[1]=
|
|
g();this.size=0;if(l){l=n(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}};c.prototype.set=function(l,m){l=0===l?0:l;var p=d(this,l);p.list||(p.list=this[0][p.id]=[]);p.ea?p.ea.value=m:(p.ea={next:this[1],lb:this[1].lb,head:this[1],key:l,value:m},p.list.push(p.ea),this[1].lb.next=p.ea,this[1].lb=p.ea,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.ea&&l.list?(l.list.splice(l.index,1),l.list.length||delete this[0][l.id],l.ea.lb.next=l.ea.next,l.ea.next.lb=
|
|
l.ea.lb,l.ea.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].lb=g();this.size=0};c.prototype.has=function(l){return!!d(this,l).ea};c.prototype.get=function(l){return(l=d(this,l).ea)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=function(){return e(this,function(l){return l.value})};c.prototype.forEach=function(l,m){for(var p=this.entries(),
|
|
v;!(v=p.next()).done;)v=v.value,l.call(m,v[1],v[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,m){var p=m&&typeof m;"object"==p||"function"==p?b.has(m)?p=b.get(m):(p=""+ ++f,b.set(m,p)):p="p_"+m;var v=l[0][p];if(v&&la(l[0],p))for(l=0;l<v.length;l++){var A=v[l];if(m!==m&&A.key!==A.key||m===A.key)return{id:p,list:v,index:l,ea:A}}return{id:p,list:v,index:-1,ea:void 0}},e=function(l,m){var p=l[1];return ha(function(){if(p){for(;p.head!=l[1];)p=p.lb;for(;p.next!=p.head;)return p=
|
|
p.next,{done:!1,value:m(p)};p=null}return{done:!0,value:void 0}})},g=function(){var l={};return l.lb=l.next=l.head=l},f=0;return c});var va=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+""};
|
|
fa("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=va(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}});fa("Array.prototype.entries",function(a){return a?a:function(){return ua(this,function(b,c){return[b,c]})}});
|
|
fa("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=va(this,b,"startsWith");b+="";var e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var f=0;f<g&&c<e;)if(d[c++]!=b[f++])return!1;return f>=g}});fa("String.prototype.repeat",function(a){return a?a:function(b){var c=va(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}});
|
|
fa("Array.prototype.values",function(a){return a?a:function(){return ua(this,function(b,c){return c})}});fa("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l};var e=[],g="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof g){b=g.call(b);for(var f=0;!(g=b.next()).done;)e.push(c.call(d,g.value,f++))}else for(g=b.length,f=0;f<g;f++)e.push(c.call(d,b[f],f));return e}});
|
|
fa("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)la(b,d)&&c.push([d,b[d]]);return c}});fa("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});fa("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});
|
|
fa("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==va(this,b,"includes").indexOf(b,c||0)}});fa("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,g=0;g<e;g++){var f=d[g];if(b.call(c,f,g,d)){b=f;break a}}b=void 0}return b}});
|
|
fa("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(n([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||4!=g.value[0].x||g.value[1]!=g.value[0]?!1:e.next().done}catch(f){return!1}}())return a;var b=function(c){this.A=new Map;if(c){c=
|
|
n(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.A.size};b.prototype.add=function(c){c=0===c?0:c;this.A.set(c,c);this.size=this.A.size;return this};b.prototype.delete=function(c){c=this.A.delete(c);this.size=this.A.size;return c};b.prototype.clear=function(){this.A.clear();this.size=0};b.prototype.has=function(c){return this.A.has(c)};b.prototype.entries=function(){return this.A.entries()};b.prototype.values=function(){return this.A.values()};b.prototype.keys=b.prototype.values;
|
|
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.A.forEach(function(g){return c.call(d,g,g,e)})};return b});fa("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)la(b,d)&&c.push(b[d]);return c}});fa("String.prototype.padStart",function(a){return a?a:function(b,c){var d=va(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}});/*
|
|
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var wa=wa||{},r=this||self,xa=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ya=function(a){var b=xa(a);return"array"==b||"object"==b&&"number"==typeof a.length},za=function(a){return t(a)&&"function"==typeof a.getFullYear},t=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Ca=function(a){return Object.prototype.hasOwnProperty.call(a,Aa)&&a[Aa]||(a[Aa]=++Ba)},Aa="closure_uid_"+(1E9*Math.random()>>>0),Ba=0,Da=function(a,b,c){return a.call.apply(a.bind,
|
|
arguments)},Ea=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},u=function(a,b,c){u=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Da:Ea;return u.apply(null,arguments)},Fa=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=
|
|
c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},w=function(a,b){a=a.split(".");var c=r;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},x=function(a,b){function c(){}c.prototype=b.prototype;a.L=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ml=function(d,e,g){for(var f=Array(arguments.length-2),l=2;l<arguments.length;l++)f[l-2]=arguments[l];return b.prototype[e].apply(d,
|
|
f)}},Ga=function(a){return a};var Ha=function(){},Ia=new Ha;function Ja(a){return Object.assign({},{P:{},Ol:{},keys:[],Ma:{},o:{},H:{},rh:!1},a)}var y=function(){this.h={}},z=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},B=function(a,b){return null!=a.h[b]};function Ka(a,b){return z(b,a)}function La(a,b,c){b[a]=c}function Ma(){return{}}function Na(a,b){var c=new a;return null==b?c:Oa(b,Pa,Qa,Ra,a)}function Pa(a,b){return b[a]}function Qa(a,b,c){b.h[a]=c}
|
|
function Ra(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function Oa(a,b,c,d,e){e=d(e);for(var g=Sa(a,e),f=g.P||{},l=g.o||{},m=g.Ma||{},p=n(g.keys||[]),v=p.next(),A={};!v.done;A={Vd:void 0},v=p.next()){v=v.value;var C=b(v,a);if(null!=C){var I=void 0;if(f.hasOwnProperty(v)){if(g.rh&&0===C.length)continue;I=Ta(C,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))I=Ta(C,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))A.Vd=m[v],I=A.Vd.pa?C.map(function(ea){return function(X){return Ua(X,ea.Vd,b,c,d)}}(A)):Ua(C,A.Vd,b,c,d);else if(Array.isArray(C)){if(g.rh&&0===C.length)continue;
|
|
I=Ta(C,b,c,d,!0,!1)}else I=C instanceof Ha?null:C;c(v,e,I)}}return e}function Ua(a,b,c,d,e){for(var g={},f=n(Object.keys(a)),l=f.next();!l.done;l=f.next()){l=l.value;var m=a[l];null!=m&&(g[l]=Ta(m,c,d,e,b.ra,b.qa,b.ka))}return g}
|
|
function Ta(a,b,c,d,e,g,f){if(g&&null==f)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&g?a.map(function(l){return Oa(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Oa(a,b,c,d,f):a instanceof Ha?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function Sa(a,b){if(b instanceof y)a=Ja(b.i());else if(a instanceof y)a=Ja(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Va=function(){};Va.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function Wa(a,b){if(null==a)return null;a=a.Pl(b);return null==a?null:a};function Xa(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Ya(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Za(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function $a(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function ab(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function bb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function cb(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
|
|
function db(a){var b=eb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function fb(a){for(var b in a)return!1;return!0}function gb(a,b){b in a&&delete a[b]}function hb(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
|
function ib(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=ib(a[c]);return b}var jb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
|
function kb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<jb.length;g++)c=jb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var lb=function(a,b){return-1!=a.indexOf(b)};function mb(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,mb);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}x(mb,Error);mb.prototype.name="CustomError";var nb;function ob(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");mb.call(this,c+a[d])}x(ob,mb);ob.prototype.name="AssertionError";function pb(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var g=d}else a&&(e+=": "+a,g=b);throw new ob(""+e,g||[]);}
|
|
var D=function(a,b,c){a||pb("",null,b,Array.prototype.slice.call(arguments,2))},qb=function(a,b,c){null==a&&pb("Expected to exist: %s.",[a],b,Array.prototype.slice.call(arguments,2));return a},rb=function(a,b){throw new ob("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},sb=function(a,b,c){"number"!==typeof a&&pb("Expected number but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a},tb=function(a,b,c){"string"!==typeof a&&pb("Expected string but got %s: %s.",
|
|
[xa(a),a],b,Array.prototype.slice.call(arguments,2))},ub=function(a,b,c){"function"!==typeof a&&pb("Expected function but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2))},vb=function(a,b,c){t(a)||pb("Expected object but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var wb;var yb=function(a,b){if(b!==xb)throw Error("TrustedResourceUrl is not meant to be built directly");this.ji=a};yb.prototype.toString=function(){return this.ji+""};
|
|
var zb=function(a){if(a instanceof yb&&a.constructor===yb)return a.ji;rb("expected object of type TrustedResourceUrl, got '%s' of type %s",a,xa(a));return"type_error:TrustedResourceUrl"},xb={},Ab=function(a){if(void 0===wb){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ga,createScript:Ga,createScriptURL:Ga})}catch(d){r.console&&r.console.error(d.message)}wb=b}a=(b=wb)?b.createScriptURL(a):a;return new yb(a,xb)};/*
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var Bb=ia([""]),Cb=ja(["\x00"],["\\0"]),Db=ja(["\n"],["\\n"]),Eb=ja(["\x00"],["\\u0000"]),Fb=ia([""]),Gb=ja(["\x00"],["\\0"]),Hb=ja(["\n"],["\\n"]),Ib=ja(["\x00"],["\\u0000"]);function Kb(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function Lb(a){return-1===a.toString().indexOf("`")}var Mb=Lb(function(a){return a(Bb)})||Lb(function(a){return a(Cb)})||Lb(function(a){return a(Db)})||Lb(function(a){return a(Eb)}),Nb=Kb(Fb)&&Kb(Gb)&&Kb(Hb)&&Kb(Ib);var Ob={};var Pb=function(a){if(Ob!==Ob)throw Error("Bad secret");this.ki=a};Pb.prototype.toString=function(){return this.ki};new Pb("about:blank");var Qb=new Pb("about:invalid#zClosurez");function Rb(a){if(a instanceof Pb)return a.ki;throw Error("Unexpected type when unwrapping SafeUrl, got '"+a+"' of type '"+typeof a+"'");};function Sb(a){if("undefined"!==typeof MediaSource&&a instanceof MediaSource)return new Pb(URL.createObjectURL(a));var b=a.type.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i);if(2!==(null==b?void 0:b.length)||!(/^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif|avif|x-ms-bmp)$/i.test(b[1])||/^video\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||/^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(b[1])||/^font\/\w+/i.test(b[1])))throw Error("unsafe blob MIME type: "+
|
|
a.type);return new Pb(URL.createObjectURL(a))}var Tb=[],Ub=function(a){console.warn("A URL with content '"+a+"' was sanitized away.")};-1===Tb.indexOf(Ub)&&Tb.push(Ub);var Vb=Array.prototype.indexOf?function(a,b){D(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Wb=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("string"===typeof a)return"string"!==typeof b||
|
|
1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Xb=Array.prototype.forEach?function(a,b){D(null!=a.length);Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},Yb=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,g="string"===typeof a?a.split(""):a,f=0;f<c;f++)if(f in
|
|
g){var l=g[f];b.call(void 0,l,f,a)&&(d[e++]=l)}return d},Zb=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),g="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in g&&(e[f]=b.call(c,g[f],f,a));return e},$b=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="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],
|
|
e,a))return!0;return!1},ac=Array.prototype.every?function(a,b){D(null!=a.length);return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};function bc(a,b){var c=0;Xb(a,function(d,e,g){b.call(void 0,d,e,g)&&++c});return c}function cc(a,b){return 0<=Vb(a,b)}function dc(a,b){b=Vb(a,b);var c;(c=0<=b)&&ec(a,b);return c}
|
|
function ec(a,b){D(null!=a.length);Array.prototype.splice.call(a,b,1)}function fc(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function gc(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ya(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var f=0;f<g;f++)a[e+f]=d[f]}else a.push(d)}}function hc(a,b,c){D(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
|
|
function ic(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function jc(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var g=hc(d,e,e+8192);g=jc.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var kc={},lc=function(){if(kc!==kc)throw Error("SafeStyle is not meant to be built directly");this.ql=""};lc.prototype.toString=function(){return this.ql.toString()};new lc;var mc={},nc=function(){if(mc!==mc)throw Error("SafeStyleSheet is not meant to be built directly");this.pl=""};nc.prototype.toString=function(){return this.pl.toString()};new nc;var oc={},pc=function(){var a=r.trustedTypes&&r.trustedTypes.emptyHTML||"";if(oc!==oc)throw Error("SafeHtml is not meant to be built directly");this.ol=a};pc.prototype.toString=function(){return this.ol.toString()};new pc;var qc=Object.freeze||function(a){return a};var rc=function(a,b){this.name=a;this.value=b};rc.prototype.toString=function(){return this.name};var sc=new rc("OFF",Infinity),tc=new rc("SEVERE",1E3),uc=new rc("CONFIG",700),vc=new rc("FINE",500),wc=function(){this.Cd=0;this.clear()},xc;wc.prototype.clear=function(){this.zd=Array(this.Cd);this.jh=-1;this.Jh=!1};var yc=function(a,b,c){this.reset(a||sc,b,c,void 0,void 0)};yc.prototype.reset=function(){};
|
|
var zc=function(a,b){this.level=null;this.Zk=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.gl={vf:function(){return a}}},Ac=function(a){if(a.level)return a.level;if(a.parent)return Ac(a.parent);rb("Root logger has no level set.");return sc},Bc=function(a,b){for(;a;)a.Zk.forEach(function(c){c(b)}),a=a.parent},Cc=function(){this.entries={};var a=new zc("");a.level=uc;this.entries[""]=a},Dc,Ec=function(a,b){var c=a.entries[b];if(c)return c;c=Ec(a,b.slice(0,Math.max(b.lastIndexOf("."),
|
|
0)));var d=new zc(b,c);a.entries[b]=d;c.children.push(d);return d},Fc=function(){Dc||(Dc=new Cc);return Dc},Gc=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?Ac(Ec(Fc(),a.vf())):sc;d=d>=e.value}if(d){b=b||sc;d=Ec(Fc(),a.vf());"function"===typeof c&&(c=c());xc||(xc=new wc);e=xc;a=a.vf();if(0<e.Cd){var g=(e.jh+1)%e.Cd;e.jh=g;e.Jh?(e=e.zd[g],e.reset(b,c,a),a=e):(e.Jh=g==e.Cd-1,a=e.zd[g]=new yc(b,c,a))}else a=new yc(b,c,a);Bc(d,a)}},Hc=function(a,b){a&&Gc(a,tc,b)},Ic=function(a,b){a&&Gc(a,
|
|
vc,b)};var Jc=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")},Kc=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 Lc=function(a){if(a.R&&"function"==typeof a.R)a=a.R();else if(ya(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Mc=function(a){if(a.aa&&"function"==typeof a.aa)return a.aa();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ya(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return ab(a)},Nc=function(a){if(a.tb&&"function"==typeof a.tb)return a.tb();
|
|
if(!a.aa||"function"!=typeof a.aa){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(ya(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return bb(a)}}},Oc=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ya(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=Nc(a),e=Mc(a),g=e.length,f=0;f<g;f++)b.call(c,e[f],d&&d[f],a)},Pc=function(a,
|
|
b){if("function"==typeof a.every)return a.every(b,void 0);if(ya(a)||"string"===typeof a)return Array.prototype.every.call(a,b,void 0);for(var c=Nc(a),d=Mc(a),e=d.length,g=0;g<e;g++)if(!b.call(void 0,d[g],c&&c[g],a))return!1;return!0};var Qc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Rc=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var Sc=function(a){this.ib=this.hc=this.wb="";this.vc=null;this.Sb=this.Zb="";this.za=this.cl=!1;if(a instanceof Sc){this.za=a.za;Tc(this,a.wb);var b=a.hc;Uc(this);this.hc=b;b=a.ib;Uc(this);this.ib=b;Vc(this,a.vc);this.setPath(a.getPath());Wc(this,a.Ba.clone());a=a.Sb;Uc(this);this.Sb=a}else a&&(b=String(a).match(Qc))?(this.za=!1,Tc(this,b[1]||"",!0),a=b[2]||"",Uc(this),this.hc=Xc(a),a=b[3]||"",Uc(this),this.ib=Xc(a,!0),Vc(this,b[4]),this.setPath(b[5]||"",!0),Wc(this,b[6]||"",!0),a=b[7]||"",Uc(this),
|
|
this.Sb=Xc(a)):(this.za=!1,this.Ba=new Yc(null,this.za))};
|
|
Sc.prototype.toString=function(){var a=[],b=this.wb;b&&a.push(Zc(b,$c,!0),":");var c=this.ib;if(c||"file"==b)a.push("//"),(b=this.hc)&&a.push(Zc(b,$c,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.vc,null!=c&&a.push(":",String(c));if(c=this.getPath())this.ib&&"/"!=c.charAt(0)&&a.push("/"),a.push(Zc(c,"/"==c.charAt(0)?ad:bd,!0));(c=this.Ba.toString())&&a.push("?",c);(c=this.Sb)&&a.push("#",Zc(c,cd));return a.join("")};
|
|
Sc.prototype.resolve=function(a){var b=this.clone(),c=!!a.wb;c?Tc(b,a.wb):c=!!a.hc;if(c){var d=a.hc;Uc(b);b.hc=d}else c=!!a.ib;c?(d=a.ib,Uc(b),b.ib=d):c=null!=a.vc;d=a.getPath();if(c)Vc(b,a.vc);else if(c=!!a.Zb){if("/"!=d.charAt(0))if(this.ib&&!this.Zb)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(lb(e,"./")||lb(e,"/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var g=[],f=0;f<e.length;){var l=e[f++];"."==l?d&&f==e.length&&
|
|
g.push(""):".."==l?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&f==e.length&&g.push("")):(g.push(l),d=!0)}d=g.join("/")}else d=e}c?b.setPath(d):c=""!==a.Ba.toString();c?Wc(b,a.Ba.clone()):c=!!a.Sb;c&&(a=a.Sb,Uc(b),b.Sb=a);return b};Sc.prototype.clone=function(){return new Sc(this)};var Tc=function(a,b,c){Uc(a);a.wb=c?Xc(b,!0):b;a.wb&&(a.wb=a.wb.replace(/:$/,""))},Vc=function(a,b){Uc(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.vc=b}else a.vc=null};
|
|
Sc.prototype.getPath=function(){return this.Zb};Sc.prototype.setPath=function(a,b){Uc(this);this.Zb=b?Xc(a,!0):a;return this};var Wc=function(a,b,c){Uc(a);b instanceof Yc?(a.Ba=b,a.Ba.gg(a.za)):(c||(b=Zc(b,dd)),a.Ba=new Yc(b,a.za))};Sc.prototype.getQuery=function(){return this.Ba.toString()};Sc.prototype.removeParameter=function(a){Uc(this);this.Ba.remove(a);return this};var Uc=function(a){if(a.cl)throw Error("Tried to modify a read-only Uri");};Sc.prototype.gg=function(a){this.za=a;this.Ba&&this.Ba.gg(a)};
|
|
var ed=function(a){return a instanceof Sc?a.clone():new Sc(a)},Xc=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Zc=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,fd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},fd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},$c=/[#\/\?@]/g,bd=/[#\?:]/g,ad=/[#\?]/g,dd=/[#\?@]/g,cd=/#/g,Yc=function(a,b){this.Y=this.N=null;this.ta=a||null;this.za=!!b},gd=
|
|
function(a){a.N||(a.N=new Map,a.Y=0,a.ta&&Rc(a.ta,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Yc.prototype;h.R=function(){gd(this);return this.Y};h.add=function(a,b){gd(this);this.ta=null;a=hd(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.Y=sb(this.Y)+1;return this};h.remove=function(a){gd(this);a=hd(this,a);return this.N.has(a)?(this.ta=null,this.Y=sb(this.Y)-this.N.get(a).length,this.N.delete(a)):!1};h.clear=function(){this.N=this.ta=null;this.Y=0};
|
|
h.isEmpty=function(){gd(this);return 0==this.Y};h.Pb=function(a){gd(this);a=hd(this,a);return this.N.has(a)};h.Hc=function(a){var b=this.aa();return cc(b,a)};h.forEach=function(a,b){gd(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.tb=function(){gd(this);for(var a=Array.from(this.N.values()),b=Array.from(this.N.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};
|
|
h.aa=function(a){gd(this);var b=[];if("string"===typeof a)this.Pb(a)&&(b=b.concat(this.N.get(hd(this,a))));else{a=Array.from(this.N.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};h.set=function(a,b){gd(this);this.ta=null;a=hd(this,a);this.Pb(a)&&(this.Y=sb(this.Y)-this.N.get(a).length);this.N.set(a,[b]);this.Y=sb(this.Y)+1;return this};h.get=function(a,b){if(!a)return b;a=this.aa(a);return 0<a.length?String(a[0]):b};
|
|
h.setValues=function(a,b){this.remove(a);0<b.length&&(this.ta=null,this.N.set(hd(this,a),fc(b)),this.Y=sb(this.Y)+b.length)};h.toString=function(){if(this.ta)return this.ta;if(!this.N)return"";for(var a=[],b=Array.from(this.N.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.aa(d);for(var g=0;g<d.length;g++){var f=e;""!==d[g]&&(f+="="+encodeURIComponent(String(d[g])));a.push(f)}}return this.ta=a.join("&")};
|
|
h.clone=function(){var a=new Yc;a.ta=this.ta;this.N&&(a.N=new Map(this.N),a.Y=this.Y);return a};var hd=function(a,b){b=String(b);a.za&&(b=b.toLowerCase());return b};Yc.prototype.gg=function(a){a&&!this.za&&(gd(this),this.ta=null,this.N.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.za=a};Yc.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Oc(arguments[b],function(c,d){this.add(d,c)},this)};function id(a){if(null!=a.u){var b={},c;for(c in a.u)void 0!==a.u[c]&&(b[c]=a.u[c]);a.u=b}}function E(a,b){var c=jd;b=void 0===b?{}:b;c=n(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=n(d.value);d=e.next().value;e=e.next().value;d in a&&(b[e]=a[d])}return b};var kd=function(a,b){this.M=a;this.al=void 0===b?null:b};q(kd,Va);var ld=function(a,b,c){var d=Wa(a.al,b);if(null==d)return c;d.Ql();return c.then(function(e){d.Sl(e);return e},function(e){d.Rl(e);throw e;})},F=function(a,b){var c=b.G||void 0,d=a.M,e=d.send,g=b.body instanceof y?Oa(b.body,Ka,La,Ma):b.body;return ld(a,b,e.call(d,{path:b.path,B:b.B,D:b.D,body:g,u:b.u,Di:b.Di&&b.Di},c))};var md=function(){};md.prototype.send=function(a,b){id(a);return(void 0).then(function(c){return b?Na(b,c):c})};function nd(a){a&&"function"==typeof a.Ra&&a.Ra()};var G=function(){this.Sa=this.Sa;this.Zd=this.Zd};G.prototype.Sa=!1;G.prototype.Ra=function(){this.Sa||(this.Sa=!0,this.J())};G.prototype.J=function(){if(this.Zd)for(;this.Zd.length;)this.Zd.shift()()};var H=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.dd=!1};H.prototype.stopPropagation=function(){this.dd=!0};H.prototype.preventDefault=function(){this.defaultPrevented=!0};var od=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};r.addEventListener("test",c,b);r.removeEventListener("test",c,b)}catch(d){}return a}();function pd(){var a=r.navigator;return a&&(a=a.userAgent)?a:""};var qd=function(a){qd[" "](a);return a};qd[" "]=function(){};var rd=lb(pd(),"Gecko")&&!(lb(pd().toLowerCase(),"webkit")&&!lb(pd(),"Edge"))&&!(lb(pd(),"Trident")||lb(pd(),"MSIE"))&&!lb(pd(),"Edge"),sd=lb(pd().toLowerCase(),"webkit")&&!lb(pd(),"Edge");var ud=function(a,b){H.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.timeStamp=0;this.Ja=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(rd){a:{try{qd(b.nodeName);var e=!0;break a}catch(g){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=sd||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=sd||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?
|
|
a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:td[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.Ja=
|
|
a;a.defaultPrevented&&ud.L.preventDefault.call(this)}};x(ud,H);var td=qc({2:"touch",3:"pen",4:"mouse"});ud.prototype.stopPropagation=function(){ud.L.stopPropagation.call(this);this.Ja.stopPropagation?this.Ja.stopPropagation():this.Ja.cancelBubble=!0};ud.prototype.preventDefault=function(){ud.L.preventDefault.call(this);var a=this.Ja;a.preventDefault?a.preventDefault():a.returnValue=!1};var vd="closure_listenable_"+(1E6*Math.random()|0),wd=function(a){return!(!a||!a[vd])};var xd=0;var yd=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.jb=e;this.key=++xd;this.gd=this.Ad=!1},zd=function(a){a.gd=!0;a.listener=null;a.proxy=null;a.src=null;a.jb=null};var Ad=function(a){this.src=a;this.ha={};this.nd=0};Ad.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.ha[g];a||(a=this.ha[g]=[],this.nd++);var f=Bd(a,b,d,e);-1<f?(b=a[f],c||(b.Ad=!1)):(b=new yd(b,this.src,g,!!d,e),b.Ad=c,a.push(b));return b};Ad.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ha))return!1;var e=this.ha[a];b=Bd(e,b,c,d);return-1<b?(zd(e[b]),ec(e,b),0==e.length&&(delete this.ha[a],this.nd--),!0):!1};
|
|
var Cd=function(a,b){var c=b.type;c in a.ha&&dc(a.ha[c],b)&&(zd(b),0==a.ha[c].length&&(delete a.ha[c],a.nd--))};Ad.prototype.fd=function(a){a=a&&a.toString();var b=0,c;for(c in this.ha)if(!a||c==a){for(var d=this.ha[c],e=0;e<d.length;e++)++b,zd(d[e]);delete this.ha[c];this.nd--}};Ad.prototype.Lc=function(a,b,c,d){a=this.ha[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=void 0!==a,d=c?a.toString():"",e=void 0!==b;return $a(this.ha,function(g){for(var f=0;f<g.length;++f)if(!(c&&g[f].type!=d||e&&g[f].capture!=b))return!0;return!1})};var Bd=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.gd&&g.listener==b&&g.capture==!!c&&g.jb==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(Array.isArray(b)){for(var g=0;g<b.length;g++)Hd(a,b[g],c,d,e);return null}c=Id(c);return wd(a)?a.Xa(b,c,t(d)?!!d.capture:!!d,e):Jd(a,b,c,!1,d,e)},Jd=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=t(e)?!!e.capture:!!e,l=Kd(a);l||(a[Dd]=l=new Ad(a));c=l.add(b,c,d,f,g);if(c.proxy)return c;d=Ld();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)od||(e=f),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=function(c){return a.call(b.src,b.listener,c)};return b},Gd=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)Gd(a,b[g],c,d,e);return null}c=Id(c);return wd(a)?
|
|
a.Vc(b,c,t(d)?!!d.capture:!!d,e):Jd(a,b,c,!0,d,e)},Od=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)Od(a,b[g],c,d,e);else d=t(d)?!!d.capture:!!d,c=Id(c),wd(a)?a.te(b,c,d,e):a&&(a=Kd(a))&&(b=a.Lc(b,c,d,e))&&Pd(b)},Pd=function(a){if("number"!==typeof a&&a&&!a.gd){var b=a.src;if(wd(b))Cd(b.Ia,a);else{var c=a.type,d=a.proxy;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.nd&&(c.src=null,b[Dd]=null)):zd(a)}}},Md=function(a){return a in Ed?Ed[a]:Ed[a]="on"+a},Nd=function(a,b){if(a.gd)a=!0;else{b=new ud(b,this);var c=a.listener,d=a.jb||a.src;a.Ad&&Pd(a);a=c.call(d,b)}return a},Kd=function(a){a=a[Dd];return a instanceof Ad?a:null},Qd="__closure_events_fn_"+(1E9*Math.random()>>>0),Id=function(a){D(a,"Listener can not be null.");if("function"===typeof a)return a;D(a.handleEvent,"An object listener must have handleEvent method.");a[Qd]||(a[Qd]=function(b){return a.handleEvent(b)});
|
|
return a[Qd]};var J=function(){G.call(this);this.Ia=new Ad(this);this.Kk=this;this.Tf=null};x(J,G);J.prototype[vd]=!0;h=J.prototype;h.addEventListener=function(a,b,c,d){Hd(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){Od(this,a,b,c,d)};
|
|
h.dispatchEvent=function(a){Rd(this);var b=this.Tf;if(b){var c=[];for(var d=1;b;b=b.Tf)c.push(b),D(1E3>++d,"infinite loop")}b=this.Kk;d=a.type||a;if("string"===typeof a)a=new H(a,b);else if(a instanceof H)a.target=a.target||b;else{var e=a;a=new H(d,b);kb(a,e)}e=!0;if(c)for(var g=c.length-1;!a.dd&&0<=g;g--){var f=a.currentTarget=c[g];e=Sd(f,d,!0,a)&&e}a.dd||(f=a.currentTarget=b,e=Sd(f,d,!0,a)&&e,a.dd||(e=Sd(f,d,!1,a)&&e));if(c)for(g=0;!a.dd&&g<c.length;g++)f=a.currentTarget=c[g],e=Sd(f,d,!1,a)&&e;
|
|
return e};h.J=function(){J.L.J.call(this);this.Ia&&this.Ia.fd();this.Tf=null};h.Xa=function(a,b,c,d){Rd(this);return this.Ia.add(String(a),b,!1,c,d)};h.Vc=function(a,b,c,d){return this.Ia.add(String(a),b,!0,c,d)};h.te=function(a,b,c,d){this.Ia.remove(String(a),b,c,d)};var Sd=function(a,b,c,d){b=a.Ia.ha[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var f=b[g];if(f&&!f.gd&&f.capture==c){var l=f.listener,m=f.jb||f.src;f.Ad&&Cd(a.Ia,f);e=!1!==l.call(m,d)&&e}}return e&&!d.defaultPrevented};
|
|
J.prototype.Lc=function(a,b,c,d){return this.Ia.Lc(String(a),b,c,d)};J.prototype.hasListener=function(a,b){return this.Ia.hasListener(void 0!==a?String(a):void 0,b)};var Rd=function(a){D(a.Ia,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Td=function(a,b){this.Pk=a[r.Symbol.iterator]();this.hl=b};Td.prototype[Symbol.iterator]=function(){return this};Td.prototype.next=function(){var a=this.Pk.next();return{value:a.done?void 0:this.hl.call(void 0,a.value),done:a.done}};var Ud=function(a,b){return new Td(a,b)};var Vd=function(){},Wd=function(a){return a};var Xd=function(){};Xd.prototype.next=function(){return Yd};var Yd=qc({done:!0,value:void 0});Xd.prototype.Da=function(){return this};
|
|
var Zd=function(a){if(a instanceof Xd)return a;if("function"==typeof a.Da)return a.Da(!1);if(ya(a)){var b=0,c=new Xd;c.next=function(){for(;;){if(b>=a.length)return Yd;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},$d=function(a,b){if(ya(a))Xb(a,b);else for(a=Zd(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var de=function(a){if(a instanceof ae||a instanceof be||a instanceof ce)return a;if("function"==typeof a.next)return new ae(function(){return a});if("function"==typeof a[Symbol.iterator])return new ae(function(){return a[Symbol.iterator]()});if("function"==typeof a.Da)return new ae(function(){return a.Da()});throw Error("Not an iterator or iterable.");},ae=function(a){this.tf=a};ae.prototype.Da=function(){return new be(this.tf())};ae.prototype[Symbol.iterator]=function(){return new ce(this.tf())};
|
|
ae.prototype.wg=function(){return new ce(this.tf())};var be=function(a){this.Rc=a};q(be,Xd);be.prototype.next=function(){return this.Rc.next()};be.prototype[Symbol.iterator]=function(){return new ce(this.Rc)};be.prototype.wg=function(){return new ce(this.Rc)};var ce=function(a){ae.call(this,function(){return a});this.Rc=a};q(ce,ae);ce.prototype.next=function(){return this.Rc.next()};var fe=function(a,b){this.A={};this.K=[];this.pd=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};h=fe.prototype;h.R=function(){return this.size};h.aa=function(){ge(this);for(var a=[],b=0;b<this.K.length;b++)a.push(this.A[this.K[b]]);return a};h.tb=function(){ge(this);return this.K.concat()};h.Pb=function(a){return this.has(a)};h.has=function(a){return he(this.A,a)};
|
|
h.Hc=function(a){for(var b=0;b<this.K.length;b++){var c=this.K[b];if(he(this.A,c)&&this.A[c]==a)return!0}return!1};h.equals=function(a,b){if(this===a)return!0;if(this.size!=a.R())return!1;b=b||ie;ge(this);for(var c,d=0;c=this.K[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var ie=function(a,b){return a===b};fe.prototype.isEmpty=function(){return 0==this.size};fe.prototype.clear=function(){this.A={};this.K.length=0;this.mb(0);this.pd=0};fe.prototype.remove=function(a){return this.delete(a)};
|
|
fe.prototype.delete=function(a){return he(this.A,a)?(delete this.A[a],this.mb(this.size-1),this.pd++,this.K.length>2*this.size&&ge(this),!0):!1};var ge=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b<a.K.length;){var d=a.K[b];he(a.A,d)&&(a.K[c++]=d);b++}a.K.length=c}if(a.size!=a.K.length){var e={};for(c=b=0;b<a.K.length;)d=a.K[b],he(e,d)||(a.K[c++]=d,e[d]=1),b++;a.K.length=c}};h=fe.prototype;h.get=function(a,b){return he(this.A,a)?this.A[a]:b};
|
|
h.set=function(a,b){he(this.A,a)||(this.mb(this.size+1),this.K.push(a),this.pd++);this.A[a]=b};h.addAll=function(a){if(a instanceof fe)for(var b=a.tb(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};h.forEach=function(a,b){for(var c=this.tb(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};h.clone=function(){return new fe(this)};h.keys=function(){return de(this.Da(!0)).wg()};h.values=function(){return de(this.Da(!1)).wg()};
|
|
h.entries=function(){var a=this;return Ud(this.keys(),function(b){return[b,a.get(b)]})};h.Da=function(a){ge(this);var b=0,c=this.pd,d=this,e=new Xd;e.next=function(){if(c!=d.pd)throw Error("The map has changed since the iterator was created");if(b>=d.K.length)return Yd;var g=d.K[b++];return{value:a?g:d.A[g],done:!1}};return e};h.mb=function(a){this.size=a};var he=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var je=function(a){this.A=new fe;this.size=0;a&&this.addAll(a)},ke=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ca(a):b.slice(0,1)+a};h=je.prototype;h.R=function(){return this.A.size};h.add=function(a){this.A.set(ke(a),a);this.mb(this.A.size)};h.addAll=function(a){a=Mc(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.mb(this.A.size)};h.fd=function(a){a=Mc(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.mb(this.A.size)};
|
|
h.delete=function(a){a=this.A.remove(ke(a));this.mb(this.A.size);return a};h.remove=function(a){return this.delete(a)};h.clear=function(){this.A.clear();this.mb(0)};h.isEmpty=function(){return 0===this.A.size};h.has=function(a){return this.A.Pb(ke(a))};h.contains=function(a){return this.A.Pb(ke(a))};var le=function(a,b){var c=new je;b=Mc(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},me=function(a,b){a=a.clone();a.fd(b);return a};je.prototype.aa=function(){return this.A.aa()};
|
|
je.prototype.values=function(){return this.A.values()};je.prototype.clone=function(){return new je(this)};je.prototype.equals=function(a){return this.R()==Lc(a)&&ne(this,a)};var ne=function(a,b){var c=Lc(b);if(a.R()>c)return!1;!(b instanceof je)&&5<c&&(b=new je(b));return Pc(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Hc&&"function"==typeof e.Hc?e.Hc(d):ya(e)||"string"===typeof e?cc(e,d):cb(e,d)})};je.prototype.Da=function(){return this.A.Da(!1)};
|
|
je.prototype[Symbol.iterator]=function(){return this.values()};je.prototype.mb=function(a){this.size=a};var oe=function(a,b,c){J.call(this);this.il=b;this.token=c;this.Ab=[];this.ug=new je;this.yb=0;this.url=a};x(oe,J);w("ee.AbstractOverlay",oe);var pe=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.il,c,e,b.y].join("/")};oe.prototype.Mc=function(){return this.Ab.length};var qe=function(a){H.call(this,"tileevent");this.count=a};x(qe,H);var re={zc:"ADMIN_READ",Ac:"DATA_READ",Bc:"DATA_WRITE",bk:"LOG_TYPE_UNSPECIFIED",values:function(){return[re.bk,re.zc,re.Bc,re.Ac]}},se={zc:"ADMIN_READ",xe:"ADMIN_WRITE",Ac:"DATA_READ",Bc:"DATA_WRITE",Fe:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[se.Fe,se.zc,se.xe,se.Ac,se.Bc]}},te={cj:"AUTO_APPEAL_ELIGIBLE",gj:"CAPABILITY_GROUP_UNSPECIFIED",ij:"CLOUD_ALPHA",Dj:"EXTERNAL",Uj:"INTERNAL",Xj:"LIMITED",jk:"PREAUTHORIZED",lk:"PREVIEW",Dc:"PUBLIC",nk:"RESTRICTED",values:function(){return[te.gj,
|
|
te.Dc,te.Uj,te.Dj,te.Xj,te.jk,te.lk,te.ij,te.nk,te.cj]}},ue={Vi:"ADMIN_ACTIVITY",tj:"DATA_ACCESS",Dk:"UNSPECIFIED_LOG_NAME",values:function(){return[ue.Dk,ue.Vi,ue.tj]}},ve={zc:"ADMIN_READ",xe:"ADMIN_WRITE",Ac:"DATA_READ",Bc:"DATA_WRITE",Fe:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[ve.Fe,ve.zc,ve.xe,ve.Ac,ve.Bc]}},we={wj:"DEFAULT_OBJECT_ACL",Dc:"PUBLIC",yk:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[we.yk,we.Dc,we.wj]}},xe={Yi:"APPROVER",aj:"ATTRIBUTION",bj:"AUTHORITY",nj:"CREDENTIALS_TYPE",
|
|
oj:"CREDS_ASSERTION",Wj:"JUSTIFICATION_TYPE",Ee:"NO_ATTR",qk:"SECURITY_REALM",values:function(){return[xe.Ee,xe.bj,xe.aj,xe.qk,xe.Yi,xe.Wj,xe.nj,xe.oj]}},ye={Bj:"DISCHARGED",Cj:"EQUALS",Oj:"IN",dk:"NOT_EQUALS",ek:"NOT_IN",gk:"NO_OP",values:function(){return[ye.gk,ye.Cj,ye.dk,ye.Oj,ye.ek,ye.Bj]}},ze={Vj:"IP",ck:"NAME",Ee:"NO_ATTR",mk:"REGION",rk:"SERVICE",values:function(){return[ze.Ee,ze.mk,ze.rk,ze.ck,ze.Vj]}},Ae={Zj:"LOG_FAIL_CLOSED",ak:"LOG_MODE_UNSPECIFIED",values:function(){return[Ae.ak,Ae.Zj]}},
|
|
Be={hj:"CLASSIFIER",Fj:"FEATURE_VIEW",Hj:"FOLDER",Lj:"IMAGE",Mj:"IMAGE_COLLECTION",xk:"TABLE",Je:"TYPE_UNSPECIFIED",values:function(){return[Be.Je,Be.Lj,Be.Mj,Be.xk,Be.Hj,Be.hj,Be.Fj]}},Ce={Bb:"AUTO_JPEG_PNG",Cb:"GEO_TIFF",Db:"IMAGE_FILE_FORMAT_UNSPECIFIED",Eb:"JPEG",Fb:"MULTI_BAND_IMAGE_TILE",Gb:"NPY",Hb:"PNG",Ib:"TF_RECORD_IMAGE",Jb:"ZIPPED_GEO_TIFF",Kb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Ce.Db,Ce.Eb,Ce.Hb,Ce.Bb,Ce.Gb,Ce.Cb,Ce.Ib,Ce.Fb,Ce.Jb,Ce.Kb]}},De={Ek:"V1",Fk:"V2",Gk:"VERSION_UNSPECIFIED",
|
|
values:function(){return[De.Gk,De.Ek,De.Fk]}},Ee={dj:"BOOLEAN",vj:"DATE_TIME",Cc:"DOUBLE",Tj:"INTEGER",vk:"STRING",Je:"TYPE_UNSPECIFIED",values:function(){return[Ee.Je,Ee.Tj,Ee.dj,Ee.Cc,Ee.vk,Ee.vj]}},Fe={Gj:"FEATURE_VIEW_ASSET_PERMISSIONS_UNSPECIFIED",Dc:"PUBLIC",values:function(){return[Fe.Gj,Fe.Dc]}},Ge={Bb:"AUTO_JPEG_PNG",Cb:"GEO_TIFF",Db:"IMAGE_FILE_FORMAT_UNSPECIFIED",Eb:"JPEG",Fb:"MULTI_BAND_IMAGE_TILE",Gb:"NPY",Hb:"PNG",Ib:"TF_RECORD_IMAGE",Jb:"ZIPPED_GEO_TIFF",Kb:"ZIPPED_GEO_TIFF_PER_BAND",
|
|
values:function(){return[Ge.Db,Ge.Eb,Ge.Hb,Ge.Bb,Ge.Gb,Ge.Cb,Ge.Ib,Ge.Fb,Ge.Jb,Ge.Kb]}},He={Kj:"HORIZONTAL",hk:"ORIENTATION_UNSPECIFIED",Hk:"VERTICAL",values:function(){return[He.hk,He.Kj,He.Hk]}},Ie={MAX:"MAX",ab:"MEAN",bb:"MEDIAN",MIN:"MIN",cb:"MODE",eb:"PYRAMIDING_POLICY_UNSPECIFIED",fb:"SAMPLE",values:function(){return[Ie.eb,Ie.ab,Ie.fb,Ie.MIN,Ie.MAX,Ie.cb,Ie.bb]}},Je={MAX:"MAX",ab:"MEAN",bb:"MEDIAN",MIN:"MIN",cb:"MODE",eb:"PYRAMIDING_POLICY_UNSPECIFIED",fb:"SAMPLE",values:function(){return[Je.eb,
|
|
Je.ab,Je.fb,Je.MIN,Je.MAX,Je.cb,Je.bb]}},Ke={MAX:"MAX",ab:"MEAN",bb:"MEDIAN",MIN:"MIN",cb:"MODE",eb:"PYRAMIDING_POLICY_UNSPECIFIED",fb:"SAMPLE",values:function(){return[Ke.eb,Ke.ab,Ke.fb,Ke.MIN,Ke.MAX,Ke.cb,Ke.bb]}},Le={Bb:"AUTO_JPEG_PNG",Cb:"GEO_TIFF",Db:"IMAGE_FILE_FORMAT_UNSPECIFIED",Eb:"JPEG",Fb:"MULTI_BAND_IMAGE_TILE",Gb:"NPY",Hb:"PNG",Ib:"TF_RECORD_IMAGE",Jb:"ZIPPED_GEO_TIFF",Kb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Le.Db,Le.Eb,Le.Hb,Le.Bb,Le.Gb,Le.Cb,Le.Ib,Le.Fb,Le.Jb,Le.Kb]}},
|
|
Me={MAX:"MAX",ab:"MEAN",bb:"MEDIAN",MIN:"MIN",cb:"MODE",eb:"PYRAMIDING_POLICY_UNSPECIFIED",fb:"SAMPLE",values:function(){return[Me.eb,Me.ab,Me.fb,Me.MIN,Me.MAX,Me.cb,Me.bb]}},Ne={Nj:"IMPORT_MODE_UNSPECIFIED",Pj:"INGEST",Ik:"VIRTUAL",values:function(){return[Ne.Nj,Ne.Pj,Ne.Ik]}},Oe={ej:"CANCELLED",fj:"CANCELLING",Ej:"FAILED",ik:"PENDING",pk:"RUNNING",uk:"STATE_UNSPECIFIED",wk:"SUCCEEDED",values:function(){return[Oe.uk,Oe.ik,Oe.pk,Oe.fj,Oe.wk,Oe.ej,Oe.Ej]}},Pe={sk:"SEVERE",tk:"SEVERITY_UNSPECIFIED",
|
|
Jk:"WARNING",values:function(){return[Pe.tk,Pe.Jk,Pe.sk]}},Qe={Cc:"DOUBLE",FLOAT:"FLOAT",INT:"INT",kk:"PRECISION_UNSPECIFIED",values:function(){return[Qe.kk,Qe.INT,Qe.FLOAT,Qe.Cc]}},Re={Zi:"ASCENDING",zj:"DESCENDING",Aj:"DIRECTION_UNSPECIFIED",values:function(){return[Re.Aj,Re.Zi,Re.zj]}},Se={Wi:"ALLOW",Xi:"ALLOW_WITH_LOG",xj:"DENY",yj:"DENY_WITH_LOG",Yj:"LOG",fk:"NO_ACTION",values:function(){return[Se.fk,Se.Wi,Se.Xi,Se.xj,Se.yj,Se.Yj]}},Te={ye:"CSV",ze:"GEO_JSON",Be:"KML",Ce:"KMZ",Ge:"SHP",He:"TABLE_FILE_FORMAT_UNSPECIFIED",
|
|
Ie:"TF_RECORD_TABLE",values:function(){return[Te.He,Te.ye,Te.ze,Te.Be,Te.Ce,Te.Ge,Te.Ie]}},Ue={ye:"CSV",ze:"GEO_JSON",Be:"KML",Ce:"KMZ",Ge:"SHP",He:"TABLE_FILE_FORMAT_UNSPECIFIED",Ie:"TF_RECORD_TABLE",values:function(){return[Ue.He,Ue.ye,Ue.ze,Ue.Be,Ue.Ce,Ue.Ge,Ue.Ie]}},Ve={jj:"COLUMN_DATA_TYPE_LONG",kj:"COLUMN_DATA_TYPE_NUMERIC",lj:"COLUMN_DATA_TYPE_STRING",mj:"COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[Ve.mj,Ve.lj,Ve.kj,Ve.jj]}},We={pj:"CSV_COLUMN_DATA_TYPE_LONG",qj:"CSV_COLUMN_DATA_TYPE_NUMERIC",
|
|
rj:"CSV_COLUMN_DATA_TYPE_STRING",sj:"CSV_COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[We.sj,We.rj,We.qj,We.pj]}},Xe={Ij:"GLOBALLY_CONSISTENT",Jj:"HIGHER_DENSITY",Ck:"UNKNOWN_THINNING_STRATEGY",values:function(){return[Xe.Ck,Xe.Ij,Xe.Jj]}},Ye={Bb:"AUTO_JPEG_PNG",Cb:"GEO_TIFF",Db:"IMAGE_FILE_FORMAT_UNSPECIFIED",Eb:"JPEG",Fb:"MULTI_BAND_IMAGE_TILE",Gb:"NPY",Hb:"PNG",Ib:"TF_RECORD_IMAGE",Jb:"ZIPPED_GEO_TIFF",Kb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Ye.Db,Ye.Eb,Ye.Hb,Ye.Bb,Ye.Gb,
|
|
Ye.Cb,Ye.Ib,Ye.Fb,Ye.Jb,Ye.Kb]}},Ze={MAX:"MAX",ab:"MEAN",bb:"MEDIAN",MIN:"MIN",cb:"MODE",eb:"PYRAMIDING_POLICY_UNSPECIFIED",fb:"SAMPLE",values:function(){return[Ze.eb,Ze.ab,Ze.fb,Ze.MIN,Ze.MAX,Ze.cb,Ze.bb]}},$e={uj:"DATA_TYPE_UNSPECIFIED",Cc:"DOUBLE",FLOAT:"FLOAT",Qj:"INT16",Rj:"INT32",Sj:"INT8",zk:"UINT16",Ak:"UINT32",Bk:"UINT8",values:function(){return[$e.uj,$e.Sj,$e.Bk,$e.Qj,$e.zk,$e.Rj,$e.Ak,$e.FLOAT,$e.Cc]}},af={Ae:"GIF",De:"MP4",Ke:"VIDEO_FILE_FORMAT_UNSPECIFIED",Le:"VP9",values:function(){return[af.Ke,
|
|
af.De,af.Ae,af.Le]}},bf={Ae:"GIF",De:"MP4",Ke:"VIDEO_FILE_FORMAT_UNSPECIFIED",Le:"VP9",values:function(){return[bf.Ke,bf.De,bf.Ae,bf.Le]}},cf=function(a){a=void 0===a?{}:a;this.h={};this.h.scaleX=null==a.cg?null:a.cg;this.h.shearX=null==a.hg?null:a.hg;this.h.translateX=null==a.yg?null:a.yg;this.h.shearY=null==a.ig?null:a.ig;this.h.scaleY=null==a.dg?null:a.dg;this.h.translateY=null==a.zg?null:a.zg};q(cf,y);cf.prototype.i=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
k.Object.defineProperties(cf.prototype,{cg:{configurable:!0,enumerable:!0,get:function(){return B(this,"scaleX")?z(this,"scaleX"):null},set:function(a){this.h.scaleX=a}},dg:{configurable:!0,enumerable:!0,get:function(){return B(this,"scaleY")?z(this,"scaleY"):null},set:function(a){this.h.scaleY=a}},hg:{configurable:!0,enumerable:!0,get:function(){return B(this,"shearX")?z(this,"shearX"):null},set:function(a){this.h.shearX=a}},ig:{configurable:!0,enumerable:!0,get:function(){return B(this,"shearY")?
|
|
z(this,"shearY"):null},set:function(a){this.h.shearY=a}},yg:{configurable:!0,enumerable:!0,get:function(){return B(this,"translateX")?z(this,"translateX"):null},set:function(a){this.h.translateX=a}},zg:{configurable:!0,enumerable:!0,get:function(){return B(this,"translateY")?z(this,"translateY"):null},set:function(a){this.h.translateY=a}}});
|
|
var df=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.description=null==a.description?null:a.description;this.h.returnType=null==a.bg?null:a.bg;this.h.arguments=null==a.arguments?null:a.arguments;this.h.deprecated=null==a.deprecated?null:a.deprecated;this.h.deprecationReason=null==a.ef?null:a.ef;this.h.hidden=null==a.hidden?null:a.hidden;this.h.preview=null==a.preview?null:a.preview;this.h.sourceCodeUri=null==a.sourceCodeUri?null:a.sourceCodeUri};q(df,y);
|
|
df.prototype.i=function(){return{P:{arguments:ef},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
|
|
k.Object.defineProperties(df.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return B(this,"arguments")?z(this,"arguments"):null},set:function(a){this.h.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return B(this,"deprecated")?z(this,"deprecated"):null},set:function(a){this.h.deprecated=a}},ef:{configurable:!0,enumerable:!0,get:function(){return B(this,"deprecationReason")?z(this,"deprecationReason"):null},set:function(a){this.h.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return B(this,"hidden")?z(this,"hidden"):null},set:function(a){this.h.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,"name")?z(this,"name"):null},set:function(a){this.h.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return B(this,"preview")?z(this,"preview"):null},set:function(a){this.h.preview=
|
|
a}},bg:{configurable:!0,enumerable:!0,get:function(){return B(this,"returnType")?z(this,"returnType"):null},set:function(a){this.h.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return B(this,"sourceCodeUri")?z(this,"sourceCodeUri"):null},set:function(a){this.h.sourceCodeUri=a}}});
|
|
var ef=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.vd?null:a.vd;this.h.type=null==a.type?null:a.type;this.h.description=null==a.description?null:a.description;this.h.optional=null==a.optional?null:a.optional;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue};q(ef,y);ef.prototype.i=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
k.Object.defineProperties(ef.prototype,{vd:{configurable:!0,enumerable:!0,get:function(){return B(this,"argumentName")?z(this,"argumentName"):null},set:function(a){this.h.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return B(this,"defaultValue")?z(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"optional")?z(this,"optional"):null},set:function(a){this.h.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return B(this,"type")?z(this,"type"):null},set:function(a){this.h.type=a}}});var ff=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(ff,y);ff.prototype.i=function(){return{P:{values:gf},keys:["values"]}};
|
|
k.Object.defineProperties(ff.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return B(this,"values")?z(this,"values"):null},set:function(a){this.h.values=a}}});var hf=function(a){a=void 0===a?{}:a;this.h={};this.h.service=null==a.xi?null:a.xi;this.h.auditLogConfigs=null==a.Lg?null:a.Lg};q(hf,y);hf.prototype.i=function(){return{P:{auditLogConfigs:jf},keys:["auditLogConfigs","service"]}};
|
|
k.Object.defineProperties(hf.prototype,{Lg:{configurable:!0,enumerable:!0,get:function(){return B(this,"auditLogConfigs")?z(this,"auditLogConfigs"):null},set:function(a){this.h.auditLogConfigs=a}},xi:{configurable:!0,enumerable:!0,get:function(){return B(this,"service")?z(this,"service"):null},set:function(a){this.h.service=a}}});
|
|
var jf=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Rh?null:a.Rh;this.h.exemptedMembers=null==a.sh?null:a.sh;this.h.ignoreChildExemptions=null==a.Fh?null:a.Fh};q(jf,y);jf.prototype.i=function(){return{H:{logType:re},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
k.Object.defineProperties(jf.prototype,{sh:{configurable:!0,enumerable:!0,get:function(){return B(this,"exemptedMembers")?z(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},Fh:{configurable:!0,enumerable:!0,get:function(){return B(this,"ignoreChildExemptions")?z(this,"ignoreChildExemptions"):null},set:function(a){this.h.ignoreChildExemptions=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return B(this,"logType")?z(this,"logType"):null},set:function(a){this.h.logType=
|
|
a}}});var kf=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.bd?null:a.bd};q(kf,y);kf.prototype.i=function(){return{H:{permissionType:se},keys:["permissionType"]}};k.Object.defineProperties(kf.prototype,{bd:{configurable:!0,enumerable:!0,get:function(){return B(this,"permissionType")?z(this,"permissionType"):null},set:function(a){this.h.permissionType=a}}});
|
|
var lf=function(a){a=void 0===a?{}:a;this.h={};this.h.table=null==a.table?null:a.table;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.append=null==a.append?null:a.append};q(lf,y);lf.prototype.i=function(){return{keys:["append","overwrite","table"]}};
|
|
k.Object.defineProperties(lf.prototype,{append:{configurable:!0,enumerable:!0,get:function(){return B(this,"append")?z(this,"append"):null},set:function(a){this.h.append=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return B(this,"overwrite")?z(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},table:{configurable:!0,enumerable:!0,get:function(){return B(this,"table")?z(this,"table"):null},set:function(a){this.h.table=a}}});
|
|
var mf=function(a){a=void 0===a?{}:a;this.h={};this.h.bigqueryDestination=null==a.Qe?null:a.Qe};q(mf,y);mf.prototype.i=function(){return{keys:["bigqueryDestination"],o:{bigqueryDestination:lf}}};k.Object.defineProperties(mf.prototype,{Qe:{configurable:!0,enumerable:!0,get:function(){return B(this,"bigqueryDestination")?z(this,"bigqueryDestination"):null},set:function(a){this.h.bigqueryDestination=a}}});
|
|
var nf=function(a){a=void 0===a?{}:a;this.h={};this.h.role=null==a.role?null:a.role;this.h.members=null==a.Xb?null:a.Xb;this.h.condition=null==a.Zg?null:a.Zg;this.h.bindingId=null==a.Og?null:a.Og};q(nf,y);nf.prototype.i=function(){return{keys:["bindingId","condition","members","role"],o:{condition:of}}};
|
|
k.Object.defineProperties(nf.prototype,{Og:{configurable:!0,enumerable:!0,get:function(){return B(this,"bindingId")?z(this,"bindingId"):null},set:function(a){this.h.bindingId=a}},Zg:{configurable:!0,enumerable:!0,get:function(){return B(this,"condition")?z(this,"condition"):null},set:function(a){this.h.condition=a}},Xb:{configurable:!0,enumerable:!0,get:function(){return B(this,"members")?z(this,"members"):null},set:function(a){this.h.members=a}},role:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"role")?z(this,"role"):null},set:function(a){this.h.role=a}}});var pf=function(){this.h={}};q(pf,y);pf.prototype.i=function(){return{keys:[]}};var qf=function(a){a=void 0===a?{}:a;this.h={};this.h.capabilities=null==a.Ug?null:a.Ug};q(qf,y);qf.prototype.i=function(){return{H:{capabilities:te},keys:["capabilities"]}};
|
|
k.Object.defineProperties(qf.prototype,{Ug:{configurable:!0,enumerable:!0,get:function(){return B(this,"capabilities")?z(this,"capabilities"):null},set:function(a){this.h.capabilities=a}}});var rf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ha?null:a.Ha};q(rf,y);rf.prototype.i=function(){return{keys:["earthEngineDestination"],o:{earthEngineDestination:sf}}};
|
|
k.Object.defineProperties(rf.prototype,{Ha:{configurable:!0,enumerable:!0,get:function(){return B(this,"earthEngineDestination")?z(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var tf=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Qh?null:a.Qh;this.h.authorizationLoggingOptions=null==a.Mg?null:a.Mg;this.h.permissionType=null==a.bd?null:a.bd};q(tf,y);
|
|
tf.prototype.i=function(){return{H:{logName:ue,permissionType:ve},keys:["authorizationLoggingOptions","logName","permissionType"],o:{authorizationLoggingOptions:kf}}};
|
|
k.Object.defineProperties(tf.prototype,{Mg:{configurable:!0,enumerable:!0,get:function(){return B(this,"authorizationLoggingOptions")?z(this,"authorizationLoggingOptions"):null},set:function(a){this.h.authorizationLoggingOptions=a}},Qh:{configurable:!0,enumerable:!0,get:function(){return B(this,"logName")?z(this,"logName"):null},set:function(a){this.h.logName=a}},bd:{configurable:!0,enumerable:!0,get:function(){return B(this,"permissionType")?z(this,"permissionType"):null},set:function(a){this.h.permissionType=
|
|
a}}});var uf=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.Te?null:a.Te;this.h.filenamePrefix=null==a.xa?null:a.xa;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.Ue?null:a.Ue};q(uf,y);uf.prototype.i=function(){return{H:{permissions:we},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
k.Object.defineProperties(uf.prototype,{Te:{configurable:!0,enumerable:!0,get:function(){return B(this,"bucket")?z(this,"bucket"):null},set:function(a){this.h.bucket=a}},Ue:{configurable:!0,enumerable:!0,get:function(){return B(this,"bucketCorsUris")?z(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},xa:{configurable:!0,enumerable:!0,get:function(){return B(this,"filenamePrefix")?z(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"permissions")?z(this,"permissions"):null},set:function(a){this.h.permissions=a}}});k.Object.defineProperties(uf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return we}}});var vf=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris};q(vf,y);vf.prototype.i=function(){return{keys:["uris"]}};
|
|
k.Object.defineProperties(vf.prototype,{uris:{configurable:!0,enumerable:!0,get:function(){return B(this,"uris")?z(this,"uris"):null},set:function(a){this.h.uris=a}}});var wf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};q(wf,y);wf.prototype.i=function(){return{keys:["expression","workloadTag"],o:{expression:xf}}};
|
|
k.Object.defineProperties(wf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return B(this,"workloadTag")?z(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});var yf=function(a){a=void 0===a?{}:a;this.h={};this.h.result=null==a.result?null:a.result};q(yf,y);yf.prototype.i=function(){return{keys:["result"]}};
|
|
k.Object.defineProperties(yf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return B(this,"result")?z(this,"result"):null},set:function(a){this.h.result=a}}});var zf=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.Eh?null:a.Eh;this.h.sys=null==a.Hi?null:a.Hi;this.h.svc=null==a.Gi?null:a.Gi;this.h.op=null==a.fi?null:a.fi;this.h.values=null==a.values?null:a.values};q(zf,y);zf.prototype.i=function(){return{H:{iam:xe,op:ye,sys:ze},keys:["iam","op","svc","sys","values"]}};
|
|
k.Object.defineProperties(zf.prototype,{Eh:{configurable:!0,enumerable:!0,get:function(){return B(this,"iam")?z(this,"iam"):null},set:function(a){this.h.iam=a}},fi:{configurable:!0,enumerable:!0,get:function(){return B(this,"op")?z(this,"op"):null},set:function(a){this.h.op=a}},Gi:{configurable:!0,enumerable:!0,get:function(){return B(this,"svc")?z(this,"svc"):null},set:function(a){this.h.svc=a}},Hi:{configurable:!0,enumerable:!0,get:function(){return B(this,"sys")?z(this,"sys"):null},set:function(a){this.h.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return B(this,"values")?z(this,"values"):null},set:function(a){this.h.values=a}}});var Af=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Qb?null:a.Qb;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.bandIds=null==a.da?null:a.da};q(Af,y);Af.prototype.i=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
k.Object.defineProperties(Af.prototype,{da:{configurable:!0,enumerable:!0,get:function(){return B(this,"bandIds")?z(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Qb:{configurable:!0,enumerable:!0,get:function(){return B(this,"destinationName")?z(this,"destinationName"):null},set:function(a){this.h.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return B(this,"overwrite")?z(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
|
|
var Bf=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Th?null:a.Th;this.h.field=null==a.uh?null:a.uh;this.h.customFields=null==a.kh?null:a.kh};q(Bf,y);Bf.prototype.i=function(){return{P:{customFields:Cf},keys:["customFields","field","metric"]}};
|
|
k.Object.defineProperties(Bf.prototype,{kh:{configurable:!0,enumerable:!0,get:function(){return B(this,"customFields")?z(this,"customFields"):null},set:function(a){this.h.customFields=a}},uh:{configurable:!0,enumerable:!0,get:function(){return B(this,"field")?z(this,"field"):null},set:function(a){this.h.field=a}},Th:{configurable:!0,enumerable:!0,get:function(){return B(this,"metric")?z(this,"metric"):null},set:function(a){this.h.metric=a}}});
|
|
var Cf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.value=null==a.value?null:a.value};q(Cf,y);Cf.prototype.i=function(){return{keys:["name","value"]}};k.Object.defineProperties(Cf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return B(this,"name")?z(this,"name"):null},set:function(a){this.h.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return B(this,"value")?z(this,"value"):null},set:function(a){this.h.value=a}}});
|
|
var Df=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Ph?null:a.Ph;this.h.isDirectAuth=null==a.Ih?null:a.Ih};q(Df,y);Df.prototype.i=function(){return{H:{logMode:Ae},keys:["isDirectAuth","logMode"]}};
|
|
k.Object.defineProperties(Df.prototype,{Ih:{configurable:!0,enumerable:!0,get:function(){return B(this,"isDirectAuth")?z(this,"isDirectAuth"):null},set:function(a){this.h.isDirectAuth=a}},Ph:{configurable:!0,enumerable:!0,get:function(){return B(this,"logMode")?z(this,"logMode"):null},set:function(a){this.h.logMode=a}}});var Ef=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Ef,y);
|
|
Ef.prototype.i=function(){return{keys:["values"],Ma:{values:{ka:gf,pa:!1,qa:!0,ra:!1}}}};k.Object.defineProperties(Ef.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return B(this,"values")?z(this,"values"):null},set:function(a){this.h.values=a}}});var Ff=function(a){a=void 0===a?{}:a;this.h={};this.h.min=null==a.min?null:a.min;this.h.max=null==a.max?null:a.max};q(Ff,y);Ff.prototype.i=function(){return{keys:["max","min"]}};
|
|
k.Object.defineProperties(Ff.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return B(this,"max")?z(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return B(this,"min")?z(this,"min"):null},set:function(a){this.h.min=a}}});var Gf=function(a){a=void 0===a?{}:a;this.h={};this.h.folder=null==a.sf?null:a.sf;this.h.filenamePrefix=null==a.xa?null:a.xa};q(Gf,y);Gf.prototype.i=function(){return{keys:["filenamePrefix","folder"]}};
|
|
k.Object.defineProperties(Gf.prototype,{xa:{configurable:!0,enumerable:!0,get:function(){return B(this,"filenamePrefix")?z(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},sf:{configurable:!0,enumerable:!0,get:function(){return B(this,"folder")?z(this,"folder"):null},set:function(a){this.h.folder=a}}});
|
|
var Hf=function(a){a=void 0===a?{}:a;this.h={};this.h.tilestoreLocation=null==a.tilestoreLocation?null:a.tilestoreLocation;this.h.cloudStorageLocation=null==a.cloudStorageLocation?null:a.cloudStorageLocation;this.h.featureViewAssetLocation=null==a.Id?null:a.Id;this.h.tableLocation=null==a.Ii?null:a.Ii;this.h.type=null==a.type?null:a.type;this.h.name=null==a.name?null:a.name;this.h.id=null==a.id?null:a.id;this.h.updateTime=null==a.updateTime?null:a.updateTime;this.h.properties=null==a.properties?null:
|
|
a.properties;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.geometry=null==a.geometry?null:a.geometry;this.h.bands=null==a.bands?null:a.bands;this.h.sizeBytes=null==a.sizeBytes?null:a.sizeBytes;this.h.featureCount=null==a.featureCount?null:a.featureCount;this.h.quota=null==a.quota?null:a.quota;this.h.expression=null==a.l?null:a.l;this.h.tilesets=null==a.tilesets?null:a.tilesets};q(Hf,y);
|
|
Hf.prototype.i=function(){return{P:{bands:If,tilesets:Jf},H:{type:Be},keys:"bands cloudStorageLocation endTime expression featureCount featureViewAssetLocation geometry id name properties quota sizeBytes startTime tableLocation tilesets tilestoreLocation type updateTime".split(" "),Ma:{geometry:{ka:null,pa:!1,qa:!1,ra:!1},properties:{ka:null,pa:!1,qa:!1,ra:!1}},o:{cloudStorageLocation:vf,expression:xf,featureViewAssetLocation:Kf,quota:Lf,tableLocation:Mf,tilestoreLocation:Nf}}};
|
|
k.Object.defineProperties(Hf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return B(this,"bands")?z(this,"bands"):null},set:function(a){this.h.bands=a}},cloudStorageLocation:{configurable:!0,enumerable:!0,get:function(){return B(this,"cloudStorageLocation")?z(this,"cloudStorageLocation"):null},set:function(a){this.h.cloudStorageLocation=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return B(this,"endTime")?z(this,"endTime"):null},set:function(a){this.h.endTime=a}},l:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},featureCount:{configurable:!0,enumerable:!0,get:function(){return B(this,"featureCount")?z(this,"featureCount"):null},set:function(a){this.h.featureCount=a}},Id:{configurable:!0,enumerable:!0,get:function(){return B(this,"featureViewAssetLocation")?z(this,"featureViewAssetLocation"):null},set:function(a){this.h.featureViewAssetLocation=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return B(this,"geometry")?z(this,"geometry"):null},set:function(a){this.h.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return B(this,"id")?z(this,"id"):null},set:function(a){this.h.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,"name")?z(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return B(this,"properties")?z(this,"properties"):null},set:function(a){this.h.properties=a}},quota:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"quota")?z(this,"quota"):null},set:function(a){this.h.quota=a}},sizeBytes:{configurable:!0,enumerable:!0,get:function(){return B(this,"sizeBytes")?z(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return B(this,"startTime")?z(this,"startTime"):null},set:function(a){this.h.startTime=a}},Ii:{configurable:!0,enumerable:!0,get:function(){return B(this,"tableLocation")?z(this,"tableLocation"):
|
|
null},set:function(a){this.h.tableLocation=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return B(this,"tilesets")?z(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},tilestoreLocation:{configurable:!0,enumerable:!0,get:function(){return B(this,"tilestoreLocation")?z(this,"tilestoreLocation"):null},set:function(a){this.h.tilestoreLocation=a}},type:{configurable:!0,enumerable:!0,get:function(){return B(this,"type")?z(this,"type"):null},set:function(a){this.h.type=a}},updateTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"updateTime")?z(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var sf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.overwrite=null==a.overwrite?null:a.overwrite};q(sf,y);sf.prototype.i=function(){return{keys:["name","overwrite"]}};
|
|
k.Object.defineProperties(sf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return B(this,"name")?z(this,"name"):null},set:function(a){this.h.name=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return B(this,"overwrite")?z(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
|
|
var Of=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.F?null:a.F;this.h.bandIds=null==a.da?null:a.da;this.h.visualizationOptions=null==a.ic?null:a.ic};q(Of,y);Of.prototype.i=function(){return{H:{fileFormat:Ce},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],o:{expression:xf,visualizationOptions:Pf}}};
|
|
k.Object.defineProperties(Of.prototype,{da:{configurable:!0,enumerable:!0,get:function(){return B(this,"bandIds")?z(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileFormat")?z(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"name")?z(this,"name"):null},set:function(a){this.h.name=a}},ic:{configurable:!0,enumerable:!0,get:function(){return B(this,"visualizationOptions")?z(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var Qf=function(){this.h={}};q(Qf,y);Qf.prototype.i=function(){return{keys:[]}};
|
|
var Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.requestId=null==a.requestId?null:a.requestId;this.h.assetExportOptions=null==a.sa?null:a.sa;this.h.maxWorkers=null==a.O?null:a.O;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag;this.h.priority=null==a.priority?null:a.priority};q(Rf,y);
|
|
Rf.prototype.i=function(){return{keys:"assetExportOptions description expression maxWorkers priority requestId workloadTag".split(" "),o:{assetExportOptions:rf,expression:xf}}};
|
|
k.Object.defineProperties(Rf.prototype,{sa:{configurable:!0,enumerable:!0,get:function(){return B(this,"assetExportOptions")?z(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
O:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxWorkers")?z(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},priority:{configurable:!0,enumerable:!0,get:function(){return B(this,"priority")?z(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return B(this,"requestId")?z(this,"requestId"):null},set:function(a){this.h.requestId=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"workloadTag")?z(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Sf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.oa?null:a.oa;this.h.assetExportOptions=null==a.sa?null:a.sa;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.maxPixels=null==a.Pf?null:a.Pf;this.h.grid=null==a.grid?null:a.grid;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.O?null:a.O;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag;this.h.priority=null==a.priority?null:a.priority};
|
|
q(Sf,y);Sf.prototype.i=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkers priority requestId workloadTag".split(" "),o:{assetExportOptions:Tf,expression:xf,fileExportOptions:Uf,grid:Vf}}};
|
|
k.Object.defineProperties(Sf.prototype,{sa:{configurable:!0,enumerable:!0,get:function(){return B(this,"assetExportOptions")?z(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
oa:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileExportOptions")?z(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},grid:{configurable:!0,enumerable:!0,get:function(){return B(this,"grid")?z(this,"grid"):null},set:function(a){this.h.grid=a}},Pf:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxPixels")?z(this,"maxPixels"):null},set:function(a){this.h.maxPixels=a}},O:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxWorkers")?
|
|
z(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},priority:{configurable:!0,enumerable:!0,get:function(){return B(this,"priority")?z(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return B(this,"requestId")?z(this,"requestId"):null},set:function(a){this.h.requestId=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return B(this,"workloadTag")?z(this,"workloadTag"):null},set:function(a){this.h.workloadTag=
|
|
a}}});var Wf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.tileOptions=null==a.ec?null:a.ec;this.h.tileExportOptions=null==a.dc?null:a.dc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.O?null:a.O;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag;this.h.priority=null==a.priority?null:a.priority};q(Wf,y);
|
|
Wf.prototype.i=function(){return{keys:"description expression maxWorkers priority requestId tileExportOptions tileOptions workloadTag".split(" "),o:{expression:xf,tileExportOptions:Uf,tileOptions:Xf}}};
|
|
k.Object.defineProperties(Wf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},O:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxWorkers")?z(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},priority:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"priority")?z(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return B(this,"requestId")?z(this,"requestId"):null},set:function(a){this.h.requestId=a}},dc:{configurable:!0,enumerable:!0,get:function(){return B(this,"tileExportOptions")?z(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},ec:{configurable:!0,enumerable:!0,get:function(){return B(this,"tileOptions")?
|
|
z(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return B(this,"workloadTag")?z(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Yf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.oa?null:a.oa;this.h.assetExportOptions=null==a.sa?null:a.sa;this.h.featureViewExportOptions=null==a.Jd?null:a.Jd;this.h.bigqueryExportOptions=null==a.xd?null:a.xd;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.selectors=null==a.selectors?null:a.selectors;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxErrorMeters=null==a.Vb?null:a.Vb;this.h.maxWorkers=
|
|
null==a.O?null:a.O;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag;this.h.policy=null==a.kb?null:a.kb;this.h.priority=null==a.priority?null:a.priority};q(Yf,y);
|
|
Yf.prototype.i=function(){return{keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkers policy priority requestId selectors workloadTag".split(" "),o:{assetExportOptions:Zf,bigqueryExportOptions:mf,expression:xf,featureViewExportOptions:$f,fileExportOptions:ag,policy:bg}}};
|
|
k.Object.defineProperties(Yf.prototype,{sa:{configurable:!0,enumerable:!0,get:function(){return B(this,"assetExportOptions")?z(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},xd:{configurable:!0,enumerable:!0,get:function(){return B(this,"bigqueryExportOptions")?z(this,"bigqueryExportOptions"):null},set:function(a){this.h.bigqueryExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=
|
|
a}},l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},Jd:{configurable:!0,enumerable:!0,get:function(){return B(this,"featureViewExportOptions")?z(this,"featureViewExportOptions"):null},set:function(a){this.h.featureViewExportOptions=a}},oa:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileExportOptions")?z(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},Vb:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"maxErrorMeters")?z(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxVertices")?z(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},O:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxWorkers")?z(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},kb:{configurable:!0,enumerable:!0,get:function(){return B(this,"policy")?
|
|
z(this,"policy"):null},set:function(a){this.h.policy=a}},priority:{configurable:!0,enumerable:!0,get:function(){return B(this,"priority")?z(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return B(this,"requestId")?z(this,"requestId"):null},set:function(a){this.h.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return B(this,"selectors")?z(this,"selectors"):null},set:function(a){this.h.selectors=a}},workloadTag:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"workloadTag")?z(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var cg=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.videoOptions=null==a.Pa?null:a.Pa;this.h.tileOptions=null==a.ec?null:a.ec;this.h.tileExportOptions=null==a.dc?null:a.dc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.version=null==a.version?null:a.version;this.h.maxWorkers=null==a.O?null:a.O;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag;this.h.priority=null==a.priority?null:a.priority};
|
|
q(cg,y);cg.prototype.i=function(){return{H:{version:De},keys:"description expression maxWorkers priority requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "),o:{expression:xf,tileExportOptions:dg,tileOptions:Xf,videoOptions:eg}}};
|
|
k.Object.defineProperties(cg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},O:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxWorkers")?z(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},priority:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"priority")?z(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return B(this,"requestId")?z(this,"requestId"):null},set:function(a){this.h.requestId=a}},dc:{configurable:!0,enumerable:!0,get:function(){return B(this,"tileExportOptions")?z(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},ec:{configurable:!0,enumerable:!0,get:function(){return B(this,"tileOptions")?
|
|
z(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return B(this,"version")?z(this,"version"):null},set:function(a){this.h.version=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return B(this,"videoOptions")?z(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return B(this,"workloadTag")?z(this,"workloadTag"):null},set:function(a){this.h.workloadTag=
|
|
a}}});var fg=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.videoOptions=null==a.Pa?null:a.Pa;this.h.fileExportOptions=null==a.oa?null:a.oa;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.O?null:a.O;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag;this.h.priority=null==a.priority?null:a.priority};q(fg,y);
|
|
fg.prototype.i=function(){return{keys:"description expression fileExportOptions maxWorkers priority requestId videoOptions workloadTag".split(" "),o:{expression:xf,fileExportOptions:dg,videoOptions:eg}}};
|
|
k.Object.defineProperties(fg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},oa:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileExportOptions")?z(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},O:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"maxWorkers")?z(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},priority:{configurable:!0,enumerable:!0,get:function(){return B(this,"priority")?z(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return B(this,"requestId")?z(this,"requestId"):null},set:function(a){this.h.requestId=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return B(this,"videoOptions")?z(this,"videoOptions"):
|
|
null},set:function(a){this.h.videoOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return B(this,"workloadTag")?z(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});var of=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.location=null==a.location?null:a.location};q(of,y);
|
|
of.prototype.i=function(){return{keys:["description","expression","location","title"]}};
|
|
k.Object.defineProperties(of.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return B(this,"location")?z(this,"location"):null},set:function(a){this.h.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return B(this,"title")?z(this,"title"):null},set:function(a){this.h.title=a}}});var xf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values;this.h.result=null==a.result?null:a.result};q(xf,y);xf.prototype.i=function(){return{keys:["result","values"],Ma:{values:{ka:gf,pa:!1,qa:!0,ra:!1}}}};
|
|
k.Object.defineProperties(xf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return B(this,"result")?z(this,"result"):null},set:function(a){this.h.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return B(this,"values")?z(this,"values"):null},set:function(a){this.h.values=a}}});var gg=function(a){a=void 0===a?{}:a;this.h={};this.h.type=null==a.type?null:a.type;this.h.geometry=null==a.geometry?null:a.geometry;this.h.properties=null==a.properties?null:a.properties};
|
|
q(gg,y);gg.prototype.i=function(){return{keys:["geometry","properties","type"]}};
|
|
k.Object.defineProperties(gg.prototype,{geometry:{configurable:!0,enumerable:!0,get:function(){return B(this,"geometry")?z(this,"geometry"):null},set:function(a){this.h.geometry=a}},properties:{configurable:!0,enumerable:!0,get:function(){return B(this,"properties")?z(this,"properties"):null},set:function(a){this.h.properties=a}},type:{configurable:!0,enumerable:!0,get:function(){return B(this,"type")?z(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var hg=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Nb?null:a.Nb;this.h.mapName=null==a.mapName?null:a.mapName;this.h.name=null==a.name?null:a.name;this.h.visualizationExpression=null==a.Bg?null:a.Bg};q(hg,y);hg.prototype.i=function(){return{keys:["asset","mapName","name","visualizationExpression"],o:{visualizationExpression:xf}}};
|
|
k.Object.defineProperties(hg.prototype,{Nb:{configurable:!0,enumerable:!0,get:function(){return B(this,"asset")?z(this,"asset"):null},set:function(a){this.h.asset=a}},mapName:{configurable:!0,enumerable:!0,get:function(){return B(this,"mapName")?z(this,"mapName"):null},set:function(a){this.h.mapName=a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,"name")?z(this,"name"):null},set:function(a){this.h.name=a}},Bg:{configurable:!0,enumerable:!0,get:function(){return B(this,"visualizationExpression")?
|
|
z(this,"visualizationExpression"):null},set:function(a){this.h.visualizationExpression=a}}});var $f=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewDestination=null==a.lf?null:a.lf;this.h.ingestionTimeParameters=null==a.rc?null:a.rc};q($f,y);$f.prototype.i=function(){return{keys:["featureViewDestination","ingestionTimeParameters"],o:{featureViewDestination:ig,ingestionTimeParameters:jg}}};
|
|
k.Object.defineProperties($f.prototype,{lf:{configurable:!0,enumerable:!0,get:function(){return B(this,"featureViewDestination")?z(this,"featureViewDestination"):null},set:function(a){this.h.featureViewDestination=a}},rc:{configurable:!0,enumerable:!0,get:function(){return B(this,"ingestionTimeParameters")?z(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var kg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.type=null==a.type?null:a.type};q(kg,y);kg.prototype.i=function(){return{H:{type:Ee},keys:["name","type"]}};k.Object.defineProperties(kg.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return B(this,"name")?z(this,"name"):null},set:function(a){this.h.name=a}},type:{configurable:!0,enumerable:!0,get:function(){return B(this,"type")?z(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var ig=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.assetVersion=null==a.Gg?null:a.Gg;this.h.permissions=null==a.permissions?null:a.permissions};q(ig,y);ig.prototype.i=function(){return{H:{permissions:Fe},keys:["assetVersion","name","permissions"]}};
|
|
k.Object.defineProperties(ig.prototype,{Gg:{configurable:!0,enumerable:!0,get:function(){return B(this,"assetVersion")?z(this,"assetVersion"):null},set:function(a){this.h.assetVersion=a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,"name")?z(this,"name"):null},set:function(a){this.h.name=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return B(this,"permissions")?z(this,"permissions"):null},set:function(a){this.h.permissions=a}}});
|
|
k.Object.defineProperties(ig,{Permissions:{configurable:!0,enumerable:!0,get:function(){return Fe}}});var jg=function(a){a=void 0===a?{}:a;this.h={};this.h.thinningOptions=null==a.qg?null:a.qg;this.h.rankingOptions=null==a.Xf?null:a.Xf;this.h.prerenderingOptions=null==a.ii?null:a.ii};q(jg,y);jg.prototype.i=function(){return{keys:["prerenderingOptions","rankingOptions","thinningOptions"],o:{prerenderingOptions:lg,rankingOptions:mg,thinningOptions:ng}}};
|
|
k.Object.defineProperties(jg.prototype,{ii:{configurable:!0,enumerable:!0,get:function(){return B(this,"prerenderingOptions")?z(this,"prerenderingOptions"):null},set:function(a){this.h.prerenderingOptions=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return B(this,"rankingOptions")?z(this,"rankingOptions"):null},set:function(a){this.h.rankingOptions=a}},qg:{configurable:!0,enumerable:!0,get:function(){return B(this,"thinningOptions")?z(this,"thinningOptions"):null},set:function(a){this.h.thinningOptions=
|
|
a}}});var Kf=function(a){a=void 0===a?{}:a;this.h={};this.h.location=null==a.location?null:a.location;this.h.assetOptions=null==a.assetOptions?null:a.assetOptions};q(Kf,y);Kf.prototype.i=function(){return{keys:["assetOptions","location"],o:{assetOptions:og}}};
|
|
k.Object.defineProperties(Kf.prototype,{assetOptions:{configurable:!0,enumerable:!0,get:function(){return B(this,"assetOptions")?z(this,"assetOptions"):null},set:function(a){this.h.assetOptions=a}},location:{configurable:!0,enumerable:!0,get:function(){return B(this,"location")?z(this,"location"):null},set:function(a){this.h.location=a}}});var og=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewAttributes=null==a.th?null:a.th;this.h.ingestionTimeParameters=null==a.rc?null:a.rc};q(og,y);
|
|
og.prototype.i=function(){return{P:{featureViewAttributes:kg},keys:["featureViewAttributes","ingestionTimeParameters"],o:{ingestionTimeParameters:jg}}};
|
|
k.Object.defineProperties(og.prototype,{th:{configurable:!0,enumerable:!0,get:function(){return B(this,"featureViewAttributes")?z(this,"featureViewAttributes"):null},set:function(a){this.h.featureViewAttributes=a}},rc:{configurable:!0,enumerable:!0,get:function(){return B(this,"ingestionTimeParameters")?z(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var pg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.orientation=null==a.orientation?null:a.orientation;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.grid?null:a.grid};q(pg,y);pg.prototype.i=function(){return{H:{fileFormat:Ge,orientation:He},keys:["expression","fileFormat","grid","name","orientation"],o:{expression:xf,grid:Vf}}};
|
|
k.Object.defineProperties(pg.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileFormat")?z(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},grid:{configurable:!0,enumerable:!0,get:function(){return B(this,"grid")?z(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"name")?z(this,"name"):null},set:function(a){this.h.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return B(this,"orientation")?z(this,"orientation"):null},set:function(a){this.h.orientation=a}}});var Lf=function(a){a=void 0===a?{}:a;this.h={};this.h.sizeBytes=null==a.sizeBytes?null:a.sizeBytes;this.h.maxSizeBytes=null==a.Wb?null:a.Wb;this.h.assetCount=null==a.Oe?null:a.Oe;this.h.maxAssets=null==a.Mf?null:a.Mf};q(Lf,y);
|
|
Lf.prototype.i=function(){return{keys:["assetCount","maxAssets","maxSizeBytes","sizeBytes"]}};
|
|
k.Object.defineProperties(Lf.prototype,{Oe:{configurable:!0,enumerable:!0,get:function(){return B(this,"assetCount")?z(this,"assetCount"):null},set:function(a){this.h.assetCount=a}},Mf:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxAssets")?z(this,"maxAssets"):null},set:function(a){this.h.maxAssets=a}},Wb:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxSizeBytes")?z(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},sizeBytes:{configurable:!0,enumerable:!0,
|
|
get:function(){return B(this,"sizeBytes")?z(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});var qg=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentNames=null==a.lc?null:a.lc;this.h.body=null==a.body?null:a.body};q(qg,y);qg.prototype.i=function(){return{keys:["argumentNames","body"]}};
|
|
k.Object.defineProperties(qg.prototype,{lc:{configurable:!0,enumerable:!0,get:function(){return B(this,"argumentNames")?z(this,"argumentNames"):null},set:function(a){this.h.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return B(this,"body")?z(this,"body"):null},set:function(a){this.h.body=a}}});
|
|
var rg=function(a){a=void 0===a?{}:a;this.h={};this.h.functionName=null==a.functionName?null:a.functionName;this.h.functionReference=null==a.Va?null:a.Va;this.h.arguments=null==a.arguments?null:a.arguments};q(rg,y);rg.prototype.i=function(){return{keys:["arguments","functionName","functionReference"],Ma:{arguments:{ka:gf,pa:!1,qa:!0,ra:!1}}}};
|
|
k.Object.defineProperties(rg.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return B(this,"arguments")?z(this,"arguments"):null},set:function(a){this.h.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return B(this,"functionName")?z(this,"functionName"):null},set:function(a){this.h.functionName=a}},Va:{configurable:!0,enumerable:!0,get:function(){return B(this,"functionReference")?z(this,"functionReference"):null},set:function(a){this.h.functionReference=
|
|
a}}});var sg=function(a){a=void 0===a?{}:a;this.h={};this.h.cloudOptimized=null==a.Ve?null:a.Ve;this.h.tileDimensions=null==a.cc?null:a.cc;this.h.skipEmptyFiles=null==a.lg?null:a.lg;this.h.tileSize=null==a.tileSize?null:a.tileSize;this.h.noData=null==a.Qf?null:a.Qf};q(sg,y);sg.prototype.i=function(){return{keys:["cloudOptimized","noData","skipEmptyFiles","tileDimensions","tileSize"],o:{noData:tg,tileDimensions:ug}}};
|
|
k.Object.defineProperties(sg.prototype,{Ve:{configurable:!0,enumerable:!0,get:function(){return B(this,"cloudOptimized")?z(this,"cloudOptimized"):null},set:function(a){this.h.cloudOptimized=a}},Qf:{configurable:!0,enumerable:!0,get:function(){return B(this,"noData")?z(this,"noData"):null},set:function(a){this.h.noData=a}},lg:{configurable:!0,enumerable:!0,get:function(){return B(this,"skipEmptyFiles")?z(this,"skipEmptyFiles"):null},set:function(a){this.h.skipEmptyFiles=a}},cc:{configurable:!0,enumerable:!0,
|
|
get:function(){return B(this,"tileDimensions")?z(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return B(this,"tileSize")?z(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});var vg=function(a){a=void 0===a?{}:a;this.h={};this.h.options=null==a.options?null:a.options};q(vg,y);vg.prototype.i=function(){return{keys:["options"],o:{options:wg}}};
|
|
k.Object.defineProperties(vg.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return B(this,"options")?z(this,"options"):null},set:function(a){this.h.options=a}}});var wg=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.si?null:a.si};q(wg,y);wg.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};
|
|
k.Object.defineProperties(wg.prototype,{si:{configurable:!0,enumerable:!0,get:function(){return B(this,"requestedPolicyVersion")?z(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});var ug=function(a){a=void 0===a?{}:a;this.h={};this.h.width=null==a.width?null:a.width;this.h.height=null==a.height?null:a.height};q(ug,y);ug.prototype.i=function(){return{keys:["height","width"]}};
|
|
k.Object.defineProperties(ug.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return B(this,"height")?z(this,"height"):null},set:function(a){this.h.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return B(this,"width")?z(this,"width"):null},set:function(a){this.h.width=a}}});var xg=function(a){a=void 0===a?{}:a;this.h={};this.h.x=null==a.x?null:a.x;this.h.y=null==a.y?null:a.y};q(xg,y);xg.prototype.i=function(){return{keys:["x","y"]}};
|
|
k.Object.defineProperties(xg.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return B(this,"x")?z(this,"x"):null},set:function(a){this.h.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return B(this,"y")?z(this,"y"):null},set:function(a){this.h.y=a}}});
|
|
var Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ha?null:a.Ha;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.pyramidingPolicyOverrides=null==a.Uf?null:a.Uf;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(Tf,y);
|
|
Tf.prototype.i=function(){return{H:{pyramidingPolicy:Ie,pyramidingPolicyOverrides:Je},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],Ma:{pyramidingPolicyOverrides:{ka:null,pa:!1,qa:!1,ra:!1}},o:{earthEngineDestination:sf}}};
|
|
k.Object.defineProperties(Tf.prototype,{Ha:{configurable:!0,enumerable:!0,get:function(){return B(this,"earthEngineDestination")?z(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return B(this,"pyramidingPolicy")?z(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return B(this,"pyramidingPolicyOverrides")?z(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.h.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return B(this,"tileSize")?z(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});
|
|
var If=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.dataType=null==a.dataType?null:a.dataType;this.h.grid=null==a.grid?null:a.grid;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.missingData=null==a.missingData?null:a.missingData;this.h.tilesetId=null==a.nb?null:a.nb;this.h.tilesetBandIndex=null==a.ld?null:a.ld};q(If,y);
|
|
If.prototype.i=function(){return{P:{tilesets:yg},H:{pyramidingPolicy:Ke},keys:"dataType grid id missingData pyramidingPolicy tilesetBandIndex tilesetId tilesets".split(" "),o:{dataType:zg,grid:Vf,missingData:Ag}}};
|
|
k.Object.defineProperties(If.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return B(this,"dataType")?z(this,"dataType"):null},set:function(a){this.h.dataType=a}},grid:{configurable:!0,enumerable:!0,get:function(){return B(this,"grid")?z(this,"grid"):null},set:function(a){this.h.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return B(this,"id")?z(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return B(this,"missingData")?
|
|
z(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return B(this,"pyramidingPolicy")?z(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},ld:{configurable:!0,enumerable:!0,get:function(){return B(this,"tilesetBandIndex")?z(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},nb:{configurable:!0,enumerable:!0,get:function(){return B(this,"tilesetId")?z(this,"tilesetId"):null},
|
|
set:function(a){this.h.tilesetId=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return B(this,"tilesets")?z(this,"tilesets"):null},set:function(a){this.h.tilesets=a}}});var Uf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.ma?null:a.ma;this.h.cloudStorageDestination=null==a.ja?null:a.ja;this.h.geoTiffOptions=null==a.Kd?null:a.Kd;this.h.tfRecordOptions=null==a.me?null:a.me;this.h.fileFormat=null==a.F?null:a.F};q(Uf,y);
|
|
Uf.prototype.i=function(){return{H:{fileFormat:Le},keys:["cloudStorageDestination","driveDestination","fileFormat","geoTiffOptions","tfRecordOptions"],o:{cloudStorageDestination:uf,driveDestination:Gf,geoTiffOptions:sg,tfRecordOptions:Bg}}};
|
|
k.Object.defineProperties(Uf.prototype,{ja:{configurable:!0,enumerable:!0,get:function(){return B(this,"cloudStorageDestination")?z(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},ma:{configurable:!0,enumerable:!0,get:function(){return B(this,"driveDestination")?z(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileFormat")?z(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},Kd:{configurable:!0,enumerable:!0,get:function(){return B(this,"geoTiffOptions")?z(this,"geoTiffOptions"):null},set:function(a){this.h.geoTiffOptions=a}},me:{configurable:!0,enumerable:!0,get:function(){return B(this,"tfRecordOptions")?z(this,"tfRecordOptions"):null},set:function(a){this.h.tfRecordOptions=a}}});
|
|
var Cg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.od?null:a.od;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.bands=null==a.bands?null:a.bands;this.h.maskBands=null==a.Lf?null:a.Lf;this.h.footprint=null==a.Ah?null:a.Ah;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.startTime=null==a.startTime?
|
|
null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.minTileAreaRatio=null==a.Wh?null:a.Wh;this.h.skipMetadataRead=null==a.Ai?null:a.Ai;this.h.memo=null==a.Wc?null:a.Wc};q(Cg,y);
|
|
Cg.prototype.i=function(){return{P:{bands:Dg,maskBands:Eg,tilesets:Jf},H:{pyramidingPolicy:Me},keys:"bands endTime footprint maskBands memo minTileAreaRatio missingData name properties pyramidingPolicy skipMetadataRead startTime tilesets uriPrefix".split(" "),Ma:{properties:{ka:null,pa:!1,qa:!1,ra:!1}},o:{footprint:Fg,missingData:Ag}}};
|
|
k.Object.defineProperties(Cg.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return B(this,"bands")?z(this,"bands"):null},set:function(a){this.h.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return B(this,"endTime")?z(this,"endTime"):null},set:function(a){this.h.endTime=a}},Ah:{configurable:!0,enumerable:!0,get:function(){return B(this,"footprint")?z(this,"footprint"):null},set:function(a){this.h.footprint=a}},Lf:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"maskBands")?z(this,"maskBands"):null},set:function(a){this.h.maskBands=a}},Wc:{configurable:!0,enumerable:!0,get:function(){return B(this,"memo")?z(this,"memo"):null},set:function(a){this.h.memo=a}},Wh:{configurable:!0,enumerable:!0,get:function(){return B(this,"minTileAreaRatio")?z(this,"minTileAreaRatio"):null},set:function(a){this.h.minTileAreaRatio=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return B(this,"missingData")?z(this,"missingData"):null},set:function(a){this.h.missingData=
|
|
a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,"name")?z(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return B(this,"properties")?z(this,"properties"):null},set:function(a){this.h.properties=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return B(this,"pyramidingPolicy")?z(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Ai:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"skipMetadataRead")?z(this,"skipMetadataRead"):null},set:function(a){this.h.skipMetadataRead=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return B(this,"startTime")?z(this,"startTime"):null},set:function(a){this.h.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return B(this,"tilesets")?z(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},od:{configurable:!0,enumerable:!0,get:function(){return B(this,"uriPrefix")?z(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=
|
|
a}}});var Gg=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris;this.h.affineTransform=null==a.Lb?null:a.Lb;this.h.dimensions=null==a.dimensions?null:a.dimensions};q(Gg,y);Gg.prototype.i=function(){return{keys:["affineTransform","dimensions","uris"],o:{affineTransform:cf,dimensions:ug}}};
|
|
k.Object.defineProperties(Gg.prototype,{Lb:{configurable:!0,enumerable:!0,get:function(){return B(this,"affineTransform")?z(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},dimensions:{configurable:!0,enumerable:!0,get:function(){return B(this,"dimensions")?z(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},uris:{configurable:!0,enumerable:!0,get:function(){return B(this,"uris")?z(this,"uris"):null},set:function(a){this.h.uris=a}}});
|
|
var Hg=function(a){a=void 0===a?{}:a;this.h={};this.h.imageManifest=null==a.Af?null:a.Af;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId;this.h.mode=null==a.mode?null:a.mode};q(Hg,y);Hg.prototype.i=function(){return{H:{mode:Ne},keys:["description","imageManifest","mode","overwrite","requestId"],o:{imageManifest:Cg}}};
|
|
k.Object.defineProperties(Hg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},Af:{configurable:!0,enumerable:!0,get:function(){return B(this,"imageManifest")?z(this,"imageManifest"):null},set:function(a){this.h.imageManifest=a}},mode:{configurable:!0,enumerable:!0,get:function(){return B(this,"mode")?z(this,"mode"):null},set:function(a){this.h.mode=a}},overwrite:{configurable:!0,enumerable:!0,
|
|
get:function(){return B(this,"overwrite")?z(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return B(this,"requestId")?z(this,"requestId"):null},set:function(a){this.h.requestId=a}}});var Ig=function(a){a=void 0===a?{}:a;this.h={};this.h.tableManifest=null==a.pg?null:a.pg;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId};
|
|
q(Ig,y);Ig.prototype.i=function(){return{keys:["description","overwrite","requestId","tableManifest"],o:{tableManifest:Jg}}};
|
|
k.Object.defineProperties(Ig.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return B(this,"overwrite")?z(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return B(this,"requestId")?z(this,"requestId"):null},set:function(a){this.h.requestId=a}},pg:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"tableManifest")?z(this,"tableManifest"):null},set:function(a){this.h.tableManifest=a}}});var Kg=function(a){a=void 0===a?{}:a;this.h={};this.h.algorithms=null==a.Ec?null:a.Ec};q(Kg,y);Kg.prototype.i=function(){return{P:{algorithms:df},keys:["algorithms"]}};k.Object.defineProperties(Kg.prototype,{Ec:{configurable:!0,enumerable:!0,get:function(){return B(this,"algorithms")?z(this,"algorithms"):null},set:function(a){this.h.algorithms=a}}});
|
|
var Lg=function(a){a=void 0===a?{}:a;this.h={};this.h.assets=null==a.assets?null:a.assets;this.h.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};q(Lg,y);Lg.prototype.i=function(){return{P:{assets:Hf},keys:["assets","nextPageToken"]}};
|
|
k.Object.defineProperties(Lg.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return B(this,"assets")?z(this,"assets"):null},set:function(a){this.h.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return B(this,"nextPageToken")?z(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});
|
|
var Mg=function(a){a=void 0===a?{}:a;this.h={};this.h.type=null==a.type?null:a.type;this.h.features=null==a.features?null:a.features;this.h.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};q(Mg,y);Mg.prototype.i=function(){return{P:{features:gg},keys:["features","nextPageToken","type"]}};
|
|
k.Object.defineProperties(Mg.prototype,{features:{configurable:!0,enumerable:!0,get:function(){return B(this,"features")?z(this,"features"):null},set:function(a){this.h.features=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return B(this,"nextPageToken")?z(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},type:{configurable:!0,enumerable:!0,get:function(){return B(this,"type")?z(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var Ng=function(a){a=void 0===a?{}:a;this.h={};this.h.operations=null==a.Na?null:a.Na;this.h.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};q(Ng,y);Ng.prototype.i=function(){return{P:{operations:Og},keys:["nextPageToken","operations"]}};
|
|
k.Object.defineProperties(Ng.prototype,{nextPageToken:{configurable:!0,enumerable:!0,get:function(){return B(this,"nextPageToken")?z(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},Na:{configurable:!0,enumerable:!0,get:function(){return B(this,"operations")?z(this,"operations"):null},set:function(a){this.h.operations=a}}});
|
|
var Pg=function(a){a=void 0===a?{}:a;this.h={};this.h.counter=null==a.counter?null:a.counter;this.h.dataAccess=null==a.lh?null:a.lh;this.h.cloudAudit=null==a.Wg?null:a.Wg};q(Pg,y);Pg.prototype.i=function(){return{keys:["cloudAudit","counter","dataAccess"],o:{cloudAudit:tf,counter:Bf,dataAccess:Df}}};
|
|
k.Object.defineProperties(Pg.prototype,{Wg:{configurable:!0,enumerable:!0,get:function(){return B(this,"cloudAudit")?z(this,"cloudAudit"):null},set:function(a){this.h.cloudAudit=a}},counter:{configurable:!0,enumerable:!0,get:function(){return B(this,"counter")?z(this,"counter"):null},set:function(a){this.h.counter=a}},lh:{configurable:!0,enumerable:!0,get:function(){return B(this,"dataAccess")?z(this,"dataAccess"):null},set:function(a){this.h.dataAccess=a}}});
|
|
var Ag=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Ag,y);Ag.prototype.i=function(){return{keys:["values"]}};k.Object.defineProperties(Ag.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return B(this,"values")?z(this,"values"):null},set:function(a){this.h.values=a}}});var Qg=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Qb?null:a.Qb};q(Qg,y);Qg.prototype.i=function(){return{keys:["destinationName"]}};
|
|
k.Object.defineProperties(Qg.prototype,{Qb:{configurable:!0,enumerable:!0,get:function(){return B(this,"destinationName")?z(this,"destinationName"):null},set:function(a){this.h.destinationName=a}}});var tg=function(a){a=void 0===a?{}:a;this.h={};this.h.floatValue=null==a.qf?null:a.qf;this.h.integerValue=null==a.Wa?null:a.Wa};q(tg,y);tg.prototype.i=function(){return{keys:["floatValue","integerValue"]}};
|
|
k.Object.defineProperties(tg.prototype,{qf:{configurable:!0,enumerable:!0,get:function(){return B(this,"floatValue")?z(this,"floatValue"):null},set:function(a){this.h.floatValue=a}},Wa:{configurable:!0,enumerable:!0,get:function(){return B(this,"integerValue")?z(this,"integerValue"):null},set:function(a){this.h.integerValue=a}}});
|
|
var Og=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.metadata=null==a.metadata?null:a.metadata;this.h.done=null==a.done?null:a.done;this.h.error=null==a.error?null:a.error;this.h.response=null==a.response?null:a.response};q(Og,y);Og.prototype.i=function(){return{keys:["done","error","metadata","name","response"],Ma:{metadata:{ka:null,pa:!1,qa:!1,ra:!1},response:{ka:null,pa:!1,qa:!1,ra:!1}},o:{error:Rg}}};
|
|
k.Object.defineProperties(Og.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return B(this,"done")?z(this,"done"):null},set:function(a){this.h.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return B(this,"error")?z(this,"error"):null},set:function(a){this.h.error=a}},metadata:{configurable:!0,enumerable:!0,get:function(){return B(this,"metadata")?z(this,"metadata"):null},set:function(a){this.h.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"name")?z(this,"name"):null},set:function(a){this.h.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return B(this,"response")?z(this,"response"):null},set:function(a){this.h.response=a}}});
|
|
var Sg=function(a){a=void 0===a?{}:a;this.h={};this.h.state=null==a.state?null:a.state;this.h.description=null==a.description?null:a.description;this.h.type=null==a.type?null:a.type;this.h.priority=null==a.priority?null:a.priority;this.h.createTime=null==a.cf?null:a.cf;this.h.updateTime=null==a.updateTime?null:a.updateTime;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.progress=null==a.progress?null:a.progress;this.h.stages=null==a.Ci?null:
|
|
a.Ci;this.h.attempt=null==a.attempt?null:a.attempt;this.h.scriptUri=null==a.eg?null:a.eg;this.h.destinationUris=null==a.ff?null:a.ff;this.h.notifications=null==a.ai?null:a.ai;this.h.batchEecuUsageSeconds=null==a.wd?null:a.wd};q(Sg,y);Sg.prototype.i=function(){return{P:{notifications:Tg,stages:Ug},H:{state:Oe},keys:"attempt batchEecuUsageSeconds createTime description destinationUris endTime notifications priority progress scriptUri stages startTime state type updateTime".split(" ")}};
|
|
k.Object.defineProperties(Sg.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return B(this,"attempt")?z(this,"attempt"):null},set:function(a){this.h.attempt=a}},wd:{configurable:!0,enumerable:!0,get:function(){return B(this,"batchEecuUsageSeconds")?z(this,"batchEecuUsageSeconds"):null},set:function(a){this.h.batchEecuUsageSeconds=a}},cf:{configurable:!0,enumerable:!0,get:function(){return B(this,"createTime")?z(this,"createTime"):null},set:function(a){this.h.createTime=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},ff:{configurable:!0,enumerable:!0,get:function(){return B(this,"destinationUris")?z(this,"destinationUris"):null},set:function(a){this.h.destinationUris=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return B(this,"endTime")?z(this,"endTime"):null},set:function(a){this.h.endTime=a}},ai:{configurable:!0,enumerable:!0,get:function(){return B(this,"notifications")?z(this,
|
|
"notifications"):null},set:function(a){this.h.notifications=a}},priority:{configurable:!0,enumerable:!0,get:function(){return B(this,"priority")?z(this,"priority"):null},set:function(a){this.h.priority=a}},progress:{configurable:!0,enumerable:!0,get:function(){return B(this,"progress")?z(this,"progress"):null},set:function(a){this.h.progress=a}},eg:{configurable:!0,enumerable:!0,get:function(){return B(this,"scriptUri")?z(this,"scriptUri"):null},set:function(a){this.h.scriptUri=a}},Ci:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"stages")?z(this,"stages"):null},set:function(a){this.h.stages=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return B(this,"startTime")?z(this,"startTime"):null},set:function(a){this.h.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return B(this,"state")?z(this,"state"):null},set:function(a){this.h.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return B(this,"type")?z(this,"type"):null},set:function(a){this.h.type=
|
|
a}},updateTime:{configurable:!0,enumerable:!0,get:function(){return B(this,"updateTime")?z(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var Tg=function(a){a=void 0===a?{}:a;this.h={};this.h.severity=null==a.severity?null:a.severity;this.h.topic=null==a.Ni?null:a.Ni;this.h.detail=null==a.detail?null:a.detail};q(Tg,y);Tg.prototype.i=function(){return{H:{severity:Pe},keys:["detail","severity","topic"]}};
|
|
k.Object.defineProperties(Tg.prototype,{detail:{configurable:!0,enumerable:!0,get:function(){return B(this,"detail")?z(this,"detail"):null},set:function(a){this.h.detail=a}},severity:{configurable:!0,enumerable:!0,get:function(){return B(this,"severity")?z(this,"severity"):null},set:function(a){this.h.severity=a}},Ni:{configurable:!0,enumerable:!0,get:function(){return B(this,"topic")?z(this,"topic"):null},set:function(a){this.h.topic=a}}});
|
|
var Ug=function(a){a=void 0===a?{}:a;this.h={};this.h.displayName=null==a.displayName?null:a.displayName;this.h.completeWorkUnits=null==a.Yg?null:a.Yg;this.h.totalWorkUnits=null==a.Oi?null:a.Oi;this.h.description=null==a.description?null:a.description};q(Ug,y);Ug.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
|
|
k.Object.defineProperties(Ug.prototype,{Yg:{configurable:!0,enumerable:!0,get:function(){return B(this,"completeWorkUnits")?z(this,"completeWorkUnits"):null},set:function(a){this.h.completeWorkUnits=a}},description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},displayName:{configurable:!0,enumerable:!0,get:function(){return B(this,"displayName")?z(this,"displayName"):null},set:function(a){this.h.displayName=
|
|
a}},Oi:{configurable:!0,enumerable:!0,get:function(){return B(this,"totalWorkUnits")?z(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var zg=function(a){a=void 0===a?{}:a;this.h={};this.h.precision=null==a.precision?null:a.precision;this.h.range=null==a.ed?null:a.ed;this.h.dimensionsCount=null==a.ph?null:a.ph};q(zg,y);zg.prototype.i=function(){return{H:{precision:Qe},keys:["dimensionsCount","precision","range"],o:{range:Ff}}};
|
|
k.Object.defineProperties(zg.prototype,{ph:{configurable:!0,enumerable:!0,get:function(){return B(this,"dimensionsCount")?z(this,"dimensionsCount"):null},set:function(a){this.h.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return B(this,"precision")?z(this,"precision"):null},set:function(a){this.h.precision=a}},ed:{configurable:!0,enumerable:!0,get:function(){return B(this,"range")?z(this,"range"):null},set:function(a){this.h.range=a}}});
|
|
var Fg=function(a){a=void 0===a?{}:a;this.h={};this.h.points=null==a.points?null:a.points;this.h.bandId=null==a.Ng?null:a.Ng};q(Fg,y);Fg.prototype.i=function(){return{P:{points:xg},keys:["bandId","points"]}};
|
|
k.Object.defineProperties(Fg.prototype,{Ng:{configurable:!0,enumerable:!0,get:function(){return B(this,"bandId")?z(this,"bandId"):null},set:function(a){this.h.bandId=a}},points:{configurable:!0,enumerable:!0,get:function(){return B(this,"points")?z(this,"points"):null},set:function(a){this.h.points=a}}});
|
|
var Vf=function(a){a=void 0===a?{}:a;this.h={};this.h.crsCode=null==a.df?null:a.df;this.h.crsWkt=null==a.fh?null:a.fh;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.affineTransform=null==a.Lb?null:a.Lb};q(Vf,y);Vf.prototype.i=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],o:{affineTransform:cf,dimensions:ug}}};
|
|
k.Object.defineProperties(Vf.prototype,{Lb:{configurable:!0,enumerable:!0,get:function(){return B(this,"affineTransform")?z(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},df:{configurable:!0,enumerable:!0,get:function(){return B(this,"crsCode")?z(this,"crsCode"):null},set:function(a){this.h.crsCode=a}},fh:{configurable:!0,enumerable:!0,get:function(){return B(this,"crsWkt")?z(this,"crsWkt"):null},set:function(a){this.h.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return B(this,"dimensions")?z(this,"dimensions"):null},set:function(a){this.h.dimensions=a}}});var bg=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.yd?null:a.yd;this.h.auditConfigs=null==a.Kg?null:a.Kg;this.h.rules=null==a.rules?null:a.rules;this.h.etag=null==a.jf?null:a.jf};q(bg,y);bg.prototype.i=function(){return{P:{auditConfigs:hf,bindings:nf,rules:Vg},keys:["auditConfigs","bindings","etag","rules","version"]}};
|
|
k.Object.defineProperties(bg.prototype,{Kg:{configurable:!0,enumerable:!0,get:function(){return B(this,"auditConfigs")?z(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},yd:{configurable:!0,enumerable:!0,get:function(){return B(this,"bindings")?z(this,"bindings"):null},set:function(a){this.h.bindings=a}},jf:{configurable:!0,enumerable:!0,get:function(){return B(this,"etag")?z(this,"etag"):null},set:function(a){this.h.etag=a}},rules:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"rules")?z(this,"rules"):null},set:function(a){this.h.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return B(this,"version")?z(this,"version"):null},set:function(a){this.h.version=a}}});var lg=function(a){a=void 0===a?{}:a;this.h={};this.h.prerenderTiles=null==a.hi?null:a.hi;this.h.tileLimiting=null==a.Ji?null:a.Ji};q(lg,y);lg.prototype.i=function(){return{keys:["prerenderTiles","tileLimiting"],o:{tileLimiting:Wg}}};
|
|
k.Object.defineProperties(lg.prototype,{hi:{configurable:!0,enumerable:!0,get:function(){return B(this,"prerenderTiles")?z(this,"prerenderTiles"):null},set:function(a){this.h.prerenderTiles=a}},Ji:{configurable:!0,enumerable:!0,get:function(){return B(this,"tileLimiting")?z(this,"tileLimiting"):null},set:function(a){this.h.tileLimiting=a}}});var Xg=function(a){a=void 0===a?{}:a;this.h={};this.h.attributeName=null==a.attributeName?null:a.attributeName};q(Xg,y);Xg.prototype.i=function(){return{keys:["attributeName"]}};
|
|
k.Object.defineProperties(Xg.prototype,{attributeName:{configurable:!0,enumerable:!0,get:function(){return B(this,"attributeName")?z(this,"attributeName"):null},set:function(a){this.h.attributeName=a}}});var Yg=function(){this.h={}};q(Yg,y);Yg.prototype.i=function(){return{keys:[]}};var Zg=function(){this.h={}};q(Zg,y);Zg.prototype.i=function(){return{keys:[]}};var $g=function(){this.h={}};q($g,y);$g.prototype.i=function(){return{keys:[]}};
|
|
var ah=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByAttributeRule=null==a.ae?null:a.ae;this.h.rankByMinVisibleLodRule=null==a.ni?null:a.ni;this.h.rankByGeometryTypeRule=null==a.be?null:a.be;this.h.rankByMinZoomLevelRule=null==a.ce?null:a.ce;this.h.direction=null==a.direction?null:a.direction};q(ah,y);
|
|
ah.prototype.i=function(){return{H:{direction:Re},keys:["direction","rankByAttributeRule","rankByGeometryTypeRule","rankByMinVisibleLodRule","rankByMinZoomLevelRule"],o:{rankByAttributeRule:Xg,rankByGeometryTypeRule:Yg,rankByMinVisibleLodRule:Zg,rankByMinZoomLevelRule:$g}}};
|
|
k.Object.defineProperties(ah.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return B(this,"direction")?z(this,"direction"):null},set:function(a){this.h.direction=a}},ae:{configurable:!0,enumerable:!0,get:function(){return B(this,"rankByAttributeRule")?z(this,"rankByAttributeRule"):null},set:function(a){this.h.rankByAttributeRule=a}},be:{configurable:!0,enumerable:!0,get:function(){return B(this,"rankByGeometryTypeRule")?z(this,"rankByGeometryTypeRule"):null},set:function(a){this.h.rankByGeometryTypeRule=
|
|
a}},ni:{configurable:!0,enumerable:!0,get:function(){return B(this,"rankByMinVisibleLodRule")?z(this,"rankByMinVisibleLodRule"):null},set:function(a){this.h.rankByMinVisibleLodRule=a}},ce:{configurable:!0,enumerable:!0,get:function(){return B(this,"rankByMinZoomLevelRule")?z(this,"rankByMinZoomLevelRule"):null},set:function(a){this.h.rankByMinZoomLevelRule=a}}});
|
|
var mg=function(a){a=void 0===a?{}:a;this.h={};this.h.zOrderRankingRule=null==a.Dg?null:a.Dg;this.h.thinningRankingRule=null==a.rg?null:a.rg};q(mg,y);mg.prototype.i=function(){return{keys:["thinningRankingRule","zOrderRankingRule"],o:{thinningRankingRule:bh,zOrderRankingRule:bh}}};
|
|
k.Object.defineProperties(mg.prototype,{rg:{configurable:!0,enumerable:!0,get:function(){return B(this,"thinningRankingRule")?z(this,"thinningRankingRule"):null},set:function(a){this.h.thinningRankingRule=a}},Dg:{configurable:!0,enumerable:!0,get:function(){return B(this,"zOrderRankingRule")?z(this,"zOrderRankingRule"):null},set:function(a){this.h.zOrderRankingRule=a}}});
|
|
var bh=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByOneThingRule=null==a.Wf?null:a.Wf;this.h.pseudoRandomTiebreaking=null==a.mi?null:a.mi};q(bh,y);bh.prototype.i=function(){return{P:{rankByOneThingRule:ah},keys:["pseudoRandomTiebreaking","rankByOneThingRule"]}};
|
|
k.Object.defineProperties(bh.prototype,{mi:{configurable:!0,enumerable:!0,get:function(){return B(this,"pseudoRandomTiebreaking")?z(this,"pseudoRandomTiebreaking"):null},set:function(a){this.h.pseudoRandomTiebreaking=a}},Wf:{configurable:!0,enumerable:!0,get:function(){return B(this,"rankByOneThingRule")?z(this,"rankByOneThingRule"):null},set:function(a){this.h.rankByOneThingRule=a}}});
|
|
var Vg=function(a){a=void 0===a?{}:a;this.h={};this.h.description=null==a.description?null:a.description;this.h.permissions=null==a.permissions?null:a.permissions;this.h.action=null==a.action?null:a.action;this.h["in"]=null==a.Hh?null:a.Hh;this.h.notIn=null==a.Zh?null:a.Zh;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.Oh?null:a.Oh};q(Vg,y);Vg.prototype.i=function(){return{P:{conditions:zf,logConfig:Pg},H:{action:Se},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
k.Object.defineProperties(Vg.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return B(this,"action")?z(this,"action"):null},set:function(a){this.h.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return B(this,"conditions")?z(this,"conditions"):null},set:function(a){this.h.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return B(this,"description")?z(this,"description"):null},set:function(a){this.h.description=a}},Hh:{configurable:!0,enumerable:!0,
|
|
get:function(){return B(this,"in")?z(this,"in"):null},set:function(a){this.h["in"]=a}},Oh:{configurable:!0,enumerable:!0,get:function(){return B(this,"logConfig")?z(this,"logConfig"):null},set:function(a){this.h.logConfig=a}},Zh:{configurable:!0,enumerable:!0,get:function(){return B(this,"notIn")?z(this,"notIn"):null},set:function(a){this.h.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return B(this,"permissions")?z(this,"permissions"):null},set:function(a){this.h.permissions=
|
|
a}}});var ch=function(a){a=void 0===a?{}:a;this.h={};this.h.policy=null==a.kb?null:a.kb;this.h.updateMask=null==a.updateMask?null:a.updateMask};q(ch,y);ch.prototype.i=function(){return{keys:["policy","updateMask"],o:{policy:bg}}};
|
|
k.Object.defineProperties(ch.prototype,{kb:{configurable:!0,enumerable:!0,get:function(){return B(this,"policy")?z(this,"policy"):null},set:function(a){this.h.policy=a}},updateMask:{configurable:!0,enumerable:!0,get:function(){return B(this,"updateMask")?z(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});var Rg=function(a){a=void 0===a?{}:a;this.h={};this.h.code=null==a.code?null:a.code;this.h.message=null==a.message?null:a.message;this.h.details=null==a.details?null:a.details};
|
|
q(Rg,y);Rg.prototype.i=function(){return{keys:["code","details","message"],Ma:{details:{ka:null,pa:!0,qa:!1,ra:!1}}}};
|
|
k.Object.defineProperties(Rg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return B(this,"code")?z(this,"code"):null},set:function(a){this.h.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return B(this,"details")?z(this,"details"):null},set:function(a){this.h.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return B(this,"message")?z(this,"message"):null},set:function(a){this.h.message=a}}});
|
|
var dh=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.F?null:a.F;this.h.selectors=null==a.selectors?null:a.selectors;this.h.filename=null==a.filename?null:a.filename};q(dh,y);dh.prototype.i=function(){return{H:{fileFormat:Ue},keys:["expression","fileFormat","filename","name","selectors"],o:{expression:xf}}};
|
|
k.Object.defineProperties(dh.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileFormat")?z(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return B(this,"filename")?z(this,"filename"):null},set:function(a){this.h.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"name")?z(this,"name"):null},set:function(a){this.h.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return B(this,"selectors")?z(this,"selectors"):null},set:function(a){this.h.selectors=a}}});var Zf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ha?null:a.Ha};q(Zf,y);Zf.prototype.i=function(){return{keys:["earthEngineDestination"],o:{earthEngineDestination:sf}}};
|
|
k.Object.defineProperties(Zf.prototype,{Ha:{configurable:!0,enumerable:!0,get:function(){return B(this,"earthEngineDestination")?z(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var ag=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.ma?null:a.ma;this.h.cloudStorageDestination=null==a.ja?null:a.ja;this.h.fileFormat=null==a.F?null:a.F};q(ag,y);
|
|
ag.prototype.i=function(){return{H:{fileFormat:Te},keys:["cloudStorageDestination","driveDestination","fileFormat"],o:{cloudStorageDestination:uf,driveDestination:Gf}}};
|
|
k.Object.defineProperties(ag.prototype,{ja:{configurable:!0,enumerable:!0,get:function(){return B(this,"cloudStorageDestination")?z(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},ma:{configurable:!0,enumerable:!0,get:function(){return B(this,"driveDestination")?z(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileFormat")?z(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}}});var Mf=function(a){a=void 0===a?{}:a;this.h={};this.h.paths=null==a.paths?null:a.paths;this.h.sizeBytes=null==a.sizeBytes?null:a.sizeBytes;this.h.shardCount=null==a.zi?null:a.zi;this.h.primaryGeometryColumn=null==a.cd?null:a.cd};q(Mf,y);Mf.prototype.i=function(){return{keys:["paths","primaryGeometryColumn","shardCount","sizeBytes"]}};
|
|
k.Object.defineProperties(Mf.prototype,{paths:{configurable:!0,enumerable:!0,get:function(){return B(this,"paths")?z(this,"paths"):null},set:function(a){this.h.paths=a}},cd:{configurable:!0,enumerable:!0,get:function(){return B(this,"primaryGeometryColumn")?z(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},zi:{configurable:!0,enumerable:!0,get:function(){return B(this,"shardCount")?z(this,"shardCount"):null},set:function(a){this.h.shardCount=a}},sizeBytes:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"sizeBytes")?z(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});
|
|
var Jg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.od?null:a.od;this.h.sources=null==a.sources?null:a.sources;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.csvColumnDataTypeOverrides=null==a.gh?null:a.gh;this.h.policy=null==a.kb?null:a.kb;this.h.columnDataTypeOverrides=null==a.Xg?null:a.Xg;this.h.memo=null==a.Wc?null:a.Wc};
|
|
q(Jg,y);Jg.prototype.i=function(){return{P:{sources:eh},H:{columnDataTypeOverrides:Ve,csvColumnDataTypeOverrides:We},keys:"columnDataTypeOverrides csvColumnDataTypeOverrides endTime memo name policy properties sources startTime uriPrefix".split(" "),Ma:{columnDataTypeOverrides:{ka:null,pa:!1,qa:!1,ra:!1},csvColumnDataTypeOverrides:{ka:null,pa:!1,qa:!1,ra:!1},properties:{ka:null,pa:!1,qa:!1,ra:!1}},o:{policy:bg}}};
|
|
k.Object.defineProperties(Jg.prototype,{Xg:{configurable:!0,enumerable:!0,get:function(){return B(this,"columnDataTypeOverrides")?z(this,"columnDataTypeOverrides"):null},set:function(a){this.h.columnDataTypeOverrides=a}},gh:{configurable:!0,enumerable:!0,get:function(){return B(this,"csvColumnDataTypeOverrides")?z(this,"csvColumnDataTypeOverrides"):null},set:function(a){this.h.csvColumnDataTypeOverrides=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return B(this,"endTime")?z(this,"endTime"):
|
|
null},set:function(a){this.h.endTime=a}},Wc:{configurable:!0,enumerable:!0,get:function(){return B(this,"memo")?z(this,"memo"):null},set:function(a){this.h.memo=a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,"name")?z(this,"name"):null},set:function(a){this.h.name=a}},kb:{configurable:!0,enumerable:!0,get:function(){return B(this,"policy")?z(this,"policy"):null},set:function(a){this.h.policy=a}},properties:{configurable:!0,enumerable:!0,get:function(){return B(this,"properties")?
|
|
z(this,"properties"):null},set:function(a){this.h.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return B(this,"sources")?z(this,"sources"):null},set:function(a){this.h.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return B(this,"startTime")?z(this,"startTime"):null},set:function(a){this.h.startTime=a}},od:{configurable:!0,enumerable:!0,get:function(){return B(this,"uriPrefix")?z(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var eh=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris;this.h.charset=null==a.charset?null:a.charset;this.h.maxErrorMeters=null==a.Vb?null:a.Vb;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices;this.h.crs=null==a.crs?null:a.crs;this.h.geodesic=null==a.geodesic?null:a.geodesic;this.h.primaryGeometryColumn=null==a.cd?null:a.cd;this.h.xColumn=null==a.Ri?null:a.Ri;this.h.yColumn=null==a.Ti?null:a.Ti;this.h.dateFormat=null==a.mh?null:a.mh;this.h.csvDelimiter=null==
|
|
a.hh?null:a.hh;this.h.csvQualifier=null==a.ih?null:a.ih};q(eh,y);eh.prototype.i=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
k.Object.defineProperties(eh.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return B(this,"charset")?z(this,"charset"):null},set:function(a){this.h.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return B(this,"crs")?z(this,"crs"):null},set:function(a){this.h.crs=a}},hh:{configurable:!0,enumerable:!0,get:function(){return B(this,"csvDelimiter")?z(this,"csvDelimiter"):null},set:function(a){this.h.csvDelimiter=a}},ih:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"csvQualifier")?z(this,"csvQualifier"):null},set:function(a){this.h.csvQualifier=a}},mh:{configurable:!0,enumerable:!0,get:function(){return B(this,"dateFormat")?z(this,"dateFormat"):null},set:function(a){this.h.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return B(this,"geodesic")?z(this,"geodesic"):null},set:function(a){this.h.geodesic=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxErrorMeters")?z(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxVertices")?z(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},cd:{configurable:!0,enumerable:!0,get:function(){return B(this,"primaryGeometryColumn")?z(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},uris:{configurable:!0,enumerable:!0,get:function(){return B(this,"uris")?z(this,"uris"):null},set:function(a){this.h.uris=a}},Ri:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"xColumn")?z(this,"xColumn"):null},set:function(a){this.h.xColumn=a}},Ti:{configurable:!0,enumerable:!0,get:function(){return B(this,"yColumn")?z(this,"yColumn"):null},set:function(a){this.h.yColumn=a}}});
|
|
var Bg=function(a){a=void 0===a?{}:a;this.h={};this.h.tileDimensions=null==a.cc?null:a.cc;this.h.marginDimensions=null==a.Kf?null:a.Kf;this.h.compress=null==a.Ye?null:a.Ye;this.h.maxSizeBytes=null==a.Wb?null:a.Wb;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue;this.h.tensorDepths=null==a.le?null:a.le;this.h.sequenceData=null==a.fg?null:a.fg;this.h.collapseBands=null==a.We?null:a.We;this.h.maxMaskedRatio=null==a.Of?null:a.Of};q(Bg,y);
|
|
Bg.prototype.i=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),Ma:{tensorDepths:{ka:null,pa:!1,qa:!1,ra:!1}},o:{marginDimensions:ug,tileDimensions:ug}}};
|
|
k.Object.defineProperties(Bg.prototype,{We:{configurable:!0,enumerable:!0,get:function(){return B(this,"collapseBands")?z(this,"collapseBands"):null},set:function(a){this.h.collapseBands=a}},Ye:{configurable:!0,enumerable:!0,get:function(){return B(this,"compress")?z(this,"compress"):null},set:function(a){this.h.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return B(this,"defaultValue")?z(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},Kf:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"marginDimensions")?z(this,"marginDimensions"):null},set:function(a){this.h.marginDimensions=a}},Of:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxMaskedRatio")?z(this,"maxMaskedRatio"):null},set:function(a){this.h.maxMaskedRatio=a}},Wb:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxSizeBytes")?z(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},fg:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"sequenceData")?z(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},le:{configurable:!0,enumerable:!0,get:function(){return B(this,"tensorDepths")?z(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},cc:{configurable:!0,enumerable:!0,get:function(){return B(this,"tileDimensions")?z(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
|
|
var ng=function(a){a=void 0===a?{}:a;this.h={};this.h.maxFeaturesPerTile=null==a.Nf?null:a.Nf;this.h.thinningStrategy=null==a.sg?null:a.sg};q(ng,y);ng.prototype.i=function(){return{H:{thinningStrategy:Xe},keys:["maxFeaturesPerTile","thinningStrategy"]}};
|
|
k.Object.defineProperties(ng.prototype,{Nf:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxFeaturesPerTile")?z(this,"maxFeaturesPerTile"):null},set:function(a){this.h.maxFeaturesPerTile=a}},sg:{configurable:!0,enumerable:!0,get:function(){return B(this,"thinningStrategy")?z(this,"thinningStrategy"):null},set:function(a){this.h.thinningStrategy=a}}});
|
|
var fh=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.F?null:a.F;this.h.bandIds=null==a.da?null:a.da;this.h.visualizationOptions=null==a.ic?null:a.ic;this.h.grid=null==a.grid?null:a.grid;this.h.filenamePrefix=null==a.xa?null:a.xa};q(fh,y);
|
|
fh.prototype.i=function(){return{H:{fileFormat:Ye},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),o:{expression:xf,grid:Vf,visualizationOptions:Pf}}};
|
|
k.Object.defineProperties(fh.prototype,{da:{configurable:!0,enumerable:!0,get:function(){return B(this,"bandIds")?z(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileFormat")?z(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},xa:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"filenamePrefix")?z(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},grid:{configurable:!0,enumerable:!0,get:function(){return B(this,"grid")?z(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,"name")?z(this,"name"):null},set:function(a){this.h.name=a}},ic:{configurable:!0,enumerable:!0,get:function(){return B(this,"visualizationOptions")?z(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=
|
|
a}}});var Wg=function(a){a=void 0===a?{}:a;this.h={};this.h.maxPrerenderZoom=null==a.Sh?null:a.Sh;this.h.minVerticesPerTile=null==a.Xh?null:a.Xh;this.h.neighborDepth=null==a.Yh?null:a.Yh;this.h.minFeaturesPerTile=null==a.Vh?null:a.Vh};q(Wg,y);Wg.prototype.i=function(){return{keys:["maxPrerenderZoom","minFeaturesPerTile","minVerticesPerTile","neighborDepth"]}};
|
|
k.Object.defineProperties(Wg.prototype,{Sh:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxPrerenderZoom")?z(this,"maxPrerenderZoom"):null},set:function(a){this.h.maxPrerenderZoom=a}},Vh:{configurable:!0,enumerable:!0,get:function(){return B(this,"minFeaturesPerTile")?z(this,"minFeaturesPerTile"):null},set:function(a){this.h.minFeaturesPerTile=a}},Xh:{configurable:!0,enumerable:!0,get:function(){return B(this,"minVerticesPerTile")?z(this,"minVerticesPerTile"):null},set:function(a){this.h.minVerticesPerTile=
|
|
a}},Yh:{configurable:!0,enumerable:!0,get:function(){return B(this,"neighborDepth")?z(this,"neighborDepth"):null},set:function(a){this.h.neighborDepth=a}}});
|
|
var Xf=function(a){a=void 0===a?{}:a;this.h={};this.h.endZoom=null==a.gf?null:a.gf;this.h.scale=null==a.scale?null:a.scale;this.h.startZoom=null==a.ng?null:a.ng;this.h.skipEmpty=null==a.kg?null:a.kg;this.h.mapsApiKey=null==a.Jf?null:a.Jf;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.stride=null==a.stride?null:a.stride;this.h.zoomSubset=null==a.Eg?null:a.Eg};q(Xf,y);
|
|
Xf.prototype.i=function(){return{keys:"dimensions endZoom mapsApiKey scale skipEmpty startZoom stride zoomSubset".split(" "),o:{dimensions:ug,zoomSubset:gh}}};
|
|
k.Object.defineProperties(Xf.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return B(this,"dimensions")?z(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},gf:{configurable:!0,enumerable:!0,get:function(){return B(this,"endZoom")?z(this,"endZoom"):null},set:function(a){this.h.endZoom=a}},Jf:{configurable:!0,enumerable:!0,get:function(){return B(this,"mapsApiKey")?z(this,"mapsApiKey"):null},set:function(a){this.h.mapsApiKey=a}},scale:{configurable:!0,enumerable:!0,
|
|
get:function(){return B(this,"scale")?z(this,"scale"):null},set:function(a){this.h.scale=a}},kg:{configurable:!0,enumerable:!0,get:function(){return B(this,"skipEmpty")?z(this,"skipEmpty"):null},set:function(a){this.h.skipEmpty=a}},ng:{configurable:!0,enumerable:!0,get:function(){return B(this,"startZoom")?z(this,"startZoom"):null},set:function(a){this.h.startZoom=a}},stride:{configurable:!0,enumerable:!0,get:function(){return B(this,"stride")?z(this,"stride"):null},set:function(a){this.h.stride=
|
|
a}},Eg:{configurable:!0,enumerable:!0,get:function(){return B(this,"zoomSubset")?z(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});var Jf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.sources=null==a.sources?null:a.sources;this.h.dataType=null==a.dataType?null:a.dataType;this.h.crs=null==a.crs?null:a.crs;this.h.subdatasetPrefix=null==a.Ei?null:a.Ei;this.h.subdatasetSuffix=null==a.Fi?null:a.Fi};q(Jf,y);
|
|
Jf.prototype.i=function(){return{P:{sources:Gg},H:{dataType:$e},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
k.Object.defineProperties(Jf.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return B(this,"crs")?z(this,"crs"):null},set:function(a){this.h.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return B(this,"dataType")?z(this,"dataType"):null},set:function(a){this.h.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return B(this,"id")?z(this,"id"):null},set:function(a){this.h.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return B(this,"sources")?
|
|
z(this,"sources"):null},set:function(a){this.h.sources=a}},Ei:{configurable:!0,enumerable:!0,get:function(){return B(this,"subdatasetPrefix")?z(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},Fi:{configurable:!0,enumerable:!0,get:function(){return B(this,"subdatasetSuffix")?z(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
|
|
var Dg=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.tilesetId=null==a.nb?null:a.nb;this.h.tilesetBandIndex=null==a.ld?null:a.ld;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(Dg,y);Dg.prototype.i=function(){return{H:{pyramidingPolicy:Ze},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],o:{missingData:Ag}}};
|
|
k.Object.defineProperties(Dg.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return B(this,"id")?z(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return B(this,"missingData")?z(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return B(this,"pyramidingPolicy")?z(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},ld:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"tilesetBandIndex")?z(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},nb:{configurable:!0,enumerable:!0,get:function(){return B(this,"tilesetId")?z(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var Eg=function(a){a=void 0===a?{}:a;this.h={};this.h.tilesetId=null==a.nb?null:a.nb;this.h.bandIds=null==a.da?null:a.da};q(Eg,y);Eg.prototype.i=function(){return{keys:["bandIds","tilesetId"]}};
|
|
k.Object.defineProperties(Eg.prototype,{da:{configurable:!0,enumerable:!0,get:function(){return B(this,"bandIds")?z(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},nb:{configurable:!0,enumerable:!0,get:function(){return B(this,"tilesetId")?z(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var Nf=function(a){a=void 0===a?{}:a;this.h={};this.h.sources=null==a.sources?null:a.sources;this.h.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(Nf,y);
|
|
Nf.prototype.i=function(){return{P:{sources:hh},keys:["pathPrefix","sources"]}};k.Object.defineProperties(Nf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return B(this,"pathPrefix")?z(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return B(this,"sources")?z(this,"sources"):null},set:function(a){this.h.sources=a}}});
|
|
var hh=function(a){a=void 0===a?{}:a;this.h={};this.h.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.h.headerSizeBytes=null==a.headerSizeBytes?null:a.headerSizeBytes};q(hh,y);hh.prototype.i=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
|
|
k.Object.defineProperties(hh.prototype,{headerSizeBytes:{configurable:!0,enumerable:!0,get:function(){return B(this,"headerSizeBytes")?z(this,"headerSizeBytes"):null},set:function(a){this.h.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return B(this,"pathSuffix")?z(this,"pathSuffix"):null},set:function(a){this.h.pathSuffix=a}}});
|
|
var yg=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.vh?null:a.vh;this.h.firstTileIndex=null==a.xh?null:a.xh;this.h.tilesPerFile=null==a.Li?null:a.Li};q(yg,y);yg.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
k.Object.defineProperties(yg.prototype,{vh:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileIndexes")?z(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},xh:{configurable:!0,enumerable:!0,get:function(){return B(this,"firstTileIndex")?z(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},Li:{configurable:!0,enumerable:!0,get:function(){return B(this,"tilesPerFile")?z(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
|
|
var ih=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Nb?null:a.Nb;this.h.updateMask=null==a.updateMask?null:a.updateMask};q(ih,y);ih.prototype.i=function(){return{keys:["asset","updateMask"],o:{asset:Hf}}};
|
|
k.Object.defineProperties(ih.prototype,{Nb:{configurable:!0,enumerable:!0,get:function(){return B(this,"asset")?z(this,"asset"):null},set:function(a){this.h.asset=a}},updateMask:{configurable:!0,enumerable:!0,get:function(){return B(this,"updateMask")?z(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});
|
|
var gf=function(a){a=void 0===a?{}:a;this.h={};this.h.constantValue=null==a.hb?null:a.hb;this.h.integerValue=null==a.Wa?null:a.Wa;this.h.bytesValue=null==a.qb?null:a.qb;this.h.arrayValue=null==a.Fa?null:a.Fa;this.h.dictionaryValue=null==a.Ga?null:a.Ga;this.h.functionDefinitionValue=null==a.Ua?null:a.Ua;this.h.functionInvocationValue=null==a.ya?null:a.ya;this.h.argumentReference=null==a.Mb?null:a.Mb;this.h.valueReference=null==a.Oa?null:a.Oa};q(gf,y);
|
|
gf.prototype.i=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),o:{arrayValue:ff,dictionaryValue:Ef,functionDefinitionValue:qg,functionInvocationValue:rg}}};
|
|
k.Object.defineProperties(gf.prototype,{Mb:{configurable:!0,enumerable:!0,get:function(){return B(this,"argumentReference")?z(this,"argumentReference"):null},set:function(a){this.h.argumentReference=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return B(this,"arrayValue")?z(this,"arrayValue"):null},set:function(a){this.h.arrayValue=a}},qb:{configurable:!0,enumerable:!0,get:function(){return B(this,"bytesValue")?z(this,"bytesValue"):null},set:function(a){this.h.bytesValue=a}},hb:{configurable:!0,
|
|
enumerable:!0,get:function(){return B(this,"constantValue")?z(this,"constantValue"):null},set:function(a){this.h.constantValue=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return B(this,"dictionaryValue")?z(this,"dictionaryValue"):null},set:function(a){this.h.dictionaryValue=a}},Ua:{configurable:!0,enumerable:!0,get:function(){return B(this,"functionDefinitionValue")?z(this,"functionDefinitionValue"):null},set:function(a){this.h.functionDefinitionValue=a}},ya:{configurable:!0,enumerable:!0,
|
|
get:function(){return B(this,"functionInvocationValue")?z(this,"functionInvocationValue"):null},set:function(a){this.h.functionInvocationValue=a}},Wa:{configurable:!0,enumerable:!0,get:function(){return B(this,"integerValue")?z(this,"integerValue"):null},set:function(a){this.h.integerValue=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return B(this,"valueReference")?z(this,"valueReference"):null},set:function(a){this.h.valueReference=a}}});
|
|
var dg=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.ma?null:a.ma;this.h.cloudStorageDestination=null==a.ja?null:a.ja;this.h.fileFormat=null==a.F?null:a.F};q(dg,y);dg.prototype.i=function(){return{H:{fileFormat:af},keys:["cloudStorageDestination","driveDestination","fileFormat"],o:{cloudStorageDestination:uf,driveDestination:Gf}}};
|
|
k.Object.defineProperties(dg.prototype,{ja:{configurable:!0,enumerable:!0,get:function(){return B(this,"cloudStorageDestination")?z(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},ma:{configurable:!0,enumerable:!0,get:function(){return B(this,"driveDestination")?z(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileFormat")?z(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}}});var eg=function(a){a=void 0===a?{}:a;this.h={};this.h.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.h.maxFrames=null==a.maxFrames?null:a.maxFrames;this.h.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};q(eg,y);eg.prototype.i=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
k.Object.defineProperties(eg.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return B(this,"framesPerSecond")?z(this,"framesPerSecond"):null},set:function(a){this.h.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxFrames")?z(this,"maxFrames"):null},set:function(a){this.h.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return B(this,"maxPixelsPerFrame")?z(this,"maxPixelsPerFrame"):null},set:function(a){this.h.maxPixelsPerFrame=
|
|
a}}});var jh=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.videoOptions=null==a.Pa?null:a.Pa;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.grid?null:a.grid};q(jh,y);jh.prototype.i=function(){return{H:{fileFormat:bf},keys:["expression","fileFormat","grid","name","videoOptions"],o:{expression:xf,grid:Vf,videoOptions:eg}}};
|
|
k.Object.defineProperties(jh.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return B(this,"expression")?z(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return B(this,"fileFormat")?z(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},grid:{configurable:!0,enumerable:!0,get:function(){return B(this,"grid")?z(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"name")?z(this,"name"):null},set:function(a){this.h.name=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return B(this,"videoOptions")?z(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var Pf=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Vf?null:a.Vf;this.h.paletteColors=null==a.Zc?null:a.Zc;this.h.gamma=null==a.gamma?null:a.gamma;this.h.opacity=null==a.opacity?null:a.opacity};q(Pf,y);
|
|
Pf.prototype.i=function(){return{P:{ranges:Ff},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
k.Object.defineProperties(Pf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return B(this,"gamma")?z(this,"gamma"):null},set:function(a){this.h.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return B(this,"opacity")?z(this,"opacity"):null},set:function(a){this.h.opacity=a}},Zc:{configurable:!0,enumerable:!0,get:function(){return B(this,"paletteColors")?z(this,"paletteColors"):null},set:function(a){this.h.paletteColors=a}},Vf:{configurable:!0,enumerable:!0,get:function(){return B(this,
|
|
"ranges")?z(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var gh=function(a){a=void 0===a?{}:a;this.h={};this.h.start=null==a.start?null:a.start;this.h.end=null==a.end?null:a.end};q(gh,y);gh.prototype.i=function(){return{keys:["end","start"]}};
|
|
k.Object.defineProperties(gh.prototype,{end:{configurable:!0,enumerable:!0,get:function(){return B(this,"end")?z(this,"end"):null},set:function(a){this.h.end=a}},start:{configurable:!0,enumerable:!0,get:function(){return B(this,"start")?z(this,"start"):null},set:function(a){this.h.start=a}}});
|
|
var jd={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",callback:"callback",fields:"fields",filter:"filter",key:"key",oauth_token:"oauth_token",overwrite:"overwrite",pageSize:"pageSize",pageToken:"pageToken",parent:"parent",prettyPrint:"prettyPrint",quotaUser:"quotaUser",region:"region",updateMask:"updateMask",uploadType:"uploadType",upload_protocol:"upload_protocol",view:"view",workloadTag:"workloadTag"},kh=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
kh.prototype.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",u:E(b,c),G:Kg})};var lh=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
lh.prototype.getCapabilities=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",u:E(b,c),G:qf})};lh.prototype.Tc=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:null,B:"GET",D:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:E(b,c),G:Lg})};
|
|
var mh=function(a){this.m="v1";this.j=new kd(a,null)};h=mh.prototype;h.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",u:E(c,d),G:Hf})};
|
|
h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return F(this.j,{body:null,B:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,u:E(b,c),G:Qf})};h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return F(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,u:E(b,c),G:Hf})};
|
|
h.link=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.link",path:"/"+this.m+"/"+a+":link",u:E(c,d),G:Hf})};h.Tc=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return F(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:E(b,c),G:Lg})};
|
|
h.move=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.move",path:"/"+this.m+"/"+a+":move",u:E(c,d),G:Hf})};var nh=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
nh.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.classifier.export",path:"/"+this.m+"/"+a+"/classifier:export",u:E(c,d),G:Og})};var oh=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
oh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.featureView.create",path:"/"+this.m+"/"+a+"/featureView",u:E(c,d),G:hg})};var ph=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
ph.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.m+"/"+a+"/filmstripThumbnails",u:E(c,d),G:pg})};var qh=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
qh.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.image.export",path:"/"+this.m+"/"+a+"/image:export",u:E(c,d),G:Og})};qh.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.image.import",path:"/"+this.m+"/"+a+"/image:import",u:E(c,d),G:Og})};
|
|
var rh=function(a){this.m="v1";this.j=new kd(a,null)};rh.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.map.export",path:"/"+this.m+"/"+a+"/map:export",u:E(c,d),G:Og})};var sh=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
sh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.maps.create",path:"/"+this.m+"/"+a+"/maps",u:E(c,d),G:Of})};var th=function(a){this.m="v1";this.j=new kd(a,null)};h=th.prototype;
|
|
h.cancel=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.cancel",path:"/"+this.m+"/"+a+":cancel",u:E(c,d),G:Qf})};h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return F(this.j,{body:null,B:"DELETE",D:"earthengine.projects.operations.delete",path:"/"+this.m+"/"+a,u:E(b,c),G:Qf})};
|
|
h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return F(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.get",path:"/"+this.m+"/"+a,u:E(b,c),G:Og})};h.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.list",path:"/"+this.m+"/"+a+"/operations",u:E(b,c),G:Ng})};
|
|
h.wait=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.wait",path:"/"+this.m+"/"+a+":wait",u:E(c,d),G:Og})};var uh=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
uh.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.table.export",path:"/"+this.m+"/"+a+"/table:export",u:E(c,d),G:Og})};uh.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.table.import",path:"/"+this.m+"/"+a+"/table:import",u:E(c,d),G:Og})};
|
|
var vh=function(a){this.m="v1";this.j=new kd(a,null)};vh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.tables.create",path:"/"+this.m+"/"+a+"/tables",u:E(c,d),G:dh})};var wh=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
wh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.thumbnails.create",path:"/"+this.m+"/"+a+"/thumbnails",u:E(c,d),G:fh})};
|
|
var xh=function(a){this.m="v1";this.j=new kd(a,null)},yh=function(a,b,c){var d=void 0===d?{}:d;var e=void 0===e?{}:e;a.j.C(b,RegExp("^projects/[^/]+$"));return F(a.j,{body:c,B:"POST",D:"earthengine.projects.value.compute",path:"/"+a.m+"/"+b+"/value:compute",u:E(d,e),G:yf})},zh=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
zh.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.video.export",path:"/"+this.m+"/"+a+"/video:export",u:E(c,d),G:Og})};var Ah=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
Ah.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",u:E(c,d),G:Og})};var Bh=function(a){this.m="v1";this.j=new kd(a,null)};
|
|
Bh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return F(this.j,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",u:E(c,d),G:jh})};var Ch=function(a,b){this.dl=100;this.Sk=a;this.tl=b;this.Yd=0;this.Qd=null};Ch.prototype.get=function(){if(0<this.Yd){this.Yd--;var a=this.Qd;this.Qd=a.next;a.next=null}else a=this.Sk();return a};Ch.prototype.put=function(a){this.tl(a);this.Yd<this.dl&&(this.Yd++,a.next=this.Qd,this.Qd=a)};function Dh(a){var b=ta.apply(1,arguments);if(!Array.isArray(a)||!Array.isArray(a.raw)||a.length!==a.raw.length||!Mb&&a===a.raw||!(Mb&&!Nb||Kb(a))||b.length+1!==a.length)throw new TypeError("\n ############################## ERROR ##############################\n\n It looks like you are trying to call a template tag function (fn`...`)\n using the normal function syntax (fn(...)), which is not supported.\n\n The functions in the safevalues library are not designed to be called\n like normal functions, and doing so invalidates the security guarantees\n that safevalues provides.\n\n If you are stuck and not sure how to proceed, please reach out to us\n instead through:\n - go/ise-hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-INTERNAL\n - https://github.com/google/safevalues/issues\n\n ############################## ERROR ##############################");
|
|
if(0===b.length)return Ab(a[0]);var c=a[0].toLowerCase();if(/^data:/.test(c))throw Error("Data URLs cannot have expressions in the template literal input.");if(/^https:\/\//.test(c)||/^\/\//.test(c)){var d=c.indexOf("//")+2;var e=c.indexOf("/",d);if(e<=d)throw Error("Can't interpolate data in a url's origin, Please make sure to fully specify the origin, terminated with '/'.");d=c.substring(d,e);if(!/^[0-9a-z.:-]+$/i.test(d))throw Error("The origin contains unsupported characters.");if(!/^[^:]*(:[0-9]+)?$/i.test(d))throw Error("Invalid port number.");
|
|
if(!/(^|\.)[a-z][^.]*$/i.test(d))throw Error("The top-level domain must start with a letter.");d=!0}else d=!1;if(!d)if(/^\//.test(c))if("/"===c||1<c.length&&"/"!==c[1]&&"\\"!==c[1])d=!0;else throw Error("The path start in the url is invalid.");else d=!1;if(!(d=d||RegExp("^[^:\\s\\\\/]+/").test(c)))if(/^about:blank/.test(c)){if("about:blank"!==c&&!/^about:blank#/.test(c))throw Error("The about url is invalid.");d=!0}else d=!1;if(!d)throw Error("Trying to interpolate expressions in an unsupported url format.");
|
|
c=a[0];for(d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Ab(c)};var Fh=function(a,b){if(!t(a)||!t(a)||!t(a)||1!==a.nodeType||a.namespaceURI&&"http://www.w3.org/1999/xhtml"!==a.namespaceURI||a.tagName.toUpperCase()!=="SCRIPT".toString()){var c="SCRIPT".toString()+"; got: ";if(t(a))try{var d=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(e){d="<object could not be stringified>"}else d=void 0===a?"undefined":null===a?"null":typeof a;rb("Argument is not an HTML Element with tag name "+(c+d))}a:{c=(a.ownerDocument&&a.ownerDocument.defaultView||
|
|
r).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&Eh.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=zb(b)},Eh=/^[\w+/_-]+[=]{0,2}$/;var Hh=function(a,b){Xa(b,function(c,d){"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Gh.hasOwnProperty(d)?a.setAttribute(Gh[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},Gh={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"},Jh=function(a,
|
|
b,c){return Ih(document,arguments)},Ih=function(a,b){var c=b[1],d=Kh(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):Hh(d,c));2<b.length&&Lh(a,d,b,2);return d},Lh=function(a,b,c,d){function e(l){l&&b.appendChild("string"===typeof l?a.createTextNode(l):l)}for(;d<c.length;d++){var g=c[d];if(!ya(g)||t(g)&&0<g.nodeType)e(g);else{a:{if(g&&"number"==typeof g.length){if(t(g)){var f="function"==typeof g.item||"string"==typeof g.item;break a}if("function"===typeof g){f=
|
|
"function"==typeof g.item;break a}}f=!1}Xb(f?fc(g):g,e)}}},Kh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},Mh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Nh=function(a){D(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Oh=function(a){this.Ed=a||r.document||document};h=Oh.prototype;h.getElementsByTagName=function(a,b){return(b||this.Ed).getElementsByTagName(String(a))};
|
|
h.Rk=function(a,b,c){return Ih(this.Ed,arguments)};h.createElement=function(a){return Kh(this.Ed,a)};h.createTextNode=function(a){return this.Ed.createTextNode(String(a))};h.appendChild=function(a,b){D(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};h.append=function(a,b){Lh(Nh(a),a,arguments,1)};h.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
|
|
h.removeNode=Mh;h.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var Ph,Qh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!lb(pd(),"Presto")&&(a=function(){var e=Kh(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var f="callImmediate"+Math.random(),l="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=u(function(m){if(("*"==l||m.origin==l)&&m.data==f)this.port1.onmessage()},
|
|
this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(f,l)}}});if("undefined"!==typeof a){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Vg;c.Vg=null;e()}};return function(e){d.next={Vg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};function Rh(a){r.setTimeout(function(){throw a;},0)};var Sh=function(){this.ve=this.jc=null};Sh.prototype.add=function(a,b){var c=Th.get();c.set(a,b);this.ve?this.ve.next=c:(D(!this.jc),this.jc=c);this.ve=c};Sh.prototype.remove=function(){var a=null;this.jc&&(a=this.jc,this.jc=this.jc.next,this.jc||(this.ve=null),a.next=null);return a};var Th=new Ch(function(){return new Uh},function(a){return a.reset()}),Uh=function(){this.next=this.scope=this.rf=null};Uh.prototype.set=function(a,b){this.rf=a;this.scope=b;this.next=null};
|
|
Uh.prototype.reset=function(){this.next=this.scope=this.rf=null};var Vh=r.console&&r.console.createTask?r.console.createTask.bind(r.console):void 0,Wh=Vh?Symbol("consoleTask"):void 0;
|
|
function Xh(a,b){function c(){var l=ta.apply(0,arguments),m=this;return f.run(function(){return a.call.apply(a,[m].concat(ka(l)))})}b=void 0===b?"anonymous":b;if(Wh&&a[Wh])return a;var d=a,e,g=null==(e=Yh)?void 0:e();a=function(){var l=ta.apply(0,arguments),m,p=null==(m=Yh)?void 0:m();if(g!==p)throw Error(b+" was scheduled in '"+g+"' but called in '"+p+"'.\nMake sure your test awaits all async calls.\n\nTIP: To help investigate, debug the test in Chrome and look at the async portion\nof the call stack to see what originally scheduled the callback. Then, make the\ntest wait for the relevant asynchronous work to finish.");return d.call.apply(d,
|
|
[this].concat(ka(l)))};if(!Vh)return a;var f=Vh(a.name||b);c[qb(Wh)]=f;return c}var Yh;var Zh,$h=!1,ai=new Sh,ci=function(a,b){Zh||bi();$h||(Zh(),$h=!0);a=Xh(a,"goog.async.run");ai.add(a,b)},bi=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);Zh=function(){a.then(di)}}else Zh=function(){var b=di;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&r.Window.prototype.setImmediate==r.setImmediate?(Ph||(Ph=Qh()),Ph(b)):r.setImmediate(b)}},di=function(){for(var a;a=ai.remove();){try{a.rf.call(a.scope)}catch(b){Rh(b)}Th.put(a)}$h=!1};var ei=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var hi=function(a){this.T=0;this.ia=void 0;this.mc=this.gb=this.X=null;this.Nd=this.kf=!1;if(a!=Vd)try{var b=this;a.call(void 0,function(c){fi(b,2,c)},function(c){if(!(c instanceof gi))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}fi(b,3,c)})}catch(c){fi(this,3,c)}},ii=function(){this.next=this.context=this.tc=this.Yb=this.Ob=null;this.td=!1};ii.prototype.reset=function(){this.context=this.tc=this.Yb=this.Ob=null;this.td=!1};
|
|
var ji=new Ch(function(){return new ii},function(a){a.reset()}),ki=function(a,b,c){var d=ji.get();d.Yb=a;d.tc=b;d.context=c;return d};hi.prototype.then=function(a,b,c){null!=a&&ub(a,"opt_onFulfilled should be a function.");null!=b&&ub(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return li(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};hi.prototype.$goog_Thenable=!0;
|
|
hi.prototype.Cl=function(a,b){return li(this,null,a,b)};hi.prototype.catch=hi.prototype.Cl;hi.prototype.cancel=function(a){if(0==this.T){var b=new gi(a);ci(function(){mi(this,b)},this)}};
|
|
var mi=function(a,b){if(0==a.T)if(a.X){var c=a.X;if(c.gb){for(var d=0,e=null,g=null,f=c.gb;f&&(f.td||(d++,f.Ob==a&&(e=f),!(e&&1<d)));f=f.next)e||(g=f);e&&(0==c.T&&1==d?mi(c,b):(g?(d=g,D(c.gb),D(null!=d),d.next==c.mc&&(c.mc=d),d.next=d.next.next):ni(c),oi(c,e,3,b)))}a.X=null}else fi(a,3,b)},qi=function(a,b){a.gb||2!=a.T&&3!=a.T||pi(a);D(null!=b.Yb);a.mc?a.mc.next=b:a.gb=b;a.mc=b},li=function(a,b,c,d){b&&(b=Xh(b,"goog.Promise.then"));c&&(c=Xh(c,"goog.Promise.then"));var e=ki(null,null,null);e.Ob=new hi(function(g,
|
|
f){e.Yb=b?function(l){try{var m=b.call(d,l);g(m)}catch(p){f(p)}}:g;e.tc=c?function(l){try{var m=c.call(d,l);void 0===m&&l instanceof gi?f(l):g(m)}catch(p){f(p)}}:f});e.Ob.X=a;qi(a,e);return e.Ob};hi.prototype.Fl=function(a){D(1==this.T);this.T=0;fi(this,2,a)};hi.prototype.Gl=function(a){D(1==this.T);this.T=0;fi(this,3,a)};
|
|
var fi=function(a,b,c){if(0==a.T){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.T=1;a:{var d=c,e=a.Fl,g=a.Gl;if(d instanceof hi){null!=e&&ub(e,"opt_onFulfilled should be a function.");null!=g&&ub(g,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");qi(d,ki(e||Vd,g||null,a));var f=!0}else if(ei(d))d.then(e,g,a),f=!0;else{if(t(d))try{var l=d.then;if("function"===typeof l){ri(d,l,e,g,a);f=!0;break a}}catch(m){g.call(a,m);
|
|
f=!0;break a}f=!1}}f||(a.ia=c,a.T=b,a.X=null,pi(a),3!=b||c instanceof gi||si(a,c))}},ri=function(a,b,c,d,e){var g=!1,f=function(m){g||(g=!0,c.call(e,m))},l=function(m){g||(g=!0,d.call(e,m))};try{b.call(a,f,l)}catch(m){l(m)}},pi=function(a){a.kf||(a.kf=!0,ci(a.Vk,a))},ni=function(a){var b=null;a.gb&&(b=a.gb,a.gb=b.next,b.next=null);a.gb||(a.mc=null);null!=b&&D(null!=b.Yb);return b};hi.prototype.Vk=function(){for(var a;a=ni(this);)oi(this,a,this.T,this.ia);this.kf=!1};
|
|
var oi=function(a,b,c,d){if(3==c&&b.tc&&!b.td)for(;a&&a.Nd;a=a.X)a.Nd=!1;if(b.Ob)b.Ob.X=null,ti(b,c,d);else try{b.td?b.Yb.call(b.context):ti(b,c,d)}catch(e){ui.call(null,e)}ji.put(b)},ti=function(a,b,c){2==b?a.Yb.call(a.context,c):a.tc&&a.tc.call(a.context,c)},si=function(a,b){a.Nd=!0;ci(function(){a.Nd&&ui.call(null,b)})},ui=Rh,gi=function(a){mb.call(this,a)};x(gi,mb);gi.prototype.name="cancel";var vi=function(a,b,c){if("function"===typeof a)c&&(a=u(a,c));else if(a&&"function"==typeof a.handleEvent)a=u(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:r.setTimeout(a,b||0)};var wi=function(a,b,c){G.call(this);this.el=null!=c?a.bind(c):a;this.bl=b;this.ud=null;this.yc=!1;this.ad=0;this.fc=null};q(wi,G);h=wi.prototype;h.pf=function(a){this.ud=arguments;this.fc||this.ad?this.yc=!0:xi(this)};h.stop=function(){this.fc&&(r.clearTimeout(this.fc),this.fc=null,this.yc=!1,this.ud=null)};h.pause=function(){this.ad++};h.resume=function(){this.ad--;this.ad||!this.yc||this.fc||(this.yc=!1,xi(this))};h.J=function(){G.prototype.J.call(this);this.stop()};
|
|
var xi=function(a){a.fc=vi(function(){a.fc=null;a.yc&&!a.ad&&(a.yc=!1,xi(a))},a.bl);var b=a.ud;a.ud=null;a.el.apply(null,b)};function yi(){};/*
|
|
|
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
var zi=function(a,b){this.he=[];this.bi=a;this.nh=b||null;this.Oc=this.pc=!1;this.ia=void 0;this.jg=this.Pg=this.Re=!1;this.se=0;this.X=null;this.Se=0};x(zi,yi);zi.prototype.cancel=function(a){if(this.pc)this.ia instanceof zi&&this.ia.cancel();else{if(this.X){var b=this.X;delete this.X;a?b.cancel(a):(b.Se--,0>=b.Se&&b.cancel())}this.bi?this.bi.call(this.nh,this):this.jg=!0;this.pc||Ai(this,new Bi(this))}};zi.prototype.ah=function(a,b){this.Re=!1;Ci(this,a,b)};
|
|
var Ci=function(a,b,c){a.pc=!0;a.ia=c;a.Oc=!b;Di(a)},Fi=function(a){if(a.pc){if(!a.jg)throw new Ei(a);a.jg=!1}};zi.prototype.callback=function(a){Fi(this);Gi(a);Ci(this,!0,a)};var Ai=function(a,b){Fi(a);Gi(b);Ci(a,!1,b)},Gi=function(a){D(!(a instanceof zi),"An execution sequence may not be initiated with a blocking Deferred.")},Ji=function(a){var b=Hi();Ii(b,a,null)},Ii=function(a,b,c,d){D(!a.Pg,"Blocking Deferreds can not be re-used");a.he.push([b,c,d]);a.pc&&Di(a)};
|
|
zi.prototype.then=function(a,b,c){var d,e,g=new hi(function(f,l){e=f;d=l});Ii(this,e,function(f){f instanceof Bi?g.cancel():d(f);return Ki},this);return g.then(a,b,c)};zi.prototype.$goog_Thenable=!0;
|
|
var Li=function(a){return $b(a.he,function(b){return"function"===typeof b[1]})},Ki={},Di=function(a){if(a.se&&a.pc&&Li(a)){var b=a.se,c=Mi[b];c&&(r.clearTimeout(c.fa),delete Mi[b]);a.se=0}a.X&&(a.X.Se--,delete a.X);b=a.ia;for(var d=c=!1;a.he.length&&!a.Re;){var e=a.he.shift(),g=e[0],f=e[1];e=e[2];if(g=a.Oc?f:g)try{var l=g.call(e||a.nh,b);l===Ki&&(l=void 0);void 0!==l&&(a.Oc=a.Oc&&(l==b||l instanceof Error),a.ia=b=l);if(ei(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Re=!0}catch(m){b=
|
|
m,a.Oc=!0,Li(a)||(c=!0)}}a.ia=b;d&&(l=u(a.ah,a,!0),d=u(a.ah,a,!1),b instanceof zi?(Ii(b,l,d),b.Pg=!0):b.then(l,d));c&&(b=new Ni(b),Mi[b.fa]=b,a.se=b.fa)},Ei=function(){mb.call(this)};x(Ei,mb);Ei.prototype.message="Deferred has already fired";Ei.prototype.name="AlreadyCalledError";var Bi=function(){mb.call(this)};x(Bi,mb);Bi.prototype.message="Deferred was canceled";Bi.prototype.name="CanceledError";var Ni=function(a){this.fa=r.setTimeout(u(this.Dl,this),0);this.Hd=a};
|
|
Ni.prototype.Dl=function(){D(Mi[this.fa],"Cannot throw an error that is not scheduled.");delete Mi[this.fa];throw this.Hd;};var Mi={};var Hi=function(){var a=Dh(Oi),b={},c=b.document||document,d=zb(a).toString(),e=(new Oh(c)).createElement("SCRIPT"),g={wi:e,oe:void 0},f=new zi(Pi,g),l=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(l=window.setTimeout(function(){Qi(e,!0);Ai(f,new Ri(1,"Timeout reached for loading script "+d))},m),g.oe=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(Qi(e,b.Nl||!1,l),f.callback(null))};e.onerror=function(){Qi(e,!0,l);Ai(f,new Ri(0,"Error while loading script "+
|
|
d))};g=b.attributes||{};kb(g,{type:"text/javascript",charset:"UTF-8"});Hh(e,g);Fh(e,a);Si(c).appendChild(e);return f},Si=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},Pi=function(){if(this&&this.wi){var a=this.wi;a&&"SCRIPT"==a.tagName&&Qi(a,!0,this.oe)}},Qi=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){Mh(a)},0)},Ri=function(a,
|
|
b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);mb.call(this,c);this.code=a};x(Ri,mb);var Ti=function(){this.fe=void 0};Ti.prototype.va=function(a){var b=[];Ui(this,a,b);return b.join("")};
|
|
var Ui=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",g=0;g<b;g++)c.push(e),e=d[g],Ui(a,a.fe?a.fe.call(d,String(g),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(g),Vi(d,c),c.push(":"),Ui(a,a.fe?a.fe.call(b,d,e):e,c),g=","));c.push("}");
|
|
return}}switch(typeof b){case "string":Vi(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},Wi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Xi=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Vi=function(a,b){b.push('"',a.replace(Xi,function(c){var d=Wi[c];
|
|
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),Wi[c]=d);return d}),'"')};var Yi=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Zi=function(){};Zi.prototype.Tg=null;var $i=function(a){var b;(b=a.Tg)||(b=a.Tg={});return b};var aj,bj=function(){};x(bj,Zi);aj=new bj;var cj=function(a){J.call(this);this.headers=new Map;this.Si=a||null;this.Ea=!1;this.we=this.s=null;this.Sc=this.Nh=this.Ud="";this.Ub=this.Bf=this.Sd=this.hf=!1;this.md=0;this.ne=null;this.xc="";this.rl=this.Qi=!1;this.Pe=this.Ag=null};x(cj,J);cj.prototype.ba=Ec(Fc(),"goog.net.XhrIo").gl;var dj=/^https?$/i,ej=["POST","PUT"],fj=[];h=cj.prototype;h.Qk=function(){this.Ra();dc(fj,this)};h.setTrustToken=function(a){this.Ag=a};h.setAttributionReporting=function(a){this.Pe=a};
|
|
h.send=function(a,b,c,d){if(this.s)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Ud+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Ud=a;this.Sc="";this.Nh=b;this.hf=!1;this.Ea=!0;this.s=new XMLHttpRequest;this.we=this.Si?$i(this.Si):$i(aj);this.s.onreadystatechange=u(this.ei,this);this.rl&&"onprogress"in this.s&&(this.s.onprogress=u(function(f){this.di(f,!0)},this),this.s.upload&&(this.s.upload.onprogress=u(this.di,this)));try{Ic(this.ba,gj(this,"Opening Xhr")),this.Bf=
|
|
!0,this.s.open(b,String(a),!0),this.Bf=!1}catch(f){Ic(this.ba,gj(this,"Error opening Xhr: "+f.message));this.Hd(5,f);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=n(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(f){return"content-type"==
|
|
f.toLowerCase()});e=r.FormData&&a instanceof r.FormData;!cc(ej,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=n(c);for(d=b.next();!d.done;d=b.next())c=n(d.value),d=c.next().value,c=c.next().value,this.s.setRequestHeader(d,c);this.xc&&(this.s.responseType=this.xc);"withCredentials"in this.s&&this.s.withCredentials!==this.Qi&&(this.s.withCredentials=this.Qi);if("setTrustToken"in this.s&&this.Ag)try{this.s.setTrustToken(this.Ag)}catch(f){Ic(this.ba,gj(this,"Error SetTrustToken: "+
|
|
f.message))}if("setAttributionReporting"in this.s&&this.Pe)try{this.s.setAttributionReporting(this.Pe)}catch(f){Ic(this.ba,gj(this,"Error SetAttributionReporting: "+f.message))}try{hj(this),0<this.md&&(Ic(this.ba,gj(this,"Will abort after "+this.md+"ms if incomplete")),this.ne=vi(this.oe,this.md,this)),Ic(this.ba,gj(this,"Sending request")),this.Sd=!0,this.s.send(a),this.Sd=!1}catch(f){Ic(this.ba,gj(this,"Send error: "+f.message)),this.Hd(5,f)}};
|
|
h.oe=function(){"undefined"!=typeof wa&&this.s&&(this.Sc="Timed out after "+this.md+"ms, aborting",Ic(this.ba,gj(this,this.Sc)),this.dispatchEvent("timeout"),this.abort(8))};h.Hd=function(a,b){this.Ea=!1;this.s&&(this.Ub=!0,this.s.abort(),this.Ub=!1);this.Sc=b;ij(this);jj(this)};var ij=function(a){a.hf||(a.hf=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
cj.prototype.abort=function(){this.s&&this.Ea&&(Ic(this.ba,gj(this,"Aborting")),this.Ea=!1,this.Ub=!0,this.s.abort(),this.Ub=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),jj(this))};cj.prototype.J=function(){this.s&&(this.Ea&&(this.Ea=!1,this.Ub=!0,this.s.abort(),this.Ub=!1),jj(this,!0));cj.L.J.call(this)};cj.prototype.ei=function(){this.Sa||(this.Bf||this.Sd||this.Ub?kj(this):this.nl())};cj.prototype.nl=function(){kj(this)};
|
|
var kj=function(a){if(a.Ea&&"undefined"!=typeof wa)if(a.we[1]&&4==a.ub()&&2==a.getStatus())Ic(a.ba,gj(a,"Local request error detected and ignored"));else if(a.Sd&&4==a.ub())vi(a.ei,0,a);else if(a.dispatchEvent("readystatechange"),4==a.ub()){Ic(a.ba,gj(a,"Request complete"));a.Ea=!1;try{var b=a.getStatus(),c;if(!(c=Yi(b))){var d;if(d=0===b){var e=String(a.Ud).match(Qc)[1]||null;!e&&r.self&&r.self.location&&(e=r.self.location.protocol.slice(0,-1));d=!dj.test(e?e.toLowerCase():"")}c=d}if(c)a.dispatchEvent("complete"),
|
|
a.dispatchEvent("success");else{try{var g=2<a.ub()?a.s.statusText:""}catch(f){Ic(a.ba,"Can not get status: "+f.message),g=""}a.Sc=g+" ["+a.getStatus()+"]";ij(a)}}finally{jj(a)}}};cj.prototype.di=function(a,b){D("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(lj(a,"progress"));this.dispatchEvent(lj(a,b?"downloadprogress":"uploadprogress"))};
|
|
var lj=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},jj=function(a,b){if(a.s){hj(a);var c=a.s,d=a.we[0]?function(){}:null;a.s=null;a.we=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){Hc(a.ba,"Problem encountered resetting onreadystatechange: "+e.message)}}},hj=function(a){a.ne&&(r.clearTimeout(a.ne),a.ne=null)};cj.prototype.isActive=function(){return!!this.s};cj.prototype.ub=function(){return this.s?this.s.readyState:0};
|
|
cj.prototype.getStatus=function(){try{return 2<this.ub()?this.s.status:-1}catch(a){return-1}};var mj=function(a){try{if(!a.s)return null;if("response"in a.s)return a.s.response;switch(a.xc){case "":case "text":return a.s.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.s)return a.s.mozResponseArrayBuffer}Hc(a.ba,"Response type "+a.xc+" is not supported on this browser");return null}catch(b){return Ic(a.ba,"Can not get response: "+b.message),null}};
|
|
cj.prototype.getResponseHeader=function(a){if(this.s&&4==this.ub())return a=this.s.getResponseHeader(a),null===a?void 0:a};cj.prototype.getAllResponseHeaders=function(){return this.s&&2<=this.ub()?this.s.getAllResponseHeaders()||"":""};
|
|
var nj=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=Kc(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var g=b[e]||[];b[e]=g;g.push(d)}}return Za(b,function(f){return f.join(", ")})},gj=function(a,b){return b+" ["+a.Nh+" "+a.Ud+" "+a.getStatus()+"]"};var Oi=ia(["https://accounts.google.com/gsi/client"]),oj,K=function(a,b){pj();this.callback=a;this.M=new qj(!a,b)};K.prototype.qd=function(a){this.M.Rb=a;return this};K.prototype.handle=function(a){var b=this;if(a instanceof Promise){if(this.callback){var c=function(d,e){try{return b.callback(d,e)}catch(g){setTimeout(function(){throw g;},0)}};a.then(c,function(d){return c(void 0,d)})}}else a.then(function(d){a=d});return a};var sj=function(){return"projects/"+oj};h=K.prototype;h.Ec=function(){return new kh(this.M)};
|
|
h.assets=function(){return new mh(this.M)};h.Na=function(){return new th(this.M)};h.value=function(){return new xh(this.M)};h.maps=function(){return new sh(this.M)};h.map=function(){return new rh(this.M)};h.image=function(){return new qh(this.M)};h.table=function(){return new uh(this.M)};h.video=function(){return new zh(this.M)};var qj=function(a,b){this.sync=a=void 0===a?!1:a;this.Rb=void 0;this.ti=null!=b?b:a?5:10};q(qj,md);
|
|
qj.prototype.send=function(a,b){var c=this;id(a);var d=a.path||"",e=tj()+d,g=uj(a.u||{}),f=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=vj(e,g,void 0,a.B,f,this.ti,this.Rb);d=b?Na(b,d):d;var l=function(m){return{then:function(p){return l(p(m))}}};return l(d)}return(new Promise(function(m,p){vj(e,g,function(v,A){A?p(A):m(v)},a.B,f,c.ti,c.Rb)})).then(function(m){return b?Na(b,m):m})};var xj=function(a){K.call(this,a);this.M=new wj;this.Rb=void 0};q(xj,K);
|
|
xj.prototype.qd=function(a){this.Rb=a;return this};
|
|
xj.prototype.send=function(a,b){var c=this,d=tj()+"/batch",e=a.map(function(f){var l=n(f);f=l.next().value;l=n(l.next().value);var m=l.next().value;l.next();return"--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <"+f+">\r\n\r\n"+m+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",g=function(f){var l={};a.forEach(function(m){var p=n(m);m=p.next().value;p=n(p.next().value);p.next();p=p.next().value;null!=f[m]&&(l[m]=
|
|
Na(p,f[m]))});return b?b(l):l};return this.callback?(vj(d,null,function(f,l){return c.callback(l?f:g(f),l)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e,void 0,this.Rb),null):g(vj(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e,void 0,this.Rb))};var wj=function(){};q(wj,md);
|
|
wj.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=yj();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 zj=function(a,b,c){a=n(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},tj=function(){var a=Aj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Cj=function(a,b,c){var d=[];a&&(d=d.concat(Bj));
|
|
b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var g=a[c++],f=t(g)?"o"+Ca(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},Ij=function(a,b,c){Dj&&Ej&&Dj({client_id:String(Ej),scope:Fj.join(" "),plugin_name:"earthengine"},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Gj(function(){try{Hj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Hj(a,
|
|
b,d)})},yj=function(){Jj&&0<=Date.now()-Jj&&Kj();return Lj},Kj=function(){Jj=Lj=null},pj=function(a,b,c,d){null!=a?Aj=a:Mj||(Aj="https://earthengine.googleapis.com/api");null!=b?Nj=b:Mj||(Nj="https://earthengine.googleapis.com");void 0!==c&&(Oj=c);oj=null!=d?d:oj||"earthengine-legacy";Mj=!0},vj=function(a,b,c,d,e,g,f){pj();var l=Pj,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="0.1.403";"0.1.403"===
|
|
p&&(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=yj();if(null!=p)m.Authorization=p;else if(c&&Dj&&Ej)return Ij(function(){Qj(l,function(){vj(a,b,c,d)})}),null;b=b?b.clone():new Yc;null!=Rj&&b.add("key",Rj);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");oj&&"earthengine-legacy"!==oj&&(m["X-Goog-User-Project"]=oj);b=Sj(b,a);null!=Oj&&(m["X-XSRF-Token"]=Oj);null!=Tj&&(m["X-Earth-Engine-App-ID-Token"]=Tj);p=e||null;var v=b?b.toString():"";"POST"===d&&void 0===e?p=v:/^[\s\xa0]*$/.test(v)||(a+=lb(a,
|
|
"?")?"&":"?",a+=v);e=a.startsWith("/")?Aj+a:a;if(c)return Uj.push(Vj(e,c,d,p,m,g,f)),Wj.pf(),null;v=function(I,ea){this.setRequestHeader&&this.setRequestHeader(ea,I)};var A=0;for(g=null!=g?g:5;;){var C=new XMLHttpRequest;C.open(d,e,!1);Xa(m,v,C);C.send(p);if(429!=C.status||A>g)break;A++}return Xj(C.status,function(I){try{return C.getResponseHeader(I)}catch(ea){return null}},C.responseText,l,void 0,e,d,f)},Vj=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=Pj,v=null!=g?g:10;
|
|
m.callback=function(A){A=A.target;if(429==A.getStatus()&&l<v)return l++,setTimeout(function(){Uj.push(m);Wj.pf()},Math.min(12E4,1E3*Math.pow(2,l))),null;var C=Xj,I=A.getStatus(),ea=u(A.getResponseHeader,A);try{var X=A.s?A.s.responseText:""}catch(da){Ic(A.ba,"Can not get responseText: "+da.message),X=""}return C(I,ea,X,p,b,a,c,f)};return m},Qj=function(a,b){var c=Pj;try{Pj=a,b.call(void 0)}finally{Pj=c}},Xj=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):"";m&&d&&d(m);var p=
|
|
function(X){try{var da=JSON.parse(X);return!(t(da)&&"error"in da&&"message"in da.error)||l&&l(da)?{parsed:da}:da.error.message}catch(Jb){return"Invalid JSON: "+X}},v=function(X){if(0===X)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>X||300<=X)return"Server returned HTTP code: "+X+" for "+f+" "+g},A,C;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)c=p(c),c.parsed?
|
|
C=c.parsed:A=c;else if("multipart/mixed"===d){C={};var I=[];zj(b,c,function(X,da,Jb){Jb=p(Jb);Jb.parsed&&(C[X]=Jb.parsed);(da=(Jb.parsed?"":Jb)||v(da))&&I.push(X+": "+da)});I.length&&(A=I.join("\n"))}else var ea="Response was unexpectedly not JSON, but "+d;A=A||v(a)||ea;if(e)return e(C,A),null;if(!A)return C;throw Error(A);},Gj=function(a){var b=function(){Dj||(Dj=function(c,d){r.google.accounts.oauth2.initTokenClient({client_id:c.client_id,callback:d,scope:c.scope}).requestAccessToken()});a()};t(r.default_gsi)?
|
|
b():Ji(b)},Hj=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(Ij,.9*c);void 0!==d.unref&&d.unref();Jj=Date.now()+c}Lj=b;a&&a()}else b&&b(c.error||"Unknown error.")},uj=function(a){var b=new Yc;a=n(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=n(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},Uj=[],Wj=new wi(function(){var a=Uj.shift();if(a){var b=a.url,c=a.callback,d=a.method,
|
|
e=a.content;a=a.headers;var g=Yj,f=new cj;fj.push(f);c&&f.Xa("complete",c);f.Vc("ready",f.Qk);g&&(f.md=Math.max(0,g));f.send(b,d,e,a)}0==Uj.length||Wj.pf()},350),Aj=null,Nj=null,Oj=null,Tj=null,Sj=Wd,Lj=null,Jj=null,Ej=null,Fj=[],Dj=null,Bj=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],Rj=null,Mj=!1,Yj=0,Pj=null;w("ee.api.ListAssetsResponse",Lg);w("ee.api.EarthEngineAsset",Hf);w("ee.api.Operation",Og);w("ee.api.ListFeaturesResponse",Mg);
|
|
w("ee.api.FeatureViewLocation",Kf);var Zj=function(){};Zj.prototype.Dh=function(){return null};var ak=function(){};w("ee.Encodable.SourceFrame",ak);
|
|
var bk=function(a){if(void 0===a||null===a)a=Ia;return new gf({hb:a})},ck=function(a){return new gf({Oa:a})},dk=function(a){return new gf({Fa:new ff({values:a})})},ek=function(a){return new gf({Ga:new Ef({values:a})})},fk=function(a,b){return new gf({ya:new rg({functionName:a,arguments:b})})},gk=function(a,b){return new gf({ya:new rg({Va:a,arguments:b})})},hk=function(a,b){return new gf({Ua:new qg({lc:a,body:b})})},ik=function(a){if(!a)return"AUTO_JPEG_PNG";a=a.toUpperCase();switch(a){case "JPG":return"JPEG";
|
|
case "AUTO":return"AUTO_JPEG_PNG";case "TIF":case "TIFF":case "GEOTIF":case "GEOTIFF":return"GEO_TIFF";case "TF_RECORD":case "TFRECORD":return"TF_RECORD_IMAGE";case "NUMPY":return"NPY";case "ZIPPED_TIF":case "ZIPPED_TIFF":case "ZIPPED_GEOTIF":case "ZIPPED_GEOTIFF":return"ZIPPED_GEO_TIFF";case "ZIPPED_TIF_PER_BAND":case "ZIPPED_TIFF_PER_BAND":case "ZIPPED_GEOTIF_PER_BAND":case "ZIPPED_GEOTIFF_PER_BAND":return"ZIPPED_GEO_TIFF_PER_BAND";default:return a}},jk=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}},kk=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a&&"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},lk=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},ok=function(a){var b=new Pf,c=!1;"palette"in a&&(c=a.palette,b.Zc="string"===
|
|
typeof c?c.split(","):c,c=!0);var d=[];if("gain"in a||"bias"in a){if("min"in a||"max"in a)throw Error("Gain and bias can't be specified with min and max");var e=b.Zc?b.Zc.length-1:255;d=mk(a,"bias","gain").map(function(g){var f=-g.bias/g.gain;return{min:f,max:e/g.gain+f}})}else if("min"in a||"max"in a)d=mk(a,"min","max");0!==d.length&&(b.Vf=d.map(function(g){return new Ff(g)}),c=!0);a=nk(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},nk=function(a){return a?a.split(",").map(Number):[]},mk=function(a,b,c){var d=nk(a[b]),e=nk(a[c]);if(0===d.length)return e.map(function(g){var f={};return f[b]=0,f[c]=g,f});if(0===e.length)return d.map(function(g){var f={};return f[b]=g,f[c]=1,f});if(d.length!==e.length)throw Error("Length of "+b+" and "+c+" must match.");return d.map(function(g,f){var l={};return l[b]=g,l[c]=e[f],l})},pk=function(a){var b=function(f){var l={};l.description=f.description||"";l.type=f.type||"";null!=f.vd&&
|
|
(l.name=f.vd);void 0!==f.defaultValue&&(l["default"]=f.defaultValue);null!=f.optional&&(l.optional=f.optional);return l},c=function(f){var l={};l.args=(f.arguments||[]).map(b);l.description=f.description||"";l.returns=f.bg||"";null!=f.hidden&&(l.hidden=f.hidden);f.preview&&(l.preview=f.preview);f.deprecated&&(l.deprecated=f.ef);f.sourceCodeUri&&(l.sourceCodeUri=f.sourceCodeUri);return l},d={};a=n(a.Ec||[]);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=e.name.replace(/^algorithms\//,"");d[g]=
|
|
c(e)}return d},qk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,rk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,sk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,tk=function(a){return(a=qk.exec(a))?a[1]:"earthengine-legacy"},uk=function(a){return rk.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
a},wk=function(a){return(a.assets||[]).map(vk)},xk=function(a){switch(a){case "ALGORITHM":return"Algorithm";case "FOLDER":return"Folder";case "IMAGE":return"Image";case "IMAGE_COLLECTION":return"ImageCollection";case "TABLE":return"Table";case "CLASSIFIER":return"Classifier";case "FEATURE_VIEW":return"FeatureView";default:return"Unknown"}},vk=function(a){var b=yk(xk(a.type),a.name),c=Object.assign({},a.properties||{});a.sizeBytes&&(c["system:asset_size"]=Number(a.sizeBytes));a.startTime&&(c["system:time_start"]=
|
|
Date.parse(a.startTime));a.endTime&&(c["system:time_end"]=Date.parse(a.endTime));a.geometry&&(c["system:footprint"]=a.geometry);"string"===typeof a.title?c["system:title"]=a.title:"string"===typeof c.title&&(c["system:title"]=c.title);"string"===typeof a.description?c["system:description"]=a.description:"string"===typeof c.description&&(c["system:description"]=c.description);a.updateTime&&(b.version=1E3*Date.parse(a.updateTime));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,
|
|
crs:d.grid.df,dimensions:void 0,crs_transform:void 0};if(d.grid){if(null!=d.grid.Lb){var g=d.grid.Lb;e.crs_transform=[g.cg||0,g.hg||0,g.yg||0,g.ig||0,g.dg||0,g.zg||0]}null!=d.grid.dimensions&&(e.dimensions=[d.grid.dimensions.width,d.grid.dimensions.height])}d.dataType&&(g={type:"PixelType"},g.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.ed&&(g.min=d.dataType.ed.min||0,g.max=d.dataType.ed.max),e.data_type=g);return e}));a.Id&&(b.mapLocation=a.Id);a.featureCount&&(b.featureCount=a.featureCount);
|
|
return b},zk=function(a){var b=new Hf,c=function(g){return null===g?Ia:void 0},d=Object.assign({},a),e;a=function(g){e=d[g];delete d[g];return e};void 0!==a("system:asset_size")&&(b.sizeBytes=c(e)||String(e));void 0!==a("system:time_start")&&(b.startTime=c(e)||(new Date(Number(e))).toISOString());void 0!==a("system:time_end")&&(b.endTime=c(e)||(new Date(Number(e))).toISOString());void 0!==a("system:footprint")&&(b.geometry=c(e)||e);a("system:title");"string"!==typeof e&&null!==e||null!=d.title||(d.title=
|
|
c(e)||e);a("system:description");"string"!==typeof e&&null!==e||null!=d.description||(d.description=c(e)||e);Object.entries(d).forEach(function(g){var f=n(g);g=f.next().value;f=f.next().value;d[g]=c(f)||f});b.properties=d;return b},yk=function(a,b){var c={};c.type=a;null!=b&&(a=b.split("/"),b="projects"===a[0]&&"assets"===a[2]&&["earthengine-legacy","earthengine-public"].includes(a[1])?a.slice(3).join("/"):b,c.id=b);return c},Ck=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=Ak(a.bbox));a.region&&(b.region=a.region);a.bbox&&a.region&&console.warn("Multiple request parameters converted to region");var c="id num starttime endtime bbox region".split(" ");a=n(Object.keys(a).filter(function(e){return!c.includes(e)}));for(var d=a.next();!d.done;d=a.next())console.warn("Unrecognized key "+d.value+" ignored");return Bk(b)},Ak=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("],[")+"]]]}"},Dk=function(a){var b={};(a.yd||[]).forEach(function(g){b[g.role]=g.Xb});var c=new Set,d=function(g){var f=g.replace(/^domain:|^group:|^serviceAccount:|^user:/,"");g.startsWith("group:")&&c.add(f);return f};a=b["roles/viewer"]||[];var e=a.filter(function(g){return"allUsers"!==g});d={owners:(b["roles/owner"]||[]).map(d),writers:(b["roles/editor"]||[]).map(d),readers:e.map(d)};0<c.size&&(d.groups=c);a.length!=
|
|
e.length&&(d.all_users_can_read=!0);return d},Ek=function(a){var b=function(d){return(a[d]||[]).map(function(e){if(e.includes(":"))return e;var g="user:";e.includes("@")?a.groups&&a.groups.has(e)?g="group:":e.match(/[@|\.]gserviceaccount\.com$/)&&(g="serviceAccount:"):g="domain:";return g+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{role:"roles/owner",Xb:b("owners")},{role:"roles/viewer",Xb:b("readers").concat(c)},{role:"roles/editor",Xb:b("writers")}].map(function(d){return new nf(d)});return new bg({yd:b.filter(function(d){return d.Xb.length}),
|
|
jf:null})},Gk=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+Fk(a)},Fk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Hk=function(a){var b={},c=function(g,f){null!=f&&(b[g]=Date.parse(f))},d=function(g){switch(g){case "PENDING":return"READY";case "RUNNING":return"RUNNING";case "CANCELLING":return"CANCEL_REQUESTED";case "SUCCEEDED":return"COMPLETED";case "CANCELLED":return"CANCELLED";case "FAILED":return"FAILED";
|
|
default:return"UNKNOWN"}},e=Na(Sg,a.metadata||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.cf);c("update_timestamp_ms",e.updateTime);c("start_timestamp_ms",e.startTime);b.attempt=e.attempt;a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=Fk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.ff;b.source_url=e.eg;null!=e.wd&&(b.batch_eecu_usage_seconds=e.wd);return b},Ik=function(a){var b=
|
|
{started:"OK"};a.name&&(b.taskId=Fk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},Jk=function(a){return a.primaryPath?[a.primaryPath].concat(ka(a.additionalPaths||[])):null},Mk=function(a){var b=function(g){var f=Na(Gg,g);f.uris=Jk(g);return f},c=Na(Cg,a);c.name=uk(a.id);c.tilesets=(a.tilesets||[]).map(function(g){var f=Na(Jf,g);f.sources=(g.sources||[]).map(b);return f});c.bands=(a.bands||[]).map(function(g){var f=Na(Dg,g);f.missingData=Kk(g.missingData);return f});c.missingData=
|
|
Kk(a.missingData);c.Lf=jc((a.tilesets||[]).map(Lk));c.pyramidingPolicy=a.pyramidingPolicy||null;if(a.properties){var d=Object.assign({},a.properties),e;a=function(g){e=d[g];delete d[g];return e};a("system:time_start")&&(c.startTime=(new Date(Number(e))).toISOString());a("system:time_end")&&(c.endTime=(new Date(Number(e))).toISOString());c.properties=d}return c},Lk=function(a){var b=[];if(!Array.isArray(a.fileBands))return b;var c=function(d){var e=[];null!=d&&Array.isArray(d.bandId)&&(e=d.bandId.map(function(g){return g||
|
|
""}));return new Eg({nb:a.id||"",da:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});return b},Nk=function(a){var b=Na(Jg,a);b.name=uk(a.id);b.sources=(a.sources||[]).map(function(e){var g=Na(eh,e);g.uris=Jk(e);e.maxError&&(g.Vb=e.maxError);return g});if(a.properties){var c=Object.assign({},a.properties),d;a=function(e){d=c[e];delete c[e];return d};a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&
|
|
(b.endTime=(new Date(Number(d))).toISOString());b.properties=c}return b},Kk=function(a){if(null==a)return null;var b=new Ag({values:[]});null!=a.value&&"number"===typeof a.value&&b.values.push(a.value);Array.isArray(a.values)&&a.values.map(function(c){"number"===typeof c&&b.values.push(c)});return 0==b.values.length?null:b},Ok=function(a){var b=[];"startTime"in a&&(b.push('startTime >= "'+(new Date(a.startTime)).toISOString()+'"'),delete a.startTime);"endTime"in a&&(b.push('endTime < "'+(new Date(a.endTime)).toISOString()+
|
|
'"'),delete a.endTime);if("region"in a){var c=a.region;if("object"===typeof c)try{c=JSON.stringify(c)}catch(e){throw Error('Filter parameter "region" must be a GeoJSON or WKT string.');}else if("string"!==typeof c)throw Error('Filter parameter "region" must be a GeoJSON or WKT string.');c=c.replace(/"/g,"'");b.push('intersects("'+c+'")');delete a.region}if("properties"in a){if(!Array.isArray(a.properties)&&a.properties.some(function(e){return"string"!==typeof e}))throw Error('Filter parameter "properties" must be an array of strings');
|
|
c=n(a.properties);for(var d=c.next();!d.done;d=c.next())b.push(d.value.trim().replace(/^(properties\.)?/,"properties."));delete a.properties}return b.join(" AND ")},Bk=function(a){a=Object.assign({},a);var b=Ok(a);b&&(a.filter=a.filter?a.filter+" AND "+b:b);return a};var Pk=function(){this.blockSize=-1};var Qk=function(){this.blockSize=-1;this.blockSize=64;this.W=Array(4);this.Nk=Array(this.blockSize);this.re=this.Fc=0;this.reset()};x(Qk,Pk);Qk.prototype.reset=function(){this.W[0]=1732584193;this.W[1]=4023233417;this.W[2]=2562383102;this.W[3]=271733878;this.re=this.Fc=0};
|
|
var Rk=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.W[0];c=a.W[1];e=a.W[2];var g=a.W[3];var f=b+(g^c&(e^g))+d[0]+3614090360&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[1]+3905402710&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[2]+606105819&4294967295;e=g+(f<<17&4294967295|f>>>
|
|
15);f=c+(b^e&(g^b))+d[3]+3250441966&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[4]+4118548399&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[5]+1200080426&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[6]+2821735955&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[7]+4249261313&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[8]+1770035416&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[9]+2336552879&4294967295;g=b+(f<<12&4294967295|
|
|
f>>>20);f=e+(c^g&(b^c))+d[10]+4294925233&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[11]+2304563134&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[12]+1804603682&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[13]+4254626195&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[14]+2792965006&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[15]+1236535329&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(e^g&(c^e))+d[1]+4129170786&4294967295;b=c+(f<<
|
|
5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[6]+3225465664&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[11]+643717713&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[0]+3921069994&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[5]+3593408605&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[10]+38016083&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[15]+3634488961&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[4]+3889429448&4294967295;c=
|
|
e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[9]+568446438&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[14]+3275163606&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[3]+4107603335&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[8]+1163531501&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[13]+2850285829&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[2]+4243563512&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[7]+1735328473&4294967295;
|
|
e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[12]+2368359562&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(c^e^g)+d[5]+4294588738&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[8]+2272392833&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[11]+1839030562&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[14]+4259657740&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[1]+2763975236&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[4]+1272893353&4294967295;g=b+(f<<11&4294967295|
|
|
f>>>21);f=e+(g^b^c)+d[7]+4139469664&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[10]+3200236656&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[13]+681279174&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[0]+3936430074&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[3]+3572445317&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[6]+76029189&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[9]+3654602809&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[12]+
|
|
3873151461&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[15]+530742520&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[2]+3299628645&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(e^(c|~g))+d[0]+4096336452&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[7]+1126891415&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[14]+2878612391&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[5]+4237533241&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[12]+1700485571&
|
|
4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[3]+2399980690&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[10]+4293915773&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[1]+2240044497&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[8]+1873313359&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[15]+4264355552&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[6]+2734768916&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[13]+1309151649&
|
|
4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[4]+4149444226&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[11]+3174756917&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[2]+718787259&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[9]+3951481745&4294967295;a.W[0]=a.W[0]+b&4294967295;a.W[1]=a.W[1]+(e+(f<<21&4294967295|f>>>11))&4294967295;a.W[2]=a.W[2]+e&4294967295;a.W[3]=a.W[3]+g&4294967295};
|
|
Qk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.Nk,e=this.Fc,g=0;g<b;){if(0==e)for(;g<=c;)Rk(this,a,g),g+=this.blockSize;if("string"===typeof a)for(;g<b;){if(d[e++]=a.charCodeAt(g++),e==this.blockSize){Rk(this,d);e=0;break}}else for(;g<b;)if(d[e++]=a[g++],e==this.blockSize){Rk(this,d);e=0;break}}this.Fc=e;this.re+=b};
|
|
Qk.prototype.digest=function(){var a=Array((56>this.Fc?this.blockSize:2*this.blockSize)-this.Fc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.re;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.W[b]>>>d&255;return a};var Sk=function(a){this.rd="__ee_hash__";this.Td=!1!==a;this.Ya=[];this.wa={};this.Cg=[];this.Pd=new WeakMap;this.mg=new WeakMap;this.Pi=void 0};w("ee.Serializer",Sk);var Tk=new Ti,Uk=new Qk,Wk=function(a,b){return Vk(new Sk(void 0!==b?b:!0),a)};w("ee.Serializer.encode",Wk);var Xk=function(a){return Tk.va(Wk(a))};w("ee.Serializer.toJSON",Xk);var Zk=function(a){return Yk(Wk(a,!1))};w("ee.Serializer.toReadableJSON",Zk);
|
|
var Yk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):Tk.va(a)},Vk=function(a,b){b=a.Gd(b);a.Td&&(b=t(b)&&"ValueRef"==b.type&&1==a.Ya.length?a.Ya[0][1]:{type:"CompoundValue",scope:a.Ya,value:b},a.Ya=[],Xb(a.Cg,u(function(c){delete c[this.rd]},a)),a.Cg=[],a.wa={});return b};
|
|
Sk.prototype.Gd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=t(a)?a[this.rd]:null;if(this.Td&&null!=b&&this.wa[b])return{type:"ValueRef",value:this.wa[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(za(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Zj){var c=a.encode(u(this.Gd,this));if(!(Array.isArray(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
Zb(a,function(e){return this.Gd(e)},this);else if(t(a)&&"function"!==typeof a)c=Za(a,function(e){if("function"!==typeof e)return this.Gd(e)},this),gb(c,this.rd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Td){b=$k(c);if(this.wa[b])var d=this.wa[b];else d=String(this.Ya.length),this.Ya.push([d,c]),this.wa[b]=d;a[this.rd]=b;this.Cg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var $k=function(a){Uk.reset();Uk.update(Tk.va(a));return Uk.digest().toString()},bl=function(a){return Oa(al(a),Ka,La,Ma)};w("ee.Serializer.encodeCloudApi",bl);
|
|
var al=function(a,b){return cl(new Sk(!0),a,b)},cl=function(a,b,c){a.Pi=c;return dl(a,b)},el=function(a,b){var c={};b=b.values;for(var d in b){var e=a.mg.get(b[d]);c[d]=Object.assign({},e)}return c},fl=function(a){a=dl(new Sk(!1),a);var b=a.values,c=function(d){if(!t(d))return d;var e=Array.isArray(d)?[]:{},g=d instanceof Object.getPrototypeOf(gf);d=n(Object.entries(g?d.h:d));for(var f=d.next();!f.done;f=d.next()){var l=n(f.value);f=l.next().value;l=l.next().value;g?null!==l&&(e[f]="functionDefinitionValue"===
|
|
f&&null!=l.body?{argumentNames:l.lc,body:c(b[l.body])}:"functionInvocationValue"===f&&null!=l.Va?{arguments:Za(l.arguments,c),functionReference:c(b[l.Va])}:"constantValue"===f?l===Ia?null:l:c(l)):e[f]=c(l)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",fl);var gl=function(a){return Tk.va(bl(a))};w("ee.Serializer.toCloudApiJSON",gl);var hl=function(a){return Yk(fl(a))};w("ee.Serializer.toReadableCloudApiJSON",hl);
|
|
var dl=function(a,b){try{var c=il(a,b),d=new jl(c,a.Ya,a.Td,a.mg),e=kl(d,d.vi);return new xf({result:e,values:d.gi})}finally{a.Pd=new WeakMap,a.wa={},a.Ya=[]}},il=function(a,b){var c=function(f){var l=$k(f);t(b)&&a.Pd.set(b,l);if(a.wa[l])return a.wa[l];var m=String(a.Ya.length);a.Ya.push([m,f]);return a.wa[l]=m};if(t(b)&&a.wa[a.Pd.get(b)])return a.wa[a.Pd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(bk(b));if(za(b))return c(fk("Date",{value:bk(Math.floor(b.getTime()))}));
|
|
if(b instanceof Zj){var d=b.na(a),e=b.Dh();null!==e&&a.mg.set(d,e);return c(d)}if(Array.isArray(b))return c(dk(b.map(function(f){return ck(il(a,f))})));if(t(b)&&"function"!==typeof b){var g={};Object.keys(b).sort().forEach(function(f){g[f]=ck(il(a,b[f]))});return c(ek(g))}throw Error("Can't encode object: "+b);},jl=function(a,b,c,d){var e=this;this.vi=a;this.values={};b.forEach(function(g){return e.values[g[0]]=g[1]});this.oi=c?ll(this):null;this.gi={};this.Yf={};this.ll=0;this.jd=d},kl=function(a,
|
|
b){if(b in a.Yf)return a.Yf[b];var c=String(a.ll++);a.Yf[b]=c;a.gi[c]=ml(a,a.values[b],0);return c},ml=function(a,b,c){var d=function(A){return null!==A.hb},e=function(A){return A===Ia?null:A},g=function(A,C){a.jd&&a.jd.has(A)&&!a.jd.has(C)&&a.jd.set(C,a.jd.get(A));return C};if(d(b)||null!=b.Wa||null!=b.qb||null!=b.Mb)return b;if(null!=b.Oa){d=a.values[b.Oa];if(null===a.oi||50>c&&1===a.oi[b.Oa])return d=ml(a,d,c),g(b,d);if(nl(d))return g(b,d);d=ck(kl(a,b.Oa));return g(b,d)}if(null!=b.Fa){var f=b.Fa.values.map(function(A){return ml(a,
|
|
A,c+3)});d=f.every(d)?bk(f.map(function(A){return e(A.hb)})):dk(f);return g(b,d)}if(null!=b.Ga){f={};for(var l={},m=n(Object.entries(b.Ga.values||{})),p=m.next();!p.done;p=m.next()){var v=n(p.value);p=v.next().value;v=v.next().value;f[p]=ml(a,v,c+3);null!==l&&d(f[p])?l[p]=e(f[p].hb):l=null}return null!==l?g(b,bk(l)):g(f,ek(f))}if(null!=b.Ua)return d=b.Ua,d=hk(d.lc||[],kl(a,d.body||"")),g(b,d);if(null!=b.ya){d=b.ya;f={};l=n(Object.keys(d.arguments||{}));for(m=l.next();!m.done;m=l.next())m=m.value,
|
|
f[m]=ml(a,d.arguments[m],c+3);d=d.functionName?fk(d.functionName,f):gk(kl(a,d.Va||""),f);return g(b,d)}throw Error("Can't optimize value: "+b);},nl=function(a){var b=a.hb;return null!==b?b===Ia||"number"===typeof b||"boolean"===typeof b:null!=a.Mb},ll=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Fa?e.Fa.values.forEach(d):null!=e.Ga?Object.values(e.Ga.values).forEach(d):null!=e.Ua?c(e.Ua.body):null!=e.ya?(e=e.ya,null!=e.Va&&c(e.Va),Object.values(e.arguments).forEach(d)):
|
|
null!=e.Oa&&c(e.Oa)};c(a.vi);return b};var tl=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=a.selectors||null;null!=b&&"string"===typeof b&&(b=b.split(","));b=new Yf({l:al(a.element),description:L(a.description),oa:null,sa:null,Jd:null,xd:null,selectors:b,Vb:M(a.maxErrorMeters),requestId:L(a.id),maxVertices:M(a.maxVertices),O:M(a.maxWorkers),priority:M(a.priority)});var c=ol(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new ag({ja:null,ma:null,F:jk(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===
|
|
c?d.ja=pl(a):d.ma=ql(a);b.oa=d;break;case "ASSET":b.sa=new Zf({Ha:rl(a)});break;case "FEATURE_VIEW":c=new ig({name:uk(a.mapName)});d=null==a?null:new ng({Nf:M(a.maxFeaturesPerTile),sg:a.thinningStrategy});var e=null==a?null:new mg({Dg:sl(a.zOrderRanking),rg:sl(a.thinningRanking)});d=new jg({qg:d,Xf:e});c=new $f({lf:c,rc:d});b.Jd=c;break;case "BIGQUERY":b.xd=new mf({Qe:new lf({table:L(a.table),overwrite:!!a.overwrite,append:!!a.append})});break;default:throw Error('Export destination "'+c+'" unknown');
|
|
}a.workloadTag&&(b.workloadTag=a.workloadTag);return b};function L(a){return null!=a?String(a):null}function M(a){return null!=a?Number(a):null}
|
|
var ol=function(a){var b="DRIVE";if(null==a)return b;null!=a.outputBucket||null!=a.outputPrefix?b="GOOGLE_CLOUD_STORAGE":null!=a.assetId?b="ASSET":null!=a.mapName&&(b="FEATURE_VIEW");null!=a.table&&(b="BIGQUERY");return b},vl=function(a){var b=new Bg({Ye:!!a.tfrecordCompressed,Wb:L(a.tfrecordMaxFileSize),fg:!!a.tfrecordSequenceData,We:!!a.tfrecordCollapseBands,Of:M(a.tfrecordMaskedThreshold),defaultValue:M(a.tfrecordDefaultValue),cc:ul(a.tfrecordPatchDimensions),Kf:ul(a.tfrecordKernelSize),le:null});
|
|
a=a.tfrecordTensorDepths;if(null!=a)if(t(a)){var c={};Xa(a,function(d,e){if("string"!==typeof e||"number"!==typeof d)throw Error('"tensorDepths" option must be an object of type Object<string, number>');c[e]=d});b.le=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},wl=function(a,b){var c=new Uf({ja:null,ma:null,Kd:null,me:null,F:ik(a.fileFormat)});if("GEO_TIFF"===c.F){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
|
|
var d=a.tiffShardSize||a.shardSize;var e=!!a.tiffCloudOptimized;var g=!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),f=ul(a.fileDimensions||a.tiffFileDimensions);d=M(d);var l=a.tiffNoData;l=null!=l?new tg({qf:Number(l)}):null;e=new sg({Ve:e,lg:g,cc:f,tileSize:d,Qf:l});c.Kd=e}else"TF_RECORD_IMAGE"===c.F&&(c.me=vl(a));"GOOGLE_CLOUD_STORAGE"===b?c.ja=pl(a):c.ma=ql(a);return c},xl=function(a,b){var c=new dg({ja:null,ma:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ja=pl(a):c.ma=ql(a);return c},yl=function(a){var b,
|
|
c,d,e,g=M(null!=(b=a.endZoom)?b:a.maxZoom);b=M(null!=(c=a.startZoom)?c:a.minZoom);c=M(a.scale);var f=!(null!=(d=a.skipEmpty)?!d:!a.skipEmptyTiles);d=L(a.mapsApiKey);var l=ul(null!=(e=a.dimensions)?e:a.tileDimensions);e=M(a.stride);var m=M(a.minTimeMachineZoomSubset);a=M(a.maxTimeMachineZoomSubset);a=null==m&&null==a?null:new gh({start:null!=m?m:0,end:a});return new Xf({gf:g,ng:b,scale:c,kg:f,Jf:d,dimensions:l,stride:e,Eg:a})},ul=function(a){if(null==a)return null;var b=new ug({height:0,width:0});
|
|
"string"===typeof a&&(-1!==a.indexOf("x")?a=a.split("x").map(Number):-1!==a.indexOf(",")&&(a=a.split(",").map(Number)));if(Array.isArray(a))if(2===a.length)b.height=a[0],b.width=a[1];else if(1===a.length)b.height=a[0],b.width=a[0];else throw Error("Unable to construct grid from dimensions: "+a);else if("number"!==typeof a||isNaN(a))if(t(a)&&null!=a.height&&null!=a.width)b.height=a.height,b.width=a.width;else throw Error("Unable to construct grid from dimensions: "+a);else b.height=a,b.width=a;return b},
|
|
pl=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new uf({Te:L(a.outputBucket),xa:L(a.outputPrefix),Ue:a.bucketCorsUris||null,permissions:b})},ql=function(a){return new Gf({sf:L(a.driveFolder),xa:L(a.driveFileNamePrefix)})},rl=function(a){return new sf({name:uk(a.assetId)})},sl=function(a){if(!a)return null;var b=a;"string"===typeof a&&(a=a.split(","));if(Array.isArray(a))return new bh({Wf:(a||[]).map(zl)});throw Error("Unable to build ranking rule from rules: "+
|
|
JSON.stringify(b)+". Rules should either be a comma-separated string or list of strings.");},zl=function(a){var b=new ah({direction:null,ae:null,ce:null,be:null});a=a.trim();a=a.match(/^([\S]+.*)\s+(ASC|DESC)$/);if(null==a)throw Error("Ranking rule format is invalid. Each rule should be defined by a rule type and a direction (ASC or DESC), separated by a space. Valid rule types are: .geometryType, .minZoomLevel, or a feature property name.");var c=n(a);c.next();a=c.next().value;c=c.next().value;switch(c.toUpperCase()){case "ASC":b.direction=
|
|
"ASCENDING";break;case "DESC":b.direction="DESCENDING";break;default:throw Error("Ranking rule direction '"+c+"' is invalid. Directions are: ASC, DESC.");}switch(a.trim()){case ".geometryType":b.be=new Yg({});break;case ".minZoomLevel":b.ce=new $g({});break;default:b.ae=new Xg({attributeName:L(a)})}return b};var Al=[],Bl=function(a){D(!Object.isSealed(a),"Cannot use getInstance() with a sealed constructor.");var b="Df";if(a.Df&&a.hasOwnProperty(b))return a.Df;Al.push(a);var c=new a;a.Df=c;D(a.hasOwnProperty(b),"Could not instantiate singleton.");return c};var Dl=function(a,b,c,d,e,g){d=Cj(!g,!1,d||[]);Ej=a;Fj=d;null===a?Kj():Gj(function(){Ij(b,c,e||Fa(Cl,b,c))})};w("ee.data.authenticateViaOauth",Dl);var El=function(a,b,c,d,e){Dl(a,b,c,d,e)};w("ee.data.authenticate",El);var Cl=function(a,b){r.google.accounts.oauth2.initTokenClient({client_id:Ej,callback:Fa(Hj,a,b),scope:Fj.join(" ")}).requestAccessToken()};w("ee.data.authenticateViaPopup",Cl);
|
|
var Fl=function(a,b,c,d,e){if("window"in r)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");d=Cj(!e,!e,d||[]);Ej=a.client_email;Fj=d;var g=new google.auth.JWT(a.client_email,null,a.private_key,d,null);Dj=function(f,l){g.authorize(function(m,p){m?l({error:m}):l({access_token:p.access_token,token_type:p.token_type,expires_in:(p.expiry_date-Date.now())/1E3})})};Ij(b,c)};w("ee.data.authenticateViaPrivateKey",Fl);
|
|
w("ee.data.setExpressionAugmenter",function(a){Gl=a||Wd});var Gl=Wd;w("ee.data.setAuthToken",function(a,b,c,d,e,g,f,l){e=Cj(!l,!1,e||[]);Ej=a;Fj=e;Hj(void 0,void 0,{token_type:b,access_token:c,state:e.join(" "),expires_in:d});!1===f?g&&g():Gj(function(){g&&g()})});w("ee.data.refreshAuthToken",Ij);w("ee.data.setAuthTokenRefresher",function(a){Dj=a});w("ee.data.getAuthToken",yj);w("ee.data.clearAuthToken",Kj);w("ee.data.getAuthClientId",function(){return Ej});w("ee.data.getAuthScopes",function(){return Fj});
|
|
w("ee.data.setDeadline",function(a){Yj=a});w("ee.data.setParamAugmenter",function(a){Sj=a||Wd});
|
|
var Hl=function(a){a=new K(a);return a.handle(a.Ec().list(sj(),{prettyPrint:!1}).then(pk))},Kl=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");a=new Of({name:null,l:Gl(al(a.image)),F:ik(a.format),da:lk(a.bands),ic:ok(a)});var c={fields:"name"},d=Il();d&&(c.workloadTag=d);b=new K(b);return b.handle(b.maps().create(sj(),a,c).then(function(e){return Jl(e.name,"")}))};
|
|
w("ee.data.getMapId",Kl);var Ll=function(a,b,c,d){if(!a.formatTileUrl){var e=Jl(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",Ll);
|
|
var Jl=function(a,b,c){var d=void 0===c?"":c;d||(pj(),c=Nj,d=b?c+"/map/"+a+"/{z}/{x}/{y}?token="+b:c+"/v1/"+a+"/tiles/{z}/{x}/{y}");return{mapid:a,token:b,formatTileUrl:function(e,g,f){var l=Math.pow(2,f);e%=l;e=String(0>e?e+l:e);return d.replace("{x}",e).replace("{y}",g).replace("{z}",f)},urlFormat:d}},Ml=function(a,b){var c=a.visParams?Gl(al(a.visParams)):null;a=new hg({name:null,Nb:a.assetId,mapName:a.mapName,Bg:c});b=new K(b);return b.handle((new oh(b.M)).create(sj(),a,{fields:["name"]}).then(function(d){var e=
|
|
d.name.split("/").pop();return{token:e,formatTileUrl:function(g,f,l){return Nj+"/v1/"+d.name+"/tiles/"+l+"/"+g+"/"+f},rawTilesKey:e.substring(0,e.lastIndexOf("-"))}}))};w("ee.data.getFeatureViewTilesKey",Ml);
|
|
var Nl=function(a,b,c){c=new K(c);var d=uk(a);a=c.handle;var e=c.assets();b=void 0===b?{}:b;var g=void 0===g?{}:g;e.j.C(d,RegExp("^projects/[^/]+/assets/.*$"));g=F(e.j,{body:null,B:"GET",D:"earthengine.projects.assets.listFeatures",path:"/"+e.m+"/"+d+":listFeatures",u:E(b,g),G:Mg});return a.call(c,g)};w("ee.data.listFeatures",Nl);
|
|
var Ol=function(a,b){var c=new Sk(!0);a=cl(c,a);var d={};c=el(c,a);Object.keys(c).length&&(d={__source_code_nodes__:c});c={l:Gl(a,d)};if(a=Il())c.workloadTag=a;b=new K(b);return b.handle(yh(b.value(),sj(),new wf(c)).then(function(e){return e.result}))};w("ee.data.computeValue",Ol);
|
|
var Pl=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");if(void 0!==a.region)throw Error('"region" not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');if(void 0!==a.dimensions)throw Error('"dimensions" is not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');a=new fh({name:null,l:Gl(al(a.image)),F:ik(a.format),xa:a.name,da:lk(a.bands),
|
|
ic:ok(a),grid:null});var c={fields:"name"},d=Il();d&&(c.workloadTag=d);b=new K(b);return b.handle((new wh(b.M)).create(sj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getThumbId",Pl);
|
|
var Ql=function(a,b){var c=new eg({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new jh({name:null,l:Gl(al(a.imageCollection)),F:ik(a.format),Pa:c,grid:null});c={fields:"name"};var d=Il();d&&(c.workloadTag=d);b=new K(b);return b.handle((new Bh(b.M)).create(sj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getVideoThumbId",Ql);
|
|
var Rl=function(a,b){a=new pg({name:null,l:Gl(al(a.imageCollection)),F:ik(a.format),orientation:kk(a.orientation),grid:null});var c={fields:"name"},d=Il();d&&(c.workloadTag=d);b=new K(b);return b.handle((new ph(b.M)).create(sj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getFilmstripThumbId",Rl);var Sl=function(a){return Nj+"/v1/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",Sl);
|
|
var Ul=function(a,b){a=Object.assign({},a);a.id&&(a.image=new N(a.id));if("string"===typeof a.image)throw Error("Image as serialized JSON string not supported.");if(!a.image)throw Error("Missing ID or image parameter.");a.filePerBand=!1!==a.filePerBand;a.format=a.format||(a.filePerBand?"ZIPPED_GEO_TIFF_PER_BAND":"ZIPPED_GEO_TIFF");if(null!=a.region&&(null!=a.scale||null!=a.crs_transform)&&null!=a.dimensions)throw Error("Cannot specify (bounding region, crs_transform/scale, dimensions) simultaneously.");
|
|
if("string"===typeof a.bands)try{a.bands=JSON.parse(a.bands)}catch(e){a.bands=lk(a.bands)}if(a.bands&&!Array.isArray(a.bands))throw Error("Bands parameter must be an array.");a.bands&&a.bands.every(function(e){return"string"===typeof e})&&(a.bands=a.bands.map(function(e){return{id:e}}));if(a.bands&&a.bands.some(function(e){return null==e.id}))throw Error("Each band dictionary must have an id.");"string"===typeof a.region&&(a.region=JSON.parse(a.region));if("string"===typeof a.crs_transform)try{a.crs_transform=
|
|
JSON.parse(a.crs_transform)}catch(e){}var c=Tl(a.image,a);a=new fh({name:null,l:Gl(al(c)),F:ik(a.format),xa:a.name,da:a.bands&&lk(a.bands.map(function(e){return e.id})),grid:null});c={fields:"name"};var d=Il();d&&(c.workloadTag=d);b=new K(b);return b.handle((new wh(b.M)).create(sj(),a,c).then(function(e){return{docid:e.name,token:""}}))};w("ee.data.getDownloadId",Ul);var Vl=function(a){pj();return Nj+"/v1/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",Vl);
|
|
var Wl=function(a,b){b=new K(b);var c=jk(a.format),d=Gl(al(a.table)),e=null;if(null!=a.selectors)if("string"===typeof a.selectors)e=a.selectors.split(",");else if(Array.isArray(a.selectors)&&a.selectors.every(function(g){return"string"===typeof g}))e=a.selectors;else throw Error("'selectors' parameter must be an array of strings.");a=new dh({name:null,l:d,F:c,selectors:e,filename:a.filename||null});c={fields:"name"};if(d=Il())c.workloadTag=d;return b.handle((new vh(b.M)).create(sj(),a,c).then(function(g){return{docid:g.name||
|
|
"",token:""}}))};w("ee.data.getTableDownloadId",Wl);var Xl=function(a){return Nj+"/v1/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",Xl);var Yl=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,4*d)).toString(16).padStart(d,"0")};a=ic(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(4*Math.random())).toString(16)+c(3),c(12)].join("-")});return b?b(a):a};w("ee.data.newTaskId",Yl);
|
|
var Zl=function(a){return a.name&&a.done&&a.error},am=function(a,b){var c=$l(a).map(Gk);if(1===c.length)return a=(new K(b)).qd(Zl),a.handle(a.Na().get(c[0]).then(function(e){return[Hk(e)]}));a=(new xj(b)).qd(Zl);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(g){return Hk(e[g])})})};w("ee.data.getTaskStatus",am);
|
|
var $l=function(a){if("string"===typeof a)return[a];if(Array.isArray(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},cm=function(a){return bm(void 0,a)};w("ee.data.getTaskList",cm);var bm=function(a,b){return b?(dm(a,function(c,d){return b(c?{tasks:c.map(Hk)}:null,d)}),null):{tasks:dm(a).map(Hk)}};w("ee.data.getTaskListWithLimit",bm);
|
|
var dm=function(a,b){var c=[],d={pageSize:500},e=function(l){gc(c,l.Na||[]);!l.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=l.nextPageToken,g.handle(f.list(sj(),d).then(e)));return null},g=new K(b?function(l,m){return m&&b(l,m)}:void 0),f=g.Na();g.handle(f.list(sj(),d).then(e));return b?null:a?c.slice(0,a):c};w("ee.data.listOperations",dm);
|
|
var em=function(a,b){a=$l(a).map(Gk);var c=new pf;if(1===a.length)b=new K(b),b.handle(b.Na().cancel(a[0],c));else{b=new xj(b);var d=b.Na();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",em);var fm=function(a,b){var c=$l(a).map(Gk);if(!Array.isArray(a))return a=(new K(b)).qd(Zl),a.handle(a.Na().get(c[0]));a=(new xj(b)).qd(Zl);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",fm);
|
|
var hm=function(a,b){return gm(a,"CANCEL",b)};w("ee.data.cancelTask",hm);var gm=function(a,b,c){if(!cb(im,b))throw Error("Invalid action: "+b);a=$l(a);a=a.map(Gk);em(a,c);return null};w("ee.data.updateTask",gm);
|
|
var om=function(a,b,c){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};if("workloadTag"in b)b.workloadTag||delete b.workloadTag;else{var e=Il();e&&(b.workloadTag=e)}var g=new K(c);c=function(f){return g.handle(f.then(Ik))};switch(d){case "EXPORT_IMAGE":return b=jm(b,a),c(g.image().Ka(sj(),b));case "EXPORT_FEATURES":return b=tl(b),b.l=Gl(b.l,a),c(g.table().Ka(sj(),b));case "EXPORT_VIDEO":return b=km(b,a),c(g.video().Ka(sj(),b));case "EXPORT_TILES":return b=lm(b,a),c(g.map().Ka(sj(),
|
|
b));case "EXPORT_VIDEO_MAP":return b=mm(b),c((new Ah(g.M)).Ka(sj(),b));case "EXPORT_CLASSIFIER":return b=nm(b,a),c((new nh(g.M)).Ka(sj(),b));default:throw Error("Unable to start processing for task of type "+d);}};w("ee.data.startProcessing",om);
|
|
var jm=function(a,b){var c=pm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new Sf({l:al(c.element),description:L(c.description),oa:null,sa:null,grid:null,Pf:L(c.maxPixels),requestId:L(c.id),O:M(c.maxWorkers),priority:M(c.priority)}),e=ol(c);switch(e){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":d.oa=wl(c,e);break;case "ASSET":e=c.pyramidingPolicy||{};try{e=JSON.parse(e)}catch(f){}var g="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof e?(g=e,e={}):e[".default"]&&(g=e[".default"],
|
|
delete e[".default"]);c=new Tf({Ha:rl(c),pyramidingPolicy:g,Uf:fb(e)?null:e,tileSize:M(c.shardSize)});d.sa=c;break;default:throw Error('Export destination "'+e+'" unknown');}d.l=Gl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},km=function(a,b){var c=qm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new fg({l:al(c.element),description:L(c.description),Pa:new eg({framesPerSecond:M(c.framesPerSecond),maxFrames:M(c.maxFrames),maxPixelsPerFrame:L(c.maxPixels)}),
|
|
oa:null,requestId:L(c.id),O:M(c.maxWorkers),priority:M(c.priority)});d.oa=xl(c,ol(c));d.l=Gl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},lm=function(a,b){var c=a.scale;delete a.scale;var d=pm(a);d.scale=c;if(null==d.element)throw Error('"element" not found in params '+d);c=new Wf({l:al(d.element),description:L(d.description),ec:yl(d),dc:wl(d,"GOOGLE_CLOUD_STORAGE"),requestId:L(d.id),O:M(d.maxWorkers),priority:M(d.priority)});c.l=Gl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);
|
|
return c},mm=function(a){var b=a.scale;delete a.scale;var c=qm(a);c.scale=b;if(null==c.element)throw Error('"element" not found in params '+c);b=new cg({l:al(c.element),description:L(c.description),Pa:new eg({framesPerSecond:M(c.framesPerSecond),maxFrames:M(c.maxFrames),maxPixelsPerFrame:null}),ec:yl(c),dc:xl(c,"GOOGLE_CLOUD_STORAGE"),requestId:L(c.id),version:L(c.version),O:M(c.maxWorkers),priority:M(c.priority)});b.l=Gl(b.l);a.workloadTag&&(b.workloadTag=a.workloadTag);return b},nm=function(a,b){if(null==
|
|
a.element)throw Error('"element" not found in params '+a);var c=ol(a);if("ASSET"!=c)throw Error('Export destination "'+c+'" unknown');c=new Rf({l:al(a.element),description:L(a.description),requestId:L(a.id),sa:new rf({Ha:rl(a)}),O:M(a.maxWorkers),priority:M(a.priority)});c.l=Gl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);return c},sm=function(a,b,c){b=Mk(b);var d=function(e){return e?Ik(e):null};return d(rm(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startIngestion",sm);
|
|
var rm=function(a,b,c){b=new Hg({Af:b,requestId:a,overwrite:null,description:null});a=new K(c,a?void 0:0);return a.handle(a.image().import(sj(),b))},tm=function(a,b,c){b=new Ig({pg:b,requestId:a,overwrite:null,description:null});a=new K(c,a?void 0:0);return a.handle(a.table().import(sj(),b))},um=function(a,b,c){b=Nk(b);var d=function(e){return e?Ik(e):null};return d(tm(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startTableIngestion",um);
|
|
var vm=function(a,b){b=new K(b);a=uk(a);return b.handle(b.assets().get(a,{prettyPrint:!1}).then(vk))};w("ee.data.getAsset",vm);w("ee.data.getInfo",vm);
|
|
var wm=function(a,b,c,d){b=void 0===b?{}:b;d=void 0===d?Wd:d;var e=Object.assign({},b),g=new K(c),f=(b=sk.test(a))?new lh(g.M):g.assets();a=b?"projects/"+tk(a):uk(a);var l=function(m){if(null!=e.pageSize||!m.nextPageToken)return m;var p=m.assets||[];e.pageToken=m.nextPageToken;m=f.Tc(a,e).then(function(v){v.assets=p.concat(v.assets);return v}).then(l);return c?m:g.handle(m)};return g.handle(f.Tc(a,e).then(l).then(d))},xm=function(a,b){var c=Ck(a);c.pageSize||(c.pageSize=1E3);return wm(a.id,c,b,function(d){return null==
|
|
d?null:wk(d)})};w("ee.data.getList",xm);var ym=function(a,b,c){b=void 0===b?{}:b;return wm(a,b,c)};w("ee.data.listAssets",ym);var zm=function(a,b,c){b=void 0===b?{}:b;b=Bk(b);return wm(a,b,c,function(d){if(null==d)return null;var e={};d.assets&&(e.images=d.assets);d.nextPageToken&&(e.nextPageToken=d.nextPageToken);return e})};w("ee.data.listImages",zm);var Am=function(a,b){b=new K(b);return b.handle((new lh(b.M)).Tc(a||sj()))};w("ee.data.listBuckets",Am);var Bm=function(a){a=new K(a);return a.handle((new lh(a.M)).Tc(sj()).then(wk))};
|
|
w("ee.data.getAssetRoots",Bm);var Cm=function(a,b){var c="projects/"+tk(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new Hf({type:"Folder"});b=new K(b);b.handle(b.assets().create(c,d,{assetId:a}).then(vk))};w("ee.data.createAssetHome",Cm);
|
|
var Dm=function(a,b,c,d,e){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");b=a.name||b&&uk(b);if(!b)throw Error("Either asset name or opt_path must be specified.");c=b.indexOf("/assets/");if(-1===c)throw Error("Asset name must contain /assets/.");a=Object.assign({},a);a.tilestoreEntry&&!a.tilestoreLocation&&(a.tilestoreLocation=a.tilestoreEntry,delete a.tilestoreEntry);a.tilestoreLocation&&(a.tilestoreLocation=new Nf(a.tilestoreLocation));
|
|
a.gcsLocation&&!a.cloudStorageLocation&&(a.cloudStorageLocation=a.gcsLocation,delete a.gcsLocation);a.cloudStorageLocation&&(a.cloudStorageLocation=new vf(a.cloudStorageLocation));d&&!a.properties&&(a.properties=Object.assign({},d));d=n(["title","description"]);for(var g=d.next();!g.done;g=d.next())if(g=g.value,a[g]){var f={};a.properties=Object.assign((f[g]=a[g],f),a.properties||{});delete a[g]}a=new Hf(a);d=b.slice(0,c);b=b.slice(c+8);a.id=null;a.name=null;a:switch(c=a.type,c){case "ImageCollection":c=
|
|
"IMAGE_COLLECTION";break a;case "Folder":c="FOLDER"}a.type=c;e=new K(e);return e.handle(e.assets().create(d,a,{assetId:b}).then(vk))};w("ee.data.createAsset",Dm);var Em=function(a,b,c){return Dm({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",Em);var Fm=function(a,b,c){a=uk(a);b=uk(b);b=new Qg({Qb:b});c=new K(c);c.handle(c.assets().move(a,b).then(vk))};w("ee.data.renameAsset",Fm);
|
|
var Gm=function(a,b,c,d){a=uk(a);b=uk(b);c=new Af({Qb:b,overwrite:null!=c?c:null});d=new K(d);b=d.handle;var e=d.assets();var g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=F(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",u:E(g,f),G:Hf});b.call(d,g.then(vk))};w("ee.data.copyAsset",Gm);var Hm=function(a,b){b=new K(b);b.handle(b.assets().delete(uk(a)))};w("ee.data.deleteAsset",Hm);
|
|
var Im=function(a,b){a=uk(a);var c=new vg;b=new K(b);var d=b.handle,e=b.assets(),g={prettyPrint:!1};g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=F(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+e.m+"/"+a+":getIamPolicy",u:E(g,f),G:bg});return d.call(b,f.then(Dk))};w("ee.data.getAssetAcl",Im);
|
|
var Jm=function(a,b,c,d){b=new ih({Nb:b,updateMask:(c||[]).join(",")});d=new K(d);c=d.handle;var e=d.assets();a=uk(a);var g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=F(e.j,{body:b,B:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,u:E(g,f),G:Hf});return c.call(d,g.then(vk))};w("ee.data.updateAsset",Jm);
|
|
var Km=function(a,b,c){a=uk(a);b=Ek(b);b=new ch({kb:b});c=new K(c);var d=c.handle,e=c.assets(),g={prettyPrint:!1};g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=F(e.j,{body:b,B:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+e.m+"/"+a+":setIamPolicy",u:E(g,f),G:bg});d.call(c,f)};w("ee.data.setAssetAcl",Km);
|
|
var Lm=function(a,b,c){var d=zk(b);b=Ja(d.i()).keys.filter(function(e){return"properties"!==e&&B(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(g,f){return"_"+f.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));Jm(a,d,b,c)};w("ee.data.setAssetProperties",Lm);
|
|
var Mm=function(a,b){var c=uk(a);b=new K(b);var d=b.assets(),e=d.j.C;d.j.C=function(g,f){"^projects\\/[^/]+\\/assets\\/.+$"===f.source&&(f=RegExp("^projects/[^/]+/assets/.*$"));return e(g,f)};c=d.get(c,{prettyPrint:!1});return b.handle(c.then(function(g){if(!(g instanceof Hf&&g.quota))throw Error(a+" is not a root folder.");g=g.quota;return{asset_count:{usage:Number(g.Oe||0),limit:Number(g.Mf||0)},asset_size:{usage:Number(g.sizeBytes||0),limit:Number(g.Wb||0)}}}))};w("ee.data.getAssetRootQuota",Mm);
|
|
var Nm=function(){this.default=this.tag=""};Nm.prototype.get=function(){return this.tag};Nm.prototype.set=function(a){this.tag=this.validate(a)};Nm.prototype.reset=function(){this.tag=this.default};
|
|
Nm.prototype.validate=function(a){if(null==a||""===a)return"";a=String(a);if(!/^([a-z0-9]|[a-z0-9][-_a-z0-9]{0,61}[a-z0-9])$/g.test(a))throw Error('Invalid tag, "'+a+'". Tags must be 1-63 characters, beginning and ending with a lowercase alphanumeric character ([a-z0-9]) with dashes (-), underscores (_), and lowercase alphanumerics between.');return a};var Il=function(){return Bl(Nm).get()};w("ee.data.getWorkloadTag",Il);var Om=function(a){Bl(Nm).set(a)};w("ee.data.setWorkloadTag",Om);
|
|
var Pm=function(a){var b=Bl(Nm);b.default=b.validate(a);Bl(Nm).set(a)};w("ee.data.setDefaultWorkloadTag",Pm);var Qm=function(a){a&&(a=Bl(Nm),a.default=a.validate(""));Bl(Nm).reset()};w("ee.data.resetWorkloadTag",Qm);var im={Il:"CANCEL",Ll:"UPDATE"};var O=function(a,b,c){if(!(this instanceof O))return Rm(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.I=a;this.args=b;this.U=c||null;this.zl=null};x(O,Zj);w("ee.ComputedObject",O);O.prototype.Dh=function(){return this.zl};O.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");Ol(this,a)};
|
|
O.prototype.evaluate=O.prototype.evaluate;O.prototype.V=function(a){return Ol(this,a)};O.prototype.getInfo=O.prototype.V;O.prototype.encode=function(a){if(null===this.I&&null===this.args)return{type:"ArgumentRef",value:this.U};var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=a(this.args[c]));b={type:"Invocation",arguments:b};a=a(this.I);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
O.prototype.na=function(a){if(null===this.I&&null===this.args){a=this.U||a.Pi;if(!a)throw Error("A mapped function's arguments cannot be used in client-side operations");return new gf({Mb:a})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=ck(il(a,this.args[c])));return"string"===typeof this.I?fk(String(this.I),b):this.I.Fd(a,b)};O.prototype.va=function(a){return(void 0===a?0:a)?Xk(this):gl(this)};O.prototype.serialize=O.prototype.va;
|
|
O.prototype.toString=function(){return"ee."+this.name()+"("+Zk(this)+")"};w("ee.ComputedObject.prototype.toString",O.prototype.toString);O.prototype.name=function(){return"ComputedObject"};O.prototype.Fg=function(a,b){var c=Array.from(arguments);c[0]=this;a.apply(r,c);return this};O.prototype.aside=O.prototype.Fg;
|
|
var Sm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.I=b.I;a.args=b.args;a.U=b.U;return a},Rm=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var Tm={},Um=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}},Vm=function(a){return"number"===typeof a||a instanceof O&&"Number"==a.name()},Wm=function(a){return"string"===typeof a||a instanceof O&&"String"==a.name()},Xm=function(a){return t(a)&&
|
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},Ym=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&Xm(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var Zm=function(){if(!(this instanceof Zm))return new Zm};x(Zm,Zj);w("ee.Function",Zm);var $m=Wd;Zm.prototype.call=function(a){return this.apply(an(this,Array.prototype.slice.call(arguments,0)))};Zm.prototype.call=Zm.prototype.call;Zm.prototype.apply=function(a){a=new O(this,bn(this,a));return $m(a,this.Z().returns)};Zm.prototype.apply=Zm.prototype.apply;
|
|
var cn=function(a,b,c){var d=void 0!==b,e=a.Z();if(Ym(c,e,d)){if(c=hb(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=an(a,d?[b].concat(c):c);return a.apply(c)},bn=function(a,b){for(var c=a.Z().args,d={},e={},g=0;g<c.length;g++){var f=c[g].name;if(f in b&&void 0!==b[f])d[f]=$m(b[f],c[g].type);else if(!c[g].optional)throw Error("Required argument ("+f+") missing to function: "+a);e[f]=!0}c=[];for(var l in b)e[l]||c.push(l);if(0<c.length)throw Error("Unrecognized arguments ("+
|
|
c+") to function: "+a);return d},an=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};
|
|
Zm.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(Zb(c.args.slice(b?1:0),function(g){return g.name}).join(", "));d.push(")\n");d.push("\n");c.description?d.push(c.description):d.push("Undocumented.");d.push("\n");if(c.args.length)for(d.push("\nArgs:\n"),a=0;a<c.args.length;a++){b&&0==a?d.push(" this:"):d.push("\n ");var e=c.args[a];d.push(e.name);d.push(" (");d.push(e.type);e.optional&&d.push(", optional");d.push("): ");e.description?d.push(e.description):
|
|
d.push("Undocumented.")}return d.join("")};Zm.prototype.va=function(a){return(void 0===a?0:a)?Xk(this):gl(this)};var P=function(a,b){if(void 0===b)return dn(a);if(!(this instanceof P))return Rm(P,arguments);this.xb=ib(b);this.xb.name=a};x(P,Zm);w("ee.ApiFunction",P);var Q=function(a,b){return Zm.prototype.call.apply(dn(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",Q);var en=function(a,b){return dn(a).apply(b)};w("ee.ApiFunction._apply",en);P.prototype.encode=function(){return this.xb.name};P.prototype.Fd=function(a,b){return fk(this.xb.name,b)};P.prototype.Z=function(){return this.xb};
|
|
var fn=null,gn={},jn=function(){hn();return Za(fn,function(a){return a.Z()})},kn=function(){hn();return Ya(fn,function(a,b){return!gn[b]})},dn=function(a){var b=ln(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",dn);
|
|
var ln=function(a){hn();return fn[a]||null},hn=function(a,b){if(fn)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(fn=Za(d,function(g,f){g.returns=g.returns.replace(/<.*>/,"");for(var l=0;l<g.args.length;l++)g.args[l].type=g.args[l].type.replace(/<.*>/,"");return new P(f,g)}),a&&a())};a?Hl(c):c(Hl())}},mn=function(a,b,c,d){hn();var e=d||"";Xa(fn,function(g,f){var l=f.split(".");if(2==l.length&&l[0]==b){l=e+l[1];var m=g.Z();gn[f]=!0;var p=!1;m.args.length&&(f=m.args[0].type,p="Object"!=f&&Um(f,c));
|
|
f=p?a.prototype:a;l in f&&!f[l].signature||(f[l]=function(v){return cn(g,p?this:void 0,Array.prototype.slice.call(arguments,0))},f[l].toString=u(g.toString,g,l,p),f[l].signature=m)}})},nn=function(a){var b=function(c){for(var d in c)"function"===typeof c[d]&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var R=function(a,b){var c=on(a),d=Zb(c,function(m){return m.replace(/^opt_/,"")});a=(a=r.EXPORTED_FN_INFO?r.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},g=b[0],f=t(g)&&"function"!==typeof g&&!Array.isArray(g)&&"Object"===Object.getPrototypeOf(g).constructor.name;if(1<b.length||!f){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(g=0;g<b.length;g++)e[d[g]]=b[g]}else{f=new je(bb(g));
|
|
var l=new je(d);if(le(l,f).isEmpty())e[d[0]]=b[0];else{b=me(f,l);if(0!==b.size)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=hb(g)}}b=new je(bb(e));c=me(new je(Yb(c,function(m){return 0!=m.lastIndexOf("opt_",0)})),b);if(0!==c.size)throw Error("Missing required arguments"+a+": "+Array.from(c.values()).join(", "));return e},on=function(a){var b=pn,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],t(a)||qn(),c=a.paramNames,Array.isArray(c)||qn()):(a=a.toString().replace(rn,
|
|
"").match(b),null===a&&qn(),c=(a[1].split(",")||[]).map(function(d){return d.replace(sn,"")}));return c},qn=function(){throw Error("Failed to locate function parameters.");},rn=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,pn=/^function[^\(]*\(([^\)]*)\)/m,sn=/=.*$/;var S=function(a,b,c){O.call(this,a,b,c);tn()};x(S,O);w("ee.Element",S);var un=!1,tn=function(){un||(mn(S,"Element","Element"),un=!0)};S.prototype.name=function(){return"Element"};
|
|
S.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=Xm(c))a:{b=bb(c);var d=["properties"];if(ya(b)&&ya(d)&&b.length==d.length){for(var e=b.length,g=0;g<e;g++)if(b[g]!==d[g]){b=!1;break a}b=!0}else b=!1}b&&t(c.properties)&&(c=c.properties);if(Xm(c)){b=this;for(var f in c)d=c[f],b=Q("Element.set",b,f,d)}else if(c instanceof O&&ln("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)f=arguments[c],d=arguments[c+1],b=Q("Element.set",b,f,d)}return Sm(this,b)};S.prototype.set=S.prototype.set;var T=function(a,b,c,d){if(!(this instanceof T))return Rm(T,arguments);if("object"!==typeof a||!("type"in a)){var e=R(T,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}vn();e=null!=b||null!=c||null!=d;if(a instanceof O&&!(a instanceof T&&a.ob)){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.I,a.args,a.U)}else{a instanceof T&&(a=a.encode());if(!wn(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));
|
|
O.call(this,null,null);this.ob=a.type;this.bh=null!=a.coordinates?ib(a.coordinates):null;this.Ch=a.geometries||null;if(null!=b)this.ac=b;else if("crs"in a)if(t(a.crs)&&"name"==a.crs.type&&t(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.ac=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new Ti).va(a.crs));this.qc=c;void 0===this.qc&&"geodesic"in a&&(this.qc=!!a.geodesic);this.oc=d;void 0===this.oc&&"evenOdd"in a&&(this.oc=!!a.evenOdd)}};x(T,O);
|
|
w("ee.Geometry",T);var xn=!1,vn=function(){xn||(mn(T,"Geometry","Geometry"),xn=!0)},yn=function(a,b){if(!(this instanceof yn))return zn(yn,arguments);var c=An(yn,"Point",1,arguments);if(!(c instanceof O)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}T.call(this,c)};x(yn,T);T.Point=yn;var Bn=function(a,b){if(!(this instanceof Bn))return zn(Bn,arguments);T.call(this,An(Bn,"MultiPoint",2,arguments))};x(Bn,T);
|
|
T.MultiPoint=Bn;var Cn=function(a,b,c,d){if(!(this instanceof Cn))return zn(Cn,arguments);var e=An(Cn,"Rectangle",2,arguments);if(!(e instanceof O)){var g=e.coordinates;if(2!=g.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var f=g[0][0],l=g[0][1],m=g[1][0];g=g[1][1];e.coordinates=[[[f,g],[f,l],[m,l],[m,g]]];e.type="Polygon"}T.call(this,e)};x(Cn,T);T.Rectangle=Cn;
|
|
var Dn=function(a,b,c,d){if(!(this instanceof Dn))return zn(Dn,arguments);var e=R(Dn,arguments);a=e.west;b=e.south;c=e.east;d=e.north;e=[a,b,c,d];if(En(e)){var g;return(g=new P("GeometryConstructors.BBox")).call.apply(g,ka(e))}if(!(Infinity>a))throw Error("Geometry.BBox: west must not be "+a);if(!(-Infinity<c))throw Error("Geometry.BBox: east must not be "+c);if(!(90>=b))throw Error("Geometry.BBox: south must be at most +90\u00b0, but was "+b+"\u00b0");if(!(-90<=d))throw Error("Geometry.BBox: north must be at least -90\u00b0, but was "+
|
|
d+"\u00b0");b=Math.max(b,-90);d=Math.min(d,90);360<=c-a?(a=-180,c=180):(a=Fn(a),c=Fn(c),c<a&&(c+=360));T.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(Dn,Cn);T.BBox=Dn;var Fn=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},Gn=function(a,b,c,d){if(!(this instanceof Gn))return zn(Gn,arguments);T.call(this,An(Gn,"LineString",2,arguments))};x(Gn,T);T.LineString=Gn;
|
|
var Hn=function(a,b,c,d){if(!(this instanceof Hn))return zn(Hn,arguments);T.call(this,An(Hn,"LinearRing",2,arguments))};x(Hn,T);T.LinearRing=Hn;var In=function(a,b,c,d){if(!(this instanceof In))return zn(In,arguments);T.call(this,An(In,"MultiLineString",3,arguments))};x(In,T);T.MultiLineString=In;var Jn=function(a,b,c,d,e){if(!(this instanceof Jn))return zn(Jn,arguments);T.call(this,An(Jn,"Polygon",3,arguments))};x(Jn,T);T.Polygon=Jn;
|
|
var Kn=function(a,b,c,d,e){if(!(this instanceof Kn))return zn(Kn,arguments);T.call(this,An(Kn,"MultiPolygon",4,arguments))};x(Kn,T);T.MultiPolygon=Kn;
|
|
T.prototype.encode=function(a){if(!this.ob){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return O.prototype.encode.call(this,a)}a={type:this.ob};"GeometryCollection"==this.ob?a.geometries=this.Ch:a.coordinates=this.bh;null!=this.ac&&(a.crs={type:"name",properties:{name:this.ac}});null!=this.qc&&(a.geodesic=this.qc);null!=this.oc&&(a.evenOdd=this.oc);return a};
|
|
T.prototype.pe=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};T.prototype.toGeoJSON=T.prototype.pe;T.prototype.xg=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new Ti).va(this.pe())};T.prototype.toGeoJSONString=T.prototype.xg;T.prototype.va=function(a){return(void 0===a?0:a)?Xk(this):gl(this)};T.prototype.serialize=T.prototype.va;
|
|
T.prototype.toString=function(){return"ee.Geometry("+this.xg()+")"};
|
|
T.prototype.na=function(a){if(!this.ob){if(!a)throw Error("Must specify a serializer when encoding a computed geometry.");return O.prototype.na.call(this,a)}var b={},c="";"GeometryCollection"===this.ob?(b.geometries=this.Ch.map(function(e){return new T(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.bh,c="GeometryConstructors."+this.ob);null!=this.ac&&(b.crs="string"===typeof this.ac?(new P("Projection")).call(this.ac):this.ac);var d="Point"!==this.ob&&"MultiPoint"!==this.ob;null!=
|
|
this.qc&&d&&(b.geodesic=this.qc);null!=this.oc&&(b.evenOdd=this.oc);return(new P(c)).apply(b).na(a)};
|
|
var wn=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!Array.isArray(b))return!1;for(a=0;a<b.length;a++)if(!wn(b[a]))return!1;return!0}a=a.coordinates;var c=Ln(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)},Ln=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=Ln(a[0]),c=1;c<a.length;c++)if(Ln(a[c])!=
|
|
b)return-1;return b+1}for(c=0;c<a.length;c++)if("number"!==typeof a[c])return-1;return 0==a.length%2?1:-1},Mn=function(a){if("number"!==typeof a[0]||2==a.length)return a;if(0!=a.length%2)throw Error("Invalid number of coordinates: "+a.length);for(var b=[],c=0;c<a.length;c+=2)b.push([a[c],a[c+1]]);return b},An=function(a,b,c,d){a=Nn(a,d);if(En(a.coordinates)||null!=a.crs||null!=a.maxError)return(new P("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=On(c,a.coordinates);(b=cc(["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},Nn=function(a,b){if(ac(b,Vm))return{coordinates:fc(b)};a=R(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Ya(a,function(c){return null!=c})},En=function(a){return Array.isArray(a)?$b(a,En):a instanceof O},On=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");ac(b,function(e){return"number"===
|
|
typeof e})&&(b=Mn(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(Ln(b)!=a)throw Error("Invalid geometry");for(c=b;Array.isArray(c)&&1==c.length;)c=c[0];return Array.isArray(c)&&0==c.length?[]:b},zn=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};T.prototype.name=function(){return"Geometry"};var U=function(a){if(!(this instanceof U))return Rm(U,arguments);if(a instanceof U)return a;Pn();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new U(a[0]);O.call(this,new P("Filter.and"),{filters:a})}else if(a instanceof O)O.call(this,a.I,a.args,a.U);else if(void 0===a)O.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(U,O);w("ee.Filter",U);
|
|
var Qn=!1,Pn=function(){Qn||(mn(U,"Filter","Filter"),Qn=!0)},Rn={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};U.prototype.sc=function(){return Q("Filter.not",this)};U.prototype.not=U.prototype.sc;var Sn=function(a,b){var c=R(Sn,arguments);return Q("Filter.equals",c.name,c.value)};U.eq=Sn;var Tn=function(a,b){var c=R(Tn,arguments);return Sn(c.name,c.value).sc()};U.neq=Tn;
|
|
var Un=function(a,b){var c=R(Un,arguments);return Q("Filter.lessThan",c.name,c.value)};U.lt=Un;var Vn=function(a,b){var c=R(Vn,arguments);return Un(c.name,c.value).sc()};U.gte=Vn;var Wn=function(a,b){var c=R(Wn,arguments);return Q("Filter.greaterThan",c.name,c.value)};U.gt=Wn;var Xn=function(a,b){var c=R(Xn,arguments);return Wn(c.name,c.value).sc()};U.lte=Xn;var Yn=function(a){return Q("Filter.and",Array.prototype.slice.call(arguments))};U.and=Yn;var Zn=function(a){return Q("Filter.or",Array.prototype.slice.call(arguments))};
|
|
U.or=Zn;var $n=function(a,b){var c=R($n,arguments);c=Q("DateRange",c.start,c.end);return en("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};U.date=$n;var ao=function(a,b,c,d){var e=R(ao,arguments);return en("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};U.inList=ao;var bo=function(a,b){return en("Filter.intersects",{leftField:".all",rightValue:Q("Feature",a),maxError:b})};U.bounds=bo;
|
|
U.prototype.name=function(){return"Filter"};var co=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in Rn))throw Error("Unknown filtering operator: "+b);a=Q("Filter."+Rn[b],a,c);return d?a.sc():a};U.metadata=co;var V=function(a,b,c){S.call(this,a,b,c);eo()};x(V,S);w("ee.Collection",V);var fo=!1,eo=function(){fo||(mn(V,"Collection","Collection"),mn(V,"AggregateFeatureCollection","Collection","aggregate_"),fo=!0)};V.prototype.filter=function(a){a=R(V.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return Sm(this,Q("Collection.filter",this,a))};V.prototype.filter=V.prototype.filter;
|
|
V.prototype.nf=function(a,b,c){var d=R(V.prototype.nf,arguments);return this.filter(co(d.name,d.operator,d.value))};V.prototype.filterMetadata=V.prototype.nf;V.prototype.wh=function(a){return this.filter(bo(a))};V.prototype.filterBounds=V.prototype.wh;V.prototype.mf=function(a,b){var c=R(V.prototype.mf,arguments);return this.filter($n(c.start,c.end))};V.prototype.filterDate=V.prototype.mf;
|
|
V.prototype.limit=function(a,b,c){var d=R(V.prototype.limit,arguments);return Sm(this,Q("Collection.limit",this,d.max,d.property,d.ascending))};V.prototype.limit=V.prototype.limit;V.prototype.sort=function(a,b){var c=R(V.prototype.sort,arguments);return Sm(this,Q("Collection.limit",this,void 0,c.property,c.ascending))};V.prototype.sort=V.prototype.sort;V.prototype.name=function(){return"Collection"};V.prototype.elementType=function(){return S};
|
|
V.prototype.map=function(a,b){var c=this.elementType();return Sm(this,Q("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.Lh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return Q("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};V.prototype.iterate=V.prototype.Lh;var W=function(a,b){if(!(this instanceof W))return Rm(W,arguments);if(a instanceof W){if(b)throw Error("Can't create Feature out of a Feature and properties.");return a}if(2<arguments.length)throw Error("The Feature constructor takes at most 2 arguments ("+arguments.length+" given)");go();if(a instanceof T||null===a)S.call(this,new P("Feature"),{geometry:a,metadata:b||null});else if(a instanceof O)S.call(this,a.I,a.args,a.U);else if("Feature"==a.type){var c=a.properties||{};if("id"in a){if("system:index"in
|
|
c)throw Error('Can\'t specify both "id" and "system:index".');c=hb(c);c["system:index"]=a.id}S.call(this,new P("Feature"),{geometry:new T(a.geometry),metadata:c})}else S.call(this,new P("Feature"),{geometry:new T(a),metadata:b||null})};x(W,S);w("ee.Feature",W);var ho=!1,go=function(){ho||(mn(W,"Feature","Feature"),ho=!0)};W.prototype.V=function(a){return W.L.V.call(this,a)};W.prototype.getInfo=W.prototype.V;
|
|
W.prototype.S=function(a,b){var c=R(W.prototype.getMap,arguments);return Q("Collection",[this]).S(c.visParams,c.callback)};W.prototype.getMapId=W.prototype.S;W.prototype.getMap=W.prototype.S;W.prototype.getMap=W.prototype.getMap;W.prototype.name=function(){return"Feature"};var pm=function(a){var b={},c=io(a.element,a);c=jo(c,a,b);b.element=c;return b},qm=function(a){var b={},c=a.element.map(function(d){d=io(d,a);return jo(d,a,b)});b.element=c;return b},jo=function(a,b,c){var d={},e=!1,g=["maxDimension","width","height","scale"];Xa(b,function(f,l){if(null!=f)switch(l){case "dimensions":l="string"===typeof f?f.split("x").map(Number):Array.isArray(f)?f:"number"===typeof f?[f]:[];if(1===l.length)d.maxDimension=l[0];else if(2===l.length)d.width=l[0],d.height=l[1];else throw Error("Invalid dimensions "+
|
|
f);break;case "dimensions_consumed":e=!0;break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof Cn)){l=f;if("string"===typeof f)try{l=JSON.parse(f)}catch(m){l=f.split(/\s*,\s*/).map(Number)}if(Array.isArray(l)){if(l.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");f=new Cn(l,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":null!=
|
|
d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof T)){l=f;if("string"===typeof f)try{l=JSON.parse(f)}catch(m){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(Array.isArray(l))f=new Jn(l,null,!1);else if(t(l))f=new T(l,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=f;break;case "scale":d.scale=Number(f);break;default:c[l]=f}});fb(d)||(d.input=a,a=g.some(function(f){return f in d})||e?en("Image.clipToBoundsAndScale",
|
|
d):en("Image.clip",d));return a},io=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=ko(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=en("Image.reproject",{image:a,crs:c,crsTransform:d}),null!=b.dimensions&&null==b.scale&&null==b.region){var e=b.dimensions;"string"===typeof e&&(e=e.split("x").map(Number));2===e.length&&(delete b.dimensions,b.dimensions_consumed=!0,c=(new P("Projection")).call(c,d),b.region=new Cn([0,
|
|
0,e[0],e[1]],c,!1))}}else a=en("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},ko=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&ac(a,function(b){return"number"===typeof b}))return a;throw Error("Invalid argument, crs transform must be a list of 6 numbers.");}throw Error("Invalid argument, crs transform was not a string or array.");},mo=function(a,b){var c={};b=lo(b,c);fb(b)||(b.image=a,a=en("Image.visualize",
|
|
b));c.image=a;return c},lo=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Xa(a,function(e,g){cc(c,g)?d[g]=e:b[g]=e});return d},Tl=function(a,b){b=Object.assign({},b);var c=function(e){var g={};["crs","crs_transform","dimensions","region"].forEach(function(f){f in e&&(g[f]=e[f])});null!=e.scale&&null==e.dimensions&&(g.scale=e.scale);return g},d=function(e){var g=e.id;if(void 0===g)throw Error("Each band dictionary must have an id.");g=a.select(g);
|
|
var f=c(b);e=c(e);e=c(Object.assign(f,e));g=io(g,e);return g=jo(g,e,{})};"ZIPPED_GEO_TIFF_PER_BAND"===b.format&&b.bands&&b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,g){return Q("Image.addBands",e,g,null,!0)},d.shift())):(d=c(b),a=io(a,d),a=jo(a,d,{}));return a};var N=function(a){if(!(this instanceof N))return Rm(N,arguments);if(a instanceof N)return a;no();var b=arguments.length;if(0==b||1==b&&void 0===a)S.call(this,new P("Image.mask"),{image:new N(0),mask:new N(0)});else if(1==b)if(Vm(a))S.call(this,new P("Image.constant"),{value:a});else if(Wm(a))S.call(this,new P("Image.load"),{id:a});else{if(Array.isArray(a))return oo(Zb(a,function(d){return new N(d)}));if(a instanceof O)"Array"==a.name()?S.call(this,new P("Image.constant"),{value:a}):S.call(this,a.I,
|
|
a.args,a.U);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(Wm(b)&&Vm(c))S.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)");};x(N,S);w("ee.Image",N);var po=!1,no=function(){po||(mn(N,"Image","Image"),po=!0)};N.prototype.V=function(a){return N.L.V.call(this,a)};
|
|
N.prototype.getInfo=N.prototype.V;N.prototype.S=function(a,b){var c=this,d=R(N.prototype.getMap,arguments),e=mo(this,d.visParams);if(d.callback){var g=d.callback;Kl(e,function(f,l){f=f?Object.assign(f,{image:c}):void 0;g(f,l)})}else return d=Kl(e),d.image=this,d};N.prototype.getMapId=N.prototype.S;N.prototype.getMap=N.prototype.S;N.prototype.getMap=N.prototype.getMap;
|
|
N.prototype.sb=function(a,b){var c=R(N.prototype.sb,arguments),d=c.params?hb(c.params):{};d.image=this;if(c.callback){var e=c.callback;Ul(d,function(g,f){g?e(Vl(g)):e(null,f)})}else return Vl(Ul(d))};N.prototype.getDownloadURL=N.prototype.sb;N.prototype.Ld=function(a,b){var c=R(N.prototype.sb,arguments),d=c.params?hb(c.params):{},e={},g=io(this,d);g=jo(g,d,e);d=mo(g,e);return c.callback?(Pl(d,c.callback),null):Pl(d)};N.prototype.getThumbId=N.prototype.Ld;
|
|
N.prototype.wf=function(a,b){var c=R(N.prototype.wf,arguments);if(c.callback)this.Ld(c.params,function(d,e){var g="";if(void 0===e)try{g=Sl(d)}catch(f){e=String(f.message)}c.callback(g,e)});else return Sl(this.Ld(c.params))};N.prototype.getThumbURL=N.prototype.wf;var qo=function(a,b,c){var d=R(qo,arguments);return oo([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};N.rgb=qo;var ro=function(a){return oo(Array.prototype.slice.call(arguments),null)};N.cat=ro;
|
|
var oo=function(a,b){if(0==a.length)return Q("Image.constant",[]);for(var c=new N(a[0]),d=1;d<a.length;d++)c=Q("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
N.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||Wm(b[0])||Vm(b[0])){for(var d=0;d<b.length;d++)if(!(Wm(b[d])||Vm(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 en("Image.select",c)};N.prototype.select=N.prototype.select;
|
|
N.prototype.l=function(a,b){var c=R(N.prototype.l,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var g=c.map,f;for(f in g)d.push(f),e[f]=new N(g[f])}var l=Q("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Zm;c.encode=function(m){return l.encode(m)};c.Fd=function(m,p){return gk(il(m,l),p)};c.Z=function(){return{name:"",args:Zb(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
N.prototype.expression=N.prototype.l;N.prototype.clip=function(a){try{a=new T(a)}catch(b){}return Q("Image.clip",this,a)};N.prototype.clip=N.prototype.clip;N.prototype.ri=function(a){var b=1!=arguments.length||Wm(arguments[0])?Array.from(arguments):arguments[0];return Q("Image.rename",this,b)};N.prototype.rename=N.prototype.ri;N.prototype.name=function(){return"Image"};var so=function(a){if(this instanceof so){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof so)return a}else return Rm(so,arguments);to();if(Array.isArray(a))O.call(this,null,null),this.Uc=a;else if(a instanceof O)O.call(this,a.I,a.args,a.U),this.Uc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(so,O);w("ee.List",so);var uo=!1,to=function(){uo||(mn(so,"List","List"),uo=!0)};
|
|
so.prototype.encode=function(a){return Array.isArray(this.Uc)?Zb(this.Uc,function(b){return a(b)}):so.L.encode.call(this,a)};so.prototype.na=function(a){return Array.isArray(this.Uc)?ck(il(a,this.Uc)):so.L.na.call(this,a)};so.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return Rm(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)");vo();a instanceof T&&(a=new W(a));a instanceof W&&(a=[a]);if(Wm(a)){var c={tableId:a};b&&(c.geometryColumn=b);V.call(this,new P("Collection.loadTable"),c)}else if(Array.isArray(a))V.call(this,new P("Collection"),{features:Zb(a,function(d){return new W(d)})});else if(a instanceof so)V.call(this,
|
|
new P("Collection"),{features:a});else if(a&&"object"===typeof a&&"FeatureCollection"===a.type)V.call(this,new P("Collection"),{features:a.features.map(function(d){return new W(d)})});else if(a instanceof O)V.call(this,a.I,a.args,a.U);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(Y,V);w("ee.FeatureCollection",Y);var wo=!1,vo=function(){wo||(mn(Y,"FeatureCollection","FeatureCollection"),wo=!0)};
|
|
Y.prototype.S=function(a,b){var c=R(Y.prototype.S,arguments),d=en("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.S(void 0,c.callback);else return d.S()};Y.prototype.getMapId=Y.prototype.S;Y.prototype.getMap=Y.prototype.S;Y.prototype.getMap=Y.prototype.getMap;Y.prototype.V=function(a){return Y.L.V.call(this,a)};Y.prototype.getInfo=Y.prototype.V;
|
|
Y.prototype.sb=function(a,b,c,d){var e=R(Y.prototype.sb,arguments),g={table:this};e.format&&(g.format=e.format.toUpperCase());e.filename&&(g.filename=e.filename);e.selectors&&(g.selectors=e.selectors);if(e.callback)Wl(g,function(f,l){f?e.callback(Xl(f)):e.callback(null,l)});else return Xl(Wl(g))};Y.prototype.getDownloadURL=Y.prototype.sb;
|
|
Y.prototype.select=function(a,b,c){if(Wm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(g){return g.select(d)})}var e=R(Y.prototype.select,arguments);return this.map(function(g){return g.select(e)})};Y.prototype.select=Y.prototype.select;Y.prototype.name=function(){return"FeatureCollection"};Y.prototype.elementType=function(){return W};var Z=function(a){if(!(this instanceof Z))return Rm(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");xo();a instanceof N&&(a=[a]);if(Wm(a))V.call(this,new P("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new P("ImageCollection.fromImages"),{images:Zb(a,function(b){return new N(b)})});else if(a instanceof so)V.call(this,new P("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof O)V.call(this,a.I,a.args,a.U);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,V);w("ee.ImageCollection",Z);var yo=!1,xo=function(){yo||(mn(Z,"ImageCollection","ImageCollection"),mn(Z,"reduce","ImageCollection"),yo=!0)};Z.prototype.uf=function(a,b){var c=R(Z.prototype.uf,arguments);return zo(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.uf;
|
|
Z.prototype.xf=function(a,b){var c=R(Z.prototype.xf,arguments);return zo(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.xf;
|
|
var zo=function(a,b,c,d){var e={};a=a.map(function(l){l=io(l,b.params);return jo(l,b.params,e)});var g={},f=lo(e,g);g.imageCollection=a.map(function(l){f.image=l;return en("Image.visualize",f)});null!=b.params.dimensions&&(g.dimensions=b.params.dimensions);if(g.format){if(!$b(c,function(l){return l.toLowerCase()==g.format.toLowerCase()}))throw Error("Invalid format specified.");}else g.format=c[0];c=Pl;switch(d){case "video":c=Ql;break;case "filmstrip":c=Rl}if(b.callback)c(g,function(l,m){var p="";
|
|
if(void 0===m)try{p=Sl(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return Sl(c(g))};Z.prototype.S=function(a,b){var c=R(Z.prototype.S,arguments),d=Q("ImageCollection.mosaic",this);if(c.callback)d.S(c.visParams,c.callback);else return d.S(c.visParams)};Z.prototype.getMapId=Z.prototype.S;Z.prototype.getMap=Z.prototype.S;Z.prototype.getMap=Z.prototype.getMap;Z.prototype.V=function(a){return Z.L.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.Gf=function(a,b,c,d){var e=R(Z.prototype.Gf,arguments);return this.map(function(g){return Q("Image.linkCollection",g,e.imageCollection,e.linkedBands,e.linkedProperties,e.matchPropertyName)})};Z.prototype.linkCollection=Z.prototype.Gf;Z.prototype.first=function(){return new N(Q("Collection.first",this))};Z.prototype.first=Z.prototype.first;
|
|
Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return N};var Ao=function(a){this.Ze=a;this.id=null},Co=function(a){var b={element:Bo(a)};Object.assign(b,a);b=Ya(b,function(c){return null!=c});return new Ao(b)};Ao.prototype.start=function(a,b){var c=this;D(this.Ze,"Task config must be specified for tasks to be started.");this.id=this.id||Yl(1)[0];tb(this.id,"Failed to obtain task ID.");if(a)om(this.id,this.Ze,function(e,g){if(g)b(g);else{var f;c.id=null!=(f=e.taskId)?f:null;a()}});else{var d;this.id=null!=(d=om(this.id,this.Ze).taskId)?d:null}};
|
|
Ao.prototype.start=Ao.prototype.start;var Do=function(a,b,c,d,e,g,f,l,m,p,v,A){var C=R(Do,arguments);C=Eo(C,"ASSET","EXPORT_IMAGE");return Co(C)};w("module$contents$ee$batch_Export.image.toAsset",Do);var Fo=function(a,b,c,d,e,g,f,l,m,p,v,A,C,I,ea,X){var da=R(Fo,arguments);da=Eo(da,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Co(da)};w("module$contents$ee$batch_Export.image.toCloudStorage",Fo);
|
|
var Go=function(a,b,c,d,e,g,f,l,m,p,v,A,C,I,ea,X){var da=R(Go,arguments);da=Eo(da,"DRIVE","EXPORT_IMAGE");return Co(da)};w("module$contents$ee$batch_Export.image.toDrive",Go);var Ho=function(a,b,c,d,e,g,f,l,m,p,v,A,C,I){var ea=R(Ho,arguments);ea=Eo(ea,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Co(ea)};w("module$contents$ee$batch_Export.map.toCloudStorage",Ho);var Io=function(a,b,c,d,e,g,f,l){var m=R(Io,arguments);m=Eo(m,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Co(m)};
|
|
w("module$contents$ee$batch_Export.table.toCloudStorage",Io);var Jo=function(a,b,c,d,e,g,f,l){var m=R(Jo,arguments);m.type="EXPORT_FEATURES";m=Eo(m,"DRIVE","EXPORT_FEATURES");return Co(m)};w("module$contents$ee$batch_Export.table.toDrive",Jo);var Ko=function(a,b,c,d,e){var g=R(Ko,arguments);g=Eo(g,"ASSET","EXPORT_FEATURES");return Co(g)};w("module$contents$ee$batch_Export.table.toAsset",Ko);var Lo=function(a,b,c,d,e,g,f,l){var m=R(Lo,arguments);m=Eo(m,"FEATURE_VIEW","EXPORT_FEATURES");return Co(m)};
|
|
w("module$contents$ee$batch_Export.table.toFeatureView",Lo);var Mo=function(a,b,c,d,e,g,f,l){var m=R(Mo,arguments);m=Eo(m,"BIGQUERY","EXPORT_FEATURES");return Co(m)};w("module$contents$ee$batch_Export.table.toBigQuery",Mo);var No=function(a,b,c,d,e,g,f,l,m,p,v,A,C){var I=R(No,arguments);I=Eo(I,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Co(I)};w("module$contents$ee$batch_Export.video.toCloudStorage",No);
|
|
var Oo=function(a,b,c,d,e,g,f,l,m,p,v,A,C){var I=R(Oo,arguments);I=Eo(I,"DRIVE","EXPORT_VIDEO");return Co(I)};w("module$contents$ee$batch_Export.video.toDrive",Oo);var Po=function(a,b,c,d,e,g,f,l,m,p,v,A,C,I,ea,X,da,Jb,Oq,Pq,Qq){var rj=R(Po,arguments);rj=Eo(rj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Co(rj)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",Po);var Qo=function(a,b,c,d){var e=R(Qo,arguments);e=Eo(e,"ASSET","EXPORT_CLASSIFIER");return Co(e)};
|
|
w("module$contents$ee$batch_Export.classifier.toAsset",Qo);
|
|
var Bo=function(a){var b=function(d){return d in a},c=Ro.find(b);D(1===bc(Ro,b),'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof N||b instanceof Y||b instanceof Z||b instanceof S||b instanceof O))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection, ee.Element or ee.ComputedObject.");delete a[c];return b},Eo=function(a,b,c){var d=void 0===d?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":null==
|
|
e.fileFormat&&(e.fileFormat="GeoTIFF");a=e.fileFormat;null==a&&(a="GEO_TIFF");a=a.toUpperCase();switch(a){case "TIFF":case "TIF":case "GEO_TIFF":case "GEOTIFF":a="GEO_TIFF";break;case "TF_RECORD":case "TF_RECORD_IMAGE":case "TFRECORD":a="TF_RECORD_IMAGE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'GEOTIFF', 'TFRECORD'.");}e.fileFormat=a;null!=e.formatOptions&&(a=So(e,a),delete e.formatOptions,Object.assign(e,a));e=To(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
|
|
delete e.crsTransform);break;case "EXPORT_TILES":b=To(e,b);e=b.fileFormat;null==e&&(e="AUTO_JPEG_PNG");e=e.toUpperCase();switch(e){case "AUTO":case "AUTO_JPEG_PNG":case "AUTO_JPG_PNG":e="AUTO_JPEG_PNG";break;case "JPG":case "JPEG":e="JPEG";break;case "PNG":e="PNG";break;default:throw Error("Invalid file format "+e+". Supported formats are: 'AUTO', 'PNG', and 'JPEG'.");}b.fileFormat=e;e=b;break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());a=e.fileFormat;null==
|
|
a&&(a="CSV");a=a.toUpperCase();switch(a){case "CSV":a="CSV";break;case "JSON":case "GEOJSON":case "GEO_JSON":a="GEO_JSON";break;case "KML":a="KML";break;case "KMZ":a="KMZ";break;case "SHP":a="SHP";break;case "TF_RECORD":case "TF_RECORD_TABLE":case "TFRECORD":a="TF_RECORD_TABLE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'CSV', 'GeoJSON', 'KML', 'KMZ', 'SHP', and 'TFRecord'.");}e.fileFormat=a;e=To(e,b);break;case "EXPORT_VIDEO":e=Uo(e);e=To(e,b);null!=e.crsTransform&&
|
|
(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=Uo(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=To(e,b);break;case "EXPORT_CLASSIFIER":e=To(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof T)b=b.pe();else if("string"===typeof b)try{b=vb(JSON.parse(b))}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");
|
|
}if(!(t(b)&&"type"in b))try{new Gn(b)}catch(g){try{new Jn(b)}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}}b=JSON.stringify(b);d.region=b}return e},To=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=
|
|
a.assetId||"";break;case "FEATURE_VIEW":a.mapName=a.mapName||"";break;case "BIGQUERY":a.table=a.table||"";break;default:b=xa(a.folder);if(!cc(["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},Vo={GEO_TIFF:["cloudOptimized","fileDimensions","noData","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
|
|
Wo={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},Uo=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;var b=a.fileFormat;null==b&&(b="MP4");b=b.toUpperCase();switch(b){case "MP4":b="MP4";break;case "GIF":case "JIF":b="GIF";break;case "VP9":case "WEBM":b="VP9";break;default:throw Error("Invalid file format "+b+". Supported formats are: 'MP4', 'GIF', and 'WEBM'.");}a.fileFormat=b;return a},So=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=Wo[b];for(var d=Vo[b],e={},g=n(Object.entries(c)),f=g.next();!f.done;f=g.next()){var l=n(f.value);f=l.next().value;l=l.next().value;if(!cc(d,f))throw Error('"'+f+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+f[0].toUpperCase()+f.substring(1)]=Array.isArray(l)?l.join():l}return e},
|
|
Ro=["image","collection","classifier"];var Xo=function(a){if(!(this instanceof Xo))return Rm(Xo,arguments);if(a instanceof Xo)return a;Yo();if("number"===typeof a)O.call(this,null,null),this.Xc=a;else if(a instanceof O)O.call(this,a.I,a.args,a.U),this.Xc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(Xo,O);w("ee.Number",Xo);var Zo=!1,Yo=function(){Zo||(mn(Xo,"Number","Number"),Zo=!0)};Xo.prototype.encode=function(a){return"number"===typeof this.Xc?this.Xc:Xo.L.encode.call(this,a)};
|
|
Xo.prototype.na=function(a){return"number"===typeof this.Xc?ck(il(a,this.Xc)):Xo.L.na.call(this,a)};Xo.prototype.name=function(){return"Number"};var $o=function(a){if(!(this instanceof $o))return Rm($o,arguments);if(a instanceof $o)return a;ap();if("string"===typeof a)O.call(this,null,null),this.kd=a;else if(a instanceof O)this.kd=null,a.I&&"String"==a.I.Z().returns?O.call(this,a.I,a.args,a.U):O.call(this,new P("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x($o,O);w("ee.String",$o);var bp=!1,ap=function(){bp||(mn($o,"String","String"),bp=!0)};
|
|
$o.prototype.encode=function(a){return"string"===typeof this.kd?this.kd:$o.L.encode.call(this,a)};$o.prototype.na=function(a){return"string"===typeof this.kd?ck(il(a,this.kd)):$o.L.na.call(this,a)};$o.prototype.name=function(){return"String"};var cp=function(a,b){if(!(this instanceof cp))return Rm(cp,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var g=d[e],f=g.type;c.push(dp(f in Tm?Tm[f]:null,g.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.xb=ep(a,c,b);this.Qg=b.apply(null,c)};x(cp,Zm);w("ee.CustomFunction",cp);cp.prototype.encode=function(a){return{type:"Function",argumentNames:Zb(this.xb.args,function(b){return b.name}),body:a(this.Qg)}};
|
|
cp.prototype.na=function(a){return hk(this.xb.args.map(function(b){return b.name}),il(a,this.Qg))};cp.prototype.Fd=function(a,b){return gk(il(a,this),b)};cp.prototype.Z=function(){return this.xb};
|
|
var dp=function(a,b){a=a||Object;if(!(a.prototype instanceof O))if(a&&a!=Object)if(a==String)a=$o;else if(a==Number)a=Xo;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.I=null;this.U=d};c.prototype=a.prototype;return new c(b)},fp=function(a,b){b={name:"",returns:"Object",args:Zb(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof O?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new cp(b,a)},ep=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].U&&d.push(e);if(0===d.length)return a;c="_MAPPING_VAR_"+function(l){var m=function(v){return v.map(p).reduce(function(A,C){return A+C},0)},p=function(v){return v.Ua?1:v.Fa?m(v.Fa.values):v.Ga?m(Object.values(v.Ga.values)):v.ya?m(Object.values(v.ya.arguments)):0};return m(Object.values(l.values))}(al(c.apply(null,b),"<unbound>"))+"_";for(e=0;e<
|
|
d.length;e++){var g=d[e],f=c+e;b[g].U=f;a.args[g].name=f}return a};var gp=function(a,b){if(!(this instanceof gp))return Rm(gp,arguments);if(a instanceof gp)return a;hp();var c=R(gp,arguments);a=c.date;c=c.tz;var d=new P("Date"),e={},g=null;if(Wm(a)){if(e.value=a,c)if(Wm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(Vm(a))e.value=a;else if(za(a))e.value=Math.floor(a.getTime());else if(a instanceof O)a.I&&"Date"==a.I.Z().returns?(d=a.I,e=a.args,g=a.U):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);O.call(this,d,e,g)};x(gp,O);w("ee.Date",gp);var ip=!1,hp=function(){ip||(mn(gp,"Date","Date"),ip=!0)};gp.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var kp=function(a){return jp(JSON.parse(a))};w("ee.Deserializer.fromJSON",kp);var jp=function(a){if("result"in a&&"values"in a)return lp(a);var b={};if(t(a)&&"CompoundValue"===a.type){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],g=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=mp(g,b)}a=a.value}return mp(a,b)};w("ee.Deserializer.decode",jp);
|
|
var mp=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Zb(a,function(e){return mp(e,b)});if(!t(a)||"function"===typeof a)throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":a=a.value;if("string"!==typeof a)throw Error("Invalid variable name: "+a);return dp(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
a);return new gp(a/1E3);case "Bytes":return np(new gf({qb:a}),a);case "Invocation":return c="functionName"in a?dn(a.functionName):mp(a["function"],b),a=Za(a.arguments,function(e){return mp(e,b)}),op(c,a);case "Dictionary":return Za(a.value,function(e){return mp(e,b)});case "Function":var d=mp(a.body,b);a={name:"",args:Zb(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new cp(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new T(a);
|
|
case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},np=function(a,b){var c=function(){};q(c,Zj);c.prototype.encode=function(){return b};c.prototype.na=function(){return a};return new c},op=function(a,b){if(a instanceof Zm)return a.apply(b);if(a instanceof O){var c=function(){return Zm.apply(this,arguments)||this};q(c,Zm);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Fd=function(d,e){return gk(il(d,a),
|
|
e)};return new O(new c,b)}throw Error("Invalid function value");},pp=function(a){return lp(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",pp);
|
|
var lp=function(a){var b=Na(xf,a),c={},d=function(f,l){if(!(f in c)){if(!(f in b.values))throw Error("Cannot find "+l+" "+f);c[f]=e(b.values[f])}return c[f]},e=function(f){if(null!==f.hb)f=f.hb;else if(null!==f.Fa)f=f.Fa.values.map(e);else if(null!==f.Ga)f=Za(f.Ga.values,e);else if(null!==f.Mb)f=dp(Object,f.Mb);else if(null!==f.Ua)f=g(f.Ua);else if(null!==f.ya){var l=f.ya;f=l.Va?d(l.Va,"function"):dn(l.functionName);l=Za(l.arguments,e);f=op(f,l)}else f=null!==f.qb?np(new gf({qb:f.qb}),f.qb):null!==
|
|
f.Wa?np(new gf({Wa:f.Wa}),f.Wa):null!==f.Oa?d(f.Oa,"reference"):null;return f},g=function(f){var l=d(f.body,"function body");f={args:f.lc.map(function(m){return{name:m,type:"Object",optional:!1}}),name:"",returns:"Object"};return new cp(f,function(){return l})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",lp);var qp=function(a){if(!(this instanceof qp))return Rm(qp,arguments);if(a instanceof qp)return a;rp();Xm(a)?(O.call(this,null,null),this.Jc=a):(a instanceof O&&a.I&&"Dictionary"==a.I.Z().returns?O.call(this,a.I,a.args,a.U):O.call(this,new P("Dictionary"),{input:a},null),this.Jc=null)};x(qp,O);w("ee.Dictionary",qp);var sp=!1,rp=function(){sp||(mn(qp,"Dictionary","Dictionary"),sp=!0)};qp.prototype.encode=function(a){return null!==this.Jc?a(this.Jc):qp.L.encode.call(this,a)};
|
|
qp.prototype.na=function(a){return null!==this.Jc?ck(il(a,this.Jc)):qp.L.na.call(this,a)};qp.prototype.name=function(){return"Dictionary"};var tp={};w("ee.Terrain",tp);tp.Cf=!1;tp.initialize=function(){tp.Cf||(mn(tp,"Terrain","Terrain"),tp.Cf=!0)};tp.reset=function(){nn(tp);tp.Cf=!1};var zp=function(a,b,c,d,e,g){if("ready"!=up||a||b){var f=null!=c;if(d)if(f)vp.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==up&&f)wp.push(c);else if(up="loading",pj(a,b,e,g),f)wp.push(c),hn(xp,yp);else try{hn(),xp()}catch(l){throw yp(l),l;}}else c&&c()};w("ee.initialize",zp);
|
|
var Cp=function(){up="not_ready";Oj=Nj=Aj=null;Mj=!1;fn=null;gn={};nn(gp);ip=!1;nn(qp);sp=!1;nn(S);un=!1;nn(N);po=!1;nn(W);ho=!1;nn(V);fo=!1;nn(Z);yo=!1;nn(Y);wo=!1;nn(U);Qn=!1;nn(T);xn=!1;nn(so);uo=!1;nn(Xo);Zo=!1;nn($o);bp=!1;tp.reset();for(var a=r.ee,b=0;b<Ap.length;b++){var c=Ap[b];nn(a[c]);delete a[c]}Ap=[];Tm=a;a=Bp;for(var d in a)delete a[d]};w("ee.reset",Cp);var Dp={Jl:"not_ready",LOADING:"loading",Kl:"ready"};w("ee.InitState",Dp);w("ee.InitState.NOT_READY","not_ready");
|
|
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var up="not_ready",wp=[],vp=[];w("ee.TILE_SIZE",256);var Ap=[],Bp={};w("ee.Algorithms",Bp);var Ep=function(a,b){"string"===typeof a&&(a=new P(a));return Zm.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",Ep);var Fp=function(a,b){"string"===typeof a&&(a=new P(a));return a.apply(b)};w("ee.apply",Fp);
|
|
var xp=function(){if("loading"==up){try{hp();rp();tn();no();go();eo();xo();vo();Pn();vn();to();Yo();ap();tp.initialize();var a=jn(),b={},c={},d;for(d in a){var e=void 0;e=-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d;b[e]=!0;var g=a[d].returns.replace(/<.*>/,"");c[g]=!0}var f=r.ee,l;for(l in b)l in c&&!(l in f)&&(f[l]=Gp(l),Ap.push(l),a[l]?(f[l].signature=a[l],f[l].signature.isConstructor=!0,gn[l]=!0):f[l].signature={});Tm=f;Hp()}catch(m){yp(m);return}up="ready";for(vp=[];0<wp.length;)wp.shift()()}},
|
|
yp=function(a){if("loading"==up)for(up="not_ready",wp=[];0<vp.length;)vp.shift()(a)},Hp=function(){var a=kn();bb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=Bp;for(e.signature={};1<b.length;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=hc(b,1)}g=function(f){return cn(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=u(c.toString,c);e[b[0]]=g}})},Gp=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),
|
|
g=1==e.length;if(g&&e[0]instanceof d)return e[0];if(!(this instanceof d))return Rm(d,e);d=ln(a);var f=!(e[0]instanceof O),l=!1;d&&(g?f?l=!0:e[0].I&&e[0].I.Z().returns==d.Z().returns||(l=!0):l=!0);if(l)e=Ym(e,d.Z())?e[0]:an(d,e),O.call(this,d,bn(d,e));else{if(!g)throw Error("Too many arguments for ee."+a+"(): "+e);if(f)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];O.call(this,e.I,e.args,e.U)}};x(b,O);b.prototype.name=function(){return a};mn(b,a,a);return b};
|
|
$m=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new N(a);case "Feature":return a instanceof V?Q("Feature",Q("Collection.geometry",a)):new W(a);case "Element":if(a instanceof S)return a;if(a instanceof T)return new W(a);if(a instanceof O)return new S(a.I,a.args,a.U);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?Q("Collection.geometry",a):new T(a);case "FeatureCollection":case "Collection":return a instanceof V?
|
|
a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new U(a);case "Algorithm":if("string"===typeof a)return new P(a);if("function"===typeof a){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return fp(a,c)}if(a instanceof Zj)return a;throw Error("Argument is not a function: "+a);case "String":return Wm(a)||a instanceof $o||a instanceof O?new $o(a):a;case "Dictionary":return Xm(a)?a:new qp(a);case "List":return new so(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Xo(a);
|
|
default:if(b in c){d=ln(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if("string"===typeof a){if(a in c[b])return c[b][a].call();throw Error("Unknown algorithm: "+b+"."+a);}return new c[b](a)}return a}}};var Ip=function(a,b,c){oe.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.zh=new fe;this.yh=new fe};q(Ip,oe);Ip.prototype.getTile=function(a,b){var c=pe(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.yb,this.token].join("/");this.Ab.push(c);this.yb+=1;var d=Jh("DIV");Jp(this,b,a,c,d);Kp(this);return d};
|
|
var Jp=function(a,b,c,d,e){var g=new XMLHttpRequest;g.open("GET",b,!0);g.responseType="arraybuffer";g.onreadystatechange=u(function(){if(g.readyState===XMLHttpRequest.DONE&&200===g.status){var f=g.response;if(f)f=new Float32Array(f),this.zh.set(c,f),this.yh.set(c,e),dc(this.Ab,d),Kp(this);else throw this.ug.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},Kp=function(a){a.dispatchEvent(new qe(a.Ab.length))};Ip.prototype.J=function(){this.yh=this.zh=null;oe.prototype.J.call(this)};
|
|
w("ee.FloatTileOverlay",Ip);var Lp=function(){this.je=new Map};Lp.prototype.clear=function(){this.je.clear()};var Mp=function(a,b){a.je.has(b)||a.je.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.je.get(b)};var Np=function(a){G.call(this);this.Tb=a;this.K={}};x(Np,G);var Op=[];Np.prototype.Xa=function(a,b,c,d){Array.isArray(b)||(b&&(Op[0]=b.toString()),b=Op);for(var e=0;e<b.length;e++){var g=Hd(a,b[e],c||this.handleEvent,d||!1,this.Tb||this);if(!g)break;this.K[g.key]=g}return this};Np.prototype.Vc=function(a,b,c,d){return Pp(this,a,b,c,d)};
|
|
var Pp=function(a,b,c,d,e,g){if(Array.isArray(c))for(var f=0;f<c.length;f++)Pp(a,b,c[f],d,e,g);else{b=Gd(b,c,d||a.handleEvent,e,g||a.Tb||a);if(!b)return a;a.K[b.key]=b}return a};Np.prototype.te=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.te(a,b[g],c,d,e);else c=c||this.handleEvent,d=t(d)?!!d.capture:!!d,e=e||this.Tb||this,c=Id(c),d=!!d,b=wd(a)?a.Lc(b,c,d,e):a?(a=Kd(a))?a.Lc(b,c,d,e):null:null,b&&(Pd(b),delete this.K[b.key])};
|
|
Np.prototype.fd=function(){Xa(this.K,function(a,b){this.K.hasOwnProperty(b)&&Pd(a)},this);this.K={}};Np.prototype.J=function(){Np.L.J.call(this);this.fd()};Np.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Rp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=eb[a.name]):(this.code=a=sb(a.code),this.name=Qp(a));mb.call(this,Jc("%s %s",this.name,b))};x(Rp,mb);
|
|
var Qp=function(a){var b=db(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Sp={},eb=(Sp.AbortError=3,Sp.EncodingError=5,Sp.InvalidModificationError=9,Sp.InvalidStateError=7,Sp.NotFoundError=1,Sp.NotReadableError=4,Sp.NoModificationAllowedError=6,Sp.PathExistsError=12,Sp.QuotaExceededError=10,Sp.SecurityError=2,Sp.SyntaxError=8,Sp.TypeMismatchError=11,Sp);var Tp=function(a,b){H.call(this,a.type,b);this.Ja=a};x(Tp,H);var Up=function(){J.call(this);this.ca=new FileReader;this.ca.onloadstart=u(this.nc,this);this.ca.onprogress=u(this.nc,this);this.ca.onload=u(this.nc,this);this.ca.onabort=u(this.nc,this);this.ca.onerror=u(this.nc,this);this.ca.onloadend=u(this.nc,this)};x(Up,J);h=Up.prototype;h.abort=function(){try{this.ca.abort()}catch(a){throw new Rp(a,"aborting read");}};h.ub=function(){return this.ca.readyState};h.getError=function(){return this.ca.error&&new Rp(this.ca.error,"reading file")};
|
|
h.nc=function(a){this.dispatchEvent(new Tp(a,this))};h.J=function(){Up.L.J.call(this);delete this.ca};h.readAsBinaryString=function(a){this.ca.readAsBinaryString(a)};h.readAsArrayBuffer=function(a){this.ca.readAsArrayBuffer(a)};h.readAsText=function(a,b){this.ca.readAsText(a,b)};var Vp=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 Wp=function(a,b){J.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.ie=new Lp(a.getUniqueId());this.zb=new fe;this.yb=0;this.tg=a;this.jb=new Np(this);this.radius=0};q(Wp,J);h=Wp.prototype;h.Ne=function(a){return Hd(this,"tile-load",a)};h.ag=function(a){Pd(a)};
|
|
h.Mc=function(){return Xp(this,"throttled")+Xp(this,"loading")+Xp(this,"new")};h.setOpacity=function(a){this.opacity=a;this.zb.forEach(function(b){Vp(b.la,this.opacity)},this)};h.getStats=function(){return this.ie};
|
|
h.getTile=function(a,b,c){var d=1<<b;if(b<this.minZoom||0>a.y||a.y>=d)return c.createElement("div");var e=a.x%d;0>e&&(e+=d);d=new google.maps.Point(e,a.y);a=[a.x,a.y,b,this.yb++].join("-");e=this.tg.getUniqueId();a=[a,e].join("-");b=this.eh(d,b,c,a);b.tileSize=this.tileSize;Vp(b.la,this.opacity);this.zb.set(a,b);Yp(this,b);this.dispatchEvent(new Zp(this.Mc()));this.tg.Hf(b,(new Date).getTime()/1E3);return b.la};h.releaseTile=function(a){var b=this.zb.get(a.id);this.zb.remove(a.id);b&&(b.abort(),nd(b))};
|
|
var Yp=function(a,b){a.jb.Xa(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.fl,d=(new Date).getTime();Mp(this.ie,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new $p(this.Mc()));break;case "throttled":Mp(this.ie,b.zoom).throttleCount++;this.dispatchEvent(new aq(b.Ca));break;case "failed":Mp(this.ie,b.zoom).errorCount++;this.dispatchEvent(new bq(b.Ca,b.Tk));break;case "aborted":this.dispatchEvent(new cq(this.Mc()))}})};
|
|
Wp.prototype.J=function(){J.prototype.J.call(this);this.zb.forEach(nd);this.zb.clear();this.zb=null;nd(this.jb);this.tg=this.jb=null};var Xp=function(a,b){return bc(a.zb.aa(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",Wp);Wp.prototype.removeTileCallback=Wp.prototype.ag;Wp.prototype.addTileCallback=Wp.prototype.Ne;var $p=function(){H.call(this,"tile-load")};q($p,H);var Zp=function(){H.call(this,"tile-start")};q(Zp,H);var aq=function(){H.call(this,"tile-throttle")};q(aq,H);
|
|
var bq=function(a,b){H.call(this,"tile-fail");this.errorMessage=b};q(bq,H);var cq=function(){H.call(this,"tile-abort")};q(cq,H);var dq=function(a,b,c,d){J.call(this);this.rb=a;this.zoom=b;this.la=c.createElement("div");this.la.id=d;this.jl=5;this.de=function(){};this.ke="new";this.ui=0;this.Ef=!1};q(dq,J);dq.prototype.getDiv=function(){return this.la};
|
|
var fq=function(a){if(!a.Ef&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");eq(a,"loading");a.fl=(new Date).getTime();a.Za=new cj;a.Za.xc="blob";a.Za.Xa("complete",function(){var b=mj(a.Za),c=a.Za.getStatus();429==c&&eq(a,"throttled");if(Yi(c)){var d={};Xa(nj(a.Za),function(g,f){d[f.toLowerCase()]=g});a.Al=d;a.Bi=b;a.Kc()}else if(b){var e=new Up;e.Xa("loadend",function(){a.hd(e.ca.result)});e.readAsText(b)}else a.hd("Failed to load tile.")},
|
|
!1);a.Za.Vc("ready",Fa(nd,a.Za));a.Ca&&a.Ca.endsWith("&profiling=1")&&(a.Ca=a.Ca.replace("&profiling=1",""),a.Za.headers.set("X-Earth-Engine-Computation-Profiling","1"));a.Za.send(a.Ca,"GET")};h=dq.prototype;h.Kc=function(){this.de(this);eq(this,"loaded")};h.Gc=function(){nd(this.Za)};
|
|
h.hd=function(a){var b=function(c){try{if(c=JSON.parse(c),c.error&&c.error.message)return c.error.message}catch(d){}return c};this.ui>=this.jl?(this.Tk=b(a),eq(this,"failed")):(this.Gc(),setTimeout(u(function(){this.Sa||(this.Ef=!0,fq(this),this.Ef=!1)},this),1E3*Math.pow(2,this.ui++)))};h.abort=function(){this.Gc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&eq(this,this.ke in gq?"removed":"aborted")};h.getStatus=function(){return this.ke};var eq=function(a,b){a.ke=b;a.dispatchEvent("status-changed")};
|
|
dq.prototype.J=function(){J.prototype.J.call(this);this.Gc();this.la.remove();this.de=null};var gq={aborted:!0,failed:!0,loaded:!0,removed:!0};var hq=function(){G.call(this)};q(hq,G);var iq=function(a,b){Wp.call(this,a,b);this.Sg=new fe;this.qh=new fe};q(iq,Wp);iq.prototype.eh=function(a,b,c,d){var e=new jq(a,b,c,d);this.jb.Xa(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Sg.set(a,new Float32Array(e.zd)),this.qh.set(a,e.la))});return e};iq.prototype.J=function(){Wp.prototype.J.call(this);this.qh=this.Sg=null};w("ee.layers.BinaryOverlay",iq);var jq=function(a,b,c,d){dq.call(this,a,b,c,d)};q(jq,dq);
|
|
jq.prototype.Kc=function(){var a=new Up;a.Xa("loadend",function(){this.zd=a.ca.result;dq.prototype.Kc.call(this)},void 0,this);a.readAsArrayBuffer(this.Bi)};var kq=function(a){J.call(this);this.Qc={};this.Pc={};this.Tb=new Np(this);this.X=a;this.Xe=!1};x(kq,J);var lq=["load","abort","error"],mq=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Xe=!1,a.Qc[b]={src:c,dh:null}},nq=function(a,b){delete a.Qc[b];var c=a.Pc[b];c&&(delete a.Pc[b],a.Tb.te(c,lq,a.ci))};
|
|
kq.prototype.start=function(){var a=this.Qc;bb(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Sa)){if(this.X){var d=this.X;d=(d?new Oh(Nh(d)):nb||(nb=new Oh)).Rk("IMG")}else d=new Image;c.dh&&(d.crossOrigin=c.dh);this.Tb.Xa(d,lq,this.ci);this.Pc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
kq.prototype.ci=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));nq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Sa&&fb(this.Pc)&&fb(this.Qc)&&!this.Xe&&(this.Xe=!0,this.dispatchEvent("complete"))}};kq.prototype.J=function(){delete this.Qc;delete this.Pc;nd(this.Tb);kq.L.J.call(this)};var oq=function(a,b){Wp.call(this,a,b)};q(oq,Wp);oq.prototype.eh=function(a,b,c,d){return new pq(a,b,c,d)};w("ee.layers.ImageOverlay",oq);var pq=function(a,b,c,d){dq.call(this,a,b,c,d);this.de=qq;this.Gh=this.ga=this.Rd=null;this.Yc=""};q(pq,dq);
|
|
pq.prototype.Kc=function(){try{var a=Sb(this.Bi);this.Yc=Rb(a);var b=this.Yc!==Qb.toString()?this.Yc:this.Ca}catch(c){b=this.Ca}this.ga=new kq;mq(this.ga,this.la.id+"-image",b);this.Gh=Gd(this.ga,rq,function(c){"load"==c.type?(this.Rd=c.target,dq.prototype.Kc.call(this)):this.hd()},void 0,this);this.ga.start()};pq.prototype.Gc=function(){dq.prototype.Gc.call(this);this.ga&&(Pd(this.Gh),nd(this.ga))};pq.prototype.J=function(){dq.prototype.J.call(this);this.Yc&&URL.revokeObjectURL(this.Yc)};
|
|
var qq=function(a){a.la.appendChild(a.Rd)},rq=["load","abort","error"];var sq=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 tq=function(a,b,c,d){G.call(this);this.Rg=a;this.Zb=b;this.og=d||"";this.Xd=c};q(tq,hq);tq.prototype.Hf=function(a){if(a.zoom<=this.Xd)a.Ca=this.Md(a.rb,a.zoom);else{var b=a.zoom-this.Xd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.rb.x/c),Math.floor(a.rb.y/c));a.Ca=this.Md(c,a.zoom-b);a.de=Fa(uq,this.Xd)}var d=u(a.hd,a);a.hd=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?eq(a,"loaded"):d(e)},a);fq(a)};
|
|
tq.prototype.getUniqueId=function(){return[this.Rg,this.Zb,this.Xd,this.og].join("-")};tq.prototype.Md=function(a,b){a=sq("https://storage.googleapis.com",this.Rg,this.Zb,String(b),String(a.x),String(a.y));this.og&&(a+=this.og);return a};
|
|
var uq=function(a,b){if(!b.Rd)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.la.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.la.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Rd,c/a*(b.rb.x%a),c/a*(b.rb.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",tq);var vq=function(){this.La=[];this.Qa=[]};h=vq.prototype;h.enqueue=function(a){this.Qa.push(a)};h.Ic=function(){0===this.La.length&&(this.La=this.Qa,this.La.reverse(),this.Qa=[]);return this.La.pop()};h.R=function(){return this.La.length+this.Qa.length};h.isEmpty=function(){return 0===this.La.length&&0===this.Qa.length};h.clear=function(){this.La=[];this.Qa=[]};h.contains=function(a){return cc(this.La,a)||cc(this.Qa,a)};
|
|
h.remove=function(a){var b=this.La;var c=Wb(b,a);0<=c?(ec(b,c),b=!0):b=!1;return b||dc(this.Qa,a)};h.aa=function(){for(var a=[],b=this.La.length-1;0<=b;--b)a.push(this.La[b]);var c=this.Qa.length;for(b=0;b<c;++b)a.push(this.Qa[b]);return a};var wq=function(a,b){G.call(this);this.Uh=a||0;this.Wd=b||10;if(this.Uh>this.Wd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ta=new vq;this.vb=new je;this.delay=0;this.Ff=null;this.sd()};x(wq,G);wq.prototype.Nc=function(){var a=Date.now();if(!(null!=this.Ff&&a-this.Ff<this.delay)){for(var b;0<this.Ta.R()&&(b=this.Ta.Ic(),!this.Rf(b));)this.sd();!b&&this.R()<this.Wd&&(b=this.af());b&&(this.Ff=a,this.vb.add(b));return b}};
|
|
var xq=function(a,b){return a.vb.remove(b)?(a.Me(b),!0):!1};h=wq.prototype;h.Me=function(a){this.vb.remove(a);this.Rf(a)&&this.R()<this.Wd?this.Ta.enqueue(a):this.Dd(a)};h.sd=function(){for(var a=this.Ta;this.R()<this.Uh;)a.enqueue(this.af());for(;this.R()>this.Wd&&0<this.Ta.R();)this.Dd(a.Ic())};h.af=function(){return{}};h.Dd=function(a){if("function"==typeof a.Ra)a.Ra();else for(var b in a)a[b]=null};h.Rf=function(a){return"function"==typeof a.Ok?a.Ok():!0};
|
|
h.contains=function(a){return this.Ta.contains(a)||this.vb.contains(a)};h.R=function(){return this.Ta.R()+this.vb.R()};h.isEmpty=function(){return this.Ta.isEmpty()&&this.vb.isEmpty()};h.J=function(){wq.L.J.call(this);if(0<this.vb.R())throw Error("[goog.structs.Pool] Objects not released");delete this.vb;for(var a=this.Ta;!a.isEmpty();)this.Dd(a.Ic());delete this.Ta};var yq=function(a,b){this.Mh=a;this.ue=b};yq.prototype.getKey=function(){return this.Mh};yq.prototype.clone=function(){return new yq(this.Mh,this.ue)};var zq=function(a){this.Aa=[];if(a)a:{if(a instanceof zq){var b=a.tb();a=a.aa();if(0>=this.R()){for(var c=this.Aa,d=0;d<b.length;d++)c.push(new yq(b[d],a[d]));break a}}else b=bb(a),a=ab(a);for(c=0;c<b.length;c++)Aq(this,b[c],a[c])}},Aq=function(a,b,c){var d=a.Aa;d.push(new yq(b,c));b=d.length-1;a=a.Aa;for(c=a[b];0<b;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};h=zq.prototype;
|
|
h.remove=function(){var a=this.Aa,b=a.length,c=a[0];if(!(0>=b)){if(1==b)a.length=0;else{a[0]=a.pop();a=0;b=this.Aa;for(var d=b.length,e=b[a];a<d>>1;){var g=2*a+1,f=2*a+2;g=f<d&&b[f].getKey()<b[g].getKey()?f:g;if(b[g].getKey()>e.getKey())break;b[a]=b[g];a=g}b[a]=e}return c.ue}};h.aa=function(){for(var a=this.Aa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].ue);return b};h.tb=function(){for(var a=this.Aa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
h.Hc=function(a){return this.Aa.some(function(b){return b.ue==a})};h.Pb=function(a){return this.Aa.some(function(b){return b.getKey()==a})};h.clone=function(){return new zq(this)};h.R=function(){return this.Aa.length};h.isEmpty=function(){return 0===this.Aa.length};h.clear=function(){this.Aa.length=0};var Bq=function(){zq.apply(this,arguments)};q(Bq,zq);Bq.prototype.enqueue=function(a,b){Aq(this,a,b)};Bq.prototype.Ic=function(){return this.remove()};var Cq=function(a,b){this.oh=void 0;this.ge=new Bq;wq.call(this,a,b)};x(Cq,wq);h=Cq.prototype;h.Nc=function(a,b){if(!a)return(a=Cq.L.Nc.call(this))&&this.delay&&(this.oh=r.setTimeout(u(this.Od,this),this.delay)),a;this.ge.enqueue(void 0!==b?b:100,a);this.Od()};h.Od=function(){for(var a=this.ge;0<a.R();){var b=this.Nc();if(b)a.Ic().apply(this,[b]);else break}};h.Me=function(a){Cq.L.Me.call(this,a);this.Od()};h.sd=function(){Cq.L.sd.call(this);this.Od()};
|
|
h.J=function(){Cq.L.J.call(this);r.clearTimeout(this.oh);this.ge.clear();this.ge=null};var Dq=function(a,b,c){G.call(this);this.If=a;this.ua=b||null;this.El=c||4};q(Dq,hq);Dq.prototype.Hf=function(a,b){var c=this,d=Hd(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.Al["x-earth-engine-computation-profile"];this.ua&&e&&this.ua.Lk(a.la.id,e);break;case "failed":case "aborted":this.ua&&""!==a.la.id&&this.ua.sl(a.la.id),Pd(d)}},void 0,this);a.Ca=this.Md(a.rb,a.zoom);Eq(this).Nc(function(e){c.yf(a,e)},b)};
|
|
Dq.prototype.getUniqueId=function(){return this.If.mapid+"-"+this.If.token};Dq.prototype.yf=function(a,b){var c=Eq(this);if(a.Sa||"aborted"==a.getStatus())xq(c,b);else{var d=Hd(a,"status-changed",function(){a.ke in gq&&(Pd(d),xq(c,b))});fq(a)}};Dq.prototype.Md=function(a,b){a=Ll(this.If,a.x,a.y,b);return this.ua&&this.ua.isEnabled()?a+"&profiling=1":a};var Eq=function(a){Fq||(Fq=new Cq(0,a.El));return Fq};w("ee.layers.EarthEngineTileSource",Dq);var Fq=null;var Gq=function(a){G.call(this);this.Ki=a};q(Gq,hq);Gq.prototype.Hf=function(a){a.Ca=this.Ki.formatTileUrl(a.rb.x,a.rb.y,a.zoom);fq(a)};Gq.prototype.getUniqueId=function(){return this.Ki.token};w("ee.layers.FeatureViewTileSource",Gq);var Iq=function(){J.call(this);this.qe=new Hq(0,60);this.wc=new fe};q(Iq,J);Iq.prototype.send=function(a,b,c,d,e){if(this.wc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Jq(a,b,d,u(this.pi,this),void 0!==e?e:1);this.wc.set(a,b);a=u(this.yf,this,b);this.qe.Nc(a,c);return b};Iq.prototype.abort=function(a){if(a=this.wc.get(a))a.kc||(a.kc=!0,a.Ja=new H("abort")),this.pi(a)};
|
|
Iq.prototype.yf=function(a,b){if(a.ga||a.kc)Kq(this,b);else if(a.Mi=b,b.setActive(!0),b=new kq,a.ga=b,!a.retry())throw Error("Cannot dispatch first request!");};Iq.prototype.pi=function(a){this.wc.remove(a.getId());a.ga&&(Kq(this,a.Mi),a.ga.Ra());a.zf&&a.zf(a.Ja,a.li)};var Kq=function(a,b){b.setActive(!1);if(!xq(a.qe,b))throw Error("Object not released");};Iq.prototype.J=function(){J.prototype.J.call(this);this.qe.Ra();this.qe=null;var a=this.wc;Xb(a.aa(),function(b){b.Ra()});a.clear();this.wc=null};
|
|
w("ee.MapTileManager",Iq);var Jq=function(a,b,c,d,e){G.call(this);this.fa=a;this.Hl=b;this.kl=void 0!==e?e:1;this.zf=c;this.bc=d};q(Jq,G);h=Jq.prototype;h.getId=function(){return this.fa};h.getUrl=function(){return this.Hl};h.Yk=function(a){if(this.kc)this.bc&&this.bc(this);else switch(a.type){case "load":this.Ja=a;this.bc&&this.bc(this);break;case "error":case "abort":this.retry()||(this.Ja=a,this.bc&&this.bc(this))}};h.J=function(){G.prototype.J.call(this);delete this.zf;delete this.bc};
|
|
h.retry=function(){if(this.Jg>this.kl)return!1;this.Jg++;nq(this.ga,this.fa);setTimeout(u(this.Bl,this),0);return!0};
|
|
h.Bl=function(){if(!this.kc){var a=u(function(d){this.kc||(mq(this.ga,this.fa,d),Gd(this.ga,Lq,u(this.Yk,this)),this.ga.start())},this),b=this.getUrl();if(ed(b).Ba.Pb("profiling")){var c=new cj;c.xc="blob";c.Xa("complete",u(function(){this.li=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=Rb(Sb(mj(c)));var e=d!==Qb.toString()}catch(g){}a(e?d:b)},this));c.Vc("ready",u(c.Ra,c));c.send(b,"GET")}else a(b)}};h.Jg=0;h.kc=!1;h.ga=null;
|
|
h.Mi=null;h.Ja=null;h.li=null;var Lq=["load","abort","error"],Mq=function(){G.call(this);this.Ea=!1};q(Mq,G);Mq.prototype.setActive=function(a){this.Ea=a};Mq.prototype.isActive=function(){return this.Ea};var Hq=function(a,b){Cq.call(this,a,b)};q(Hq,Cq);Hq.prototype.af=function(){return new Mq};Hq.prototype.Dd=function(a){a.Ra()};Hq.prototype.Rf=function(a){return!a.Sa&&!a.isActive()};var Nq=function(a,b,c,d,e){oe.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.vg=new je;this.Sf=1;this.ua=e||null};q(Nq,oe);h=Nq.prototype;h.Ne=function(a){return Hd(this,"tileevent",a)};h.ag=function(a){Pd(a)};
|
|
h.getTile=function(a,b,c){if(b<this.minZoom||0>a.y||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=pe(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ua&&this.ua.isEnabled()&&(a+="&profiling=1");b=[b,this.yb,this.token].join("/");this.yb+=1;c=Jh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Ab.push(b);Bl(Iq).send(b,a,d,u(this.Xk,this,c,b));Kp(this);return c};h.Mc=function(){return this.Ab.length};
|
|
h.releaseTile=function(a){Bl(Iq).abort(a.id);if(void 0!==a.firstElementChild)var b=a.firstElementChild;else for(b=a.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;this.vg.remove(b);""!==a.id&&(this.ug.remove(a.id),this.ua&&this.ua.sl(a.id))};h.setOpacity=function(a){this.Sf=a;var b=this.vg.Da();$d(b,function(c){Vp(c,a)})};
|
|
h.Xk=function(a,b,c,d){"error"==c.type?(dc(this.Ab,b),this.ug.add(b),this.dispatchEvent(c)):(dc(this.Ab,b),c.target&&"load"==c.type&&(c=c.target,this.vg.add(c),1!=this.Sf&&Vp(c,this.Sf),a.appendChild(c)),Kp(this));this.ua&&null!==d&&this.ua.Lk(b,d)};w("ee.MapLayerOverlay",Nq);Nq.prototype.removeTileCallback=Nq.prototype.ag;Nq.prototype.addTileCallback=Nq.prototype.Ne;Nq.prototype.getTile=Nq.prototype.getTile;Nq.prototype.setOpacity=Nq.prototype.setOpacity;Nq.prototype.releaseTile=Nq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.Collection.prototype.filter ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.filterMetadata ee.Collection.prototype.map ee.Collection.prototype.iterate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.getWorkloadTag ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.getAssetRoots ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.getAsset ee.data.listFeatures ee.data.createAssetHome ee.data.setWorkloadTag ee.data.getOperation ee.data.createAsset ee.data.getInfo ee.data.authenticateViaPrivateKey ee.data.newTaskId ee.data.setDefaultWorkloadTag ee.data.computeValue ee.data.getThumbId ee.data.cancelTask ee.data.resetWorkloadTag ee.data.updateAsset ee.data.getList ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.updateTask ee.data.startIngestion ee.data.createFolder ee.data.startProcessing ee.data.getTaskStatus ee.data.setAssetAcl ee.data.listAssets ee.data.renameAsset ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetProperties ee.data.copyAsset ee.data.getMapId ee.data.listBuckets ee.data.getTaskList ee.data.getTableDownloadId ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.authenticate ee.data.startTableIngestion ee.data.getTileUrl ee.data.getTaskListWithLimit ee.data.makeTableDownloadUrl ee.data.cancelOperation ee.data.listOperations ee.data.getAssetAcl ee.data.listImages ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decode ee.Dictionary ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.call ee.reset ee.initialize ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.Filter.prototype.not ee.Filter.neq ee.Filter.lt ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter.metadata ee.Filter.date ee.Filter ee.Filter.eq ee.Filter.bounds ee.Filter.and ee.Filter.gt ee.Filter.inList ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiLineString ee.Geometry.LinearRing ee.Geometry.BBox ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Geometry ee.Geometry.MultiPolygon ee.Geometry.prototype.serialize ee.Image.cat ee.Image.prototype.select ee.Image ee.Image.rgb ee.Image.prototype.clip ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.getThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getMap ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.Serializer.toReadableCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
c=[["name"],["name","namedArgs"],["name","var_args"],"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices","opt_priority"],["classifier","opt_description","opt_assetId","opt_priority"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
["filter"],["max","opt_property","opt_ascending"],["property","opt_ascending"],["geometry"],["start","opt_end"],["name","operator","value"],["algorithm","opt_dropNulls"],["algorithm","opt_first"],["opt_callback"],["legacy"],["func","var_args"],["callback"],[],["params","opt_callback"],["id"],["opt_callback"],["opt_success","opt_error"],["params","opt_callback"],["id","opt_callback"],["asset","params","opt_callback"],["requestedId","opt_callback"],["tag"],["operationName","opt_callback"],["value",
|
|
"opt_path","opt_force","opt_properties","opt_callback"],["id","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["opt_count","opt_callback"],["tag"],["obj","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["opt_resetDefault"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["params","opt_callback"],["params","opt_callback"],["taskId","action","opt_callback"],["taskId","request","opt_callback"],["path",
|
|
"opt_force","opt_callback"],["taskId","params","opt_callback"],["taskId","opt_callback"],["assetId","aclUpdate","opt_callback"],["parent","opt_params","opt_callback"],["sourceId","destinationId","opt_callback"],["id"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["assetId","properties","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["params","opt_callback"],["project","opt_callback"],["opt_callback"],["params",
|
|
"opt_callback"],["assetId","opt_callback"],["rootId","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["taskId","request","opt_callback"],["id","x","y","z"],["opt_limit","opt_callback"],["id"],["operationName","opt_callback"],["opt_limit","opt_callback"],["assetId","opt_callback"],["parent","opt_params","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],["func","namedArgs"],[],["func","var_args"],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
["var_args"],[],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["geometry","opt_properties"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["opt_visParams","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],["args","opt_column"],[],["name","value"],["name","value"],["var_args"],["name","value"],["name","value"],["name","operator","value"],["start","opt_end"],["opt_filter"],
|
|
["name","value"],["geometry","opt_errorMargin"],["var_args"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["var_args"],["namedArgs"],["coords","opt_proj"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError"],["west","south","east","north"],[],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError",
|
|
"opt_evenOdd"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["legacy"],["var_args"],["var_args"],["opt_args"],["r","g","b"],["geometry"],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["params","opt_callback"],["params","opt_callback"],["expression","opt_map"],["var_args"],["params","opt_callback"],["params","opt_callback"],["opt_callback"],["selectors","opt_names"],["imageCollection","opt_linkedBands",
|
|
"opt_linkedProperties","opt_matchPropertyName"],[],["opt_visParams","opt_callback"],["params","opt_callback"],["args"],["opt_visParams","opt_callback"],["list"],["number"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["obj"],["string"],[]];[dn,en,Q,Lo,Oo,Jo,Go,Ko,Qo,Io,Do,Ho,Fo,Po,Mo,No,V.prototype.filter,V.prototype.limit,V.prototype.sort,V.prototype.wh,V.prototype.mf,V.prototype.nf,V.prototype.map,V.prototype.Lh,O.prototype.V,O.prototype.va,O.prototype.Fg,O.prototype.evaluate,
|
|
Il,Ul,Vl,Bm,Cl,Ml,vm,Nl,Cm,Om,fm,Dm,vm,Fl,Yl,Pm,Ol,Pl,hm,Qm,Jm,xm,Ql,Rl,gm,sm,Em,om,am,Km,ym,Fm,Sl,Dl,Lm,Gm,Kl,Am,cm,Wl,Hm,Mm,El,um,Ll,bm,Xl,em,dm,Im,zm,gp,lp,pp,kp,jp,qp,Bp,Dp,Fp,256,Ep,Cp,zp,S.prototype.set,ak,W.prototype.V,W.prototype.S,W.prototype.getMap,W,Y.prototype.select,Y.prototype.getMap,Y.prototype.sb,Y.prototype.S,Y.prototype.V,Y,U.prototype.sc,Tn,Un,Zn,Xn,Vn,co,$n,U,Sn,bo,Yn,Wn,ao,Zm.prototype.call,Zm.prototype.apply,yn,T.prototype.pe,In,Hn,Dn,T.prototype.xg,Bn,Cn,Gn,Jn,T,Kn,T.prototype.va,
|
|
ro,N.prototype.select,N,qo,N.prototype.clip,N.prototype.V,N.prototype.S,N.prototype.getMap,N.prototype.sb,N.prototype.Ld,N.prototype.l,N.prototype.ri,N.prototype.wf,Z.prototype.uf,Z.prototype.V,Z.prototype.select,Z.prototype.Gf,Z.prototype.first,Z.prototype.S,Z.prototype.xf,Z,Z.prototype.getMap,so,Xo,Zk,fl,Wk,gl,bl,Xk,hl,$o,tp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|