gapi.loaded_1(function(_){var window=this; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ _.jh=function(a){for(var b=[],c=0,d=0;d>=8);b[c++]=e}return b}; var kh,lh,nh;kh={};lh=null;_.mh=_.wd||_.xd&&!_.ih||_.rd||!_.ih&&!_.sd&&"function"==typeof _.q.atob;_.oh=function(a,b){void 0===b&&(b=0);nh();b=kh[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>2];g=b[(g&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+g+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("")}; _.ph=function(a,b){function c(l){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}}; 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;ek?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*k)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")}; _.h.get=function(a,b){for(var c=a+"=",d=(this.kb.cookie||"").split(";"),e=0,f;e>>0);_.Zi=function(a){if("function"===typeof a)return a;a[gj]||(a[gj]=function(b){return a.handleEvent(b)});return a[gj]};_.zi(function(a){dj=a(dj)}); _.hj=function(){_.Fi.call(this);this.Di=new Ri(this);this.vQ=this;this.RB=null};_.Wa(_.hj,_.Fi);_.hj.prototype[_.Mi]=!0;_.h=_.hj.prototype;_.h.ql=function(){return this.RB};_.h.ww=_.da(4);_.h.addEventListener=function(a,b,c,d){_.Yi(this,a,b,c,d)};_.h.removeEventListener=function(a,b,c,d){_.ej(this,a,b,c,d)}; _.h.dispatchEvent=function(a){var b,c=this.ql();if(c)for(b=[];c;c=c.ql())b.push(c);c=this.vQ;var d=a.type||a;if("string"===typeof a)a=new _.Ii(a,c);else if(a instanceof _.Ii)a.target=a.target||c;else{var e=a;a=new _.Ii(d,c);_.qb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.lr&&0<=f;f--){var g=a.currentTarget=b[f];e=g.Ip(d,!0,a)&&e}a.lr||(g=a.currentTarget=c,e=g.Ip(d,!0,a)&&e,a.lr||(e=g.Ip(d,!1,a)&&e));if(b)for(f=0;!a.lr&&f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Ps=function(a,b,c,d){return Array.prototype.splice.apply(a,Os(arguments,1))};_.Qs=function(a,b,c){if(null!==a&&b in a)throw Error("g`"+b);a[b]=c};_.Zd.prototype.H=_.Ya(1,function(a){return _.ui(this.kb,a)}); _.Rs=function(a,b){var c=b||document;if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):_.be(c,"*",a,b)[0]||null}return a||null};_.Ss=function(a){var b;if(_.Xd&&!(_.sd&&_.Qd("9")&&!_.Qd("10")&&_.q.SVGElement&&a instanceof _.q.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.re(b)?b:null};_.Ts=function(a){_.Fi.call(this);this.Od=a;this.Jb={}};_.Wa(_.Ts,_.Fi);var Us=[]; _.Ts.prototype.W=function(a,b,c,d){return this.Jq(a,b,c,d)};_.Ts.prototype.Jq=function(a,b,c,d,e){Array.isArray(b)||(b&&(Us[0]=b.toString()),b=Us);for(var f=0;fbv(this.Ob[a],b)&&this.Ob[a].push(b)}; kv.prototype.removeEventListener=function(a,b){if(!(0<=bv(this.hE,a)))throw Error("T`"+a);dv(b)&&this.Ob[a]&&this.Ob[a].length&&(b=bv(this.Ob[a],b),0<=b&&this.Ob[a].splice(b,1))};kv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=bv(this.hE,b)))throw Error("V`"+b);if(this.Ob[b]&&this.Ob[b].length)for(var c=0,d=this.Ob[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],x=e[3],y=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var z=x^v&(u^x);var D=1518500249}else z= v^u^x,D=1859775393;else 60>r?(z=v&u|x&(v|u),D=2400959708):(z=v^u^x,D=3395469782);z=((p<<5|p>>>27)&4294967295)+z+y+D+t[r]&4294967295;y=x;x=u;u=(v<<30|v>>>2)&4294967295;v=p;p=z}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+x&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,Ag:function(){for(var p=d(),t="",r=0;rbv(m.hk[k],l)&&m.hk[k].push(l));f()}else e.In={error:"Not a valid origin for the client: "+e.jd+ " has not been registered for client ID "+e.Nb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Hl=!0,e.Av(e.In)}):(Tv(e.ub),f()))},this.Co)};cv(_.Xv,kv);_.h=_.Xv.prototype;_.h.setOptions=function(){};_.h.qL=function(){};_.h.Av=function(){};_.h.Su=function(){return this.Yr};_.h.ol=function(){return this.In};Yv=function(a,b,c){return function(){b.apply(a,c)}}; _.Zv=function(a,b,c){if(a.vJ)b.apply(a,c);else{if(a.Hl)throw a.In;a.xp.push(Yv(a,b,c))}};_.Xv.prototype.OF=_.da(13);_.Xv.prototype.kp=_.da(11); _.aw=function(a,b){_.Xv.call(this,a,b);this.aL=new sv;this.Ui=this.Ul=null;$v(this)};cv(_.aw,_.Xv);_.aw.prototype.setOptions=function(){}; var bw=function(a,b){a.Td={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.$b};b.crossSubDomains&&(a.Td.policy=b.policy)},cw=function(a,b){if(!b.authParameters)throw Error("ia");if(!b.authParameters.scope)throw Error("ja");if(!b.authParameters.response_type)throw Error("ka");a.Yo=b.authParameters;a.Yo.redirect_uri||(a.Yo.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Qh=_.ev(b.rpcAuthParameters||a.Yo);if(!a.Qh.scope)throw Error("la");if(!a.Qh.response_type)throw Error("ma"); a:{var c=a.Qh.response_type.split(" ");for(var d=0,e=c.length;db;b++)a[b]=Math.floor(256*Math.random())}return _.oh(a,3).substring(0,64)},mw=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1 a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},ow=function(a,b,c){if(!a.Ud)throw Error("oa");b?_.Ov(a.Xc,a.Td,!0,void 0,c):_.Ov(a.Xc,a.Td,!0,a.Qd,c)},pw=function(a){if(!a.Ud)throw Error("oa");return a.Yu},qw,rw,sw,tw,uw,vw,ww,xw,yw,Aw;_.iw.prototype.TJ=_.Ya(18,function(a,b){var c=this.Xc,d=this.Nb,e=this.Td,f=_.ev(this.Qh);delete f.response_type;_.Lv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)}); _.gw.prototype.GL=_.Ya(17,function(a){pw(this)&&pw(this).access_token&&(this.Xc.wr(this.Nb,pw(this).access_token,a),ow(this,!0))}); _.gw.prototype.Vp=_.Ya(16,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.Su()&&a.Co&&(mw()||nw())){b=b.authResult;var c=Date.now(),d=b.expires_in;b={access_token:b.access_token,token_type:b.token_type,login_hint:b.login_hint,expires_in:d,id_token:b.id_token,scope:b.scope,first_issued_at:c,expires_at:c+1E3*d,idpId:a.ub};a.Yu=b;a.dispatchEvent({type:_.fw.XE,idpId:a.ub,response:b})}else a.Gw(b.authResult.login_hint,a.Bg||b.authResult.login_hint!=a.Qd,!0,!0)}}); _.iw.prototype.Vp=_.Ya(15,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Np(function(d){_.Ov(b.Xc,b.Td,d&&d.disabled,c.authResult.login_hint,function(){_.jw(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"})}});_.aw.prototype.pK=_.Ya(14,function(){this.Nb&&_.Lv(this.Xc,"startPolling",{clientId:this.Nb,origin:this.jd,id:this.Ri},void 0)}); _.Iv.prototype.wr=_.Ya(10,function(a,b,c){_.Lv(this,"revoke",{clientId:a,token:b},c)});_.gw.prototype.wr=_.Ya(9,function(a){_.Zv(this,this.GL,[a])});qw=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}; rw=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 12b.length?!1:14<=parseInt(b[1],10)):b=!1);b&&!a.prompt&&(a.prompt="select_account"); k+=0>k.indexOf("?")?"?":"&";b=[];for(var m in a)if(a.hasOwnProperty(m)){c=a[m];if(null===c||void 0===c)c="";b.push(encodeURIComponent(m)+"="+encodeURIComponent(c))}return k+b.join("&")}; tw=function(a,b,c,d){if(!a.Nb)throw Error("pa");a.Ri=c||a.LQ||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.jd.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("")}; Aw=function(a){var b=[];_.ph(a,function(c){b.push(c)});return b};_.Bw=function(a,b){_.Xh[b||"token"]=a};_.Cw=function(a){delete _.Xh[a||"token"]}; _.jv={parse:function(a){a=_.Hf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.If(a)}}; _.iw.prototype.cz=function(a,b){_.Zv(this,this.oS,[a,b])};_.iw.prototype.oS=function(a,b){this.Xc.cz(this.Nb,a,this.Qh,this.Td,b)}; _.Iv.prototype.cz=function(a,b,c,d,e){c=_.ev(c);_.Lv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)}; var Dw,Ew=["client_id","cookie_policy","scope"],Fw="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(" "),Gw=["authuser","after_redirect","access_type","hl"],Hw=["login_hint","prompt"],Iw={clientid:"client_id",cookiepolicy:"cookie_policy"},Jw=["approval_prompt","authuser","login_hint", "prompt","hd"],Kw=["login_hint","g-oauth-window","status"],Lw=Math.min(_.Se("oauth-flow/authWindowWidth",599),screen.width-20),Mw=Math.min(_.Se("oauth-flow/authWindowHeight",600),screen.height-30); var Nw=function(a){_.gb.call(this,a)};_.Q(Nw,_.gb);Nw.prototype.name="gapi.auth2.ExternallyVisibleError"; var Ow=function(){};Ow.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Pw=function(){};Pw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;cb.indexOf(c)&&delete a[c];return a},yx=function(a,b){if(!a)throw new Nw("Empty initial options.");for(var c=0;c");var g=_.Ve.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};_.Ve.tH=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};_.Ve.J9=function(b){return a(b)}})(); _.Nh=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var t=g,r=0;64>r;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],x=e[3],y=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var z=x^v&(u^x);var D=1518500249}else z=v^u^x,D=1859775393;else 60>r?(z=v&u|x&(v|u),D=2400959708):(z=v^u^x,D=3395469782);z=((p<<5|p>>>27)&4294967295)+ z+y+D+t[r]&4294967295;y=x;x=u;u=(v<<30|v>>>2)&4294967295;v=p;p=z}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+x&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,Ag:function(){for(var p=d(),t="",r=0;rgz;++gz); _.Xy="https:"===window.location.protocol;_.hz=_.Xy||"http:"===window.location.protocol?_.Zy:_.bz;_.Wy=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=_.Sr(d),l+=">"+_.Yc(c).toString()+"",c=c.Sj());(b=b&&b.dir)&&(c=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.Zc(l,c)};_.Vr=function(a){return _.id('style[nonce],link[rel="stylesheet"][nonce]',a)}; _.Wr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};Xr=function(a){return a.replace(/(^|[\s]+)([a-z])/g,function(b,c,d){return c+d.toUpperCase()})};_.Yr=function(a,b,c){return _.he(document,arguments)}; _.Zr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.h=_.Zr.prototype;_.h.uc=function(){return this.right-this.left};_.h.Kd=function(){return this.bottom-this.top};_.h.clone=function(){return new _.Zr(this.top,this.right,this.bottom,this.left)};_.h.contains=function(a){return this&&a?a instanceof _.Zr?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}; _.h.expand=function(a,b,c,d){_.sb(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};_.h.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}; _.h.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};_.h.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}; _.h.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,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};_.h.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this}; var bs,hs,fs,ks,ws,xs;_.as=function(a,b,c){if("string"===typeof b)(b=_.$r(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.$r(c,d);f&&(c.style[f]=e)}};bs={};_.$r=function(a,b){var c=bs[b];if(!c){var d=_.Wr(b);c=d;void 0===a.style[d]&&(d=(_.xd?"Webkit":_.wd?"Moz":_.sd?"ms":_.rd?"O":null)+Xr(d),void 0!==a.style[d]&&(c=d));bs[b]=c}return c}; _.cs=function(a,b){var c=_.$d(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.ds=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.es=function(a,b){return _.cs(a,b)||_.ds(a,b)||a.style&&a.style[b]};_.gs=function(a,b,c){if(b instanceof _.Dr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=fs(d,!1);a.style.top=fs(b,!1)}; hs=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; _.ls=function(a,b){b=b||_.Ir(document);var c=b||_.Ir(document);var d=_.is(a),e=_.is(c),f=_.js(c);if(c==_.Ir(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.sd&&!_.Sd(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=ks(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(g,Math.max(g-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new _.Dr(e,k);b.scrollLeft=c.x;b.scrollTop=c.y}; _.is=function(a){var b=_.$d(a),c=new _.Dr(0,0);var d=b?_.$d(b):document;d=!_.sd||_.Sd(9)||_.Fr(_.ae(d).kb)?d.documentElement:d.body;if(a==d)return c;a=hs(a);b=_.Jr(_.ae(b).kb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.ns=function(a,b){var c=new _.Dr(0,0),d=_.ee(_.$d(a));if(!_.pd(d,"parent"))return c;do{var e=d==b?_.is(a):_.ms(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.ms=function(a){a=hs(a);return new _.Dr(a.left,a.top)}; _.os=function(a,b,c){if(b instanceof _.Er)c=b.height,b=b.width;else if(void 0==c)throw Error("I");a.style.width=fs(b,!0);a.style.height=fs(c,!0)};fs=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.ps=function(a){var b=ks;if("none"!=_.es(a,"display"))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}; ks=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.xd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=hs(a),new _.Er(a.right-a.left,a.bottom-a.top)):new _.Er(b,c)};_.qs=function(a,b){a.style.display=b?"":"none"}; _.ss=function(a){var b=_.ae(void 0),c=b.lb();if(_.sd&&c.createStyleSheet)b=c.createStyleSheet(),_.rs(b,a);else{c=_.Kr(b,"HEAD")[0];if(!c){var d=_.Kr(b,"BODY")[0];c=b.ka("HEAD");d.parentNode.insertBefore(c,d)}d=b.ka("STYLE");var e=_.Vr();e&&d.setAttribute("nonce",e);_.rs(d,a);b.appendChild(c,d)}};_.rs=function(a,b){b=_.Or(b);_.sd&&void 0!==a.cssText?a.cssText=b:_.q.trustedTypes?_.te(a,b):a.innerHTML=b};_.ts=function(a){return"rtl"==_.es(a,"direction")}; _.us=_.wd?"MozUserSelect":_.xd||_.td?"WebkitUserSelect":null;_.vs=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+b};ws={thin:2,medium:4,thick:6};xs=function(a,b){if("none"==_.ds(a,b+"Style"))return 0;b=_.ds(a,b+"Width");return b in ws?ws[b]:_.vs(a,b)}; _.js=function(a){if(_.sd&&!_.Sd(9)){var b=xs(a,"borderLeft"),c=xs(a,"borderRight"),d=xs(a,"borderTop");a=xs(a,"borderBottom");return new _.Zr(d,c,a,b)}b=_.cs(a,"borderLeftWidth");c=_.cs(a,"borderRightWidth");d=_.cs(a,"borderTopWidth");a=_.cs(a,"borderBottomWidth");return new _.Zr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ _.ly=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.T)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.T)(a.handleEvent,a);else throw Error("ya");return 2147483647a.kh)&&(a=c,b=d)});return{SQ:a,authuser:b}};Hz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Iz=function(a){a=a.toUpperCase();for(var b=0,c=Hz.length;ba.expires_at?null:a};_.iA=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Bw(c,d):_.Cw(d)}; jA=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.xg(a));var b=window.location.hostname,c=b,d=_.Xy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Mf.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Mf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,ne:d,kh:b}}; kA=function(a){var b=jA(a);if(!b)return new _.bz("G_USERSTATE_");a=["G_USERSTATE_",_.Xy&&b.ne?"S":"H",b.kh].join("");var c=_.lz[a];c||(c={jB:63072E3},_.Ce(_.oz(b),c),c=new _.Zy(a,c),_.lz[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};lA=function(a){var b=kA(a).read();a=_.ze();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; mA=function(a,b,c){var d=lA(b),e=d[a];d[a]="0";var f=[];_.em(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=kA(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};nA=function(a,b){b=lA(b);return"0"==b[a]||"X"==b[a]};oA=function(a){a=jA(a.g_user_cookie_policy);if(!a||a.ne&&!_.Xy)a=null;else{var b=["G_AUTHUSER_",_.Xy&&a.ne?"S":"H",a.kh].join(""),c=_.kz[b];c||(c=new _.hz(b,_.oz(a)),_.kz[b]=c);a=c}_.Te("googleapis.config/sessionIndex",null);a.clear()};pA=function(a){return Cz(function(b){return a[b]})}; qA=0;rA=!1;sA=[];tA={};uA={};vA=null;wA=function(a){var b=_.vz;return function(c){if(this.f==b&&this.t==_.Qf.jl(this.f)&&this.origin==_.Qf.wl(this.f))return a.apply(this,arguments)}};xA=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};yA=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Ca");}; zA=function(a){var b=_.Ve.tf,c=b(a).jsh;if(null!=c)return yA(c),a;if(b=String(b().jsh||_.Ke.h||""))yA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};AA=function(){return!!_.Se("oauth-flow/usegapi")};BA=function(a,b){AA()?vA.unregister(a):_.Qf.unregister(a+":"+b)};CA=function(a,b,c){AA()?vA.register(a,c,_.Fm):_.Qf.register(a+":"+b,wA(c))};DA=function(){Ez.parentNode.removeChild(Ez)}; EA=function(a){var b=Ez;_.tz(b,[{Wv:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.tz(b,[{Wv:"transform",duration:1,timing:"ease",delay:0}]);_.ly(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};FA=function(){var a=Fz+88;EA(a);Fz=a};GA=function(){var a=Fz-88;EA(a);Fz=a}; HA=function(a){var b=a?FA:GA,c=a?GA:FA;a=a?"-":"";Fz=parseInt(a+88,10);Ez.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Ez.style.transform="translate3d(0px,"+a+88+"px,0px)";Ez.style.display="";Ez.style.visibility="visible";b();_.ly(c,4E3);_.ly(DA,5E3)}; IA=function(a){var b=_.Se("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");Ez=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.as(c,"visibility","hidden");_.as(c,b,"-40px");_.as(c,"height","128px");var d=c;if(!_.Sq()&&!_.Rq()){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?"-":"";Fz=parseInt(e+88,10);Ez.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Ez.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){}_.Cm.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?HA(!0):HA(!1)}})}; JA=function(a){var b=_.Qn(),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-qA)return;var d=_.Qf.jl(a);d&&(BA("oauth2relayReady",d),BA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.wz();a=_.vz}qA=c;var e=String(2147483647*(0,_.Ag)()|0);b=_.Se("oauth-flow/proxyUrl")||_.Se("oauth-flow/relayUrl");AA()?vA=_.Cm.openChild({where:_.Ve.tH(),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=_.Ve.tH(),d=_.Ve.gG({name:a,id:a}),d.src=zA(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,xA(d),c.appendChild(d),_.Qf.Kr(a));CA("oauth2relayReady",e,function(){BA("oauth2relayReady",e);var f=sA;if(null!==f){sA=null;for(var g=0,k=f.length;g< k;++g)f[g]()}});CA("oauth2callback",e,function(f){var g=_.Ve.tf;g=g(f);var k=g.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(uA,f)?uA[f]:null;g.state=f;if(null!=g.state){f=tA[k];delete tA[k];k=f&&f.key||"token";var l=g=KA(f&&f.params,g);var m=(m=MA(l))?nA(m,l.cookie_policy):!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.Se("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",rA||(rA=!0,IA(l)));_.iA(k,g);g=Yz(k);if(f){k=f.popup;l=f.after_redirect;if(k&& "keep_open"!=l)try{k.close()}catch(n){}f.callback&&(f.callback(g),f.callback=null)}}})};_.OA=function(a){null!==sA?NA(a):a&&a()};QA=function(a,b){var c=PA,d=MA(a);d&&(oA(a),mA(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=KA(null,e);c(e)}}))}; PA=function(a){a||(a=Yz(void 0,!0));a&&"object"===typeof a||(a={error:"invalid_request",error_description:"no callback data"});var b=a.error_description;b&&window.console&&(window.console.error(a.error),window.console.error(b));a.error||(_.Ke.drw=null);_.iA(a);if(b=a.authuser)_.Se("googleapis.config/sessionIndex"),_.Te("googleapis.config/sessionIndex",b);_.xz.Yn(_.yz,a);return a};RA=["client_id","cookie_policy","response_type"];SA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" "); TA=function(a){var b=_.mj(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);_.Bw(b);return b}; UA=function(a){if(void 0===a.include_granted_scopes){var b=_.Se("include_granted_scopes");a.include_granted_scopes=!!b}};VA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))}; WA=function(a){var b=a||{},c={};_.Kb(SA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Se("googleapis/overrideClientId");null!=a&&(c.client_id=a);UA(c);"string"===typeof b.scope?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));null!=b["openid.realm"]&&(c.openid_realm=b["openid.realm"]);null!=b.cookie_policy?c.cookie_policy=b.cookie_policy:null!=b.cookiepolicy&&(c.cookie_policy=b.cookiepolicy);null==c.login_hint&&null!=b.user_id&&(c.login_hint=b.user_id);try{_.sx(c.cookie_policy)}catch(d){c.cookie_policy&& VA("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}null!=b.hd&&(c.hosted_domain=b.hd);null==c.prompt&&(1==b.immediate||"true"==b.immediate?c.prompt="none":"force"==b.approval_prompt&&(c.prompt="consent"));"none"==c.prompt&&(c.session_selection="first_valid");"none"==c.prompt&&"offline"==c.access_type&&delete c.access_type;"undefined"===typeof c.authuser&&(a=_.Ih(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.Se("oauth-flow/redirectUri"); null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c}; _.XA=function(a,b){var c=WA(a),d=new _.Mj(function(e,f){_.Xx(c,function(g){var k=g||{};_.Kb(RA,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(g=TA(k),null!=g.authuser&&_.Te("googleapis.config/sessionIndex",g.authuser),e(g))})});b&&d.then(b,b);return d};YA=_.Wh.rH;ZA=null; _.bB=function(a,b){if("force"!==a.approvalprompt){a=_.$A(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)ZA?(a.client_id!==ZA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(ZA=a,b=!1);b||aB(a)}}; _.$A=function(a){var b=a.redirecturi||"postmessage",c=(0,_.gc)((a.scope||"").replace(/[\s\xa0]+/g," "));b={client_id:a.clientid,redirect_uri:b,response_type:"code token id_token gsession",scope:c};a.approvalprompt&&(b.approval_prompt=a.approvalprompt);a.state&&(b.state=a.state);a.openidrealm&&(b["openid.realm"]=a.openidrealm);c="offline"==a.accesstype?!0:(c=a.redirecturi)&&"postmessage"!=c;c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=(0,_.gc)(a.requestvisibleactions.replace(/[\s\xa0]+/g, " ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&"none"!==a.cookiepolicy&&(b.cookie_policy=a.cookiepolicy);"undefined"!=typeof a.includegrantedscopes&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.Se("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Se("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};aB=function(a){_.Io("waaf0","signin","0");_.XA(a,function(b){_.Io("waaf1","signin","0");PA(b)})}; _.cB=function(a){a=_.$A(a);_.Te("oauth-flow/authWindowWidth",445);_.Te("oauth-flow/authWindowHeight",615);aB(a)};_.dB=function(a){_.xz.unsubscribe(_.yz,a);_.xz.subscribe(_.yz,a)}; var kB,nB;_.fB=function(a){return a.cookiepolicy?!0:(_.eB("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.eB=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.jB=function(a,b){var c=_.Qn();_.Ce(a,c);c=JA(c);if(_.fB(c)){var d=_.gB();_.hB(c);b?_.Je(b,"click",function(){_.iB(c,d)}):_.iB(c,d)}}; _.gB=function(){var a=new kB;_.dB(function(b){a.kB&&b&&(b.access_token&&_.Te("isPlusUser",!0),b["g-oauth-window"]&&(a.kB=!1,_.Mf.warn("OTA app install is no longer supported.")))});return a};kB=function(){this.kB=!1};_.hB=function(a){a=_.lB(a);_.mB(a.callback);_.OA(function(){_.bB(a)})};_.lB=function(a){nB(a);a.redirecturi&&delete a.redirecturi;Dz(function(b){return a[b]})||(a.authuser=0);return a};nB=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.mB=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.eB('Callback function named "'+a+'" not found');return}a&&_.dB(a)};_.iB=function(a,b){b.kB=!0;a=_.lB(a);_.cB(a)}; _.A("gapi.auth.authorize",_.XA);_.A("gapi.auth.checkSessionState",function(a,b){var c=_.ze();c.client_id=a.client_id;c.session_state=a.session_state;_.OA(function(){AA()?vA.send("check_session_state",c,function(d){b.call(null,d[0])},_.Fm):_.Qf.call(_.vz,"check_session_state",wA(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.A("gapi.auth.getAuthHeaderValueForFirstParty",YA);_.A("gapi.auth.getToken",Yz); _.A("gapi.auth.getVersionInfo",function(a,b){_.OA(function(){var c=_.Uh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?AA()?vA.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Fm):_.Qf.call(_.vz,"get_versioninfo",wA(function(f){a(f)}),d,b):a()})});_.A("gapi.auth.init",_.OA);_.A("gapi.auth.setToken",_.iA);_.A("gapi.auth.signIn",function(a){_.jB(a)});_.A("gapi.auth.signOut",function(){var a=Yz();a&&QA(a,a.cookie_policy)}); _.A("gapi.auth.unsafeUnpackIdToken",LA);_.A("gapi.auth._pimf",_.bB);_.A("gapi.auth._oart",IA);_.A("gapi.auth._guss",function(a){return kA(a).read()}); var oB=_.Qn();oB.clientid&&oB.scope&&oB.callback&&!_.Se("disableRealtimeCallback")&&_.hB(oB); }); // Google Inc.