gapi.loaded_1(function(_){var window=this; _.bf=_.bf||{};_.bf.iw=function(a,b,c){for(var d=[],e=2,f=arguments.length;e0&&++d==c&&_.bf.Sia(k)}; c!=0&&_.bf.Aaa(k);var l=a(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+e);return function(){var m=f;m+=parseInt(l.substr(0,20),16);l=a(l);return m/(h+1.2089258196146292E24)}}();_.t("shindig.random",_.Ng); _.Ua.Oa={};_.Ua.Oa.Pi={};_.Ua.Oa.Pi.Raa=function(a){try{return!!a.document}catch(b){}return!1};_.Ua.Oa.Pi.fV=function(a){var b=a.parent;return a!=b&&_.Ua.Oa.Pi.Raa(b)?_.Ua.Oa.Pi.fV(b):a};_.Ua.Oa.Pi.vva=function(a){var b=a.userAgent||"";a=a.product||"";return b.indexOf("Opera")!=0&&b.indexOf("WebKit")==-1&&a=="Gecko"&&b.indexOf("rv:1.")>0}; _.Ua.Oa.Pi.iw=function(a,b,c){for(var d=[],e=2,f=arguments.length;e0&&(f=a[0].nonce||a[0].getAttribute("nonce"));if(f&&f===b||!f&&yq())if(e=zq(c),d.push(25),typeof e=== "object")return e;return{}}};Bq=function(a,b){var c={___goc:void 0};a.length&&a[a.length-1]&&Object.hasOwnProperty.call(a[a.length-1],"___goc")&&typeof a[a.length-1].___goc==="undefined"&&(c=a.pop());xq(c,b);a.push(c)}; _.Cq=function(a,b){var c;if(typeof a==="string"){var d=c={};a=a.split("/");for(var e=0,f=a.length;e0&&e[e.length-1].src&&a.push(e[e.length-1]);for(e=0;e< a.length;++e)a[e].getAttribute("gapi_processed")||(a[e].setAttribute("gapi_processed",!0),(f=a[e])?(h=f.nodeType,f=h==3||h==4?f.nodeValue:f.textContent||""):f=void 0,h=a[e].nonce||a[e].getAttribute("nonce"),(f=Aq(f,h))&&d.push(f));c&&Bq(b,c);a=vq("cd");c=0;for(d=a.length;c255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};var Fh,Gh,Ih;Fh={};Gh=null;_.Hh=_.Ed||_.Fd||!_.zh&&typeof _.Ya.atob=="function";_.Jh=function(a,b){b===void 0&&(b=0);Ih();b=Fh[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>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("")}; _.Kh=function(a,b){function c(l){for(;d>4);h!=64&&(b(f<<4&240|h>>2),k!=64&&b(h<<6&192|k))}}; Ih=function(){if(!Gh){Gh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Fh[c]=d;for(var e=0;e=0;b--)this.remove(a[b])};gi=function(a){a=(a.Ac.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f-1?(b=a[h],c||(b.dz=!1)):(b=new mj(b,this.src,f,!!d,e),b.dz=c,a.push(b));return b};_.fj.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.je))return!1;var e=this.je[a];b=oj(e,b,c,d);return b>-1?(nj(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.je[a],this.Rx--),!0):!1}; _.pj=function(a,b){var c=b.type;if(!(c in a.je))return!1;var d=_.Yi(a.je[c],b);d&&(nj(b),a.je[c].length==0&&(delete a.je[c],a.Rx--));return d};_.fj.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.je)if(!a||c==a){for(var d=this.je[c],e=0;e-1?a[e]:null}; _.fj.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return ej(this.je,function(f){for(var h=0;h>>0);_.vj=function(a){if(typeof a==="function")return a;a[Cj]||(a[Cj]=function(b){return a.handleEvent(b)});return a[Cj]};_.dj(function(a){Aj=a(Aj)}); _.Dj=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c};_.Yd.prototype.O=_.mb(1,function(a){return _.ae(this.Ac,a)});_.Ej=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f=0;f--){var h=a.currentTarget=b[f];e=h.Gu(d,!0,a)&&e}a.Iw||(h=a.currentTarget=c,e=h.Gu(d,!0,a)&&e,a.Iw||(e=h.Gu(d,!1,a)&&e));if(b)for(f=0;!a.Iw&&f=0};_.nr=function(){return _.Sb&&_.Nc?_.Nc.mobile:!_.mr()&&(_.Pc("iPod")||_.Pc("iPhone")||_.Pc("Android")||_.Pc("IEMobile"))}; _.mr=function(){return _.Sb&&_.Nc?!_.Nc.mobile&&(_.Pc("iPad")||_.Pc("Android")||_.Pc("Silk")):_.Pc("iPad")||_.Pc("Android")&&!_.Pc("Mobile")||_.Pc("Silk")};_.or=function(){return!_.nr()&&!_.mr()}; var ys;ys=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.zs=function(a,b,c,d){return Array.prototype.splice.apply(a,ys(arguments,1))};_.As=function(a,b,c){if(a!==null&&b in a)throw Error("h`"+b);a[b]=c};_.Bs=function(a,b){var c=b||document;c.getElementsByClassName?a=c.getElementsByClassName(a)[0]:(c=document,a=a?(b||c).querySelector(a?"."+a:""):_.ce(c,"*",a,b)[0]||null);return a||null}; _.Cs=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.Ds=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.Es=function(a){_.Vi.call(this);this.og=a;this.mc={}};_.cb(_.Es,_.Vi);var Fs=[];_.Es.prototype.ua=function(a,b,c,d){return this.dw(a,b,c,d)}; _.Es.prototype.dw=function(a,b,c,d,e){Array.isArray(b)||(b&&(Fs[0]=b.toString()),b=Fs);for(var f=0;f=0))throw Error("R`"+a);if(!wu(b))throw Error("S`"+a);this.qc[a]||(this.qc[a]=[]);uu(this.qc[a],b)<0&&this.qc[a].push(b)};Du.prototype.removeEventListener=function(a,b){if(!(uu(this.BO,a)>=0))throw Error("R`"+a);wu(b)&&this.qc[a]&&this.qc[a].length&&(b=uu(this.qc[a],b),b>=0&&this.qc[a].splice(b,1))}; Du.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&uu(this.BO,b)>=0))throw Error("T`"+b);if(this.qc[b]&&this.qc[b].length)for(var c=this.qc[b].length,d=0;d>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],C=e[4];for(r=0;r<80;r++){if(r<40)if(r<20){var A=w^v&(u^w);var D=1518500249}else A= v^u^w,D=1859775393;else r<60?(A=v&u|w&(v|u),D=2400959708):(A=v^u^w,D=3395469782);A=((p<<5|p>>>27)&4294967295)+A+C+D+q[r]&4294967295;C=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=A}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]+C&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var r=[],v=0,u=p.length;v=56;r--)f[r]=q&255,q>>>=8;b(f);for(r=q=0;r<5;r++)for(var v=24;v>=0;v-=8)p[q++]=e[r]>>v&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Xi:function(){for(var p=d(),q="",r=0;r2&&(e=f[2]);(f=e&&uu(e.split("|"),c)>=0)?Su(e,d):Su(e?e+"|"+c:c,d);c=!f;var h=this.lW,k=this.yja;d=this.Xm;e=this.Zs;e=e===void 0?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b=f.setAttribute;var l="allow-scripts allow-same-origin";document.requestStorageAccess&&wu(document.requestStorageAccess)&& (l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);f.setAttribute("allow","identity-credentials-get");Lu(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.ru&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Go=f}a&&this.rC.push(a)}};_.g.CX=function(){return this.Fo&&this.Fx};_.g.eo=function(){return this.hW}; cv=function(a){for(var b=0;b=0)throw Error("ba");};_.bv.prototype.Bj=function(a,b,c,d,e,f,h,k,l){l=l===void 0?!1:l;fv(f);b=_.xu(b);_.ev(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.bv.prototype.UB=function(a,b,c,d,e){b=_.xu(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,d,e,f,h){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);b.useFedCm=e;f&&(b.fedCmEnabled=f);_.ev(a,"monitorClient",b,h)};_.bv.prototype.revoke=_.ib(8);_.bv.prototype.Wt=_.ib(10);Eu.qB={};Eu.CH=function(a){return Eu.qB[a]}; Eu.WB=function(a,b,c){c=c===void 0?!1:c;var d=Eu.CH(a);if(!d){d=String;if(Vu){var e=new window.Uint32Array(1);Uu.getRandomValues(e);e=Number("0."+e[0])}else e=Xu,e+=parseInt(Zu.substr(0,20),16),Zu=av(Zu),e/=Yu+1.2089258196146292E24;d=new _.bv(a,d(2147483647*e),c);Eu.qB[a]=d}d.WB(b)};Eu.ida=function(a){for(var b in Eu.qB){var c=Eu.CH(b);if(c&&c.Go&&c.Go.contentWindow==a.source&&c.EI==a.origin)return c}};Eu.Lda=function(a){for(var b in Eu.qB){var c=Eu.CH(b);if(c&&c.EI==a)return c}};Eu=Eu||{}; var kv=function(){var a=[],b;for(b in _.jv)a.push(_.jv[b]);Du.call(this,a);this.xm={};su("EventBus is ready.")};vu(kv,Du);_.jv={X8:"sessionSelectorChanged",nF:"sessionStateChanged",vt:"authResult",f5:"displayIFrame"};mv=function(a,b){var c=lv;a&&b&&(c.xm[a]||(c.xm[a]=[]),uu(c.xm[a],b)<0&&c.xm[a].push(b))};nv=function(a){var b=lv;a&&(b.xm[a]||(b.xm[a]=[]))};ov=function(a,b,c){return b&&a.xm[b]&&uu(a.xm[b],c)>=0};_.g=kv.prototype; _.g.Eia=function(a){var b,c=!!a.source&&(a.source===_.Ku||a.source.opener===window);if(b=c?Eu.Lda(a.origin):Eu.ida(a)){try{var d=_.Cu.parse(a.data)}catch(e){su("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Xm){su("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.fk[c.id])delete b.fk[c.id],a(c.result,c.error);return}}d.method!="fireIdpEvent"?su("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.kW[a.type]?(d=this.kW[a.type], c&&!d.raa?su("Bad IDP event. Source window cannot be a popup."):d.lt&&!d.lt.call(this,b,a)?su("Bad IDP event."):d.If.call(this,b,a)):su("Bad IDP event.")}else su("Bad event, no corresponding Idp Stub.")};_.g.fka=function(a,b){return ov(this,a.Db,b.clientId)};_.g.eka=function(a,b){a=a.Db;b=b.clientId;return!b||ov(this,a,b)};_.g.Daa=function(a,b){return ov(this,a.Db,b.clientId)}; _.g.Nha=function(a,b){a.Fo=!0;a.Fx=!!b.cookieDisabled;cv(a);for(b=0;b-1&&a.indexOf("chrome/")<0&&a.indexOf("crios/")<0&&a.indexOf("android")<0))return!1;var b=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||b.length<3)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return a>12||a==12&&b>=1};Pv=function(a){return a.length>0&&a.every(function(b){return Mv.includes(b)})}; Qv=function(a,b,c,d,e,f,h){var k=_.Iu(a,"authServerUrl");if(!k)throw Error("X`"+a);a=_.xu(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=Ov())&&(b=navigator.userAgent.toLowerCase(),b.indexOf("ipad;")>-1||b.indexOf("iphone;")>-1?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||b.length<2?!1:parseInt(b[1],10)>=14):b=!1);b&&!a.prompt&&(a.prompt= "select_account");return k+(k.indexOf("?")<0?"?":"&")+Iv(a)};Rv=function(a,b,c,d){if(!a.Tb)throw Error("na");a.Lk=c||a.Eaa||"auth"+Math.floor(Math.random()*1E6+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Cd.split("//");c=b.extraQueryParams;var f=e[0],h=e[1];e=a.Lk;var k=f.indexOf(":");k>0&&(f=f.substring(0,k));f=["storagerelay://",f,"/",h,"?"];f.push("id="+e);c.redirect_uri=f.join("")}return Qv(a.Db,a.Xd,a.Tb,a.zn,!0,b,d)}; Sv=function(a,b,c){if(!a.Tb)throw Error("na");return Qv(a.Db,a.Xd,a.Tb,a.zn,!1,b,c)};Tv=function(a,b){a.ep&&window.clearTimeout(a.ep);a.ep=window.setTimeout(function(){a.Lk==b&&(_.Ku=void 0,a.ep=null,a.Lk=void 0,a.Wo({authResult:{error:"popup_closed_by_user"}}))},1E3)}; Uv=function(a,b,c){if(!a.Tb)throw Error("oa");c=c||{};c=Rv(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Nv())&&_.tv(a,a.SY,[]);var d=a.Lk;a.b_.open(c,b,function(){a.Lk==d&&Tv(a,d)},function(){a.Lk=void 0;a.Wo({authResult:{error:"popup_blocked_by_browser"}})})}; Vv=function(a,b){var c=b||{};b=_.xu(a.zn);if(c.sessionMeta&&c.sessionMeta.extraQueryParams)for(var d in c.sessionMeta.extraQueryParams)b[d]=c.sessionMeta.extraQueryParams[d];var e;c.sessionMeta.extraQueryParams.scope&&(e=c.sessionMeta.extraQueryParams.scope.split(" "));!e&&b.scope&&(e=b.scope.split(" "));delete b.redirect_uri;delete b.origin;delete b.client_id;delete b.scope;b.prompt=="select_account"&&delete b.prompt;b.gsiwebsdk="fedcm";b.ss_domain=a.Xd;d=_.Iu(a.Db,"fedcmConfigUrl");c=c.responseType; b.response_type=c;b.scope=e.join(" ");!b.nonce&&c.includes("id_token")&&(b.nonce="notprovided");c=navigator.userActivation.isActive?"active":"passive";e=Pv(e)?["name","email","picture"]:[];return{identity:{providers:[{configURL:d,clientId:a.Tb,fields:e,params:b}],mode:c},mediation:"required"}}; Wv=function(a,b,c){if(!a.Tb)throw Error("oa");b=Vv(a,b);navigator.credentials.get(b).then(function(d){d=JSON.parse(d.token);var e={client_id:d.client_id,login_hint:d.login_hint,expires_in:3600,scope:d.scope};d.code&&(e.code=d.code);d.id_token&&(e.id_token=d.id_token);a.Wo({type:_.jv.vt,idpId:a.Db,authResult:e})},function(d){d.message.indexOf("identity-credentials-get")>=0||d.message.indexOf("Content Security Policy")>=0?c():a.Wo({type:_.jv.vt,idpId:a.Db,authResult:{error:d}})})}; Xv=function(a,b,c){a.Zs&&_.Gu()?Wv(a,c,function(){return Uv(a,b,c)}):Uv(a,b,c)};Yv=function(a,b){b=b||{};var c=Sv(a,b.sessionMeta,b.responseType);a.Zs&&_.Gu()&&a.M3?(a.PC=b.sessionMeta.extraQueryParams.redirect_uri,Wv(a,b,function(){return Jv(c,!0)})):Jv(c,!0)};Zv=function(a,b,c){a.Ek?c(a.eo()):_.tv(a,a.eY,[b,c])};_.$v=function(a){_.De(_.Oe,"le",[]).push(a)}; _.aw=function(a){for(var b=[],c=0,d=0;c191&&e<224){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(e>239&&e<365){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("")}; bw=function(a){var b=[];_.Kh(a,function(c){b.push(c)});return b};_.cw=function(a,b){_.pi[b||"token"]=a};_.dw=function(a){delete _.pi[a||"token"]};fw=function(){if(typeof MessageChannel!=="undefined"){var a=new MessageChannel,b={},c=b;a.port1.onmessage=function(){if(b.next!==void 0){b=b.next;var d=b.cb;b.cb=null;d()}};return function(d){c.next={cb:d};c=c.next;a.port2.postMessage(0)}}return function(d){_.Ya.setTimeout(d,0)}};_.Cu={parse:function(a){a=_.Pf("["+String(a)+"]");if(a===!1||a.length!==1)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Qf(a)}};_.Dv.prototype.cH=function(a,b){_.tv(this,this.tca,[a,b])};_.Dv.prototype.tca=function(a,b){this.Pd.cH(this.Tb,a,this.Lj,this.Le,b)};_.bv.prototype.cH=function(a,b,c,d,e){c=_.xu(c);_.ev(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var gw,hw=["client_id","cookie_policy","scope"],iw="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 enable_granular_consent include_granted_scopes response_type session_selection plugin_name ack_extension_date use_fedcm gsiwebsdk".split(" "),jw=["authuser","after_redirect","access_type","hl"],kw=["login_hint","prompt"],lw={clientid:"client_id",cookiepolicy:"cookie_policy"}, mw=["approval_prompt","authuser","login_hint","prompt","hd"],nw=["login_hint","g-oauth-window","status"],ow=Math.min(_.Ye("oauth-flow/authWindowWidth",599),screen.width-20),pw=Math.min(_.Ye("oauth-flow/authWindowHeight",600),screen.height-30);var qw=function(a){_.kb.call(this,a)};_.y(qw,_.kb);qw.prototype.name="gapi.auth2.ExternallyVisibleError";var rw=function(){};rw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length==1&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var sw=function(){};sw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;c=0||a.match(lx))&&this.vs.push("permission"),a.indexOf("id_token")>=0&&this.vs.push("id_token"),a.indexOf("code")>=0&&this.vs.push("code")):this.vs=kx};var gx=function(a){return jx(a,"code")},hx=function(a){return jx(a,"permission")};fx.prototype.toString=function(){return this.vs.join(" ")}; var jx=function(a,b){var c=!1;_.Bb(a.vs,function(d){d==b&&(c=!0)});return c};var nx=function(a,b,c){this.hK=b;this.Bha=a;for(var d in a)a.hasOwnProperty(d)&&mx(this,d);if(c&&c.length)for(a=0;a");var h=_.bf.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};_.bf.oU=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml","body");if(b&& b.length==1)return b[0]}catch(c){}return document.documentElement||document};_.bf.Yua=function(b){return a(b)}})(); _.Fg=window.gapi&&window.gapi.util||{}; _.Fg=_.Fg={};_.Fg.getOrigin=function(a){return _.Hg(a)}; _.by=function(a){if(a.indexOf("GCSC")!==0)return null;var b={zj:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(d==-1)return b;var e=_.$x(a.substr(d+1));if(e==null)return b;a=a.substring(0,d);if(a.charAt(0)!=="_")return b;d=c==="E"&&e.ef;return!d&&(c!=="U"||e.ef)||d&&!_.ay?b:{zj:!0,ef:d,lba:a.substr(1),domain:e.domain,Zi:e.Zi}};_.cy=function(a,b){this.Zg=a;a=b||{};this.fha=Number(a.maxAge)||0;this.Xd=a.domain;this.Pm=a.path;this.Pja=!!a.secure};_.cy.prototype.read=function(){for(var a=this.Zg+"=",b=document.cookie.split(/;\s*/),c=0;c=0){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.Pja&&(a+=";secure");document.cookie=a;return!0};_.cy.prototype.clear=function(){this.write("",0)};var ey=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,dy=/^[A-Z_][A-Z0-9_]{0,63}$/; _.cy.iterate=function(a){for(var b=document.cookie.split(/;\s*/),c=0;c>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],C=e[4];for(r=0;r<80;r++){if(r<40)if(r<20){var A=w^v&(u^w);var D=1518500249}else A=v^u^w,D=1859775393;else r<60?(A=v&u|w&(v|u),D=2400959708):(A=v^u^w,D=3395469782);A=((p<<5|p>>>27)&4294967295)+ A+C+D+q[r]&4294967295;C=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=A}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]+C&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var r=[],v=0,u=p.length;v=56;r--)f[r]=q&255,q>>>=8;b(f);for(r=q=0;r<5;r++)for(var v=24;v>=0;v-=8)p[q++]=e[r]>>v&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Xi:function(){for(var p=d(),q="",r=0;r=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; _.g.expand=function(a,b,c,d){_.ub(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; _.g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; _.g.translate=function(a,b){a instanceof _.Kr?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,typeof b==="number"&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Ur,Sr,Yr,$r;_.Tr=function(a,b,c){if(typeof b==="string")(b=Sr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Sr(c,d);f&&(c.style[f]=e)}};Ur={};Sr=function(a,b){var c=Ur[b];if(!c){var d=Pr(b);c=d;a.style[d]===void 0&&(d=(_.Fd?"Webkit":_.Ed?"Moz":null)+Qr(d),a.style[d]!==void 0&&(c=d));Ur[b]=c}return c};_.Vr=function(a,b){var c=a.style[Pr(b)];return typeof c!=="undefined"?c:a.style[Sr(a,b)]||""}; _.Wr=function(a,b){var c=_.Zd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Xr=function(a,b){return _.Wr(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};Yr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; _.as=function(a,b){b=b||_.Lr(document);var c=b||_.Lr(document);var d=_.Zr(a),e=_.Zr(c),f=_.Wr(c,"borderLeftWidth");var h=_.Wr(c,"borderRightWidth");var k=_.Wr(c,"borderTopWidth"),l=_.Wr(c,"borderBottomWidth");h=new _.Ir(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.Lr(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop):(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=$r(a);e=c.clientHeight-a.height;h=c.scrollLeft;k=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d- e,0));c=new _.Kr(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Zr=function(a){var b=_.Zd(a),c=new _.Kr(0,0);if(a==(b?_.Zd(b):document).documentElement)return c;a=Yr(a);b=_.Or(_.$d(b));c.x=a.left+b.x;c.y=a.top+b.y;return c};_.cs=function(a,b){var c=new _.Kr(0,0),d=_.ie(_.Zd(a));a:{try{_.Yb(d.parent);var e=!0;break a}catch(f){}e=!1}if(!e)return c;do e=d==b?_.Zr(a):_.bs(a),c.x+=e.x,c.y+=e.y;while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c}; _.bs=function(a){a=Yr(a);return new _.Kr(a.left,a.top)};_.es=function(a,b,c){if(b instanceof _.vd)c=b.height,b=b.width;else if(c==void 0)throw Error("J");a.style.width=_.ds(b,!0);a.style.height=_.ds(c,!0)};_.ds=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a}; _.fs=function(a){var b=$r;if(_.Xr(a,"display")!="none")return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a};$r=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Fd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Yr(a),new _.vd(a.right-a.left,a.bottom-a.top)):new _.vd(b,c)};_.gs=function(a,b){a.style.display=b?"":"none"}; _.is=function(a){var b=_.$d(void 0),c=_.Nr(b,"HEAD")[0];if(!c){var d=_.Nr(b,"BODY")[0];c=b.Ba("HEAD");d.parentNode.insertBefore(c,d)}d=b.Ba("STYLE");var e;(e=_.Kc("style",document))&&d.setAttribute("nonce",e);_.hs(d,a);b.appendChild(c,d)};_.hs=function(a,b){b=_.Hr(b);_.Ya.trustedTypes?_.ve(a,b):a.innerHTML=b};_.js=_.Ed?"MozUserSelect":_.Fd||_.Cd?"WebkitUserSelect":null; _.sy=function(a){_.Vi.call(this);this.Mf=1;this.IC=[];this.OC=0;this.Sf=[];this.Uj={};this.zaa=!!a};_.cb(_.sy,_.Vi);_.g=_.sy.prototype;_.g.subscribe=function(a,b,c){var d=this.Uj[a];d||(d=this.Uj[a]=[]);var e=this.Mf;this.Sf[e]=a;this.Sf[e+1]=b;this.Sf[e+2]=c;this.Mf=e+3;d.push(e);return e};_.g.Ax=_.ib(18);_.g.unsubscribe=function(a,b,c){if(a=this.Uj[a]){var d=this.Sf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.xl(a)}return!1}; _.g.xl=function(a){var b=this.Sf[a];if(b){var c=this.Uj[b];this.OC!=0?(this.IC.push(a),this.Sf[a+1]=function(){}):(c&&_.Yi(c,a),delete this.Sf[a],delete this.Sf[a+1],delete this.Sf[a+2])}return!!b}; _.g.kp=function(a,b){var c=this.Uj[a];if(c){var d=Array(arguments.length-1),e=arguments.length,f;for(f=1;f0&&this.OC==0)for(;c=this.IC.pop();)this.xl(c)}}return f!=0}return!1};var ty=function(a,b,c){_.kk(function(){a.apply(b,c)})}; _.sy.prototype.clear=function(a){if(a){var b=this.Uj[a];b&&(b.forEach(this.xl,this),delete this.Uj[a])}else this.Sf.length=0,this.Uj={}};_.sy.prototype.jc=function(a){if(a){var b=this.Uj[a];return b?b.length:0}a=0;for(b in this.Uj)a+=this.jc(b);return a};_.sy.prototype.wa=function(){_.sy.N.wa.call(this);this.clear();this.IC.length=0}; _.uy=function(a){this.Dla=a};_.vy=function(a){_.Vi.call(this);this.ke=new _.sy(a);_.Xi(this,this.ke)};_.uy.prototype.toString=function(){return this.Dla};_.cb(_.vy,_.Vi);_.g=_.vy.prototype;_.g.subscribe=function(a,b,c){return this.ke.subscribe(a.toString(),b,c)};_.g.Ax=_.ib(17);_.g.unsubscribe=function(a,b,c){return this.ke.unsubscribe(a.toString(),b,c)};_.g.xl=function(a){return this.ke.xl(a)};_.g.kp=function(a,b){return this.ke.kp(a.toString(),b)};_.g.clear=function(a){this.ke.clear(a!==void 0?a.toString():void 0)};_.g.jc=function(a){return this.ke.jc(a!==void 0?a.toString():void 0)}; var wy,xy,Ay,Dy,yy,By,Cy,zy;wy=function(a){var b=_.yc("");return _.fc(a.map(function(c){return _.hc(_.yc(c))}).join(_.hc(b).toString()))};xy=function(a){return wy(a)};Ay=function(a){for(var b="",c=Object.keys(a),d=0;d":(a=xy(b.map(function(d){return d instanceof _.ec?d:_.yc(String(d))})),c+=">"+a.toString()+"");return _.fc(c)};yy=/^[a-z][a-z\d-]*$/i;By="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" ");Cy="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "); zy=["action","formaction","href"];_.Ey=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.property+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Tr(a,"transition",b.join(","))};_.Fy=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=_.me("DIV"),b=_.Fd?"-webkit":_.Ed?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");_.Lc(a,Dy({style:c}));return _.Vr(a.firstChild,"transition")!=""}); _.Gy=function(a,b){_.Fj.call(this);this.Em=a||1;this.Jx=b||_.Ya;this.LQ=(0,_.zb)(this.Ala,this);this.VX=_.od()};_.cb(_.Gy,_.Fj);_.g=_.Gy.prototype;_.g.enabled=!1;_.g.Hc=null;_.g.setInterval=function(a){this.Em=a;this.Hc&&this.enabled?(this.stop(),this.start()):this.Hc&&this.stop()}; _.g.Ala=function(){if(this.enabled){var a=_.od()-this.VX;a>0&&a2147483647?-1:_.Ya.setTimeout(a,b||0)};_.Iy=function(a){_.Ya.clearTimeout(a)}; _.Ky=function(){_.Jy="oauth2relay"+String(2147483647*(0,_.Ng)()|0)};_.Ly=new _.vy;_.My=new _.uy("oauth");_.Ky();_.Ye("oauth-flow/client_id");var Ny=String(_.Ye("oauth-flow/redirectUri"));if(Ny)Ny.replace(/[#][\s\S]*/,"");else{var Oy=_.Fg.getOrigin(window.location.href);_.Ye("oauth-flow/callbackUrl");encodeURIComponent(Oy)}_.Fg.getOrigin(window.location.href); var Qy,Ry,Sy,Ty,Uy,Vy,Wy,Xy,Yy,Zy,$y,bz,cz,dz,ez,fz,gz,hz,iz,jz,kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,uz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Qz,Pz,Rz,Sz,Tz,Uz,Vz,Wz,Xz;_.Py=function(a,b){if(_.Hh&&!b)return _.Ya.atob(a);var c="";_.Kh(a,function(d){c+=String.fromCharCode(d)});return c};Qy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return b==="true"||a==="none"};Ry=function(a){return _.ai("enableMultilogin")&&a("cookie_policy")&&!Qy(a)?!0:!1}; Uy=function(){var a,b=null;_.ky.iterate(function(c,d){c.indexOf("G_AUTHUSER_")===0&&(c=c.substring(11),c=_.$x(c),!a||c.ef&&!a.ef||c.ef==a.ef&&c.Zi>a.Zi)&&(a=c,b=d)});return{Laa:a,authuser:b}};Vy=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Wy=function(a){a=a.toUpperCase();for(var b=Vy.length,c=0;c40&&(b=new _.Mg,b.Wx(a),a=b.Xi().toUpperCase());return a}; Xy=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Yy=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],gka:Xy(a[1]),Pva:Xy(a[2]),Gua:Xy(a[3])}};Zy=function(a){var b=Uy(),c=b.Laa;b=b.authuser;var d=a&&Wy(a);if(b!==null){var e;_.ky.iterate(function(h,k){(h=_.by(h))&&h.zj&&(d&&h.lba!=d||h.ef==c.ef&&h.Zi==c.Zi&&(e=k))});if(e){var f=Yy(e);a=f&&f.gka[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Nwa:a,clientId:f}}}return null}; $y=function(a,b){a=_.qi(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};_.az=function(a,b){if(b){var c=b;var d=a}else typeof a==="string"?d=a:c=a;c?_.cw(c,d):_.dw(d)}; bz=function(a){if(!a)return null;a!=="single_host_origin"&&(a=_.Hg(a));var b=window.location.hostname,c=b,d=_.ay;if(a!=="single_host_origin"){c=a.split("://");if(c.length==2)d=c.shift()==="https";else return _.Uf.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(c.indexOf(":")!==-1)c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Uf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,ef:d,Zi:b}}; cz=function(a){var b=bz(a);if(!b)return new _.fy("G_USERSTATE_");a=["G_USERSTATE_",_.ay&&b.ef?"S":"H",b.Zi].join("");var c=_.oy[a];c||(c={LJ:63072E3},_.Ge(_.ry(b),c),c=new _.cy(a,c),_.oy[a]=c,b=c.read(),typeof b!=="undefined"&&b!==null&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};dz=function(a){var b=cz(a).read();a=_.Ee();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; ez=function(a,b,c){var d=dz(b),e=d[a];d[a]="0";var f=[];_.Dm(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=cz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};fz=function(a,b){b=dz(b);return b[a]=="0"||b[a]=="X"};gz=function(a){a=bz(a.g_user_cookie_policy);if(!a||a.ef&&!_.ay)a=null;else{var b=["G_AUTHUSER_",_.ay&&a.ef?"S":"H",a.Zi].join(""),c=_.ny[b];c||(c=new _.ky(b,_.ry(a)),_.ny[b]=c);a=c}_.Ze("googleapis.config/sessionIndex",null);a.clear()};hz=function(a){return Qy(function(b){return a[b]})}; iz=0;jz=!1;kz=[];lz={};mz={};nz=null;oz=function(a){var b=_.Jy;return function(c){if(this.f==b&&this.t==_.Zf.Wn(this.f)&&this.origin==_.Zf.qo(this.f))return a.apply(this,arguments)}};pz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ya");};qz=function(a){var b=_.bf.Qg,c=b(a).jsh;if(c!=null)return pz(c),a;if(b=String(b().jsh||_.Oe.h||""))pz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(a.substr(0,c).indexOf("?")!==-1?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a}; rz=function(){return!!_.Ye("oauth-flow/usegapi")};sz=function(a,b){rz()?nz.unregister(a):_.Zf.unregister(a+":"+b)};tz=function(a,b,c){rz()?nz.register(a,c,_.Rm):_.Zf.register(a+":"+b,oz(c))};uz=function(){Sy.parentNode.removeChild(Sy)}; Ez=function(a){var b=Sy;_.Ey(b,[{property:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Ey(b,[{property:"transform",duration:1,timing:"ease",delay:0}]);_.Hy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Fz=function(){var a=Ty+88;Ez(a);Ty=a};Gz=function(){var a=Ty-88;Ez(a);Ty=a}; Hz=function(a){var b=a?Fz:Gz,c=a?Gz:Fz;a=a?"-":"";Ty=parseInt(a+88,10);Sy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Sy.style.transform="translate3d(0px,"+a+88+"px,0px)";Sy.style.display="";Sy.style.visibility="visible";b();_.Hy(c,4E3);_.Hy(uz,5E3)}; Iz=function(a){var b=_.Ye("oauth-flow/toast/position");b!=="top"&&(b="bottom");var c=document.createElement("div");Sy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Tr(c,"visibility","hidden");_.Tr(c,b,"-40px");_.Tr(c,"height","128px");var d=c;if(_.or()){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= b=="top"?"-":"";Ty=parseInt(e+88,10);Sy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Sy.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){}_.Om.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){b==="top"?Hz(!0):Hz(!1)}})}; Jz=function(a){var b=_.to(),c=b&&b.scope;b=a&&a.scope;b=typeof b==="string"?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d0&&(a.scope=b.join(" "))}return a}; Kz=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=_.Ye("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||Zy(c)!=null||!hz(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};Lz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Pf(_.Py(a,!0));if(a===!1)throw Error("za");return a};Mz=function(a){return(a=Lz(a))?a.sub:null}; Nz=function(a){a&&kz.push(a);a=_.Jy;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(iz&&c-iz<6E4)return;var d=_.Zf.Wn(a);d&&(sz("oauth2relayReady",d),sz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Ky();a=_.Jy}iz=c;var e=String(2147483647*(0,_.Ng)()|0);b=_.Ye("oauth-flow/proxyUrl")||_.Ye("oauth-flow/relayUrl");rz()?nz=_.Om.openChild({where:_.bf.oU(),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(_.Fg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.bf.oU(),d=_.bf.xR({name:a,id:a}),d.src=qz(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),_.Zf.ox(a));tz("oauth2relayReady",e,function(){sz("oauth2relayReady",e);var f=kz;if(f!==null){kz= null;for(var h=f.length,k=0;k=0&&_.Ye("isLoggedIn")&&(l&&l._aa)==="1"&&(l._aa="0",jz||(jz=!0,Iz(l)));_.az(k,h);h=$y(k);if(f){k= f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(n){}f.callback&&(f.callback(h),f.callback=null)}}})};_.Oz=function(a){kz!==null?Nz(a):a&&a()};Qz=function(a,b){var c=Pz,d=Mz(a);d&&(gz(a),ez(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=Kz(null,e);c(e)}}))}; Pz=function(a){a||(a=$y(void 0,!0));a&&typeof a==="object"||(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||(_.Oe.drw=null);_.az(a);if(b=a.authuser)_.Ye("googleapis.config/sessionIndex"),_.Ze("googleapis.config/sessionIndex",b);_.Ly.kp(_.My,a);return a};Rz=["client_id","cookie_policy","response_type"];Sz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" "); Tz=function(a){var b=_.Uj(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);_.cw(b);return b}; Uz=function(a){if(a.include_granted_scopes===void 0){var b=_.Ye("include_granted_scopes");a.include_granted_scopes=!!b}};Vz=function(a){window.console&&(typeof window.console.warn==="function"?window.console.warn(a):typeof window.console.log==="function"&&window.console.log(a))}; Wz=function(a){var b=a||{},c={};_.Bb(Sz,function(d){b[d]!=null&&(c[d]=b[d])});a=_.Ye("googleapis/overrideClientId");a!=null&&(c.client_id=a);Uz(c);typeof b.scope==="string"?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));b["openid.realm"]!=null&&(c.openid_realm=b["openid.realm"]);b.cookie_policy!=null?c.cookie_policy=b.cookie_policy:b.cookiepolicy!=null&&(c.cookie_policy=b.cookiepolicy);c.login_hint==null&&b.user_id!=null&&(c.login_hint=b.user_id);try{_.Ww(c.cookie_policy)}catch(d){c.cookie_policy&& Vz("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}b.hd!=null&&(c.hosted_domain=b.hd);c.prompt==null&&(b.immediate==1||b.immediate=="true"?c.prompt="none":b.approval_prompt=="force"&&(c.prompt="consent"));c.prompt=="none"&&(c.session_selection="first_valid");c.prompt=="none"&&c.access_type=="offline"&&delete c.access_type;typeof c.authuser==="undefined"&&(a=_.ei(),a!=null&&(c.authuser=a));a=b.redirect_uri||_.Ye("oauth-flow/redirectUri"); a!=null&&a!="postmessage"&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c}; Xz=function(a,b){var c=Wz(a),d=new _.mk(function(e,f){_.Cx(c,function(h){var k=h||{};_.Bb(Rz,function(l){k[l]==null&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&a.state!=null&&(k.state=a.state);k.error?(c.prompt=="none"&&k.error=="user_logged_out"&&(k.error="immediate_failed_user_logged_out"),f(k)):(h=Tz(k),h.authuser!=null&&_.Ze("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};var Yz,$z;Yz=null;_.aA=function(a,b){if(a.approvalprompt!=="force"){a=_.Zz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)Yz?(a.client_id!==Yz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(Yz=a,b=!1);b||$z(a)}}; _.Zz=function(a){var b=a.redirecturi||"postmessage",c=_.Fc((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=a.accesstype=="offline"?!0:(c=a.redirecturi)&&c!="postmessage";c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=_.Fc(a.requestvisibleactions.replace(/[\s\xa0]+/g, " ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&a.cookiepolicy!=="none"&&(b.cookie_policy=a.cookiepolicy);typeof a.includegrantedscopes!="undefined"&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.Ye("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Ye("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};$z=function(a){_.fp("waaf0","signin","0");Xz(a,function(b){_.fp("waaf1","signin","0");Pz(b)})}; _.bA=function(a){a=_.Zz(a);_.Ze("oauth-flow/authWindowWidth",445);_.Ze("oauth-flow/authWindowHeight",615);$z(a)};_.cA=function(a){_.Ly.unsubscribe(_.My,a);_.Ly.subscribe(_.My,a)};var jA,mA;_.eA=function(a){return a.cookiepolicy?!0:(_.dA("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.dA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.iA=function(a,b){var c=_.to();_.Ge(a,c);c=Jz(c);if(_.eA(c)){var d=_.fA();_.gA(c);b?_.Ne(b,"click",function(){_.hA(c,d)}):_.hA(c,d)}}; _.fA=function(){var a=new jA;_.cA(function(b){a.MJ&&b&&(b.access_token&&_.Ze("isPlusUser",!0),b["g-oauth-window"]&&(a.MJ=!1,_.Uf.warn("OTA app install is no longer supported.")))});return a};jA=function(){this.MJ=!1};_.gA=function(a){a=_.kA(a);_.lA(a.callback);_.Oz(function(){_.aA(a)})};_.kA=function(a){mA(a);a.redirecturi&&delete a.redirecturi;Ry(function(b){return a[b]})||(a.authuser=0);return a};mA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.lA=function(a){if(typeof a==="string")if(window[a])a=window[a];else{_.dA('Callback function named "'+a+'" not found');return}a&&_.cA(a)};_.hA=function(a,b){b.MJ=!0;a=_.kA(a);_.bA(a)};_.t("gapi.auth.authorize",Xz);_.t("gapi.auth.checkSessionState",function(a,b){var c=_.Ee();c.client_id=a.client_id;c.session_state=a.session_state;_.Oz(function(){rz()?nz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Rm):_.Zf.call(_.Jy,"check_session_state",oz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.t("gapi.auth.getAuthHeaderValueForFirstParty",function(a,b){_.xi(_.wi(),51).ub();return _.oi(a,b)});_.t("gapi.auth.getToken",$y); _.t("gapi.auth.getVersionInfo",function(a,b){_.Oz(function(){var c=_.oi()||"",d=null,e=null;c&&(e=c.split(" "),e.length==2&&(d=e[1]));d?rz()?nz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Rm):_.Zf.call(_.Jy,"get_versioninfo",oz(function(f){a(f)}),d,b):a()})});_.t("gapi.auth.init",_.Oz);_.t("gapi.auth.setToken",_.az);_.t("gapi.auth.signIn",function(a){_.iA(a)});_.t("gapi.auth.signOut",function(){var a=$y();a&&Qz(a,a.cookie_policy)}); _.t("gapi.auth.unsafeUnpackIdToken",Lz);_.t("gapi.auth._pimf",_.aA);_.t("gapi.auth._oart",Iz);_.t("gapi.auth._guss",function(a){return cz(a).read()}); var nA=_.to();nA.clientid&&nA.scope&&nA.callback&&!_.Ye("disableRealtimeCallback")&&_.gA(nA); }); // Google Inc.