/* JS */ gapi.loaded_1(function(_){var window=this; _.Hh={};_.Ih=function(a){return _.Hh[a||"token"]||null}; var Oh,Ph;_.Nh=function(a,b){this.Ad=a;a=b||{};this.EZ=Number(a.maxAge)||0;this.Vc=a.domain;this.oj=a.path;this.d1=!!a.secure};Oh=/^[-+/_=.:|%&a-zA-Z0-9@]*$/;Ph=/^[A-Z_][A-Z0-9_]{0,63}$/;_.Nh.prototype.read=function(){for(var a=this.Ad+"=",b=document.cookie.split(/;\s*/),c=0;cVh;++Vh); _.Wh="https:"===window.location.protocol;_.Xh=_.Wh||"http:"===window.location.protocol?_.Nh:_.Qh;_.Yh=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>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;k||(l=64,f||(g=64));c.push(b[m],b[e],b[g]||"",b[l]||"")}return c.join("")}; _.nh=function(){if(!_.lh){_.lh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));kh[c]=d;for(var e=0;ec?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,_.fb)()+1E3*c)).toUTCString();this.mb.cookie=a+"="+b+e+d+c+f+(null!=g?";samesite="+g:"")}; _.h.get=function(a,b){for(var c=a+"=",d=(this.mb.cookie||"").split(";"),e=0,f;eOu(this.Zb[a],b)&&this.Zb[a].push(b)}; Xu.prototype.removeEventListener=function(a,b){if(!(0<=Ou(this.NF,a)))throw"Unrecognized event type: "+a;Qu(b)&&this.Zb[a]&&this.Zb[a].length&&(b=Ou(this.Zb[a],b),0<=b&&this.Zb[a].splice(b,1))};Xu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Ou(this.NF,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Zb[b]&&this.Zb[b].length)for(var c=0,d=this.Zb[b].length;cr;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],y=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var B=w^v&(u^w);var A=1518500249}else B= v^u^w,A=1859775393;else 60>r?(B=v&u|w&(v|u),A=2400959708):(B=v^u^w,A=3395469782);B=((p<<5|p>>>27)&4294967295)+B+y+A+t[r]&4294967295;y=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=B}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]+y&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],v=0,u=p.length;vm?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var v=24;0<=v;v-=8)p[t++]=e[r]>>v&255;return p}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Vg:function(){for(var p=d(),t="",r=0;rOu(m.Ak[k],l)&&m.Ak[k].push(l));f()}else e.eo={error:"Not a valid origin for the client: "+e.Bd+" has not been whitelisted for client ID "+e.Xb+ ". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},e.mm=!0,e.zw(e.eo)}):(Fv(e.Gb),f())})};Pu(_.Jv,Xu);_.Jv.prototype.setOptions=function(){};_.Jv.prototype.oN=function(){};_.Jv.prototype.zw=function(){};_.Jv.prototype.Rl=function(){return this.eo};Kv=function(a,b,c){return function(){b.apply(a,c)}};_.Lv=function(a,b,c){if(a.BL)b.apply(a,c);else{if(a.mm)throw a.eo;a.kq.push(Kv(a,b,c))}};_.Jv.prototype.nI=_.ia(28);_.Jv.prototype.Zp=_.ia(26); _.Nv=function(a,b){_.Jv.call(this,a,b);this.YM=new ev;this.tj=this.Am=null;Mv(this)};Pu(_.Nv,_.Jv);_.Nv.prototype.setOptions=function(){}; var Ov=function(a,b){a.fe={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Vc};b.crossSubDomains&&(a.fe.policy=b.policy)},Pv=function(a,b){if(!b.authParameters)throw Error("aa");if(!b.authParameters.scope)throw Error("ba");if(!b.authParameters.response_type)throw Error("ca");a.Np=b.authParameters;a.Np.redirect_uri||(a.Np.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.mi=_.Ru(b.rpcAuthParameters||a.Np);if(!a.mi.scope)throw Error("da");if(!a.mi.response_type)throw Error("ea"); a:{var c=a.mi.response_type.split(" ");for(var d=0,e=c.length;da.length&&128>b;)a.push.apply(a,Xv(64-a.length)),b++;if(64>a.length)throw new Yv;var c=a.slice(0,64)}catch(d){for(c=[],a=0;64>a;a++)c[a]=Math.floor(256*Math.random())}return _.oh(c,3).substring(0,64)};$v=function(a,b,c){if(!a.he)throw Error("ga");b?_.Av(a.Zc,a.fe,!0,void 0,c):_.Av(a.Zc,a.fe,!0,a.$d,c)};aw=function(a){if(!a.he)throw Error("ga");return a.IC}; _.Vv.prototype.UL=_.jd(34,function(a,b){var c=this.Zc,d=this.Xb,e=this.fe,f=_.Ru(this.mi);delete f.response_type;_.xv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.Tv.prototype.CN=_.jd(33,function(a){aw(this)&&aw(this).access_token&&(this.Zc.rs(this.Xb,aw(this).access_token,a),$v(this,!0))});_.Tv.prototype.AJ=_.jd(32,function(){var a=this;this.Eq(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.Sv.Gp,idpId:a.Gb}):a.$h(!0):a.dispatchEvent({type:_.Sv.EG,idpId:a.Gb})})}); _.Tv.prototype.Lq=_.jd(31,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.Ex(b.authResult.login_hint,a.Wg||b.authResult.login_hint!=a.$d,!0)}}); _.Vv.prototype.Lq=_.jd(30,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Eq(function(d){_.Av(b.Zc,b.fe,d&&d.disabled,c.authResult.login_hint,function(){_.Wv(b,c.authResult.login_hint,a)})}):a(c&&c.authResult&&c.authResult.error?c.authResult:c&&c.authResult&&!c.authResult.login_hint?{error:"wrong_response_type"}:{error:"unknown_error"})}});_.Nv.prototype.sM=_.jd(29,function(){this.Xb&&_.xv(this.Zc,"startPolling",{clientId:this.Xb,origin:this.Bd,id:this.qj},void 0)}); _.uv.prototype.rs=_.jd(25,function(a,b,c){_.xv(this,"revoke",{clientId:a,token:b},c)});_.Tv.prototype.rs=_.jd(24,function(a){_.Lv(this,this.CN,[a])});bw=function(){var a=navigator.userAgent,b;if(b=!!a&&-1!=a.indexOf("CriOS"))b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=48>b;return b}; cw=function(){var a=navigator.userAgent.toLowerCase();if(!(-1a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=/version\/(\d+)\.(\d+)[\.0-9]*/.exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12k.indexOf("?")?"?":"&");c=[];for(var m in a)if(a.hasOwnProperty(m)){e=a[m];if(null===e||void 0===e)e="";c.push(encodeURIComponent(m)+"="+encodeURIComponent(e))}return b+c.join("&")}; ew=function(a,b,c,d){if(!a.Xb)throw Error("ha");a.qj=c||a.rT||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Bd.split("//");c=b.extraQueryParams;var f=e[0],g=f.indexOf(":");0e)b[d++]=String.fromCharCode(e);else if(191e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239e){f=a[c++];var g=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],g=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63)}return b.join("")}; _.mw=function(a,b){function c(l){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}};nw=function(a){var b=[];_.mw(a,function(c){b.push(c)});return b};_.ow=function(a,b){_.Hh[b||"token"]=a};_.pw=function(a){delete _.Hh[a||"token"]}; qw=function(){var a=window.crypto||window.msCrypto;a&&a.getRandomValues&&(this.IF=!0,this.Dn=Infinity);if(1>this.Dn){var b=this.Fk;a=this.Dn;this.Fk="";this.Dn=1;a=Math.max(0,a);if(!this.IF){b=this.GD+b;var c=new _.Kh;c.update(b);b=String.fromCharCode.apply(String,c.digest());this.Nw+=a;this.Nw>=this.Dn?(c.reset(),c.update("SEED_SALT:"+b+this.Fk),this.Fk=String.fromCharCode.apply(String,c.digest()),this.GD="",this.Nw=0):this.GD=b}}};_.h=qw.prototype;_.h.IF=!1;_.h.Fk="";_.h.GD="";_.h.Nw=0;_.h.Dn=-1; var Xv=function(a){var b=rw,c=[];if(b.IF)a=new window.Uint8Array(Math.min(65536,a||1)),(window.crypto||window.msCrypto).getRandomValues(a),c=[].slice.call(a);else{if(0>b.Dn||0==b.Fk.length)throw new Yv;var d=new _.Kh;d.update("RANDOM_SALT:"+b.Fk);var e=d.digest();null!==e&&(d.reset(),d.update("SEED_SALT:"+b.Fk),b.Fk=String.fromCharCode.apply(String,d.digest()),c=e.slice(0,a||e.length))}return c},Yv=function(){};_.F(Yv,Error);Yv.prototype.name="Insufficient Entropy"; _.Wu={parse:function(a){a=_.Gf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Hf(a)}}; _.Vv.prototype.HA=function(a,b){_.Lv(this,this.LU,[a,b])};_.Vv.prototype.LU=function(a,b){this.Zc.HA(this.Xb,a,this.mi,this.fe,b)}; _.uv.prototype.HA=function(a,b,c,d,e){c=_.Ru(c);_.xv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)}; var sw,tw=["client_id","cookie_policy","scope"],uw="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection gsiwebsdk".split(" "),vw=["authuser","after_redirect","access_type","hl"],ww=["login_hint","prompt"],xw={clientid:"client_id",cookiepolicy:"cookie_policy"},yw=["approval_prompt","authuser","login_hint", "prompt","hd"],zw=["login_hint","g-oauth-window","status"],Aw=Math.min(_.R("oauth-flow/authWindowWidth",599),screen.width-20),Bw=Math.min(_.R("oauth-flow/authWindowHeight",600),screen.height-30); var Cw=function(a){_.qb.call(this,a)};_.Pq(Cw,_.qb);Cw.prototype.name="gapi.auth2.ExternallyVisibleError"; var Dw=function(){};Dw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Ew=function(){};Ew.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;cb.indexOf(c)&&delete a[c];return a}; nx=function(a,b){if(!a)throw new Cw("Empty initial options.");for(var c=0;cr;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],y=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var B=w^v&(u^w);var A=1518500249}else B=v^u^w,A=1859775393;else 60>r?(B=v&u|w&(v|u),A=2400959708):(B=v^u^w,A=3395469782);B=((p<<5|p>>>27)&4294967295)+ B+y+A+t[r]&4294967295;y=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=B}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]+y&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],v=0,u=p.length;vm?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var v=24;0<=v;v-=8)p[t++]=e[r]>>v&255;return p}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Vg:function(){for(var p=d(),t="",r=0;r");var g=_.Se.createElement(d.join(""));g&&(!c||g.tagName==c.tagName&&g.namespaceURI==c.namespaceURI)&&(c=g)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Se.getBodyElement=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml", "body");if(b&&1==b.length)return b[0]}catch(c){}return document.documentElement||document};_.Se.Mba=function(b){return a(b)}})(); _.Se=_.Se||{};(function(){function a(d){b=d["core.util"]||{}}var b={},c={};_.Ze&&_.Ze.register("core.util",null,a);_.Se.getFeatureParameters=function(d){return"undefined"===typeof b[d]?null:b[d]};_.Se.hasFeature=function(d){return"undefined"!==typeof b[d]};_.Se.Tba=function(){return c}})(); _.dy=function(a,b,c){if(_.mb(a))c&&(a=(0,_.J)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.J)(a.handleEvent,a);else throw Error("pa");return 2147483647a.Jh)&&(a=c,b=d)});return{xT:a,authuser:b}};uz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];vz=function(a){a=a.toUpperCase();for(var b=0,c=uz.length;ba.expires_at?null:a};_.Az=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.ow(c,d):_.pw(d)}; Bz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.Pf.getOrigin(a));var b=window.location.hostname,c=b,d=_.Wh;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Ve("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Ve("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,De:d,Jh:b}}; Cz=function(a){var b=Bz(a);if(!b)return new _.Qh("G_USERSTATE_");a=["G_USERSTATE_",_.Wh&&b.De?"S":"H",b.Jh].join("");var c=_.ci[a];c||(c={DZ:63072E3},_.we(_.gi(b),c),c=new _.Nh(a,c),_.ci[a]=c,b=c.read(),"undefined"!==typeof b&&null!==b&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};Dz=function(a){var b=Cz(a).read();a=_.ue();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=[];_.Fl(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=Cz(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};Fz=function(a,b){b=Dz(b);return"0"==b[a]||"X"==b[a]};Gz=function(a){a=Bz(a.g_user_cookie_policy);if(!a||a.De&&!_.Wh)a=null;else{var b=["G_AUTHUSER_",_.Wh&&a.De?"S":"H",a.Jh].join(""),c=_.bi[b];c||(c=new _.Xh(b,_.gi(a)),_.bi[b]=c);a=c}_.Me("googleapis.config/sessionIndex",null);a.clear()};Hz=function(a){return pz(function(b){return a[b]})}; Iz=0;Jz=!1;Kz=[];Lz={};Mz={};Nz=null;Oz=function(a){var b=_.hz;return function(c){if(this.f==b&&this.t==_.Pf.getAuthToken(this.f)&&this.origin==_.Pf.getTargetOrigin(this.f))return a.apply(this,arguments)}};Pz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};Qz=function(a){if(_.iz&&a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ta");}; Rz=function(a){var b=_.Se.getUrlParameters,c=b(a).jsh;if(null!=c)return Qz(c),a;if(b=String(b().jsh||_.Ee.h||""))Qz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Sz=function(){return!!_.R("oauth-flow/usegapi")};Tz=function(a,b){Sz()?Nz.unregister(a):_.Pf.unregister(a+":"+b)};Uz=function(a,b,c){Sz()?Nz.register(a,c,_.mm):_.Pf.register(a+":"+b,Oz(c))};Vz=function(){rz.parentNode.removeChild(rz)}; Wz=function(a){var b=rz;_.fz(b,[{Rw:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.fz(b,[{Rw:"transform",duration:1,timing:"ease",delay:0}]);_.dy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Xz=function(){var a=sz+88;Wz(a);sz=a};Yz=function(){var a=sz-88;Wz(a);sz=a}; Zz=function(a){var b=a?Xz:Yz,c=a?Yz:Xz;a=a?"-":"";sz=parseInt(a+88,10);rz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";rz.style.transform="translate3d(0px,"+a+88+"px,0px)";rz.style.display="";rz.style.visibility="visible";b();_.dy(c,4E3);_.dy(Vz,5E3)}; $z=function(a){var b=_.R("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");rz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Mr(c,"visibility","hidden");_.Mr(c,b,"-40px");_.Mr(c,"height","128px");var d=c;if("desktop"==_.R("deviceType")){d=document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%";d.appendChild(e); d=e}e="top"==b?"-":"";sz=parseInt(e+88,10);rz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";rz.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){}_.Il.fi({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Zz(!0):Zz(!1)}})}; aA=function(a){var b=_.$m(),c=b&&b.scope;b=a&&a.scope;b="string"===typeof b?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;dc-Iz)return;var d=_.Pf.getAuthToken(a);d&&(Tz("oauth2relayReady",d),Tz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.jz();a=_.hz}Iz=c;var e=String(2147483647*(0,_.zg)()|0);b=_.R("oauth-flow/proxyUrl")||_.R("oauth-flow/relayUrl");Sz()?Nz=_.Il.fi({where:_.Se.getBodyElement(),url:b,id:a,attributes:{style:{width:"1px", height:"1px",position:"absolute",top:"-100px",display:"none"},"aria-hidden":"true"},dontclear:!0}):(b=[b,"?parent=",encodeURIComponent(_.ug.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Se.getBodyElement(),d=_.Se.createIframeElement({name:a,id:a}),d.src=Rz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Pz(d),c.appendChild(d),_.Pf.setupReceiver(a));Uz("oauth2relayReady",e,function(){Tz("oauth2relayReady",e); var f=Kz;if(null!==f){Kz=null;for(var g=0,k=f.length;g