gapi.loaded_1(function(_){var window=this;
_.Ch=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(_.hd(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}};_.Dh=function(a,b){b=b||a;for(var c=0,d=0,e={};d<a.length;){var f=a[d++],h=_.vb(f)?"o"+_.rh(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,h)||(e[h]=!0,b[c++]=f)}b.length=c};_.Eh=function(a){for(var b in a)return!1;return!0};
_.Fh=function(a,b){a.src=_.ic(b);(b=_.Ec("script",a.ownerDocument))&&a.setAttribute("nonce",b)};_.Gh=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);e>255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};var Hh,Ih,Kh;Hh={};Ih=null;_.Jh=_.yd||_.zd||!_.Bh&&typeof _.Xa.atob=="function";_.Lh=function(a,b){b===void 0&&(b=0);Kh();b=Hh[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],k=a[e+1],l=a[e+2],m=b[h>>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+h+k+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|m>>4]+l+d}return c.join("")};
_.Mh=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=Ih[m];if(n!=null)return n;if(!_.wc(m))throw Error("w`"+m);}return l}Kh();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(k===64&&e===-1)break;b(e<<2|f>>4);h!=64&&(b(f<<4&240|h>>2),k!=64&&b(h<<6&192|k))}};
Kh=function(){if(!Ih){Ih={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Hh[c]=d;for(var e=0;e<d.length;e++){var f=d[e];Ih[f]===void 0&&(Ih[f]=e)}}}};
var ii;_.hi=function(a){this.Cc=a||{cookie:""}};_.g=_.hi.prototype;_.g.isEnabled=function(){if(!_.Xa.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{aJ:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0};
_.g.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.lsa;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.aJ}if(/[;=\s]/.test(a))throw Error("z`"+a);if(/[;\r\n]/.test(b))throw Error("A`"+b);k===void 0&&(k=-1);this.Cc.cookie=a+"="+b+(f?";domain="+f:"")+(h?";path="+h:"")+(k<0?"":k==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+k*1E3)).toUTCString())+(d?";secure":"")+(e!=null?";samesite="+e:"")};
_.g.get=function(a,b){for(var c=a+"=",d=(this.Cc.cookie||"").split(";"),e=0,f;e<d.length;e++){f=_.yc(d[e]);if(f.lastIndexOf(c,0)==0)return f.slice(c.length);if(f==a)return""}return b};_.g.remove=function(a,b,c){var d=this.Cl(a);this.set(a,"",{aJ:0,path:b,domain:c});return d};_.g.kg=function(){return ii(this).keys};_.g.Ye=function(){return ii(this).values};_.g.isEmpty=function(){return!this.Cc.cookie};_.g.Yb=function(){return this.Cc.cookie?(this.Cc.cookie||"").split(";").length:0};
_.g.Cl=function(a){return this.get(a)!==void 0};_.g.clear=function(){for(var a=ii(this).keys,b=a.length-1;b>=0;b--)this.remove(a[b])};ii=function(a){a=(a.Cc.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=_.yc(a[f]),d=e.indexOf("="),d==-1?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};_.ji=new _.hi(typeof document=="undefined"?null:document);
_.ti={};_.ui=function(a){return _.ti[a||"token"]||null};
_.aj=function(a){a&&typeof a.dispose=="function"&&a.dispose()};_.bj=function(){this.Lg=this.Lg;this.Oo=this.Oo};_.bj.prototype.Lg=!1;_.bj.prototype.isDisposed=function(){return this.Lg};_.bj.prototype.dispose=function(){this.Lg||(this.Lg=!0,this.ua())};_.bj.prototype[Symbol.dispose]=function(){this.dispose()};_.dj=function(a,b){_.cj(a,_.bb(_.aj,b))};_.cj=function(a,b){a.Lg?b():(a.Oo||(a.Oo=[]),a.Oo.push(b))};_.bj.prototype.ua=function(){if(this.Oo)for(;this.Oo.length;)this.Oo.shift()()};
var lj;lj=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.mj=function(a){this.src=a;this.ke={};this.ix=0};_.oj=function(a,b){this.type="function"==typeof _.nj&&a instanceof _.nj?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.Wv=!1};_.oj.prototype.stopPropagation=function(){this.Wv=!0};_.oj.prototype.preventDefault=function(){this.defaultPrevented=!0};_.pj=function(a,b){_.oj.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.ZJ=!1;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.Cf=null;a&&this.init(a,b)};_.eb(_.pj,_.oj);
_.pj.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=_.zd||a.offsetX!==void 0?a.offsetX:a.layerX,
this.offsetY=_.zd||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.ZJ=_.Bd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=
a.pointerType;this.state=a.state;this.timeStamp=a.timeStamp;this.Cf=a;a.defaultPrevented&&_.pj.N.preventDefault.call(this)};_.pj.prototype.stopPropagation=function(){_.pj.N.stopPropagation.call(this);this.Cf.stopPropagation?this.Cf.stopPropagation():this.Cf.cancelBubble=!0};_.pj.prototype.preventDefault=function(){_.pj.N.preventDefault.call(this);var a=this.Cf;a.preventDefault?a.preventDefault():a.returnValue=!1};_.qj="closure_listenable_"+(Math.random()*1E6|0);_.rj=function(a){return!(!a||!a[_.qj])};var sj=0;var tj=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.If=e;this.key=++sj;this.cw=this.uy=!1},uj=function(a){a.cw=!0;a.listener=null;a.proxy=null;a.src=null;a.If=null};_.mj.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.ke[f];a||(a=this.ke[f]=[],this.ix++);var h=vj(a,b,d,e);h>-1?(b=a[h],c||(b.uy=!1)):(b=new tj(b,this.src,f,!!d,e),b.uy=c,a.push(b));return b};_.mj.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ke))return!1;var e=this.ke[a];b=vj(e,b,c,d);return b>-1?(uj(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.ke[a],this.ix--),!0):!1};
_.wj=function(a,b){var c=b.type;if(!(c in a.ke))return!1;var d=_.ej(a.ke[c],b);d&&(uj(b),a.ke[c].length==0&&(delete a.ke[c],a.ix--));return d};_.mj.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.ke)if(!a||c==a){for(var d=this.ke[c],e=0;e<d.length;e++)++b,uj(d[e]);delete this.ke[c];this.ix--}return b};_.mj.prototype.Eq=function(a,b,c,d){a=this.ke[a.toString()];var e=-1;a&&(e=vj(a,b,c,d));return e>-1?a[e]:null};
_.mj.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return lj(this.ke,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};var vj=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.cw&&f.listener==b&&f.capture==!!c&&f.If==d)return e}return-1};var xj,yj,zj,Dj,Fj,Gj,Hj,Jj;xj="closure_lm_"+(Math.random()*1E6|0);yj={};zj=0;_.Bj=function(a,b,c,d,e){if(d&&d.once)return _.Aj(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Bj(a,b[f],c,d,e);return null}c=_.Cj(c);return _.rj(a)?a.na(b,c,_.vb(d)?!!d.capture:!!d,e):Dj(a,b,c,!1,d,e)};
Dj=function(a,b,c,d,e,f){if(!b)throw Error("B");var h=_.vb(e)?!!e.capture:!!e,k=_.Ej(a);k||(a[xj]=k=new _.mj(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=Fj();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)_.vi||(e=h),e===void 0&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Gj(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("C");zj++;return c};
Fj=function(){var a=Hj,b=function(c){return a.call(b.src,b.listener,c)};return b};_.Aj=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Aj(a,b[f],c,d,e);return null}c=_.Cj(c);return _.rj(a)?a.mr(b,c,_.vb(d)?!!d.capture:!!d,e):Dj(a,b,c,!0,d,e)};
_.Ij=function(a){if(typeof a==="number"||!a||a.cw)return!1;var b=a.src;if(_.rj(b))return b.HN(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Gj(c),d):b.addListener&&b.removeListener&&b.removeListener(d);zj--;(c=_.Ej(b))?(_.wj(c,a),c.ix==0&&(c.src=null,b[xj]=null)):uj(a);return!0};Gj=function(a){return a in yj?yj[a]:yj[a]="on"+a};
Hj=function(a,b){if(a.cw)a=!0;else{b=new _.pj(b,this);var c=a.listener,d=a.If||a.src;a.uy&&_.Ij(a);a=c.call(d,b)}return a};_.Ej=function(a){a=a[xj];return a instanceof _.mj?a:null};Jj="__closure_events_fn_"+(Math.random()*1E9>>>0);_.Cj=function(a){if(typeof a==="function")return a;a[Jj]||(a[Jj]=function(b){return a.handleEvent(b)});return a[Jj]};_.kj(function(a){Hj=a(Hj)});
_.Kj=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c};_.Wd.prototype.O=_.pb(1,function(a){return _.Zd(this.Cc,a)});_.Lj=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.Lj(a,b[f],c,d,e);else d=_.vb(d)?!!d.capture:!!d,c=_.Cj(c),_.rj(a)?a.Bc(b,c,d,e):a&&(a=_.Ej(a))&&(b=a.Eq(b,c,d,e))&&_.Ij(b)};_.Mj=function(){_.bj.call(this);this.qk=new _.mj(this);this.S6=this;this.RJ=null};_.eb(_.Mj,_.bj);_.Mj.prototype[_.qj]=!0;_.g=_.Mj.prototype;_.g.Xn=function(){return this.RJ};
_.g.aD=function(a){this.RJ=a};_.g.addEventListener=function(a,b,c,d){_.Bj(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.Lj(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.Xn();if(c)for(b=[];c;c=c.Xn())b.push(c);c=this.S6;var d=a.type||a;if(typeof a==="string")a=new _.oj(a,c);else if(a instanceof _.oj)a.target=a.target||c;else{var e=a;a=new _.oj(d,c);_.gj(a,e)}e=!0;var f;if(b)for(f=b.length-1;!a.Wv&&f>=0;f--){var h=a.currentTarget=b[f];e=h.eu(d,!0,a)&&e}a.Wv||(h=a.currentTarget=c,e=h.eu(d,!0,a)&&e,a.Wv||(e=h.eu(d,!1,a)&&e));if(b)for(f=0;!a.Wv&&f<b.length;f++)h=a.currentTarget=b[f],e=h.eu(d,!1,a)&&e;return e};
_.g.ua=function(){_.Mj.N.ua.call(this);this.vK();this.RJ=null};_.g.na=function(a,b,c,d){return this.qk.add(String(a),b,!1,c,d)};_.g.mr=function(a,b,c,d){return this.qk.add(String(a),b,!0,c,d)};_.g.Bc=function(a,b,c,d){return this.qk.remove(String(a),b,c,d)};_.g.HN=function(a){return _.wj(this.qk,a)};_.g.vK=function(){this.qk&&this.qk.removeAll(void 0)};
_.g.eu=function(a,b,c){a=this.qk.ke[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.cw&&f.capture==b){var h=f.listener,k=f.If||f.src;f.uy&&this.HN(f);d=h.call(k,c)!==!1&&d}}return d&&!c.defaultPrevented};_.g.Eq=function(a,b,c,d){return this.qk.Eq(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.qk.hasListener(a!==void 0?String(a):void 0,b)};
var Gr;Gr=function(){var a=_.Gc();if(_.Oc())return _.Vc(a);a=_.Lc(a);var b=_.Uc(a);return _.Nc()?b(["Version","Opera"]):_.Pc()?b(["Edge"]):_.Qc()?b(["Edg"]):_.Kc("Silk")?b(["Silk"]):_.Tc()?b(["Chrome","CriOS","HeadlessChrome"]):(a=a[2])&&a[1]||""};_.Hr=function(a){return _.Ac(Gr(),a)>=0};_.Jr=function(){return _.Rb&&_.Hc?_.Hc.mobile:!_.Ir()&&(_.Kc("iPod")||_.Kc("iPhone")||_.Kc("Android")||_.Kc("IEMobile"))};
_.Ir=function(){return _.Rb&&_.Hc?!_.Hc.mobile&&(_.Kc("iPad")||_.Kc("Android")||_.Kc("Silk")):_.Kc("iPad")||_.Kc("Android")&&!_.Kc("Mobile")||_.Kc("Silk")};_.Kr=function(){return!_.Jr()&&!_.Ir()};
var ct;ct=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.dt=function(a,b,c,d){return Array.prototype.splice.apply(a,ct(arguments,1))};_.et=function(a,b,c){if(a!==null&&b in a)throw Error("h`"+b);a[b]=c};_.ft=function(a,b){var c=b||document;c.getElementsByClassName?a=c.getElementsByClassName(a)[0]:(c=document,a=a?(b||c).querySelector(a?"."+a:""):_.$d(c,"*",a,b)[0]||null);return a||null};
_.gt=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.ht=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.it=function(a){_.bj.call(this);this.ug=a;this.mc={}};_.eb(_.it,_.bj);var kt=[];_.it.prototype.na=function(a,b,c,d){return this.xv(a,b,c,d)};
_.it.prototype.xv=function(a,b,c,d,e){Array.isArray(b)||(b&&(kt[0]=b.toString()),b=kt);for(var f=0;f<b.length;f++){var h=_.Bj(a,b[f],c||this.handleEvent,d||!1,e||this.ug||this);if(!h)break;this.mc[h.key]=h}return this};_.it.prototype.mr=function(a,b,c,d){return lt(this,a,b,c,d)};var lt=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)lt(a,b,c[h],d,e,f);else{b=_.Aj(b,c,d||a.handleEvent,e,f||a.ug||a);if(!b)return a;a.mc[b.key]=b}return a};
_.it.prototype.Bc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Bc(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.vb(d)?!!d.capture:!!d,e=e||this.ug||this,c=_.Cj(c),d=!!d,b=_.rj(a)?a.Eq(b,c,d,e):a?(a=_.Ej(a))?a.Eq(b,c,d,e):null:null,b&&(_.Ij(b),delete this.mc[b.key]);return this};_.it.prototype.removeAll=function(){_.Wb(this.mc,function(a,b){this.mc.hasOwnProperty(b)&&_.Ij(a)},this);this.mc={}};_.it.prototype.ua=function(){_.it.N.ua.call(this);this.removeAll()};
_.it.prototype.handleEvent=function(){throw Error("L");};
var Xu,Yu,Zu,$u,av,cv,dv,ev,fv,hv;_.Vu=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in a))return!1;return!0};_.Wu=!1;Xu=function(a){try{_.Wu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Yu=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};Zu=function(a,b){if(!a)return-1;if(a.indexOf)return a.indexOf(b,void 0);for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1};
$u=function(a,b){function c(){}if(!a)throw Error("O");if(!b)throw Error("P");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};av=function(a){return Object.prototype.toString.call(a)==="[object Function]"};_.bv=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};cv=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return b==null?"":b[1].replace(/\+/g," ")};
dv=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("Q`"+b);};ev={token:1,id_token:1};fv=function(){var a=navigator.userAgent.toLowerCase();return a.indexOf("msie")!=-1&&parseInt(a.split("msie")[1],10)==8};_.gv=window.JSON;hv=function(a){this.TN=a||[];this.qc={}};
hv.prototype.addEventListener=function(a,b){if(!(Zu(this.TN,a)>=0))throw Error("S`"+a);if(!av(b))throw Error("T`"+a);this.qc[a]||(this.qc[a]=[]);Zu(this.qc[a],b)<0&&this.qc[a].push(b)};hv.prototype.removeEventListener=function(a,b){if(!(Zu(this.TN,a)>=0))throw Error("S`"+a);av(b)&&this.qc[a]&&this.qc[a].length&&(b=Zu(this.qc[a],b),b>=0&&this.qc[a].splice(b,1))};
hv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&Zu(this.TN,b)>=0))throw Error("U`"+b);if(this.qc[b]&&this.qc[b].length)for(var c=this.qc[b].length,d=0;d<c;d++)this.qc[b][d](a)};var iv,jv,lv,pv,qv,Hv,Iv,Kv,Lv,Nv,Rv,Sv,Tv,Xv;iv={};jv={};_.kv=function(){if(_.bd()&&!_.Hr("118"))return!1;var a=_.Tc()&&!_.Qc()&&!_.Sc(),b=_.Xc()||_.Kr();return"IdentityCredential"in window&&a&&b&&_.Hr("132")&&(_.Kr()||_.Xc())};lv={google:{fedcmConfigUrl:"https://accounts.google.com/o/fedcm/config.json",authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.mv=function(a,b){if(a=lv[a])return a[b]};
_.nv=function(a,b){if(!a)throw Error("V");if(!b.authServerUrl)throw Error("W");if(!b.idpIFrameUrl)throw Error("X");lv[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl};b.fedcmConfigUrl?lv[a].fedcmConfigUrl=b.fedcmConfigUrl:a==="google"&&(lv[a].fedcmConfigUrl="https://accounts.google.com/o/fedcm/config.json")};_.ov=void 0;
pv=function(a){a.style.position="absolute";a.style.width="1px";a.style.height="1px";a.style.left="-9999px";a.style.top="-9999px";a.style.right="-9999px";a.style.bottom="-9999px";a.style.display="none";a.setAttribute("aria-hidden","true")};qv=function(){this.Ji=window;this.Qy=this.xn=this.Tv=this.wi=null};
qv.prototype.open=function(a,b,c,d){rv(this);this.Tv?(this.xn&&(this.xn(),this.xn=null),sv(this)):this.Tv="authPopup"+Math.floor(Math.random()*1E6+1);a:{this.wi=this.Ji.open(a,this.Tv,b);try{this.wi.focus();if(this.wi.closed||typeof this.wi.closed=="undefined")throw Error("Z");_.ov=this.wi}catch(e){d&&setTimeout(d,0);this.wi=null;break a}c&&(this.xn=c,tv(this))}};
var rv=function(a){try{if(a.wi==null||a.wi.closed)a.wi=null,a.Tv=null,sv(a),a.xn&&(a.xn(),a.xn=null)}catch(b){a.wi=null,a.Tv=null,sv(a)}},tv=function(a){a.Qy=window.setInterval(function(){rv(a)},300)},sv=function(a){a.Qy&&(window.clearInterval(a.Qy),a.Qy=null)};jv=jv||{};var uv=function(a,b){this.Xb=a;this.mI=b;this.Qc=null;this.qo=!1};uv.prototype.start=function(){if(!this.qo&&!this.Qc){var a=this;this.Qc=window.setTimeout(function(){a.clear();a.qo||(a.Xb(),a.qo=!0)},jv.pU(this.mI))}};
uv.prototype.clear=function(){this.Qc&&(window.clearTimeout(this.Qc),this.Qc=null)};var vv=function(a,b){var c=jv.bt;this.jba=jv.Rs;this.d2=c;this.Xb=a;this.mI=b;this.Qc=null;this.qo=!1;var d=this;this.e2=function(){document[d.jba]||(d.clear(),d.start())}};vv.prototype.start=function(){if(!this.qo&&!this.Qc){dv(document,this.d2,this.e2);var a=this;this.Qc=window.setTimeout(function(){a.clear();a.qo||(a.Xb(),a.qo=!0)},jv.pU(this.mI))}};
vv.prototype.clear=function(){var a=this.d2,b=this.e2,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("R`"+a);this.Qc&&(window.clearTimeout(this.Qc),this.Qc=null)};jv.Rs=null;jv.bt=null;
jv.Lba=function(){var a=document;typeof a.hidden!=="undefined"?(jv.Rs="hidden",jv.bt="visibilitychange"):typeof a.msHidden!=="undefined"?(jv.Rs="msHidden",jv.bt="msvisibilitychange"):typeof a.webkitHidden!=="undefined"&&(jv.Rs="webkitHidden",jv.bt="webkitvisibilitychange")};jv.Lba();jv.i8=function(a,b){return jv.Rs&&jv.bt?new vv(a,b):new uv(a,b)};jv.pU=function(a){return Math.max(1,a-(new Date).getTime())};
var wv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},xv=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,r=0;r<64;r+=4)q[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;r<80;r++)p=q[r-3]^q[r-8]^q[r-14]^q[r-16],q[r]=(p<<1|p>>>31)&4294967295;p=e[0];var w=e[1],u=e[2],x=e[3],A=e[4];for(r=0;r<80;r++){if(r<40)if(r<20){var C=x^w&(u^x);var F=1518500249}else C=
w^u^x,F=1859775393;else r<60?(C=w&u|x&(w|u),F=2400959708):(C=w^u^x,F=3395469782);C=((p<<5|p>>>27)&4294967295)+C+A+F+q[r]&4294967295;A=x;x=u;u=(w<<30|w>>>2)&4294967295;w=p;p=C}e[0]=e[0]+p&4294967295;e[1]=e[1]+w&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+A&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var r=[],w=0,u=p.length;w<u;++w)r.push(p.charCodeAt(w));p=r}q||(q=p.length);r=0;if(m==0)for(;r+64<q;)b(p.slice(r,r+64)),r+=64,n+=64;for(;r<
q;)if(f[m++]=p[r++],n++,m==64)for(m=0,b(f);r+64<q;)b(p.slice(r,r+64)),r+=64,n+=64}function d(){var p=[],q=n*8;m<56?c(k,56-m):c(k,64-(m-56));for(var r=63;r>=56;r--)f[r]=q&255,q>>>=8;b(f);for(r=q=0;r<5;r++)for(var w=24;w>=0;w-=8)p[q++]=e[r]>>w&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,Si:function(){for(var p=d(),q="",r=0;r<p.length;r++)q+="0123456789ABCDEF".charAt(Math.floor(p[r]/16))+"0123456789ABCDEF".charAt(p[r]%16);return q}}},yv=
window.crypto,zv=!1,Av=0,Bv=1,Cv=0,Dv="",Ev=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Bv=Bv*b%Cv;if(++Av==3)if(a=window,b=Ev,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("R`mousemove");},Fv=function(a){var b=xv();b.update(a);return b.Si()};zv=!!yv&&typeof yv.getRandomValues=="function";
zv||(Cv=(screen.width*screen.width+screen.height)*1E6,Dv=Fv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),dv(window,"mousemove",Ev));iv=iv||{};iv.j4="ssIFrame_";
_.Gv=function(a,b,c){c=c===void 0?!1:c;this.Bb=a;if(!this.Bb)throw Error("$");a=_.mv(a,"idpIFrameUrl");if(!a)throw Error("aa");this.wV=a;if(!b)throw Error("ba");this.Rm=b;a=this.wV;b=document.createElement("a");b.setAttribute("href",a);a=[b.protocol,"//",b.hostname];b.protocol=="http:"&&b.port!=""&&b.port!="0"&&b.port!="80"?(a.push(":"),a.push(b.port)):b.protocol=="https:"&&b.port!=""&&b.port!="0"&&b.port!="443"&&(a.push(":"),a.push(b.port));this.VH=a.join("");this.mfa=[location.protocol,"//",location.host].join("");
this.Sw=this.UH=this.wo=!1;this.sV=null;this.EB=[];this.Jr=[];this.ek={};this.xo=void 0;this.Cs=c};_.g=_.Gv.prototype;_.g.show=function(){var a=this.xo;a.style.position="fixed";a.style.width="100%";a.style.height="100%";a.style.left="0px";a.style.top="0px";a.style.right="0px";a.style.bottom="0px";a.style.display="block";a.style.zIndex="9999999";a.style.overflow="hidden";a.setAttribute("aria-hidden","false")};_.g.hide=function(){pv(this.xo)};
_.g.jB=function(a){if(this.wo)a&&a(this);else{if(!this.xo){var b=iv.j4+this.Bb;var c=this.Bb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&f.length>2&&(e=f[2]);(f=e&&Zu(e.split("|"),c)>=0)?wv(e,d):wv(e?e+"|"+c:c,d);c=!f;var h=this.wV,k=this.mfa;d=this.Rm;e=this.Cs;e=e===void 0?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b=f.setAttribute;var l="allow-scripts allow-same-origin";document.requestStorageAccess&&av(document.requestStorageAccess)&&
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);f.setAttribute("allow","identity-credentials-get");pv(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Wu&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.xo=f}a&&this.EB.push(a)}};_.g.yW=function(){return this.wo&&this.Sw};_.g.Un=function(){return this.sV};
Hv=function(a){for(var b=0;b<a.EB.length;b++)a.EB[b](a);a.EB=[]};_.Jv=function(a,b,c,d){if(a.wo){if(a.wo&&a.UH)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Un(),Xu(a),Error(a);Iv(a,{method:b,params:c},d)}else a.Jr.push({hp:{method:b,params:c},callback:d}),a.jB()};Iv=function(a,b,c){if(c){for(var d=b.id;!d||a.ek[d];)d=(new Date).getMilliseconds()+"-"+(Math.random()*1E6+1);b.id=d;a.ek[d]=c}b.rpcToken=a.Rm;a.xo.contentWindow.postMessage(_.gv.stringify(b),a.VH)};
Kv=function(a){if(a&&a.indexOf("::")>=0)throw Error("ca");};_.Gv.prototype.zj=function(a,b,c,d,e,f,h,k,l){l=l===void 0?!1:l;Kv(f);b=_.bv(b);_.Jv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.Gv.prototype.hB=function(a,b,c,d,e){b=_.bv(b);_.Jv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Lv=function(a,b,c){Kv(b.identifier);_.Jv(a,"getSessionSelector",b,c)};
_.Mv=function(a,b,c,d,e){Kv(b.identifier);_.Jv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Nv=function(a,b,c,d,e,f,h){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);b.useFedCm=e;f&&(b.fedCmEnabled=f);_.Jv(a,"monitorClient",b,h)};_.Gv.prototype.revoke=_.jb(8);_.Gv.prototype.qt=_.jb(10);iv.DA={};iv.TG=function(a){return iv.DA[a]};
iv.jB=function(a,b,c){c=c===void 0?!1:c;var d=iv.TG(a);if(!d){d=String;if(zv){var e=new window.Uint32Array(1);yv.getRandomValues(e);e=Number("0."+e[0])}else e=Bv,e+=parseInt(Dv.substr(0,20),16),Dv=Fv(Dv),e/=Cv+1.2089258196146292E24;d=new _.Gv(a,d(2147483647*e),c);iv.DA[a]=d}d.jB(b)};iv.R9=function(a){for(var b in iv.DA){var c=iv.TG(b);if(c&&c.xo&&c.xo.contentWindow==a.source&&c.VH==a.origin)return c}};iv.t$=function(a){for(var b in iv.DA){var c=iv.TG(b);if(c&&c.VH==a)return c}};iv=iv||{};
var Pv=function(){var a=[],b;for(b in _.Ov)a.push(_.Ov[b]);hv.call(this,a);this.km={};Xu("EventBus is ready.")};$u(Pv,hv);_.Ov={S5:"sessionSelectorChanged",xE:"sessionStateChanged",Os:"authResult",f3:"displayIFrame"};Rv=function(a,b){var c=Qv;a&&b&&(c.km[a]||(c.km[a]=[]),Zu(c.km[a],b)<0&&c.km[a].push(b))};Sv=function(a){var b=Qv;a&&(b.km[a]||(b.km[a]=[]))};Tv=function(a,b,c){return b&&a.km[b]&&Zu(a.km[b],c)>=0};_.g=Pv.prototype;
_.g.rea=function(a){var b,c=!!a.source&&(a.source===_.ov||a.source.opener===window);if(b=c?iv.t$(a.origin):iv.R9(a)){try{var d=_.gv.parse(a.data)}catch(e){Xu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Rm){Xu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.ek[c.id])delete b.ek[c.id],a(c.result,c.error);return}}d.method!="fireIdpEvent"?Xu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.vV[a.type]?(d=this.vV[a.type],
c&&!d.X6?Xu("Bad IDP event. Source window cannot be a popup."):d.Js&&!d.Js.call(this,b,a)?Xu("Bad IDP event."):d.If.call(this,b,a)):Xu("Bad IDP event.")}else Xu("Bad event, no corresponding Idp Stub.")};_.g.Rfa=function(a,b){return Tv(this,a.Bb,b.clientId)};_.g.Qfa=function(a,b){a=a.Bb;b=b.clientId;return!b||Tv(this,a,b)};_.g.j7=function(a,b){return Tv(this,a.Bb,b.clientId)};
_.g.Ada=function(a,b){a.wo=!0;a.Sw=!!b.cookieDisabled;Hv(a);for(b=0;b<a.Jr.length;b++)Iv(a,a.Jr[b].hp,a.Jr[b].callback);a.Jr=[]};_.g.zda=function(a,b){b={error:b.error};a.wo=!0;a.UH=!0;a.sV=b;a.Jr=[];Hv(a)};_.g.eC=function(a,b){b.originIdp=a.Bb;this.dispatchEvent(b)};var Qv=new Pv,Uv=Qv,Vv={};Vv.idpReady={If:Uv.Ada};Vv.idpError={If:Uv.zda};Vv.sessionStateChanged={If:Uv.eC,Js:Uv.Rfa};Vv.sessionSelectorChanged={If:Uv.eC,Js:Uv.Qfa};Vv.authResult={If:Uv.eC,Js:Uv.j7,X6:!0};Vv.displayIFrame={If:Uv.eC};
Qv.vV=Vv||{};dv(window,"message",function(a){Qv.rea.call(Qv,a)});
_.Wv=function(a,b){this.Oe=!1;if(!a)throw Error("da");var c=[],d;for(d in a)c.push(a[d]);hv.call(this,c);this.Cd=[location.protocol,"//",location.host].join("");this.Yd=b.crossSubDomains?b.domain||this.Cd:this.Cd;if(!b)throw Error("ea");if(!b.idpId)throw Error("fa");if(!_.mv(b.idpId,"authServerUrl")||!_.mv(b.idpId,"idpIFrameUrl"))throw Error("ga`"+b.idpId);this.Bb=b.idpId;this.Ob=void 0;this.s8=!!b.disableTokenRefresh;this.o9=!!b.forceTokenRefresh;this.Nga=!!b.skipTokenCache;this.Cs=!!b.supportBlocked3PCookies;
b.pluginName&&(this.gea=b.pluginName);b.ackExtensionDate&&(this.O6=b.ackExtensionDate);this.P1=b.useFedCm;this.Y8=this.Cs&&_.kv();this.setOptions(b);this.Ht=[];this.Sw=this.Ak=this.kW=!1;this.qj=void 0;this.vZ();this.Od=void 0;var e=this,f=function(){Xu("Token Manager is ready.");if(e.Ht.length)for(var h=0;h<e.Ht.length;h++)e.Ht[h].call(e);e.kW=!0;e.Ht=[]};iv.jB(this.Bb,function(h){e.Od=h;h.wo&&h.UH?(e.Ak=!0,e.qj=h.Un(),e.Ar(e.qj)):(e.Sw=h.yW(),e.Ob?Nv(e.Od,e.Ob,e.gea,e.O6,e.P1,e.Y8,function(k){var l=
!!k.validOrigin,m=!!k.blocked,n=!!k.suppressed;k.invalidExtension?(e.qj={error:"Invalid value for ack_extension_date. Please refer to [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Ak=!0,e.Ar(e.qj)):l?m?n?(Yu("You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Rv(e.Bb,e.Ob),f()):(e.qj={error:"You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Ak=!0,e.Ar(e.qj)):(Yu("Your client application uses libraries for user authentication or authorization that are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Rv(e.Bb,e.Ob),f()):(e.qj={error:"Not a valid origin for the client: "+e.Cd+" has not been registered for client ID "+e.Ob+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Ak=!0,e.Ar(e.qj))}):(Sv(e.Bb),f()))},this.Cs)};$u(_.Wv,hv);_.g=_.Wv.prototype;_.g.setOptions=function(){};_.g.vZ=function(){};_.g.Ar=function(){};_.g.yW=function(){return this.Sw};_.g.Un=function(){return this.qj};Xv=function(a,b,c){return function(){b.apply(a,c)}};
_.Yv=function(a,b,c){if(a.kW)b.apply(a,c);else{if(a.Ak)throw a.qj;a.Ht.push(Xv(a,b,c))}};_.Wv.prototype.xQ=_.jb(11);_.Wv.prototype.qt=_.jb(9);_.$v=function(a,b){_.Wv.call(this,a,b);this.NY=new qv;this.Jk=this.So=null;Zv(this)};$u(_.$v,_.Wv);_.$v.prototype.setOptions=function(){};
var aw=function(a,b){a.Le={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Yd};b.crossSubDomains&&(a.Le.policy=b.policy)},bw=function(a,b){if(!b.authParameters)throw Error("ha");if(!b.authParameters.scope)throw Error("ia");if(!b.authParameters.response_type)throw Error("ja");a.mn=b.authParameters;a.mn.redirect_uri||(a.mn.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Ij=_.bv(b.rpcAuthParameters||a.mn);if(!a.Ij.scope)throw Error("ka");if(!a.Ij.response_type)throw Error("la");
a:{var c=a.Ij.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!ev[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ma");if(b.enableSerialConsent||b.enableGranularConsent)a.mn.enable_granular_consent=!0,a.Ij.enable_serial_consent=!0;b.authResultIdentifier&&(a.k7=b.authResultIdentifier);b.spec_compliant&&(a.Ij.spec_compliant=b.spec_compliant)};
_.$v.prototype.vZ=function(){var a=this;Qv.addEventListener(_.Ov.S5,function(b){a.Oe&&a.Le&&b.originIdp==a.Bb&&!b.crossSubDomains==!a.Le.crossSubDomains&&b.domain==a.Le.domain&&b.id==a.Le.id&&a.fY(b)});Qv.addEventListener(_.Ov.xE,function(b){a.Oe&&b.originIdp==a.Bb&&b.clientId==a.Ob&&a.gY(b)});Qv.addEventListener(_.Ov.Os,function(b){_.ov=void 0;a.Oe&&b.originIdp==a.Bb&&b.clientId==a.Ob&&b.id==a.Gk&&(a.So&&(window.clearTimeout(a.So),a.So=null),a.Gk=void 0,a.No(b))});Qv.addEventListener(_.Ov.f3,function(b){a.Oe&&
b.originIdp==a.Bb&&(b.hide?a.Od.hide():a.Od.show())})};_.$v.prototype.fY=function(){};_.$v.prototype.gY=function(){};_.$v.prototype.No=function(){};var dw=function(a,b){cw(a);a.s8||(a.Jk=jv.i8(function(){a.zj(!0)},b-3E5),navigator.onLine&&a.Jk.start())},cw=function(a){a.Jk&&(a.Jk.clear(),a.Jk=null)},Zv=function(a){var b=window;fv()&&(b=document.body);dv(b,"online",function(){a.Jk&&a.Jk.start()});dv(b,"offline",function(){a.Jk&&a.Jk.clear()})};_.$v.prototype.zj=function(){};_.$v.prototype.IX=_.jb(12);
_.$v.prototype.vca=function(a,b){if(!this.Ob)throw Error("qa");this.Od.hB(this.Ob,this.Ij,this.Le,a,b)};_.$v.prototype.hB=function(a,b){_.Yv(this,this.vca,[a,b])};_.fw=function(a){this.Fe=void 0;this.Mh=!1;this.Sr=void 0;_.$v.call(this,ew,a)};$u(_.fw,_.$v);var ew={BO:"noSessionBound",Zs:"userLoggedOut",u2:"activeSessionChanged",xE:"sessionStateChanged",j6:"tokenReady",i6:"tokenFailed",Os:"authResult",ERROR:"error"};
_.fw.prototype.setOptions=function(a){if(!a.clientId)throw Error("ra");this.Ob=a.clientId;this.Da=a.id;aw(this,a);bw(this,a)};_.fw.prototype.Ar=function(a){this.dispatchEvent({type:ew.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Bb})};var gw=function(a){cw(a);a.Sr=void 0;a.JI=void 0};_.g=_.fw.prototype;
_.g.fY=function(a){var b=a.newValue||{};if(this.Fe!=b.hint||this.Mh!=!!b.disabled){a=this.Fe;var c=!this.Fe||this.Mh;gw(this);this.Fe=b.hint;this.Mh=!!b.disabled;(b=!this.Fe||this.Mh)&&!c?this.dispatchEvent({type:ew.Zs,idpId:this.Bb}):b||(a!=this.Fe&&this.dispatchEvent({type:ew.u2,idpId:this.Bb}),this.Fe&&this.zj())}};
_.g.gY=function(a){this.Mh||(this.Fe?a.user||this.Sr?a.user==this.Fe&&(this.Sr?a.sessionState?this.Sr=a.sessionState:(gw(this),this.dispatchEvent({type:ew.Zs,idpId:this.Bb})):a.sessionState&&(this.Sr=a.sessionState,this.zj())):this.zj():this.dispatchEvent({type:ew.xE,idpId:this.Bb}))};_.g.No=function(a){this.dispatchEvent({type:ew.Os,authResult:a.authResult})};_.g.vu=_.jb(14);_.g.ou=function(a){_.Yv(this,this.GG,[a])};_.g.GG=function(a){Lv(this.Od,this.Le,a)};
_.g.tD=function(a,b,c,d){d=d===void 0?!1:d;if(!a)throw Error("sa");gw(this);this.Fe=a;this.Mh=!1;b&&_.Mv(this.Od,this.Le,!1,this.Fe);this.Oe=!0;this.zj(c,!0,d)};_.g.start=function(){_.Yv(this,this.Jw,[])};
_.g.Jw=function(){var a=this.Ob==cv("client_id")?cv("login_hint"):void 0;var b=this.Ob==cv("client_id")?cv("state"):void 0;this.tJ=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.tD(a,!0,!0,!0);else{var c=this;this.ou(function(d){c.Oe=!0;d&&d.hint?(gw(c),c.Fe=d.hint,c.Mh=!!d.disabled,c.Mh?c.dispatchEvent({type:ew.Zs,idpId:c.Bb}):c.tD(d.hint)):(gw(c),c.Fe=void 0,c.Mh=!(!d||!d.disabled),c.dispatchEvent({type:ew.BO,
autoOpenAuthUrl:!c.Mh,idpId:c.Bb}))})}};_.g.k9=function(){var a=this;this.ou(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:ew.Zs,idpId:a.Bb}):a.zj(!0):a.dispatchEvent({type:ew.BO,idpId:a.Bb})})};_.g.kT=function(){_.Yv(this,this.k9,[])};
_.g.zj=function(a,b,c){var d=this;this.Od.zj(this.Ob,this.Ij,this.Fe,this.Le,function(e,f){(f=f||e.error)?f=="user_logged_out"?(gw(d),d.dispatchEvent({type:ew.Zs,idpId:d.Bb})):(d.JI=null,d.dispatchEvent({type:ew.i6,idpId:d.Bb,error:f})):(d.JI=e,d.Sr=e.session_state,dw(d,e.expires_at),e.idpId=d.Bb,b&&d.tJ&&(e.state=d.tJ,d.tJ=void 0),d.dispatchEvent({type:ew.j6,idpId:d.Bb,response:e}))},this.Da,a,!1,c===void 0?!1:c)};_.g.revoke=_.jb(7);_.g.PZ=_.jb(15);
_.hw=function(a){this.nn=null;_.$v.call(this,{},a);this.Oe=!0};$u(_.hw,_.$v);_.g=_.hw.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("ra");this.Ob=a.clientId;this.Da=a.id;aw(this,a);bw(this,a)};_.g.Ar=function(a){this.nn&&(this.nn({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.nn=null)};_.g.No=function(a){if(this.nn){var b=this.nn;this.nn=null;b(a)}};_.g.vu=_.jb(13);_.g.ou=function(a){this.Ak?a(this.Un()):_.Yv(this,this.GG,[a])};
_.g.GG=function(a){Lv(this.Od,this.Le,a)};_.iw=function(a,b,c){a.Ak?c(a.Un()):_.Yv(a,a.Mda,[b,c])};_.hw.prototype.Mda=function(a,b){this.Od.zj(this.Ob,this.Ij,a,this.Le,function(c,d){d?b({error:d}):b(c)},this.Da,this.o9,this.Nga)};_.hw.prototype.WW=_.jb(16);
var jw=function(a){var b=window.location;a=_.rc(a);a!==void 0&&b.assign(a)},kw=function(a){return Array.prototype.concat.apply([],arguments)},lw=function(){try{var a=Array.from((window.crypto||window.msCrypto).getRandomValues(new Uint8Array(64)))}catch(c){a=[];for(var b=0;b<64;b++)a[b]=Math.floor(Math.random()*256)}return _.Lh(a,3).substring(0,64)},mw=function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(d===null||d===void 0)d="";b.push(encodeURIComponent(c)+"="+encodeURIComponent(d))}return b.join("&")},
nw=function(a,b){(b===void 0?0:b)||window.addEventListener("hashchange",function(){location.hash.includes("client_id")&&window.location.reload()});jw(a)},ow=function(a,b,c){if(!a.Oe)throw Error("na");b?_.Mv(a.Od,a.Le,!0,void 0,c):_.Mv(a.Od,a.Le,!0,a.Fe,c)},pw=function(a){if(!a.Oe)throw Error("na");return a.JI},qw,rw,sw,tw,uw,vw,ww,xw,yw,zw,Aw,Bw,Cw,Dw,Gw,Jw,Kw;
_.hw.prototype.WW=_.pb(16,function(a,b){var c=this.Od,d=this.Ob,e=this.Le,f=_.bv(this.Ij);delete f.response_type;_.Jv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.fw.prototype.PZ=_.pb(15,function(a){pw(this)&&pw(this).access_token&&(this.Od.revoke(this.Ob,pw(this).access_token,a),ow(this,!0))});
_.fw.prototype.vu=_.pb(14,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&(a.aC?(b.authResult.client_id=a.Ob,nw(a.aC+"#"+mw(b.authResult))):a.tD(b.authResult.login_hint,a.Mh||b.authResult.login_hint!=a.Fe,!0,!0))}});
_.hw.prototype.vu=_.pb(13,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.ou(function(d){_.Mv(b.Od,b.Le,d&&d.disabled,c.authResult.login_hint,function(){_.iw(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"})}});_.$v.prototype.IX=_.pb(12,function(){this.Ob&&_.Jv(this.Od,"startPolling",{clientId:this.Ob,origin:this.Cd,id:this.Gk})});
_.Gv.prototype.revoke=_.pb(8,function(a,b,c){_.Jv(this,"revoke",{clientId:a,token:b},c)});_.fw.prototype.revoke=_.pb(7,function(a){_.Yv(this,this.PZ,[a])});qw="openid email profile https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/plus.login".split(" ");
rw=function(){var a=navigator.userAgent,b;if(b=!!a&&a.indexOf("CriOS")!=-1)b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=b<48;return b};
sw=function(){var a=navigator.userAgent.toLowerCase();if(!(a.indexOf("safari/")>-1&&a.indexOf("chrome/")<0&&a.indexOf("crios/")<0&&a.indexOf("android")<0))return!1;var b=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||b.length<3)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return a>12||a==12&&b>=1};tw=function(a){return a.length>0&&a.every(function(b){return qw.includes(b)})};
uw=function(a,b,c,d,e,f,h){var k=_.mv(a,"authServerUrl");if(!k)throw Error("Y`"+a);a=_.bv(d);a.response_type=h||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];(b=e)&&!(b=sw())&&(b=navigator.userAgent.toLowerCase(),b.indexOf("ipad;")>-1||b.indexOf("iphone;")>-1?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||b.length<2?!1:parseInt(b[1],10)>=14):b=!1);b&&!a.prompt&&(a.prompt=
"select_account");return k+(k.indexOf("?")<0?"?":"&")+mw(a)};vw=function(a,b,c,d){if(!a.Ob)throw Error("oa");a.Gk=c||a.k7||"auth"+Math.floor(Math.random()*1E6+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Cd.split("//");c=b.extraQueryParams;var f=e[0],h=e[1];e=a.Gk;var k=f.indexOf(":");k>0&&(f=f.substring(0,k));f=["storagerelay://",f,"/",h,"?"];f.push("id="+e);c.redirect_uri=f.join("")}return uw(a.Bb,a.Yd,a.Ob,a.mn,!0,b,d)};
ww=function(a,b,c){if(!a.Ob)throw Error("oa");return uw(a.Bb,a.Yd,a.Ob,a.mn,!1,b,c)};xw=function(a,b){a.So&&window.clearTimeout(a.So);a.So=window.setTimeout(function(){a.Gk==b&&(_.ov=void 0,a.So=null,a.Gk=void 0,a.No({authResult:{error:"popup_closed_by_user"}}))},1E3)};
yw=function(a,b,c){if(!a.Ob)throw Error("pa");c=c||{};c=vw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||rw())&&_.Yv(a,a.IX,[]);var d=a.Gk;a.NY.open(c,b,function(){a.Gk==d&&xw(a,d)},function(){a.Gk=void 0;a.No({authResult:{error:"popup_blocked_by_browser"}})})};
zw=function(a,b){var c=b||{};b=_.bv(a.mn);if(c.sessionMeta&&c.sessionMeta.extraQueryParams)for(var d in c.sessionMeta.extraQueryParams)b[d]=c.sessionMeta.extraQueryParams[d];var e;c.sessionMeta.extraQueryParams.scope&&(e=c.sessionMeta.extraQueryParams.scope.split(" "));!e&&b.scope&&(e=b.scope.split(" "));delete b.redirect_uri;delete b.origin;delete b.client_id;delete b.scope;b.prompt=="select_account"&&delete b.prompt;b.gsiwebsdk="fedcm";b.ss_domain=a.Yd;d=_.mv(a.Bb,"fedcmConfigUrl");c=c.responseType;
b.response_type=c;b.scope=e.join(" ");!b.nonce&&c.includes("id_token")&&(b.nonce="notprovided");c=navigator.userActivation.isActive?"active":"passive";e=tw(e)?["name","email","picture"]:[];return{identity:{providers:[{configURL:d,clientId:a.Ob,fields:e,params:b}],mode:c},mediation:"required"}};
Aw=function(a,b,c){if(!a.Ob)throw Error("pa");b=zw(a,b);navigator.credentials.get(b).then(function(d){d=JSON.parse(d.token);var e={client_id:d.client_id,login_hint:d.login_hint,expires_in:3600,scope:d.scope};d.code&&(e.code=d.code);d.id_token&&(e.id_token=d.id_token);a.No({type:_.Ov.Os,idpId:a.Bb,authResult:e})},function(d){d.message.indexOf("identity-credentials-get")>=0||d.message.indexOf("Content Security Policy")>=0?c():a.No({type:_.Ov.Os,idpId:a.Bb,authResult:{error:d}})})};
Bw=function(a,b,c){a.Cs&&_.kv()?Aw(a,c,function(){return yw(a,b,c)}):yw(a,b,c)};Cw=function(a,b){b=b||{};var c=ww(a,b.sessionMeta,b.responseType);a.Cs&&_.kv()&&a.P1?(a.aC=b.sessionMeta.extraQueryParams.redirect_uri,Aw(a,b,function(){return nw(c,!0)})):nw(c,!0)};Dw=function(a,b,c){a.Ak?c(a.Un()):_.Yv(a,a.WW,[b,c])};_.Ew=function(a){_.ye(_.Je,"le",[]).push(a)};
_.Fw=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("")};
Gw=function(a){var b=[];_.Mh(a,function(c){b.push(c)});return b};_.Hw=function(a,b){_.ti[b||"token"]=a};_.Iw=function(a){delete _.ti[a||"token"]};Kw=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){_.Xa.setTimeout(d,0)}};_.gv={parse:function(a){a=_.Nf("["+String(a)+"]");if(a===!1||a.length!==1)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Of(a)}};_.hw.prototype.sG=function(a,b){_.Yv(this,this.a9,[a,b])};_.hw.prototype.a9=function(a,b){this.Od.sG(this.Ob,a,this.Ij,this.Le,b)};_.Gv.prototype.sG=function(a,b,c,d,e){c=_.bv(c);_.Jv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var Lw,Mw=["client_id","cookie_policy","scope"],Nw="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(" "),Ow=["authuser","after_redirect","access_type","hl"],Pw=["login_hint","prompt"],Qw={clientid:"client_id",cookiepolicy:"cookie_policy"},
Rw=["approval_prompt","authuser","login_hint","prompt","hd"],Sw=["login_hint","g-oauth-window","status"],Tw=Math.min(_.Ue("oauth-flow/authWindowWidth",599),screen.width-20),Uw=Math.min(_.Ue("oauth-flow/authWindowHeight",600),screen.height-30);var Vw=function(a){_.lb.call(this,a)};_.y(Vw,_.lb);Vw.prototype.name="gapi.auth2.ExternallyVisibleError";var Ww=function(){};Ww.prototype.select=function(a,b){if(a.sessions&&a.sessions.length==1&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Xw=function(){};Xw.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 Yw=function(a){this.l7=a};
Yw.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.l7){d.login_hint?b(d):b();return}}b()};var Zw=function(a){this.ve=a;this.MC=[]};Zw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.MC[b];f?(b++,c.ve.hB(function(h){h?f.select(h,d):d()})):a()}};d()};var $w=function(a){a=new Zw(a);a.MC.push(new Ww);return a},ax=function(a){a=new Zw(a);a.MC.push(new Xw);return a},bx=function(a,b){b===void 0||b===null?b=$w(a):(a=new Zw(a),a.MC.push(new Yw(b)),b=a);return b};var cx=function(a){this.If=a;this.isActive=!0};cx.prototype.remove=function(){this.isActive=!1};cx.prototype.trigger=function(){};var dx=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},ex=function(){this.qc=[]};ex.prototype.add=function(a){this.qc.push(a)};ex.prototype.notify=function(a){for(var b=this.qc,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),e=fx(e.If,a),e=(0,_.qk)(e),e=(0,_.ok)(e),Jw||(Jw=Kw()),Jw(e))}this.qc=c};var fx=function(a,b){return function(){a(b)}};var ox=function(a){this.La=null;this.Eha=new nx(this);this.qc=new ex;a!=void 0&&this.set(a)};ox.prototype.set=function(a){a!=this.La&&(this.La=a,this.Eha.value=a,this.qc.notify(this.La))};ox.prototype.get=function(){return this.La};ox.prototype.na=function(a){a=new px(this,a);this.qc.add(a);return a};ox.prototype.get=ox.prototype.get;var px=function(a,b){cx.call(this,b);this.zca=a};_.y(px,cx);px.prototype.trigger=function(){var a=this.If;a(this.zca.get())};
var nx=function(a){this.value=null;this.na=function(b){return new dx(a.na(b))}};var qx={Xja:"fetch_basic_profile",Yka:"login_hint",sma:"prompt",yma:"redirect_uri",Qma:"scope",moa:"ux_mode",Cna:"state"},rx=function(a){this.Ka={};if(a&&!_.Eh(a))if(typeof a.get=="function")this.Ka=a.get();else for(var b in qx){var c=qx[b];c in a&&(this.Ka[c]=a[c])}};rx.prototype.get=function(){return this.Ka};rx.prototype.R_=function(a){this.Ka.scope=a;return this};rx.prototype.Eu=function(){return this.Ka.scope};
var sx=function(a,b){var c=a.Ka.scope;b=kw(b.split(" "),c?c.split(" "):[]);_.Dh(b);a.Ka.scope=b.join(" ")};_.g=rx.prototype;_.g.rga=function(a){this.Ka.prompt=a;return this};_.g.v$=function(){return this.Ka.prompt};_.g.Ufa=function(){_.Sf.warn("Property app_package_name no longer supported and was not set");return this};_.g.z9=function(){_.Sf.warn("Property app_package_name no longer supported")};_.g.uf=function(a){this.Ka.state=a};_.g.getState=function(){return this.Ka.state};var tx=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Tw,"height="+Uw,"top="+(screen.height-Uw)/2,"left="+(screen.width-Tw)/2].join()},ux=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;var b=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");a=JSON;var c=a.parse;b=Gw(b);return c.call(a,_.Fw(b))},vx=function(){Lw=_.Ue("auth2/idpValue","google");var a=_.Ue("oauth-flow/authUrl",
"https://accounts.google.com/o/oauth2/auth"),b=_.Ue("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");a={fedcmConfigUrl:_.Ue("oauth-flow/fedcmConfigUrl","https://accounts.google.com/o/fedcm/config.json"),authServerUrl:a,idpIFrameUrl:b};_.nv(Lw,a)},wx=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}_.vb(a[e])||(a[e]={});a=a[e]}},xx=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},
zx=function(){var a=yx();a.storage_path&&window.sessionStorage.setItem(a.storage_path,xx()+window.location.pathname);if(a.status.toLowerCase()=="enforced")throw new Vw("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href);a.status.toLowerCase()=="informational"&&_.Sf.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)},Ax=function(a){return _.ji.get("GSI_ALLOW_3PCD")==="1"?!0:a===!1?!1:a===!0||(_.Je.le||[]).includes("fedcm_migration_mod")?
!0:!1};var Bx=function(a){var b=a?(b=ux(a))?b.sub:null:null;this.Da=b;this.Ic=a?_.fk(a):null};_.g=Bx.prototype;_.g.getId=function(){return this.Da};_.g.PG=function(){var a=ux(this.Ic);return a?a.hd:null};_.g.xg=function(){return!!this.Ic};_.g.Ql=function(a){if(a)return this.Ic;a=Cx;var b=_.fk(this.Ic);!a.PA||a.OH||a.Yaa||(delete b.access_token,delete b.scope);return b};_.g.tK=function(){return Cx.tK()};_.g.Wk=function(){this.Ic=null};_.g.Z9=function(){return this.Ic?this.Ic.scope:null};
_.g.update=function(a){this.Da=a.Da;this.Ic=a.Ic;this.Ic.id_token?this.ky=new Dx(this.Ic):this.ky&&(this.ky=null)};var Ex=function(a){return a.Ic&&typeof a.Ic.session_state=="object"?_.fk(a.Ic.session_state.extraQueryParams||{}):{}};_.g=Bx.prototype;_.g.EG=function(){var a=Ex(this);return a&&a.authuser!==void 0&&a.authuser!==null?a.authuser:null};
_.g.Vk=function(a){var b=Cx,c=new rx(a);b.OH=c.Eu()?!0:!1;Cx.PA&&sx(c,"openid profile email");return new _.xk(function(d,e){var f=Ex(this);f.login_hint=this.getId();f.scope=c.Eu();Fx(b,d,e,f)},this)};_.g.Lu=function(a){return new _.xk(function(b,c){var d=a||{},e=Cx;d.login_hint=this.getId();e.Lu(d).then(b,c)},this)};_.g.L$=function(a){return this.Vk(a)};_.g.disconnect=function(){return Cx.disconnect()};_.g.A9=function(){return this.ky};
_.g.wA=function(a){if(!this.xg())return!1;var b=this.Ic&&this.Ic.scope?this.Ic.scope.split(" "):"";return _.Nb(a?a.split(" "):[],function(c){return _.tb(b,c)})};var Dx=function(a){a=ux(a);this.t9=a.sub;this.dh=a.name;this.H$=a.given_name;this.X8=a.family_name;this.AV=a.picture;this.ez=a.email};_.g=Dx.prototype;_.g.getId=function(){return this.t9};_.g.lg=function(){return this.dh};_.g.X9=function(){return this.H$};_.g.T9=function(){return this.X8};_.g.f$=function(){return this.AV};_.g.On=function(){return this.ez};var yx,Gx;yx=function(){var a=_.ji.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]}:(_.Sf.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};Gx=function(a){var b=location;if(a&&a!="none")return a=="single_host_origin"?b.protocol+"//"+b.host:a};
_.Hx=function(a){if(!a)throw new Vw("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 Vw("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(!_.Kj(b,"."+a)&&!_.Kj(b,a))throw new Vw("Invalid cookiePolicy domain");return d};var Jx=function(a){var b=a||{},c=Ix();_.Bb(Nw,function(d){typeof b[d]==="undefined"&&typeof c[d]!=="undefined"&&(b[d]=c[d])});return b},Ix=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;Qw[d]&&(d=Qw[d]);_.tb(Nw,d)&&e&&(a[d]=e=="true"?!0:e=="false"?!1:e)}}return a},Kx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Lx=function(a){_.Bb(Nw,
function(b){var c=Kx(b);typeof a[c]!=="undefined"&&typeof a[b]==="undefined"&&(a[b]=a[c],delete a[c])})},Mx=function(a){a=Jx(a);Lx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Nw+Ow,c;for(c in a)b.indexOf(c)<0&&delete a[c];return a},Nx=function(a,b){if(!a)throw new Vw("Empty initial options.");for(var c=0;c<Mw.length;++c)if(!(b&&Mw[c]=="scope"||a[Mw[c]]))throw new Vw("Missing required parameter '"+Mw[c]+"'");_.Hx(a.cookie_policy)},Px=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:Gx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Lw};Ox(b,a);_.Bb(Pw,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=_.Ue("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},Ox=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||lw());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},Ux=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=Qx(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:Gx(c),idpId:Lw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||lw());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.Bb(Pw.concat(Ow),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 Rx(a.response_type||"token"),Sx(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Tx(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=_.Ue("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},Qx=function(a){a=new Rx(a.response_type||"token");var b=[];Tx(a)&&b.push("token");Vx(a,"id_token")&&b.push("id_token");
b.length==0&&(b=["token","id_token"]);return b.join(" ")},Wx=["permission","id_token"],Xx=/(^|[^_])token/,Rx=function(a){this.Mr=[];this.jI(a)};Rx.prototype.jI=function(a){a?((a.indexOf("permission")>=0||a.match(Xx))&&this.Mr.push("permission"),a.indexOf("id_token")>=0&&this.Mr.push("id_token"),a.indexOf("code")>=0&&this.Mr.push("code")):this.Mr=Wx};var Sx=function(a){return Vx(a,"code")},Tx=function(a){return Vx(a,"permission")};Rx.prototype.toString=function(){return this.Mr.join(" ")};
var Vx=function(a,b){var c=!1;_.Bb(a.Mr,function(d){d==b&&(c=!0)});return c};var Zx=function(a,b,c){this.vJ=b;this.oda=a;for(var d in a)a.hasOwnProperty(d)&&Yx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.vJ[c[a]]},Yx=function(a,b){a[b]=function(){return a.oda[b].apply(a.vJ,arguments)}};Zx.prototype.then=function(a,b,c){var d=this;return _.Bk().then(function(){return $x(d.vJ,a,b,c)})};_.mk(Zx);var Cx,ay,cy;Cx=null;_.by=function(){return Cx?ay():null};ay=function(){return new Zx(cy.prototype,Cx,["currentUser","isSignedIn"])};cy=function(a){delete a.include_granted_scopes;this.Ka=Px(a);this.g8=a.cookie_policy;this.Yaa=!!a.scope;(this.PA=a.fetch_basic_profile!==!1)&&(this.Ka.authParameters.scope=dy(this,"openid profile email"));this.Ka.supportBlocked3PCookies=Ax(a.use_fedcm);this.Xu=a.hosted_domain;this.Cha=a.ux_mode||"popup";this.aC=a.redirect_uri||null;this.gI()};
cy.prototype.gI=function(){this.currentUser=new ox(new Bx(null));this.isSignedIn=new ox(!1);this.ve=new _.fw(this.Ka);this.UA=this.fr=null;this.jca=new _.xk(function(a,b){this.fr=a;this.UA=b},this);this.DB={};this.pv=!0;ey(this);this.ve.start()};
var ey=function(a){a.ve.addEventListener("error",function(b){a.pv&&a.fr&&(a.pv=!1,a.UA({error:b.error,details:b.details}),a.fr=null,a.UA=null)});a.ve.addEventListener("authResult",function(b){b&&b.authResult&&a.Bf(b);a.ve.vu()(b)});a.ve.addEventListener("tokenReady",function(b){var c=new Bx(b.response);if(a.Xu&&a.Xu!=c.PG())a.Bf({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.PG(),expectedDomain:a.Xu});else{a.currentUser.get().update(c);
var d=a.currentUser;d.qc.notify(d.La);a.isSignedIn.set(!0);c=c.EG();(d=_.Hx(a.g8))&&c&&_.ji.set(["G_AUTHUSER_",window.location.protocol==="https:"&&d.ff?"S":"H",d.Ti].join(""),c,{domain:d.domain,secure:d.isSecure});_.Hw(b.response);a.Bf(b)}});a.ve.addEventListener("noSessionBound",function(b){a.pv&&b.autoOpenAuthUrl?(a.pv=!1,$w(a.ve).select(function(c){if(c&&c.login_hint){var d=a.ve;_.Yv(d,d.tD,[c.login_hint,!0])}else a.currentUser.set(new Bx(null)),a.isSignedIn.set(!1),_.Iw(),a.Bf(b)})):(a.currentUser.set(new Bx(null)),
a.isSignedIn.set(!1),_.Iw(),a.Bf(b))});a.ve.addEventListener("tokenFailed",function(b){a.Bf(b)});a.ve.addEventListener("userLoggedOut",function(b){a.currentUser.get().Wk();var c=a.currentUser;c.qc.notify(c.La);a.isSignedIn.set(!1);_.Iw();a.Bf(b)})},$x=function(a,b,c,d){return a.jca.then(function(e){if(b)return b(e.J$)},c,d)};cy.prototype.Bf=function(a){if(a){this.pv=!1;var b=a.type||"";if(this.DB[b])this.DB[b](a);this.fr&&(this.fr({J$:this}),this.UA=this.fr=null)}};
var fy=function(a,b){_.Wb(b,function(c,d){a.DB[d]=function(e){a.DB={};c(e)}})},Fx=function(a,b,c,d){d=_.fk(d);a.Xu&&(d.hd=a.Xu);var e=d.ux_mode||a.Cha;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.aC||xx()+window.location.pathname),gy(a,f)):(delete d.redirect_uri,hy(a,f),fy(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):fy(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};cy.prototype.Vk=function(a){return new _.xk(function(b,c){var d=new rx(a);this.OH=d.Eu()?!0:!1;this.PA?(d.Ka.fetch_basic_profile=!0,sx(d,"email profile openid")):d.Ka.fetch_basic_profile=!1;var e=dy(this,d.Eu());d.R_(e);Fx(this,b,c,d.get())},this)};
cy.prototype.Lu=function(a){var b=a||{};this.OH=!!b.scope;a=dy(this,b.scope);if(a=="")return _.Ck({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.Bb(Rw,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=iy(this,c):(c.redirect_uri=b.redirect_uri,gy(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
a=_.Bk({message:"Redirecting to IDP."}));return a};
var iy=function(a,b){b.origin=xx();delete b.redirect_uri;hy(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.xk(function(c,d){fy(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},hy=function(a,b){wx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");Bw(a.ve,tx(),b)},gy=function(a,b){wx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");Cw(a.ve,b)};
cy.prototype.Wk=function(a){var b=a||!1;return new _.xk(function(c){ow(this.ve,b,function(){c()})},this)};cy.prototype.WT=function(){return this.Ka.authParameters.scope};var dy=function(a,b){a=a.WT();b=kw(b?b.split(" "):[],a?a.split(" "):[]);_.Dh(b);return b.join(" ")};cy.prototype.tK=function(){var a=this;return new _.xk(function(b,c){fy(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.ve.kT()})};
cy.prototype.TP=function(a,b,c,d){if(a=typeof a==="string"?document.getElementById(a):a){var e=this;_.Bj(a,"click",function(){var f=b;typeof b=="function"&&(f=b());e.Vk(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."})};cy.prototype.disconnect=function(){return new _.xk(function(a){this.ve.revoke(function(){a()})},this)};cy.prototype.attachClickHandler=cy.prototype.TP;var jy;_.xk.prototype["catch"]=_.xk.prototype.zD;jy=null;_.ky=function(a){zx();a=Mx(a);if(Cx){if(_.Vu(a,jy||{}))return ay();throw new Vw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Nx(a,a.fetch_basic_profile!==!1);vx();jy=a;Cx=new cy(a);_.Je.ga=1;return ay()};var my,oy,ly,qy,py,ry;
_.ny=function(a,b){zx();vx();a=Mx(a);Nx(a);var c=Ux(a);c.supportBlocked3PCookies=Ax(a.use_fedcm);var d=new _.hw(c);a.prompt=="none"?ly(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)}):my(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.NY.wi;b(e)})};
my=function(a,b,c){var d=new Rx(b.response_type);c=oy(a,d,c);var e={responseType:d.toString()};wx(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Sx(d)&&wx(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&wx(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&wx(e,["sessionMeta","extraQueryParams","state"],b.state);b=tx();a.Ak?c({authResult:{error:"idpiframe_initialization_failed",details:a.Un().error}}):(a.nn=
c,Bw(a,b,e))};oy=function(a,b,c){if(Tx(b)){var d=py(c);return function(e){e&&e.authResult&&!e.authResult.error?a.vu(function(f){f&&!f.error?(f=_.fk(f),Sx(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(_.fk(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
ly=function(a,b,c){if(Sx(new Rx(b.response_type))&&b.access_type=="offline")c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=py(c);b.login_hint?a.sG(b.login_hint,function(e){e?qy(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):b.authuser!==void 0&&b.authuser!==null?bx(a,b.authuser).select(function(e){e&&e.login_hint?qy(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.ou(function(e){e&&e.hint?qy(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):(b.session_selection=="first_valid"?ax(a):$w(a)).select(function(f){f&&f.login_hint?qy(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};qy=function(a,b,c,d){b=new Rx(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.gj(f,k),e==0&&d(f))};(Tx(b)||Vx(b,"id_token"))&&e++;Sx(b)&&e++;(Tx(b)||Vx(b,"id_token"))&&_.iw(a,c,h);Sx(b)&&Dw(a,c,h)};
py=function(a){return function(b){if(!b||b.error)_.Iw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.fk(b);ry(c);delete c.id_token;delete c.code;_.Hw(c)}a(b)}}};ry=function(a){_.Bb(Sw,function(b){delete a[b]})};_.t("gapi.auth2.init",_.ky);_.t("gapi.auth2.authorize",function(a,b){if(Cx!=null)throw new Vw("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).");_.ny(a,function(c){ry(c);b(c)})});_.t("gapi.auth2._gt",function(){return _.ui()});_.t("gapi.auth2.enableDebugLogs",function(a){a=a!==!1;_.Wu=a!="0"&&!!a});_.t("gapi.auth2.getAuthInstance",_.by);
_.t("gapi.auth2.BasicProfile",Dx);_.t("gapi.auth2.BasicProfile.prototype.getId",Dx.prototype.getId);_.t("gapi.auth2.BasicProfile.prototype.getName",Dx.prototype.lg);_.t("gapi.auth2.BasicProfile.prototype.getGivenName",Dx.prototype.X9);_.t("gapi.auth2.BasicProfile.prototype.getFamilyName",Dx.prototype.T9);_.t("gapi.auth2.BasicProfile.prototype.getImageUrl",Dx.prototype.f$);_.t("gapi.auth2.BasicProfile.prototype.getEmail",Dx.prototype.On);_.t("gapi.auth2.GoogleAuth",cy);
_.t("gapi.auth2.GoogleAuth.prototype.attachClickHandler",cy.prototype.TP);_.t("gapi.auth2.GoogleAuth.prototype.disconnect",cy.prototype.disconnect);_.t("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",cy.prototype.Lu);_.t("gapi.auth2.GoogleAuth.prototype.signIn",cy.prototype.Vk);_.t("gapi.auth2.GoogleAuth.prototype.signOut",cy.prototype.Wk);_.t("gapi.auth2.GoogleAuth.prototype.getInitialScopes",cy.prototype.WT);_.t("gapi.auth2.GoogleUser",Bx);_.t("gapi.auth2.GoogleUser.prototype.grant",Bx.prototype.L$);
_.t("gapi.auth2.GoogleUser.prototype.getId",Bx.prototype.getId);_.t("gapi.auth2.GoogleUser.prototype.isSignedIn",Bx.prototype.xg);_.t("gapi.auth2.GoogleUser.prototype.getAuthResponse",Bx.prototype.Ql);_.t("gapi.auth2.GoogleUser.prototype.getBasicProfile",Bx.prototype.A9);_.t("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Bx.prototype.Z9);_.t("gapi.auth2.GoogleUser.prototype.getHostedDomain",Bx.prototype.PG);_.t("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Bx.prototype.Lu);
_.t("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Bx.prototype.wA);_.t("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Bx.prototype.tK);_.t("gapi.auth2.LiveValue",ox);_.t("gapi.auth2.LiveValue.prototype.listen",ox.prototype.na);_.t("gapi.auth2.LiveValue.prototype.get",ox.prototype.get);_.t("gapi.auth2.SigninOptionsBuilder",rx);_.t("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",rx.prototype.z9);_.t("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",rx.prototype.Ufa);
_.t("gapi.auth2.SigninOptionsBuilder.prototype.getScope",rx.prototype.Eu);_.t("gapi.auth2.SigninOptionsBuilder.prototype.setScope",rx.prototype.R_);_.t("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",rx.prototype.v$);_.t("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",rx.prototype.rga);_.t("gapi.auth2.SigninOptionsBuilder.prototype.get",rx.prototype.get);
_.Ye=_.Ye||{};
(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}_.Ye.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)};_.Ye.UQ=function(b){var c=_.Ye.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(_.Ye.dG(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.Ye.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};_.Ye.yT=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};_.Ye.Cqa=function(b){return a(b)}})();
_.Dg=window.gapi&&window.gapi.util||{};
_.Dg=_.Dg={};_.Dg.getOrigin=function(a){return _.Fg(a)};
_.Ny=function(a){if(a.indexOf("GCSC")!==0)return null;var b={xj:!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=_.Ly(a.substr(d+1));if(e==null)return b;a=a.substring(0,d);if(a.charAt(0)!=="_")return b;d=c==="E"&&e.ff;return!d&&(c!=="U"||e.ff)||d&&!_.My?b:{xj:!0,ff:d,Q7:a.substr(1),domain:e.domain,Ti:e.Ti}};_.Oy=function(a,b){this.dh=a;a=b||{};this.Rca=Number(a.maxAge)||0;this.Yd=a.domain;this.Jm=a.path;this.Bfa=!!a.secure};_.Oy.prototype.read=function(){for(var a=this.dh+"=",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)}};
_.Oy.prototype.write=function(a,b){if(!Py.test(this.dh))throw"Invalid cookie name";if(!Qy.test(a))throw"Invalid cookie value";a=this.dh+"="+a;this.Yd&&(a+=";domain="+this.Yd);this.Jm&&(a+=";path="+this.Jm);b=typeof b==="number"?b:this.Rca;if(b>=0){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.Bfa&&(a+=";secure");document.cookie=a;return!0};_.Oy.prototype.clear=function(){this.write("",0)};var Qy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Py=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.Oy.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("="))}};_.Ry=function(a){this.Mf=a};_.Ry.prototype.read=function(){if(Sy.hasOwnProperty(this.Mf))return Sy[this.Mf]};_.Ry.prototype.write=function(a){Sy[this.Mf]=a;return!0};_.Ry.prototype.clear=function(){delete Sy[this.Mf]};var Sy={};_.Ry.iterate=function(a){for(var b in Sy)Sy.hasOwnProperty(b)&&a(b,Sy[b])};var Ty=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},Uy=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}},Vy=function(a,b){this.dh=a;this.vN=
Uy(b)?b||window.sessionStorage:new Ty};Vy.prototype.read=function(){return this.vN.getItem(this.dh)};Vy.prototype.write=function(a){try{this.vN.setItem(this.dh,a)}catch(b){return!1}return!0};Vy.prototype.clear=function(){this.vN.removeItem(this.dh)};Vy.iterate=function(a){if(Uy())for(var b=window.sessionStorage.length,c=0;c<b;++c){var d=window.sessionStorage.key(c);a(d,window.sessionStorage[d])}};_.My=window.location.protocol==="https:";_.Wy=_.My||window.location.protocol==="http:"?_.Oy:_.Ry;_.Ly=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{ff:a.charAt(0)=="S",domain:d,Ti:c}};var Xy,Yy,az,bz;Xy=_.ze();Yy=_.ze();_.Zy=_.ze();_.$y=_.ze();az="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");bz=function(a){this.HY=a;this.cJ=null};
bz.prototype.write=function(a){var b=_.ze(),c=_.ze(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.Ae(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=az.length;for(e=0;e<d;++e)delete c[az[e]];a=String(a.authuser||0);d=_.ze();d[a]=c;c=_.Of(d);this.HY.write(c);this.cJ=b};bz.prototype.read=function(){return this.cJ};bz.prototype.clear=function(){this.HY.clear();this.cJ=_.ze()};_.cz=function(a){return a?{domain:a.domain,path:"/",secure:a.ff}:null};
Vy.iterate(function(a){var b=_.Ny(a);b&&b.xj&&(Xy[a]=new bz(new Vy(a)))});_.Wy.iterate(function(a){Xy[a]&&(Yy[a]=new _.Wy(a,_.cz(_.Ny(a))))});
_.ki=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,r=0;r<64;r+=4)q[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;r<80;r++)p=q[r-3]^q[r-8]^q[r-14]^q[r-16],q[r]=(p<<1|p>>>31)&4294967295;p=e[0];var w=e[1],u=e[2],x=e[3],A=e[4];for(r=0;r<80;r++){if(r<40)if(r<20){var C=x^w&(u^x);var F=1518500249}else C=w^u^x,F=1859775393;else r<60?(C=w&u|x&(w|u),F=2400959708):(C=w^u^x,F=3395469782);C=((p<<5|p>>>27)&4294967295)+
C+A+F+q[r]&4294967295;A=x;x=u;u=(w<<30|w>>>2)&4294967295;w=p;p=C}e[0]=e[0]+p&4294967295;e[1]=e[1]+w&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+A&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var r=[],w=0,u=p.length;w<u;++w)r.push(p.charCodeAt(w));p=r}q||(q=p.length);r=0;if(m==0)for(;r+64<q;)b(p.slice(r,r+64)),r+=64,n+=64;for(;r<q;)if(f[m++]=p[r++],n++,m==64)for(m=0,b(f);r+64<q;)b(p.slice(r,r+64)),r+=64,n+=64}function d(){var p=[],
q=n*8;m<56?c(k,56-m):c(k,64-(m-56));for(var r=63;r>=56;r--)f[r]=q&255,q>>>=8;b(f);for(r=q=0;r<5;r++)for(var w=24;w>=0;w-=8)p[q++]=e[r]>>w&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,Si:function(){for(var p=d(),q="",r=0;r<p.length;r++)q+="0123456789ABCDEF".charAt(Math.floor(p[r]/16))+"0123456789ABCDEF".charAt(p[r]%16);return q}}};var mi=function(a,b,c){var d=String(_.Xa.location.href);return d&&a&&b?[b,li(_.Fg(d),a,c||null)].join(" "):null},li=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],_.Bb(d,function(k){e.push(k)}),ni(e.join(" "));var f=[],h=[];_.Bb(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];_.Bb(d,function(k){e.push(k)});a=ni(e.join(" "));a=[c,a];h.length==0||a.push(h.join(""));return a.join("_")},ni=function(a){var b=
_.ki();b.update(a);return b.Si().toLowerCase()};var pi;_.oi=function(){var a=_.Xa.__SAPISID||_.Xa.__APISID||_.Xa.__3PSAPISID||_.Xa.__1PSAPISID||_.Xa.__OVERRIDE_SID;if(a)return!0;typeof document!=="undefined"&&(a=new _.hi(document),a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("__Secure-1PAPISID"));return!!a};pi=function(a,b,c,d){(a=_.Xa[a])||typeof document==="undefined"||(a=(new _.hi(document)).get(b));return a?mi(a,c,d):null};
_.qi=function(a){var b=_.Fg(String(_.Xa.location.href)),c=[];if(_.oi()){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?_.Xa.__SAPISID:_.Xa.__APISID;d||typeof document==="undefined"||(d=new _.hi(document),d=d.get(b?"SAPISID":"APISID")||d.get("__Secure-3PAPISID"));(d=d?mi(d,b?"SAPISIDHASH":"APISIDHASH",a):null)&&c.push(d);b&&((b=pi("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&c.push(b),(a=
pi("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&c.push(a))}return c.length==0?null:c.join(" ")};
_.ri=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};_.si={YU:_.ri,gca:_.oi,aU:function(){var a=null;_.oi()&&(a=window.__PVT,a==null&&(a=(new _.hi(document)).get("BEAT")));return a},uT:_.qi};
var ts,us;_.ls=function(a){if(a instanceof _.ec)return a.bZ;throw Error("j");};_.ms=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.ns=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.os=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};_.g=_.os.prototype;_.g.clone=function(){return new _.os(this.x,this.y)};_.g.equals=function(a){return a instanceof _.os&&_.ns(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 _.os?(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};_.ps=function(a){return a.scrollingElement?a.scrollingElement:!_.zd&&_.ee(a)?a.documentElement:a.body||a.documentElement};
_.qs=function(a){var b=_.ps(a);a=a.defaultView;return new _.os(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.rs=function(a,b,c,d){return _.$d(a.Cc,b,c,d)};_.ss=function(a){return _.qs(a.Cc)};ts=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};us=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.vs=function(a){return _.Zd(document,a)};_.g=_.ms.prototype;_.g.Qb=function(){return this.right-this.left};_.g.Nc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.ms(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.ms?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){_.vb(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 _.os?(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 ys,ws,Cs,Es;_.xs=function(a,b,c){if(typeof b==="string")(b=ws(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=ws(c,d);f&&(c.style[f]=e)}};ys={};ws=function(a,b){var c=ys[b];if(!c){var d=ts(b);c=d;a.style[d]===void 0&&(d=(_.zd?"Webkit":_.yd?"Moz":null)+us(d),a.style[d]!==void 0&&(c=d));ys[b]=c}return c};_.zs=function(a,b){var c=a.style[ts(b)];return typeof c!=="undefined"?c:a.style[ws(a,b)]||""};
_.As=function(a,b){var c=_.Xd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Bs=function(a,b){return _.As(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};Cs=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.Fs=function(a,b){b=b||_.ps(document);var c=b||_.ps(document);var d=_.Ds(a),e=_.Ds(c),f=_.As(c,"borderLeftWidth");var h=_.As(c,"borderRightWidth");var k=_.As(c,"borderTopWidth"),l=_.As(c,"borderBottomWidth");h=new _.ms(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.ps(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=Es(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 _.os(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Ds=function(a){var b=_.Xd(a),c=new _.os(0,0);if(a==(b?_.Xd(b):document).documentElement)return c;a=Cs(a);b=_.ss(_.Yd(b));c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Hs=function(a,b){var c=new _.os(0,0),d=_.fe(_.Xd(a));a:{try{_.Ub(d.parent);var e=!0;break a}catch(f){}e=!1}if(!e)return c;do e=d==b?_.Ds(a):_.Gs(a),c.x+=e.x,c.y+=e.y;while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};
_.Gs=function(a){a=Cs(a);return new _.os(a.left,a.top)};_.Js=function(a,b,c){if(b instanceof _.od)c=b.height,b=b.width;else if(c==void 0)throw Error("K");a.style.width=_.Is(b,!0);a.style.height=_.Is(c,!0)};_.Is=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a};
_.Ks=function(a){var b=Es;if(_.Bs(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};Es=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.zd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Cs(a),new _.od(a.right-a.left,a.bottom-a.top)):new _.od(b,c)};_.Ls=function(a,b){a.style.display=b?"":"none"};
_.Ns=function(a){var b=_.Yd(void 0),c=_.rs(b,"HEAD")[0];if(!c){var d=_.rs(b,"BODY")[0];c=b.wa("HEAD");d.parentNode.insertBefore(c,d)}d=b.wa("STYLE");var e;(e=_.Ec("style",document))&&d.setAttribute("nonce",e);_.Ms(d,a);b.appendChild(c,d)};_.Ms=function(a,b){b=_.ls(b);_.Xa.trustedTypes?_.se(a,b):a.innerHTML=b};_.Os=_.yd?"MozUserSelect":_.zd||_.wd?"WebkitUserSelect":null;
_.dz=function(a){_.bj.call(this);this.Mf=1;this.UB=[];this.ZB=0;this.Sf=[];this.Rj={};this.f7=!!a};_.eb(_.dz,_.bj);_.g=_.dz.prototype;_.g.subscribe=function(a,b,c){var d=this.Rj[a];d||(d=this.Rj[a]=[]);var e=this.Mf;this.Sf[e]=a;this.Sf[e+1]=b;this.Sf[e+2]=c;this.Mf=e+3;d.push(e);return e};_.g.Mw=_.jb(18);_.g.unsubscribe=function(a,b,c){if(a=this.Rj[a]){var d=this.Sf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.kl(a)}return!1};
_.g.kl=function(a){var b=this.Sf[a];if(b){var c=this.Rj[b];this.ZB!=0?(this.UB.push(a),this.Sf[a+1]=function(){}):(c&&_.ej(c,a),delete this.Sf[a],delete this.Sf[a+1],delete this.Sf[a+2])}return!!b};
_.g.Yo=function(a,b){var c=this.Rj[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.f7)for(f=0;f<c.length;f++)e=c[f],ez(this.Sf[e+1],this.Sf[e+2],d);else{this.ZB++;try{for(f=0,e=c.length;f<e&&!this.isDisposed();f++){var h=c[f];this.Sf[h+1].apply(this.Sf[h+2],d)}}finally{if(this.ZB--,this.UB.length>0&&this.ZB==0)for(;c=this.UB.pop();)this.kl(c)}}return f!=0}return!1};var ez=function(a,b,c){_.vk(function(){a.apply(b,c)})};
_.dz.prototype.clear=function(a){if(a){var b=this.Rj[a];b&&(b.forEach(this.kl,this),delete this.Rj[a])}else this.Sf.length=0,this.Rj={}};_.dz.prototype.Yb=function(a){if(a){var b=this.Rj[a];return b?b.length:0}a=0;for(b in this.Rj)a+=this.Yb(b);return a};_.dz.prototype.ua=function(){_.dz.N.ua.call(this);this.clear();this.UB.length=0};
_.fz=function(a){this.lha=a};_.gz=function(a){_.bj.call(this);this.ne=new _.dz(a);_.dj(this,this.ne)};_.fz.prototype.toString=function(){return this.lha};_.eb(_.gz,_.bj);_.g=_.gz.prototype;_.g.subscribe=function(a,b,c){return this.ne.subscribe(a.toString(),b,c)};_.g.Mw=_.jb(17);_.g.unsubscribe=function(a,b,c){return this.ne.unsubscribe(a.toString(),b,c)};_.g.kl=function(a){return this.ne.kl(a)};_.g.Yo=function(a,b){return this.ne.Yo(a.toString(),b)};_.g.clear=function(a){this.ne.clear(a!==void 0?a.toString():void 0)};_.g.Yb=function(a){return this.ne.Yb(a!==void 0?a.toString():void 0)};
var hz,iz,lz,jz,mz,nz,kz;hz=function(a){var b=_.sc("");return _.cc(a.map(function(c){return _.dc(_.sc(c))}).join(_.dc(b).toString()))};iz=function(a){return hz(a)};lz=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!jz.test(e))throw Error("j");if(f!==void 0&&f!==null){if(/^on./i.test(e))throw Error("j");kz.indexOf(e.toLowerCase())!==-1&&(f=_.kc(f)?f.toString():_.qc(String(f))||"about:invalid#zClosurez");f=e+'="'+_.sc(String(f))+'"';b+=" "+f}}return b};
_.oz=function(a,b){if(!jz.test("div"))throw Error("j");if(mz.indexOf("DIV")!==-1)throw Error("j");var c="<div";a&&(c+=lz(a));Array.isArray(b)||(b=b===void 0?[]:[b]);nz.indexOf("DIV")!==-1?c+=">":(a=iz(b.map(function(d){return d instanceof _.bc?d:_.sc(String(d))})),c+=">"+a.toString()+"</div>");return _.cc(c)};jz=/^[a-z][a-z\d-]*$/i;mz="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" ");nz="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" ");
kz=["action","formaction","href"];_.pz=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.Xo+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.xs(a,"transition",b.join(","))};_.qz=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=_.je("DIV"),b=_.zd?"-webkit":_.yd?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");_.Fc(a,_.oz({style:c}));return _.zs(a.firstChild,"transition")!=""});
_.rz=function(a,b){_.Mj.call(this);this.ym=a||1;this.Ww=b||_.Xa;this.gQ=(0,_.z)(this.iha,this);this.NW=_.id()};_.eb(_.rz,_.Mj);_.g=_.rz.prototype;_.g.enabled=!1;_.g.Hc=null;_.g.setInterval=function(a){this.ym=a;this.Hc&&this.enabled?(this.stop(),this.start()):this.Hc&&this.stop()};
_.g.iha=function(){if(this.enabled){var a=_.id()-this.NW;a>0&&a<this.ym*.8?this.Hc=this.Ww.setTimeout(this.gQ,this.ym-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.gQ,this.ym),this.NW=_.id())};_.g.stop=function(){this.enabled=!1;this.Hc&&(this.Ww.clearTimeout(this.Hc),this.Hc=null)};_.g.ua=function(){_.rz.N.ua.call(this);this.stop();delete this.Ww};
_.sz=function(a,b,c){if(typeof a==="function")c&&(a=(0,_.z)(a,c));else if(a&&typeof a.handleEvent=="function")a=(0,_.z)(a.handleEvent,a);else throw Error("xa");return Number(b)>2147483647?-1:_.Xa.setTimeout(a,b||0)};_.tz=function(a){_.Xa.clearTimeout(a)};
_.vz=function(){_.uz="oauth2relay"+String(2147483647*(0,_.Ng)()|0)};_.wz=new _.gz;_.xz=new _.fz("oauth");_.vz();_.Ue("oauth-flow/client_id");var yz=String(_.Ue("oauth-flow/redirectUri"));if(yz)yz.replace(/[#][\s\S]*/,"");else{var zz=_.Dg.getOrigin(window.location.href);_.Ue("oauth-flow/callbackUrl");encodeURIComponent(zz)}_.Dg.getOrigin(window.location.href);
var Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,Zz,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,uA,xA,wA,yA,zA,AA,BA,CA,DA,EA,FA,GA,IA;_.Az=function(a,b){if(_.Jh&&!b)return _.Xa.atob(a);var c="";_.Mh(a,function(d){c+=String.fromCharCode(d)});return c};Bz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return b==="true"||a==="none"};Cz=function(a){return _.ci("enableMultilogin")&&a("cookie_policy")&&!Bz(a)?!0:!1};
Fz=function(){var a,b=null;_.Wy.iterate(function(c,d){c.indexOf("G_AUTHUSER_")===0&&(c=c.substring(11),c=_.Ly(c),!a||c.ff&&!a.ff||c.ff==a.ff&&c.Ti>a.Ti)&&(a=c,b=d)});return{r7:a,authuser:b}};Gz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Hz=function(a){a=a.toUpperCase();for(var b=Gz.length,c=0;c<b;++c){var d=a.split(Gz[c]);d.length==2&&d[1]===""&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();a.length>40&&(b=new _.Mg,b.nx(a),a=b.Si().toUpperCase());return a};
Iz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Jz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],Sfa:Iz(a[1]),sra:Iz(a[2]),lqa:Iz(a[3])}};Kz=function(a){var b=Fz(),c=b.r7;b=b.authuser;var d=a&&Hz(a);if(b!==null){var e;_.Wy.iterate(function(h,k){(h=_.Ny(h))&&h.xj&&(d&&h.Q7!=d||h.ff==c.ff&&h.Ti==c.Ti&&(e=k))});if(e){var f=Jz(e);a=f&&f.Sfa[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,osa:a,clientId:f}}}return null};
Lz=function(a,b){a=_.ui(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};_.Mz=function(a,b){if(b){var c=b;var d=a}else typeof a==="string"?d=a:c=a;c?_.Hw(c,d):_.Iw(d)};
Sz=function(a){if(!a)return null;a!=="single_host_origin"&&(a=_.Fg(a));var b=window.location.hostname,c=b,d=_.My;if(a!=="single_host_origin"){c=a.split("://");if(c.length==2)d=c.shift()==="https";else return _.Sf.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 _.Sf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,ff:d,Ti:b}};
Tz=function(a){var b=Sz(a);if(!b)return new _.Ry("G_USERSTATE_");a=["G_USERSTATE_",_.My&&b.ff?"S":"H",b.Ti].join("");var c=_.$y[a];c||(c={aJ:63072E3},_.Be(_.cz(b),c),c=new _.Oy(a,c),_.$y[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};Uz=function(a){var b=Tz(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};
Vz=function(a,b,c){var d=Uz(b),e=d[a];d[a]="0";var f=[];_.Qm(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=Tz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};Wz=function(a,b){b=Uz(b);return b[a]=="0"||b[a]=="X"};Xz=function(a){a=Sz(a.g_user_cookie_policy);if(!a||a.ff&&!_.My)a=null;else{var b=["G_AUTHUSER_",_.My&&a.ff?"S":"H",a.Ti].join(""),c=_.Zy[b];c||(c=new _.Wy(b,_.cz(a)),_.Zy[b]=c);a=c}_.Ve("googleapis.config/sessionIndex",null);a.clear()};Yz=function(a){return Bz(function(b){return a[b]})};
Zz=0;$z=!1;aA=[];bA={};cA={};dA=null;eA=function(a){var b=_.uz;return function(c){if(this.f==b&&this.t==_.Xf.Nn(this.f)&&this.origin==_.Xf.bo(this.f))return a.apply(this,arguments)}};fA=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("za");};gA=function(a){var b=_.Ye.Rg,c=b(a).jsh;if(c!=null)return fA(c),a;if(b=String(b().jsh||_.Je.h||""))fA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(a.substr(0,c).indexOf("?")!==-1?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};
hA=function(){return!!_.Ue("oauth-flow/usegapi")};iA=function(a,b){hA()?dA.unregister(a):_.Xf.unregister(a+":"+b)};jA=function(a,b,c){hA()?dA.register(a,c,_.dn):_.Xf.register(a+":"+b,eA(c))};kA=function(){Dz.parentNode.removeChild(Dz)};
lA=function(a){var b=Dz;_.pz(b,[{Xo:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.pz(b,[{Xo:"transform",duration:1,timing:"ease",delay:0}]);_.sz(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};mA=function(){var a=Ez+88;lA(a);Ez=a};nA=function(){var a=Ez-88;lA(a);Ez=a};
oA=function(a){var b=a?mA:nA,c=a?nA:mA;a=a?"-":"";Ez=parseInt(a+88,10);Dz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Dz.style.transform="translate3d(0px,"+a+88+"px,0px)";Dz.style.display="";Dz.style.visibility="visible";b();_.sz(c,4E3);_.sz(kA,5E3)};
pA=function(a){var b=_.Ue("oauth-flow/toast/position");b!=="top"&&(b="bottom");var c=document.createElement("div");Dz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.xs(c,"visibility","hidden");_.xs(c,b,"-40px");_.xs(c,"height","128px");var d=c;if(_.Kr()){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"?"-":"";Ez=parseInt(e+88,10);Dz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Dz.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){}_.an.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){b==="top"?oA(!0):oA(!1)}})};
qA=function(a){var b=_.Po(),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];_.Om.call(b,e)==-1&&b.push(e)}b.length>0&&(a.scope=b.join(" "))}return a};
rA=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=_.Ue("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||Kz(c)!=null||!Yz(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};sA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Nf(_.Az(a,!0));if(a===!1)throw Error("Aa");return a};tA=function(a){return(a=sA(a))?a.sub:null};
uA=function(a){a&&aA.push(a);a=_.uz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(Zz&&c-Zz<6E4)return;var d=_.Xf.Nn(a);d&&(iA("oauth2relayReady",d),iA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.vz();a=_.uz}Zz=c;var e=String(2147483647*(0,_.Ng)()|0);b=_.Ue("oauth-flow/proxyUrl")||_.Ue("oauth-flow/relayUrl");hA()?dA=_.an.openChild({where:_.Ye.yT(),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(_.Dg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ye.yT(),d=_.Ye.UQ({name:a,id:a}),d.src=gA(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),_.Xf.Cw(a));jA("oauth2relayReady",e,function(){iA("oauth2relayReady",e);var f=aA;if(f!==null){aA=
null;for(var h=f.length,k=0;k<h;++k)f[k]()}});jA("oauth2callback",e,function(f){var h=_.Ye.Rg;h=h(f);var k=h.state;f=k;f=f.replace(/\|.*$/,"");f={}.hasOwnProperty.call(cA,f)?cA[f]:null;h.state=f;if(h.state!=null){f=bA[k];delete bA[k];k=f&&f.key||"token";var l=h=rA(f&&f.params,h);var m=(m=tA(l))?Wz(m,l.cookie_policy):!1;!m&&l&&(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")>=0&&_.Ue("isLoggedIn")&&(l&&l._aa)==="1"&&(l._aa="0",$z||($z=!0,pA(l)));_.Mz(k,h);h=Lz(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)}}})};_.vA=function(a){aA!==null?uA(a):a&&a()};xA=function(a,b){var c=wA,d=tA(a);d&&(Xz(a),Vz(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=rA(null,e);c(e)}}))};
wA=function(a){a||(a=Lz(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||(_.Je.drw=null);_.Mz(a);if(b=a.authuser)_.Ue("googleapis.config/sessionIndex"),_.Ve("googleapis.config/sessionIndex",b);_.wz.Yo(_.xz,a);return a};yA=["client_id","cookie_policy","response_type"];zA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
AA=function(a){var b=_.fk(a);b.session_state&&b.session_state.extraQueryParams&&(b.authuser=b.session_state.extraQueryParams.authuser);b.session_state=null;a.expires_at&&(b.expires_at=parseInt(a.expires_at/1E3).toString());a.expires_in&&(b.expires_in=a.expires_in.toString());a.first_issued_at&&(b.issued_at=parseInt(a.first_issued_at/1E3).toString(),delete b.first_issued_at);_.Hw(b);return b};
BA=function(a){if(a.include_granted_scopes===void 0){var b=_.Ue("include_granted_scopes");a.include_granted_scopes=!!b}};CA=function(a){window.console&&(typeof window.console.warn==="function"?window.console.warn(a):typeof window.console.log==="function"&&window.console.log(a))};
DA=function(a){var b=a||{},c={};_.Bb(zA,function(d){b[d]!=null&&(c[d]=b[d])});a=_.Ue("googleapis/overrideClientId");a!=null&&(c.client_id=a);BA(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{_.Hx(c.cookie_policy)}catch(d){c.cookie_policy&&
CA("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=_.gi(),a!=null&&(c.authuser=a));a=b.redirect_uri||_.Ue("oauth-flow/redirectUri");
a!=null&&a!="postmessage"&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
EA=function(a,b){var c=DA(a),d=new _.xk(function(e,f){_.ny(c,function(h){var k=h||{};_.Bb(yA,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=AA(k),h.authuser!=null&&_.Ve("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};FA=_.si.uT;GA=null;
_.JA=function(a,b){if(a.approvalprompt!=="force"){a=_.HA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)GA?(a.client_id!==GA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(GA=a,b=!1);b||IA(a)}};
_.HA=function(a){var b=a.redirecturi||"postmessage",c=_.yc((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=_.yc(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||_.Ue("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Ue("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};IA=function(a){_.Bp("waaf0","signin","0");EA(a,function(b){_.Bp("waaf1","signin","0");wA(b)})};
_.KA=function(a){a=_.HA(a);_.Ve("oauth-flow/authWindowWidth",445);_.Ve("oauth-flow/authWindowHeight",615);IA(a)};_.LA=function(a){_.wz.unsubscribe(_.xz,a);_.wz.subscribe(_.xz,a)};var SA,VA;_.NA=function(a){return a.cookiepolicy?!0:(_.MA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.MA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.RA=function(a,b){var c=_.Po();_.Be(a,c);c=qA(c);if(_.NA(c)){var d=_.OA();_.PA(c);b?_.Ie(b,"click",function(){_.QA(c,d)}):_.QA(c,d)}};
_.OA=function(){var a=new SA;_.LA(function(b){a.bJ&&b&&(b.access_token&&_.Ve("isPlusUser",!0),b["g-oauth-window"]&&(a.bJ=!1,_.Sf.warn("OTA app install is no longer supported.")))});return a};SA=function(){this.bJ=!1};_.PA=function(a){a=_.TA(a);_.UA(a.callback);_.vA(function(){_.JA(a)})};_.TA=function(a){VA(a);a.redirecturi&&delete a.redirecturi;Cz(function(b){return a[b]})||(a.authuser=0);return a};VA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.UA=function(a){if(typeof a==="string")if(window[a])a=window[a];else{_.MA('Callback function named "'+a+'" not found');return}a&&_.LA(a)};_.QA=function(a,b){b.bJ=!0;a=_.TA(a);_.KA(a)};_.t("gapi.auth.authorize",EA);_.t("gapi.auth.checkSessionState",function(a,b){var c=_.ze();c.client_id=a.client_id;c.session_state=a.session_state;_.vA(function(){hA()?dA.send("check_session_state",c,function(d){b.call(null,d[0])},_.dn):_.Xf.call(_.uz,"check_session_state",eA(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.t("gapi.auth.getAuthHeaderValueForFirstParty",FA);_.t("gapi.auth.getToken",Lz);
_.t("gapi.auth.getVersionInfo",function(a,b){_.vA(function(){var c=_.qi()||"",d=null,e=null;c&&(e=c.split(" "),e.length==2&&(d=e[1]));d?hA()?dA.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.dn):_.Xf.call(_.uz,"get_versioninfo",eA(function(f){a(f)}),d,b):a()})});_.t("gapi.auth.init",_.vA);_.t("gapi.auth.setToken",_.Mz);_.t("gapi.auth.signIn",function(a){_.RA(a)});_.t("gapi.auth.signOut",function(){var a=Lz();a&&xA(a,a.cookie_policy)});
_.t("gapi.auth.unsafeUnpackIdToken",sA);_.t("gapi.auth._pimf",_.JA);_.t("gapi.auth._oart",pA);_.t("gapi.auth._guss",function(a){return Tz(a).read()});
var WA=_.Po();WA.clientid&&WA.scope&&WA.callback&&!_.Ue("disableRealtimeCallback")&&_.PA(WA);
});
// Google Inc.
