/* JS */ gapi.loaded_1(function(_){var window=this;
_.Yh={};_.Zh=function(a){return _.Yh[a||"token"]||null};

_.ty=function(a,b){this.Ad=a;a=b||{};this.pY=Number(a.maxAge)||0;this.Vc=a.domain;this.Gk=a.path;this.M_=!!a.secure};_.ty.prototype.read=function(){for(var a=this.Ad+"=",b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(0==d.indexOf(a))return d.substr(a.length)}};
_.ty.prototype.write=function(a,b){if(!uy.test(this.Ad))throw"Invalid cookie name";if(!vy.test(a))throw"Invalid cookie value";a=this.Ad+"="+a;this.Vc&&(a+=";domain="+this.Vc);this.Gk&&(a+=";path="+this.Gk);b="number"===typeof b?b:this.pY;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.M_&&(a+=";secure");document.cookie=a;return!0};_.ty.prototype.clear=function(){this.write("",0)};var vy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,uy=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.ty.iterate=function(a){for(var b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c].split("="),e=d.shift();a(e,d.join("="))}};
_.wy=function(a){this.Sh=a};_.wy.prototype.read=function(){if(xy.hasOwnProperty(this.Sh))return xy[this.Sh]};_.wy.prototype.write=function(a){xy[this.Sh]=a;return!0};_.wy.prototype.clear=function(){delete xy[this.Sh]};var xy={};_.wy.iterate=function(a){for(var b in xy)xy.hasOwnProperty(b)&&a(b,xy[b])};
var yy=function(){this.le=null;this.key=function(){return null};this.getItem=function(){return this.le};this.setItem=function(a,b){this.le=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.le=null;this.length=0};this.length=0},zy=function(a){try{var b=a||window.sessionStorage;if(!b)return!1;b.setItem("gapi.sessionStorageTest","gapi.sessionStorageTest"+b.length);b.removeItem("gapi.sessionStorageTest");return!0}catch(c){return!1}},Ay=function(a,b){this.Ad=a;this.Rf=
zy(b)?b||window.sessionStorage:new yy};Ay.prototype.read=function(){return this.Rf.getItem(this.Ad)};Ay.prototype.write=function(a){try{this.Rf.setItem(this.Ad,a)}catch(b){return!1}return!0};Ay.prototype.clear=function(){this.Rf.removeItem(this.Ad)};Ay.iterate=function(a){if(zy())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
for(var By=0;64>By;++By);
_.Cy="https:"===window.location.protocol;_.Dy=_.Cy||"http:"===window.location.protocol?_.ty:_.wy;_.Ey=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=parseInt(b,10);if(isNaN(c))return null;b=d.split(".");if(b.length<c-1)return null;b.length==c-1&&(d="."+d)}else d="";return{Fe:"S"==a.charAt(0),domain:d,zh:c}};
_.Fy=function(a){if(0!==a.indexOf("GCSC"))return null;var b={SB:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(-1==d)return b;var e=_.Ey(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Fe;return!d&&("U"!==c||e.Fe)||d&&!_.Cy?b:{SB:!0,Fe:d,zS:a.substr(1),domain:e.domain,zh:e.zh}};
var Gy,Hy,Ky,Ly;Gy=_.oe();Hy=_.oe();_.Iy=_.oe();_.Jy=_.oe();Ky="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");Ly=function(a){this.IL=a;this.nC=null};
Ly.prototype.write=function(a){var b=_.oe(),c=_.oe(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.pe(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=0;for(e=Ky.length;d<e;++d)delete c[Ky[d]];a=String(a.authuser||0);d=_.oe();d[a]=c;c=_.Cf(d);this.IL.write(c);this.nC=b};Ly.prototype.read=function(){return this.nC};Ly.prototype.clear=function(){this.IL.clear();this.nC=_.oe()};_.My=function(a){return a?{domain:a.domain,path:"/",secure:a.Fe}:null};
Ay.iterate(function(a){var b=_.Fy(a);b&&b.SB&&(Gy[a]=new Ly(new Ay(a)))});_.Dy.iterate(function(a){Gy[a]&&(Hy[a]=new _.Dy(a,_.My(_.Fy(a))))});

_.pg.getOrigin=function(a){return _.rg(a)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.eh=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};
var fh;fh={};_.gh=null;_.hh=_.zc||_.Ac&&!_.dh||_.uc||!_.dh&&!_.vc&&"function"==typeof _.q.atob;_.jh=function(a,b){void 0===b&&(b=0);_.ih();b=fh[b];for(var c=[],d=0;d<a.length;d+=3){var e=a[d],f=d+1<a.length,g=f?a[d+1]:0,k=d+2<a.length,l=k?a[d+2]:0,m=e>>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;k||(l=64,f||(g=64));c.push(b[m],b[e],b[g]||"",b[l]||"")}return c.join("")};
_.ih=function(){if(!_.gh){_.gh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));fh[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===_.gh[f]&&(_.gh[f]=e)}}}};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Bh;_.Ah=function(a){this.rb=a||{cookie:""}};_.h=_.Ah.prototype;_.h.isEnabled=function(){return navigator.cookieEnabled};
_.h.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.wca;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var k=c.MK}if(/[;=\s]/.test(a))throw Error("z`"+a);if(/[;\r\n]/.test(b))throw Error("A`"+b);void 0===k&&(k=-1);c=f?";domain="+f:"";g=g?";path="+g:"";d=d?";secure":"";k=0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,_.Xa)()+1E3*k)).toUTCString();this.rb.cookie=a+"="+b+c+g+k+d+(null!=e?";samesite="+e:"")};
_.h.get=function(a,b){for(var c=a+"=",d=(this.rb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.wb)(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};_.h.remove=function(a,b,c){var d=this.Ud(a);this.set(a,"",{MK:0,path:b,domain:c});return d};_.h.Ae=function(){return Bh(this).keys};_.h.Xc=function(){return Bh(this).values};_.h.isEmpty=function(){return!this.rb.cookie};_.h.Hb=function(){return this.rb.cookie?(this.rb.cookie||"").split(";").length:0};
_.h.Ud=function(a){return void 0!==this.get(a)};_.h.Tj=function(a){for(var b=Bh(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.h.clear=function(){for(var a=Bh(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Bh=function(a){a=(a.rb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.wb)(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
_.Ch=new _.Ah("undefined"==typeof document?null:document);

var uu,vu,wu,xu,zu,Au,Bu,Cu,Eu;oauth2={};_.tu=!1;uu=function(a){try{_.tu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};vu=function(a,b){if(!a)return-1;if(a.indexOf)return a.indexOf(b,void 0);for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1};wu=function(a,b){function c(){}if(!a)throw"Child class cannot be empty.";if(!b)throw"Parent class cannot be empty.";c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};
xu=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.yu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};zu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};Au=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw"Add event handler for "+b+" failed.";};Bu={token:1,id_token:1};
Cu=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.Du=window.JSON;Eu=function(a){this.VE=a||[];this.Yb={}};Eu.prototype.addEventListener=function(a,b){if(!(0<=vu(this.VE,a)))throw"Unrecognized event type: "+a;if(!xu(b))throw"The listener for event '"+a+"' is not a function.";this.Yb[a]||(this.Yb[a]=[]);0>vu(this.Yb[a],b)&&this.Yb[a].push(b)};
Eu.prototype.removeEventListener=function(a,b){if(!(0<=vu(this.VE,a)))throw"Unrecognized event type: "+a;xu(b)&&this.Yb[a]&&this.Yb[a].length&&(b=vu(this.Yb[a],b),0<=b&&this.Yb[a].splice(b,1))};Eu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=vu(this.VE,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Yb[b]&&this.Yb[b].length)for(var c=0,d=this.Yb[b].length;c<d;c++)this.Yb[b][c](a)};
var Fu,Gu,Hu,Lu,Mu,cv,dv,fv,gv,iv,rv;Fu={};Gu={};Hu={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.Iu=function(a,b){if(a=Hu[a])return a[b]};_.Ju=function(a,b){if(!a)throw Error("N");if(!b.authServerUrl)throw Error("O");if(!b.idpIFrameUrl)throw Error("P");Hu[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.Ku=void 0;
Lu=function(a){a.style.position="absolute";a.style.width="1px";a.style.height="1px";a.style.left="-9999px";a.style.top="-9999px";a.style.right="-9999px";a.style.bottom="-9999px";a.style.display="none";a.setAttribute("aria-hidden","true")};Mu=function(){this.u2=window;this.Rt=this.ul=this.Gr=this.hh=null};
Mu.prototype.open=function(a,b,c,d){Nu(this);this.Gr?(this.ul&&(this.ul(),this.ul=null),Ou(this)):this.Gr="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.hh=this.u2.open(a,this.Gr,b);try{this.hh.focus();if(this.hh.closed||"undefined"==typeof this.hh.closed)throw Error("R");_.Ku=this.hh}catch(e){d&&setTimeout(d,0);this.hh=null;break a}c&&(this.ul=c,Pu(this))}};
var Nu=function(a){try{if(null==a.hh||a.hh.closed)a.hh=null,a.Gr=null,Ou(a),a.ul&&(a.ul(),a.ul=null)}catch(b){a.hh=null,a.Gr=null,Ou(a)}},Pu=function(a){a.Rt=window.setInterval(function(){Nu(a)},300)},Ou=function(a){a.Rt&&(window.clearInterval(a.Rt),a.Rt=null)};Gu=Gu||{};var Qu=function(a,b){this.Rb=a;this.NB=b;this.kd=null;this.Wl=!1};Qu.prototype.start=function(){if(!this.Wl&&!this.kd){var a=this;this.kd=window.setTimeout(function(){a.clear();a.Wl||(a.Rb(),a.Wl=!0)},Gu.YI(this.NB))}};
Qu.prototype.clear=function(){this.kd&&(window.clearTimeout(this.kd),this.kd=null)};var Ru=function(a,b){var c=Gu.qp;this.YW=Gu.ep;this.iO=c;this.Rb=a;this.NB=b;this.kd=null;this.Wl=!1;var d=this;this.jO=function(){document[d.YW]||(d.clear(),d.start())}};Ru.prototype.start=function(){if(!this.Wl&&!this.kd){Au(document,this.iO,this.jO);var a=this;this.kd=window.setTimeout(function(){a.clear();a.Wl||(a.Rb(),a.Wl=!0)},Gu.YI(this.NB))}};
Ru.prototype.clear=function(){var a=this.iO,b=this.jO,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw"Remove event handler for "+a+" failed.";this.kd&&(window.clearTimeout(this.kd),this.kd=null)};Gu.ep=null;Gu.qp=null;
Gu.uX=function(){var a=document;"undefined"!==typeof a.hidden?(Gu.ep="hidden",Gu.qp="visibilitychange"):"undefined"!==typeof a.msHidden?(Gu.ep="msHidden",Gu.qp="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(Gu.ep="webkitHidden",Gu.qp="webkitvisibilitychange")};Gu.uX();Gu.NS=function(a,b){return Gu.ep&&Gu.qp?new Ru(a,b):new Qu(a,b)};Gu.YI=function(a){return Math.max(1,a-(new Date).getTime())};
var Su=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},Tu=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var t=g,r=0;64>r;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var u=e[1],v=e[2],w=e[3],y=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var C=w^u&(v^w);var A=1518500249}else C=
u^v^w,A=1859775393;else 60>r?(C=u&v|w&(u|v),A=2400959708):(C=u^v^w,A=3395469782);C=((p<<5|p>>>27)&4294967295)+C+y+A+t[r]&4294967295;y=w;w=v;v=(u<<30|u>>>2)&4294967295;u=p;p=C}e[0]=e[0]+p&4294967295;e[1]=e[1]+u&4294967295;e[2]=e[2]+v&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+y&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],u=0,v=p.length;u<v;++u)r.push(p.charCodeAt(u));p=r}t||(t=p.length);r=0;if(0==m)for(;r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64;for(;r<
t;)if(f[m++]=p[r++],n++,64==m)for(m=0,b(f);r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64}function d(){var p=[],t=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var u=24;0<=u;u-=8)p[t++]=e[r]>>u&255;return p}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Qg:function(){for(var p=d(),t="",r=0;r<p.length;r++)t+="0123456789ABCDEF".charAt(Math.floor(p[r]/16))+"0123456789ABCDEF".charAt(p[r]%16);return t}}},Uu=
window.crypto,Vu=!1,Wu=0,Xu=1,Yu=0,Zu="",$u=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Xu=Xu*b%Yu;if(3==++Wu)if(a=window,b=$u,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("S`mousemove");},av=function(a){var b=Tu();b.update(a);return b.Qg()};Vu=!!Uu&&"function"==typeof Uu.getRandomValues;
Vu||(Yu=1E6*(screen.width*screen.width+screen.height),Zu=av(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),Au(window,"mousemove",$u));Fu=Fu||{};Fu.pP="ssIFrame_";
_.bv=function(a,b){this.Kb=a;if(!this.Kb)throw Error("T");a=_.Iu(a,"idpIFrameUrl");if(!a)throw Error("U");this.NJ=a;if(!b)throw Error("V");this.Ok=b;a=this.NJ;b=document.createElement("a");b.setAttribute("href",a);a=[b.protocol,"//",b.hostname];"http:"==b.protocol&&""!=b.port&&"0"!=b.port&&"80"!=b.port?(a.push(":"),a.push(b.port)):"https:"==b.protocol&&""!=b.port&&"0"!=b.port&&"443"!=b.port&&(a.push(":"),a.push(b.port));this.xB=a.join("");this.A_=[location.protocol,"//",location.host].join("");this.wB=
this.Rn=!1;this.JJ=null;this.fw=[];this.ro=[];this.Di={};this.Zl=void 0};_.bv.prototype.show=function(){var a=this.Zl;a.style.position="fixed";a.style.width="100%";a.style.height="100%";a.style.left="0px";a.style.top="0px";a.style.right="0px";a.style.bottom="0px";a.style.display="block";a.style.zIndex="9999999";a.style.overflow="hidden";a.setAttribute("aria-hidden","false")};_.bv.prototype.nc=function(){Lu(this.Zl)};
_.bv.prototype.Hv=function(a){if(this.Rn)a&&a(this);else{if(!this.Zl){var b=Fu.pP+this.Kb;var c=this.Kb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=vu(e.split("|"),c))?Su(e,d):Su(e?e+"|"+c:c,d);c=!f;f=this.NJ;var g=this.A_;d=this.Ok;e=document.createElement("iframe");e.setAttribute("id",b);b="allow-scripts allow-same-origin";document.requestStorageAccess&&xu(document.requestStorageAccess)&&(b+=" allow-storage-access-by-user-activation");
e.setAttribute("sandbox",b);Lu(e);e.setAttribute("frame-border","0");b=[f,"#origin=",encodeURIComponent(g)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.tu&&b.push("&debug=1");document.body.appendChild(e);e.setAttribute("src",b.join(""));this.Zl=e}a&&this.fw.push(a)}};_.bv.prototype.Jl=function(){return this.JJ};cv=function(a){for(var b=0;b<a.fw.length;b++)a.fw[b](a);a.fw=[]};
_.ev=function(a,b,c,d){if(a.Rn){if(a.Rn&&a.wB)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Jl(),uu(a),Error(a);dv(a,{method:b,params:c},d)}else a.ro.push({rpc:{method:b,params:c},callback:d}),a.Hv()};dv=function(a,b,c){if(c){for(var d=b.id;!d||a.Di[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.Di[d]=c}b.rpcToken=a.Ok;a.Zl.contentWindow.postMessage(_.Du.stringify(b),a.xB)};fv=function(a){if(a&&0<=a.indexOf("::"))throw Error("W");};
_.bv.prototype.Th=function(a,b,c,d,e,f,g,k){fv(f);b=_.yu(b);_.ev(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:g,skipCache:k,id:f},e)};_.bv.prototype.Gv=function(a,b,c,d,e){b=_.yu(b);_.ev(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};gv=function(a,b,c){fv(b.identifier);_.ev(a,"getSessionSelector",b,c)};
_.hv=function(a,b,c,d,e){fv(b.identifier);_.ev(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};iv=function(a,b,c){_.ev(a,"monitorClient",{clientId:b},c)};_.bv.prototype.Nr=_.ca(29);_.bv.prototype.bx=function(a,b){_.ev(this,"showDialog",{Qaa:a},b)};_.bv.prototype.Ip=_.ca(31);Fu.dv={};Fu.CA=function(a){return Fu.dv[a]};
Fu.Hv=function(a,b){var c=Fu.CA(a);if(!c){c=String;if(Vu){var d=new window.Uint32Array(1);Uu.getRandomValues(d);d=Number("0."+d[0])}else d=Xu,d+=parseInt(Zu.substr(0,20),16),Zu=av(Zu),d/=Yu+Math.pow(16,20);c=c(2147483647*d);c=new _.bv(a,c);Fu.dv[a]=c}c.Hv(b)};Fu.mU=function(a){for(var b in Fu.dv){var c=Fu.CA(b);if(c&&c.Zl&&c.Zl.contentWindow==a.source&&c.xB==a.origin)return c}};Fu.XU=function(a){for(var b in Fu.dv){var c=Fu.CA(b);if(c&&c.xB==a)return c}};Fu=Fu||{};
var kv=function(){var a=[],b;for(b in jv)a.push(jv[b]);Eu.call(this,a);this.wk={};uu("EventBus is ready.")};wu(kv,Eu);var jv={YQ:"sessionSelectorChanged",$x:"sessionStateChanged",Gx:"authResult",YO:"displayIFrame"},mv=function(a){var b=lv;a&&(b.wk[a]||(b.wk[a]=[]))},nv=function(a,b,c){return b&&a.wk[b]&&0<=vu(a.wk[b],c)};_.h=kv.prototype;
_.h.GZ=function(a){var b,c=!!a.source&&(a.source.opener===window||a.source===_.Ku);if(b=c?Fu.XU(a.origin):Fu.mU(a)){try{var d=_.Du.parse(a.data)}catch(e){uu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Ok){uu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.Di[c.id])delete b.Di[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?uu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.MJ[a.type]?(d=this.MJ[a.type],
c&&!d.QR?uu("Bad IDP event. Source window cannot be a popup."):d.To&&!d.To.call(this,b,a)?uu("Bad IDP event."):d.Ye.call(this,b,a)):uu("Bad IDP event.")}else uu("Bad event, no corresponding Idp Stub.")};_.h.d0=function(a,b){return nv(this,a.Kb,b.clientId)};_.h.c0=function(a,b){b=b.clientId;return!b||nv(this,a.Kb,b)};_.h.aS=function(a,b){return nv(this,a.Kb,b.clientId)};_.h.RY=function(a){a.Rn=!0;cv(a);for(var b=0;b<a.ro.length;b++)dv(a,a.ro[b].rpc,a.ro[b].callback);a.ro=[]};
_.h.QY=function(a,b){b={error:b.error};a.Rn=!0;a.wB=!0;a.JJ=b;a.ro=[];cv(a)};_.h.Aw=function(a,b){b.originIdp=a.Kb;this.dispatchEvent(b)};var lv=new kv,ov=lv,pv={};pv.idpReady={Ye:ov.RY};pv.idpError={Ye:ov.QY};pv.sessionStateChanged={Ye:ov.Aw,To:ov.d0};pv.sessionSelectorChanged={Ye:ov.Aw,To:ov.c0};pv.authResult={Ye:ov.Aw,To:ov.aS,QR:!0};pv.displayIFrame={Ye:ov.Aw};lv.MJ=pv||{};Au(window,"message",function(a){lv.GZ.call(lv,a)});
_.qv=function(a,b){this.je=!1;if(!a)throw Error("X");var c=[],d;for(d in a)c.push(a[d]);Eu.call(this,c);this.Cd=[location.protocol,"//",location.host].join("");this.Vc=b.crossSubDomains?b.domain||this.Cd:this.Cd;if(!b)throw Error("Y");if(!b.idpId)throw Error("Z");if(!_.Iu(b.idpId,"authServerUrl")||!_.Iu(b.idpId,"idpIFrameUrl"))throw Error("$`"+b.idpId);this.Kb=b.idpId;this.Vb=void 0;this.TS=!!b.disableTokenRefresh;this.KT=!!b.forceTokenRefresh;this.i1=!!b.skipTokenCache;this.setOptions(b);this.Qp=
[];this.dm=this.kK=!1;this.Vn=void 0;this.ZL();this.Zc=void 0;var e=this,f=function(){uu("Token Manager is ready.");if(e.Qp.length)for(var g=0;g<e.Qp.length;g++)e.Qp[g].call(e);e.kK=!0;e.Qp=[]};Fu.Hv(this.Kb,function(g){e.Zc=g;g.Rn&&g.wB?(e.dm=!0,e.Vn=g.Jl(),e.bw(e.Vn)):e.Vb?iv(e.Zc,e.Vb,function(k){if(k){k=e.Kb;var l=e.Vb,m=lv;k&&l&&(m.wk[k]||(m.wk[k]=[]),0>vu(m.wk[k],l)&&m.wk[k].push(l));f()}else e.Vn={error:"Not a valid origin for the client: "+e.Cd+" has not been whitelisted for client ID "+e.Vb+
". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},e.dm=!0,e.bw(e.Vn)}):(mv(e.Kb),f())})};wu(_.qv,Eu);_.qv.prototype.setOptions=function(){};_.qv.prototype.ZL=function(){};_.qv.prototype.bw=function(){};_.qv.prototype.Jl=function(){return this.Vn};rv=function(a,b,c){return function(){b.apply(a,c)}};_.sv=function(a,b,c){if(a.kK)b.apply(a,c);else{if(a.dm)throw a.Vn;a.Qp.push(rv(a,b,c))}};_.qv.prototype.TG=_.ca(32);_.qv.prototype.Ip=_.ca(30);
_.uv=function(a,b){_.qv.call(this,a,b);this.JL=new Mu;this.hj=this.tm=null;tv(this)};wu(_.uv,_.qv);_.uv.prototype.setOptions=function(){};
var vv=function(a,b){a.ie={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Vc};b.crossSubDomains&&(a.ie.policy=b.policy)},wv=function(a,b){if(!b.authParameters)throw Error("aa");if(!b.authParameters.scope)throw Error("ba");if(!b.authParameters.response_type)throw Error("ca");a.zp=b.authParameters;a.zp.redirect_uri||(a.zp.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.ei=_.yu(b.rpcAuthParameters||a.zp);if(!a.ei.scope)throw Error("da");if(!a.ei.response_type)throw Error("ea");
a:{var c=a.ei.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!Bu[c[d]]){c=!0;break a}c=!1}if(c)throw Error("fa");b.enableSerialConsent&&(a.ei.enable_serial_consent=!0);b.authResultIdentifier&&(a.bS=b.authResultIdentifier);b.spec_compliant&&(a.ei.spec_compliant=b.spec_compliant)};
_.uv.prototype.ZL=function(){var a=this;lv.addEventListener(jv.YQ,function(b){a.je&&a.ie&&b.originIdp==a.Kb&&!b.crossSubDomains==!a.ie.crossSubDomains&&b.domain==a.ie.domain&&b.id==a.ie.id&&a.vL(b)});lv.addEventListener(jv.$x,function(b){a.je&&b.originIdp==a.Kb&&b.clientId==a.Vb&&a.wL(b)});lv.addEventListener(jv.Gx,function(b){_.Ku=void 0;a.je&&b.originIdp==a.Kb&&b.clientId==a.Vb&&b.id==a.aj&&(a.tm&&(window.clearTimeout(a.tm),a.tm=null),a.aj=void 0,a.wr(b))});lv.addEventListener(jv.YO,function(b){a.je&&
b.originIdp==a.Kb&&(b.nc?a.Zc.nc():a.Zc.show())})};_.uv.prototype.vL=function(){};_.uv.prototype.wL=function(){};_.uv.prototype.wr=function(){};var yv=function(a,b){xv(a);a.TS||(a.hj=Gu.NS(function(){a.Th(!0)},b-3E5),navigator.onLine&&a.hj.start())},xv=function(a){a.hj&&(a.hj.clear(),a.hj=null)},tv=function(a){var b=window;Cu()&&(b=document.body);Au(b,"online",function(){a.hj&&a.hj.start()});Au(b,"offline",function(){a.hj&&a.hj.clear()})};_.h=_.uv.prototype;_.h.Th=function(){};
_.h.bx=function(a,b){this.Zc.bx(a,b)};_.h.eL=_.ca(33);_.h.dY=function(a,b){if(!this.Vb)throw Error("ja");this.Zc.Gv(this.Vb,this.ei,this.ie,a,b)};_.h.Gv=function(a,b){_.sv(this,this.dY,[a,b])};_.Av=function(a){this.ee=void 0;this.Rg=!1;this.Fo=void 0;_.uv.call(this,_.zv,a)};wu(_.Av,_.uv);_.zv={EF:"noSessionBound",np:"userLoggedOut",uO:"activeSessionChanged",$x:"sessionStateChanged",wR:"tokenReady",vR:"tokenFailed",Gx:"authResult",ERROR:"error"};
_.Av.prototype.setOptions=function(a){if(!a.clientId)throw Error("ka");this.Vb=a.clientId;this.Da=a.id;vv(this,a);wv(this,a)};_.Av.prototype.bw=function(a){this.dispatchEvent({type:_.zv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Kb})};var Bv=function(a){xv(a);a.Fo=void 0;a.ZB=void 0};_.h=_.Av.prototype;
_.h.vL=function(a){var b=a.newValue||{};if(this.ee!=b.hint||this.Rg!=!!b.disabled){a=this.ee;var c=!this.ee||this.Rg;Bv(this);this.ee=b.hint;this.Rg=!!b.disabled;(b=!this.ee||this.Rg)&&!c?this.dispatchEvent({type:_.zv.np,idpId:this.Kb}):b||(a!=this.ee&&this.dispatchEvent({type:_.zv.uO,idpId:this.Kb}),this.ee&&this.Th())}};
_.h.wL=function(a){this.Rg||(this.ee?a.user||this.Fo?a.user==this.ee&&(this.Fo?a.sessionState?this.Fo=a.sessionState:(Bv(this),this.dispatchEvent({type:_.zv.np,idpId:this.Kb})):a.sessionState&&(this.Fo=a.sessionState,this.Th())):this.Th():this.dispatchEvent({type:_.zv.$x,idpId:this.Kb}))};_.h.wr=function(a){this.dispatchEvent({type:_.zv.Gx,authResult:a.authResult})};_.h.vq=_.ca(35);_.h.nq=function(a){_.sv(this,this.pA,[a])};_.h.pA=function(a){gv(this.Zc,this.ie,a)};
_.h.ex=function(a,b,c){if(!a)throw Error("la");Bv(this);this.ee=a;this.Rg=!1;b&&_.hv(this.Zc,this.ie,!1,this.ee);this.je=!0;this.Th(c,!0)};_.h.start=function(){_.sv(this,this.o1,[])};
_.h.o1=function(){var a=this.Vb==zu("client_id")?zu("login_hint"):void 0;var b=this.Vb==zu("client_id")?zu("state"):void 0;this.zC=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.ex(a,!0,!0);else{var c=this;this.nq(function(d){c.je=!0;d&&d.hint?(Bv(c),c.ee=d.hint,c.Rg=!!d.disabled,c.Rg?c.dispatchEvent({type:_.zv.np,idpId:c.Kb}):c.ex(d.hint)):(Bv(c),c.ee=void 0,c.Rg=!(!d||!d.disabled),c.dispatchEvent({type:_.zv.EF,
autoOpenAuthUrl:!c.Rg,idpId:c.Kb}))})}};_.h.kI=_.ca(36);_.h.Th=function(a,b){var c=this;this.Zc.Th(this.Vb,this.ei,this.ee,this.ie,function(d,e){(e=e||d.error)?"user_logged_out"==e?(Bv(c),c.dispatchEvent({type:_.zv.np,idpId:c.Kb})):(c.ZB=null,c.dispatchEvent({type:_.zv.vR,idpId:c.Kb,error:e})):(c.ZB=d,c.Fo=d.session_state,yv(c,d.expires_at),d.idpId=c.Kb,b&&c.zC&&(d.state=c.zC,c.zC=void 0),c.dispatchEvent({type:_.zv.wR,idpId:c.Kb,response:d}))},this.Da,a)};_.h.Nr=_.ca(28);_.h.nM=_.ca(37);
_.Cv=function(a){this.ll=null;_.uv.call(this,{},a);this.je=!0};wu(_.Cv,_.uv);_.h=_.Cv.prototype;_.h.setOptions=function(a){if(!a.clientId)throw Error("ka");this.Vb=a.clientId;this.Da=a.id;vv(this,a);wv(this,a)};_.h.bw=function(a){this.ll&&(this.ll({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.ll=null)};_.h.wr=function(a){if(this.ll){var b=this.ll;this.ll=null;b(a)}};_.h.vq=_.ca(34);_.h.nq=function(a){this.dm?a(this.Jl()):_.sv(this,this.pA,[a])};
_.h.pA=function(a){gv(this.Zc,this.ie,a)};_.Dv=function(a,b,c){a.dm?c(a.Jl()):_.sv(a,a.fZ,[b,c])};_.Cv.prototype.fZ=function(a,b){this.Zc.Th(this.Vb,this.ei,a,this.ie,function(c,d){d?b({error:d}):b(c)},this.Da,this.KT,this.i1)};_.Cv.prototype.FK=_.ca(38);

var Fv,Gv,Hv,Iv,Jv,Kv,Lv,Mv,Nv,Ov,Pv,Qv,Tv;_.Ev=function(){try{var a=Array.from((window.crypto||window.msCrypto).getRandomValues(new Uint8Array(64)))}catch(c){a=[];for(var b=0;64>b;b++)a[b]=Math.floor(256*Math.random())}return _.jh(a,3).substring(0,64)};Fv=function(a,b,c){if(!a.je)throw Error("ga");b?_.hv(a.Zc,a.ie,!0,void 0,c):_.hv(a.Zc,a.ie,!0,a.ee,c)};Gv=function(a){if(!a.je)throw Error("ga");return a.ZB};
_.Cv.prototype.FK=_.Xc(38,function(a,b){var c=this.Zc,d=this.Vb,e=this.ie,f=_.yu(this.ei);delete f.response_type;_.ev(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.Av.prototype.nM=_.Xc(37,function(a){Gv(this)&&Gv(this).access_token&&(this.Zc.Nr(this.Vb,Gv(this).access_token,a),Fv(this,!0))});_.Av.prototype.kI=_.Xc(36,function(){var a=this;this.nq(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.zv.np,idpId:a.Kb}):a.Th(!0):a.dispatchEvent({type:_.zv.EF,idpId:a.Kb})})});
_.Av.prototype.vq=_.Xc(35,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.ex(b.authResult.login_hint,a.Rg||b.authResult.login_hint!=a.ee,!0)}});
_.Cv.prototype.vq=_.Xc(34,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.nq(function(d){_.hv(b.Zc,b.ie,d&&d.disabled,c.authResult.login_hint,function(){_.Dv(b,c.authResult.login_hint,a)})}):a(c&&c.authResult&&c.authResult.error?c.authResult:c&&c.authResult&&!c.authResult.login_hint?{error:"wrong_response_type"}:{error:"unknown_error"})}});_.uv.prototype.eL=_.Xc(33,function(){this.Vb&&_.ev(this.Zc,"startPolling",{clientId:this.Vb,origin:this.Cd,id:this.aj},void 0)});
_.bv.prototype.Nr=_.Xc(29,function(a,b,c){_.ev(this,"revoke",{clientId:a,token:b},c)});_.Av.prototype.Nr=_.Xc(28,function(a){_.sv(this,this.nM,[a])});Hv=function(){var a=navigator.userAgent,b;if(b=!!a&&-1!=a.indexOf("CriOS"))b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=48>b;return b};
Iv=function(){var a=navigator.userAgent.toLowerCase();if(!(-1<a.indexOf("safari/")&&0>a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=/version\/(\d+)\.(\d+)[\.0-9]*/.exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12<a||12==a&&1<=b};
Jv=function(a,b,c,d,e,f,g){var k=_.Iu(a,"authServerUrl");if(!k)throw Error("Q`"+a);a=_.yu(d);a.response_type=g||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];e&&Iv()&&!a.prompt&&(a.prompt="select_account");b=k+(0>k.indexOf("?")?"?":"&");c=[];for(var m in a)if(a.hasOwnProperty(m)){e=a[m];if(null===e||void 0===e)e="";c.push(encodeURIComponent(m)+"="+encodeURIComponent(e))}return b+c.join("&")};
Kv=function(a,b,c,d){if(!a.Vb)throw Error("ha");a.aj=c||a.bS||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Cd.split("//");c=b.extraQueryParams;var f=e[0],g=f.indexOf(":");0<g&&(f=f.substring(0,g));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.aj);c.redirect_uri=e.join("")}return Jv(a.Kb,a.Vc,a.Vb,a.zp,!0,b,d)};Lv=function(a,b,c){if(!a.Vb)throw Error("ha");return Jv(a.Kb,a.Vc,a.Vb,a.zp,!1,b,c)};
Mv=function(a,b){a.tm&&window.clearTimeout(a.tm);a.tm=window.setTimeout(function(){a.aj==b&&(_.Ku=void 0,a.tm=null,a.aj=void 0,a.wr({authResult:{error:"popup_closed_by_user"}}))},1E3)};Nv=function(a,b,c){if(!a.Vb)throw Error("ia");c=c||{};c=Kv(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Hv())&&_.sv(a,a.eL,[]);var d=a.aj;a.JL.open(c,b,function(){a.aj==d&&Mv(a,d)},function(){a.aj=void 0;a.wr({authResult:{error:"popup_blocked_by_browser"}})})};
Ov=function(a){_.sv(a,a.kI,[])};Pv=function(a,b,c){a.dm?c(a.Jl()):_.sv(a,a.FK,[b,c])};Qv=function(a){return Array.prototype.concat.apply([],arguments)};
_.Rv=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239<e&&365>e){f=a[c++];var g=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],g=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63)}return b.join("")};
_.Sv=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=_.gh[m];if(null!=n)return n;if(!_.Me(m))throw Error("w`"+m);}return l}_.ih();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}};Tv=function(a){var b=[];_.Sv(a,function(c){b.push(c)});return b};_.Uv=function(a,b){_.Yh[b||"token"]=a};_.Vv=function(a){delete _.Yh[a||"token"]};
_.Du={parse:function(a){a=_.Bf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Cf(a)}};
_.Cv.prototype.bA=function(a,b){_.sv(this,this.wT,[a,b])};_.Cv.prototype.wT=function(a,b){this.Zc.bA(this.Vb,a,this.ei,this.ie,b)};
_.bv.prototype.bA=function(a,b,c,d,e){c=_.yu(c);_.ev(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};
var Wv,Xv=["client_id","cookie_policy","scope"],Yv="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection gsiwebsdk".split(" "),Zv=["authuser","after_redirect","access_type","hl"],$v=["login_hint","prompt"],aw={clientid:"client_id",cookiepolicy:"cookie_policy"},bw=["approval_prompt","authuser","login_hint",
"prompt","hd"],cw=["login_hint","g-oauth-window","status"],dw=Math.min(_.O("oauth-flow/authWindowWidth",599),screen.width-20),ew=Math.min(_.O("oauth-flow/authWindowHeight",600),screen.height-30);
var fw=function(a){_.$c.call(this,a)};_.hj(fw,_.$c);fw.prototype.name="gapi.auth2.ExternallyVisibleError";
var gw=function(){};gw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var hw=function(){};hw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;c<a.sessions.length;c++){var d=a.sessions[c];if(d.login_hint){b(d);return}}b()};var iw=function(a){this.cS=a};
iw.prototype.select=function(a,b){if(a.sessions)for(var c=0;c<a.sessions.length;c++){var d=a.sessions[c];if(d.session_state&&d.session_state.extraQueryParams&&d.session_state.extraQueryParams.authuser==this.cS){d.login_hint?b(d):b();return}}b()};
var jw=function(a){this.Qd=a;this.Lw=[]};jw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Lw[b];f?(b++,c.Qd.Gv(function(g){g?f.select(g,d):d()})):a()}};d()};var kw=function(a){a=new jw(a);a.Lw.push(new gw);return a},lw=function(a){a=new jw(a);a.Lw.push(new hw);return a},mw=function(a,b){void 0===b||null===b?b=kw(a):(a=new jw(a),a.Lw.push(new iw(b)),b=a);return b};
var nw=function(a){this.Ye=a;this.$d=!0};nw.prototype.remove=function(){this.$d=!1};nw.prototype.trigger=function(){};var ow=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},pw=function(){this.Yb=[]};pw.prototype.add=function(a){this.Yb.push(a)};pw.prototype.notify=function(a){for(var b=this.Yb,c=[],d=0;d<b.length;d++){var e=b[d];e.$d&&(c.push(e),_.Ej(qw(e.Ye,a)))}this.Yb=c};var qw=function(a,b){return function(){a(b)}};
var sw=function(a){this.le=null;this.l2=new rw(this);this.Yb=new pw;void 0!=a&&this.set(a)};sw.prototype.set=function(a){a!=this.le&&(this.le=a,this.l2.value=a,this.Yb.notify(this.le))};sw.prototype.get=function(){return this.le};sw.prototype.V=function(a){a=new tw(this,a);this.Yb.add(a);return a};var tw=function(a,b){nw.call(this,b);this.gY=a};_.hj(tw,nw);tw.prototype.trigger=function(){var a=this.Ye;a(this.gY.get())};var rw=function(a){this.value=null;this.V=function(b){return new ow(a.V(b))}};
var uw={a5:"fetch_basic_profile",m6:"login_hint",g8:"prompt",q8:"redirect_uri",I8:"scope",r$:"ux_mode",P9:"state"},vw=function(a){this.Ba={};if(a&&!_.mq(a))if("function"==typeof a.get)this.Ba=a.get();else for(var b in uw){var c=uw[b];c in a&&(this.Ba[c]=a[c])}};vw.prototype.get=function(){return this.Ba};vw.prototype.gN=function(a){this.Ba.scope=a;return this};vw.prototype.Hq=function(){return this.Ba.scope};
var ww=function(a,b){var c=a.Ba.scope;b=Qv(b.split(" "),c?c.split(" "):[]);_.Le(b);a.Ba.scope=b.join(" ")};_.h=vw.prototype;_.h.L0=function(a){this.Ba.prompt=a;return this};_.h.aV=function(){return this.Ba.prompt};_.h.g0=function(){_.Te("Property app_package_name no longer supported and was not set");return this};_.h.QT=function(){_.Te("Property app_package_name no longer supported")};_.h.Ne=function(a){this.Ba.state=a};_.h.getState=function(){return this.Ba.state};
var xw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+dw,"height="+ew,"top="+(screen.height-ew)/2,"left="+(screen.width-dw)/2].join()},yw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.Rv(Tv(a)))},zw=function(){Wv=_.O("auth2/idpValue","google");var a=_.O("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.O("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.Ju(Wv,{authServerUrl:a,idpIFrameUrl:b})},Aw=function(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];if(d===b.length-1){a[e]=c;break}_.bb(a[e])||(a[e]={});a=a[e]}},Bw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a};
var Cw=function(a){var b=a?(b=yw(a))?b.sub:null:null;this.Da=b;this.wc=a?_.tj(a):null};_.h=Cw.prototype;_.h.ma=function(){return this.Da};_.h.zA=function(){var a=yw(this.wc);return a?a.hd:null};_.h.Hf=function(){return!!this.wc};_.h.fk=function(a){if(a)return this.wc;a=Dw;var b=_.tj(this.wc);!a.ov||a.rB||a.MW||(delete b.access_token,delete b.scope);return b};_.h.hD=function(){return Dw.hD()};_.h.xj=function(){this.wc=null};_.h.vU=function(){return this.wc?this.wc.scope:null};
_.h.update=function(a){this.Da=a.Da;this.wc=a.wc;this.wc.id_token?this.rt=new Ew(this.wc):this.rt&&(this.rt=null)};var Fw=function(a){return a.wc&&"object"==typeof a.wc.session_state?_.tj(a.wc.session_state.extraQueryParams||{}):{}};_.h=Cw.prototype;_.h.jq=function(){var a=Fw(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.h.wj=function(a){var b=Dw,c=new vw(a);b.rB=c.Hq()?!0:!1;Dw.ov&&ww(c,"openid profile email");return new _.Oj(function(d,e){var f=Fw(this);f.login_hint=this.ma();f.scope=c.Hq();Gw(b,d,e,f)},this)};_.h.Jq=function(a){return new _.Oj(function(b,c){var d=a||{},e=Dw;d.login_hint=this.ma();e.Jq(d).then(b,c)},this)};_.h.wV=function(a){return this.wj(a)};_.h.disconnect=function(){return Dw.disconnect()};_.h.TT=function(){return this.rt};
_.h.Yu=function(a){if(!this.Hf())return!1;var b=this.wc&&this.wc.scope?this.wc.scope.split(" "):"";return(0,_.ub)(a?a.split(" "):[],function(c){return _.vb(b,c)})};var Ew=function(a){a=yw(a);this.NT=a.sub;this.Ad=a.name;this.tV=a.given_name;this.uT=a.family_name;this.TJ=a.picture;this.$t=a.email};_.h=Ew.prototype;_.h.ma=function(){return this.NT};_.h.getName=function(){return this.Ad};_.h.tU=function(){return this.tV};_.h.oU=function(){return this.uT};_.h.EU=function(){return this.TJ};_.h.Au=function(){return this.$t};
var Iw=function(a,b,c){this.km=b;this.DY=a;for(var d in a)a.hasOwnProperty(d)&&Hw(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.km[c[a]]},Hw=function(a,b){a[b]=function(){return a.DY[b].apply(a.km,arguments)}};Iw.prototype.then=function(a,b,c){var d=this;return _.Sj().then(function(){return Jw(d.km,a,b,c)})};_.xj(Iw);
var Kw;Kw=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.Lw=function(a){if(!a)throw new fw("No cookiePolicy");var b=window.location.hostname;"single_host_origin"==a&&(a=window.location.protocol+"//"+b);if("none"==a)return null;var c=/^(https?:\/\/)([0-9.\-_A-Za-z]+)(?::(\d+))?$/.exec(a);if(!c)throw new fw("Invalid cookiePolicy");a=c[2];c=c[1];var d={};d.dotValue=a.split(".").length;d.isSecure=-1!=c.indexOf("https");d.domain=a;if(!_.lq(b,"."+a)&&!_.lq(b,a))throw new fw("Invalid cookiePolicy domain");return d};
var Nw,Mw,Ow,Pw,Qw,Rw,Tw,Yw,Uw,$w,ax,Vw;Nw=function(a){var b=a||{},c=Mw();(0,_.qb)(Yv,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b};Mw=function(){for(var a={},b=document.getElementsByTagName("meta"),c=0;c<b.length;++c)if(b[c].name){var d=b[c].name;if(0==d.indexOf("google-signin-")){d=d.substring(14);var e=b[c].content;aw[d]&&(d=aw[d]);_.vb(Yv,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a};
Ow=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})};Pw=function(a){(0,_.qb)(Yv,function(b){var c=Ow(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})};Qw=function(a){a=Nw(a);Pw(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Yv+Zv,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a};
Rw=function(a,b){if(!a)throw new fw("Empty initial options.");for(var c=0;c<Xv.length;++c)if(!(b&&"scope"==Xv[c]||a[Xv[c]]))throw new fw("Missing required parameter '"+Xv[c]+"'");_.Lw(a.cookie_policy)};
Tw=function(a){var b={authParameters:{redirect_uri:void 0,response_type:"token id_token",scope:a.scope,"openid.realm":a.openid_realm},clientId:a.client_id,crossSubDomains:!0,domain:Kw(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Wv};_.Sw(b,a);(0,_.qb)($v,function(c){a[c]&&(b.authParameters[c]=a[c])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);return b};_.Sw=function(){};
Yw=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,g=a.oidc_spec_compliant,k=a.nonce,l=Uw(a),m={authParameters:{response_type:l,scope:d,"openid.realm":e},rpcAuthParameters:{response_type:l,scope:d,"openid.realm":e},clientId:b,crossSubDomains:!0,domain:Kw(c),idpId:Wv};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);g&&(m.rpcAuthParameters.spec_compliant=g,k=k||_.Ev());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=
!0);(0,_.qb)($v.concat(Zv),function(n){a[n]&&(m.authParameters[n]=a[n])});void 0!==a.authuser&&null!==a.authuser&&(m.authParameters.authuser=a.authuser);"boolean"==typeof a.include_granted_scopes&&(b=new Vw(a.response_type||"token"),Ww(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Xw(b)&&(m.rpcAuthParameters.include_granted_scopes=a.include_granted_scopes,!1===a.include_granted_scopes&&(m.forceTokenRefresh=!0,m.skipTokenCache=!0)));"boolean"==typeof a.enable_serial_consent&&
(m.enableSerialConsent=a.enable_serial_consent);return m};Uw=function(a){a=new Vw(a.response_type||"token");var b=[];Xw(a)&&b.push("token");Zw(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")};$w=["permission","id_token"];ax=/(^|[^_])token/;Vw=function(a){this.yo=[];this.IB(a)};
Vw.prototype.IB=function(a){a?((0<=a.indexOf("permission")||a.match(ax))&&this.yo.push("permission"),0<=a.indexOf("id_token")&&this.yo.push("id_token"),0<=a.indexOf("code")&&this.yo.push("code")):this.yo=$w};var Ww=function(a){return Zw(a,"code")},Xw=function(a){return Zw(a,"permission")};Vw.prototype.toString=function(){return this.yo.join(" ")};var Zw=function(a,b){var c=!1;(0,_.qb)(a.yo,function(d){d==b&&(c=!0)});return c};
var Dw,bx,dx,fx,gx,Jw;Dw=null;_.cx=function(){return Dw?bx():null};bx=function(){return new Iw(dx.prototype,Dw,["currentUser","isSignedIn"])};dx=function(a){delete a.include_granted_scopes;this.Ba=Tw(a);this.IS=a.cookie_policy;this.MW=!!a.scope;(this.ov=!1!==a.fetch_basic_profile)&&(this.Ba.authParameters.scope=ex(this,"openid profile email"));this.Tq=a.hosted_domain;this.h2=a.ux_mode||"popup";this.MZ=a.redirect_uri||null;fx(this)};
fx=function(a){a.currentUser=new sw(new Cw(null));a.isSignedIn=new sw(!1);a.Qd=new _.Av(a.Ba);a.Yn=null;a.vv=null;a.UX=new _.Oj(function(b,c){this.Yn=b;this.vv=c},a);a.ew={};a.gr=!0;gx(a);a.Qd.start()};
gx=function(a){a.Qd.addEventListener("error",function(b){a.gr&&a.Yn&&(a.gr=!1,a.vv({error:b.error,details:b.details}),a.Yn=null,a.vv=null)});a.Qd.addEventListener("authResult",function(b){b&&b.authResult&&a.Ue(b);a.Qd.vq()(b)});a.Qd.addEventListener("tokenReady",function(b){var c=new Cw(b.response);if(a.Tq&&a.Tq!=c.zA())a.Ue({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.zA(),expectedDomain:a.Tq});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Yb.notify(d.le);a.isSignedIn.set(!0);c=c.jq();(d=_.Lw(a.IS))&&c&&_.Ch.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.Fe?"S":"H",d.zh].join(""),c,{domain:d.domain,secure:d.isSecure});_.Uv(b.response);a.Ue(b)}});a.Qd.addEventListener("noSessionBound",function(b){a.gr&&b.autoOpenAuthUrl?(a.gr=!1,kw(a.Qd).select(function(c){if(c&&c.login_hint){var d=a.Qd;_.sv(d,d.ex,[c.login_hint,!0])}else a.currentUser.set(new Cw(null)),a.isSignedIn.set(!1),_.Vv(),a.Ue(b)})):(a.currentUser.set(new Cw(null)),
a.isSignedIn.set(!1),_.Vv(),a.Ue(b))});a.Qd.addEventListener("tokenFailed",function(b){a.Ue(b)});a.Qd.addEventListener("userLoggedOut",function(b){a.currentUser.get().xj();var c=a.currentUser;c.Yb.notify(c.le);a.isSignedIn.set(!1);_.Vv();a.Ue(b)})};Jw=function(a,b,c,d){return a.UX.then(function(e){if(b)return b(e.uV)},c,d)};dx.prototype.Ue=function(a){if(a){this.gr=!1;var b=a.type||"";if(this.ew[b])this.ew[b](a);this.Yn&&(this.Yn({uV:this}),this.vv=this.Yn=null)}};
var hx=function(a,b){_.Fb(b,function(c,d){a.ew[d]=function(e){a.ew={};c(e)}})},Gw=function(a,b,c,d){d=_.tj(d);a.Tq&&(d.hd=a.Tq);var e=d.ux_mode||a.h2;delete d.ux_mode;delete d.app_package_name;var f={sessionMeta:{extraQueryParams:d},responseType:"permission id_token"};"redirect"==e?(d.redirect_uri||(d.redirect_uri=a.MZ||Bw()+window.location.pathname),ix(a,f)):(delete d.redirect_uri,jx(a,f),hx(a,{authResult:function(g){g.authResult&&g.authResult.error?c(g.authResult):hx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};dx.prototype.wj=function(a){return new _.Oj(function(b,c){var d=new vw(a);this.rB=d.Hq()?!0:!1;this.ov?(d.Ba.fetch_basic_profile=!0,ww(d,"email profile openid")):d.Ba.fetch_basic_profile=!1;var e=ex(this,d.Hq());d.gN(e);Gw(this,b,c,d.get())},this)};
dx.prototype.Jq=function(a){var b=a||{};this.rB=!!b.scope;a=ex(this,b.scope);if(""==a)return _.Tj({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};(0,_.qb)(bw,function(d){null!=b[d]&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");return"postmessage"==b.redirect_uri||void 0==b.redirect_uri?kx(this,c):lx(this,c,b.redirect_uri)};
var lx=function(a,b,c){b.redirect_uri=c;ix(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.Sj({message:"Redirecting to IDP."})},kx=function(a,b){b.origin=Bw();delete b.redirect_uri;jx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Oj(function(c,d){hx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},jx=function(a,b){Aw(b,["sessionMeta","extraQueryParams",
"gsiwebsdk"],"2");Nv(a.Qd,xw(),b)},ix=function(a,b){Aw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(Lv(a.Qd,b.sessionMeta,b.responseType))};dx.prototype.xj=function(a){var b=a||!1;return new _.Oj(function(c){Fv(this.Qd,b,function(){c()})},this)};dx.prototype.GI=function(){return this.Ba.authParameters.scope};var ex=function(a,b){a=a.GI();b=Qv(b?b.split(" "):[],a?a.split(" "):[]);_.Le(b);return b.join(" ")};
dx.prototype.hD=function(){var a=this;return new _.Oj(function(b,c){hx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});Ov(a.Qd)})};dx.prototype.ZR=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.aq(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.wj(f).then(function(g){c&&c(g)},function(g){d&&d(g)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})};
dx.prototype.disconnect=function(){return new _.Oj(function(a){this.Qd.Nr(function(){a()})},this)};
var mx;_.Oj.prototype["catch"]=_.Oj.prototype.kx;mx=null;_.nx=function(a){a=Qw(a);if(Dw){if(_.sj(a,mx||{}))return bx();throw new fw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Rw(a,!1!==a.fetch_basic_profile);zw();mx=a;Dw=new dx(a);_.ze.ga=1;return bx()};
var px,rx,ox,tx,sx,ux;_.qx=function(a,b){zw();a=Qw(a);Rw(a);var c=Yw(a),d=new _.Cv(c);"none"==a.prompt?ox(d,a,function(e){e.status=e.error?{signed_in:!1,method:null,google_logged_in:!1}:{signed_in:!0,method:"AUTO",google_logged_in:!0};b(e)}):px(d,a,function(e){if(e.error)e.status={signed_in:!1,method:null,google_logged_in:!1};else{var f=e.access_token||e.id_token;e.status={signed_in:!!f,method:"PROMPT",google_logged_in:!!f}}e["g-oauth-window"]=d.JL.hh;b(e)})};
px=function(a,b,c){var d=new Vw(b.response_type);c=rx(a,d,c);var e={responseType:d.toString()};Aw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Ww(d)&&Aw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Aw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Aw(e,["sessionMeta","extraQueryParams","state"],b.state);b=xw();a.dm?c({authResult:{error:"idpiframe_initialization_failed",details:a.Jl().error}}):(a.ll=
c,Nv(a,b,e))};rx=function(a,b,c){if(Xw(b)){var d=sx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.vq(function(f){f&&!f.error?(f=_.tj(f),Ww(b)&&(f.code=e.authResult.code),d(f)):d(f?f:{error:"unknown_error"})})(e):d(e&&e.authResult?e.authResult:{error:"unknown_error"})}}return function(e){e&&e.authResult&&!e.authResult.error?c(_.tj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
ox=function(a,b,c){if(Ww(new Vw(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=sx(c);b.login_hint?a.bA(b.login_hint,function(e){e?tx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?mw(a,b.authuser).select(function(e){e&&e.login_hint?tx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.nq(function(e){e&&e.hint?tx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?lw(a):kw(a)).select(function(f){f&&f.login_hint?tx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};tx=function(a,b,c,d){b=new Vw(b.response_type);var e=0,f={},g=function(k){!k||k.error?d(k):(e--,_.Hb(f,k),0==e&&d(f))};(Xw(b)||Zw(b,"id_token"))&&e++;Ww(b)&&e++;(Xw(b)||Zw(b,"id_token"))&&_.Dv(a,c,g);Ww(b)&&Pv(a,c,g)};
sx=function(a){return function(b){if(!b||b.error)_.Vv(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.tj(b);ux(c);delete c.id_token;delete c.code;_.Uv(c)}a(b)}}};ux=function(a){(0,_.qb)(cw,function(b){delete a[b]})};
_.z("gapi.auth2.init",_.nx);_.z("gapi.auth2.authorize",function(a,b){if(null!=Dw)throw new fw("gapi.auth2.authorize cannot be called after GoogleAuth has been initialized (i.e. with a call to gapi.auth2.init, or gapi.client.init when given a 'clientId' and a 'scope' parameters).");_.qx(a,function(c){ux(c);b(c)})});_.z("gapi.auth2._gt",function(){return _.Zh()});_.z("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.tu="0"!=a&&!!a});_.z("gapi.auth2.getAuthInstance",_.cx);
_.z("gapi.auth2.BasicProfile",Ew);_.z("gapi.auth2.BasicProfile.prototype.getId",Ew.prototype.ma);_.z("gapi.auth2.BasicProfile.prototype.getName",Ew.prototype.getName);_.z("gapi.auth2.BasicProfile.prototype.getGivenName",Ew.prototype.tU);_.z("gapi.auth2.BasicProfile.prototype.getFamilyName",Ew.prototype.oU);_.z("gapi.auth2.BasicProfile.prototype.getImageUrl",Ew.prototype.EU);_.z("gapi.auth2.BasicProfile.prototype.getEmail",Ew.prototype.Au);_.z("gapi.auth2.GoogleAuth",dx);
_.z("gapi.auth2.GoogleAuth.prototype.attachClickHandler",dx.prototype.ZR);_.z("gapi.auth2.GoogleAuth.prototype.disconnect",dx.prototype.disconnect);_.z("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",dx.prototype.Jq);_.z("gapi.auth2.GoogleAuth.prototype.signIn",dx.prototype.wj);_.z("gapi.auth2.GoogleAuth.prototype.signOut",dx.prototype.xj);_.z("gapi.auth2.GoogleAuth.prototype.getInitialScopes",dx.prototype.GI);_.z("gapi.auth2.GoogleUser",Cw);_.z("gapi.auth2.GoogleUser.prototype.grant",Cw.prototype.wV);
_.z("gapi.auth2.GoogleUser.prototype.getId",Cw.prototype.ma);_.z("gapi.auth2.GoogleUser.prototype.isSignedIn",Cw.prototype.Hf);_.z("gapi.auth2.GoogleUser.prototype.getAuthResponse",Cw.prototype.fk);_.z("gapi.auth2.GoogleUser.prototype.getBasicProfile",Cw.prototype.TT);_.z("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Cw.prototype.vU);_.z("gapi.auth2.GoogleUser.prototype.getHostedDomain",Cw.prototype.zA);_.z("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Cw.prototype.Jq);
_.z("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Cw.prototype.Yu);_.z("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Cw.prototype.hD);_.z("gapi.auth2.LiveValue",sw);_.z("gapi.auth2.LiveValue.prototype.listen",sw.prototype.V);_.z("gapi.auth2.LiveValue.prototype.get",sw.prototype.get);_.z("gapi.auth2.SigninOptionsBuilder",vw);_.z("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",vw.prototype.QT);_.z("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",vw.prototype.g0);
_.z("gapi.auth2.SigninOptionsBuilder.prototype.getScope",vw.prototype.Hq);_.z("gapi.auth2.SigninOptionsBuilder.prototype.setScope",vw.prototype.gN);_.z("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",vw.prototype.aV);_.z("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",vw.prototype.L0);_.z("gapi.auth2.SigninOptionsBuilder.prototype.get",vw.prototype.get);

_.Sw=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||_.Ev());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)};

_.Dh=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var t=g,r=0;64>r;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var u=e[1],v=e[2],w=e[3],y=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var C=w^u&(v^w);var A=1518500249}else C=u^v^w,A=1859775393;else 60>r?(C=u&v|w&(u|v),A=2400959708):(C=u^v^w,A=3395469782);C=((p<<5|p>>>27)&4294967295)+
C+y+A+t[r]&4294967295;y=w;w=v;v=(u<<30|u>>>2)&4294967295;u=p;p=C}e[0]=e[0]+p&4294967295;e[1]=e[1]+u&4294967295;e[2]=e[2]+v&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+y&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],u=0,v=p.length;u<v;++u)r.push(p.charCodeAt(u));p=r}t||(t=p.length);r=0;if(0==m)for(;r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64;for(;r<t;)if(f[m++]=p[r++],n++,64==m)for(m=0,b(f);r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64}function d(){var p=[],
t=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var u=24;0<=u;u-=8)p[t++]=e[r]>>u&255;return p}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Qg:function(){for(var p=d(),t="",r=0;r<p.length;r++)t+="0123456789ABCDEF".charAt(Math.floor(p[r]/16))+"0123456789ABCDEF".charAt(p[r]%16);return t}}};
var Fh=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],(0,_.qb)(d,function(k){e.push(k)}),Eh(e.join(" "));var f=[],g=[];(0,_.qb)(c,function(k){g.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];(0,_.qb)(d,function(k){e.push(k)});a=Eh(e.join(" "));a=[c,a];0==g.length||a.push(g.join(""));return a.join("_")},Eh=function(a){var b=_.Dh();b.update(a);return b.Qg().toLowerCase()};
_.Gh=function(){var a=_.q.__SAPISID||_.q.__APISID||_.q.__OVERRIDE_SID;if(a)return!0;a=new _.Ah(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.Hh=function(a){var b=_.rg(String(_.q.location.href));if(_.Gh()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?_.q.__SAPISID:_.q.__APISID;c||(c=new _.Ah(document),c=c.get(b?"SAPISID":"APISID")||c.get("__Secure-3PAPISID"));if(c){b=b?"SAPISIDHASH":"APISIDHASH";var d=String(_.q.location.href);return d&&c&&b?[b,Fh(_.rg(d),c,a||null)].join(" "):null}}return null};

_.Ih=function(a){var b={SAPISIDHASH:!0,APISIDHASH:!0};return a&&(a.OriginToken||a.Authorization&&b[String(a.Authorization).split(" ")[0]])?!0:!1};_.Jh={LW:_.Ih,OX:_.Gh,YU:function(){var a=null;_.Gh()&&(a=window.__PVT,null==a&&(a=(new _.Ah(document)).get("BEAT")));return a},mA:_.Hh};

_.Ve.T4=function(a){var b=[];if(1<arguments.length)for(var c=0,d;d=arguments[c];++c)b.push(d);else b=a;return function(e){for(var f=0;b[f];++f)if(e===b[f])return!0;return!1}};_.Ve.E8=function(a){return function(b){return a.test(b)}};_.Ve.eP=function(a){return"undefined"!==typeof a};_.Ve.n7=function(a){return"string"===typeof a&&0<a.length};_.Ve.e3=function(a){return"boolean"===typeof a};_.Ve.r6=function(a){return function(b){for(var c in a)if(a.hasOwnProperty(c)&&!(0,a[c])(b[c]))return!1;return!0}};

_.Oe=_.Oe||{};
(function(){function a(b){var c="";if(3==b.nodeType||4==b.nodeType)c=b.nodeValue;else if(b.innerText)c=b.innerText;else if(b.innerHTML)c=b.innerHTML;else if(b.firstChild){c=[];for(b=b.firstChild;b;b=b.nextSibling)c.push(a(b));c=c.join("")}return c}_.Oe.createElement=function(b){if(!document.body||document.body.namespaceURI)try{var c=document.createElementNS("http://www.w3.org/1999/xhtml",b)}catch(d){}return c||document.createElement(b)};_.Oe.createIframeElement=function(b){var c=_.Oe.createElement("iframe");try{var d=
["<","iframe"],e=b||{},f;for(f in e)e.hasOwnProperty(f)&&(d.push(" "),d.push(f),d.push('="'),d.push(_.Oe.escapeString(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var g=_.Oe.createElement(d.join(""));g&&(!c||g.tagName==c.tagName&&g.namespaceURI==c.namespaceURI)&&(c=g)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Oe.getBodyElement=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml",
"body");if(b&&1==b.length)return b[0]}catch(c){}return document.documentElement||document};_.Oe.jba=function(b){return a(b)}})();

_.Oe=_.Oe||{};(function(){function a(d){b=d["core.util"]||{}}var b={},c={};_.Ve&&_.Ve.register("core.util",null,a);_.Oe.getFeatureParameters=function(d){return"undefined"===typeof b[d]?null:b[d]};_.Oe.hasFeature=function(d){return"undefined"!==typeof b[d]};_.Oe.qba=function(){return c}})();

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Hx=function(a,b,c){if(_.jb(a))c&&(a=(0,_.J)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.J)(a.handleEvent,a);else throw Error("pa");return 2147483647<Number(b)?-1:_.q.setTimeout(a,b||0)};_.Ix=function(a){_.q.clearTimeout(a)};_.Jx=function(a){var b=null;return(new _.Oj(function(c,d){b=_.Hx(function(){c(void 0)},a);-1==b&&d(Error("qa"))})).kx(function(c){_.Ix(b);throw c;})};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Ny=function(a){this.P1=a};_.Ny.prototype.toString=function(){return this.P1};
_.Oy=function(a){_.Ep.call(this);this.Sh=1;this.ow=[];this.ww=0;this.nf=[];this.ui={};this.YR=!!a};_.B(_.Oy,_.Ep);_.h=_.Oy.prototype;_.h.subscribe=function(a,b,c){var d=this.ui[a];d||(d=this.ui[a]=[]);var e=this.Sh;this.nf[e]=a;this.nf[e+1]=b;this.nf[e+2]=c;this.Sh=e+3;d.push(e);return e};_.h.vs=_.ca(40);_.h.unsubscribe=function(a,b,c){if(a=this.ui[a]){var d=this.nf;if(a=_.jj(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.Dj(a)}return!1};
_.h.Dj=function(a){var b=this.nf[a];if(b){var c=this.ui[b];0!=this.ww?(this.ow.push(a),this.nf[a+1]=_.cb):(c&&_.Cp(c,a),delete this.nf[a],delete this.nf[a+1],delete this.nf[a+2])}return!!b};
_.h.qo=function(a,b){var c=this.ui[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.YR)for(e=0;e<c.length;e++){var g=c[e];Py(this.nf[g+1],this.nf[g+2],d)}else{this.ww++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.nf[g+1].apply(this.nf[g+2],d)}finally{if(this.ww--,0<this.ow.length&&0==this.ww)for(;c=this.ow.pop();)this.Dj(c)}}return 0!=e}return!1};var Py=function(a,b,c){_.Mj(function(){a.apply(b,c)})};
_.Oy.prototype.clear=function(a){if(a){var b=this.ui[a];b&&((0,_.qb)(b,this.Dj,this),delete this.ui[a])}else this.nf.length=0,this.ui={}};_.Oy.prototype.Hb=function(a){if(a){var b=this.ui[a];return b?b.length:0}a=0;for(b in this.ui)a+=this.Hb(b);return a};_.Oy.prototype.va=function(){_.Oy.T.va.call(this);this.clear();this.ow.length=0};
_.Qy=function(a){_.Ep.call(this);this.Ld=new _.Oy(a);_.Hp(this,this.Ld)};_.B(_.Qy,_.Ep);_.h=_.Qy.prototype;_.h.subscribe=function(a,b,c){return this.Ld.subscribe(a.toString(),b,c)};_.h.vs=_.ca(39);_.h.unsubscribe=function(a,b,c){return this.Ld.unsubscribe(a.toString(),b,c)};_.h.Dj=function(a){return this.Ld.Dj(a)};_.h.qo=function(a,b){return this.Ld.qo(a.toString(),b)};_.h.clear=function(a){this.Ld.clear(void 0!==a?a.toString():void 0)};
_.h.Hb=function(a){return this.Ld.Hb(void 0!==a?a.toString():void 0)};

_.Uy=!1;_.Vy=function(){_.Ty="oauth2relay"+String(2147483647*(0,_.ug)()|0)};_.Wy=new _.Qy;_.Xy=new _.Ny("oauth");_.Vy();_.O("oauth-flow/client_id");var Yy=String(_.O("oauth-flow/redirectUri"));if(Yy)Yy.replace(/[#][\s\S]*/,"");else{var Zy=_.pg.getOrigin(window.location.href);_.O("oauth-flow/callbackUrl");encodeURIComponent(Zy)}_.pg.getOrigin(window.location.href);

_.Uy=!0;

var Qs=_.Ta.qc,Rs={open:function(a){var b=_.hm(a.lc());return a.ug(b,{style:_.im(b)})},attach:function(a,b){var c=_.hm(a.lc()),d=b.id,e=b.getAttribute("data-postorigin")||b.src,f=/#(?:.*&)?rpctoken=(\d+)/.exec(e);f=f&&f[1];a.id=d;a.Or=f;a.el=c;a.dh=b;_.Ta.vk[d]=a;b=_.Yo(a.methods);b._ready=a.gw;b._close=a.close;b._open=a.AL;b._resizeMe=a.kM;b._renderstart=a.tL;_.$o(b,d,"",a,!0);_.Kf.setAuthToken(a.id,a.Or);_.Kf.setRelayUrl(a.id,e);c=_.Ta.Il({style:_.im(c)});for(var g in c)Object.prototype.hasOwnProperty.call(c,
g)&&("style"==g?a.dh.style.cssText=c[g]:a.dh.setAttribute(g,c[g]))}};Rs.onready=_.jm;Rs.onRenderStart=_.jm;Rs.close=_.km;Qs("inline",Rs);

var nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Oz,Pz,Qz,Rz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,Zz,$z,aA,bA,cA,fA,eA,gA,hA,iA,jA,kA,lA,nA,oA,qA;_.mz=function(a,b){if(_.hh&&!b)return _.q.atob(a);var c="";_.Sv(a,function(d){c+=String.fromCharCode(d)});return c};nz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};oz=function(a){return _.O("enableMultilogin")&&a("cookie_policy")&&!nz(a)?!0:!1};
rz=function(){var a,b=null;_.Dy.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Ey(c.substring(11)),!a||c.Fe&&!a.Fe||c.Fe==a.Fe&&c.zh>a.zh)&&(a=c,b=d)});return{hS:a,authuser:b}};sz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];tz=function(a){a=a.toUpperCase();for(var b=0,c=sz.length;b<c;++b){var d=a.split(sz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Nh,b.vx(a),a=b.Qg().toUpperCase());return a};
uz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};vz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],e0:uz(a[1]),Sba:uz(a[2]),$aa:uz(a[3])}};wz=function(a){var b=rz(),c=b.hS;b=b.authuser;var d=a&&tz(a);if(null!==b){var e;_.Dy.iterate(function(g,k){(g=_.Fy(g))&&g.SB&&(d&&g.zS!=d||g.Fe==c.Fe&&g.zh==c.zh&&(e=k))});if(e){var f=vz(e);a=f&&f.e0[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Cca:a,clientId:f}}}return null};
xz=function(a,b){a=_.Zh(a);if(!a||!b&&a.error)return null;b=Math.floor((new Date).getTime()/1E3);return a.expires_at&&b>a.expires_at?null:a};_.yz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Uv(c,d):_.Vv(d)};
zz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.rg(a));var b=window.location.hostname,c=b,d=_.Cy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Re("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Re("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Fe:d,zh:b}};
Az=function(a){var b=zz(a);if(!b)return new _.wy("G_USERSTATE_");a=["G_USERSTATE_",_.Cy&&b.Fe?"S":"H",b.zh].join("");var c=_.Jy[a];c||(c={MK:63072E3},_.qe(_.My(b),c),c=new _.ty(a,c),_.Jy[a]=c,b=c.read(),"undefined"!==typeof b&&null!==b&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};Bz=function(a){var b=Az(a).read();a=_.oe();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
Cz=function(a,b,c){var d=Bz(b),e=d[a];d[a]="0";var f=[];_.bl(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=Az(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};Dz=function(a,b){b=Bz(b);return"0"==b[a]||"X"==b[a]};Ez=function(a){a=zz(a.g_user_cookie_policy);if(!a||a.Fe&&!_.Cy)a=null;else{var b=["G_AUTHUSER_",_.Cy&&a.Fe?"S":"H",a.zh].join(""),c=_.Iy[b];c||(c=new _.Dy(b,_.My(a)),_.Iy[b]=c);a=c}_.He("googleapis.config/sessionIndex",null);a.clear()};Fz=function(a){return nz(function(b){return a[b]})};
Gz=0;Hz=!1;Iz=[];Jz={};Kz={};Lz=null;Mz=function(a){var b=_.Ty;return function(c){if(this.f==b&&this.t==_.Kf.getAuthToken(this.f)&&this.origin==_.Kf.getTargetOrigin(this.f))return a.apply(this,arguments)}};Nz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};Oz=function(a){if(_.Uy&&a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ta");};
Pz=function(a){var b=_.Oe.getUrlParameters,c=b(a).jsh;if(null!=c)return Oz(c),a;if(b=String(b().jsh||_.ze.h||""))Oz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Qz=function(){return!!_.O("oauth-flow/usegapi")};Rz=function(a,b){Qz()?Lz.unregister(a):_.Kf.unregister(a+":"+b)};Sz=function(a,b,c){Qz()?Lz.register(a,c,_.Kl):_.Kf.register(a+":"+b,Mz(c))};Tz=function(){pz.parentNode.removeChild(pz)};
Uz=function(a){var b=pz;_.Ry(b,[{tw:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Ry(b,[{tw:"transform",duration:1,timing:"ease",delay:0}]);_.Hx(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Vz=function(){var a=qz+88;Uz(a);qz=a};Wz=function(){var a=qz-88;Uz(a);qz=a};
Xz=function(a){var b=a?Vz:Wz,c=a?Wz:Vz;a=a?"-":"";qz=parseInt(a+88,10);pz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";pz.style.transform="translate3d(0px,"+a+88+"px,0px)";pz.style.display="";pz.style.visibility="visible";b();_.Hx(c,4E3);_.Hx(Tz,5E3)};
Yz=function(a){var b=_.O("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");pz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.rr(c,"visibility","hidden");_.rr(c,b,"-40px");_.rr(c,"height","128px");var d=c;if("desktop"==_.O("deviceType")){d=document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%";d.appendChild(e);
d=e}e="top"==b?"-":"";qz=parseInt(e+88,10);pz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";pz.style.transform="translate3d(0px,"+e+88+"px,0px)";e=window;try{for(;e.parent!=e&&e.parent.document;)e=e.parent}catch(f){}e=e.document.body;try{e.insertBefore(c,e.firstChild)}catch(f){}_.cl.Vh({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Xz(!0):Xz(!1)}})};
Zz=function(a){var b=_.xm(),c=b&&b.scope;b=a&&a.scope;b="string"===typeof b?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d<c.length;++d){var e=c[d];-1==_.oi.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
$z=function(a,b){var c=null;a&&b&&(c=b.client_id=b.client_id||a.client_id,b.scope=b.scope||a.scope,b.g_user_cookie_policy=a.cookie_policy,b.cookie_policy=b.cookie_policy||a.cookie_policy,b.response_type=b.response_type||a.response_type);if(b){b.issued_at||(b.issued_at=String(Math.floor((new Date).getTime()/1E3)));var d=parseInt(b.expires_in,10)||86400;b.error&&(d=_.O("oauth-flow/errorMaxAge")||86400);b.expires_in=String(d);b.expires_at||(b.expires_at=String(Math.floor((new Date).getTime()/1E3)+d));
b._aa||b.error||null!=wz(c)||!Fz(a)||(b._aa="1");a=b.status={};a.google_logged_in=!!b.session_state;c=a.signed_in=!!b.access_token;a.method=c?b["g-oauth-window"]?"PROMPT":"AUTO":null}return b};aA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Bf(_.mz(a,!0));if(!1===a)throw Error("ua");return a};bA=function(a){return(a=aA(a))?a.sub:null};
cA=function(a){a&&Iz.push(a);a=_.Ty;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(Gz&&6E4>c-Gz)return;var d=_.Kf.getAuthToken(a);d&&(Rz("oauth2relayReady",d),Rz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Vy();a=_.Ty}Gz=c;var e=String(2147483647*(0,_.ug)()|0);b=_.O("oauth-flow/proxyUrl")||_.O("oauth-flow/relayUrl");Qz()?Lz=_.cl.Vh({where:_.Oe.getBodyElement(),url:b,id:a,attributes:{style:{width:"1px",
height:"1px",position:"absolute",top:"-100px",display:"none"},"aria-hidden":"true"},dontclear:!0}):(b=[b,"?parent=",encodeURIComponent(_.pg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Oe.getBodyElement(),d=_.Oe.createIframeElement({name:a,id:a}),d.src=Pz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Nz(d),c.appendChild(d),_.Kf.setupReceiver(a));Sz("oauth2relayReady",e,function(){Rz("oauth2relayReady",e);
var f=Iz;if(null!==f){Iz=null;for(var g=0,k=f.length;g<k;++g)f[g]()}});Sz("oauth2callback",e,function(f){var g=_.Oe.getUrlParameters;g=g(f);var k=g.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(Kz,f)?Kz[f]:null;g.state=f;if(null!=g.state){f=Jz[k];delete Jz[k];k=f&&f.key||"token";var l=g=$z(f&&f.params,g);var m=(m=bA(l))?Dz(m,l.cookie_policy):!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.O("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",Hz||(Hz=
!0,Yz(l)));_.yz(k,g);g=xz(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(n){}f.callback&&(f.callback(g),f.callback=null)}}})};_.dA=function(a){null!==Iz?cA(a):a&&a()};fA=function(a,b){var c=eA,d=bA(a);d&&(Ez(a),Cz(d,b,function(){if(c){var e={error:"user_signed_out"};e.client_id=a.client_id;e.g_user_cookie_policy=a.g_user_cookie_policy;e.scope=a.scope;e.response_type=a.response_type;e.session_state=a.session_state;e=$z(null,e);c(e)}}))};
eA=function(a){a||(a=xz(void 0,!0));a&&"object"===typeof a||(a={error:"invalid_request",error_description:"no callback data"});var b=a.error_description;b&&window.console&&(window.console.error(a.error),window.console.error(b));a.error||(_.ze.drw=null);_.yz(a);if(b=a.authuser)_.O("googleapis.config/sessionIndex"),_.He("googleapis.config/sessionIndex",b);_.Wy.qo(_.Xy,a);return a};gA=["client_id","cookie_policy","response_type"];hA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
iA=function(a){var b=_.tj(a);b.session_state&&b.session_state.extraQueryParams&&(b.authuser=b.session_state.extraQueryParams.authuser);b.session_state=null;a.expires_at&&(b.expires_at=parseInt(a.expires_at/1E3).toString());a.expires_in&&(b.expires_in=a.expires_in.toString());a.first_issued_at&&(b.issued_at=parseInt(a.first_issued_at/1E3).toString(),delete b.first_issued_at);_.Uv(b);return b};
jA=function(a){if(void 0===a.include_granted_scopes){var b=_.O("include_granted_scopes");a.include_granted_scopes=!!b}};kA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
lA=function(a){var b=a||{},c={};(0,_.qb)(hA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.O("googleapis/overrideClientId");null!=a&&(c.client_id=a);jA(c);"string"===typeof b.scope?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));null!=b["openid.realm"]&&(c.openid_realm=b["openid.realm"]);null!=b.cookie_policy?c.cookie_policy=b.cookie_policy:null!=b.cookiepolicy&&(c.cookie_policy=b.cookiepolicy);null==c.login_hint&&null!=b.user_id&&(c.login_hint=b.user_id);try{_.Lw(c.cookie_policy)}catch(d){c.cookie_policy&&
kA("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}null!=b.hd&&(c.hosted_domain=b.hd);null==c.prompt&&(1==b.immediate||"true"==b.immediate?c.prompt="none":"force"==b.approval_prompt&&(c.prompt="consent"));"none"==c.prompt&&(c.session_selection="first_valid");"none"==c.prompt&&"offline"==c.access_type&&delete c.access_type;"undefined"===typeof c.authuser&&(a=_.zh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.O("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
_.mA=function(a,b){var c=lA(a),d=new _.Oj(function(e,f){_.qx(c,function(g){var k=g||{};(0,_.qb)(gA,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(g=iA(k),null!=g.authuser&&_.He("googleapis.config/sessionIndex",g.authuser),e(g))})});b&&d.then(b,b);return d};nA=_.Jh.mA;oA=null;
_.rA=function(a,b){if("force"!==a.approvalprompt){a=_.pA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)oA?(a.client_id!==oA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(oA=a,b=!1);b||qA(a)}};
_.pA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.wb)((a.scope||"").replace(/[\s\xa0]+/g," "));b={client_id:a.clientid,redirect_uri:b,response_type:"code token id_token gsession",scope:c};a.approvalprompt&&(b.approval_prompt=a.approvalprompt);a.state&&(b.state=a.state);a.openidrealm&&(b["openid.realm"]=a.openidrealm);c="offline"==a.accesstype?!0:(c=a.redirecturi)&&"postmessage"!=c;c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=(0,_.wb)(a.requestvisibleactions.replace(/[\s\xa0]+/g,
" ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&"none"!==a.cookiepolicy&&(b.cookie_policy=a.cookiepolicy);"undefined"!=typeof a.includegrantedscopes&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.O("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.O("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};qA=function(a){_.nn("waaf0","signin","0");_.mA(a,function(b){_.nn("waaf1","signin","0");eA(b)})};
_.sA=function(a){a=_.pA(a);_.He("oauth-flow/authWindowWidth",445);_.He("oauth-flow/authWindowHeight",615);qA(a)};_.tA=function(a){_.Wy.unsubscribe(_.Xy,a);_.Wy.subscribe(_.Xy,a)};
var AA,DA;_.vA=function(a){return a.cookiepolicy?!0:(_.uA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.uA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.zA=function(a,b){var c=_.xm();_.qe(a,c);c=Zz(c);if(_.vA(c)){var d=_.wA();_.xA(c);b?_.ye(b,"click",function(){_.yA(c,d)}):_.yA(c,d)}};
_.wA=function(){var a=new AA;_.tA(function(b){a.mC&&b&&(b.access_token&&_.He("isPlusUser",!0),b["g-oauth-window"]&&(a.mC=!1,_.Te("OTA app install is no longer supported.")))});return a};AA=function(){this.mC=!1};_.xA=function(a){a=_.BA(a);_.CA(a.callback);_.dA(function(){_.rA(a)})};_.BA=function(a){DA(a);a.redirecturi&&delete a.redirecturi;oz(function(b){return a[b]})||(a.authuser=0);return a};DA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.CA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.uA('Callback function named "'+a+'" not found');return}a&&_.tA(a)};_.yA=function(a,b){b.mC=!0;a=_.BA(a);_.sA(a)};
_.z("gapi.auth.authorize",_.mA);_.z("gapi.auth.checkSessionState",function(a,b){var c=_.oe();c.client_id=a.client_id;c.session_state=a.session_state;_.dA(function(){Qz()?Lz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Kl):_.Kf.call(_.Ty,"check_session_state",Mz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.z("gapi.auth.getAuthHeaderValueForFirstParty",nA);_.z("gapi.auth.getToken",xz);
_.z("gapi.auth.getVersionInfo",function(a,b){_.dA(function(){var c=_.Hh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Qz()?Lz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Kl):_.Kf.call(_.Ty,"get_versioninfo",Mz(function(f){a(f)}),d,b):a()})});_.z("gapi.auth.init",_.dA);_.z("gapi.auth.setToken",_.yz);_.z("gapi.auth.signIn",function(a){_.zA(a)});_.z("gapi.auth.signOut",function(){var a=xz();a&&fA(a,a.cookie_policy)});
_.z("gapi.auth.unsafeUnpackIdToken",aA);_.z("gapi.auth._pimf",_.rA);_.z("gapi.auth._oart",Yz);_.z("gapi.auth._guss",function(a){return Az(a).read()});

_.EA=function(a){return!!(a.clientid&&a.scope&&a.callback)};_.FA=function(){var a=_.xm();_.EA(a)&&!_.O("disableRealtimeCallback")?_.xA(a):_.dA()};_.Ej(function(){_.FA()});

_.FA=function(){var a=_.xm();_.EA(a)&&!_.O("disableRealtimeCallback")&&_.xA(a)};

});
// Google Inc.
