mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
707 lines
321 KiB
JavaScript
707 lines
321 KiB
JavaScript
(function(){/*
|
|
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
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(f,g){this.Qi=f;ba(this,"description",{configurable:!0,writable:!0,value:g})};b.prototype.toString=function(){return this.Qi};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};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},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");},fa=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},ha=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},ia="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)ha(d,e)&&(a[e]=d[e])}return a};da("Object.assign",function(a){return a||ia});var ja="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ka;
|
|
if("function"==typeof Object.setPrototypeOf)ka=Object.setPrototypeOf;else{var la;a:{var ma={a:!0},na={};try{na.__proto__=ma;la=na.a;break a}catch(a){}la=!1}ka=la?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var oa=ka,p=function(a,b){a.prototype=ja(b.prototype);a.prototype.constructor=a;if(oa)oa(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},pa=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.nb=null}function c(g){return g instanceof e?g:new e(function(l){l(g)})}if(a)return a;b.prototype.Bg=function(g){if(null==this.nb){this.nb=[];var l=this;this.Cg(function(){l.Qk()})}this.nb.push(g)};var d=k.setTimeout;b.prototype.Cg=function(g){d(g,0)};b.prototype.Qk=function(){for(;this.nb&&this.nb.length;){var g=this.nb;this.nb=[];for(var l=0;l<g.length;++l){var m=g[l];g[l]=null;try{m()}catch(q){this.Ik(q)}}}this.nb=null};b.prototype.Ik=function(g){this.Cg(function(){throw g;
|
|
})};var e=function(g){this.S=0;this.ha=void 0;this.tc=[];this.Eh=!1;var l=this.Ue();try{g(l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.Ue=function(){function g(q){return function(v){m||(m=!0,q.call(l,v))}}var l=this,m=!1;return{resolve:g(this.ol),reject:g(this.Tf)}};e.prototype.ol=function(g){if(g===this)this.Tf(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.ql(g);else{a:switch(typeof g){case "object":var l=null!=g;break a;case "function":l=!0;break a;default:l=
|
|
!1}l?this.nl(g):this.wh(g)}};e.prototype.nl=function(g){var l=void 0;try{l=g.then}catch(m){this.Tf(m);return}"function"==typeof l?this.rl(l,g):this.wh(g)};e.prototype.Tf=function(g){this.ui(2,g)};e.prototype.wh=function(g){this.ui(1,g)};e.prototype.ui=function(g,l){if(0!=this.S)throw Error("Cannot settle("+g+", "+l+"): Promise already settled in state"+this.S);this.S=g;this.ha=l;2===this.S&&this.pl();this.Sk()};e.prototype.pl=function(){var g=this;d(function(){if(g.il()){var l=k.console;"undefined"!==
|
|
typeof l&&l.error(g.ha)}},1)};e.prototype.il=function(){if(this.Eh)return!1;var g=k.CustomEvent,l=k.Event,m=k.dispatchEvent;if("undefined"===typeof m)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):"function"===typeof l?g=new l("unhandledrejection",{cancelable:!0}):(g=k.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.ha;return m(g)};e.prototype.Sk=function(){if(null!=this.tc){for(var g=0;g<this.tc.length;++g)f.Bg(this.tc[g]);
|
|
this.tc=null}};var f=new b;e.prototype.ql=function(g){var l=this.Ue();g.td(l.resolve,l.reject)};e.prototype.rl=function(g,l){var m=this.Ue();try{g.call(l,m.resolve,m.reject)}catch(q){m.reject(q)}};e.prototype.then=function(g,l){function m(D,Q){return"function"==typeof D?function(Y){try{q(D(Y))}catch(T){v(T)}}:Q}var q,v,B=new e(function(D,Q){q=D;v=Q});this.td(m(g,q),m(l,v));return B};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.td=function(g,l){function m(){switch(q.S){case 1:g(q.ha);
|
|
break;case 2:l(q.ha);break;default:throw Error("Unexpected state: "+q.S);}}var q=this;null==this.tc?f.Bg(m):this.tc.push(m);this.Eh=!0};e.resolve=c;e.reject=function(g){return new e(function(l,m){m(g)})};e.race=function(g){return new e(function(l,m){for(var q=n(g),v=q.next();!v.done;v=q.next())c(v.value).td(l,m)})};e.all=function(g){var l=n(g),m=l.next();return m.done?c([]):new e(function(q,v){function B(Y){return function(T){D[Y]=T;Q--;0==Q&&q(D)}}var D=[],Q=0;do D.push(void 0),Q++,c(m.value).td(B(D.length-
|
|
1),v),m=l.next();while(!m.done)})};return e});
|
|
da("WeakMap",function(a){function b(){}function c(m){var q=typeof m;return"object"===q&&null!==m||"function"===q}function d(m){if(!ha(m,f)){var q=new b;ba(m,f,{value:q})}}function e(m){var q=Object[m];q&&(Object[m]=function(v){if(v instanceof b)return v;Object.isExtensible(v)&&d(v);return q(v)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),q=Object.seal({}),v=new a([[m,2],[q,3]]);if(2!=v.get(m)||3!=v.get(q))return!1;v.delete(m);v.set(q,4);return!v.has(m)&&4==v.get(q)}catch(B){return!1}}())return a;
|
|
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,l=function(m){this.da=(g+=Math.random()+1).toString();if(m){m=n(m);for(var q;!(q=m.next()).done;)q=q.value,this.set(q[0],q[1])}};l.prototype.set=function(m,q){if(!c(m))throw Error("Invalid WeakMap key");d(m);if(!ha(m,f))throw Error("WeakMap key fail: "+m);m[f][this.da]=q;return this};l.prototype.get=function(m){return c(m)&&ha(m,f)?m[f][this.da]:void 0};l.prototype.has=function(m){return c(m)&&ha(m,f)&&ha(m[f],
|
|
this.da)};l.prototype.delete=function(m){return c(m)&&ha(m,f)&&ha(m[f],this.da)?delete m[f][this.da]:!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 q=m.entries(),v=q.next();if(v.done||v.value[0]!=l||"s"!=v.value[1])return!1;v=q.next();return v.done||4!=v.value[0].x||"t"!=v.value[1]||!q.next().done?!1:!0}catch(B){return!1}}())return a;var b=new WeakMap,c=function(l){this[0]={};this[1]=
|
|
f();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 q=d(this,l);q.list||(q.list=this[0][q.id]=[]);q.ca?q.ca.value=m:(q.ca={next:this[1],kb:this[1].kb,head:this[1],key:l,value:m},q.list.push(q.ca),this[1].kb.next=q.ca,this[1].kb=q.ca,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.ca&&l.list?(l.list.splice(l.index,1),l.list.length||delete this[0][l.id],l.ca.kb.next=l.ca.next,l.ca.next.kb=
|
|
l.ca.kb,l.ca.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].kb=f();this.size=0};c.prototype.has=function(l){return!!d(this,l).ca};c.prototype.get=function(l){return(l=d(this,l).ca)&&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 q=this.entries(),
|
|
v;!(v=q.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 q=m&&typeof m;"object"==q||"function"==q?b.has(m)?q=b.get(m):(q=""+ ++g,b.set(m,q)):q="p_"+m;var v=l[0][q];if(v&&ha(l[0],q))for(l=0;l<v.length;l++){var B=v[l];if(m!==m&&B.key!==B.key||m===B.key)return{id:q,list:v,index:l,ca:B}}return{id:q,list:v,index:-1,ca:void 0}},e=function(l,m){var q=l[1];return ea(function(){if(q){for(;q.head!=l[1];)q=q.kb;for(;q.next!=q.head;)return q=
|
|
q.next,{done:!1,value:m(q)};q=null}return{done:!0,value:void 0}})},f=function(){var l={};return l.kb=l.next=l.head=l},g=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,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
|
|
var qa=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=qa(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 ra=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),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 ra(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=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});da("Array.prototype.values",function(a){return a?a:function(){return ra(this,function(b,c){return c})}});
|
|
da("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=qa(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=qa(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});
|
|
da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ha(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 f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
|
|
da("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==qa(this,b,"includes").indexOf(b,c||0)}});da("Array.prototype.entries",function(a){return a?a:function(){return ra(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(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;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(f){return c.call(d,f,f,e)})};return b});da("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ha(b,d)&&c.push(b[d]);return c}});da("String.prototype.padStart",function(a){return a?a:function(b,c){var d=qa(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});
|
|
var sa=sa||{},r=this||self,ta=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ua=function(a){var b=ta(a);return"array"==b||"object"==b&&"number"==typeof a.length},va=function(a){return t(a)&&"function"==typeof a.getFullYear},t=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ya=function(a){return Object.prototype.hasOwnProperty.call(a,wa)&&a[wa]||(a[wa]=++xa)},wa="closure_uid_"+(1E9*Math.random()>>>0),xa=0,za=function(a,b,c){return a.call.apply(a.bind,
|
|
arguments)},Aa=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")?za:Aa;return u.apply(null,arguments)},Ba=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.Dl=function(d,e,f){for(var g=Array(arguments.length-2),l=2;l<arguments.length;l++)g[l-2]=arguments[l];return b.prototype[e].apply(d,
|
|
g)}},Ca=function(a){return a};function Da(a){a&&"function"==typeof a.Qa&&a.Qa()};var y=function(){this.Ra=this.Ra;this.Rd=this.Rd};y.prototype.Ra=!1;y.prototype.Qa=function(){this.Ra||(this.Ra=!0,this.I())};y.prototype.I=function(){if(this.Rd)for(;this.Rd.length;)this.Rd.shift()()};var Ea=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Zc=!1};Ea.prototype.stopPropagation=function(){this.Zc=!0};Ea.prototype.preventDefault=function(){this.defaultPrevented=!0};function Fa(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,Fa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}x(Fa,Error);Fa.prototype.name="CustomError";var Ga;function Ha(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");Fa.call(this,c+a[d])}x(Ha,Fa);Ha.prototype.name="AssertionError";function Ia(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Ha(""+e,f||[]);}
|
|
var z=function(a,b,c){a||Ia("",null,b,Array.prototype.slice.call(arguments,2))},Ja=function(a,b,c){null==a&&Ia("Expected to exist: %s.",[a],b,Array.prototype.slice.call(arguments,2));return a},Ka=function(a,b){throw new Ha("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},La=function(a,b,c){"number"!==typeof a&&Ia("Expected number but got %s: %s.",[ta(a),a],b,Array.prototype.slice.call(arguments,2));return a},Ma=function(a,b,c){"string"!==typeof a&&Ia("Expected string but got %s: %s.",
|
|
[ta(a),a],b,Array.prototype.slice.call(arguments,2))},Na=function(a,b,c){"function"!==typeof a&&Ia("Expected function but got %s: %s.",[ta(a),a],b,Array.prototype.slice.call(arguments,2))},Oa=function(a,b,c){t(a)||Ia("Expected object but got %s: %s.",[ta(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Pa=Array.prototype.indexOf?function(a,b){z(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},Qa=Array.prototype.lastIndexOf?function(a,b){z(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},Ra=Array.prototype.forEach?function(a,b){z(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)},Sa=Array.prototype.filter?function(a,b){z(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f="string"===typeof a?a.split(""):a,g=0;g<c;g++)if(g in
|
|
f){var l=f[g];b.call(void 0,l,g,a)&&(d[e++]=l)}return d},Ta=Array.prototype.map?function(a,b,c){z(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},Ua=Array.prototype.some?function(a,b){z(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},Va=Array.prototype.every?function(a,b){z(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 Wa(a,b){var c=0;Ra(a,function(d,e,f){b.call(void 0,d,e,f)&&++c});return c}function Xa(a,b){return 0<=Pa(a,b)}function Ya(a,b){b=Pa(a,b);var c;(c=0<=b)&&Za(a,b);return c}
|
|
function Za(a,b){z(null!=a.length);Array.prototype.splice.call(a,b,1)}function $a(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 ab(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ua(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}}function bb(a,b,c){z(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
|
|
function cb(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function db(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 f=bb(d,e,e+8192);f=db.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var eb=Object.freeze||function(a){return a};var fb=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 gb,hb;a:{for(var ib=["CLOSURE_FLAGS"],jb=r,kb=0;kb<ib.length;kb++)if(jb=jb[ib[kb]],null==jb){hb=null;break a}hb=jb}var lb=hb&&hb[610401301];gb=null!=lb?lb:!1;function mb(){var a=r.navigator;return a&&(a=a.userAgent)?a:""}var nb,ob=r.navigator;nb=ob?ob.userAgentData||null:null;function pb(a){return-1!=mb().indexOf(a)};function qb(){return gb&&nb&&0<nb.brands.length?!1:pb("Trident")||pb("MSIE")};var rb=function(a){rb[" "](a);return a};rb[" "]=function(){};var sb=qb(),tb=pb("Gecko")&&!(-1!=mb().toLowerCase().indexOf("webkit")&&!pb("Edge"))&&!(pb("Trident")||pb("MSIE"))&&!pb("Edge"),ub=-1!=mb().toLowerCase().indexOf("webkit")&&!pb("Edge");var wb=function(a,b){Ea.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.Ia=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(tb){a:{try{rb(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=ub||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=ub||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:vb[a.pointerType]||"";this.state=a.state;this.Ia=a;a.defaultPrevented&&wb.L.preventDefault.call(this)}};
|
|
x(wb,Ea);var vb=eb({2:"touch",3:"pen",4:"mouse"});wb.prototype.stopPropagation=function(){wb.L.stopPropagation.call(this);this.Ia.stopPropagation?this.Ia.stopPropagation():this.Ia.cancelBubble=!0};wb.prototype.preventDefault=function(){wb.L.preventDefault.call(this);var a=this.Ia;a.preventDefault?a.preventDefault():a.returnValue=!1};var xb="closure_listenable_"+(1E6*Math.random()|0),yb=function(a){return!(!a||!a[xb])};var zb=0;var Ab=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ib=e;this.key=++zb;this.cd=this.sd=!1},Bb=function(a){a.cd=!0;a.listener=null;a.proxy=null;a.src=null;a.ib=null};function Cb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Db(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Eb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function Fb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Gb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Hb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Ib(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
|
|
function Kb(a){var b=Lb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function Mb(a){for(var b in a)return!1;return!0}function Nb(a,b){b in a&&delete a[b]}function Ob(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
|
function Pb(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]=Pb(a[c]);return b}var Qb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
|
function Rb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Qb.length;f++)c=Qb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Sb=function(a){this.src=a;this.fa={};this.gd=0};Sb.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.fa[f];a||(a=this.fa[f]=[],this.gd++);var g=Tb(a,b,d,e);-1<g?(b=a[g],c||(b.sd=!1)):(b=new Ab(b,this.src,f,!!d,e),b.sd=c,a.push(b));return b};Sb.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.fa))return!1;var e=this.fa[a];b=Tb(e,b,c,d);return-1<b?(Bb(e[b]),Za(e,b),0==e.length&&(delete this.fa[a],this.gd--),!0):!1};
|
|
var Ub=function(a,b){var c=b.type;c in a.fa&&Ya(a.fa[c],b)&&(Bb(b),0==a.fa[c].length&&(delete a.fa[c],a.gd--))};Sb.prototype.bd=function(a){a=a&&a.toString();var b=0,c;for(c in this.fa)if(!a||c==a){for(var d=this.fa[c],e=0;e<d.length;e++)++b,Bb(d[e]);delete this.fa[c];this.gd--}};Sb.prototype.Kc=function(a,b,c,d){a=this.fa[a.toString()];var e=-1;a&&(e=Tb(a,b,c,d));return-1<e?a[e]:null};
|
|
Sb.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Fb(this.fa,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var Tb=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.cd&&f.listener==b&&f.capture==!!c&&f.ib==d)return e}return-1};var Vb="closure_lm_"+(1E6*Math.random()|0),Wb={},Xb=0,Zb=function(a,b,c,d,e){if(d&&d.once)return Yb(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Zb(a,b[f],c,d,e);return null}c=$b(c);return yb(a)?a.Wa(b,c,t(d)?!!d.capture:!!d,e):ac(a,b,c,!1,d,e)},ac=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=t(e)?!!e.capture:!!e,l=bc(a);l||(a[Vb]=l=new Sb(a));c=l.add(b,c,d,g,f);if(c.proxy)return c;d=cc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)fb||(e=g),void 0===
|
|
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(dc(b.toString()),d);else if(a.addListener&&a.removeListener)z("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Xb++;return c},cc=function(){var a=ec,b=function(c){return a.call(b.src,b.listener,c)};return b},Yb=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Yb(a,b[f],c,d,e);return null}c=$b(c);return yb(a)?
|
|
a.Tc(b,c,t(d)?!!d.capture:!!d,e):ac(a,b,c,!0,d,e)},fc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)fc(a,b[f],c,d,e);else d=t(d)?!!d.capture:!!d,c=$b(c),yb(a)?a.ke(b,c,d,e):a&&(a=bc(a))&&(b=a.Kc(b,c,d,e))&&gc(b)},gc=function(a){if("number"!==typeof a&&a&&!a.cd){var b=a.src;if(yb(b))Ub(b.Ha,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(dc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Xb--;(c=bc(b))?
|
|
(Ub(c,a),0==c.gd&&(c.src=null,b[Vb]=null)):Bb(a)}}},dc=function(a){return a in Wb?Wb[a]:Wb[a]="on"+a},ec=function(a,b){if(a.cd)a=!0;else{b=new wb(b,this);var c=a.listener,d=a.ib||a.src;a.sd&&gc(a);a=c.call(d,b)}return a},bc=function(a){a=a[Vb];return a instanceof Sb?a:null},hc="__closure_events_fn_"+(1E9*Math.random()>>>0),$b=function(a){z(a,"Listener can not be null.");if("function"===typeof a)return a;z(a.handleEvent,"An object listener must have handleEvent method.");a[hc]||(a[hc]=function(b){return a.handleEvent(b)});
|
|
return a[hc]};var A=function(){y.call(this);this.Ha=new Sb(this);this.Gk=this;this.Lf=null};x(A,y);A.prototype[xb]=!0;h=A.prototype;h.addEventListener=function(a,b,c,d){Zb(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){fc(this,a,b,c,d)};
|
|
h.dispatchEvent=function(a){ic(this);var b=this.Lf;if(b){var c=[];for(var d=1;b;b=b.Lf)c.push(b),z(1E3>++d,"infinite loop")}b=this.Gk;d=a.type||a;if("string"===typeof a)a=new Ea(a,b);else if(a instanceof Ea)a.target=a.target||b;else{var e=a;a=new Ea(d,b);Rb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Zc&&0<=f;f--){var g=a.currentTarget=c[f];e=jc(g,d,!0,a)&&e}a.Zc||(g=a.currentTarget=b,e=jc(g,d,!0,a)&&e,a.Zc||(e=jc(g,d,!1,a)&&e));if(c)for(f=0;!a.Zc&&f<c.length;f++)g=a.currentTarget=c[f],e=jc(g,d,!1,a)&&
|
|
e;return e};h.I=function(){A.L.I.call(this);this.Ha&&this.Ha.bd();this.Lf=null};h.Wa=function(a,b,c,d){ic(this);return this.Ha.add(String(a),b,!1,c,d)};h.Tc=function(a,b,c,d){return this.Ha.add(String(a),b,!0,c,d)};h.ke=function(a,b,c,d){this.Ha.remove(String(a),b,c,d)};var jc=function(a,b,c,d){b=a.Ha.fa[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.cd&&g.capture==c){var l=g.listener,m=g.ib||g.src;g.sd&&Ub(a.Ha,g);e=!1!==l.call(m,d)&&e}}return e&&!d.defaultPrevented};
|
|
A.prototype.Kc=function(a,b,c,d){return this.Ha.Kc(String(a),b,c,d)};A.prototype.hasListener=function(a,b){return this.Ha.hasListener(void 0!==a?String(a):void 0,b)};var ic=function(a){z(a.Ha,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var kc=function(a,b){this.Lk=a[r.Symbol.iterator]();this.dl=b};kc.prototype[Symbol.iterator]=function(){return this};kc.prototype.next=function(){var a=this.Lk.next();return{value:a.done?void 0:this.dl.call(void 0,a.value),done:a.done}};var lc=function(a,b){return new kc(a,b)};var mc=function(){},nc=function(a){return a};var oc=function(){};oc.prototype.next=function(){return pc};var pc=eb({done:!0,value:void 0});oc.prototype.Ca=function(){return this};
|
|
var qc=function(a){if(a instanceof oc)return a;if("function"==typeof a.Ca)return a.Ca(!1);if(ua(a)){var b=0,c=new oc;c.next=function(){for(;;){if(b>=a.length)return pc;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},rc=function(a,b){if(ua(a))Ra(a,b);else for(a=qc(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var vc=function(a){if(a instanceof sc||a instanceof tc||a instanceof uc)return a;if("function"==typeof a.next)return new sc(function(){return a});if("function"==typeof a[Symbol.iterator])return new sc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ca)return new sc(function(){return a.Ca()});throw Error("Not an iterator or iterable.");},sc=function(a){this.lf=a};sc.prototype.Ca=function(){return new tc(this.lf())};sc.prototype[Symbol.iterator]=function(){return new uc(this.lf())};
|
|
sc.prototype.qg=function(){return new uc(this.lf())};var tc=function(a){this.Qc=a};p(tc,oc);tc.prototype.next=function(){return this.Qc.next()};tc.prototype[Symbol.iterator]=function(){return new uc(this.Qc)};tc.prototype.qg=function(){return new uc(this.Qc)};var uc=function(a){sc.call(this,function(){return a});this.Qc=a};p(uc,sc);uc.prototype.next=function(){return this.Qc.next()};var wc=function(a,b){this.A={};this.K=[];this.jd=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=wc.prototype;h.R=function(){return this.size};h.Z=function(){xc(this);for(var a=[],b=0;b<this.K.length;b++)a.push(this.A[this.K[b]]);return a};h.rb=function(){xc(this);return this.K.concat()};h.Nb=function(a){return this.has(a)};h.has=function(a){return yc(this.A,a)};
|
|
h.Gc=function(a){for(var b=0;b<this.K.length;b++){var c=this.K[b];if(yc(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||zc;xc(this);for(var c,d=0;c=this.K[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var zc=function(a,b){return a===b};wc.prototype.isEmpty=function(){return 0==this.size};wc.prototype.clear=function(){this.A={};this.K.length=0;this.lb(0);this.jd=0};wc.prototype.remove=function(a){return this.delete(a)};
|
|
wc.prototype.delete=function(a){return yc(this.A,a)?(delete this.A[a],this.lb(this.size-1),this.jd++,this.K.length>2*this.size&&xc(this),!0):!1};var xc=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b<a.K.length;){var d=a.K[b];yc(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],yc(e,d)||(a.K[c++]=d,e[d]=1),b++;a.K.length=c}};h=wc.prototype;h.get=function(a,b){return yc(this.A,a)?this.A[a]:b};
|
|
h.set=function(a,b){yc(this.A,a)||(this.lb(this.size+1),this.K.push(a),this.jd++);this.A[a]=b};h.addAll=function(a){if(a instanceof wc)for(var b=a.rb(),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.rb(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};h.clone=function(){return new wc(this)};h.keys=function(){return vc(this.Ca(!0)).qg()};h.values=function(){return vc(this.Ca(!1)).qg()};
|
|
h.entries=function(){var a=this;return lc(this.keys(),function(b){return[b,a.get(b)]})};h.Ca=function(a){xc(this);var b=0,c=this.jd,d=this,e=new oc;e.next=function(){if(c!=d.jd)throw Error("The map has changed since the iterator was created");if(b>=d.K.length)return pc;var f=d.K[b++];return{value:a?f:d.A[f],done:!1}};return e};h.lb=function(a){this.size=a};var yc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Ac=function(a){if(a.R&&"function"==typeof a.R)a=a.R();else if(ua(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Bc=function(a){if(a.Z&&"function"==typeof a.Z)return a.Z();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(ua(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Gb(a)},Cc=function(a){if(a.rb&&"function"==typeof a.rb)return a.rb();
|
|
if(!a.Z||"function"!=typeof a.Z){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(ua(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Hb(a)}}},Dc=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ua(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=Cc(a),e=Bc(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},Ec=function(a,
|
|
b){if("function"==typeof a.every)return a.every(b,void 0);if(ua(a)||"string"===typeof a)return Array.prototype.every.call(a,b,void 0);for(var c=Cc(a),d=Bc(a),e=d.length,f=0;f<e;f++)if(!b.call(void 0,d[f],c&&c[f],a))return!1;return!0};var Fc=function(a){this.A=new wc;this.size=0;a&&this.addAll(a)},Gc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+ya(a):b.slice(0,1)+a};h=Fc.prototype;h.R=function(){return this.A.size};h.add=function(a){this.A.set(Gc(a),a);this.lb(this.A.size)};h.addAll=function(a){a=Bc(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.lb(this.A.size)};h.bd=function(a){a=Bc(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.lb(this.A.size)};
|
|
h.delete=function(a){a=this.A.remove(Gc(a));this.lb(this.A.size);return a};h.remove=function(a){return this.delete(a)};h.clear=function(){this.A.clear();this.lb(0)};h.isEmpty=function(){return 0===this.A.size};h.has=function(a){return this.A.Nb(Gc(a))};h.contains=function(a){return this.A.Nb(Gc(a))};var Hc=function(a,b){var c=new Fc;b=Bc(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},Ic=function(a,b){a=a.clone();a.bd(b);return a};Fc.prototype.Z=function(){return this.A.Z()};
|
|
Fc.prototype.values=function(){return this.A.values()};Fc.prototype.clone=function(){return new Fc(this)};Fc.prototype.equals=function(a){return this.R()==Ac(a)&&Jc(this,a)};var Jc=function(a,b){var c=Ac(b);if(a.R()>c)return!1;!(b instanceof Fc)&&5<c&&(b=new Fc(b));return Ec(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Gc&&"function"==typeof e.Gc?e.Gc(d):ua(e)||"string"===typeof e?Xa(e,d):Ib(e,d)})};Fc.prototype.Ca=function(){return this.A.Ca(!1)};
|
|
Fc.prototype[Symbol.iterator]=function(){return this.values()};Fc.prototype.lb=function(a){this.size=a};var Kc=function(a,b,c){A.call(this);this.el=b;this.token=c;this.yb=[];this.og=new Fc;this.wb=0;this.url=a};x(Kc,A);w("ee.AbstractOverlay",Kc);var Lc=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.el,c,e,b.y].join("/")};Kc.prototype.Lc=function(){return this.yb.length};var Mc=function(a){Ea.call(this,"tileevent");this.count=a};x(Mc,Ea);var Nc=function(){},Oc=new Nc;function Pc(a){return Object.assign({},{P:{},Fl:{},keys:[],La:{},o:{},J:{},mh:!1},a)}var C=function(){this.h={}},E=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},F=function(a,b){return null!=a.h[b]};function Qc(a,b){return E(b,a)}function Rc(a,b,c){b[a]=c}function Sc(){return{}}function Tc(a,b){var c=new a;return null==b?c:Uc(b,Vc,Wc,Xc,a)}function Vc(a,b){return b[a]}function Wc(a,b,c){b.h[a]=c}
|
|
function Xc(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function Uc(a,b,c,d,e){e=d(e);for(var f=Yc(a,e),g=f.P||{},l=f.o||{},m=f.La||{},q=n(f.keys||[]),v=q.next(),B={};!v.done;B={Ac:B.Ac},v=q.next()){v=v.value;var D=b(v,a);if(null!=D){var Q=void 0;if(g.hasOwnProperty(v)){if(f.mh&&0===D.length)continue;Q=Zc(D,b,c,d,!0,!0,g[v])}else if(l.hasOwnProperty(v))Q=Zc(D,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))B.Ac=m[v],Q=B.Ac.oa?D.map(function(Y){return function(T){return $c(T,Y.Ac,b,c,d)}}(B)):$c(D,B.Ac,b,c,d);else if(Array.isArray(D)){if(f.mh&&0===D.length)continue;
|
|
Q=Zc(D,b,c,d,!0,!1)}else Q=D instanceof Nc?null:D;c(v,e,Q)}}return e}function $c(a,b,c,d,e){for(var f={},g=n(Object.keys(a)),l=g.next();!l.done;l=g.next()){l=l.value;var m=a[l];null!=m&&(f[l]=Zc(m,c,d,e,b.qa,b.pa,b.ja))}return f}
|
|
function Zc(a,b,c,d,e,f,g){if(f&&null==g)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&f?a.map(function(l){return Uc(l,b,c,d,g)}):e&&!f?a.map(function(l){return l}):!e&&f?Uc(a,b,c,d,g):a instanceof Nc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function Yc(a,b){if(b instanceof C)a=Pc(b.i());else if(a instanceof C)a=Pc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var ad;var dd=function(a,b){this.hg=a===bd&&b||"";this.sk=cd};dd.prototype.pc=!0;dd.prototype.oc=function(){return this.hg};dd.prototype.toString=function(){return"Const{"+this.hg+"}"};var ed=function(a){if(a instanceof dd&&a.constructor===dd&&a.sk===cd)return a.hg;Ka("expected object of type Const, got '"+a+"'");return"type_error:Const"},cd={},bd={};var gd=function(a,b){if(b!==fd)throw Error("TrustedResourceUrl is not meant to be built directly");this.Nf=a};gd.prototype.toString=function(){return this.Nf+""};gd.prototype.pc=!0;gd.prototype.oc=function(){return this.Nf.toString()};
|
|
var hd=function(a){if(a instanceof gd&&a.constructor===gd)return a.Nf;Ka("expected object of type TrustedResourceUrl, got '"+a+"' of type "+ta(a));return"type_error:TrustedResourceUrl"},md=function(a){var b=ed(id);if(!jd.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(kd,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];return d instanceof
|
|
dd?ed(d):encodeURIComponent(String(d))});return ld(c)},kd=/%{(\w+)}/g,jd=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),fd={},ld=function(a){if(void 0===ad){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ca,createScript:Ca,createScriptURL:Ca})}catch(d){r.console&&r.console.error(d.message)}ad=b}a=(b=ad)?b.createScriptURL(a):a;return new gd(a,fd)};var od=function(a,b){if(b!==nd)throw Error("SafeUrl is not meant to be built directly");this.Mf=a};od.prototype.toString=function(){return this.Mf.toString()};od.prototype.pc=!0;od.prototype.oc=function(){return this.Mf.toString()};
|
|
var pd=function(a){if(a instanceof od&&a.constructor===od)return a.Mf;Ka("expected object of type SafeUrl, got '"+a+"' of type "+ta(a));return"type_error:SafeUrl"},qd=RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),rd=function(a){if(qd.test(a.type)){var b=void 0!==r.URL&&void 0!==r.URL.createObjectURL?
|
|
r.URL:void 0!==r.createObjectURL?r:null;if(null==b)throw Error("This browser doesn't seem to support blob URLs");a=b.createObjectURL(a)}else a="about:invalid#zClosurez";return new od(a,nd)},nd={};new od("about:invalid#zClosurez",nd);new od("about:blank",nd);var sd={},td=function(){if(sd!==sd)throw Error("SafeStyle is not meant to be built directly");this.gi="";this.pc=!0};td.prototype.oc=function(){return this.gi};td.prototype.toString=function(){return this.gi.toString()};new td;var ud={},vd=function(){if(ud!==ud)throw Error("SafeStyleSheet is not meant to be built directly");this.fi="";this.pc=!0};vd.prototype.toString=function(){return this.fi.toString()};vd.prototype.oc=function(){return this.fi};new vd;var wd={},xd=function(){var a=r.trustedTypes&&r.trustedTypes.emptyHTML||"";if(wd!==wd)throw Error("SafeHtml is not meant to be built directly");this.ei=a;this.pc=!0};xd.prototype.oc=function(){return this.ei.toString()};xd.prototype.toString=function(){return this.ei.toString()};new xd;var zd=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;Ka("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"))&&yd.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=hd(b)},yd=/^[\w+/_-]+[=]{0,2}$/;var Ad=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")},Bd=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 Cd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Dd=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var Ed=function(a){this.hb=this.dc=this.ub="";this.uc=null;this.Pb=this.Wb="";this.ya=this.Yk=!1;if(a instanceof Ed){this.ya=a.ya;Fd(this,a.ub);var b=a.dc;Gd(this);this.dc=b;b=a.hb;Gd(this);this.hb=b;Hd(this,a.uc);this.setPath(a.getPath());Id(this,a.Aa.clone());a=a.Pb;Gd(this);this.Pb=a}else a&&(b=String(a).match(Cd))?(this.ya=!1,Fd(this,b[1]||"",!0),a=b[2]||"",Gd(this),this.dc=Jd(a),a=b[3]||"",Gd(this),this.hb=Jd(a,!0),Hd(this,b[4]),this.setPath(b[5]||"",!0),Id(this,b[6]||"",!0),a=b[7]||"",Gd(this),
|
|
this.Pb=Jd(a)):(this.ya=!1,this.Aa=new Kd(null,this.ya))};
|
|
Ed.prototype.toString=function(){var a=[],b=this.ub;b&&a.push(Ld(b,Md,!0),":");var c=this.hb;if(c||"file"==b)a.push("//"),(b=this.dc)&&a.push(Ld(b,Md,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.uc,null!=c&&a.push(":",String(c));if(c=this.getPath())this.hb&&"/"!=c.charAt(0)&&a.push("/"),a.push(Ld(c,"/"==c.charAt(0)?Nd:Od,!0));(c=this.Aa.toString())&&a.push("?",c);(c=this.Pb)&&a.push("#",Ld(c,Pd));return a.join("")};
|
|
Ed.prototype.resolve=function(a){var b=this.clone(),c=!!a.ub;c?Fd(b,a.ub):c=!!a.dc;if(c){var d=a.dc;Gd(b);b.dc=d}else c=!!a.hb;c?(d=a.hb,Gd(b),b.hb=d):c=null!=a.uc;d=a.getPath();if(c)Hd(b,a.uc);else if(c=!!a.Wb){if("/"!=d.charAt(0))if(this.hb&&!this.Wb)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 f=[],g=0;g<e.length;){var l=e[g++];
|
|
"."==l?d&&g==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&g==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=""!==a.Aa.toString();c?Id(b,a.Aa.clone()):c=!!a.Pb;c&&(a=a.Pb,Gd(b),b.Pb=a);return b};Ed.prototype.clone=function(){return new Ed(this)};
|
|
var Fd=function(a,b,c){Gd(a);a.ub=c?Jd(b,!0):b;a.ub&&(a.ub=a.ub.replace(/:$/,""))},Hd=function(a,b){Gd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.uc=b}else a.uc=null};Ed.prototype.getPath=function(){return this.Wb};Ed.prototype.setPath=function(a,b){Gd(this);this.Wb=b?Jd(a,!0):a;return this};var Id=function(a,b,c){Gd(a);b instanceof Kd?(a.Aa=b,a.Aa.ag(a.ya)):(c||(b=Ld(b,Qd)),a.Aa=new Kd(b,a.ya))};Ed.prototype.getQuery=function(){return this.Aa.toString()};
|
|
Ed.prototype.removeParameter=function(a){Gd(this);this.Aa.remove(a);return this};var Gd=function(a){if(a.Yk)throw Error("Tried to modify a read-only Uri");};Ed.prototype.ag=function(a){this.ya=a;this.Aa&&this.Aa.ag(a)};
|
|
var Rd=function(a){return a instanceof Ed?a.clone():new Ed(a)},Jd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ld=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Sd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Sd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Md=/[#\/\?@]/g,Od=/[#\?:]/g,Nd=/[#\?]/g,Qd=/[#\?@]/g,Pd=/#/g,Kd=function(a,b){this.X=this.M=null;this.sa=a||null;this.ya=!!b},Td=
|
|
function(a){a.M||(a.M=new Map,a.X=0,a.sa&&Dd(a.sa,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Kd.prototype;h.R=function(){Td(this);return this.X};h.add=function(a,b){Td(this);this.sa=null;a=Ud(this,a);var c=this.M.get(a);c||this.M.set(a,c=[]);c.push(b);this.X=La(this.X)+1;return this};h.remove=function(a){Td(this);a=Ud(this,a);return this.M.has(a)?(this.sa=null,this.X=La(this.X)-this.M.get(a).length,this.M.delete(a)):!1};h.clear=function(){this.M=this.sa=null;this.X=0};
|
|
h.isEmpty=function(){Td(this);return 0==this.X};h.Nb=function(a){Td(this);a=Ud(this,a);return this.M.has(a)};h.Gc=function(a){var b=this.Z();return Xa(b,a)};h.forEach=function(a,b){Td(this);this.M.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.rb=function(){Td(this);for(var a=Array.from(this.M.values()),b=Array.from(this.M.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
|
|
h.Z=function(a){Td(this);var b=[];if("string"===typeof a)this.Nb(a)&&(b=b.concat(this.M.get(Ud(this,a))));else{a=Array.from(this.M.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};h.set=function(a,b){Td(this);this.sa=null;a=Ud(this,a);this.Nb(a)&&(this.X=La(this.X)-this.M.get(a).length);this.M.set(a,[b]);this.X=La(this.X)+1;return this};h.get=function(a,b){if(!a)return b;a=this.Z(a);return 0<a.length?String(a[0]):b};
|
|
h.setValues=function(a,b){this.remove(a);0<b.length&&(this.sa=null,this.M.set(Ud(this,a),$a(b)),this.X=La(this.X)+b.length)};h.toString=function(){if(this.sa)return this.sa;if(!this.M)return"";for(var a=[],b=Array.from(this.M.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.Z(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.sa=a.join("&")};
|
|
h.clone=function(){var a=new Kd;a.sa=this.sa;this.M&&(a.M=new Map(this.M),a.X=this.X);return a};var Ud=function(a,b){b=String(b);a.ya&&(b=b.toLowerCase());return b};Kd.prototype.ag=function(a){a&&!this.ya&&(Td(this),this.sa=null,this.M.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.ya=a};Kd.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Dc(arguments[b],function(c,d){this.add(d,c)},this)};function Vd(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 G(a,b){var c=Wd;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 Xd=function(){};Xd.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function Yd(a,b){if(null==a)return null;a=a.Gl(b);return null==a?null:a};var Zd=function(a,b){this.O=a;this.Wk=void 0===b?null:b};p(Zd,Xd);var $d=function(a,b,c){var d=Yd(a.Wk,b);if(null==d)return c;d.Hl();return c.then(function(e){d.Jl(e);return e},function(e){d.Il(e);throw e;})},H=function(a,b){var c=b.G||void 0,d=a.O,e=d.send,f=b.body instanceof C?Uc(b.body,Qc,Rc,Sc):b.body;return $d(a,b,e.call(d,{path:b.path,B:b.B,D:b.D,body:f,u:b.u,zi:b.zi&&b.zi},c))};var ae={qe:"ADMIN_READ",se:"DATA_READ",te:"DATA_WRITE",Wj:"LOG_TYPE_UNSPECIFIED",values:function(){return[ae.Wj,ae.qe,ae.te,ae.se]}},be={qe:"ADMIN_READ",Si:"ADMIN_WRITE",se:"DATA_READ",te:"DATA_WRITE",ek:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[be.ek,be.qe,be.Si,be.se,be.te]}},ce={Zi:"AUTO_APPEAL_ELIGIBLE",dj:"CAPABILITY_GROUP_UNSPECIFIED",fj:"CLOUD_ALPHA",Aj:"EXTERNAL",Pj:"INTERNAL",Sj:"LIMITED",fk:"PREAUTHORIZED",hk:"PREVIEW",Cc:"PUBLIC",jk:"RESTRICTED",values:function(){return[ce.dj,
|
|
ce.Cc,ce.Pj,ce.Aj,ce.Sj,ce.fk,ce.hk,ce.fj,ce.jk,ce.Zi]}},de={Ri:"ADMIN_ACTIVITY",qj:"DATA_ACCESS",Ak:"UNSPECIFIED_LOG_NAME",values:function(){return[de.Ak,de.Ri,de.qj]}},fe={tj:"DEFAULT_OBJECT_ACL",Cc:"PUBLIC",vk:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[fe.vk,fe.Cc,fe.tj]}},ge={Vi:"APPROVER",Xi:"ATTRIBUTION",Yi:"AUTHORITY",kj:"CREDENTIALS_TYPE",lj:"CREDS_ASSERTION",Rj:"JUSTIFICATION_TYPE",ze:"NO_ATTR",lk:"SECURITY_REALM",values:function(){return[ge.ze,ge.Yi,ge.Xi,ge.lk,ge.Vi,ge.Rj,
|
|
ge.kj,ge.lj]}},he={yj:"DISCHARGED",zj:"EQUALS",Kj:"IN",Yj:"NOT_EQUALS",Zj:"NOT_IN",bk:"NO_OP",values:function(){return[he.bk,he.zj,he.Yj,he.Kj,he.Zj,he.yj]}},ie={Qj:"IP",Xj:"NAME",ze:"NO_ATTR",ik:"REGION",mk:"SERVICE",values:function(){return[ie.ze,ie.ik,ie.mk,ie.Xj,ie.Qj]}},je={Uj:"LOG_FAIL_CLOSED",Vj:"LOG_MODE_UNSPECIFIED",values:function(){return[je.Vj,je.Uj]}},ke={ej:"CLASSIFIER",Cj:"FEATURE_VIEW",Ej:"FOLDER",Ij:"IMAGE",Jj:"IMAGE_COLLECTION",uk:"TABLE",De:"TYPE_UNSPECIFIED",values:function(){return[ke.De,
|
|
ke.Ij,ke.Jj,ke.uk,ke.Ej,ke.ej,ke.Cj]}},le={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[le.Bb,le.Cb,le.Fb,le.zb,le.Eb,le.Ab,le.Gb,le.Db,le.Hb,le.Ib]}},me={Bk:"V1",Ck:"V2",Dk:"VERSION_UNSPECIFIED",values:function(){return[me.Dk,me.Bk,me.Ck]}},ne={aj:"BOOLEAN",sj:"DATE_TIME",Bc:"DOUBLE",Oj:"INTEGER",rk:"STRING",De:"TYPE_UNSPECIFIED",
|
|
values:function(){return[ne.De,ne.Oj,ne.aj,ne.Bc,ne.rk,ne.sj]}},oe={Dj:"FEATURE_VIEW_ASSET_PERMISSIONS_UNSPECIFIED",Cc:"PUBLIC",values:function(){return[oe.Dj,oe.Cc]}},pe={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[pe.Bb,pe.Cb,pe.Fb,pe.zb,pe.Eb,pe.Ab,pe.Gb,pe.Db,pe.Hb,pe.Ib]}},qe={Hj:"HORIZONTAL",ck:"ORIENTATION_UNSPECIFIED",
|
|
Ek:"VERTICAL",values:function(){return[qe.ck,qe.Hj,qe.Ek]}},re={MAX:"MAX",Za:"MEAN",ab:"MEDIAN",MIN:"MIN",bb:"MODE",cb:"PYRAMIDING_POLICY_UNSPECIFIED",eb:"SAMPLE",values:function(){return[re.cb,re.Za,re.eb,re.MIN,re.MAX,re.bb,re.ab]}},se={MAX:"MAX",Za:"MEAN",ab:"MEDIAN",MIN:"MIN",bb:"MODE",cb:"PYRAMIDING_POLICY_UNSPECIFIED",eb:"SAMPLE",values:function(){return[se.cb,se.Za,se.eb,se.MIN,se.MAX,se.bb,se.ab]}},te={MAX:"MAX",Za:"MEAN",ab:"MEDIAN",MIN:"MIN",bb:"MODE",cb:"PYRAMIDING_POLICY_UNSPECIFIED",
|
|
eb:"SAMPLE",values:function(){return[te.cb,te.Za,te.eb,te.MIN,te.MAX,te.bb,te.ab]}},ue={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[ue.Bb,ue.Cb,ue.Fb,ue.zb,ue.Eb,ue.Ab,ue.Gb,ue.Db,ue.Hb,ue.Ib]}},ve={MAX:"MAX",Za:"MEAN",ab:"MEDIAN",MIN:"MIN",bb:"MODE",cb:"PYRAMIDING_POLICY_UNSPECIFIED",eb:"SAMPLE",values:function(){return[ve.cb,
|
|
ve.Za,ve.eb,ve.MIN,ve.MAX,ve.bb,ve.ab]}},we={bj:"CANCELLED",cj:"CANCELLING",Bj:"FAILED",dk:"PENDING",kk:"RUNNING",qk:"STATE_UNSPECIFIED",tk:"SUCCEEDED",values:function(){return[we.qk,we.dk,we.kk,we.cj,we.tk,we.bj,we.Bj]}},xe={nk:"SEVERE",pk:"SEVERITY_UNSPECIFIED",Fk:"WARNING",values:function(){return[xe.pk,xe.Fk,xe.nk]}},ye={Bc:"DOUBLE",FLOAT:"FLOAT",INT:"INT",gk:"PRECISION_UNSPECIFIED",values:function(){return[ye.gk,ye.INT,ye.FLOAT,ye.Bc]}},ze={Wi:"ASCENDING",wj:"DESCENDING",xj:"DIRECTION_UNSPECIFIED",
|
|
values:function(){return[ze.xj,ze.Wi,ze.wj]}},Ae={Ti:"ALLOW",Ui:"ALLOW_WITH_LOG",uj:"DENY",vj:"DENY_WITH_LOG",Tj:"LOG",ak:"NO_ACTION",values:function(){return[Ae.ak,Ae.Ti,Ae.Ui,Ae.uj,Ae.vj,Ae.Tj]}},Be={re:"CSV",ue:"GEO_JSON",we:"KML",xe:"KMZ",Ae:"SHP",Be:"TABLE_FILE_FORMAT_UNSPECIFIED",Ce:"TF_RECORD_TABLE",values:function(){return[Be.Be,Be.re,Be.ue,Be.we,Be.xe,Be.Ae,Be.Ce]}},Ce={re:"CSV",ue:"GEO_JSON",we:"KML",xe:"KMZ",Ae:"SHP",Be:"TABLE_FILE_FORMAT_UNSPECIFIED",Ce:"TF_RECORD_TABLE",values:function(){return[Ce.Be,
|
|
Ce.re,Ce.ue,Ce.we,Ce.xe,Ce.Ae,Ce.Ce]}},De={gj:"COLUMN_DATA_TYPE_LONG",hj:"COLUMN_DATA_TYPE_NUMERIC",ij:"COLUMN_DATA_TYPE_STRING",jj:"COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[De.jj,De.ij,De.hj,De.gj]}},Ee={mj:"CSV_COLUMN_DATA_TYPE_LONG",nj:"CSV_COLUMN_DATA_TYPE_NUMERIC",oj:"CSV_COLUMN_DATA_TYPE_STRING",pj:"CSV_COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[Ee.pj,Ee.oj,Ee.nj,Ee.mj]}},Fe={Fj:"GLOBALLY_CONSISTENT",Gj:"HIGHER_DENSITY",zk:"UNKNOWN_THINNING_STRATEGY",values:function(){return[Fe.zk,
|
|
Fe.Fj,Fe.Gj]}},Ge={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Ge.Bb,Ge.Cb,Ge.Fb,Ge.zb,Ge.Eb,Ge.Ab,Ge.Gb,Ge.Db,Ge.Hb,Ge.Ib]}},He={MAX:"MAX",Za:"MEAN",ab:"MEDIAN",MIN:"MIN",bb:"MODE",cb:"PYRAMIDING_POLICY_UNSPECIFIED",eb:"SAMPLE",values:function(){return[He.cb,He.Za,He.eb,He.MIN,He.MAX,He.bb,He.ab]}},Ie={rj:"DATA_TYPE_UNSPECIFIED",
|
|
Bc:"DOUBLE",FLOAT:"FLOAT",Lj:"INT16",Mj:"INT32",Nj:"INT8",wk:"UINT16",xk:"UINT32",yk:"UINT8",values:function(){return[Ie.rj,Ie.Nj,Ie.yk,Ie.Lj,Ie.wk,Ie.Mj,Ie.xk,Ie.FLOAT,Ie.Bc]}},Je={ve:"GIF",ye:"MP4",Ee:"VIDEO_FILE_FORMAT_UNSPECIFIED",Fe:"VP9",values:function(){return[Je.Ee,Je.ye,Je.ve,Je.Fe]}},Ke={ve:"GIF",ye:"MP4",Ee:"VIDEO_FILE_FORMAT_UNSPECIFIED",Fe:"VP9",values:function(){return[Ke.Ee,Ke.ye,Ke.ve,Ke.Fe]}},Le=function(a){a=void 0===a?{}:a;this.h={};this.h.scaleX=null==a.Wf?null:a.Wf;this.h.shearX=
|
|
null==a.bg?null:a.bg;this.h.translateX=null==a.sg?null:a.sg;this.h.shearY=null==a.cg?null:a.cg;this.h.scaleY=null==a.Xf?null:a.Xf;this.h.translateY=null==a.tg?null:a.tg};p(Le,C);Le.prototype.i=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
k.Object.defineProperties(Le.prototype,{Wf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleX")?E(this,"scaleX"):null},set:function(a){this.h.scaleX=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleY")?E(this,"scaleY"):null},set:function(a){this.h.scaleY=a}},bg:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearX")?E(this,"shearX"):null},set:function(a){this.h.shearX=a}},cg:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearY")?
|
|
E(this,"shearY"):null},set:function(a){this.h.shearY=a}},sg:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateX")?E(this,"translateX"):null},set:function(a){this.h.translateX=a}},tg:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateY")?E(this,"translateY"):null},set:function(a){this.h.translateY=a}}});
|
|
var Me=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.Vf?null:a.Vf;this.h.arguments=null==a.arguments?null:a.arguments;this.h.deprecated=null==a.deprecated?null:a.deprecated;this.h.deprecationReason=null==a.Xe?null:a.Xe;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};p(Me,C);
|
|
Me.prototype.i=function(){return{P:{arguments:Ne},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
|
|
k.Object.defineProperties(Me.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?E(this,"arguments"):null},set:function(a){this.h.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecated")?E(this,"deprecated"):null},set:function(a){this.h.deprecated=a}},Xe:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecationReason")?E(this,"deprecationReason"):null},set:function(a){this.h.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return F(this,"hidden")?E(this,"hidden"):null},set:function(a){this.h.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return F(this,"preview")?E(this,"preview"):null},set:function(a){this.h.preview=
|
|
a}},Vf:{configurable:!0,enumerable:!0,get:function(){return F(this,"returnType")?E(this,"returnType"):null},set:function(a){this.h.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return F(this,"sourceCodeUri")?E(this,"sourceCodeUri"):null},set:function(a){this.h.sourceCodeUri=a}}});
|
|
var Ne=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.od?null:a.od;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};p(Ne,C);Ne.prototype.i=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
k.Object.defineProperties(Ne.prototype,{od:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentName")?E(this,"argumentName"):null},set:function(a){this.h.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?E(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"optional")?E(this,"optional"):null},set:function(a){this.h.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}}});var Oe=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};p(Oe,C);Oe.prototype.i=function(){return{P:{values:Pe},keys:["values"]}};
|
|
k.Object.defineProperties(Oe.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var Qe=function(a){a=void 0===a?{}:a;this.h={};this.h.service=null==a.ti?null:a.ti;this.h.auditLogConfigs=null==a.Fg?null:a.Fg};p(Qe,C);Qe.prototype.i=function(){return{P:{auditLogConfigs:Re},keys:["auditLogConfigs","service"]}};
|
|
k.Object.defineProperties(Qe.prototype,{Fg:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditLogConfigs")?E(this,"auditLogConfigs"):null},set:function(a){this.h.auditLogConfigs=a}},ti:{configurable:!0,enumerable:!0,get:function(){return F(this,"service")?E(this,"service"):null},set:function(a){this.h.service=a}}});
|
|
var Re=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Lh?null:a.Lh;this.h.exemptedMembers=null==a.nh?null:a.nh;this.h.ignoreChildExemptions=null==a.Ah?null:a.Ah};p(Re,C);Re.prototype.i=function(){return{J:{logType:ae},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
k.Object.defineProperties(Re.prototype,{nh:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?E(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},Ah:{configurable:!0,enumerable:!0,get:function(){return F(this,"ignoreChildExemptions")?E(this,"ignoreChildExemptions"):null},set:function(a){this.h.ignoreChildExemptions=a}},Lh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logType")?E(this,"logType"):null},set:function(a){this.h.logType=
|
|
a}}});var Se=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.bi?null:a.bi};p(Se,C);Se.prototype.i=function(){return{J:{permissionType:be},keys:["permissionType"]}};k.Object.defineProperties(Se.prototype,{bi:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissionType")?E(this,"permissionType"):null},set:function(a){this.h.permissionType=a}}});
|
|
var Te=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};p(Te,C);Te.prototype.i=function(){return{keys:["append","overwrite","table"]}};
|
|
k.Object.defineProperties(Te.prototype,{append:{configurable:!0,enumerable:!0,get:function(){return F(this,"append")?E(this,"append"):null},set:function(a){this.h.append=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},table:{configurable:!0,enumerable:!0,get:function(){return F(this,"table")?E(this,"table"):null},set:function(a){this.h.table=a}}});
|
|
var Ue=function(a){a=void 0===a?{}:a;this.h={};this.h.bigqueryDestination=null==a.Je?null:a.Je};p(Ue,C);Ue.prototype.i=function(){return{keys:["bigqueryDestination"],o:{bigqueryDestination:Te}}};k.Object.defineProperties(Ue.prototype,{Je:{configurable:!0,enumerable:!0,get:function(){return F(this,"bigqueryDestination")?E(this,"bigqueryDestination"):null},set:function(a){this.h.bigqueryDestination=a}}});
|
|
var Ve=function(a){a=void 0===a?{}:a;this.h={};this.h.role=null==a.role?null:a.role;this.h.members=null==a.Ub?null:a.Ub;this.h.condition=null==a.Ug?null:a.Ug;this.h.bindingId=null==a.Jg?null:a.Jg};p(Ve,C);Ve.prototype.i=function(){return{keys:["bindingId","condition","members","role"],o:{condition:We}}};
|
|
k.Object.defineProperties(Ve.prototype,{Jg:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindingId")?E(this,"bindingId"):null},set:function(a){this.h.bindingId=a}},Ug:{configurable:!0,enumerable:!0,get:function(){return F(this,"condition")?E(this,"condition"):null},set:function(a){this.h.condition=a}},Ub:{configurable:!0,enumerable:!0,get:function(){return F(this,"members")?E(this,"members"):null},set:function(a){this.h.members=a}},role:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"role")?E(this,"role"):null},set:function(a){this.h.role=a}}});var Xe=function(){this.h={}};p(Xe,C);Xe.prototype.i=function(){return{keys:[]}};var Ye=function(a){a=void 0===a?{}:a;this.h={};this.h.capabilities=null==a.Pg?null:a.Pg};p(Ye,C);Ye.prototype.i=function(){return{J:{capabilities:ce},keys:["capabilities"]}};
|
|
k.Object.defineProperties(Ye.prototype,{Pg:{configurable:!0,enumerable:!0,get:function(){return F(this,"capabilities")?E(this,"capabilities"):null},set:function(a){this.h.capabilities=a}}});var Ze=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ga?null:a.Ga};p(Ze,C);Ze.prototype.i=function(){return{keys:["earthEngineDestination"],o:{earthEngineDestination:$e}}};
|
|
k.Object.defineProperties(Ze.prototype,{Ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var af=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Kh?null:a.Kh;this.h.authorizationLoggingOptions=null==a.Gg?null:a.Gg};p(af,C);af.prototype.i=function(){return{J:{logName:de},keys:["authorizationLoggingOptions","logName"],o:{authorizationLoggingOptions:Se}}};
|
|
k.Object.defineProperties(af.prototype,{Gg:{configurable:!0,enumerable:!0,get:function(){return F(this,"authorizationLoggingOptions")?E(this,"authorizationLoggingOptions"):null},set:function(a){this.h.authorizationLoggingOptions=a}},Kh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logName")?E(this,"logName"):null},set:function(a){this.h.logName=a}}});
|
|
var bf=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.Me?null:a.Me;this.h.filenamePrefix=null==a.wa?null:a.wa;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.Ne?null:a.Ne};p(bf,C);bf.prototype.i=function(){return{J:{permissions:fe},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
k.Object.defineProperties(bf.prototype,{Me:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucket")?E(this,"bucket"):null},set:function(a){this.h.bucket=a}},Ne:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucketCorsUris")?E(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},wa:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"permissions")?E(this,"permissions"):null},set:function(a){this.h.permissions=a}}});k.Object.defineProperties(bf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return fe}}});var cf=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris};p(cf,C);cf.prototype.i=function(){return{keys:["uris"]}};
|
|
k.Object.defineProperties(cf.prototype,{uris:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}}});var df=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};p(df,C);df.prototype.i=function(){return{keys:["expression","workloadTag"],o:{expression:ef}}};
|
|
k.Object.defineProperties(df.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});var ff=function(a){a=void 0===a?{}:a;this.h={};this.h.result=null==a.result?null:a.result};p(ff,C);ff.prototype.i=function(){return{keys:["result"]}};
|
|
k.Object.defineProperties(ff.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?E(this,"result"):null},set:function(a){this.h.result=a}}});var gf=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.yh?null:a.yh;this.h.sys=null==a.Di?null:a.Di;this.h.svc=null==a.Ci?null:a.Ci;this.h.op=null==a.Zh?null:a.Zh;this.h.values=null==a.values?null:a.values};p(gf,C);gf.prototype.i=function(){return{J:{iam:ge,op:he,sys:ie},keys:["iam","op","svc","sys","values"]}};
|
|
k.Object.defineProperties(gf.prototype,{yh:{configurable:!0,enumerable:!0,get:function(){return F(this,"iam")?E(this,"iam"):null},set:function(a){this.h.iam=a}},Zh:{configurable:!0,enumerable:!0,get:function(){return F(this,"op")?E(this,"op"):null},set:function(a){this.h.op=a}},Ci:{configurable:!0,enumerable:!0,get:function(){return F(this,"svc")?E(this,"svc"):null},set:function(a){this.h.svc=a}},Di:{configurable:!0,enumerable:!0,get:function(){return F(this,"sys")?E(this,"sys"):null},set:function(a){this.h.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var hf=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Ob?null:a.Ob;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.bandIds=null==a.ba?null:a.ba};p(hf,C);hf.prototype.i=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
k.Object.defineProperties(hf.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?E(this,"destinationName"):null},set:function(a){this.h.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
|
|
var jf=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Nh?null:a.Nh;this.h.field=null==a.ph?null:a.ph;this.h.customFields=null==a.fh?null:a.fh};p(jf,C);jf.prototype.i=function(){return{P:{customFields:kf},keys:["customFields","field","metric"]}};
|
|
k.Object.defineProperties(jf.prototype,{fh:{configurable:!0,enumerable:!0,get:function(){return F(this,"customFields")?E(this,"customFields"):null},set:function(a){this.h.customFields=a}},ph:{configurable:!0,enumerable:!0,get:function(){return F(this,"field")?E(this,"field"):null},set:function(a){this.h.field=a}},Nh:{configurable:!0,enumerable:!0,get:function(){return F(this,"metric")?E(this,"metric"):null},set:function(a){this.h.metric=a}}});
|
|
var kf=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};p(kf,C);kf.prototype.i=function(){return{keys:["name","value"]}};k.Object.defineProperties(kf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return F(this,"value")?E(this,"value"):null},set:function(a){this.h.value=a}}});
|
|
var lf=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Jh?null:a.Jh};p(lf,C);lf.prototype.i=function(){return{J:{logMode:je},keys:["logMode"]}};k.Object.defineProperties(lf.prototype,{Jh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logMode")?E(this,"logMode"):null},set:function(a){this.h.logMode=a}}});var mf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};p(mf,C);
|
|
mf.prototype.i=function(){return{keys:["values"],La:{values:{ja:Pe,oa:!1,pa:!0,qa:!1}}}};k.Object.defineProperties(mf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var nf=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};p(nf,C);nf.prototype.i=function(){return{keys:["max","min"]}};
|
|
k.Object.defineProperties(nf.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return F(this,"max")?E(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return F(this,"min")?E(this,"min"):null},set:function(a){this.h.min=a}}});var of=function(a){a=void 0===a?{}:a;this.h={};this.h.folder=null==a.kf?null:a.kf;this.h.filenamePrefix=null==a.wa?null:a.wa};p(of,C);of.prototype.i=function(){return{keys:["filenamePrefix","folder"]}};
|
|
k.Object.defineProperties(of.prototype,{wa:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},kf:{configurable:!0,enumerable:!0,get:function(){return F(this,"folder")?E(this,"folder"):null},set:function(a){this.h.folder=a}}});
|
|
var pf=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.Ad?null:a.Ad;this.h.tableLocation=null==a.Ei?null:a.Ei;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};p(pf,C);
|
|
pf.prototype.i=function(){return{P:{bands:qf},J:{type:ke},keys:"bands cloudStorageLocation endTime expression featureCount featureViewAssetLocation geometry id name properties quota sizeBytes startTime tableLocation tilestoreLocation type updateTime".split(" "),La:{geometry:{ja:null,oa:!1,pa:!1,qa:!1},properties:{ja:null,oa:!1,pa:!1,qa:!1}},o:{cloudStorageLocation:cf,expression:ef,featureViewAssetLocation:rf,quota:sf,tableLocation:tf,tilestoreLocation:uf}}};
|
|
k.Object.defineProperties(pf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?E(this,"bands"):null},set:function(a){this.h.bands=a}},cloudStorageLocation:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageLocation")?E(this,"cloudStorageLocation"):null},set:function(a){this.h.cloudStorageLocation=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):null},set:function(a){this.h.endTime=a}},l:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},featureCount:{configurable:!0,enumerable:!0,get:function(){return F(this,"featureCount")?E(this,"featureCount"):null},set:function(a){this.h.featureCount=a}},Ad:{configurable:!0,enumerable:!0,get:function(){return F(this,"featureViewAssetLocation")?E(this,"featureViewAssetLocation"):null},set:function(a){this.h.featureViewAssetLocation=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"geometry")?E(this,"geometry"):null},set:function(a){this.h.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},quota:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"quota")?E(this,"quota"):null},set:function(a){this.h.quota=a}},sizeBytes:{configurable:!0,enumerable:!0,get:function(){return F(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},Ei:{configurable:!0,enumerable:!0,get:function(){return F(this,"tableLocation")?E(this,"tableLocation"):
|
|
null},set:function(a){this.h.tableLocation=a}},tilestoreLocation:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilestoreLocation")?E(this,"tilestoreLocation"):null},set:function(a){this.h.tilestoreLocation=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}},updateTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?E(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});
|
|
var $e=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};p($e,C);$e.prototype.i=function(){return{keys:["name","overwrite"]}};
|
|
k.Object.defineProperties($e.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
|
|
var vf=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.ba?null:a.ba;this.h.visualizationOptions=null==a.ec?null:a.ec};p(vf,C);vf.prototype.i=function(){return{J:{fileFormat:le},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],o:{expression:ef,visualizationOptions:wf}}};
|
|
k.Object.defineProperties(vf.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},ec:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?E(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var xf=function(){this.h={}};p(xf,C);xf.prototype.i=function(){return{keys:[]}};
|
|
var yf=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.ra?null:a.ra;this.h.maxWorkers=null==a.N?null:a.N;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};p(yf,C);yf.prototype.i=function(){return{keys:"assetExportOptions description expression maxWorkers requestId workloadTag".split(" "),o:{assetExportOptions:Ze,expression:ef}}};
|
|
k.Object.defineProperties(yf.prototype,{ra:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?E(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
N:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var zf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.na?null:a.na;this.h.assetExportOptions=null==a.ra?null:a.ra;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.maxPixels=null==a.Hf?null:a.Hf;this.h.grid=null==a.grid?null:a.grid;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.N?null:a.N;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};p(zf,C);
|
|
zf.prototype.i=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkers requestId workloadTag".split(" "),o:{assetExportOptions:Af,expression:ef,fileExportOptions:Bf,grid:Cf}}};
|
|
k.Object.defineProperties(zf.prototype,{ra:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?E(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
na:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},grid:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},Hf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixels")?E(this,"maxPixels"):null},set:function(a){this.h.maxPixels=a}},N:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?
|
|
E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Df=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.bc?null:a.bc;this.h.tileExportOptions=null==a.ac?null:a.ac;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.N?null:a.N;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};p(Df,C);
|
|
Df.prototype.i=function(){return{keys:"description expression maxWorkers requestId tileExportOptions tileOptions workloadTag".split(" "),o:{expression:ef,tileExportOptions:Bf,tileOptions:Ef}}};
|
|
k.Object.defineProperties(Df.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},N:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},ac:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?E(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},bc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?E(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?
|
|
E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Ff=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.na?null:a.na;this.h.assetExportOptions=null==a.ra?null:a.ra;this.h.featureViewExportOptions=null==a.Bd?null:a.Bd;this.h.bigqueryExportOptions=null==a.pd?null:a.pd;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.Sb?null:a.Sb;this.h.maxWorkers=
|
|
null==a.N?null:a.N;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag;this.h.policy=null==a.jb?null:a.jb};p(Ff,C);
|
|
Ff.prototype.i=function(){return{keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkers policy requestId selectors workloadTag".split(" "),o:{assetExportOptions:Gf,bigqueryExportOptions:Ue,expression:ef,featureViewExportOptions:Hf,fileExportOptions:If,policy:Jf}}};
|
|
k.Object.defineProperties(Ff.prototype,{ra:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?E(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},pd:{configurable:!0,enumerable:!0,get:function(){return F(this,"bigqueryExportOptions")?E(this,"bigqueryExportOptions"):null},set:function(a){this.h.bigqueryExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=
|
|
a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},Bd:{configurable:!0,enumerable:!0,get:function(){return F(this,"featureViewExportOptions")?E(this,"featureViewExportOptions"):null},set:function(a){this.h.featureViewExportOptions=a}},na:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},Sb:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"maxErrorMeters")?E(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxVertices")?E(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},N:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},jb:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?
|
|
E(this,"policy"):null},set:function(a){this.h.policy=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,"selectors")?E(this,"selectors"):null},set:function(a){this.h.selectors=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?E(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.Oa?null:a.Oa;this.h.tileOptions=null==a.bc?null:a.bc;this.h.tileExportOptions=null==a.ac?null:a.ac;this.h.requestId=null==a.requestId?null:a.requestId;this.h.version=null==a.version?null:a.version;this.h.maxWorkers=null==a.N?null:a.N;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};p(Kf,C);
|
|
Kf.prototype.i=function(){return{J:{version:me},keys:"description expression maxWorkers requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "),o:{expression:ef,tileExportOptions:Lf,tileOptions:Ef,videoOptions:Mf}}};
|
|
k.Object.defineProperties(Kf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},N:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},ac:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?E(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},bc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?E(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?
|
|
E(this,"version"):null},set:function(a){this.h.version=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Nf=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.Oa?null:a.Oa;this.h.fileExportOptions=null==a.na?null:a.na;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.N?null:a.N;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};p(Nf,C);
|
|
Nf.prototype.i=function(){return{keys:"description expression fileExportOptions maxWorkers requestId videoOptions workloadTag".split(" "),o:{expression:ef,fileExportOptions:Lf,videoOptions:Mf}}};
|
|
k.Object.defineProperties(Nf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},na:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},N:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return F(this,"workloadTag")?
|
|
E(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});var We=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};p(We,C);We.prototype.i=function(){return{keys:["description","expression","location","title"]}};
|
|
k.Object.defineProperties(We.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return F(this,"location")?E(this,"location"):null},set:function(a){this.h.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"title")?E(this,"title"):null},set:function(a){this.h.title=a}}});var ef=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};p(ef,C);ef.prototype.i=function(){return{keys:["result","values"],La:{values:{ja:Pe,oa:!1,pa:!0,qa:!1}}}};
|
|
k.Object.defineProperties(ef.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?E(this,"result"):null},set:function(a){this.h.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var Of=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};
|
|
p(Of,C);Of.prototype.i=function(){return{keys:["geometry","properties","type"]}};
|
|
k.Object.defineProperties(Of.prototype,{geometry:{configurable:!0,enumerable:!0,get:function(){return F(this,"geometry")?E(this,"geometry"):null},set:function(a){this.h.geometry=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var Pf=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Lb?null:a.Lb;this.h.mapName=null==a.mapName?null:a.mapName;this.h.name=null==a.name?null:a.name;this.h.visualizationExpression=null==a.vg?null:a.vg};p(Pf,C);Pf.prototype.i=function(){return{keys:["asset","mapName","name","visualizationExpression"],o:{visualizationExpression:ef}}};
|
|
k.Object.defineProperties(Pf.prototype,{Lb:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?E(this,"asset"):null},set:function(a){this.h.asset=a}},mapName:{configurable:!0,enumerable:!0,get:function(){return F(this,"mapName")?E(this,"mapName"):null},set:function(a){this.h.mapName=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},vg:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationExpression")?
|
|
E(this,"visualizationExpression"):null},set:function(a){this.h.visualizationExpression=a}}});var Hf=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewDestination=null==a.df?null:a.df;this.h.ingestionTimeParameters=null==a.qc?null:a.qc};p(Hf,C);Hf.prototype.i=function(){return{keys:["featureViewDestination","ingestionTimeParameters"],o:{featureViewDestination:Qf,ingestionTimeParameters:Rf}}};
|
|
k.Object.defineProperties(Hf.prototype,{df:{configurable:!0,enumerable:!0,get:function(){return F(this,"featureViewDestination")?E(this,"featureViewDestination"):null},set:function(a){this.h.featureViewDestination=a}},qc:{configurable:!0,enumerable:!0,get:function(){return F(this,"ingestionTimeParameters")?E(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var Sf=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};p(Sf,C);Sf.prototype.i=function(){return{J:{type:ne},keys:["name","type"]}};k.Object.defineProperties(Sf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var Qf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.assetVersion=null==a.Ag?null:a.Ag;this.h.permissions=null==a.permissions?null:a.permissions};p(Qf,C);Qf.prototype.i=function(){return{J:{permissions:oe},keys:["assetVersion","name","permissions"]}};
|
|
k.Object.defineProperties(Qf.prototype,{Ag:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetVersion")?E(this,"assetVersion"):null},set:function(a){this.h.assetVersion=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissions")?E(this,"permissions"):null},set:function(a){this.h.permissions=a}}});
|
|
k.Object.defineProperties(Qf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return oe}}});var Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.thinningOptions=null==a.kg?null:a.kg;this.h.rankingOptions=null==a.Rf?null:a.Rf;this.h.prerenderingOptions=null==a.di?null:a.di};p(Rf,C);Rf.prototype.i=function(){return{keys:["prerenderingOptions","rankingOptions","thinningOptions"],o:{prerenderingOptions:Tf,rankingOptions:Uf,thinningOptions:Vf}}};
|
|
k.Object.defineProperties(Rf.prototype,{di:{configurable:!0,enumerable:!0,get:function(){return F(this,"prerenderingOptions")?E(this,"prerenderingOptions"):null},set:function(a){this.h.prerenderingOptions=a}},Rf:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankingOptions")?E(this,"rankingOptions"):null},set:function(a){this.h.rankingOptions=a}},kg:{configurable:!0,enumerable:!0,get:function(){return F(this,"thinningOptions")?E(this,"thinningOptions"):null},set:function(a){this.h.thinningOptions=
|
|
a}}});var rf=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};p(rf,C);rf.prototype.i=function(){return{keys:["assetOptions","location"],o:{assetOptions:Wf}}};
|
|
k.Object.defineProperties(rf.prototype,{assetOptions:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetOptions")?E(this,"assetOptions"):null},set:function(a){this.h.assetOptions=a}},location:{configurable:!0,enumerable:!0,get:function(){return F(this,"location")?E(this,"location"):null},set:function(a){this.h.location=a}}});var Wf=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewAttributes=null==a.oh?null:a.oh;this.h.ingestionTimeParameters=null==a.qc?null:a.qc};p(Wf,C);
|
|
Wf.prototype.i=function(){return{P:{featureViewAttributes:Sf},keys:["featureViewAttributes","ingestionTimeParameters"],o:{ingestionTimeParameters:Rf}}};
|
|
k.Object.defineProperties(Wf.prototype,{oh:{configurable:!0,enumerable:!0,get:function(){return F(this,"featureViewAttributes")?E(this,"featureViewAttributes"):null},set:function(a){this.h.featureViewAttributes=a}},qc:{configurable:!0,enumerable:!0,get:function(){return F(this,"ingestionTimeParameters")?E(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var Xf=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};p(Xf,C);Xf.prototype.i=function(){return{J:{fileFormat:pe,orientation:qe},keys:["expression","fileFormat","grid","name","orientation"],o:{expression:ef,grid:Cf}}};
|
|
k.Object.defineProperties(Xf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},grid:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return F(this,"orientation")?E(this,"orientation"):null},set:function(a){this.h.orientation=a}}});var sf=function(a){a=void 0===a?{}:a;this.h={};this.h.sizeBytes=null==a.sizeBytes?null:a.sizeBytes;this.h.maxSizeBytes=null==a.Tb?null:a.Tb;this.h.assetCount=null==a.Ie?null:a.Ie;this.h.maxAssets=null==a.Ef?null:a.Ef};p(sf,C);
|
|
sf.prototype.i=function(){return{keys:["assetCount","maxAssets","maxSizeBytes","sizeBytes"]}};
|
|
k.Object.defineProperties(sf.prototype,{Ie:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetCount")?E(this,"assetCount"):null},set:function(a){this.h.assetCount=a}},Ef:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxAssets")?E(this,"maxAssets"):null},set:function(a){this.h.maxAssets=a}},Tb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?E(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},sizeBytes:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});var Yf=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentNames=null==a.ic?null:a.ic;this.h.body=null==a.body?null:a.body};p(Yf,C);Yf.prototype.i=function(){return{keys:["argumentNames","body"]}};
|
|
k.Object.defineProperties(Yf.prototype,{ic:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentNames")?E(this,"argumentNames"):null},set:function(a){this.h.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return F(this,"body")?E(this,"body"):null},set:function(a){this.h.body=a}}});
|
|
var Zf=function(a){a=void 0===a?{}:a;this.h={};this.h.functionName=null==a.functionName?null:a.functionName;this.h.functionReference=null==a.Ua?null:a.Ua;this.h.arguments=null==a.arguments?null:a.arguments};p(Zf,C);Zf.prototype.i=function(){return{keys:["arguments","functionName","functionReference"],La:{arguments:{ja:Pe,oa:!1,pa:!0,qa:!1}}}};
|
|
k.Object.defineProperties(Zf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?E(this,"arguments"):null},set:function(a){this.h.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionName")?E(this,"functionName"):null},set:function(a){this.h.functionName=a}},Ua:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionReference")?E(this,"functionReference"):null},set:function(a){this.h.functionReference=
|
|
a}}});var $f=function(a){a=void 0===a?{}:a;this.h={};this.h.cloudOptimized=null==a.Oe?null:a.Oe;this.h.tileDimensions=null==a.Zb?null:a.Zb;this.h.skipEmptyFiles=null==a.fg?null:a.fg;this.h.tileSize=null==a.tileSize?null:a.tileSize;this.h.noData=null==a.If?null:a.If};p($f,C);$f.prototype.i=function(){return{keys:["cloudOptimized","noData","skipEmptyFiles","tileDimensions","tileSize"],o:{noData:ag,tileDimensions:bg}}};
|
|
k.Object.defineProperties($f.prototype,{Oe:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudOptimized")?E(this,"cloudOptimized"):null},set:function(a){this.h.cloudOptimized=a}},If:{configurable:!0,enumerable:!0,get:function(){return F(this,"noData")?E(this,"noData"):null},set:function(a){this.h.noData=a}},fg:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyFiles")?E(this,"skipEmptyFiles"):null},set:function(a){this.h.skipEmptyFiles=a}},Zb:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"tileDimensions")?E(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileSize")?E(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});var cg=function(a){a=void 0===a?{}:a;this.h={};this.h.options=null==a.options?null:a.options};p(cg,C);cg.prototype.i=function(){return{keys:["options"],o:{options:dg}}};
|
|
k.Object.defineProperties(cg.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return F(this,"options")?E(this,"options"):null},set:function(a){this.h.options=a}}});var dg=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.ni?null:a.ni};p(dg,C);dg.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};
|
|
k.Object.defineProperties(dg.prototype,{ni:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestedPolicyVersion")?E(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});var bg=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};p(bg,C);bg.prototype.i=function(){return{keys:["height","width"]}};
|
|
k.Object.defineProperties(bg.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return F(this,"height")?E(this,"height"):null},set:function(a){this.h.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return F(this,"width")?E(this,"width"):null},set:function(a){this.h.width=a}}});var eg=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};p(eg,C);eg.prototype.i=function(){return{keys:["x","y"]}};
|
|
k.Object.defineProperties(eg.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return F(this,"x")?E(this,"x"):null},set:function(a){this.h.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return F(this,"y")?E(this,"y"):null},set:function(a){this.h.y=a}}});
|
|
var Af=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ga?null:a.Ga;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.pyramidingPolicyOverrides=null==a.Of?null:a.Of;this.h.tileSize=null==a.tileSize?null:a.tileSize};p(Af,C);
|
|
Af.prototype.i=function(){return{J:{pyramidingPolicy:re,pyramidingPolicyOverrides:se},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],La:{pyramidingPolicyOverrides:{ja:null,oa:!1,pa:!1,qa:!1}},o:{earthEngineDestination:$e}}};
|
|
k.Object.defineProperties(Af.prototype,{Ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Of:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicyOverrides")?E(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.h.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileSize")?E(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});
|
|
var qf=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.cloudStorageLocation=null==a.cloudStorageLocation?null:a.cloudStorageLocation};p(qf,C);
|
|
qf.prototype.i=function(){return{P:{tilesets:fg},J:{pyramidingPolicy:te},keys:"cloudStorageLocation dataType grid id missingData pyramidingPolicy tilesets".split(" "),o:{cloudStorageLocation:cf,dataType:gg,grid:Cf,missingData:hg}}};
|
|
k.Object.defineProperties(qf.prototype,{cloudStorageLocation:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageLocation")?E(this,"cloudStorageLocation"):null},set:function(a){this.h.cloudStorageLocation=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?E(this,"dataType"):null},set:function(a){this.h.dataType=a}},grid:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},id:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?E(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesets")?
|
|
E(this,"tilesets"):null},set:function(a){this.h.tilesets=a}}});var Bf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.la?null:a.la;this.h.cloudStorageDestination=null==a.ia?null:a.ia;this.h.geoTiffOptions=null==a.Cd?null:a.Cd;this.h.tfRecordOptions=null==a.de?null:a.de;this.h.fileFormat=null==a.F?null:a.F};p(Bf,C);
|
|
Bf.prototype.i=function(){return{J:{fileFormat:ue},keys:["cloudStorageDestination","driveDestination","fileFormat","geoTiffOptions","tfRecordOptions"],o:{cloudStorageDestination:bf,driveDestination:of,geoTiffOptions:$f,tfRecordOptions:ig}}};
|
|
k.Object.defineProperties(Bf.prototype,{ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},la:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},Cd:{configurable:!0,enumerable:!0,get:function(){return F(this,"geoTiffOptions")?E(this,"geoTiffOptions"):null},set:function(a){this.h.geoTiffOptions=a}},de:{configurable:!0,enumerable:!0,get:function(){return F(this,"tfRecordOptions")?E(this,"tfRecordOptions"):null},set:function(a){this.h.tfRecordOptions=a}}});
|
|
var jg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.hd?null:a.hd;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.bands=null==a.bands?null:a.bands;this.h.maskBands=null==a.Df?null:a.Df;this.h.footprint=null==a.vh?null:a.vh;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.Qh?null:a.Qh;this.h.skipMetadataRead=null==a.wi?null:a.wi};p(jg,C);jg.prototype.i=function(){return{P:{bands:kg,maskBands:lg,tilesets:mg},J:{pyramidingPolicy:ve},keys:"bands endTime footprint maskBands minTileAreaRatio missingData name properties pyramidingPolicy skipMetadataRead startTime tilesets uriPrefix".split(" "),La:{properties:{ja:null,oa:!1,pa:!1,qa:!1}},o:{footprint:ng,missingData:hg}}};
|
|
k.Object.defineProperties(jg.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?E(this,"bands"):null},set:function(a){this.h.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):null},set:function(a){this.h.endTime=a}},vh:{configurable:!0,enumerable:!0,get:function(){return F(this,"footprint")?E(this,"footprint"):null},set:function(a){this.h.footprint=a}},Df:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"maskBands")?E(this,"maskBands"):null},set:function(a){this.h.maskBands=a}},Qh:{configurable:!0,enumerable:!0,get:function(){return F(this,"minTileAreaRatio")?E(this,"minTileAreaRatio"):null},set:function(a){this.h.minTileAreaRatio=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?E(this,"missingData"):null},set:function(a){this.h.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=
|
|
a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},wi:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipMetadataRead")?E(this,"skipMetadataRead"):null},set:function(a){this.h.skipMetadataRead=a}},startTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesets")?E(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},hd:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?E(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var og=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris;this.h.affineTransform=null==a.Jb?null:a.Jb;this.h.dimensions=null==a.dimensions?null:a.dimensions};p(og,C);og.prototype.i=function(){return{keys:["affineTransform","dimensions","uris"],o:{affineTransform:Le,dimensions:bg}}};
|
|
k.Object.defineProperties(og.prototype,{Jb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?E(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},dimensions:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensions")?E(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},uris:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}}});
|
|
var pg=function(a){a=void 0===a?{}:a;this.h={};this.h.imageManifest=null==a.tf?null:a.tf;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};p(pg,C);pg.prototype.i=function(){return{keys:["description","imageManifest","overwrite","requestId"],o:{imageManifest:jg}}};
|
|
k.Object.defineProperties(pg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},tf:{configurable:!0,enumerable:!0,get:function(){return F(this,"imageManifest")?E(this,"imageManifest"):null},set:function(a){this.h.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}}});var qg=function(a){a=void 0===a?{}:a;this.h={};this.h.tableManifest=null==a.jg?null:a.jg;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};p(qg,C);qg.prototype.i=function(){return{keys:["description","overwrite","requestId","tableManifest"],o:{tableManifest:rg}}};
|
|
k.Object.defineProperties(qg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},jg:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tableManifest")?E(this,"tableManifest"):null},set:function(a){this.h.tableManifest=a}}});var sg=function(a){a=void 0===a?{}:a;this.h={};this.h.algorithms=null==a.Dc?null:a.Dc};p(sg,C);sg.prototype.i=function(){return{P:{algorithms:Me},keys:["algorithms"]}};k.Object.defineProperties(sg.prototype,{Dc:{configurable:!0,enumerable:!0,get:function(){return F(this,"algorithms")?E(this,"algorithms"):null},set:function(a){this.h.algorithms=a}}});
|
|
var tg=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};p(tg,C);tg.prototype.i=function(){return{P:{assets:pf},keys:["assets","nextPageToken"]}};
|
|
k.Object.defineProperties(tg.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return F(this,"assets")?E(this,"assets"):null},set:function(a){this.h.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});
|
|
var ug=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};p(ug,C);ug.prototype.i=function(){return{P:{features:Of},keys:["features","nextPageToken","type"]}};
|
|
k.Object.defineProperties(ug.prototype,{features:{configurable:!0,enumerable:!0,get:function(){return F(this,"features")?E(this,"features"):null},set:function(a){this.h.features=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var vg=function(a){a=void 0===a?{}:a;this.h={};this.h.operations=null==a.Ma?null:a.Ma;this.h.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};p(vg,C);vg.prototype.i=function(){return{P:{operations:wg},keys:["nextPageToken","operations"]}};
|
|
k.Object.defineProperties(vg.prototype,{nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},Ma:{configurable:!0,enumerable:!0,get:function(){return F(this,"operations")?E(this,"operations"):null},set:function(a){this.h.operations=a}}});
|
|
var xg=function(a){a=void 0===a?{}:a;this.h={};this.h.counter=null==a.counter?null:a.counter;this.h.dataAccess=null==a.gh?null:a.gh;this.h.cloudAudit=null==a.Rg?null:a.Rg};p(xg,C);xg.prototype.i=function(){return{keys:["cloudAudit","counter","dataAccess"],o:{cloudAudit:af,counter:jf,dataAccess:lf}}};
|
|
k.Object.defineProperties(xg.prototype,{Rg:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudAudit")?E(this,"cloudAudit"):null},set:function(a){this.h.cloudAudit=a}},counter:{configurable:!0,enumerable:!0,get:function(){return F(this,"counter")?E(this,"counter"):null},set:function(a){this.h.counter=a}},gh:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataAccess")?E(this,"dataAccess"):null},set:function(a){this.h.dataAccess=a}}});
|
|
var hg=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};p(hg,C);hg.prototype.i=function(){return{keys:["values"]}};k.Object.defineProperties(hg.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var yg=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Ob?null:a.Ob};p(yg,C);yg.prototype.i=function(){return{keys:["destinationName"]}};
|
|
k.Object.defineProperties(yg.prototype,{Ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?E(this,"destinationName"):null},set:function(a){this.h.destinationName=a}}});var ag=function(a){a=void 0===a?{}:a;this.h={};this.h.floatValue=null==a.hf?null:a.hf;this.h.integerValue=null==a.Va?null:a.Va};p(ag,C);ag.prototype.i=function(){return{keys:["floatValue","integerValue"]}};
|
|
k.Object.defineProperties(ag.prototype,{hf:{configurable:!0,enumerable:!0,get:function(){return F(this,"floatValue")?E(this,"floatValue"):null},set:function(a){this.h.floatValue=a}},Va:{configurable:!0,enumerable:!0,get:function(){return F(this,"integerValue")?E(this,"integerValue"):null},set:function(a){this.h.integerValue=a}}});
|
|
var wg=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};p(wg,C);wg.prototype.i=function(){return{keys:["done","error","metadata","name","response"],La:{metadata:{ja:null,oa:!1,pa:!1,qa:!1},response:{ja:null,oa:!1,pa:!1,qa:!1}},o:{error:zg}}};
|
|
k.Object.defineProperties(wg.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return F(this,"done")?E(this,"done"):null},set:function(a){this.h.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return F(this,"error")?E(this,"error"):null},set:function(a){this.h.error=a}},metadata:{configurable:!0,enumerable:!0,get:function(){return F(this,"metadata")?E(this,"metadata"):null},set:function(a){this.h.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return F(this,"response")?E(this,"response"):null},set:function(a){this.h.response=a}}});
|
|
var Ag=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.Ve?null:a.Ve;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.yi?null:
|
|
a.yi;this.h.attempt=null==a.attempt?null:a.attempt;this.h.scriptUri=null==a.Yf?null:a.Yf;this.h.destinationUris=null==a.Ye?null:a.Ye;this.h.notifications=null==a.Uh?null:a.Uh;this.h.batchEecuUsageSeconds=null==a.Ig?null:a.Ig};p(Ag,C);Ag.prototype.i=function(){return{P:{notifications:Bg,stages:Cg},J:{state:we},keys:"attempt batchEecuUsageSeconds createTime description destinationUris endTime notifications priority progress scriptUri stages startTime state type updateTime".split(" ")}};
|
|
k.Object.defineProperties(Ag.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return F(this,"attempt")?E(this,"attempt"):null},set:function(a){this.h.attempt=a}},Ig:{configurable:!0,enumerable:!0,get:function(){return F(this,"batchEecuUsageSeconds")?E(this,"batchEecuUsageSeconds"):null},set:function(a){this.h.batchEecuUsageSeconds=a}},Ve:{configurable:!0,enumerable:!0,get:function(){return F(this,"createTime")?E(this,"createTime"):null},set:function(a){this.h.createTime=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},Ye:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationUris")?E(this,"destinationUris"):null},set:function(a){this.h.destinationUris=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):null},set:function(a){this.h.endTime=a}},Uh:{configurable:!0,enumerable:!0,get:function(){return F(this,"notifications")?E(this,
|
|
"notifications"):null},set:function(a){this.h.notifications=a}},priority:{configurable:!0,enumerable:!0,get:function(){return F(this,"priority")?E(this,"priority"):null},set:function(a){this.h.priority=a}},progress:{configurable:!0,enumerable:!0,get:function(){return F(this,"progress")?E(this,"progress"):null},set:function(a){this.h.progress=a}},Yf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scriptUri")?E(this,"scriptUri"):null},set:function(a){this.h.scriptUri=a}},yi:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"stages")?E(this,"stages"):null},set:function(a){this.h.stages=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return F(this,"state")?E(this,"state"):null},set:function(a){this.h.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=
|
|
a}},updateTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?E(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var Bg=function(a){a=void 0===a?{}:a;this.h={};this.h.severity=null==a.severity?null:a.severity;this.h.topic=null==a.Ki?null:a.Ki;this.h.detail=null==a.detail?null:a.detail};p(Bg,C);Bg.prototype.i=function(){return{J:{severity:xe},keys:["detail","severity","topic"]}};
|
|
k.Object.defineProperties(Bg.prototype,{detail:{configurable:!0,enumerable:!0,get:function(){return F(this,"detail")?E(this,"detail"):null},set:function(a){this.h.detail=a}},severity:{configurable:!0,enumerable:!0,get:function(){return F(this,"severity")?E(this,"severity"):null},set:function(a){this.h.severity=a}},Ki:{configurable:!0,enumerable:!0,get:function(){return F(this,"topic")?E(this,"topic"):null},set:function(a){this.h.topic=a}}});
|
|
var Cg=function(a){a=void 0===a?{}:a;this.h={};this.h.displayName=null==a.displayName?null:a.displayName;this.h.completeWorkUnits=null==a.Tg?null:a.Tg;this.h.totalWorkUnits=null==a.Li?null:a.Li;this.h.description=null==a.description?null:a.description};p(Cg,C);Cg.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
|
|
k.Object.defineProperties(Cg.prototype,{Tg:{configurable:!0,enumerable:!0,get:function(){return F(this,"completeWorkUnits")?E(this,"completeWorkUnits"):null},set:function(a){this.h.completeWorkUnits=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},displayName:{configurable:!0,enumerable:!0,get:function(){return F(this,"displayName")?E(this,"displayName"):null},set:function(a){this.h.displayName=
|
|
a}},Li:{configurable:!0,enumerable:!0,get:function(){return F(this,"totalWorkUnits")?E(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var gg=function(a){a=void 0===a?{}:a;this.h={};this.h.precision=null==a.precision?null:a.precision;this.h.range=null==a.ad?null:a.ad;this.h.dimensionsCount=null==a.kh?null:a.kh};p(gg,C);gg.prototype.i=function(){return{J:{precision:ye},keys:["dimensionsCount","precision","range"],o:{range:nf}}};
|
|
k.Object.defineProperties(gg.prototype,{kh:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensionsCount")?E(this,"dimensionsCount"):null},set:function(a){this.h.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return F(this,"precision")?E(this,"precision"):null},set:function(a){this.h.precision=a}},ad:{configurable:!0,enumerable:!0,get:function(){return F(this,"range")?E(this,"range"):null},set:function(a){this.h.range=a}}});
|
|
var ng=function(a){a=void 0===a?{}:a;this.h={};this.h.points=null==a.points?null:a.points;this.h.bandId=null==a.Hg?null:a.Hg};p(ng,C);ng.prototype.i=function(){return{P:{points:eg},keys:["bandId","points"]}};
|
|
k.Object.defineProperties(ng.prototype,{Hg:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandId")?E(this,"bandId"):null},set:function(a){this.h.bandId=a}},points:{configurable:!0,enumerable:!0,get:function(){return F(this,"points")?E(this,"points"):null},set:function(a){this.h.points=a}}});
|
|
var Cf=function(a){a=void 0===a?{}:a;this.h={};this.h.crsCode=null==a.We?null:a.We;this.h.crsWkt=null==a.Zg?null:a.Zg;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.affineTransform=null==a.Jb?null:a.Jb};p(Cf,C);Cf.prototype.i=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],o:{affineTransform:Le,dimensions:bg}}};
|
|
k.Object.defineProperties(Cf.prototype,{Jb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?E(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},We:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsCode")?E(this,"crsCode"):null},set:function(a){this.h.crsCode=a}},Zg:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsWkt")?E(this,"crsWkt"):null},set:function(a){this.h.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"dimensions")?E(this,"dimensions"):null},set:function(a){this.h.dimensions=a}}});var Jf=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.qd?null:a.qd;this.h.auditConfigs=null==a.Eg?null:a.Eg;this.h.rules=null==a.rules?null:a.rules;this.h.etag=null==a.bf?null:a.bf};p(Jf,C);Jf.prototype.i=function(){return{P:{auditConfigs:Qe,bindings:Ve,rules:Dg},keys:["auditConfigs","bindings","etag","rules","version"]}};
|
|
k.Object.defineProperties(Jf.prototype,{Eg:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditConfigs")?E(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},qd:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindings")?E(this,"bindings"):null},set:function(a){this.h.bindings=a}},bf:{configurable:!0,enumerable:!0,get:function(){return F(this,"etag")?E(this,"etag"):null},set:function(a){this.h.etag=a}},rules:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"rules")?E(this,"rules"):null},set:function(a){this.h.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?E(this,"version"):null},set:function(a){this.h.version=a}}});var Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.prerenderTiles=null==a.ci?null:a.ci;this.h.tileLimiting=null==a.Fi?null:a.Fi};p(Tf,C);Tf.prototype.i=function(){return{keys:["prerenderTiles","tileLimiting"],o:{tileLimiting:Eg}}};
|
|
k.Object.defineProperties(Tf.prototype,{ci:{configurable:!0,enumerable:!0,get:function(){return F(this,"prerenderTiles")?E(this,"prerenderTiles"):null},set:function(a){this.h.prerenderTiles=a}},Fi:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileLimiting")?E(this,"tileLimiting"):null},set:function(a){this.h.tileLimiting=a}}});var Fg=function(a){a=void 0===a?{}:a;this.h={};this.h.attributeName=null==a.attributeName?null:a.attributeName};p(Fg,C);Fg.prototype.i=function(){return{keys:["attributeName"]}};
|
|
k.Object.defineProperties(Fg.prototype,{attributeName:{configurable:!0,enumerable:!0,get:function(){return F(this,"attributeName")?E(this,"attributeName"):null},set:function(a){this.h.attributeName=a}}});var Gg=function(){this.h={}};p(Gg,C);Gg.prototype.i=function(){return{keys:[]}};var Hg=function(){this.h={}};p(Hg,C);Hg.prototype.i=function(){return{keys:[]}};var Ig=function(){this.h={}};p(Ig,C);Ig.prototype.i=function(){return{keys:[]}};
|
|
var Jg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByAttributeRule=null==a.Sd?null:a.Sd;this.h.rankByMinVisibleLodRule=null==a.ji?null:a.ji;this.h.rankByGeometryTypeRule=null==a.Td?null:a.Td;this.h.rankByMinZoomLevelRule=null==a.Ud?null:a.Ud;this.h.direction=null==a.direction?null:a.direction};p(Jg,C);
|
|
Jg.prototype.i=function(){return{J:{direction:ze},keys:["direction","rankByAttributeRule","rankByGeometryTypeRule","rankByMinVisibleLodRule","rankByMinZoomLevelRule"],o:{rankByAttributeRule:Fg,rankByGeometryTypeRule:Gg,rankByMinVisibleLodRule:Hg,rankByMinZoomLevelRule:Ig}}};
|
|
k.Object.defineProperties(Jg.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return F(this,"direction")?E(this,"direction"):null},set:function(a){this.h.direction=a}},Sd:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankByAttributeRule")?E(this,"rankByAttributeRule"):null},set:function(a){this.h.rankByAttributeRule=a}},Td:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankByGeometryTypeRule")?E(this,"rankByGeometryTypeRule"):null},set:function(a){this.h.rankByGeometryTypeRule=
|
|
a}},ji:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankByMinVisibleLodRule")?E(this,"rankByMinVisibleLodRule"):null},set:function(a){this.h.rankByMinVisibleLodRule=a}},Ud:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankByMinZoomLevelRule")?E(this,"rankByMinZoomLevelRule"):null},set:function(a){this.h.rankByMinZoomLevelRule=a}}});
|
|
var Uf=function(a){a=void 0===a?{}:a;this.h={};this.h.zOrderRankingRule=null==a.xg?null:a.xg;this.h.thinningRankingRule=null==a.lg?null:a.lg};p(Uf,C);Uf.prototype.i=function(){return{keys:["thinningRankingRule","zOrderRankingRule"],o:{thinningRankingRule:Kg,zOrderRankingRule:Kg}}};
|
|
k.Object.defineProperties(Uf.prototype,{lg:{configurable:!0,enumerable:!0,get:function(){return F(this,"thinningRankingRule")?E(this,"thinningRankingRule"):null},set:function(a){this.h.thinningRankingRule=a}},xg:{configurable:!0,enumerable:!0,get:function(){return F(this,"zOrderRankingRule")?E(this,"zOrderRankingRule"):null},set:function(a){this.h.zOrderRankingRule=a}}});
|
|
var Kg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByOneThingRule=null==a.Qf?null:a.Qf;this.h.pseudoRandomTiebreaking=null==a.ii?null:a.ii};p(Kg,C);Kg.prototype.i=function(){return{P:{rankByOneThingRule:Jg},keys:["pseudoRandomTiebreaking","rankByOneThingRule"]}};
|
|
k.Object.defineProperties(Kg.prototype,{ii:{configurable:!0,enumerable:!0,get:function(){return F(this,"pseudoRandomTiebreaking")?E(this,"pseudoRandomTiebreaking"):null},set:function(a){this.h.pseudoRandomTiebreaking=a}},Qf:{configurable:!0,enumerable:!0,get:function(){return F(this,"rankByOneThingRule")?E(this,"rankByOneThingRule"):null},set:function(a){this.h.rankByOneThingRule=a}}});
|
|
var Dg=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.Ch?null:a.Ch;this.h.notIn=null==a.Th?null:a.Th;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.Ih?null:a.Ih};p(Dg,C);Dg.prototype.i=function(){return{P:{conditions:gf,logConfig:xg},J:{action:Ae},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
k.Object.defineProperties(Dg.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return F(this,"action")?E(this,"action"):null},set:function(a){this.h.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return F(this,"conditions")?E(this,"conditions"):null},set:function(a){this.h.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},Ch:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"in")?E(this,"in"):null},set:function(a){this.h["in"]=a}},Ih:{configurable:!0,enumerable:!0,get:function(){return F(this,"logConfig")?E(this,"logConfig"):null},set:function(a){this.h.logConfig=a}},Th:{configurable:!0,enumerable:!0,get:function(){return F(this,"notIn")?E(this,"notIn"):null},set:function(a){this.h.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissions")?E(this,"permissions"):null},set:function(a){this.h.permissions=
|
|
a}}});var Lg=function(a){a=void 0===a?{}:a;this.h={};this.h.policy=null==a.jb?null:a.jb;this.h.updateMask=null==a.updateMask?null:a.updateMask};p(Lg,C);Lg.prototype.i=function(){return{keys:["policy","updateMask"],o:{policy:Jf}}};
|
|
k.Object.defineProperties(Lg.prototype,{jb:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?E(this,"policy"):null},set:function(a){this.h.policy=a}},updateMask:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?E(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});var zg=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};
|
|
p(zg,C);zg.prototype.i=function(){return{keys:["code","details","message"],La:{details:{ja:null,oa:!0,pa:!1,qa:!1}}}};
|
|
k.Object.defineProperties(zg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return F(this,"code")?E(this,"code"):null},set:function(a){this.h.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return F(this,"details")?E(this,"details"):null},set:function(a){this.h.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return F(this,"message")?E(this,"message"):null},set:function(a){this.h.message=a}}});
|
|
var Mg=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};p(Mg,C);Mg.prototype.i=function(){return{J:{fileFormat:Ce},keys:["expression","fileFormat","filename","name","selectors"],o:{expression:ef}}};
|
|
k.Object.defineProperties(Mg.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return F(this,"filename")?E(this,"filename"):null},set:function(a){this.h.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,"selectors")?E(this,"selectors"):null},set:function(a){this.h.selectors=a}}});var Gf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ga?null:a.Ga};p(Gf,C);Gf.prototype.i=function(){return{keys:["earthEngineDestination"],o:{earthEngineDestination:$e}}};
|
|
k.Object.defineProperties(Gf.prototype,{Ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var If=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.la?null:a.la;this.h.cloudStorageDestination=null==a.ia?null:a.ia;this.h.fileFormat=null==a.F?null:a.F};p(If,C);
|
|
If.prototype.i=function(){return{J:{fileFormat:Be},keys:["cloudStorageDestination","driveDestination","fileFormat"],o:{cloudStorageDestination:bf,driveDestination:of}}};
|
|
k.Object.defineProperties(If.prototype,{ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},la:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}}});var tf=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.vi?null:a.vi;this.h.primaryGeometryColumn=null==a.Yc?null:a.Yc};p(tf,C);tf.prototype.i=function(){return{keys:["paths","primaryGeometryColumn","shardCount","sizeBytes"]}};
|
|
k.Object.defineProperties(tf.prototype,{paths:{configurable:!0,enumerable:!0,get:function(){return F(this,"paths")?E(this,"paths"):null},set:function(a){this.h.paths=a}},Yc:{configurable:!0,enumerable:!0,get:function(){return F(this,"primaryGeometryColumn")?E(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},vi:{configurable:!0,enumerable:!0,get:function(){return F(this,"shardCount")?E(this,"shardCount"):null},set:function(a){this.h.shardCount=a}},sizeBytes:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});
|
|
var rg=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.hd?null:a.hd;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.ah?null:a.ah;this.h.policy=null==a.jb?null:a.jb;this.h.columnDataTypeOverrides=null==a.Sg?null:a.Sg};p(rg,C);
|
|
rg.prototype.i=function(){return{P:{sources:Ng},J:{columnDataTypeOverrides:De,csvColumnDataTypeOverrides:Ee},keys:"columnDataTypeOverrides csvColumnDataTypeOverrides endTime name policy properties sources startTime uriPrefix".split(" "),La:{columnDataTypeOverrides:{ja:null,oa:!1,pa:!1,qa:!1},csvColumnDataTypeOverrides:{ja:null,oa:!1,pa:!1,qa:!1},properties:{ja:null,oa:!1,pa:!1,qa:!1}},o:{policy:Jf}}};
|
|
k.Object.defineProperties(rg.prototype,{Sg:{configurable:!0,enumerable:!0,get:function(){return F(this,"columnDataTypeOverrides")?E(this,"columnDataTypeOverrides"):null},set:function(a){this.h.columnDataTypeOverrides=a}},ah:{configurable:!0,enumerable:!0,get:function(){return F(this,"csvColumnDataTypeOverrides")?E(this,"csvColumnDataTypeOverrides"):null},set:function(a){this.h.csvColumnDataTypeOverrides=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):
|
|
null},set:function(a){this.h.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},jb:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?E(this,"policy"):null},set:function(a){this.h.policy=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"sources")?E(this,"sources"):null},set:function(a){this.h.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},hd:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?E(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var Ng=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.Sb?null:a.Sb;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.Yc?null:a.Yc;this.h.xColumn=null==a.Oi?null:a.Oi;this.h.yColumn=null==a.Pi?null:a.Pi;this.h.dateFormat=null==a.hh?null:a.hh;this.h.csvDelimiter=null==
|
|
a.bh?null:a.bh;this.h.csvQualifier=null==a.dh?null:a.dh};p(Ng,C);Ng.prototype.i=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
k.Object.defineProperties(Ng.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return F(this,"charset")?E(this,"charset"):null},set:function(a){this.h.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?E(this,"crs"):null},set:function(a){this.h.crs=a}},bh:{configurable:!0,enumerable:!0,get:function(){return F(this,"csvDelimiter")?E(this,"csvDelimiter"):null},set:function(a){this.h.csvDelimiter=a}},dh:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"csvQualifier")?E(this,"csvQualifier"):null},set:function(a){this.h.csvQualifier=a}},hh:{configurable:!0,enumerable:!0,get:function(){return F(this,"dateFormat")?E(this,"dateFormat"):null},set:function(a){this.h.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return F(this,"geodesic")?E(this,"geodesic"):null},set:function(a){this.h.geodesic=a}},Sb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxErrorMeters")?E(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxVertices")?E(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},Yc:{configurable:!0,enumerable:!0,get:function(){return F(this,"primaryGeometryColumn")?E(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},uris:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}},Oi:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"xColumn")?E(this,"xColumn"):null},set:function(a){this.h.xColumn=a}},Pi:{configurable:!0,enumerable:!0,get:function(){return F(this,"yColumn")?E(this,"yColumn"):null},set:function(a){this.h.yColumn=a}}});
|
|
var ig=function(a){a=void 0===a?{}:a;this.h={};this.h.tileDimensions=null==a.Zb?null:a.Zb;this.h.marginDimensions=null==a.Cf?null:a.Cf;this.h.compress=null==a.Re?null:a.Re;this.h.maxSizeBytes=null==a.Tb?null:a.Tb;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue;this.h.tensorDepths=null==a.ce?null:a.ce;this.h.sequenceData=null==a.Zf?null:a.Zf;this.h.collapseBands=null==a.Pe?null:a.Pe;this.h.maxMaskedRatio=null==a.Gf?null:a.Gf};p(ig,C);
|
|
ig.prototype.i=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),La:{tensorDepths:{ja:null,oa:!1,pa:!1,qa:!1}},o:{marginDimensions:bg,tileDimensions:bg}}};
|
|
k.Object.defineProperties(ig.prototype,{Pe:{configurable:!0,enumerable:!0,get:function(){return F(this,"collapseBands")?E(this,"collapseBands"):null},set:function(a){this.h.collapseBands=a}},Re:{configurable:!0,enumerable:!0,get:function(){return F(this,"compress")?E(this,"compress"):null},set:function(a){this.h.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?E(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},Cf:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"marginDimensions")?E(this,"marginDimensions"):null},set:function(a){this.h.marginDimensions=a}},Gf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxMaskedRatio")?E(this,"maxMaskedRatio"):null},set:function(a){this.h.maxMaskedRatio=a}},Tb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?E(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},Zf:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"sequenceData")?E(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},ce:{configurable:!0,enumerable:!0,get:function(){return F(this,"tensorDepths")?E(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},Zb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?E(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
|
|
var Vf=function(a){a=void 0===a?{}:a;this.h={};this.h.maxFeaturesPerTile=null==a.Ff?null:a.Ff;this.h.thinningStrategy=null==a.mg?null:a.mg};p(Vf,C);Vf.prototype.i=function(){return{J:{thinningStrategy:Fe},keys:["maxFeaturesPerTile","thinningStrategy"]}};
|
|
k.Object.defineProperties(Vf.prototype,{Ff:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxFeaturesPerTile")?E(this,"maxFeaturesPerTile"):null},set:function(a){this.h.maxFeaturesPerTile=a}},mg:{configurable:!0,enumerable:!0,get:function(){return F(this,"thinningStrategy")?E(this,"thinningStrategy"):null},set:function(a){this.h.thinningStrategy=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.fileFormat=null==a.F?null:a.F;this.h.bandIds=null==a.ba?null:a.ba;this.h.visualizationOptions=null==a.ec?null:a.ec;this.h.grid=null==a.grid?null:a.grid;this.h.filenamePrefix=null==a.wa?null:a.wa};p(Og,C);
|
|
Og.prototype.i=function(){return{J:{fileFormat:Ge},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),o:{expression:ef,grid:Cf,visualizationOptions:wf}}};
|
|
k.Object.defineProperties(Og.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},wa:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},grid:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},ec:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?E(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=
|
|
a}}});var Eg=function(a){a=void 0===a?{}:a;this.h={};this.h.maxPrerenderZoom=null==a.Mh?null:a.Mh;this.h.minVerticesPerTile=null==a.Rh?null:a.Rh;this.h.neighborDepth=null==a.Sh?null:a.Sh;this.h.minFeaturesPerTile=null==a.Ph?null:a.Ph};p(Eg,C);Eg.prototype.i=function(){return{keys:["maxPrerenderZoom","minFeaturesPerTile","minVerticesPerTile","neighborDepth"]}};
|
|
k.Object.defineProperties(Eg.prototype,{Mh:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPrerenderZoom")?E(this,"maxPrerenderZoom"):null},set:function(a){this.h.maxPrerenderZoom=a}},Ph:{configurable:!0,enumerable:!0,get:function(){return F(this,"minFeaturesPerTile")?E(this,"minFeaturesPerTile"):null},set:function(a){this.h.minFeaturesPerTile=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return F(this,"minVerticesPerTile")?E(this,"minVerticesPerTile"):null},set:function(a){this.h.minVerticesPerTile=
|
|
a}},Sh:{configurable:!0,enumerable:!0,get:function(){return F(this,"neighborDepth")?E(this,"neighborDepth"):null},set:function(a){this.h.neighborDepth=a}}});
|
|
var Ef=function(a){a=void 0===a?{}:a;this.h={};this.h.endZoom=null==a.Ze?null:a.Ze;this.h.scale=null==a.scale?null:a.scale;this.h.startZoom=null==a.gg?null:a.gg;this.h.skipEmpty=null==a.eg?null:a.eg;this.h.mapsApiKey=null==a.Bf?null:a.Bf;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.stride=null==a.stride?null:a.stride;this.h.zoomSubset=null==a.yg?null:a.yg};p(Ef,C);
|
|
Ef.prototype.i=function(){return{keys:"dimensions endZoom mapsApiKey scale skipEmpty startZoom stride zoomSubset".split(" "),o:{dimensions:bg,zoomSubset:Pg}}};
|
|
k.Object.defineProperties(Ef.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensions")?E(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},Ze:{configurable:!0,enumerable:!0,get:function(){return F(this,"endZoom")?E(this,"endZoom"):null},set:function(a){this.h.endZoom=a}},Bf:{configurable:!0,enumerable:!0,get:function(){return F(this,"mapsApiKey")?E(this,"mapsApiKey"):null},set:function(a){this.h.mapsApiKey=a}},scale:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"scale")?E(this,"scale"):null},set:function(a){this.h.scale=a}},eg:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmpty")?E(this,"skipEmpty"):null},set:function(a){this.h.skipEmpty=a}},gg:{configurable:!0,enumerable:!0,get:function(){return F(this,"startZoom")?E(this,"startZoom"):null},set:function(a){this.h.startZoom=a}},stride:{configurable:!0,enumerable:!0,get:function(){return F(this,"stride")?E(this,"stride"):null},set:function(a){this.h.stride=
|
|
a}},yg:{configurable:!0,enumerable:!0,get:function(){return F(this,"zoomSubset")?E(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});var mg=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.Ai?null:a.Ai;this.h.subdatasetSuffix=null==a.Bi?null:a.Bi};p(mg,C);
|
|
mg.prototype.i=function(){return{P:{sources:og},J:{dataType:Ie},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
k.Object.defineProperties(mg.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?E(this,"crs"):null},set:function(a){this.h.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?E(this,"dataType"):null},set:function(a){this.h.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?
|
|
E(this,"sources"):null},set:function(a){this.h.sources=a}},Ai:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetPrefix")?E(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},Bi:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetSuffix")?E(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
|
|
var kg=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.tilesetId=null==a.yc?null:a.yc;this.h.tilesetBandIndex=null==a.Ii?null:a.Ii;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};p(kg,C);kg.prototype.i=function(){return{J:{pyramidingPolicy:He},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],o:{missingData:hg}}};
|
|
k.Object.defineProperties(kg.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?E(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Ii:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tilesetBandIndex")?E(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},yc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?E(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var lg=function(a){a=void 0===a?{}:a;this.h={};this.h.tilesetId=null==a.yc?null:a.yc;this.h.bandIds=null==a.ba?null:a.ba};p(lg,C);lg.prototype.i=function(){return{keys:["bandIds","tilesetId"]}};
|
|
k.Object.defineProperties(lg.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},yc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?E(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var uf=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};p(uf,C);
|
|
uf.prototype.i=function(){return{P:{sources:Qg},keys:["pathPrefix","sources"]}};k.Object.defineProperties(uf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathPrefix")?E(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?E(this,"sources"):null},set:function(a){this.h.sources=a}}});
|
|
var Qg=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};p(Qg,C);Qg.prototype.i=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
|
|
k.Object.defineProperties(Qg.prototype,{headerSizeBytes:{configurable:!0,enumerable:!0,get:function(){return F(this,"headerSizeBytes")?E(this,"headerSizeBytes"):null},set:function(a){this.h.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathSuffix")?E(this,"pathSuffix"):null},set:function(a){this.h.pathSuffix=a}}});
|
|
var fg=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.qh?null:a.qh;this.h.firstTileIndex=null==a.sh?null:a.sh;this.h.tilesPerFile=null==a.Hi?null:a.Hi};p(fg,C);fg.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
k.Object.defineProperties(fg.prototype,{qh:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileIndexes")?E(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},sh:{configurable:!0,enumerable:!0,get:function(){return F(this,"firstTileIndex")?E(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},Hi:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesPerFile")?E(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
|
|
var Rg=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Lb?null:a.Lb;this.h.updateMask=null==a.updateMask?null:a.updateMask};p(Rg,C);Rg.prototype.i=function(){return{keys:["asset","updateMask"],o:{asset:pf}}};
|
|
k.Object.defineProperties(Rg.prototype,{Lb:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?E(this,"asset"):null},set:function(a){this.h.asset=a}},updateMask:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?E(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});
|
|
var Pe=function(a){a=void 0===a?{}:a;this.h={};this.h.constantValue=null==a.gb?null:a.gb;this.h.integerValue=null==a.Va?null:a.Va;this.h.bytesValue=null==a.ob?null:a.ob;this.h.arrayValue=null==a.Ea?null:a.Ea;this.h.dictionaryValue=null==a.Fa?null:a.Fa;this.h.functionDefinitionValue=null==a.Ta?null:a.Ta;this.h.functionInvocationValue=null==a.xa?null:a.xa;this.h.argumentReference=null==a.Kb?null:a.Kb;this.h.valueReference=null==a.Na?null:a.Na};p(Pe,C);
|
|
Pe.prototype.i=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),o:{arrayValue:Oe,dictionaryValue:mf,functionDefinitionValue:Yf,functionInvocationValue:Zf}}};
|
|
k.Object.defineProperties(Pe.prototype,{Kb:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentReference")?E(this,"argumentReference"):null},set:function(a){this.h.argumentReference=a}},Ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"arrayValue")?E(this,"arrayValue"):null},set:function(a){this.h.arrayValue=a}},ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"bytesValue")?E(this,"bytesValue"):null},set:function(a){this.h.bytesValue=a}},gb:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"constantValue")?E(this,"constantValue"):null},set:function(a){this.h.constantValue=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return F(this,"dictionaryValue")?E(this,"dictionaryValue"):null},set:function(a){this.h.dictionaryValue=a}},Ta:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionDefinitionValue")?E(this,"functionDefinitionValue"):null},set:function(a){this.h.functionDefinitionValue=a}},xa:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"functionInvocationValue")?E(this,"functionInvocationValue"):null},set:function(a){this.h.functionInvocationValue=a}},Va:{configurable:!0,enumerable:!0,get:function(){return F(this,"integerValue")?E(this,"integerValue"):null},set:function(a){this.h.integerValue=a}},Na:{configurable:!0,enumerable:!0,get:function(){return F(this,"valueReference")?E(this,"valueReference"):null},set:function(a){this.h.valueReference=a}}});
|
|
var Lf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.la?null:a.la;this.h.cloudStorageDestination=null==a.ia?null:a.ia;this.h.fileFormat=null==a.F?null:a.F};p(Lf,C);Lf.prototype.i=function(){return{J:{fileFormat:Je},keys:["cloudStorageDestination","driveDestination","fileFormat"],o:{cloudStorageDestination:bf,driveDestination:of}}};
|
|
k.Object.defineProperties(Lf.prototype,{ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},la:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}}});var Mf=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};p(Mf,C);Mf.prototype.i=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
k.Object.defineProperties(Mf.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return F(this,"framesPerSecond")?E(this,"framesPerSecond"):null},set:function(a){this.h.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxFrames")?E(this,"maxFrames"):null},set:function(a){this.h.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixelsPerFrame")?E(this,"maxPixelsPerFrame"):null},set:function(a){this.h.maxPixelsPerFrame=
|
|
a}}});var Sg=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.Oa?null:a.Oa;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.grid?null:a.grid};p(Sg,C);Sg.prototype.i=function(){return{J:{fileFormat:Ke},keys:["expression","fileFormat","grid","name","videoOptions"],o:{expression:ef,grid:Cf,videoOptions:Mf}}};
|
|
k.Object.defineProperties(Sg.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},grid:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var wf=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Pf?null:a.Pf;this.h.paletteColors=null==a.Wc?null:a.Wc;this.h.gamma=null==a.gamma?null:a.gamma;this.h.opacity=null==a.opacity?null:a.opacity};p(wf,C);
|
|
wf.prototype.i=function(){return{P:{ranges:nf},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
k.Object.defineProperties(wf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return F(this,"gamma")?E(this,"gamma"):null},set:function(a){this.h.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return F(this,"opacity")?E(this,"opacity"):null},set:function(a){this.h.opacity=a}},Wc:{configurable:!0,enumerable:!0,get:function(){return F(this,"paletteColors")?E(this,"paletteColors"):null},set:function(a){this.h.paletteColors=a}},Pf:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"ranges")?E(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var Pg=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};p(Pg,C);Pg.prototype.i=function(){return{keys:["end","start"]}};
|
|
k.Object.defineProperties(Pg.prototype,{end:{configurable:!0,enumerable:!0,get:function(){return F(this,"end")?E(this,"end"):null},set:function(a){this.h.end=a}},start:{configurable:!0,enumerable:!0,get:function(){return F(this,"start")?E(this,"start"):null},set:function(a){this.h.start=a}}});
|
|
var Wd={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",billingAccount:"billingAccount",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"},Tg=function(a){this.m="v1";this.j=new Zd(a,
|
|
null)};Tg.prototype.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",u:G(b,c),G:sg})};var Ug=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Ug.prototype.getCapabilities=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",u:G(b,c),G:Ye})};Ug.prototype.Nd=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:G(b,c),G:tg})};
|
|
var Vg=function(a){this.m="v1";this.j=new Zd(a,null)};h=Vg.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 H(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",u:G(c,d),G:pf})};
|
|
h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:null,B:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,u:G(b,c),G:xf})};h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,u:G(b,c),G:pf})};
|
|
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 H(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.link",path:"/"+this.m+"/"+a+":link",u:G(c,d),G:pf})};h.Nd=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:G(b,c),G:tg})};
|
|
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 H(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.move",path:"/"+this.m+"/"+a+":move",u:G(c,d),G:pf})};var Wg=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Wg.prototype.Ja=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.classifier.export",path:"/"+this.m+"/"+a+"/classifier:export",u:G(c,d),G:wg})};var Xg=function(a){this.m="v1";this.j=new Zd(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 H(this.j,{body:b,B:"POST",D:"earthengine.projects.featureView.create",path:"/"+this.m+"/"+a+"/featureView",u:G(c,d),G:Pf})};var Yg=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Yg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.m+"/"+a+"/filmstripThumbnails",u:G(c,d),G:Xf})};var Zg=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Zg.prototype.Ja=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.image.export",path:"/"+this.m+"/"+a+"/image:export",u:G(c,d),G:wg})};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 H(this.j,{body:b,B:"POST",D:"earthengine.projects.image.import",path:"/"+this.m+"/"+a+"/image:import",u:G(c,d),G:wg})};
|
|
var $g=function(a){this.m="v1";this.j=new Zd(a,null)};$g.prototype.Ja=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.map.export",path:"/"+this.m+"/"+a+"/map:export",u:G(c,d),G:wg})};var ah=function(a){this.m="v1";this.j=new Zd(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 H(this.j,{body:b,B:"POST",D:"earthengine.projects.maps.create",path:"/"+this.m+"/"+a+"/maps",u:G(c,d),G:vf})};var bh=function(a){this.m="v1";this.j=new Zd(a,null)};h=bh.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 H(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.cancel",path:"/"+this.m+"/"+a+":cancel",u:G(c,d),G:xf})};h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return H(this.j,{body:null,B:"DELETE",D:"earthengine.projects.operations.delete",path:"/"+this.m+"/"+a,u:G(b,c),G:xf})};
|
|
h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.get",path:"/"+this.m+"/"+a,u:G(b,c),G:wg})};h.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.list",path:"/"+this.m+"/"+a+"/operations",u:G(b,c),G:vg})};
|
|
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 H(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.wait",path:"/"+this.m+"/"+a+":wait",u:G(c,d),G:wg})};var ch=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
ch.prototype.Ja=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.table.export",path:"/"+this.m+"/"+a+"/table:export",u:G(c,d),G:wg})};ch.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.table.import",path:"/"+this.m+"/"+a+"/table:import",u:G(c,d),G:wg})};
|
|
var dh=function(a){this.m="v1";this.j=new Zd(a,null)};dh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.tables.create",path:"/"+this.m+"/"+a+"/tables",u:G(c,d),G:Mg})};var eh=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
eh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.thumbnails.create",path:"/"+this.m+"/"+a+"/thumbnails",u:G(c,d),G:Og})};
|
|
var fh=function(a){this.m="v1";this.j=new Zd(a,null)},gh=function(a,b,c){var d=void 0===d?{}:d;var e=void 0===e?{}:e;a.j.C(b,RegExp("^projects/[^/]+$"));return H(a.j,{body:c,B:"POST",D:"earthengine.projects.value.compute",path:"/"+a.m+"/"+b+"/value:compute",u:G(d,e),G:ff})},hh=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
hh.prototype.Ja=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.video.export",path:"/"+this.m+"/"+a+"/video:export",u:G(c,d),G:wg})};var ih=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
ih.prototype.Ja=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",u:G(c,d),G:wg})};var jh=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
jh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",u:G(c,d),G:Sg})};var kh=function(){};kh.prototype.send=function(a,b){Vd(a);return(void 0).then(function(c){return b?Tc(b,c):c})};var lh=function(a,b){this.Zk=100;this.Ok=a;this.ml=b;this.Qd=0;this.Id=null};lh.prototype.get=function(){if(0<this.Qd){this.Qd--;var a=this.Id;this.Id=a.next;a.next=null}else a=this.Ok();return a};lh.prototype.put=function(a){this.ml(a);this.Qd<this.Zk&&(this.Qd++,a.next=this.Id,this.Id=a)};var nh=function(a,b){Cb(b,function(c,d){c&&"object"==typeof c&&c.pc&&(c=c.oc());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:mh.hasOwnProperty(d)?a.setAttribute(mh[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},mh={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"},ph=function(a,b,c){return oh(document,arguments)},oh=function(a,b){var c=b[1],d=qh(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):nh(d,c));2<b.length&&rh(a,d,b,2);return d},rh=function(a,b,c,d){function e(l){l&&b.appendChild("string"===typeof l?a.createTextNode(l):l)}for(;d<c.length;d++){var f=c[d];if(!ua(f)||t(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(t(f)){var g="function"==typeof f.item||"string"==typeof f.item;
|
|
break a}if("function"===typeof f){g="function"==typeof f.item;break a}}g=!1}Ra(g?$a(f):f,e)}}},qh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},sh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},th=function(a){z(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},uh=function(a){this.wd=a||r.document||document};h=uh.prototype;
|
|
h.getElementsByTagName=function(a,b){return(b||this.wd).getElementsByTagName(String(a))};h.Nk=function(a,b,c){return oh(this.wd,arguments)};h.createElement=function(a){return qh(this.wd,a)};h.createTextNode=function(a){return this.wd.createTextNode(String(a))};h.appendChild=function(a,b){z(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};h.append=function(a,b){rh(th(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=sh;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 vh,wh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!pb("Presto")&&(a=function(){var e=qh(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=u(function(m){if(("*"==l||m.origin==l)&&m.data==g)this.port1.onmessage()},
|
|
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,l)}}});if("undefined"!==typeof a&&!qb()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Qg;c.Qg=null;e()}};return function(e){d.next={Qg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};function xh(a){r.setTimeout(function(){throw a;},0)};var yh=function(){this.ne=this.fc=null};yh.prototype.add=function(a,b){var c=zh.get();c.set(a,b);this.ne?this.ne.next=c:(z(!this.fc),this.fc=c);this.ne=c};yh.prototype.remove=function(){var a=null;this.fc&&(a=this.fc,this.fc=this.fc.next,this.fc||(this.ne=null),a.next=null);return a};var zh=new lh(function(){return new Ah},function(a){return a.reset()}),Ah=function(){this.next=this.scope=this.jf=null};Ah.prototype.set=function(a,b){this.jf=a;this.scope=b;this.next=null};
|
|
Ah.prototype.reset=function(){this.next=this.scope=this.jf=null};var Bh=r.console&&r.console.createTask?r.console.createTask.bind(r.console):void 0,Ch=Bh?Symbol("consoleTask"):void 0;function Dh(a,b){function c(){var e=pa.apply(0,arguments),f=this;return d.run(function(){return a.call.apply(a,[f].concat(fa(e)))})}b=void 0===b?"anonymous":b;if(!Bh||a[Ja(Ch)])return a;var d=Bh(a.name||b);c[Ja(Ch)]=d;return c};var Eh,Fh=!1,Gh=new yh,Ih=function(a,b){Eh||Hh();Fh||(Eh(),Fh=!0);a=Dh(a,"goog.async.run");Gh.add(a,b)},Hh=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);Eh=function(){a.then(Jh)}}else Eh=function(){var b=Jh;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&(gb&&nb&&0<nb.brands.length||!pb("Edge"))&&r.Window.prototype.setImmediate==r.setImmediate?(vh||(vh=wh()),vh(b)):r.setImmediate(b)}},Jh=function(){for(var a;a=Gh.remove();){try{a.jf.call(a.scope)}catch(b){xh(b)}zh.put(a)}Fh=
|
|
!1};var Kh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Nh=function(a){this.S=0;this.ha=void 0;this.jc=this.fb=this.W=null;this.Fd=this.cf=!1;if(a!=mc)try{var b=this;a.call(void 0,function(c){Lh(b,2,c)},function(c){if(!(c instanceof Mh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Lh(b,3,c)})}catch(c){Lh(this,3,c)}},Oh=function(){this.next=this.context=this.sc=this.Vb=this.Mb=null;this.md=!1};Oh.prototype.reset=function(){this.context=this.sc=this.Vb=this.Mb=null;this.md=!1};
|
|
var Ph=new lh(function(){return new Oh},function(a){a.reset()}),Qh=function(a,b,c){var d=Ph.get();d.Vb=a;d.sc=b;d.context=c;return d};Nh.prototype.then=function(a,b,c){null!=a&&Na(a,"opt_onFulfilled should be a function.");null!=b&&Na(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Rh(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Nh.prototype.$goog_Thenable=!0;
|
|
Nh.prototype.ul=function(a,b){return Rh(this,null,a,b)};Nh.prototype.catch=Nh.prototype.ul;Nh.prototype.cancel=function(a){if(0==this.S){var b=new Mh(a);Ih(function(){Sh(this,b)},this)}};
|
|
var Sh=function(a,b){if(0==a.S)if(a.W){var c=a.W;if(c.fb){for(var d=0,e=null,f=null,g=c.fb;g&&(g.md||(d++,g.Mb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.S&&1==d?Sh(c,b):(f?(d=f,z(c.fb),z(null!=d),d.next==c.jc&&(c.jc=d),d.next=d.next.next):Th(c),Uh(c,e,3,b)))}a.W=null}else Lh(a,3,b)},Wh=function(a,b){a.fb||2!=a.S&&3!=a.S||Vh(a);z(null!=b.Vb);a.jc?a.jc.next=b:a.fb=b;a.jc=b},Rh=function(a,b,c,d){b&&(b=Dh(b,"goog.Promise.then"));c&&(c=Dh(c,"goog.Promise.then"));var e=Qh(null,null,null);e.Mb=new Nh(function(f,
|
|
g){e.Vb=b?function(l){try{var m=b.call(d,l);f(m)}catch(q){g(q)}}:f;e.sc=c?function(l){try{var m=c.call(d,l);void 0===m&&l instanceof Mh?g(l):f(m)}catch(q){g(q)}}:g});e.Mb.W=a;Wh(a,e);return e.Mb};Nh.prototype.wl=function(a){z(1==this.S);this.S=0;Lh(this,2,a)};Nh.prototype.xl=function(a){z(1==this.S);this.S=0;Lh(this,3,a)};
|
|
var Lh=function(a,b,c){if(0==a.S){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.S=1;a:{var d=c,e=a.wl,f=a.xl;if(d instanceof Nh){null!=e&&Na(e,"opt_onFulfilled should be a function.");null!=f&&Na(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Wh(d,Qh(e||mc,f||null,a));var g=!0}else if(Kh(d))d.then(e,f,a),g=!0;else{if(t(d))try{var l=d.then;if("function"===typeof l){Xh(d,l,e,f,a);g=!0;break a}}catch(m){f.call(a,m);
|
|
g=!0;break a}g=!1}}g||(a.ha=c,a.S=b,a.W=null,Vh(a),3!=b||c instanceof Mh||Yh(a,c))}},Xh=function(a,b,c,d,e){var f=!1,g=function(m){f||(f=!0,c.call(e,m))},l=function(m){f||(f=!0,d.call(e,m))};try{b.call(a,g,l)}catch(m){l(m)}},Vh=function(a){a.cf||(a.cf=!0,Ih(a.Rk,a))},Th=function(a){var b=null;a.fb&&(b=a.fb,a.fb=b.next,b.next=null);a.fb||(a.jc=null);null!=b&&z(null!=b.Vb);return b};Nh.prototype.Rk=function(){for(var a;a=Th(this);)Uh(this,a,this.S,this.ha);this.cf=!1};
|
|
var Uh=function(a,b,c,d){if(3==c&&b.sc&&!b.md)for(;a&&a.Fd;a=a.W)a.Fd=!1;if(b.Mb)b.Mb.W=null,Zh(b,c,d);else try{b.md?b.Vb.call(b.context):Zh(b,c,d)}catch(e){$h.call(null,e)}Ph.put(b)},Zh=function(a,b,c){2==b?a.Vb.call(a.context,c):a.sc&&a.sc.call(a.context,c)},Yh=function(a,b){a.Fd=!0;Ih(function(){a.Fd&&$h.call(null,b)})},$h=xh,Mh=function(a){Fa.call(this,a)};x(Mh,Fa);Mh.prototype.name="cancel";var ai=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 bi=function(a,b,c){y.call(this);this.al=null!=c?a.bind(c):a;this.Xk=b;this.nd=null;this.xc=!1;this.Xc=0;this.cc=null};p(bi,y);h=bi.prototype;h.gf=function(a){this.nd=arguments;this.cc||this.Xc?this.xc=!0:ci(this)};h.stop=function(){this.cc&&(r.clearTimeout(this.cc),this.cc=null,this.xc=!1,this.nd=null)};h.pause=function(){this.Xc++};h.resume=function(){this.Xc--;this.Xc||!this.xc||this.cc||(this.xc=!1,ci(this))};h.I=function(){y.prototype.I.call(this);this.stop()};
|
|
var ci=function(a){a.cc=ai(function(){a.cc=null;a.xc&&!a.Xc&&(a.xc=!1,ci(a))},a.Xk);var b=a.nd;a.nd=null;a.al.apply(null,b)};function di(){};/*
|
|
|
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
var ei=function(a,b){this.Yd=[];this.Vh=a;this.ih=b||null;this.Nc=this.mc=!1;this.ha=void 0;this.dg=this.Kg=this.Ke=!1;this.je=0;this.W=null;this.Le=0};x(ei,di);ei.prototype.cancel=function(a){if(this.mc)this.ha instanceof ei&&this.ha.cancel();else{if(this.W){var b=this.W;delete this.W;a?b.cancel(a):(b.Le--,0>=b.Le&&b.cancel())}this.Vh?this.Vh.call(this.ih,this):this.dg=!0;this.mc||fi(this,new gi(this))}};ei.prototype.Vg=function(a,b){this.Ke=!1;hi(this,a,b)};
|
|
var hi=function(a,b,c){a.mc=!0;a.ha=c;a.Nc=!b;ii(a)},ki=function(a){if(a.mc){if(!a.dg)throw new ji(a);a.dg=!1}};ei.prototype.callback=function(a){ki(this);li(a);hi(this,!0,a)};var fi=function(a,b){ki(a);li(b);hi(a,!1,b)},li=function(a){z(!(a instanceof ei),"An execution sequence may not be initiated with a blocking Deferred.")},mi=function(a,b,c,d){z(!a.Kg,"Blocking Deferreds can not be re-used");a.Yd.push([b,c,d]);a.mc&&ii(a)};
|
|
ei.prototype.then=function(a,b,c){var d,e,f=new Nh(function(g,l){e=g;d=l});mi(this,e,function(g){g instanceof gi?f.cancel():d(g);return ni},this);return f.then(a,b,c)};ei.prototype.$goog_Thenable=!0;
|
|
var oi=function(a){return Ua(a.Yd,function(b){return"function"===typeof b[1]})},ni={},ii=function(a){if(a.je&&a.mc&&oi(a)){var b=a.je,c=pi[b];c&&(r.clearTimeout(c.da),delete pi[b]);a.je=0}a.W&&(a.W.Le--,delete a.W);b=a.ha;for(var d=c=!1;a.Yd.length&&!a.Ke;){var e=a.Yd.shift(),f=e[0],g=e[1];e=e[2];if(f=a.Nc?g:f)try{var l=f.call(e||a.ih,b);l===ni&&(l=void 0);void 0!==l&&(a.Nc=a.Nc&&(l==b||l instanceof Error),a.ha=b=l);if(Kh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Ke=!0}catch(m){b=
|
|
m,a.Nc=!0,oi(a)||(c=!0)}}a.ha=b;d&&(l=u(a.Vg,a,!0),d=u(a.Vg,a,!1),b instanceof ei?(mi(b,l,d),b.Kg=!0):b.then(l,d));c&&(b=new qi(b),pi[b.da]=b,a.je=b.da)},ji=function(){Fa.call(this)};x(ji,Fa);ji.prototype.message="Deferred has already fired";ji.prototype.name="AlreadyCalledError";var gi=function(){Fa.call(this)};x(gi,Fa);gi.prototype.message="Deferred was canceled";gi.prototype.name="CanceledError";var qi=function(a){this.da=r.setTimeout(u(this.vl,this),0);this.zd=a};
|
|
qi.prototype.vl=function(){z(pi[this.da],"Cannot throw an error that is not scheduled.");delete pi[this.da];throw this.zd;};var pi={};var vi=function(a){var b={},c=b.document||document,d=hd(a).toString(),e=(new uh(c)).createElement("SCRIPT"),f={si:e,fd:void 0},g=new ei(ri,f),l=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(l=window.setTimeout(function(){si(e,!0);fi(g,new ti(1,"Timeout reached for loading script "+d))},m),f.fd=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(si(e,b.El||!1,l),g.callback(null))};e.onerror=function(){si(e,!0,l);fi(g,new ti(0,"Error while loading script "+
|
|
d))};f=b.attributes||{};Rb(f,{type:"text/javascript",charset:"UTF-8"});nh(e,f);zd(e,a);ui(c).appendChild(e)},ui=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},ri=function(){if(this&&this.si){var a=this.si;a&&"SCRIPT"==a.tagName&&si(a,!0,this.fd)}},si=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){sh(a)},0)},ti=function(a,b){var c=
|
|
"Jsloader error (code #"+a+")";b&&(c+=": "+b);Fa.call(this,c);this.code=a};x(ti,Fa);var wi=function(){this.Wd=void 0};wi.prototype.ua=function(a){var b=[];xi(this,a,b);return b.join("")};
|
|
var xi=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="",f=0;f<b;f++)c.push(e),e=d[f],xi(a,a.Wd?a.Wd.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),yi(d,c),c.push(":"),xi(a,a.Wd?a.Wd.call(b,d,e):e,c),f=","));c.push("}");
|
|
return}}switch(typeof b){case "string":yi(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);}}},zi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Ai=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,yi=function(a,b){b.push('"',a.replace(Ai,function(c){var d=zi[c];
|
|
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),zi[c]=d);return d}),'"')};var Bi=function(a,b){this.name=a;this.value=b};Bi.prototype.toString=function(){return this.name};var Ci=new Bi("OFF",Infinity),Di=new Bi("SEVERE",1E3),Ei=new Bi("CONFIG",700),Fi=new Bi("FINE",500),Gi=function(){this.ud=0;this.clear()},Hi;Gi.prototype.clear=function(){this.rd=Array(this.ud);this.eh=-1;this.Dh=!1};var Ii=function(a,b,c){this.reset(a||Ci,b,c,void 0,void 0)};Ii.prototype.reset=function(){};
|
|
var Ji=function(a,b){this.level=null;this.Vk=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.cl={nf:function(){return a}}},Ki=function(a){if(a.level)return a.level;if(a.parent)return Ki(a.parent);Ka("Root logger has no level set.");return Ci},Li=function(a,b){for(;a;)a.Vk.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.nf())):Ci;d=d>=e.value}if(d){b=b||Ci;d=Oi(Pi(),a.nf());"function"===typeof c&&(c=c());Hi||(Hi=new Gi);e=Hi;a=a.nf();if(0<e.ud){var f=(e.eh+1)%e.ud;e.eh=f;e.Dh?(e=e.rd[f],e.reset(b,c,a),a=e):(e.Dh=f==e.ud-1,a=e.rd[f]=new Ii(b,c,a))}else a=new Ii(b,c,a);Li(d,a)}},Ri=function(a,b){a&&Qi(a,Di,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.Og=null;var Wi=function(a){var b;(b=a.Og)||(b={},Vi(a)&&(b[0]=!0,b[1]=!0),b=a.Og=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.zh&&"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.zh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.zh};Xi=new Yi;var $i=function(a){A.call(this);this.headers=new Map;this.pe=a||null;this.Da=!1;this.oe=this.s=null;this.Rc=this.Hh=this.Md="";this.Rb=this.uf=this.Kd=this.af=!1;this.zc=0;this.fe=null;this.wc="";this.le=this.kl=this.Ni=!1;this.ug=null};x($i,A);$i.prototype.ga=Oi(Pi(),"goog.net.XhrIo").cl;var aj=/^https?$/i,bj=["POST","PUT"],cj=[];$i.prototype.Mk=function(){this.Qa();Ya(cj,this)};$i.prototype.setTrustToken=function(a){this.ug=a};
|
|
$i.prototype.send=function(a,b,c,d){if(this.s)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Md+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Md=a;this.Rc="";this.Hh=b;this.af=!1;this.Da=!0;this.s=this.pe?Zi(this.pe):Zi(Xi);this.oe=this.pe?Wi(this.pe):Wi(Xi);this.s.onreadystatechange=u(this.Yh,this);this.kl&&"onprogress"in this.s&&(this.s.onprogress=u(function(g){this.Xh(g,!0)},this),this.s.upload&&(this.s.upload.onprogress=u(this.Xh,this)));try{Si(this.ga,dj(this,"Opening Xhr")),
|
|
this.uf=!0,this.s.open(b,String(a),!0),this.uf=!1}catch(g){Si(this.ga,dj(this,"Error opening Xhr: "+g.message));this.zd(5,g);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 f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(g){return"content-type"==
|
|
g.toLowerCase()});e=r.FormData&&a instanceof r.FormData;!Xa(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.s.setRequestHeader(d,c);this.wc&&(this.s.responseType=this.wc);"withCredentials"in this.s&&this.s.withCredentials!==this.Ni&&(this.s.withCredentials=this.Ni);if("setTrustToken"in this.s&&this.ug)try{this.s.setTrustToken(this.ug)}catch(g){Si(this.ga,dj(this,"Error SetTrustToken: "+
|
|
g.message))}try{ej(this),0<this.zc&&(this.le=fj(this.s),Si(this.ga,dj(this,"Will abort after "+this.zc+"ms if incomplete, xhr2 "+this.le)),this.le?(this.s.timeout=this.zc,this.s.ontimeout=u(this.fd,this)):this.fe=ai(this.fd,this.zc,this)),Si(this.ga,dj(this,"Sending request")),this.Kd=!0,this.s.send(a),this.Kd=!1}catch(g){Si(this.ga,dj(this,"Send error: "+g.message)),this.zd(5,g)}};var fj=function(a){return sb&&"number"===typeof a.timeout&&void 0!==a.ontimeout};
|
|
$i.prototype.fd=function(){"undefined"!=typeof sa&&this.s&&(this.Rc="Timed out after "+this.zc+"ms, aborting",Si(this.ga,dj(this,this.Rc)),this.dispatchEvent("timeout"),this.abort(8))};$i.prototype.zd=function(a,b){this.Da=!1;this.s&&(this.Rb=!0,this.s.abort(),this.Rb=!1);this.Rc=b;gj(this);hj(this)};var gj=function(a){a.af||(a.af=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
$i.prototype.abort=function(){this.s&&this.Da&&(Si(this.ga,dj(this,"Aborting")),this.Da=!1,this.Rb=!0,this.s.abort(),this.Rb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),hj(this))};$i.prototype.I=function(){this.s&&(this.Da&&(this.Da=!1,this.Rb=!0,this.s.abort(),this.Rb=!1),hj(this,!0));$i.L.I.call(this)};$i.prototype.Yh=function(){this.Ra||(this.uf||this.Kd||this.Rb?ij(this):this.jl())};$i.prototype.jl=function(){ij(this)};
|
|
var ij=function(a){if(a.Da&&"undefined"!=typeof sa)if(a.oe[1]&&4==a.sb()&&2==a.getStatus())Si(a.ga,dj(a,"Local request error detected and ignored"));else if(a.Kd&&4==a.sb())ai(a.Yh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.sb()){Si(a.ga,dj(a,"Request complete"));a.Da=!1;try{var b=a.getStatus(),c;if(!(c=Ti(b))){var d;if(d=0===b){var e=String(a.Md).match(Cd)[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 f=2<a.sb()?a.s.statusText:""}catch(g){Si(a.ga,"Can not get status: "+g.message),f=""}a.Rc=f+" ["+a.getStatus()+"]";gj(a)}}finally{hj(a)}}};$i.prototype.Xh=function(a,b){z("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.s){ej(a);var c=a.s,d=a.oe[0]?function(){}:null;a.s=null;a.oe=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){Ri(a.ga,"Problem encountered resetting onreadystatechange: "+e.message)}}},ej=function(a){a.s&&a.le&&(a.s.ontimeout=null);a.fe&&(r.clearTimeout(a.fe),a.fe=null)};$i.prototype.isActive=function(){return!!this.s};
|
|
$i.prototype.sb=function(){return this.s?this.s.readyState:0};$i.prototype.getStatus=function(){try{return 2<this.sb()?this.s.status:-1}catch(a){return-1}};
|
|
var kj=function(a){try{if(!a.s)return null;if("response"in a.s)return a.s.response;switch(a.wc){case "":case "text":return a.s.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.s)return a.s.mozResponseArrayBuffer}Ri(a.ga,"Response type "+a.wc+" is not supported on this browser");return null}catch(b){return Si(a.ga,"Can not get response: "+b.message),null}};$i.prototype.getResponseHeader=function(a){if(this.s&&4==this.sb())return a=this.s.getResponseHeader(a),null===a?void 0:a};
|
|
$i.prototype.getAllResponseHeaders=function(){return this.s&&2<=this.sb()?this.s.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=Bd(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}return Eb(b,function(g){return g.join(", ")})},dj=function(a,b){return b+" ["+a.Hh+" "+a.Md+" "+a.getStatus()+"]"};var mj,I=function(a,b){nj();this.callback=a;this.O=new oj(!a,b)};I.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(f){setTimeout(function(){throw f;},0)}};a.then(c,function(d){return c(void 0,d)})}}else a.then(function(d){a=d});return a};var pj=function(){return"projects/"+mj};h=I.prototype;h.Dc=function(){return new Tg(this.O)};h.assets=function(){return new Vg(this.O)};h.Ma=function(){return new bh(this.O)};
|
|
h.value=function(){return new fh(this.O)};h.maps=function(){return new ah(this.O)};h.map=function(){return new $g(this.O)};h.image=function(){return new Zg(this.O)};h.table=function(){return new ch(this.O)};h.video=function(){return new hh(this.O)};var oj=function(a,b){this.sync=a=void 0===a?!1:a;this.oi=null!=b?b:a?5:10};p(oj,kh);
|
|
oj.prototype.send=function(a,b){var c=this;Vd(a);var d=a.path||"",e=qj()+d,f=sj(a.u||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=tj(e,f,void 0,a.B,g,this.oi);d=b?Tc(b,d):d;var l=function(m){return{then:function(q){return l(q(m))}}};return l(d)}return(new Promise(function(m,q){tj(e,f,function(v,B){B?q(B):m(v)},a.B,g,c.oi)})).then(function(m){return b?Tc(b,m):m})};var vj=function(a){I.call(this,a);this.O=new uj};p(vj,I);
|
|
vj.prototype.send=function(a,b){var c=this,d=qj()+"/batch",e=a.map(function(g){var l=n(g);g=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: <"+g+">\r\n\r\n"+m+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",f=function(g){var l={};a.forEach(function(m){var q=n(m);m=q.next().value;q=n(q.next().value);q.next();q=q.next().value;null!=g[m]&&(l[m]=
|
|
Tc(q,g[m]))});return b?b(l):l};return this.callback?(tj(d,null,function(g,l){return c.callback(l?g:f(g),l)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(tj(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var uj=function(){};p(uj,kh);
|
|
uj.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=wj();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 xj=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"))}},qj=function(){var a=yj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Aj=function(a,b,c){var d=[];a&&(d=d.concat(zj));
|
|
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 f=a[c++],g=t(f)?"o"+ya(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,g)||(e[g]=!0,a[b++]=f)}a.length=b;return d},Gj=function(a,b,c){Bj&&Cj&&Bj({client_id:String(Cj),immediate:!0,scope:Dj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Ej(function(){try{r.gapi.auth.setToken(d),Fj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Fj(a,
|
|
b,d)})},wj=function(){Hj&&0<=Date.now()-Hj&&Ij();return Jj},Ij=function(){Hj=Jj=null},nj=function(a,b,c,d){null!=a?yj=a:Kj||(yj="https://earthengine.googleapis.com/api");null!=b?Lj=b:Kj||(Lj="https://earthengine.googleapis.com");void 0!==c&&(Mj=c);mj=null!=d?d:mj||"earthengine-legacy";Kj=!0},tj=function(a,b,c,d,e,f){nj();var g=Nj,l="application/x-www-form-urlencoded";e&&(l="application/json",d&&d.startsWith("multipart")&&(l=d,d="POST"));d=d||"POST";l={"Content-Type":l};var m="0.1.361";"0.1.361"===
|
|
m&&(m="latest");l["x-goog-api-client"]="ee-js/"+m;m=wj();if(null!=m)l.Authorization=m;else if(c&&Bj&&Cj)return Gj(function(){Oj(g,function(){tj(a,b,c,d)})}),null;b=b?b.clone():new Kd;null!=Pj&&b.add("key",Pj);g&&(l["X-Earth-Engine-Computation-Profiling"]="1");mj&&"earthengine-legacy"!==mj&&(l["X-Goog-User-Project"]=mj);b=Qj(b,a);null!=Mj&&(l["X-XSRF-Token"]=Mj);null!=Rj&&(l["X-Earth-Engine-App-ID-Token"]=Rj);m=e||null;var q=b?b.toString():"";"POST"===d&&void 0===e?m=q:/^[\s\xa0]*$/.test(q)||(a+=-1!=
|
|
a.indexOf("?")?"&":"?",a+=q);e=a.startsWith("/")?yj+a:a;if(c)return Sj.push(Tj(e,c,d,m,l,f)),Uj.gf(),null;q=function(D,Q){this.setRequestHeader&&this.setRequestHeader(Q,D)};var v=0;for(f=null!=f?f:5;;){var B=Zi(Xi);B.open(d,e,!1);Cb(l,q,B);B.send(m);if(429!=B.status||v>f)break;v++}return Vj(B.status,function(D){try{return B.getResponseHeader(D)}catch(Q){return null}},B.responseText,g,void 0,e,d)},Tj=function(a,b,c,d,e,f){var g=0,l={url:a,method:c,content:d,headers:e},m=Nj,q=null!=f?f:10;l.callback=
|
|
function(v){v=v.target;if(429==v.getStatus()&&g<q)return g++,setTimeout(function(){Sj.push(l);Uj.gf()},Math.min(12E4,1E3*Math.pow(2,g))),null;var B=Vj,D=v.getStatus(),Q=u(v.getResponseHeader,v);try{var Y=v.s?v.s.responseText:""}catch(T){Si(v.ga,"Can not get responseText: "+T.message),Y=""}return B(D,Q,Y,m,b,a,c)};return l},Oj=function(a,b){var c=Nj;try{Nj=a,b.call(void 0)}finally{Nj=c}},Vj=function(a,b,c,d,e,f,g){var l=d?b("X-Earth-Engine-Computation-Profile"):"";l&&d&&d(l);var m=function(Y){try{var T=
|
|
JSON.parse(Y);return t(T)&&"error"in T&&"message"in T.error?T.error.message:{parsed:T}}catch(Jb){return"Invalid JSON: "+Y}},q=function(Y){if(0===Y)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>Y||300<=Y)return"Server returned HTTP code: "+Y+" for "+g+" "+f},v;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=m(c),b.parsed){var B=b.parsed;void 0===B&&(v="Malformed response: "+
|
|
c)}else v=b;else if("multipart/mixed"===d){B={};var D=[];xj(b,c,function(Y,T,Jb){Jb=m(Jb);Jb.parsed&&(B[Y]=Jb.parsed);(T=(Jb.parsed?"":Jb)||q(T))&&D.push(Y+": "+T)});D.length&&(v=D.join("\n"))}else var Q="Response was unexpectedly not JSON, but "+d;v=v||q(a)||Q;if(e)return e(B,v),null;if(!v)return B;throw Error(v);},Ej=function(a){var b=function(){r.gapi.config.update("client/cors",!0);Bj||(Bj=r.gapi.auth.authorize);a()};if(t(r.gapi)&&t(r.gapi.auth)&&"function"===typeof r.gapi.auth.authorize)b();
|
|
else{for(var c=Date.now().toString(36);c in r;)c+="_";r[c]=function(){delete r[c];b()};vi(md({onload:c}))}},Fj=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(Gj,.9*c);void 0!==d.unref&&d.unref();Hj=Date.now()+c}Jj=b;a&&a()}else b&&b(c.error||"Unknown error.")},sj=function(a){var b=new Kd;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},Sj=[],Uj=new bi(function(){var a=Sj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=Wj,g=new $i;cj.push(g);c&&g.Wa("complete",c);g.Tc("ready",g.Mk);f&&(g.zc=Math.max(0,f));g.send(b,d,e,a)}0==Sj.length||Uj.gf()},350),yj=null,Lj=null,Mj=null,Rj=null,Qj=nc,Jj=null,Hj=null,Cj=null,Dj=[],Bj=null,zj=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],id=new dd(bd,"https://apis.google.com/js/client.js?onload=%{onload}"),
|
|
Pj=null,Kj=!1,Wj=0,Nj=null;w("ee.api.ListAssetsResponse",tg);w("ee.api.EarthEngineAsset",pf);w("ee.api.Operation",wg);w("ee.api.ListFeaturesResponse",ug);w("ee.api.FeatureViewLocation",rf);var Xj=function(){},Yj=function(a){if(void 0===a||null===a)a=Oc;return new Pe({gb:a})},Zj=function(a){return new Pe({Na:a})},ak=function(a){return new Pe({Ea:new Oe({values:a})})},bk=function(a){return new Pe({Fa:new mf({values:a})})},ck=function(a,b){return new Pe({xa:new Zf({functionName:a,arguments:b})})},dk=function(a,b){return new Pe({xa:new Zf({Ua:a,arguments:b})})},ek=function(a,b){return new Pe({Ta:new Yf({ic:a,body:b})})},fk=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}},gk=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}},hk=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a&&"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},ik=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},lk=function(a){var b=new wf,c=!1;"palette"in a&&(c=a.palette,b.Wc="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.Wc?b.Wc.length-1:255;d=jk(a,"bias","gain").map(function(f){var g=-f.bias/f.gain;return{min:g,max:e/f.gain+g}})}else if("min"in a||"max"in a)d=jk(a,"min","max");0!==d.length&&(b.Pf=d.map(function(f){return new nf(f)}),c=!0);a=kk(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},kk=function(a){return a?a.split(",").map(Number):[]},jk=function(a,b,c){var d=kk(a[b]),e=kk(a[c]);if(0===d.length)return e.map(function(f){var g={};return g[b]=0,g[c]=f,g});if(0===e.length)return d.map(function(f){var g={};return g[b]=f,g[c]=1,g});if(d.length!==e.length)throw Error("Length of "+b+" and "+c+" must match.");return d.map(function(f,g){var l={};return l[b]=f,l[c]=e[g],l})},mk=function(a){var b=function(g){var l={};l.description=g.description||"";l.type=g.type||"";null!=g.od&&
|
|
(l.name=g.od);void 0!==g.defaultValue&&(l["default"]=g.defaultValue);null!=g.optional&&(l.optional=g.optional);return l},c=function(g){var l={};l.args=(g.arguments||[]).map(b);l.description=g.description||"";l.returns=g.Vf||"";null!=g.hidden&&(l.hidden=g.hidden);g.preview&&(l.preview=g.preview);g.deprecated&&(l.deprecated=g.Xe);g.sourceCodeUri&&(l.sourceCodeUri=g.sourceCodeUri);return l},d={};a=n(a.Dc||[]);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=e.name.replace(/^algorithms\//,"");d[f]=
|
|
c(e)}return d},nk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,ok=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,pk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,qk=function(a){return(a=nk.exec(a))?a[1]:"earthengine-legacy"},rk=function(a){return ok.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
a},tk=function(a){return(a.assets||[]).map(sk)},uk=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"}},sk=function(a){var b=vk(uk(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.We,dimensions:void 0,crs_transform:void 0};if(d.grid){if(null!=d.grid.Jb){var f=d.grid.Jb;e.crs_transform=[f.Wf||0,f.bg||0,f.sg||0,f.cg||0,f.Xf||0,f.tg||0]}null!=d.grid.dimensions&&(e.dimensions=[d.grid.dimensions.width,d.grid.dimensions.height])}d.dataType&&(f={type:"PixelType"},f.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.ad&&(f.min=d.dataType.ad.min||0,f.max=d.dataType.ad.max),e.data_type=f);return e}));a.Ad&&(b.mapLocation=a.Ad);a.featureCount&&(b.featureCount=a.featureCount);
|
|
return b},wk=function(a){var b=new pf,c=function(f){return null===f?Oc:void 0},d=Object.assign({},a),e;a=function(f){e=d[f];delete d[f];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(f){var g=n(f);f=g.next().value;g=g.next().value;d[f]=c(g)||g});b.properties=d;return b},vk=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},zk=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=xk(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 yk(b)},xk=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("],[")+"]]]}"},Ak=function(a){var b={};(a.qd||[]).forEach(function(f){b[f.role]=f.Ub});var c=new Set,d=function(f){var g=f.replace(/^domain:|^group:|^serviceAccount:|^user:/,"");f.startsWith("group:")&&c.add(g);return g};a=b["roles/viewer"]||[];var e=a.filter(function(f){return"allUsers"!==f});d={owners:(b["roles/owner"]||[]).map(d),writers:(b["roles/editor"]||[]).map(d),readers:e.map(d)};0<c.size&&(d.groups=c);a.length!=
|
|
e.length&&(d.all_users_can_read=!0);return d},Bk=function(a){var b=function(d){return(a[d]||[]).map(function(e){if(e.includes(":"))return e;var f="user:";e.includes("@")?a.groups&&a.groups.has(e)?f="group:":e.match(/[@|\.]gserviceaccount\.com$/)&&(f="serviceAccount:"):f="domain:";return f+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{role:"roles/owner",Ub:b("owners")},{role:"roles/viewer",Ub:b("readers").concat(c)},{role:"roles/editor",Ub:b("writers")}].map(function(d){return new Ve(d)});return new Jf({qd:b.filter(function(d){return d.Ub.length}),
|
|
bf:null})},Dk=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+Ck(a)},Ck=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Ek=function(a){var b={},c=function(f,g){null!=g&&(b[f]=Date.parse(g))},d=function(f){switch(f){case "PENDING":return"READY";case "RUNNING":return"RUNNING";case "CANCELLING":return"CANCEL_REQUESTED";case "SUCCEEDED":return"COMPLETED";case "CANCELLED":return"CANCELLED";case "FAILED":return"FAILED";
|
|
default:return"UNKNOWN"}},e=Tc(Ag,a.metadata||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.Ve);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=Ck(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.Ye;b.source_url=e.Yf;return b},Fk=function(a){var b={started:"OK"};a.name&&(b.taskId=Ck(a.name),
|
|
b.name=a.name);a.error&&(b.note=a.error.message);return b},Gk=function(a){return a.primaryPath?[a.primaryPath].concat(fa(a.additionalPaths||[])):null},Jk=function(a){var b=function(f){var g=Tc(og,f);g.uris=Gk(f);return g},c=Tc(jg,a);c.name=rk(a.id);c.tilesets=(a.tilesets||[]).map(function(f){var g=Tc(mg,f);g.sources=(f.sources||[]).map(b);return g});c.bands=(a.bands||[]).map(function(f){var g=Tc(kg,f);g.missingData=Hk(f.missingData);return g});c.missingData=Hk(a.missingData);c.Df=db((a.tilesets||
|
|
[]).map(Ik));c.pyramidingPolicy=a.pyramidingPolicy||null;if(a.properties){var d=Object.assign({},a.properties),e;a=function(f){e=d[f];delete d[f];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},Ik=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(f){return f||""}));return new lg({yc:a.id||
|
|
"",ba:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});return b},Kk=function(a){var b=Tc(rg,a);b.name=rk(a.id);b.sources=(a.sources||[]).map(function(e){var f=Tc(Ng,e);f.uris=Gk(e);e.maxError&&(f.Sb=e.maxError);return f});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},Hk=function(a){if(null==a)return null;var b=new hg({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},Lk=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 ")},yk=function(a){a=Object.assign({},a);var b=Lk(a);b&&(a.filter=a.filter?a.filter+" AND "+b:b);return a};var Mk=function(){this.blockSize=-1};var Nk=function(){this.blockSize=-1;this.blockSize=64;this.V=Array(4);this.Jk=Array(this.blockSize);this.ie=this.Ec=0;this.reset()};x(Nk,Mk);Nk.prototype.reset=function(){this.V[0]=1732584193;this.V[1]=4023233417;this.V[2]=2562383102;this.V[3]=271733878;this.ie=this.Ec=0};
|
|
var Ok=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.V[0];c=a.V[1];e=a.V[2];var f=a.V[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>
|
|
15);g=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|
|
|
g>>>20);g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<
|
|
5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
|
|
e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
|
|
e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|
|
|
g>>>21);g=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+
|
|
3873151461&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&
|
|
4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&
|
|
4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.V[0]=a.V[0]+b&4294967295;a.V[1]=a.V[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.V[2]=a.V[2]+e&4294967295;a.V[3]=a.V[3]+f&4294967295};
|
|
Nk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.Jk,e=this.Ec,f=0;f<b;){if(0==e)for(;f<=c;)Ok(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){Ok(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){Ok(this,d);e=0;break}}this.Ec=e;this.ie+=b};
|
|
Nk.prototype.digest=function(){var a=Array((56>this.Ec?this.blockSize:2*this.blockSize)-this.Ec);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.ie;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.V[b]>>>d&255;return a};var Pk=function(a){this.kd="__ee_hash__";this.Ld=!1!==a;this.Xa=[];this.va={};this.wg=[];this.Hd=new WeakMap;this.Mi=void 0};w("ee.Serializer",Pk);var Qk=new wi,Rk=new Nk,Tk=function(a,b){return Sk(new Pk(void 0!==b?b:!0),a)};w("ee.Serializer.encode",Tk);var Uk=function(a){return Qk.ua(Tk(a))};w("ee.Serializer.toJSON",Uk);var Wk=function(a){return Vk(Tk(a,!1))};w("ee.Serializer.toReadableJSON",Wk);
|
|
var Vk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):Qk.ua(a)},Sk=function(a,b){b=a.yd(b);a.Ld&&(b=t(b)&&"ValueRef"==b.type&&1==a.Xa.length?a.Xa[0][1]:{type:"CompoundValue",scope:a.Xa,value:b},a.Xa=[],Ra(a.wg,u(function(c){delete c[this.kd]},a)),a.wg=[],a.va={});return b};
|
|
Pk.prototype.yd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=t(a)?a[this.kd]:null;if(this.Ld&&null!=b&&this.va[b])return{type:"ValueRef",value:this.va[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(va(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Xj){var c=a.encode(u(this.yd,this));if(!(Array.isArray(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
Ta(a,function(e){return this.yd(e)},this);else if(t(a)&&"function"!==typeof a)c=Eb(a,function(e){if("function"!==typeof e)return this.yd(e)},this),Nb(c,this.kd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Ld){b=Xk(c);if(this.va[b])var d=this.va[b];else d=String(this.Xa.length),this.Xa.push([d,c]),this.va[b]=d;a[this.kd]=b;this.wg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var Xk=function(a){Rk.reset();Rk.update(Qk.ua(a));return Rk.digest().toString()},Zk=function(a){return Uc(Yk(a),Qc,Rc,Sc)};w("ee.Serializer.encodeCloudApi",Zk);
|
|
var Yk=function(a,b){var c=new Pk(!0);c.Mi=b;return $k(c,a)},al=function(a){a=$k(new Pk(!1),a);var b=a.values,c=function(d){if(!t(d))return d;var e=Array.isArray(d)?[]:{},f=d instanceof Object.getPrototypeOf(Pe);d=n(Object.entries(f?d.h:d));for(var g=d.next();!g.done;g=d.next()){var l=n(g.value);g=l.next().value;l=l.next().value;f?null!==l&&(e[g]="functionDefinitionValue"===g&&null!=l.body?{argumentNames:l.ic,body:c(b[l.body])}:"functionInvocationValue"===g&&null!=l.Ua?{arguments:Eb(l.arguments,c),
|
|
functionReference:c(b[l.Ua])}:"constantValue"===g?l===Oc?null:l:c(l)):e[g]=c(l)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",al);var bl=function(a){return Qk.ua(Zk(a))};w("ee.Serializer.toCloudApiJSON",bl);var cl=function(a){return Vk(al(a))};w("ee.Serializer.toReadableCloudApiJSON",cl);
|
|
var $k=function(a,b){try{var c=dl(a,b),d=new el(c,a.Xa,a.Ld),e=fl(d,d.ri);return new ef({result:e,values:d.ai})}finally{a.Hd=new WeakMap,a.va={},a.Xa=[]}},dl=function(a,b){var c=function(e){var f=Xk(e);t(b)&&a.Hd.set(b,f);if(a.va[f])return a.va[f];var g=String(a.Xa.length);a.Xa.push([g,e]);return a.va[f]=g};if(t(b)&&a.va[a.Hd.get(b)])return a.va[a.Hd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(Yj(b));if(va(b))return c(ck("Date",{value:Yj(Math.floor(b.getTime()))}));
|
|
if(b instanceof Xj)return c(b.ma(a));if(Array.isArray(b))return c(ak(b.map(function(e){return Zj(dl(a,e))})));if(t(b)&&"function"!==typeof b){var d={};Object.keys(b).sort().forEach(function(e){d[e]=Zj(dl(a,b[e]))});return c(bk(d))}throw Error("Can't encode object: "+b);},el=function(a,b,c){var d=this;this.ri=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.ki=c?gl(this):null;this.ai={};this.Sf={};this.hl=0},fl=function(a,b){if(b in a.Sf)return a.Sf[b];var c=String(a.hl++);
|
|
a.Sf[b]=c;a.ai[c]=hl(a,a.values[b],0);return c},hl=function(a,b,c){var d=function(q){return null!==q.gb},e=function(q){return q===Oc?null:q};if(d(b)||null!=b.Va||null!=b.ob||null!=b.Kb)return b;if(null!=b.Na)return d=a.values[b.Na],null===a.ki||50>c&&1===a.ki[b.Na]?hl(a,d,c):il(d)?d:Zj(fl(a,b.Na));if(null!=b.Ea){var f=b.Ea.values.map(function(q){return hl(a,q,c+3)});return f.every(d)?Yj(f.map(function(q){return e(q.gb)})):ak(f)}if(null!=b.Fa){f={};var g={};b=n(Object.entries(b.Fa.values||{}));for(var l=
|
|
b.next();!l.done;l=b.next()){var m=n(l.value);l=m.next().value;m=m.next().value;f[l]=hl(a,m,c+3);null!==g&&d(f[l])?g[l]=e(f[l].gb):g=null}return null!==g?Yj(g):bk(f)}if(null!=b.Ta)return d=b.Ta,ek(d.ic||[],fl(a,d.body||""));if(null!=b.xa){d=b.xa;f={};g=n(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=hl(a,d.arguments[b],c+3);return d.functionName?ck(d.functionName,f):dk(fl(a,d.Ua||""),f)}throw Error("Can't optimize value: "+b);},il=function(a){var b=a.gb;return null!==
|
|
b?b===Oc||"number"===typeof b||"boolean"===typeof b:null!=a.Kb},gl=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Ea?e.Ea.values.forEach(d):null!=e.Fa?Object.values(e.Fa.values).forEach(d):null!=e.Ta?c(e.Ta.body):null!=e.xa?(e=e.xa,null!=e.Ua&&c(e.Ua),Object.values(e.arguments).forEach(d)):null!=e.Na&&c(e.Na)};c(a.ri);return b};var ol=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 Ff({l:Yk(a.element),description:J(a.description),na:null,ra:null,Bd:null,pd:null,selectors:b,Sb:K(a.maxErrorMeters),requestId:J(a.id),maxVertices:K(a.maxVertices),N:K(a.maxWorkers)});var c=jl(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new If({ia:null,la:null,F:gk(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ia=kl(a):d.la=
|
|
ll(a);b.na=d;break;case "ASSET":b.ra=new Gf({Ga:ml(a)});break;case "FEATURE_VIEW":c=new Qf({name:rk(a.mapName)});d=null==a?null:new Vf({Ff:K(a.maxFeaturesPerTile),mg:a.thinningStrategy});var e=null==a?null:new Uf({xg:nl(a.zOrderRanking),lg:nl(a.thinningRanking)});d=new Rf({kg:d,Rf:e});c=new Hf({df:c,qc:d});b.Bd=c;break;case "BIGQUERY":b.pd=new Ue({Je:new Te({table:J(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 J(a){return null!=a?String(a):null}function K(a){return null!=a?Number(a):null}
|
|
var jl=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},ql=function(a){var b=new ig({Re:!!a.tfrecordCompressed,Tb:J(a.tfrecordMaxFileSize),Zf:!!a.tfrecordSequenceData,Pe:!!a.tfrecordCollapseBands,Gf:K(a.tfrecordMaskedThreshold),defaultValue:K(a.tfrecordDefaultValue),Zb:pl(a.tfrecordPatchDimensions),Cf:pl(a.tfrecordKernelSize),ce:null});
|
|
a=a.tfrecordTensorDepths;if(null!=a)if(t(a)){var c={};Cb(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.ce=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},rl=function(a,b){var c=new Bf({ia:null,la:null,Cd:null,de:null,F:fk(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 f=!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),g=pl(a.fileDimensions||a.tiffFileDimensions);d=K(d);var l=a.tiffNoData;l=null!=l?new ag({hf:Number(l)}):null;e=new $f({Oe:e,fg:f,Zb:g,tileSize:d,If:l});c.Cd=e}else"TF_RECORD_IMAGE"===c.F&&(c.de=ql(a));"GOOGLE_CLOUD_STORAGE"===b?c.ia=kl(a):c.la=ll(a);return c},sl=function(a,b){var c=new Lf({ia:null,la:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ia=kl(a):c.la=ll(a);return c},tl=function(a){var b,
|
|
c,d,e,f=K(null!=(b=a.endZoom)?b:a.maxZoom);b=K(null!=(c=a.startZoom)?c:a.minZoom);c=K(a.scale);var g=!(null!=(d=a.skipEmpty)?!d:!a.skipEmptyTiles);d=J(a.mapsApiKey);var l=pl(null!=(e=a.dimensions)?e:a.tileDimensions);e=K(a.stride);var m=K(a.minTimeMachineZoomSubset);a=K(a.maxTimeMachineZoomSubset);a=null==m&&null==a?null:new Pg({start:null!=m?m:0,end:a});return new Ef({Ze:f,gg:b,scale:c,eg:g,Bf:d,dimensions:l,stride:e,yg:a})},pl=function(a){if(null==a)return null;var b=new bg({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},
|
|
kl=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new bf({Me:J(a.outputBucket),wa:J(a.outputPrefix),Ne:a.bucketCorsUris||null,permissions:b})},ll=function(a){return new of({kf:J(a.driveFolder),wa:J(a.driveFileNamePrefix)})},ml=function(a){return new $e({name:rk(a.assetId)})},nl=function(a){if(!a)return null;var b=a;"string"===typeof a&&(a=a.split(","));if(Array.isArray(a))return new Kg({Qf:(a||[]).map(ul)});throw Error("Unable to build ranking rule from rules: "+
|
|
JSON.stringify(b)+". Rules should either be a comma-separated string or list of strings.");},ul=function(a){var b=new Jg({direction:null,Sd:null,Ud:null,Td: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.Td=new Gg({});break;case ".minZoomLevel":b.Ud=new Ig({});break;default:b.Sd=new Fg({attributeName:J(a)})}return b};var vl=[],wl=function(a){z(!Object.isSealed(a),"Cannot use getInstance() with a sealed constructor.");var b="wf";if(a.wf&&a.hasOwnProperty(b))return a.wf;vl.push(a);var c=new a;a.wf=c;z(a.hasOwnProperty(b),"Could not instantiate singleton.");return c};var yl=function(a,b,c,d,e,f){d=Aj(!f,!1,d||[]);Cj=a;Dj=d;null===a?Ij():Ej(function(){Gj(b,c,e||Ba(xl,b,c))})};w("ee.data.authenticateViaOauth",yl);var zl=function(a,b,c,d,e){yl(a,b,c,d,e)};w("ee.data.authenticate",zl);var xl=function(a,b){r.gapi.auth.authorize({client_id:Cj,immediate:!1,scope:Dj.join(" ")},Ba(Fj,a,b))};w("ee.data.authenticateViaPopup",xl);
|
|
var Al=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=Aj(!e,!e,d||[]);Cj=a.client_email;Dj=d;var f=new google.auth.JWT(a.client_email,null,a.private_key,d,null);Bj=function(g,l){f.authorize(function(m,q){m?l({error:m}):l({access_token:q.access_token,token_type:q.token_type,expires_in:(q.expiry_date-Date.now())/1E3})})};Gj(b,c)};w("ee.data.authenticateViaPrivateKey",Al);
|
|
w("ee.data.setExpressionAugmenter",function(a){Bl=a||nc});var Bl=nc;w("ee.data.setAuthToken",function(a,b,c,d,e,f,g,l){e=Aj(!l,!1,e||[]);Cj=a;Dj=e;var m={token_type:b,access_token:c,state:e.join(" "),expires_in:d};Fj(void 0,void 0,m);!1===g?f&&f():Ej(function(){r.gapi.auth.setToken(m);f&&f()})});w("ee.data.refreshAuthToken",Gj);w("ee.data.setAuthTokenRefresher",function(a){Bj=a});w("ee.data.getAuthToken",wj);w("ee.data.clearAuthToken",Ij);w("ee.data.getAuthClientId",function(){return Cj});
|
|
w("ee.data.getAuthScopes",function(){return Dj});w("ee.data.setDeadline",function(a){Wj=a});w("ee.data.setParamAugmenter",function(a){Qj=a||nc});
|
|
var Cl=function(a){a=new I(a);return a.handle(a.Dc().list(pj(),{prettyPrint:!1}).then(mk))},Fl=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 vf({name:null,l:Bl(Yk(a.image)),F:fk(a.format),ba:ik(a.bands),ec:lk(a)});var c={fields:"name"},d=Dl();d&&(c.workloadTag=d);b=new I(b);return b.handle(b.maps().create(pj(),a,c).then(function(e){return El(e.name,"")}))};
|
|
w("ee.data.getMapId",Fl);var Gl=function(a,b,c,d){if(!a.formatTileUrl){var e=El(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",Gl);
|
|
var El=function(a,b,c){var d=void 0===c?"":c;d||(nj(),c=Lj,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,f,g){var l=Math.pow(2,g);e%=l;e=String(0>e?e+l:e);return d.replace("{x}",e).replace("{y}",f).replace("{z}",g)},urlFormat:d}},Hl=function(a,b){var c=a.visParams?Bl(Yk(a.visParams)):null;a=new Pf({name:null,Lb:a.assetId,mapName:a.mapName,vg:c});b=new I(b);return b.handle((new Xg(b.O)).create(pj(),a,{fields:["name"]}).then(function(d){var e=
|
|
d.name.split("/").pop();return{token:e,formatTileUrl:function(f,g,l){return Lj+"/v1/"+d.name+"/tiles/"+l+"/"+f+"/"+g},rawTilesKey:e.substring(0,e.lastIndexOf("-"))}}))};w("ee.data.getFeatureViewTilesKey",Hl);
|
|
var Il=function(a,b,c){c=new I(c);var d=rk(a);a=c.handle;var e=c.assets();b=void 0===b?{}:b;var f=void 0===f?{}:f;e.j.C(d,RegExp("^projects/[^/]+/assets/.*$"));f=H(e.j,{body:null,B:"GET",D:"earthengine.projects.assets.listFeatures",path:"/"+e.m+"/"+d+":listFeatures",u:G(b,f),G:ug});return a.call(c,f)};w("ee.data.listFeatures",Il);var Jl=function(a,b){a={l:Bl(Yk(a))};var c=Dl();c&&(a.workloadTag=c);b=new I(b);return b.handle(gh(b.value(),pj(),new df(a)).then(function(d){return d.result}))};
|
|
w("ee.data.computeValue",Jl);
|
|
var Kl=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");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 Og({name:null,l:Bl(Yk(a.image)),F:fk(a.format),wa:a.name,ba:ik(a.bands),
|
|
ec:lk(a),grid:null});var c={fields:"name"},d=Dl();d&&(c.workloadTag=d);b=new I(b);return b.handle((new eh(b.O)).create(pj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getThumbId",Kl);
|
|
var Ll=function(a,b){var c=new Mf({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Sg({name:null,l:Bl(Yk(a.imageCollection)),F:fk(a.format),Oa:c,grid:null});c={fields:"name"};var d=Dl();d&&(c.workloadTag=d);b=new I(b);return b.handle((new jh(b.O)).create(pj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getVideoThumbId",Ll);
|
|
var Ml=function(a,b){a=new Xf({name:null,l:Bl(Yk(a.imageCollection)),F:fk(a.format),orientation:hk(a.orientation),grid:null});var c={fields:"name"},d=Dl();d&&(c.workloadTag=d);b=new I(b);return b.handle((new Yg(b.O)).create(pj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getFilmstripThumbId",Ml);var Nl=function(a){return Lj+"/v1/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",Nl);
|
|
var Pl=function(a,b){a=Object.assign({},a);a.id&&(a.image=new L(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=ik(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=Ol(a.image,a);a=new Og({name:null,l:Bl(Yk(c)),F:fk(a.format),wa:a.name,ba:a.bands&&ik(a.bands.map(function(e){return e.id})),grid:null});c={fields:"name"};var d=Dl();d&&(c.workloadTag=d);b=new I(b);return b.handle((new eh(b.O)).create(pj(),a,c).then(function(e){return{docid:e.name,token:""}}))};w("ee.data.getDownloadId",Pl);var Ql=function(a){nj();return Lj+"/v1/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",Ql);
|
|
var Rl=function(a,b){b=new I(b);var c=gk(a.format),d=Bl(Yk(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(f){return"string"===typeof f}))e=a.selectors;else throw Error("'selectors' parameter must be an array of strings.");a=new Mg({name:null,l:d,F:c,selectors:e,filename:a.filename||null});c={fields:"name"};if(d=Dl())c.workloadTag=d;return b.handle((new dh(b.O)).create(pj(),a,c).then(function(f){return{docid:f.name||
|
|
"",token:""}}))};w("ee.data.getTableDownloadId",Rl);var Sl=function(a){return Lj+"/v1/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",Sl);var Tl=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,4*d)).toString(16).padStart(d,"0")};a=cb(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",Tl);
|
|
var Vl=function(a,b){var c=Ul(a).map(Dk);if(1===c.length)return a=new I(b),a.handle(a.Ma().get(c[0]).then(function(e){return[Ek(e)]}));a=new vj(b);var d=a.Ma();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(f){return Ek(e[f])})})};w("ee.data.getTaskStatus",Vl);var Ul=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.");},Xl=function(a){return Wl(void 0,a)};
|
|
w("ee.data.getTaskList",Xl);var Wl=function(a,b){return b?(Yl(a,function(c,d){return b(c?{tasks:c.map(Ek)}:null,d)}),null):{tasks:Yl(a).map(Ek)}};w("ee.data.getTaskListWithLimit",Wl);
|
|
var Yl=function(a,b){var c=[],d={pageSize:500},e=function(l){ab(c,l.Ma||[]);!l.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=l.nextPageToken,f.handle(g.list(pj(),d).then(e)));return null},f=new I(b?function(l,m){return m&&b(l,m)}:void 0),g=f.Ma();f.handle(g.list(pj(),d).then(e));return b?null:a?c.slice(0,a):c};w("ee.data.listOperations",Yl);
|
|
var Zl=function(a,b){a=Ul(a);var c=new Xe;if(1===a.length)b=new I(b),b.handle(b.Ma().cancel(a[0],c));else{b=new vj(b);var d=b.Ma();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",Zl);var $l=function(a,b){var c=Ul(a).map(Dk);if(!Array.isArray(a))return a=new I(b),a.handle(a.Ma().get(c[0]));a=new vj(b);var d=a.Ma();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",$l);var bm=function(a,b){return am(a,"CANCEL",b)};
|
|
w("ee.data.cancelTask",bm);var am=function(a,b,c){if(!Ib(cm,b))throw Error("Invalid action: "+b);a=Ul(a);a=a.map(Dk);Zl(a,c);return null};w("ee.data.updateTask",am);
|
|
var im=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=Dl();e&&(b.workloadTag=e)}var f=new I(c);c=function(g){return f.handle(g.then(Fk))};switch(d){case "EXPORT_IMAGE":return b=dm(b,a),c(f.image().Ja(pj(),b));case "EXPORT_FEATURES":return b=ol(b),b.l=Bl(b.l,a),c(f.table().Ja(pj(),b));case "EXPORT_VIDEO":return b=em(b,a),c(f.video().Ja(pj(),b));case "EXPORT_TILES":return b=fm(b,a),c(f.map().Ja(pj(),
|
|
b));case "EXPORT_VIDEO_MAP":return b=gm(b),c((new ih(f.O)).Ja(pj(),b));case "EXPORT_CLASSIFIER":return b=hm(b),c((new Wg(f.O)).Ja(pj(),b));default:throw Error("Unable to start processing for task of type "+d);}};w("ee.data.startProcessing",im);
|
|
var dm=function(a,b){var c=jm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new zf({l:Yk(c.element),description:J(c.description),na:null,ra:null,grid:null,Hf:J(c.maxPixels),requestId:J(c.id),N:K(c.maxWorkers)}),e=jl(c);switch(e){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":d.na=rl(c,e);break;case "ASSET":e=c.pyramidingPolicy||{};try{e=JSON.parse(e)}catch(g){}var f="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof e?(f=e,e={}):e[".default"]&&(f=e[".default"],delete e[".default"]);
|
|
c=new Af({Ga:ml(c),pyramidingPolicy:f,Of:Mb(e)?null:e,tileSize:K(c.shardSize)});d.ra=c;break;default:throw Error('Export destination "'+e+'" unknown');}d.l=Bl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},em=function(a,b){var c=km(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new Nf({l:Yk(c.element),description:J(c.description),Oa:new Mf({framesPerSecond:K(c.framesPerSecond),maxFrames:K(c.maxFrames),maxPixelsPerFrame:J(c.maxPixels)}),na:null,requestId:J(c.id),
|
|
N:K(c.maxWorkers)});d.na=sl(c,jl(c));d.l=Bl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},fm=function(a,b){var c=a.scale;delete a.scale;var d=jm(a);d.scale=c;if(null==d.element)throw Error('"element" not found in params '+d);c=new Df({l:Yk(d.element),description:J(d.description),bc:tl(d),ac:rl(d,"GOOGLE_CLOUD_STORAGE"),requestId:J(d.id),N:K(d.maxWorkers)});c.l=Bl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);return c},gm=function(a){var b=a.scale;delete a.scale;var c=km(a);c.scale=
|
|
b;if(null==c.element)throw Error('"element" not found in params '+c);b=new Kf({l:Yk(c.element),description:J(c.description),Oa:new Mf({framesPerSecond:K(c.framesPerSecond),maxFrames:K(c.maxFrames),maxPixelsPerFrame:null}),bc:tl(c),ac:sl(c,"GOOGLE_CLOUD_STORAGE"),requestId:J(c.id),version:J(c.version),N:K(c.maxWorkers)});b.l=Bl(b.l);a.workloadTag&&(b.workloadTag=a.workloadTag);return b},hm=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=jl(a);if("ASSET"!=b)throw Error('Export destination "'+
|
|
b+'" unknown');b=new yf({l:Yk(a.element),description:J(a.description),requestId:J(a.id),ra:new Ze({Ga:ml(a)}),N:K(a.maxWorkers)});b.l=Bl(b.l);a.workloadTag&&(b.workloadTag=a.workloadTag);return b},mm=function(a,b,c){b=Jk(b);var d=function(e){return e?Fk(e):null};return d(lm(a,b,c&&function(e,f){return c(d(e),f)}))};w("ee.data.startIngestion",mm);
|
|
var lm=function(a,b,c){b=new pg({tf:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return a.handle(a.image().import(pj(),b))},nm=function(a,b,c){b=new qg({jg:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return a.handle(a.table().import(pj(),b))},om=function(a,b,c){b=Kk(b);var d=function(e){return e?Fk(e):null};return d(nm(a,b,c&&function(e,f){return c(d(e),f)}))};w("ee.data.startTableIngestion",om);
|
|
var pm=function(a,b){b=new I(b);a=rk(a);return b.handle(b.assets().get(a,{prettyPrint:!1}).then(sk))};w("ee.data.getAsset",pm);w("ee.data.getInfo",pm);var qm=function(a,b,c,d){b=void 0===b?{}:b;d=void 0===d?nc:d;var e=pk.test(a);c=new I(c);var f=e?new Ug(c.O):c.assets();a=e?"projects/"+qk(a):rk(a);return c.handle(f.Nd(a,b).then(d))},rm=function(a,b){return qm(a.id,zk(a),b,function(c){return null==c?null:tk(c)})};w("ee.data.getList",rm);var sm=function(a,b,c){b=void 0===b?{}:b;return qm(a,b,c)};
|
|
w("ee.data.listAssets",sm);var tm=function(a,b,c){b=void 0===b?{}:b;b=yk(b);return qm(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",tm);var um=function(a,b){b=new I(b);return b.handle((new Ug(b.O)).Nd(a||pj()))};w("ee.data.listBuckets",um);var vm=function(a){a=new I(a);return a.handle((new Ug(a.O)).Nd(pj()).then(tk))};w("ee.data.getAssetRoots",vm);
|
|
var wm=function(a,b){var c="projects/"+qk(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new pf({type:"Folder"});b=new I(b);b.handle(b.assets().create(c,d,{assetId:a}).then(sk))};w("ee.data.createAssetHome",wm);
|
|
var xm=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&&rk(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 uf(a.tilestoreLocation));
|
|
a.gcsLocation&&!a.cloudStorageLocation&&(a.cloudStorageLocation=a.gcsLocation,delete a.gcsLocation);a.cloudStorageLocation&&(a.cloudStorageLocation=new cf(a.cloudStorageLocation));d&&!a.properties&&(a.properties=Object.assign({},d));d=n(["title","description"]);for(var f=d.next();!f.done;f=d.next())if(f=f.value,a[f]){var g={};a.properties=Object.assign((g[f]=a[f],g),a.properties||{});delete a[f]}a=new pf(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 I(e);return e.handle(e.assets().create(d,a,{assetId:b}).then(sk))};w("ee.data.createAsset",xm);var ym=function(a,b,c){return xm({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",ym);var zm=function(a,b,c){a=rk(a);b=rk(b);b=new yg({Ob:b});c=new I(c);c.handle(c.assets().move(a,b).then(sk))};w("ee.data.renameAsset",zm);
|
|
var Am=function(a,b,c,d){a=rk(a);b=rk(b);c=new hf({Ob:b,overwrite:null!=c?c:null});d=new I(d);b=d.handle;var e=d.assets();var f=void 0===f?{}:f;var g=void 0===g?{}:g;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",u:G(f,g),G:pf});b.call(d,f.then(sk))};w("ee.data.copyAsset",Am);var Bm=function(a,b){b=new I(b);b.handle(b.assets().delete(rk(a)))};w("ee.data.deleteAsset",Bm);
|
|
var Cm=function(a,b){a=rk(a);var c=new cg;b=new I(b);var d=b.handle,e=b.assets(),f={prettyPrint:!1};f=void 0===f?{}:f;var g=void 0===g?{}:g;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=H(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+e.m+"/"+a+":getIamPolicy",u:G(f,g),G:Jf});return d.call(b,g.then(Ak))};w("ee.data.getAssetAcl",Cm);
|
|
var Dm=function(a,b,c,d){b=new Rg({Lb:b,updateMask:(c||[]).join(",")});d=new I(d);c=d.handle;var e=d.assets();a=rk(a);var f=void 0===f?{}:f;var g=void 0===g?{}:g;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(e.j,{body:b,B:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,u:G(f,g),G:pf});return c.call(d,f.then(sk))};w("ee.data.updateAsset",Dm);
|
|
var Em=function(a,b,c){a=rk(a);b=Bk(b);b=new Lg({jb:b});c=new I(c);var d=c.handle,e=c.assets(),f={prettyPrint:!1};f=void 0===f?{}:f;var g=void 0===g?{}:g;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=H(e.j,{body:b,B:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+e.m+"/"+a+":setIamPolicy",u:G(f,g),G:Jf});d.call(c,g)};w("ee.data.setAssetAcl",Em);
|
|
var Fm=function(a,b,c){var d=wk(b);b=Pc(d.i()).keys.filter(function(e){return"properties"!==e&&F(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(f,g){return"_"+g.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));Dm(a,d,b,c)};w("ee.data.setAssetProperties",Fm);
|
|
var Gm=function(a,b){var c=rk(a);b=new I(b);var d=b.assets(),e=d.j.C;d.j.C=function(f,g){"^projects\\/[^/]+\\/assets\\/.+$"===g.source&&(g=RegExp("^projects/[^/]+/assets/.*$"));return e(f,g)};c=d.get(c,{prettyPrint:!1});return b.handle(c.then(function(f){if(!(f instanceof pf&&f.quota))throw Error(a+" is not a root folder.");f=f.quota;return{asset_count:{usage:Number(f.Ie||0),limit:Number(f.Ef||0)},asset_size:{usage:Number(f.sizeBytes||0),limit:Number(f.Tb||0)}}}))};w("ee.data.getAssetRootQuota",Gm);
|
|
var Hm=function(){this.default=this.tag=""};Hm.prototype.get=function(){return this.tag};Hm.prototype.set=function(a){this.tag=this.validate(a)};Hm.prototype.reset=function(){this.tag=this.default};
|
|
Hm.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 Dl=function(){return wl(Hm).get()};w("ee.data.getWorkloadTag",Dl);var Im=function(a){wl(Hm).set(a)};w("ee.data.setWorkloadTag",Im);
|
|
var Jm=function(a){var b=wl(Hm);b.default=b.validate(a);wl(Hm).set(a)};w("ee.data.setDefaultWorkloadTag",Jm);var Km=function(a){a&&(a=wl(Hm),a.default=a.validate(""));wl(Hm).reset()};w("ee.data.resetWorkloadTag",Km);var cm={zl:"CANCEL",Cl:"UPDATE"};var M=function(a,b,c){if(!(this instanceof M))return Lm(M,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.H=a;this.args=b;this.T=c||null};x(M,Xj);w("ee.ComputedObject",M);M.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");Jl(this,a)};M.prototype.evaluate=M.prototype.evaluate;
|
|
M.prototype.U=function(a){return Jl(this,a)};M.prototype.getInfo=M.prototype.U;M.prototype.encode=function(a){if(null===this.H&&null===this.args)return{type:"ArgumentRef",value:this.T};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.H);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
M.prototype.ma=function(a){if(null===this.H&&null===this.args){a=this.T||a.Mi;if(!a)throw Error("A mapped function's arguments cannot be used in client-side operations");return new Pe({Kb:a})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=Zj(dl(a,this.args[c])));return"string"===typeof this.H?ck(String(this.H),b):this.H.xd(a,b)};M.prototype.ua=function(a){return(void 0===a?0:a)?Uk(this):bl(this)};M.prototype.serialize=M.prototype.ua;
|
|
M.prototype.toString=function(){return"ee."+this.name()+"("+Wk(this)+")"};w("ee.ComputedObject.prototype.toString",M.prototype.toString);M.prototype.name=function(){return"ComputedObject"};M.prototype.zg=function(a,b){var c=Array.from(arguments);c[0]=this;a.apply(r,c);return this};M.prototype.aside=M.prototype.zg;
|
|
var Mm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.H=b.H;a.args=b.args;a.T=b.T;return a},Lm=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var Nm={},Om=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}},Pm=function(a){return"number"===typeof a||a instanceof M&&"Number"==a.name()},Qm=function(a){return"string"===typeof a||a instanceof M&&"String"==a.name()},Rm=function(a){return t(a)&&
|
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},Sm=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&Rm(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var Tm=function(){if(!(this instanceof Tm))return new Tm};x(Tm,Xj);w("ee.Function",Tm);var Um=nc;Tm.prototype.call=function(a){return this.apply(Vm(this,Array.prototype.slice.call(arguments,0)))};Tm.prototype.call=Tm.prototype.call;Tm.prototype.apply=function(a){a=new M(this,Wm(this,a));return Um(a,this.Y().returns)};Tm.prototype.apply=Tm.prototype.apply;
|
|
var Xm=function(a,b,c){var d=void 0!==b,e=a.Y();if(Sm(c,e,d)){if(c=Ob(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=Vm(a,d?[b].concat(c):c);return a.apply(c)},Wm=function(a,b){for(var c=a.Y().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&void 0!==b[g])d[g]=Um(b[g],c[f].type);else if(!c[f].optional)throw Error("Required argument ("+g+") missing to function: "+a);e[g]=!0}c=[];for(var l in b)e[l]||c.push(l);if(0<c.length)throw Error("Unrecognized arguments ("+
|
|
c+") to function: "+a);return d},Vm=function(a,b){var c=a.Y().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};
|
|
Tm.prototype.toString=function(a,b){var c=this.Y(),d=[];d.push(a||c.name);d.push("(");d.push(Ta(c.args.slice(b?1:0),function(f){return f.name}).join(", "));d.push(")\n");d.push("\n");c.description?d.push(c.description):d.push("Undocumented.");d.push("\n");if(c.args.length)for(d.push("\nArgs:\n"),a=0;a<c.args.length;a++){b&&0==a?d.push(" this:"):d.push("\n ");var e=c.args[a];d.push(e.name);d.push(" (");d.push(e.type);e.optional&&d.push(", optional");d.push("): ");e.description?d.push(e.description):
|
|
d.push("Undocumented.")}return d.join("")};Tm.prototype.ua=function(a){return(void 0===a?0:a)?Uk(this):bl(this)};var N=function(a,b){if(void 0===b)return Ym(a);if(!(this instanceof N))return Lm(N,arguments);this.vb=Pb(b);this.vb.name=a};x(N,Tm);w("ee.ApiFunction",N);var O=function(a,b){return Tm.prototype.call.apply(Ym(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",O);var Zm=function(a,b){return Ym(a).apply(b)};w("ee.ApiFunction._apply",Zm);N.prototype.encode=function(){return this.vb.name};N.prototype.xd=function(a,b){return ck(this.vb.name,b)};N.prototype.Y=function(){return this.vb};
|
|
var $m=null,an={},cn=function(){bn();return Eb($m,function(a){return a.Y()})},dn=function(){bn();return Db($m,function(a,b){return!an[b]})},Ym=function(a){var b=en(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",Ym);
|
|
var en=function(a){bn();return $m[a]||null},bn=function(a,b){if($m)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):($m=Eb(d,function(f,g){f.returns=f.returns.replace(/<.*>/,"");for(var l=0;l<f.args.length;l++)f.args[l].type=f.args[l].type.replace(/<.*>/,"");return new N(g,f)}),a&&a())};a?Cl(c):c(Cl())}},fn=function(a,b,c,d){bn();var e=d||"";Cb($m,function(f,g){var l=g.split(".");if(2==l.length&&l[0]==b){l=e+l[1];var m=f.Y();an[g]=!0;var q=!1;m.args.length&&(g=m.args[0].type,q="Object"!=g&&Om(g,c));
|
|
g=q?a.prototype:a;l in g&&!g[l].signature||(g[l]=function(v){return Xm(f,q?this:void 0,Array.prototype.slice.call(arguments,0))},g[l].toString=u(f.toString,f,l,q),g[l].signature=m)}})},gn=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 P=function(a,b){var c=hn(a),d=Ta(c,function(m){return m.replace(/^opt_/,"")});a=(a=r.EXPORTED_FN_INFO?r.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},f=b[0],g=t(f)&&"function"!==typeof f&&!Array.isArray(f)&&"Object"===Object.getPrototypeOf(f).constructor.name;if(1<b.length||!g){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(f=0;f<b.length;f++)e[d[f]]=b[f]}else{g=new Fc(Hb(f));
|
|
var l=new Fc(d);if(Hc(l,g).isEmpty())e[d[0]]=b[0];else{b=Ic(g,l);if(0!==b.size)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=Ob(f)}}b=new Fc(Hb(e));c=Ic(new Fc(Sa(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},hn=function(a){var b=jn,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],t(a)||kn(),c=a.paramNames,Array.isArray(c)||kn()):(a=a.toString().replace(ln,
|
|
"").match(b),null===a&&kn(),c=(a[1].split(",")||[]).map(function(d){return d.replace(mn,"")}));return c},kn=function(){throw Error("Failed to locate function parameters.");},ln=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,jn=/^function[^\(]*\(([^\)]*)\)/m,mn=/=.*$/;var R=function(a,b,c){M.call(this,a,b,c);nn()};x(R,M);w("ee.Element",R);var on=!1,nn=function(){on||(fn(R,"Element","Element"),on=!0)};R.prototype.name=function(){return"Element"};
|
|
R.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=Rm(c))a:{b=Hb(c);var d=["properties"];if(ua(b)&&ua(d)&&b.length==d.length){for(var e=b.length,f=0;f<e;f++)if(b[f]!==d[f]){b=!1;break a}b=!0}else b=!1}b&&t(c.properties)&&(c=c.properties);if(Rm(c)){b=this;for(var g in c)d=c[g],b=O("Element.set",b,g,d)}else if(c instanceof M&&en("Element.setMulti"))b=O("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(0!=
|
|
arguments.length%2)throw Error("When Element.set() is passed multiple arguments, there must be an even number of them.");b=this;for(c=0;c<arguments.length;c+=2)g=arguments[c],d=arguments[c+1],b=O("Element.set",b,g,d)}return Mm(this,b)};R.prototype.set=R.prototype.set;var S=function(a,b,c,d){if(!(this instanceof S))return Lm(S,arguments);if(!("type"in a)){var e=P(S,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}pn();e=null!=b||null!=c||null!=d;if(a instanceof M&&!(a instanceof S&&a.mb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");M.call(this,a.H,a.args,a.T)}else{a instanceof S&&(a=a.encode());if(!qn(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));M.call(this,
|
|
null,null);this.mb=a.type;this.Wg=null!=a.coordinates?Pb(a.coordinates):null;this.xh=a.geometries||null;if(null!=b)this.Xb=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.Xb=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new wi).ua(a.crs));this.nc=c;void 0===this.nc&&"geodesic"in a&&(this.nc=!!a.geodesic);this.lc=d;void 0===this.lc&&"evenOdd"in a&&(this.lc=!!a.evenOdd)}};x(S,M);w("ee.Geometry",S);
|
|
var rn=!1,pn=function(){rn||(fn(S,"Geometry","Geometry"),rn=!0)},sn=function(a,b){if(!(this instanceof sn))return tn(sn,arguments);var c=un(sn,"Point",1,arguments);if(!(c instanceof M)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}S.call(this,c)};x(sn,S);S.Point=sn;var vn=function(a,b){if(!(this instanceof vn))return tn(vn,arguments);S.call(this,un(vn,"MultiPoint",2,arguments))};x(vn,S);S.MultiPoint=vn;
|
|
var wn=function(a,b,c,d){if(!(this instanceof wn))return tn(wn,arguments);var e=un(wn,"Rectangle",2,arguments);if(!(e instanceof M)){var f=e.coordinates;if(2!=f.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var g=f[0][0],l=f[0][1],m=f[1][0];f=f[1][1];e.coordinates=[[[g,f],[g,l],[m,l],[m,f]]];e.type="Polygon"}S.call(this,e)};x(wn,S);S.Rectangle=wn;
|
|
var xn=function(a,b,c,d){if(!(this instanceof xn))return tn(xn,arguments);var e=P(xn,arguments);a=e.west;b=e.south;c=e.east;d=e.north;e=[a,b,c,d];if(yn(e)){var f;return(f=new N("GeometryConstructors.BBox")).call.apply(f,fa(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=zn(a),c=zn(c),c<a&&(c+=360));S.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(xn,wn);S.BBox=xn;var zn=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},An=function(a,b,c,d){if(!(this instanceof An))return tn(An,arguments);S.call(this,un(An,"LineString",2,arguments))};x(An,S);S.LineString=An;
|
|
var Bn=function(a,b,c,d){if(!(this instanceof Bn))return tn(Bn,arguments);S.call(this,un(Bn,"LinearRing",2,arguments))};x(Bn,S);S.LinearRing=Bn;var Cn=function(a,b,c,d){if(!(this instanceof Cn))return tn(Cn,arguments);S.call(this,un(Cn,"MultiLineString",3,arguments))};x(Cn,S);S.MultiLineString=Cn;var Dn=function(a,b,c,d,e){if(!(this instanceof Dn))return tn(Dn,arguments);S.call(this,un(Dn,"Polygon",3,arguments))};x(Dn,S);S.Polygon=Dn;
|
|
var En=function(a,b,c,d,e){if(!(this instanceof En))return tn(En,arguments);S.call(this,un(En,"MultiPolygon",4,arguments))};x(En,S);S.MultiPolygon=En;
|
|
S.prototype.encode=function(a){if(!this.mb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return M.prototype.encode.call(this,a)}a={type:this.mb};"GeometryCollection"==this.mb?a.geometries=this.xh:a.coordinates=this.Wg;null!=this.Xb&&(a.crs={type:"name",properties:{name:this.Xb}});null!=this.nc&&(a.geodesic=this.nc);null!=this.lc&&(a.evenOdd=this.lc);return a};
|
|
S.prototype.ge=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};S.prototype.toGeoJSON=S.prototype.ge;S.prototype.rg=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new wi).ua(this.ge())};S.prototype.toGeoJSONString=S.prototype.rg;S.prototype.ua=function(a){return(void 0===a?0:a)?Uk(this):bl(this)};S.prototype.serialize=S.prototype.ua;
|
|
S.prototype.toString=function(){return"ee.Geometry("+this.rg()+")"};
|
|
S.prototype.ma=function(a){if(!this.mb){if(!a)throw Error("Must specify a serializer when encoding a computed geometry.");return M.prototype.ma.call(this,a)}var b={},c="";"GeometryCollection"===this.mb?(b.geometries=this.xh.map(function(e){return new S(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.Wg,c="GeometryConstructors."+this.mb);null!=this.Xb&&(b.crs="string"===typeof this.Xb?(new N("Projection")).call(this.Xb):this.Xb);var d="Point"!==this.mb&&"MultiPoint"!==this.mb;null!=
|
|
this.nc&&d&&(b.geodesic=this.nc);null!=this.lc&&(b.evenOdd=this.lc);return(new N(c)).apply(b).ma(a)};
|
|
var qn=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(!qn(b[a]))return!1;return!0}a=a.coordinates;var c=Fn(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)},Fn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=Fn(a[0]),c=1;c<a.length;c++)if(Fn(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},Gn=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},un=function(a,b,c,d){a=Hn(a,d);if(yn(a.coordinates)||null!=a.crs||null!=a.maxError)return(new N("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=In(c,a.coordinates);(b=Xa(["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},Hn=function(a,b){if(Va(b,Pm))return{coordinates:$a(b)};a=P(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Db(a,function(c){return null!=c})},yn=function(a){return Array.isArray(a)?Ua(a,yn):a instanceof M},In=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Va(b,function(e){return"number"===
|
|
typeof e})&&(b=Gn(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(Fn(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},tn=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};S.prototype.name=function(){return"Geometry"};var U=function(a){if(!(this instanceof U))return Lm(U,arguments);if(a instanceof U)return a;Jn();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new U(a[0]);M.call(this,new N("Filter.and"),{filters:a})}else if(a instanceof M)M.call(this,a.H,a.args,a.T);else if(void 0===a)M.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(U,M);w("ee.Filter",U);
|
|
var Kn=!1,Jn=function(){Kn||(fn(U,"Filter","Filter"),Kn=!0)},Ln={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};U.prototype.rc=function(){return O("Filter.not",this)};U.prototype.not=U.prototype.rc;var Mn=function(a,b){var c=P(Mn,arguments);return O("Filter.equals",c.name,c.value)};U.eq=Mn;var Nn=function(a,b){var c=P(Nn,arguments);return Mn(c.name,c.value).rc()};U.neq=Nn;
|
|
var On=function(a,b){var c=P(On,arguments);return O("Filter.lessThan",c.name,c.value)};U.lt=On;var Pn=function(a,b){var c=P(Pn,arguments);return On(c.name,c.value).rc()};U.gte=Pn;var Qn=function(a,b){var c=P(Qn,arguments);return O("Filter.greaterThan",c.name,c.value)};U.gt=Qn;var Rn=function(a,b){var c=P(Rn,arguments);return Qn(c.name,c.value).rc()};U.lte=Rn;var Sn=function(a){return O("Filter.and",Array.prototype.slice.call(arguments))};U.and=Sn;var Tn=function(a){return O("Filter.or",Array.prototype.slice.call(arguments))};
|
|
U.or=Tn;var Un=function(a,b){var c=P(Un,arguments);c=O("DateRange",c.start,c.end);return Zm("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};U.date=Un;var Vn=function(a,b,c,d){var e=P(Vn,arguments);return Zm("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};U.inList=Vn;var Wn=function(a,b){return Zm("Filter.intersects",{leftField:".all",rightValue:O("Feature",a),maxError:b})};U.bounds=Wn;
|
|
U.prototype.name=function(){return"Filter"};var Xn=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in Ln))throw Error("Unknown filtering operator: "+b);a=O("Filter."+Ln[b],a,c);return d?a.rc():a};U.metadata=Xn;var V=function(a,b,c){R.call(this,a,b,c);Yn()};x(V,R);w("ee.Collection",V);var Zn=!1,Yn=function(){Zn||(fn(V,"Collection","Collection"),fn(V,"AggregateFeatureCollection","Collection","aggregate_"),Zn=!0)};V.prototype.filter=function(a){a=P(V.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return Mm(this,O("Collection.filter",this,a))};V.prototype.filter=V.prototype.filter;
|
|
V.prototype.ff=function(a,b,c){var d=P(V.prototype.ff,arguments);return this.filter(Xn(d.name,d.operator,d.value))};V.prototype.filterMetadata=V.prototype.ff;V.prototype.rh=function(a){return this.filter(Wn(a))};V.prototype.filterBounds=V.prototype.rh;V.prototype.ef=function(a,b){var c=P(V.prototype.ef,arguments);return this.filter(Un(c.start,c.end))};V.prototype.filterDate=V.prototype.ef;
|
|
V.prototype.limit=function(a,b,c){var d=P(V.prototype.limit,arguments);return Mm(this,O("Collection.limit",this,d.max,d.property,d.ascending))};V.prototype.limit=V.prototype.limit;V.prototype.sort=function(a,b){var c=P(V.prototype.sort,arguments);return Mm(this,O("Collection.limit",this,void 0,c.property,c.ascending))};V.prototype.sort=V.prototype.sort;V.prototype.name=function(){return"Collection"};V.prototype.elementType=function(){return R};
|
|
V.prototype.map=function(a,b){var c=this.elementType();return Mm(this,O("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.Fh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return O("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};V.prototype.iterate=V.prototype.Fh;var W=function(a,b){if(!(this instanceof W))return Lm(W,arguments);if(a instanceof W){if(b)throw Error("Can't create Feature out of a Feature and properties.");return a}if(2<arguments.length)throw Error("The Feature constructor takes at most 2 arguments ("+arguments.length+" given)");$n();if(a instanceof S||null===a)R.call(this,new N("Feature"),{geometry:a,metadata:b||null});else if(a instanceof M)R.call(this,a.H,a.args,a.T);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=Ob(c);c["system:index"]=a.id}R.call(this,new N("Feature"),{geometry:new S(a.geometry),metadata:c})}else R.call(this,new N("Feature"),{geometry:new S(a),metadata:b||null})};x(W,R);w("ee.Feature",W);var ao=!1,$n=function(){ao||(fn(W,"Feature","Feature"),ao=!0)};W.prototype.U=function(a){return W.L.U.call(this,a)};W.prototype.getInfo=W.prototype.U;
|
|
W.prototype.getMap=function(a,b){var c=P(W.prototype.getMap,arguments);return O("Collection",[this]).getMap(c.visParams,c.callback)};W.prototype.getMap=W.prototype.getMap;W.prototype.name=function(){return"Feature"};var jm=function(a){var b={},c=bo(a.element,a);c=co(c,a,b);b.element=c;return b},km=function(a){var b={},c=a.element.map(function(d){d=bo(d,a);return co(d,a,b)});b.element=c;return b},co=function(a,b,c){var d={},e=!1,f=["maxDimension","width","height","scale"];Cb(b,function(g,l){if(null!=g)switch(l){case "dimensions":l="string"===typeof g?g.split("x").map(Number):Array.isArray(g)?g:"number"===typeof g?[g]:[];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 "+
|
|
g);break;case "dimensions_consumed":e=!0;break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(g instanceof wn)){l=g;if("string"===typeof g)try{l=JSON.parse(g)}catch(m){l=g.split(/\s*,\s*/).map(Number)}if(Array.isArray(l)){if(l.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");g=new wn(l,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=g;break;case "region":null!=
|
|
d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(g instanceof S)){l=g;if("string"===typeof g)try{l=JSON.parse(g)}catch(m){throw Error('Region string "'+g+'" is not valid GeoJSON.');}if(Array.isArray(l))g=new Dn(l,null,!1);else if(t(l))g=new S(l,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=g;break;case "scale":d.scale=Number(g);break;default:c[l]=g}});Mb(d)||(d.input=a,a=f.some(function(g){return g in d})||e?Zm("Image.clipToBoundsAndScale",
|
|
d):Zm("Image.clip",d));return a},bo=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=eo(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=Zm("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 N("Projection")).call(c,d),b.region=new wn([0,
|
|
0,e[0],e[1]],c,!1))}}else a=Zm("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},eo=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Va(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.");},go=function(a,b){var c={};b=fo(b,c);Mb(b)||(b.image=a,a=Zm("Image.visualize",
|
|
b));c.image=a;return c},fo=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Cb(a,function(e,f){Xa(c,f)?d[f]=e:b[f]=e});return d},Ol=function(a,b){b=Object.assign({},b);var c=function(e){var f={};["crs","crs_transform","dimensions","region"].forEach(function(g){g in e&&(f[g]=e[g])});null!=e.scale&&null==e.dimensions&&(f.scale=e.scale);return f},d=function(e){var f=e.id;if(void 0===f)throw Error("Each band dictionary must have an id.");f=a.select(f);
|
|
var g=c(b);e=c(e);e=c(Object.assign(g,e));f=bo(f,e);return f=co(f,e,{})};"ZIPPED_GEO_TIFF_PER_BAND"===b.format&&b.bands&&b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,f){return O("Image.addBands",e,f,null,!0)},d.shift())):(d=c(b),a=bo(a,d),a=co(a,d,{}));return a};var L=function(a){if(!(this instanceof L))return Lm(L,arguments);if(a instanceof L)return a;ho();var b=arguments.length;if(0==b||1==b&&void 0===a)R.call(this,new N("Image.mask"),{image:new L(0),mask:new L(0)});else if(1==b)if(Pm(a))R.call(this,new N("Image.constant"),{value:a});else if(Qm(a))R.call(this,new N("Image.load"),{id:a});else{if(Array.isArray(a))return io(Ta(a,function(d){return new L(d)}));if(a instanceof M)"Array"==a.name()?R.call(this,new N("Image.constant"),{value:a}):R.call(this,a.H,
|
|
a.args,a.T);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(Qm(b)&&Pm(c))R.call(this,new N("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(L,R);w("ee.Image",L);var jo=!1,ho=function(){jo||(fn(L,"Image","Image"),jo=!0)};L.prototype.U=function(a){return L.L.U.call(this,a)};
|
|
L.prototype.getInfo=L.prototype.U;L.prototype.getMap=function(a,b){var c=this,d=P(L.prototype.getMap,arguments),e=go(this,d.visParams);if(d.callback){var f=d.callback;Fl(e,function(g,l){g=g?Object.assign(g,{image:c}):void 0;f(g,l)})}else return d=Fl(e),d.image=this,d};L.prototype.getMap=L.prototype.getMap;L.prototype.qb=function(a,b){var c=P(L.prototype.qb,arguments),d=c.params?Ob(c.params):{};d.image=this;if(c.callback){var e=c.callback;Pl(d,function(f,g){f?e(Ql(f)):e(null,g)})}else return Ql(Pl(d))};
|
|
L.prototype.getDownloadURL=L.prototype.qb;L.prototype.Dd=function(a,b){var c=P(L.prototype.qb,arguments),d=c.params?Ob(c.params):{},e={},f=bo(this,d);f=co(f,d,e);d=go(f,e);return c.callback?(Kl(d,c.callback),null):Kl(d)};L.prototype.getThumbId=L.prototype.Dd;L.prototype.pf=function(a,b){var c=P(L.prototype.pf,arguments);if(c.callback)this.Dd(c.params,function(d,e){var f="";if(void 0===e)try{f=Nl(d)}catch(g){e=String(g.message)}c.callback(f,e)});else return Nl(this.Dd(c.params))};
|
|
L.prototype.getThumbURL=L.prototype.pf;var ko=function(a,b,c){var d=P(ko,arguments);return io([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};L.rgb=ko;var lo=function(a){return io(Array.prototype.slice.call(arguments),null)};L.cat=lo;var io=function(a,b){if(0==a.length)return O("Image.constant",[]);for(var c=new L(a[0]),d=1;d<a.length;d++)c=O("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
L.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||Qm(b[0])||Pm(b[0])){for(var d=0;d<b.length;d++)if(!(Qm(b[d])||Pm(b[d])||b[d]instanceof M))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Zm("Image.select",c)};L.prototype.select=L.prototype.select;
|
|
L.prototype.l=function(a,b){var c=P(L.prototype.l,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var f=c.map,g;for(g in f)d.push(g),e[g]=new L(f[g])}var l=O("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Tm;c.encode=function(m){return l.encode(m)};c.xd=function(m,q){return dk(dl(m,l),q)};c.Y=function(){return{name:"",args:Ta(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
L.prototype.expression=L.prototype.l;L.prototype.clip=function(a){try{a=new S(a)}catch(b){}return O("Image.clip",this,a)};L.prototype.clip=L.prototype.clip;L.prototype.mi=function(a){var b=1!=arguments.length||Qm(arguments[0])?Array.from(arguments):arguments[0];return O("Image.rename",this,b)};L.prototype.rename=L.prototype.mi;L.prototype.name=function(){return"Image"};var mo=function(a){if(this instanceof mo){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof mo)return a}else return Lm(mo,arguments);no();if(Array.isArray(a))M.call(this,null,null),this.Sc=a;else if(a instanceof M)M.call(this,a.H,a.args,a.T),this.Sc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(mo,M);w("ee.List",mo);var oo=!1,no=function(){oo||(fn(mo,"List","List"),oo=!0)};
|
|
mo.prototype.encode=function(a){return Array.isArray(this.Sc)?Ta(this.Sc,function(b){return a(b)}):mo.L.encode.call(this,a)};mo.prototype.ma=function(a){return Array.isArray(this.Sc)?Zj(dl(a,this.Sc)):mo.L.ma.call(this,a)};mo.prototype.name=function(){return"List"};var X=function(a,b){if(!(this instanceof X))return Lm(X,arguments);if(a instanceof X)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");po();a instanceof S&&(a=new W(a));a instanceof W&&(a=[a]);if(Qm(a)){var c={tableId:a};b&&(c.geometryColumn=b);V.call(this,new N("Collection.loadTable"),c)}else if(Array.isArray(a))V.call(this,new N("Collection"),{features:Ta(a,function(d){return new W(d)})});else if(a instanceof mo)V.call(this,
|
|
new N("Collection"),{features:a});else if(a&&"object"===typeof a&&"FeatureCollection"===a.type)V.call(this,new N("Collection"),{features:a.features.map(function(d){return new W(d)})});else if(a instanceof M)V.call(this,a.H,a.args,a.T);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(X,V);w("ee.FeatureCollection",X);var qo=!1,po=function(){qo||(fn(X,"FeatureCollection","FeatureCollection"),qo=!0)};
|
|
X.prototype.getMap=function(a,b){var c=P(X.prototype.getMap,arguments),d=Zm("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(void 0,c.callback);else return d.getMap()};X.prototype.getMap=X.prototype.getMap;X.prototype.U=function(a){return X.L.U.call(this,a)};X.prototype.getInfo=X.prototype.U;
|
|
X.prototype.qb=function(a,b,c,d){var e=P(X.prototype.qb,arguments),f={table:this};e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);e.selectors&&(f.selectors=e.selectors);if(e.callback)Rl(f,function(g,l){g?e.callback(Sl(g)):e.callback(null,l)});else return Sl(Rl(f))};X.prototype.getDownloadURL=X.prototype.qb;
|
|
X.prototype.select=function(a,b,c){if(Qm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(f){return f.select(d)})}var e=P(X.prototype.select,arguments);return this.map(function(f){return f.select(e)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"FeatureCollection"};X.prototype.elementType=function(){return W};var Z=function(a){if(!(this instanceof Z))return Lm(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");ro();a instanceof L&&(a=[a]);if(Qm(a))V.call(this,new N("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new N("ImageCollection.fromImages"),{images:Ta(a,function(b){return new L(b)})});else if(a instanceof mo)V.call(this,new N("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof M)V.call(this,a.H,a.args,a.T);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,V);w("ee.ImageCollection",Z);var so=!1,ro=function(){so||(fn(Z,"ImageCollection","ImageCollection"),fn(Z,"reduce","ImageCollection"),so=!0)};Z.prototype.mf=function(a,b){var c=P(Z.prototype.mf,arguments);return to(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.mf;
|
|
Z.prototype.qf=function(a,b){var c=P(Z.prototype.qf,arguments);return to(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.qf;
|
|
var to=function(a,b,c,d){var e={};a=a.map(function(l){l=bo(l,b.params);return co(l,b.params,e)});var f={},g=fo(e,f);f.imageCollection=a.map(function(l){g.image=l;return Zm("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!Ua(c,function(l){return l.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=Kl;switch(d){case "video":c=Ll;break;case "filmstrip":c=Ml}if(b.callback)c(f,function(l,m){var q="";
|
|
if(void 0===m)try{q=Nl(l)}catch(v){m=String(v.message)}b.callback(q,m)});else return Nl(c(f))};Z.prototype.getMap=function(a,b){var c=P(Z.prototype.getMap,arguments),d=O("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Z.prototype.getMap=Z.prototype.getMap;Z.prototype.U=function(a){return Z.L.U.call(this,a)};Z.prototype.getInfo=Z.prototype.U;
|
|
Z.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Z.prototype.select=Z.prototype.select;Z.prototype.first=function(){return new L(O("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return L};var uo=function(a){this.Se=a;this.id=null},wo=function(a){var b={element:vo(a)};Object.assign(b,a);b=Db(b,function(c){return null!=c});return new uo(b)};
|
|
uo.prototype.start=function(a,b){var c=this;z(this.Se,"Task config must be specified for tasks to be started.");if(a){var d=function(){Ma(c.id);im(c.id,c.Se,function(e,f){f?b(f):a()})};this.id?d():Tl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||Tl(1)[0],Ma(this.id,"Failed to obtain task ID."),im(this.id,this.Se)};uo.prototype.start=uo.prototype.start;var xo=function(a,b,c,d,e,f,g,l,m,q,v){var B=P(xo,arguments);B=yo(B,"ASSET","EXPORT_IMAGE");return wo(B)};
|
|
w("module$contents$ee$batch_Export.image.toAsset",xo);var zo=function(a,b,c,d,e,f,g,l,m,q,v,B,D,Q,Y){var T=P(zo,arguments);T=yo(T,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return wo(T)};w("module$contents$ee$batch_Export.image.toCloudStorage",zo);var Ao=function(a,b,c,d,e,f,g,l,m,q,v,B,D,Q,Y){var T=P(Ao,arguments);T=yo(T,"DRIVE","EXPORT_IMAGE");return wo(T)};w("module$contents$ee$batch_Export.image.toDrive",Ao);
|
|
var Bo=function(a,b,c,d,e,f,g,l,m,q,v,B,D){var Q=P(Bo,arguments);Q=yo(Q,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return wo(Q)};w("module$contents$ee$batch_Export.map.toCloudStorage",Bo);var Co=function(a,b,c,d,e,f,g){var l=P(Co,arguments);l=yo(l,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return wo(l)};w("module$contents$ee$batch_Export.table.toCloudStorage",Co);var Do=function(a,b,c,d,e,f,g){var l=P(Do,arguments);l.type="EXPORT_FEATURES";l=yo(l,"DRIVE","EXPORT_FEATURES");return wo(l)};
|
|
w("module$contents$ee$batch_Export.table.toDrive",Do);var Eo=function(a,b,c,d){var e=P(Eo,arguments);e=yo(e,"ASSET","EXPORT_FEATURES");return wo(e)};w("module$contents$ee$batch_Export.table.toAsset",Eo);var Fo=function(a,b,c,d,e,f,g){var l=P(Fo,arguments);l=yo(l,"FEATURE_VIEW","EXPORT_FEATURES");return wo(l)};w("module$contents$ee$batch_Export.table.toFeatureView",Fo);var Go=function(a,b,c,d,e,f,g,l,m,q,v,B){var D=P(Go,arguments);D=yo(D,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return wo(D)};
|
|
w("module$contents$ee$batch_Export.video.toCloudStorage",Go);var Ho=function(a,b,c,d,e,f,g,l,m,q,v,B){var D=P(Ho,arguments);D=yo(D,"DRIVE","EXPORT_VIDEO");return wo(D)};w("module$contents$ee$batch_Export.video.toDrive",Ho);var Io=function(a,b,c,d,e,f,g,l,m,q,v,B,D,Q,Y,T,Jb,Hq,Iq,Jq){var rj=P(Io,arguments);rj=yo(rj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return wo(rj)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",Io);
|
|
var Jo=function(a,b,c){var d=P(Jo,arguments);d=yo(d,"ASSET","EXPORT_CLASSIFIER");return wo(d)};w("module$contents$ee$batch_Export.classifier.toAsset",Jo);
|
|
var vo=function(a){var b=function(d){return d in a},c=Ko.find(b);z(1===Wa(Ko,b),'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof L||b instanceof X||b instanceof Z||b instanceof R||b instanceof M))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},yo=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=Lo(e,a),delete e.formatOptions,Object.assign(e,a));e=Mo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
|
|
delete e.crsTransform);break;case "EXPORT_TILES":b=Mo(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=Mo(e,b);break;case "EXPORT_VIDEO":e=No(e);e=Mo(e,b);null!=e.crsTransform&&
|
|
(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=No(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=Mo(e,b);break;case "EXPORT_CLASSIFIER":e=Mo(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof S)b=b.ge();else if("string"===typeof b)try{b=Oa(JSON.parse(b))}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");
|
|
}if(!(t(b)&&"type"in b))try{new An(b)}catch(f){try{new Dn(b)}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}}b=JSON.stringify(b);d.region=b}return e},Mo=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=ta(a.folder);if(!Xa(["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},Oo={GEO_TIFF:["cloudOptimized","fileDimensions","noData","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
|
|
Po={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},No=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},Lo=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=Po[b];for(var d=Oo[b],e={},f=n(Object.entries(c)),g=f.next();!g.done;g=f.next()){var l=n(g.value);g=l.next().value;l=l.next().value;if(!Xa(d,g))throw Error('"'+g+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+g[0].toUpperCase()+g.substring(1)]=Array.isArray(l)?l.join():l}return e},
|
|
Ko=["image","collection","classifier"];var Qo=function(a){if(!(this instanceof Qo))return Lm(Qo,arguments);if(a instanceof Qo)return a;Ro();if("number"===typeof a)M.call(this,null,null),this.Uc=a;else if(a instanceof M)M.call(this,a.H,a.args,a.T),this.Uc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(Qo,M);w("ee.Number",Qo);var So=!1,Ro=function(){So||(fn(Qo,"Number","Number"),So=!0)};Qo.prototype.encode=function(a){return"number"===typeof this.Uc?this.Uc:Qo.L.encode.call(this,a)};
|
|
Qo.prototype.ma=function(a){return"number"===typeof this.Uc?Zj(dl(a,this.Uc)):Qo.L.ma.call(this,a)};Qo.prototype.name=function(){return"Number"};var To=function(a){if(!(this instanceof To))return Lm(To,arguments);if(a instanceof To)return a;Uo();if("string"===typeof a)M.call(this,null,null),this.ed=a;else if(a instanceof M)this.ed=null,a.H&&"String"==a.H.Y().returns?M.call(this,a.H,a.args,a.T):M.call(this,new N("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(To,M);w("ee.String",To);var Vo=!1,Uo=function(){Vo||(fn(To,"String","String"),Vo=!0)};
|
|
To.prototype.encode=function(a){return"string"===typeof this.ed?this.ed:To.L.encode.call(this,a)};To.prototype.ma=function(a){return"string"===typeof this.ed?Zj(dl(a,this.ed)):To.L.ma.call(this,a)};To.prototype.name=function(){return"String"};var Wo=function(a,b){if(!(this instanceof Wo))return Lm(Wo,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(Xo(g in Nm?Nm[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.vb=Yo(a,c,b);this.Lg=b.apply(null,c)};x(Wo,Tm);w("ee.CustomFunction",Wo);Wo.prototype.encode=function(a){return{type:"Function",argumentNames:Ta(this.vb.args,function(b){return b.name}),body:a(this.Lg)}};
|
|
Wo.prototype.ma=function(a){return ek(this.vb.args.map(function(b){return b.name}),dl(a,this.Lg))};Wo.prototype.xd=function(a,b){return dk(dl(a,this),b)};Wo.prototype.Y=function(){return this.vb};
|
|
var Xo=function(a,b){a=a||Object;if(!(a.prototype instanceof M))if(a&&a!=Object)if(a==String)a=To;else if(a==Number)a=Qo;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=M;var c=function(d){this.args=this.H=null;this.T=d};c.prototype=a.prototype;return new c(b)},Zo=function(a,b){b={name:"",returns:"Object",args:Ta(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof M?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new Wo(b,a)},Yo=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].T&&d.push(e);if(0===d.length)return a;c="_MAPPING_VAR_"+function(l){var m=function(v){return v.map(q).reduce(function(B,D){return B+D},0)},q=function(v){return v.Ta?1:v.Ea?m(v.Ea.values):v.Fa?m(Object.values(v.Fa.values)):v.xa?m(Object.values(v.xa.arguments)):0};return m(Object.values(l.values))}(Yk(c.apply(null,b),"<unbound>"))+"_";for(e=0;e<
|
|
d.length;e++){var f=d[e],g=c+e;b[f].T=g;a.args[f].name=g}return a};var $o=function(a,b){if(!(this instanceof $o))return Lm($o,arguments);if(a instanceof $o)return a;ap();var c=P($o,arguments);a=c.date;c=c.tz;var d=new N("Date"),e={},f=null;if(Qm(a)){if(e.value=a,c)if(Qm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(Pm(a))e.value=a;else if(va(a))e.value=Math.floor(a.getTime());else if(a instanceof M)a.H&&"Date"==a.H.Y().returns?(d=a.H,e=a.args,f=a.T):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);M.call(this,d,e,f)};x($o,M);w("ee.Date",$o);var bp=!1,ap=function(){bp||(fn($o,"Date","Date"),bp=!0)};$o.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var dp=function(a){return cp(JSON.parse(a))};w("ee.Deserializer.fromJSON",dp);var cp=function(a){if("result"in a&&"values"in a)return ep(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],f=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=fp(f,b)}a=a.value}return fp(a,b)};w("ee.Deserializer.decode",cp);
|
|
var fp=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Ta(a,function(e){return fp(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 Xo(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
a);return new $o(a/1E3);case "Bytes":return gp(new Pe({ob:a}),a);case "Invocation":return c="functionName"in a?Ym(a.functionName):fp(a["function"],b),a=Eb(a.arguments,function(e){return fp(e,b)}),hp(c,a);case "Dictionary":return Eb(a.value,function(e){return fp(e,b)});case "Function":var d=fp(a.body,b);a={name:"",args:Ta(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new Wo(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new S(a);
|
|
case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},gp=function(a,b){var c=function(){};p(c,Xj);c.prototype.encode=function(){return b};c.prototype.ma=function(){return a};return new c},hp=function(a,b){if(a instanceof Tm)return a.apply(b);if(a instanceof M){var c=function(){return Tm.apply(this,arguments)||this};p(c,Tm);c.prototype.encode=function(d){return a.encode(d)};c.prototype.xd=function(d,e){return dk(dl(d,a),
|
|
e)};return new M(new c,b)}throw Error("Invalid function value");},ip=function(a){return ep(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",ip);
|
|
var ep=function(a){var b=Tc(ef,a),c={},d=function(g,l){if(!(g in c)){if(!(g in b.values))throw Error("Cannot find "+l+" "+g);c[g]=e(b.values[g])}return c[g]},e=function(g){if(null!==g.gb)g=g.gb;else if(null!==g.Ea)g=g.Ea.values.map(e);else if(null!==g.Fa)g=Eb(g.Fa.values,e);else if(null!==g.Kb)g=Xo(Object,g.Kb);else if(null!==g.Ta)g=f(g.Ta);else if(null!==g.xa){var l=g.xa;g=l.Ua?d(l.Ua,"function"):Ym(l.functionName);l=Eb(l.arguments,e);g=hp(g,l)}else g=null!==g.ob?gp(new Pe({ob:g.ob}),g.ob):null!==
|
|
g.Va?gp(new Pe({Va:g.Va}),g.Va):null!==g.Na?d(g.Na,"reference"):null;return g},f=function(g){var l=d(g.body,"function body");g={args:g.ic.map(function(m){return{name:m,type:"Object",optional:!1}}),name:"",returns:"Object"};return new Wo(g,function(){return l})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",ep);var jp=function(a){if(!(this instanceof jp))return Lm(jp,arguments);if(a instanceof jp)return a;kp();Rm(a)?(M.call(this,null,null),this.Ic=a):(a instanceof M&&a.H&&"Dictionary"==a.H.Y().returns?M.call(this,a.H,a.args,a.T):M.call(this,new N("Dictionary"),{input:a},null),this.Ic=null)};x(jp,M);w("ee.Dictionary",jp);var lp=!1,kp=function(){lp||(fn(jp,"Dictionary","Dictionary"),lp=!0)};jp.prototype.encode=function(a){return null!==this.Ic?a(this.Ic):jp.L.encode.call(this,a)};
|
|
jp.prototype.ma=function(a){return null!==this.Ic?Zj(dl(a,this.Ic)):jp.L.ma.call(this,a)};jp.prototype.name=function(){return"Dictionary"};var mp={};w("ee.Terrain",mp);mp.vf=!1;mp.initialize=function(){mp.vf||(fn(mp,"Terrain","Terrain"),mp.vf=!0)};mp.reset=function(){gn(mp);mp.vf=!1};var sp=function(a,b,c,d,e,f){if("ready"!=np||a||b){var g=null!=c;if(d)if(g)op.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==np&&g)pp.push(c);else if(np="loading",nj(a,b,e,f),g)pp.push(c),bn(qp,rp);else try{bn(),qp()}catch(l){throw rp(l),l;}}else c&&c()};w("ee.initialize",sp);
|
|
var vp=function(){np="not_ready";Mj=Lj=yj=null;Kj=!1;$m=null;an={};gn($o);bp=!1;gn(jp);lp=!1;gn(R);on=!1;gn(L);jo=!1;gn(W);ao=!1;gn(V);Zn=!1;gn(Z);so=!1;gn(X);qo=!1;gn(U);Kn=!1;gn(S);rn=!1;gn(mo);oo=!1;gn(Qo);So=!1;gn(To);Vo=!1;mp.reset();for(var a=r.ee,b=0;b<tp.length;b++){var c=tp[b];gn(a[c]);delete a[c]}tp=[];Nm=a;a=up;for(var d in a)delete a[d]};w("ee.reset",vp);var wp={Al:"not_ready",LOADING:"loading",Bl:"ready"};w("ee.InitState",wp);w("ee.InitState.NOT_READY","not_ready");
|
|
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var np="not_ready",pp=[],op=[];w("ee.TILE_SIZE",256);var tp=[],up={};w("ee.Algorithms",up);var xp=function(a,b){"string"===typeof a&&(a=new N(a));return Tm.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",xp);var yp=function(a,b){"string"===typeof a&&(a=new N(a));return a.apply(b)};w("ee.apply",yp);
|
|
var qp=function(){if("loading"==np){try{ap();kp();nn();ho();$n();Yn();ro();po();Jn();pn();no();Ro();Uo();mp.initialize();var a=cn(),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 f=a[d].returns.replace(/<.*>/,"");c[f]=!0}var g=r.ee,l;for(l in b)l in c&&!(l in g)&&(g[l]=zp(l),tp.push(l),a[l]?(g[l].signature=a[l],g[l].signature.isConstructor=!0,an[l]=!0):g[l].signature={});Nm=g;Ap()}catch(m){rp(m);return}np="ready";for(op=[];0<pp.length;)pp.shift()()}},
|
|
rp=function(a){if("loading"==np)for(np="not_ready",pp=[];0<op.length;)op.shift()(a)},Ap=function(){var a=dn();Hb(a).sort().forEach(function(b){var c=a[b],d=c.Y();if(!d.hidden){b=b.split(".");var e=up;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=bb(b,1)}f=function(g){return Xm(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=u(c.toString,c);e[b[0]]=f}})},zp=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),
|
|
f=1==e.length;if(f&&e[0]instanceof d)return e[0];if(!(this instanceof d))return Lm(d,e);d=en(a);var g=!(e[0]instanceof M),l=!1;d&&(f?g?l=!0:e[0].H&&e[0].H.Y().returns==d.Y().returns||(l=!0):l=!0);if(l)e=Sm(e,d.Y())?e[0]:Vm(d,e),M.call(this,d,Wm(d,e));else{if(!f)throw Error("Too many arguments for ee."+a+"(): "+e);if(g)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];M.call(this,e.H,e.args,e.T)}};x(b,M);b.prototype.name=function(){return a};fn(b,a,a);return b};
|
|
Um=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new L(a);case "Feature":return a instanceof V?O("Feature",O("Collection.geometry",a)):new W(a);case "Element":if(a instanceof R)return a;if(a instanceof S)return new W(a);if(a instanceof M)return new R(a.H,a.args,a.T);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof X?O("Collection.geometry",a):new S(a);case "FeatureCollection":case "Collection":return a instanceof V?
|
|
a:new X(a);case "ImageCollection":return new Z(a);case "Filter":return new U(a);case "Algorithm":if("string"===typeof a)return new N(a);if("function"===typeof a){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return Zo(a,c)}if(a instanceof Xj)return a;throw Error("Argument is not a function: "+a);case "String":return Qm(a)||a instanceof To||a instanceof M?new To(a):a;case "Dictionary":return Rm(a)?a:new jp(a);case "List":return new mo(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Qo(a);
|
|
default:if(b in c){d=en(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 Bp=function(a,b,c){Kc.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.uh=new wc;this.th=new wc};p(Bp,Kc);Bp.prototype.getTile=function(a,b){var c=Lc(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.wb,this.token].join("/");this.yb.push(c);this.wb+=1;var d=ph("DIV");Cp(this,b,a,c,d);Dp(this);return d};
|
|
var Cp=function(a,b,c,d,e){var f=Zi(Xi);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=u(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.uh.set(c,g),this.th.set(c,e),Ya(this.yb,d),Dp(this);else throw this.og.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},Dp=function(a){a.dispatchEvent(new Mc(a.yb.length))};Bp.prototype.I=function(){this.th=this.uh=null;Kc.prototype.I.call(this)};
|
|
w("ee.FloatTileOverlay",Bp);var Ep=function(){this.ae=new Map};Ep.prototype.clear=function(){this.ae.clear()};var Fp=function(a,b){a.ae.has(b)||a.ae.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.ae.get(b)};var Gp=function(a){y.call(this);this.Qb=a;this.K={}};x(Gp,y);var Hp=[];Gp.prototype.Wa=function(a,b,c,d){Array.isArray(b)||(b&&(Hp[0]=b.toString()),b=Hp);for(var e=0;e<b.length;e++){var f=Zb(a,b[e],c||this.handleEvent,d||!1,this.Qb||this);if(!f)break;this.K[f.key]=f}return this};Gp.prototype.Tc=function(a,b,c,d){return Ip(this,a,b,c,d)};
|
|
var Ip=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)Ip(a,b,c[g],d,e,f);else{b=Yb(b,c,d||a.handleEvent,e,f||a.Qb||a);if(!b)return a;a.K[b.key]=b}return a};Gp.prototype.ke=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.ke(a,b[f],c,d,e);else c=c||this.handleEvent,d=t(d)?!!d.capture:!!d,e=e||this.Qb||this,c=$b(c),d=!!d,b=yb(a)?a.Kc(b,c,d,e):a?(a=bc(a))?a.Kc(b,c,d,e):null:null,b&&(gc(b),delete this.K[b.key])};
|
|
Gp.prototype.bd=function(){Cb(this.K,function(a,b){this.K.hasOwnProperty(b)&&gc(a)},this);this.K={}};Gp.prototype.I=function(){Gp.L.I.call(this);this.bd()};Gp.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Kp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Lb[a.name]):(this.code=a=La(a.code),this.name=Jp(a));Fa.call(this,Ad("%s %s",this.name,b))};x(Kp,Fa);
|
|
var Jp=function(a){var b=Kb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Lp={},Lb=(Lp.AbortError=3,Lp.EncodingError=5,Lp.InvalidModificationError=9,Lp.InvalidStateError=7,Lp.NotFoundError=1,Lp.NotReadableError=4,Lp.NoModificationAllowedError=6,Lp.PathExistsError=12,Lp.QuotaExceededError=10,Lp.SecurityError=2,Lp.SyntaxError=8,Lp.TypeMismatchError=11,Lp);var Mp=function(a,b){Ea.call(this,a.type,b);this.Ia=a};x(Mp,Ea);var Np=function(){A.call(this);this.aa=new FileReader;this.aa.onloadstart=u(this.kc,this);this.aa.onprogress=u(this.kc,this);this.aa.onload=u(this.kc,this);this.aa.onabort=u(this.kc,this);this.aa.onerror=u(this.kc,this);this.aa.onloadend=u(this.kc,this)};x(Np,A);h=Np.prototype;h.abort=function(){try{this.aa.abort()}catch(a){throw new Kp(a,"aborting read");}};h.sb=function(){return this.aa.readyState};h.getError=function(){return this.aa.error&&new Kp(this.aa.error,"reading file")};
|
|
h.kc=function(a){this.dispatchEvent(new Mp(a,this))};h.I=function(){Np.L.I.call(this);delete this.aa};h.readAsBinaryString=function(a){this.aa.readAsBinaryString(a)};h.readAsArrayBuffer=function(a){this.aa.readAsArrayBuffer(a)};h.readAsText=function(a,b){this.aa.readAsText(a,b)};var Op=function(a,b){z(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 Pp=function(a,b){A.call(this);b=b||{};this.minZoom=b.minZoom||0;this.maxZoom=b.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=b.tileSize||new google.maps.Size(256,256);this.name=b.name;this.opacity="opacity"in b?b.opacity:1;this.Zd=new Ep(a.getUniqueId());this.xb=new wc;this.wb=0;this.ng=a;this.ib=new Gp(this);this.radius=0};p(Pp,A);h=Pp.prototype;h.He=function(a){return Zb(this,"tile-load",a)};h.Uf=function(a){gc(a)};
|
|
h.Lc=function(){return Qp(this,"throttled")+Qp(this,"loading")+Qp(this,"new")};h.setOpacity=function(a){this.opacity=a;this.xb.forEach(function(b){Op(b.ka,this.opacity)},this)};h.getStats=function(){return this.Zd};
|
|
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.wb++].join("-");e=this.ng.getUniqueId();a=[a,e].join("-");b=this.Yg(d,b,c,a);b.tileSize=this.tileSize;Op(b.ka,this.opacity);this.xb.set(a,b);Rp(this,b);this.dispatchEvent(new Sp(this.Lc()));this.ng.zf(b,(new Date).getTime()/1E3);return b.ka};h.releaseTile=function(a){var b=this.xb.get(a.id);this.xb.remove(a.id);b&&(b.abort(),Da(b))};
|
|
var Rp=function(a,b){a.ib.Wa(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.bl,d=(new Date).getTime();Fp(this.Zd,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new Tp(this.Lc()));break;case "throttled":Fp(this.Zd,b.zoom).throttleCount++;this.dispatchEvent(new Up(b.Ba));break;case "failed":Fp(this.Zd,b.zoom).errorCount++;this.dispatchEvent(new Vp(b.Ba,b.Pk));break;case "aborted":this.dispatchEvent(new Wp(this.Lc()))}})};
|
|
Pp.prototype.I=function(){A.prototype.I.call(this);this.xb.forEach(Da);this.xb.clear();this.xb=null;Da(this.ib);this.ng=this.ib=null};var Qp=function(a,b){return Wa(a.xb.Z(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",Pp);Pp.prototype.removeTileCallback=Pp.prototype.Uf;Pp.prototype.addTileCallback=Pp.prototype.He;var Tp=function(){Ea.call(this,"tile-load")};p(Tp,Ea);var Sp=function(){Ea.call(this,"tile-start")};p(Sp,Ea);var Up=function(){Ea.call(this,"tile-throttle")};
|
|
p(Up,Ea);var Vp=function(a,b){Ea.call(this,"tile-fail");this.errorMessage=b};p(Vp,Ea);var Wp=function(){Ea.call(this,"tile-abort")};p(Wp,Ea);var Xp=function(a,b,c,d){A.call(this);this.pb=a;this.zoom=b;this.ka=c.createElement("div");this.ka.id=d;this.fl=5;this.Vd=function(){};this.be="new";this.pi=0;this.xf=!1};p(Xp,A);Xp.prototype.getDiv=function(){return this.ka};
|
|
var Zp=function(a){if(!a.xf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");Yp(a,"loading");a.bl=(new Date).getTime();a.Ya=new $i;a.Ya.wc="blob";a.Ya.Wa("complete",function(){var b=kj(a.Ya),c=a.Ya.getStatus();429==c&&Yp(a,"throttled");if(Ti(c)){var d={};Cb(lj(a.Ya),function(f,g){d[g.toLowerCase()]=f});a.sl=d;a.xi=b;a.Jc()}else if(b){var e=new Np;e.Wa("loadend",function(){a.dd(e.aa.result)});e.readAsText(b)}else a.dd("Failed to load tile.")},
|
|
!1);a.Ya.Tc("ready",Ba(Da,a.Ya));a.Ba&&a.Ba.endsWith("&profiling=1")&&(a.Ba=a.Ba.replace("&profiling=1",""),a.Ya.headers.set("X-Earth-Engine-Computation-Profiling","1"));a.Ya.send(a.Ba,"GET")};h=Xp.prototype;h.Jc=function(){this.Vd(this);Yp(this,"loaded")};h.Fc=function(){Da(this.Ya)};
|
|
h.dd=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.pi>=this.fl?(this.Pk=b(a),Yp(this,"failed")):(this.Fc(),setTimeout(u(function(){this.Ra||(this.xf=!0,Zp(this),this.xf=!1)},this),1E3*Math.pow(2,this.pi++)))};h.abort=function(){this.Fc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&Yp(this,this.be in $p?"removed":"aborted")};h.getStatus=function(){return this.be};var Yp=function(a,b){a.be=b;a.dispatchEvent("status-changed")};
|
|
Xp.prototype.I=function(){A.prototype.I.call(this);this.Fc();this.ka.remove();this.Vd=null};var $p={aborted:!0,failed:!0,loaded:!0,removed:!0};var aq=function(){y.call(this)};p(aq,y);var bq=function(a,b){Pp.call(this,a,b);this.Ng=new wc;this.lh=new wc};p(bq,Pp);bq.prototype.Yg=function(a,b,c,d){var e=new cq(a,b,c,d);this.ib.Wa(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Ng.set(a,new Float32Array(e.rd)),this.lh.set(a,e.ka))});return e};bq.prototype.I=function(){Pp.prototype.I.call(this);this.lh=this.Ng=null};w("ee.layers.BinaryOverlay",bq);var cq=function(a,b,c,d){Xp.call(this,a,b,c,d)};p(cq,Xp);
|
|
cq.prototype.Jc=function(){var a=new Np;a.Wa("loadend",function(){this.rd=a.aa.result;Xp.prototype.Jc.call(this)},void 0,this);a.readAsArrayBuffer(this.xi)};var dq=function(a){A.call(this);this.Pc={};this.Oc={};this.Qb=new Gp(this);this.W=a;this.Qe=!1};x(dq,A);var eq=["load","abort","error"],fq=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Qe=!1,a.Pc[b]={src:c,Xg:null}},gq=function(a,b){delete a.Pc[b];var c=a.Oc[b];c&&(delete a.Oc[b],a.Qb.ke(c,eq,a.Wh))};
|
|
dq.prototype.start=function(){var a=this.Pc;Hb(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Ra)){if(this.W){var d=this.W;d=(d?new uh(th(d)):Ga||(Ga=new uh)).Nk("IMG")}else d=new Image;c.Xg&&(d.crossOrigin=c.Xg);this.Qb.Wa(d,eq,this.Wh);this.Oc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
dq.prototype.Wh=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));gq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Ra&&Mb(this.Oc)&&Mb(this.Pc)&&!this.Qe&&(this.Qe=!0,this.dispatchEvent("complete"))}};dq.prototype.I=function(){delete this.Pc;delete this.Oc;Da(this.Qb);dq.L.I.call(this)};var hq=function(a,b){Pp.call(this,a,b)};p(hq,Pp);hq.prototype.Yg=function(a,b,c,d){return new iq(a,b,c,d)};w("ee.layers.ImageOverlay",hq);var iq=function(a,b,c,d){Xp.call(this,a,b,c,d);this.Vd=jq;this.Bh=this.ea=this.Jd=null;this.Vc=""};p(iq,Xp);
|
|
iq.prototype.Jc=function(){try{var a=rd(this.xi);this.Vc=pd(a);var b="about:invalid#zClosurez"!==this.Vc?this.Vc:this.Ba}catch(c){b=this.Ba}this.ea=new dq;fq(this.ea,this.ka.id+"-image",b);this.Bh=Yb(this.ea,kq,function(c){"load"==c.type?(this.Jd=c.target,Xp.prototype.Jc.call(this)):this.dd()},void 0,this);this.ea.start()};iq.prototype.Fc=function(){Xp.prototype.Fc.call(this);this.ea&&(gc(this.Bh),Da(this.ea))};iq.prototype.I=function(){Xp.prototype.I.call(this);this.Vc&&URL.revokeObjectURL(this.Vc)};
|
|
var jq=function(a){a.ka.appendChild(a.Jd)},kq=["load","abort","error"];var lq=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 mq=function(a,b,c,d){y.call(this);this.Mg=a;this.Wb=b;this.ig=d||"";this.Pd=c};p(mq,aq);mq.prototype.zf=function(a){if(a.zoom<=this.Pd)a.Ba=this.Ed(a.pb,a.zoom);else{var b=a.zoom-this.Pd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.pb.x/c),Math.floor(a.pb.y/c));a.Ba=this.Ed(c,a.zoom-b);a.Vd=Ba(nq,this.Pd)}var d=u(a.dd,a);a.dd=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?Yp(a,"loaded"):d(e)},a);Zp(a)};
|
|
mq.prototype.getUniqueId=function(){return[this.Mg,this.Wb,this.Pd,this.ig].join("-")};mq.prototype.Ed=function(a,b){a=lq("https://storage.googleapis.com",this.Mg,this.Wb,String(b),String(a.x),String(a.y));this.ig&&(a+=this.ig);return a};
|
|
var nq=function(a,b){if(!b.Jd)throw Error("Tile must have an image element to be rendered.");a=Math.pow(2,b.zoom-a);var c=b.tileSize.width,d=b.ka.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.ka.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Jd,c/a*(b.pb.x%a),c/a*(b.pb.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",mq);var oq=function(){this.Ka=[];this.Pa=[]};h=oq.prototype;h.enqueue=function(a){this.Pa.push(a)};h.Hc=function(){0===this.Ka.length&&(this.Ka=this.Pa,this.Ka.reverse(),this.Pa=[]);return this.Ka.pop()};h.R=function(){return this.Ka.length+this.Pa.length};h.isEmpty=function(){return 0===this.Ka.length&&0===this.Pa.length};h.clear=function(){this.Ka=[];this.Pa=[]};h.contains=function(a){return Xa(this.Ka,a)||Xa(this.Pa,a)};
|
|
h.remove=function(a){var b=this.Ka;var c=Qa(b,a);0<=c?(Za(b,c),b=!0):b=!1;return b||Ya(this.Pa,a)};h.Z=function(){for(var a=[],b=this.Ka.length-1;0<=b;--b)a.push(this.Ka[b]);var c=this.Pa.length;for(b=0;b<c;++b)a.push(this.Pa[b]);return a};var pq=function(a,b){y.call(this);this.Oh=a||0;this.Od=b||10;if(this.Oh>this.Od)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Sa=new oq;this.tb=new Fc;this.delay=0;this.yf=null;this.ld()};x(pq,y);pq.prototype.Mc=function(){var a=Date.now();if(!(null!=this.yf&&a-this.yf<this.delay)){for(var b;0<this.Sa.R()&&(b=this.Sa.Hc(),!this.Jf(b));)this.ld();!b&&this.R()<this.Od&&(b=this.Te());b&&(this.yf=a,this.tb.add(b));return b}};
|
|
var qq=function(a,b){return a.tb.remove(b)?(a.Ge(b),!0):!1};h=pq.prototype;h.Ge=function(a){this.tb.remove(a);this.Jf(a)&&this.R()<this.Od?this.Sa.enqueue(a):this.vd(a)};h.ld=function(){for(var a=this.Sa;this.R()<this.Oh;)a.enqueue(this.Te());for(;this.R()>this.Od&&0<this.Sa.R();)this.vd(a.Hc())};h.Te=function(){return{}};h.vd=function(a){if("function"==typeof a.Qa)a.Qa();else for(var b in a)a[b]=null};h.Jf=function(a){return"function"==typeof a.Kk?a.Kk():!0};
|
|
h.contains=function(a){return this.Sa.contains(a)||this.tb.contains(a)};h.R=function(){return this.Sa.R()+this.tb.R()};h.isEmpty=function(){return this.Sa.isEmpty()&&this.tb.isEmpty()};h.I=function(){pq.L.I.call(this);if(0<this.tb.R())throw Error("[goog.structs.Pool] Objects not released");delete this.tb;for(var a=this.Sa;!a.isEmpty();)this.vd(a.Hc());delete this.Sa};var rq=function(a,b){this.Gh=a;this.me=b};rq.prototype.getKey=function(){return this.Gh};rq.prototype.clone=function(){return new rq(this.Gh,this.me)};var sq=function(a){this.za=[];if(a)a:{if(a instanceof sq){var b=a.rb();a=a.Z();if(0>=this.R()){for(var c=this.za,d=0;d<b.length;d++)c.push(new rq(b[d],a[d]));break a}}else b=Hb(a),a=Gb(a);for(c=0;c<b.length;c++)tq(this,b[c],a[c])}},tq=function(a,b,c){var d=a.za;d.push(new rq(b,c));b=d.length-1;a=a.za;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=sq.prototype;
|
|
h.remove=function(){var a=this.za,b=a.length,c=a[0];if(!(0>=b)){if(1==b)a.length=0;else{a[0]=a.pop();a=0;b=this.za;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,g=2*a+2;f=g<d&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>e.getKey())break;b[a]=b[f];a=f}b[a]=e}return c.me}};h.Z=function(){for(var a=this.za,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].me);return b};h.rb=function(){for(var a=this.za,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
h.Gc=function(a){return this.za.some(function(b){return b.me==a})};h.Nb=function(a){return this.za.some(function(b){return b.getKey()==a})};h.clone=function(){return new sq(this)};h.R=function(){return this.za.length};h.isEmpty=function(){return 0===this.za.length};h.clear=function(){this.za.length=0};var uq=function(){sq.apply(this,arguments)};p(uq,sq);uq.prototype.enqueue=function(a,b){tq(this,a,b)};uq.prototype.Hc=function(){return this.remove()};var vq=function(a,b){this.jh=void 0;this.Xd=new uq;pq.call(this,a,b)};x(vq,pq);h=vq.prototype;h.Mc=function(a,b){if(!a)return(a=vq.L.Mc.call(this))&&this.delay&&(this.jh=r.setTimeout(u(this.Gd,this),this.delay)),a;this.Xd.enqueue(void 0!==b?b:100,a);this.Gd()};h.Gd=function(){for(var a=this.Xd;0<a.R();){var b=this.Mc();if(b)a.Hc().apply(this,[b]);else break}};h.Ge=function(a){vq.L.Ge.call(this,a);this.Gd()};h.ld=function(){vq.L.ld.call(this);this.Gd()};
|
|
h.I=function(){vq.L.I.call(this);r.clearTimeout(this.jh);this.Xd.clear();this.Xd=null};var wq=function(a,b){y.call(this);this.Af=a;this.ta=b||null};p(wq,aq);wq.prototype.zf=function(a,b){var c=Zb(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.sl["x-earth-engine-computation-profile"];this.ta&&e&&this.ta.Hk(a.ka.id,e);break;case "failed":case "aborted":this.ta&&""!==a.ka.id&&this.ta.ll(a.ka.id),gc(c)}},void 0,this);a.Ba=this.Ed(a.pb,a.zoom);var d=u(this.rf,this,a);xq().Mc(d,b)};wq.prototype.getUniqueId=function(){return this.Af.mapid+"-"+this.Af.token};
|
|
wq.prototype.rf=function(a,b){var c=xq();if(a.Ra||"aborted"==a.getStatus())qq(c,b);else{var d=Zb(a,"status-changed",function(){a.be in $p&&(gc(d),qq(c,b))});Zp(a)}};wq.prototype.Ed=function(a,b){a=Gl(this.Af,a.x,a.y,b);return this.ta&&this.ta.isEnabled()?a+"&profiling=1":a};var xq=function(){yq||(yq=new vq(0,4));return yq};w("ee.layers.EarthEngineTileSource",wq);var yq=null;var zq=function(a){y.call(this);this.Gi=a};p(zq,aq);zq.prototype.zf=function(a){a.Ba=this.Gi.formatTileUrl(a.pb.x,a.pb.y,a.zoom);Zp(a)};zq.prototype.getUniqueId=function(){return this.Gi.token};w("ee.layers.FeatureViewTileSource",zq);var Bq=function(){A.call(this);this.he=new Aq(0,60);this.vc=new wc};p(Bq,A);Bq.prototype.send=function(a,b,c,d,e){if(this.vc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Cq(a,b,d,u(this.li,this),void 0!==e?e:1);this.vc.set(a,b);a=u(this.rf,this,b);this.he.Mc(a,c);return b};Bq.prototype.abort=function(a){if(a=this.vc.get(a))a.hc||(a.hc=!0,a.Ia=new Ea("abort")),this.li(a)};
|
|
Bq.prototype.rf=function(a,b){if(a.ea||a.hc)Dq(this,b);else if(a.Ji=b,b.setActive(!0),b=new dq,a.ea=b,!a.retry())throw Error("Cannot dispatch first request!");};Bq.prototype.li=function(a){this.vc.remove(a.getId());a.ea&&(Dq(this,a.Ji),a.ea.Qa());a.sf&&a.sf(a.Ia,a.hi)};var Dq=function(a,b){b.setActive(!1);if(!qq(a.he,b))throw Error("Object not released");};Bq.prototype.I=function(){A.prototype.I.call(this);this.he.Qa();this.he=null;var a=this.vc;Ra(a.Z(),function(b){b.Qa()});a.clear();this.vc=null};
|
|
w("ee.MapTileManager",Bq);var Cq=function(a,b,c,d,e){y.call(this);this.da=a;this.yl=b;this.gl=void 0!==e?e:1;this.sf=c;this.Yb=d};p(Cq,y);h=Cq.prototype;h.getId=function(){return this.da};h.getUrl=function(){return this.yl};h.Uk=function(a){if(this.hc)this.Yb&&this.Yb(this);else switch(a.type){case "load":this.Ia=a;this.Yb&&this.Yb(this);break;case "error":case "abort":this.retry()||(this.Ia=a,this.Yb&&this.Yb(this))}};h.I=function(){y.prototype.I.call(this);delete this.sf;delete this.Yb};
|
|
h.retry=function(){if(this.Dg>this.gl)return!1;this.Dg++;gq(this.ea,this.da);setTimeout(u(this.tl,this),0);return!0};
|
|
h.tl=function(){if(!this.hc){var a=u(function(d){this.hc||(fq(this.ea,this.da,d),Yb(this.ea,Eq,u(this.Uk,this)),this.ea.start())},this),b=this.getUrl();if(Rd(b).Aa.Nb("profiling")){var c=new $i;c.wc="blob";c.Wa("complete",u(function(){this.hi=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=pd(rd(kj(c)));var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.Tc("ready",u(c.Qa,c));c.send(b,"GET")}else a(b)}};h.Dg=0;h.hc=!1;
|
|
h.ea=null;h.Ji=null;h.Ia=null;h.hi=null;var Eq=["load","abort","error"],Fq=function(){y.call(this);this.Da=!1};p(Fq,y);Fq.prototype.setActive=function(a){this.Da=a};Fq.prototype.isActive=function(){return this.Da};var Aq=function(a,b){vq.call(this,a,b)};p(Aq,vq);Aq.prototype.Te=function(){return new Fq};Aq.prototype.vd=function(a){a.Qa()};Aq.prototype.Jf=function(a){return!a.Ra&&!a.isActive()};var Gq=function(a,b,c,d,e){Kc.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.pg=new Fc;this.Kf=1;this.ta=e||null};p(Gq,Kc);h=Gq.prototype;h.He=function(a){return Zb(this,"tileevent",a)};h.Uf=function(a){gc(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=Lc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ta&&this.ta.isEnabled()&&(a+="&profiling=1");b=[b,this.wb,this.token].join("/");this.wb+=1;c=ph("DIV",{id:b});var d=(new Date).getTime()/1E3;this.yb.push(b);wl(Bq).send(b,a,d,u(this.Tk,this,c,b));Dp(this);return c};h.Lc=function(){return this.yb.length};
|
|
h.releaseTile=function(a){wl(Bq).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.pg.remove(b);""!==a.id&&(this.og.remove(a.id),this.ta&&this.ta.ll(a.id))};h.setOpacity=function(a){this.Kf=a;var b=this.pg.Ca();rc(b,function(c){Op(c,a)})};
|
|
h.Tk=function(a,b,c,d){"error"==c.type?(Ya(this.yb,b),this.og.add(b),this.dispatchEvent(c)):(Ya(this.yb,b),c.target&&"load"==c.type&&(c=c.target,this.pg.add(c),1!=this.Kf&&Op(c,this.Kf),a.appendChild(c)),Dp(this));this.ta&&null!==d&&this.ta.Hk(b,d)};w("ee.MapLayerOverlay",Gq);Gq.prototype.removeTileCallback=Gq.prototype.Uf;Gq.prototype.addTileCallback=Gq.prototype.He;Gq.prototype.getTile=Gq.prototype.getTile;Gq.prototype.setOpacity=Gq.prototype.setOpacity;Gq.prototype.releaseTile=Gq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._call ee.ApiFunction._apply ee.batch.Export.table.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.video.toDrive ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.data.authenticateViaPopup ee.data.updateAsset ee.data.copyAsset ee.data.newTaskId ee.data.listImages ee.data.authenticate ee.data.startIngestion ee.data.getTaskStatus ee.data.computeValue ee.data.getTaskListWithLimit ee.data.renameAsset ee.data.getThumbId ee.data.makeThumbUrl ee.data.makeTableDownloadUrl ee.data.resetWorkloadTag ee.data.setDefaultWorkloadTag ee.data.getTableDownloadId ee.data.getFilmstripThumbId ee.data.getVideoThumbId ee.data.listBuckets ee.data.createFolder ee.data.getDownloadId ee.data.createAssetHome ee.data.setAssetAcl ee.data.setWorkloadTag ee.data.makeDownloadUrl ee.data.getAssetRoots ee.data.getWorkloadTag ee.data.createAsset ee.data.getAsset ee.data.cancelTask ee.data.cancelOperation ee.data.listOperations ee.data.getOperation ee.data.getAssetRootQuota ee.data.getMapId ee.data.startTableIngestion ee.data.listAssets ee.data.getAssetAcl ee.data.getTileUrl ee.data.setAssetProperties ee.data.deleteAsset ee.data.updateTask ee.data.startProcessing ee.data.getInfo ee.data.authenticateViaPrivateKey ee.data.authenticateViaOauth ee.data.getList ee.data.getFeatureViewTilesKey ee.data.getTaskList ee.data.listFeatures ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decode ee.Dictionary ee.Algorithms ee.InitState ee.reset ee.apply ee.call ee.initialize ee.TILE_SIZE ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.select ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.inList ee.Filter.prototype.not ee.Filter ee.Filter.eq ee.Filter.metadata ee.Filter.neq ee.Filter.bounds ee.Filter.gt ee.Filter.lte ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.Point ee.Geometry.LinearRing ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Image ee.Image.prototype.rename ee.Image.prototype.getMap ee.Image.prototype.expression ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.prototype.clip ee.Image.cat ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.ImageCollection ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.toJSON ee.String ee.Terrain".split(" "),
|
|
c=[["name"],["name","var_args"],["name","namedArgs"],"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices"],"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".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_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_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris".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(" "),
|
|
"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_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".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_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
|
|
["algorithm","opt_dropNulls"],["geometry"],["start","opt_end"],["property","opt_ascending"],["filter"],["algorithm","opt_first"],["name","operator","value"],["max","opt_property","opt_ascending"],["opt_callback"],["callback"],["func","var_args"],["legacy"],["opt_success","opt_error"],["assetId","asset","updateFields","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["opt_count","opt_callback"],["parent","opt_params","opt_callback"],["clientId","success","opt_error","opt_extraScopes",
|
|
"opt_onImmediateFailed"],["taskId","request","opt_callback"],["taskId","opt_callback"],["obj","opt_callback"],["opt_limit","opt_callback"],["sourceId","destinationId","opt_callback"],["params","opt_callback"],["id"],["id"],["opt_resetDefault"],["tag"],["params","opt_callback"],["params","opt_callback"],["params","opt_callback"],["project","opt_callback"],["path","opt_force","opt_callback"],["params","opt_callback"],["requestedId","opt_callback"],["assetId","aclUpdate","opt_callback"],["tag"],["id"],
|
|
["opt_callback"],[],["value","opt_path","opt_force","opt_properties","opt_callback"],["id","opt_callback"],["taskId","opt_callback"],["operationName","opt_callback"],["opt_limit","opt_callback"],["operationName","opt_callback"],["rootId","opt_callback"],["params","opt_callback"],["taskId","request","opt_callback"],["parent","opt_params","opt_callback"],["assetId","opt_callback"],["id","x","y","z"],["assetId","properties","opt_callback"],["assetId","opt_callback"],["taskId","action","opt_callback"],
|
|
["taskId","params","opt_callback"],["id","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["params","opt_callback"],["params","opt_callback"],["opt_callback"],["asset","params","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],[],["func","namedArgs"],["func","var_args"],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
[],["var_args"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],["args","opt_column"],["opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["name","value"],["var_args"],["var_args"],["name","value"],["start","opt_end"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],[],["opt_filter"],["name","value"],["name","operator","value"],
|
|
["name","value"],["geometry","opt_errorMargin"],["name","value"],["name","value"],["var_args"],["namedArgs"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],[],[],["west","south","east","north"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj",
|
|
"opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["opt_args"],["var_args"],["opt_visParams","opt_callback"],["expression","opt_map"],["params","opt_callback"],["r","g","b"],["opt_callback"],["params","opt_callback"],["params","opt_callback"],["var_args"],["geometry"],["var_args"],["params","opt_callback"],["params","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],[],["selectors","opt_names"],["args"],["list"],["number"],["obj"],["obj"],["obj"],["obj"],
|
|
["obj"],["obj","opt_isCompound"],["obj"],["string"],[]];[Ym,O,Zm,Do,Eo,Fo,zo,Go,Jo,Bo,Io,xo,Co,Ao,Ho,V.prototype.map,V.prototype.rh,V.prototype.ef,V.prototype.sort,V.prototype.filter,V.prototype.Fh,V.prototype.ff,V.prototype.limit,M.prototype.U,M.prototype.evaluate,M.prototype.zg,M.prototype.ua,xl,Dm,Am,Tl,tm,zl,mm,Vl,Jl,Wl,zm,Kl,Nl,Sl,Km,Jm,Rl,Ml,Ll,um,ym,Pl,wm,Em,Im,Ql,vm,Dl,xm,pm,bm,Zl,Yl,$l,Gm,Fl,om,sm,Cm,Gl,Fm,Bm,am,im,pm,Al,yl,rm,Hl,Xl,Il,$o,ep,ip,dp,cp,jp,up,wp,vp,yp,xp,sp,256,R.prototype.set,
|
|
W,W.prototype.getMap,W.prototype.U,X,X.prototype.U,X.prototype.qb,X.prototype.getMap,X.prototype.select,On,Sn,Tn,Pn,Un,Vn,U.prototype.rc,U,Mn,Xn,Nn,Wn,Qn,Rn,Tm.prototype.call,Tm.prototype.apply,Dn,S.prototype.ge,S.prototype.rg,xn,sn,Bn,S.prototype.ua,En,S,vn,Cn,wn,An,L,L.prototype.mi,L.prototype.getMap,L.prototype.l,L.prototype.qb,ko,L.prototype.U,L.prototype.pf,L.prototype.Dd,L.prototype.select,L.prototype.clip,lo,Z.prototype.mf,Z.prototype.qf,Z.prototype.getMap,Z.prototype.U,Z.prototype.first,Z.prototype.select,
|
|
Z,mo,Qo,Wk,al,Zk,bl,cl,Tk,Uk,To,mp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|