gapi.loaded_1(function(_){var window=this;
var Kh;_.Fh=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(_.td(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)}};_.Gh=function(a,b){b=b||a;for(var c=0,d=0,e={};d<a.length;){var f=a[d++],h=_.xb(f)?"o"+_.wh(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,h)||(e[h]=!0,b[c++]=f)}b.length=c};_.Hh=function(a){for(var b in a)return!1;return!0};
_.Ih=function(a,b){a.src=_.uc(b);(b=_.Qc("script",a.ownerDocument))&&a.setAttribute("nonce",b)};_.Jh=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};
_.Mh=function(a,b){b===void 0&&(b=0);Kh();b=Lh[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("")};
_.Oh=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=Nh[m];if(n!=null)return n;if(!_.Jc(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(!Nh){Nh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Lh[c]=d;for(var e=0;e<d.length;e++){var f=d[e];Nh[f]===void 0&&(Nh[f]=e)}}}};var Lh,Nh;Lh={};Nh=null;_.Ph=_.Hd||_.Id||!_.Eh&&typeof _.fb.atob=="function";
var li;_.ki=function(a){this.zc=a||{cookie:""}};_.g=_.ki.prototype;_.g.isEnabled=function(){if(!_.fb.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{EJ: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.Sxa;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.EJ}if(/[;=\s]/.test(a))throw Error("z`"+a);if(/[;\r\n]/.test(b))throw Error("A`"+b);k===void 0&&(k=-1);this.zc.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.zc.cookie||"").split(";"),e=0,f;e<d.length;e++){f=_.Lc(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.Ll(a);this.set(a,"",{EJ:0,path:b,domain:c});return d};_.g.lg=function(){return li(this).keys};_.g.Xe=function(){return li(this).values};_.g.isEmpty=function(){return!this.zc.cookie};_.g.Zb=function(){return this.zc.cookie?(this.zc.cookie||"").split(";").length:0};
_.g.Ll=function(a){return this.get(a)!==void 0};_.g.clear=function(){for(var a=li(this).keys,b=a.length-1;b>=0;b--)this.remove(a[b])};li=function(a){a=(a.zc.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=_.Lc(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}};_.mi=new _.ki(typeof document=="undefined"?null:document);
_.ui={};_.vi=function(a){return _.ui[a||"token"]||null};
_.$i=function(a){a&&typeof a.dispose=="function"&&a.dispose()};_.aj=function(){this.Kg=this.Kg;this.Vo=this.Vo};_.aj.prototype.Kg=!1;_.aj.prototype.isDisposed=function(){return this.Kg};_.aj.prototype.dispose=function(){this.Kg||(this.Kg=!0,this.wa())};_.aj.prototype[Symbol.dispose]=function(){this.dispose()};_.cj=function(a,b){_.bj(a,_.kb(_.$i,b))};_.bj=function(a,b){a.Kg?b():(a.Vo||(a.Vo=[]),a.Vo.push(b))};_.aj.prototype.wa=function(){if(this.Vo)for(;this.Vo.length;)this.Vo.shift()()};
var kj,oj;kj=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.mj=function(a,b){_.lj.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.BK=!1;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.Bf=null;a&&this.init(a,b)};
oj=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Hf=e;this.key=++nj;this.Hw=this.Qy=!1};_.pj=function(a){this.src=a;this.ke={};this.Kx=0};_.lj=function(a,b){this.type="function"==typeof _.qj&&a instanceof _.qj?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.Cw=!1};_.lj.prototype.stopPropagation=function(){this.Cw=!0};_.lj.prototype.preventDefault=function(){this.defaultPrevented=!0};_.qb(_.mj,_.lj);
_.mj.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=_.Id||a.offsetX!==void 0?a.offsetX:a.layerX,
this.offsetY=_.Id||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.BK=_.Kd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=
a.pointerType;this.state=a.state;this.timeStamp=a.timeStamp;this.Bf=a;a.defaultPrevented&&_.mj.N.preventDefault.call(this)};_.mj.prototype.stopPropagation=function(){_.mj.N.stopPropagation.call(this);this.Bf.stopPropagation?this.Bf.stopPropagation():this.Bf.cancelBubble=!0};_.mj.prototype.preventDefault=function(){_.mj.N.preventDefault.call(this);var a=this.Bf;a.preventDefault?a.preventDefault():a.returnValue=!1};_.rj="closure_listenable_"+(Math.random()*1E6|0);_.sj=function(a){return!(!a||!a[_.rj])};var nj=0;var tj=function(a){a.Hw=!0;a.listener=null;a.proxy=null;a.src=null;a.Hf=null};_.pj.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.ke[f];a||(a=this.ke[f]=[],this.Kx++);var h=uj(a,b,d,e);h>-1?(b=a[h],c||(b.Qy=!1)):(b=new oj(b,this.src,f,!!d,e),b.Qy=c,a.push(b));return b};_.pj.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ke))return!1;var e=this.ke[a];b=uj(e,b,c,d);return b>-1?(tj(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.ke[a],this.Kx--),!0):!1};
_.vj=function(a,b){var c=b.type;if(!(c in a.ke))return!1;var d=_.dj(a.ke[c],b);d&&(tj(b),a.ke[c].length==0&&(delete a.ke[c],a.Kx--));return d};_.pj.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,tj(d[e]);delete this.ke[c];this.Kx--}return b};_.pj.prototype.Oq=function(a,b,c,d){a=this.ke[a.toString()];var e=-1;a&&(e=uj(a,b,c,d));return e>-1?a[e]:null};
_.pj.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return kj(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 uj=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Hw&&f.listener==b&&f.capture==!!c&&f.Hf==d)return e}return-1};var wj,xj,yj,Cj,Ej,Fj,Gj,Ij;wj="closure_lm_"+(Math.random()*1E6|0);xj={};yj=0;_.Aj=function(a,b,c,d,e){if(d&&d.once)return _.zj(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=_.Bj(c);return _.sj(a)?a.ua(b,c,_.xb(d)?!!d.capture:!!d,e):Cj(a,b,c,!1,d,e)};
Cj=function(a,b,c,d,e,f){if(!b)throw Error("B");var h=_.xb(e)?!!e.capture:!!e,k=_.Dj(a);k||(a[wj]=k=new _.pj(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=Ej();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)_.wi||(e=h),e===void 0&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Fj(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("C");yj++;return c};
Ej=function(){var a=Gj,b=function(c){return a.call(b.src,b.listener,c)};return b};_.zj=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.zj(a,b[f],c,d,e);return null}c=_.Bj(c);return _.sj(a)?a.Gr(b,c,_.xb(d)?!!d.capture:!!d,e):Cj(a,b,c,!0,d,e)};
_.Hj=function(a){if(typeof a==="number"||!a||a.Hw)return!1;var b=a.src;if(_.sj(b))return b.gO(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Fj(c),d):b.addListener&&b.removeListener&&b.removeListener(d);yj--;(c=_.Dj(b))?(_.vj(c,a),c.Kx==0&&(c.src=null,b[wj]=null)):tj(a);return!0};Fj=function(a){return a in xj?xj[a]:xj[a]="on"+a};
Gj=function(a,b){if(a.Hw)a=!0;else{b=new _.mj(b,this);var c=a.listener,d=a.Hf||a.src;a.Qy&&_.Hj(a);a=c.call(d,b)}return a};_.Dj=function(a){a=a[wj];return a instanceof _.pj?a:null};Ij="__closure_events_fn_"+(Math.random()*1E9>>>0);_.Bj=function(a){if(typeof a==="function")return a;a[Ij]||(a[Ij]=function(b){return a.handleEvent(b)});return a[Ij]};_.jj(function(a){Gj=a(Gj)});
_.Jj=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c};_.de.prototype.U=_.rb(5,function(a){return _.ge(this.zc,a)});_.Kj=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.Kj(a,b[f],c,d,e);else d=_.xb(d)?!!d.capture:!!d,c=_.Bj(c),_.sj(a)?a.yc(b,c,d,e):a&&(a=_.Dj(a))&&(b=a.Oq(b,c,d,e))&&_.Hj(b)};_.Lj=function(){_.aj.call(this);this.uk=new _.pj(this);this.Vaa=this;this.vK=null};_.qb(_.Lj,_.aj);_.Lj.prototype[_.rj]=!0;_.g=_.Lj.prototype;_.g.ho=function(){return this.vK};
_.g.CD=function(a){this.vK=a};_.g.addEventListener=function(a,b,c,d){_.Aj(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.Kj(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.ho();if(c)for(b=[];c;c=c.ho())b.push(c);c=this.Vaa;var d=a.type||a;if(typeof a==="string")a=new _.lj(a,c);else if(a instanceof _.lj)a.target=a.target||c;else{var e=a;a=new _.lj(d,c);_.fj(a,e)}e=!0;var f;if(b)for(f=b.length-1;!a.Cw&&f>=0;f--){var h=a.currentTarget=b[f];e=h.Fu(d,!0,a)&&e}a.Cw||(h=a.currentTarget=c,e=h.Fu(d,!0,a)&&e,a.Cw||(e=h.Fu(d,!1,a)&&e));if(b)for(f=0;!a.Cw&&f<b.length;f++)h=a.currentTarget=b[f],e=h.Fu(d,!1,a)&&e;return e};
_.g.wa=function(){_.Lj.N.wa.call(this);this.YK();this.vK=null};_.g.ua=function(a,b,c,d){return this.uk.add(String(a),b,!1,c,d)};_.g.Gr=function(a,b,c,d){return this.uk.add(String(a),b,!0,c,d)};_.g.yc=function(a,b,c,d){return this.uk.remove(String(a),b,c,d)};_.g.gO=function(a){return _.vj(this.uk,a)};_.g.YK=function(){this.uk&&this.uk.removeAll(void 0)};
_.g.Fu=function(a,b,c){a=this.uk.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.Hw&&f.capture==b){var h=f.listener,k=f.Hf||f.src;f.Qy&&this.gO(f);d=h.call(k,c)!==!1&&d}}return d&&!c.defaultPrevented};_.g.Oq=function(a,b,c,d){return this.uk.Oq(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.uk.hasListener(a!==void 0?String(a):void 0,b)};
var rr;rr=function(){var a=_.Sc();if(_.Zc())return _.fd(a);a=_.Wc(a);var b=_.ed(a);return _.Yc()?b(["Version","Opera"]):_.$c()?b(["Edge"]):_.ad()?b(["Edg"]):_.Vc("Silk")?b(["Silk"]):_.dd()?b(["Chrome","CriOS","HeadlessChrome"]):(a=a[2])&&a[1]||""};_.sr=function(a){return _.Nc(rr(),a)>=0};_.ur=function(){return _.Yb&&_.Tc?_.Tc.mobile:!_.tr()&&(_.Vc("iPod")||_.Vc("iPhone")||_.Vc("Android")||_.Vc("IEMobile"))};
_.tr=function(){return _.Yb&&_.Tc?!_.Tc.mobile&&(_.Vc("iPad")||_.Vc("Android")||_.Vc("Silk")):_.Vc("iPad")||_.Vc("Android")&&!_.Vc("Mobile")||_.Vc("Silk")};_.vr=function(){return!_.ur()&&!_.tr()};
var Fs;Fs=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Gs=function(a,b,c,d){return Array.prototype.splice.apply(a,Fs(arguments,1))};_.Hs=function(a,b,c){if(a!==null&&b in a)throw Error("h`"+b);a[b]=c};_.Is=function(a){_.aj.call(this);this.qg=a;this.lc={}};
_.Js=function(a,b){var c=b||document;c.getElementsByClassName?a=c.getElementsByClassName(a)[0]:(c=document,a=a?(b||c).querySelector(a?"."+a:""):_.he(c,"*",a,b)[0]||null);return a||null};_.Ks=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.Ls=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.qb(_.Is,_.aj);var Os=[];_.Is.prototype.ua=function(a,b,c,d){return this.Xv(a,b,c,d)};
_.Is.prototype.Xv=function(a,b,c,d,e){Array.isArray(b)||(b&&(Os[0]=b.toString()),b=Os);for(var f=0;f<b.length;f++){var h=_.Aj(a,b[f],c||this.handleEvent,d||!1,e||this.qg||this);if(!h)break;this.lc[h.key]=h}return this};_.Is.prototype.Gr=function(a,b,c,d){return Ps(this,a,b,c,d)};var Ps=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)Ps(a,b,c[h],d,e,f);else{b=_.zj(b,c,d||a.handleEvent,e,f||a.qg||a);if(!b)return a;a.lc[b.key]=b}return a};
_.Is.prototype.yc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.yc(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.xb(d)?!!d.capture:!!d,e=e||this.qg||this,c=_.Bj(c),d=!!d,b=_.sj(a)?a.Oq(b,c,d,e):a?(a=_.Dj(a))?a.Oq(b,c,d,e):null:null,b&&(_.Hj(b),delete this.lc[b.key]);return this};_.Is.prototype.removeAll=function(){_.ec(this.lc,function(a,b){this.lc.hasOwnProperty(b)&&_.Hj(a)},this);this.lc={}};_.Is.prototype.wa=function(){_.Is.N.wa.call(this);this.removeAll()};
_.Is.prototype.handleEvent=function(){throw Error("L");};
var zu,Au,Bu,Cu,Du,Fu,Gu,Hu,Iu,Ku;_.xu=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};_.yu=!1;zu=function(a){try{_.yu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Au=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};Bu=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};
Cu=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};Du=function(a){return Object.prototype.toString.call(a)==="[object Function]"};_.Eu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};Fu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return b==null?"":b[1].replace(/\+/g," ")};
Gu=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);};Hu={token:1,id_token:1};Iu=function(){var a=navigator.userAgent.toLowerCase();return a.indexOf("msie")!=-1&&parseInt(a.split("msie")[1],10)==8};_.Ju=window.JSON;Ku=function(a){this.tO=a||[];this.mc={}};
Ku.prototype.addEventListener=function(a,b){if(!(Bu(this.tO,a)>=0))throw Error("S`"+a);if(!Du(b))throw Error("T`"+a);this.mc[a]||(this.mc[a]=[]);Bu(this.mc[a],b)<0&&this.mc[a].push(b)};Ku.prototype.removeEventListener=function(a,b){if(!(Bu(this.tO,a)>=0))throw Error("S`"+a);Du(b)&&this.mc[a]&&this.mc[a].length&&(b=Bu(this.mc[a],b),b>=0&&this.mc[a].splice(b,1))};
Ku.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&Bu(this.tO,b)>=0))throw Error("U`"+b);if(this.mc[b]&&this.mc[b].length)for(var c=this.mc[b].length,d=0;d<c;d++)this.mc[b][d](a)};var Lu,Mu,Ou,Su,Tu,jv,kv,mv,nv,pv,tv,uv,vv,zv;Lu={};Mu={};_.Nu=function(){if(_.nd()&&!_.sr("118"))return!1;var a=_.dd()&&!_.ad()&&!_.bd()&&!navigator.userAgent.includes("SamsungBrowser"),b=_.id()||_.vr();return"IdentityCredential"in window&&a&&b&&_.sr("132")&&(_.vr()||_.id())};Ou={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"}};_.Pu=function(a,b){if(a=Ou[a])return a[b]};
_.Qu=function(a,b){if(!a)throw Error("V");if(!b.authServerUrl)throw Error("W");if(!b.idpIFrameUrl)throw Error("X");Ou[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl};b.fedcmConfigUrl?Ou[a].fedcmConfigUrl=b.fedcmConfigUrl:a==="google"&&(Ou[a].fedcmConfigUrl="https://accounts.google.com/o/fedcm/config.json")};_.Ru=void 0;
Su=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")};Tu=function(){this.Hi=window;this.mz=this.In=this.zw=this.wi=null};
Tu.prototype.open=function(a,b,c,d){Uu(this);this.zw?(this.In&&(this.In(),this.In=null),Vu(this)):this.zw="authPopup"+Math.floor(Math.random()*1E6+1);a:{this.wi=this.Hi.open(a,this.zw,b);try{this.wi.focus();if(this.wi.closed||typeof this.wi.closed=="undefined")throw Error("Z");_.Ru=this.wi}catch(e){d&&setTimeout(d,0);this.wi=null;break a}c&&(this.In=c,Wu(this))}};
var Uu=function(a){try{if(a.wi==null||a.wi.closed)a.wi=null,a.zw=null,Vu(a),a.In&&(a.In(),a.In=null)}catch(b){a.wi=null,a.zw=null,Vu(a)}},Wu=function(a){a.mz=window.setInterval(function(){Uu(a)},300)},Vu=function(a){a.mz&&(window.clearInterval(a.mz),a.mz=null)};Mu=Mu||{};var Xu=function(a,b){this.Yb=a;this.OI=b;this.Oc=null;this.zo=!1};Xu.prototype.start=function(){if(!this.zo&&!this.Oc){var a=this;this.Oc=window.setTimeout(function(){a.clear();a.zo||(a.Yb(),a.zo=!0)},Mu.OU(this.OI))}};
Xu.prototype.clear=function(){this.Oc&&(window.clearTimeout(this.Oc),this.Oc=null)};var Yu=function(a,b){var c=Mu.Et;this.lga=Mu.tt;this.a4=c;this.Yb=a;this.OI=b;this.Oc=null;this.zo=!1;var d=this;this.b4=function(){document[d.lga]||(d.clear(),d.start())}};Yu.prototype.start=function(){if(!this.zo&&!this.Oc){Gu(document,this.a4,this.b4);var a=this;this.Oc=window.setTimeout(function(){a.clear();a.zo||(a.Yb(),a.zo=!0)},Mu.OU(this.OI))}};
Yu.prototype.clear=function(){var a=this.a4,b=this.b4,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.Oc&&(window.clearTimeout(this.Oc),this.Oc=null)};Mu.tt=null;Mu.Et=null;
Mu.Mga=function(){var a=document;typeof a.hidden!=="undefined"?(Mu.tt="hidden",Mu.Et="visibilitychange"):typeof a.msHidden!=="undefined"?(Mu.tt="msHidden",Mu.Et="msvisibilitychange"):typeof a.webkitHidden!=="undefined"&&(Mu.tt="webkitHidden",Mu.Et="webkitvisibilitychange")};Mu.Mga();Mu.nca=function(a,b){return Mu.tt&&Mu.Et?new Yu(a,b):new Xu(a,b)};Mu.OU=function(a){return Math.max(1,a-(new Date).getTime())};
var Zu=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},$u=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 v=e[1],u=e[2],z=e[3],C=e[4];for(r=0;r<80;r++){if(r<40)if(r<20){var A=z^v&(u^z);var D=1518500249}else A=
v^u^z,D=1859775393;else r<60?(A=v&u|z&(v|u),D=2400959708):(A=v^u^z,D=3395469782);A=((p<<5|p>>>27)&4294967295)+A+C+D+q[r]&4294967295;C=z;z=u;u=(v<<30|v>>>2)&4294967295;v=p;p=A}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+z&4294967295;e[4]=e[4]+C&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var r=[],v=0,u=p.length;v<u;++v)r.push(p.charCodeAt(v));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 v=24;v>=0;v-=8)p[q++]=e[r]>>v&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,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}}},av=
window.crypto,bv=!1,cv=0,dv=1,ev=0,fv="",gv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;dv=dv*b%ev;if(++cv==3)if(a=window,b=gv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("R`mousemove");},hv=function(a){var b=$u();b.update(a);return b.Si()};bv=!!av&&typeof av.getRandomValues=="function";
bv||(ev=(screen.width*screen.width+screen.height)*1E6,fv=hv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),Gu(window,"mousemove",gv));Lu=Lu||{};Lu.T6="ssIFrame_";
_.iv=function(a,b,c){c=c===void 0?!1:c;this.Bb=a;if(!this.Bb)throw Error("$");a=_.Pu(a,"idpIFrameUrl");if(!a)throw Error("aa");this.XV=a;if(!b)throw Error("ba");this.Ym=b;a=this.XV;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.uI=a.join("");this.nka=[location.protocol,"//",location.host].join("");
this.zx=this.tI=this.Do=!1;this.TV=null;this.bC=[];this.ds=[];this.fk={};this.Eo=void 0;this.Ws=c};_.g=_.iv.prototype;_.g.show=function(){var a=this.Eo;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(){Su(this.Eo)};
_.g.GB=function(a){if(this.Do)a&&a(this);else{if(!this.Eo){var b=Lu.T6+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&&Bu(e.split("|"),c)>=0)?Zu(e,d):Zu(e?e+"|"+c:c,d);c=!f;var h=this.XV,k=this.nka;d=this.Ym;e=this.Ws;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&&Du(document.requestStorageAccess)&&
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);f.setAttribute("allow","identity-credentials-get");Su(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.yu&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Eo=f}a&&this.bC.push(a)}};_.g.qX=function(){return this.Do&&this.zx};_.g.co=function(){return this.TV};
jv=function(a){for(var b=0;b<a.bC.length;b++)a.bC[b](a);a.bC=[]};_.lv=function(a,b,c,d){if(a.Do){if(a.Do&&a.tI)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.co(),zu(a),Error(a);kv(a,{method:b,params:c},d)}else a.ds.push({vp:{method:b,params:c},callback:d}),a.GB()};kv=function(a,b,c){if(c){for(var d=b.id;!d||a.fk[d];)d=(new Date).getMilliseconds()+"-"+(Math.random()*1E6+1);b.id=d;a.fk[d]=c}b.rpcToken=a.Ym;a.Eo.contentWindow.postMessage(_.Ju.stringify(b),a.uI)};
mv=function(a){if(a&&a.indexOf("::")>=0)throw Error("ca");};_.iv.prototype.Cj=function(a,b,c,d,e,f,h,k,l){l=l===void 0?!1:l;mv(f);b=_.Eu(b);_.lv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.iv.prototype.EB=function(a,b,c,d,e){b=_.Eu(b);_.lv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};nv=function(a,b,c){mv(b.identifier);_.lv(a,"getSessionSelector",b,c)};
_.ov=function(a,b,c,d,e){mv(b.identifier);_.lv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};pv=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);_.lv(a,"monitorClient",b,h)};_.iv.prototype.revoke=_.da(12);_.iv.prototype.Tt=_.da(14);Lu.ZA={};Lu.rH=function(a){return Lu.ZA[a]};
Lu.GB=function(a,b,c){c=c===void 0?!1:c;var d=Lu.rH(a);if(!d){d=String;if(bv){var e=new window.Uint32Array(1);av.getRandomValues(e);e=Number("0."+e[0])}else e=dv,e+=parseInt(fv.substr(0,20),16),fv=hv(fv),e/=ev+1.2089258196146292E24;d=new _.iv(a,d(2147483647*e),c);Lu.ZA[a]=d}d.GB(b)};Lu.Uda=function(a){for(var b in Lu.ZA){var c=Lu.rH(b);if(c&&c.Eo&&c.Eo.contentWindow==a.source&&c.uI==a.origin)return c}};Lu.zea=function(a){for(var b in Lu.ZA){var c=Lu.rH(b);if(c&&c.uI==a)return c}};Lu=Lu||{};
var rv=function(){var a=[],b;for(b in _.qv)a.push(_.qv[b]);Ku.call(this,a);this.zm={};zu("EventBus is ready.")};Cu(rv,Ku);_.qv={x9:"sessionSelectorChanged",WE:"sessionStateChanged",ot:"authResult",l5:"displayIFrame"};tv=function(a,b){var c=sv;a&&b&&(c.zm[a]||(c.zm[a]=[]),Bu(c.zm[a],b)<0&&c.zm[a].push(b))};uv=function(a){var b=sv;a&&(b.zm[a]||(b.zm[a]=[]))};vv=function(a,b,c){return b&&a.zm[b]&&Bu(a.zm[b],c)>=0};_.g=rv.prototype;
_.g.tja=function(a){var b,c=!!a.source&&(a.source===_.Ru||a.source.opener===window);if(b=c?Lu.zea(a.origin):Lu.Uda(a)){try{var d=_.Ju.parse(a.data)}catch(e){zu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Ym){zu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.fk[c.id])delete b.fk[c.id],a(c.result,c.error);return}}d.method!="fireIdpEvent"?zu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.WV[a.type]?(d=this.WV[a.type],
c&&!d.aba?zu("Bad IDP event. Source window cannot be a popup."):d.it&&!d.it.call(this,b,a)?zu("Bad IDP event."):d.Hf.call(this,b,a)):zu("Bad IDP event.")}else zu("Bad event, no corresponding Idp Stub.")};_.g.Uka=function(a,b){return vv(this,a.Bb,b.clientId)};_.g.Tka=function(a,b){a=a.Bb;b=b.clientId;return!b||vv(this,a,b)};_.g.mba=function(a,b){return vv(this,a.Bb,b.clientId)};
_.g.Eia=function(a,b){a.Do=!0;a.zx=!!b.cookieDisabled;jv(a);for(b=0;b<a.ds.length;b++)kv(a,a.ds[b].vp,a.ds[b].callback);a.ds=[]};_.g.Dia=function(a,b){b={error:b.error};a.Do=!0;a.tI=!0;a.TV=b;a.ds=[];jv(a)};_.g.EC=function(a,b){b.originIdp=a.Bb;this.dispatchEvent(b)};var sv=new rv,wv=sv,xv={};xv.idpReady={Hf:wv.Eia};xv.idpError={Hf:wv.Dia};xv.sessionStateChanged={Hf:wv.EC,it:wv.Uka};xv.sessionSelectorChanged={Hf:wv.EC,it:wv.Tka};xv.authResult={Hf:wv.EC,it:wv.mba,aba:!0};xv.displayIFrame={Hf:wv.EC};
sv.WV=xv||{};Gu(window,"message",function(a){sv.tja.call(sv,a)});
_.yv=function(a,b){this.Oe=!1;if(!a)throw Error("da");var c=[],d;for(d in a)c.push(a[d]);Ku.call(this,c);this.Ad=[location.protocol,"//",location.host].join("");this.Yd=b.crossSubDomains?b.domain||this.Ad:this.Ad;if(!b)throw Error("ea");if(!b.idpId)throw Error("fa");if(!_.Pu(b.idpId,"authServerUrl")||!_.Pu(b.idpId,"idpIFrameUrl"))throw Error("ga`"+b.idpId);this.Bb=b.idpId;this.Pb=void 0;this.yca=!!b.disableTokenRefresh;this.rda=!!b.forceTokenRefresh;this.Tla=!!b.skipTokenCache;this.Ws=!!b.supportBlocked3PCookies;
b.pluginName&&(this.ija=b.pluginName);b.ackExtensionDate&&(this.Raa=b.ackExtensionDate);this.L3=b.useFedCm;this.bda=this.Ws&&_.Nu();this.setOptions(b);this.iu=[];this.zx=this.Fk=this.TW=!1;this.uj=void 0;this.H_();this.Nd=void 0;var e=this,f=function(){zu("Token Manager is ready.");if(e.iu.length)for(var h=0;h<e.iu.length;h++)e.iu[h].call(e);e.TW=!0;e.iu=[]};Lu.GB(this.Bb,function(h){e.Nd=h;h.Do&&h.tI?(e.Fk=!0,e.uj=h.co(),e.Qr(e.uj)):(e.zx=h.qX(),e.Pb?pv(e.Nd,e.Pb,e.ija,e.Raa,e.L3,e.bda,function(k){var l=
!!k.validOrigin,m=!!k.blocked,n=!!k.suppressed;k.invalidExtension?(e.uj={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.Fk=!0,e.Qr(e.uj)):l?m?n?(Au("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."),
tv(e.Bb,e.Pb),f()):(e.uj={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.Fk=!0,e.Qr(e.uj)):(Au("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."),
tv(e.Bb,e.Pb),f()):(e.uj={error:"Not a valid origin for the client: "+e.Ad+" has not been registered for client ID "+e.Pb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Fk=!0,e.Qr(e.uj))}):(uv(e.Bb),f()))},this.Ws)};Cu(_.yv,Ku);_.g=_.yv.prototype;_.g.setOptions=function(){};_.g.H_=function(){};_.g.Qr=function(){};_.g.qX=function(){return this.zx};_.g.co=function(){return this.uj};zv=function(a,b,c){return function(){b.apply(a,c)}};
_.Av=function(a,b,c){if(a.TW)b.apply(a,c);else{if(a.Fk)throw a.uj;a.iu.push(zv(a,b,c))}};_.yv.prototype.JQ=_.da(15);_.yv.prototype.Tt=_.da(13);_.Cv=function(a,b){_.yv.call(this,a,b);this.VZ=new Tu;this.Ok=this.Zo=null;Bv(this)};Cu(_.Cv,_.yv);_.Cv.prototype.setOptions=function(){};
var Dv=function(a,b){a.Le={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Yd};b.crossSubDomains&&(a.Le.policy=b.policy)},Ev=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.An=b.authParameters;a.An.redirect_uri||(a.An.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Mj=_.Eu(b.rpcAuthParameters||a.An);if(!a.Mj.scope)throw Error("ka");if(!a.Mj.response_type)throw Error("la");
a:{var c=a.Mj.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!Hu[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ma");if(b.enableSerialConsent||b.enableGranularConsent)a.An.enable_granular_consent=!0,a.Mj.enable_serial_consent=!0;b.authResultIdentifier&&(a.nba=b.authResultIdentifier);b.spec_compliant&&(a.Mj.spec_compliant=b.spec_compliant)};
_.Cv.prototype.H_=function(){var a=this;sv.addEventListener(_.qv.x9,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.lZ(b)});sv.addEventListener(_.qv.WE,function(b){a.Oe&&b.originIdp==a.Bb&&b.clientId==a.Pb&&a.mZ(b)});sv.addEventListener(_.qv.ot,function(b){_.Ru=void 0;a.Oe&&b.originIdp==a.Bb&&b.clientId==a.Pb&&b.id==a.Lk&&(a.Zo&&(window.clearTimeout(a.Zo),a.Zo=null),a.Lk=void 0,a.Uo(b))});sv.addEventListener(_.qv.l5,function(b){a.Oe&&
b.originIdp==a.Bb&&(b.hide?a.Nd.hide():a.Nd.show())})};_.Cv.prototype.lZ=function(){};_.Cv.prototype.mZ=function(){};_.Cv.prototype.Uo=function(){};var Gv=function(a,b){Fv(a);a.yca||(a.Ok=Mu.nca(function(){a.Cj(!0)},b-3E5),navigator.onLine&&a.Ok.start())},Fv=function(a){a.Ok&&(a.Ok.clear(),a.Ok=null)},Bv=function(a){var b=window;Iu()&&(b=document.body);Gu(b,"online",function(){a.Ok&&a.Ok.start()});Gu(b,"offline",function(){a.Ok&&a.Ok.clear()})};_.Cv.prototype.Cj=function(){};_.Cv.prototype.MY=_.da(16);
_.Cv.prototype.yha=function(a,b){if(!this.Pb)throw Error("qa");this.Nd.EB(this.Pb,this.Mj,this.Le,a,b)};_.Cv.prototype.EB=function(a,b){_.Av(this,this.yha,[a,b])};_.Iv=function(a){this.Fe=void 0;this.Lh=!1;this.ws=void 0;_.Cv.call(this,Hv,a)};Cu(_.Iv,_.Cv);var Hv={ZO:"noSessionBound",Dt:"userLoggedOut",u4:"activeSessionChanged",WE:"sessionStateChanged",Y$:"tokenReady",X$:"tokenFailed",ot:"authResult",ERROR:"error"};
_.Iv.prototype.setOptions=function(a){if(!a.clientId)throw Error("ra");this.Pb=a.clientId;this.Fa=a.id;Dv(this,a);Ev(this,a)};_.Iv.prototype.Qr=function(a){this.dispatchEvent({type:Hv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Bb})};var Jv=function(a){Fv(a);a.ws=void 0;a.pJ=void 0};_.g=_.Iv.prototype;
_.g.lZ=function(a){var b=a.newValue||{};if(this.Fe!=b.hint||this.Lh!=!!b.disabled){a=this.Fe;var c=!this.Fe||this.Lh;Jv(this);this.Fe=b.hint;this.Lh=!!b.disabled;(b=!this.Fe||this.Lh)&&!c?this.dispatchEvent({type:Hv.Dt,idpId:this.Bb}):b||(a!=this.Fe&&this.dispatchEvent({type:Hv.u4,idpId:this.Bb}),this.Fe&&this.Cj())}};
_.g.mZ=function(a){this.Lh||(this.Fe?a.user||this.ws?a.user==this.Fe&&(this.ws?a.sessionState?this.ws=a.sessionState:(Jv(this),this.dispatchEvent({type:Hv.Dt,idpId:this.Bb})):a.sessionState&&(this.ws=a.sessionState,this.Cj())):this.Cj():this.dispatchEvent({type:Hv.WE,idpId:this.Bb}))};_.g.Uo=function(a){this.dispatchEvent({type:Hv.ot,authResult:a.authResult})};_.g.Tu=_.da(18);_.g.Mu=function(a){_.Av(this,this.dH,[a])};_.g.dH=function(a){nv(this.Nd,this.Le,a)};
_.g.VD=function(a,b,c,d){d=d===void 0?!1:d;if(!a)throw Error("sa");Jv(this);this.Fe=a;this.Lh=!1;b&&_.ov(this.Nd,this.Le,!1,this.Fe);this.Oe=!0;this.Cj(c,!0,d)};_.g.start=function(){_.Av(this,this.Qs,[])};
_.g.Qs=function(){var a=this.Pb==Fu("client_id")?Fu("login_hint"):void 0;var b=this.Pb==Fu("client_id")?Fu("state"):void 0;this.YJ=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.VD(a,!0,!0,!0);else{var c=this;this.Mu(function(d){c.Oe=!0;d&&d.hint?(Jv(c),c.Fe=d.hint,c.Lh=!!d.disabled,c.Lh?c.dispatchEvent({type:Hv.Dt,idpId:c.Bb}):c.VD(d.hint)):(Jv(c),c.Fe=void 0,c.Lh=!(!d||!d.disabled),c.dispatchEvent({type:Hv.ZO,
autoOpenAuthUrl:!c.Lh,idpId:c.Bb}))})}};_.g.oda=function(){var a=this;this.Mu(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:Hv.Dt,idpId:a.Bb}):a.Cj(!0):a.dispatchEvent({type:Hv.ZO,idpId:a.Bb})})};_.g.JT=function(){_.Av(this,this.oda,[])};
_.g.Cj=function(a,b,c){var d=this;this.Nd.Cj(this.Pb,this.Mj,this.Fe,this.Le,function(e,f){(f=f||e.error)?f=="user_logged_out"?(Jv(d),d.dispatchEvent({type:Hv.Dt,idpId:d.Bb})):(d.pJ=null,d.dispatchEvent({type:Hv.X$,idpId:d.Bb,error:f})):(d.pJ=e,d.ws=e.session_state,Gv(d,e.expires_at),e.idpId=d.Bb,b&&d.YJ&&(e.state=d.YJ,d.YJ=void 0),d.dispatchEvent({type:Hv.Y$,idpId:d.Bb,response:e}))},this.Fa,a,!1,c===void 0?!1:c)};_.g.revoke=_.da(11);_.g.g0=_.da(19);
_.Kv=function(a){this.Bn=null;_.Cv.call(this,{},a);this.Oe=!0};Cu(_.Kv,_.Cv);_.g=_.Kv.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("ra");this.Pb=a.clientId;this.Fa=a.id;Dv(this,a);Ev(this,a)};_.g.Qr=function(a){this.Bn&&(this.Bn({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Bn=null)};_.g.Uo=function(a){if(this.Bn){var b=this.Bn;this.Bn=null;b(a)}};_.g.Tu=_.da(17);_.g.Mu=function(a){this.Fk?a(this.co()):_.Av(this,this.dH,[a])};
_.g.dH=function(a){nv(this.Nd,this.Le,a)};_.Lv=function(a,b,c){a.Fk?c(a.co()):_.Av(a,a.Qia,[b,c])};_.Kv.prototype.Qia=function(a,b){this.Nd.Cj(this.Pb,this.Mj,a,this.Le,function(c,d){d?b({error:d}):b(c)},this.Fa,this.rda,this.Tla)};_.Kv.prototype.WX=_.da(20);
var Mv,Nv,Pv,Qv,Rv,Sv,Tv,Uv,Vv,Wv,Xv,Yv,Zv,$v,aw,bw,cw,dw,ew,fw,gw,hw,lw,mw;Mv=function(a){var b=window.location;a=_.Dc(a);a!==void 0&&b.assign(a)};Nv=function(a){return Array.prototype.concat.apply([],arguments)};
_.Ov=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("")};
Pv=function(a){var b=[];_.Oh(a,function(c){b.push(c)});return b};Qv=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 _.Mh(a,3).substring(0,64)};Rv=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("&")};
Sv=function(a,b){(b===void 0?0:b)||window.addEventListener("hashchange",function(){location.hash.includes("client_id")&&window.location.reload()});Mv(a)};Tv=function(a,b,c){if(!a.Oe)throw Error("na");b?_.ov(a.Nd,a.Le,!0,void 0,c):_.ov(a.Nd,a.Le,!0,a.Fe,c)};Uv=function(a){if(!a.Oe)throw Error("na");return a.pJ};
_.Kv.prototype.WX=_.rb(20,function(a,b){var c=this.Nd,d=this.Pb,e=this.Le,f=_.Eu(this.Mj);delete f.response_type;_.lv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.Iv.prototype.g0=_.rb(19,function(a){Uv(this)&&Uv(this).access_token&&(this.Nd.revoke(this.Pb,Uv(this).access_token,a),Tv(this,!0))});
_.Iv.prototype.Tu=_.rb(18,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&(a.AC?(b.authResult.client_id=a.Pb,Sv(a.AC+"#"+Rv(b.authResult))):a.VD(b.authResult.login_hint,a.Lh||b.authResult.login_hint!=a.Fe,!0,!0))}});
_.Kv.prototype.Tu=_.rb(17,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Mu(function(d){_.ov(b.Nd,b.Le,d&&d.disabled,c.authResult.login_hint,function(){_.Lv(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"})}});_.Cv.prototype.MY=_.rb(16,function(){this.Pb&&_.lv(this.Nd,"startPolling",{clientId:this.Pb,origin:this.Ad,id:this.Lk})});
_.iv.prototype.revoke=_.rb(12,function(a,b,c){_.lv(this,"revoke",{clientId:a,token:b},c)});_.Iv.prototype.revoke=_.rb(11,function(a){_.Av(this,this.g0,[a])});Vv="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(" ");
Wv=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};
Xv=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};Yv=function(a){return a.length>0&&a.every(function(b){return Vv.includes(b)})};
Zv=function(a,b,c,d,e,f,h){var k=_.Pu(a,"authServerUrl");if(!k)throw Error("Y`"+a);a=_.Eu(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=Xv())&&(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?"?":"&")+Rv(a)};$v=function(a,b,c,d){if(!a.Pb)throw Error("oa");a.Lk=c||a.nba||"auth"+Math.floor(Math.random()*1E6+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Ad.split("//");c=b.extraQueryParams;var f=e[0],h=e[1];e=a.Lk;var k=f.indexOf(":");k>0&&(f=f.substring(0,k));f=["storagerelay://",f,"/",h,"?"];f.push("id="+e);c.redirect_uri=f.join("")}return Zv(a.Bb,a.Yd,a.Pb,a.An,!0,b,d)};
aw=function(a,b,c){if(!a.Pb)throw Error("oa");return Zv(a.Bb,a.Yd,a.Pb,a.An,!1,b,c)};bw=function(a,b){a.Zo&&window.clearTimeout(a.Zo);a.Zo=window.setTimeout(function(){a.Lk==b&&(_.Ru=void 0,a.Zo=null,a.Lk=void 0,a.Uo({authResult:{error:"popup_closed_by_user"}}))},1E3)};
cw=function(a,b,c){if(!a.Pb)throw Error("pa");c=c||{};c=$v(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Wv())&&_.Av(a,a.MY,[]);var d=a.Lk;a.VZ.open(c,b,function(){a.Lk==d&&bw(a,d)},function(){a.Lk=void 0;a.Uo({authResult:{error:"popup_blocked_by_browser"}})})};
dw=function(a,b){var c=b||{};b=_.Eu(a.An);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=_.Pu(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=Yv(e)?["name","email","picture"]:[];return{identity:{providers:[{configURL:d,clientId:a.Pb,fields:e,params:b}],mode:c},mediation:"required"}};
ew=function(a,b,c){if(!a.Pb)throw Error("pa");b=dw(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.Uo({type:_.qv.ot,idpId:a.Bb,authResult:e})},function(d){d.message.indexOf("identity-credentials-get")>=0||d.message.indexOf("Content Security Policy")>=0?c():a.Uo({type:_.qv.ot,idpId:a.Bb,authResult:{error:d}})})};
fw=function(a,b,c){a.Ws&&_.Nu()?ew(a,c,function(){return cw(a,b,c)}):cw(a,b,c)};gw=function(a,b){b=b||{};var c=aw(a,b.sessionMeta,b.responseType);a.Ws&&_.Nu()&&a.L3?(a.AC=b.sessionMeta.extraQueryParams.redirect_uri,ew(a,b,function(){return Sv(c,!0)})):Sv(c,!0)};hw=function(a,b,c){a.Fk?c(a.co()):_.Av(a,a.WX,[b,c])};_.iw=function(a){_.He(_.Se,"le",[]).push(a)};_.jw=function(a,b){_.ui[b||"token"]=a};_.kw=function(a){delete _.ui[a||"token"]};
mw=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){_.fb.setTimeout(d,0)}};_.Ju={parse:function(a){a=_.Sf("["+String(a)+"]");if(a===!1||a.length!==1)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Tf(a)}};_.Kv.prototype.NG=function(a,b){_.Av(this,this.dda,[a,b])};_.Kv.prototype.dda=function(a,b){this.Nd.NG(this.Pb,a,this.Mj,this.Le,b)};_.iv.prototype.NG=function(a,b,c,d,e){c=_.Eu(c);_.lv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var nw,ow=["client_id","cookie_policy","scope"],pw="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(" "),qw=["authuser","after_redirect","access_type","hl"],rw=["login_hint","prompt"],sw={clientid:"client_id",cookiepolicy:"cookie_policy"},
tw=["approval_prompt","authuser","login_hint","prompt","hd"],uw=["login_hint","g-oauth-window","status"],vw=Math.min(_.cf("oauth-flow/authWindowWidth",599),screen.width-20),ww=Math.min(_.cf("oauth-flow/authWindowHeight",600),screen.height-30);var xw=function(a){_.nb.call(this,a)};_.t(xw,_.nb);xw.prototype.name="gapi.auth2.ExternallyVisibleError";var yw=function(){};yw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length==1&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var zw=function(){};zw.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 Aw=function(a){this.oba=a};
Aw.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.oba){d.login_hint?b(d):b();return}}b()};var Bw=function(a){this.ve=a;this.mD=[]};Bw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.mD[b];f?(b++,c.ve.EB(function(h){h?f.select(h,d):d()})):a()}};d()};var Cw=function(a){a=new Bw(a);a.mD.push(new yw);return a},Dw=function(a){a=new Bw(a);a.mD.push(new zw);return a},Ew=function(a,b){b===void 0||b===null?b=Cw(a):(a=new Bw(a),a.mD.push(new Aw(b)),b=a);return b};var Fw=function(a){this.Hf=a;this.isActive=!0};Fw.prototype.remove=function(){this.isActive=!1};Fw.prototype.trigger=function(){};var Gw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Hw=function(){this.mc=[]};Hw.prototype.add=function(a){this.mc.push(a)};Hw.prototype.notify=function(a){for(var b=this.mc,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),e=Iw(e.Hf,a),e=(0,_.lk)(e),e=(0,_.jk)(e),lw||(lw=mw()),lw(e))}this.mc=c};var Iw=function(a,b){return function(){a(b)}};var Kw=function(a){this.Ma=null;this.Oma=new Jw(this);this.mc=new Hw;a!=void 0&&this.set(a)};Kw.prototype.set=function(a){a!=this.Ma&&(this.Ma=a,this.Oma.value=a,this.mc.notify(this.Ma))};Kw.prototype.get=function(){return this.Ma};Kw.prototype.ua=function(a){a=new Lw(this,a);this.mc.add(a);return a};Kw.prototype.get=Kw.prototype.get;var Lw=function(a,b){Fw.call(this,b);this.Cha=a};_.t(Lw,Fw);Lw.prototype.trigger=function(){var a=this.Hf;a(this.Cha.get())};
var Jw=function(a){this.value=null;this.ua=function(b){return new Gw(a.ua(b))}};var Mw={fpa:"fetch_basic_profile",fqa:"login_hint",Era:"prompt",Lra:"redirect_uri",dsa:"scope",yta:"ux_mode",Osa:"state"},Nw=function(a){this.La={};if(a&&!_.Hh(a))if(typeof a.get=="function")this.La=a.get();else for(var b in Mw){var c=Mw[b];c in a&&(this.La[c]=a[c])}};Nw.prototype.get=function(){return this.La};Nw.prototype.o1=function(a){this.La.scope=a;return this};Nw.prototype.jv=function(){return this.La.scope};
var Ow=function(a,b){var c=a.La.scope;b=Nv(b.split(" "),c?c.split(" "):[]);_.Gh(b);a.La.scope=b.join(" ")};_.g=Nw.prototype;_.g.xla=function(a){this.La.prompt=a;return this};_.g.Bea=function(){return this.La.prompt};_.g.Xka=function(){_.Xf.warn("Property app_package_name no longer supported and was not set");return this};_.g.Bda=function(){_.Xf.warn("Property app_package_name no longer supported")};_.g.qf=function(a){this.La.state=a};_.g.getState=function(){return this.La.state};var Pw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+vw,"height="+ww,"top="+(screen.height-ww)/2,"left="+(screen.width-vw)/2].join()},Qw=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=Pv(b);return c.call(a,_.Ov(b))},Rw=function(){nw=_.cf("auth2/idpValue","google");var a=_.cf("oauth-flow/authUrl",
"https://accounts.google.com/o/oauth2/auth"),b=_.cf("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");a={fedcmConfigUrl:_.cf("oauth-flow/fedcmConfigUrl","https://accounts.google.com/o/fedcm/config.json"),authServerUrl:a,idpIFrameUrl:b};_.Qu(nw,a)},Sw=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}_.xb(a[e])||(a[e]={});a=a[e]}},Tw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},
Vw=function(){var a=Uw();a.storage_path&&window.sessionStorage.setItem(a.storage_path,Tw()+window.location.pathname);if(a.status.toLowerCase()=="enforced")throw new xw("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href);a.status.toLowerCase()=="informational"&&_.Xf.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)},Ww=function(a){return _.mi.get("GSI_ALLOW_3PCD")==="1"?!0:a===!1?!1:a===!0||(_.Se.le||[]).includes("fedcm_migration_mod")?
!0:!1};var Xw=function(a){var b=a?(b=Qw(a))?b.sub:null:null;this.Fa=b;this.Hc=a?_.ak(a):null};_.g=Xw.prototype;_.g.getId=function(){return this.Fa};_.g.oH=function(){var a=Qw(this.Hc);return a?a.hd:null};_.g.ug=function(){return!!this.Hc};_.g.Xl=function(a){if(a)return this.Hc;a=Yw;var b=_.ak(this.Hc);!a.mB||a.mI||a.aga||(delete b.access_token,delete b.scope);return b};_.g.WK=function(){return Yw.WK()};_.g.jl=function(){this.Hc=null};_.g.dea=function(){return this.Hc?this.Hc.scope:null};
_.g.update=function(a){this.Fa=a.Fa;this.Hc=a.Hc;this.Hc.id_token?this.Gy=new Zw(this.Hc):this.Gy&&(this.Gy=null)};var $w=function(a){return a.Hc&&typeof a.Hc.session_state=="object"?_.ak(a.Hc.session_state.extraQueryParams||{}):{}};_.g=Xw.prototype;_.g.bH=function(){var a=$w(this);return a&&a.authuser!==void 0&&a.authuser!==null?a.authuser:null};
_.g.fl=function(a){var b=Yw,c=new Nw(a);b.mI=c.jv()?!0:!1;Yw.mB&&Ow(c,"openid profile email");return new _.sk(function(d,e){var f=$w(this);f.login_hint=this.getId();f.scope=c.jv();ax(b,d,e,f)},this)};_.g.rv=function(a){return new _.sk(function(b,c){var d=a||{},e=Yw;d.login_hint=this.getId();e.rv(d).then(b,c)},this)};_.g.Rea=function(a){return this.fl(a)};_.g.disconnect=function(){return Yw.disconnect()};_.g.Dda=function(){return this.Gy};
_.g.SA=function(a){if(!this.ug())return!1;var b=this.Hc&&this.Hc.scope?this.Hc.scope.split(" "):"";return _.Nb(a?a.split(" "):[],function(c){return _.vb(b,c)})};var Zw=function(a){a=Qw(a);this.wda=a.sub;this.Zg=a.name;this.Nea=a.given_name;this.ada=a.family_name;this.bW=a.picture;this.Dz=a.email};_.g=Zw.prototype;_.g.getId=function(){return this.wda};_.g.getName=function(){return this.Zg};_.g.bea=function(){return this.Nea};_.g.Wda=function(){return this.ada};_.g.jea=function(){return this.bW};
_.g.Xn=function(){return this.Dz};var Uw,bx;Uw=function(){var a=_.mi.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]}:(_.Xf.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};bx=function(a){var b=location;if(a&&a!="none")return a=="single_host_origin"?b.protocol+"//"+b.host:a};
_.cx=function(a){if(!a)throw new xw("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 xw("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(!_.Jj(b,"."+a)&&!_.Jj(b,a))throw new xw("Invalid cookiePolicy domain");return d};var ex=function(a){var b=a||{},c=dx();_.Hb(pw,function(d){typeof b[d]==="undefined"&&typeof c[d]!=="undefined"&&(b[d]=c[d])});return b},dx=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;sw[d]&&(d=sw[d]);_.vb(pw,d)&&e&&(a[d]=e=="true"?!0:e=="false"?!1:e)}}return a},fx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},gx=function(a){_.Hb(pw,
function(b){var c=fx(b);typeof a[c]!=="undefined"&&typeof a[b]==="undefined"&&(a[b]=a[c],delete a[c])})},hx=function(a){a=ex(a);gx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=pw+qw,c;for(c in a)b.indexOf(c)<0&&delete a[c];return a},ix=function(a,b){if(!a)throw new xw("Empty initial options.");for(var c=0;c<ow.length;++c)if(!(b&&ow[c]=="scope"||a[ow[c]]))throw new xw("Missing required parameter '"+ow[c]+"'");_.cx(a.cookie_policy)},kx=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:bx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:nw};jx(b,a);_.Hb(rw,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=_.cf("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},jx=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||Qv());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},px=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=lx(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:bx(c),idpId:nw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||Qv());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.Hb(rw.concat(qw),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 mx(a.response_type||"token"),nx(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),ox(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=_.cf("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},lx=function(a){a=new mx(a.response_type||"token");var b=[];ox(a)&&b.push("token");qx(a,"id_token")&&b.push("id_token");
b.length==0&&(b=["token","id_token"]);return b.join(" ")},rx=["permission","id_token"],sx=/(^|[^_])token/,mx=function(a){this.ls=[];this.JI(a)};mx.prototype.JI=function(a){a?((a.indexOf("permission")>=0||a.match(sx))&&this.ls.push("permission"),a.indexOf("id_token")>=0&&this.ls.push("id_token"),a.indexOf("code")>=0&&this.ls.push("code")):this.ls=rx};var nx=function(a){return qx(a,"code")},ox=function(a){return qx(a,"permission")};mx.prototype.toString=function(){return this.ls.join(" ")};
var qx=function(a,b){var c=!1;_.Hb(a.ls,function(d){d==b&&(c=!0)});return c};var ux=function(a,b,c){this.iw=b;this.ria=a;for(var d in a)a.hasOwnProperty(d)&&tx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.iw[c[a]]},tx=function(a,b){a[b]=function(){return a.ria[b].apply(a.iw,arguments)}};ux.prototype.then=function(a,b,c){var d=this;return _.wk().then(function(){return vx(d.iw,a,b,c)})};_.hk(ux);var Yw,wx,yx;Yw=null;_.xx=function(){return Yw?wx():null};wx=function(){return new ux(yx.prototype,Yw,["currentUser","isSignedIn"])};yx=function(a){delete a.include_granted_scopes;this.La=kx(a);this.lca=a.cookie_policy;this.aga=!!a.scope;(this.mB=a.fetch_basic_profile!==!1)&&(this.La.authParameters.scope=zx(this,"openid profile email"));this.La.supportBlocked3PCookies=Ww(a.use_fedcm);this.Ev=a.hosted_domain;this.Lma=a.ux_mode||"popup";this.AC=a.redirect_uri||null;this.GI()};
yx.prototype.GI=function(){this.currentUser=new Kw(new Xw(null));this.isSignedIn=new Kw(!1);this.ve=new _.Iv(this.La);this.sB=this.zr=null;this.kha=new _.sk(function(a,b){this.zr=a;this.sB=b},this);this.aC={};this.Pv=!0;Ax(this);this.ve.start()};
var Ax=function(a){a.ve.addEventListener("error",function(b){a.Pv&&a.zr&&(a.Pv=!1,a.sB({error:b.error,details:b.details}),a.zr=null,a.sB=null)});a.ve.addEventListener("authResult",function(b){b&&b.authResult&&a.zf(b);a.ve.Tu()(b)});a.ve.addEventListener("tokenReady",function(b){var c=new Xw(b.response);if(a.Ev&&a.Ev!=c.oH())a.zf({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.oH(),expectedDomain:a.Ev});else{a.currentUser.get().update(c);
var d=a.currentUser;d.mc.notify(d.Ma);a.isSignedIn.set(!0);c=c.bH();(d=_.cx(a.lca))&&c&&_.mi.set(["G_AUTHUSER_",window.location.protocol==="https:"&&d.Ze?"S":"H",d.Ti].join(""),c,{domain:d.domain,secure:d.isSecure});_.jw(b.response);a.zf(b)}});a.ve.addEventListener("noSessionBound",function(b){a.Pv&&b.autoOpenAuthUrl?(a.Pv=!1,Cw(a.ve).select(function(c){if(c&&c.login_hint){var d=a.ve;_.Av(d,d.VD,[c.login_hint,!0])}else a.currentUser.set(new Xw(null)),a.isSignedIn.set(!1),_.kw(),a.zf(b)})):(a.currentUser.set(new Xw(null)),
a.isSignedIn.set(!1),_.kw(),a.zf(b))});a.ve.addEventListener("tokenFailed",function(b){a.zf(b)});a.ve.addEventListener("userLoggedOut",function(b){a.currentUser.get().jl();var c=a.currentUser;c.mc.notify(c.Ma);a.isSignedIn.set(!1);_.kw();a.zf(b)})},vx=function(a,b,c,d){return a.kha.then(function(e){if(b)return b(e.Pea)},c,d)};yx.prototype.zf=function(a){if(a){this.Pv=!1;var b=a.type||"";if(this.aC[b])this.aC[b](a);this.zr&&(this.zr({Pea:this}),this.sB=this.zr=null)}};
var Bx=function(a,b){_.ec(b,function(c,d){a.aC[d]=function(e){a.aC={};c(e)}})},ax=function(a,b,c,d){d=_.ak(d);a.Ev&&(d.hd=a.Ev);var e=d.ux_mode||a.Lma;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||Tw()+window.location.pathname),Cx(a,f)):(delete d.redirect_uri,Dx(a,f),Bx(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):Bx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};yx.prototype.fl=function(a){return new _.sk(function(b,c){var d=new Nw(a);this.mI=d.jv()?!0:!1;this.mB?(d.La.fetch_basic_profile=!0,Ow(d,"email profile openid")):d.La.fetch_basic_profile=!1;var e=zx(this,d.jv());d.o1(e);ax(this,b,c,d.get())},this)};
yx.prototype.rv=function(a){var b=a||{};this.mI=!!b.scope;a=zx(this,b.scope);if(a=="")return _.xk({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.Hb(tw,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=Ex(this,c):(c.redirect_uri=b.redirect_uri,Cx(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
a=_.wk({message:"Redirecting to IDP."}));return a};
var Ex=function(a,b){b.origin=Tw();delete b.redirect_uri;Dx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.sk(function(c,d){Bx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Dx=function(a,b){Sw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");fw(a.ve,Pw(),b)},Cx=function(a,b){Sw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");gw(a.ve,b)};
yx.prototype.jl=function(a){var b=a||!1;return new _.sk(function(c){Tv(this.ve,b,function(){c()})},this)};yx.prototype.vU=function(){return this.La.authParameters.scope};var zx=function(a,b){a=a.vU();b=Nv(b?b.split(" "):[],a?a.split(" "):[]);_.Gh(b);return b.join(" ")};yx.prototype.WK=function(){var a=this;return new _.sk(function(b,c){Bx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.ve.JT()})};
yx.prototype.eQ=function(a,b,c,d){if(a=typeof a==="string"?document.getElementById(a):a){var e=this;_.Aj(a,"click",function(){var f=b;typeof b=="function"&&(f=b());e.fl(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."})};yx.prototype.disconnect=function(){return new _.sk(function(a){this.ve.revoke(function(){a()})},this)};yx.prototype.attachClickHandler=yx.prototype.eQ;var Fx;_.sk.prototype["catch"]=_.sk.prototype.bE;Fx=null;_.Gx=function(a){Vw();a=hx(a);if(Yw){if(_.xu(a,Fx||{}))return wx();throw new xw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}ix(a,a.fetch_basic_profile!==!1);Rw();Fx=a;Yw=new yx(a);_.Se.ga=1;return wx()};var Ix,Kx,Hx,Mx,Lx,Nx;
_.Jx=function(a,b){Vw();Rw();a=hx(a);ix(a);var c=px(a);c.supportBlocked3PCookies=Ww(a.use_fedcm);var d=new _.Kv(c);a.prompt=="none"?Hx(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)}):Ix(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.VZ.wi;b(e)})};
Ix=function(a,b,c){var d=new mx(b.response_type);c=Kx(a,d,c);var e={responseType:d.toString()};Sw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");nx(d)&&Sw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Sw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Sw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Pw();a.Fk?c({authResult:{error:"idpiframe_initialization_failed",details:a.co().error}}):(a.Bn=
c,fw(a,b,e))};Kx=function(a,b,c){if(ox(b)){var d=Lx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Tu(function(f){f&&!f.error?(f=_.ak(f),nx(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(_.ak(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
Hx=function(a,b,c){if(nx(new mx(b.response_type))&&b.access_type=="offline")c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=Lx(c);b.login_hint?a.NG(b.login_hint,function(e){e?Mx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):b.authuser!==void 0&&b.authuser!==null?Ew(a,b.authuser).select(function(e){e&&e.login_hint?Mx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Mu(function(e){e&&e.hint?Mx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):(b.session_selection=="first_valid"?Dw(a):Cw(a)).select(function(f){f&&f.login_hint?Mx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};Mx=function(a,b,c,d){b=new mx(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.fj(f,k),e==0&&d(f))};(ox(b)||qx(b,"id_token"))&&e++;nx(b)&&e++;(ox(b)||qx(b,"id_token"))&&_.Lv(a,c,h);nx(b)&&hw(a,c,h)};
Lx=function(a){return function(b){if(!b||b.error)_.kw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.ak(b);Nx(c);delete c.id_token;delete c.code;_.jw(c)}a(b)}}};Nx=function(a){_.Hb(uw,function(b){delete a[b]})};_.x("gapi.auth2.init",_.Gx);_.x("gapi.auth2.authorize",function(a,b){if(Yw!=null)throw new xw("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).");_.Jx(a,function(c){Nx(c);b(c)})});_.x("gapi.auth2._gt",function(){return _.vi()});_.x("gapi.auth2.enableDebugLogs",function(a){a=a!==!1;_.yu=a!="0"&&!!a});_.x("gapi.auth2.getAuthInstance",_.xx);
_.x("gapi.auth2.BasicProfile",Zw);_.x("gapi.auth2.BasicProfile.prototype.getId",Zw.prototype.getId);_.x("gapi.auth2.BasicProfile.prototype.getName",Zw.prototype.getName);_.x("gapi.auth2.BasicProfile.prototype.getGivenName",Zw.prototype.bea);_.x("gapi.auth2.BasicProfile.prototype.getFamilyName",Zw.prototype.Wda);_.x("gapi.auth2.BasicProfile.prototype.getImageUrl",Zw.prototype.jea);_.x("gapi.auth2.BasicProfile.prototype.getEmail",Zw.prototype.Xn);_.x("gapi.auth2.GoogleAuth",yx);
_.x("gapi.auth2.GoogleAuth.prototype.attachClickHandler",yx.prototype.eQ);_.x("gapi.auth2.GoogleAuth.prototype.disconnect",yx.prototype.disconnect);_.x("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",yx.prototype.rv);_.x("gapi.auth2.GoogleAuth.prototype.signIn",yx.prototype.fl);_.x("gapi.auth2.GoogleAuth.prototype.signOut",yx.prototype.jl);_.x("gapi.auth2.GoogleAuth.prototype.getInitialScopes",yx.prototype.vU);_.x("gapi.auth2.GoogleUser",Xw);_.x("gapi.auth2.GoogleUser.prototype.grant",Xw.prototype.Rea);
_.x("gapi.auth2.GoogleUser.prototype.getId",Xw.prototype.getId);_.x("gapi.auth2.GoogleUser.prototype.isSignedIn",Xw.prototype.ug);_.x("gapi.auth2.GoogleUser.prototype.getAuthResponse",Xw.prototype.Xl);_.x("gapi.auth2.GoogleUser.prototype.getBasicProfile",Xw.prototype.Dda);_.x("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Xw.prototype.dea);_.x("gapi.auth2.GoogleUser.prototype.getHostedDomain",Xw.prototype.oH);_.x("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Xw.prototype.rv);
_.x("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Xw.prototype.SA);_.x("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Xw.prototype.WK);_.x("gapi.auth2.LiveValue",Kw);_.x("gapi.auth2.LiveValue.prototype.listen",Kw.prototype.ua);_.x("gapi.auth2.LiveValue.prototype.get",Kw.prototype.get);_.x("gapi.auth2.SigninOptionsBuilder",Nw);_.x("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",Nw.prototype.Bda);_.x("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",Nw.prototype.Xka);
_.x("gapi.auth2.SigninOptionsBuilder.prototype.getScope",Nw.prototype.jv);_.x("gapi.auth2.SigninOptionsBuilder.prototype.setScope",Nw.prototype.o1);_.x("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",Nw.prototype.Bea);_.x("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",Nw.prototype.xla);_.x("gapi.auth2.SigninOptionsBuilder.prototype.get",Nw.prototype.get);
_.gf=_.gf||{};
(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}_.gf.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)};_.gf.eR=function(b){var c=_.gf.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(_.gf.yG(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.gf.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};_.gf.XT=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};_.gf.gwa=function(b){return a(b)}})();
_.Jg=window.gapi&&window.gapi.util||{};
_.Jg=_.Jg={};_.Jg.getOrigin=function(a){return _.Lg(a)};
_.fy=function(a){if(a.indexOf("GCSC")!==0)return null;var b={Aj:!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=_.dy(a.substr(d+1));if(e==null)return b;a=a.substring(0,d);if(a.charAt(0)!=="_")return b;d=c==="E"&&e.Ze;return!d&&(c!=="U"||e.Ze)||d&&!_.ey?b:{Aj:!0,Ze:d,Vba:a.substr(1),domain:e.domain,Ti:e.Ti}};_.gy=function(a,b){this.Zg=a;a=b||{};this.Uha=Number(a.maxAge)||0;this.Yd=a.domain;this.Qm=a.path;this.Eka=!!a.secure};_.gy.prototype.read=function(){for(var a=this.Zg+"=",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)}};
_.gy.prototype.write=function(a,b){if(!hy.test(this.Zg))throw"Invalid cookie name";if(!iy.test(a))throw"Invalid cookie value";a=this.Zg+"="+a;this.Yd&&(a+=";domain="+this.Yd);this.Qm&&(a+=";path="+this.Qm);b=typeof b==="number"?b:this.Uha;if(b>=0){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.Eka&&(a+=";secure");document.cookie=a;return!0};_.gy.prototype.clear=function(){this.write("",0)};var iy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,hy=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.gy.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("="))}};_.jy=function(a){this.Mf=a};_.jy.prototype.read=function(){if(ky.hasOwnProperty(this.Mf))return ky[this.Mf]};_.jy.prototype.write=function(a){ky[this.Mf]=a;return!0};_.jy.prototype.clear=function(){delete ky[this.Mf]};var ky={};_.jy.iterate=function(a){for(var b in ky)ky.hasOwnProperty(b)&&a(b,ky[b])};var ly=function(){this.Ma=null;this.key=function(){return null};this.getItem=function(){return this.Ma};this.setItem=function(a,b){this.Ma=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Ma=null;this.length=0};this.length=0},my=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}},ny=function(a,b){this.Zg=a;this.VN=
my(b)?b||window.sessionStorage:new ly};ny.prototype.read=function(){return this.VN.getItem(this.Zg)};ny.prototype.write=function(a){try{this.VN.setItem(this.Zg,a)}catch(b){return!1}return!0};ny.prototype.clear=function(){this.VN.removeItem(this.Zg)};ny.iterate=function(a){if(my())for(var b=window.sessionStorage.length,c=0;c<b;++c){var d=window.sessionStorage.key(c);a(d,window.sessionStorage[d])}};_.ey=window.location.protocol==="https:";_.oy=_.ey||window.location.protocol==="http:"?_.gy:_.jy;_.dy=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{Ze:a.charAt(0)=="S",domain:d,Ti:c}};var py,qy,ty,uy;py=_.Ie();qy=_.Ie();_.ry=_.Ie();_.sy=_.Ie();ty="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");uy=function(a){this.OZ=a;this.GJ=null};
uy.prototype.write=function(a){var b=_.Ie(),c=_.Ie(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.Je(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=ty.length;for(e=0;e<d;++e)delete c[ty[e]];a=String(a.authuser||0);d=_.Ie();d[a]=c;c=_.Tf(d);this.OZ.write(c);this.GJ=b};uy.prototype.read=function(){return this.GJ};uy.prototype.clear=function(){this.OZ.clear();this.GJ=_.Ie()};_.vy=function(a){return a?{domain:a.domain,path:"/",secure:a.Ze}:null};
ny.iterate(function(a){var b=_.fy(a);b&&b.Aj&&(py[a]=new uy(new ny(a)))});_.oy.iterate(function(a){py[a]&&(qy[a]=new _.oy(a,_.vy(_.fy(a))))});
_.ni=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 v=e[1],u=e[2],z=e[3],C=e[4];for(r=0;r<80;r++){if(r<40)if(r<20){var A=z^v&(u^z);var D=1518500249}else A=v^u^z,D=1859775393;else r<60?(A=v&u|z&(v|u),D=2400959708):(A=v^u^z,D=3395469782);A=((p<<5|p>>>27)&4294967295)+
A+C+D+q[r]&4294967295;C=z;z=u;u=(v<<30|v>>>2)&4294967295;v=p;p=A}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+z&4294967295;e[4]=e[4]+C&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var r=[],v=0,u=p.length;v<u;++v)r.push(p.charCodeAt(v));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 v=24;v>=0;v-=8)p[q++]=e[r]>>v&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,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 pi=function(a,b,c){var d=String(_.fb.location.href);return d&&a&&b?[b,oi(_.Lg(d),a,c||null)].join(" "):null},oi=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],_.Hb(d,function(k){e.push(k)}),qi(e.join(" "));var f=[],h=[];_.Hb(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];_.Hb(d,function(k){e.push(k)});a=qi(e.join(" "));a=[c,a];h.length==0||a.push(h.join(""));return a.join("_")},qi=function(a){var b=
_.ni();b.update(a);return b.Si().toLowerCase()};var si;_.ri=function(){var a=_.fb.__SAPISID||_.fb.__APISID||_.fb.__3PSAPISID||_.fb.__1PSAPISID||_.fb.__OVERRIDE_SID;if(a)return!0;typeof document!=="undefined"&&(a=new _.ki(document),a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("__Secure-1PAPISID"));return!!a};si=function(a,b,c,d){(a=_.fb[a])||typeof document==="undefined"||(a=(new _.ki(document)).get(b));return a?pi(a,c,d):null};
_.ti=function(a){var b=_.Lg(_.fb==null?void 0:_.fb.location.href),c=[];if(_.ri()){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?_.fb.__SAPISID:_.fb.__APISID;d||typeof document==="undefined"||(d=new _.ki(document),d=d.get(b?"SAPISID":"APISID")||d.get("__Secure-3PAPISID"));(d=d?pi(d,b?"SAPISIDHASH":"APISIDHASH",a):null)&&c.push(d);b&&((b=si("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&c.push(b),
(a=si("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&c.push(a))}return c.length==0?null:c.join(" ")};
_.wy=function(a){_.aj.call(this);this.Mf=1;this.sC=[];this.zC=0;this.Sf=[];this.Vj={};this.iba=!!a};_.qb(_.wy,_.aj);_.g=_.wy.prototype;_.g.subscribe=function(a,b,c){var d=this.Vj[a];d||(d=this.Vj[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.ux=_.da(22);_.g.unsubscribe=function(a,b,c){if(a=this.Vj[a]){var d=this.Sf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.xl(a)}return!1};
_.g.xl=function(a){var b=this.Sf[a];if(b){var c=this.Vj[b];this.zC!=0?(this.sC.push(a),this.Sf[a+1]=function(){}):(c&&_.dj(c,a),delete this.Sf[a],delete this.Sf[a+1],delete this.Sf[a+2])}return!!b};
_.g.hp=function(a,b){var c=this.Vj[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.iba)for(f=0;f<c.length;f++)e=c[f],xy(this.Sf[e+1],this.Sf[e+2],d);else{this.zC++;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.zC--,this.sC.length>0&&this.zC==0)for(;c=this.sC.pop();)this.xl(c)}}return f!=0}return!1};var xy=function(a,b,c){_.qk(function(){a.apply(b,c)})};
_.wy.prototype.clear=function(a){if(a){var b=this.Vj[a];b&&(b.forEach(this.xl,this),delete this.Vj[a])}else this.Sf.length=0,this.Vj={}};_.wy.prototype.Zb=function(a){if(a){var b=this.Vj[a];return b?b.length:0}a=0;for(b in this.Vj)a+=this.Zb(b);return a};_.wy.prototype.wa=function(){_.wy.N.wa.call(this);this.clear();this.sC.length=0};
_.yy=function(a){this.uma=a};_.zy=function(a){_.aj.call(this);this.ne=new _.wy(a);_.cj(this,this.ne)};_.yy.prototype.toString=function(){return this.uma};_.qb(_.zy,_.aj);_.g=_.zy.prototype;_.g.subscribe=function(a,b,c){return this.ne.subscribe(a.toString(),b,c)};_.g.ux=_.da(21);_.g.unsubscribe=function(a,b,c){return this.ne.unsubscribe(a.toString(),b,c)};_.g.xl=function(a){return this.ne.xl(a)};_.g.hp=function(a,b){return this.ne.hp(a.toString(),b)};_.g.clear=function(a){this.ne.clear(a!==void 0?a.toString():void 0)};_.g.Zb=function(a){return this.ne.Zb(a!==void 0?a.toString():void 0)};
var Ay,By,Ey,Hy,Cy,Fy,Gy,Dy;Ay=function(a){var b=_.Ec("");return _.lc(a.map(function(c){return _.mc(_.Ec(c))}).join(_.mc(b).toString()))};By=function(a){return Ay(a)};Ey=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!Cy.test(e))throw Error("j");if(f!==void 0&&f!==null){if(/^on./i.test(e))throw Error("j");Dy.indexOf(e.toLowerCase())!==-1&&(f=_.wc(f)?f.toString():_.Bc(String(f))||"about:invalid#zClosurez");f=e+'="'+_.Ec(String(f))+'"';b+=" "+f}}return b};
Hy=function(a){var b;if(!Cy.test("div"))throw Error("j");if(Fy.indexOf("DIV")!==-1)throw Error("j");var c="<div";a&&(c+=Ey(a));Array.isArray(b)||(b=b===void 0?[]:[b]);Gy.indexOf("DIV")!==-1?c+=">":(a=By(b.map(function(d){return d instanceof _.kc?d:_.Ec(String(d))})),c+=">"+a.toString()+"</div>");return _.lc(c)};_.Iy=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.property+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.$r(a,"transition",b.join(","))};
Cy=/^[a-z][a-z\d-]*$/i;Fy="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" ");Gy="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" ");Dy=["action","formaction","href"];_.Jy=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=_.re("DIV"),b=_.Id?"-webkit":_.Hd?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");_.Rc(a,Hy({style:c}));return _.bs(a.firstChild,"transition")!=""});
_.Ky=function(a,b){_.Lj.call(this);this.Fm=a||1;this.Cx=b||_.fb;this.sQ=(0,_.Db)(this.rma,this);this.KX=_.ud()};_.qb(_.Ky,_.Lj);_.g=_.Ky.prototype;_.g.enabled=!1;_.g.Gc=null;_.g.setInterval=function(a){this.Fm=a;this.Gc&&this.enabled?(this.stop(),this.start()):this.Gc&&this.stop()};
_.g.rma=function(){if(this.enabled){var a=_.ud()-this.KX;a>0&&a<this.Fm*.8?this.Gc=this.Cx.setTimeout(this.sQ,this.Fm-a):(this.Gc&&(this.Cx.clearTimeout(this.Gc),this.Gc=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.g.start=function(){this.enabled=!0;this.Gc||(this.Gc=this.Cx.setTimeout(this.sQ,this.Fm),this.KX=_.ud())};_.g.stop=function(){this.enabled=!1;this.Gc&&(this.Cx.clearTimeout(this.Gc),this.Gc=null)};_.g.wa=function(){_.Ky.N.wa.call(this);this.stop();delete this.Cx};
_.Ly=function(a,b,c){if(typeof a==="function")c&&(a=(0,_.Db)(a,c));else if(a&&typeof a.handleEvent=="function")a=(0,_.Db)(a.handleEvent,a);else throw Error("xa");return Number(b)>2147483647?-1:_.fb.setTimeout(a,b||0)};_.My=function(a){_.fb.clearTimeout(a)};
_.Oy=function(){_.Ny="oauth2relay"+String(2147483647*(0,_.Sg)()|0)};_.Py=new _.zy;_.Qy=new _.yy("oauth");_.Oy();_.cf("oauth-flow/client_id");var Ry=String(_.cf("oauth-flow/redirectUri"));if(Ry)Ry.replace(/[#][\s\S]*/,"");else{var Sy=_.Jg.getOrigin(window.location.href);_.cf("oauth-flow/callbackUrl");encodeURIComponent(Sy)}_.Jg.getOrigin(window.location.href);
var Uy,Vy,Wy,Xy,Yy,Zy,$y,az,bz,cz,dz,fz,gz,hz,iz,jz,kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Oz,Pz,Qz,Rz,Uz,Tz,Vz,Wz,Xz,Yz,Zz,$z,aA;_.Ty=function(a,b){if(_.Ph&&!b)return _.fb.atob(a);var c="";_.Oh(a,function(d){c+=String.fromCharCode(d)});return c};Uy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return b==="true"||a==="none"};Vy=function(a){return _.fi("enableMultilogin")&&a("cookie_policy")&&!Uy(a)?!0:!1};
Yy=function(){var a,b=null;_.oy.iterate(function(c,d){c.indexOf("G_AUTHUSER_")===0&&(c=c.substring(11),c=_.dy(c),!a||c.Ze&&!a.Ze||c.Ze==a.Ze&&c.Ti>a.Ti)&&(a=c,b=d)});return{uba:a,authuser:b}};Zy=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];$y=function(a){a=a.toUpperCase();for(var b=Zy.length,c=0;c<b;++c){var d=a.split(Zy[c]);d.length==2&&d[1]===""&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();a.length>40&&(b=new _.Rg,b.Px(a),a=b.Si().toUpperCase());return a};
az=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};bz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],Vka:az(a[1]),Xwa:az(a[2]),Ova:az(a[3])}};cz=function(a){var b=Yy(),c=b.uba;b=b.authuser;var d=a&&$y(a);if(b!==null){var e;_.oy.iterate(function(h,k){(h=_.fy(h))&&h.Aj&&(d&&h.Vba!=d||h.Ze==c.Ze&&h.Ti==c.Ti&&(e=k))});if(e){var f=bz(e);a=f&&f.Vka[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Vxa:a,clientId:f}}}return null};
dz=function(a,b){a=_.vi(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};_.ez=function(a,b){if(b){var c=b;var d=a}else typeof a==="string"?d=a:c=a;c?_.jw(c,d):_.kw(d)};
fz=function(a){if(!a)return null;a!=="single_host_origin"&&(a=_.Lg(a));var b=window.location.hostname,c=b,d=_.ey;if(a!=="single_host_origin"){c=a.split("://");if(c.length==2)d=c.shift()==="https";else return _.Xf.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 _.Xf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Ze:d,Ti:b}};
gz=function(a){var b=fz(a);if(!b)return new _.jy("G_USERSTATE_");a=["G_USERSTATE_",_.ey&&b.Ze?"S":"H",b.Ti].join("");var c=_.sy[a];c||(c={EJ:63072E3},_.Ke(_.vy(b),c),c=new _.gy(a,c),_.sy[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};hz=function(a){var b=gz(a).read();a=_.Ie();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
iz=function(a,b,c){var d=hz(b),e=d[a];d[a]="0";var f=[];_.Im(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=gz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};jz=function(a,b){b=hz(b);return b[a]=="0"||b[a]=="X"};kz=function(a){a=fz(a.g_user_cookie_policy);if(!a||a.Ze&&!_.ey)a=null;else{var b=["G_AUTHUSER_",_.ey&&a.Ze?"S":"H",a.Ti].join(""),c=_.ry[b];c||(c=new _.oy(b,_.vy(a)),_.ry[b]=c);a=c}_.df("googleapis.config/sessionIndex",null);a.clear()};lz=function(a){return Uy(function(b){return a[b]})};
mz=0;nz=!1;oz=[];pz={};qz={};rz=null;sz=function(a){var b=_.Ny;return function(c){if(this.f==b&&this.t==_.bg.Wn(this.f)&&this.origin==_.bg.ko(this.f))return a.apply(this,arguments)}};tz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("za");};uz=function(a){var b=_.gf.Qg,c=b(a).jsh;if(c!=null)return tz(c),a;if(b=String(b().jsh||_.Se.h||""))tz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(a.substr(0,c).indexOf("?")!==-1?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};
vz=function(){return!!_.cf("oauth-flow/usegapi")};wz=function(a,b){vz()?rz.unregister(a):_.bg.unregister(a+":"+b)};xz=function(a,b,c){vz()?rz.register(a,c,_.Em):_.bg.register(a+":"+b,sz(c))};yz=function(){Wy.parentNode.removeChild(Wy)};
zz=function(a){var b=Wy;_.Iy(b,[{property:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Iy(b,[{property:"transform",duration:1,timing:"ease",delay:0}]);_.Ly(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Az=function(){var a=Xy+88;zz(a);Xy=a};Bz=function(){var a=Xy-88;zz(a);Xy=a};
Cz=function(a){var b=a?Az:Bz,c=a?Bz:Az;a=a?"-":"";Xy=parseInt(a+88,10);Wy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Wy.style.transform="translate3d(0px,"+a+88+"px,0px)";Wy.style.display="";Wy.style.visibility="visible";b();_.Ly(c,4E3);_.Ly(yz,5E3)};
Dz=function(a){var b=_.cf("oauth-flow/toast/position");b!=="top"&&(b="bottom");var c=document.createElement("div");Wy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.$r(c,"visibility","hidden");_.$r(c,b,"-40px");_.$r(c,"height","128px");var d=c;if(_.vr()){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"?"-":"";Xy=parseInt(e+88,10);Wy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Wy.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){}_.Tm.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){b==="top"?Cz(!0):Cz(!1)}})};
Ez=function(a){var b=_.Ao(),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];_.Gm.call(b,e)==-1&&b.push(e)}b.length>0&&(a.scope=b.join(" "))}return a};
Oz=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=_.cf("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||cz(c)!=null||!lz(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};Pz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Sf(_.Ty(a,!0));if(a===!1)throw Error("Aa");return a};Qz=function(a){return(a=Pz(a))?a.sub:null};
Rz=function(a){a&&oz.push(a);a=_.Ny;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(mz&&c-mz<6E4)return;var d=_.bg.Wn(a);d&&(wz("oauth2relayReady",d),wz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Oy();a=_.Ny}mz=c;var e=String(2147483647*(0,_.Sg)()|0);b=_.cf("oauth-flow/proxyUrl")||_.cf("oauth-flow/relayUrl");vz()?rz=_.Tm.openChild({where:_.gf.XT(),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(_.Jg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.gf.XT(),d=_.gf.eR({name:a,id:a}),d.src=uz(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),_.bg.jx(a));xz("oauth2relayReady",e,function(){wz("oauth2relayReady",e);var f=oz;if(f!==null){oz=
null;for(var h=f.length,k=0;k<h;++k)f[k]()}});xz("oauth2callback",e,function(f){var h=_.gf.Qg;h=h(f);var k=h.state;f=k;f=f.replace(/\|.*$/,"");f={}.hasOwnProperty.call(qz,f)?qz[f]:null;h.state=f;if(h.state!=null){f=pz[k];delete pz[k];k=f&&f.key||"token";var l=h=Oz(f&&f.params,h);var m=(m=Qz(l))?jz(m,l.cookie_policy):!1;!m&&l&&(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")>=0&&_.cf("isLoggedIn")&&(l&&l._aa)==="1"&&(l._aa="0",nz||(nz=!0,Dz(l)));_.ez(k,h);h=dz(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)}}})};_.Sz=function(a){oz!==null?Rz(a):a&&a()};Uz=function(a,b){var c=Tz,d=Qz(a);d&&(kz(a),iz(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=Oz(null,e);c(e)}}))};
Tz=function(a){a||(a=dz(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||(_.Se.drw=null);_.ez(a);if(b=a.authuser)_.cf("googleapis.config/sessionIndex"),_.df("googleapis.config/sessionIndex",b);_.Py.hp(_.Qy,a);return a};Vz=["client_id","cookie_policy","response_type"];Wz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
Xz=function(a){var b=_.ak(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);_.jw(b);return b};
Yz=function(a){if(a.include_granted_scopes===void 0){var b=_.cf("include_granted_scopes");a.include_granted_scopes=!!b}};Zz=function(a){window.console&&(typeof window.console.warn==="function"?window.console.warn(a):typeof window.console.log==="function"&&window.console.log(a))};
$z=function(a){var b=a||{},c={};_.Hb(Wz,function(d){b[d]!=null&&(c[d]=b[d])});a=_.cf("googleapis/overrideClientId");a!=null&&(c.client_id=a);Yz(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{_.cx(c.cookie_policy)}catch(d){c.cookie_policy&&
Zz("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=_.ji(),a!=null&&(c.authuser=a));a=b.redirect_uri||_.cf("oauth-flow/redirectUri");
a!=null&&a!="postmessage"&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
aA=function(a,b){var c=$z(a),d=new _.sk(function(e,f){_.Jx(c,function(h){var k=h||{};_.Hb(Vz,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=Xz(k),h.authuser!=null&&_.df("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};var bA,dA;bA=null;_.eA=function(a,b){if(a.approvalprompt!=="force"){a=_.cA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)bA?(a.client_id!==bA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(bA=a,b=!1);b||dA(a)}};
_.cA=function(a){var b=a.redirecturi||"postmessage",c=_.Lc((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=_.Lc(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||_.cf("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.cf("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};dA=function(a){_.mp("waaf0","signin","0");aA(a,function(b){_.mp("waaf1","signin","0");Tz(b)})};
_.fA=function(a){a=_.cA(a);_.df("oauth-flow/authWindowWidth",445);_.df("oauth-flow/authWindowHeight",615);dA(a)};_.gA=function(a){_.Py.unsubscribe(_.Qy,a);_.Py.subscribe(_.Qy,a)};var nA,qA;_.iA=function(a){return a.cookiepolicy?!0:(_.hA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.hA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.mA=function(a,b){var c=_.Ao();_.Ke(a,c);c=Ez(c);if(_.iA(c)){var d=_.jA();_.kA(c);b?_.Re(b,"click",function(){_.lA(c,d)}):_.lA(c,d)}};
_.jA=function(){var a=new nA;_.gA(function(b){a.FJ&&b&&(b.access_token&&_.df("isPlusUser",!0),b["g-oauth-window"]&&(a.FJ=!1,_.Xf.warn("OTA app install is no longer supported.")))});return a};nA=function(){this.FJ=!1};_.kA=function(a){a=_.oA(a);_.pA(a.callback);_.Sz(function(){_.eA(a)})};_.oA=function(a){qA(a);a.redirecturi&&delete a.redirecturi;Vy(function(b){return a[b]})||(a.authuser=0);return a};qA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.pA=function(a){if(typeof a==="string")if(window[a])a=window[a];else{_.hA('Callback function named "'+a+'" not found');return}a&&_.gA(a)};_.lA=function(a,b){b.FJ=!0;a=_.oA(a);_.fA(a)};_.x("gapi.auth.authorize",aA);_.x("gapi.auth.checkSessionState",function(a,b){var c=_.Ie();c.client_id=a.client_id;c.session_state=a.session_state;_.Sz(function(){vz()?rz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Em):_.bg.call(_.Ny,"check_session_state",sz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.x("gapi.auth.getAuthHeaderValueForFirstParty",function(a,b){_.Ci(_.Bi(),51).tb();return _.ti(a,b)});_.x("gapi.auth.getToken",dz);
_.x("gapi.auth.getVersionInfo",function(a,b){_.Sz(function(){var c=_.ti()||"",d=null,e=null;c&&(e=c.split(" "),e.length==2&&(d=e[1]));d?vz()?rz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Em):_.bg.call(_.Ny,"get_versioninfo",sz(function(f){a(f)}),d,b):a()})});_.x("gapi.auth.init",_.Sz);_.x("gapi.auth.setToken",_.ez);_.x("gapi.auth.signIn",function(a){_.mA(a)});_.x("gapi.auth.signOut",function(){var a=dz();a&&Uz(a,a.cookie_policy)});
_.x("gapi.auth.unsafeUnpackIdToken",Pz);_.x("gapi.auth._pimf",_.eA);_.x("gapi.auth._oart",Dz);_.x("gapi.auth._guss",function(a){return gz(a).read()});
var rA=_.Ao();rA.clientid&&rA.scope&&rA.callback&&!_.cf("disableRealtimeCallback")&&_.kA(rA);
});
// Google Inc.
