gapi.loaded_1(function(_){var window=this;
_.qi=function(a){for(var b in a)return!1;return!0};_.ri=function(a){var b,c;return(a=null==(c=(b=a.document).querySelector)?void 0:c.call(b,"script[nonce]"))?a.nonce||a.getAttribute("nonce")||"":""};_.si=function(a,b){a.src=_.Lc(b);(b=_.ri(a.ownerDocument&&a.ownerDocument.defaultView||window))&&a.setAttribute("nonce",b)};_.ti=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 ui,vi,xi;ui={};vi=null;_.wi=_.de||_.ee||!_.pi&&!_.Zd&&"function"==typeof _.Qa.atob;_.yi=function(a,b){void 0===b&&(b=0);xi();b=ui[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],k=a[e+1],l=a[e+2],m=b[h>>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+h+k+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|m>>4]+l+d}return c.join("")};
_.zi=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=vi[m];if(null!=n)return n;if(!_.fd(m))throw Error("F`"+m);}return l}xi();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}};
xi=function(){if(!vi){vi={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));ui[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===vi[f]&&(vi[f]=e)}}}};
_.Vi={};var Xi;_.Wi=function(a){this.Hb=a||{cookie:""}};_.g=_.Wi.prototype;_.g.isEnabled=function(){if(!_.Qa.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{UI:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
_.g.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.Bra;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.UI}if(/[;=\s]/.test(a))throw Error("I`"+a);if(/[;\r\n]/.test(b))throw Error("J`"+b);void 0===k&&(k=-1);this.Hb.cookie=a+"="+b+(f?";domain="+f:"")+(h?";path="+h:"")+(0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*k)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")};
_.g.get=function(a,b){for(var c=a+"=",d=(this.Hb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.gd)(d[e]);if(0==f.lastIndexOf(c,0))return f.slice(c.length);if(f==a)return""}return b};_.g.remove=function(a,b,c){var d=this.fj(a);this.set(a,"",{UI:0,path:b,domain:c});return d};_.g.Gg=function(){return Xi(this).keys};_.g.Ld=function(){return Xi(this).values};_.g.isEmpty=function(){return!this.Hb.cookie};_.g.Tb=function(){return this.Hb.cookie?(this.Hb.cookie||"").split(";").length:0};
_.g.fj=function(a){return void 0!==this.get(a)};_.g.zk=function(a){for(var b=Xi(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.g.clear=function(){for(var a=Xi(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Xi=function(a){a=(a.Hb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.gd)(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}};
_.Yi=new _.Wi("undefined"==typeof document?null:document);
_.ij={};_.jj=function(a){return _.ij[a||"token"]||null};
var Vr;Vr=function(){var a=_.Ab();if(_.Lb())return _.Ub(a);a=_.Ib(a);var b=_.Tb(a);return _.Kb()?b(["Version","Opera"]):_.Mb()?b(["Edge"]):_.Nb()?b(["Edg"]):_.Gb("Silk")?b(["Silk"]):_.Qb()?b(["Chrome","CriOS","HeadlessChrome"]):(a=a[2])&&a[1]||""};_.Wr=function(a){return 0<=_.rd(Vr(),a)};_.Yr=function(){return _.Cb&&_.Db?_.Db.mobile:!_.Xr()&&(_.Gb("iPod")||_.Gb("iPhone")||_.Gb("Android")||_.Gb("IEMobile"))};
_.Xr=function(){return _.Cb&&_.Db?!_.Db.mobile&&(_.Gb("iPad")||_.Gb("Android")||_.Gb("Silk")):_.Gb("iPad")||_.Gb("Android")&&!_.Gb("Mobile")||_.Gb("Silk")};_.Zr=function(){return!_.Yr()&&!_.Xr()};
var bv,cv,dv,ev,fv,hv,iv,jv,kv,mv;_.$u=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in a))return!1;return!0};_.av=!1;bv=function(a){try{_.av&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};cv=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};dv=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};
ev=function(a,b){function c(){}if(!a)throw Error("W");if(!b)throw Error("X");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};fv=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.gv=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};hv=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};
iv=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("Y`"+b);};jv={token:1,id_token:1};kv=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.lv=window.JSON;mv=function(a){this.JN=a||[];this.xc={}};
mv.prototype.addEventListener=function(a,b){if(!(0<=dv(this.JN,a)))throw Error("$`"+a);if(!fv(b))throw Error("aa`"+a);this.xc[a]||(this.xc[a]=[]);0>dv(this.xc[a],b)&&this.xc[a].push(b)};mv.prototype.removeEventListener=function(a,b){if(!(0<=dv(this.JN,a)))throw Error("$`"+a);fv(b)&&this.xc[a]&&this.xc[a].length&&(b=dv(this.xc[a],b),0<=b&&this.xc[a].splice(b,1))};
mv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=dv(this.JN,b)))throw Error("ba`"+b);if(this.xc[b]&&this.xc[b].length)for(var c=this.xc[b].length,d=0;d<c;d++)this.xc[b][d](a)};var nv,ov,pv,tv,uv,Lv,Mv,Ov,Pv,Rv,Vv,Wv,Xv,aw;nv={};ov={};pv={google:{fedcmConfigUrl:"https://accounts.google.com/o/fedcm/config.json",authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.qv=function(a,b){if(a=pv[a])return a[b]};
_.rv=function(a,b){if(!a)throw Error("ca");if(!b.authServerUrl)throw Error("da");if(!b.idpIFrameUrl)throw Error("ea");pv[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl};b.fedcmConfigUrl?pv[a].fedcmConfigUrl=b.fedcmConfigUrl:"google"===a&&(pv[a].fedcmConfigUrl="https://accounts.google.com/o/fedcm/config.json")};_.sv=void 0;
tv=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")};uv=function(){this.Xi=window;this.Wy=this.Zn=this.ew=this.Mi=null};
uv.prototype.open=function(a,b,c,d){vv(this);this.ew?(this.Zn&&(this.Zn(),this.Zn=null),wv(this)):this.ew="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Mi=this.Xi.open(a,this.ew,b);try{this.Mi.focus();if(this.Mi.closed||"undefined"==typeof this.Mi.closed)throw Error("ga");_.sv=this.Mi}catch(e){d&&setTimeout(d,0);this.Mi=null;break a}c&&(this.Zn=c,xv(this))}};
var vv=function(a){try{if(null==a.Mi||a.Mi.closed)a.Mi=null,a.ew=null,wv(a),a.Zn&&(a.Zn(),a.Zn=null)}catch(b){a.Mi=null,a.ew=null,wv(a)}},xv=function(a){a.Wy=window.setInterval(function(){vv(a)},300)},wv=function(a){a.Wy&&(window.clearInterval(a.Wy),a.Wy=null)};ov=ov||{};var yv=function(a,b){this.qc=a;this.gI=b;this.Sd=null;this.So=!1};yv.prototype.start=function(){if(!this.So&&!this.Sd){var a=this;this.Sd=window.setTimeout(function(){a.clear();a.So||(a.qc(),a.So=!0)},ov.tT(this.gI))}};
yv.prototype.clear=function(){this.Sd&&(window.clearTimeout(this.Sd),this.Sd=null)};var zv=function(a,b){var c=ov.Dt;this.haa=ov.vt;this.U0=c;this.qc=a;this.gI=b;this.Sd=null;this.So=!1;var d=this;this.V0=function(){document[d.haa]||(d.clear(),d.start())}};zv.prototype.start=function(){if(!this.So&&!this.Sd){iv(document,this.U0,this.V0);var a=this;this.Sd=window.setTimeout(function(){a.clear();a.So||(a.qc(),a.So=!0)},ov.tT(this.gI))}};
zv.prototype.clear=function(){var a=this.U0,b=this.V0,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("Z`"+a);this.Sd&&(window.clearTimeout(this.Sd),this.Sd=null)};ov.vt=null;ov.Dt=null;
ov.Laa=function(){var a=document;"undefined"!==typeof a.hidden?(ov.vt="hidden",ov.Dt="visibilitychange"):"undefined"!==typeof a.msHidden?(ov.vt="msHidden",ov.Dt="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(ov.vt="webkitHidden",ov.Dt="webkitvisibilitychange")};ov.Laa();ov.Z6=function(a,b){return ov.vt&&ov.Dt?new zv(a,b):new yv(a,b)};ov.tT=function(a){return Math.max(1,a-(new Date).getTime())};
var Av=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},Bv=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 q=h,t=0;64>t;t+=4)q[t/4]=p[t]<<24|p[t+1]<<16|p[t+2]<<8|p[t+3];for(t=16;80>t;t++)p=q[t-3]^q[t-8]^q[t-14]^q[t-16],q[t]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],x=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var z=w^v&(u^w);var G=1518500249}else z=
v^u^w,G=1859775393;else 60>t?(z=v&u|w&(v|u),G=2400959708):(z=v^u^w,G=3395469782);z=((p<<5|p>>>27)&4294967295)+z+x+G+q[t]&4294967295;x=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=z}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+x&4294967295}function c(p,q){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var t=[],v=0,u=p.length;v<u;++v)t.push(p.charCodeAt(v));p=t}q||(q=p.length);t=0;if(0==m)for(;t+64<q;)b(p.slice(t,t+64)),t+=64,n+=64;for(;t<
q;)if(f[m++]=p[t++],n++,64==m)for(m=0,b(f);t+64<q;)b(p.slice(t,t+64)),t+=64,n+=64}function d(){var p=[],q=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var t=63;56<=t;t--)f[t]=q&255,q>>>=8;b(f);for(t=q=0;5>t;t++)for(var v=24;0<=v;v-=8)p[q++]=e[t]>>v&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,hj:function(){for(var p=d(),q="",t=0;t<p.length;t++)q+="0123456789ABCDEF".charAt(Math.floor(p[t]/16))+"0123456789ABCDEF".charAt(p[t]%16);return q}}},Cv=
window.crypto,Dv=!1,Ev=0,Fv=1,Gv=0,Hv="",Iv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Fv=Fv*b%Gv;if(3==++Ev)if(a=window,b=Iv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("Z`mousemove");},Jv=function(a){var b=Bv();b.update(a);return b.hj()};Dv=!!Cv&&"function"==typeof Cv.getRandomValues;
Dv||(Gv=1E6*(screen.width*screen.width+screen.height),Hv=Jv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),iv(window,"mousemove",Iv));nv=nv||{};nv.X2="ssIFrame_";
_.Kv=function(a,b,c){c=void 0===c?!1:c;this.Ib=a;if(!this.Ib)throw Error("ha");a=_.qv(a,"idpIFrameUrl");if(!a)throw Error("ia");this.DU=a;if(!b)throw Error("ja");this.Cn=b;a=this.DU;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.RH=a.join("");this.lea=[location.protocol,"//",location.host].join("");
this.jx=this.QH=this.Wo=!1;this.zU=null;this.QB=[];this.vs=[];this.uk={};this.Xo=void 0;this.dt=c};_.g=_.Kv.prototype;_.g.show=function(){var a=this.Xo;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")};_.g.lc=function(){tv(this.Xo)};
_.g.sB=function(a){if(this.Wo)a&&a(this);else{if(!this.Xo){var b=nv.X2+this.Ib;var c=this.Ib;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=dv(e.split("|"),c))?Av(e,d):Av(e?e+"|"+c:c,d);c=!f;var h=this.DU,k=this.lea;d=this.Cn;e=this.dt;e=void 0===e?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b=f.setAttribute;var l="allow-scripts allow-same-origin";document.requestStorageAccess&&fv(document.requestStorageAccess)&&
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);f.setAttribute("allow","identity-credentials-get");tv(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.av&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Xo=f}a&&this.QB.push(a)}};_.g.AV=function(){return this.Wo&&this.jx};_.g.Io=function(){return this.zU};
Lv=function(a){for(var b=0;b<a.QB.length;b++)a.QB[b](a);a.QB=[]};_.Nv=function(a,b,c,d){if(a.Wo){if(a.Wo&&a.QH)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Io(),bv(a),Error(a);Mv(a,{method:b,params:c},d)}else a.vs.push({Op:{method:b,params:c},callback:d}),a.sB()};Mv=function(a,b,c){if(c){for(var d=b.id;!d||a.uk[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.uk[d]=c}b.rpcToken=a.Cn;a.Xo.contentWindow.postMessage(_.lv.stringify(b),a.RH)};
Ov=function(a){if(a&&0<=a.indexOf("::"))throw Error("ka");};_.Kv.prototype.Kj=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;Ov(f);b=_.gv(b);_.Nv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.Kv.prototype.qB=function(a,b,c,d,e){b=_.gv(b);_.Nv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Pv=function(a,b,c){Ov(b.identifier);_.Nv(a,"getSessionSelector",b,c)};
_.Qv=function(a,b,c,d,e){Ov(b.identifier);_.Nv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Rv=function(a,b,c,d,e){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);_.Nv(a,"monitorClient",b,e)};_.Kv.prototype.revoke=_.fb(8);_.Kv.prototype.Rt=_.fb(10);nv.IA={};nv.SG=function(a){return nv.IA[a]};
nv.sB=function(a,b,c){c=void 0===c?!1:c;var d=nv.SG(a);if(!d){d=String;if(Dv){var e=new window.Uint32Array(1);Cv.getRandomValues(e);e=Number("0."+e[0])}else e=Fv,e+=parseInt(Hv.substr(0,20),16),Hv=Jv(Hv),e/=Gv+Math.pow(16,20);d=new _.Kv(a,d(2147483647*e),c);nv.IA[a]=d}d.sB(b)};nv.C8=function(a){for(var b in nv.IA){var c=nv.SG(b);if(c&&c.Xo&&c.Xo.contentWindow==a.source&&c.RH==a.origin)return c}};nv.m9=function(a){for(var b in nv.IA){var c=nv.SG(b);if(c&&c.RH==a)return c}};nv=nv||{};
var Tv=function(){var a=[],b;for(b in _.Sv)a.push(_.Sv[b]);mv.call(this,a);this.Rm={};bv("EventBus is ready.")};ev(Tv,mv);_.Sv={J4:"sessionSelectorChanged",AE:"sessionStateChanged",rt:"authResult",V1:"displayIFrame"};Vv=function(a,b){var c=Uv;a&&b&&(c.Rm[a]||(c.Rm[a]=[]),0>dv(c.Rm[a],b)&&c.Rm[a].push(b))};Wv=function(a){var b=Uv;a&&(b.Rm[a]||(b.Rm[a]=[]))};Xv=function(a,b,c){return b&&a.Rm[b]&&0<=dv(a.Rm[b],c)};_.g=Tv.prototype;
_.g.rda=function(a){var b,c=!!a.source&&(a.source===_.sv||a.source.opener===window);if(b=c?nv.m9(a.origin):nv.C8(a)){try{var d=_.lv.parse(a.data)}catch(e){bv("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Cn){bv("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.uk[c.id])delete b.uk[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?bv("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.CU[a.type]?(d=this.CU[a.type],
c&&!d.P5?bv("Bad IDP event. Source window cannot be a popup."):d.lt&&!d.lt.call(this,b,a)?bv("Bad IDP event."):d.Wf.call(this,b,a)):bv("Bad IDP event.")}else bv("Bad event, no corresponding Idp Stub.")};_.g.Lea=function(a,b){return Xv(this,a.Ib,b.clientId)};_.g.Kea=function(a,b){a=a.Ib;b=b.clientId;return!b||Xv(this,a,b)};_.g.d6=function(a,b){return Xv(this,a.Ib,b.clientId)};
_.g.wca=function(a,b){a.Wo=!0;a.jx=!!b.cookieDisabled;Lv(a);for(b=0;b<a.vs.length;b++)Mv(a,a.vs[b].Op,a.vs[b].callback);a.vs=[]};_.g.vca=function(a,b){b={error:b.error};a.Wo=!0;a.QH=!0;a.zU=b;a.vs=[];Lv(a)};_.g.rC=function(a,b){b.originIdp=a.Ib;this.dispatchEvent(b)};var Uv=new Tv,Yv=Uv,Zv={};Zv.idpReady={Wf:Yv.wca};Zv.idpError={Wf:Yv.vca};Zv.sessionStateChanged={Wf:Yv.rC,lt:Yv.Lea};Zv.sessionSelectorChanged={Wf:Yv.rC,lt:Yv.Kea};Zv.authResult={Wf:Yv.rC,lt:Yv.d6,P5:!0};Zv.displayIFrame={Wf:Yv.rC};
Uv.CU=Zv||{};iv(window,"message",function(a){Uv.rda.call(Uv,a)});
_.$v=function(a,b){this.Xe=!1;if(!a)throw Error("la");var c=[],d;for(d in a)c.push(a[d]);mv.call(this,c);this.Od=[location.protocol,"//",location.host].join("");this.ue=b.crossSubDomains?b.domain||this.Od:this.Od;if(!b)throw Error("ma");if(!b.idpId)throw Error("na");if(!_.qv(b.idpId,"authServerUrl")||!_.qv(b.idpId,"idpIFrameUrl"))throw Error("oa`"+b.idpId);this.Ib=b.idpId;this.Vb=void 0;this.h7=!!b.disableTokenRefresh;this.a8=!!b.forceTokenRefresh;this.Mfa=!!b.skipTokenCache;this.dt=!!b.supportBlocked3PCookies;
b.pluginName&&(this.gda=b.pluginName);b.ackExtensionDate&&(this.D5=b.ackExtensionDate);this.setOptions(b);this.du=[];this.jx=this.Wk=this.lV=!1;this.Dj=void 0;this.xY();this.ee=void 0;var e=this,f=function(){bv("Token Manager is ready.");if(e.du.length)for(var h=0;h<e.du.length;h++)e.du[h].call(e);e.lV=!0;e.du=[]};nv.sB(this.Ib,function(h){e.ee=h;h.Wo&&h.QH?(e.Wk=!0,e.Dj=h.Io(),e.hs(e.Dj)):(e.jx=h.AV(),e.Vb?Rv(e.ee,e.Vb,e.gda,e.D5,function(k){var l=!!k.validOrigin,m=!!k.blocked,n=!!k.suppressed;k.invalidExtension?
(e.Dj={error:"Invalid value for ack_extension_date. Please refer to [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Wk=!0,e.hs(e.Dj)):l?m?n?(cv("You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Vv(e.Ib,e.Vb),f()):(e.Dj={error:"You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Wk=!0,e.hs(e.Dj)):(cv("Your client application uses libraries for user authentication or authorization that are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Vv(e.Ib,e.Vb),f()):(e.Dj={error:"Not a valid origin for the client: "+e.Od+" has not been registered for client ID "+e.Vb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Wk=!0,e.hs(e.Dj))}):(Wv(e.Ib),f()))},this.dt)};ev(_.$v,mv);_.g=_.$v.prototype;_.g.setOptions=function(){};_.g.xY=function(){};_.g.hs=function(){};_.g.AV=function(){return this.jx};_.g.Io=function(){return this.Dj};aw=function(a,b,c){return function(){b.apply(a,c)}};
_.bw=function(a,b,c){if(a.lV)b.apply(a,c);else{if(a.Wk)throw a.Dj;a.du.push(aw(a,b,c))}};_.$v.prototype.UP=_.fb(11);_.$v.prototype.Rt=_.fb(9);_.dw=function(a,b){_.$v.call(this,a,b);this.QX=new uv;this.ql=this.Cp=null;cw(this)};ev(_.dw,_.$v);_.dw.prototype.setOptions=function(){};
var ew=function(a,b){a.Ue={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.ue};b.crossSubDomains&&(a.Ue.policy=b.policy)},fw=function(a,b){if(!b.authParameters)throw Error("pa");if(!b.authParameters.scope)throw Error("qa");if(!b.authParameters.response_type)throw Error("ra");a.Eq=b.authParameters;a.Eq.redirect_uri||(a.Eq.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Uj=_.gv(b.rpcAuthParameters||a.Eq);if(!a.Uj.scope)throw Error("sa");if(!a.Uj.response_type)throw Error("ta");
a:{var c=a.Uj.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!jv[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ua");b.enableSerialConsent&&(a.Uj.enable_serial_consent=!0);b.authResultIdentifier&&(a.e6=b.authResultIdentifier);b.spec_compliant&&(a.Uj.spec_compliant=b.spec_compliant)};
_.dw.prototype.xY=function(){var a=this;Uv.addEventListener(_.Sv.J4,function(b){a.Xe&&a.Ue&&b.originIdp==a.Ib&&!b.crossSubDomains==!a.Ue.crossSubDomains&&b.domain==a.Ue.domain&&b.id==a.Ue.id&&a.hX(b)});Uv.addEventListener(_.Sv.AE,function(b){a.Xe&&b.originIdp==a.Ib&&b.clientId==a.Vb&&a.iX(b)});Uv.addEventListener(_.Sv.rt,function(b){_.sv=void 0;a.Xe&&b.originIdp==a.Ib&&b.clientId==a.Vb&&b.id==a.kl&&(a.Cp&&(window.clearTimeout(a.Cp),a.Cp=null),a.kl=void 0,a.xp(b))});Uv.addEventListener(_.Sv.V1,function(b){a.Xe&&
b.originIdp==a.Ib&&(b.lc?a.ee.lc():a.ee.show())})};_.dw.prototype.hX=function(){};_.dw.prototype.iX=function(){};_.dw.prototype.xp=function(){};var hw=function(a,b){gw(a);a.h7||(a.ql=ov.Z6(function(){a.Kj(!0)},b-3E5),navigator.onLine&&a.ql.start())},gw=function(a){a.ql&&(a.ql.clear(),a.ql=null)},cw=function(a){var b=window;kv()&&(b=document.body);iv(b,"online",function(){a.ql&&a.ql.start()});iv(b,"offline",function(){a.ql&&a.ql.clear()})};_.dw.prototype.Kj=function(){};_.dw.prototype.KW=_.fb(12);
_.dw.prototype.sba=function(a,b){if(!this.Vb)throw Error("ya");this.ee.qB(this.Vb,this.Uj,this.Ue,a,b)};_.dw.prototype.qB=function(a,b){_.bw(this,this.sba,[a,b])};_.jw=function(a){this.Pe=void 0;this.Zh=!1;this.Fs=void 0;_.dw.call(this,iw,a)};ev(_.jw,_.dw);var iw={pO:"noSessionBound",Ct:"userLoggedOut",j1:"activeSessionChanged",AE:"sessionStateChanged",j5:"tokenReady",i5:"tokenFailed",rt:"authResult",ERROR:"error"};
_.jw.prototype.setOptions=function(a){if(!a.clientId)throw Error("za");this.Vb=a.clientId;this.Ha=a.id;ew(this,a);fw(this,a)};_.jw.prototype.hs=function(a){this.dispatchEvent({type:iw.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Ib})};var kw=function(a){gw(a);a.Fs=void 0;a.EI=void 0};_.g=_.jw.prototype;
_.g.hX=function(a){var b=a.newValue||{};if(this.Pe!=b.hint||this.Zh!=!!b.disabled){a=this.Pe;var c=!this.Pe||this.Zh;kw(this);this.Pe=b.hint;this.Zh=!!b.disabled;(b=!this.Pe||this.Zh)&&!c?this.dispatchEvent({type:iw.Ct,idpId:this.Ib}):b||(a!=this.Pe&&this.dispatchEvent({type:iw.j1,idpId:this.Ib}),this.Pe&&this.Kj())}};
_.g.iX=function(a){this.Zh||(this.Pe?a.user||this.Fs?a.user==this.Pe&&(this.Fs?a.sessionState?this.Fs=a.sessionState:(kw(this),this.dispatchEvent({type:iw.Ct,idpId:this.Ib})):a.sessionState&&(this.Fs=a.sessionState,this.Kj())):this.Kj():this.dispatchEvent({type:iw.AE,idpId:this.Ib}))};_.g.xp=function(a){this.dispatchEvent({type:iw.rt,authResult:a.authResult})};_.g.Ku=_.fb(14);_.g.Eu=function(a){_.bw(this,this.FG,[a])};_.g.FG=function(a){Pv(this.ee,this.Ue,a)};
_.g.ED=function(a,b,c,d){d=void 0===d?!1:d;if(!a)throw Error("Aa");kw(this);this.Pe=a;this.Zh=!1;b&&_.Qv(this.ee,this.Ue,!1,this.Pe);this.Xe=!0;this.Kj(c,!0,d)};_.g.start=function(){_.bw(this,this.Uw,[])};
_.g.Uw=function(){var a=this.Vb==hv("client_id")?hv("login_hint"):void 0;var b=this.Vb==hv("client_id")?hv("state"):void 0;this.oJ=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.ED(a,!0,!0,!0);else{var c=this;this.Eu(function(d){c.Xe=!0;d&&d.hint?(kw(c),c.Pe=d.hint,c.Zh=!!d.disabled,c.Zh?c.dispatchEvent({type:iw.Ct,idpId:c.Ib}):c.ED(d.hint)):(kw(c),c.Pe=void 0,c.Zh=!(!d||!d.disabled),c.dispatchEvent({type:iw.pO,
autoOpenAuthUrl:!c.Zh,idpId:c.Ib}))})}};_.g.X7=function(){var a=this;this.Eu(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:iw.Ct,idpId:a.Ib}):a.Kj(!0):a.dispatchEvent({type:iw.pO,idpId:a.Ib})})};_.g.tS=function(){_.bw(this,this.X7,[])};
_.g.Kj=function(a,b,c){var d=this;this.ee.Kj(this.Vb,this.Uj,this.Pe,this.Ue,function(e,f){(f=f||e.error)?"user_logged_out"==f?(kw(d),d.dispatchEvent({type:iw.Ct,idpId:d.Ib})):(d.EI=null,d.dispatchEvent({type:iw.i5,idpId:d.Ib,error:f})):(d.EI=e,d.Fs=e.session_state,hw(d,e.expires_at),e.idpId=d.Ib,b&&d.oJ&&(e.state=d.oJ,d.oJ=void 0),d.dispatchEvent({type:iw.j5,idpId:d.Ib,response:e}))},this.Ha,a,!1,void 0===c?!1:c)};_.g.revoke=_.fb(7);_.g.SY=_.fb(15);
_.lw=function(a){this.Sn=null;_.dw.call(this,{},a);this.Xe=!0};ev(_.lw,_.dw);_.g=_.lw.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("za");this.Vb=a.clientId;this.Ha=a.id;ew(this,a);fw(this,a)};_.g.hs=function(a){this.Sn&&(this.Sn({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Sn=null)};_.g.xp=function(a){if(this.Sn){var b=this.Sn;this.Sn=null;b(a)}};_.g.Ku=_.fb(13);_.g.Eu=function(a){this.Wk?a(this.Io()):_.bw(this,this.FG,[a])};
_.g.FG=function(a){Pv(this.ee,this.Ue,a)};_.mw=function(a,b,c){a.Wk?c(a.Io()):_.bw(a,a.Lca,[b,c])};_.lw.prototype.Lca=function(a,b){this.ee.Kj(this.Vb,this.Uj,a,this.Ue,function(c,d){d?b({error:d}):b(c)},this.Ha,this.a8,this.Mfa)};_.lw.prototype.XV=_.fb(16);
var nw=function(a,b){b=_.bc(b);void 0!==b&&a.assign(b)},ow=function(a){return Array.prototype.concat.apply([],arguments)},pw=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 _.yi(a,3).substring(0,64)},qw=function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(null===d||void 0===d)d="";b.push(encodeURIComponent(c)+"="+encodeURIComponent(d))}return b.join("&")},
rw=function(a){window.addEventListener("hashchange",function(){location.hash.includes("client_id")&&window.location.reload()});nw(window.location,_.ef(a))},sw=function(a,b,c){if(!a.Xe)throw Error("va");b?_.Qv(a.ee,a.Ue,!0,void 0,c):_.Qv(a.ee,a.Ue,!0,a.Pe,c)},tw=function(a){if(!a.Xe)throw Error("va");return a.EI},uw,vw,ww,xw,yw,zw,Aw,Bw,Cw,Dw,Ew,Gw;
_.lw.prototype.XV=_.ib(16,function(a,b){var c=this.ee,d=this.Vb,e=this.Ue,f=_.gv(this.Uj);delete f.response_type;_.Nv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.jw.prototype.SY=_.ib(15,function(a){tw(this)&&tw(this).access_token&&(this.ee.revoke(this.Vb,tw(this).access_token,a),sw(this,!0))});
_.jw.prototype.Ku=_.ib(14,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&(a.nC?(b.authResult.client_id=a.Vb,rw(a.nC+"#"+qw(b.authResult))):a.ED(b.authResult.login_hint,a.Zh||b.authResult.login_hint!=a.Pe,!0,!0))}});
_.lw.prototype.Ku=_.ib(13,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Eu(function(d){_.Qv(b.ee,b.Ue,d&&d.disabled,c.authResult.login_hint,function(){_.mw(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"})}});_.dw.prototype.KW=_.ib(12,function(){this.Vb&&_.Nv(this.ee,"startPolling",{clientId:this.Vb,origin:this.Od,id:this.kl})});
_.Kv.prototype.revoke=_.ib(8,function(a,b,c){_.Nv(this,"revoke",{clientId:a,token:b},c)});_.jw.prototype.revoke=_.ib(7,function(a){_.bw(this,this.SY,[a])});uw=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};
vw=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=RegExp("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};
ww=function(){if(_.mc()&&!_.Wr("118"))return!1;var a=_.Qb()&&!_.Nb()&&!_.Ob(),b=_.hc()||_.Zr(),c;if(c="IdentityCredential"in window){try{var d=window.self!==window.top}catch(e){d=!0}c=!d}return c&&a&&b&&_.Wr("123")};
xw=function(a,b,c,d,e,f,h){var k=_.qv(a,"authServerUrl");if(!k)throw Error("fa`"+a);a=_.gv(d);a.response_type=h||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];(b=e)&&!(b=vw())&&(b=navigator.userAgent.toLowerCase(),-1<b.indexOf("ipad;")||-1<b.indexOf("iphone;")?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||2>b.length?!1:14<=parseInt(b[1],10)):b=!1);b&&!a.prompt&&(a.prompt=
"select_account");return k+(0>k.indexOf("?")?"?":"&")+qw(a)};yw=function(a,b,c,d){if(!a.Vb)throw Error("wa");a.kl=c||a.e6||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Od.split("//");c=b.extraQueryParams;var f=e[0],h=f.indexOf(":");0<h&&(f=f.substring(0,h));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.kl);c.redirect_uri=e.join("")}return xw(a.Ib,a.ue,a.Vb,a.Eq,!0,b,d)};
zw=function(a,b,c){if(!a.Vb)throw Error("wa");return xw(a.Ib,a.ue,a.Vb,a.Eq,!1,b,c)};Aw=function(a,b){a.Cp&&window.clearTimeout(a.Cp);a.Cp=window.setTimeout(function(){a.kl==b&&(_.sv=void 0,a.Cp=null,a.kl=void 0,a.xp({authResult:{error:"popup_closed_by_user"}}))},1E3)};
Bw=function(a,b,c){if(!a.Vb)throw Error("xa");c=c||{};c=yw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||uw())&&_.bw(a,a.KW,[]);var d=a.kl;a.QX.open(c,b,function(){a.kl==d&&Aw(a,d)},function(){a.kl=void 0;a.xp({authResult:{error:"popup_blocked_by_browser"}})})};
Cw=function(a,b){b=b||{};var c=_.gv(a.Eq);if(b.sessionMeta&&b.sessionMeta.extraQueryParams)for(var d in b.sessionMeta.extraQueryParams)c[d]=b.sessionMeta.extraQueryParams[d];var e;b.sessionMeta.extraQueryParams.scope&&(e=b.sessionMeta.extraQueryParams.scope.split(" "));!e&&c.scope&&(e=c.scope.split(" "));delete c.redirect_uri;delete c.origin;delete c.client_id;delete c.response_type;delete c.scope;"select_account"==c.prompt&&delete c.prompt;c.gsiwebsdk="fedcm";c.ss_domain=a.ue;c.nonce||(c.nonce="notprovided");
return{identity:{providers:[{configURL:_.qv(a.Ib,"fedcmConfigUrl"),clientId:a.Vb,scope:e,responseType:b.responseType.split(" "),params:c}],mode:"button"},mediation:"required"}};
Dw=function(a,b){if(!a.Vb)throw Error("xa");b=Cw(a,b);navigator.credentials.get(b).then(function(c){c=JSON.parse(c.token);var d={client_id:c.client_id,login_hint:c.login_hint,expires_in:3600,scope:c.scope};c.code&&(d.code=c.code);c.id_token&&(d.id_token=c.id_token);a.xp({type:_.Sv.rt,idpId:a.Ib,authResult:d})},function(c){a.xp({type:_.Sv.rt,idpId:a.Ib,authResult:{error:c}})})};Ew=function(a,b,c){a.Wk?c(a.Io()):_.bw(a,a.XV,[b,c])};
_.Fw=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 h=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(h&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],h=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|h&63)}return b.join("")};
Gw=function(a){var b=[];_.zi(a,function(c){b.push(c)});return b};_.Hw=function(a,b){_.ij[b||"token"]=a};_.Iw=function(a){delete _.ij[a||"token"]};_.lv={parse:function(a){a=_.Kg("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Lg(a)}};_.lw.prototype.qG=function(a,b){_.bw(this,this.N7,[a,b])};_.lw.prototype.N7=function(a,b){this.ee.qG(this.Vb,a,this.Uj,this.Ue,b)};_.Kv.prototype.qG=function(a,b,c,d,e){c=_.gv(c);_.Nv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var Jw,Kw=["client_id","cookie_policy","scope"],Lw="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 plugin_name ack_extension_date gsiwebsdk".split(" "),Mw=["authuser","after_redirect","access_type","hl"],Nw=["login_hint","prompt"],Ow={clientid:"client_id",cookiepolicy:"cookie_policy"},Pw=["approval_prompt",
"authuser","login_hint","prompt","hd"],Qw=["login_hint","g-oauth-window","status"],Rw=Math.min(_.Gf("oauth-flow/authWindowWidth",599),screen.width-20),Sw=Math.min(_.Gf("oauth-flow/authWindowHeight",600),screen.height-30);var Tw=function(a){_.kb.call(this,a)};_.C(Tw,_.kb);Tw.prototype.name="gapi.auth2.ExternallyVisibleError";var Uw=function(){};Uw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Vw=function(){};Vw.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 Ww=function(a){this.f6=a};
Ww.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.f6){d.login_hint?b(d):b();return}}b()};var Xw=function(a){this.Ge=a;this.XC=[]};Xw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.XC[b];f?(b++,c.Ge.qB(function(h){h?f.select(h,d):d()})):a()}};d()};var Yw=function(a){a=new Xw(a);a.XC.push(new Uw);return a},Zw=function(a){a=new Xw(a);a.XC.push(new Vw);return a},$w=function(a,b){void 0===b||null===b?b=Yw(a):(a=new Xw(a),a.XC.push(new Ww(b)),b=a);return b};var ax=function(a){this.Wf=a;this.isActive=!0};ax.prototype.remove=function(){this.isActive=!1};ax.prototype.trigger=function(){};var bx=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},cx=function(){this.xc=[]};cx.prototype.add=function(a){this.xc.push(a)};cx.prototype.notify=function(a){for(var b=this.xc,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),_.Lk(dx(e.Wf,a)))}this.xc=c};var dx=function(a,b){return function(){a(b)}};var fx=function(a){this.Ca=null;this.Jga=new ex(this);this.xc=new cx;void 0!=a&&this.set(a)};fx.prototype.set=function(a){a!=this.Ca&&(this.Ca=a,this.Jga.value=a,this.xc.notify(this.Ca))};fx.prototype.get=function(){return this.Ca};fx.prototype.ma=function(a){a=new gx(this,a);this.xc.add(a);return a};fx.prototype.get=fx.prototype.get;var gx=function(a,b){ax.call(this,b);this.wba=a};_.C(gx,ax);gx.prototype.trigger=function(){var a=this.Wf;a(this.wba.get())};
var ex=function(a){this.value=null;this.ma=function(b){return new bx(a.ma(b))}};var hx={aja:"fetch_basic_profile",cka:"login_hint",Bla:"prompt",Hla:"redirect_uri",Zla:"scope",vna:"ux_mode",Lma:"state"},ix=function(a){this.Oa={};if(a&&!_.qi(a))if("function"==typeof a.get)this.Oa=a.get();else for(var b in hx){var c=hx[b];c in a&&(this.Oa[c]=a[c])}};ix.prototype.get=function(){return this.Oa};ix.prototype.SZ=function(a){this.Oa.scope=a;return this};ix.prototype.Tu=function(){return this.Oa.scope};
var jx=function(a,b){var c=a.Oa.scope;b=ow(b.split(" "),c?c.split(" "):[]);_.Bk(b);a.Oa.scope=b.join(" ")};_.g=ix.prototype;_.g.mfa=function(a){this.Oa.prompt=a;return this};_.g.o9=function(){return this.Oa.prompt};_.g.Oea=function(){_.Pg.warn("Property app_package_name no longer supported and was not set");return this};_.g.k8=function(){_.Pg.warn("Property app_package_name no longer supported")};_.g.Jf=function(a){this.Oa.state=a};_.g.getState=function(){return this.Oa.state};var kx=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Rw,"height="+Sw,"top="+(screen.height-Sw)/2,"left="+(screen.width-Rw)/2].join()},lx=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.Fw(Gw(a)))},mx=function(){Jw=_.Gf("auth2/idpValue","google");var a=_.Gf("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.Gf("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");a={fedcmConfigUrl:_.Gf("oauth-flow/fedcmConfigUrl","https://accounts.google.com/o/fedcm/config.json"),authServerUrl:a,idpIFrameUrl:b};_.rv(Jw,a)},nx=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}_.qc(a[e])||(a[e]={});a=a[e]}},ox=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},qx=function(){var a=px();a.storage_path&&window.sessionStorage.setItem(a.storage_path,
ox()+window.location.pathname);if("enforced"==a.status.toLowerCase())throw new Tw("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href);"informational"==a.status.toLowerCase()&&_.Pg.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)};var rx=function(a){var b=a?(b=lx(a))?b.sub:null:null;this.Ha=b;this.Tc=a?_.Ck(a):null};_.g=rx.prototype;_.g.getId=function(){return this.Ha};_.g.OG=function(){var a=lx(this.Tc);return a?a.hd:null};_.g.Lg=function(){return!!this.Tc};_.g.ym=function(a){if(a)return this.Tc;a=sx;var b=_.Ck(this.Tc);!a.VA||a.LH||a.W$||(delete b.access_token,delete b.scope);return b};_.g.kK=function(){return sx.kK()};_.g.Gl=function(){this.Tc=null};_.g.N8=function(){return this.Tc?this.Tc.scope:null};
_.g.update=function(a){this.Ha=a.Ha;this.Tc=a.Tc;this.Tc.id_token?this.sy=new tx(this.Tc):this.sy&&(this.sy=null)};var ux=function(a){return a.Tc&&"object"==typeof a.Tc.session_state?_.Ck(a.Tc.session_state.extraQueryParams||{}):{}};_.g=rx.prototype;_.g.DG=function(){var a=ux(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.g.Fl=function(a){var b=sx,c=new ix(a);b.LH=c.Tu()?!0:!1;sx.VA&&jx(c,"openid profile email");return new _.Wk(function(d,e){var f=ux(this);f.login_hint=this.getId();f.scope=c.Tu();vx(b,d,e,f)},this)};_.g.Wu=function(a){return new _.Wk(function(b,c){var d=a||{},e=sx;d.login_hint=this.getId();e.Wu(d).then(b,c)},this)};_.g.J9=function(a){return this.Fl(a)};_.g.disconnect=function(){return sx.disconnect()};_.g.m8=function(){return this.sy};
_.g.CA=function(a){if(!this.Lg())return!1;var b=this.Tc&&this.Tc.scope?this.Tc.scope.split(" "):"";return _.Xc(a?a.split(" "):[],function(c){return _.ob(b,c)})};var tx=function(a){a=lx(a);this.f8=a.sub;this.hg=a.name;this.E9=a.given_name;this.L7=a.family_name;this.HU=a.picture;this.kz=a.email};_.g=tx.prototype;_.g.getId=function(){return this.f8};_.g.Hg=function(){return this.hg};_.g.L8=function(){return this.E9};_.g.E8=function(){return this.L7};_.g.U8=function(){return this.HU};_.g.Co=function(){return this.kz};var px,wx;px=function(){var a=_.Yi.get("G_AUTH2_MIGRATION");if(!a)return{status:"none"};a=/(enforced|informational)(?::(.*))?/i.exec(a);return a?{status:a[1].toLowerCase(),storage_path:a[2]}:(_.Pg.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};wx=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.xx=function(a){if(!a)throw new Tw("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 Tw("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(!_.Lj(b,"."+a)&&!_.Lj(b,a))throw new Tw("Invalid cookiePolicy domain");return d};var zx=function(a){var b=a||{},c=yx();_.Sc(Lw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},yx=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;Ow[d]&&(d=Ow[d]);_.ob(Lw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},Ax=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Bx=function(a){_.Sc(Lw,
function(b){var c=Ax(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},Cx=function(a){a=zx(a);Bx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Lw+Mw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},Dx=function(a,b){if(!a)throw new Tw("Empty initial options.");for(var c=0;c<Kw.length;++c)if(!(b&&"scope"==Kw[c]||a[Kw[c]]))throw new Tw("Missing required parameter '"+Kw[c]+"'");_.xx(a.cookie_policy)},Fx=function(a){var b={authParameters:{redirect_uri:void 0,
response_type:"token id_token",scope:a.scope,"openid.realm":a.openid_realm,include_granted_scopes:!0},clientId:a.client_id,crossSubDomains:!0,domain:wx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Jw};Ex(b,a);_.Sc(Nw,function(d){a[d]&&(b.authParameters[d]=a[d])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);if(a.plugin_name)b.pluginName=a.plugin_name;else{var c=_.Gf("auth2/pluginName");c&&(b.pluginName=c)}a.ack_extension_date&&
(b.authParameters.ack_extension_date=a.ack_extension_date,b.ackExtensionDate=a.ack_extension_date);return b},Ex=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||pw());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},Kx=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,h=a.oidc_spec_compliant,k=a.nonce,l=Gx(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:wx(c),idpId:Jw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||pw());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.Sc(Nw.concat(Mw),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 Hx(a.response_type||"token"),
Ix(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Jx(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);a.plugin_name?m.pluginName=a.plugin_name:(b=_.Gf("auth2/pluginName"))&&(m.pluginName=b);a.ack_extension_date&&(m.authParameters.ack_extension_date=a.ack_extension_date,m.rpcAuthParameters.ack_extension_date=
a.ack_extension_date,m.ackExtensionDate=a.ack_extension_date);return m},Gx=function(a){a=new Hx(a.response_type||"token");var b=[];Jx(a)&&b.push("token");Lx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},Mx=["permission","id_token"],Nx=/(^|[^_])token/,Hx=function(a){this.zs=[];this.cI(a)};
Hx.prototype.cI=function(a){a?((0<=a.indexOf("permission")||a.match(Nx))&&this.zs.push("permission"),0<=a.indexOf("id_token")&&this.zs.push("id_token"),0<=a.indexOf("code")&&this.zs.push("code")):this.zs=Mx};var Ix=function(a){return Lx(a,"code")},Jx=function(a){return Lx(a,"permission")};Hx.prototype.toString=function(){return this.zs.join(" ")};var Lx=function(a,b){var c=!1;_.Sc(a.zs,function(d){d==b&&(c=!0)});return c};var Px=function(a,b,c){this.wp=b;this.jca=a;for(var d in a)a.hasOwnProperty(d)&&Ox(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.wp[c[a]]},Ox=function(a,b){a[b]=function(){return a.jca[b].apply(a.wp,arguments)}};Px.prototype.then=function(a,b,c){var d=this;return _.$k().then(function(){return Qx(d.wp,a,b,c)})};_.Fk(Px);var sx,Rx,Tx;sx=null;_.Sx=function(){return sx?Rx():null};Rx=function(){return new Px(Tx.prototype,sx,["currentUser","isSignedIn"])};
Tx=function(a){delete a.include_granted_scopes;this.Oa=Fx(a);this.W6=a.cookie_policy;this.W$=!!a.scope;(this.VA=!1!==a.fetch_basic_profile)&&(this.Oa.authParameters.scope=Ux(this,"openid profile email"));if(_.Vi.GSI_SUPPORT_BLOCKED_3P_COOKIES||"1"===_.Yi.get("GSI_ALLOW_3PCD"))this.Oa.supportBlocked3PCookies=!0;this.pv=a.hosted_domain;this.Gga=a.ux_mode||"popup";this.nC=a.redirect_uri||null;this.bp()};
Tx.prototype.bp=function(){this.currentUser=new fx(new rx(null));this.isSignedIn=new fx(!1);this.Ge=new _.jw(this.Oa);this.bB=this.Kr=null;this.iba=new _.Wk(function(a,b){this.Kr=a;this.bB=b},this);this.PB={};this.zv=!0;Vx(this);this.Ge.start()};
var Vx=function(a){a.Ge.addEventListener("error",function(b){a.zv&&a.Kr&&(a.zv=!1,a.bB({error:b.error,details:b.details}),a.Kr=null,a.bB=null)});a.Ge.addEventListener("authResult",function(b){b&&b.authResult&&a.Qf(b);a.Ge.Ku()(b)});a.Ge.addEventListener("tokenReady",function(b){var c=new rx(b.response);if(a.pv&&a.pv!=c.OG())a.Qf({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.OG(),expectedDomain:a.pv});else{a.currentUser.get().update(c);
var d=a.currentUser;d.xc.notify(d.Ca);a.isSignedIn.set(!0);c=c.DG();(d=_.xx(a.W6))&&c&&_.Yi.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.zf?"S":"H",d.jj].join(""),c,{domain:d.domain,secure:d.isSecure});_.Hw(b.response);a.Qf(b)}});a.Ge.addEventListener("noSessionBound",function(b){a.zv&&b.autoOpenAuthUrl?(a.zv=!1,Yw(a.Ge).select(function(c){if(c&&c.login_hint){var d=a.Ge;_.bw(d,d.ED,[c.login_hint,!0])}else a.currentUser.set(new rx(null)),a.isSignedIn.set(!1),_.Iw(),a.Qf(b)})):(a.currentUser.set(new rx(null)),
a.isSignedIn.set(!1),_.Iw(),a.Qf(b))});a.Ge.addEventListener("tokenFailed",function(b){a.Qf(b)});a.Ge.addEventListener("userLoggedOut",function(b){a.currentUser.get().Gl();var c=a.currentUser;c.xc.notify(c.Ca);a.isSignedIn.set(!1);_.Iw();a.Qf(b)})},Qx=function(a,b,c,d){return a.iba.then(function(e){if(b)return b(e.H9)},c,d)};Tx.prototype.Qf=function(a){if(a){this.zv=!1;var b=a.type||"";if(this.PB[b])this.PB[b](a);this.Kr&&(this.Kr({H9:this}),this.bB=this.Kr=null)}};
var Wx=function(a,b){_.sb(b,function(c,d){a.PB[d]=function(e){a.PB={};c(e)}})},vx=function(a,b,c,d){d=_.Ck(d);a.pv&&(d.hd=a.pv);var e=d.ux_mode||a.Gga;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.nC||ox()+window.location.pathname),Xx(a,f)):(delete d.redirect_uri,Yx(a,f),Wx(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):Wx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};Tx.prototype.Fl=function(a){return new _.Wk(function(b,c){var d=new ix(a);this.LH=d.Tu()?!0:!1;this.VA?(d.Oa.fetch_basic_profile=!0,jx(d,"email profile openid")):d.Oa.fetch_basic_profile=!1;var e=Ux(this,d.Tu());d.SZ(e);vx(this,b,c,d.get())},this)};
Tx.prototype.Wu=function(a){var b=a||{};this.LH=!!b.scope;a=Ux(this,b.scope);if(""==a)return _.al({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.Sc(Pw,function(d){null!=b[d]&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");"postmessage"==b.redirect_uri||void 0==b.redirect_uri?a=Zx(this,c):(c.redirect_uri=b.redirect_uri,Xx(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
a=_.$k({message:"Redirecting to IDP."}));return a};
var Zx=function(a,b){b.origin=ox();delete b.redirect_uri;Yx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Wk(function(c,d){Wx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Yx=function(a,b){nx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");a=a.Ge;var c=kx();a.dt&&ww()?Dw(a,b):Bw(a,c,b)},Xx=function(a,b){nx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");a=a.Ge;b=b||
{};a.dt&&ww()?(a.nC=b.sessionMeta.extraQueryParams.redirect_uri,Dw(a,b)):window.location.assign(zw(a,b.sessionMeta,b.responseType))};Tx.prototype.Gl=function(a){var b=a||!1;return new _.Wk(function(c){sw(this.Ge,b,function(){c()})},this)};Tx.prototype.aT=function(){return this.Oa.authParameters.scope};var Ux=function(a,b){a=a.aT();b=ow(b?b.split(" "):[],a?a.split(" "):[]);_.Bk(b);return b.join(" ")};
Tx.prototype.kK=function(){var a=this;return new _.Wk(function(b,c){Wx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.Ge.tS()})};Tx.prototype.uP=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.ek(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.Fl(f).then(function(h){c&&c(h)},function(h){d&&d(h)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})};
Tx.prototype.disconnect=function(){return new _.Wk(function(a){this.Ge.revoke(function(){a()})},this)};Tx.prototype.attachClickHandler=Tx.prototype.uP;var $x;_.Wk.prototype["catch"]=_.Wk.prototype.ix;$x=null;_.ay=function(a){qx();a=Cx(a);if(sx){if(_.$u(a,$x||{}))return Rx();throw new Tw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Dx(a,!1!==a.fetch_basic_profile);mx();$x=a;sx=new Tx(a);_.yf.ga=1;return Rx()};var cy,ey,by,py,oy,qy;
_.dy=function(a,b){qx();mx();a=Cx(a);Dx(a);var c=Kx(a);if(_.Vi.GSI_SUPPORT_BLOCKED_3P_COOKIES||"1"===_.Yi.get("GSI_ALLOW_3PCD"))c.supportBlocked3PCookies=!0;var d=new _.lw(c);"none"==a.prompt?by(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)}):cy(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.QX.Mi;b(e)})};
cy=function(a,b,c){var d=new Hx(b.response_type);c=ey(a,d,c);var e={responseType:d.toString()};nx(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Ix(d)&&nx(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&nx(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&nx(e,["sessionMeta","extraQueryParams","state"],b.state);b=kx();a.Wk?c({authResult:{error:"idpiframe_initialization_failed",details:a.Io().error}}):(a.Sn=
c,a.dt&&ww()?Dw(a,e):Bw(a,b,e))};ey=function(a,b,c){if(Jx(b)){var d=oy(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Ku(function(f){f&&!f.error?(f=_.Ck(f),Ix(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(_.Ck(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
by=function(a,b,c){if(Ix(new Hx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=oy(c);b.login_hint?a.qG(b.login_hint,function(e){e?py(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?$w(a,b.authuser).select(function(e){e&&e.login_hint?py(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Eu(function(e){e&&e.hint?py(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Zw(a):Yw(a)).select(function(f){f&&f.login_hint?py(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};py=function(a,b,c,d){b=new Hx(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.yb(f,k),0==e&&d(f))};(Jx(b)||Lx(b,"id_token"))&&e++;Ix(b)&&e++;(Jx(b)||Lx(b,"id_token"))&&_.mw(a,c,h);Ix(b)&&Ew(a,c,h)};
oy=function(a){return function(b){if(!b||b.error)_.Iw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.Ck(b);qy(c);delete c.id_token;delete c.code;_.Hw(c)}a(b)}}};qy=function(a){_.Sc(Qw,function(b){delete a[b]})};_.r("gapi.auth2.init",_.ay);_.r("gapi.auth2.authorize",function(a,b){if(null!=sx)throw new Tw("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).");_.dy(a,function(c){qy(c);b(c)})});_.r("gapi.auth2._gt",function(){return _.jj()});_.r("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.av="0"!=a&&!!a});_.r("gapi.auth2.getAuthInstance",_.Sx);
_.r("gapi.auth2.BasicProfile",tx);_.r("gapi.auth2.BasicProfile.prototype.getId",tx.prototype.getId);_.r("gapi.auth2.BasicProfile.prototype.getName",tx.prototype.Hg);_.r("gapi.auth2.BasicProfile.prototype.getGivenName",tx.prototype.L8);_.r("gapi.auth2.BasicProfile.prototype.getFamilyName",tx.prototype.E8);_.r("gapi.auth2.BasicProfile.prototype.getImageUrl",tx.prototype.U8);_.r("gapi.auth2.BasicProfile.prototype.getEmail",tx.prototype.Co);_.r("gapi.auth2.GoogleAuth",Tx);
_.r("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Tx.prototype.uP);_.r("gapi.auth2.GoogleAuth.prototype.disconnect",Tx.prototype.disconnect);_.r("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Tx.prototype.Wu);_.r("gapi.auth2.GoogleAuth.prototype.signIn",Tx.prototype.Fl);_.r("gapi.auth2.GoogleAuth.prototype.signOut",Tx.prototype.Gl);_.r("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Tx.prototype.aT);_.r("gapi.auth2.GoogleUser",rx);_.r("gapi.auth2.GoogleUser.prototype.grant",rx.prototype.J9);
_.r("gapi.auth2.GoogleUser.prototype.getId",rx.prototype.getId);_.r("gapi.auth2.GoogleUser.prototype.isSignedIn",rx.prototype.Lg);_.r("gapi.auth2.GoogleUser.prototype.getAuthResponse",rx.prototype.ym);_.r("gapi.auth2.GoogleUser.prototype.getBasicProfile",rx.prototype.m8);_.r("gapi.auth2.GoogleUser.prototype.getGrantedScopes",rx.prototype.N8);_.r("gapi.auth2.GoogleUser.prototype.getHostedDomain",rx.prototype.OG);_.r("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",rx.prototype.Wu);
_.r("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",rx.prototype.CA);_.r("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",rx.prototype.kK);_.r("gapi.auth2.LiveValue",fx);_.r("gapi.auth2.LiveValue.prototype.listen",fx.prototype.ma);_.r("gapi.auth2.LiveValue.prototype.get",fx.prototype.get);_.r("gapi.auth2.SigninOptionsBuilder",ix);_.r("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",ix.prototype.k8);_.r("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",ix.prototype.Oea);
_.r("gapi.auth2.SigninOptionsBuilder.prototype.getScope",ix.prototype.Tu);_.r("gapi.auth2.SigninOptionsBuilder.prototype.setScope",ix.prototype.SZ);_.r("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",ix.prototype.o9);_.r("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",ix.prototype.mfa);_.r("gapi.auth2.SigninOptionsBuilder.prototype.get",ix.prototype.get);
_.Yf=_.Yf||{};
(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}_.Yf.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)};_.Yf.qQ=function(b){var c=_.Yf.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(_.Yf.bG(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.Yf.createElement(d.join(""));h&&(!c||h.tagName==c.tagName&&h.namespaceURI==c.namespaceURI)&&(c=h)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Yf.FS=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};_.Yf.Opa=function(b){return a(b)}})();
_.zh=window.gapi&&window.gapi.util||{};
_.zh=_.zh={};_.zh.getOrigin=function(a){return _.Bh(a)};
_.Sy=function(a){if(0!==a.indexOf("GCSC"))return null;var b={Ij:!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=_.Qy(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.zf;return!d&&("U"!==c||e.zf)||d&&!_.Ry?b:{Ij:!0,zf:d,K6:a.substr(1),domain:e.domain,jj:e.jj}};_.Ty=function(a,b){this.hg=a;a=b||{};this.Nba=Number(a.maxAge)||0;this.ue=a.domain;this.tn=a.path;this.zea=!!a.secure};_.Ty.prototype.read=function(){for(var a=this.hg+"=",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.hg))throw"Invalid cookie name";if(!Vy.test(a))throw"Invalid cookie value";a=this.hg+"="+a;this.ue&&(a+=";domain="+this.ue);this.tn&&(a+=";path="+this.tn);b="number"===typeof b?b:this.Nba;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.zea&&(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.fe=a};_.Wy.prototype.read=function(){if(Xy.hasOwnProperty(this.fe))return Xy[this.fe]};_.Wy.prototype.write=function(a){Xy[this.fe]=a;return!0};_.Wy.prototype.clear=function(){delete Xy[this.fe]};var Xy={};_.Wy.iterate=function(a){for(var b in Xy)Xy.hasOwnProperty(b)&&a(b,Xy[b])};var Yy=function(){this.Ca=null;this.key=function(){return null};this.getItem=function(){return this.Ca};this.setItem=function(a,b){this.Ca=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Ca=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}},$y=function(a,b){this.hg=a;this.hN=
Zy(b)?b||window.sessionStorage:new Yy};$y.prototype.read=function(){return this.hN.getItem(this.hg)};$y.prototype.write=function(a){try{this.hN.setItem(this.hg,a)}catch(b){return!1}return!0};$y.prototype.clear=function(){this.hN.removeItem(this.hg)};$y.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])}};_.Ry="https:"===window.location.protocol;_.az=_.Ry||"http:"===window.location.protocol?_.Ty:_.Wy;_.Qy=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{zf:"S"==a.charAt(0),domain:d,jj:c}};var bz,cz,fz,gz;bz=_.mf();cz=_.mf();_.dz=_.mf();_.ez=_.mf();fz="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");gz=function(a){this.KX=a;this.WI=null};
gz.prototype.write=function(a){var b=_.mf(),c=_.mf(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.nf(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=fz.length;for(e=0;e<d;++e)delete c[fz[e]];a=String(a.authuser||0);d=_.mf();d[a]=c;c=_.Lg(d);this.KX.write(c);this.WI=b};gz.prototype.read=function(){return this.WI};gz.prototype.clear=function(){this.KX.clear();this.WI=_.mf()};_.hz=function(a){return a?{domain:a.domain,path:"/",secure:a.zf}:null};
$y.iterate(function(a){var b=_.Sy(a);b&&b.Ij&&(bz[a]=new gz(new $y(a)))});_.az.iterate(function(a){bz[a]&&(cz[a]=new _.az(a,_.hz(_.Sy(a))))});
_.Zi=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 q=h,t=0;64>t;t+=4)q[t/4]=p[t]<<24|p[t+1]<<16|p[t+2]<<8|p[t+3];for(t=16;80>t;t++)p=q[t-3]^q[t-8]^q[t-14]^q[t-16],q[t]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],x=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var z=w^v&(u^w);var G=1518500249}else z=v^u^w,G=1859775393;else 60>t?(z=v&u|w&(v|u),G=2400959708):(z=v^u^w,G=3395469782);z=((p<<5|p>>>27)&4294967295)+
z+x+G+q[t]&4294967295;x=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=z}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+x&4294967295}function c(p,q){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var t=[],v=0,u=p.length;v<u;++v)t.push(p.charCodeAt(v));p=t}q||(q=p.length);t=0;if(0==m)for(;t+64<q;)b(p.slice(t,t+64)),t+=64,n+=64;for(;t<q;)if(f[m++]=p[t++],n++,64==m)for(m=0,b(f);t+64<q;)b(p.slice(t,t+64)),t+=64,n+=64}function d(){var p=[],
q=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var t=63;56<=t;t--)f[t]=q&255,q>>>=8;b(f);for(t=q=0;5>t;t++)for(var v=24;0<=v;v-=8)p[q++]=e[t]>>v&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,hj:function(){for(var p=d(),q="",t=0;t<p.length;t++)q+="0123456789ABCDEF".charAt(Math.floor(p[t]/16))+"0123456789ABCDEF".charAt(p[t]%16);return q}}};var aj=function(a,b,c){var d=String(_.Qa.location.href);return d&&a&&b?[b,$i(_.Bh(d),a,c||null)].join(" "):null},$i=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Sc(d,function(k){e.push(k)}),bj(e.join(" "));var f=[],h=[];_.Sc(c,function(k){h.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];_.Sc(d,function(k){e.push(k)});a=bj(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},bj=function(a){var b=
_.Zi();b.update(a);return b.hj().toLowerCase()};var ej;_.cj=function(a){return!!_.Vi.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.dj=function(a){a=void 0===a?!1:a;var b=_.Qa.__SAPISID||_.Qa.__APISID||_.Qa.__3PSAPISID||_.Qa.__OVERRIDE_SID;_.cj(a)&&(b=b||_.Qa.__1PSAPISID);if(b)return!0;if("undefined"!==typeof document){var c=new _.Wi(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID")||c.get("OSID");_.cj(a)&&(b=b||c.get("__Secure-1PAPISID"))}return!!b};
ej=function(a,b,c,d){(a=_.Qa[a])||"undefined"===typeof document||(a=(new _.Wi(document)).get(b));return a?aj(a,c,d):null};
_.fj=function(a,b){b=void 0===b?!1:b;var c=_.Bh(String(_.Qa.location.href)),d=[];if(_.dj(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.Qa.__SAPISID:_.Qa.__APISID;e||"undefined"===typeof document||(e=new _.Wi(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?aj(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&_.cj(b)&&((b=ej("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=ej("__3PSAPISID","__Secure-3PAPISID",
"SAPISID3PHASH",a))&&d.push(a))}return 0==d.length?null:d.join(" ")};
_.gj=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.cj(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.hj={fU:_.gj,fba:_.dj,dT:function(){var a=null;_.dj()&&(a=window.__PVT,null==a&&(a=(new _.Wi(document)).get("BEAT")));return a},DS:_.fj};
_.uy=function(a,b){_.ok.call(this);this.Xm=a||1;this.nx=b||_.Qa;this.EP=(0,_.B)(this.kga,this);this.OV=_.Ac()};_.Ya(_.uy,_.ok);_.g=_.uy.prototype;_.g.enabled=!1;_.g.Sc=null;_.g.setInterval=function(a){this.Xm=a;this.Sc&&this.enabled?(this.stop(),this.start()):this.Sc&&this.stop()};
_.g.kga=function(){if(this.enabled){var a=_.Ac()-this.OV;0<a&&a<.8*this.Xm?this.Sc=this.nx.setTimeout(this.EP,this.Xm-a):(this.Sc&&(this.nx.clearTimeout(this.Sc),this.Sc=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.g.start=function(){this.enabled=!0;this.Sc||(this.Sc=this.nx.setTimeout(this.EP,this.Xm),this.OV=_.Ac())};_.g.stop=function(){this.enabled=!1;this.Sc&&(this.nx.clearTimeout(this.Sc),this.Sc=null)};_.g.va=function(){_.uy.N.va.call(this);this.stop();delete this.nx};
_.vy=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.B)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.B)(a.handleEvent,a);else throw Error("Ca");return 2147483647<Number(b)?-1:_.Qa.setTimeout(a,b||0)};_.wy=function(a){_.Qa.clearTimeout(a)};
_.iz=function(a){_.Dj.call(this);this.fe=1;this.hC=[];this.mC=0;this.mg=[];this.ik={};this.Z5=!!a};_.Ya(_.iz,_.Dj);_.g=_.iz.prototype;_.g.subscribe=function(a,b,c){var d=this.ik[a];d||(d=this.ik[a]=[]);var e=this.fe;this.mg[e]=a;this.mg[e+1]=b;this.mg[e+2]=c;this.fe=e+3;d.push(e);return e};_.g.Xw=_.fb(18);_.g.unsubscribe=function(a,b,c){if(a=this.ik[a]){var d=this.mg;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.Nl(a)}return!1};
_.g.Nl=function(a){var b=this.mg[a];if(b){var c=this.ik[b];0!=this.mC?(this.hC.push(a),this.mg[a+1]=function(){}):(c&&_.pb(c,a),delete this.mg[a],delete this.mg[a+1],delete this.mg[a+2])}return!!b};
_.g.Ip=function(a,b){var c=this.ik[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.Z5)for(e=0;e<c.length;e++){var h=c[e];jz(this.mg[h+1],this.mg[h+2],d)}else{this.mC++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)h=c[e],this.mg[h+1].apply(this.mg[h+2],d)}finally{if(this.mC--,0<this.hC.length&&0==this.mC)for(;c=this.hC.pop();)this.Nl(c)}}return 0!=e}return!1};var jz=function(a,b,c){_.Tk(function(){a.apply(b,c)})};
_.iz.prototype.clear=function(a){if(a){var b=this.ik[a];b&&(b.forEach(this.Nl,this),delete this.ik[a])}else this.mg.length=0,this.ik={}};_.iz.prototype.Tb=function(a){if(a){var b=this.ik[a];return b?b.length:0}a=0;for(b in this.ik)a+=this.Tb(b);return a};_.iz.prototype.va=function(){_.iz.N.va.call(this);this.clear();this.hC.length=0};
_.kz=function(a){this.nga=a};_.kz.prototype.toString=function(){return this.nga};_.lz=function(a){_.Dj.call(this);this.De=new _.iz(a);_.Fj(this,this.De)};_.Ya(_.lz,_.Dj);_.g=_.lz.prototype;_.g.subscribe=function(a,b,c){return this.De.subscribe(a.toString(),b,c)};_.g.Xw=_.fb(17);_.g.unsubscribe=function(a,b,c){return this.De.unsubscribe(a.toString(),b,c)};_.g.Nl=function(a){return this.De.Nl(a)};_.g.Ip=function(a,b){return this.De.Ip(a.toString(),b)};_.g.clear=function(a){this.De.clear(void 0!==a?a.toString():void 0)};
_.g.Tb=function(a){return this.De.Tb(void 0!==a?a.toString():void 0)};
_.Ez=function(){_.Dz="oauth2relay"+String(2147483647*(0,_.Hh)()|0)};_.Fz=new _.lz;_.Gz=new _.kz("oauth");_.Ez();_.Gf("oauth-flow/client_id");var Hz=String(_.Gf("oauth-flow/redirectUri"));if(Hz)Hz.replace(/[#][\s\S]*/,"");else{var Iz=_.zh.getOrigin(window.location.href);_.Gf("oauth-flow/callbackUrl");encodeURIComponent(Iz)}_.zh.getOrigin(window.location.href);
var Kz,Lz,Mz,Nz,Oz,Pz,Qz,Rz,Sz,Tz,Uz,Wz,Xz,Yz,Zz,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,uA,vA,wA,xA,AA,zA,BA,CA,DA,EA,FA,GA,HA,IA,JA,LA;_.Jz=function(a,b){if(_.wi&&!b)return _.Qa.atob(a);var c="";_.zi(a,function(d){c+=String.fromCharCode(d)});return c};Kz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};Lz=function(a){return _.Ri("enableMultilogin")&&a("cookie_policy")&&!Kz(a)?!0:!1};
Oz=function(){var a,b=null;_.az.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Qy(c.substring(11)),!a||c.zf&&!a.zf||c.zf==a.zf&&c.jj>a.jj)&&(a=c,b=d)});return{l6:a,authuser:b}};Pz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Qz=function(a){a=a.toUpperCase();for(var b=0,c=Pz.length;b<c;++b){var d=a.split(Pz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Gh,b.Bx(a),a=b.hj().toUpperCase());return a};
Rz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Sz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],Mea:Rz(a[1]),Gqa:Rz(a[2]),xpa:Rz(a[3])}};Tz=function(a){var b=Oz(),c=b.l6;b=b.authuser;var d=a&&Qz(a);if(null!==b){var e;_.az.iterate(function(h,k){(h=_.Sy(h))&&h.Ij&&(d&&h.K6!=d||h.zf==c.zf&&h.jj==c.jj&&(e=k))});if(e){var f=Sz(e);a=f&&f.Mea[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Fra:a,clientId:f}}}return null};
Uz=function(a,b){a=_.jj(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};_.Vz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Hw(c,d):_.Iw(d)};
Wz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.Bh(a));var b=window.location.hostname,c=b,d=_.Ry;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Pg.log("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 _.Pg.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,zf:d,jj:b}};
Xz=function(a){var b=Wz(a);if(!b)return new _.Wy("G_USERSTATE_");a=["G_USERSTATE_",_.Ry&&b.zf?"S":"H",b.jj].join("");var c=_.ez[a];c||(c={UI:63072E3},_.of(_.hz(b),c),c=new _.Ty(a,c),_.ez[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};Yz=function(a){var b=Xz(a).read();a=_.mf();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
Zz=function(a,b,c){var d=Yz(b),e=d[a];d[a]="0";var f=[];_.mn(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=Xz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};$z=function(a){a=Wz(a.g_user_cookie_policy);if(!a||a.zf&&!_.Ry)a=null;else{var b=["G_AUTHUSER_",_.Ry&&a.zf?"S":"H",a.jj].join(""),c=_.dz[b];c||(c=new _.az(b,_.hz(a)),_.dz[b]=c);a=c}_.Hf("googleapis.config/sessionIndex",null);a.clear()};aA=function(a){return Kz(function(b){return a[b]})};bA=0;cA=!1;dA=[];eA={};fA={};gA=null;
hA=function(a){var b=_.Dz;return function(c){if(this.f==b&&this.t==_.Ug.Ao(this.f)&&this.origin==_.Ug.Oo(this.f))return a.apply(this,arguments)}};iA=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Ha");};jA=function(a){var b=_.Yf.mh,c=b(a).jsh;if(null!=c)return iA(c),a;if(b=String(b().jsh||_.yf.h||""))iA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};kA=function(){return!!_.Gf("oauth-flow/usegapi")};
lA=function(a,b){kA()?gA.unregister(a):_.Ug.unregister(a+":"+b)};mA=function(a,b,c){kA()?gA.register(a,c,_.Bn):_.Ug.register(a+":"+b,hA(c))};nA=function(){Mz.parentNode.removeChild(Mz)};oA=function(a){var b=Mz;_.Bz(b,[{Hp:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Bz(b,[{Hp:"transform",duration:1,timing:"ease",delay:0}]);_.vy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};pA=function(){var a=Nz+88;oA(a);Nz=a};
qA=function(){var a=Nz-88;oA(a);Nz=a};rA=function(a){var b=a?pA:qA,c=a?qA:pA;a=a?"-":"";Nz=parseInt(a+88,10);Mz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Mz.style.transform="translate3d(0px,"+a+88+"px,0px)";Mz.style.display="";Mz.style.visibility="visible";b();_.vy(c,4E3);_.vy(nA,5E3)};
sA=function(a){var b=_.Gf("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");Mz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Hs(c,"visibility","hidden");_.Hs(c,b,"-40px");_.Hs(c,"height","128px");var d=c;if(_.Zr()){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?"-":"";Nz=parseInt(e+88,10);Mz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Mz.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){}_.yn.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?rA(!0):rA(!1)}})};
tA=function(a){var b=_.hp(),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==_.kn.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
uA=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=_.Gf("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!=Tz(c)||!aA(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};vA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Kg(_.Jz(a,!0));if(!1===a)throw Error("Ia");return a};wA=function(a){return(a=vA(a))?a.sub:null};
xA=function(a){a&&dA.push(a);a=_.Dz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(bA&&6E4>c-bA)return;var d=_.Ug.Ao(a);d&&(lA("oauth2relayReady",d),lA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Ez();a=_.Dz}bA=c;var e=String(2147483647*(0,_.Hh)()|0);b=_.Gf("oauth-flow/proxyUrl")||_.Gf("oauth-flow/relayUrl");kA()?gA=_.yn.openChild({where:_.Yf.FS(),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(_.zh.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Yf.FS(),d=_.Yf.qQ({name:a,id:a}),d.src=jA(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,d.setAttribute("aria-hidden","true"),c.appendChild(d),_.Ug.Mw(a));mA("oauth2relayReady",e,function(){lA("oauth2relayReady",e);var f=dA;if(null!==f){dA=
null;for(var h=f.length,k=0;k<h;++k)f[k]()}});mA("oauth2callback",e,function(f){var h=_.Yf.mh;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(fA,f)?fA[f]:null;h.state=f;if(null!=h.state){f=eA[k];delete eA[k];k=f&&f.key||"token";var l=h=uA(f&&f.params,h),m=wA(l);if(m){var n=Yz(l.cookie_policy);m="0"==n[m]||"X"==n[m]}else m=!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.Gf("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",cA||(cA=!0,sA(l)));
_.Vz(k,h);h=Uz(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(p){}f.callback&&(f.callback(h),f.callback=null)}}})};_.yA=function(a){null!==dA?xA(a):a&&a()};AA=function(a,b){var c=zA,d=wA(a);d&&($z(a),Zz(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=uA(null,e);c(e)}}))};
zA=function(a){a||(a=Uz(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||(_.yf.drw=null);_.Vz(a);if(b=a.authuser)_.Gf("googleapis.config/sessionIndex"),_.Hf("googleapis.config/sessionIndex",b);_.Fz.Ip(_.Gz,a);return a};BA=["client_id","cookie_policy","response_type"];CA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
DA=function(a){var b=_.Ck(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);_.Hw(b);return b};
EA=function(a){if(void 0===a.include_granted_scopes){var b=_.Gf("include_granted_scopes");a.include_granted_scopes=!!b}};FA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
GA=function(a){var b=a||{},c={};_.Sc(CA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Gf("googleapis/overrideClientId");null!=a&&(c.client_id=a);EA(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{_.xx(c.cookie_policy)}catch(d){c.cookie_policy&&
FA("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=_.Ui(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.Gf("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
HA=function(a,b){var c=GA(a),d=new _.Wk(function(e,f){_.dy(c,function(h){var k=h||{};_.Sc(BA,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)):(h=DA(k),null!=h.authuser&&_.Hf("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};IA=_.hj.DS;JA=null;
_.MA=function(a,b){if("force"!==a.approvalprompt){a=_.KA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)JA?(a.client_id!==JA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(JA=a,b=!1);b||LA(a)}};
_.KA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.gd)((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,_.gd)(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||_.Gf("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Gf("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};LA=function(a){_.Rp("waaf0","signin","0");HA(a,function(b){_.Rp("waaf1","signin","0");zA(b)})};
_.NA=function(a){a=_.KA(a);_.Hf("oauth-flow/authWindowWidth",445);_.Hf("oauth-flow/authWindowHeight",615);LA(a)};_.OA=function(a){_.Fz.unsubscribe(_.Gz,a);_.Fz.subscribe(_.Gz,a)};var VA,YA;_.QA=function(a){return a.cookiepolicy?!0:(_.PA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.PA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.UA=function(a,b){var c=_.hp();_.of(a,c);c=tA(c);if(_.QA(c)){var d=_.RA();_.SA(c);b?_.vf(b,"click",function(){_.TA(c,d)}):_.TA(c,d)}};
_.RA=function(){var a=new VA;_.OA(function(b){a.VI&&b&&(b.access_token&&_.Hf("isPlusUser",!0),b["g-oauth-window"]&&(a.VI=!1,_.Pg.warn("OTA app install is no longer supported.")))});return a};VA=function(){this.VI=!1};_.SA=function(a){a=_.WA(a);_.XA(a.callback);_.yA(function(){_.MA(a)})};_.WA=function(a){YA(a);a.redirecturi&&delete a.redirecturi;Lz(function(b){return a[b]})||(a.authuser=0);return a};YA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.XA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.PA('Callback function named "'+a+'" not found');return}a&&_.OA(a)};_.TA=function(a,b){b.VI=!0;a=_.WA(a);_.NA(a)};_.r("gapi.auth.authorize",HA);_.r("gapi.auth.checkSessionState",function(a,b){var c=_.mf();c.client_id=a.client_id;c.session_state=a.session_state;_.yA(function(){kA()?gA.send("check_session_state",c,function(d){b.call(null,d[0])},_.Bn):_.Ug.call(_.Dz,"check_session_state",hA(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.r("gapi.auth.getAuthHeaderValueForFirstParty",IA);_.r("gapi.auth.getToken",Uz);
_.r("gapi.auth.getVersionInfo",function(a,b){_.yA(function(){var c=_.fj()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?kA()?gA.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Bn):_.Ug.call(_.Dz,"get_versioninfo",hA(function(f){a(f)}),d,b):a()})});_.r("gapi.auth.init",_.yA);_.r("gapi.auth.setToken",_.Vz);_.r("gapi.auth.signIn",function(a){_.UA(a)});_.r("gapi.auth.signOut",function(){var a=Uz();a&&AA(a,a.cookie_policy)});
_.r("gapi.auth.unsafeUnpackIdToken",vA);_.r("gapi.auth._pimf",_.MA);_.r("gapi.auth._oart",sA);_.r("gapi.auth._guss",function(a){return Xz(a).read()});
var ZA=_.hp();ZA.clientid&&ZA.scope&&ZA.callback&&!_.Gf("disableRealtimeCallback")&&_.SA(ZA);
});
// Google Inc.
