,b.sessionMeta,b.responseType);a.Kp&&_.yu()?(a.WB=b.sessionMeta.extraQueryParams.redirect_uri,Qv(a,b,function(){return window.location.assign(c)})):window.location.assign(c)};Tv=function(a,b,c){a.Ek?c(a.Xn()):_.nv(a,a.oW,[b,c])};_.Uv=function(a){_.ve(_.Ge,"le",[]).push(a)};
_.Vv=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(e<128)b[d++]=String.fromCharCode(e);else if(e>191&&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("")};
Wv=function(a){var b=[];_.Ch(a,function(c){b.push(c)});return b};_.Xv=function(a,b){_.ii[b||"token"]=a};_.Yv=function(a){delete _.ii[a||"token"]};$v=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){_.$a.setTimeout(d,0)}};_.tu={parse:function(a){a=_.Gf("["+String(a)+"]");if(a===!1||a.length!==1)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Hf(a)}};_.xv.prototype.gG=function(a,b){_.nv(this,this.t8,[a,b])};_.xv.prototype.t8=function(a,b){this.Rd.gG(this.Pb,a,this.Gj,this.Me,b)};_.Wu.prototype.gG=function(a,b,c,d,e){c=_.ou(c);_.Zu(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var aw,bw=["client_id","cookie_policy","scope"],cw="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(" "),dw=["authuser","after_redirect","access_type","hl"],ew=["login_hint","prompt"],fw={clientid:"client_id",cookiepolicy:"cookie_policy"},
gw=["approval_prompt","authuser","login_hint","prompt","hd"],hw=["login_hint","g-oauth-window","status"],iw=Math.min(_.Qe("oauth-flow/authWindowWidth",599),screen.width-20),jw=Math.min(_.Qe("oauth-flow/authWindowHeight",600),screen.height-30);var kw=function(a){_.mb.call(this,a)};_.r(kw,_.mb);kw.prototype.name="gapi.auth2.ExternallyVisibleError";var lw=function(){};lw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length==1&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var mw=function(){};mw.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 nw=function(a){this.C6=a};
nw.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.C6){d.login_hint?b(d):b();return}}b()};var ow=function(a){this.we=a;this.HC=[]};ow.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.HC[b];f?(b++,c.we.eB(function(h){h?f.select(h,d):d()})):a()}};d()};var pw=function(a){a=new ow(a);a.HC.push(new lw);return a},qw=function(a){a=new ow(a);a.HC.push(new mw);return a},rw=function(a,b){b===void 0||b===null?b=pw(a):(a=new ow(a),a.HC.push(new nw(b)),b=a);return b};var sw=function(a){this.Nf=a;this.isActive=!0};sw.prototype.remove=function(){this.isActive=!1};sw.prototype.trigger=function(){};var tw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},uw=function(){this.mc=[]};uw.prototype.add=function(a){this.mc.push(a)};uw.prototype.notify=function(a){for(var b=this.mc,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),e=vw(e.Nf,a),e=(0,_.Zj)(e),e=(0,_.Xj)(e),Zv||(Zv=$v()),Zv(e))}this.mc=c};var vw=function(a,b){return function(){a(b)}};var xw=function(a){this.La=null;this.cha=new ww(this);this.mc=new uw;a!=void 0&&this.set(a)};xw.prototype.set=function(a){a!=this.La&&(this.La=a,this.cha.value=a,this.mc.notify(this.La))};xw.prototype.get=function(){return this.La};xw.prototype.qa=function(a){a=new yw(this,a);this.mc.add(a);return a};xw.prototype.get=xw.prototype.get;var yw=function(a,b){sw.call(this,b);this.Wba=a};_.r(yw,sw);yw.prototype.trigger=function(){var a=this.Nf;a(this.Wba.get())};
var ww=function(a){this.value=null;this.qa=function(b){return new tw(a.qa(b))}};var zw={wja:"fetch_basic_profile",xka:"login_hint",Wla:"prompt",cma:"redirect_uri",uma:"scope",Qna:"ux_mode",gna:"state"},Aw=function(a){this.Ka={};if(a&&!_.vh(a))if(typeof a.get=="function")this.Ka=a.get();else for(var b in zw){var c=zw[b];c in a&&(this.Ka[c]=a[c])}};Aw.prototype.get=function(){return this.Ka};Aw.prototype.j_=function(a){this.Ka.scope=a;return this};Aw.prototype.Gu=function(){return this.Ka.scope};
var Bw=function(a,b){var c=a.Ka.scope;b=Av(b.split(" "),c?c.split(" "):[]);_.uh(b);a.Ka.scope=b.join(" ")};_.g=Aw.prototype;_.g.Nfa=function(a){this.Ka.prompt=a;return this};_.g.Q9=function(){return this.Ka.prompt};_.g.qfa=function(){_.Lf.warn("Property app_package_name no longer supported and was not set");return this};_.g.T8=function(){_.Lf.warn("Property app_package_name no longer supported")};_.g.zf=function(a){this.Ka.state=a};_.g.getState=function(){return this.Ka.state};var Cw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+iw,"height="+jw,"top="+(screen.height-jw)/2,"left="+(screen.width-iw)/2].join()},Dw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.Vv(Wv(a)))},Ew=function(){aw=_.Qe("auth2/idpValue","google");var a=_.Qe("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.Qe("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");a={fedcmConfigUrl:_.Qe("oauth-flow/fedcmConfigUrl","https://accounts.google.com/o/fedcm/config.json"),authServerUrl:a,idpIFrameUrl:b};_.Cu(aw,a)},Fw=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}_.wb(a[e])||(a[e]={});a=a[e]}},Gw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},Iw=function(){var a=Hw();a.storage_path&&window.sessionStorage.setItem(a.storage_path,
Gw()+window.location.pathname);if(a.status.toLowerCase()=="enforced")throw new kw("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href);a.status.toLowerCase()=="informational"&&_.Lf.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)},Jw=function(a){return _.Zh.get("GSI_ALLOW_3PCD")==="1"?!0:a===!1?!1:a===!0||(_.Ge.le||[]).includes("fedcm_migration_mod")?!0:!1};var Kw=function(a){var b=a?(b=Dw(a))?b.sub:null:null;this.Ea=b;this.Ic=a?_.Oj(a):null};_.g=Kw.prototype;_.g.getId=function(){return this.Ea};_.g.FG=function(){var a=Dw(this.Ic);return a?a.hd:null};_.g.Cg=function(){return!!this.Ic};_.g.Tl=function(a){if(a)return this.Ic;a=Lw;var b=_.Oj(this.Ic);!a.LA||a.BH||a.vaa||(delete b.access_token,delete b.scope);return b};_.g.iK=function(){return Lw.iK()};_.g.dl=function(){this.Ic=null};_.g.t9=function(){return this.Ic?this.Ic.scope:null};
_.g.update=function(a){this.Ea=a.Ea;this.Ic=a.Ic;this.Ic.id_token?this.gy=new Mw(this.Ic):this.gy&&(this.gy=null)};var Nw=function(a){return a.Ic&&typeof a.Ic.session_state=="object"?_.Oj(a.Ic.session_state.extraQueryParams||{}):{}};_.g=Kw.prototype;_.g.tG=function(){var a=Nw(this);return a&&a.authuser!==void 0&&a.authuser!==null?a.authuser:null};
_.g.bl=function(a){var b=Lw,c=new Aw(a);b.BH=c.Gu()?!0:!1;Lw.LA&&Bw(c,"openid profile email");return new _.gk(function(d,e){var f=Nw(this);f.login_hint=this.getId();f.scope=c.Gu();Ow(b,d,e,f)},this)};_.g.Lu=function(a){return new _.gk(function(b,c){var d=a||{},e=Lw;d.login_hint=this.getId();e.Lu(d).then(b,c)},this)};_.g.i$=function(a){return this.bl(a)};_.g.disconnect=function(){return Lw.disconnect()};_.g.U8=function(){return this.gy};
_.g.sA=function(a){if(!this.Cg())return!1;var b=this.Ic&&this.Ic.scope?this.Ic.scope.split(" "):"";return _.Mb(a?a.split(" "):[],function(c){return _.ub(b,c)})};var Mw=function(a){a=Dw(a);this.N8=a.sub;this.kh=a.name;this.e$=a.given_name;this.q8=a.family_name;this.TU=a.picture;this.Zy=a.email};_.g=Mw.prototype;_.g.getId=function(){return this.N8};_.g.vg=function(){return this.kh};_.g.r9=function(){return this.e$};_.g.n9=function(){return this.q8};_.g.z9=function(){return this.TU};_.g.Rn=function(){return this.Zy};var Hw,Pw;Hw=function(){var a=_.Zh.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]}:(_.Lf.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};Pw=function(a){var b=location;if(a&&a!="none")return a=="single_host_origin"?b.protocol+"//"+b.host:a};
_.Qw=function(a){if(!a)throw new kw("No cookiePolicy");var b=window.location.hostname;a=="single_host_origin"&&(a=window.location.protocol+"//"+b);if(a=="none")return null;var c=/^(https?:\/\/)([0-9.\-_A-Za-z]+)(?::(\d+))?$/.exec(a);if(!c)throw new kw("Invalid cookiePolicy");a=c[2];c=c[1];var d={};d.dotValue=a.split(".").length;d.isSecure=c.indexOf("https")!=-1;d.domain=a;if(!_.wj(b,"."+a)&&!_.wj(b,a))throw new kw("Invalid cookiePolicy domain");return d};var Sw=function(a){var b=a||{},c=Rw();_.Gb(cw,function(d){typeof b[d]==="undefined"&&typeof c[d]!=="undefined"&&(b[d]=c[d])});return b},Rw=function(){for(var a={},b=document.getElementsByTagName("meta"),c=0;c<b.length;++c)if(b[c].name){var d=b[c].name;if(d.indexOf("google-signin-")==0){d=d.substring(14);var e=b[c].content;fw[d]&&(d=fw[d]);_.ub(cw,d)&&e&&(a[d]=e=="true"?!0:e=="false"?!1:e)}}return a},Tw=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Uw=function(a){_.Gb(cw,
function(b){var c=Tw(b);typeof a[c]!=="undefined"&&typeof a[b]==="undefined"&&(a[b]=a[c],delete a[c])})},Vw=function(a){a=Sw(a);Uw(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=cw+dw,c;for(c in a)b.indexOf(c)<0&&delete a[c];return a},Ww=function(a,b){if(!a)throw new kw("Empty initial options.");for(var c=0;c<bw.length;++c)if(!(b&&bw[c]=="scope"||a[bw[c]]))throw new kw("Missing required parameter '"+bw[c]+"'");_.Qw(a.cookie_policy)},Yw=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:Pw(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:aw};Xw(b,a);_.Gb(ew,function(d){a[d]&&(b.authParameters[d]=a[d])});typeof a.enable_serial_consent=="boolean"&&(b.enableSerialConsent=a.enable_serial_consent);typeof a.enable_granular_consent=="boolean"&&(b.enableGranularConsent=a.enable_granular_consent);if(a.plugin_name)b.pluginName=
a.plugin_name;else{var c=_.Qe("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);typeof a.use_fedcm==="boolean"&&(b.useFedCm=a.use_fedcm);return b},Xw=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||Bv());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},cx=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=Zw(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:Pw(c),idpId:aw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||Bv());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.Gb(ew.concat(dw),function(n){a[n]&&(m.authParameters[n]=a[n])});
a.authuser!==void 0&&a.authuser!==null&&(m.authParameters.authuser=a.authuser);typeof a.include_granted_scopes=="boolean"&&(b=new $w(a.response_type||"token"),ax(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),bx(b)&&(m.rpcAuthParameters.include_granted_scopes=a.include_granted_scopes,a.include_granted_scopes===!1&&(m.forceTokenRefresh=!0,m.skipTokenCache=!0)));typeof a.enable_serial_consent=="boolean"&&(m.enableSerialConsent=a.enable_serial_consent);typeof a.enable_granular_consent==
"boolean"&&(m.enableGranularConsent=a.enable_granular_consent);a.plugin_name?m.pluginName=a.plugin_name:(b=_.Qe("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);typeof a.use_fedcm==="boolean"&&(m.useFedCm=a.use_fedcm);return m},Zw=function(a){a=new $w(a.response_type||"token");var b=[];bx(a)&&b.push("token");dx(a,"id_token")&&b.push("id_token");
b.length==0&&(b=["token","id_token"]);return b.join(" ")},ex=["permission","id_token"],fx=/(^|[^_])token/,$w=function(a){this.Or=[];this.VH(a)};$w.prototype.VH=function(a){a?((a.indexOf("permission")>=0||a.match(fx))&&this.Or.push("permission"),a.indexOf("id_token")>=0&&this.Or.push("id_token"),a.indexOf("code")>=0&&this.Or.push("code")):this.Or=ex};var ax=function(a){return dx(a,"code")},bx=function(a){return dx(a,"permission")};$w.prototype.toString=function(){return this.Or.join(" ")};
var dx=function(a,b){var c=!1;_.Gb(a.Or,function(d){d==b&&(c=!0)});return c};var hx=function(a,b,c){this.iJ=b;this.Lca=a;for(var d in a)a.hasOwnProperty(d)&&gx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.iJ[c[a]]},gx=function(a,b){a[b]=function(){return a.Lca[b].apply(a.iJ,arguments)}};hx.prototype.then=function(a,b,c){var d=this;return _.kk().then(function(){return ix(d.iJ,a,b,c)})};_.Vj(hx);var Lw,jx,lx;Lw=null;_.kx=function(){return Lw?jx():null};jx=function(){return new hx(lx.prototype,Lw,["currentUser","isSignedIn"])};lx=function(a){delete a.include_granted_scopes;this.Ka=Yw(a);this.x7=a.cookie_policy;this.vaa=!!a.scope;(this.LA=a.fetch_basic_profile!==!1)&&(this.Ka.authParameters.scope=mx(this,"openid profile email"));this.Ka.supportBlocked3PCookies=Jw(a.use_fedcm);this.Wu=a.hosted_domain;this.aha=a.ux_mode||"popup";this.WB=a.redirect_uri||null;this.SH()};
lx.prototype.SH=function(){this.currentUser=new xw(new Kw(null));this.isSignedIn=new xw(!1);this.we=new _.vv(this.Ka);this.QA=this.hr=null;this.Hba=new _.gk(function(a,b){this.hr=a;this.QA=b},this);this.zB={};this.pv=!0;nx(this);this.we.start()};
var nx=function(a){a.we.addEventListener("error",function(b){a.pv&&a.hr&&(a.pv=!1,a.QA({error:b.error,details:b.details}),a.hr=null,a.QA=null)});a.we.addEventListener("authResult",function(b){b&&b.authResult&&a.Ff(b);a.we.xu()(b)});a.we.addEventListener("tokenReady",function(b){var c=new Kw(b.response);if(a.Wu&&a.Wu!=c.FG())a.Ff({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.FG(),expectedDomain:a.Wu});else{a.currentUser.get().update(c);
var d=a.currentUser;d.mc.notify(d.La);a.isSignedIn.set(!0);c=c.tG();(d=_.Qw(a.x7))&&c&&_.Zh.set(["G_AUTHUSER_",window.location.protocol==="https:"&&d.mf?"S":"H",d.Ui].join(""),c,{domain:d.domain,secure:d.isSecure});_.Xv(b.response);a.Ff(b)}});a.we.addEventListener("noSessionBound",function(b){a.pv&&b.autoOpenAuthUrl?(a.pv=!1,pw(a.we).select(function(c){if(c&&c.login_hint){var d=a.we;_.nv(d,d.oD,[c.login_hint,!0])}else a.currentUser.set(new Kw(null)),a.isSignedIn.set(!1),_.Yv(),a.Ff(b)})):(a.currentUser.set(new Kw(null)),
a.isSignedIn.set(!1),_.Yv(),a.Ff(b))});a.we.addEventListener("tokenFailed",function(b){a.Ff(b)});a.we.addEventListener("userLoggedOut",function(b){a.currentUser.get().dl();var c=a.currentUser;c.mc.notify(c.La);a.isSignedIn.set(!1);_.Yv();a.Ff(b)})},ix=function(a,b,c,d){return a.Hba.then(function(e){if(b)return b(e.g$)},c,d)};lx.prototype.Ff=function(a){if(a){this.pv=!1;var b=a.type||"";if(this.zB[b])this.zB[b](a);this.hr&&(this.hr({g$:this}),this.QA=this.hr=null)}};
var ox=function(a,b){_.Wb(b,function(c,d){a.zB[d]=function(e){a.zB={};c(e)}})},Ow=function(a,b,c,d){d=_.Oj(d);a.Wu&&(d.hd=a.Wu);var e=d.ux_mode||a.aha;delete d.ux_mode;delete d.app_package_name;var f={sessionMeta:{extraQueryParams:d},responseType:"permission id_token"};e=="redirect"?(d.redirect_uri||(d.redirect_uri=a.WB||Gw()+window.location.pathname),px(a,f)):(delete d.redirect_uri,qx(a,f),ox(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):ox(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};lx.prototype.bl=function(a){return new _.gk(function(b,c){var d=new Aw(a);this.BH=d.Gu()?!0:!1;this.LA?(d.Ka.fetch_basic_profile=!0,Bw(d,"email profile openid")):d.Ka.fetch_basic_profile=!1;var e=mx(this,d.Gu());d.j_(e);Ow(this,b,c,d.get())},this)};
lx.prototype.Lu=function(a){var b=a||{};this.BH=!!b.scope;a=mx(this,b.scope);if(a=="")return _.lk({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.Gb(gw,function(d){b[d]!=null&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");b.redirect_uri=="postmessage"||b.redirect_uri==void 0?a=rx(this,c):(c.redirect_uri=b.redirect_uri,px(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
a=_.kk({message:"Redirecting to IDP."}));return a};
var rx=function(a,b){b.origin=Gw();delete b.redirect_uri;qx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.gk(function(c,d){ox(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},qx=function(a,b){Fw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");Rv(a.we,Cw(),b)},px=function(a,b){Fw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");Sv(a.we,b)};
lx.prototype.dl=function(a){var b=a||!1;return new _.gk(function(c){Ev(this.we,b,function(){c()})},this)};lx.prototype.pT=function(){return this.Ka.authParameters.scope};var mx=function(a,b){a=a.pT();b=Av(b?b.split(" "):[],a?a.split(" "):[]);_.uh(b);return b.join(" ")};lx.prototype.iK=function(){var a=this;return new _.gk(function(b,c){ox(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.we.FS()})};
lx.prototype.rP=function(a,b,c,d){if(a=typeof a==="string"?document.getElementById(a):a){var e=this;_.nj(a,"click",function(){var f=b;typeof b=="function"&&(f=b());e.bl(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."})};lx.prototype.disconnect=function(){return new _.gk(function(a){this.we.revoke(function(){a()})},this)};lx.prototype.attachClickHandler=lx.prototype.rP;var sx;_.gk.prototype["catch"]=_.gk.prototype.uD;sx=null;_.tx=function(a){Iw();a=Vw(a);if(Lw){if(_.hu(a,sx||{}))return jx();throw new kw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Ww(a,a.fetch_basic_profile!==!1);Ew();sx=a;Lw=new lx(a);_.Ge.ga=1;return jx()};var vx,xx,ux,zx,yx,Ax;
_.wx=function(a,b){Iw();Ew();a=Vw(a);Ww(a);var c=cx(a);c.supportBlocked3PCookies=Jw(a.use_fedcm);var d=new _.xv(c);a.prompt=="none"?ux(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)}):vx(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.gY.Ai;b(e)})};
vx=function(a,b,c){var d=new $w(b.response_type);c=xx(a,d,c);var e={responseType:d.toString()};Fw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");ax(d)&&Fw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Fw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Fw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Cw();a.Ek?c({authResult:{error:"idpiframe_initialization_failed",details:a.Xn().error}}):(a.tn=
c,Rv(a,b,e))};xx=function(a,b,c){if(bx(b)){var d=yx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.xu(function(f){f&&!f.error?(f=_.Oj(f),ax(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(_.Oj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
ux=function(a,b,c){if(ax(new $w(b.response_type))&&b.access_type=="offline")c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=yx(c);b.login_hint?a.gG(b.login_hint,function(e){e?zx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):b.authuser!==void 0&&b.authuser!==null?rw(a,b.authuser).select(function(e){e&&e.login_hint?zx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.pu(function(e){e&&e.hint?zx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):(b.session_selection=="first_valid"?qw(a):pw(a)).select(function(f){f&&f.login_hint?zx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};zx=function(a,b,c,d){b=new $w(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.Ti(f,k),e==0&&d(f))};(bx(b)||dx(b,"id_token"))&&e++;ax(b)&&e++;(bx(b)||dx(b,"id_token"))&&_.yv(a,c,h);ax(b)&&Tv(a,c,h)};
yx=function(a){return function(b){if(!b||b.error)_.Yv(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.Oj(b);Ax(c);delete c.id_token;delete c.code;_.Xv(c)}a(b)}}};Ax=function(a){_.Gb(hw,function(b){delete a[b]})};_.A("gapi.auth2.init",_.tx);_.A("gapi.auth2.authorize",function(a,b){if(Lw!=null)throw new kw("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).");_.wx(a,function(c){Ax(c);b(c)})});_.A("gapi.auth2._gt",function(){return _.ji()});_.A("gapi.auth2.enableDebugLogs",function(a){a=a!==!1;_.iu=a!="0"&&!!a});_.A("gapi.auth2.getAuthInstance",_.kx);
_.A("gapi.auth2.BasicProfile",Mw);_.A("gapi.auth2.BasicProfile.prototype.getId",Mw.prototype.getId);_.A("gapi.auth2.BasicProfile.prototype.getName",Mw.prototype.vg);_.A("gapi.auth2.BasicProfile.prototype.getGivenName",Mw.prototype.r9);_.A("gapi.auth2.BasicProfile.prototype.getFamilyName",Mw.prototype.n9);_.A("gapi.auth2.BasicProfile.prototype.getImageUrl",Mw.prototype.z9);_.A("gapi.auth2.BasicProfile.prototype.getEmail",Mw.prototype.Rn);_.A("gapi.auth2.GoogleAuth",lx);
_.A("gapi.auth2.GoogleAuth.prototype.attachClickHandler",lx.prototype.rP);_.A("gapi.auth2.GoogleAuth.prototype.disconnect",lx.prototype.disconnect);_.A("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",lx.prototype.Lu);_.A("gapi.auth2.GoogleAuth.prototype.signIn",lx.prototype.bl);_.A("gapi.auth2.GoogleAuth.prototype.signOut",lx.prototype.dl);_.A("gapi.auth2.GoogleAuth.prototype.getInitialScopes",lx.prototype.pT);_.A("gapi.auth2.GoogleUser",Kw);_.A("gapi.auth2.GoogleUser.prototype.grant",Kw.prototype.i$);
_.A("gapi.auth2.GoogleUser.prototype.getId",Kw.prototype.getId);_.A("gapi.auth2.GoogleUser.prototype.isSignedIn",Kw.prototype.Cg);_.A("gapi.auth2.GoogleUser.prototype.getAuthResponse",Kw.prototype.Tl);_.A("gapi.auth2.GoogleUser.prototype.getBasicProfile",Kw.prototype.U8);_.A("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Kw.prototype.t9);_.A("gapi.auth2.GoogleUser.prototype.getHostedDomain",Kw.prototype.FG);_.A("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Kw.prototype.Lu);
_.A("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Kw.prototype.sA);_.A("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Kw.prototype.iK);_.A("gapi.auth2.LiveValue",xw);_.A("gapi.auth2.LiveValue.prototype.listen",xw.prototype.qa);_.A("gapi.auth2.LiveValue.prototype.get",xw.prototype.get);_.A("gapi.auth2.SigninOptionsBuilder",Aw);_.A("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",Aw.prototype.T8);_.A("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",Aw.prototype.qfa);
_.A("gapi.auth2.SigninOptionsBuilder.prototype.getScope",Aw.prototype.Gu);_.A("gapi.auth2.SigninOptionsBuilder.prototype.setScope",Aw.prototype.j_);_.A("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",Aw.prototype.Q9);_.A("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",Aw.prototype.Nfa);_.A("gapi.auth2.SigninOptionsBuilder.prototype.get",Aw.prototype.get);
_.Ue=_.Ue||{};
(function(){function a(b){var c="";if(b.nodeType==3||b.nodeType==4)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}_.Ue.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)};_.Ue.sQ=function(b){var c=_.Ue.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(_.Ue.RF(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.Ue.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};_.Ue.TS=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};_.Ue.nqa=function(b){return a(b)}})();
_.vg=window.gapi&&window.gapi.util||{};
_.vg=_.vg={};_.vg.getOrigin=function(a){return _.xg(a)};
_.Wx=function(a){if(a.indexOf("GCSC")!==0)return null;var b={uj:!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=_.Ux(a.substr(d+1));if(e==null)return b;a=a.substring(0,d);if(a.charAt(0)!=="_")return b;d=c==="E"&&e.mf;return!d&&(c!=="U"||e.mf)||d&&!_.Vx?b:{uj:!0,mf:d,i7:a.substr(1),domain:e.domain,Ui:e.Ui}};_.Xx=function(a,b){this.kh=a;a=b||{};this.oca=Number(a.maxAge)||0;this.de=a.domain;this.Nm=a.path;this.Xea=!!a.secure};_.Xx.prototype.read=function(){for(var a=this.kh+"=",b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(d.indexOf(a)==0)return d.substr(a.length)}};
_.Xx.prototype.write=function(a,b){if(!Yx.test(this.kh))throw"Invalid cookie name";if(!Zx.test(a))throw"Invalid cookie value";a=this.kh+"="+a;this.de&&(a+=";domain="+this.de);this.Nm&&(a+=";path="+this.Nm);b=typeof b==="number"?b:this.oca;if(b>=0){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.Xea&&(a+=";secure");document.cookie=a;return!0};_.Xx.prototype.clear=function(){this.write("",0)};var Zx=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Yx=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.Xx.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("="))}};_.$x=function(a){this.Sf=a};_.$x.prototype.read=function(){if(ay.hasOwnProperty(this.Sf))return ay[this.Sf]};_.$x.prototype.write=function(a){ay[this.Sf]=a;return!0};_.$x.prototype.clear=function(){delete ay[this.Sf]};var ay={};_.$x.iterate=function(a){for(var b in ay)ay.hasOwnProperty(b)&&a(b,ay[b])};var by=function(){this.La=null;this.key=function(){return null};this.getItem=function(){return this.La};this.setItem=function(a,b){this.La=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.La=null;this.length=0};this.length=0},cy=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}},dy=function(a,b){this.kh=a;this.kN=
cy(b)?b||window.sessionStorage:new by};dy.prototype.read=function(){return this.kN.getItem(this.kh)};dy.prototype.write=function(a){try{this.kN.setItem(this.kh,a)}catch(b){return!1}return!0};dy.prototype.clear=function(){this.kN.removeItem(this.kh)};dy.iterate=function(a){if(cy())for(var b=window.sessionStorage.length,c=0;c<b;++c){var d=window.sessionStorage.key(c);a(d,window.sessionStorage[d])}};_.Vx=window.location.protocol==="https:";_.ey=_.Vx||window.location.protocol==="http:"?_.Xx:_.$x;_.Ux=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{mf:a.charAt(0)=="S",domain:d,Ui:c}};var fy,gy,jy,ky;fy=_.we();gy=_.we();_.hy=_.we();_.iy=_.we();jy="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");ky=function(a){this.aY=a;this.NI=null};
ky.prototype.write=function(a){var b=_.we(),c=_.we(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.xe(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=jy.length;for(e=0;e<d;++e)delete c[jy[e]];a=String(a.authuser||0);d=_.we();d[a]=c;c=_.Hf(d);this.aY.write(c);this.NI=b};ky.prototype.read=function(){return this.NI};ky.prototype.clear=function(){this.aY.clear();this.NI=_.we()};_.ly=function(a){return a?{domain:a.domain,path:"/",secure:a.mf}:null};
dy.iterate(function(a){var b=_.Wx(a);b&&b.uj&&(fy[a]=new ky(new dy(a)))});_.ey.iterate(function(a){fy[a]&&(gy[a]=new _.ey(a,_.ly(_.Wx(a))))});
_.$h=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;t<64;t+=4)q[t/4]=p[t]<<24|p[t+1]<<16|p[t+2]<<8|p[t+3];for(t=16;t<80;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],y=e[3],z=e[4];for(t=0;t<80;t++){if(t<40)if(t<20){var C=y^v&(u^y);var F=1518500249}else C=v^u^y,F=1859775393;else t<60?(C=v&u|y&(v|u),F=2400959708):(C=v^u^y,F=3395469782);C=((p<<5|p>>>27)&4294967295)+
C+z+F+q[t]&4294967295;z=y;y=u;u=(v<<30|v>>>2)&4294967295;v=p;p=C}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+y&4294967295;e[4]=e[4]+z&4294967295}function c(p,q){if(typeof p==="string"){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(m==0)for(;t+64<q;)b(p.slice(t,t+64)),t+=64,n+=64;for(;t<q;)if(f[m++]=p[t++],n++,m==64)for(m=0,b(f);t+64<q;)b(p.slice(t,t+64)),t+=64,n+=64}function d(){var p=[],
q=n*8;m<56?c(k,56-m):c(k,64-(m-56));for(var t=63;t>=56;t--)f[t]=q&255,q>>>=8;b(f);for(t=q=0;t<5;t++)for(var v=24;v>=0;v-=8)p[q++]=e[t]>>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,Ti: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 bi=function(a,b,c){var d=String(_.$a.location.href);return d&&a&&b?[b,ai(_.xg(d),a,c||null)].join(" "):null},ai=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],_.Gb(d,function(k){e.push(k)}),ci(e.join(" "));var f=[],h=[];_.Gb(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=f.length==0?[c,b,a]:[f.join(":"),c,b,a];_.Gb(d,function(k){e.push(k)});a=ci(e.join(" "));a=[c,a];h.length==0||a.push(h.join(""));return a.join("_")},ci=function(a){var b=
_.$h();b.update(a);return b.Ti().toLowerCase()};var ei;_.di=function(){var a=_.$a.__SAPISID||_.$a.__APISID||_.$a.__3PSAPISID||_.$a.__1PSAPISID||_.$a.__OVERRIDE_SID;if(a)return!0;typeof document!=="undefined"&&(a=new _.Xh(document),a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("__Secure-1PAPISID"));return!!a};ei=function(a,b,c,d){(a=_.$a[a])||typeof document==="undefined"||(a=(new _.Xh(document)).get(b));return a?bi(a,c,d):null};
_.fi=function(a){var b=_.xg(String(_.$a.location.href)),c=[];if(_.di()){b=b.indexOf("https:")==0||b.indexOf("chrome-extension:")==0||b.indexOf("chrome-untrusted://new-tab-page")==0||b.indexOf("moz-extension:")==0;var d=b?_.$a.__SAPISID:_.$a.__APISID;d||typeof document==="undefined"||(d=new _.Xh(document),d=d.get(b?"SAPISID":"APISID")||d.get("__Secure-3PAPISID"));(d=d?bi(d,b?"SAPISIDHASH":"APISIDHASH",a):null)&&c.push(d);b&&((b=ei("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&c.push(b),(a=
ei("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&c.push(a))}return c.length==0?null:c.join(" ")};
_.gi=function(a){var b={SAPISIDHASH:!0,SAPISID3PHASH:!0,SAPISID1PHASH:!0,APISIDHASH:!0};return a&&(a.OriginToken||a.Authorization&&b[String(a.Authorization).split(" ")[0]])?!0:!1};_.hi={rU:_.gi,Eba:_.di,sT:function(){var a=null;_.di()&&(a=window.__PVT,a==null&&(a=(new _.Xh(document)).get("BEAT")));return a},PS:_.fi};
var Hr,Ir;_.Ar=function(a){if(a instanceof _.dc)return a.uY;throw Error("j");};_.Br=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.Cr=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Dr=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};_.g=_.Dr.prototype;_.g.clone=function(){return new _.Dr(this.x,this.y)};_.g.equals=function(a){return a instanceof _.Dr&&_.Cr(this,a)};_.g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
_.g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};_.g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.g.translate=function(a,b){a instanceof _.Dr?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),typeof b==="number"&&(this.y+=b));return this};_.g.scale=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};_.Er=function(a){return a.scrollingElement?a.scrollingElement:!_.xd&&_.$d(a)?a.documentElement:a.body||a.documentElement};
_.Fr=function(a){var b=_.Er(a);a=a.defaultView;return new _.Dr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.Gr=function(a,b,c,d){return _.Vd(a.Mb,b,c,d)};Hr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};Ir=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.g=_.Br.prototype;_.g.Tb=function(){return this.right-this.left};_.g.Nc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.Br(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.Br?a.left>=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){_.wb(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 _.Dr?(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 Lr,Jr,Pr,Rr;_.Kr=function(a,b,c){if(typeof b==="string")(b=Jr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Jr(c,d);f&&(c.style[f]=e)}};Lr={};Jr=function(a,b){var c=Lr[b];if(!c){var d=Hr(b);c=d;a.style[d]===void 0&&(d=(_.xd?"Webkit":_.wd?"Moz":null)+Ir(d),a.style[d]!==void 0&&(c=d));Lr[b]=c}return c};_.Mr=function(a,b){var c=a.style[Hr(b)];return typeof c!=="undefined"?c:a.style[Jr(a,b)]||""};
_.Nr=function(a,b){var c=_.Td(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Or=function(a,b){return _.Nr(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};Pr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.Sr=function(a,b){b=b||_.Er(document);var c=b||_.Er(document);var d=_.Qr(a),e=_.Qr(c),f=_.Nr(c,"borderLeftWidth");var h=_.Nr(c,"borderRightWidth");var k=_.Nr(c,"borderTopWidth"),l=_.Nr(c,"borderBottomWidth");h=new _.Br(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.Er(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=Rr(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 _.Dr(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Qr=function(a){var b=_.Td(a),c=new _.Dr(0,0);if(a==(b?_.Td(b):document).documentElement)return c;a=Pr(a);b=_.Fr(_.Ud(b).Mb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Ur=function(a,b){var c=new _.Dr(0,0),d=_.ae(_.Td(a));a:{try{_.Sb(d.parent);var e=!0;break a}catch(f){}e=!1}if(!e)return c;do e=d==b?_.Qr(a):_.Tr(a),c.x+=e.x,c.y+=e.y;while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};
_.Tr=function(a){a=Pr(a);return new _.Dr(a.left,a.top)};_.Wr=function(a,b,c){if(b instanceof _.md)c=b.height,b=b.width;else if(c==void 0)throw Error("K");a.style.width=_.Vr(b,!0);a.style.height=_.Vr(c,!0)};_.Vr=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a};
_.Xr=function(a){var b=Rr;if(_.Or(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};Rr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.xd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Pr(a),new _.md(a.right-a.left,a.bottom-a.top)):new _.md(b,c)};_.Yr=function(a,b){a.style.display=b?"":"none"};
_.$r=function(a){var b=_.Ud(void 0),c=_.Gr(b,"HEAD")[0];if(!c){var d=_.Gr(b,"BODY")[0];c=b.wa("HEAD");d.parentNode.insertBefore(c,d)}d=b.wa("STYLE");var e;(e=_.Dc("style",document))&&d.setAttribute("nonce",e);_.Zr(d,a);b.appendChild(c,d)};_.Zr=function(a,b){b=_.Ar(b);_.$a.trustedTypes?_.oe(a,b):a.innerHTML=b};_.as=_.wd?"MozUserSelect":_.xd||_.ud?"WebkitUserSelect":null;
_.my=function(a){_.Ni.call(this);this.Sf=1;this.QB=[];this.VB=0;this.Yf=[];this.Pj={};this.w6=!!a};_.gb(_.my,_.Ni);_.g=_.my.prototype;_.g.subscribe=function(a,b,c){var d=this.Pj[a];d||(d=this.Pj[a]=[]);var e=this.Sf;this.Yf[e]=a;this.Yf[e+1]=b;this.Yf[e+2]=c;this.Sf=e+3;d.push(e);return e};_.g.Nw=_.kb(18);_.g.unsubscribe=function(a,b,c){if(a=this.Pj[a]){var d=this.Yf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.ql(a)}return!1};
_.g.ql=function(a){var b=this.Yf[a];if(b){var c=this.Pj[b];this.VB!=0?(this.QB.push(a),this.Yf[a+1]=function(){}):(c&&_.Ri(c,a),delete this.Yf[a],delete this.Yf[a+1],delete this.Yf[a+2])}return!!b};
_.g.bp=function(a,b){var c=this.Pj[a];if(c){var d=Array(arguments.length-1),e=arguments.length,f;for(f=1;f<e;f++)d[f-1]=arguments[f];if(this.w6)for(f=0;f<c.length;f++)e=c[f],ny(this.Yf[e+1],this.Yf[e+2],d);else{this.VB++;try{for(f=0,e=c.length;f<e&&!this.isDisposed();f++){var h=c[f];this.Yf[h+1].apply(this.Yf[h+2],d)}}finally{if(this.VB--,this.QB.length>0&&this.VB==0)for(;c=this.QB.pop();)this.ql(c)}}return f!=0}return!1};var ny=function(a,b,c){_.ek(function(){a.apply(b,c)})};
_.my.prototype.clear=function(a){if(a){var b=this.Pj[a];b&&(b.forEach(this.ql,this),delete this.Pj[a])}else this.Yf.length=0,this.Pj={}};_.my.prototype.Yb=function(a){if(a){var b=this.Pj[a];return b?b.length:0}a=0;for(b in this.Pj)a+=this.Yb(b);return a};_.my.prototype.va=function(){_.my.N.va.call(this);this.clear();this.QB.length=0};
_.oy=function(a){this.Hga=a};_.py=function(a){_.Ni.call(this);this.re=new _.my(a);_.Pi(this,this.re)};_.oy.prototype.toString=function(){return this.Hga};_.gb(_.py,_.Ni);_.g=_.py.prototype;_.g.subscribe=function(a,b,c){return this.re.subscribe(a.toString(),b,c)};_.g.Nw=_.kb(17);_.g.unsubscribe=function(a,b,c){return this.re.unsubscribe(a.toString(),b,c)};_.g.ql=function(a){return this.re.ql(a)};_.g.bp=function(a,b){return this.re.bp(a.toString(),b)};_.g.clear=function(a){this.re.clear(a!==void 0?a.toString():void 0)};_.g.Yb=function(a){return this.re.Yb(a!==void 0?a.toString():void 0)};
var qy,Cy,ry,Dy,Ey,By;qy=function(a){var b=_.qc("");return _.bc(a.map(function(c){return _.cc(_.qc(c))}).join(_.cc(b).toString()))};Cy=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!ry.test(e))throw Error("j");if(f!==void 0&&f!==null){if(/^on./i.test(e))throw Error("j");By.indexOf(e.toLowerCase())!==-1&&(f=_.jc(f)?f.toString():_.oc(String(f))||"about:invalid#zClosurez");f=e+'="'+_.qc(String(f))+'"';b+=" "+f}}return b};
_.Fy=function(a,b){if(!ry.test("div"))throw Error("j");if(Dy.indexOf("DIV")!==-1)throw Error("j");var c="<div";a&&(c+=Cy(a));Array.isArray(b)||(b=b===void 0?[]:[b]);Ey.indexOf("DIV")!==-1?c+=">":(a=qy(b.map(function(d){return d instanceof _.ac?d:_.qc(String(d))})),c+=">"+a.toString()+"</div>");return _.bc(c)};ry=/^[a-z][a-z\d-]*$/i;Dy="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" ");Ey="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" ");
By=["action","formaction","href"];_.Gy=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.Zo+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Kr(a,"transition",b.join(","))};_.Hy=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=_.ee("DIV"),b=_.xd?"-webkit":_.wd?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");_.Fc(a,_.Fy({style:c}));return _.Mr(a.firstChild,"transition")!=""});
_.Iy=function(a,b){_.yj.call(this);this.Bm=a||1;this.Ww=b||_.$a;this.EP=(0,_.B)(this.Ega,this);this.fW=_.gd()};_.gb(_.Iy,_.yj);_.g=_.Iy.prototype;_.g.enabled=!1;_.g.Hc=null;_.g.setInterval=function(a){this.Bm=a;this.Hc&&this.enabled?(this.stop(),this.start()):this.Hc&&this.stop()};
_.g.Ega=function(){if(this.enabled){var a=_.gd()-this.fW;a>0&&a<this.Bm*.8?this.Hc=this.Ww.setTimeout(this.EP,this.Bm-a):(this.Hc&&(this.Ww.clearTimeout(this.Hc),this.Hc=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.g.start=function(){this.enabled=!0;this.Hc||(this.Hc=this.Ww.setTimeout(this.EP,this.Bm),this.fW=_.gd())};_.g.stop=function(){this.enabled=!1;this.Hc&&(this.Ww.clearTimeout(this.Hc),this.Hc=null)};_.g.va=function(){_.Iy.N.va.call(this);this.stop();delete this.Ww};
_.Jy=function(a,b,c){if(typeof a==="function")c&&(a=(0,_.B)(a,c));else if(a&&typeof a.handleEvent=="function")a=(0,_.B)(a.handleEvent,a);else throw Error("xa");return Number(b)>2147483647?-1:_.$a.setTimeout(a,b||0)};_.Ky=function(a){_.$a.clearTimeout(a)};
_.My=function(){_.Ly="oauth2relay"+String(2147483647*(0,_.Dg)()|0)};_.Ny=new _.py;_.Oy=new _.oy("oauth");_.My();_.Qe("oauth-flow/client_id");var Py=String(_.Qe("oauth-flow/redirectUri"));if(Py)Py.replace(/[#][\s\S]*/,"");else{var Qy=_.vg.getOrigin(window.location.href);_.Qe("oauth-flow/callbackUrl");encodeURIComponent(Qy)}_.vg.getOrigin(window.location.href);
var Sy,Ty,Uy,Vy,Wy,Xy,Yy,Zy,$y,az,bz,dz,ez,fz,gz,hz,iz,jz,kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Jz,Iz,Kz,Lz,Mz,Nz,Oz,Pz,Qz,Rz,Sz,Uz;_.Ry=function(a,b){if(_.zh&&!b)return _.$a.atob(a);var c="";_.Ch(a,function(d){c+=String.fromCharCode(d)});return c};Sy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return b==="true"||a==="none"};Ty=function(a){return _.Sh("enableMultilogin")&&a("cookie_policy")&&!Sy(a)?!0:!1};
Wy=function(){var a,b=null;_.ey.iterate(function(c,d){c.indexOf("G_AUTHUSER_")===0&&(c=c.substring(11),c=_.Ux(c),!a||c.mf&&!a.mf||c.mf==a.mf&&c.Ui>a.Ui)&&(a=c,b=d)});return{J6:a,authuser:b}};Xy=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Yy=function(a){a=a.toUpperCase();for(var b=Xy.length,c=0;c<b;++c){var d=a.split(Xy[c]);d.length==2&&d[1]===""&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();a.length>40&&(b=new _.Cg,b.ox(a),a=b.Ti().toUpperCase());return a};
Zy=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};$y=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],ofa:Zy(a[1]),cra:Zy(a[2]),Wpa:Zy(a[3])}};az=function(a){var b=Wy(),c=b.J6;b=b.authuser;var d=a&&Yy(a);if(b!==null){var e;_.ey.iterate(function(h,k){(h=_.Wx(h))&&h.uj&&(d&&h.i7!=d||h.mf==c.mf&&h.Ui==c.Ui&&(e=k))});if(e){var f=$y(e);a=f&&f.ofa[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Yra:a,clientId:f}}}return null};
bz=function(a,b){a=_.ji(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};_.cz=function(a,b){if(b){var c=b;var d=a}else typeof a==="string"?d=a:c=a;c?_.Xv(c,d):_.Yv(d)};
dz=function(a){if(!a)return null;a!=="single_host_origin"&&(a=_.xg(a));var b=window.location.hostname,c=b,d=_.Vx;if(a!=="single_host_origin"){c=a.split("://");if(c.length==2)d=c.shift()==="https";else return _.Lf.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 _.Lf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,mf:d,Ui:b}};
ez=function(a){var b=dz(a);if(!b)return new _.$x("G_USERSTATE_");a=["G_USERSTATE_",_.Vx&&b.mf?"S":"H",b.Ui].join("");var c=_.iy[a];c||(c={LI:63072E3},_.ye(_.ly(b),c),c=new _.Xx(a,c),_.iy[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};fz=function(a){var b=ez(a).read();a=_.we();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
gz=function(a,b,c){var d=fz(b),e=d[a];d[a]="0";var f=[];_.wm(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=ez(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};hz=function(a,b){b=fz(b);return b[a]=="0"||b[a]=="X"};iz=function(a){a=dz(a.g_user_cookie_policy);if(!a||a.mf&&!_.Vx)a=null;else{var b=["G_AUTHUSER_",_.Vx&&a.mf?"S":"H",a.Ui].join(""),c=_.hy[b];c||(c=new _.ey(b,_.ly(a)),_.hy[b]=c);a=c}_.Re("googleapis.config/sessionIndex",null);a.clear()};jz=function(a){return Sy(function(b){return a[b]})};
kz=0;lz=!1;mz=[];nz={};oz={};pz=null;qz=function(a){var b=_.Ly;return function(c){if(this.f==b&&this.t==_.Qf.Qn(this.f)&&this.origin==_.Qf.ho(this.f))return a.apply(this,arguments)}};rz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("za");};sz=function(a){var b=_.Ue.Xg,c=b(a).jsh;if(c!=null)return rz(c),a;if(b=String(b().jsh||_.Ge.h||""))rz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(a.substr(0,c).indexOf("?")!==-1?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};
tz=function(){return!!_.Qe("oauth-flow/usegapi")};uz=function(a,b){tz()?pz.unregister(a):_.Qf.unregister(a+":"+b)};vz=function(a,b,c){tz()?pz.register(a,c,_.Km):_.Qf.register(a+":"+b,qz(c))};wz=function(){Uy.parentNode.removeChild(Uy)};
xz=function(a){var b=Uy;_.Gy(b,[{Zo:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Gy(b,[{Zo:"transform",duration:1,timing:"ease",delay:0}]);_.Jy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};yz=function(){var a=Vy+88;xz(a);Vy=a};zz=function(){var a=Vy-88;xz(a);Vy=a};
Az=function(a){var b=a?yz:zz,c=a?zz:yz;a=a?"-":"";Vy=parseInt(a+88,10);Uy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Uy.style.transform="translate3d(0px,"+a+88+"px,0px)";Uy.style.display="";Uy.style.visibility="visible";b();_.Jy(c,4E3);_.Jy(wz,5E3)};
Bz=function(a){var b=_.Qe("oauth-flow/toast/position");b!=="top"&&(b="bottom");var c=document.createElement("div");Uy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Kr(c,"visibility","hidden");_.Kr(c,b,"-40px");_.Kr(c,"height","128px");var d=c;if(_.hr()){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"?"-":"";Vy=parseInt(e+88,10);Uy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Uy.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){}_.Hm.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){b==="top"?Az(!0):Az(!1)}})};
Cz=function(a){var b=_.mo(),c=b&&b.scope;b=a&&a.scope;b=typeof b==="string"?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d<c.length;++d){var e=c[d];_.um.call(b,e)==-1&&b.push(e)}b.length>0&&(a.scope=b.join(" "))}return a};
Dz=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=_.Qe("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||az(c)!=null||!jz(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};Ez=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Gf(_.Ry(a,!0));if(a===!1)throw Error("Aa");return a};Fz=function(a){return(a=Ez(a))?a.sub:null};
Gz=function(a){a&&mz.push(a);a=_.Ly;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(kz&&c-kz<6E4)return;var d=_.Qf.Qn(a);d&&(uz("oauth2relayReady",d),uz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.My();a=_.Ly}kz=c;var e=String(2147483647*(0,_.Dg)()|0);b=_.Qe("oauth-flow/proxyUrl")||_.Qe("oauth-flow/relayUrl");tz()?pz=_.Hm.openChild({where:_.Ue.TS(),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(_.vg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ue.TS(),d=_.Ue.sQ({name:a,id:a}),d.src=sz(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),_.Qf.Cw(a));vz("oauth2relayReady",e,function(){uz("oauth2relayReady",e);var f=mz;if(f!==null){mz=
null;for(var h=f.length,k=0;k<h;++k)f[k]()}});vz("oauth2callback",e,function(f){var h=_.Ue.Xg;h=h(f);var k=h.state;f=k;f=f.replace(/\|.*$/,"");f={}.hasOwnProperty.call(oz,f)?oz[f]:null;h.state=f;if(h.state!=null){f=nz[k];delete nz[k];k=f&&f.key||"token";var l=h=Dz(f&&f.params,h);var m=(m=Fz(l))?hz(m,l.cookie_policy):!1;!m&&l&&(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")>=0&&_.Qe("isLoggedIn")&&(l&&l._aa)==="1"&&(l._aa="0",lz||(lz=!0,Bz(l)));_.cz(k,h);h=bz(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)}}})};_.Hz=function(a){mz!==null?Gz(a):a&&a()};Jz=function(a,b){var c=Iz,d=Fz(a);d&&(iz(a),gz(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=Dz(null,e);c(e)}}))};
Iz=function(a){a||(a=bz(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||(_.Ge.drw=null);_.cz(a);if(b=a.authuser)_.Qe("googleapis.config/sessionIndex"),_.Re("googleapis.config/sessionIndex",b);_.Ny.bp(_.Oy,a);return a};Kz=["client_id","cookie_policy","response_type"];Lz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
Mz=function(a){var b=_.Oj(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);_.Xv(b);return b};
Nz=function(a){if(a.include_granted_scopes===void 0){var b=_.Qe("include_granted_scopes");a.include_granted_scopes=!!b}};Oz=function(a){window.console&&(typeof window.console.warn==="function"?window.console.warn(a):typeof window.console.log==="function"&&window.console.log(a))};
Pz=function(a){var b=a||{},c={};_.Gb(Lz,function(d){b[d]!=null&&(c[d]=b[d])});a=_.Qe("googleapis/overrideClientId");a!=null&&(c.client_id=a);Nz(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{_.Qw(c.cookie_policy)}catch(d){c.cookie_policy&&
Oz("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=_.Wh(),a!=null&&(c.authuser=a));a=b.redirect_uri||_.Qe("oauth-flow/redirectUri");
a!=null&&a!="postmessage"&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
Qz=function(a,b){var c=Pz(a),d=new _.gk(function(e,f){_.wx(c,function(h){var k=h||{};_.Gb(Kz,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=Mz(k),h.authuser!=null&&_.Re("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};Rz=_.hi.PS;Sz=null;
_.Vz=function(a,b){if(a.approvalprompt!=="force"){a=_.Tz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)Sz?(a.client_id!==Sz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(Sz=a,b=!1);b||Uz(a)}};
_.Tz=function(a){var b=a.redirecturi||"postmessage",c=_.xc((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=_.xc(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||_.Qe("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Qe("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};Uz=function(a){_.Zo("waaf0","signin","0");Qz(a,function(b){_.Zo("waaf1","signin","0");Iz(b)})};
_.Wz=function(a){a=_.Tz(a);_.Re("oauth-flow/authWindowWidth",445);_.Re("oauth-flow/authWindowHeight",615);Uz(a)};_.Xz=function(a){_.Ny.unsubscribe(_.Oy,a);_.Ny.subscribe(_.Oy,a)};var dA,gA;_.Zz=function(a){return a.cookiepolicy?!0:(_.Yz("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.Yz=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.cA=function(a,b){var c=_.mo();_.ye(a,c);c=Cz(c);if(_.Zz(c)){var d=_.$z();_.aA(c);b?_.Fe(b,"click",function(){_.bA(c,d)}):_.bA(c,d)}};
_.$z=function(){var a=new dA;_.Xz(function(b){a.MI&&b&&(b.access_token&&_.Re("isPlusUser",!0),b["g-oauth-window"]&&(a.MI=!1,_.Lf.warn("OTA app install is no longer supported.")))});return a};dA=function(){this.MI=!1};_.aA=function(a){a=_.eA(a);_.fA(a.callback);_.Hz(function(){_.Vz(a)})};_.eA=function(a){gA(a);a.redirecturi&&delete a.redirecturi;Ty(function(b){return a[b]})||(a.authuser=0);return a};gA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.fA=function(a){if(typeof a==="string")if(window[a])a=window[a];else{_.Yz('Callback function named "'+a+'" not found');return}a&&_.Xz(a)};_.bA=function(a,b){b.MI=!0;a=_.eA(a);_.Wz(a)};_.A("gapi.auth.authorize",Qz);_.A("gapi.auth.checkSessionState",function(a,b){var c=_.we();c.client_id=a.client_id;c.session_state=a.session_state;_.Hz(function(){tz()?pz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Km):_.Qf.call(_.Ly,"check_session_state",qz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.A("gapi.auth.getAuthHeaderValueForFirstParty",Rz);_.A("gapi.auth.getToken",bz);
_.A("gapi.auth.getVersionInfo",function(a,b){_.Hz(function(){var c=_.fi()||"",d=null,e=null;c&&(e=c.split(" "),e.length==2&&(d=e[1]));d?tz()?pz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Km):_.Qf.call(_.Ly,"get_versioninfo",qz(function(f){a(f)}),d,b):a()})});_.A("gapi.auth.init",_.Hz);_.A("gapi.auth.setToken",_.cz);_.A("gapi.auth.signIn",function(a){_.cA(a)});_.A("gapi.auth.signOut",function(){var a=bz();a&&Jz(a,a.cookie_policy)});
_.A("gapi.auth.unsafeUnpackIdToken",Ez);_.A("gapi.auth._pimf",_.Vz);_.A("gapi.auth._oart",Bz);_.A("gapi.auth._guss",function(a){return ez(a).read()});
var hA=_.mo();hA.clientid&&hA.scope&&hA.callback&&!_.Qe("disableRealtimeCallback")&&_.aA(hA);
var Bx=function(){};var Dx;Dx=function(){};_.gb(Dx,Bx);Dx.prototype.Ct=function(){return new XMLHttpRequest};_.Cx=new Dx;
_.yg=window.googleapis&&window.googleapis.server||{};
var Eg=function(a){return{execute:function(b){var c={method:a.httpMethod||"GET",root:a.root,path:a.url,params:a.urlParams,headers:a.headers,body:a.body},d=window.gapi,e=function(){var f=d.config.get("client/apiKey"),h=d.config.get("client/version");try{var k=d.config.get("googleapis.config/developerKey"),l=d.config.get("client/apiKey",k);d.config.update("client/apiKey",l);d.config.update("client/version","1.0.0-alpha");var m=d.client;m.request.call(m,c).then(b,b)}finally{d.config.update("client/apiKey",
f),d.config.update("client/version",h)}};d.client?e():d.load.call(d,"client",e)}}},Fg=function(a,b){return function(c){var d={};c=c.body;var e=_.Gf(c),f={};if(e&&e.length)for(var h=e.length,k=0;k<h;++k){var l=e[k];f[l.id]=l}h=b.length;for(k=0;k<h;++k)l=b[k].id,d[l]=e&&e.length?f[l]:e;a(d,c)}},Gg=function(a){a.transport={name:"googleapis",execute:function(b,c){for(var d=[],e=b.length,f=0;f<e;++f){var h=b[f],k=h.method,l=String(k).split(".")[0];l=_.Qe("googleapis.config/versions/"+k)||_.Qe("googleapis.config/versions/"+
l)||"v1";d.push({jsonrpc:"2.0",id:h.id,method:k,apiVersion:String(l),params:h.params})}b=Eg({httpMethod:"POST",root:a.transport.root,url:"/rpc?pp=0",headers:{"Content-Type":"application/json"},body:d});b.execute.call(b,Fg(c,d))},root:void 0}},Hg=function(a){var b=this.method,c=this.transport;c.execute.call(c,[{method:b,id:b,params:this.rpc}],function(d){d=d[b];d.error||(d=d.data||d.result);a(d)})},Kg=function(){for(var a=Jg,b=a.split("."),c=function(k){k=k||{};k.groupId=k.groupId||"@self";k.userId=
k.userId||"@viewer";k={method:a,rpc:k||{}};Gg(k);k.execute=Hg;return k},d=_.$a,e=b.length,f=0;f<e;++f){var h=d[b[f]]||{};f+1==e&&(h=c);d=d[b[f]]=h}if(b.length>1&&b[0]!="googleapis")for(b[0]="googleapis",b[b.length-1]=="delete"&&(b[b.length-1]="remove"),d=_.$a,e=b.length,f=0;f<e;++f)h=d[b[f]]||{},f+1==e&&(h=c),d=d[b[f]]=h},Jg;for(Jg in _.Qe("googleapis.config/methods"))Kg();_.A("googleapis.newHttpRequest",function(a){return Eg(a)});_.A("googleapis.setUrlParameter",function(a,b){if(a!=="trace")throw Error("u");_.Re("client/trace",b)});
_.Dh=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.Eh=function(a){return a==null?"":String(a)};_.Fh=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");_.Gh=function(a,b){if(!b)return a;var c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]};
_.Hh=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)_.Hh(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+encodeURIComponent(String(b))))};_.Ih=function(a){var b=[],c;for(c in a)_.Hh(c,a[c],b);return b.join("&")};_.Jh=function(a,b){b=_.Ih(b);return _.Gh(a,b)};
var Ei=function(a,b){a=_.Ue.sQ({id:a,name:a});a.style.width="1px";a.style.height="1px";a.style.position="absolute";a.style.top="-100px";a.style.display="none";if(window.navigator){var c=window.navigator.userAgent||"";var d=window.navigator.product||"";c=c.indexOf("Opera")!=0&&c.indexOf("WebKit")==-1&&d=="Gecko"&&c.indexOf("rv:1.")>0}else c=!1;a.src=c?"about:blank":b;a.tabIndex=-1;typeof a.setAttribute==="function"?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true";document.body.appendChild(a);
c&&(a.src=b);return a};_.hi={rU:_.gi,Eba:_.di,sT:function(){var a=null;_.di()&&(a=window.__PVT,a==null&&(a=(new _.Xh(document)).get("BEAT")));return a},PS:_.fi};var Gi,Fi;Gi=function(){return!!Fi("auth/useFirstPartyAuthV2")};Fi=function(a){return _.Qe("googleapis.config/"+a)};
_.Hi=function(a,b,c){a=a===void 0?{}:a;b=b===void 0?window.location.href:b;c=c===void 0?"auto":c;if(c=="none")return a;var d=a.Authorization,e=a.OriginToken;if(!d&&!e){(e=_.ji())&&e.access_token&&(c=="oauth2"||c=="auto")&&(d=String(e.token_type||"Bearer")+" "+e.access_token);if(e=!d)e=(!!Fi("auth/useFirstPartyAuth")||c=="1p")&&c!="oauth2";if(e&&_.di()){if(Gi()){d=Fi("primaryEmail");c=Fi("appDomain");e=Fi("fogId");var f=[];d&&f.push({key:"e",value:d});c&&f.push({key:"a",value:c});e&&f.push({key:"u",
value:e});d=_.fi(f)}else d=_.fi();d&&(c=a["X-Goog-AuthUser"],b=_.Wh(b),b=c||b,_.vc(_.Eh(b))&&(!Gi()||Gi()&&_.vc(_.Eh(Fi("primaryEmail")))&&_.vc(_.Eh(Fi("appDomain")))&&_.vc(_.Eh(Fi("fogId"))))&&(b="0"),_.vc(_.Eh(b))||(a["X-Goog-AuthUser"]=b))}d?a.Authorization=d:Fi("auth/useOriginToken")!==!1&&(e=_.hi.sT())&&(a.OriginToken=e)}return a};_.Ii=function(){function a(n,p,q,t,v){var u=f("proxy");if(t||!u){u=f("root");var y=f("root-1p")||u;u=u||"https://content.googleapis.com";y=y||"https://clients6.google.com";var z=f("xd3")||"/static/proxy.html";u=(t||String(p?y:u))+z}u=String(u);q&&(u+=(u.indexOf("?")>=0?"&":"?")+"usegapi=1");(p=_.Ue.Xg().jsh||_.Ge.h)&&(u+=(u.indexOf("?")>=0?"&":"?")+"jsh="+encodeURIComponent(p));u+="#parent="+encodeURIComponent(v!=null?String(v):_.vg.getOrigin(document.location.href));return u+("&rpctoken="+n)}function b(n,
p,q,t,v){var u=d(q,t,v);k[u]||(q=Ei(u,p),_.Qf.register("ready:"+n,function(){_.Qf.unregister("ready:"+n);if(!l[u]){l[u]=!0;var y=m[u];m[u]=[];for(var z=0,C=y.length;z<C;++z){var F=y[z];e(F.kp,F.nea,F.call