(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 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.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;cb||1342177279>>=1)c+=c;return d}}); var oa=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c=e}}); da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=na(this,b,"startsWith");b+="";var e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var f=0;f=g}});da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ma(b,d)&&c.push([d,b[d]]);return c}});da("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}}); da("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c>>0),wa=0,ya=function(a,b,c){return a.call.apply(a.bind, arguments)},za=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},Qa=Array.prototype.forEach?function(a,b,c){y(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,g=0;g=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function cb(a){var b=[];if(0>a-0)return[];for(var c=0;cb?1:0};var ib;a:{var jb=r.navigator;if(jb){var kb=jb.userAgent;if(kb){ib=kb;break a}}ib=""}function lb(a){return-1!=ib.indexOf(a)};var mb=function(a){mb[" "](a);return a};mb[" "]=ra;var ob=function(a,b){var c=nb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var pb=lb("Opera"),qb=lb("Trident")||lb("MSIE"),rb=lb("Edge"),sb=lb("Gecko")&&!(-1!=ib.toLowerCase().indexOf("webkit")&&!lb("Edge"))&&!(lb("Trident")||lb("MSIE"))&&!lb("Edge"),tb=-1!=ib.toLowerCase().indexOf("webkit")&&!lb("Edge"),ub; a:{var vb="",wb=function(){var a=ib;if(sb)return/rv:([^\);]+)(\)|;)/.exec(a);if(rb)return/Edge\/([\d\.]+)/.exec(a);if(qb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(tb)return/WebKit\/(\S+)/.exec(a);if(pb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();wb&&(vb=wb?wb[1]:"");if(qb){var xb,yb=r.document;xb=yb?yb.documentMode:void 0;if(null!=xb&&xb>parseFloat(vb)){ub=String(xb);break a}}ub=vb} var zb=ub,nb={},Ab=function(a){return ob(a,function(){for(var b=0,c=gb(String(zb)).split("."),d=gb(String(a)).split("."),e=Math.max(c.length,d.length),g=0;0==b&&g>>0),fc=function(a){y(a,"Listener can not be null.");if("function"===typeof a)return a;y(a.handleEvent,"An object listener must have handleEvent method.");a[nc]||(a[nc]=function(b){return a.handleEvent(b)}); return a[nc]};var z=function(){Da.call(this);this.Ma=new Yb(this);this.qk=this;this.Uf=null};x(z,Da);z.prototype[Db]=!0;h=z.prototype;h.addEventListener=function(a,b,c,d){ec(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){lc(this,a,b,c,d)}; h.dispatchEvent=function(a){oc(this);var b=this.Uf;if(b){var c=[];for(var d=1;b;b=b.Uf)c.push(b),y(1E3>++d,"infinite loop")}b=this.qk;d=a.type||a;if("string"===typeof a)a=new Ea(a,b);else if(a instanceof Ea)a.target=a.target||b;else{var e=a;a=new Ea(d,b);Xb(a,e)}e=!0;if(c)for(var g=c.length-1;!a.nd&&0<=g;g--){var f=a.currentTarget=c[g];e=pc(f,d,!0,a)&&e}a.nd||(f=a.currentTarget=b,e=pc(f,d,!0,a)&&e,a.nd||(e=pc(f,d,!1,a)&&e));if(c)for(g=0;!a.nd&&g=a.length)return vc;if(b in a)return{value:a[b++],done:!1};b++}};var d=c.next;c.yc=function(){return wc(d.call(c))};return c}throw Error("Not implemented");},zc=function(a,b){if(ta(a))try{Qa(a,b,void 0)}catch(d){xc(d)}else for(a=yc(a);;){var c=void 0;try{c=a.yc()}catch(d){if(d===tc)break;throw d;}try{b.call(void 0,c,void 0,a)}catch(d){xc(d)}}};var Ec=function(a){if(a instanceof Ac||a instanceof Bc||a instanceof Cc)return a;if("function"==typeof a.yc)return new Ac(function(){return Dc(a)});if("function"==typeof a[Symbol.iterator])return new Ac(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ha)return new Ac(function(){return Dc(a.Ha())});throw Error("Not an iterator or iterable.");},Dc=function(a){if(!(a instanceof uc))return a;var b=!1;return{next:function(){for(var c;!b;)try{c=a.yc();break}catch(d){if(d!==tc)throw d;b= !0}return{value:c,done:b}}}},Ac=function(a){this.vf=a};Ac.prototype.Ha=function(){return new Bc(this.vf())};Ac.prototype[Symbol.iterator]=function(){return new Cc(this.vf())};Ac.prototype.yg=function(){return new Cc(this.vf())};var Bc=function(a){this.xc=a};q(Bc,uc);Bc.prototype.yc=function(){var a=this.xc.next();if(a.done)throw tc;return a.value};Bc.prototype.next=function(){return this.xc.next()};Bc.prototype[Symbol.iterator]=function(){return new Cc(this.xc)};Bc.prototype.yg=function(){return new Cc(this.xc)}; var Cc=function(a){Ac.call(this,function(){return a});this.xc=a};q(Cc,Ac);Cc.prototype.next=function(){return this.xc.next()};var Fc=function(a,b){this.A={};this.K=[];this.wd=this.size=0;var c=arguments.length;if(12*this.size&&Gc(this),!0):!1};var Gc=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b=d.K.length)return vc;var f=d.K[b++];return{value:a?f:d.A[f],done:!1}};var g=e.next;e.yc=function(){return wc(g.call(e))};return e};h.rb=function(a){this.size=a};var Hc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Jc=function(a){if(a.S&&"function"==typeof a.S)a=a.S();else if(ta(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Kc=function(a){if(a.aa&&"function"==typeof a.aa)return a.aa();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ta(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof Oc)&&5e&&(e+=d);return[a.Ok,c,e,b.y].join("/")};Tc.prototype.$c=function(){return this.Eb.length};var Vc=function(a){Ea.call(this,"tileevent");this.count=a};x(Vc,Ea);var Wc=function(){},Xc=new Wc;function Yc(a){return Object.assign({N:{},ol:{},keys:[],wa:{},o:{},J:{},uh:!1},a)}var A=function(){this.h={}},C=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},E=function(a,b){return null!=a.h[b]};function Zc(a,b){return C(b,a)}function $c(a,b,c){b[a]=c}function ad(){return{}}function bd(a,b){var c=new a;return null==b?c:cd(b,dd,ed,fd,a)}function dd(a,b){return b[a]}function ed(a,b,c){b.h[a]=c} function fd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function cd(a,b,c,d,e){e=d(e);for(var g=gd(a,e),f=g.N||{},l=g.o||{},m=g.wa||{},p={},v=n(g.keys||[]),B=v.next();!B.done;p={Mc:p.Mc},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var R=void 0;if(f.hasOwnProperty(B)){if(g.uh&&0===D.length)continue;R=hd(D,b,c,d,!0,!0,f[B])}else if(l.hasOwnProperty(B))R=hd(D,b,c,d,!1,!0,l[B]);else if(m.hasOwnProperty(B))p.Mc=m[B],R=p.Mc.ia?D.map(function(Z){return function(U){return id(U,Z.Mc,b,c,d)}}(p)):id(D,p.Mc,b,c,d);else if(Array.isArray(D)){if(g.uh&&0===D.length)continue; R=hd(D,b,c,d,!0,!1)}else R=D instanceof Wc?null:D;c(B,e,R)}}return e}function id(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]=hd(m,c,d,e,b.ka,b.ja,b.da))}return g} function hd(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 cd(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?cd(a,b,c,d,f):a instanceof Wc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function gd(a,b){if(b instanceof A)a=Yc(b.i());else if(a instanceof A)a=Yc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var jd;var md=function(a,b){this.qg=a===kd&&b||"";this.dk=ld};md.prototype.Ef=!0;md.prototype.zf=function(){return this.qg};md.prototype.toString=function(){return"Const{"+this.qg+"}"};var nd=function(a){if(a instanceof md&&a.constructor===md&&a.dk===ld)return a.qg;Ja("expected object of type Const, got '"+a+"'");return"type_error:Const"},ld={},kd={};var pd=function(a,b){this.Xf=b===od?a:""};pd.prototype.Ef=!0;pd.prototype.zf=function(){return this.Xf.toString()};pd.prototype.toString=function(){return this.Xf+""}; var qd=function(a){if(a instanceof pd&&a.constructor===pd)return a.Xf;Ja("expected object of type TrustedResourceUrl, got '"+a+"' of type "+sa(a));return"type_error:TrustedResourceUrl"},vd=function(a){var b=nd(rd);if(!sd.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(td,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];return d instanceof md?nd(d):encodeURIComponent(String(d))});return ud(c)},td=/%{(\w+)}/g,sd=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),od={},ud=function(a){if(void 0===jd){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ba,createScript:Ba,createScriptURL:Ba})}catch(d){r.console&&r.console.error(d.message)}jd=b}a=(b=jd)?b.createScriptURL(a):a;return new pd(a,od)};var xd=function(a,b){this.Wf=b===wd?a:""};xd.prototype.Ef=!0;xd.prototype.zf=function(){return this.Wf.toString()};xd.prototype.toString=function(){return this.Wf.toString()}; var yd=function(a){if(a instanceof xd&&a.constructor===xd)return a.Wf;Ja("expected object of type SafeUrl, got '"+a+"' of type "+sa(a));return"type_error:SafeUrl"},zd=RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),Ad=function(a){if(zd.test(a.type)){var b=void 0!==r.URL&&void 0!==r.URL.createObjectURL? r.URL:void 0!==r.createObjectURL?r:null;if(null==b)throw Error("This browser doesn't seem to support blob URLs");a=b.createObjectURL(a)}else a="about:invalid#zClosurez";return new xd(a,wd)},wd={};var Cd=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||r;if(d.Element&&d.Location){var e=d;break a}}catch(f){}e=null}if(e&&"undefined"!=typeof e.HTMLScriptElement&&(!a||!(a instanceof e.HTMLScriptElement)&&(a instanceof e.Location||a instanceof e.Element))){if(t(a))try{var g=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(f){g=""}else g=void 0===a?"undefined":null===a?"null":typeof a;Ja("Argument is not a %s (or a non-Element, non-Location mock); got: %s", "HTMLScriptElement",g)}a.src=qd(b);a:{b=(a.ownerDocument&&a.ownerDocument.defaultView||r).document;if(b.querySelector&&(b=b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&Bd.test(b))break a;b=""}b&&a.setAttribute("nonce",b)},Bd=/^[\w+/_-]+[=]{0,2}$/;var Dd=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1b)throw Error("Bad port number "+b);a.Cc=b}else a.Cc=null};Hd.prototype.getPath=function(){return this.ec};Hd.prototype.setPath=function(a,b){Jd(this);this.ec=b?Md(a,!0):a;return this};var Ld=function(a,b,c){Jd(a);b instanceof Nd?(a.Fa=b,a.Fa.jg(a.Ca)):(c||(b=Od(b,Td)),a.Fa=new Nd(b,a.Ca))};Hd.prototype.getQuery=function(){return this.Fa.toString()}; Hd.prototype.removeParameter=function(a){Jd(this);this.Fa.remove(a);return this};var Jd=function(a){if(a.Ik)throw Error("Tried to modify a read-only Uri");};Hd.prototype.jg=function(a){this.Ca=a;this.Fa&&this.Fa.jg(a)}; var Ud=function(a){return a instanceof Hd?a.clone():new Hd(a,void 0)},Md=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Od=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Vd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Vd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Pd=/[#\/\?@]/g,Rd=/[#\?:]/g,Qd=/[#\?]/g,Td=/[#\?@]/g,Sd=/#/g,Nd=function(a,b){this.Z=this.P=null;this.va=a||null;this.Ca=!!b}, Wd=function(a){a.P||(a.P=new Map,a.Z=0,a.va&&Gd(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Nd.prototype;h.S=function(){Wd(this);return this.Z};h.add=function(a,b){Wd(this);this.va=null;a=Xd(this,a);var c=this.P.get(a);c||this.P.set(a,c=[]);c.push(b);this.Z=Ka(this.Z)+1;return this};h.remove=function(a){Wd(this);a=Xd(this,a);return this.P.has(a)?(this.va=null,this.Z=Ka(this.Z)-this.P.get(a).length,this.P.delete(a)):!1};h.clear=function(){this.P=this.va=null;this.Z=0}; h.isEmpty=function(){Wd(this);return 0==this.Z};h.Ub=function(a){Wd(this);a=Xd(this,a);return this.P.has(a)};h.Tc=function(a){var b=this.aa();return Wa(b,a)};h.forEach=function(a,b){Wd(this);this.P.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.xb=function(){Wd(this);for(var a=Array.from(this.P.values()),b=Array.from(this.P.keys()),c=[],d=0;d