Michael DeWitt d073436d3c v0.1.121
2017-09-08 14:43:10 -07:00

235 lines
126 KiB
JavaScript

(function(){var h,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ba="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ca=function(){ca=function(){};ba.Symbol||(ba.Symbol=da)},da=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(),fa=function(){ca();var a=ba.Symbol.iterator;a||(a=ba.Symbol.iterator=ba.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&
aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(this)}});fa=function(){}},ea=function(a){var b=0;return ha(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})},ha=function(a){fa();a={next:a};a[ba.Symbol.iterator]=function(){return this};return a},ia=function(a){fa();var b=a[Symbol.iterator];return b?b.call(a):ea(a)},ja=function(a,b){if(b){var c=ba;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);
b!=d&&null!=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}};ja("Object.entries",function(a){return a?a:function(a){var b=[],d;for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&b.push([d,a[d]]);return b}});ja("Object.assign",function(a){return a?a:function(a,c){for(var b=1;b<arguments.length;b++){var e=arguments[b];if(e)for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&(a[f]=e[f])}return a}});
var ka=ka||{},k=this,m=function(a){return void 0!==a},n=function(a){return"string"==typeof a},p=function(a){return"number"==typeof a},la=function(){},ma=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";
if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},na=function(a){return null!=a},q=function(a){return"array"==ma(a)},oa=function(a){var b=ma(a);return"array"==b||"object"==b&&"number"==typeof a.length},r=function(a){return"function"==ma(a)},t=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==
b},pa="closure_uid_"+(1E9*Math.random()>>>0),ra=0,sa=function(a,b,c){return a.call.apply(a.bind,arguments)},ta=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},u=function(a,b,c){u=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?sa:ta;return u.apply(null,
arguments)},ua=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},va=Date.now||function(){return+new Date},v=function(a,b){a=a.split(".");var c=k;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&m(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}},x=function(a,b){function c(){}c.prototype=b.prototype;a.j=b.prototype;a.prototype=new c;a.prototype.constructor=
a;a.Ie=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};var y=function(){this.W=this.W;this.Hb=this.Hb};y.prototype.W=!1;y.prototype.V=function(){this.W||(this.W=!0,this.c())};y.prototype.c=function(){if(this.Hb)for(;this.Hb.length;)this.Hb.shift()()};var wa=function(a){a&&"function"==typeof a.V&&a.V()};var z=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.va=!1;this.Ld=!0};z.prototype.stopPropagation=function(){this.va=!0};z.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Ld=!1};var A=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,A);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};x(A,Error);A.prototype.name="CustomError";var xa;var ya=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")},za=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ha=function(a){if(!Aa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ba,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Ca,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Da,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Ea,"&quot;"));-1!=a.indexOf("'")&&
(a=a.replace(Fa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Ga,"&#0;"));return a},Ba=/&/g,Ca=/</g,Da=/>/g,Ea=/"/g,Fa=/'/g,Ga=/\x00/g,Aa=/[\x00&<>"']/,Ia=function(a,b){return a<b?-1:a>b?1:0};var Ja=function(a,b){b.unshift(a);A.call(this,ya.apply(null,b));b.shift()};x(Ja,A);Ja.prototype.name="AssertionError";
var Ka=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Ja(""+e,f||[]);},B=function(a,b,c){a||Ka("",null,b,Array.prototype.slice.call(arguments,2));return a},La=function(a,b){throw new Ja("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Na=function(a,b,c){p(a)||Ka("Expected number but got %s: %s.",[ma(a),a],b,Array.prototype.slice.call(arguments,2));return a},Oa=function(a,b,c){r(a)||Ka("Expected function but got %s: %s.",[ma(a),
a],b,Array.prototype.slice.call(arguments,2))},Pa=function(a,b,c){t(a)||Ka("Expected object but got %s: %s.",[ma(a),a],b,Array.prototype.slice.call(arguments,2))},Qa=function(a,b,c){q(a)||Ka("Expected array but got %s: %s.",[ma(a),a],b,Array.prototype.slice.call(arguments,2))};var Ra=Array.prototype.indexOf?function(a,b,c){B(null!=a.length);return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(n(a))return n(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Sa=Array.prototype.lastIndexOf?function(a,b,c){B(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if(n(a))return n(b)&&1==
b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Ta=Array.prototype.forEach?function(a,b,c){B(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Ua=Array.prototype.filter?function(a,b,c){B(null!=a.length);return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,g=n(a)?a.split(""):a,l=0;l<d;l++)if(l in g){var w=g[l];b.call(c,w,l,a)&&(e[f++]=
w)}return e},Va=Array.prototype.map?function(a,b,c){B(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=n(a)?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},Wa=Array.prototype.some?function(a,b,c){B(null!=a.length);return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1},Xa=Array.prototype.every?function(a,b,c){B(null!=a.length);
return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0},Ya=function(a,b){var c=0;Ta(a,function(a,e,f){b.call(void 0,a,e,f)&&++c},void 0);return c},$a=function(a){a:{var b=Za;for(var c=a.length,d=n(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:n(a)?a.charAt(b):a[b]},ab=function(a){if(!q(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},cb=
function(a,b){b=Ra(a,b);var c;(c=0<=b)&&bb(a,b);return c},bb=function(a,b){B(null!=a.length);Array.prototype.splice.call(a,b,1)},db=function(a){return Array.prototype.concat.apply([],arguments)},eb=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},fb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(oa(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)}},gb=function(a,b,c){B(null!=a.length);
return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},hb=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=t(f)?"o"+(f[pa]||(f[pa]=++ra)):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c};var ib;a:{var jb=k.navigator;if(jb){var kb=jb.userAgent;if(kb){ib=kb;break a}}ib=""}var lb=function(a){return-1!=ib.indexOf(a)};var mb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},nb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},ob=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},pb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},qb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},rb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},sb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},ub=function(a){var b=
tb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},vb=function(a){for(var b in a)return!1;return!0},wb=function(a,b){b in a&&delete a[b]},xb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},yb=function(a){var b=ma(a);if("object"==b||"array"==b){if(r(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=yb(a[c]);return b}return a},zb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Ab=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=
arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<zb.length;f++)c=zb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Bb=function(a){Bb[" "](a);return a};Bb[" "]=la;var Db=function(a,b){var c=Cb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Eb=lb("Opera"),Fb=lb("Trident")||lb("MSIE"),Gb=lb("Edge"),Hb=lb("Gecko")&&!(-1!=ib.toLowerCase().indexOf("webkit")&&!lb("Edge"))&&!(lb("Trident")||lb("MSIE"))&&!lb("Edge"),Ib=-1!=ib.toLowerCase().indexOf("webkit")&&!lb("Edge"),Jb=function(){var a=k.document;return a?a.documentMode:void 0},Kb;
a:{var Lb="",Mb=function(){var a=ib;if(Hb)return/rv\:([^\);]+)(\)|;)/.exec(a);if(Gb)return/Edge\/([\d\.]+)/.exec(a);if(Fb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Ib)return/WebKit\/(\S+)/.exec(a);if(Eb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Mb&&(Lb=Mb?Mb[1]:"");if(Fb){var Nb=Jb();if(null!=Nb&&Nb>parseFloat(Lb)){Kb=String(Nb);break a}}Kb=Lb}
var Ob=Kb,Cb={},Pb=function(a){return Db(a,function(){for(var b=0,c=za(String(Ob)).split("."),d=za(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",l=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==g[0].length&&0==l[0].length)break;b=Ia(0==g[1].length?0:parseInt(g[1],10),0==l[1].length?0:parseInt(l[1],10))||Ia(0==g[2].length,0==l[2].length)||Ia(g[2],l[2]);g=g[3];l=l[3]}while(0==b)}return 0<=b})},Qb;var Rb=k.document;
Qb=Rb&&Fb?Jb()||("CSS1Compat"==Rb.compatMode?parseInt(Ob,10):5):void 0;var Sb=Object.freeze||function(a){return a};var Tb=!Fb||9<=Number(Qb),Ub=Fb&&!Pb("9");!Ib||Pb("528");Hb&&Pb("1.9b")||Fb&&Pb("8")||Eb&&Pb("9.5")||Ib&&Pb("528");Hb&&!Pb("8")||Fb&&Pb("9");var Vb=function(){if(!k.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});k.addEventListener("test",la,b);k.removeEventListener("test",la,b);return a}();var Xb=function(a,b){z.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.P=null;if(a){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(Hb){a:{try{Bb(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;null===d?(this.offsetX=Ib||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Ib||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.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.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=n(a.pointerType)?a.pointerType:Wb[a.pointerType]||"";this.state=a.state;this.P=a;a.defaultPrevented&&this.preventDefault()}};x(Xb,z);var Wb=Sb({2:"touch",3:"pen",4:"mouse"});
Xb.prototype.stopPropagation=function(){Xb.j.stopPropagation.call(this);this.P.stopPropagation?this.P.stopPropagation():this.P.cancelBubble=!0};Xb.prototype.preventDefault=function(){Xb.j.preventDefault.call(this);var a=this.P;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Ub)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Yb="closure_listenable_"+(1E6*Math.random()|0),Zb=function(a){return!(!a||!a[Yb])},$b=0;var ac=function(a,b,c,d,e){this.listener=a;this.Jb=null;this.src=b;this.type=c;this.capture=!!d;this.ba=e;this.key=++$b;this.Ka=this.ob=!1},bc=function(a){a.Ka=!0;a.listener=null;a.Jb=null;a.src=null;a.ba=null};var cc=function(a){this.src=a;this.B={};this.jb=0};cc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.B[f];a||(a=this.B[f]=[],this.jb++);var g=dc(a,b,d,e);-1<g?(b=a[g],c||(b.ob=!1)):(b=new ac(b,this.src,f,!!d,e),b.ob=c,a.push(b));return b};cc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.B))return!1;var e=this.B[a];b=dc(e,b,c,d);return-1<b?(bc(e[b]),bb(e,b),0==e.length&&(delete this.B[a],this.jb--),!0):!1};
var ec=function(a,b){var c=b.type;c in a.B&&cb(a.B[c],b)&&(bc(b),0==a.B[c].length&&(delete a.B[c],a.jb--))};cc.prototype.fb=function(a){a=a&&a.toString();var b=0,c;for(c in this.B)if(!a||c==a){for(var d=this.B[c],e=0;e<d.length;e++)++b,bc(d[e]);delete this.B[c];this.jb--}return b};cc.prototype.Va=function(a,b,c,d){a=this.B[a.toString()];var e=-1;a&&(e=dc(a,b,c,d));return-1<e?a[e]:null};
cc.prototype.hasListener=function(a,b){var c=m(a),d=c?a.toString():"",e=m(b);return pb(this.B,function(a){for(var f=0;f<a.length;++f)if(!(c&&a[f].type!=d||e&&a[f].capture!=b))return!0;return!1})};var dc=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Ka&&f.listener==b&&f.capture==!!c&&f.ba==d)return e}return-1};var fc="closure_lm_"+(1E6*Math.random()|0),gc={},hc=0,jc=function(a,b,c,d,e){if(d&&d.once)return ic(a,b,c,d,e);if(q(b)){for(var f=0;f<b.length;f++)jc(a,b[f],c,d,e);return null}c=kc(c);return Zb(a)?a.Z(b,c,t(d)?!!d.capture:!!d,e):lc(a,b,c,!1,d,e)},lc=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=t(e)?!!e.capture:!!e,l=mc(a);l||(a[fc]=l=new cc(a));c=l.add(b,c,d,g,f);if(c.Jb)return c;d=nc();c.Jb=d;d.src=a;d.listener=c;if(a.addEventListener)Vb||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),
d,e);else if(a.attachEvent)a.attachEvent(oc(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");hc++;return c},nc=function(){var a=pc,b=Tb?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},ic=function(a,b,c,d,e){if(q(b)){for(var f=0;f<b.length;f++)ic(a,b[f],c,d,e);return null}c=kc(c);return Zb(a)?a.cb(b,c,t(d)?!!d.capture:!!d,e):lc(a,b,c,!0,d,e)},qc=function(a,b,c,d,e){if(q(b))for(var f=0;f<b.length;f++)qc(a,
b[f],c,d,e);else d=t(d)?!!d.capture:!!d,c=kc(c),Zb(a)?a.Vb(b,c,d,e):a&&(a=mc(a))&&(b=a.Va(b,c,d,e))&&rc(b)},rc=function(a){if(!p(a)&&a&&!a.Ka){var b=a.src;if(Zb(b))ec(b.O,a);else{var c=a.type,d=a.Jb;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(oc(c),d);hc--;(c=mc(b))?(ec(c,a),0==c.jb&&(c.src=null,b[fc]=null)):bc(a)}}},oc=function(a){return a in gc?gc[a]:gc[a]="on"+a},tc=function(a,b,c,d){var e=!0;if(a=mc(a))if(b=a.B[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=
b[a];f&&f.capture==c&&!f.Ka&&(f=sc(f,d),e=e&&!1!==f)}return e},sc=function(a,b){var c=a.listener,d=a.ba||a.src;a.ob&&rc(a);return c.call(d,b)},pc=function(a,b){if(a.Ka)return!0;if(!Tb){if(!b)a:{b=["window","event"];for(var c=k,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;break a}b=c}d=b;b=new Xb(d,this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);
a=a.type;for(e=d.length-1;!b.va&&0<=e;e--){b.currentTarget=d[e];var f=tc(d[e],a,!0,b);c=c&&f}for(e=0;!b.va&&e<d.length;e++)b.currentTarget=d[e],f=tc(d[e],a,!1,b),c=c&&f}return c}return sc(a,new Xb(b,this))},mc=function(a){a=a[fc];return a instanceof cc?a:null},uc="__closure_events_fn_"+(1E9*Math.random()>>>0),kc=function(a){B(a,"Listener can not be null.");if(r(a))return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[uc]||(a[uc]=function(b){return a.handleEvent(b)});return a[uc]};var C=function(){y.call(this);this.O=new cc(this);this.Ud=this;this.Gc=null};x(C,y);C.prototype[Yb]=!0;h=C.prototype;h.addEventListener=function(a,b,c,d){jc(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){qc(this,a,b,c,d)};
h.dispatchEvent=function(a){vc(this);var b=this.Gc;if(b){var c=[];for(var d=1;b;b=b.Gc)c.push(b),B(1E3>++d,"infinite loop")}b=this.Ud;d=a.type||a;if(n(a))a=new z(a,b);else if(a instanceof z)a.target=a.target||b;else{var e=a;a=new z(d,b);Ab(a,e)}e=!0;if(c)for(var f=c.length-1;!a.va&&0<=f;f--){var g=a.currentTarget=c[f];e=wc(g,d,!0,a)&&e}a.va||(g=a.currentTarget=b,e=wc(g,d,!0,a)&&e,a.va||(e=wc(g,d,!1,a)&&e));if(c)for(f=0;!a.va&&f<c.length;f++)g=a.currentTarget=c[f],e=wc(g,d,!1,a)&&e;return e};
h.c=function(){C.j.c.call(this);this.O&&this.O.fb(void 0);this.Gc=null};h.Z=function(a,b,c,d){vc(this);return this.O.add(String(a),b,!1,c,d)};h.cb=function(a,b,c,d){return this.O.add(String(a),b,!0,c,d)};h.Vb=function(a,b,c,d){return this.O.remove(String(a),b,c,d)};var wc=function(a,b,c,d){b=a.O.B[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.Ka&&g.capture==c){var l=g.listener,w=g.ba||g.src;g.ob&&ec(a.O,g);e=!1!==l.call(w,d)&&e}}return e&&0!=d.Ld};
C.prototype.Va=function(a,b,c,d){return this.O.Va(String(a),b,c,d)};C.prototype.hasListener=function(a,b){return this.O.hasListener(m(a)?String(a):void 0,b)};var vc=function(a){B(a.O,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var xc=function(a){return a};var yc="StopIteration"in k?k.StopIteration:{message:"StopIteration",stack:""},zc=function(){};zc.prototype.next=function(){throw yc;};zc.prototype.Aa=function(){return this};
var Ac=function(a){if(a instanceof zc)return a;if("function"==typeof a.Aa)return a.Aa(!1);if(oa(a)){var b=0,c=new zc;c.next=function(){for(;;){if(b>=a.length)throw yc;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},Bc=function(a,b){if(oa(a))try{Ta(a,b,void 0)}catch(c){if(c!==yc)throw c;}else{a=Ac(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==yc)throw c;}}};var D=function(a,b){this.o={};this.f=[];this.kb=this.i=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=D.prototype;h.l=function(){return this.i};h.u=function(){Cc(this);for(var a=[],b=0;b<this.f.length;b++)a.push(this.o[this.f[b]]);return a};h.S=function(){Cc(this);return this.f.concat()};h.ha=function(a){return Dc(this.o,a)};
h.Sa=function(a){for(var b=0;b<this.f.length;b++){var c=this.f[b];if(Dc(this.o,c)&&this.o[c]==a)return!0}return!1};h.equals=function(a,b){if(this===a)return!0;if(this.i!=a.l())return!1;b=b||Ec;Cc(this);for(var c,d=0;c=this.f[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Ec=function(a,b){return a===b};D.prototype.isEmpty=function(){return 0==this.i};D.prototype.clear=function(){this.o={};this.kb=this.i=this.f.length=0};
D.prototype.remove=function(a){return Dc(this.o,a)?(delete this.o[a],this.i--,this.kb++,this.f.length>2*this.i&&Cc(this),!0):!1};var Cc=function(a){if(a.i!=a.f.length){for(var b=0,c=0;b<a.f.length;){var d=a.f[b];Dc(a.o,d)&&(a.f[c++]=d);b++}a.f.length=c}if(a.i!=a.f.length){var e={};for(c=b=0;b<a.f.length;)d=a.f[b],Dc(e,d)||(a.f[c++]=d,e[d]=1),b++;a.f.length=c}};h=D.prototype;h.get=function(a,b){return Dc(this.o,a)?this.o[a]:b};
h.set=function(a,b){Dc(this.o,a)||(this.i++,this.f.push(a),this.kb++);this.o[a]=b};h.addAll=function(a){if(a instanceof D){var b=a.S();a=a.u()}else b=rb(a),a=qb(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};h.forEach=function(a,b){for(var c=this.S(),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 D(this)};
h.Aa=function(a){Cc(this);var b=0,c=this.kb,d=this,e=new zc;e.next=function(){if(c!=d.kb)throw Error("The map has changed since the iterator was created");if(b>=d.f.length)throw yc;var e=d.f[b++];return a?e:d.o[e]};return e};var Dc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Fc=function(a){if(a.l&&"function"==typeof a.l)a=a.l();else if(oa(a)||n(a))a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Gc=function(a){if(a.u&&"function"==typeof a.u)return a.u();if(n(a))return a.split("");if(oa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return qb(a)},Hc=function(a){if(a.S&&"function"==typeof a.S)return a.S();if(!a.u||"function"!=typeof a.u){if(oa(a)||n(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return rb(a)}},Ic=function(a,b,c){if(a.forEach&&
"function"==typeof a.forEach)a.forEach(b,c);else if(oa(a)||n(a))Ta(a,b,c);else for(var d=Hc(a),e=Gc(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},Jc=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(oa(a)||n(a))return Xa(a,b,void 0);for(var c=Hc(a),d=Gc(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 E=function(a){this.o=new D;a&&this.addAll(a)},Kc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+(a[pa]||(a[pa]=++ra)):b.substr(0,1)+a};h=E.prototype;h.l=function(){return this.o.l()};h.add=function(a){this.o.set(Kc(a),a)};h.addAll=function(a){a=Gc(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};h.fb=function(a){a=Gc(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};h.remove=function(a){return this.o.remove(Kc(a))};h.clear=function(){this.o.clear()};h.isEmpty=function(){return this.o.isEmpty()};
h.contains=function(a){return this.o.ha(Kc(a))};var Lc=function(a,b){var c=new E;b=Gc(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},Mc=function(a,b){a=a.clone();a.fb(b);return a};E.prototype.u=function(){return this.o.u()};E.prototype.clone=function(){return new E(this)};E.prototype.equals=function(a){return this.l()==Fc(a)&&Nc(this,a)};
var Nc=function(a,b){var c=Fc(b);if(a.l()>c)return!1;!(b instanceof E)&&5<c&&(b=new E(b));return Jc(a,function(a){var c=b;return c.contains&&"function"==typeof c.contains?c.contains(a):c.Sa&&"function"==typeof c.Sa?c.Sa(a):oa(c)||n(c)?0<=Ra(c,a):sb(c,a)})};E.prototype.Aa=function(){return this.o.Aa(!1)};var Oc=function(a,b,c){C.call(this);this.oe=b;this.token=c;this.oa=[];this.Pc=new E;this.ma=0;this.url=a};x(Oc,C);v("ee.AbstractOverlay",Oc);var Pc=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.oe,c,e,b.y].join("/")};Oc.prototype.sc=function(){return this.oa.length};var Qc=function(a){z.call(this,"tileevent");this.count=a};x(Qc,z);var Rc=function(a,b,c){this.me=c;this.de=a;this.xe=b;this.Gb=0;this.yb=null};Rc.prototype.get=function(){if(0<this.Gb){this.Gb--;var a=this.yb;this.yb=a.next;a.next=null}else a=this.de();return a};Rc.prototype.put=function(a){this.xe(a);this.Gb<this.me&&(this.Gb++,a.next=this.yb,this.yb=a)};var Sc=function(a){k.setTimeout(function(){throw a;},0)},Tc,Uc=function(){var a=k.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!lb("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host;
a=u(function(a){if(("*"==d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!lb("Trident")&&!lb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(m(c.next)){c=c.next;var a=c.ad;c.ad=null;a()}};return function(a){d.next={ad:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?
function(a){var b=document.createElement("SCRIPT");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){k.setTimeout(a,0)}};var Vc=function(){this.Yb=this.za=null},Xc=new Rc(function(){return new Wc},function(a){a.reset()},100);Vc.prototype.add=function(a,b){var c=Xc.get();c.set(a,b);this.Yb?this.Yb.next=c:(B(!this.za),this.za=c);this.Yb=c};Vc.prototype.remove=function(){var a=null;this.za&&(a=this.za,this.za=this.za.next,this.za||(this.Yb=null),a.next=null);return a};var Wc=function(){this.next=this.scope=this.rc=null};Wc.prototype.set=function(a,b){this.rc=a;this.scope=b;this.next=null};
Wc.prototype.reset=function(){this.next=this.scope=this.rc=null};var bd=function(a,b){Yc||Zc();$c||(Yc(),$c=!0);ad.add(a,b)},Yc,Zc=function(){if(-1!=String(k.Promise).indexOf("[native code]")){var a=k.Promise.resolve(void 0);Yc=function(){a.then(cd)}}else Yc=function(){var a=cd;!r(k.setImmediate)||k.Window&&k.Window.prototype&&!lb("Edge")&&k.Window.prototype.setImmediate==k.setImmediate?(Tc||(Tc=Uc()),Tc(a)):k.setImmediate(a)}},$c=!1,ad=new Vc,cd=function(){for(var a;a=ad.remove();){try{a.rc.call(a.scope)}catch(b){Sc(b)}Xc.put(a)}$c=!1};var dd=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},ed=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var hd=function(a,b){this.K=0;this.ea=void 0;this.Ca=this.$=this.s=null;this.wb=this.mc=!1;if(a!=la)try{var c=this;a.call(b,function(a){fd(c,2,a)},function(a){if(!(a instanceof gd))try{if(a instanceof Error)throw a;throw Error("Promise rejected.");}catch(e){}fd(c,3,a)})}catch(d){fd(this,3,d)}},id=function(){this.next=this.context=this.Ia=this.ua=this.pa=null;this.nb=!1};id.prototype.reset=function(){this.context=this.Ia=this.ua=this.pa=null;this.nb=!1};
var jd=new Rc(function(){return new id},function(a){a.reset()},100),kd=function(a,b,c){var d=jd.get();d.ua=a;d.Ia=b;d.context=c;return d};hd.prototype.then=function(a,b,c){null!=a&&Oa(a,"opt_onFulfilled should be a function.");null!=b&&Oa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return ld(this,r(a)?a:null,r(b)?b:null,c)};dd(hd);hd.prototype.cancel=function(a){0==this.K&&bd(function(){var b=new gd(a);md(this,b)},this)};
var md=function(a,b){if(0==a.K)if(a.s){var c=a.s;if(c.$){for(var d=0,e=null,f=null,g=c.$;g&&(g.nb||(d++,g.pa==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.K&&1==d?md(c,b):(f?(d=f,B(c.$),B(null!=d),d.next==c.Ca&&(c.Ca=d),d.next=d.next.next):nd(c),od(c,e,3,b)))}a.s=null}else fd(a,3,b)},qd=function(a,b){a.$||2!=a.K&&3!=a.K||pd(a);B(null!=b.ua);a.Ca?a.Ca.next=b:a.$=b;a.Ca=b},ld=function(a,b,c,d){var e=kd(null,null,null);e.pa=new hd(function(a,g){e.ua=b?function(c){try{var e=b.call(d,c);a(e)}catch(qa){g(qa)}}:
a;e.Ia=c?function(b){try{var e=c.call(d,b);!m(e)&&b instanceof gd?g(b):a(e)}catch(qa){g(qa)}}:g});e.pa.s=a;qd(a,e);return e.pa};hd.prototype.Be=function(a){B(1==this.K);this.K=0;fd(this,2,a)};hd.prototype.Ce=function(a){B(1==this.K);this.K=0;fd(this,3,a)};
var fd=function(a,b,c){if(0==a.K){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.K=1;a:{var d=c,e=a.Be,f=a.Ce;if(d instanceof hd){null!=e&&Oa(e,"opt_onFulfilled should be a function.");null!=f&&Oa(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");qd(d,kd(e||la,f||null,a));var g=!0}else if(ed(d))d.then(e,f,a),g=!0;else{if(t(d))try{var l=d.then;if(r(l)){rd(d,l,e,f,a);g=!0;break a}}catch(w){f.call(a,w);g=!0;break a}g=!1}}g||
(a.ea=c,a.K=b,a.s=null,pd(a),3!=b||c instanceof gd||sd(a,c))}},rd=function(a,b,c,d,e){var f=!1,g=function(a){f||(f=!0,c.call(e,a))},l=function(a){f||(f=!0,d.call(e,a))};try{b.call(a,g,l)}catch(w){l(w)}},pd=function(a){a.mc||(a.mc=!0,bd(a.fe,a))},nd=function(a){var b=null;a.$&&(b=a.$,a.$=b.next,b.next=null);a.$||(a.Ca=null);null!=b&&B(null!=b.ua);return b};hd.prototype.fe=function(){for(var a;a=nd(this);)od(this,a,this.K,this.ea);this.mc=!1};
var od=function(a,b,c,d){if(3==c&&b.Ia&&!b.nb)for(;a&&a.wb;a=a.s)a.wb=!1;if(b.pa)b.pa.s=null,td(b,c,d);else try{b.nb?b.ua.call(b.context):td(b,c,d)}catch(e){ud.call(null,e)}jd.put(b)},td=function(a,b,c){2==b?a.ua.call(a.context,c):a.Ia&&a.Ia.call(a.context,c)},sd=function(a,b){a.wb=!0;bd(function(){a.wb&&ud.call(null,b)})},ud=Sc,gd=function(a){A.call(this,a)};x(gd,A);gd.prototype.name="cancel";var vd=function(a,b,c){if(r(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:k.setTimeout(a,b||0)};var wd=function(a,b,c){y.call(this);this.ne=null!=c?u(a,c):a;this.ke=b;this.Zd=u(this.te,this);this.cc=[]};x(wd,y);h=wd.prototype;h.Oa=!1;h.eb=0;h.xa=null;h.qc=function(a){this.cc=arguments;this.xa||this.eb?this.Oa=!0:xd(this)};h.stop=function(){this.xa&&(k.clearTimeout(this.xa),this.xa=null,this.Oa=!1,this.cc=[])};h.pause=function(){this.eb++};h.resume=function(){this.eb--;this.eb||!this.Oa||this.xa||(this.Oa=!1,xd(this))};h.c=function(){wd.j.c.call(this);this.stop()};
h.te=function(){this.xa=null;this.Oa&&!this.eb&&(this.Oa=!1,xd(this))};var xd=function(a){a.xa=vd(a.Zd,a.ke);a.ne.apply(null,a.cc)};var zd=function(){this.Pb="";this.Sd=yd};zd.prototype.ud=!0;zd.prototype.pd=function(){return this.Pb};zd.prototype.toString=function(){return"Const{"+this.Pb+"}"};var Ad=function(a){if(a instanceof zd&&a.constructor===zd&&a.Sd===yd)return a.Pb;La("expected object of type Const, got '"+a+"'");return"type_error:Const"},yd={},Bd=function(a){var b=new zd;b.Pb=a;return b};Bd("");var Dd=function(){this.Ib="";this.Td=Cd};Dd.prototype.ud=!0;Dd.prototype.pd=function(){return this.Ib};Dd.prototype.toString=function(){return"TrustedResourceUrl{"+this.Ib+"}"};
var Ed=function(a){if(a instanceof Dd&&a.constructor===Dd&&a.Td===Cd)return a.Ib;La("expected object of type TrustedResourceUrl, got '"+a+"' of type "+ma(a));return"type_error:TrustedResourceUrl"},Gd=function(a){a=Fd(a);var b=new Dd;b.Ib=a;return b},Fd=function(a){var b=Ad(Hd);if(!Id.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);return b.replace(Jd,function(c,d){if(!Object.prototype.hasOwnProperty.call(a,d))throw Error('Found marker, "'+d+'", in format string, "'+b+'", but no valid label mapping found in args: '+
JSON.stringify(a));c=a[d];return c instanceof zd?Ad(c):encodeURIComponent(String(c))})},Jd=/%{(\w+)}/g,Id=/^(?:https:)?\/\/[0-9a-z.:[\]-]+\/|^\/[^\/\\]|^about:blank(#|$)/i,Cd={};var Ld=function(a){return(new Kd(void 0)).v(a)},Kd=function(a){this.Lb=a};Kd.prototype.v=function(a){var b=[];Md(this,a,b);return b.join("")};
var Md=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(q(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],Md(a,a.Lb?a.Lb.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),Nd(d,c),c.push(":"),Md(a,a.Lb?a.Lb.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":Nd(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);}}},Od={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Pd=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g,Nd=function(a,b){b.push('"',a.replace(Pd,function(a){var b=Od[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),
Od[a]=b);return b}),'"')};var Qd=!Fb||9<=Number(Qb),Rd=!Hb&&!Fb||Fb&&9<=Number(Qb)||Hb&&Pb("1.9.1");Fb&&Pb("9");var Sd=function(a,b){var c=(c=a&&a.ownerDocument)&&(c.defaultView||c.parentWindow)||k;if("undefined"!=typeof c.HTMLScriptElement&&"undefined"!=typeof c.Element){c=a&&(a instanceof c.HTMLScriptElement||!(a instanceof c.Element));var d=t(a)?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):void 0===a?"undefined":null===a?"null":typeof a;B(c,"Argument is not a HTMLScriptElement (or a non-Element mock); got: %s",d)}a.src=Ed(b)};var Ud=function(a,b){mb(b,function(b,d){b&&b.ud&&(b=b.pd());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Td.hasOwnProperty(d)?a.setAttribute(Td[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})},Td={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"},
Wd=function(a,b,c){return Vd(document,arguments)},Vd=function(a,b){var c=String(b[0]),d=b[1];if(!Qd&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Ha(d.name),'"');if(d.type){c.push(' type="',Ha(d.type),'"');var e={};Ab(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(n(d)?c.className=d:q(d)?c.className=d.join(" "):Ud(c,d));2<b.length&&Xd(a,c,b,2);return c},Xd=function(a,b,c,d){function e(c){c&&b.appendChild(n(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];
!oa(f)||t(f)&&0<f.nodeType?e(f):Ta(Yd(f)?eb(f):f,e)}},Zd=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},$d=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a},ae=function(a){B(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Yd=function(a){if(a&&"number"==typeof a.length){if(t(a))return"function"==typeof a.item||"string"==typeof a.item;if(r(a))return"function"==typeof a.item}return!1},be=function(a){this.qb=a||k.document||document};
h=be.prototype;h.getElementsByTagName=function(a,b){return(b||this.qb).getElementsByTagName(String(a))};h.ce=function(a,b,c){return Vd(this.qb,arguments)};h.createElement=function(a){return this.qb.createElement(String(a))};h.createTextNode=function(a){return this.qb.createTextNode(String(a))};h.appendChild=function(a,b){a.appendChild(b)};h.append=function(a,b){Xd(ae(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=Zd;h.nd=function(a){return Rd&&void 0!=a.children?a.children:Ua(a.childNodes,function(a){return 1==a.nodeType})};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};/*
Portions of this code are from MochiKit, received by
The Closure Authors under the MIT license. All other code is Copyright
2005-2009 The Closure Authors. All Rights Reserved.
*/
var ce=function(a,b){this.Nb=[];this.Dd=a;this.ed=b||null;this.Ya=this.Ga=!1;this.ea=void 0;this.Kc=this.Xc=this.dc=!1;this.Ub=0;this.s=null;this.ec=0};ce.prototype.cancel=function(a){if(this.Ga)this.ea instanceof ce&&this.ea.cancel();else{if(this.s){var b=this.s;delete this.s;a?b.cancel(a):(b.ec--,0>=b.ec&&b.cancel())}this.Dd?this.Dd.call(this.ed,this):this.Kc=!0;this.Ga||de(this,new fe)}};ce.prototype.bd=function(a,b){this.dc=!1;ge(this,a,b)};
var ge=function(a,b,c){a.Ga=!0;a.ea=c;a.Ya=!b;he(a)},je=function(a){if(a.Ga){if(!a.Kc)throw new ie;a.Kc=!1}};ce.prototype.fc=function(a){je(this);ke(a);ge(this,!0,a)};var de=function(a,b){je(a);ke(b);ge(a,!1,b)},ke=function(a){B(!(a instanceof ce),"An execution sequence may not be initiated with a blocking Deferred.")},le=function(a,b,c){B(!a.Xc,"Blocking Deferreds can not be re-used");a.Nb.push([b,c,void 0]);a.Ga&&he(a)};
ce.prototype.then=function(a,b,c){var d,e,f=new hd(function(a,b){d=a;e=b});le(this,d,function(a){a instanceof fe?f.cancel():e(a)});return f.then(a,b,c)};dd(ce);
var me=function(a){return Wa(a.Nb,function(a){return r(a[1])})},he=function(a){if(a.Ub&&a.Ga&&me(a)){var b=a.Ub,c=ne[b];c&&(k.clearTimeout(c.ca),delete ne[b]);a.Ub=0}a.s&&(a.s.ec--,delete a.s);b=a.ea;for(var d=c=!1;a.Nb.length&&!a.dc;){var e=a.Nb.shift(),f=e[0],g=e[1];e=e[2];if(f=a.Ya?g:f)try{var l=f.call(e||a.ed,b);m(l)&&(a.Ya=a.Ya&&(l==b||l instanceof Error),a.ea=b=l);if(ed(b)||"function"===typeof k.Promise&&b instanceof k.Promise)d=!0,a.dc=!0}catch(w){b=w,a.Ya=!0,me(a)||(c=!0)}}a.ea=b;d&&(l=u(a.bd,
a,!0),d=u(a.bd,a,!1),b instanceof ce?(le(b,l,d),b.Xc=!0):b.then(l,d));c&&(b=new oe(b),ne[b.ca]=b,a.Ub=b.ca)},ie=function(){A.call(this)};x(ie,A);ie.prototype.message="Deferred has already fired";ie.prototype.name="AlreadyCalledError";var fe=function(){A.call(this)};x(fe,A);fe.prototype.message="Deferred was canceled";fe.prototype.name="CanceledError";var oe=function(a){this.ca=k.setTimeout(u(this.Ae,this),0);this.sb=a};
oe.prototype.Ae=function(){B(ne[this.ca],"Cannot throw an error that is not scheduled.");delete ne[this.ca];throw this.sb;};var ne={};var te=function(a){var b={},c=b.document||document,d=Ed(a),e=document.createElement("SCRIPT"),f={Md:e,hb:void 0},g=new ce(pe,f),l=null,w=null!=b.timeout?b.timeout:5E3;0<w&&(l=window.setTimeout(function(){qe(e,!0);de(g,new re(1,"Timeout reached for loading script "+d))},w),f.hb=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(qe(e,b.Je||!1,l),g.fc(null))};e.onerror=function(){qe(e,!0,l);de(g,new re(0,"Error while loading script "+d))};f=b.attributes||
{};Ab(f,{type:"text/javascript",charset:"UTF-8"});Ud(e,f);Sd(e,a);se(c).appendChild(e)},se=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},pe=function(){if(this&&this.Md){var a=this.Md;a&&"SCRIPT"==a.tagName&&qe(a,!0,this.hb)}},qe=function(a,b,c){null!=c&&k.clearTimeout(c);a.onload=la;a.onerror=la;a.onreadystatechange=la;b&&window.setTimeout(function(){Zd(a)},0)},re=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);A.call(this,
c);this.code=a};x(re,A);var ue=function(a,b,c,d,e){this.reset(a,b,c,d,e)};ue.prototype.hd=null;var ve=0;ue.prototype.reset=function(a,b,c,d,e){"number"==typeof e||ve++;d||va();this.bb=a;this.re=b;delete this.hd};ue.prototype.Od=function(a){this.bb=a};var we=function(a){this.Cd=a;this.rd=this.gc=this.bb=this.s=null},xe=function(a,b){this.name=a;this.value=b};xe.prototype.toString=function(){return this.name};var ye=new xe("SEVERE",1E3),ze=new xe("INFO",800),Ae=new xe("CONFIG",700),Be=new xe("FINE",500);we.prototype.getName=function(){return this.Cd};we.prototype.getParent=function(){return this.s};we.prototype.nd=function(){this.gc||(this.gc={});return this.gc};we.prototype.Od=function(a){this.bb=a};
var Ce=function(a){if(a.bb)return a.bb;if(a.s)return Ce(a.s);La("Root logger has no level set.");return null};we.prototype.log=function(a,b,c){if(a.value>=Ce(this).value)for(r(b)&&(b=b()),a=new ue(a,String(b),this.Cd),c&&(a.hd=c),c="log:"+a.re,(b=k.console)&&b.timeStamp&&b.timeStamp(c),(b=k.msWriteProfilerMark)&&b(c),c=this;c;){var d=c,e=a;if(d.rd)for(var f=0;b=d.rd[f];f++)b(e);c=c.getParent()}};we.prototype.info=function(a,b){this.log(ze,a,b)};
var De={},Ee=null,Fe=function(a){Ee||(Ee=new we(""),De[""]=Ee,Ee.Od(Ae));var b;if(!(b=De[a])){b=new we(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=Fe(a.substr(0,c));c.nd()[d]=b;b.s=c;De[a]=b}return b};var Ge=function(a,b){a&&a.log(Be,b,void 0)};var He=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Ie=function(){};Ie.prototype.$c=null;Ie.prototype.Xa=function(){var a;(a=this.$c)||(a={},Je(this)&&(a[0]=!0,a[1]=!0),a=this.$c=a);return a};var Ke=function(a,b){this.De=a;this.ue=b};x(Ke,Ie);Ke.prototype.hc=function(){return this.De()};Ke.prototype.Xa=function(){return this.ue()};var Le=function(){return Le.jd.hc()};Le.Rd=!1;Le.Xa=function(){return Le.jd.Xa()};Le.Ke=function(a,b){Le.Nd(new Ke(B(a),B(b)))};Le.Nd=function(a){Le.jd=a};var Me=function(){};x(Me,Ie);Me.prototype.hc=function(){var a=Je(this);return a?new ActiveXObject(a):new XMLHttpRequest};
var Je=function(a){if(Le.Rd)return"";if(!a.sd&&"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.sd=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.sd};Le.Nd(new Me);var Ne=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Oe=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 F=function(a){C.call(this);this.headers=new D;this.$b=a||null;this.N=!1;this.Zb=this.a=null;this.ab=this.yd=this.Cb="";this.ta=this.wc=this.Ab=this.lc=!1;this.Pa=0;this.Qb=null;this.Ma="";this.Wb=this.ve=this.Qd=!1};x(F,C);var Pe=F.prototype,Qe=Fe("goog.net.XhrIo");Pe.G=Qe;var Re=/^https?$/i,Se=["POST","PUT"],Te=[];F.prototype.ae=function(){this.V();cb(Te,this)};
F.prototype.send=function(a,b,c,d){if(this.a)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Cb+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Cb=a;this.ab="";this.yd=b;this.lc=!1;this.N=!0;this.a=this.$b?this.$b.hc():Le();this.Zb=this.$b?this.$b.Xa():Le.Xa();this.a.onreadystatechange=u(this.Gd,this);this.ve&&"onprogress"in this.a&&(this.a.onprogress=u(function(a){this.Fd(a,!0)},this),this.a.upload&&(this.a.upload.onprogress=u(this.Fd,this)));try{Ge(this.G,Ue(this,"Opening Xhr")),
this.wc=!0,this.a.open(b,String(a),!0),this.wc=!1}catch(f){Ge(this.G,Ue(this,"Error opening Xhr: "+f.message));this.sb(5,f);return}a=c||"";var e=this.headers.clone();d&&Ic(d,function(a,b){e.set(b,a)});d=$a(e.S());c=k.FormData&&a instanceof k.FormData;!(0<=Ra(Se,b))||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b){this.a.setRequestHeader(b,a)},this);this.Ma&&(this.a.responseType=this.Ma);"withCredentials"in this.a&&this.a.withCredentials!==this.Qd&&
(this.a.withCredentials=this.Qd);try{Ve(this),0<this.Pa&&(this.Wb=We(this.a),Ge(this.G,Ue(this,"Will abort after "+this.Pa+"ms if incomplete, xhr2 "+this.Wb)),this.Wb?(this.a.timeout=this.Pa,this.a.ontimeout=u(this.hb,this)):this.Qb=vd(this.hb,this.Pa,this)),Ge(this.G,Ue(this,"Sending request")),this.Ab=!0,this.a.send(a),this.Ab=!1}catch(f){Ge(this.G,Ue(this,"Send error: "+f.message)),this.sb(5,f)}};
var We=function(a){return Fb&&Pb(9)&&p(a.timeout)&&m(a.ontimeout)},Za=function(a){return"content-type"==a.toLowerCase()};F.prototype.hb=function(){"undefined"!=typeof ka&&this.a&&(this.ab="Timed out after "+this.Pa+"ms, aborting",Ge(this.G,Ue(this,this.ab)),this.dispatchEvent("timeout"),this.abort(8))};F.prototype.sb=function(a,b){this.N=!1;this.a&&(this.ta=!0,this.a.abort(),this.ta=!1);this.ab=b;Xe(this);Ye(this)};var Xe=function(a){a.lc||(a.lc=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
F.prototype.abort=function(){this.a&&this.N&&(Ge(this.G,Ue(this,"Aborting")),this.N=!1,this.ta=!0,this.a.abort(),this.ta=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ye(this))};F.prototype.c=function(){this.a&&(this.N&&(this.N=!1,this.ta=!0,this.a.abort(),this.ta=!1),Ye(this,!0));F.j.c.call(this)};F.prototype.Gd=function(){this.W||(this.wc||this.Ab||this.ta?Ze(this):this.se())};F.prototype.se=function(){Ze(this)};
var Ze=function(a){if(a.N&&"undefined"!=typeof ka)if(a.Zb[1]&&4==a.ia()&&2==a.getStatus())Ge(a.G,Ue(a,"Local request error detected and ignored"));else if(a.Ab&&4==a.ia())vd(a.Gd,0,a);else if(a.dispatchEvent("readystatechange"),4==a.ia()){Ge(a.G,Ue(a,"Request complete"));a.N=!1;try{var b=a.getStatus(),c;if(!(c=He(b))){var d;if(d=0===b){var e=String(a.Cb).match(Ne)[1]||null;if(!e&&k.self&&k.self.location){var f=k.self.location.protocol;e=f.substr(0,f.length-1)}d=!Re.test(e?e.toLowerCase():"")}c=d}if(c)a.dispatchEvent("complete"),
a.dispatchEvent("success");else{try{var g=2<a.ia()?a.a.statusText:""}catch(l){Ge(a.G,"Can not get status: "+l.message),g=""}a.ab=g+" ["+a.getStatus()+"]";Xe(a)}}finally{Ye(a)}}};F.prototype.Fd=function(a,b){B("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent($e(a,"progress"));this.dispatchEvent($e(a,b?"downloadprogress":"uploadprogress"))};
var $e=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Ye=function(a,b){if(a.a){Ve(a);var c=a.a,d=a.Zb[0]?la:null;a.a=null;a.Zb=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.G)&&a.log(ye,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}},Ve=function(a){a.a&&a.Wb&&(a.a.ontimeout=null);p(a.Qb)&&(k.clearTimeout(a.Qb),a.Qb=null)};F.prototype.vd=function(){return!!this.a};
F.prototype.ia=function(){return this.a?this.a.readyState:0};F.prototype.getStatus=function(){try{return 2<this.ia()?this.a.status:-1}catch(a){return-1}};
var af=function(a){try{if(!a.a)return null;if("response"in a.a)return a.a.response;switch(a.Ma){case "":case "text":return a.a.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.a)return a.a.mozResponseArrayBuffer}var b=a.G;b&&b.log(ye,"Response type "+a.Ma+" is not supported on this browser",void 0);return null}catch(c){return Ge(a.G,"Can not get response: "+c.message),null}};
F.prototype.getResponseHeader=function(a){if(this.a&&4==this.ia())return a=this.a.getResponseHeader(a),null===a?void 0:a};F.prototype.getAllResponseHeaders=function(){return this.a&&4==this.ia()?this.a.getAllResponseHeaders():""};
var bf=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=2;for(var e=a[c].split(": "),f=[];0<d&&e.length;)f.push(e.shift()),d--;e.length&&f.push(e.join(": "));d=f;b[d[0]]=b[d[0]]?b[d[0]]+(", "+d[1]):d[1]}return b},Ue=function(a,b){return b+" ["+a.yd+" "+a.Cb+" "+a.getStatus()+"]"};var cf=function(a,b){this.aa=this.ya=this.ka="";this.Ja=null;this.qa=this.da="";this.L=this.le=!1;if(a instanceof cf){this.L=m(b)?b:a.L;df(this,a.ka);var c=a.ya;ef(this);this.ya=c;c=a.aa;ef(this);this.aa=c;ff(this,a.Ja);this.setPath(a.getPath());gf(this,a.T.clone());a=a.qa;ef(this);this.qa=a}else a&&(c=String(a).match(Ne))?(this.L=!!b,df(this,c[1]||"",!0),a=c[2]||"",ef(this),this.ya=hf(a),a=c[3]||"",ef(this),this.aa=hf(a,!0),ff(this,c[4]),this.setPath(c[5]||"",!0),gf(this,c[6]||"",!0),a=c[7]||"",
ef(this),this.qa=hf(a)):(this.L=!!b,this.T=new jf(null,0,this.L))};
cf.prototype.toString=function(){var a=[],b=this.ka;b&&a.push(kf(b,lf,!0),":");var c=this.aa;if(c||"file"==b)a.push("//"),(b=this.ya)&&a.push(kf(b,lf,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Ja,null!=c&&a.push(":",String(c));if(c=this.getPath())this.aa&&"/"!=c.charAt(0)&&a.push("/"),a.push(kf(c,"/"==c.charAt(0)?mf:nf,!0));(c=this.T.toString())&&a.push("?",c);(c=this.qa)&&a.push("#",kf(c,of));return a.join("")};
cf.prototype.resolve=function(a){var b=this.clone(),c=!!a.ka;c?df(b,a.ka):c=!!a.ya;if(c){var d=a.ya;ef(b);b.ya=d}else c=!!a.aa;c?(d=a.aa,ef(b),b.aa=d):c=null!=a.Ja;d=a.getPath();if(c)ff(b,a.Ja);else if(c=!!a.da){if("/"!=d.charAt(0))if(this.aa&&!this.da)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=[],g=0;g<e.length;){var 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.T.toString();c?gf(b,a.T.clone()):c=!!a.qa;c&&(a=a.qa,ef(b),b.qa=a);return b};cf.prototype.clone=function(){return new cf(this)};var df=function(a,b,c){ef(a);a.ka=c?hf(b,!0):b;a.ka&&(a.ka=a.ka.replace(/:$/,""))},ff=function(a,b){ef(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Ja=b}else a.Ja=null};
cf.prototype.getPath=function(){return this.da};cf.prototype.setPath=function(a,b){ef(this);this.da=b?hf(a,!0):a;return this};var gf=function(a,b,c){ef(a);b instanceof jf?(a.T=b,a.T.Jc(a.L)):(c||(b=kf(b,pf)),a.T=new jf(b,0,a.L))};cf.prototype.removeParameter=function(a){ef(this);this.T.remove(a);return this};var ef=function(a){if(a.le)throw Error("Tried to modify a read-only Uri");};cf.prototype.Jc=function(a){this.L=a;this.T&&this.T.Jc(a);return this};
var qf=function(a){return a instanceof cf?a.clone():new cf(a,void 0)},hf=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},kf=function(a,b,c){return n(a)?(a=encodeURI(a).replace(b,rf),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},rf=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},lf=/[#\/\?@]/g,nf=/[\#\?:]/g,mf=/[\#\?]/g,pf=/[\#\?@]/g,of=/#/g,jf=function(a,b,c){this.i=this.m=null;this.I=a||null;this.L=!!c},sf=function(a){a.m||
(a.m=new D,a.i=0,a.I&&Oe(a.I,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=jf.prototype;h.l=function(){sf(this);return this.i};h.add=function(a,b){sf(this);this.I=null;a=tf(this,a);var c=this.m.get(a);c||this.m.set(a,c=[]);c.push(b);this.i=Na(this.i)+1;return this};h.remove=function(a){sf(this);a=tf(this,a);return this.m.ha(a)?(this.I=null,this.i=Na(this.i)-this.m.get(a).length,this.m.remove(a)):!1};h.clear=function(){this.m=this.I=null;this.i=0};
h.isEmpty=function(){sf(this);return 0==this.i};h.ha=function(a){sf(this);a=tf(this,a);return this.m.ha(a)};h.Sa=function(a){var b=this.u();return 0<=Ra(b,a)};h.forEach=function(a,b){sf(this);this.m.forEach(function(c,d){Ta(c,function(c){a.call(b,c,d,this)},this)},this)};h.S=function(){sf(this);for(var a=this.m.u(),b=this.m.S(),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.u=function(a){sf(this);var b=[];if(n(a))this.ha(a)&&(b=db(b,this.m.get(tf(this,a))));else{a=this.m.u();for(var c=0;c<a.length;c++)b=db(b,a[c])}return b};h.set=function(a,b){sf(this);this.I=null;a=tf(this,a);this.ha(a)&&(this.i=Na(this.i)-this.m.get(a).length);this.m.set(a,[b]);this.i=Na(this.i)+1;return this};h.get=function(a,b){a=a?this.u(a):[];return 0<a.length?String(a[0]):b};h.setValues=function(a,b){this.remove(a);0<b.length&&(this.I=null,this.m.set(tf(this,a),eb(b)),this.i=Na(this.i)+b.length)};
h.toString=function(){if(this.I)return this.I;if(!this.m)return"";for(var a=[],b=this.m.S(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.u(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.I=a.join("&")};h.clone=function(){var a=new jf;a.I=this.I;this.m&&(a.m=this.m.clone(),a.i=this.i);return a};var tf=function(a,b){b=String(b);a.L&&(b=b.toLowerCase());return b};
jf.prototype.Jc=function(a){a&&!this.L&&(sf(this),this.I=null,this.m.forEach(function(a,c){var b=c.toLowerCase();c!=b&&(this.remove(c),this.setValues(b,a))},this));this.L=a};jf.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Ic(arguments[b],function(a,b){this.add(b,a)},this)};var Af=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine"];d&&(fb(f,d),hb(f));uf=a;vf=f;null===a?wf=null:xf(function(){yf(b,c,e||ua(zf,b,c))})};v("ee.data.authenticateViaOauth",Af);var Bf=function(a,b,c,d,e){Af(a,b,c,d,e)};v("ee.data.authenticate",Bf);var zf=function(a,b){k.gapi.auth.authorize({client_id:uf,immediate:!1,scope:vf.join(" ")},ua(Cf,a,b))};v("ee.data.authenticateViaPopup",zf);
var Ef=function(a,b,c,d){if("undefined"===typeof process)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");var e=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/devstorage.read_write"];d&&(fb(e,d),hb(e));uf=a.client_email;vf=e;var f=new googleapis.auth.JWT(a.client_email,null,a.private_key,e,null);Df=function(a,b){f.authorize(function(a,c){a?b({error:a}):b({access_token:c.access_token,token_type:c.token_type,
expires_in:(c.expiry_date-Date.now())/1E3})})};yf(b,c)};v("ee.data.authenticateViaPrivateKey",Ef);var Ff=function(a,b,c,d,e,f,g){var l=["https://www.googleapis.com/auth/earthengine"];e&&(fb(l,e),hb(l));uf=a;vf=l;var w={token_type:b,access_token:c,state:l.join(" "),expires_in:d};Cf(void 0,void 0,w);!1===g?f&&f():xf(function(){k.gapi.auth.setToken(w);f&&f()})};v("ee.data.setAuthToken",Ff);
var yf=function(a,b,c){Df&&uf&&Df({client_id:String(uf),immediate:!0,scope:vf.join(" ")},function(d){"immediate_failed"==d.error&&c?c():Cf(a,b,d)})},Gf=function(a){Df=a};v("ee.data.setAuthTokenRefresher",Gf);var Jf=function(){Hf&&0<=va()-Hf&&If();return wf};v("ee.data.getAuthToken",Jf);var If=function(){Hf=wf=null};v("ee.data.clearAuthToken",If);var Kf=function(){return uf};v("ee.data.getAuthClientId",Kf);var Lf=function(){return vf};v("ee.data.getAuthScopes",Lf);
var Qf=function(a,b,c){null!=a?Mf=a:Nf||(Mf="https://earthengine.googleapis.com/api");null!=b?Of=b:Nf||(Of="https://earthengine.googleapis.com");m(c)&&(Pf=c);Nf=!0},Sf=function(a){Rf=a};v("ee.data.setDeadline",Sf);v("ee.data.setParamAugmenter",function(a){Tf=a||xc});var Uf=function(){return Mf};v("ee.data.getApiBaseUrl",Uf);var Vf=function(){return Of};v("ee.data.getTileBaseUrl",Vf);var Wf=function(){return Pf};v("ee.data.getXsrfToken",Wf);
var Xf=function(a){var b=G("/algorithms",null,a,"GET");return a?null:b},Yf=function(a,b){a=xb(a);return G("/mapid",H(a),b)};v("ee.data.getMapId",Yf);var Zf=function(a,b,c,d){var e=Math.pow(2,d);b%=e;0>b&&(b+=e);return[Of,"map",a.mapid,d,b,c].join("/")+"?token="+a.token};v("ee.data.getTileUrl",Zf);var $f=function(a,b){a=xb(a);return G("/value",H(a),b)};v("ee.data.getValue",$f);
var ag=function(a,b){a=xb(a);q(a.dimensions)&&(a.dimensions=a.dimensions.join("x"));a=H(a).add("getid","1");return G("/thumb",a,b)};v("ee.data.getThumbId",ag);var bg=function(a){return Of+"/api/thumb?thumbid="+a.thumbid+"&token="+a.token};v("ee.data.makeThumbUrl",bg);var cg=function(a,b){a=xb(a);return G("/download",H(a),b)};v("ee.data.getDownloadId",cg);var dg=function(a){return Of+"/api/download?docid="+a.docid+"&token="+a.token};v("ee.data.makeDownloadUrl",dg);
var eg=function(a,b){a=xb(a);return G("/table",H(a),b)};v("ee.data.getTableDownloadId",eg);var fg=function(a){return Of+"/api/table?docid="+a.docid+"&token="+a.token};v("ee.data.makeTableDownloadUrl",fg);var hg=function(a,b,c){var d=gg;try{return gg=a,b.call(c)}finally{gg=d}};v("ee.data.withProfiling",hg);v("ee.data.newTaskId",function(a,b){var c={};p(a)&&(c.count=a);return G("/newtaskid",H(c),b)});
v("ee.data.getTaskStatus",function(a,b){if(n(a))a=[a];else if(!q(a))throw Error("Invalid taskId: expected a string or an array of strings.");return G("/taskstatus?q="+a.join(),null,b,"GET")});v("ee.data.getTaskList",function(a){return G("/tasklist",null,a,"GET")});v("ee.data.cancelTask",function(a,b){return ig(a,"CANCEL",b)});
var ig=function(a,b,c){if(n(a))a=[a];else if(!q(a))throw Error("Invalid taskId: expected a string or an array of strings.");if(!sb(jg,b))throw Error("Invalid action: "+b);return G("/updatetask",H({id:a,action:b}),c,"POST")};v("ee.data.updateTask",ig);v("ee.data.startProcessing",function(a,b,c){b=xb(b);b.id=a;return G("/processingrequest",H(b),c)});v("ee.data.startIngestion",function(a,b,c){a={id:a,request:Ld(b)};return G("/ingestionrequest",H(a),c)});
v("ee.data.startTableIngestion",function(a,b,c){a={id:a,tableRequest:Ld(b)};return G("/ingestionrequest",H(a),c)});var kg=function(a,b){return G("/info",(new jf).add("id",a),b)};v("ee.data.getInfo",kg);var lg=function(a,b){a=H(a);return G("/list",a,b)};v("ee.data.getList",lg);v("ee.data.getAssetRoots",function(a){return G("/buckets",null,a,"GET")});v("ee.data.createAssetHome",function(a,b){a=H({id:a});G("/createbucket",a,b)});
v("ee.data.createAsset",function(a,b,c,d){n(a)||(a=Ld(a));a={value:a};void 0!==b&&(a.id=b);a.force=c||!1;return G("/create",H(a),d)});v("ee.data.createFolder",function(a,b,c){return G("/createfolder",H({id:a,force:b||!1}),c)});v("ee.data.renameAsset",function(a,b,c){G("/rename",H({sourceId:a,destinationId:b}),c)});v("ee.data.copyAsset",function(a,b,c){G("/copy",H({sourceId:a,destinationId:b}),c)});v("ee.data.deleteAsset",function(a,b){G("/delete",H({id:a}),b)});
v("ee.data.getAssetAcl",function(a,b){return G("/getacl",H({id:a}),b,"GET")});v("ee.data.setAssetAcl",function(a,b,c){a={id:a,value:Ld(b)};G("/setacl",H(a),c)});v("ee.data.setAssetProperties",function(a,b,c){a={id:a,properties:Ld(b)};G("/setproperties",H(a),c)});v("ee.data.getAssetRootQuota",function(a,b){return G("/quota",H({id:a}),b,"GET")});
var jg={Ee:"CANCEL",He:"UPDATE"},G=function(a,b,c,d){Qf();var e=gg,f={"Content-Type":"application/x-www-form-urlencoded"},g=Jf();if(null!=g)f.Authorization=g;else if(c&&Df&&uf)return yf(function(){hg(e,function(){G(a,b,c,d)})}),null;g=d||"POST";b=b?b.clone():new jf;e&&b.add("profiling","1");b=Tf(b,a);null!=Pf&&(f["X-XSRF-Token"]=Pf);var l=b?b.toString():"";"GET"!=g||/^[\s\xa0]*$/.test(l)||(a+=-1!=a.indexOf("?")?"&":"?",a+=l,l=null);var w=Mf+a;if(c)return f=mg(w,c,g,l,f),ng.push(f),og.qc(),null;for(var qa=
function(a,b){this.setRequestHeader&&this.setRequestHeader(b,a)},Ma,Rg=0;;){Ma=Le();Ma.open(g,w,!1);mb(f,qa,Ma);Ma.send(l);if(429!=Ma.status||5<Rg)break;Rg++}return pg(Ma.status,function(a){try{return Ma.getResponseHeader(a)}catch(Cj){return null}},Ma.responseText,e)},mg=function(a,b,c,d,e){var f=0,g={url:a,method:c,content:d,headers:e},l=gg;g.fc=function(a){a=a.target;if(429==a.getStatus()&&10>f)return f++,setTimeout(function(){ng.push(g);og.qc()},Math.min(12E4,1E3*Math.pow(2,f))),null;var c=a.getStatus(),
d=u(a.getResponseHeader,a);try{var e=a.a?a.a.responseText:""}catch(gj){Ge(a.G,"Can not get responseText: "+gj.message),e=""}return pg(c,d,e,l,b)};return g},pg=function(a,b,c,d,e){var f=b("X-Earth-Engine-Computation-Profile");f&&d&&d(f);b=(b=b("Content-Type"))?b.replace(/;.*/,""):"application/json";if("application/json"==b||"text/json"==b)try{var g=JSON.parse(c);var l=g.data}catch(qa){var w="Invalid JSON: "+c}else w="Response was unexpectedly not JSON, but "+b;if(t(g))"error"in g&&"message"in g.error?
w=g.error.message:"data"in g||(w="Malformed response: "+c);else if(0===a)w="Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";else if(200>a||300<=a)w="Server returned HTTP code: "+a;if(e)return e(l,w),null;if(!w)return l;throw Error(w);},xf=function(a){var b=function(){k.gapi.config.update("client/cors",!0);Df||(Df=k.gapi.auth.authorize);a()};if(t(k.gapi)&&t(k.gapi.auth)&&r(k.gapi.auth.authorize))b();else{for(var c=va().toString(36);c in
k;)c+="_";k[c]=function(){delete k[c];b()};te(Gd({onload:c}))}},Cf=function(a,b,c){c.access_token?(b=c.token_type+" "+c.access_token,isFinite(c.expires_in)&&(c=900*c.expires_in,setTimeout(yf,.9*c),Hf=va()+c),wf=b,a&&a()):b&&b(c.error||"Unknown error.")},H=function(a){var b=new jf;a=ia(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=ia(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},ng=[],og=new wd(function(){var a=ng.shift();if(a){var b=a.url,c=a.fc,d=a.method,e=a.content;
a=a.headers;var f=Rf,g=new F;Te.push(g);c&&g.Z("complete",c);g.cb("ready",g.ae);f&&(g.Pa=Math.max(0,f));g.send(b,d,e,a)}0==ng.length||og.qc()},350),Mf=null,Of=null,Pf=null,Tf=xc,wf=null,Hf=null,uf=null,vf=[],Df=null,Hd=Bd("https://apis.google.com/js/client.js?onload=%{onload}"),Nf=!1,Rf=0,gg=null;var qg=function(){};var rg=function(){this.ga=-1};var sg=function(){this.ga=64;this.A=Array(4);this.Wd=Array(this.ga);this.Sb=this.Qa=0;this.reset()};x(sg,rg);sg.prototype.reset=function(){this.A[0]=1732584193;this.A[1]=4023233417;this.A[2]=2562383102;this.A[3]=271733878;this.Sb=this.Qa=0};
var tg=function(a,b,c){c||(c=0);var d=Array(16);if(n(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.A[0];c=a.A[1];e=a.A[2];var f=a.A[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.A[0]=a.A[0]+b&4294967295;a.A[1]=a.A[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.A[2]=a.A[2]+e&4294967295;a.A[3]=a.A[3]+f&4294967295};
sg.prototype.update=function(a,b){m(b)||(b=a.length);for(var c=b-this.ga,d=this.Wd,e=this.Qa,f=0;f<b;){if(0==e)for(;f<=c;)tg(this,a,f),f+=this.ga;if(n(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.ga){tg(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.ga){tg(this,d);e=0;break}}this.Qa=e;this.Sb+=b};
sg.prototype.digest=function(){var a=Array((56>this.Qa?this.ga:2*this.ga)-this.Qa);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.Sb;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.A[b]>>>d&255;return a};var ug=function(a){this.lb="__ee_hash__";this.zc=!1!==a;this.Na=[];this.Fa={};this.Uc=[]};v("ee.Serializer",ug);var vg=new Kd,wg=new sg,yg=function(a,b){return xg(new ug(m(b)?b:!0),a)};v("ee.Serializer.encode",yg);var zg=function(a){return vg.v(yg(a))};v("ee.Serializer.toJSON",zg);var Ag=function(a){a=xg(new ug(!1),a);return"JSON"in k?k.JSON.stringify(a,null," "):vg.v(a)};v("ee.Serializer.toReadableJSON",Ag);
var xg=function(a,b){b=a.rb(b);a.zc&&(b=t(b)&&"ValueRef"==b.type&&1==a.Na.length?a.Na[0][1]:{type:"CompoundValue",scope:a.Na,value:b},a.Na=[],Ta(a.Uc,u(function(a){delete a[this.lb]},a)),a.Uc=[],a.Fa={});return b};
ug.prototype.rb=function(a){if(!m(a))throw Error("Can't encode an undefined value.");var b=t(a)?a[this.lb]:null;if(this.zc&&null!=b&&this.Fa[b])return{type:"ValueRef",value:this.Fa[b]};if(null===a||"boolean"==typeof a||p(a)||n(a))return a;if(t(a)&&"function"==typeof a.getFullYear)return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof qg){var c=a.encode(u(this.rb,this));if(!(q(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(q(a))c=Va(a,function(a){return this.rb(a)},
this);else if(t(a)&&!r(a))c=ob(a,function(a){if(!r(a))return this.rb(a)},this),wb(c,this.lb),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.zc){wg.reset();wg.update(vg.v(c));b=wg.digest().toString();if(this.Fa[b])var d=this.Fa[b];else d=String(this.Na.length),this.Na.push([d,c]),this.Fa[b]=d;a[this.lb]=b;this.Uc.push(a);return{type:"ValueRef",value:d}}return c};var I=function(a,b,c){if(!(this instanceof I))return J(I,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.w=c||null};x(I,qg);v("ee.ComputedObject",I);I.prototype.evaluate=function(a){if(!a||!r(a))throw Error("evaluate() requires a callback function.");$f({json:this.v()},a)};I.prototype.evaluate=I.prototype.evaluate;
I.prototype.Y=function(a){return $f({json:this.v()},a)};I.prototype.getInfo=I.prototype.Y;I.prototype.encode=function(a){if(null===this.h&&null===this.args)return{type:"ArgumentRef",value:this.w};var b={},c;for(c in this.args)m(this.args[c])&&(b[c]=a(this.args[c]));b={type:"Invocation",arguments:b};a=a(this.h);b[n(a)?"functionName":"function"]=a;return b};I.prototype.v=function(){return zg(this)};I.prototype.serialize=I.prototype.v;
I.prototype.toString=function(){return"ee."+this.name()+"("+Ag(this)+")"};v("ee.ComputedObject.prototype.toString",I.prototype.toString);I.prototype.name=function(){return"ComputedObject"};I.prototype.Vc=function(a,b){var c=eb(arguments);c[0]=this;a.apply(k,c);return this};I.prototype.aside=I.prototype.Vc;
var Bg=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.w=b.w;return a},J=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var Cg={},Dg=function(a){return a.prototype instanceof I?a.prototype.name.call(null):a==Number?"Number":a==String?"String":a==Array?"Array":a==Date?"Date":"Object"},Eg=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}},Fg=function(a){return p(a)||
a instanceof I&&"Number"==a.name()},Gg=function(a){return n(a)||a instanceof I&&"String"==a.name()},Hg=function(a){return t(a)&&!r(a)?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1};var K=function(){if(!(this instanceof K))return new K};x(K,qg);v("ee.Function",K);var Ig=xc;K.prototype.call=function(a){return this.apply(Jg(this,Array.prototype.slice.call(arguments,0)))};K.prototype.call=K.prototype.call;K.prototype.apply=function(a){a=new I(this,Kg(this,a));return Ig(a,this.F().returns)};K.prototype.apply=K.prototype.apply;
var Lg=function(a,b,c){var d=m(b),e=a.F(),f=!1;if(1==c.length&&Hg(c[0])){var g=e.args;d&&(g=g.slice(1));g.length&&(f=!((1==g.length||g[1].optional)&&"Dictionary"==g[0].type))}if(f){if(c=xb(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=Jg(a,d?[b].concat(c):c);return a.apply(c)},Kg=function(a,b){for(var c=a.F().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&m(b[g]))d[g]=Ig(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},Jg=function(a,b){var c=a.F().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};
K.prototype.toString=function(a,b){var c=this.F(),d=[];d.push(a||c.name);d.push("(");d.push(Va(c.args.slice(b?1:0),function(a){return a.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("")};K.prototype.v=function(){return zg(this)};var L=function(a,b){if(!m(b))return Mg(a);if(!(this instanceof L))return J(L,arguments);this.la=yb(b);this.la.name=a};x(L,K);v("ee.ApiFunction",L);var M=function(a,b){return K.prototype.call.apply(Mg(a),Array.prototype.slice.call(arguments,1))};v("ee.ApiFunction._call",M);var Ng=function(a,b){return Mg(a).apply(b)};v("ee.ApiFunction._apply",Ng);L.prototype.encode=function(){return this.la.name};L.prototype.F=function(){return this.la};
var Og=null,Pg={},Sg=function(){Qg();return ob(Og,function(a){return a.F()})},Tg=function(){Qg();return nb(Og,function(a,b){return!Pg[b]})},Mg=function(a){var b=Ug(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};v("ee.ApiFunction.lookup",Mg);
var Ug=function(a){Qg();return Og[a]||null},Qg=function(a,b){if(Og)a&&a();else{var c=function(c,e){e?b&&b(Error(e)):(Og=ob(c,function(a,b){a.returns=a.returns.replace(/<.*>/,"");for(var c=0;c<a.args.length;c++)a.args[c].type=a.args[c].type.replace(/<.*>/,"");return new L(b,a)}),a&&a())};a?Xf(c):c(Xf())}},N=function(a,b,c,d){Qg();var e=d||"";mb(Og,function(d,g){var f=g.split(".");if(2==f.length&&f[0]==b){f=e+f[1];var w=d.F();Pg[g]=!0;var qa=!1;w.args.length&&(g=w.args[0].type,qa="Object"!=g&&Eg(g,
c));g=qa?a.prototype:a;f in g&&!g[f].signature||(g[f]=function(a){return Lg(d,qa?this:void 0,Array.prototype.slice.call(arguments,0))},g[f].toString=u(d.toString,d,f,qa),g[f].signature=w)}})},O=function(a){var b=function(a){for(var b in a)r(a[b])&&a[b].signature&&delete a[b]};b(a);b(a.prototype)};var P=function(a,b){var c=Vg(a),d=Va(c,function(a){return a.replace(/^opt_/,"")});a=(a=Wg(a))?" to function "+a:"";var e={},f=b[0],g=t(f)&&!r(f)&&!q(f)&&!(f instanceof I);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 E(rb(f));var l=new E(d);if(Lc(l,g).isEmpty())e[d[0]]=b[0];else{b=Mc(g,l);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.u().join(", "));
e=xb(f)}}b=new E(rb(e));c=Mc(new E(Ua(c,function(a){return 0!=a.lastIndexOf("opt_",0)})),b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.u().join(", "));return e},Vg=function(a){var b=[];k.EXPORTED_FN_INFO?(a=k.EXPORTED_FN_INFO[a.toString()],Pa(a),b=a.paramNames,Qa(b)):a._meta?(Pa(a._meta),b=a._meta.paramNames,Qa(b)):b=(a.toString().replace(Xg,"").match(Yg)[1].split(",")||[]).map(function(a){return a.replace(Zg,"")});return b},Wg=function(a){return k.EXPORTED_FN_INFO?k.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+
"()":a._meta?a._meta.name.split(".").pop()+"()":null},Xg=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Yg=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Zg=/=.*$/;var Q=function(a,b,c){I.call(this,a,b,c);$g()};x(Q,I);v("ee.Element",Q);var ah=!1,$g=function(){ah||(N(Q,"Element","Element"),ah=!0)};Q.prototype.name=function(){return"Element"};
Q.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=Hg(c))a:{b=rb(c);var d=["properties"];if(oa(b)&&oa(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(Hg(c)){b=this;for(var g in c)d=c[g],b=M("Element.set",b,g,d)}else if(c instanceof I&&Ug("Element.setMulti"))b=M("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=M("Element.set",b,g,d)}return Bg(this,b)};Q.prototype.set=Q.prototype.set;var R=function(a){if(!(this instanceof R))return J(R,arguments);if(a instanceof R)return a;bh();if(q(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new R(a[0]);I.call(this,new L("Filter.and"),{filters:a})}else if(a instanceof I)I.call(this,a.h,a.args,a.w);else{if(m(a))throw Error("Invalid argument specified for ee.Filter(): "+a);I.call(this,null,null)}};x(R,I);v("ee.Filter",R);
var ch=!1,bh=function(){ch||(N(R,"Filter","Filter"),ch=!0)},dh={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};R.prototype.Ha=function(){return M("Filter.not",this)};R.prototype.not=R.prototype.Ha;var eh=function(a,b){var c=P(eh,arguments);return M("Filter.equals",c.name,c.value)};R.eq=eh;var fh=function(a,b){var c=P(fh,arguments);return eh(c.name,c.value).Ha()};R.neq=fh;
var gh=function(a,b){var c=P(gh,arguments);return M("Filter.lessThan",c.name,c.value)};R.lt=gh;var hh=function(a,b){var c=P(hh,arguments);return gh(c.name,c.value).Ha()};R.gte=hh;var ih=function(a,b){var c=P(ih,arguments);return M("Filter.greaterThan",c.name,c.value)};R.gt=ih;var jh=function(a,b){var c=P(jh,arguments);return ih(c.name,c.value).Ha()};R.lte=jh;var kh=function(a){return M("Filter.and",Array.prototype.slice.call(arguments))};R.and=kh;var lh=function(a){return M("Filter.or",Array.prototype.slice.call(arguments))};
R.or=lh;var mh=function(a,b){var c=P(mh,arguments);c=M("DateRange",c.start,c.end);return Ng("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};R.date=mh;var nh=function(a,b,c,d){var e=P(nh,arguments);return Ng("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};R.inList=nh;var oh=function(a,b){return Ng("Filter.intersects",{leftField:".all",rightValue:M("Feature",a),maxError:b})};R.bounds=oh;
R.prototype.name=function(){return"Filter"};var ph=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in dh))throw Error("Unknown filtering operator: "+b);a=M("Filter."+dh[b],a,c);return d?a.Ha():a};R.metadata=ph;var S=function(a,b,c){Q.call(this,a,b,c);qh()};x(S,Q);v("ee.Collection",S);var rh=!1,qh=function(){rh||(N(S,"Collection","Collection"),N(S,"AggregateFeatureCollection","Collection","aggregate_"),rh=!0)};S.prototype.filter=function(a){if(!a)throw Error("Empty filters.");return Bg(this,M("Collection.filter",this,a))};S.prototype.filter=S.prototype.filter;S.prototype.pc=function(a,b,c){var d=P(S.prototype.pc,arguments);return this.filter(ph(d.name,d.operator,d.value))};S.prototype.filterMetadata=S.prototype.pc;
S.prototype.kd=function(a){return this.filter(oh(a))};S.prototype.filterBounds=S.prototype.kd;S.prototype.oc=function(a,b){var c=P(S.prototype.oc,arguments);return this.filter(mh(c.start,c.end))};S.prototype.filterDate=S.prototype.oc;S.prototype.limit=function(a,b,c){var d=P(S.prototype.limit,arguments);return Bg(this,M("Collection.limit",this,d.max,d.property,d.ascending))};S.prototype.limit=S.prototype.limit;
S.prototype.sort=function(a,b){var c=P(S.prototype.sort,arguments);return Bg(this,M("Collection.limit",this,void 0,c.property,c.ascending))};S.prototype.sort=S.prototype.sort;S.prototype.name=function(){return"Collection"};S.prototype.elementType=function(){return Q};S.prototype.map=function(a,b){var c=this.elementType();return Bg(this,M("Collection.map",this,function(b){return a(new c(b))},b))};S.prototype.map=S.prototype.map;
S.prototype.wd=function(a,b){b=m(b)?b:null;var c=this.elementType();return M("Collection.iterate",this,function(b,e){return a(new c(b),e)},b)};S.prototype.iterate=S.prototype.wd;var sh=function(a){if(!(this instanceof sh))return J(sh,arguments);if(a instanceof sh)return a;th();if(p(a))I.call(this,null,null),this.Dc=a;else if(a instanceof I)I.call(this,a.h,a.args,a.w),this.Dc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(sh,I);v("ee.Number",sh);var uh=!1,th=function(){uh||(N(sh,"Number","Number"),uh=!0)};sh.prototype.encode=function(a){return p(this.Dc)?this.Dc:sh.j.encode.call(this,a)};sh.prototype.name=function(){return"Number"};var vh=function(a){if(!(this instanceof vh))return J(vh,arguments);if(a instanceof vh)return a;wh();if(n(a))I.call(this,null,null),this.Mc=a;else if(a instanceof I)this.Mc=null,a.h&&"String"==a.h.F().returns?I.call(this,a.h,a.args,a.w):I.call(this,new L("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(vh,I);v("ee.String",vh);var xh=!1,wh=function(){xh||(N(vh,"String","String"),xh=!0)};
vh.prototype.encode=function(a){return n(this.Mc)?this.Mc:vh.j.encode.call(this,a)};vh.prototype.name=function(){return"String"};var yh=function(a,b){if(!(this instanceof yh))return J(yh,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(zh(g in Cg?Cg[g]:null,f.name))}if(!m(b.apply(null,c)))throw Error("User-defined methods must return a value.");this.la=Ah(a,c,b);this.Xd=b.apply(null,c)};x(yh,K);v("ee.CustomFunction",yh);yh.prototype.encode=function(a){return{type:"Function",argumentNames:Va(this.la.args,function(a){return a.name}),body:a(this.Xd)}};yh.prototype.F=function(){return this.la};
var zh=function(a,b){a=a||Object;if(!(a.prototype instanceof I))if(a&&a!=Object)if(a==String)a=vh;else if(a==Number)a=sh;else if(a==Array)a=k.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=I;var c=function(){};c.prototype=a.prototype;a=new c;a.h=null;a.args=null;a.w=b;return a},Bh=function(a,b){b=Va(b,function(a){return{name:null,type:n(a)?a:Dg(a)}});b={name:"",returns:n("Object")?"Object":Dg("Object"),args:b};return new yh(b,a)},Ah=function(a,b,c){for(var d=
[],e=0;e<b.length;e++)null===b[e].w&&d.push(e);if(0==d.length)return a;var f=function(a){var b=0;t(a)&&!r(a)&&("Function"==a.type&&b++,mb(a,function(a){b+=f(a)}));return b};e=yg(c.apply(null,b));c="_MAPPING_VAR_"+f(e)+"_";for(e=0;e<d.length;e++){var g=d[e],l=c+e;b[g].w=l;a.args[g].name=l}return a};var Ch=function(a,b){if(!(this instanceof Ch))return J(Ch,arguments);if(a instanceof Ch)return a;Dh();var c=P(Ch,arguments);a=c.date;c=c.tz;var d=new L("Date"),e={},f=null;if(Gg(a)){if(e.value=a,c)if(Gg(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(Fg(a))e.value=a;else if(t(a)&&"function"==typeof a.getFullYear)e.value=Math.floor(a.getTime());else if(a instanceof I)a.h&&"Date"==a.h.F().returns?(d=a.h,e=a.args,f=a.w):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
a);I.call(this,d,e,f)};x(Ch,I);v("ee.Date",Ch);var Eh=!1,Dh=function(){Eh||(N(Ch,"Date","Date"),Eh=!0)};Ch.prototype.name=function(){return"Date"};var T=function(a,b,c,d){if(!(this instanceof T))return J(T,arguments);if(!("type"in a)){var e=P(T,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Fh();e=null!=b||null!=c||null!=d;if(a instanceof I&&!(a instanceof T&&a.Tb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");I.call(this,a.h,a.args,a.w)}else{a instanceof T&&(a=a.encode());if(!Gh(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));I.call(this,
null,null);this.Tb=a.type;this.be=null!=a.coordinates?yb(a.coordinates):null;this.ge=a.geometries||null;if(null!=b)this.Hc=b;else if("crs"in a)if(t(a.crs)&&"name"==a.crs.type&&t(a.crs.properties)&&n(a.crs.properties.name))this.Hc=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new Kd).v(a.crs));this.ub=c;!m(this.ub)&&"geodesic"in a&&(this.ub=!!a.geodesic);this.tb=d;!m(this.tb)&&"evenOdd"in a&&(this.tb=!!a.evenOdd)}};x(T,I);v("ee.Geometry",T);
var Hh=!1,Fh=function(){Hh||(N(T,"Geometry","Geometry"),Hh=!0)},Ih=function(a,b){if(!(this instanceof Ih))return Jh(Ih,arguments);var c=Kh(Ih,"Point",1,arguments);if(!(c instanceof I)){var d=c.coordinates;if(!q(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}T.call(this,c)};x(Ih,T);T.Point=Ih;var Lh=function(a,b){if(!(this instanceof Lh))return Jh(Lh,arguments);T.call(this,Kh(Lh,"MultiPoint",2,arguments))};x(Lh,T);T.MultiPoint=Lh;
var Mh=function(a,b,c,d){if(!(this instanceof Mh))return Jh(Mh,arguments);var e=Kh(Mh,"Rectangle",2,arguments);if(!(e instanceof I)){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],w=f[1][0];f=f[1][1];e.coordinates=[[[g,f],[g,l],[w,l],[w,f]]];e.type="Polygon"}T.call(this,e)};x(Mh,T);T.Rectangle=Mh;
var Nh=function(a,b,c,d){if(!(this instanceof Nh))return Jh(Nh,arguments);T.call(this,Kh(Nh,"LineString",2,arguments))};x(Nh,T);T.LineString=Nh;var Oh=function(a,b,c,d){if(!(this instanceof Oh))return Jh(Oh,arguments);T.call(this,Kh(Oh,"LinearRing",2,arguments))};x(Oh,T);T.LinearRing=Oh;var Ph=function(a,b,c,d){if(!(this instanceof Ph))return Jh(Ph,arguments);T.call(this,Kh(Ph,"MultiLineString",3,arguments))};x(Ph,T);T.MultiLineString=Ph;
var Qh=function(a,b,c,d,e){if(!(this instanceof Qh))return Jh(Qh,arguments);T.call(this,Kh(Qh,"Polygon",3,arguments))};x(Qh,T);T.Polygon=Qh;var Rh=function(a,b,c,d,e){if(!(this instanceof Rh))return Jh(Rh,arguments);T.call(this,Kh(Rh,"MultiPolygon",4,arguments))};x(Rh,T);T.MultiPolygon=Rh;
T.prototype.encode=function(a){if(!this.Tb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return I.prototype.encode.call(this,a)}a={type:this.Tb};"GeometryCollection"==this.Tb?a.geometries=this.ge:a.coordinates=this.be;null!=this.Hc&&(a.crs={type:"name",properties:{name:this.Hc}});null!=this.ub&&(a.geodesic=this.ub);null!=this.tb&&(a.evenOdd=this.tb);return a};
T.prototype.Rc=function(){if(this.h)throw Error("Can't convert a computed Geometry to GeoJSON. Use getInfo() instead.");return this.encode()};T.prototype.toGeoJSON=T.prototype.Rc;T.prototype.Sc=function(){if(this.h)throw Error("Can't convert a computed Geometry to GeoJSON. Use getInfo() instead.");return(new Kd).v(this.Rc())};T.prototype.toGeoJSONString=T.prototype.Sc;T.prototype.v=function(){return zg(this)};T.prototype.serialize=T.prototype.v;
T.prototype.toString=function(){return"ee.Geometry("+this.Sc()+")"};
var Gh=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!q(b))return!1;for(a=0;a<b.length;a++)if(!Gh(b[a]))return!1;return!0}a=a.coordinates;var c=Sh(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)},Sh=function(a){if(!q(a))return-1;if(q(a[0])){for(var b=Sh(a[0]),c=1;c<a.length;c++)if(Sh(a[c])!=b)return-1;return b+
1}for(c=0;c<a.length;c++)if(!p(a[c]))return-1;return 0==a.length%2?1:-1},Kh=function(a,b,c,d){Xa(d,Fg)?a={coordinates:eb(d)}:(a=P(a,d),a.coordinates=a.coords,delete a.coords,a.crs=a.proj,delete a.proj,a=nb(a,na));if(Th(a.coordinates)||null!=a.crs||null!=a.maxError)return(new L("GeometryConstructors."+b)).apply(a);a.type=b;d=a.coordinates;if(1>c||4<c)throw Error("Unexpected nesting level.");if(Xa(d,p)&&p(d[0])&&2!=d.length){if(0!=d.length%2)throw Error("Invalid number of coordinates: "+d.length);for(var e=
[],f=0;f<d.length;f+=2)e.push([d[f],d[f+1]]);d=e}e=d;for(f=0;q(e);)e=e[0],f++;for(;f<c;)d=[d],f++;if(Sh(d)!=c)throw Error("Invalid geometry");for(e=d;q(e)&&1==e.length;)e=e[0];c=q(e)&&0==e.length?[]:d;a.coordinates=c;(b=0<=Ra(["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},Th=function(a){return q(a)?Wa(a,Th):a instanceof I},Jh=function(a,b){var c=function(){};c.prototype=a.prototype;
c=new c;a=a.apply(c,b);return void 0!==a?a:c};T.prototype.name=function(){return"Geometry"};v("ee.Deserializer",function(){});var Vh=function(a){return Uh(JSON.parse(a))};v("ee.Deserializer.fromJSON",Vh);var Uh=function(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]=Wh(f,b)}a=a.value}return Wh(a,b)};v("ee.Deserializer.decode",Uh);
var Wh=function(a,b){if(null===a||p(a)||"boolean"==typeof a||n(a))return a;if(q(a))return Va(a,function(a){return Wh(a,b)});if(!t(a)||r(a))throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":c=a.value;if(!n(c))throw Error("Invalid variable name: "+c);return zh(Object,c);case "Date":c=a.value;if(!p(c))throw Error("Invalid date value: "+c);return new Ch(c/1E3);case "Bytes":return c=new qg,
c.encode=function(){return a},c;case "Invocation":c="functionName"in a?Mg(a.functionName):Wh(a["function"],b);var d=ob(a.arguments,function(a){return Wh(a,b)});if(c instanceof K)return c.apply(d);if(c instanceof I)return new I(c,d);throw Error("Invalid function value: "+a["function"]);case "Dictionary":return ob(a.value,function(a){return Wh(a,b)});case "Function":var e=Wh(a.body,b);c={name:"",args:Va(a.argumentNames,function(a){return{name:a,type:"Object",optional:!1}}),returns:"Object"};return new yh(c,
function(){return e});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new T(a);case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}};var Xh=function(a){if(!(this instanceof Xh))return J(Xh,arguments);if(a instanceof Xh)return a;Yh();Hg(a)?(I.call(this,null,null),this.kc=a):(a instanceof I&&a.h&&"Dictionary"==a.h.F().returns?I.call(this,a.h,a.args,a.w):I.call(this,new L("Dictionary"),{input:a},null),this.kc=null)};x(Xh,I);v("ee.Dictionary",Xh);var Zh=!1,Yh=function(){Zh||(N(Xh,"Dictionary","Dictionary"),Zh=!0)};Xh.prototype.encode=function(a){return null===this.kc?Xh.j.encode.call(this,a):a(this.kc)};Xh.prototype.name=function(){return"Dictionary"};var U=function(a,b){if(!(this instanceof U))return J(U,arguments);if(a instanceof U){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)");$h();if(a instanceof T||null===a)Q.call(this,new L("Feature"),{geometry:a,metadata:b||null});else if(a instanceof I)Q.call(this,a.h,a.args,a.w);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=xb(c);c["system:index"]=a.id}Q.call(this,new L("Feature"),{geometry:new T(a.geometry),metadata:c})}else Q.call(this,new L("Feature"),{geometry:new T(a),metadata:b||null})};x(U,Q);v("ee.Feature",U);var ai=!1,$h=function(){ai||(N(U,"Feature","Feature"),ai=!0)};U.prototype.getInfo=U.prototype.Y;U.prototype.getMap=function(a,b){var c=P(U.prototype.getMap,arguments);return M("Collection",[this]).getMap(c.visParams,c.callback)};
U.prototype.getMap=U.prototype.getMap;U.prototype.name=function(){return"Feature"};var bi=function(a){if(this instanceof bi){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof bi)return a}else return J(bi,arguments);ci();if(q(a))I.call(this,null,null),this.Cc=a;else if(a instanceof I)I.call(this,a.h,a.args,a.w),this.Cc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(bi,I);v("ee.List",bi);var di=!1,ci=function(){di||(N(bi,"List","List"),di=!0)};
bi.prototype.encode=function(a){return q(this.Cc)?Va(this.Cc,function(b){return a(b)}):bi.j.encode.call(this,a)};bi.prototype.name=function(){return"List"};var V=function(a,b){if(!(this instanceof V))return J(V,arguments);if(a instanceof V)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");ei();a instanceof T&&(a=new U(a));a instanceof U&&(a=[a]);if(Fg(a)||Gg(a)){var c={tableId:a};b&&(c.geometryColumn=b);S.call(this,new L("Collection.loadTable"),c)}else if(q(a))S.call(this,new L("Collection"),{features:Va(a,function(a){return new U(a)})});else if(a instanceof bi)S.call(this,
new L("Collection"),{features:a});else if(a instanceof I)S.call(this,a.h,a.args,a.w);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(V,S);v("ee.FeatureCollection",V);var fi=!1,ei=function(){fi||(N(V,"FeatureCollection","FeatureCollection"),fi=!0)};V.prototype.getMap=function(a,b){var c=P(V.prototype.getMap,arguments),d=Ng("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(null,c.callback);else return d.getMap()};
V.prototype.getMap=V.prototype.getMap;V.prototype.getInfo=V.prototype.Y;V.prototype.ra=function(a,b,c,d){var e=P(V.prototype.ra,arguments),f={};f.table=this.v();e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);if(e.selectors){var g=e.selectors;oa(g)&&(g=g.join(","));f.selectors=g}if(e.callback)eg(f,function(a,b){a?e.callback(fg(a)):e.callback(null,b)});else return fg(eg(f))};V.prototype.getDownloadURL=V.prototype.ra;
V.prototype.select=function(a,b){var c=arguments;return this.map(function(a){return a.select.apply(a,c)})};V.prototype.select=V.prototype.select;V.prototype.name=function(){return"FeatureCollection"};V.prototype.elementType=function(){return U};var W=function(a){if(!(this instanceof W))return J(W,arguments);if(a instanceof W)return a;gi();var b=arguments.length;if(0==b||1==b&&!m(a))Q.call(this,new L("Image.mask"),{image:new W(0),mask:new W(0)});else if(1==b)if(Fg(a))Q.call(this,new L("Image.constant"),{value:a});else if(Gg(a))Q.call(this,new L("Image.load"),{id:a});else{if(q(a))return hi(Va(a,function(a){return new W(a)}));if(a instanceof I)"Array"==a.name()?Q.call(this,new L("Image.constant"),{value:a}):Q.call(this,a.h,a.args,a.w);else throw Error("Unrecognized argument type to convert to an Image: "+
a);}else if(2==b){b=arguments[0];var c=arguments[1];if(Gg(b)&&Fg(c))Q.call(this,new L("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(W,Q);v("ee.Image",W);var ii=!1,gi=function(){ii||(N(W,"Image","Image"),N(W,"Window","Image","focal_"),ii=!0)};W.prototype.getInfo=W.prototype.Y;
W.prototype.getMap=function(a,b){var c=this,d=P(W.prototype.getMap,arguments),e=d.visParams?xb(d.visParams):{};e.image=this.v();if(d.callback){var f=d.callback;Yf(e,function(a,b){a=a?Object.assign(a,{image:c}):void 0;f(a,b)})}else return d=Yf(e),d.image=this,d};W.prototype.getMap=W.prototype.getMap;W.prototype.ra=function(a,b){var c=P(W.prototype.ra,arguments),d=c.params?xb(c.params):{};d.image=this.v();if(c.callback){var e=c.callback;cg(d,function(a,b){a?e(dg(a)):e(null,b)})}else return dg(cg(d))};
W.prototype.getDownloadURL=W.prototype.ra;W.prototype.tc=function(a,b){var c=P(W.prototype.tc,arguments),d=c.params?xb(c.params):{};d.image=this.v();if(d.region)if(q(d.region)||Hg(d.region))d.region=Ld(d.region);else if(!n(d.region))throw Error("The region parameter must be an array or a GeoJSON object.");if(c.callback)ag(d,function(a,b){var d="";if(!m(b))try{d=bg(a)}catch(l){b=String(l.message)}c.callback(d,b)});else return bg(ag(d))};W.prototype.getThumbURL=W.prototype.tc;
var ji=function(a,b,c){var d=P(ji,arguments);return hi([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};W.rgb=ji;var ki=function(a){return hi(Array.prototype.slice.call(arguments),null)};W.cat=ki;var hi=function(a,b){if(0==a.length)return M("Image.constant",[]);for(var c=new W(a[0]),d=1;d<a.length;d++)c=M("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
W.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||Gg(b[0])||Fg(b[0])){for(var d=0;d<b.length;d++)if(!(Gg(b[d])||Fg(b[d])||b[d]instanceof I))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Ng("Image.select",c)};W.prototype.select=W.prototype.select;
W.prototype.nc=function(a,b){var c=P(W.prototype.nc,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 W(f[g])}var l=M("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new K;c.encode=function(a){return l.encode(a)};c.F=function(){return{name:"",args:Va(d,function(a){return{name:a,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};W.prototype.expression=W.prototype.nc;
W.prototype.clip=function(a){try{a=new T(a)}catch(b){}return M("Image.clip",this,a)};W.prototype.clip=W.prototype.clip;W.prototype.Jd=function(a){var b=1!=arguments.length||Gg(arguments[0])?eb(arguments):arguments[0];return M("Image.rename",this,b)};W.prototype.rename=W.prototype.Jd;W.prototype.name=function(){return"Image"};var X=function(a){if(!(this instanceof X))return J(X,arguments);if(a instanceof X)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");li();a instanceof W&&(a=[a]);if(Gg(a))S.call(this,new L("ImageCollection.load"),{id:a});else if(q(a))S.call(this,new L("ImageCollection.fromImages"),{images:Va(a,function(a){return new W(a)})});else if(a instanceof bi)S.call(this,new L("ImageCollection.fromImages"),{images:a});else if(a instanceof
I)S.call(this,a.h,a.args,a.w);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(X,S);v("ee.ImageCollection",X);var mi=!1,li=function(){mi||(N(X,"ImageCollection","ImageCollection"),N(X,"reduce","ImageCollection"),mi=!0)};X.prototype.getMap=function(a,b){var c=P(X.prototype.getMap,arguments),d=M("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};X.prototype.getMap=X.prototype.getMap;
X.prototype.getInfo=X.prototype.Y;X.prototype.select=function(a,b){var c=arguments;return this.map(function(a){return a.select.apply(a,c)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"ImageCollection"};X.prototype.elementType=function(){return W};var ni={};v("ee.Terrain",ni);ni.xc=!1;ni.je=function(){ni.xc||(N(ni,"Terrain","Terrain"),ni.xc=!0)};ni.reset=function(){O(ni);ni.xc=!1};var ti=function(a,b,c,d,e){if("ready"!=oi||a||b){var f=null!=c;if(d)if(f)pi.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==oi&&f)qi.push(c);else if(oi="loading",Qf(a,b,e),f)qi.push(c),Qg(ri,si);else try{Qg(),ri()}catch(g){throw si(g),g;}}else c&&c()};v("ee.initialize",ti);
var wi=function(){oi="not_ready";Pf=Of=Mf=null;Nf=!1;Og=null;Pg={};O(Ch);Eh=!1;O(Xh);Zh=!1;O(Q);ah=!1;O(W);ii=!1;O(U);ai=!1;O(S);rh=!1;O(X);mi=!1;O(V);fi=!1;O(R);ch=!1;O(T);Hh=!1;O(bi);di=!1;O(sh);uh=!1;O(vh);xh=!1;ni.reset();for(var a=k.ee,b=0;b<ui.length;b++){var c=ui[b];O(a[c]);delete a[c]}ui=[];Cg=a;a=vi;for(var d in a)delete a[d]};v("ee.reset",wi);var xi={Fe:"not_ready",LOADING:"loading",Ge:"ready"};v("ee.InitState",xi);v("ee.InitState.NOT_READY","not_ready");v("ee.InitState.LOADING","loading");
v("ee.InitState.READY","ready");var oi="not_ready",qi=[],pi=[];v("ee.TILE_SIZE",256);var ui=[],vi={};v("ee.Algorithms",vi);var yi=function(a,b){n(a)&&(a=new L(a));return K.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};v("ee.call",yi);var zi=function(a,b){n(a)&&(a=new L(a));return a.apply(b)};v("ee.apply",zi);
var ri=function(){if("loading"==oi){try{Dh();Yh();$g();gi();$h();qh();li();ei();bh();Fh();ci();th();wh();ni.je();var a=Sg(),b={},c={},d;for(d in a){b[-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d]=!0;var e=a[d].returns.replace(/<.*>/,"");c[e]=!0}var f=k.ee,g;for(g in b)g in c&&!(g in f)&&(f[g]=Ai(g),ui.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,Pg[g]=!0):f[g].signature={});Cg=f;Bi()}catch(l){si(l);return}oi="ready";for(pi=[];0<qi.length;)qi.shift()()}},si=function(a){if("loading"==
oi)for(oi="not_ready",qi=[];0<pi.length;)pi.shift()(a)},Bi=function(){var a=Tg();rb(a).sort().forEach(function(b){var c=a[b],d=c.F();if(!d.hidden){b=b.split(".");var e=vi;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=gb(b,1)}f=function(a){return Lg(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=u(c.toString,c);e[b[0]]=f}})},Ai=function(a){var b=function(b){var c=k.ee[a],e=Array.prototype.slice.call(arguments),f=1==e.length;if(f&&e[0]instanceof
c)return e[0];if(!(this instanceof c))return J(c,e);c=Ug(a);var g=!(e[0]instanceof I),l=!1;c&&(f?g?l=!0:e[0].h!=c&&(l=!0):l=!0);if(l)I.call(this,c,Kg(c,Jg(c,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];I.call(this,e.h,e.args,e.w)}};x(b,I);b.prototype.name=function(){return a};N(b,a,a);return b};
Ig=function(a,b){if(null===a)return null;if(m(a)){var c=k.ee;switch(b){case "Image":return new W(a);case "Feature":return a instanceof S?M("Feature",M("Collection.geometry",a)):new U(a);case "Element":if(a instanceof Q)return a;if(a instanceof T)return new U(a);if(a instanceof I)return new Q(a.h,a.args,a.w);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof V?M("Collection.geometry",a):new T(a);case "FeatureCollection":case "Collection":return a instanceof S?a:new V(a);
case "ImageCollection":return new X(a);case "Filter":return new R(a);case "Algorithm":if(n(a))return new L(a);if(r(a)){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return Bh(a,c)}if(a instanceof qg)return a;throw Error("Argument is not a function: "+a);case "String":return Gg(a)||a instanceof vh||a instanceof I?new vh(a):a;case "Dictionary":return Hg(a)?a:new Xh(a);case "List":return new bi(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new sh(a);default:if(b in
c){d=Ug(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if(n(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 Ci=function(a,b,c){Oc.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.md=new D;this.ld=new D};x(Ci,Oc);v("ee.FloatTileOverlay",Ci);Ci.prototype.getTile=function(a,b){var c=Pc(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.ma,this.token].join("/");this.oa.push(c);this.ma+=1;var d=Wd("DIV");Di(this,b,a,c,d);Ei(this);return d};
var Di=function(a,b,c,d,e){var f=Le();f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=u(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var a=f.response;if(a)a=new Float32Array(a),this.md.set(c,a),this.ld.set(c,e),cb(this.oa,d),Ei(this);else throw this.Pc.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},Ei=function(a){a.dispatchEvent(new Qc(a.oa.length))};Ci.prototype.c=function(){this.ld=this.md=null;Ci.j.c.call(this)};var Fi=function(a,b){B(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};var Gi=function(a){y.call(this);this.sa=a;this.f={}};x(Gi,y);var Hi=[];Gi.prototype.Z=function(a,b,c,d){q(b)||(b&&(Hi[0]=b.toString()),b=Hi);for(var e=0;e<b.length;e++){var f=jc(a,b[e],c||this.handleEvent,d||!1,this.sa||this);if(!f)break;this.f[f.key]=f}return this};Gi.prototype.cb=function(a,b,c,d){return Ii(this,a,b,c,d)};var Ii=function(a,b,c,d,e,f){if(q(c))for(var g=0;g<c.length;g++)Ii(a,b,c[g],d,e,f);else{b=ic(b,c,d||a.handleEvent,e,f||a.sa||a);if(!b)return a;a.f[b.key]=b}return a};
Gi.prototype.Vb=function(a,b,c,d,e){if(q(b))for(var f=0;f<b.length;f++)this.Vb(a,b[f],c,d,e);else c=c||this.handleEvent,d=t(d)?!!d.capture:!!d,e=e||this.sa||this,c=kc(c),d=!!d,b=Zb(a)?a.Va(b,c,d,e):a?(a=mc(a))?a.Va(b,c,d,e):null:null,b&&(rc(b),delete this.f[b.key]);return this};Gi.prototype.fb=function(){mb(this.f,function(a,b){this.f.hasOwnProperty(b)&&rc(a)},this);this.f={}};Gi.prototype.c=function(){Gi.j.c.call(this);this.fb()};
Gi.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Ji=function(a){C.call(this);this.$a={};this.Za={};this.sa=new Gi(this);this.s=a};x(Ji,C);var Ki=[Fb&&!Pb("11")?"readystatechange":"load","abort","error"],Li=function(a,b,c){(c=n(c)?c:c.src)&&(a.$a[b]={src:c,cd:m(void 0)?void 0:null})},Mi=function(a,b){delete a.$a[b];var c=a.Za[b];c&&(delete a.Za[b],a.sa.Vb(c,Ki,a.Ed),vb(a.Za)&&vb(a.$a)&&a.dispatchEvent("complete"))};
Ji.prototype.start=function(){var a=this.$a;Ta(rb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.W)){if(this.s){var d=this.s;d=(d?new be(ae(d)):xa||(xa=new be)).ce("IMG")}else d=new Image;c.cd&&(d.crossOrigin=c.cd);this.sa.Z(d,Ki,this.Ed);this.Za[b]=d;d.id=b;d.src=c.src}},this)};
Ji.prototype.Ed=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.W||Mi(this,b.id)}};Ji.prototype.c=function(){delete this.$a;delete this.Za;wa(this.sa);Ji.j.c.call(this)};var Ni=function(a,b){this.xd=a;this.Xb=b};Ni.prototype.getKey=function(){return this.xd};Ni.prototype.clone=function(){return new Ni(this.xd,this.Xb)};var Oi=function(a){this.M=[];if(a)a:{if(a instanceof Oi){var b=a.S();a=a.u();if(0>=this.l()){for(var c=this.M,d=0;d<b.length;d++)c.push(new Ni(b[d],a[d]));break a}}else b=rb(a),a=qb(a);for(d=0;d<b.length;d++)Pi(this,b[d],a[d])}},Pi=function(a,b,c){var d=a.M;d.push(new Ni(b,c));b=d.length-1;a=a.M;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=Oi.prototype;
h.remove=function(){var a=this.M,b=a.length,c=a[0];if(!(0>=b)){if(1==b)ab(a);else{a[0]=a.pop();a=0;b=this.M;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.Xb}};h.u=function(){for(var a=this.M,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Xb);return b};h.S=function(){for(var a=this.M,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
h.Sa=function(a){return Wa(this.M,function(b){return b.Xb==a})};h.ha=function(a){return Wa(this.M,function(b){return b.getKey()==a})};h.clone=function(){return new Oi(this)};h.l=function(){return this.M.length};h.isEmpty=function(){return 0==this.M.length};h.clear=function(){ab(this.M)};var Qi=function(){this.R=[];this.U=[]};h=Qi.prototype;h.enqueue=function(a){this.U.push(a)};h.Ta=function(){0==this.R.length&&(this.R=this.U,this.R.reverse(),this.U=[]);return this.R.pop()};h.l=function(){return this.R.length+this.U.length};h.isEmpty=function(){return 0==this.R.length&&0==this.U.length};h.clear=function(){this.R=[];this.U=[]};h.contains=function(a){return 0<=Ra(this.R,a)||0<=Ra(this.U,a)};
h.remove=function(a){var b=this.R;var c=Sa(b,a);0<=c?(bb(b,c),b=!0):b=!1;return b||cb(this.U,a)};h.u=function(){for(var a=[],b=this.R.length-1;0<=b;--b)a.push(this.R[b]);var c=this.U.length;for(b=0;b<c;++b)a.push(this.U[b]);return a};var Ri=function(a,b){y.call(this);this.Bd=a||0;this.Db=b||10;if(this.Bd>this.Db)throw Error("[goog.structs.Pool] Min can not be greater than max");this.X=new Qi;this.ja=new E;this.jc=0;this.Bc=null;this.mb()};x(Ri,y);Ri.prototype.Wa=function(){var a=va();if(!(null!=this.Bc&&a-this.Bc<this.jc)){for(var b;0<this.X.l()&&(b=this.X.Ta(),!this.Ec(b));)this.mb();!b&&this.l()<this.Db&&(b=this.ic());b&&(this.Bc=a,this.ja.add(b));return b}};var Si=function(a,b){return a.ja.remove(b)?(a.ac(b),!0):!1};h=Ri.prototype;
h.ac=function(a){this.ja.remove(a);this.Ec(a)&&this.l()<this.Db?this.X.enqueue(a):this.pb(a)};h.mb=function(){for(var a=this.X;this.l()<this.Bd;)a.enqueue(this.ic());for(;this.l()>this.Db&&0<this.X.l();)this.pb(a.Ta())};h.ic=function(){return{}};h.pb=function(a){if("function"==typeof a.V)a.V();else for(var b in a)a[b]=null};h.Ec=function(a){return"function"==typeof a.$d?a.$d():!0};h.contains=function(a){return this.X.contains(a)||this.ja.contains(a)};h.l=function(){return this.X.l()+this.ja.l()};
h.isEmpty=function(){return this.X.isEmpty()&&this.ja.isEmpty()};h.c=function(){Ri.j.c.call(this);if(0<this.ja.l())throw Error("[goog.structs.Pool] Objects not released");delete this.ja;for(var a=this.X;!a.isEmpty();)this.pb(a.Ta());delete this.X};var Ti=function(){Oi.call(this)};x(Ti,Oi);Ti.prototype.enqueue=function(a,b){Pi(this,a,b)};Ti.prototype.Ta=function(){return this.remove()};var Ui=function(a,b){this.fd=void 0;this.Mb=new Ti;Ri.call(this,a,b)};x(Ui,Ri);h=Ui.prototype;h.Wa=function(a,b){if(!a)return(a=Ui.j.Wa.call(this))&&this.jc&&(this.fd=k.setTimeout(u(this.xb,this),this.jc)),a;this.Mb.enqueue(m(b)?b:100,a);this.xb()};h.xb=function(){for(var a=this.Mb;0<a.l();){var b=this.Wa();if(b)a.Ta().apply(this,[b]);else break}};h.ac=function(a){Ui.j.ac.call(this,a);this.xb()};h.mb=function(){Ui.j.mb.call(this);this.xb()};
h.c=function(){Ui.j.c.call(this);k.clearTimeout(this.fd);this.Mb.clear();this.Mb=null};var Y=function(){C.call(this);this.Rb=new Vi(0,60);this.La=new D};x(Y,C);v("ee.MapTileManager",Y);Y.yc=void 0;Y.od=function(){return Y.yc?Y.yc:Y.yc=new Y};Y.prototype.send=function(a,b,c,d,e){if(this.La.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Wi(a,b,d,u(this.Id,this),m(e)?e:1);this.La.set(a,b);a=u(this.uc,this,b);this.Rb.Wa(a,c);return b};Y.prototype.abort=function(a){if(a=this.La.get(a))a.Ba||(a.Ba=!0,a.P=new z("abort")),this.Id(a)};
Y.prototype.uc=function(a,b){if(a.D||a.Ba)Xi(this,b);else if(a.ib=b,b.setActive(!0),b=new Ji,a.D=b,!Yi(a))throw Error("Cannot dispatch first request!");};Y.prototype.Id=function(a){this.La.remove(a.getId());a.D&&(Xi(this,a.ib),a.D.V());a.vc&&a.vc(a.P,a.Hd)};var Xi=function(a,b){b.setActive(!1);if(!Si(a.Rb,b))throw Error("Object not released");};Y.prototype.c=function(){Y.j.c.call(this);this.Rb.V();this.Rb=null;var a=this.La;Ta(a.u(),function(a){a.V()});a.clear();this.La=null};
var Wi=function(a,b,c,d,e){y.call(this);this.ca=a;this.Tc=b;this.qe=m(e)?e:1;this.vc=c;this.wa=d};x(Wi,y);h=Wi.prototype;h.Wc=0;h.Ba=!1;h.D=null;h.ib=null;h.P=null;h.Hd=null;var Zi=["load","abort","error"];Wi.prototype.getId=function(){return this.ca};Wi.prototype.getUrl=function(){return this.Tc};Wi.prototype.ie=function(a){if(this.Ba)this.wa&&this.wa(this);else switch(a.type){case "load":this.P=a;this.wa&&this.wa(this);break;case "error":case "abort":Yi(this)||(this.P=a,this.wa&&this.wa(this))}};
Wi.prototype.c=function(){Wi.j.c.call(this);delete this.vc;delete this.wa};var Yi=function(a){if(a.Wc>a.qe)return!1;a.Wc++;Mi(a.D,a.ca);setTimeout(u(a.ze,a),0);return!0};
Wi.prototype.ze=function(){if(!this.Ba){var a=u(function(a){this.Ba||(Li(this.D,this.ca,a),ic(this.D,Zi,u(this.ie,this)),this.D.start())},this),b=this.getUrl();if(qf(b).T.ha("profiling")){var c=new F;c.Ma="blob";c.Z("complete",u(function(){this.Hd=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=URL.createObjectURL(af(c))}catch(e){}a(d||b)},this));c.cb("ready",u(c.V,c));c.send(b,"GET")}else a(b)}};var $i=function(){this.N=!1};
x($i,y);$i.prototype.setActive=function(a){this.N=a};$i.prototype.vd=function(){return this.N};var Vi=function(a,b){Ui.call(this,a,b)};x(Vi,Ui);Vi.prototype.ic=function(){return new $i};Vi.prototype.pb=function(a){a.V()};Vi.prototype.Ec=function(a){return!a.W&&!a.vd()};var Z=function(a,b,c,d,e){Oc.call(this,a,b,c);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.Bb=m(d.Bb)?d.Bb:!0;this.name=d.name;this.Qc=new E;this.Fc=1;this.J=e||null};x(Z,Oc);v("ee.MapLayerOverlay",Z);Z.prototype.bc=function(a){return jc(this,"tileevent",a)};Z.prototype.addTileCallback=Z.prototype.bc;Z.prototype.Ic=function(a){rc(a)};
Z.prototype.removeTileCallback=Z.prototype.Ic;Z.prototype.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=Pc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.J&&this.J.isEnabled()&&(a+="&profiling=1");b=[b,this.ma,this.token].join("/");this.ma+=1;c=Wd("DIV",{id:b});var d=(new Date).getTime()/1E3;this.oa.push(b);Y.od().send(b,a,d,u(this.he,this,c,b));Ei(this);return c};Z.prototype.sc=function(){return this.oa.length};
Z.prototype.releaseTile=function(a){Y.od().abort(a.id);this.Qc.remove(m(a.firstElementChild)?a.firstElementChild:$d(a.firstChild));""!==a.id&&(this.Pc.remove(a.id),this.J&&this.J.we(a.id))};Z.prototype.setOpacity=function(a){this.Fc=a;var b=this.Qc.Aa();Bc(b,function(b){Fi(b,a)})};Z.prototype.getTile=Z.prototype.getTile;Z.prototype.setOpacity=Z.prototype.setOpacity;Z.prototype.releaseTile=Z.prototype.releaseTile;
Z.prototype.he=function(a,b,c,d){"error"==c.type?(cb(this.oa,b),this.Pc.add(b),this.dispatchEvent(c)):(cb(this.oa,b),c.target&&"load"==c.type&&(c=c.target,this.Qc.add(c),1!=this.Fc&&Fi(c,this.Fc),a.appendChild(c)),Ei(this));this.J&&null!==d&&this.J.Vd(b,d)};var aj=function(a,b){if(!(this instanceof aj))return new aj(a,b);this.da=a;this.la=b};x(aj,K);v("ee.SavedFunction",aj);aj.prototype.encode=function(a){return M("LoadAlgorithmById",this.da).encode(a)};aj.prototype.F=function(){return this.la};var cj=function(a,b){m(a.name)?(this.name=a.name,this.code=tb[a.name]):(this.code=Na(a.code),this.name=bj(a.code));A.call(this,ya("%s %s",this.name,b))};x(cj,A);var bj=function(a){var b=ub(function(b){return a==b});if(!m(b))throw Error("Invalid code: "+a);return b},tb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};var dj=function(a,b){z.call(this,a.type,b);this.P=a};x(dj,z);var ej=function(){C.call(this);this.C=new FileReader;this.C.onloadstart=u(this.Ea,this);this.C.onprogress=u(this.Ea,this);this.C.onload=u(this.Ea,this);this.C.onabort=u(this.Ea,this);this.C.onerror=u(this.Ea,this);this.C.onloadend=u(this.Ea,this)};x(ej,C);h=ej.prototype;h.abort=function(){try{this.C.abort()}catch(a){throw new cj(a,"aborting read");}};h.ia=function(){return this.C.readyState};h.getError=function(){return this.C.error&&new cj(this.C.error,"reading file")};
h.Ea=function(a){this.dispatchEvent(new dj(a,this))};h.c=function(){ej.j.c.call(this);delete this.C};h.readAsBinaryString=function(a){this.C.readAsBinaryString(a)};h.readAsArrayBuffer=function(a){this.C.readAsArrayBuffer(a)};h.readAsText=function(a,b){this.C.readAsText(a,b)};var fj=function(a,b){C.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.Bb="isPng"in b?b.Bb:!0;this.name=b.name;this.opacity="opacity"in b?b.opacity:1;this.na=new D;this.ma=0;this.Oc=a;this.ba=new Gi(this);this.alt=this.radius=this.projection=void 0};x(fj,C);v("ee.layers.AbstractOverlay",fj);
fj.prototype.bc=function(a){return jc(this,"tile-load",a)};fj.prototype.addTileCallback=fj.prototype.bc;fj.prototype.Ic=function(a){rc(a)};fj.prototype.removeTileCallback=fj.prototype.Ic;h=fj.prototype;h.sc=function(){return hj(this,"throttled")+hj(this,"loading")+hj(this,"new")};h.setOpacity=function(a){this.opacity=a;this.na.forEach(function(a){Fi(a.H,this.opacity)},this)};
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.ma].join("-"),this.Oc.qd()].join("-");var f=this.dd(d,b,c,a);f.tileSize=this.tileSize;Fi(f.H,this.opacity);this.na.set(a,f);this.ba.Z(f,"status-changed",function(){switch(f.getStatus()){case "loaded":this.dispatchEvent(new ij(this.sc()));break;case "throttled":this.dispatchEvent(new jj);break;case "failed":this.dispatchEvent(new kj)}});
this.Oc.zd(f,(new Date).getTime()/1E3);return f.H};h.releaseTile=function(a){var b=this.na.get(a.id);this.na.remove(a.id);b&&(b.abort(),wa(b))};h.c=function(){fj.j.c.call(this);this.na.forEach(wa);this.na.clear();this.na=null;wa(this.ba);this.Oc=this.ba=null};var hj=function(a,b){return Ya(a.na.u(),function(a){return a.getStatus()==b})},ij=function(){z.call(this,"tile-load")};x(ij,z);var jj=function(){z.call(this,"tile-throttle")};x(jj,z);var kj=function(){z.call(this,"tile-fail")};x(kj,z);
var lj=function(a,b,c,d){C.call(this);this.Da=a;this.zoom=b;this.H=c.createElement("div");this.H.id=d;this.pe=5;this.Kb=function(){};this.Lc="new";this.Kd=0;this.Ac=!1};x(lj,C);
var nj=function(a){if(!a.Ac&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");mj(a,"loading");a.fa=new F;a.fa.Ma="blob";a.fa.Z("complete",function(){var a=af(this.fa),c=this.fa.getStatus();429==c&&mj(this,"throttled");if(He(c)){var d={};mb(bf(this.fa),function(a,b){d[b.toLowerCase()]=a});this.ye=d;this.Pd=a;this.Ua()}else if(a){var e=new ej;e.Z("loadend",function(){this.gb(e.C.result)},void 0,this);e.readAsText(a)}else this.gb("Failed to load tile.")},
!1,a);a.fa.cb("ready",ua(wa,a.fa));a.fa.send(a.Ob,"GET")};h=lj.prototype;h.Ua=function(){this.Kb(this);mj(this,"loaded")};h.Ra=function(){wa(this.fa)};h.gb=function(a){if(this.Kd>=this.pe){try{JSON.parse(a)}catch(b){}mj(this,"failed")}else this.Ra(),setTimeout(u(function(){this.W||(this.Ac=!0,nj(this),this.Ac=!1)},this),1E3*Math.pow(2,this.Kd++))};h.abort=function(){this.Ra();mj(this,"aborted")};h.getStatus=function(){return this.Lc};
var mj=function(a,b){a.Lc=b;a.dispatchEvent("status-changed")},oj={aborted:!0,failed:!0,loaded:!0};lj.prototype.c=function(){lj.j.c.call(this);this.Ra();this.H.remove();this.Kb=null};var pj=function(){y.call(this)};x(pj,y);var qj=function(a,b){fj.call(this,a,b);this.Zc=new D;this.gd=new D};x(qj,fj);v("ee.layers.BinaryOverlay",qj);qj.prototype.dd=function(a,b,c,d){var e=new rj(a,b,c,d);this.ba.Z(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Zc.set(a,new Float32Array(e.Yd)),this.gd.set(a,e.H))});return e};qj.prototype.c=function(){qj.j.c.call(this);this.gd=this.Zc=null};var rj=function(a,b,c,d){lj.call(this,a,b,c,d)};x(rj,lj);
rj.prototype.Ua=function(){var a=new ej;a.Z("loadend",function(){this.Yd=a.C.result;lj.prototype.Ua.call(this)},void 0,this);a.readAsArrayBuffer(this.Pd)};var sj=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 tj=function(a,b,c,d){y.call(this);this.Yc=a;this.da=b;this.Nc=d||"";this.Eb=c};x(tj,pj);v("ee.layers.CloudStorageTileSource",tj);tj.prototype.zd=function(a){if(a.zoom<=this.Eb)a.Ob=this.vb(a.Da,a.zoom);else{var b=a.zoom-this.Eb,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.Da.x/c),Math.floor(a.Da.y/c));a.Ob=this.vb(c,a.zoom-b);a.Kb=ua(uj,this.Eb)}var d=u(a.gb,a);a.gb=u(function(b){b&&-1!=b.indexOf("The specified key does not exist.")?mj(a,"loaded"):d(b)},a);nj(a)};
tj.prototype.qd=function(){return[this.Yc,this.da,this.Eb,this.Nc].join("-")};tj.prototype.vb=function(a,b){a=sj("https://storage.googleapis.com",this.Yc,this.da,String(b),String(a.x),String(a.y));this.Nc&&(a+=this.Nc);return a};
var uj=function(a,b){if(!b.zb)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.H.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.H.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.zb,c/a*(b.Da.x%a),c/a*(b.Da.y%a),c/a,c/a,0,0,c,c)};var vj=function(a,b,c,d){y.call(this);this.Tc=a;this.Ad=b;this.ib=c;this.J=d||null};x(vj,pj);v("ee.layers.EarthEngineTileSource",vj);vj.prototype.zd=function(a,b){var c=jc(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var b=a.ye["x-earth-engine-computation-profile"];this.J&&b&&this.J.Vd(a.H.id,b);break;case "failed":case "aborted":this.J&&""!==a.H.id&&this.J.we(a.H.id),rc(c)}},void 0,this);a.Ob=this.vb(a.Da,a.zoom);var d=u(this.uc,this,a);wj().Wa(d,b)};
vj.prototype.qd=function(){return[this.Ad,this.ib].join("-")};vj.prototype.uc=function(a,b){var c=wj();if(a.W||"aborted"==a.getStatus())Si(c,b);else{var d=jc(a,"status-changed",function(){a.Lc in oj&&(rc(d),Si(c,b))});nj(a)}};vj.prototype.vb=function(a,b){a=[this.Tc,this.Ad,b,a.x,a.y].join("/");a+="?token="+this.ib;this.J&&this.J.isEnabled()&&(a+="&profiling=1");return a};var wj=function(){xj||(xj=new Ui(0,4));return xj},xj=null;var yj=function(a,b){fj.call(this,a,b)};x(yj,fj);v("ee.layers.ImageOverlay",yj);yj.prototype.dd=function(a,b,c,d){return new zj(a,b,c,d)};var zj=function(a,b,c,d){lj.call(this,a,b,c,d);this.Kb=Aj;this.td=this.D=this.zb=null;this.Fb=""};x(zj,lj);
zj.prototype.Ua=function(){try{var a=this.Fb=URL.createObjectURL(this.Pd)}catch(b){a=this.Ob}this.D=new Ji;Li(this.D,this.H.id+"-image",a);this.td=ic(this.D,Bj,function(a){"load"==a.type?(this.zb=a.target,lj.prototype.Ua.call(this)):this.gb()},void 0,this);this.D.start()};zj.prototype.Ra=function(){zj.j.Ra.call(this);this.D&&(rc(this.td),wa(this.D))};zj.prototype.c=function(){zj.j.c.call(this);this.Fb&&URL.revokeObjectURL(this.Fb)};var Bj=["load","abort","error"],Aj=function(a){a.H.appendChild(a.zb)};(function(){var a={},b="ee.Filter.prototype.not ee.Serializer.toReadableJSON ee.Geometry.LineString ee.Geometry.Rectangle ee.initialize ee.Date ee.data.getMapId ee.data.getAuthClientId ee.Image.prototype.expression ee.Geometry.Polygon ee.Collection.prototype.map ee.Geometry.Point ee.Geometry.LinearRing ee.data.clearAuthToken ee.Collection.prototype.filterBounds ee.data.getInfo ee.ImageCollection.prototype.getInfo ee.Deserializer.decode ee.data.getTableDownloadId ee.Feature ee.ComputedObject.prototype.evaluate ee.ImageCollection ee.Image.prototype.getMap ee.data.getAuthScopes ee.ApiFunction.lookup ee.ImageCollection.prototype.select ee.Geometry.prototype.toGeoJSON ee.Filter.metadata ee.Filter.lt ee.data.getApiBaseUrl ee.List ee.Feature.prototype.getInfo ee.Collection.prototype.filter ee.Function.prototype.apply ee.data.authenticateViaOauth ee.data.authenticateViaPrivateKey ee.Filter.lte ee.data.authenticate ee.Serializer.encode ee.Feature.prototype.getMap ee.ComputedObject.prototype.serialize ee.Algorithms ee.TILE_SIZE ee.Collection.prototype.limit ee.Terrain ee.FeatureCollection.prototype.getInfo ee.Image ee.reset ee.Image.prototype.getThumbURL ee.data.authenticateViaPopup ee.apply ee.Image.prototype.getDownloadURL ee.data.makeTableDownloadUrl ee.Collection.prototype.sort ee.data.getTileBaseUrl ee.Filter ee.Image.prototype.clip ee.data.getXsrfToken ee.Geometry.prototype.serialize ee.Function.prototype.call ee.data.getDownloadId ee.call ee.Geometry ee.ApiFunction._apply ee.ComputedObject.prototype.aside ee.data.getList ee.Filter.and ee.data.setDeadline ee.data.setAuthToken ee.Geometry.MultiPoint ee.data.getValue ee.FeatureCollection.prototype.getDownloadURL ee.data.getAuthToken ee.Filter.or ee.Image.prototype.rename ee.Filter.eq ee.Filter.gt ee.Element.prototype.set ee.FeatureCollection.prototype.getMap ee.Serializer.toJSON ee.data.makeThumbUrl ee.InitState ee.ImageCollection.prototype.getMap ee.data.makeDownloadUrl ee.Geometry.MultiPolygon ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.FeatureCollection.prototype.select ee.Image.prototype.getInfo ee.Filter.inList ee.Deserializer.fromJSON ee.FeatureCollection ee.Image.rgb ee.Filter.bounds ee.data.setAuthTokenRefresher ee.ApiFunction._call ee.Image.prototype.select ee.Number ee.data.getTileUrl ee.String ee.Filter.gte ee.Filter.neq ee.ComputedObject.prototype.getInfo ee.data.getThumbId ee.Filter.date ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiLineString ee.Image.cat ee.Collection.prototype.filterMetadata ee.Dictionary".split(" "),
c=[[],["obj"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],["date","opt_tz"],["params","opt_callback"],[],["expression","opt_map"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["algorithm","opt_dropNulls"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["geometry"],["id","opt_callback"],["opt_callback"],
["json"],["params","opt_callback"],["geometry","opt_properties"],["callback"],["args"],["opt_visParams","opt_callback"],[],["name"],["selectors","opt_names"],[],["name","operator","value"],["name","value"],[],["list"],["opt_callback"],["newFilter"],["namedArgs"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["privateKey","opt_success","opt_error","opt_extraScopes"],["name","value"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["obj","opt_isCompound"],
["opt_visParams","opt_callback"],[],[],[],["max","opt_property","opt_ascending"],[],["opt_callback"],["opt_args"],[],["params","opt_callback"],["opt_success","opt_error"],["func","namedArgs"],["params","opt_callback"],["id"],["property","opt_ascending"],[],["opt_filter"],["geometry"],[],[],["var_args"],["params","opt_callback"],["func","var_args"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["name","namedArgs"],["func","var_args"],["params","opt_callback"],["var_args"],["milliseconds"],"clientId tokenType accessToken expiresIn opt_extraScopes opt_callback opt_updateAuthLibrary".split(" "),
["coords","opt_proj"],["params","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],[],["var_args"],["var_args"],["name","value"],["name","value"],["var_args"],["opt_visParams","opt_callback"],["obj"],["id"],[],["opt_visParams","opt_callback"],["id"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["start","opt_end"],["algorithm","opt_first"],["selectors","opt_names"],["opt_callback"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["json"],
["args","opt_column"],["r","g","b"],["geometry","opt_errorMargin"],["refresher"],["name","var_args"],["var_args"],["number"],["mapid","x","y","z"],["string"],["name","value"],["name","value"],["opt_callback"],["params","opt_callback"],["start","opt_end"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["var_args"],["name","operator","value"],["opt_dict"]];[R.prototype.Ha,Ag,Nh,Mh,ti,Ch,Yf,Kf,W.prototype.nc,Qh,S.prototype.map,Ih,Oh,If,S.prototype.kd,kg,X.prototype.Y,Uh,eg,U,I.prototype.evaluate,
X,W.prototype.getMap,Lf,Mg,X.prototype.select,T.prototype.Rc,ph,gh,Uf,bi,U.prototype.Y,S.prototype.filter,K.prototype.apply,Af,Ef,jh,Bf,yg,U.prototype.getMap,I.prototype.v,vi,256,S.prototype.limit,ni,V.prototype.Y,W,wi,W.prototype.tc,zf,zi,W.prototype.ra,fg,S.prototype.sort,Vf,R,W.prototype.clip,Wf,T.prototype.v,K.prototype.call,cg,yi,T,Ng,I.prototype.Vc,lg,kh,Sf,Ff,Lh,$f,V.prototype.ra,Jf,lh,W.prototype.Jd,eh,ih,Q.prototype.set,V.prototype.getMap,zg,bg,xi,X.prototype.getMap,dg,Rh,S.prototype.oc,
S.prototype.wd,V.prototype.select,W.prototype.Y,nh,Vh,V,ji,oh,Gf,M,W.prototype.select,sh,Zf,vh,hh,fh,I.prototype.Y,ag,mh,T.prototype.Sc,Ph,ki,S.prototype.pc,Xh].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});k.EXPORTED_FN_INFO=a})();}).call(this);