(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)},zb=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>>0),Sc=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[$c]||(a[$c]=function(b){return a.handleEvent(b)}); return a[$c]};var A=function(){Ga.call(this);this.Ia=new Kc(this);this.xj=this;this.Af=null};x(A,Ga);A.prototype[Fc]=!0;k=A.prototype;k.addEventListener=function(a,b,c,d){Rc(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){Yc(this,a,b,c,d)}; k.dispatchEvent=function(a){ad(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.xj;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.bd&&0<=f;f--){var g=a.currentTarget=c[f];e=bd(g,d,!0,a)&&e}a.bd||(g=a.currentTarget=b,e=bd(g,d,!0,a)&&e,a.bd||(e=bd(g,d,!1,a)&&e));if(c)for(f=0;!a.bd&&f=a.length)throw cd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},fd=function(a,b){if(wa(a))try{Sa(a,b,void 0)}catch(c){if(c!==cd)throw c;}else{a=ed(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==cd)throw c;}}};var gd=function(a,b){this.D={};this.J=[];this.ld=this.K=0;var c=arguments.length;if(12*this.K&&hd(this),!0):!1};var hd=function(a){if(a.K!=a.J.length){for(var b=0,c=0;b=d.J.length)throw cd;var f=d.J[b++];return a?f:d.D[f]};return e};var id=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var kd=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},ld=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 pd)&&5e&&(e+=d);return[a.Uj,c,e,b.y].join("/")};ud.prototype.Pc=function(){return this.Bb.length};var wd=function(a){y.call(this,"tileevent");this.count=a};x(wd,y);var xd=function(){},yd=new xd;function zd(a){return Object.assign({R:{},uk:{},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 Ad(a,b){return D(b,a)}function Bd(a,b,c){b[a]=c}function Cd(){return{}}function Dd(a,b){var c=new a;return null==b?c:Ed(b,Fd,Gd,Hd,a)}function Fd(a,b){return b[a]}function Gd(a,b,c){b.h[a]=c} function Hd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function Ed(a,b,c,d,e){e=d(e);var f=Id(a,e),g=f.R||{},h=f.u||{},m=f.Ca||{},p={};f=n(f.keys||[]);for(var t=f.next();!t.done;p={Dc:p.Dc},t=f.next()){t=t.value;var C=b(t,a);if(null!=C){var E=void 0;g.hasOwnProperty(t)?E=Jd(C,b,c,d,!0,!0,g[t]):h.hasOwnProperty(t)?E=Jd(C,b,c,d,!1,!0,h[t]):m.hasOwnProperty(t)?(p.Dc=m[t],E=p.Dc.pa?C.map(function(V){return function(Y){return Kd(Y,V.Dc,b,c,d)}}(p)):Kd(C,p.Dc,b,c,d)):E=Array.isArray(C)?Jd(C,b,c,d,!0,!1):C instanceof xd?null:C;c(t,e,E)}}return e} function Kd(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]=Jd(m,c,d,e,b.ra,b.qa,b.ja))}return f}function Jd(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 Ed(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Ed(a,b,c,d,g):a instanceof xd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a} function Id(a,b){if(b instanceof B)a=zd(b.i());else if(a instanceof B)a=zd(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Ld=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Md=function(a,b){if(a){a=a.split("&");for(var c=0;cb)throw Error("Bad port number "+b);a.vc=b}else a.vc=null};Nd.prototype.getPath=function(){return this.nb};Nd.prototype.setPath=function(a,b){Pd(this);this.nb=b?Sd(a,!0):a;return this};var Rd=function(a,b,c){Pd(a);b instanceof Td?(a.Da=b,a.Da.Of(a.Aa)):(c||(b=Ud(b,Zd)),a.Da=new Td(b,a.Aa))};Nd.prototype.getQuery=function(){return this.Da.toString()}; Nd.prototype.removeParameter=function(a){Pd(this);this.Da.remove(a);return this};var Pd=function(a){if(a.Pj)throw Error("Tried to modify a read-only Uri");};Nd.prototype.Of=function(a){this.Aa=a;this.Da&&this.Da.Of(a)}; var $d=function(a){return a instanceof Nd?a.clone():new Nd(a,void 0)},Sd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ud=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,ae),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},ae=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Vd=/[#\/\?@]/g,Xd=/[#\?:]/g,Wd=/[#\?]/g,Zd=/[#\?@]/g,Yd=/#/g,Td=function(a,b){this.K=this.P=null;this.ua=a||null;this.Aa=!!b}, be=function(a){a.P||(a.P=new gd,a.K=0,a.ua&&Md(a.ua,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Td.prototype;k.O=function(){be(this);return this.K};k.add=function(a,b){be(this);this.ua=null;a=ce(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){be(this);a=ce(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(){be(this);return 0==this.K};k.ub=function(a){be(this);a=ce(this,a);return this.P.ub(a)};k.Ic=function(a){var b=this.T();return $a(b,a)};k.forEach=function(a,b){be(this);this.P.forEach(function(c,d){Sa(c,function(e){a.call(b,e,d,this)},this)},this)};k.La=function(){be(this);for(var a=this.P.T(),b=this.P.La(),c=[],d=0;d