diff --git a/javascript/build/ee_api_js.js b/javascript/build/ee_api_js.js index 98fa9713d..b59852192 100644 --- a/javascript/build/ee_api_js.js +++ b/javascript/build/ee_api_js.js @@ -1,17 +1,17 @@ (function(){var h,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e}); +da("Symbol",function(a){if(a)return a;var b=function(g,f){this.Vi=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.Vi};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e}); da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c>>0),Ba=0,Da=function(a,b,c){return a.call.apply(a.bind, arguments)},Ea=function(a,b,c){if(!a)throw Error();if(2c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b|| @@ -56,10 +56,10 @@ Vb.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=vo e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(gc(b.toString()),d);else if(a.addListener&&a.removeListener)B("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");$b++;return c},fc=function(){var a=hc,b=function(c){return a.call(b.src,b.listener,c)};return b},ac=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g>>0),cc=function(a){B(a,"Listener can not be null.");if("function"===typeof a)return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[kc]||(a[kc]=function(b){return a.handleEvent(b)}); -return a[kc]};var D=function(){y.call(this);this.Ia=new Vb(this);this.Kk=this;this.Uf=null};x(D,y);D.prototype[Ab]=!0;h=D.prototype;h.addEventListener=function(a,b,c,d){bc(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){ic(this,a,b,c,d)}; -h.dispatchEvent=function(a){lc(this);var b=this.Uf;if(b){var c=[];for(var d=1;b;b=b.Uf)c.push(b),B(1E3>++d,"infinite loop")}b=this.Kk;d=a.type||a;if("string"===typeof 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);Ub(a,e)}e=!0;if(c)for(var g=c.length-1;!a.ed&&0<=g;g--){var f=a.currentTarget=c[g];e=mc(f,d,!0,a)&&e}a.ed||(f=a.currentTarget=b,e=mc(f,d,!0,a)&&e,a.ed||(e=mc(f,d,!1,a)&&e));if(c)for(g=0;!a.ed&&g++d,"infinite loop")}b=this.Lk;d=a.type||a;if("string"===typeof 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);Ub(a,e)}e=!0;if(c)for(var g=c.length-1;!a.ed&&0<=g;g--){var f=a.currentTarget=c[g];e=mc(f,d,!0,a)&&e}a.ed||(f=a.currentTarget=b,e=mc(f,d,!0,a)&&e,a.ed||(e=mc(f,d,!1,a)&&e));if(c)for(g=0;!a.ed&&g=a.length)return sc;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},uc=function(a,b){if(ya(a))Ua(a,b);else for(a=tc(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var yc=function(a){if(a instanceof vc||a instanceof wc||a instanceof xc)return a;if("function"==typeof a.next)return new vc(function(){return a});if("function"==typeof a[Symbol.iterator])return new vc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Da)return new vc(function(){return a.Da()});throw Error("Not an iterator or iterable.");},vc=function(a){this.uf=a};vc.prototype.Da=function(){return new wc(this.uf())};vc.prototype[Symbol.iterator]=function(){return new xc(this.uf())}; vc.prototype.xg=function(){return new xc(this.uf())};var wc=function(a){this.Sc=a};q(wc,rc);wc.prototype.next=function(){return this.Sc.next()};wc.prototype[Symbol.iterator]=function(){return new xc(this.Sc)};wc.prototype.xg=function(){return new xc(this.Sc)};var xc=function(a){vc.call(this,function(){return a});this.Sc=a};q(xc,vc);xc.prototype.next=function(){return this.Sc.next()};var zc=function(a,b){this.A={};this.K=[];this.qd=this.size=0;var c=arguments.length;if(1c)return!1;!(b instanceof Ic)&&5e&&(e+=d);return[a.il,c,e,b.y].join("/")};Nc.prototype.Nc=function(){return this.Ab.length};var Pc=function(a){z.call(this,"tileevent");this.count=a};x(Pc,z);var Qc=function(){},Rc=new Qc;function Sc(a){return Object.assign({},{P:{},Nl:{},keys:[],Ma:{},s:{},H:{},sh:!1},a)}var E=function(){this.h={}},F=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},G=function(a,b){return null!=a.h[b]};function Tc(a,b){return F(b,a)}function Uc(a,b,c){b[a]=c}function Vc(){return{}}function Wc(a,b){var c=new a;return null==b?c:Xc(b,Yc,Zc,$c,a)}function Yc(a,b){return b[a]}function Zc(a,b,c){b.h[a]=c} +Ic.prototype[Symbol.iterator]=function(){return this.values()};Ic.prototype.mb=function(a){this.size=a};var Nc=function(a,b,c){D.call(this);this.jl=b;this.token=c;this.Ab=[];this.vg=new Ic;this.yb=0;this.url=a};x(Nc,D);w("ee.AbstractOverlay",Nc);var Oc=function(a,b,c){var d=1<e&&(e+=d);return[a.jl,c,e,b.y].join("/")};Nc.prototype.Nc=function(){return this.Ab.length};var Pc=function(a){z.call(this,"tileevent");this.count=a};x(Pc,z);var Qc=function(){},Rc=new Qc;function Sc(a){return Object.assign({},{P:{},Ol:{},keys:[],Ma:{},s:{},H:{},sh:!1},a)}var E=function(){this.h={}},F=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},G=function(a,b){return null!=a.h[b]};function Tc(a,b){return F(b,a)}function Uc(a,b,c){b[a]=c}function Vc(){return{}}function Wc(a,b){var c=new a;return null==b?c:Xc(b,Yc,Zc,$c,a)}function Yc(a,b){return b[a]}function Zc(a,b,c){b.h[a]=c} function $c(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function Xc(a,b,c,d,e){e=d(e);for(var g=ad(a,e),f=g.P||{},l=g.s||{},m=g.Ma||{},p=n(g.keys||[]),v=p.next(),A={};!v.done;A={Wd:void 0},v=p.next()){v=v.value;var C=b(v,a);if(null!=C){var J=void 0;if(f.hasOwnProperty(v)){if(g.sh&&0===C.length)continue;J=bd(C,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))J=bd(C,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))A.Wd=m[v],J=A.Wd.pa?C.map(function(fa){return function(X){return cd(X,fa.Wd,b,c,d)}}(A)):cd(C,A.Wd,b,c,d);else if(Array.isArray(C)){if(g.sh&&0===C.length)continue; J=bd(C,b,c,d,!0,!1)}else J=C instanceof Qc?null:C;c(v,e,J)}}return e}function cd(a,b,c,d,e){for(var g={},f=n(Object.keys(a)),l=f.next();!l.done;l=f.next()){l=l.value;var m=a[l];null!=m&&(g[l]=bd(m,c,d,e,b.ra,b.qa,b.ka))}return g} -function bd(a,b,c,d,e,g,f){if(g&&null==f)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&g?a.map(function(l){return Xc(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Xc(a,b,c,d,f):a instanceof Qc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function ad(a,b){if(b instanceof E)a=Sc(b.i());else if(a instanceof E)a=Sc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var dd;var fd=function(a,b){if(b!==ed)throw Error("TrustedResourceUrl is not meant to be built directly");this.ji=a};fd.prototype.toString=function(){return this.ji+""}; -var gd=function(a){if(a instanceof fd&&a.constructor===fd)return a.ji;Na("expected object of type TrustedResourceUrl, got '%s' of type %s",a,xa(a));return"type_error:TrustedResourceUrl"},ed={},hd=function(a){if(void 0===dd){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ga,createScript:Ga,createScriptURL:Ga})}catch(d){r.console&&r.console.error(d.message)}dd=b}a=(b=dd)?b.createScriptURL(a):a;return new fd(a,ed)};/* +function bd(a,b,c,d,e,g,f){if(g&&null==f)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&g?a.map(function(l){return Xc(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Xc(a,b,c,d,f):a instanceof Qc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function ad(a,b){if(b instanceof E)a=Sc(b.i());else if(a instanceof E)a=Sc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var dd;var fd=function(a,b){if(b!==ed)throw Error("TrustedResourceUrl is not meant to be built directly");this.ki=a};fd.prototype.toString=function(){return this.ki+""}; +var gd=function(a){if(a instanceof fd&&a.constructor===fd)return a.ki;Na("expected object of type TrustedResourceUrl, got '%s' of type %s",a,xa(a));return"type_error:TrustedResourceUrl"},ed={},hd=function(a){if(void 0===dd){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ga,createScript:Ga,createScriptURL:Ga})}catch(d){r.console&&r.console.error(d.message)}dd=b}a=(b=dd)?b.createScriptURL(a):a;return new fd(a,ed)};/* SPDX-License-Identifier: Apache-2.0 */ -var id=ia([""]),jd=ja(["\x00"],["\\0"]),kd=ja(["\n"],["\\n"]),ld=ja(["\x00"],["\\u0000"]),md=ia([""]),nd=ja(["\x00"],["\\0"]),od=ja(["\n"],["\\n"]),pd=ja(["\x00"],["\\u0000"]);function qd(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function rd(a){return-1===a.toString().indexOf("`")}var sd=rd(function(a){return a(id)})||rd(function(a){return a(jd)})||rd(function(a){return a(kd)})||rd(function(a){return a(ld)}),td=qd(md)&&qd(nd)&&qd(od)&&qd(pd);var ud={};var vd=function(){if(ud!==ud)throw Error("Bad secret");};vd.prototype.toString=function(){return this.ki};function wd(a){var b=new vd;b.ki=a;return b}wd("about:blank");var xd=wd("about:invalid#zClosurez");function yd(a){if(a instanceof vd)return a.ki;throw Error("Unexpected type when unwrapping SafeUrl, got '"+a+"' of type '"+typeof a+"'");};function zd(a){if("undefined"!==typeof MediaSource&&a instanceof MediaSource)return wd(URL.createObjectURL(a));var b=a.type.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i);if(2!==(null==b?void 0:b.length)||!(/^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif|avif|x-ms-bmp)$/i.test(b[1])||/^video\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||/^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(b[1])||/^font\/\w+/i.test(b[1])))throw Error("unsafe blob MIME type: "+ -a.type);return wd(URL.createObjectURL(a))}var Ad=[],Bd=function(a){console.warn("A URL with content '"+a+"' was sanitized away.")};-1===Ad.indexOf(Bd)&&Ad.push(Bd);var Cd={},Dd=function(){if(Cd!==Cd)throw Error("SafeStyle is not meant to be built directly");this.ql=""};Dd.prototype.toString=function(){return this.ql.toString()};new Dd;var Ed={},Fd=function(){if(Ed!==Ed)throw Error("SafeStyleSheet is not meant to be built directly");this.pl=""};Fd.prototype.toString=function(){return this.pl.toString()};new Fd;var Gd={},Hd=function(){var a=r.trustedTypes&&r.trustedTypes.emptyHTML||"";if(Gd!==Gd)throw Error("SafeHtml is not meant to be built directly");this.ol=a};Hd.prototype.toString=function(){return this.ol.toString()};new Hd;var Id=function(a,b){this.name=a;this.value=b};Id.prototype.toString=function(){return this.name};var Jd=new Id("OFF",Infinity),Kd=new Id("SEVERE",1E3),Ld=new Id("CONFIG",700),Md=new Id("FINE",500),Nd=function(){this.Dd=0;this.clear()},Od;Nd.prototype.clear=function(){this.Ad=Array(this.Dd);this.kh=-1;this.Jh=!1};var Pd=function(a,b,c){this.reset(a||Jd,b,c,void 0,void 0)};Pd.prototype.reset=function(){}; -var Qd=function(a,b){this.level=null;this.Zk=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.gl={wf:function(){return a}}},Rd=function(a){if(a.level)return a.level;if(a.parent)return Rd(a.parent);Na("Root logger has no level set.");return Jd},Sd=function(a,b){for(;a;)a.Zk.forEach(function(c){c(b)}),a=a.parent},Td=function(){this.entries={};var a=new Qd("");a.level=Ld;this.entries[""]=a},Ud,Vd=function(a,b){var c=a.entries[b];if(c)return c;c=Vd(a,b.slice(0,Math.max(b.lastIndexOf("."), -0)));var d=new Qd(b,c);a.entries[b]=d;c.children.push(d);return d},Wd=function(){Ud||(Ud=new Td);return Ud},Xd=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?Rd(Vd(Wd(),a.wf())):Jd;d=d>=e.value}if(d){b=b||Jd;d=Vd(Wd(),a.wf());"function"===typeof c&&(c=c());Od||(Od=new Nd);e=Od;a=a.wf();if(0b)throw Error("Bad port number "+b);a.vc=b}else a.vc=null};de.prototype.getPath=function(){return this.Zb};de.prototype.setPath=function(a,b){ge(this);this.Zb=b?je(a,!0):a;return this};var ie=function(a,b,c){ge(a);b instanceof ke?(a.Ba=b,a.Ba.hg(a.za)):(c||(b=le(b,qe)),a.Ba=new ke(b,a.za))};de.prototype.getQuery=function(){return this.Ba.toString()}; -de.prototype.removeParameter=function(a){ge(this);this.Ba.remove(a);return this};var ge=function(a){if(a.cl)throw Error("Tried to modify a read-only Uri");};de.prototype.hg=function(a){this.za=a;this.Ba&&this.Ba.hg(a)}; -var re=function(a){return a instanceof de?a.clone():new de(a)},je=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},le=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,se),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},se=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},me=/[#\/\?@]/g,oe=/[#\?:]/g,ne=/[#\?]/g,qe=/[#\?@]/g,pe=/#/g,ke=function(a,b){this.Y=this.N=null;this.ta=a||null;this.za=!!b},te= -function(a){a.N||(a.N=new Map,a.Y=0,a.ta&&ce(a.ta,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=ke.prototype;h.R=function(){te(this);return this.Y};h.add=function(a,b){te(this);this.ta=null;a=ue(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.Y=Oa(this.Y)+1;return this};h.remove=function(a){te(this);a=ue(this,a);return this.N.has(a)?(this.ta=null,this.Y=Oa(this.Y)-this.N.get(a).length,this.N.delete(a)):!1};h.clear=function(){this.N=this.ta=null;this.Y=0}; -h.isEmpty=function(){te(this);return 0==this.Y};h.Pb=function(a){te(this);a=ue(this,a);return this.N.has(a)};h.Ic=function(a){var b=this.aa();return $a(b,a)};h.forEach=function(a,b){te(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.tb=function(){te(this);for(var a=Array.from(this.N.values()),b=Array.from(this.N.keys()),c=[],d=0;d=e.value}if(d){b=b||Id;d=Ud(Vd(),a.wf());"function"===typeof c&&(c=c());Nd||(Nd=new Md);e=Nd;a=a.wf();if(0b)throw Error("Bad port number "+b);a.vc=b}else a.vc=null};ce.prototype.getPath=function(){return this.Zb};ce.prototype.setPath=function(a,b){fe(this);this.Zb=b?ie(a,!0):a;return this};var he=function(a,b,c){fe(a);b instanceof je?(a.Ba=b,a.Ba.hg(a.za)):(c||(b=ke(b,pe)),a.Ba=new je(b,a.za))};ce.prototype.getQuery=function(){return this.Ba.toString()}; +ce.prototype.removeParameter=function(a){fe(this);this.Ba.remove(a);return this};var fe=function(a){if(a.dl)throw Error("Tried to modify a read-only Uri");};ce.prototype.hg=function(a){this.za=a;this.Ba&&this.Ba.hg(a)}; +var qe=function(a){return a instanceof ce?a.clone():new ce(a)},ie=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},ke=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,re),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},re=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},le=/[#\/\?@]/g,ne=/[#\?:]/g,me=/[#\?]/g,pe=/[#\?@]/g,oe=/#/g,je=function(a,b){this.Y=this.N=null;this.ta=a||null;this.za=!!b},se= +function(a){a.N||(a.N=new Map,a.Y=0,a.ta&&be(a.ta,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=je.prototype;h.R=function(){se(this);return this.Y};h.add=function(a,b){se(this);this.ta=null;a=te(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.Y=Oa(this.Y)+1;return this};h.remove=function(a){se(this);a=te(this,a);return this.N.has(a)?(this.ta=null,this.Y=Oa(this.Y)-this.N.get(a).length,this.N.delete(a)):!1};h.clear=function(){this.N=this.ta=null;this.Y=0}; +h.isEmpty=function(){se(this);return 0==this.Y};h.Pb=function(a){se(this);a=te(this,a);return this.N.has(a)};h.Ic=function(a){var b=this.aa();return $a(b,a)};h.forEach=function(a,b){se(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.tb=function(){se(this);for(var a=Array.from(this.N.values()),b=Array.from(this.N.keys()),c=[],d=0;d