(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var l;function aa(a){var b=0;return function(){return bc&&(c=Math.max(c+e,0));ca.length?"&":"")+encodeURIComponent(d)+"="+encodeURIComponent(String(f)))}}return b}var Da={};var Na=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function Oa(a,b){return ab?1:0};var E;a:{var Pa=n.navigator;if(Pa){var Qa=Pa.userAgent;if(Qa){E=Qa;break a}}E=""}function F(a){return-1!=E.indexOf(a)};function Ra(a,b){for(var c in a)b.call(void 0,a[c],c,a)}var Sa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Ta(a,b){for(var c,d,e=1;eparseFloat(cb)){bb=String(eb);break a}}bb=cb}var gb=bb,Wa={}; function hb(){return Va(function(){for(var a=0,b=Na(String(gb)).split("."),c=Na("11").split("."),d=Math.max(b.length,c.length),e=0;0==a&&ea.b&&(a.b++,b.next=a.a,a.a=b)};function nb(a){n.setTimeout(function(){throw a;},0)}var ob; function pb(){var a=n.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!F("Presto")&&(a=function(){var e=kb("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var f="callImmediate"+Math.random(),h="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=u(function(k){if(("*"==h||k.origin==h)&&k.data==f)this.port1.onmessage()},this);g.addEventListener("message", e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(f,h)}}});if("undefined"!==typeof a&&!F("Trident")&&!F("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.J;c.J=null;e()}};return function(e){d.next={J:e};d=d.next;b.port2.postMessage(0)}}return function(e){n.setTimeout(e,0)}};function qb(){this.b=this.a=null}var sb=new lb(function(){return new rb},function(a){a.reset()});qb.prototype.add=function(a,b){var c=sb.get();c.set(a,b);this.b?this.b.next=c:this.a=c;this.b=c};function tb(){var a=ub,b=null;a.a&&(b=a.a,a.a=a.a.next,a.a||(a.b=null),b.next=null);return b}function rb(){this.next=this.b=this.a=null}rb.prototype.set=function(a,b){this.a=a;this.b=b;this.next=null};rb.prototype.reset=function(){this.next=this.b=this.a=null};function vb(a,b){wb||xb();yb||(wb(),yb=!0);ub.add(a,b)}var wb;function xb(){if(n.Promise&&n.Promise.resolve){var a=n.Promise.resolve(void 0);wb=function(){a.then(zb)}}else wb=function(){var b=zb;!t(n.setImmediate)||n.Window&&n.Window.prototype&&!F("Edge")&&n.Window.prototype.setImmediate==n.setImmediate?(ob||(ob=pb()),ob(b)):n.setImmediate(b)}}var yb=!1,ub=new qb;function zb(){for(var a;a=tb();){try{a.a.call(a.b)}catch(b){nb(b)}mb(sb,a)}yb=!1};function Ab(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function G(a){this.a=0;this.j=void 0;this.f=this.b=this.c=null;this.h=this.i=!1;if(a!=q)try{var b=this;a.call(void 0,function(c){H(b,2,c)},function(c){H(b,3,c)})}catch(c){H(this,3,c)}}function Bb(){this.next=this.c=this.b=this.f=this.a=null;this.h=!1}Bb.prototype.reset=function(){this.c=this.b=this.f=this.a=null;this.h=!1};var Cb=new lb(function(){return new Bb},function(a){a.reset()});function Db(a,b,c){var d=Cb.get();d.f=a;d.b=b;d.c=c;return d} G.prototype.then=function(a,b,c){return Eb(this,t(a)?a:null,t(b)?b:null,c)};G.prototype.$goog_Thenable=!0;G.prototype.cancel=function(a){if(0==this.a){var b=new I(a);vb(function(){Fb(this,b)},this)}};function Fb(a,b){if(0==a.a)if(a.c){var c=a.c;if(c.b){for(var d=0,e=null,g=null,f=c.b;f&&(f.h||(d++,f.a==a&&(e=f),!(e&&1=b.l&&b.cancel())}this.F?this.F.call(this.D,this):this.u=!0;this.a||(a=new K(this),L(this),M(this,!1,a))}};J.prototype.v=function(a,b){this.j=!1;M(this,a,b)};function M(a,b,c){a.a=!0;a.c=c;a.f=!b;Ob(a)} function L(a){if(a.a){if(!a.u)throw new Pb(a);a.u=!1}}function N(a,b,c,d){a.h.push([b,c,d]);a.a&&Ob(a);return a}J.prototype.then=function(a,b,c){var d,e,g=new G(function(f,h){d=f;e=h});N(this,d,function(f){f instanceof K?g.cancel():e(f)});return g.then(a,b,c)};J.prototype.$goog_Thenable=!0;function Qb(a){return ya(a.h,function(b){return t(b[1])})} function Ob(a){if(a.i&&a.a&&Qb(a)){var b=a.i,c=Rb[b];c&&(n.clearTimeout(c.a),delete Rb[b]);a.i=0}a.b&&(a.b.l--,delete a.b);b=a.c;for(var d=c=!1;a.h.length&&!a.j;){var e=a.h.shift(),g=e[0],f=e[1];e=e[2];if(g=a.f?f:g)try{var h=g.call(e||a.D,b);void 0!==h&&(a.f=a.f&&(h==b||h instanceof Error),a.c=b=h);if(Ab(b)||"function"===typeof n.Promise&&b instanceof n.Promise)d=!0,a.j=!0}catch(k){b=k,a.f=!0,Qb(a)||(c=!0)}}a.c=b;d&&(h=u(a.v,a,!0),d=u(a.v,a,!1),b instanceof J?(N(b,h,d),b.$=!0):b.then(h,d));c&&(b= new Sb(b),Rb[b.a]=b,a.i=b.a)}function Tb(){var a=new J;L(a);M(a,!0,null);return a}function Pb(){y.call(this)}x(Pb,y);Pb.prototype.message="Deferred has already fired";Pb.prototype.name="AlreadyCalledError";function K(){y.call(this)}x(K,y);K.prototype.message="Deferred was canceled";K.prototype.name="CanceledError";function Sb(a){this.a=n.setTimeout(u(this.c,this),0);this.b=a}Sb.prototype.c=function(){delete Rb[this.a];throw this.b;};var Rb={};var Ub,Vb=[];function Wb(a,b){function c(){var e=a.shift();e=Xb(e,b);a.length&&N(e,c,c,void 0);return e}if(!a.length)return Tb();var d=Vb.length;Ba(Vb,a);if(d)return Ub;a=Vb;return Ub=c()} function Xb(a,b){var c=b||{};b=c.document||document;var d=Fa(a).toString(),e=kb("SCRIPT"),g={M:e,O:void 0},f=new J(Yb,g),h=null,k=null!=c.timeout?c.timeout:5E3;0b)throw Error("Bad port number "+b);a.l=b}else a.l=null}function lc(a,b,c){b instanceof S?(a.c=b,rc(a.c,a.i)):(c||(b=T(b,sc)),a.c=new S(b,a.i))} function R(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function T(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,tc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function tc(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var nc=/[#\/\?@]/g,pc=/[#\?:]/g,oc=/[#\?]/g,sc=/[#\?@]/g,qc=/#/g;function S(a,b){this.b=this.a=null;this.c=a||null;this.f=!!b} function U(a){a.a||(a.a=new fc,a.b=0,a.c&&ic(a.c,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}l=S.prototype;l.add=function(a,b){U(this);this.c=null;a=V(this,a);var c=this.a.get(a);c||this.a.set(a,c=[]);c.push(b);this.b+=1;return this};function uc(a,b){U(a);b=V(a,b);P(a.a.b,b)&&(a.c=null,a.b-=a.a.get(b).length,a=a.a,P(a.b,b)&&(delete a.b[b],a.c--,a.a.length>2*a.c&&gc(a)))}function vc(a,b){U(a);b=V(a,b);return P(a.a.b,b)} l.forEach=function(a,b){U(this);this.a.forEach(function(c,d){wa(c,function(e){a.call(b,e,d,this)},this)},this)};l.A=function(){U(this);for(var a=this.a.B(),b=this.a.A(),c=[],d=0;d