mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
722 lines
328 KiB
JavaScript
722 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),da=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})}};
|
|
da("Symbol",function(a){if(a)return a;var b=function(g,f){this.Vi=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.Vi};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});
|
|
da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=k[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});
|
|
var ea=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},fa=function(a){return a.raw=a},ha=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");},ia=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},ja=function(a,b){return Object.prototype.hasOwnProperty.call(a,
|
|
b)},ka="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)ja(d,e)&&(a[e]=d[e])}return a};da("Object.assign",function(a){return a||ka});var la="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ma;
|
|
if("function"==typeof Object.setPrototypeOf)ma=Object.setPrototypeOf;else{var na;a:{var pa={a:!0},qa={};try{qa.__proto__=pa;na=qa.a;break a}catch(a){}na=!1}ma=na?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var ra=ma,q=function(a,b){a.prototype=la(b.prototype);a.prototype.constructor=a;if(ra)ra(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},sa=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};
|
|
da("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.Ig=function(f){if(null==this.pb){this.pb=[];var l=this;this.Jg(function(){l.Vk()})}this.pb.push(f)};var d=k.setTimeout;b.prototype.Jg=function(f){d(f,0)};b.prototype.Vk=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.Nk(p)}}}this.pb=null};b.prototype.Nk=function(f){this.Jg(function(){throw f;
|
|
})};var e=function(f){this.T=0;this.ia=void 0;this.uc=[];this.Lh=!1;var l=this.cf();try{f(l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.cf=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.ag)}};e.prototype.vl=function(f){if(f===this)this.ag(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.Ch(f)}};e.prototype.ul=function(f){var l=void 0;try{l=f.then}catch(m){this.ag(m);return}"function"==typeof l?this.yl(l,f):this.Ch(f)};e.prototype.ag=function(f){this.Ai(2,f)};e.prototype.Ch=function(f){this.Ai(1,f)};e.prototype.Ai=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.Xk()};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.Lh)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.Xk=function(){if(null!=this.uc){for(var f=0;f<this.uc.length;++f)g.Ig(this.uc[f]);
|
|
this.uc=null}};var g=new b;e.prototype.xl=function(f){var l=this.cf();f.Ad(l.resolve,l.reject)};e.prototype.yl=function(f,l){var m=this.cf();try{f.call(l,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(f,l){function m(C,Q){return"function"==typeof C?function(oa){try{p(C(oa))}catch(S){v(S)}}:Q}var p,v,z=new e(function(C,Q){p=C;v=Q});this.Ad(m(f,p),m(l,v));return z};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.Ad=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.Ig(m):this.uc.push(m);this.Lh=!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).Ad(l,m)})};e.all=function(f){var l=n(f),m=l.next();return m.done?c([]):new e(function(p,v){function z(oa){return function(S){C[oa]=S;Q--;0==Q&&p(C)}}var C=[],Q=0;do C.push(void 0),Q++,c(m.value).Ad(z(C.length-
|
|
1),v),m=l.next();while(!m.done)})};return e});
|
|
da("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return"object"===p&&null!==m||"function"===p}function d(m){if(!ja(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(z){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(!ja(m,g))throw Error("WeakMap key fail: "+m);m[g][this.fa]=p;return this};l.prototype.get=function(m){return c(m)&&ja(m,g)?m[g][this.fa]:void 0};l.prototype.has=function(m){return c(m)&&ja(m,g)&&ja(m[g],
|
|
this.fa)};l.prototype.delete=function(m){return c(m)&&ja(m,g)&&ja(m[g],this.fa)?delete m[g][this.fa]:!1};return l});
|
|
da("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(z){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&&ja(l[0],p))for(l=0;l<v.length;l++){var z=v[l];if(m!==m&&z.key!==z.key||m===z.key)return{id:p,list:v,index:l,ea:z}}return{id:p,list:v,index:-1,ea:void 0}},e=function(l,m){var p=l[1];return ea(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});da("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,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}});
|
|
var ta=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};da("String.prototype.repeat",function(a){return a?a:function(b){var c=ta(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
|
|
var 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};da("Array.prototype.keys",function(a){return a?a:function(){return ua(this,function(b){return b})}});
|
|
da("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}});da("Array.prototype.values",function(a){return a?a:function(){return ua(this,function(b,c){return c})}});
|
|
da("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=ta(this,b,"endsWith");b+="";void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ta(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}});
|
|
da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ja(b,d)&&c.push([d,b[d]]);return c}});da("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});da("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});
|
|
da("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==ta(this,b,"includes").indexOf(b,c||0)}});da("Array.prototype.entries",function(a){return a?a:function(){return ua(this,function(b,c){return[b,c]})}});
|
|
da("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(n([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),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});da("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ja(b,d)&&c.push(b[d]);return c}});da("String.prototype.padStart",function(a){return a?a:function(b,c){var d=ta(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 va=va||{},r=this||self,wa=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},xa=function(a){var b=wa(a);return"array"==b||"object"==b&&"number"==typeof a.length},ya=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,za)&&a[za]||(a[za]=++Ba)},za="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.Ll=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};function Ha(a){a&&"function"==typeof a.Ra&&a.Ra()};var y=function(){this.Sa=this.Sa;this.Zd=this.Zd};y.prototype.Sa=!1;y.prototype.Ra=function(){this.Sa||(this.Sa=!0,this.J())};y.prototype.J=function(){if(this.Zd)for(;this.Zd.length;)this.Zd.shift()()};var A=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.cd=!1};A.prototype.stopPropagation=function(){this.cd=!0};A.prototype.preventDefault=function(){this.defaultPrevented=!0};function Ia(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,Ia);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}x(Ia,Error);Ia.prototype.name="CustomError";var Ja;function Ka(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");Ia.call(this,c+a[d])}x(Ka,Ia);Ka.prototype.name="AssertionError";function La(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var g=d}else a&&(e+=": "+a,g=b);throw new Ka(""+e,g||[]);}
|
|
var B=function(a,b,c){a||La("",null,b,Array.prototype.slice.call(arguments,2))},Ma=function(a,b,c){null==a&&La("Expected to exist: %s.",[a],b,Array.prototype.slice.call(arguments,2));return a},Na=function(a,b){throw new Ka("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Oa=function(a,b,c){"number"!==typeof a&&La("Expected number but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Pa=function(a,b,c){"string"!==typeof a&&La("Expected string but got %s: %s.",
|
|
[wa(a),a],b,Array.prototype.slice.call(arguments,2))},Qa=function(a,b,c){"function"!==typeof a&&La("Expected function but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2))},Ra=function(a,b,c){t(a)||La("Expected object but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Sa=Array.prototype.indexOf?function(a,b){B(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},Ta=Array.prototype.lastIndexOf?function(a,b){B(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},Ua=Array.prototype.forEach?function(a,b){B(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)},Va=Array.prototype.filter?function(a,b){B(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},Wa=Array.prototype.map?function(a,b,c){B(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},Xa=Array.prototype.some?function(a,b){B(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},Ya=Array.prototype.every?function(a,b){B(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 Za(a,b){var c=0;Ua(a,function(d,e,g){b.call(void 0,d,e,g)&&++c});return c}function $a(a,b){return 0<=Sa(a,b)}function ab(a,b){b=Sa(a,b);var c;(c=0<=b)&&bb(a,b);return c}
|
|
function bb(a,b){B(null!=a.length);Array.prototype.splice.call(a,b,1)}function cb(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 db(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(xa(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 eb(a,b,c){B(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
|
|
function fb(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function gb(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=eb(d,e,e+8192);g=gb.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var hb=Object.freeze||function(a){return a};var ib=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}();var jb,kb;a:{for(var lb=["CLOSURE_FLAGS"],mb=r,nb=0;nb<lb.length;nb++)if(mb=mb[lb[nb]],null==mb){kb=null;break a}kb=mb}var ob=kb&&kb[610401301];jb=null!=ob?ob:!1;function pb(){var a=r.navigator;return a&&(a=a.userAgent)?a:""}var qb,rb=r.navigator;qb=rb?rb.userAgentData||null:null;function sb(a){return-1!=pb().indexOf(a)};function tb(){return jb&&qb&&0<qb.brands.length?!1:sb("Trident")||sb("MSIE")};var ub=function(a){ub[" "](a);return a};ub[" "]=function(){};var vb=tb(),wb=sb("Gecko")&&!(-1!=pb().toLowerCase().indexOf("webkit")&&!sb("Edge"))&&!(sb("Trident")||sb("MSIE"))&&!sb("Edge"),xb=-1!=pb().toLowerCase().indexOf("webkit")&&!sb("Edge");var zb=function(a,b){A.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(wb){a:{try{ub(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=xb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=xb||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:yb[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.Ja=
|
|
a;a.defaultPrevented&&zb.L.preventDefault.call(this)}};x(zb,A);var yb=hb({2:"touch",3:"pen",4:"mouse"});zb.prototype.stopPropagation=function(){zb.L.stopPropagation.call(this);this.Ja.stopPropagation?this.Ja.stopPropagation():this.Ja.cancelBubble=!0};zb.prototype.preventDefault=function(){zb.L.preventDefault.call(this);var a=this.Ja;a.preventDefault?a.preventDefault():a.returnValue=!1};var Ab="closure_listenable_"+(1E6*Math.random()|0),Bb=function(a){return!(!a||!a[Ab])};var Cb=0;var Db=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=++Cb;this.fd=this.zd=!1},Eb=function(a){a.fd=!0;a.listener=null;a.proxy=null;a.src=null;a.jb=null};function Fb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Gb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Hb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function Ib(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Kb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Lb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Mb(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
|
|
function Nb(a){var b=Ob,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function Pb(a){for(var b in a)return!1;return!0}function Qb(a,b){b in a&&delete a[b]}function Rb(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
|
function Sb(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]=Sb(a[c]);return b}var Tb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
|
function Ub(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<Tb.length;g++)c=Tb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Vb=function(a){this.src=a;this.ha={};this.md=0};Vb.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.ha[g];a||(a=this.ha[g]=[],this.md++);var f=Wb(a,b,d,e);-1<f?(b=a[f],c||(b.zd=!1)):(b=new Db(b,this.src,g,!!d,e),b.zd=c,a.push(b));return b};Vb.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ha))return!1;var e=this.ha[a];b=Wb(e,b,c,d);return-1<b?(Eb(e[b]),bb(e,b),0==e.length&&(delete this.ha[a],this.md--),!0):!1};
|
|
var Xb=function(a,b){var c=b.type;c in a.ha&&ab(a.ha[c],b)&&(Eb(b),0==a.ha[c].length&&(delete a.ha[c],a.md--))};Vb.prototype.ed=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,Eb(d[e]);delete this.ha[c];this.md--}};Vb.prototype.Mc=function(a,b,c,d){a=this.ha[a.toString()];var e=-1;a&&(e=Wb(a,b,c,d));return-1<e?a[e]:null};
|
|
Vb.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Ib(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 Wb=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.fd&&g.listener==b&&g.capture==!!c&&g.jb==d)return e}return-1};var Yb="closure_lm_"+(1E6*Math.random()|0),Zb={},$b=0,bc=function(a,b,c,d,e){if(d&&d.once)return ac(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)bc(a,b[g],c,d,e);return null}c=cc(c);return Bb(a)?a.Xa(b,c,t(d)?!!d.capture:!!d,e):dc(a,b,c,!1,d,e)},dc=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=t(e)?!!e.capture:!!e,l=ec(a);l||(a[Yb]=l=new Vb(a));c=l.add(b,c,d,f,g);if(c.proxy)return c;d=fc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)ib||(e=f),void 0===
|
|
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(gc(b.toString()),d);else if(a.addListener&&a.removeListener)B("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");$b++;return c},fc=function(){var a=hc,b=function(c){return a.call(b.src,b.listener,c)};return b},ac=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)ac(a,b[g],c,d,e);return null}c=cc(c);return Bb(a)?
|
|
a.Vc(b,c,t(d)?!!d.capture:!!d,e):dc(a,b,c,!0,d,e)},ic=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)ic(a,b[g],c,d,e);else d=t(d)?!!d.capture:!!d,c=cc(c),Bb(a)?a.se(b,c,d,e):a&&(a=ec(a))&&(b=a.Mc(b,c,d,e))&&jc(b)},jc=function(a){if("number"!==typeof a&&a&&!a.fd){var b=a.src;if(Bb(b))Xb(b.Ia,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(gc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);$b--;(c=ec(b))?
|
|
(Xb(c,a),0==c.md&&(c.src=null,b[Yb]=null)):Eb(a)}}},gc=function(a){return a in Zb?Zb[a]:Zb[a]="on"+a},hc=function(a,b){if(a.fd)a=!0;else{b=new zb(b,this);var c=a.listener,d=a.jb||a.src;a.zd&&jc(a);a=c.call(d,b)}return a},ec=function(a){a=a[Yb];return a instanceof Vb?a:null},kc="__closure_events_fn_"+(1E9*Math.random()>>>0),cc=function(a){B(a,"Listener can not be null.");if("function"===typeof a)return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[kc]||(a[kc]=function(b){return a.handleEvent(b)});
|
|
return a[kc]};var D=function(){y.call(this);this.Ia=new Vb(this);this.Lk=this;this.Uf=null};x(D,y);D.prototype[Ab]=!0;h=D.prototype;h.addEventListener=function(a,b,c,d){bc(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){ic(this,a,b,c,d)};
|
|
h.dispatchEvent=function(a){lc(this);var b=this.Uf;if(b){var c=[];for(var d=1;b;b=b.Uf)c.push(b),B(1E3>++d,"infinite loop")}b=this.Lk;d=a.type||a;if("string"===typeof a)a=new A(a,b);else if(a instanceof A)a.target=a.target||b;else{var e=a;a=new A(d,b);Ub(a,e)}e=!0;if(c)for(var g=c.length-1;!a.cd&&0<=g;g--){var f=a.currentTarget=c[g];e=mc(f,d,!0,a)&&e}a.cd||(f=a.currentTarget=b,e=mc(f,d,!0,a)&&e,a.cd||(e=mc(f,d,!1,a)&&e));if(c)for(g=0;!a.cd&&g<c.length;g++)f=a.currentTarget=c[g],e=mc(f,d,!1,a)&&e;
|
|
return e};h.J=function(){D.L.J.call(this);this.Ia&&this.Ia.ed();this.Uf=null};h.Xa=function(a,b,c,d){lc(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.se=function(a,b,c,d){this.Ia.remove(String(a),b,c,d)};var mc=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.fd&&f.capture==c){var l=f.listener,m=f.jb||f.src;f.zd&&Xb(a.Ia,f);e=!1!==l.call(m,d)&&e}}return e&&!d.defaultPrevented};
|
|
D.prototype.Mc=function(a,b,c,d){return this.Ia.Mc(String(a),b,c,d)};D.prototype.hasListener=function(a,b){return this.Ia.hasListener(void 0!==a?String(a):void 0,b)};var lc=function(a){B(a.Ia,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var nc=function(a,b){this.Qk=a[r.Symbol.iterator]();this.hl=b};nc.prototype[Symbol.iterator]=function(){return this};nc.prototype.next=function(){var a=this.Qk.next();return{value:a.done?void 0:this.hl.call(void 0,a.value),done:a.done}};var oc=function(a,b){return new nc(a,b)};var pc=function(){},qc=function(a){return a};var rc=function(){};rc.prototype.next=function(){return sc};var sc=hb({done:!0,value:void 0});rc.prototype.Da=function(){return this};
|
|
var tc=function(a){if(a instanceof rc)return a;if("function"==typeof a.Da)return a.Da(!1);if(xa(a)){var b=0,c=new rc;c.next=function(){for(;;){if(b>=a.length)return sc;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},uc=function(a,b){if(xa(a))Ua(a,b);else for(a=tc(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var yc=function(a){if(a instanceof vc||a instanceof wc||a instanceof xc)return a;if("function"==typeof a.next)return new vc(function(){return a});if("function"==typeof a[Symbol.iterator])return new vc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Da)return new vc(function(){return a.Da()});throw Error("Not an iterator or iterable.");},vc=function(a){this.uf=a};vc.prototype.Da=function(){return new wc(this.uf())};vc.prototype[Symbol.iterator]=function(){return new xc(this.uf())};
|
|
vc.prototype.xg=function(){return new xc(this.uf())};var wc=function(a){this.Sc=a};q(wc,rc);wc.prototype.next=function(){return this.Sc.next()};wc.prototype[Symbol.iterator]=function(){return new xc(this.Sc)};wc.prototype.xg=function(){return new xc(this.Sc)};var xc=function(a){vc.call(this,function(){return a});this.Sc=a};q(xc,vc);xc.prototype.next=function(){return this.Sc.next()};var zc=function(a,b){this.A={};this.K=[];this.od=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=zc.prototype;h.R=function(){return this.size};h.aa=function(){Ac(this);for(var a=[],b=0;b<this.K.length;b++)a.push(this.A[this.K[b]]);return a};h.tb=function(){Ac(this);return this.K.concat()};h.Pb=function(a){return this.has(a)};h.has=function(a){return Bc(this.A,a)};
|
|
h.Ic=function(a){for(var b=0;b<this.K.length;b++){var c=this.K[b];if(Bc(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||Cc;Ac(this);for(var c,d=0;c=this.K[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Cc=function(a,b){return a===b};zc.prototype.isEmpty=function(){return 0==this.size};zc.prototype.clear=function(){this.A={};this.K.length=0;this.mb(0);this.od=0};zc.prototype.remove=function(a){return this.delete(a)};
|
|
zc.prototype.delete=function(a){return Bc(this.A,a)?(delete this.A[a],this.mb(this.size-1),this.od++,this.K.length>2*this.size&&Ac(this),!0):!1};var Ac=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b<a.K.length;){var d=a.K[b];Bc(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],Bc(e,d)||(a.K[c++]=d,e[d]=1),b++;a.K.length=c}};h=zc.prototype;h.get=function(a,b){return Bc(this.A,a)?this.A[a]:b};
|
|
h.set=function(a,b){Bc(this.A,a)||(this.mb(this.size+1),this.K.push(a),this.od++);this.A[a]=b};h.addAll=function(a){if(a instanceof zc)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 zc(this)};h.keys=function(){return yc(this.Da(!0)).xg()};h.values=function(){return yc(this.Da(!1)).xg()};
|
|
h.entries=function(){var a=this;return oc(this.keys(),function(b){return[b,a.get(b)]})};h.Da=function(a){Ac(this);var b=0,c=this.od,d=this,e=new rc;e.next=function(){if(c!=d.od)throw Error("The map has changed since the iterator was created");if(b>=d.K.length)return sc;var g=d.K[b++];return{value:a?g:d.A[g],done:!1}};return e};h.mb=function(a){this.size=a};var Bc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Dc=function(a){if(a.R&&"function"==typeof a.R)a=a.R();else if(xa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Ec=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(xa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Kb(a)},Fc=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(xa(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Lb(a)}}},Gc=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(xa(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=Fc(a),e=Ec(a),g=e.length,f=0;f<g;f++)b.call(c,e[f],d&&d[f],a)},Hc=function(a,
|
|
b){if("function"==typeof a.every)return a.every(b,void 0);if(xa(a)||"string"===typeof a)return Array.prototype.every.call(a,b,void 0);for(var c=Fc(a),d=Ec(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 Ic=function(a){this.A=new zc;this.size=0;a&&this.addAll(a)},Jc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ca(a):b.slice(0,1)+a};h=Ic.prototype;h.R=function(){return this.A.size};h.add=function(a){this.A.set(Jc(a),a);this.mb(this.A.size)};h.addAll=function(a){a=Ec(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.mb(this.A.size)};h.ed=function(a){a=Ec(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(Jc(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(Jc(a))};h.contains=function(a){return this.A.Pb(Jc(a))};var Kc=function(a,b){var c=new Ic;b=Ec(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},Lc=function(a,b){a=a.clone();a.ed(b);return a};Ic.prototype.aa=function(){return this.A.aa()};
|
|
Ic.prototype.values=function(){return this.A.values()};Ic.prototype.clone=function(){return new Ic(this)};Ic.prototype.equals=function(a){return this.R()==Dc(a)&&Mc(this,a)};var Mc=function(a,b){var c=Dc(b);if(a.R()>c)return!1;!(b instanceof Ic)&&5<c&&(b=new Ic(b));return Hc(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Ic&&"function"==typeof e.Ic?e.Ic(d):xa(e)||"string"===typeof e?$a(e,d):Mb(e,d)})};Ic.prototype.Da=function(){return this.A.Da(!1)};
|
|
Ic.prototype[Symbol.iterator]=function(){return this.values()};Ic.prototype.mb=function(a){this.size=a};var Nc=function(a,b,c){D.call(this);this.il=b;this.token=c;this.Ab=[];this.vg=new Ic;this.yb=0;this.url=a};x(Nc,D);w("ee.AbstractOverlay",Nc);var Oc=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.il,c,e,b.y].join("/")};Nc.prototype.Nc=function(){return this.Ab.length};var Pc=function(a){A.call(this,"tileevent");this.count=a};x(Pc,A);var Qc=function(){},Rc=new Qc;function Sc(a){return Object.assign({},{P:{},Nl:{},keys:[],Ma:{},s:{},H:{},sh:!1},a)}var E=function(){this.h={}},F=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},G=function(a,b){return null!=a.h[b]};function Tc(a,b){return F(b,a)}function Uc(a,b,c){b[a]=c}function Vc(){return{}}function Wc(a,b){var c=new a;return null==b?c:Xc(b,Yc,Zc,$c,a)}function Yc(a,b){return b[a]}function Zc(a,b,c){b.h[a]=c}
|
|
function $c(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function Xc(a,b,c,d,e){e=d(e);for(var g=ad(a,e),f=g.P||{},l=g.s||{},m=g.Ma||{},p=n(g.keys||[]),v=p.next(),z={};!v.done;z={Vd:void 0},v=p.next()){v=v.value;var C=b(v,a);if(null!=C){var Q=void 0;if(f.hasOwnProperty(v)){if(g.sh&&0===C.length)continue;Q=bd(C,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))Q=bd(C,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))z.Vd=m[v],Q=z.Vd.pa?C.map(function(oa){return function(S){return cd(S,oa.Vd,b,c,d)}}(z)):cd(C,z.Vd,b,c,d);else if(Array.isArray(C)){if(g.sh&&0===C.length)continue;
|
|
Q=bd(C,b,c,d,!0,!1)}else Q=C instanceof Qc?null:C;c(v,e,Q)}}return e}function cd(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]=bd(m,c,d,e,b.ra,b.qa,b.ka))}return g}
|
|
function bd(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 Xc(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Xc(a,b,c,d,f):a instanceof Qc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function ad(a,b){if(b instanceof E)a=Sc(b.i());else if(a instanceof E)a=Sc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var dd;var fd=function(a,b){if(b!==ed)throw Error("TrustedResourceUrl is not meant to be built directly");this.mi=a};fd.prototype.toString=function(){return this.mi+""};
|
|
var gd=function(a){if(a instanceof fd&&a.constructor===fd)return a.mi;Na("expected object of type TrustedResourceUrl, got '%s' of type %s",a,wa(a));return"type_error:TrustedResourceUrl"},ed={},hd=function(a){if(void 0===dd){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)}dd=b}a=(b=dd)?b.createScriptURL(a):a;return new fd(a,ed)};var jd=function(a,b){if(b!==id)throw Error("SafeUrl is not meant to be built directly");this.li=a};jd.prototype.toString=function(){return this.li.toString()};var kd=function(a){if(a instanceof jd&&a.constructor===jd)return a.li;Na("expected object of type SafeUrl, got '"+a+"' of type "+wa(a));return"type_error:SafeUrl"},id={},ld=new jd("about:invalid#zClosurez",id);new jd("about:blank",id);var md={},nd=function(){if(md!==md)throw Error("SafeStyle is not meant to be built directly");this.ql=""};nd.prototype.toString=function(){return this.ql.toString()};new nd;var od={},pd=function(){if(od!==od)throw Error("SafeStyleSheet is not meant to be built directly");this.pl=""};pd.prototype.toString=function(){return this.pl.toString()};new pd;var qd={},rd=function(){var a=r.trustedTypes&&r.trustedTypes.emptyHTML||"";if(qd!==qd)throw Error("SafeHtml is not meant to be built directly");this.ol=a};rd.prototype.toString=function(){return this.ol.toString()};new rd;var td=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;Na("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"))&&sd.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=gd(b)},sd=/^[\w+/_-]+[=]{0,2}$/;var ud=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")},vd=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 wd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),xd=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 yd=function(a){this.ib=this.hc=this.wb="";this.vc=null;this.Sb=this.Zb="";this.za=this.dl=!1;if(a instanceof yd){this.za=a.za;zd(this,a.wb);var b=a.hc;Ad(this);this.hc=b;b=a.ib;Ad(this);this.ib=b;Bd(this,a.vc);this.setPath(a.getPath());Cd(this,a.Ba.clone());a=a.Sb;Ad(this);this.Sb=a}else a&&(b=String(a).match(wd))?(this.za=!1,zd(this,b[1]||"",!0),a=b[2]||"",Ad(this),this.hc=Dd(a),a=b[3]||"",Ad(this),this.ib=Dd(a,!0),Bd(this,b[4]),this.setPath(b[5]||"",!0),Cd(this,b[6]||"",!0),a=b[7]||"",Ad(this),
|
|
this.Sb=Dd(a)):(this.za=!1,this.Ba=new Ed(null,this.za))};
|
|
yd.prototype.toString=function(){var a=[],b=this.wb;b&&a.push(Fd(b,Gd,!0),":");var c=this.ib;if(c||"file"==b)a.push("//"),(b=this.hc)&&a.push(Fd(b,Gd,!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(Fd(c,"/"==c.charAt(0)?Hd:Id,!0));(c=this.Ba.toString())&&a.push("?",c);(c=this.Sb)&&a.push("#",Fd(c,Jd));return a.join("")};
|
|
yd.prototype.resolve=function(a){var b=this.clone(),c=!!a.wb;c?zd(b,a.wb):c=!!a.hc;if(c){var d=a.hc;Ad(b);b.hc=d}else c=!!a.ib;c?(d=a.ib,Ad(b),b.ib=d):c=null!=a.vc;d=a.getPath();if(c)Bd(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(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){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?Cd(b,a.Ba.clone()):c=!!a.Sb;c&&(a=a.Sb,Ad(b),b.Sb=a);return b};yd.prototype.clone=function(){return new yd(this)};
|
|
var zd=function(a,b,c){Ad(a);a.wb=c?Dd(b,!0):b;a.wb&&(a.wb=a.wb.replace(/:$/,""))},Bd=function(a,b){Ad(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.vc=b}else a.vc=null};yd.prototype.getPath=function(){return this.Zb};yd.prototype.setPath=function(a,b){Ad(this);this.Zb=b?Dd(a,!0):a;return this};var Cd=function(a,b,c){Ad(a);b instanceof Ed?(a.Ba=b,a.Ba.hg(a.za)):(c||(b=Fd(b,Kd)),a.Ba=new Ed(b,a.za))};yd.prototype.getQuery=function(){return this.Ba.toString()};
|
|
yd.prototype.removeParameter=function(a){Ad(this);this.Ba.remove(a);return this};var Ad=function(a){if(a.dl)throw Error("Tried to modify a read-only Uri");};yd.prototype.hg=function(a){this.za=a;this.Ba&&this.Ba.hg(a)};
|
|
var Ld=function(a){return a instanceof yd?a.clone():new yd(a)},Dd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Fd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Md),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Md=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Gd=/[#\/\?@]/g,Id=/[#\?:]/g,Hd=/[#\?]/g,Kd=/[#\?@]/g,Jd=/#/g,Ed=function(a,b){this.Y=this.N=null;this.ta=a||null;this.za=!!b},Nd=
|
|
function(a){a.N||(a.N=new Map,a.Y=0,a.ta&&xd(a.ta,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Ed.prototype;h.R=function(){Nd(this);return this.Y};h.add=function(a,b){Nd(this);this.ta=null;a=Od(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.Y=Oa(this.Y)+1;return this};h.remove=function(a){Nd(this);a=Od(this,a);return this.N.has(a)?(this.ta=null,this.Y=Oa(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(){Nd(this);return 0==this.Y};h.Pb=function(a){Nd(this);a=Od(this,a);return this.N.has(a)};h.Ic=function(a){var b=this.aa();return $a(b,a)};h.forEach=function(a,b){Nd(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.tb=function(){Nd(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){Nd(this);var b=[];if("string"===typeof a)this.Pb(a)&&(b=b.concat(this.N.get(Od(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){Nd(this);this.ta=null;a=Od(this,a);this.Pb(a)&&(this.Y=Oa(this.Y)-this.N.get(a).length);this.N.set(a,[b]);this.Y=Oa(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(Od(this,a),cb(b)),this.Y=Oa(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 Ed;a.ta=this.ta;this.N&&(a.N=new Map(this.N),a.Y=this.Y);return a};var Od=function(a,b){b=String(b);a.za&&(b=b.toLowerCase());return b};Ed.prototype.hg=function(a){a&&!this.za&&(Nd(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};Ed.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Gc(arguments[b],function(c,d){this.add(d,c)},this)};function Pd(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 H(a,b){var c=Qd;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 Rd=function(){};Rd.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function Sd(a,b){if(null==a)return null;a=a.Ol(b);return null==a?null:a};var Td=function(a,b){this.M=a;this.bl=void 0===b?null:b};q(Td,Rd);var Ud=function(a,b,c){var d=Sd(a.bl,b);if(null==d)return c;d.Pl();return c.then(function(e){d.Rl(e);return e},function(e){d.Ql(e);throw e;})},I=function(a,b){var c=b.G||void 0,d=a.M,e=d.send,g=b.body instanceof E?Xc(b.body,Tc,Uc,Vc):b.body;return Ud(a,b,e.call(d,{path:b.path,B:b.B,D:b.D,body:g,u:b.u,Fi:b.Fi&&b.Fi},c))};var Vd={Ac:"ADMIN_READ",Bc:"DATA_READ",Cc:"DATA_WRITE",ck:"LOG_TYPE_UNSPECIFIED",values:function(){return[Vd.ck,Vd.Ac,Vd.Cc,Vd.Bc]}},Wd={Ac:"ADMIN_READ",ye:"ADMIN_WRITE",Bc:"DATA_READ",Cc:"DATA_WRITE",Ge:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[Wd.Ge,Wd.Ac,Wd.ye,Wd.Bc,Wd.Cc]}},Xd={dj:"AUTO_APPEAL_ELIGIBLE",hj:"CAPABILITY_GROUP_UNSPECIFIED",jj:"CLOUD_ALPHA",Ej:"EXTERNAL",Vj:"INTERNAL",Yj:"LIMITED",kk:"PREAUTHORIZED",mk:"PREVIEW",Ec:"PUBLIC",pk:"RESTRICTED",values:function(){return[Xd.hj,
|
|
Xd.Ec,Xd.Vj,Xd.Ej,Xd.Yj,Xd.kk,Xd.mk,Xd.jj,Xd.pk,Xd.dj]}},Yd={Wi:"ADMIN_ACTIVITY",uj:"DATA_ACCESS",Ek:"UNSPECIFIED_LOG_NAME",values:function(){return[Yd.Ek,Yd.Wi,Yd.uj]}},Zd={Ac:"ADMIN_READ",ye:"ADMIN_WRITE",Bc:"DATA_READ",Cc:"DATA_WRITE",Ge:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[Zd.Ge,Zd.Ac,Zd.ye,Zd.Bc,Zd.Cc]}},$d={xj:"DEFAULT_OBJECT_ACL",Ec:"PUBLIC",zk:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[$d.zk,$d.Ec,$d.xj]}},ae={Zi:"APPROVER",bj:"ATTRIBUTION",cj:"AUTHORITY",oj:"CREDENTIALS_TYPE",
|
|
pj:"CREDS_ASSERTION",Xj:"JUSTIFICATION_TYPE",Fe:"NO_ATTR",rk:"SECURITY_REALM",values:function(){return[ae.Fe,ae.cj,ae.bj,ae.rk,ae.Zi,ae.Xj,ae.oj,ae.pj]}},be={Cj:"DISCHARGED",Dj:"EQUALS",Pj:"IN",ek:"NOT_EQUALS",fk:"NOT_IN",hk:"NO_OP",values:function(){return[be.hk,be.Dj,be.ek,be.Pj,be.fk,be.Cj]}},ce={Wj:"IP",dk:"NAME",Fe:"NO_ATTR",nk:"REGION",sk:"SERVICE",values:function(){return[ce.Fe,ce.nk,ce.sk,ce.dk,ce.Wj]}},de={ak:"LOG_FAIL_CLOSED",bk:"LOG_MODE_UNSPECIFIED",values:function(){return[de.bk,de.ak]}},
|
|
fe={ij:"CLASSIFIER",Gj:"FEATURE_VIEW",Ij:"FOLDER",Mj:"IMAGE",Nj:"IMAGE_COLLECTION",yk:"TABLE",Ke:"TYPE_UNSPECIFIED",values:function(){return[fe.Ke,fe.Mj,fe.Nj,fe.yk,fe.Ij,fe.ij,fe.Gj]}},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={Fk:"V1",Gk:"V2",Hk:"VERSION_UNSPECIFIED",
|
|
values:function(){return[he.Hk,he.Fk,he.Gk]}},ie={ej:"BOOLEAN",wj:"DATE_TIME",Dc:"DOUBLE",Uj:"INTEGER",wk:"STRING",Ke:"TYPE_UNSPECIFIED",values:function(){return[ie.Ke,ie.Uj,ie.ej,ie.Dc,ie.wk,ie.wj]}},je={Hj:"FEATURE_VIEW_ASSET_PERMISSIONS_UNSPECIFIED",Ec:"PUBLIC",values:function(){return[je.Hj,je.Ec]}},ke={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[ke.Db,ke.Eb,ke.Hb,ke.Bb,ke.Gb,ke.Cb,ke.Ib,ke.Fb,ke.Jb,ke.Kb]}},le={Lj:"HORIZONTAL",ik:"ORIENTATION_UNSPECIFIED",Ik:"VERTICAL",values:function(){return[le.ik,le.Lj,le.Ik]}},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={MAX:"MAX",ab:"MEAN",bb:"MEDIAN",MIN:"MIN",cb:"MODE",eb:"PYRAMIDING_POLICY_UNSPECIFIED",fb:"SAMPLE",values:function(){return[ne.eb,
|
|
ne.ab,ne.fb,ne.MIN,ne.MAX,ne.cb,ne.bb]}},oe={MAX:"MAX",ab:"MEAN",bb:"MEDIAN",MIN:"MIN",cb:"MODE",eb:"PYRAMIDING_POLICY_UNSPECIFIED",fb:"SAMPLE",values:function(){return[oe.eb,oe.ab,oe.fb,oe.MIN,oe.MAX,oe.cb,oe.bb]}},pe={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[pe.Db,pe.Eb,pe.Hb,pe.Bb,pe.Gb,pe.Cb,pe.Ib,pe.Fb,pe.Jb,pe.Kb]}},
|
|
qe={MAX:"MAX",ab:"MEAN",bb:"MEDIAN",MIN:"MIN",cb:"MODE",eb:"PYRAMIDING_POLICY_UNSPECIFIED",fb:"SAMPLE",values:function(){return[qe.eb,qe.ab,qe.fb,qe.MIN,qe.MAX,qe.cb,qe.bb]}},re={Oj:"IMPORT_MODE_UNSPECIFIED",Qj:"INGEST",Jk:"VIRTUAL",values:function(){return[re.Oj,re.Qj,re.Jk]}},se={fj:"CANCELLED",gj:"CANCELLING",Fj:"FAILED",jk:"PENDING",qk:"RUNNING",vk:"STATE_UNSPECIFIED",xk:"SUCCEEDED",values:function(){return[se.vk,se.jk,se.qk,se.gj,se.xk,se.fj,se.Fj]}},te={tk:"SEVERE",uk:"SEVERITY_UNSPECIFIED",
|
|
Kk:"WARNING",values:function(){return[te.uk,te.Kk,te.tk]}},ue={Dc:"DOUBLE",FLOAT:"FLOAT",INT:"INT",lk:"PRECISION_UNSPECIFIED",values:function(){return[ue.lk,ue.INT,ue.FLOAT,ue.Dc]}},ve={aj:"ASCENDING",Aj:"DESCENDING",Bj:"DIRECTION_UNSPECIFIED",values:function(){return[ve.Bj,ve.aj,ve.Aj]}},we={Xi:"ALLOW",Yi:"ALLOW_WITH_LOG",yj:"DENY",zj:"DENY_WITH_LOG",Zj:"LOG",gk:"NO_ACTION",values:function(){return[we.gk,we.Xi,we.Yi,we.yj,we.zj,we.Zj]}},xe={ze:"CSV",Ae:"GEO_JSON",Ce:"KML",De:"KMZ",He:"SHP",Ie:"TABLE_FILE_FORMAT_UNSPECIFIED",
|
|
Je:"TF_RECORD_TABLE",values:function(){return[xe.Ie,xe.ze,xe.Ae,xe.Ce,xe.De,xe.He,xe.Je]}},ye={ze:"CSV",Ae:"GEO_JSON",Ce:"KML",De:"KMZ",He:"SHP",Ie:"TABLE_FILE_FORMAT_UNSPECIFIED",Je:"TF_RECORD_TABLE",values:function(){return[ye.Ie,ye.ze,ye.Ae,ye.Ce,ye.De,ye.He,ye.Je]}},ze={kj:"COLUMN_DATA_TYPE_LONG",lj:"COLUMN_DATA_TYPE_NUMERIC",mj:"COLUMN_DATA_TYPE_STRING",nj:"COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[ze.nj,ze.mj,ze.lj,ze.kj]}},Ae={qj:"CSV_COLUMN_DATA_TYPE_LONG",rj:"CSV_COLUMN_DATA_TYPE_NUMERIC",
|
|
sj:"CSV_COLUMN_DATA_TYPE_STRING",tj:"CSV_COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[Ae.tj,Ae.sj,Ae.rj,Ae.qj]}},Be={Jj:"GLOBALLY_CONSISTENT",Kj:"HIGHER_DENSITY",Dk:"UNKNOWN_THINNING_STRATEGY",values:function(){return[Be.Dk,Be.Jj,Be.Kj]}},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={MAX:"MAX",ab:"MEAN",bb:"MEDIAN",MIN:"MIN",cb:"MODE",eb:"PYRAMIDING_POLICY_UNSPECIFIED",fb:"SAMPLE",values:function(){return[De.eb,De.ab,De.fb,De.MIN,De.MAX,De.cb,De.bb]}},Ee={vj:"DATA_TYPE_UNSPECIFIED",Dc:"DOUBLE",FLOAT:"FLOAT",Rj:"INT16",Sj:"INT32",Tj:"INT8",Ak:"UINT16",Bk:"UINT32",Ck:"UINT8",values:function(){return[Ee.vj,Ee.Tj,Ee.Ck,Ee.Rj,Ee.Ak,Ee.Sj,Ee.Bk,Ee.FLOAT,Ee.Dc]}},Fe={Be:"GIF",Ee:"MP4",Le:"VIDEO_FILE_FORMAT_UNSPECIFIED",Me:"VP9",values:function(){return[Fe.Le,
|
|
Fe.Ee,Fe.Be,Fe.Me]}},Ge={Be:"GIF",Ee:"MP4",Le:"VIDEO_FILE_FORMAT_UNSPECIFIED",Me:"VP9",values:function(){return[Ge.Le,Ge.Ee,Ge.Be,Ge.Me]}},He=function(a){a=void 0===a?{}:a;this.h={};this.h.scaleX=null==a.dg?null:a.dg;this.h.shearX=null==a.ig?null:a.ig;this.h.translateX=null==a.zg?null:a.zg;this.h.shearY=null==a.jg?null:a.jg;this.h.scaleY=null==a.eg?null:a.eg;this.h.translateY=null==a.Ag?null:a.Ag};q(He,E);He.prototype.i=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
k.Object.defineProperties(He.prototype,{dg:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleX")?F(this,"scaleX"):null},set:function(a){this.h.scaleX=a}},eg:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleY")?F(this,"scaleY"):null},set:function(a){this.h.scaleY=a}},ig:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearX")?F(this,"shearX"):null},set:function(a){this.h.shearX=a}},jg:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearY")?
|
|
F(this,"shearY"):null},set:function(a){this.h.shearY=a}},zg:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateX")?F(this,"translateX"):null},set:function(a){this.h.translateX=a}},Ag:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateY")?F(this,"translateY"):null},set:function(a){this.h.translateY=a}}});
|
|
var Ie=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.cg?null:a.cg;this.h.arguments=null==a.arguments?null:a.arguments;this.h.deprecated=null==a.deprecated?null:a.deprecated;this.h.deprecationReason=null==a.ff?null:a.ff;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(Ie,E);
|
|
Ie.prototype.i=function(){return{P:{arguments:Je},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
|
|
k.Object.defineProperties(Ie.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?F(this,"arguments"):null},set:function(a){this.h.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecated")?F(this,"deprecated"):null},set:function(a){this.h.deprecated=a}},ff:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecationReason")?F(this,"deprecationReason"):null},set:function(a){this.h.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return G(this,"hidden")?F(this,"hidden"):null},set:function(a){this.h.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return G(this,"preview")?F(this,"preview"):null},set:function(a){this.h.preview=
|
|
a}},cg:{configurable:!0,enumerable:!0,get:function(){return G(this,"returnType")?F(this,"returnType"):null},set:function(a){this.h.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return G(this,"sourceCodeUri")?F(this,"sourceCodeUri"):null},set:function(a){this.h.sourceCodeUri=a}}});
|
|
var Je=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.ud?null:a.ud;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(Je,E);Je.prototype.i=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
k.Object.defineProperties(Je.prototype,{ud:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentName")?F(this,"argumentName"):null},set:function(a){this.h.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"optional")?F(this,"optional"):null},set:function(a){this.h.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}}});var Ke=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Ke,E);Ke.prototype.i=function(){return{P:{values:Le},keys:["values"]}};
|
|
k.Object.defineProperties(Ke.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var Me=function(a){a=void 0===a?{}:a;this.h={};this.h.service=null==a.zi?null:a.zi;this.h.auditLogConfigs=null==a.Mg?null:a.Mg};q(Me,E);Me.prototype.i=function(){return{P:{auditLogConfigs:Ne},keys:["auditLogConfigs","service"]}};
|
|
k.Object.defineProperties(Me.prototype,{Mg:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditLogConfigs")?F(this,"auditLogConfigs"):null},set:function(a){this.h.auditLogConfigs=a}},zi:{configurable:!0,enumerable:!0,get:function(){return G(this,"service")?F(this,"service"):null},set:function(a){this.h.service=a}}});
|
|
var Ne=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Sh?null:a.Sh;this.h.exemptedMembers=null==a.th?null:a.th;this.h.ignoreChildExemptions=null==a.Hh?null:a.Hh};q(Ne,E);Ne.prototype.i=function(){return{H:{logType:Vd},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
k.Object.defineProperties(Ne.prototype,{th:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?F(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},Hh:{configurable:!0,enumerable:!0,get:function(){return G(this,"ignoreChildExemptions")?F(this,"ignoreChildExemptions"):null},set:function(a){this.h.ignoreChildExemptions=a}},Sh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logType")?F(this,"logType"):null},set:function(a){this.h.logType=
|
|
a}}});var Oe=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.ad?null:a.ad};q(Oe,E);Oe.prototype.i=function(){return{H:{permissionType:Wd},keys:["permissionType"]}};k.Object.defineProperties(Oe.prototype,{ad:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?F(this,"permissionType"):null},set:function(a){this.h.permissionType=a}}});
|
|
var Pe=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(Pe,E);Pe.prototype.i=function(){return{keys:["append","overwrite","table"]}};
|
|
k.Object.defineProperties(Pe.prototype,{append:{configurable:!0,enumerable:!0,get:function(){return G(this,"append")?F(this,"append"):null},set:function(a){this.h.append=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},table:{configurable:!0,enumerable:!0,get:function(){return G(this,"table")?F(this,"table"):null},set:function(a){this.h.table=a}}});
|
|
var Qe=function(a){a=void 0===a?{}:a;this.h={};this.h.bigqueryDestination=null==a.Re?null:a.Re};q(Qe,E);Qe.prototype.i=function(){return{keys:["bigqueryDestination"],s:{bigqueryDestination:Pe}}};k.Object.defineProperties(Qe.prototype,{Re:{configurable:!0,enumerable:!0,get:function(){return G(this,"bigqueryDestination")?F(this,"bigqueryDestination"):null},set:function(a){this.h.bigqueryDestination=a}}});
|
|
var Re=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.ah?null:a.ah;this.h.bindingId=null==a.Pg?null:a.Pg};q(Re,E);Re.prototype.i=function(){return{keys:["bindingId","condition","members","role"],s:{condition:Se}}};
|
|
k.Object.defineProperties(Re.prototype,{Pg:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindingId")?F(this,"bindingId"):null},set:function(a){this.h.bindingId=a}},ah:{configurable:!0,enumerable:!0,get:function(){return G(this,"condition")?F(this,"condition"):null},set:function(a){this.h.condition=a}},Xb:{configurable:!0,enumerable:!0,get:function(){return G(this,"members")?F(this,"members"):null},set:function(a){this.h.members=a}},role:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"role")?F(this,"role"):null},set:function(a){this.h.role=a}}});var Te=function(){this.h={}};q(Te,E);Te.prototype.i=function(){return{keys:[]}};var Ue=function(a){a=void 0===a?{}:a;this.h={};this.h.capabilities=null==a.Vg?null:a.Vg};q(Ue,E);Ue.prototype.i=function(){return{H:{capabilities:Xd},keys:["capabilities"]}};
|
|
k.Object.defineProperties(Ue.prototype,{Vg:{configurable:!0,enumerable:!0,get:function(){return G(this,"capabilities")?F(this,"capabilities"):null},set:function(a){this.h.capabilities=a}}});var Ve=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ha?null:a.Ha};q(Ve,E);Ve.prototype.i=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:We}}};
|
|
k.Object.defineProperties(Ve.prototype,{Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Xe=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Rh?null:a.Rh;this.h.authorizationLoggingOptions=null==a.Ng?null:a.Ng;this.h.permissionType=null==a.ad?null:a.ad};q(Xe,E);
|
|
Xe.prototype.i=function(){return{H:{logName:Yd,permissionType:Zd},keys:["authorizationLoggingOptions","logName","permissionType"],s:{authorizationLoggingOptions:Oe}}};
|
|
k.Object.defineProperties(Xe.prototype,{Ng:{configurable:!0,enumerable:!0,get:function(){return G(this,"authorizationLoggingOptions")?F(this,"authorizationLoggingOptions"):null},set:function(a){this.h.authorizationLoggingOptions=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logName")?F(this,"logName"):null},set:function(a){this.h.logName=a}},ad:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?F(this,"permissionType"):null},set:function(a){this.h.permissionType=
|
|
a}}});var Ye=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.Ue?null:a.Ue;this.h.filenamePrefix=null==a.xa?null:a.xa;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.Ve?null:a.Ve};q(Ye,E);Ye.prototype.i=function(){return{H:{permissions:$d},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
k.Object.defineProperties(Ye.prototype,{Ue:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucket")?F(this,"bucket"):null},set:function(a){this.h.bucket=a}},Ve:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucketCorsUris")?F(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},xa:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.h.permissions=a}}});k.Object.defineProperties(Ye,{Permissions:{configurable:!0,enumerable:!0,get:function(){return $d}}});var Ze=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris};q(Ze,E);Ze.prototype.i=function(){return{keys:["uris"]}};
|
|
k.Object.defineProperties(Ze.prototype,{uris:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}}});var $e=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($e,E);$e.prototype.i=function(){return{keys:["expression","workloadTag"],s:{expression:af}}};
|
|
k.Object.defineProperties($e.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});var bf=function(a){a=void 0===a?{}:a;this.h={};this.h.result=null==a.result?null:a.result};q(bf,E);bf.prototype.i=function(){return{keys:["result"]}};
|
|
k.Object.defineProperties(bf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.h.result=a}}});var cf=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.Fh?null:a.Fh;this.h.sys=null==a.Ji?null:a.Ji;this.h.svc=null==a.Ii?null:a.Ii;this.h.op=null==a.hi?null:a.hi;this.h.values=null==a.values?null:a.values};q(cf,E);cf.prototype.i=function(){return{H:{iam:ae,op:be,sys:ce},keys:["iam","op","svc","sys","values"]}};
|
|
k.Object.defineProperties(cf.prototype,{Fh:{configurable:!0,enumerable:!0,get:function(){return G(this,"iam")?F(this,"iam"):null},set:function(a){this.h.iam=a}},hi:{configurable:!0,enumerable:!0,get:function(){return G(this,"op")?F(this,"op"):null},set:function(a){this.h.op=a}},Ii:{configurable:!0,enumerable:!0,get:function(){return G(this,"svc")?F(this,"svc"):null},set:function(a){this.h.svc=a}},Ji:{configurable:!0,enumerable:!0,get:function(){return G(this,"sys")?F(this,"sys"):null},set:function(a){this.h.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var df=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(df,E);df.prototype.i=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
k.Object.defineProperties(df.prototype,{da:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Qb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.h.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
|
|
var ef=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Vh?null:a.Vh;this.h.field=null==a.vh?null:a.vh;this.h.customFields=null==a.lh?null:a.lh};q(ef,E);ef.prototype.i=function(){return{P:{customFields:ff},keys:["customFields","field","metric"]}};
|
|
k.Object.defineProperties(ef.prototype,{lh:{configurable:!0,enumerable:!0,get:function(){return G(this,"customFields")?F(this,"customFields"):null},set:function(a){this.h.customFields=a}},vh:{configurable:!0,enumerable:!0,get:function(){return G(this,"field")?F(this,"field"):null},set:function(a){this.h.field=a}},Vh:{configurable:!0,enumerable:!0,get:function(){return G(this,"metric")?F(this,"metric"):null},set:function(a){this.h.metric=a}}});
|
|
var ff=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(ff,E);ff.prototype.i=function(){return{keys:["name","value"]}};k.Object.defineProperties(ff.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return G(this,"value")?F(this,"value"):null},set:function(a){this.h.value=a}}});
|
|
var gf=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Qh?null:a.Qh};q(gf,E);gf.prototype.i=function(){return{H:{logMode:de},keys:["logMode"]}};k.Object.defineProperties(gf.prototype,{Qh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logMode")?F(this,"logMode"):null},set:function(a){this.h.logMode=a}}});var hf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(hf,E);
|
|
hf.prototype.i=function(){return{keys:["values"],Ma:{values:{ka:Le,pa:!1,qa:!0,ra:!1}}}};k.Object.defineProperties(hf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var jf=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(jf,E);jf.prototype.i=function(){return{keys:["max","min"]}};
|
|
k.Object.defineProperties(jf.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return G(this,"max")?F(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return G(this,"min")?F(this,"min"):null},set:function(a){this.h.min=a}}});var kf=function(a){a=void 0===a?{}:a;this.h={};this.h.folder=null==a.tf?null:a.tf;this.h.filenamePrefix=null==a.xa?null:a.xa};q(kf,E);kf.prototype.i=function(){return{keys:["filenamePrefix","folder"]}};
|
|
k.Object.defineProperties(kf.prototype,{xa:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},tf:{configurable:!0,enumerable:!0,get:function(){return G(this,"folder")?F(this,"folder"):null},set:function(a){this.h.folder=a}}});
|
|
var lf=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.Hd?null:a.Hd;this.h.tableLocation=null==a.Ki?null:a.Ki;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(lf,E);
|
|
lf.prototype.i=function(){return{P:{bands:mf,tilesets:nf},H:{type:fe},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}},s:{cloudStorageLocation:Ze,expression:af,featureViewAssetLocation:of,quota:pf,tableLocation:qf,tilestoreLocation:rf}}};
|
|
k.Object.defineProperties(lf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.h.bands=a}},cloudStorageLocation:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageLocation")?F(this,"cloudStorageLocation"):null},set:function(a){this.h.cloudStorageLocation=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.h.endTime=a}},l:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},featureCount:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureCount")?F(this,"featureCount"):null},set:function(a){this.h.featureCount=a}},Hd:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureViewAssetLocation")?F(this,"featureViewAssetLocation"):null},set:function(a){this.h.featureViewAssetLocation=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"geometry")?F(this,"geometry"):null},set:function(a){this.h.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=a}},quota:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"quota")?F(this,"quota"):null},set:function(a){this.h.quota=a}},sizeBytes:{configurable:!0,enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},Ki:{configurable:!0,enumerable:!0,get:function(){return G(this,"tableLocation")?F(this,"tableLocation"):
|
|
null},set:function(a){this.h.tableLocation=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},tilestoreLocation:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilestoreLocation")?F(this,"tilestoreLocation"):null},set:function(a){this.h.tilestoreLocation=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}},updateTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var We=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(We,E);We.prototype.i=function(){return{keys:["name","overwrite"]}};
|
|
k.Object.defineProperties(We.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
|
|
var sf=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(sf,E);sf.prototype.i=function(){return{H:{fileFormat:ge},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],s:{expression:af,visualizationOptions:tf}}};
|
|
k.Object.defineProperties(sf.prototype,{da:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},ic:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var uf=function(){this.h={}};q(uf,E);uf.prototype.i=function(){return{keys:[]}};
|
|
var vf=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(vf,E);
|
|
vf.prototype.i=function(){return{keys:"assetExportOptions description expression maxWorkers priority requestId workloadTag".split(" "),s:{assetExportOptions:Ve,expression:af}}};
|
|
k.Object.defineProperties(vf.prototype,{sa:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
O:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var wf=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.Qf?null:a.Qf;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(wf,E);wf.prototype.i=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkers priority requestId workloadTag".split(" "),s:{assetExportOptions:xf,expression:af,fileExportOptions:yf,grid:zf}}};
|
|
k.Object.defineProperties(wf.prototype,{sa:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
oa:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},grid:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},Qf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixels")?F(this,"maxPixels"):null},set:function(a){this.h.maxPixels=a}},O:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?
|
|
F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=
|
|
a}}});var Af=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(Af,E);
|
|
Af.prototype.i=function(){return{keys:"description expression maxWorkers priority requestId tileExportOptions tileOptions workloadTag".split(" "),s:{expression:af,tileExportOptions:yf,tileOptions:Bf}}};
|
|
k.Object.defineProperties(Af.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},O:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},priority:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},dc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},ec:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?
|
|
F(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Cf=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.Id?null:a.Id;this.h.bigqueryExportOptions=null==a.wd?null:a.wd;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(Cf,E);
|
|
Cf.prototype.i=function(){return{keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkers policy priority requestId selectors workloadTag".split(" "),s:{assetExportOptions:Df,bigqueryExportOptions:Qe,expression:af,featureViewExportOptions:Ef,fileExportOptions:Ff,policy:Gf}}};
|
|
k.Object.defineProperties(Cf.prototype,{sa:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},wd:{configurable:!0,enumerable:!0,get:function(){return G(this,"bigqueryExportOptions")?F(this,"bigqueryExportOptions"):null},set:function(a){this.h.bigqueryExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=
|
|
a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},Id:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureViewExportOptions")?F(this,"featureViewExportOptions"):null},set:function(a){this.h.featureViewExportOptions=a}},oa:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},Vb:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},O:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"policy")?
|
|
F(this,"policy"):null},set:function(a){this.h.policy=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return G(this,"selectors")?F(this,"selectors"):null},set:function(a){this.h.selectors=a}},workloadTag:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Hf=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(Hf,E);Hf.prototype.i=function(){return{H:{version:he},keys:"description expression maxWorkers priority requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "),s:{expression:af,tileExportOptions:If,tileOptions:Bf,videoOptions:Jf}}};
|
|
k.Object.defineProperties(Hf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},O:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},priority:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},dc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},ec:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?
|
|
F(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?F(this,"version"):null},set:function(a){this.h.version=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=
|
|
a}}});var Kf=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(Kf,E);
|
|
Kf.prototype.i=function(){return{keys:"description expression fileExportOptions maxWorkers priority requestId videoOptions workloadTag".split(" "),s:{expression:af,fileExportOptions:If,videoOptions:Jf}}};
|
|
k.Object.defineProperties(Kf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},oa:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},O:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):
|
|
null},set:function(a){this.h.videoOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});var Se=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(Se,E);
|
|
Se.prototype.i=function(){return{keys:["description","expression","location","title"]}};
|
|
k.Object.defineProperties(Se.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return G(this,"location")?F(this,"location"):null},set:function(a){this.h.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.h.title=a}}});var af=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(af,E);af.prototype.i=function(){return{keys:["result","values"],Ma:{values:{ka:Le,pa:!1,qa:!0,ra:!1}}}};
|
|
k.Object.defineProperties(af.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.h.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var Lf=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(Lf,E);Lf.prototype.i=function(){return{keys:["geometry","properties","type"]}};
|
|
k.Object.defineProperties(Lf.prototype,{geometry:{configurable:!0,enumerable:!0,get:function(){return G(this,"geometry")?F(this,"geometry"):null},set:function(a){this.h.geometry=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var Mf=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.Cg?null:a.Cg};q(Mf,E);Mf.prototype.i=function(){return{keys:["asset","mapName","name","visualizationExpression"],s:{visualizationExpression:af}}};
|
|
k.Object.defineProperties(Mf.prototype,{Nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"asset")?F(this,"asset"):null},set:function(a){this.h.asset=a}},mapName:{configurable:!0,enumerable:!0,get:function(){return G(this,"mapName")?F(this,"mapName"):null},set:function(a){this.h.mapName=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},Cg:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationExpression")?
|
|
F(this,"visualizationExpression"):null},set:function(a){this.h.visualizationExpression=a}}});var Ef=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewDestination=null==a.mf?null:a.mf;this.h.ingestionTimeParameters=null==a.rc?null:a.rc};q(Ef,E);Ef.prototype.i=function(){return{keys:["featureViewDestination","ingestionTimeParameters"],s:{featureViewDestination:Nf,ingestionTimeParameters:Of}}};
|
|
k.Object.defineProperties(Ef.prototype,{mf:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureViewDestination")?F(this,"featureViewDestination"):null},set:function(a){this.h.featureViewDestination=a}},rc:{configurable:!0,enumerable:!0,get:function(){return G(this,"ingestionTimeParameters")?F(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var Pf=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(Pf,E);Pf.prototype.i=function(){return{H:{type:ie},keys:["name","type"]}};k.Object.defineProperties(Pf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var Nf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.assetVersion=null==a.Hg?null:a.Hg;this.h.permissions=null==a.permissions?null:a.permissions};q(Nf,E);Nf.prototype.i=function(){return{H:{permissions:je},keys:["assetVersion","name","permissions"]}};
|
|
k.Object.defineProperties(Nf.prototype,{Hg:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetVersion")?F(this,"assetVersion"):null},set:function(a){this.h.assetVersion=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.h.permissions=a}}});
|
|
k.Object.defineProperties(Nf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return je}}});var Of=function(a){a=void 0===a?{}:a;this.h={};this.h.thinningOptions=null==a.rg?null:a.rg;this.h.rankingOptions=null==a.Yf?null:a.Yf;this.h.prerenderingOptions=null==a.ki?null:a.ki};q(Of,E);Of.prototype.i=function(){return{keys:["prerenderingOptions","rankingOptions","thinningOptions"],s:{prerenderingOptions:Qf,rankingOptions:Rf,thinningOptions:Sf}}};
|
|
k.Object.defineProperties(Of.prototype,{ki:{configurable:!0,enumerable:!0,get:function(){return G(this,"prerenderingOptions")?F(this,"prerenderingOptions"):null},set:function(a){this.h.prerenderingOptions=a}},Yf:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankingOptions")?F(this,"rankingOptions"):null},set:function(a){this.h.rankingOptions=a}},rg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningOptions")?F(this,"thinningOptions"):null},set:function(a){this.h.thinningOptions=
|
|
a}}});var of=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(of,E);of.prototype.i=function(){return{keys:["assetOptions","location"],s:{assetOptions:Tf}}};
|
|
k.Object.defineProperties(of.prototype,{assetOptions:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetOptions")?F(this,"assetOptions"):null},set:function(a){this.h.assetOptions=a}},location:{configurable:!0,enumerable:!0,get:function(){return G(this,"location")?F(this,"location"):null},set:function(a){this.h.location=a}}});var Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewAttributes=null==a.uh?null:a.uh;this.h.ingestionTimeParameters=null==a.rc?null:a.rc};q(Tf,E);
|
|
Tf.prototype.i=function(){return{P:{featureViewAttributes:Pf},keys:["featureViewAttributes","ingestionTimeParameters"],s:{ingestionTimeParameters:Of}}};
|
|
k.Object.defineProperties(Tf.prototype,{uh:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureViewAttributes")?F(this,"featureViewAttributes"):null},set:function(a){this.h.featureViewAttributes=a}},rc:{configurable:!0,enumerable:!0,get:function(){return G(this,"ingestionTimeParameters")?F(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var Uf=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(Uf,E);Uf.prototype.i=function(){return{H:{fileFormat:ke,orientation:le},keys:["expression","fileFormat","grid","name","orientation"],s:{expression:af,grid:zf}}};
|
|
k.Object.defineProperties(Uf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},grid:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return G(this,"orientation")?F(this,"orientation"):null},set:function(a){this.h.orientation=a}}});var pf=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.Pe?null:a.Pe;this.h.maxAssets=null==a.Nf?null:a.Nf};q(pf,E);
|
|
pf.prototype.i=function(){return{keys:["assetCount","maxAssets","maxSizeBytes","sizeBytes"]}};
|
|
k.Object.defineProperties(pf.prototype,{Pe:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetCount")?F(this,"assetCount"):null},set:function(a){this.h.assetCount=a}},Nf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxAssets")?F(this,"maxAssets"):null},set:function(a){this.h.maxAssets=a}},Wb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},sizeBytes:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});var Vf=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(Vf,E);Vf.prototype.i=function(){return{keys:["argumentNames","body"]}};
|
|
k.Object.defineProperties(Vf.prototype,{lc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentNames")?F(this,"argumentNames"):null},set:function(a){this.h.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return G(this,"body")?F(this,"body"):null},set:function(a){this.h.body=a}}});
|
|
var Wf=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(Wf,E);Wf.prototype.i=function(){return{keys:["arguments","functionName","functionReference"],Ma:{arguments:{ka:Le,pa:!1,qa:!0,ra:!1}}}};
|
|
k.Object.defineProperties(Wf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?F(this,"arguments"):null},set:function(a){this.h.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionName")?F(this,"functionName"):null},set:function(a){this.h.functionName=a}},Va:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionReference")?F(this,"functionReference"):null},set:function(a){this.h.functionReference=
|
|
a}}});var Xf=function(a){a=void 0===a?{}:a;this.h={};this.h.cloudOptimized=null==a.We?null:a.We;this.h.tileDimensions=null==a.cc?null:a.cc;this.h.skipEmptyFiles=null==a.mg?null:a.mg;this.h.tileSize=null==a.tileSize?null:a.tileSize;this.h.noData=null==a.Rf?null:a.Rf};q(Xf,E);Xf.prototype.i=function(){return{keys:["cloudOptimized","noData","skipEmptyFiles","tileDimensions","tileSize"],s:{noData:Yf,tileDimensions:Zf}}};
|
|
k.Object.defineProperties(Xf.prototype,{We:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudOptimized")?F(this,"cloudOptimized"):null},set:function(a){this.h.cloudOptimized=a}},Rf:{configurable:!0,enumerable:!0,get:function(){return G(this,"noData")?F(this,"noData"):null},set:function(a){this.h.noData=a}},mg:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyFiles")?F(this,"skipEmptyFiles"):null},set:function(a){this.h.skipEmptyFiles=a}},cc:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileSize")?F(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});var $f=function(a){a=void 0===a?{}:a;this.h={};this.h.options=null==a.options?null:a.options};q($f,E);$f.prototype.i=function(){return{keys:["options"],s:{options:ag}}};
|
|
k.Object.defineProperties($f.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return G(this,"options")?F(this,"options"):null},set:function(a){this.h.options=a}}});var ag=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.ui?null:a.ui};q(ag,E);ag.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};
|
|
k.Object.defineProperties(ag.prototype,{ui:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestedPolicyVersion")?F(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});var Zf=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(Zf,E);Zf.prototype.i=function(){return{keys:["height","width"]}};
|
|
k.Object.defineProperties(Zf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return G(this,"height")?F(this,"height"):null},set:function(a){this.h.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return G(this,"width")?F(this,"width"):null},set:function(a){this.h.width=a}}});var bg=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(bg,E);bg.prototype.i=function(){return{keys:["x","y"]}};
|
|
k.Object.defineProperties(bg.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return G(this,"x")?F(this,"x"):null},set:function(a){this.h.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return G(this,"y")?F(this,"y"):null},set:function(a){this.h.y=a}}});
|
|
var xf=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.Vf?null:a.Vf;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(xf,E);
|
|
xf.prototype.i=function(){return{H:{pyramidingPolicy:me,pyramidingPolicyOverrides:ne},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],Ma:{pyramidingPolicyOverrides:{ka:null,pa:!1,qa:!1,ra:!1}},s:{earthEngineDestination:We}}};
|
|
k.Object.defineProperties(xf.prototype,{Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Vf:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicyOverrides")?F(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.h.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileSize")?F(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});
|
|
var mf=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.kd?null:a.kd};q(mf,E);
|
|
mf.prototype.i=function(){return{P:{tilesets:cg},H:{pyramidingPolicy:oe},keys:"dataType grid id missingData pyramidingPolicy tilesetBandIndex tilesetId tilesets".split(" "),s:{dataType:dg,grid:zf,missingData:eg}}};
|
|
k.Object.defineProperties(mf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.h.dataType=a}},grid:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?
|
|
F(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},kd:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?F(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},
|
|
set:function(a){this.h.tilesetId=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}}});var yf=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.Jd?null:a.Jd;this.h.tfRecordOptions=null==a.me?null:a.me;this.h.fileFormat=null==a.F?null:a.F};q(yf,E);
|
|
yf.prototype.i=function(){return{H:{fileFormat:pe},keys:["cloudStorageDestination","driveDestination","fileFormat","geoTiffOptions","tfRecordOptions"],s:{cloudStorageDestination:Ye,driveDestination:kf,geoTiffOptions:Xf,tfRecordOptions:fg}}};
|
|
k.Object.defineProperties(yf.prototype,{ja:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},ma:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},Jd:{configurable:!0,enumerable:!0,get:function(){return G(this,"geoTiffOptions")?F(this,"geoTiffOptions"):null},set:function(a){this.h.geoTiffOptions=a}},me:{configurable:!0,enumerable:!0,get:function(){return G(this,"tfRecordOptions")?F(this,"tfRecordOptions"):null},set:function(a){this.h.tfRecordOptions=a}}});
|
|
var gg=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.nd?null:a.nd;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.bands=null==a.bands?null:a.bands;this.h.maskBands=null==a.Mf?null:a.Mf;this.h.footprint=null==a.Bh?null:a.Bh;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.Yh?null:a.Yh;this.h.skipMetadataRead=null==a.Ci?null:a.Ci};q(gg,E);gg.prototype.i=function(){return{P:{bands:hg,maskBands:ig,tilesets:nf},H:{pyramidingPolicy:qe},keys:"bands endTime footprint maskBands minTileAreaRatio missingData name properties pyramidingPolicy skipMetadataRead startTime tilesets uriPrefix".split(" "),Ma:{properties:{ka:null,pa:!1,qa:!1,ra:!1}},s:{footprint:jg,missingData:eg}}};
|
|
k.Object.defineProperties(gg.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.h.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.h.endTime=a}},Bh:{configurable:!0,enumerable:!0,get:function(){return G(this,"footprint")?F(this,"footprint"):null},set:function(a){this.h.footprint=a}},Mf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"maskBands")?F(this,"maskBands"):null},set:function(a){this.h.maskBands=a}},Yh:{configurable:!0,enumerable:!0,get:function(){return G(this,"minTileAreaRatio")?F(this,"minTileAreaRatio"):null},set:function(a){this.h.minTileAreaRatio=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.h.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=
|
|
a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Ci:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipMetadataRead")?F(this,"skipMetadataRead"):null},set:function(a){this.h.skipMetadataRead=a}},startTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},nd:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var kg=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(kg,E);kg.prototype.i=function(){return{keys:["affineTransform","dimensions","uris"],s:{affineTransform:He,dimensions:Zf}}};
|
|
k.Object.defineProperties(kg.prototype,{Lb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},dimensions:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},uris:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}}});
|
|
var lg=function(a){a=void 0===a?{}:a;this.h={};this.h.imageManifest=null==a.Bf?null:a.Bf;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(lg,E);lg.prototype.i=function(){return{H:{mode:re},keys:["description","imageManifest","mode","overwrite","requestId"],s:{imageManifest:gg}}};
|
|
k.Object.defineProperties(lg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},Bf:{configurable:!0,enumerable:!0,get:function(){return G(this,"imageManifest")?F(this,"imageManifest"):null},set:function(a){this.h.imageManifest=a}},mode:{configurable:!0,enumerable:!0,get:function(){return G(this,"mode")?F(this,"mode"):null},set:function(a){this.h.mode=a}},overwrite:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}}});var mg=function(a){a=void 0===a?{}:a;this.h={};this.h.tableManifest=null==a.qg?null:a.qg;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(mg,E);mg.prototype.i=function(){return{keys:["description","overwrite","requestId","tableManifest"],s:{tableManifest:ng}}};
|
|
k.Object.defineProperties(mg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},qg:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tableManifest")?F(this,"tableManifest"):null},set:function(a){this.h.tableManifest=a}}});var og=function(a){a=void 0===a?{}:a;this.h={};this.h.algorithms=null==a.Fc?null:a.Fc};q(og,E);og.prototype.i=function(){return{P:{algorithms:Ie},keys:["algorithms"]}};k.Object.defineProperties(og.prototype,{Fc:{configurable:!0,enumerable:!0,get:function(){return G(this,"algorithms")?F(this,"algorithms"):null},set:function(a){this.h.algorithms=a}}});
|
|
var pg=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(pg,E);pg.prototype.i=function(){return{P:{assets:lf},keys:["assets","nextPageToken"]}};
|
|
k.Object.defineProperties(pg.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return G(this,"assets")?F(this,"assets"):null},set:function(a){this.h.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});
|
|
var qg=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(qg,E);qg.prototype.i=function(){return{P:{features:Lf},keys:["features","nextPageToken","type"]}};
|
|
k.Object.defineProperties(qg.prototype,{features:{configurable:!0,enumerable:!0,get:function(){return G(this,"features")?F(this,"features"):null},set:function(a){this.h.features=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var rg=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(rg,E);rg.prototype.i=function(){return{P:{operations:sg},keys:["nextPageToken","operations"]}};
|
|
k.Object.defineProperties(rg.prototype,{nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},Na:{configurable:!0,enumerable:!0,get:function(){return G(this,"operations")?F(this,"operations"):null},set:function(a){this.h.operations=a}}});
|
|
var tg=function(a){a=void 0===a?{}:a;this.h={};this.h.counter=null==a.counter?null:a.counter;this.h.dataAccess=null==a.mh?null:a.mh;this.h.cloudAudit=null==a.Xg?null:a.Xg};q(tg,E);tg.prototype.i=function(){return{keys:["cloudAudit","counter","dataAccess"],s:{cloudAudit:Xe,counter:ef,dataAccess:gf}}};
|
|
k.Object.defineProperties(tg.prototype,{Xg:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudAudit")?F(this,"cloudAudit"):null},set:function(a){this.h.cloudAudit=a}},counter:{configurable:!0,enumerable:!0,get:function(){return G(this,"counter")?F(this,"counter"):null},set:function(a){this.h.counter=a}},mh:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataAccess")?F(this,"dataAccess"):null},set:function(a){this.h.dataAccess=a}}});
|
|
var eg=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(eg,E);eg.prototype.i=function(){return{keys:["values"]}};k.Object.defineProperties(eg.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var ug=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Qb?null:a.Qb};q(ug,E);ug.prototype.i=function(){return{keys:["destinationName"]}};
|
|
k.Object.defineProperties(ug.prototype,{Qb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.h.destinationName=a}}});var Yf=function(a){a=void 0===a?{}:a;this.h={};this.h.floatValue=null==a.rf?null:a.rf;this.h.integerValue=null==a.Wa?null:a.Wa};q(Yf,E);Yf.prototype.i=function(){return{keys:["floatValue","integerValue"]}};
|
|
k.Object.defineProperties(Yf.prototype,{rf:{configurable:!0,enumerable:!0,get:function(){return G(this,"floatValue")?F(this,"floatValue"):null},set:function(a){this.h.floatValue=a}},Wa:{configurable:!0,enumerable:!0,get:function(){return G(this,"integerValue")?F(this,"integerValue"):null},set:function(a){this.h.integerValue=a}}});
|
|
var sg=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(sg,E);sg.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}},s:{error:vg}}};
|
|
k.Object.defineProperties(sg.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return G(this,"done")?F(this,"done"):null},set:function(a){this.h.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return G(this,"error")?F(this,"error"):null},set:function(a){this.h.error=a}},metadata:{configurable:!0,enumerable:!0,get:function(){return G(this,"metadata")?F(this,"metadata"):null},set:function(a){this.h.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return G(this,"response")?F(this,"response"):null},set:function(a){this.h.response=a}}});
|
|
var wg=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.df?null:a.df;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.Ei?null:
|
|
a.Ei;this.h.attempt=null==a.attempt?null:a.attempt;this.h.scriptUri=null==a.fg?null:a.fg;this.h.destinationUris=null==a.gf?null:a.gf;this.h.notifications=null==a.ci?null:a.ci;this.h.batchEecuUsageSeconds=null==a.vd?null:a.vd};q(wg,E);wg.prototype.i=function(){return{P:{notifications:xg,stages:yg},H:{state:se},keys:"attempt batchEecuUsageSeconds createTime description destinationUris endTime notifications priority progress scriptUri stages startTime state type updateTime".split(" ")}};
|
|
k.Object.defineProperties(wg.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return G(this,"attempt")?F(this,"attempt"):null},set:function(a){this.h.attempt=a}},vd:{configurable:!0,enumerable:!0,get:function(){return G(this,"batchEecuUsageSeconds")?F(this,"batchEecuUsageSeconds"):null},set:function(a){this.h.batchEecuUsageSeconds=a}},df:{configurable:!0,enumerable:!0,get:function(){return G(this,"createTime")?F(this,"createTime"):null},set:function(a){this.h.createTime=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},gf:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationUris")?F(this,"destinationUris"):null},set:function(a){this.h.destinationUris=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.h.endTime=a}},ci:{configurable:!0,enumerable:!0,get:function(){return G(this,"notifications")?F(this,
|
|
"notifications"):null},set:function(a){this.h.notifications=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.h.priority=a}},progress:{configurable:!0,enumerable:!0,get:function(){return G(this,"progress")?F(this,"progress"):null},set:function(a){this.h.progress=a}},fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"scriptUri")?F(this,"scriptUri"):null},set:function(a){this.h.scriptUri=a}},Ei:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"stages")?F(this,"stages"):null},set:function(a){this.h.stages=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return G(this,"state")?F(this,"state"):null},set:function(a){this.h.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=
|
|
a}},updateTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var xg=function(a){a=void 0===a?{}:a;this.h={};this.h.severity=null==a.severity?null:a.severity;this.h.topic=null==a.Pi?null:a.Pi;this.h.detail=null==a.detail?null:a.detail};q(xg,E);xg.prototype.i=function(){return{H:{severity:te},keys:["detail","severity","topic"]}};
|
|
k.Object.defineProperties(xg.prototype,{detail:{configurable:!0,enumerable:!0,get:function(){return G(this,"detail")?F(this,"detail"):null},set:function(a){this.h.detail=a}},severity:{configurable:!0,enumerable:!0,get:function(){return G(this,"severity")?F(this,"severity"):null},set:function(a){this.h.severity=a}},Pi:{configurable:!0,enumerable:!0,get:function(){return G(this,"topic")?F(this,"topic"):null},set:function(a){this.h.topic=a}}});
|
|
var yg=function(a){a=void 0===a?{}:a;this.h={};this.h.displayName=null==a.displayName?null:a.displayName;this.h.completeWorkUnits=null==a.Zg?null:a.Zg;this.h.totalWorkUnits=null==a.Qi?null:a.Qi;this.h.description=null==a.description?null:a.description};q(yg,E);yg.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
|
|
k.Object.defineProperties(yg.prototype,{Zg:{configurable:!0,enumerable:!0,get:function(){return G(this,"completeWorkUnits")?F(this,"completeWorkUnits"):null},set:function(a){this.h.completeWorkUnits=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},displayName:{configurable:!0,enumerable:!0,get:function(){return G(this,"displayName")?F(this,"displayName"):null},set:function(a){this.h.displayName=
|
|
a}},Qi:{configurable:!0,enumerable:!0,get:function(){return G(this,"totalWorkUnits")?F(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var dg=function(a){a=void 0===a?{}:a;this.h={};this.h.precision=null==a.precision?null:a.precision;this.h.range=null==a.dd?null:a.dd;this.h.dimensionsCount=null==a.qh?null:a.qh};q(dg,E);dg.prototype.i=function(){return{H:{precision:ue},keys:["dimensionsCount","precision","range"],s:{range:jf}}};
|
|
k.Object.defineProperties(dg.prototype,{qh:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensionsCount")?F(this,"dimensionsCount"):null},set:function(a){this.h.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return G(this,"precision")?F(this,"precision"):null},set:function(a){this.h.precision=a}},dd:{configurable:!0,enumerable:!0,get:function(){return G(this,"range")?F(this,"range"):null},set:function(a){this.h.range=a}}});
|
|
var jg=function(a){a=void 0===a?{}:a;this.h={};this.h.points=null==a.points?null:a.points;this.h.bandId=null==a.Og?null:a.Og};q(jg,E);jg.prototype.i=function(){return{P:{points:bg},keys:["bandId","points"]}};
|
|
k.Object.defineProperties(jg.prototype,{Og:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandId")?F(this,"bandId"):null},set:function(a){this.h.bandId=a}},points:{configurable:!0,enumerable:!0,get:function(){return G(this,"points")?F(this,"points"):null},set:function(a){this.h.points=a}}});
|
|
var zf=function(a){a=void 0===a?{}:a;this.h={};this.h.crsCode=null==a.ef?null:a.ef;this.h.crsWkt=null==a.gh?null:a.gh;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.affineTransform=null==a.Lb?null:a.Lb};q(zf,E);zf.prototype.i=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],s:{affineTransform:He,dimensions:Zf}}};
|
|
k.Object.defineProperties(zf.prototype,{Lb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},ef:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsCode")?F(this,"crsCode"):null},set:function(a){this.h.crsCode=a}},gh:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsWkt")?F(this,"crsWkt"):null},set:function(a){this.h.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}}});var Gf=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.xd?null:a.xd;this.h.auditConfigs=null==a.Lg?null:a.Lg;this.h.rules=null==a.rules?null:a.rules;this.h.etag=null==a.kf?null:a.kf};q(Gf,E);Gf.prototype.i=function(){return{P:{auditConfigs:Me,bindings:Re,rules:zg},keys:["auditConfigs","bindings","etag","rules","version"]}};
|
|
k.Object.defineProperties(Gf.prototype,{Lg:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditConfigs")?F(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},xd:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindings")?F(this,"bindings"):null},set:function(a){this.h.bindings=a}},kf:{configurable:!0,enumerable:!0,get:function(){return G(this,"etag")?F(this,"etag"):null},set:function(a){this.h.etag=a}},rules:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"rules")?F(this,"rules"):null},set:function(a){this.h.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?F(this,"version"):null},set:function(a){this.h.version=a}}});var Qf=function(a){a=void 0===a?{}:a;this.h={};this.h.prerenderTiles=null==a.ji?null:a.ji;this.h.tileLimiting=null==a.Li?null:a.Li};q(Qf,E);Qf.prototype.i=function(){return{keys:["prerenderTiles","tileLimiting"],s:{tileLimiting:Ag}}};
|
|
k.Object.defineProperties(Qf.prototype,{ji:{configurable:!0,enumerable:!0,get:function(){return G(this,"prerenderTiles")?F(this,"prerenderTiles"):null},set:function(a){this.h.prerenderTiles=a}},Li:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileLimiting")?F(this,"tileLimiting"):null},set:function(a){this.h.tileLimiting=a}}});var Bg=function(a){a=void 0===a?{}:a;this.h={};this.h.attributeName=null==a.attributeName?null:a.attributeName};q(Bg,E);Bg.prototype.i=function(){return{keys:["attributeName"]}};
|
|
k.Object.defineProperties(Bg.prototype,{attributeName:{configurable:!0,enumerable:!0,get:function(){return G(this,"attributeName")?F(this,"attributeName"):null},set:function(a){this.h.attributeName=a}}});var Cg=function(){this.h={}};q(Cg,E);Cg.prototype.i=function(){return{keys:[]}};var Dg=function(){this.h={}};q(Dg,E);Dg.prototype.i=function(){return{keys:[]}};var Eg=function(){this.h={}};q(Eg,E);Eg.prototype.i=function(){return{keys:[]}};
|
|
var Fg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByAttributeRule=null==a.ae?null:a.ae;this.h.rankByMinVisibleLodRule=null==a.pi?null:a.pi;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(Fg,E);
|
|
Fg.prototype.i=function(){return{H:{direction:ve},keys:["direction","rankByAttributeRule","rankByGeometryTypeRule","rankByMinVisibleLodRule","rankByMinZoomLevelRule"],s:{rankByAttributeRule:Bg,rankByGeometryTypeRule:Cg,rankByMinVisibleLodRule:Dg,rankByMinZoomLevelRule:Eg}}};
|
|
k.Object.defineProperties(Fg.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return G(this,"direction")?F(this,"direction"):null},set:function(a){this.h.direction=a}},ae:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByAttributeRule")?F(this,"rankByAttributeRule"):null},set:function(a){this.h.rankByAttributeRule=a}},be:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByGeometryTypeRule")?F(this,"rankByGeometryTypeRule"):null},set:function(a){this.h.rankByGeometryTypeRule=
|
|
a}},pi:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByMinVisibleLodRule")?F(this,"rankByMinVisibleLodRule"):null},set:function(a){this.h.rankByMinVisibleLodRule=a}},ce:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByMinZoomLevelRule")?F(this,"rankByMinZoomLevelRule"):null},set:function(a){this.h.rankByMinZoomLevelRule=a}}});
|
|
var Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.zOrderRankingRule=null==a.Eg?null:a.Eg;this.h.thinningRankingRule=null==a.sg?null:a.sg};q(Rf,E);Rf.prototype.i=function(){return{keys:["thinningRankingRule","zOrderRankingRule"],s:{thinningRankingRule:Gg,zOrderRankingRule:Gg}}};
|
|
k.Object.defineProperties(Rf.prototype,{sg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningRankingRule")?F(this,"thinningRankingRule"):null},set:function(a){this.h.thinningRankingRule=a}},Eg:{configurable:!0,enumerable:!0,get:function(){return G(this,"zOrderRankingRule")?F(this,"zOrderRankingRule"):null},set:function(a){this.h.zOrderRankingRule=a}}});
|
|
var Gg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByOneThingRule=null==a.Xf?null:a.Xf;this.h.pseudoRandomTiebreaking=null==a.oi?null:a.oi};q(Gg,E);Gg.prototype.i=function(){return{P:{rankByOneThingRule:Fg},keys:["pseudoRandomTiebreaking","rankByOneThingRule"]}};
|
|
k.Object.defineProperties(Gg.prototype,{oi:{configurable:!0,enumerable:!0,get:function(){return G(this,"pseudoRandomTiebreaking")?F(this,"pseudoRandomTiebreaking"):null},set:function(a){this.h.pseudoRandomTiebreaking=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByOneThingRule")?F(this,"rankByOneThingRule"):null},set:function(a){this.h.rankByOneThingRule=a}}});
|
|
var zg=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.Jh?null:a.Jh;this.h.notIn=null==a.bi?null:a.bi;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.Ph?null:a.Ph};q(zg,E);zg.prototype.i=function(){return{P:{conditions:cf,logConfig:tg},H:{action:we},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
k.Object.defineProperties(zg.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return G(this,"action")?F(this,"action"):null},set:function(a){this.h.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return G(this,"conditions")?F(this,"conditions"):null},set:function(a){this.h.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},Jh:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"in")?F(this,"in"):null},set:function(a){this.h["in"]=a}},Ph:{configurable:!0,enumerable:!0,get:function(){return G(this,"logConfig")?F(this,"logConfig"):null},set:function(a){this.h.logConfig=a}},bi:{configurable:!0,enumerable:!0,get:function(){return G(this,"notIn")?F(this,"notIn"):null},set:function(a){this.h.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.h.permissions=
|
|
a}}});var Hg=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(Hg,E);Hg.prototype.i=function(){return{keys:["policy","updateMask"],s:{policy:Gf}}};
|
|
k.Object.defineProperties(Hg.prototype,{kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"policy")?F(this,"policy"):null},set:function(a){this.h.policy=a}},updateMask:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});var vg=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(vg,E);vg.prototype.i=function(){return{keys:["code","details","message"],Ma:{details:{ka:null,pa:!0,qa:!1,ra:!1}}}};
|
|
k.Object.defineProperties(vg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return G(this,"code")?F(this,"code"):null},set:function(a){this.h.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return G(this,"details")?F(this,"details"):null},set:function(a){this.h.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return G(this,"message")?F(this,"message"):null},set:function(a){this.h.message=a}}});
|
|
var Ig=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(Ig,E);Ig.prototype.i=function(){return{H:{fileFormat:ye},keys:["expression","fileFormat","filename","name","selectors"],s:{expression:af}}};
|
|
k.Object.defineProperties(Ig.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return G(this,"filename")?F(this,"filename"):null},set:function(a){this.h.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return G(this,"selectors")?F(this,"selectors"):null},set:function(a){this.h.selectors=a}}});var Df=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ha?null:a.Ha};q(Df,E);Df.prototype.i=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:We}}};
|
|
k.Object.defineProperties(Df.prototype,{Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Ff=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(Ff,E);
|
|
Ff.prototype.i=function(){return{H:{fileFormat:xe},keys:["cloudStorageDestination","driveDestination","fileFormat"],s:{cloudStorageDestination:Ye,driveDestination:kf}}};
|
|
k.Object.defineProperties(Ff.prototype,{ja:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},ma:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}}});var qf=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.Bi?null:a.Bi;this.h.primaryGeometryColumn=null==a.bd?null:a.bd};q(qf,E);qf.prototype.i=function(){return{keys:["paths","primaryGeometryColumn","shardCount","sizeBytes"]}};
|
|
k.Object.defineProperties(qf.prototype,{paths:{configurable:!0,enumerable:!0,get:function(){return G(this,"paths")?F(this,"paths"):null},set:function(a){this.h.paths=a}},bd:{configurable:!0,enumerable:!0,get:function(){return G(this,"primaryGeometryColumn")?F(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},Bi:{configurable:!0,enumerable:!0,get:function(){return G(this,"shardCount")?F(this,"shardCount"):null},set:function(a){this.h.shardCount=a}},sizeBytes:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});
|
|
var ng=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.nd?null:a.nd;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.hh?null:a.hh;this.h.policy=null==a.kb?null:a.kb;this.h.columnDataTypeOverrides=null==a.Yg?null:a.Yg};q(ng,E);
|
|
ng.prototype.i=function(){return{P:{sources:Jg},H:{columnDataTypeOverrides:ze,csvColumnDataTypeOverrides:Ae},keys:"columnDataTypeOverrides csvColumnDataTypeOverrides endTime 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}},s:{policy:Gf}}};
|
|
k.Object.defineProperties(ng.prototype,{Yg:{configurable:!0,enumerable:!0,get:function(){return G(this,"columnDataTypeOverrides")?F(this,"columnDataTypeOverrides"):null},set:function(a){this.h.columnDataTypeOverrides=a}},hh:{configurable:!0,enumerable:!0,get:function(){return G(this,"csvColumnDataTypeOverrides")?F(this,"csvColumnDataTypeOverrides"):null},set:function(a){this.h.csvColumnDataTypeOverrides=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):
|
|
null},set:function(a){this.h.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"policy")?F(this,"policy"):null},set:function(a){this.h.policy=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sources")?F(this,"sources"):null},set:function(a){this.h.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},nd:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var Jg=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.bd?null:a.bd;this.h.xColumn=null==a.Ti?null:a.Ti;this.h.yColumn=null==a.Ui?null:a.Ui;this.h.dateFormat=null==a.nh?null:a.nh;this.h.csvDelimiter=null==
|
|
a.ih?null:a.ih;this.h.csvQualifier=null==a.jh?null:a.jh};q(Jg,E);Jg.prototype.i=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
k.Object.defineProperties(Jg.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return G(this,"charset")?F(this,"charset"):null},set:function(a){this.h.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?F(this,"crs"):null},set:function(a){this.h.crs=a}},ih:{configurable:!0,enumerable:!0,get:function(){return G(this,"csvDelimiter")?F(this,"csvDelimiter"):null},set:function(a){this.h.csvDelimiter=a}},jh:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"csvQualifier")?F(this,"csvQualifier"):null},set:function(a){this.h.csvQualifier=a}},nh:{configurable:!0,enumerable:!0,get:function(){return G(this,"dateFormat")?F(this,"dateFormat"):null},set:function(a){this.h.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return G(this,"geodesic")?F(this,"geodesic"):null},set:function(a){this.h.geodesic=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},bd:{configurable:!0,enumerable:!0,get:function(){return G(this,"primaryGeometryColumn")?F(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},uris:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}},Ti:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"xColumn")?F(this,"xColumn"):null},set:function(a){this.h.xColumn=a}},Ui:{configurable:!0,enumerable:!0,get:function(){return G(this,"yColumn")?F(this,"yColumn"):null},set:function(a){this.h.yColumn=a}}});
|
|
var fg=function(a){a=void 0===a?{}:a;this.h={};this.h.tileDimensions=null==a.cc?null:a.cc;this.h.marginDimensions=null==a.Lf?null:a.Lf;this.h.compress=null==a.Ze?null:a.Ze;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.gg?null:a.gg;this.h.collapseBands=null==a.Xe?null:a.Xe;this.h.maxMaskedRatio=null==a.Pf?null:a.Pf};q(fg,E);
|
|
fg.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}},s:{marginDimensions:Zf,tileDimensions:Zf}}};
|
|
k.Object.defineProperties(fg.prototype,{Xe:{configurable:!0,enumerable:!0,get:function(){return G(this,"collapseBands")?F(this,"collapseBands"):null},set:function(a){this.h.collapseBands=a}},Ze:{configurable:!0,enumerable:!0,get:function(){return G(this,"compress")?F(this,"compress"):null},set:function(a){this.h.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},Lf:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"marginDimensions")?F(this,"marginDimensions"):null},set:function(a){this.h.marginDimensions=a}},Pf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxMaskedRatio")?F(this,"maxMaskedRatio"):null},set:function(a){this.h.maxMaskedRatio=a}},Wb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},gg:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sequenceData")?F(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},le:{configurable:!0,enumerable:!0,get:function(){return G(this,"tensorDepths")?F(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},cc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
|
|
var Sf=function(a){a=void 0===a?{}:a;this.h={};this.h.maxFeaturesPerTile=null==a.Of?null:a.Of;this.h.thinningStrategy=null==a.tg?null:a.tg};q(Sf,E);Sf.prototype.i=function(){return{H:{thinningStrategy:Be},keys:["maxFeaturesPerTile","thinningStrategy"]}};
|
|
k.Object.defineProperties(Sf.prototype,{Of:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxFeaturesPerTile")?F(this,"maxFeaturesPerTile"):null},set:function(a){this.h.maxFeaturesPerTile=a}},tg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningStrategy")?F(this,"thinningStrategy"):null},set:function(a){this.h.thinningStrategy=a}}});
|
|
var Kg=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(Kg,E);
|
|
Kg.prototype.i=function(){return{H:{fileFormat:Ce},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),s:{expression:af,grid:zf,visualizationOptions:tf}}};
|
|
k.Object.defineProperties(Kg.prototype,{da:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},xa:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},grid:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},ic:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=
|
|
a}}});var Ag=function(a){a=void 0===a?{}:a;this.h={};this.h.maxPrerenderZoom=null==a.Uh?null:a.Uh;this.h.minVerticesPerTile=null==a.Zh?null:a.Zh;this.h.neighborDepth=null==a.ai?null:a.ai;this.h.minFeaturesPerTile=null==a.Xh?null:a.Xh};q(Ag,E);Ag.prototype.i=function(){return{keys:["maxPrerenderZoom","minFeaturesPerTile","minVerticesPerTile","neighborDepth"]}};
|
|
k.Object.defineProperties(Ag.prototype,{Uh:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPrerenderZoom")?F(this,"maxPrerenderZoom"):null},set:function(a){this.h.maxPrerenderZoom=a}},Xh:{configurable:!0,enumerable:!0,get:function(){return G(this,"minFeaturesPerTile")?F(this,"minFeaturesPerTile"):null},set:function(a){this.h.minFeaturesPerTile=a}},Zh:{configurable:!0,enumerable:!0,get:function(){return G(this,"minVerticesPerTile")?F(this,"minVerticesPerTile"):null},set:function(a){this.h.minVerticesPerTile=
|
|
a}},ai:{configurable:!0,enumerable:!0,get:function(){return G(this,"neighborDepth")?F(this,"neighborDepth"):null},set:function(a){this.h.neighborDepth=a}}});
|
|
var Bf=function(a){a=void 0===a?{}:a;this.h={};this.h.endZoom=null==a.hf?null:a.hf;this.h.scale=null==a.scale?null:a.scale;this.h.startZoom=null==a.og?null:a.og;this.h.skipEmpty=null==a.lg?null:a.lg;this.h.mapsApiKey=null==a.Kf?null:a.Kf;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.stride=null==a.stride?null:a.stride;this.h.zoomSubset=null==a.Fg?null:a.Fg};q(Bf,E);
|
|
Bf.prototype.i=function(){return{keys:"dimensions endZoom mapsApiKey scale skipEmpty startZoom stride zoomSubset".split(" "),s:{dimensions:Zf,zoomSubset:Lg}}};
|
|
k.Object.defineProperties(Bf.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},hf:{configurable:!0,enumerable:!0,get:function(){return G(this,"endZoom")?F(this,"endZoom"):null},set:function(a){this.h.endZoom=a}},Kf:{configurable:!0,enumerable:!0,get:function(){return G(this,"mapsApiKey")?F(this,"mapsApiKey"):null},set:function(a){this.h.mapsApiKey=a}},scale:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"scale")?F(this,"scale"):null},set:function(a){this.h.scale=a}},lg:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmpty")?F(this,"skipEmpty"):null},set:function(a){this.h.skipEmpty=a}},og:{configurable:!0,enumerable:!0,get:function(){return G(this,"startZoom")?F(this,"startZoom"):null},set:function(a){this.h.startZoom=a}},stride:{configurable:!0,enumerable:!0,get:function(){return G(this,"stride")?F(this,"stride"):null},set:function(a){this.h.stride=
|
|
a}},Fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"zoomSubset")?F(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});var nf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.sources=null==a.sources?null:a.sources;this.h.dataType=null==a.dataType?null:a.dataType;this.h.crs=null==a.crs?null:a.crs;this.h.subdatasetPrefix=null==a.Gi?null:a.Gi;this.h.subdatasetSuffix=null==a.Hi?null:a.Hi};q(nf,E);
|
|
nf.prototype.i=function(){return{P:{sources:kg},H:{dataType:Ee},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
k.Object.defineProperties(nf.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?F(this,"crs"):null},set:function(a){this.h.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.h.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?
|
|
F(this,"sources"):null},set:function(a){this.h.sources=a}},Gi:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetPrefix")?F(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},Hi:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetSuffix")?F(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
|
|
var hg=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.kd?null:a.kd;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(hg,E);hg.prototype.i=function(){return{H:{pyramidingPolicy:De},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],s:{missingData:eg}}};
|
|
k.Object.defineProperties(hg.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},kd:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?F(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var ig=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(ig,E);ig.prototype.i=function(){return{keys:["bandIds","tilesetId"]}};
|
|
k.Object.defineProperties(ig.prototype,{da:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var rf=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(rf,E);
|
|
rf.prototype.i=function(){return{P:{sources:Mg},keys:["pathPrefix","sources"]}};k.Object.defineProperties(rf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathPrefix")?F(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?F(this,"sources"):null},set:function(a){this.h.sources=a}}});
|
|
var Mg=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(Mg,E);Mg.prototype.i=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
|
|
k.Object.defineProperties(Mg.prototype,{headerSizeBytes:{configurable:!0,enumerable:!0,get:function(){return G(this,"headerSizeBytes")?F(this,"headerSizeBytes"):null},set:function(a){this.h.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathSuffix")?F(this,"pathSuffix"):null},set:function(a){this.h.pathSuffix=a}}});
|
|
var cg=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.wh?null:a.wh;this.h.firstTileIndex=null==a.yh?null:a.yh;this.h.tilesPerFile=null==a.Ni?null:a.Ni};q(cg,E);cg.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
k.Object.defineProperties(cg.prototype,{wh:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileIndexes")?F(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},yh:{configurable:!0,enumerable:!0,get:function(){return G(this,"firstTileIndex")?F(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},Ni:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesPerFile")?F(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
|
|
var Ng=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(Ng,E);Ng.prototype.i=function(){return{keys:["asset","updateMask"],s:{asset:lf}}};
|
|
k.Object.defineProperties(Ng.prototype,{Nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"asset")?F(this,"asset"):null},set:function(a){this.h.asset=a}},updateMask:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});
|
|
var Le=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(Le,E);
|
|
Le.prototype.i=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),s:{arrayValue:Ke,dictionaryValue:hf,functionDefinitionValue:Vf,functionInvocationValue:Wf}}};
|
|
k.Object.defineProperties(Le.prototype,{Mb:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentReference")?F(this,"argumentReference"):null},set:function(a){this.h.argumentReference=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"arrayValue")?F(this,"arrayValue"):null},set:function(a){this.h.arrayValue=a}},qb:{configurable:!0,enumerable:!0,get:function(){return G(this,"bytesValue")?F(this,"bytesValue"):null},set:function(a){this.h.bytesValue=a}},hb:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"constantValue")?F(this,"constantValue"):null},set:function(a){this.h.constantValue=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"dictionaryValue")?F(this,"dictionaryValue"):null},set:function(a){this.h.dictionaryValue=a}},Ua:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionDefinitionValue")?F(this,"functionDefinitionValue"):null},set:function(a){this.h.functionDefinitionValue=a}},ya:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"functionInvocationValue")?F(this,"functionInvocationValue"):null},set:function(a){this.h.functionInvocationValue=a}},Wa:{configurable:!0,enumerable:!0,get:function(){return G(this,"integerValue")?F(this,"integerValue"):null},set:function(a){this.h.integerValue=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return G(this,"valueReference")?F(this,"valueReference"):null},set:function(a){this.h.valueReference=a}}});
|
|
var If=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(If,E);If.prototype.i=function(){return{H:{fileFormat:Fe},keys:["cloudStorageDestination","driveDestination","fileFormat"],s:{cloudStorageDestination:Ye,driveDestination:kf}}};
|
|
k.Object.defineProperties(If.prototype,{ja:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},ma:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}}});var Jf=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(Jf,E);Jf.prototype.i=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
k.Object.defineProperties(Jf.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return G(this,"framesPerSecond")?F(this,"framesPerSecond"):null},set:function(a){this.h.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxFrames")?F(this,"maxFrames"):null},set:function(a){this.h.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixelsPerFrame")?F(this,"maxPixelsPerFrame"):null},set:function(a){this.h.maxPixelsPerFrame=
|
|
a}}});var Og=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(Og,E);Og.prototype.i=function(){return{H:{fileFormat:Ge},keys:["expression","fileFormat","grid","name","videoOptions"],s:{expression:af,grid:zf,videoOptions:Jf}}};
|
|
k.Object.defineProperties(Og.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},grid:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var tf=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Wf?null:a.Wf;this.h.paletteColors=null==a.Yc?null:a.Yc;this.h.gamma=null==a.gamma?null:a.gamma;this.h.opacity=null==a.opacity?null:a.opacity};q(tf,E);
|
|
tf.prototype.i=function(){return{P:{ranges:jf},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
k.Object.defineProperties(tf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return G(this,"gamma")?F(this,"gamma"):null},set:function(a){this.h.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return G(this,"opacity")?F(this,"opacity"):null},set:function(a){this.h.opacity=a}},Yc:{configurable:!0,enumerable:!0,get:function(){return G(this,"paletteColors")?F(this,"paletteColors"):null},set:function(a){this.h.paletteColors=a}},Wf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"ranges")?F(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var Lg=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(Lg,E);Lg.prototype.i=function(){return{keys:["end","start"]}};
|
|
k.Object.defineProperties(Lg.prototype,{end:{configurable:!0,enumerable:!0,get:function(){return G(this,"end")?F(this,"end"):null},set:function(a){this.h.end=a}},start:{configurable:!0,enumerable:!0,get:function(){return G(this,"start")?F(this,"start"):null},set:function(a){this.h.start=a}}});
|
|
var Qd={$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"},Pg=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
Pg.prototype.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",u:H(b,c),G:og})};var Qg=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
Qg.prototype.getCapabilities=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",u:H(b,c),G:Ue})};Qg.prototype.Ud=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:H(b,c),G:pg})};
|
|
var Rg=function(a){this.m="v1";this.j=new Td(a,null)};h=Rg.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 I(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",u:H(c,d),G:lf})};
|
|
h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:null,B:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,u:H(b,c),G:uf})};h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,u:H(b,c),G:lf})};
|
|
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 I(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.link",path:"/"+this.m+"/"+a+":link",u:H(c,d),G:lf})};h.Ud=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:H(b,c),G:pg})};
|
|
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 I(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.move",path:"/"+this.m+"/"+a+":move",u:H(c,d),G:lf})};var Sg=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
Sg.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.classifier.export",path:"/"+this.m+"/"+a+"/classifier:export",u:H(c,d),G:sg})};var Tg=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
Tg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.featureView.create",path:"/"+this.m+"/"+a+"/featureView",u:H(c,d),G:Mf})};var Ug=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
Ug.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.m+"/"+a+"/filmstripThumbnails",u:H(c,d),G:Uf})};var Vg=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
Vg.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.image.export",path:"/"+this.m+"/"+a+"/image:export",u:H(c,d),G:sg})};Vg.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.image.import",path:"/"+this.m+"/"+a+"/image:import",u:H(c,d),G:sg})};
|
|
var Wg=function(a){this.m="v1";this.j=new Td(a,null)};Wg.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.map.export",path:"/"+this.m+"/"+a+"/map:export",u:H(c,d),G:sg})};var Xg=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
Xg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.maps.create",path:"/"+this.m+"/"+a+"/maps",u:H(c,d),G:sf})};var Yg=function(a){this.m="v1";this.j=new Td(a,null)};h=Yg.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 I(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.cancel",path:"/"+this.m+"/"+a+":cancel",u:H(c,d),G:uf})};h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return I(this.j,{body:null,B:"DELETE",D:"earthengine.projects.operations.delete",path:"/"+this.m+"/"+a,u:H(b,c),G:uf})};
|
|
h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.get",path:"/"+this.m+"/"+a,u:H(b,c),G:sg})};h.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.list",path:"/"+this.m+"/"+a+"/operations",u:H(b,c),G:rg})};
|
|
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 I(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.wait",path:"/"+this.m+"/"+a+":wait",u:H(c,d),G:sg})};var Zg=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
Zg.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.table.export",path:"/"+this.m+"/"+a+"/table:export",u:H(c,d),G:sg})};Zg.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.table.import",path:"/"+this.m+"/"+a+"/table:import",u:H(c,d),G:sg})};
|
|
var $g=function(a){this.m="v1";this.j=new Td(a,null)};$g.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.tables.create",path:"/"+this.m+"/"+a+"/tables",u:H(c,d),G:Ig})};var ah=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
ah.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.thumbnails.create",path:"/"+this.m+"/"+a+"/thumbnails",u:H(c,d),G:Kg})};
|
|
var bh=function(a){this.m="v1";this.j=new Td(a,null)},ch=function(a,b,c){var d=void 0===d?{}:d;var e=void 0===e?{}:e;a.j.C(b,RegExp("^projects/[^/]+$"));return I(a.j,{body:c,B:"POST",D:"earthengine.projects.value.compute",path:"/"+a.m+"/"+b+"/value:compute",u:H(d,e),G:bf})},dh=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
dh.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.video.export",path:"/"+this.m+"/"+a+"/video:export",u:H(c,d),G:sg})};var eh=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
eh.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",u:H(c,d),G:sg})};var fh=function(a){this.m="v1";this.j=new Td(a,null)};
|
|
fh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",u:H(c,d),G:Og})};var gh=function(){};gh.prototype.send=function(a,b){Pd(a);return(void 0).then(function(c){return b?Wc(b,c):c})};var hh=function(a,b){this.el=100;this.Tk=a;this.tl=b;this.Yd=0;this.Pd=null};hh.prototype.get=function(){if(0<this.Yd){this.Yd--;var a=this.Pd;this.Pd=a.next;a.next=null}else a=this.Tk();return a};hh.prototype.put=function(a){this.tl(a);this.Yd<this.el&&(this.Yd++,a.next=this.Pd,this.Pd=a)};var jh=function(a,b){Fb(b,function(c,d){"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:ih.hasOwnProperty(d)?a.setAttribute(ih[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},ih={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"},lh=function(a,
|
|
b,c){return kh(document,arguments)},kh=function(a,b){var c=b[1],d=mh(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):jh(d,c));2<b.length&&nh(a,d,b,2);return d},nh=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(!xa(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}Ua(f?cb(g):g,e)}}},mh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},oh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},ph=function(a){B(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},qh=function(a){this.Dd=a||r.document||document};h=qh.prototype;h.getElementsByTagName=function(a,b){return(b||this.Dd).getElementsByTagName(String(a))};
|
|
h.Sk=function(a,b,c){return kh(this.Dd,arguments)};h.createElement=function(a){return mh(this.Dd,a)};h.createTextNode=function(a){return this.Dd.createTextNode(String(a))};h.appendChild=function(a,b){B(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};h.append=function(a,b){nh(ph(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=oh;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 rh,sh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!sb("Presto")&&(a=function(){var e=mh(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&&!tb()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Wg;c.Wg=null;e()}};return function(e){d.next={Wg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};function th(a){r.setTimeout(function(){throw a;},0)};var uh=function(){this.ve=this.jc=null};uh.prototype.add=function(a,b){var c=vh.get();c.set(a,b);this.ve?this.ve.next=c:(B(!this.jc),this.jc=c);this.ve=c};uh.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 vh=new hh(function(){return new wh},function(a){return a.reset()}),wh=function(){this.next=this.scope=this.sf=null};wh.prototype.set=function(a,b){this.sf=a;this.scope=b;this.next=null};
|
|
wh.prototype.reset=function(){this.next=this.scope=this.sf=null};var xh=r.console&&r.console.createTask?r.console.createTask.bind(r.console):void 0,yh=xh?Symbol("consoleTask"):void 0;function zh(a,b){function c(){var e=sa.apply(0,arguments),g=this;return d.run(function(){return a.call.apply(a,[g].concat(ia(e)))})}b=void 0===b?"anonymous":b;if(!xh||a[Ma(yh)])return a;var d=xh(a.name||b);c[Ma(yh)]=d;return c};var Ah,Bh=!1,Ch=new uh,Eh=function(a,b){Ah||Dh();Bh||(Ah(),Bh=!0);a=zh(a,"goog.async.run");Ch.add(a,b)},Dh=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);Ah=function(){a.then(Fh)}}else Ah=function(){var b=Fh;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&(jb&&qb&&0<qb.brands.length||!sb("Edge"))&&r.Window.prototype.setImmediate==r.setImmediate?(rh||(rh=sh()),rh(b)):r.setImmediate(b)}},Fh=function(){for(var a;a=Ch.remove();){try{a.sf.call(a.scope)}catch(b){th(b)}vh.put(a)}Bh=
|
|
!1};var Gh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Jh=function(a){this.T=0;this.ia=void 0;this.mc=this.gb=this.X=null;this.Md=this.lf=!1;if(a!=pc)try{var b=this;a.call(void 0,function(c){Hh(b,2,c)},function(c){if(!(c instanceof Ih))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Hh(b,3,c)})}catch(c){Hh(this,3,c)}},Kh=function(){this.next=this.context=this.tc=this.Yb=this.Ob=null;this.sd=!1};Kh.prototype.reset=function(){this.context=this.tc=this.Yb=this.Ob=null;this.sd=!1};
|
|
var Lh=new hh(function(){return new Kh},function(a){a.reset()}),Mh=function(a,b,c){var d=Lh.get();d.Yb=a;d.tc=b;d.context=c;return d};Jh.prototype.then=function(a,b,c){null!=a&&Qa(a,"opt_onFulfilled should be a function.");null!=b&&Qa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Nh(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Jh.prototype.$goog_Thenable=!0;
|
|
Jh.prototype.Cl=function(a,b){return Nh(this,null,a,b)};Jh.prototype.catch=Jh.prototype.Cl;Jh.prototype.cancel=function(a){if(0==this.T){var b=new Ih(a);Eh(function(){Oh(this,b)},this)}};
|
|
var Oh=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.sd||(d++,f.Ob==a&&(e=f),!(e&&1<d)));f=f.next)e||(g=f);e&&(0==c.T&&1==d?Oh(c,b):(g?(d=g,B(c.gb),B(null!=d),d.next==c.mc&&(c.mc=d),d.next=d.next.next):Ph(c),Qh(c,e,3,b)))}a.X=null}else Hh(a,3,b)},Sh=function(a,b){a.gb||2!=a.T&&3!=a.T||Rh(a);B(null!=b.Yb);a.mc?a.mc.next=b:a.gb=b;a.mc=b},Nh=function(a,b,c,d){b&&(b=zh(b,"goog.Promise.then"));c&&(c=zh(c,"goog.Promise.then"));var e=Mh(null,null,null);e.Ob=new Jh(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 Ih?f(l):g(m)}catch(p){f(p)}}:f});e.Ob.X=a;Sh(a,e);return e.Ob};Jh.prototype.El=function(a){B(1==this.T);this.T=0;Hh(this,2,a)};Jh.prototype.Fl=function(a){B(1==this.T);this.T=0;Hh(this,3,a)};
|
|
var Hh=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.El,g=a.Fl;if(d instanceof Jh){null!=e&&Qa(e,"opt_onFulfilled should be a function.");null!=g&&Qa(g,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Sh(d,Mh(e||pc,g||null,a));var f=!0}else if(Gh(d))d.then(e,g,a),f=!0;else{if(t(d))try{var l=d.then;if("function"===typeof l){Th(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,Rh(a),3!=b||c instanceof Ih||Uh(a,c))}},Th=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)}},Rh=function(a){a.lf||(a.lf=!0,Eh(a.Wk,a))},Ph=function(a){var b=null;a.gb&&(b=a.gb,a.gb=b.next,b.next=null);a.gb||(a.mc=null);null!=b&&B(null!=b.Yb);return b};Jh.prototype.Wk=function(){for(var a;a=Ph(this);)Qh(this,a,this.T,this.ia);this.lf=!1};
|
|
var Qh=function(a,b,c,d){if(3==c&&b.tc&&!b.sd)for(;a&&a.Md;a=a.X)a.Md=!1;if(b.Ob)b.Ob.X=null,Vh(b,c,d);else try{b.sd?b.Yb.call(b.context):Vh(b,c,d)}catch(e){Wh.call(null,e)}Lh.put(b)},Vh=function(a,b,c){2==b?a.Yb.call(a.context,c):a.tc&&a.tc.call(a.context,c)},Uh=function(a,b){a.Md=!0;Eh(function(){a.Md&&Wh.call(null,b)})},Wh=th,Ih=function(a){Ia.call(this,a)};x(Ih,Ia);Ih.prototype.name="cancel";var Xh=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 Yh=function(a,b,c){y.call(this);this.fl=null!=c?a.bind(c):a;this.cl=b;this.td=null;this.yc=!1;this.Zc=0;this.fc=null};q(Yh,y);h=Yh.prototype;h.qf=function(a){this.td=arguments;this.fc||this.Zc?this.yc=!0:Zh(this)};h.stop=function(){this.fc&&(r.clearTimeout(this.fc),this.fc=null,this.yc=!1,this.td=null)};h.pause=function(){this.Zc++};h.resume=function(){this.Zc--;this.Zc||!this.yc||this.fc||(this.yc=!1,Zh(this))};h.J=function(){y.prototype.J.call(this);this.stop()};
|
|
var Zh=function(a){a.fc=Xh(function(){a.fc=null;a.yc&&!a.Zc&&(a.yc=!1,Zh(a))},a.cl);var b=a.td;a.td=null;a.fl.apply(null,b)};function $h(){};/*
|
|
|
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
var ai=function(a,b){this.he=[];this.di=a;this.oh=b||null;this.Pc=this.pc=!1;this.ia=void 0;this.kg=this.Qg=this.Se=!1;this.re=0;this.X=null;this.Te=0};x(ai,$h);ai.prototype.cancel=function(a){if(this.pc)this.ia instanceof ai&&this.ia.cancel();else{if(this.X){var b=this.X;delete this.X;a?b.cancel(a):(b.Te--,0>=b.Te&&b.cancel())}this.di?this.di.call(this.oh,this):this.kg=!0;this.pc||bi(this,new ci(this))}};ai.prototype.bh=function(a,b){this.Se=!1;di(this,a,b)};
|
|
var di=function(a,b,c){a.pc=!0;a.ia=c;a.Pc=!b;ei(a)},gi=function(a){if(a.pc){if(!a.kg)throw new fi(a);a.kg=!1}};ai.prototype.callback=function(a){gi(this);hi(a);di(this,!0,a)};var bi=function(a,b){gi(a);hi(b);di(a,!1,b)},hi=function(a){B(!(a instanceof ai),"An execution sequence may not be initiated with a blocking Deferred.")},ki=function(a){var b=ii();ji(b,a,null)},ji=function(a,b,c,d){B(!a.Qg,"Blocking Deferreds can not be re-used");a.he.push([b,c,d]);a.pc&&ei(a)};
|
|
ai.prototype.then=function(a,b,c){var d,e,g=new Jh(function(f,l){e=f;d=l});ji(this,e,function(f){f instanceof ci?g.cancel():d(f);return li},this);return g.then(a,b,c)};ai.prototype.$goog_Thenable=!0;
|
|
var mi=function(a){return Xa(a.he,function(b){return"function"===typeof b[1]})},li={},ei=function(a){if(a.re&&a.pc&&mi(a)){var b=a.re,c=ni[b];c&&(r.clearTimeout(c.fa),delete ni[b]);a.re=0}a.X&&(a.X.Te--,delete a.X);b=a.ia;for(var d=c=!1;a.he.length&&!a.Se;){var e=a.he.shift(),g=e[0],f=e[1];e=e[2];if(g=a.Pc?f:g)try{var l=g.call(e||a.oh,b);l===li&&(l=void 0);void 0!==l&&(a.Pc=a.Pc&&(l==b||l instanceof Error),a.ia=b=l);if(Gh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Se=!0}catch(m){b=
|
|
m,a.Pc=!0,mi(a)||(c=!0)}}a.ia=b;d&&(l=u(a.bh,a,!0),d=u(a.bh,a,!1),b instanceof ai?(ji(b,l,d),b.Qg=!0):b.then(l,d));c&&(b=new oi(b),ni[b.fa]=b,a.re=b.fa)},fi=function(){Ia.call(this)};x(fi,Ia);fi.prototype.message="Deferred has already fired";fi.prototype.name="AlreadyCalledError";var ci=function(){Ia.call(this)};x(ci,Ia);ci.prototype.message="Deferred was canceled";ci.prototype.name="CanceledError";var oi=function(a){this.fa=r.setTimeout(u(this.Dl,this),0);this.Gd=a};
|
|
oi.prototype.Dl=function(){B(ni[this.fa],"Cannot throw an error that is not scheduled.");delete ni[this.fa];throw this.Gd;};var ni={};var ii=function(){var a=pi(qi),b={},c=b.document||document,d=gd(a).toString(),e=(new qh(c)).createElement("SCRIPT"),g={yi:e,ld:void 0},f=new ai(ri,g),l=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(l=window.setTimeout(function(){si(e,!0);bi(f,new ti(1,"Timeout reached for loading script "+d))},m),g.ld=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(si(e,b.Ml||!1,l),f.callback(null))};e.onerror=function(){si(e,!0,l);bi(f,new ti(0,"Error while loading script "+
|
|
d))};g=b.attributes||{};Ub(g,{type:"text/javascript",charset:"UTF-8"});jh(e,g);td(e,a);ui(c).appendChild(e);return f},ui=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},ri=function(){if(this&&this.yi){var a=this.yi;a&&"SCRIPT"==a.tagName&&si(a,!0,this.ld)}},si=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){oh(a)},0)},ti=function(a,
|
|
b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);Ia.call(this,c);this.code=a};x(ti,Ia);var vi=function(){this.fe=void 0};vi.prototype.va=function(a){var b=[];wi(this,a,b);return b.join("")};
|
|
var wi=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],wi(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),xi(d,c),c.push(":"),wi(a,a.fe?a.fe.call(b,d,e):e,c),g=","));c.push("}");
|
|
return}}switch(typeof b){case "string":xi(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);}}},yi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},zi=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,xi=function(a,b){b.push('"',a.replace(zi,function(c){var d=yi[c];
|
|
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),yi[c]=d);return d}),'"')};var Ai=function(a,b){this.name=a;this.value=b};Ai.prototype.toString=function(){return this.name};var Bi=new Ai("OFF",Infinity),Ci=new Ai("SEVERE",1E3),Di=new Ai("WARNING",900),Ei=new Ai("CONFIG",700),Fi=new Ai("FINE",500),Gi=function(){this.Bd=0;this.clear()},Hi;Gi.prototype.clear=function(){this.yd=Array(this.Bd);this.kh=-1;this.Kh=!1};var Ii=function(a,b,c){this.reset(a||Bi,b,c,void 0,void 0)};Ii.prototype.reset=function(){};
|
|
var Ji=function(a,b){this.level=null;this.al=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.Th={wf:function(){return a}}},Ki=function(a){if(a.level)return a.level;if(a.parent)return Ki(a.parent);Na("Root logger has no level set.");return Bi},Li=function(a,b){for(;a;)a.al.forEach(function(c){c(b)}),a=a.parent},Mi=function(){this.entries={};var a=new Ji("");a.level=Ei;this.entries[""]=a},Ni,Oi=function(a,b){var c=a.entries[b];if(c)return c;c=Oi(a,b.slice(0,Math.max(b.lastIndexOf("."),
|
|
0)));var d=new Ji(b,c);a.entries[b]=d;c.children.push(d);return d},Pi=function(){Ni||(Ni=new Mi);return Ni},Qi=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?Ki(Oi(Pi(),a.wf())):Bi;d=d>=e.value}if(d){b=b||Bi;d=Oi(Pi(),a.wf());"function"===typeof c&&(c=c());Hi||(Hi=new Gi);e=Hi;a=a.wf();if(0<e.Bd){var g=(e.kh+1)%e.Bd;e.kh=g;e.Kh?(e=e.yd[g],e.reset(b,c,a),a=e):(e.Kh=g==e.Bd-1,a=e.yd[g]=new Ii(b,c,a))}else a=new Ii(b,c,a);Li(d,a)}},Ri=function(a,b){a&&Qi(a,Ci,b)},Si=function(a,b){a&&Qi(a,
|
|
Fi,b)};var Ti=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Ui=function(){};Ui.prototype.Ug=null;var Wi=function(a){var b;(b=a.Ug)||(b={},Vi(a)&&(b[0]=!0,b[1]=!0),b=a.Ug=b);return b};var Xi,Yi=function(){};x(Yi,Ui);var Zi=function(a){return(a=Vi(a))?new ActiveXObject(a):new XMLHttpRequest},Vi=function(a){if(!a.Gh&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.Gh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Gh};Xi=new Yi;var $i=function(a){D.call(this);this.headers=new Map;this.xe=a||null;this.Ea=!1;this.we=this.o=null;this.Tc=this.Oh=this.Td="";this.Ub=this.Cf=this.Rd=this.jf=!1;this.zc=0;this.ne=null;this.xc="";this.te=this.rl=this.Si=!1;this.Qe=this.Bg=null};x($i,D);$i.prototype.ba=Oi(Pi(),"goog.net.XhrIo").Th;var aj=/^https?$/i,bj=["POST","PUT"],cj=[];$i.prototype.Rk=function(){this.Ra();ab(cj,this)};$i.prototype.setTrustToken=function(a){this.Bg=a};$i.prototype.setAttributionReporting=function(a){this.Qe=a};
|
|
$i.prototype.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Td+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Td=a;this.Tc="";this.Oh=b;this.jf=!1;this.Ea=!0;this.o=this.xe?Zi(this.xe):Zi(Xi);this.we=this.xe?Wi(this.xe):Wi(Xi);this.o.onreadystatechange=u(this.gi,this);this.rl&&"onprogress"in this.o&&(this.o.onprogress=u(function(f){this.fi(f,!0)},this),this.o.upload&&(this.o.upload.onprogress=u(this.fi,this)));try{Si(this.ba,dj(this,"Opening Xhr")),
|
|
this.Cf=!0,this.o.open(b,String(a),!0),this.Cf=!1}catch(f){Si(this.ba,dj(this,"Error opening Xhr: "+f.message));this.Gd(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;!$a(bj,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.o.setRequestHeader(d,c);this.xc&&(this.o.responseType=this.xc);"withCredentials"in this.o&&this.o.withCredentials!==this.Si&&(this.o.withCredentials=this.Si);if("setTrustToken"in this.o&&this.Bg)try{this.o.setTrustToken(this.Bg)}catch(f){Si(this.ba,dj(this,"Error SetTrustToken: "+
|
|
f.message))}if("setAttributionReporting"in this.o&&this.Qe)try{this.o.setAttributionReporting(this.Qe)}catch(f){Si(this.ba,dj(this,"Error SetAttributionReporting: "+f.message))}try{ej(this),0<this.zc&&(this.te=fj(this.o),Si(this.ba,dj(this,"Will abort after "+this.zc+"ms if incomplete, xhr2 "+this.te)),this.te?(this.o.timeout=this.zc,this.o.ontimeout=u(this.ld,this)):this.ne=Xh(this.ld,this.zc,this)),Si(this.ba,dj(this,"Sending request")),this.Rd=!0,this.o.send(a),this.Rd=!1}catch(f){Si(this.ba,dj(this,
|
|
"Send error: "+f.message)),this.Gd(5,f)}};var fj=function(a){return vb&&"number"===typeof a.timeout&&void 0!==a.ontimeout};$i.prototype.ld=function(){"undefined"!=typeof va&&this.o&&(this.Tc="Timed out after "+this.zc+"ms, aborting",Si(this.ba,dj(this,this.Tc)),this.dispatchEvent("timeout"),this.abort(8))};$i.prototype.Gd=function(a,b){this.Ea=!1;this.o&&(this.Ub=!0,this.o.abort(),this.Ub=!1);this.Tc=b;gj(this);hj(this)};var gj=function(a){a.jf||(a.jf=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
$i.prototype.abort=function(){this.o&&this.Ea&&(Si(this.ba,dj(this,"Aborting")),this.Ea=!1,this.Ub=!0,this.o.abort(),this.Ub=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),hj(this))};$i.prototype.J=function(){this.o&&(this.Ea&&(this.Ea=!1,this.Ub=!0,this.o.abort(),this.Ub=!1),hj(this,!0));$i.L.J.call(this)};$i.prototype.gi=function(){this.Sa||(this.Cf||this.Rd||this.Ub?ij(this):this.nl())};$i.prototype.nl=function(){ij(this)};
|
|
var ij=function(a){if(a.Ea&&"undefined"!=typeof va)if(a.we[1]&&4==a.ub()&&2==a.getStatus())Si(a.ba,dj(a,"Local request error detected and ignored"));else if(a.Rd&&4==a.ub())Xh(a.gi,0,a);else if(a.dispatchEvent("readystatechange"),4==a.ub()){Si(a.ba,dj(a,"Request complete"));a.Ea=!1;try{var b=a.getStatus(),c;if(!(c=Ti(b))){var d;if(d=0===b){var e=String(a.Td).match(wd)[1]||null;!e&&r.self&&r.self.location&&(e=r.self.location.protocol.slice(0,-1));d=!aj.test(e?e.toLowerCase():"")}c=d}if(c)a.dispatchEvent("complete"),
|
|
a.dispatchEvent("success");else{try{var g=2<a.ub()?a.o.statusText:""}catch(f){Si(a.ba,"Can not get status: "+f.message),g=""}a.Tc=g+" ["+a.getStatus()+"]";gj(a)}}finally{hj(a)}}};$i.prototype.fi=function(a,b){B("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(jj(a,"progress"));this.dispatchEvent(jj(a,b?"downloadprogress":"uploadprogress"))};
|
|
var jj=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},hj=function(a,b){if(a.o){ej(a);var c=a.o,d=a.we[0]?function(){}:null;a.o=null;a.we=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){Ri(a.ba,"Problem encountered resetting onreadystatechange: "+e.message)}}},ej=function(a){a.o&&a.te&&(a.o.ontimeout=null);a.ne&&(r.clearTimeout(a.ne),a.ne=null)};$i.prototype.isActive=function(){return!!this.o};
|
|
$i.prototype.ub=function(){return this.o?this.o.readyState:0};$i.prototype.getStatus=function(){try{return 2<this.ub()?this.o.status:-1}catch(a){return-1}};
|
|
var kj=function(a){try{if(!a.o)return null;if("response"in a.o)return a.o.response;switch(a.xc){case "":case "text":return a.o.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.o)return a.o.mozResponseArrayBuffer}Ri(a.ba,"Response type "+a.xc+" is not supported on this browser");return null}catch(b){return Si(a.ba,"Can not get response: "+b.message),null}};$i.prototype.getResponseHeader=function(a){if(this.o&&4==this.ub())return a=this.o.getResponseHeader(a),null===a?void 0:a};
|
|
$i.prototype.getAllResponseHeaders=function(){return this.o&&2<=this.ub()?this.o.getAllResponseHeaders()||"":""};var lj=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=vd(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 Hb(b,function(f){return f.join(", ")})},dj=function(a,b){return b+" ["+a.Oh+" "+a.Td+" "+a.getStatus()+"]"};/*
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var mj=fa([""]),nj=ha(["\x00"],["\\0"]),oj=ha(["\n"],["\\n"]),pj=ha(["\x00"],["\\u0000"]),qj=fa([""]),rj=ha(["\x00"],["\\0"]),sj=ha(["\n"],["\\n"]),tj=ha(["\x00"],["\\u0000"]);function uj(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function vj(a){return-1===a.toString().indexOf("`")}var wj=vj(function(a){return a(mj)})||vj(function(a){return a(nj)})||vj(function(a){return a(oj)})||vj(function(a){return a(pj)}),xj=uj(qj)&&uj(rj)&&uj(sj)&&uj(tj);function zj(a){if("undefined"!==typeof MediaSource&&a instanceof MediaSource)return new jd(URL.createObjectURL(a),id);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 jd(URL.createObjectURL(a),id)}var Aj=[],Bj=function(a){var b=Oi(Pi(),"safevalues").Th;b&&Qi(b,Di,"A URL with content '"+a+"' was sanitized away.")};-1===Aj.indexOf(Bj)&&Aj.push(Bj);function pi(a){var b=sa.apply(1,arguments);if(!Array.isArray(a)||!Array.isArray(a.raw)||a.length!==a.raw.length||!wj&&a===a.raw||!(wj&&!xj||uj(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 hd(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 hd(c)};var qi=fa(["https://accounts.google.com/gsi/client"]),Cj,J=function(a,b){Dj();this.callback=a;this.M=new Ej(!a,b)};J.prototype.pd=function(a){this.M.Rb=a;return this};J.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 Fj=function(){return"projects/"+Cj};h=J.prototype;h.Fc=function(){return new Pg(this.M)};
|
|
h.assets=function(){return new Rg(this.M)};h.Na=function(){return new Yg(this.M)};h.value=function(){return new bh(this.M)};h.maps=function(){return new Xg(this.M)};h.map=function(){return new Wg(this.M)};h.image=function(){return new Vg(this.M)};h.table=function(){return new Zg(this.M)};h.video=function(){return new dh(this.M)};var Ej=function(a,b){this.sync=a=void 0===a?!1:a;this.Rb=void 0;this.vi=null!=b?b:a?5:10};q(Ej,gh);
|
|
Ej.prototype.send=function(a,b){var c=this;Pd(a);var d=a.path||"",e=Gj()+d,g=Hj(a.u||{}),f=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=Ij(e,g,void 0,a.B,f,this.vi,this.Rb);d=b?Wc(b,d):d;var l=function(m){return{then:function(p){return l(p(m))}}};return l(d)}return(new Promise(function(m,p){Ij(e,g,function(v,z){z?p(z):m(v)},a.B,f,c.vi,c.Rb)})).then(function(m){return b?Wc(b,m):m})};var Kj=function(a){J.call(this,a);this.M=new Jj;this.Rb=void 0};q(Kj,J);
|
|
Kj.prototype.pd=function(a){this.Rb=a;return this};
|
|
Kj.prototype.send=function(a,b){var c=this,d=Gj()+"/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]=
|
|
Wc(p,f[m]))});return b?b(l):l};return this.callback?(Ij(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(Ij(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e,void 0,this.Rb))};var Jj=function(){};q(Jj,gh);
|
|
Jj.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=Lj();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 Mj=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"))}},Gj=function(){var a=Nj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Pj=function(a,b,c){var d=[];a&&(d=d.concat(Oj));
|
|
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},Vj=function(a,b,c){Qj&&Rj&&Qj({client_id:String(Rj),scope:Sj.join(" "),plugin_name:"earthengine"},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Tj(function(){try{Uj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Uj(a,
|
|
b,d)})},Lj=function(){Wj&&0<=Date.now()-Wj&&Xj();return Yj},Xj=function(){Wj=Yj=null},Dj=function(a,b,c,d){null!=a?Nj=a:Zj||(Nj="https://earthengine.googleapis.com/api");null!=b?ak=b:Zj||(ak="https://earthengine.googleapis.com");void 0!==c&&(bk=c);Cj=null!=d?d:Cj||"earthengine-legacy";Zj=!0},Ij=function(a,b,c,d,e,g,f){Dj();var l=ck,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.389";"0.1.389"===
|
|
p&&(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=Lj();if(null!=p)m.Authorization=p;else if(c&&Qj&&Rj)return Vj(function(){dk(l,function(){Ij(a,b,c,d)})}),null;b=b?b.clone():new Ed;null!=ek&&b.add("key",ek);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");Cj&&"earthengine-legacy"!==Cj&&(m["X-Goog-User-Project"]=Cj);b=fk(b,a);null!=bk&&(m["X-XSRF-Token"]=bk);null!=gk&&(m["X-Earth-Engine-App-ID-Token"]=gk);p=e||null;var v=b?b.toString():"";"POST"===d&&void 0===e?p=v:/^[\s\xa0]*$/.test(v)||(a+=-1!=
|
|
a.indexOf("?")?"&":"?",a+=v);e=a.startsWith("/")?Nj+a:a;if(c)return hk.push(ik(e,c,d,p,m,g,f)),jk.qf(),null;v=function(Q,oa){this.setRequestHeader&&this.setRequestHeader(oa,Q)};var z=0;for(g=null!=g?g:5;;){var C=Zi(Xi);C.open(d,e,!1);Fb(m,v,C);C.send(p);if(429!=C.status||z>g)break;z++}return kk(C.status,function(Q){try{return C.getResponseHeader(Q)}catch(oa){return null}},C.responseText,l,void 0,e,d,f)},ik=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=ck,v=null!=g?g:10;
|
|
m.callback=function(z){z=z.target;if(429==z.getStatus()&&l<v)return l++,setTimeout(function(){hk.push(m);jk.qf()},Math.min(12E4,1E3*Math.pow(2,l))),null;var C=kk,Q=z.getStatus(),oa=u(z.getResponseHeader,z);try{var S=z.o?z.o.responseText:""}catch(Aa){Si(z.ba,"Can not get responseText: "+Aa.message),S=""}return C(Q,oa,S,p,b,a,c,f)};return m},dk=function(a,b){var c=ck;try{ck=a,b.call(void 0)}finally{ck=c}},kk=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(S){try{var Aa=JSON.parse(S);return!(t(Aa)&&"error"in Aa&&"message"in Aa.error)||l&&l(Aa)?{parsed:Aa}:Aa.error.message}catch(Jb){return"Invalid JSON: "+S}},v=function(S){if(0===S)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>S||300<=S)return"Server returned HTTP code: "+S+" for "+f+" "+g},z,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:z=c;else if("multipart/mixed"===d){C={};var Q=[];Mj(b,c,function(S,Aa,Jb){Jb=p(Jb);Jb.parsed&&(C[S]=Jb.parsed);(Aa=(Jb.parsed?"":Jb)||v(Aa))&&Q.push(S+": "+Aa)});Q.length&&(z=Q.join("\n"))}else var oa="Response was unexpectedly not JSON, but "+d;z=z||v(a)||oa;if(e)return e(C,z),null;if(!z)return C;throw Error(z);},Tj=function(a){var b=function(){Qj||(Qj=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():ki(b)},Uj=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(Vj,.9*c);void 0!==d.unref&&d.unref();Wj=Date.now()+c}Yj=b;a&&a()}else b&&b(c.error||"Unknown error.")},Hj=function(a){var b=new Ed;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},hk=[],jk=new Yh(function(){var a=hk.shift();if(a){var b=a.url,c=a.callback,d=a.method,
|
|
e=a.content;a=a.headers;var g=lk,f=new $i;cj.push(f);c&&f.Xa("complete",c);f.Vc("ready",f.Rk);g&&(f.zc=Math.max(0,g));f.send(b,d,e,a)}0==hk.length||jk.qf()},350),Nj=null,ak=null,bk=null,gk=null,fk=qc,Yj=null,Wj=null,Rj=null,Sj=[],Qj=null,Oj=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],ek=null,Zj=!1,lk=0,ck=null;w("ee.api.ListAssetsResponse",pg);w("ee.api.EarthEngineAsset",lf);w("ee.api.Operation",sg);w("ee.api.ListFeaturesResponse",qg);
|
|
w("ee.api.FeatureViewLocation",of);var mk=function(){};mk.prototype.Eh=function(){return null};var nk=function(){};w("ee.Encodable.SourceFrame",nk);
|
|
var ok=function(a){if(void 0===a||null===a)a=Rc;return new Le({hb:a})},pk=function(a){return new Le({Oa:a})},qk=function(a){return new Le({Fa:new Ke({values:a})})},rk=function(a){return new Le({Ga:new hf({values:a})})},sk=function(a,b){return new Le({ya:new Wf({functionName:a,arguments:b})})},tk=function(a,b){return new Le({ya:new Wf({Va:a,arguments:b})})},uk=function(a,b){return new Le({Ua:new Vf({lc:a,body:b})})},vk=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}},wk=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}},xk=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a&&"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},yk=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Bk=function(a){var b=new tf,c=!1;"palette"in a&&(c=a.palette,b.Yc="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.Yc?b.Yc.length-1:255;d=zk(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=zk(a,"min","max");0!==d.length&&(b.Wf=d.map(function(g){return new jf(g)}),c=!0);a=Ak(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},Ak=function(a){return a?a.split(",").map(Number):[]},zk=function(a,b,c){var d=Ak(a[b]),e=Ak(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})},Ck=function(a){var b=function(f){var l={};l.description=f.description||"";l.type=f.type||"";null!=f.ud&&
|
|
(l.name=f.ud);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.cg||"";null!=f.hidden&&(l.hidden=f.hidden);f.preview&&(l.preview=f.preview);f.deprecated&&(l.deprecated=f.ff);f.sourceCodeUri&&(l.sourceCodeUri=f.sourceCodeUri);return l},d={};a=n(a.Fc||[]);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},Dk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,Ek=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,Fk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,Gk=function(a){return(a=Dk.exec(a))?a[1]:"earthengine-legacy"},Hk=function(a){return Ek.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
a},Jk=function(a){return(a.assets||[]).map(Ik)},Kk=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"}},Ik=function(a){var b=Lk(Kk(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.ef,dimensions:void 0,crs_transform:void 0};if(d.grid){if(null!=d.grid.Lb){var g=d.grid.Lb;e.crs_transform=[g.dg||0,g.ig||0,g.zg||0,g.jg||0,g.eg||0,g.Ag||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.dd&&(g.min=d.dataType.dd.min||0,g.max=d.dataType.dd.max),e.data_type=g);return e}));a.Hd&&(b.mapLocation=a.Hd);a.featureCount&&(b.featureCount=a.featureCount);
|
|
return b},Mk=function(a){var b=new lf,c=function(g){return null===g?Rc: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},Lk=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},Pk=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=Nk(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 Ok(b)},Nk=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("],[")+"]]]}"},Qk=function(a){var b={};(a.xd||[]).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},Rk=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 Re(d)});return new Gf({xd:b.filter(function(d){return d.Xb.length}),
|
|
kf:null})},Tk=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+Sk(a)},Sk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Uk=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=Wc(wg,a.metadata||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.df);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=Sk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.gf;b.source_url=e.fg;null!=e.vd&&(b.batch_eecu_usage_seconds=e.vd);return b},Vk=function(a){var b=
|
|
{started:"OK"};a.name&&(b.taskId=Sk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},Wk=function(a){return a.primaryPath?[a.primaryPath].concat(ia(a.additionalPaths||[])):null},Zk=function(a){var b=function(g){var f=Wc(kg,g);f.uris=Wk(g);return f},c=Wc(gg,a);c.name=Hk(a.id);c.tilesets=(a.tilesets||[]).map(function(g){var f=Wc(nf,g);f.sources=(g.sources||[]).map(b);return f});c.bands=(a.bands||[]).map(function(g){var f=Wc(hg,g);f.missingData=Xk(g.missingData);return f});c.missingData=
|
|
Xk(a.missingData);c.Mf=gb((a.tilesets||[]).map(Yk));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},Yk=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 ig({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},$k=function(a){var b=Wc(ng,a);b.name=Hk(a.id);b.sources=(a.sources||[]).map(function(e){var g=Wc(Jg,e);g.uris=Wk(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},Xk=function(a){if(null==a)return null;var b=new eg({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},al=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 ")},Ok=function(a){a=Object.assign({},a);var b=al(a);b&&(a.filter=a.filter?a.filter+" AND "+b:b);return a};var bl=function(){this.blockSize=-1};var cl=function(){this.blockSize=-1;this.blockSize=64;this.W=Array(4);this.Ok=Array(this.blockSize);this.qe=this.Gc=0;this.reset()};x(cl,bl);cl.prototype.reset=function(){this.W[0]=1732584193;this.W[1]=4023233417;this.W[2]=2562383102;this.W[3]=271733878;this.qe=this.Gc=0};
|
|
var dl=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};
|
|
cl.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.Ok,e=this.Gc,g=0;g<b;){if(0==e)for(;g<=c;)dl(this,a,g),g+=this.blockSize;if("string"===typeof a)for(;g<b;){if(d[e++]=a.charCodeAt(g++),e==this.blockSize){dl(this,d);e=0;break}}else for(;g<b;)if(d[e++]=a[g++],e==this.blockSize){dl(this,d);e=0;break}}this.Gc=e;this.qe+=b};
|
|
cl.prototype.digest=function(){var a=Array((56>this.Gc?this.blockSize:2*this.blockSize)-this.Gc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.qe;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 el=function(a){this.qd="__ee_hash__";this.Sd=!1!==a;this.Ya=[];this.wa={};this.Dg=[];this.Od=new WeakMap;this.ng=new WeakMap;this.Ri=void 0};w("ee.Serializer",el);var fl=new vi,gl=new cl,il=function(a,b){return hl(new el(void 0!==b?b:!0),a)};w("ee.Serializer.encode",il);var jl=function(a){return fl.va(il(a))};w("ee.Serializer.toJSON",jl);var ll=function(a){return kl(il(a,!1))};w("ee.Serializer.toReadableJSON",ll);
|
|
var kl=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):fl.va(a)},hl=function(a,b){b=a.Fd(b);a.Sd&&(b=t(b)&&"ValueRef"==b.type&&1==a.Ya.length?a.Ya[0][1]:{type:"CompoundValue",scope:a.Ya,value:b},a.Ya=[],Ua(a.Dg,u(function(c){delete c[this.qd]},a)),a.Dg=[],a.wa={});return b};
|
|
el.prototype.Fd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=t(a)?a[this.qd]:null;if(this.Sd&&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(ya(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof mk){var c=a.encode(u(this.Fd,this));if(!(Array.isArray(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
Wa(a,function(e){return this.Fd(e)},this);else if(t(a)&&"function"!==typeof a)c=Hb(a,function(e){if("function"!==typeof e)return this.Fd(e)},this),Qb(c,this.qd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Sd){b=ml(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.qd]=b;this.Dg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var ml=function(a){gl.reset();gl.update(fl.va(a));return gl.digest().toString()},ol=function(a){return Xc(nl(a),Tc,Uc,Vc)};w("ee.Serializer.encodeCloudApi",ol);
|
|
var nl=function(a,b){return pl(new el(!0),a,b)},pl=function(a,b,c){a.Ri=c;return ql(a,b)},rl=function(a,b){var c={};b=b.values;for(var d in b){var e=a.ng.get(b[d]);c[d]=Object.assign({},e)}return c},sl=function(a){a=ql(new el(!1),a);var b=a.values,c=function(d){if(!t(d))return d;var e=Array.isArray(d)?[]:{},g=d instanceof Object.getPrototypeOf(Le);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:Hb(l.arguments,c),functionReference:c(b[l.Va])}:"constantValue"===f?l===Rc?null:l:c(l)):e[f]=c(l)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",sl);var tl=function(a){return fl.va(ol(a))};w("ee.Serializer.toCloudApiJSON",tl);var ul=function(a){return kl(sl(a))};w("ee.Serializer.toReadableCloudApiJSON",ul);
|
|
var ql=function(a,b){try{var c=vl(a,b),d=new wl(c,a.Ya,a.Sd,a.ng),e=xl(d,d.xi);return new af({result:e,values:d.ii})}finally{a.Od=new WeakMap,a.wa={},a.Ya=[]}},vl=function(a,b){var c=function(f){var l=ml(f);t(b)&&a.Od.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.Od.get(b)])return a.wa[a.Od.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(ok(b));if(ya(b))return c(sk("Date",{value:ok(Math.floor(b.getTime()))}));
|
|
if(b instanceof mk){var d=b.na(a),e=b.Eh();null!==e&&a.ng.set(d,e);return c(d)}if(Array.isArray(b))return c(qk(b.map(function(f){return pk(vl(a,f))})));if(t(b)&&"function"!==typeof b){var g={};Object.keys(b).sort().forEach(function(f){g[f]=pk(vl(a,b[f]))});return c(rk(g))}throw Error("Can't encode object: "+b);},wl=function(a,b,c,d){var e=this;this.xi=a;this.values={};b.forEach(function(g){return e.values[g[0]]=g[1]});this.ri=c?yl(this):null;this.ii={};this.Zf={};this.ll=0;this.hd=d},xl=function(a,
|
|
b){if(b in a.Zf)return a.Zf[b];var c=String(a.ll++);a.Zf[b]=c;a.ii[c]=zl(a,a.values[b],0);return c},zl=function(a,b,c){var d=function(z){return null!==z.hb},e=function(z){return z===Rc?null:z},g=function(z,C){a.hd&&a.hd.has(z)&&!a.hd.has(C)&&a.hd.set(C,a.hd.get(z));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.ri||50>c&&1===a.ri[b.Oa])return d=zl(a,d,c),g(b,d);if(Al(d))return g(b,d);d=pk(xl(a,b.Oa));return g(b,d)}if(null!=b.Fa){var f=b.Fa.values.map(function(z){return zl(a,
|
|
z,c+3)});d=f.every(d)?ok(f.map(function(z){return e(z.hb)})):qk(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]=zl(a,v,c+3);null!==l&&d(f[p])?l[p]=e(f[p].hb):l=null}return null!==l?g(b,ok(l)):g(f,rk(f))}if(null!=b.Ua)return d=b.Ua,d=uk(d.lc||[],xl(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]=zl(a,d.arguments[m],c+3);d=d.functionName?sk(d.functionName,f):tk(xl(a,d.Va||""),f);return g(b,d)}throw Error("Can't optimize value: "+b);},Al=function(a){var b=a.hb;return null!==b?b===Rc||"number"===typeof b||"boolean"===typeof b:null!=a.Mb},yl=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.xi);return b};var Gl=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 Cf({l:nl(a.element),description:K(a.description),oa:null,sa:null,Id:null,wd:null,selectors:b,Vb:L(a.maxErrorMeters),requestId:K(a.id),maxVertices:L(a.maxVertices),O:L(a.maxWorkers)});var c=Bl(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Ff({ja:null,ma:null,F:wk(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ja=Cl(a):d.ma=
|
|
Dl(a);b.oa=d;break;case "ASSET":b.sa=new Df({Ha:El(a)});break;case "FEATURE_VIEW":c=new Nf({name:Hk(a.mapName)});d=null==a?null:new Sf({Of:L(a.maxFeaturesPerTile),tg:a.thinningStrategy});var e=null==a?null:new Rf({Eg:Fl(a.zOrderRanking),sg:Fl(a.thinningRanking)});d=new Of({rg:d,Yf:e});c=new Ef({mf:c,rc:d});b.Id=c;break;case "BIGQUERY":b.wd=new Qe({Re:new Pe({table:K(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 K(a){return null!=a?String(a):null}function L(a){return null!=a?Number(a):null}
|
|
var Bl=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},Il=function(a){var b=new fg({Ze:!!a.tfrecordCompressed,Wb:K(a.tfrecordMaxFileSize),gg:!!a.tfrecordSequenceData,Xe:!!a.tfrecordCollapseBands,Pf:L(a.tfrecordMaskedThreshold),defaultValue:L(a.tfrecordDefaultValue),cc:Hl(a.tfrecordPatchDimensions),Lf:Hl(a.tfrecordKernelSize),le:null});
|
|
a=a.tfrecordTensorDepths;if(null!=a)if(t(a)){var c={};Fb(a,function(d,e){if("string"!==typeof e||"number"!==typeof d)throw Error('"tensorDepths" option must be an object of type Object<string, number>');c[e]=d});b.le=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},Jl=function(a,b){var c=new yf({ja:null,ma:null,Jd:null,me:null,F:vk(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=Hl(a.fileDimensions||a.tiffFileDimensions);d=L(d);var l=a.tiffNoData;l=null!=l?new Yf({rf:Number(l)}):null;e=new Xf({We:e,mg:g,cc:f,tileSize:d,Rf:l});c.Jd=e}else"TF_RECORD_IMAGE"===c.F&&(c.me=Il(a));"GOOGLE_CLOUD_STORAGE"===b?c.ja=Cl(a):c.ma=Dl(a);return c},Kl=function(a,b){var c=new If({ja:null,ma:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ja=Cl(a):c.ma=Dl(a);return c},Ll=function(a){var b,
|
|
c,d,e,g=L(null!=(b=a.endZoom)?b:a.maxZoom);b=L(null!=(c=a.startZoom)?c:a.minZoom);c=L(a.scale);var f=!(null!=(d=a.skipEmpty)?!d:!a.skipEmptyTiles);d=K(a.mapsApiKey);var l=Hl(null!=(e=a.dimensions)?e:a.tileDimensions);e=L(a.stride);var m=L(a.minTimeMachineZoomSubset);a=L(a.maxTimeMachineZoomSubset);a=null==m&&null==a?null:new Lg({start:null!=m?m:0,end:a});return new Bf({hf:g,og:b,scale:c,lg:f,Kf:d,dimensions:l,stride:e,Fg:a})},Hl=function(a){if(null==a)return null;var b=new Zf({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},
|
|
Cl=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Ye({Ue:K(a.outputBucket),xa:K(a.outputPrefix),Ve:a.bucketCorsUris||null,permissions:b})},Dl=function(a){return new kf({tf:K(a.driveFolder),xa:K(a.driveFileNamePrefix)})},El=function(a){return new We({name:Hk(a.assetId)})},Fl=function(a){if(!a)return null;var b=a;"string"===typeof a&&(a=a.split(","));if(Array.isArray(a))return new Gg({Xf:(a||[]).map(Ml)});throw Error("Unable to build ranking rule from rules: "+
|
|
JSON.stringify(b)+". Rules should either be a comma-separated string or list of strings.");},Ml=function(a){var b=new Fg({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 Cg({});break;case ".minZoomLevel":b.ce=new Eg({});break;default:b.ae=new Bg({attributeName:K(a)})}return b};var Nl=[],Ol=function(a){B(!Object.isSealed(a),"Cannot use getInstance() with a sealed constructor.");var b="Ef";if(a.Ef&&a.hasOwnProperty(b))return a.Ef;Nl.push(a);var c=new a;a.Ef=c;B(a.hasOwnProperty(b),"Could not instantiate singleton.");return c};var Ql=function(a,b,c,d,e,g){d=Pj(!g,!1,d||[]);Rj=a;Sj=d;null===a?Xj():Tj(function(){Vj(b,c,e||Fa(Pl,b,c))})};w("ee.data.authenticateViaOauth",Ql);var Rl=function(a,b,c,d,e){Ql(a,b,c,d,e)};w("ee.data.authenticate",Rl);var Pl=function(a,b){r.google.accounts.oauth2.initTokenClient({client_id:Rj,callback:Fa(Uj,a,b),scope:Sj.join(" ")}).requestAccessToken()};w("ee.data.authenticateViaPopup",Pl);
|
|
var Sl=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=Pj(!e,!e,d||[]);Rj=a.client_email;Sj=d;var g=new google.auth.JWT(a.client_email,null,a.private_key,d,null);Qj=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})})};Vj(b,c)};w("ee.data.authenticateViaPrivateKey",Sl);
|
|
w("ee.data.setExpressionAugmenter",function(a){Tl=a||qc});var Tl=qc;w("ee.data.setAuthToken",function(a,b,c,d,e,g,f,l){e=Pj(!l,!1,e||[]);Rj=a;Sj=e;Uj(void 0,void 0,{token_type:b,access_token:c,state:e.join(" "),expires_in:d});!1===f?g&&g():Tj(function(){g&&g()})});w("ee.data.refreshAuthToken",Vj);w("ee.data.setAuthTokenRefresher",function(a){Qj=a});w("ee.data.getAuthToken",Lj);w("ee.data.clearAuthToken",Xj);w("ee.data.getAuthClientId",function(){return Rj});w("ee.data.getAuthScopes",function(){return Sj});
|
|
w("ee.data.setDeadline",function(a){lk=a});w("ee.data.setParamAugmenter",function(a){fk=a||qc});
|
|
var Ul=function(a){a=new J(a);return a.handle(a.Fc().list(Fj(),{prettyPrint:!1}).then(Ck))},Xl=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 sf({name:null,l:Tl(nl(a.image)),F:vk(a.format),da:yk(a.bands),ic:Bk(a)});var c={fields:"name"},d=Vl();d&&(c.workloadTag=d);b=new J(b);return b.handle(b.maps().create(Fj(),a,c).then(function(e){return Wl(e.name,"")}))};
|
|
w("ee.data.getMapId",Xl);var Yl=function(a,b,c,d){if(!a.formatTileUrl){var e=Wl(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",Yl);
|
|
var Wl=function(a,b,c){var d=void 0===c?"":c;d||(Dj(),c=ak,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}},Zl=function(a,b){var c=a.visParams?Tl(nl(a.visParams)):null;a=new Mf({name:null,Nb:a.assetId,mapName:a.mapName,Cg:c});b=new J(b);return b.handle((new Tg(b.M)).create(Fj(),a,{fields:["name"]}).then(function(d){var e=
|
|
d.name.split("/").pop();return{token:e,formatTileUrl:function(g,f,l){return ak+"/v1/"+d.name+"/tiles/"+l+"/"+g+"/"+f},rawTilesKey:e.substring(0,e.lastIndexOf("-"))}}))};w("ee.data.getFeatureViewTilesKey",Zl);
|
|
var $l=function(a,b,c){c=new J(c);var d=Hk(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=I(e.j,{body:null,B:"GET",D:"earthengine.projects.assets.listFeatures",path:"/"+e.m+"/"+d+":listFeatures",u:H(b,g),G:qg});return a.call(c,g)};w("ee.data.listFeatures",$l);
|
|
var am=function(a,b){var c=new el(!0);a=pl(c,a);var d={};c=rl(c,a);Object.keys(c).length&&(d={__source_code_nodes__:c});c={l:Tl(a,d)};if(a=Vl())c.workloadTag=a;b=new J(b);return b.handle(ch(b.value(),Fj(),new $e(c)).then(function(e){return e.result}))};w("ee.data.computeValue",am);
|
|
var bm=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 Kg({name:null,l:Tl(nl(a.image)),F:vk(a.format),xa:a.name,da:yk(a.bands),
|
|
ic:Bk(a),grid:null});var c={fields:"name"},d=Vl();d&&(c.workloadTag=d);b=new J(b);return b.handle((new ah(b.M)).create(Fj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getThumbId",bm);
|
|
var cm=function(a,b){var c=new Jf({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Og({name:null,l:Tl(nl(a.imageCollection)),F:vk(a.format),Pa:c,grid:null});c={fields:"name"};var d=Vl();d&&(c.workloadTag=d);b=new J(b);return b.handle((new fh(b.M)).create(Fj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getVideoThumbId",cm);
|
|
var dm=function(a,b){a=new Uf({name:null,l:Tl(nl(a.imageCollection)),F:vk(a.format),orientation:xk(a.orientation),grid:null});var c={fields:"name"},d=Vl();d&&(c.workloadTag=d);b=new J(b);return b.handle((new Ug(b.M)).create(Fj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getFilmstripThumbId",dm);var em=function(a){return ak+"/v1/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",em);
|
|
var gm=function(a,b){a=Object.assign({},a);a.id&&(a.image=new M(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=yk(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=fm(a.image,a);a=new Kg({name:null,l:Tl(nl(c)),F:vk(a.format),xa:a.name,da:a.bands&&yk(a.bands.map(function(e){return e.id})),grid:null});c={fields:"name"};var d=Vl();d&&(c.workloadTag=d);b=new J(b);return b.handle((new ah(b.M)).create(Fj(),a,c).then(function(e){return{docid:e.name,token:""}}))};w("ee.data.getDownloadId",gm);var hm=function(a){Dj();return ak+"/v1/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",hm);
|
|
var im=function(a,b){b=new J(b);var c=wk(a.format),d=Tl(nl(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 Ig({name:null,l:d,F:c,selectors:e,filename:a.filename||null});c={fields:"name"};if(d=Vl())c.workloadTag=d;return b.handle((new $g(b.M)).create(Fj(),a,c).then(function(g){return{docid:g.name||
|
|
"",token:""}}))};w("ee.data.getTableDownloadId",im);var jm=function(a){return ak+"/v1/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",jm);var km=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,4*d)).toString(16).padStart(d,"0")};a=fb(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",km);
|
|
var lm=function(a){return a.name&&a.done&&a.error},nm=function(a,b){var c=mm(a).map(Tk);if(1===c.length)return a=(new J(b)).pd(lm),a.handle(a.Na().get(c[0]).then(function(e){return[Uk(e)]}));a=(new Kj(b)).pd(lm);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(g){return Uk(e[g])})})};w("ee.data.getTaskStatus",nm);
|
|
var mm=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.");},pm=function(a){return om(void 0,a)};w("ee.data.getTaskList",pm);var om=function(a,b){return b?(qm(a,function(c,d){return b(c?{tasks:c.map(Uk)}:null,d)}),null):{tasks:qm(a).map(Uk)}};w("ee.data.getTaskListWithLimit",om);
|
|
var qm=function(a,b){var c=[],d={pageSize:500},e=function(l){db(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(Fj(),d).then(e)));return null},g=new J(b?function(l,m){return m&&b(l,m)}:void 0),f=g.Na();g.handle(f.list(Fj(),d).then(e));return b?null:a?c.slice(0,a):c};w("ee.data.listOperations",qm);
|
|
var rm=function(a,b){a=mm(a).map(Tk);var c=new Te;if(1===a.length)b=new J(b),b.handle(b.Na().cancel(a[0],c));else{b=new Kj(b);var d=b.Na();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",rm);var sm=function(a,b){var c=mm(a).map(Tk);if(!Array.isArray(a))return a=(new J(b)).pd(lm),a.handle(a.Na().get(c[0]));a=(new Kj(b)).pd(lm);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",sm);
|
|
var um=function(a,b){return tm(a,"CANCEL",b)};w("ee.data.cancelTask",um);var tm=function(a,b,c){if(!Mb(vm,b))throw Error("Invalid action: "+b);a=mm(a);a=a.map(Tk);rm(a,c);return null};w("ee.data.updateTask",tm);
|
|
var Bm=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=Vl();e&&(b.workloadTag=e)}var g=new J(c);c=function(f){return g.handle(f.then(Vk))};switch(d){case "EXPORT_IMAGE":return b=wm(b,a),c(g.image().Ka(Fj(),b));case "EXPORT_FEATURES":return b=Gl(b),b.l=Tl(b.l,a),c(g.table().Ka(Fj(),b));case "EXPORT_VIDEO":return b=xm(b,a),c(g.video().Ka(Fj(),b));case "EXPORT_TILES":return b=ym(b,a),c(g.map().Ka(Fj(),
|
|
b));case "EXPORT_VIDEO_MAP":return b=zm(b),c((new eh(g.M)).Ka(Fj(),b));case "EXPORT_CLASSIFIER":return b=Am(b,a),c((new Sg(g.M)).Ka(Fj(),b));default:throw Error("Unable to start processing for task of type "+d);}};w("ee.data.startProcessing",Bm);
|
|
var wm=function(a,b){var c=Cm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new wf({l:nl(c.element),description:K(c.description),oa:null,sa:null,grid:null,Qf:K(c.maxPixels),requestId:K(c.id),O:L(c.maxWorkers)}),e=Bl(c);switch(e){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":d.oa=Jl(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 xf({Ha:El(c),pyramidingPolicy:g,Vf:Pb(e)?null:e,tileSize:L(c.shardSize)});d.sa=c;break;default:throw Error('Export destination "'+e+'" unknown');}d.l=Tl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},xm=function(a,b){var c=Dm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new Kf({l:nl(c.element),description:K(c.description),Pa:new Jf({framesPerSecond:L(c.framesPerSecond),maxFrames:L(c.maxFrames),maxPixelsPerFrame:K(c.maxPixels)}),oa:null,requestId:K(c.id),
|
|
O:L(c.maxWorkers)});d.oa=Kl(c,Bl(c));d.l=Tl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},ym=function(a,b){var c=a.scale;delete a.scale;var d=Cm(a);d.scale=c;if(null==d.element)throw Error('"element" not found in params '+d);c=new Af({l:nl(d.element),description:K(d.description),ec:Ll(d),dc:Jl(d,"GOOGLE_CLOUD_STORAGE"),requestId:K(d.id),O:L(d.maxWorkers)});c.l=Tl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);return c},zm=function(a){var b=a.scale;delete a.scale;var c=Dm(a);c.scale=
|
|
b;if(null==c.element)throw Error('"element" not found in params '+c);b=new Hf({l:nl(c.element),description:K(c.description),Pa:new Jf({framesPerSecond:L(c.framesPerSecond),maxFrames:L(c.maxFrames),maxPixelsPerFrame:null}),ec:Ll(c),dc:Kl(c,"GOOGLE_CLOUD_STORAGE"),requestId:K(c.id),version:K(c.version),O:L(c.maxWorkers)});b.l=Tl(b.l);a.workloadTag&&(b.workloadTag=a.workloadTag);return b},Am=function(a,b){if(null==a.element)throw Error('"element" not found in params '+a);var c=Bl(a);if("ASSET"!=c)throw Error('Export destination "'+
|
|
c+'" unknown');c=new vf({l:nl(a.element),description:K(a.description),requestId:K(a.id),sa:new Ve({Ha:El(a)}),O:L(a.maxWorkers)});c.l=Tl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);return c},Fm=function(a,b,c){b=Zk(b);var d=function(e){return e?Vk(e):null};return d(Em(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startIngestion",Fm);
|
|
var Em=function(a,b,c){b=new lg({Bf:b,requestId:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return a.handle(a.image().import(Fj(),b))},Gm=function(a,b,c){b=new mg({qg:b,requestId:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return a.handle(a.table().import(Fj(),b))},Hm=function(a,b,c){b=$k(b);var d=function(e){return e?Vk(e):null};return d(Gm(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startTableIngestion",Hm);
|
|
var Im=function(a,b){b=new J(b);a=Hk(a);return b.handle(b.assets().get(a,{prettyPrint:!1}).then(Ik))};w("ee.data.getAsset",Im);w("ee.data.getInfo",Im);var Jm=function(a,b,c,d){b=void 0===b?{}:b;d=void 0===d?qc:d;var e=Fk.test(a);c=new J(c);var g=e?new Qg(c.M):c.assets();a=e?"projects/"+Gk(a):Hk(a);return c.handle(g.Ud(a,b).then(d))},Km=function(a,b){return Jm(a.id,Pk(a),b,function(c){return null==c?null:Jk(c)})};w("ee.data.getList",Km);var Lm=function(a,b,c){b=void 0===b?{}:b;return Jm(a,b,c)};
|
|
w("ee.data.listAssets",Lm);var Mm=function(a,b,c){b=void 0===b?{}:b;b=Ok(b);return Jm(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",Mm);var Nm=function(a,b){b=new J(b);return b.handle((new Qg(b.M)).Ud(a||Fj()))};w("ee.data.listBuckets",Nm);var Om=function(a){a=new J(a);return a.handle((new Qg(a.M)).Ud(Fj()).then(Jk))};w("ee.data.getAssetRoots",Om);
|
|
var Pm=function(a,b){var c="projects/"+Gk(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new lf({type:"Folder"});b=new J(b);b.handle(b.assets().create(c,d,{assetId:a}).then(Ik))};w("ee.data.createAssetHome",Pm);
|
|
var Qm=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&&Hk(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 rf(a.tilestoreLocation));
|
|
a.gcsLocation&&!a.cloudStorageLocation&&(a.cloudStorageLocation=a.gcsLocation,delete a.gcsLocation);a.cloudStorageLocation&&(a.cloudStorageLocation=new Ze(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 lf(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 J(e);return e.handle(e.assets().create(d,a,{assetId:b}).then(Ik))};w("ee.data.createAsset",Qm);var Rm=function(a,b,c){return Qm({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",Rm);var Sm=function(a,b,c){a=Hk(a);b=Hk(b);b=new ug({Qb:b});c=new J(c);c.handle(c.assets().move(a,b).then(Ik))};w("ee.data.renameAsset",Sm);
|
|
var Tm=function(a,b,c,d){a=Hk(a);b=Hk(b);c=new df({Qb:b,overwrite:null!=c?c:null});d=new J(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=I(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",u:H(g,f),G:lf});b.call(d,g.then(Ik))};w("ee.data.copyAsset",Tm);var Um=function(a,b){b=new J(b);b.handle(b.assets().delete(Hk(a)))};w("ee.data.deleteAsset",Um);
|
|
var Vm=function(a,b){a=Hk(a);var c=new $f;b=new J(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=I(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+e.m+"/"+a+":getIamPolicy",u:H(g,f),G:Gf});return d.call(b,f.then(Qk))};w("ee.data.getAssetAcl",Vm);
|
|
var Wm=function(a,b,c,d){b=new Ng({Nb:b,updateMask:(c||[]).join(",")});d=new J(d);c=d.handle;var e=d.assets();a=Hk(a);var g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=I(e.j,{body:b,B:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,u:H(g,f),G:lf});return c.call(d,g.then(Ik))};w("ee.data.updateAsset",Wm);
|
|
var Xm=function(a,b,c){a=Hk(a);b=Rk(b);b=new Hg({kb:b});c=new J(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=I(e.j,{body:b,B:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+e.m+"/"+a+":setIamPolicy",u:H(g,f),G:Gf});d.call(c,f)};w("ee.data.setAssetAcl",Xm);
|
|
var Ym=function(a,b,c){var d=Mk(b);b=Sc(d.i()).keys.filter(function(e){return"properties"!==e&&G(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+'"'}));Wm(a,d,b,c)};w("ee.data.setAssetProperties",Ym);
|
|
var Zm=function(a,b){var c=Hk(a);b=new J(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 lf&&g.quota))throw Error(a+" is not a root folder.");g=g.quota;return{asset_count:{usage:Number(g.Pe||0),limit:Number(g.Nf||0)},asset_size:{usage:Number(g.sizeBytes||0),limit:Number(g.Wb||0)}}}))};w("ee.data.getAssetRootQuota",Zm);
|
|
var $m=function(){this.default=this.tag=""};$m.prototype.get=function(){return this.tag};$m.prototype.set=function(a){this.tag=this.validate(a)};$m.prototype.reset=function(){this.tag=this.default};
|
|
$m.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 Vl=function(){return Ol($m).get()};w("ee.data.getWorkloadTag",Vl);var an=function(a){Ol($m).set(a)};w("ee.data.setWorkloadTag",an);
|
|
var bn=function(a){var b=Ol($m);b.default=b.validate(a);Ol($m).set(a)};w("ee.data.setDefaultWorkloadTag",bn);var cn=function(a){a&&(a=Ol($m),a.default=a.validate(""));Ol($m).reset()};w("ee.data.resetWorkloadTag",cn);var vm={Hl:"CANCEL",Kl:"UPDATE"};var N=function(a,b,c){if(!(this instanceof N))return dn(N,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(N,mk);w("ee.ComputedObject",N);N.prototype.Eh=function(){return this.zl};N.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");am(this,a)};
|
|
N.prototype.evaluate=N.prototype.evaluate;N.prototype.V=function(a){return am(this,a)};N.prototype.getInfo=N.prototype.V;N.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};
|
|
N.prototype.na=function(a){if(null===this.I&&null===this.args){a=this.U||a.Ri;if(!a)throw Error("A mapped function's arguments cannot be used in client-side operations");return new Le({Mb:a})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=pk(vl(a,this.args[c])));return"string"===typeof this.I?sk(String(this.I),b):this.I.Ed(a,b)};N.prototype.va=function(a){return(void 0===a?0:a)?jl(this):tl(this)};N.prototype.serialize=N.prototype.va;
|
|
N.prototype.toString=function(){return"ee."+this.name()+"("+ll(this)+")"};w("ee.ComputedObject.prototype.toString",N.prototype.toString);N.prototype.name=function(){return"ComputedObject"};N.prototype.Gg=function(a,b){var c=Array.from(arguments);c[0]=this;a.apply(r,c);return this};N.prototype.aside=N.prototype.Gg;
|
|
var en=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},dn=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var fn={},gn=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}},hn=function(a){return"number"===typeof a||a instanceof N&&"Number"==a.name()},jn=function(a){return"string"===typeof a||a instanceof N&&"String"==a.name()},kn=function(a){return t(a)&&
|
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},ln=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&kn(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var mn=function(){if(!(this instanceof mn))return new mn};x(mn,mk);w("ee.Function",mn);var nn=qc;mn.prototype.call=function(a){return this.apply(on(this,Array.prototype.slice.call(arguments,0)))};mn.prototype.call=mn.prototype.call;mn.prototype.apply=function(a){a=new N(this,pn(this,a));return nn(a,this.Z().returns)};mn.prototype.apply=mn.prototype.apply;
|
|
var qn=function(a,b,c){var d=void 0!==b,e=a.Z();if(ln(c,e,d)){if(c=Rb(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=on(a,d?[b].concat(c):c);return a.apply(c)},pn=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]=nn(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},on=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};
|
|
mn.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(Wa(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("")};mn.prototype.va=function(a){return(void 0===a?0:a)?jl(this):tl(this)};var O=function(a,b){if(void 0===b)return rn(a);if(!(this instanceof O))return dn(O,arguments);this.xb=Sb(b);this.xb.name=a};x(O,mn);w("ee.ApiFunction",O);var P=function(a,b){return mn.prototype.call.apply(rn(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",P);var sn=function(a,b){return rn(a).apply(b)};w("ee.ApiFunction._apply",sn);O.prototype.encode=function(){return this.xb.name};O.prototype.Ed=function(a,b){return sk(this.xb.name,b)};O.prototype.Z=function(){return this.xb};
|
|
var tn=null,un={},wn=function(){vn();return Hb(tn,function(a){return a.Z()})},xn=function(){vn();return Gb(tn,function(a,b){return!un[b]})},rn=function(a){var b=yn(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",rn);
|
|
var yn=function(a){vn();return tn[a]||null},vn=function(a,b){if(tn)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(tn=Hb(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 O(f,g)}),a&&a())};a?Ul(c):c(Ul())}},zn=function(a,b,c,d){vn();var e=d||"";Fb(tn,function(g,f){var l=f.split(".");if(2==l.length&&l[0]==b){l=e+l[1];var m=g.Z();un[f]=!0;var p=!1;m.args.length&&(f=m.args[0].type,p="Object"!=f&&gn(f,c));
|
|
f=p?a.prototype:a;l in f&&!f[l].signature||(f[l]=function(v){return qn(g,p?this:void 0,Array.prototype.slice.call(arguments,0))},f[l].toString=u(g.toString,g,l,p),f[l].signature=m)}})},An=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=Bn(a),d=Wa(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 Ic(Lb(g));
|
|
var l=new Ic(d);if(Kc(l,f).isEmpty())e[d[0]]=b[0];else{b=Lc(f,l);if(0!==b.size)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=Rb(g)}}b=new Ic(Lb(e));c=Lc(new Ic(Va(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},Bn=function(a){var b=Cn,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],t(a)||Dn(),c=a.paramNames,Array.isArray(c)||Dn()):(a=a.toString().replace(En,
|
|
"").match(b),null===a&&Dn(),c=(a[1].split(",")||[]).map(function(d){return d.replace(Fn,"")}));return c},Dn=function(){throw Error("Failed to locate function parameters.");},En=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Cn=/^function[^\(]*\(([^\)]*)\)/m,Fn=/=.*$/;var T=function(a,b,c){N.call(this,a,b,c);Gn()};x(T,N);w("ee.Element",T);var Hn=!1,Gn=function(){Hn||(zn(T,"Element","Element"),Hn=!0)};T.prototype.name=function(){return"Element"};
|
|
T.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=kn(c))a:{b=Lb(c);var d=["properties"];if(xa(b)&&xa(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(kn(c)){b=this;for(var f in c)d=c[f],b=P("Element.set",b,f,d)}else if(c instanceof N&&yn("Element.setMulti"))b=P("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=P("Element.set",b,f,d)}return en(this,b)};T.prototype.set=T.prototype.set;var U=function(a,b,c,d){if(!(this instanceof U))return dn(U,arguments);if(!("type"in a)){var e=R(U,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}In();e=null!=b||null!=c||null!=d;if(a instanceof N&&!(a instanceof U&&a.ob)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");N.call(this,a.I,a.args,a.U)}else{a instanceof U&&(a=a.encode());if(!Jn(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));N.call(this,
|
|
null,null);this.ob=a.type;this.dh=null!=a.coordinates?Sb(a.coordinates):null;this.Dh=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 vi).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(U,N);w("ee.Geometry",U);
|
|
var Kn=!1,In=function(){Kn||(zn(U,"Geometry","Geometry"),Kn=!0)},Ln=function(a,b){if(!(this instanceof Ln))return Mn(Ln,arguments);var c=Nn(Ln,"Point",1,arguments);if(!(c instanceof N)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}U.call(this,c)};x(Ln,U);U.Point=Ln;var On=function(a,b){if(!(this instanceof On))return Mn(On,arguments);U.call(this,Nn(On,"MultiPoint",2,arguments))};x(On,U);U.MultiPoint=On;
|
|
var Pn=function(a,b,c,d){if(!(this instanceof Pn))return Mn(Pn,arguments);var e=Nn(Pn,"Rectangle",2,arguments);if(!(e instanceof N)){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"}U.call(this,e)};x(Pn,U);U.Rectangle=Pn;
|
|
var Qn=function(a,b,c,d){if(!(this instanceof Qn))return Mn(Qn,arguments);var e=R(Qn,arguments);a=e.west;b=e.south;c=e.east;d=e.north;e=[a,b,c,d];if(Rn(e)){var g;return(g=new O("GeometryConstructors.BBox")).call.apply(g,ia(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=Sn(a),c=Sn(c),c<a&&(c+=360));U.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(Qn,Pn);U.BBox=Qn;var Sn=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},Tn=function(a,b,c,d){if(!(this instanceof Tn))return Mn(Tn,arguments);U.call(this,Nn(Tn,"LineString",2,arguments))};x(Tn,U);U.LineString=Tn;
|
|
var Un=function(a,b,c,d){if(!(this instanceof Un))return Mn(Un,arguments);U.call(this,Nn(Un,"LinearRing",2,arguments))};x(Un,U);U.LinearRing=Un;var Vn=function(a,b,c,d){if(!(this instanceof Vn))return Mn(Vn,arguments);U.call(this,Nn(Vn,"MultiLineString",3,arguments))};x(Vn,U);U.MultiLineString=Vn;var Wn=function(a,b,c,d,e){if(!(this instanceof Wn))return Mn(Wn,arguments);U.call(this,Nn(Wn,"Polygon",3,arguments))};x(Wn,U);U.Polygon=Wn;
|
|
var Xn=function(a,b,c,d,e){if(!(this instanceof Xn))return Mn(Xn,arguments);U.call(this,Nn(Xn,"MultiPolygon",4,arguments))};x(Xn,U);U.MultiPolygon=Xn;
|
|
U.prototype.encode=function(a){if(!this.ob){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return N.prototype.encode.call(this,a)}a={type:this.ob};"GeometryCollection"==this.ob?a.geometries=this.Dh:a.coordinates=this.dh;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};
|
|
U.prototype.oe=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};U.prototype.toGeoJSON=U.prototype.oe;U.prototype.yg=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new vi).va(this.oe())};U.prototype.toGeoJSONString=U.prototype.yg;U.prototype.va=function(a){return(void 0===a?0:a)?jl(this):tl(this)};U.prototype.serialize=U.prototype.va;
|
|
U.prototype.toString=function(){return"ee.Geometry("+this.yg()+")"};
|
|
U.prototype.na=function(a){if(!this.ob){if(!a)throw Error("Must specify a serializer when encoding a computed geometry.");return N.prototype.na.call(this,a)}var b={},c="";"GeometryCollection"===this.ob?(b.geometries=this.Dh.map(function(e){return new U(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.dh,c="GeometryConstructors."+this.ob);null!=this.ac&&(b.crs="string"===typeof this.ac?(new O("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 O(c)).apply(b).na(a)};
|
|
var Jn=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(!Jn(b[a]))return!1;return!0}a=a.coordinates;var c=Yn(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)},Yn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=Yn(a[0]),c=1;c<a.length;c++)if(Yn(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},Zn=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},Nn=function(a,b,c,d){a=$n(a,d);if(Rn(a.coordinates)||null!=a.crs||null!=a.maxError)return(new O("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=ao(c,a.coordinates);(b=$a(["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},$n=function(a,b){if(Ya(b,hn))return{coordinates:cb(b)};a=R(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Gb(a,function(c){return null!=c})},Rn=function(a){return Array.isArray(a)?Xa(a,Rn):a instanceof N},ao=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Ya(b,function(e){return"number"===
|
|
typeof e})&&(b=Zn(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(Yn(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},Mn=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};U.prototype.name=function(){return"Geometry"};var V=function(a){if(!(this instanceof V))return dn(V,arguments);if(a instanceof V)return a;bo();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new V(a[0]);N.call(this,new O("Filter.and"),{filters:a})}else if(a instanceof N)N.call(this,a.I,a.args,a.U);else if(void 0===a)N.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(V,N);w("ee.Filter",V);
|
|
var co=!1,bo=function(){co||(zn(V,"Filter","Filter"),co=!0)},eo={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};V.prototype.sc=function(){return P("Filter.not",this)};V.prototype.not=V.prototype.sc;var fo=function(a,b){var c=R(fo,arguments);return P("Filter.equals",c.name,c.value)};V.eq=fo;var go=function(a,b){var c=R(go,arguments);return fo(c.name,c.value).sc()};V.neq=go;
|
|
var ho=function(a,b){var c=R(ho,arguments);return P("Filter.lessThan",c.name,c.value)};V.lt=ho;var io=function(a,b){var c=R(io,arguments);return ho(c.name,c.value).sc()};V.gte=io;var jo=function(a,b){var c=R(jo,arguments);return P("Filter.greaterThan",c.name,c.value)};V.gt=jo;var ko=function(a,b){var c=R(ko,arguments);return jo(c.name,c.value).sc()};V.lte=ko;var lo=function(a){return P("Filter.and",Array.prototype.slice.call(arguments))};V.and=lo;var mo=function(a){return P("Filter.or",Array.prototype.slice.call(arguments))};
|
|
V.or=mo;var no=function(a,b){var c=R(no,arguments);c=P("DateRange",c.start,c.end);return sn("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};V.date=no;var oo=function(a,b,c,d){var e=R(oo,arguments);return sn("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};V.inList=oo;var po=function(a,b){return sn("Filter.intersects",{leftField:".all",rightValue:P("Feature",a),maxError:b})};V.bounds=po;
|
|
V.prototype.name=function(){return"Filter"};var qo=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in eo))throw Error("Unknown filtering operator: "+b);a=P("Filter."+eo[b],a,c);return d?a.sc():a};V.metadata=qo;var W=function(a,b,c){T.call(this,a,b,c);ro()};x(W,T);w("ee.Collection",W);var so=!1,ro=function(){so||(zn(W,"Collection","Collection"),zn(W,"AggregateFeatureCollection","Collection","aggregate_"),so=!0)};W.prototype.filter=function(a){a=R(W.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return en(this,P("Collection.filter",this,a))};W.prototype.filter=W.prototype.filter;
|
|
W.prototype.pf=function(a,b,c){var d=R(W.prototype.pf,arguments);return this.filter(qo(d.name,d.operator,d.value))};W.prototype.filterMetadata=W.prototype.pf;W.prototype.xh=function(a){return this.filter(po(a))};W.prototype.filterBounds=W.prototype.xh;W.prototype.nf=function(a,b){var c=R(W.prototype.nf,arguments);return this.filter(no(c.start,c.end))};W.prototype.filterDate=W.prototype.nf;
|
|
W.prototype.limit=function(a,b,c){var d=R(W.prototype.limit,arguments);return en(this,P("Collection.limit",this,d.max,d.property,d.ascending))};W.prototype.limit=W.prototype.limit;W.prototype.sort=function(a,b){var c=R(W.prototype.sort,arguments);return en(this,P("Collection.limit",this,void 0,c.property,c.ascending))};W.prototype.sort=W.prototype.sort;W.prototype.name=function(){return"Collection"};W.prototype.elementType=function(){return T};
|
|
W.prototype.map=function(a,b){var c=this.elementType();return en(this,P("Collection.map",this,function(d){return a(new c(d))},b))};W.prototype.map=W.prototype.map;W.prototype.Mh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return P("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};W.prototype.iterate=W.prototype.Mh;var X=function(a,b){if(!(this instanceof X))return dn(X,arguments);if(a instanceof X){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)");to();if(a instanceof U||null===a)T.call(this,new O("Feature"),{geometry:a,metadata:b||null});else if(a instanceof N)T.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=Rb(c);c["system:index"]=a.id}T.call(this,new O("Feature"),{geometry:new U(a.geometry),metadata:c})}else T.call(this,new O("Feature"),{geometry:new U(a),metadata:b||null})};x(X,T);w("ee.Feature",X);var uo=!1,to=function(){uo||(zn(X,"Feature","Feature"),uo=!0)};X.prototype.V=function(a){return X.L.V.call(this,a)};X.prototype.getInfo=X.prototype.V;
|
|
X.prototype.S=function(a,b){var c=R(X.prototype.getMap,arguments);return P("Collection",[this]).S(c.visParams,c.callback)};X.prototype.getMapId=X.prototype.S;X.prototype.getMap=X.prototype.S;X.prototype.getMap=X.prototype.getMap;X.prototype.name=function(){return"Feature"};var Cm=function(a){var b={},c=vo(a.element,a);c=wo(c,a,b);b.element=c;return b},Dm=function(a){var b={},c=a.element.map(function(d){d=vo(d,a);return wo(d,a,b)});b.element=c;return b},wo=function(a,b,c){var d={},e=!1,g=["maxDimension","width","height","scale"];Fb(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 Pn)){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 Pn(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 U)){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 Wn(l,null,!1);else if(t(l))f=new U(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}});Pb(d)||(d.input=a,a=g.some(function(f){return f in d})||e?sn("Image.clipToBoundsAndScale",
|
|
d):sn("Image.clip",d));return a},vo=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=xo(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=sn("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 O("Projection")).call(c,d),b.region=new Pn([0,
|
|
0,e[0],e[1]],c,!1))}}else a=sn("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},xo=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Ya(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.");},zo=function(a,b){var c={};b=yo(b,c);Pb(b)||(b.image=a,a=sn("Image.visualize",
|
|
b));c.image=a;return c},yo=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Fb(a,function(e,g){$a(c,g)?d[g]=e:b[g]=e});return d},fm=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=vo(g,e);return g=wo(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 P("Image.addBands",e,g,null,!0)},d.shift())):(d=c(b),a=vo(a,d),a=wo(a,d,{}));return a};var M=function(a){if(!(this instanceof M))return dn(M,arguments);if(a instanceof M)return a;Ao();var b=arguments.length;if(0==b||1==b&&void 0===a)T.call(this,new O("Image.mask"),{image:new M(0),mask:new M(0)});else if(1==b)if(hn(a))T.call(this,new O("Image.constant"),{value:a});else if(jn(a))T.call(this,new O("Image.load"),{id:a});else{if(Array.isArray(a))return Bo(Wa(a,function(d){return new M(d)}));if(a instanceof N)"Array"==a.name()?T.call(this,new O("Image.constant"),{value:a}):T.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(jn(b)&&hn(c))T.call(this,new O("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(M,T);w("ee.Image",M);var Co=!1,Ao=function(){Co||(zn(M,"Image","Image"),Co=!0)};M.prototype.V=function(a){return M.L.V.call(this,a)};
|
|
M.prototype.getInfo=M.prototype.V;M.prototype.S=function(a,b){var c=this,d=R(M.prototype.getMap,arguments),e=zo(this,d.visParams);if(d.callback){var g=d.callback;Xl(e,function(f,l){f=f?Object.assign(f,{image:c}):void 0;g(f,l)})}else return d=Xl(e),d.image=this,d};M.prototype.getMapId=M.prototype.S;M.prototype.getMap=M.prototype.S;M.prototype.getMap=M.prototype.getMap;
|
|
M.prototype.sb=function(a,b){var c=R(M.prototype.sb,arguments),d=c.params?Rb(c.params):{};d.image=this;if(c.callback){var e=c.callback;gm(d,function(g,f){g?e(hm(g)):e(null,f)})}else return hm(gm(d))};M.prototype.getDownloadURL=M.prototype.sb;M.prototype.Kd=function(a,b){var c=R(M.prototype.sb,arguments),d=c.params?Rb(c.params):{},e={},g=vo(this,d);g=wo(g,d,e);d=zo(g,e);return c.callback?(bm(d,c.callback),null):bm(d)};M.prototype.getThumbId=M.prototype.Kd;
|
|
M.prototype.xf=function(a,b){var c=R(M.prototype.xf,arguments);if(c.callback)this.Kd(c.params,function(d,e){var g="";if(void 0===e)try{g=em(d)}catch(f){e=String(f.message)}c.callback(g,e)});else return em(this.Kd(c.params))};M.prototype.getThumbURL=M.prototype.xf;var Do=function(a,b,c){var d=R(Do,arguments);return Bo([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};M.rgb=Do;var Eo=function(a){return Bo(Array.prototype.slice.call(arguments),null)};M.cat=Eo;
|
|
var Bo=function(a,b){if(0==a.length)return P("Image.constant",[]);for(var c=new M(a[0]),d=1;d<a.length;d++)c=P("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
M.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||jn(b[0])||hn(b[0])){for(var d=0;d<b.length;d++)if(!(jn(b[d])||hn(b[d])||b[d]instanceof N))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return sn("Image.select",c)};M.prototype.select=M.prototype.select;
|
|
M.prototype.l=function(a,b){var c=R(M.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 M(g[f])}var l=P("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new mn;c.encode=function(m){return l.encode(m)};c.Ed=function(m,p){return tk(vl(m,l),p)};c.Z=function(){return{name:"",args:Wa(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
M.prototype.expression=M.prototype.l;M.prototype.clip=function(a){try{a=new U(a)}catch(b){}return P("Image.clip",this,a)};M.prototype.clip=M.prototype.clip;M.prototype.ti=function(a){var b=1!=arguments.length||jn(arguments[0])?Array.from(arguments):arguments[0];return P("Image.rename",this,b)};M.prototype.rename=M.prototype.ti;M.prototype.name=function(){return"Image"};var Fo=function(a){if(this instanceof Fo){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Fo)return a}else return dn(Fo,arguments);Go();if(Array.isArray(a))N.call(this,null,null),this.Uc=a;else if(a instanceof N)N.call(this,a.I,a.args,a.U),this.Uc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(Fo,N);w("ee.List",Fo);var Ho=!1,Go=function(){Ho||(zn(Fo,"List","List"),Ho=!0)};
|
|
Fo.prototype.encode=function(a){return Array.isArray(this.Uc)?Wa(this.Uc,function(b){return a(b)}):Fo.L.encode.call(this,a)};Fo.prototype.na=function(a){return Array.isArray(this.Uc)?pk(vl(a,this.Uc)):Fo.L.na.call(this,a)};Fo.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return dn(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)");Io();a instanceof U&&(a=new X(a));a instanceof X&&(a=[a]);if(jn(a)){var c={tableId:a};b&&(c.geometryColumn=b);W.call(this,new O("Collection.loadTable"),c)}else if(Array.isArray(a))W.call(this,new O("Collection"),{features:Wa(a,function(d){return new X(d)})});else if(a instanceof Fo)W.call(this,
|
|
new O("Collection"),{features:a});else if(a&&"object"===typeof a&&"FeatureCollection"===a.type)W.call(this,new O("Collection"),{features:a.features.map(function(d){return new X(d)})});else if(a instanceof N)W.call(this,a.I,a.args,a.U);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(Y,W);w("ee.FeatureCollection",Y);var Jo=!1,Io=function(){Jo||(zn(Y,"FeatureCollection","FeatureCollection"),Jo=!0)};
|
|
Y.prototype.S=function(a,b){var c=R(Y.prototype.S,arguments),d=sn("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)im(g,function(f,l){f?e.callback(jm(f)):e.callback(null,l)});else return jm(im(g))};Y.prototype.getDownloadURL=Y.prototype.sb;
|
|
Y.prototype.select=function(a,b,c){if(jn(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 X};var Z=function(a){if(!(this instanceof Z))return dn(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Ko();a instanceof M&&(a=[a]);if(jn(a))W.call(this,new O("ImageCollection.load"),{id:a});else if(Array.isArray(a))W.call(this,new O("ImageCollection.fromImages"),{images:Wa(a,function(b){return new M(b)})});else if(a instanceof Fo)W.call(this,new O("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof N)W.call(this,a.I,a.args,a.U);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,W);w("ee.ImageCollection",Z);var Lo=!1,Ko=function(){Lo||(zn(Z,"ImageCollection","ImageCollection"),zn(Z,"reduce","ImageCollection"),Lo=!0)};Z.prototype.vf=function(a,b){var c=R(Z.prototype.vf,arguments);return Mo(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.vf;
|
|
Z.prototype.yf=function(a,b){var c=R(Z.prototype.yf,arguments);return Mo(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.yf;
|
|
var Mo=function(a,b,c,d){var e={};a=a.map(function(l){l=vo(l,b.params);return wo(l,b.params,e)});var g={},f=yo(e,g);g.imageCollection=a.map(function(l){f.image=l;return sn("Image.visualize",f)});null!=b.params.dimensions&&(g.dimensions=b.params.dimensions);if(g.format){if(!Xa(c,function(l){return l.toLowerCase()==g.format.toLowerCase()}))throw Error("Invalid format specified.");}else g.format=c[0];c=bm;switch(d){case "video":c=cm;break;case "filmstrip":c=dm}if(b.callback)c(g,function(l,m){var p="";
|
|
if(void 0===m)try{p=em(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return em(c(g))};Z.prototype.S=function(a,b){var c=R(Z.prototype.S,arguments),d=P("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.Hf=function(a,b,c,d){var e=R(Z.prototype.Hf,arguments);return this.map(function(g){return P("Image.linkCollection",g,e.imageCollection,e.linkedBands,e.linkedProperties,e.matchPropertyName)})};Z.prototype.linkCollection=Z.prototype.Hf;Z.prototype.first=function(){return new M(P("Collection.first",this))};Z.prototype.first=Z.prototype.first;
|
|
Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return M};var No=function(a){this.af=a;this.id=null},Po=function(a){var b={element:Oo(a)};Object.assign(b,a);b=Gb(b,function(c){return null!=c});return new No(b)};No.prototype.start=function(a,b){var c=this;B(this.af,"Task config must be specified for tasks to be started.");this.id=this.id||km(1)[0];Pa(this.id,"Failed to obtain task ID.");if(a)Bm(this.id,this.af,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=Bm(this.id,this.af).taskId)?d:null}};
|
|
No.prototype.start=No.prototype.start;var Qo=function(a,b,c,d,e,g,f,l,m,p,v){var z=R(Qo,arguments);z=Ro(z,"ASSET","EXPORT_IMAGE");return Po(z)};w("module$contents$ee$batch_Export.image.toAsset",Qo);var So=function(a,b,c,d,e,g,f,l,m,p,v,z,C,Q,oa){var S=R(So,arguments);S=Ro(S,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Po(S)};w("module$contents$ee$batch_Export.image.toCloudStorage",So);var To=function(a,b,c,d,e,g,f,l,m,p,v,z,C,Q,oa){var S=R(To,arguments);S=Ro(S,"DRIVE","EXPORT_IMAGE");return Po(S)};
|
|
w("module$contents$ee$batch_Export.image.toDrive",To);var Uo=function(a,b,c,d,e,g,f,l,m,p,v,z,C){var Q=R(Uo,arguments);Q=Ro(Q,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Po(Q)};w("module$contents$ee$batch_Export.map.toCloudStorage",Uo);var Vo=function(a,b,c,d,e,g,f){var l=R(Vo,arguments);l=Ro(l,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Po(l)};w("module$contents$ee$batch_Export.table.toCloudStorage",Vo);
|
|
var Wo=function(a,b,c,d,e,g,f){var l=R(Wo,arguments);l.type="EXPORT_FEATURES";l=Ro(l,"DRIVE","EXPORT_FEATURES");return Po(l)};w("module$contents$ee$batch_Export.table.toDrive",Wo);var Xo=function(a,b,c,d){var e=R(Xo,arguments);e=Ro(e,"ASSET","EXPORT_FEATURES");return Po(e)};w("module$contents$ee$batch_Export.table.toAsset",Xo);var Yo=function(a,b,c,d,e,g,f){var l=R(Yo,arguments);l=Ro(l,"FEATURE_VIEW","EXPORT_FEATURES");return Po(l)};w("module$contents$ee$batch_Export.table.toFeatureView",Yo);
|
|
var Zo=function(a,b,c,d,e,g,f){var l=R(Zo,arguments);l=Ro(l,"BIGQUERY","EXPORT_FEATURES");return Po(l)};w("module$contents$ee$batch_Export.table.toBigQuery",Zo);var $o=function(a,b,c,d,e,g,f,l,m,p,v,z){var C=R($o,arguments);C=Ro(C,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Po(C)};w("module$contents$ee$batch_Export.video.toCloudStorage",$o);var ap=function(a,b,c,d,e,g,f,l,m,p,v,z){var C=R(ap,arguments);C=Ro(C,"DRIVE","EXPORT_VIDEO");return Po(C)};
|
|
w("module$contents$ee$batch_Export.video.toDrive",ap);var bp=function(a,b,c,d,e,g,f,l,m,p,v,z,C,Q,oa,S,Aa,Jb,ar,br){var yj=R(bp,arguments);yj=Ro(yj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Po(yj)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",bp);var cp=function(a,b,c){var d=R(cp,arguments);d=Ro(d,"ASSET","EXPORT_CLASSIFIER");return Po(d)};w("module$contents$ee$batch_Export.classifier.toAsset",cp);
|
|
var Oo=function(a){var b=function(d){return d in a},c=dp.find(b);B(1===Za(dp,b),'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof M||b instanceof Y||b instanceof Z||b instanceof T||b instanceof N))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},Ro=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=ep(e,a),delete e.formatOptions,Object.assign(e,a));e=fp(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
|
|
delete e.crsTransform);break;case "EXPORT_TILES":b=fp(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=fp(e,b);break;case "EXPORT_VIDEO":e=gp(e);e=fp(e,b);null!=e.crsTransform&&
|
|
(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=gp(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=fp(e,b);break;case "EXPORT_CLASSIFIER":e=fp(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof U)b=b.oe();else if("string"===typeof b)try{b=Ra(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 Tn(b)}catch(g){try{new Wn(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},fp=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=wa(a.folder);if(!$a(["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},hp={GEO_TIFF:["cloudOptimized","fileDimensions","noData","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
|
|
ip={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},gp=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},ep=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=ip[b];for(var d=hp[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(!$a(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},
|
|
dp=["image","collection","classifier"];var jp=function(a){if(!(this instanceof jp))return dn(jp,arguments);if(a instanceof jp)return a;kp();if("number"===typeof a)N.call(this,null,null),this.Wc=a;else if(a instanceof N)N.call(this,a.I,a.args,a.U),this.Wc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(jp,N);w("ee.Number",jp);var lp=!1,kp=function(){lp||(zn(jp,"Number","Number"),lp=!0)};jp.prototype.encode=function(a){return"number"===typeof this.Wc?this.Wc:jp.L.encode.call(this,a)};
|
|
jp.prototype.na=function(a){return"number"===typeof this.Wc?pk(vl(a,this.Wc)):jp.L.na.call(this,a)};jp.prototype.name=function(){return"Number"};var mp=function(a){if(!(this instanceof mp))return dn(mp,arguments);if(a instanceof mp)return a;np();if("string"===typeof a)N.call(this,null,null),this.jd=a;else if(a instanceof N)this.jd=null,a.I&&"String"==a.I.Z().returns?N.call(this,a.I,a.args,a.U):N.call(this,new O("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(mp,N);w("ee.String",mp);var op=!1,np=function(){op||(zn(mp,"String","String"),op=!0)};
|
|
mp.prototype.encode=function(a){return"string"===typeof this.jd?this.jd:mp.L.encode.call(this,a)};mp.prototype.na=function(a){return"string"===typeof this.jd?pk(vl(a,this.jd)):mp.L.na.call(this,a)};mp.prototype.name=function(){return"String"};var pp=function(a,b){if(!(this instanceof pp))return dn(pp,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var g=d[e],f=g.type;c.push(qp(f in fn?fn[f]:null,g.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.xb=rp(a,c,b);this.Rg=b.apply(null,c)};x(pp,mn);w("ee.CustomFunction",pp);pp.prototype.encode=function(a){return{type:"Function",argumentNames:Wa(this.xb.args,function(b){return b.name}),body:a(this.Rg)}};
|
|
pp.prototype.na=function(a){return uk(this.xb.args.map(function(b){return b.name}),vl(a,this.Rg))};pp.prototype.Ed=function(a,b){return tk(vl(a,this),b)};pp.prototype.Z=function(){return this.xb};
|
|
var qp=function(a,b){a=a||Object;if(!(a.prototype instanceof N))if(a&&a!=Object)if(a==String)a=mp;else if(a==Number)a=jp;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=N;var c=function(d){this.args=this.I=null;this.U=d};c.prototype=a.prototype;return new c(b)},sp=function(a,b){b={name:"",returns:"Object",args:Wa(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof N?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new pp(b,a)},rp=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(z,C){return z+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))}(nl(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 tp=function(a,b){if(!(this instanceof tp))return dn(tp,arguments);if(a instanceof tp)return a;up();var c=R(tp,arguments);a=c.date;c=c.tz;var d=new O("Date"),e={},g=null;if(jn(a)){if(e.value=a,c)if(jn(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(hn(a))e.value=a;else if(ya(a))e.value=Math.floor(a.getTime());else if(a instanceof N)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);N.call(this,d,e,g)};x(tp,N);w("ee.Date",tp);var vp=!1,up=function(){vp||(zn(tp,"Date","Date"),vp=!0)};tp.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var xp=function(a){return wp(JSON.parse(a))};w("ee.Deserializer.fromJSON",xp);var wp=function(a){if("result"in a&&"values"in a)return yp(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]=zp(g,b)}a=a.value}return zp(a,b)};w("ee.Deserializer.decode",wp);
|
|
var zp=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Wa(a,function(e){return zp(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 qp(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
a);return new tp(a/1E3);case "Bytes":return Ap(new Le({qb:a}),a);case "Invocation":return c="functionName"in a?rn(a.functionName):zp(a["function"],b),a=Hb(a.arguments,function(e){return zp(e,b)}),Bp(c,a);case "Dictionary":return Hb(a.value,function(e){return zp(e,b)});case "Function":var d=zp(a.body,b);a={name:"",args:Wa(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new pp(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new U(a);
|
|
case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},Ap=function(a,b){var c=function(){};q(c,mk);c.prototype.encode=function(){return b};c.prototype.na=function(){return a};return new c},Bp=function(a,b){if(a instanceof mn)return a.apply(b);if(a instanceof N){var c=function(){return mn.apply(this,arguments)||this};q(c,mn);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Ed=function(d,e){return tk(vl(d,a),
|
|
e)};return new N(new c,b)}throw Error("Invalid function value");},Cp=function(a){return yp(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",Cp);
|
|
var yp=function(a){var b=Wc(af,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=Hb(f.Ga.values,e);else if(null!==f.Mb)f=qp(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"):rn(l.functionName);l=Hb(l.arguments,e);f=Bp(f,l)}else f=null!==f.qb?Ap(new Le({qb:f.qb}),f.qb):null!==
|
|
f.Wa?Ap(new Le({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 pp(f,function(){return l})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",yp);var Dp=function(a){if(!(this instanceof Dp))return dn(Dp,arguments);if(a instanceof Dp)return a;Ep();kn(a)?(N.call(this,null,null),this.Kc=a):(a instanceof N&&a.I&&"Dictionary"==a.I.Z().returns?N.call(this,a.I,a.args,a.U):N.call(this,new O("Dictionary"),{input:a},null),this.Kc=null)};x(Dp,N);w("ee.Dictionary",Dp);var Fp=!1,Ep=function(){Fp||(zn(Dp,"Dictionary","Dictionary"),Fp=!0)};Dp.prototype.encode=function(a){return null!==this.Kc?a(this.Kc):Dp.L.encode.call(this,a)};
|
|
Dp.prototype.na=function(a){return null!==this.Kc?pk(vl(a,this.Kc)):Dp.L.na.call(this,a)};Dp.prototype.name=function(){return"Dictionary"};var Gp={};w("ee.Terrain",Gp);Gp.Df=!1;Gp.initialize=function(){Gp.Df||(zn(Gp,"Terrain","Terrain"),Gp.Df=!0)};Gp.reset=function(){An(Gp);Gp.Df=!1};var Mp=function(a,b,c,d,e,g){if("ready"!=Hp||a||b){var f=null!=c;if(d)if(f)Ip.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Hp&&f)Jp.push(c);else if(Hp="loading",Dj(a,b,e,g),f)Jp.push(c),vn(Kp,Lp);else try{vn(),Kp()}catch(l){throw Lp(l),l;}}else c&&c()};w("ee.initialize",Mp);
|
|
var Pp=function(){Hp="not_ready";bk=ak=Nj=null;Zj=!1;tn=null;un={};An(tp);vp=!1;An(Dp);Fp=!1;An(T);Hn=!1;An(M);Co=!1;An(X);uo=!1;An(W);so=!1;An(Z);Lo=!1;An(Y);Jo=!1;An(V);co=!1;An(U);Kn=!1;An(Fo);Ho=!1;An(jp);lp=!1;An(mp);op=!1;Gp.reset();for(var a=r.ee,b=0;b<Np.length;b++){var c=Np[b];An(a[c]);delete a[c]}Np=[];fn=a;a=Op;for(var d in a)delete a[d]};w("ee.reset",Pp);var Qp={Il:"not_ready",LOADING:"loading",Jl:"ready"};w("ee.InitState",Qp);w("ee.InitState.NOT_READY","not_ready");
|
|
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var Hp="not_ready",Jp=[],Ip=[];w("ee.TILE_SIZE",256);var Np=[],Op={};w("ee.Algorithms",Op);var Rp=function(a,b){"string"===typeof a&&(a=new O(a));return mn.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",Rp);var Sp=function(a,b){"string"===typeof a&&(a=new O(a));return a.apply(b)};w("ee.apply",Sp);
|
|
var Kp=function(){if("loading"==Hp){try{up();Ep();Gn();Ao();to();ro();Ko();Io();bo();In();Go();kp();np();Gp.initialize();var a=wn(),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]=Tp(l),Np.push(l),a[l]?(f[l].signature=a[l],f[l].signature.isConstructor=!0,un[l]=!0):f[l].signature={});fn=f;Up()}catch(m){Lp(m);return}Hp="ready";for(Ip=[];0<Jp.length;)Jp.shift()()}},
|
|
Lp=function(a){if("loading"==Hp)for(Hp="not_ready",Jp=[];0<Ip.length;)Ip.shift()(a)},Up=function(){var a=xn();Lb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=Op;for(e.signature={};1<b.length;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=eb(b,1)}g=function(f){return qn(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=u(c.toString,c);e[b[0]]=g}})},Tp=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 dn(d,e);d=yn(a);var f=!(e[0]instanceof N),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=ln(e,d.Z())?e[0]:on(d,e),N.call(this,d,pn(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];N.call(this,e.I,e.args,e.U)}};x(b,N);b.prototype.name=function(){return a};zn(b,a,a);return b};
|
|
nn=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new M(a);case "Feature":return a instanceof W?P("Feature",P("Collection.geometry",a)):new X(a);case "Element":if(a instanceof T)return a;if(a instanceof U)return new X(a);if(a instanceof N)return new T(a.I,a.args,a.U);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?P("Collection.geometry",a):new U(a);case "FeatureCollection":case "Collection":return a instanceof W?
|
|
a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new V(a);case "Algorithm":if("string"===typeof a)return new O(a);if("function"===typeof a){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return sp(a,c)}if(a instanceof mk)return a;throw Error("Argument is not a function: "+a);case "String":return jn(a)||a instanceof mp||a instanceof N?new mp(a):a;case "Dictionary":return kn(a)?a:new Dp(a);case "List":return new Fo(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new jp(a);
|
|
default:if(b in c){d=yn(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 Vp=function(a,b,c){Nc.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.Ah=new zc;this.zh=new zc};q(Vp,Nc);Vp.prototype.getTile=function(a,b){var c=Oc(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=lh("DIV");Wp(this,b,a,c,d);Xp(this);return d};
|
|
var Wp=function(a,b,c,d,e){var g=Zi(Xi);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.Ah.set(c,f),this.zh.set(c,e),ab(this.Ab,d),Xp(this);else throw this.vg.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},Xp=function(a){a.dispatchEvent(new Pc(a.Ab.length))};Vp.prototype.J=function(){this.zh=this.Ah=null;Nc.prototype.J.call(this)};
|
|
w("ee.FloatTileOverlay",Vp);var Yp=function(){this.je=new Map};Yp.prototype.clear=function(){this.je.clear()};var Zp=function(a,b){a.je.has(b)||a.je.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.je.get(b)};var $p=function(a){y.call(this);this.Tb=a;this.K={}};x($p,y);var aq=[];$p.prototype.Xa=function(a,b,c,d){Array.isArray(b)||(b&&(aq[0]=b.toString()),b=aq);for(var e=0;e<b.length;e++){var g=bc(a,b[e],c||this.handleEvent,d||!1,this.Tb||this);if(!g)break;this.K[g.key]=g}return this};$p.prototype.Vc=function(a,b,c,d){return bq(this,a,b,c,d)};
|
|
var bq=function(a,b,c,d,e,g){if(Array.isArray(c))for(var f=0;f<c.length;f++)bq(a,b,c[f],d,e,g);else{b=ac(b,c,d||a.handleEvent,e,g||a.Tb||a);if(!b)return a;a.K[b.key]=b}return a};$p.prototype.se=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.se(a,b[g],c,d,e);else c=c||this.handleEvent,d=t(d)?!!d.capture:!!d,e=e||this.Tb||this,c=cc(c),d=!!d,b=Bb(a)?a.Mc(b,c,d,e):a?(a=ec(a))?a.Mc(b,c,d,e):null:null,b&&(jc(b),delete this.K[b.key])};
|
|
$p.prototype.ed=function(){Fb(this.K,function(a,b){this.K.hasOwnProperty(b)&&jc(a)},this);this.K={}};$p.prototype.J=function(){$p.L.J.call(this);this.ed()};$p.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var dq=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Ob[a.name]):(this.code=a=Oa(a.code),this.name=cq(a));Ia.call(this,ud("%s %s",this.name,b))};x(dq,Ia);
|
|
var cq=function(a){var b=Nb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},eq={},Ob=(eq.AbortError=3,eq.EncodingError=5,eq.InvalidModificationError=9,eq.InvalidStateError=7,eq.NotFoundError=1,eq.NotReadableError=4,eq.NoModificationAllowedError=6,eq.PathExistsError=12,eq.QuotaExceededError=10,eq.SecurityError=2,eq.SyntaxError=8,eq.TypeMismatchError=11,eq);var fq=function(a,b){A.call(this,a.type,b);this.Ja=a};x(fq,A);var gq=function(){D.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(gq,D);h=gq.prototype;h.abort=function(){try{this.ca.abort()}catch(a){throw new dq(a,"aborting read");}};h.ub=function(){return this.ca.readyState};h.getError=function(){return this.ca.error&&new dq(this.ca.error,"reading file")};
|
|
h.nc=function(a){this.dispatchEvent(new fq(a,this))};h.J=function(){gq.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 hq=function(a,b){B(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 iq=function(a,b){D.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 Yp(a.getUniqueId());this.zb=new zc;this.yb=0;this.ug=a;this.jb=new $p(this);this.radius=0};q(iq,D);h=iq.prototype;h.Oe=function(a){return bc(this,"tile-load",a)};h.bg=function(a){jc(a)};
|
|
h.Nc=function(){return jq(this,"throttled")+jq(this,"loading")+jq(this,"new")};h.setOpacity=function(a){this.opacity=a;this.zb.forEach(function(b){hq(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.ug.getUniqueId();a=[a,e].join("-");b=this.fh(d,b,c,a);b.tileSize=this.tileSize;hq(b.la,this.opacity);this.zb.set(a,b);kq(this,b);this.dispatchEvent(new lq(this.Nc()));this.ug.If(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(),Ha(b))};
|
|
var kq=function(a,b){a.jb.Xa(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.gl,d=(new Date).getTime();Zp(this.ie,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new mq(this.Nc()));break;case "throttled":Zp(this.ie,b.zoom).throttleCount++;this.dispatchEvent(new nq(b.Ca));break;case "failed":Zp(this.ie,b.zoom).errorCount++;this.dispatchEvent(new oq(b.Ca,b.Uk));break;case "aborted":this.dispatchEvent(new pq(this.Nc()))}})};
|
|
iq.prototype.J=function(){D.prototype.J.call(this);this.zb.forEach(Ha);this.zb.clear();this.zb=null;Ha(this.jb);this.ug=this.jb=null};var jq=function(a,b){return Za(a.zb.aa(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",iq);iq.prototype.removeTileCallback=iq.prototype.bg;iq.prototype.addTileCallback=iq.prototype.Oe;var mq=function(){A.call(this,"tile-load")};q(mq,A);var lq=function(){A.call(this,"tile-start")};q(lq,A);var nq=function(){A.call(this,"tile-throttle")};q(nq,A);
|
|
var oq=function(a,b){A.call(this,"tile-fail");this.errorMessage=b};q(oq,A);var pq=function(){A.call(this,"tile-abort")};q(pq,A);var qq=function(a,b,c,d){D.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.wi=0;this.Ff=!1};q(qq,D);qq.prototype.getDiv=function(){return this.la};
|
|
var sq=function(a){if(!a.Ff&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");rq(a,"loading");a.gl=(new Date).getTime();a.Za=new $i;a.Za.xc="blob";a.Za.Xa("complete",function(){var b=kj(a.Za),c=a.Za.getStatus();429==c&&rq(a,"throttled");if(Ti(c)){var d={};Fb(lj(a.Za),function(g,f){d[f.toLowerCase()]=g});a.Al=d;a.Di=b;a.Lc()}else if(b){var e=new gq;e.Xa("loadend",function(){a.gd(e.ca.result)});e.readAsText(b)}else a.gd("Failed to load tile.")},
|
|
!1);a.Za.Vc("ready",Fa(Ha,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=qq.prototype;h.Lc=function(){this.de(this);rq(this,"loaded")};h.Hc=function(){Ha(this.Za)};
|
|
h.gd=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.wi>=this.jl?(this.Uk=b(a),rq(this,"failed")):(this.Hc(),setTimeout(u(function(){this.Sa||(this.Ff=!0,sq(this),this.Ff=!1)},this),1E3*Math.pow(2,this.wi++)))};h.abort=function(){this.Hc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&rq(this,this.ke in tq?"removed":"aborted")};h.getStatus=function(){return this.ke};var rq=function(a,b){a.ke=b;a.dispatchEvent("status-changed")};
|
|
qq.prototype.J=function(){D.prototype.J.call(this);this.Hc();this.la.remove();this.de=null};var tq={aborted:!0,failed:!0,loaded:!0,removed:!0};var uq=function(){y.call(this)};q(uq,y);var vq=function(a,b){iq.call(this,a,b);this.Tg=new zc;this.rh=new zc};q(vq,iq);vq.prototype.fh=function(a,b,c,d){var e=new wq(a,b,c,d);this.jb.Xa(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Tg.set(a,new Float32Array(e.yd)),this.rh.set(a,e.la))});return e};vq.prototype.J=function(){iq.prototype.J.call(this);this.rh=this.Tg=null};w("ee.layers.BinaryOverlay",vq);var wq=function(a,b,c,d){qq.call(this,a,b,c,d)};q(wq,qq);
|
|
wq.prototype.Lc=function(){var a=new gq;a.Xa("loadend",function(){this.yd=a.ca.result;qq.prototype.Lc.call(this)},void 0,this);a.readAsArrayBuffer(this.Di)};var xq=function(a){D.call(this);this.Rc={};this.Qc={};this.Tb=new $p(this);this.X=a;this.Ye=!1};x(xq,D);var yq=["load","abort","error"],zq=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Ye=!1,a.Rc[b]={src:c,eh:null}},Aq=function(a,b){delete a.Rc[b];var c=a.Qc[b];c&&(delete a.Qc[b],a.Tb.se(c,yq,a.ei))};
|
|
xq.prototype.start=function(){var a=this.Rc;Lb(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 qh(ph(d)):Ja||(Ja=new qh)).Sk("IMG")}else d=new Image;c.eh&&(d.crossOrigin=c.eh);this.Tb.Xa(d,yq,this.ei);this.Qc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
xq.prototype.ei=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));Aq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Sa&&Pb(this.Qc)&&Pb(this.Rc)&&!this.Ye&&(this.Ye=!0,this.dispatchEvent("complete"))}};xq.prototype.J=function(){delete this.Rc;delete this.Qc;Ha(this.Tb);xq.L.J.call(this)};var Bq=function(a,b){iq.call(this,a,b)};q(Bq,iq);Bq.prototype.fh=function(a,b,c,d){return new Cq(a,b,c,d)};w("ee.layers.ImageOverlay",Bq);var Cq=function(a,b,c,d){qq.call(this,a,b,c,d);this.de=Dq;this.Ih=this.ga=this.Qd=null;this.Xc=""};q(Cq,qq);
|
|
Cq.prototype.Lc=function(){try{var a=zj(this.Di);this.Xc=kd(a);var b=this.Xc!==ld.toString()?this.Xc:this.Ca}catch(c){b=this.Ca}this.ga=new xq;zq(this.ga,this.la.id+"-image",b);this.Ih=ac(this.ga,Eq,function(c){"load"==c.type?(this.Qd=c.target,qq.prototype.Lc.call(this)):this.gd()},void 0,this);this.ga.start()};Cq.prototype.Hc=function(){qq.prototype.Hc.call(this);this.ga&&(jc(this.Ih),Ha(this.ga))};Cq.prototype.J=function(){qq.prototype.J.call(this);this.Xc&&URL.revokeObjectURL(this.Xc)};
|
|
var Dq=function(a){a.la.appendChild(a.Qd)},Eq=["load","abort","error"];var Fq=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 Gq=function(a,b,c,d){y.call(this);this.Sg=a;this.Zb=b;this.pg=d||"";this.Xd=c};q(Gq,uq);Gq.prototype.If=function(a){if(a.zoom<=this.Xd)a.Ca=this.Ld(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.Ld(c,a.zoom-b);a.de=Fa(Hq,this.Xd)}var d=u(a.gd,a);a.gd=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?rq(a,"loaded"):d(e)},a);sq(a)};
|
|
Gq.prototype.getUniqueId=function(){return[this.Sg,this.Zb,this.Xd,this.pg].join("-")};Gq.prototype.Ld=function(a,b){a=Fq("https://storage.googleapis.com",this.Sg,this.Zb,String(b),String(a.x),String(a.y));this.pg&&(a+=this.pg);return a};
|
|
var Hq=function(a,b){if(!b.Qd)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.Qd,c/a*(b.rb.x%a),c/a*(b.rb.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",Gq);var Iq=function(){this.La=[];this.Qa=[]};h=Iq.prototype;h.enqueue=function(a){this.Qa.push(a)};h.Jc=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 $a(this.La,a)||$a(this.Qa,a)};
|
|
h.remove=function(a){var b=this.La;var c=Ta(b,a);0<=c?(bb(b,c),b=!0):b=!1;return b||ab(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 Jq=function(a,b){y.call(this);this.Wh=a||0;this.Wd=b||10;if(this.Wh>this.Wd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ta=new Iq;this.vb=new Ic;this.delay=0;this.Gf=null;this.rd()};x(Jq,y);Jq.prototype.Oc=function(){var a=Date.now();if(!(null!=this.Gf&&a-this.Gf<this.delay)){for(var b;0<this.Ta.R()&&(b=this.Ta.Jc(),!this.Sf(b));)this.rd();!b&&this.R()<this.Wd&&(b=this.bf());b&&(this.Gf=a,this.vb.add(b));return b}};
|
|
var Kq=function(a,b){return a.vb.remove(b)?(a.Ne(b),!0):!1};h=Jq.prototype;h.Ne=function(a){this.vb.remove(a);this.Sf(a)&&this.R()<this.Wd?this.Ta.enqueue(a):this.Cd(a)};h.rd=function(){for(var a=this.Ta;this.R()<this.Wh;)a.enqueue(this.bf());for(;this.R()>this.Wd&&0<this.Ta.R();)this.Cd(a.Jc())};h.bf=function(){return{}};h.Cd=function(a){if("function"==typeof a.Ra)a.Ra();else for(var b in a)a[b]=null};h.Sf=function(a){return"function"==typeof a.Pk?a.Pk():!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(){Jq.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.Cd(a.Jc());delete this.Ta};var Lq=function(a,b){this.Nh=a;this.ue=b};Lq.prototype.getKey=function(){return this.Nh};Lq.prototype.clone=function(){return new Lq(this.Nh,this.ue)};var Mq=function(a){this.Aa=[];if(a)a:{if(a instanceof Mq){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 Lq(b[d],a[d]));break a}}else b=Lb(a),a=Kb(a);for(c=0;c<b.length;c++)Nq(this,b[c],a[c])}},Nq=function(a,b,c){var d=a.Aa;d.push(new Lq(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=Mq.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.Ic=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 Mq(this)};h.R=function(){return this.Aa.length};h.isEmpty=function(){return 0===this.Aa.length};h.clear=function(){this.Aa.length=0};var Oq=function(){Mq.apply(this,arguments)};q(Oq,Mq);Oq.prototype.enqueue=function(a,b){Nq(this,a,b)};Oq.prototype.Jc=function(){return this.remove()};var Pq=function(a,b){this.ph=void 0;this.ge=new Oq;Jq.call(this,a,b)};x(Pq,Jq);h=Pq.prototype;h.Oc=function(a,b){if(!a)return(a=Pq.L.Oc.call(this))&&this.delay&&(this.ph=r.setTimeout(u(this.Nd,this),this.delay)),a;this.ge.enqueue(void 0!==b?b:100,a);this.Nd()};h.Nd=function(){for(var a=this.ge;0<a.R();){var b=this.Oc();if(b)a.Jc().apply(this,[b]);else break}};h.Ne=function(a){Pq.L.Ne.call(this,a);this.Nd()};h.rd=function(){Pq.L.rd.call(this);this.Nd()};
|
|
h.J=function(){Pq.L.J.call(this);r.clearTimeout(this.ph);this.ge.clear();this.ge=null};var Qq=function(a,b){y.call(this);this.Jf=a;this.ua=b||null};q(Qq,uq);Qq.prototype.If=function(a,b){var c=bc(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.Al["x-earth-engine-computation-profile"];this.ua&&e&&this.ua.Mk(a.la.id,e);break;case "failed":case "aborted":this.ua&&""!==a.la.id&&this.ua.sl(a.la.id),jc(c)}},void 0,this);a.Ca=this.Ld(a.rb,a.zoom);var d=u(this.zf,this,a);Rq().Oc(d,b)};Qq.prototype.getUniqueId=function(){return this.Jf.mapid+"-"+this.Jf.token};
|
|
Qq.prototype.zf=function(a,b){var c=Rq();if(a.Sa||"aborted"==a.getStatus())Kq(c,b);else{var d=bc(a,"status-changed",function(){a.ke in tq&&(jc(d),Kq(c,b))});sq(a)}};Qq.prototype.Ld=function(a,b){a=Yl(this.Jf,a.x,a.y,b);return this.ua&&this.ua.isEnabled()?a+"&profiling=1":a};var Rq=function(){Sq||(Sq=new Pq(0,4));return Sq};w("ee.layers.EarthEngineTileSource",Qq);var Sq=null;var Tq=function(a){y.call(this);this.Mi=a};q(Tq,uq);Tq.prototype.If=function(a){a.Ca=this.Mi.formatTileUrl(a.rb.x,a.rb.y,a.zoom);sq(a)};Tq.prototype.getUniqueId=function(){return this.Mi.token};w("ee.layers.FeatureViewTileSource",Tq);var Vq=function(){D.call(this);this.pe=new Uq(0,60);this.wc=new zc};q(Vq,D);Vq.prototype.send=function(a,b,c,d,e){if(this.wc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Wq(a,b,d,u(this.si,this),void 0!==e?e:1);this.wc.set(a,b);a=u(this.zf,this,b);this.pe.Oc(a,c);return b};Vq.prototype.abort=function(a){if(a=this.wc.get(a))a.kc||(a.kc=!0,a.Ja=new A("abort")),this.si(a)};
|
|
Vq.prototype.zf=function(a,b){if(a.ga||a.kc)Xq(this,b);else if(a.Oi=b,b.setActive(!0),b=new xq,a.ga=b,!a.retry())throw Error("Cannot dispatch first request!");};Vq.prototype.si=function(a){this.wc.remove(a.getId());a.ga&&(Xq(this,a.Oi),a.ga.Ra());a.Af&&a.Af(a.Ja,a.ni)};var Xq=function(a,b){b.setActive(!1);if(!Kq(a.pe,b))throw Error("Object not released");};Vq.prototype.J=function(){D.prototype.J.call(this);this.pe.Ra();this.pe=null;var a=this.wc;Ua(a.aa(),function(b){b.Ra()});a.clear();this.wc=null};
|
|
w("ee.MapTileManager",Vq);var Wq=function(a,b,c,d,e){y.call(this);this.fa=a;this.Gl=b;this.kl=void 0!==e?e:1;this.Af=c;this.bc=d};q(Wq,y);h=Wq.prototype;h.getId=function(){return this.fa};h.getUrl=function(){return this.Gl};h.Zk=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(){y.prototype.J.call(this);delete this.Af;delete this.bc};
|
|
h.retry=function(){if(this.Kg>this.kl)return!1;this.Kg++;Aq(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||(zq(this.ga,this.fa,d),ac(this.ga,Yq,u(this.Zk,this)),this.ga.start())},this),b=this.getUrl();if(Ld(b).Ba.Pb("profiling")){var c=new $i;c.xc="blob";c.Xa("complete",u(function(){this.ni=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=kd(zj(kj(c)));var e=d!==ld.toString()}catch(g){}a(e?d:b)},this));c.Vc("ready",u(c.Ra,c));c.send(b,"GET")}else a(b)}};h.Kg=0;h.kc=!1;h.ga=null;
|
|
h.Oi=null;h.Ja=null;h.ni=null;var Yq=["load","abort","error"],Zq=function(){y.call(this);this.Ea=!1};q(Zq,y);Zq.prototype.setActive=function(a){this.Ea=a};Zq.prototype.isActive=function(){return this.Ea};var Uq=function(a,b){Pq.call(this,a,b)};q(Uq,Pq);Uq.prototype.bf=function(){return new Zq};Uq.prototype.Cd=function(a){a.Ra()};Uq.prototype.Sf=function(a){return!a.Sa&&!a.isActive()};var $q=function(a,b,c,d,e){Nc.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.wg=new Ic;this.Tf=1;this.ua=e||null};q($q,Nc);h=$q.prototype;h.Oe=function(a){return bc(this,"tileevent",a)};h.bg=function(a){jc(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=Oc(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=lh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Ab.push(b);Ol(Vq).send(b,a,d,u(this.Yk,this,c,b));Xp(this);return c};h.Nc=function(){return this.Ab.length};
|
|
h.releaseTile=function(a){Ol(Vq).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.wg.remove(b);""!==a.id&&(this.vg.remove(a.id),this.ua&&this.ua.sl(a.id))};h.setOpacity=function(a){this.Tf=a;var b=this.wg.Da();uc(b,function(c){hq(c,a)})};
|
|
h.Yk=function(a,b,c,d){"error"==c.type?(ab(this.Ab,b),this.vg.add(b),this.dispatchEvent(c)):(ab(this.Ab,b),c.target&&"load"==c.type&&(c=c.target,this.wg.add(c),1!=this.Tf&&hq(c,this.Tf),a.appendChild(c)),Xp(this));this.ua&&null!==d&&this.ua.Mk(b,d)};w("ee.MapLayerOverlay",$q);$q.prototype.removeTileCallback=$q.prototype.bg;$q.prototype.addTileCallback=$q.prototype.Oe;$q.prototype.getTile=$q.prototype.getTile;$q.prototype.setOpacity=$q.prototype.setOpacity;$q.prototype.releaseTile=$q.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.video.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.table.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.image.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.map.toCloudStorage ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.getTableDownloadId ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.makeTableDownloadUrl ee.data.getAssetRoots ee.data.getAsset ee.data.setWorkloadTag ee.data.listFeatures ee.data.createAssetHome ee.data.getOperation ee.data.setDefaultWorkloadTag ee.data.authenticateViaPrivateKey ee.data.newTaskId ee.data.getInfo ee.data.resetWorkloadTag ee.data.createAsset ee.data.computeValue ee.data.updateAsset ee.data.getThumbId ee.data.cancelTask ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.getTaskStatus ee.data.startIngestion ee.data.makeThumbUrl ee.data.createFolder ee.data.setAssetAcl ee.data.updateTask ee.data.startProcessing ee.data.getList ee.data.listAssets ee.data.renameAsset ee.data.authenticateViaOauth ee.data.getMapId ee.data.setAssetProperties ee.data.getTaskList ee.data.copyAsset ee.data.getAssetRootQuota ee.data.authenticate ee.data.getTileUrl ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.listImages ee.data.deleteAsset ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.getWorkloadTag ee.data.listOperations ee.data.listBuckets ee.data.getAssetAcl ee.data.cancelOperation ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Dictionary ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.Filter.or ee.Filter.prototype.not ee.Filter.lte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Filter.metadata ee.Filter.and ee.Filter.lt ee.Filter.gt ee.Filter.neq ee.Filter.inList ee.Filter.gte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.Rectangle ee.Geometry ee.Geometry.Polygon ee.Geometry.MultiPolygon ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.LineString ee.Geometry.MultiPoint ee.Geometry.prototype.serialize ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getMap ee.Image.prototype.select ee.Image.prototype.clip ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.rgb ee.Image.cat ee.Image.prototype.expression ee.Image ee.Image.prototype.rename ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
c=[["name","var_args"],["name"],["name","namedArgs"],"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices"],"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),["classifier","opt_description",
|
|
"opt_assetId"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),
|
|
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "),"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "),
|
|
"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices".split(" "),"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris".split(" "),
|
|
["start","opt_end"],["algorithm","opt_first"],["filter"],["algorithm","opt_dropNulls"],["geometry"],["max","opt_property","opt_ascending"],["property","opt_ascending"],["name","operator","value"],["legacy"],["func","var_args"],["callback"],["opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["params","opt_callback"],["id"],["opt_callback"],["id","opt_callback"],["tag"],["asset","params","opt_callback"],["requestedId","opt_callback"],["operationName","opt_callback"],["tag"],["privateKey",
|
|
"opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["opt_count","opt_callback"],["id","opt_callback"],["opt_resetDefault"],["value","opt_path","opt_force","opt_properties","opt_callback"],["obj","opt_callback"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["taskId","request","opt_callback"],["id"],["path","opt_force","opt_callback"],["assetId",
|
|
"aclUpdate","opt_callback"],["taskId","action","opt_callback"],["taskId","params","opt_callback"],["params","opt_callback"],["parent","opt_params","opt_callback"],["sourceId","destinationId","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["params","opt_callback"],["assetId","properties","opt_callback"],["opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["rootId","opt_callback"],["clientId","success",
|
|
"opt_error","opt_extraScopes","opt_onImmediateFailed"],["id","x","y","z"],["params","opt_callback"],["id"],["parent","opt_params","opt_callback"],["assetId","opt_callback"],["opt_limit","opt_callback"],["taskId","request","opt_callback"],[],["opt_limit","opt_callback"],["project","opt_callback"],["assetId","opt_callback"],["operationName","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],["func","namedArgs"],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
["func","var_args"],[],[],["var_args"],[],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],["opt_visParams","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["args","opt_column"],["opt_format","opt_selectors","opt_filename","opt_callback"],["var_args"],[],["name","value"],["opt_filter"],["name","value"],["start","opt_end"],["geometry","opt_errorMargin"],["name",
|
|
"operator","value"],["var_args"],["name","value"],["name","value"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","value"],["namedArgs"],["var_args"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],
|
|
["coords","opt_proj","opt_geodesic","opt_maxError"],[],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],["legacy"],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["var_args"],["geometry"],["params","opt_callback"],["params","opt_callback"],["params","opt_callback"],["r","g","b"],["var_args"],["expression","opt_map"],["opt_args"],["var_args"],["params","opt_callback"],["opt_visParams","opt_callback"],["opt_visParams",
|
|
"opt_callback"],["opt_callback"],["selectors","opt_names"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],[],["args"],["params","opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["string"],[]];[P,rn,sn,$o,Xo,ap,cp,Qo,Wo,So,Vo,bp,Yo,To,Zo,Uo,W.prototype.nf,W.prototype.Mh,W.prototype.filter,W.prototype.map,W.prototype.xh,W.prototype.limit,W.prototype.sort,W.prototype.pf,N.prototype.va,N.prototype.Gg,N.prototype.evaluate,
|
|
N.prototype.V,im,Pl,Zl,jm,Om,Im,an,$l,Pm,sm,bn,Sl,km,Im,cn,Qm,am,Wm,bm,um,cm,dm,nm,Fm,em,Rm,Xm,tm,Bm,Km,Lm,Sm,Ql,Xl,Ym,pm,Tm,Zm,Rl,Yl,gm,hm,Mm,Um,om,Hm,Vl,qm,Nm,Vm,rm,tp,Cp,xp,yp,wp,Dp,Qp,Sp,256,Mp,Rp,Pp,Op,T.prototype.set,nk,X.prototype.V,X.prototype.S,X.prototype.getMap,X,Y.prototype.getMap,Y.prototype.V,Y.prototype.S,Y.prototype.select,Y,Y.prototype.sb,mo,V.prototype.sc,ko,V,fo,no,po,qo,lo,ho,jo,go,oo,io,mn.prototype.apply,mn.prototype.call,Pn,U,Wn,Xn,Ln,U.prototype.oe,Un,Vn,U.prototype.yg,Qn,
|
|
Tn,On,U.prototype.va,M.prototype.V,M.prototype.S,M.prototype.getMap,M.prototype.select,M.prototype.clip,M.prototype.sb,M.prototype.Kd,M.prototype.xf,Do,Eo,M.prototype.l,M,M.prototype.ti,Z.prototype.vf,Z.prototype.getMap,Z.prototype.S,Z.prototype.V,Z.prototype.select,Z.prototype.Hf,Z.prototype.first,Z,Z.prototype.yf,Fo,jp,ll,ul,sl,il,jl,ol,tl,mp,Gp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|