(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var k,aa=function(a){var b=0;return function(){return b=e}}); da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ma(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g=f}});da("String.prototype.repeat",function(a){return a?a:function(b){var c=ma(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); var na=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},oa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;cc&&(c=Math.max(c+e,0));c>>0),za=0,Ba=function(a,b,c){return a.call.apply(a.bind,arguments)},Ca=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|| 1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Sa=Array.prototype.forEach?function(a,b,c){z(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;fb?null:"string"===typeof a?a.charAt(b):a[b]}function $a(a,b){return 0<=Qa(a,b)}function ab(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function bb(a,b){b=Qa(a,b);var c;(c=0<=b)&&cb(a,b);return c}function cb(a,b){z(null!=a.length);Array.prototype.splice.call(a,b,1)} function db(a){return Array.prototype.concat.apply([],arguments)}function eb(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)} function hb(a){for(var b={},c=0,d=0;da-0)return[];for(var c=0;c/g,ob=/"/g,pb=/'/g,qb=/\x00/g,rb=/[\x00&<>"']/,sb=function(a,b){return ab?1:0};var tb;a:{var ub=r.navigator;if(ub){var vb=ub.userAgent;if(vb){tb=vb;break a}}tb=""}var wb=function(a){return-1!=tb.indexOf(a)};var xb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},yb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Ab=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Bb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Cb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Db=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Eb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Gb=function(a){var b= Fb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Hb=function(a){for(var b in a)return!1;return!0},Ib=function(a,b){b in a&&delete a[b]},Jb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Kb=function(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=Kb(a[c]);return b}, Lb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Mb=function(a,b){for(var c,d,e=1;e"}else f=void 0===a?"undefined":null===a?"null":typeof a;La("Argument is not a %s (or a non-Element, non-Location mock); got: %s", "HTMLScriptElement",f)}a.src=Vb(b);(b=a.ownerDocument&&a.ownerDocument.defaultView)&&b!=r?b=ta(b.document):(null===sa&&(sa=ta(r.document)),b=sa);b&&a.setAttribute("nonce",b)};var gc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1")&&(a=a.replace(nb,">")),-1!=a.indexOf('"')&&(a=a.replace(ob,""")),-1!=a.indexOf("'")&&(a=a.replace(pb,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(qb,"�")));return a},ic=function(a){var b=1;a= a.split(":");for(var c=[];0parseFloat(tc)){sc=String(vc);break a}}sc=tc} var wc=sc,kc={},xc=function(a){return lc(a,function(){for(var b=0,c=kb(String(wc)).split("."),d=kb(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f=a.keyCode)a.keyCode=-1}catch(b){}};var Hc="closure_listenable_"+(1E6*Math.random()|0),Ic=function(a){return!(!a||!a[Hc])};var Jc=0;var Kc=function(a,b,c,d,e){this.listener=a;this.Pd=null;this.src=b;this.type=c;this.capture=!!d;this.mb=e;this.key=++Jc;this.xc=this.td=!1},Lc=function(a){a.xc=!0;a.listener=null;a.Pd=null;a.src=null;a.mb=null};var Mc=function(a){this.src=a;this.aa={};this.jd=0};Mc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.aa[f];a||(a=this.aa[f]=[],this.jd++);var g=Nc(a,b,d,e);-1d.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.$b&&0<=e;e--){b.currentTarget=d[e];var f=cd(d[e],a,!0,b);c=c&&f}for(e=0;!b.$b&&e>>0),Uc=function(a){z(a,"Listener can not be null.");if("function"===typeof a)return a;z(a.handleEvent,"An object listener must have handleEvent method.");a[dd]||(a[dd]=function(b){return a.handleEvent(b)});return a[dd]};var A=function(){Ga.call(this);this.Ia=new Mc(this);this.wj=this;this.Af=null};x(A,Ga);A.prototype[Hc]=!0;k=A.prototype;k.addEventListener=function(a,b,c,d){Tc(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){$c(this,a,b,c,d)}; k.dispatchEvent=function(a){ed(this);var b=this.Af;if(b){var c=[];for(var d=1;b;b=b.Af)c.push(b),z(1E3>++d,"infinite loop")}b=this.wj;d=a.type||a;if("string"===typeof a)a=new y(a,b);else if(a instanceof y)a.target=a.target||b;else{var e=a;a=new y(d,b);Mb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.$b&&0<=f;f--){var g=a.currentTarget=c[f];e=fd(g,d,!0,a)&&e}a.$b||(g=a.currentTarget=b,e=fd(g,d,!0,a)&&e,a.$b||(e=fd(g,d,!1,a)&&e));if(c)for(f=0;!a.$b&&f=a.length)throw gd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},jd=function(a,b){if(wa(a))try{Sa(a,b,void 0)}catch(c){if(c!==gd)throw c;}else{a=id(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==gd)throw c;}}};var kd=function(a,b){this.D={};this.J=[];this.ld=this.K=0;var c=arguments.length;if(12*this.K&&ld(this),!0):!1};var ld=function(a){if(a.K!=a.J.length){for(var b=0,c=0;b=d.J.length)throw gd;var f=d.J[b++];return a?f:d.D[f]};return e};var md=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var od=function(a){if(a.O&&"function"==typeof a.O)a=a.O();else if(wa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},pd=function(a){if(a.T&&"function"==typeof a.T)return a.T();if("string"===typeof a)return a.split("");if(wa(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof td)&&5e&&(e+=d);return[a.Tj,c,e,b.y].join("/")};yd.prototype.Rc=function(){return this.Bb.length};var Ad=function(a){y.call(this,"tileevent");this.count=a};x(Ad,y);var Bd=function(){},Cd=new Bd;function Dd(a){return Object.assign({R:{},tk:{},keys:[],Ca:{},u:{},L:{}},a)}var B=function(){this.h={}},D=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},F=function(a,b){return null!=a.h[b]};function Ed(a,b){return D(b,a)}function Fd(a,b,c){b[a]=c}function Gd(){return{}}function Hd(a,b){var c=new a;return null==b?c:Id(b,Jd,Kd,Ld,a)}function Jd(a,b){return b[a]}function Kd(a,b,c){b.h[a]=c} function Ld(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function Id(a,b,c,d,e){e=d(e);var f=Md(a,e),g=f.R||{},h=f.u||{},m=f.Ca||{},p={};f=n(f.keys||[]);for(var t=f.next();!t.done;p={Fc:p.Fc},t=f.next()){t=t.value;var C=b(t,a);if(null!=C){var E=void 0;g.hasOwnProperty(t)?E=Nd(C,b,c,d,!0,!0,g[t]):h.hasOwnProperty(t)?E=Nd(C,b,c,d,!1,!0,h[t]):m.hasOwnProperty(t)?(p.Fc=m[t],E=p.Fc.oa?C.map(function(V){return function(Y){return Od(Y,V.Fc,b,c,d)}}(p)):Od(C,p.Fc,b,c,d)):E=Array.isArray(C)?Nd(C,b,c,d,!0,!1):C instanceof Bd?null:C;c(t,e,E)}}return e} function Od(a,b,c,d,e){for(var f={},g=n(Object.keys(a)),h=g.next();!h.done;h=g.next()){h=h.value;var m=a[h];null!=m&&(f[h]=Nd(m,c,d,e,b.qa,b.pa,b.ia))}return f}function Nd(a,b,c,d,e,f,g){if(f&&null==g)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&f?a.map(function(h){return Id(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Id(a,b,c,d,g):a instanceof Bd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a} function Md(a,b){if(b instanceof B)a=Dd(b.i());else if(a instanceof B)a=Dd(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Pd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Qd=function(a,b){if(a){a=a.split("&");for(var c=0;cb)throw Error("Bad port number "+b);a.wc=b}else a.wc=null};Rd.prototype.getPath=function(){return this.nb};Rd.prototype.setPath=function(a,b){Td(this);this.nb=b?Wd(a,!0):a;return this};var Vd=function(a,b,c){Td(a);b instanceof Xd?(a.Da=b,a.Da.Of(a.Aa)):(c||(b=Yd(b,ce)),a.Da=new Xd(b,a.Aa))};Rd.prototype.getQuery=function(){return this.Da.toString()}; Rd.prototype.removeParameter=function(a){Td(this);this.Da.remove(a);return this};var Td=function(a){if(a.Oj)throw Error("Tried to modify a read-only Uri");};Rd.prototype.Of=function(a){this.Aa=a;this.Da&&this.Da.Of(a)}; var de=function(a){return a instanceof Rd?a.clone():new Rd(a,void 0)},Wd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Yd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,fe),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},fe=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Zd=/[#\/\?@]/g,ae=/[#\?:]/g,$d=/[#\?]/g,ce=/[#\?@]/g,be=/#/g,Xd=function(a,b){this.K=this.P=null;this.ua=a||null;this.Aa=!!b}, ge=function(a){a.P||(a.P=new kd,a.K=0,a.ua&&Qd(a.ua,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Xd.prototype;k.O=function(){ge(this);return this.K};k.add=function(a,b){ge(this);this.ua=null;a=he(this,a);var c=this.P.get(a);c||this.P.set(a,c=[]);c.push(b);this.K=Ma(this.K)+1;return this};k.remove=function(a){ge(this);a=he(this,a);return this.P.ub(a)?(this.ua=null,this.K=Ma(this.K)-this.P.get(a).length,this.P.remove(a)):!1};k.clear=function(){this.P=this.ua=null;this.K=0}; k.isEmpty=function(){ge(this);return 0==this.K};k.ub=function(a){ge(this);a=he(this,a);return this.P.ub(a)};k.Kc=function(a){var b=this.T();return $a(b,a)};k.forEach=function(a,b){ge(this);this.P.forEach(function(c,d){Sa(c,function(e){a.call(b,e,d,this)},this)},this)};k.La=function(){ge(this);for(var a=this.P.T(),b=this.P.La(),c=[],d=0;d