gapi.loaded_1(function(_){var window=this;
/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
_.pI=function(a){return _.Md("script[nonce]",a)};_.qI=function(a,b){this.Wy=[];this.GO=a;this.oK=b||null;this.Kr=this.eo=!1;this.Ne=void 0;this.zH=this.SU=this.KA=!1;this.Nz=0;this.yb=null;this.MA=0};_.qI.prototype.cancel=function(a){if(this.eo)this.Ne instanceof _.qI&&this.Ne.cancel();else{if(this.yb){var b=this.yb;delete this.yb;a?b.cancel(a):(b.MA--,0>=b.MA&&b.cancel())}this.GO?this.GO.call(this.oK,this):this.zH=!0;this.eo||this.hj(new _.rI(this))}};
_.qI.prototype.fK=function(a,b){this.KA=!1;sI(this,a,b)};var sI=function(a,b,c){a.eo=!0;a.Ne=c;a.Kr=!b;tI(a)},vI=function(a){if(a.eo){if(!a.zH)throw new uI(a);a.zH=!1}};_.qI.prototype.callback=function(a){vI(this);sI(this,!0,a)};_.qI.prototype.hj=function(a){vI(this);sI(this,!1,a)};_.qI.prototype.jd=function(a,b){return this.Sj(a,null,b)};_.wI=function(a,b){a.Sj(null,b,void 0)};_.qI.prototype.Sj=function(a,b,c){this.Wy.push([a,b,c]);this.eo&&tI(this);return this};
_.qI.prototype.then=function(a,b,c){var d,e,f=new _.Mj(function(h,k){e=h;d=k});this.Sj(e,function(h){h instanceof _.rI?f.cancel():d(h)});return f.then(a,b,c)};_.qj(_.qI);_.qI.prototype.isError=function(a){return a instanceof Error};
var xI=function(a){return _.Rb(a.Wy,function(b){return"function"===typeof b[1]})},tI=function(a){if(a.Nz&&a.eo&&xI(a)){var b=a.Nz,c=yI[b];c&&(_.u.clearTimeout(c.Ba),delete yI[b]);a.Nz=0}a.yb&&(a.yb.MA--,delete a.yb);b=a.Ne;for(var d=c=!1;a.Wy.length&&!a.KA;){var e=a.Wy.shift(),f=e[0],h=e[1];e=e[2];if(f=a.Kr?h:f)try{var k=f.call(e||a.oK,b);void 0!==k&&(a.Kr=a.Kr&&(k==b||a.isError(k)),a.Ne=b=k);if(_.rj(b)||"function"===typeof _.u.Promise&&b instanceof _.u.Promise)d=!0,a.KA=!0}catch(l){b=l,a.Kr=!0,xI(a)||
(c=!0)}}a.Ne=b;d&&(k=(0,_.O)(a.fK,a,!0),d=(0,_.O)(a.fK,a,!1),b instanceof _.qI?(b.Sj(k,d),b.SU=!0):b.then(k,d));c&&(b=new zI(b),yI[b.Ba]=b,a.Nz=b.Ba)},uI=function(){_.fb.call(this)};_.$a(uI,_.fb);uI.prototype.message="Deferred has already fired";uI.prototype.name="AlreadyCalledError";_.rI=function(){_.fb.call(this)};_.$a(_.rI,_.fb);_.rI.prototype.message="Deferred was canceled";_.rI.prototype.name="CanceledError";var zI=function(a){this.Ba=_.u.setTimeout((0,_.O)(this.l4,this),0);this.xv=a};
zI.prototype.l4=function(){delete yI[this.Ba];throw this.xv;};var yI={};

var SV=function(){var a={};a.location=document.location.toString();if(QV())try{a["top.location"]=top.location.toString()}catch(c){a["top.location"]="[external]"}else a["top.location"]="[external]";for(var b in RV)try{a[b]=RV[b].call()}catch(c){a[b]="[error] "+c.message}return a},YV=function(){var a=_.He("debug/host"),b="withCredentials"in new XMLHttpRequest,c=!!window.XDomainRequest,d=document.location.origin;TV.vd();var e=new UV("/_/jserror",void 0,!0);VV(e,function(f,h,k,l){a===d?_.ly(a+f,null,
h,k,l):c?(l=new window.XDomainRequest,l.open(h,a+f),l.send(k)):b&&_.ly(a+f,null,h,k,l)});WV(new XV(e))},ZV=function(a){(0,eval)(a)},$V=function(a){var b=_.u.onerror;_.u.onerror=function(c,d,e,f,h){b&&b(c,d,e,f,h);a({message:c,fileName:d,line:e,lineNumber:e,Yba:f,error:h});return!1}},aW=function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},bW=function(a,b){b||(b={});b[aW(a)]=!0;var c=a.stack||"";(a=a.OJ)&&!b[aW(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||
(c+="string"===typeof a?a:a.message+"\n"),c+=bW(a,b));return c},cW=function(a){var b=_.Tx("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||_.u.$googDebugFname||b}catch(f){e="Not available",c=!0}b=bW(a);if(!(!c&&a.lineNumber&&
a.fileName&&a.stack&&a.message&&a.name))return c=a.message,null==c&&(c=a.constructor&&a.constructor instanceof Function?'Unknown Error of type "'+(a.constructor.name?a.constructor.name:_.cy(a.constructor))+'"':"Unknown Error of unknown type","function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())),{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"};a.stack=b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,
stack:a.stack}};
var dW=function(){_.Ci.call(this)};_.J(dW,_.Ci);dW.prototype.vd=function(){this.Dp=[]};
var WV=function(a){var b=TV;b.zF=a;eW(b)},gW=function(a,b){var c=TV;if(c.kea){a="Potentially sensitive message stripped for security reasons.";var d=Error("Eb");d.columnNumber=b.columnNumber;d.lineNumber=b.lineNumber;d.name=b.name;d.fileName=b.fileName;if(28<=_.Qx("Chromium")||14<=_.Qx("Firefox"))d.stack=b.stack;b=d}c.isDisposed()||b instanceof _.rI||(c.zF?fW(c.zF,b,a):c.Dp&&10>c.Dp.length&&c.Dp.push([a,b]))},eW=function(a){a.Dp&&(_.Pb(a.Dp,function(b){fW(this.zF,b[1],b[0])},a),a.Dp=null)};
dW.prototype.rb=null;var TV=new dW;
var QV=function(){var a=window;if(!a.location)try{_.Fx(a)}catch(c){}var b=a.location&&a.location.ancestorOrigins;if(void 0!==b)return b&&b.length?b[b.length-1]==a.location.origin:!0;try{return void 0!==a.top.location.href}catch(c){return!1}};
var RV={};
var XV=function(a){this.$J=a;this.kN={};this.Or=[]},fW=function(a,b,c){var d=SV();c&&(d.message=c);a:{c=_.ey();d["call-stack"]=c;b=b instanceof Error?b:b||"";for(c=0;c<a.Or.length;c++)if(!1===a.Or[c](b,d))break a;c="";if(b){c=b.message||"unknown";for(var e=0,f=0;f<c.length;++f)e=31*e+c.charCodeAt(f)>>>0;c=e}e="";for(h in d)e=e+h+":"+d[h]+":";var h=c+"::"+e;c=a.kN[h];c||(c={time:0,count:0},a.kN[h]=c);1E4>_.Qt()-c.time?(c.count++,1==c.count&&(d=SV(),d.message="Throttling: "+h,a.$J.Aw(b,d))):(c.count&&
(d["dropped-instances"]=c.count),c.time=_.Qt(),c.count=0,a.$J.Aw(b,d))}};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var hW=function(a){_.Ci.call(this);this.$V=a};_.$a(hW,_.Ci);hW.prototype.wrap=function(a){return iW(this,a)};var jW=function(a,b){return(b?"__wrapper_":"__protected_")+_.Ib(a)+"__"},iW=function(a,b){var c=jW(a,!0);b[c]||((b[c]=kW(a,b))[jW(a,!1)]=b);return b[c]},kW=function(a,b){var c=function(){if(a.isDisposed())return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(d){a.Ek(d)}};c[jW(a,!1)]=b;return c};
hW.prototype.Ek=function(a){if(!(a&&"object"===typeof a&&"string"===typeof a.message&&0==a.message.indexOf("Error in protected function: ")||"string"===typeof a&&0==a.indexOf("Error in protected function: ")))throw this.$V(a),new lW(a);};
var mW=function(a,b){var c=_.u.window,d=c[b];c[b]=function(e,f){"string"===typeof e&&(e=_.si(ZV,e));arguments[0]=e=iW(a,e);if(d.apply)return d.apply(this,arguments);var h=e;if(2<arguments.length){var k=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,k)}}return d(h,f)};c[b][jW(a,!1)]=d};hW.prototype.na=function(){var a=_.u.window;var b=a.setTimeout;b=b[jW(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[jW(this,!1)]||b;a.setInterval=b;hW.H.na.call(this)};
var lW=function(a){_.fb.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&"string"===typeof a&&(this.stack=a)};_.$a(lW,_.fb);
var UV=function(a,b,c){_.ej.call(this);this.eK=b||null;this.lJ={};this.SR=nW;this.ZY=a;if(!c)if(this.bo=null,_.gd&&!_.Bd("10"))$V((0,_.O)(this.Aw,this));else{this.bo=new hW((0,_.O)(this.Aw,this));mW(this.bo,"setTimeout");mW(this.bo,"setInterval");a=this.bo;b=_.u.window;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&mW(a,e)}a=this.bo;_.vi=!0;b=(0,_.O)(a.wrap,a);for(c=0;c<_.ti.length;c++)_.ti[c](b);
_.ui.push(a)}};_.$a(UV,_.ej);var oW=function(a,b){_.Fi.call(this,"a");this.error=a;this.context=b};_.$a(oW,_.Fi);var nW=function(a,b,c,d){if(d instanceof Map){var e={};d=_.qa(d);for(var f=d.next();!f.done;f=d.next()){var h=_.qa(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;_.ly(a,null,b,c,e)},VV=function(a,b){a.SR=b};
UV.prototype.Aw=function(a,b){a=a.error||a;b=b?_.nj(b):{};a instanceof Error&&_.ri(b,a.__closure__error__context__984382||{});var c=cW(a);if(this.eK)try{this.eK(c,b)}catch(k){}var d=c.message.substring(0,1900);if(!(a instanceof _.fb)||a.EP){a=c.stack;try{var e=_.Zx(this.ZY,"script",c.fileName,"error",d,"line",c.lineNumber);_.zi(this.lJ)||(e=_.qh(e,this.lJ));d={};d.trace=a;if(b)for(var f in b)d["context."+f]=b[f];var h=_.ph(d);this.SR(e,"POST",h,this.wca)}catch(k){}}try{this.dispatchEvent(new oW(c,
b))}catch(k){}};UV.prototype.na=function(){_.Ai(this.bo);UV.H.na.call(this)};
var pW=!1;(window.___jsl=window.___jsl||{}).hefn=function(a,b){pW||(YV(),pW=!0);var c=_.He("debug/reportExceptionRate");("number"===typeof c?c:0)>=Math.random()&&(b?gW(b,a):gW(null,a));if(_.He("debug/rethrowException"))throw a;};

});
// Google Inc.
