gapi.loaded_1(function(_){var window=this;
_.qi=function(a){for(var b in a)return!1;return!0};_.ti=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};var ui,vi,xi;ui={};vi=null;_.wi=_.Ad||_.Bd||!_.pi&&!_.xd&&"function"==typeof _.Qa.atob;_.yi=function(a,b){void 0===b&&(b=0);xi();b=ui[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("")};
_.zi=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=vi[m];if(null!=n)return n;if(!_.Dc(m))throw Error("E`"+m);}return l}xi();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}};
xi=function(){if(!vi){vi={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));ui[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===vi[f]&&(vi[f]=e)}}}};
_.Vi={};var Xi;_.Wi=function(a){this.Gb=a||{cookie:""}};_.g=_.Wi.prototype;_.g.isEnabled=function(){if(!_.Qa.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{hI:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
_.g.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.Wpa;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.hI}if(/[;=\s]/.test(a))throw Error("H`"+a);if(/[;\r\n]/.test(b))throw Error("I`"+b);void 0===k&&(k=-1);this.Gb.cookie=a+"="+b+(f?";domain="+f:"")+(h?";path="+h:"")+(0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*k)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")};
_.g.get=function(a,b){for(var c=a+"=",d=(this.Gb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.Ec)(d[e]);if(0==f.lastIndexOf(c,0))return f.slice(c.length);if(f==a)return""}return b};_.g.remove=function(a,b,c){var d=this.Xi(a);this.set(a,"",{hI:0,path:b,domain:c});return d};_.g.Bg=function(){return Xi(this).keys};_.g.Jd=function(){return Xi(this).values};_.g.isEmpty=function(){return!this.Gb.cookie};_.g.Rb=function(){return this.Gb.cookie?(this.Gb.cookie||"").split(";").length:0};
_.g.Xi=function(a){return void 0!==this.get(a)};_.g.qk=function(a){for(var b=Xi(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.g.clear=function(){for(var a=Xi(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Xi=function(a){a=(a.Gb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.Ec)(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
_.Yi=new _.Wi("undefined"==typeof document?null:document);
_.ij={};_.jj=function(a){return _.ij[a||"token"]||null};
_.Cj=function(a){a&&"function"==typeof a.Ia&&a.Ia()};_.Dj=function(){this.Wg=this.Wg;this.Vo=this.Vo};_.Dj.prototype.Wg=!1;_.Dj.prototype.isDisposed=function(){return this.Wg};_.Dj.prototype.Ia=function(){this.Wg||(this.Wg=!0,this.ua())};_.Hj=function(a,b){_.Ej(a,_.Za(_.Cj,b))};_.Ej=function(a,b){a.Wg?b():(a.Vo||(a.Vo=[]),a.Vo.push(b))};_.Dj.prototype.ua=function(){if(this.Vo)for(;this.Vo.length;)this.Vo.shift()()};
var Mj=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.ee.prototype.O=_.eb(1,function(a){return _.De(this.Gb,a)});_.Nj=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.Oj=function(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};_.Qj=function(a,b){this.type="function"==typeof _.Pj&&a instanceof _.Pj?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.Nv=!1};_.Qj.prototype.stopPropagation=function(){this.Nv=!0};_.Qj.prototype.preventDefault=function(){this.defaultPrevented=!0};var Rj=function(){if(!_.Qa.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};_.Qa.addEventListener("test",c,b);_.Qa.removeEventListener("test",c,b)}catch(d){}return a}();_.Sj=function(a,b){_.Qj.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.gJ=!1;this.pointerId=0;this.pointerType="";this.ff=null;a&&this.yd(a,b)};_.$a(_.Sj,_.Qj);var Tj={2:"touch",3:"pen",4:"mouse"};
_.Sj.prototype.yd=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)?_.Ad&&(_.vd(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=_.Bd||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.Bd||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?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||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.gJ=_.Ed?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Tj[a.pointerType]||"";this.state=a.state;this.ff=a;a.defaultPrevented&&_.Sj.N.preventDefault.call(this)};_.Sj.prototype.stopPropagation=function(){_.Sj.N.stopPropagation.call(this);this.ff.stopPropagation?this.ff.stopPropagation():this.ff.cancelBubble=!0};_.Sj.prototype.preventDefault=function(){_.Sj.N.preventDefault.call(this);var a=this.ff;a.preventDefault?a.preventDefault():a.returnValue=!1};_.Uj="closure_listenable_"+(1E6*Math.random()|0);_.Vj=function(a){return!(!a||!a[_.Uj])};var Wj=0;var Xj=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Tf=e;this.key=++Wj;this.Sv=this.ey=!1},Yj=function(a){a.Sv=!0;a.listener=null;a.proxy=null;a.src=null;a.Tf=null};var Zj=function(a){this.src=a;this.we={};this.Yw=0};Zj.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.we[f];a||(a=this.we[f]=[],this.Yw++);var h=ak(a,b,d,e);-1<h?(b=a[h],c||(b.ey=!1)):(b=new Xj(b,this.src,f,!!d,e),b.ey=c,a.push(b));return b};Zj.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.we))return!1;var e=this.we[a];b=ak(e,b,c,d);return-1<b?(Yj(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.we[a],this.Yw--),!0):!1};
var bk=function(a,b){var c=b.type;if(!(c in a.we))return!1;var d=_.kb(a.we[c],b);d&&(Yj(b),0==a.we[c].length&&(delete a.we[c],a.Yw--));return d};Zj.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.we)if(!a||c==a){for(var d=this.we[c],e=0;e<d.length;e++)++b,Yj(d[e]);delete this.we[c];this.Yw--}return b};Zj.prototype.Mq=function(a,b,c,d){a=this.we[a.toString()];var e=-1;a&&(e=ak(a,b,c,d));return-1<e?a[e]:null};
Zj.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Mj(this.we,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 ak=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Sv&&f.listener==b&&f.capture==!!c&&f.Tf==d)return e}return-1};var ck,dk,ek,ik,kk,lk,mk,pk;ck="closure_lm_"+(1E6*Math.random()|0);dk={};ek=0;_.gk=function(a,b,c,d,e){if(d&&d.once)return _.fk(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.gk(a,b[f],c,d,e);return null}c=_.hk(c);return _.Vj(a)?a.ha(b,c,_.Vb(d)?!!d.capture:!!d,e):ik(a,b,c,!1,d,e)};
ik=function(a,b,c,d,e,f){if(!b)throw Error("J");var h=_.Vb(e)?!!e.capture:!!e,k=_.jk(a);k||(a[ck]=k=new Zj(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=kk();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Rj||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(lk(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("K");ek++;return c};kk=function(){var a=mk,b=function(c){return a.call(b.src,b.listener,c)};return b};
_.fk=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.fk(a,b[f],c,d,e);return null}c=_.hk(c);return _.Vj(a)?a.Cr(b,c,_.Vb(d)?!!d.capture:!!d,e):ik(a,b,c,!0,d,e)};_.nk=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.nk(a,b[f],c,d,e);else d=_.Vb(d)?!!d.capture:!!d,c=_.hk(c),_.Vj(a)?a.Gc(b,c,d,e):a&&(a=_.jk(a))&&(b=a.Mq(b,c,d,e))&&_.ok(b)};
_.ok=function(a){if("number"===typeof a||!a||a.Sv)return!1;var b=a.src;if(_.Vj(b))return b.HM(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(lk(c),d):b.addListener&&b.removeListener&&b.removeListener(d);ek--;(c=_.jk(b))?(bk(c,a),0==c.Yw&&(c.src=null,b[ck]=null)):Yj(a);return!0};lk=function(a){return a in dk?dk[a]:dk[a]="on"+a};
mk=function(a,b){if(a.Sv)a=!0;else{b=new _.Sj(b,this);var c=a.listener,d=a.Tf||a.src;a.ey&&_.ok(a);a=c.call(d,b)}return a};_.jk=function(a){a=a[ck];return a instanceof Zj?a:null};pk="__closure_events_fn_"+(1E9*Math.random()>>>0);_.hk=function(a){if("function"===typeof a)return a;a[pk]||(a[pk]=function(b){return a.handleEvent(b)});return a[pk]};_.Lj(function(a){mk=a(mk)});_.qk=function(){_.Dj.call(this);this.Ak=new Zj(this);this.w4=this;this.YI=null};_.$a(_.qk,_.Dj);_.qk.prototype[_.Uj]=!0;_.g=_.qk.prototype;_.g.to=function(){return this.YI};_.g.MC=function(a){this.YI=a};_.g.addEventListener=function(a,b,c,d){_.gk(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.nk(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.to();if(c)for(b=[];c;c=c.to())b.push(c);c=this.w4;var d=a.type||a;if("string"===typeof a)a=new _.Qj(a,c);else if(a instanceof _.Qj)a.target=a.target||c;else{var e=a;a=new _.Qj(d,c);_.sb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Nv&&0<=f;f--){var h=a.currentTarget=b[f];e=h.cu(d,!0,a)&&e}a.Nv||(h=a.currentTarget=c,e=h.cu(d,!0,a)&&e,a.Nv||(e=h.cu(d,!1,a)&&e));if(b)for(f=0;!a.Nv&&f<b.length;f++)h=a.currentTarget=b[f],e=h.cu(d,!1,a)&&e;return e};
_.g.ua=function(){_.qk.N.ua.call(this);this.DJ();this.YI=null};_.g.ha=function(a,b,c,d){return this.Ak.add(String(a),b,!1,c,d)};_.g.Cr=function(a,b,c,d){return this.Ak.add(String(a),b,!0,c,d)};_.g.Gc=function(a,b,c,d){return this.Ak.remove(String(a),b,c,d)};_.g.HM=function(a){return bk(this.Ak,a)};_.g.DJ=function(){this.Ak&&this.Ak.removeAll(void 0)};
_.g.cu=function(a,b,c){a=this.Ak.we[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.Sv&&f.capture==b){var h=f.listener,k=f.Tf||f.src;f.ey&&this.HM(f);d=!1!==h.call(k,c)&&d}}return d&&!c.defaultPrevented};_.g.Mq=function(a,b,c,d){return this.Ak.Mq(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.Ak.hasListener(void 0!==a?String(a):void 0,b)};
var nt;nt=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.ot=function(a,b,c,d){return Array.prototype.splice.apply(a,nt(arguments,1))};_.pt=function(a,b,c){if(null!==a&&b in a)throw Error("k`"+b);a[b]=c};_.qt=function(a,b){var c=b||document;if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):_.he(c,"*",a,b)[0]||null}return a||null};
_.rt=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.st=function(a){var b;if(_.Vd&&(b=a.parentElement))return b;b=a.parentNode;return _.ze(b)?b:null};_.tt=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.ut=function(a){_.Dj.call(this);this.Ie=a;this.kc={}};_.$a(_.ut,_.Dj);var vt=[];_.ut.prototype.ha=function(a,b,c,d){return this.nv(a,b,c,d)};
_.ut.prototype.nv=function(a,b,c,d,e){Array.isArray(b)||(b&&(vt[0]=b.toString()),b=vt);for(var f=0;f<b.length;f++){var h=_.gk(a,b[f],c||this.handleEvent,d||!1,e||this.Ie||this);if(!h)break;this.kc[h.key]=h}return this};_.ut.prototype.Cr=function(a,b,c,d){return wt(this,a,b,c,d)};var wt=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)wt(a,b,c[h],d,e,f);else{b=_.fk(b,c,d||a.handleEvent,e,f||a.Ie||a);if(!b)return a;a.kc[b.key]=b}return a};
_.ut.prototype.Gc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Gc(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Vb(d)?!!d.capture:!!d,e=e||this.Ie||this,c=_.hk(c),d=!!d,b=_.Vj(a)?a.Mq(b,c,d,e):a?(a=_.jk(a))?a.Mq(b,c,d,e):null:null,b&&(_.ok(b),delete this.kc[b.key]);return this};_.ut.prototype.removeAll=function(){_.ob(this.kc,function(a,b){this.kc.hasOwnProperty(b)&&_.ok(a)},this);this.kc={}};_.ut.prototype.ua=function(){_.ut.N.ua.call(this);this.removeAll()};
_.ut.prototype.handleEvent=function(){throw Error("S");};
var Xu,Yu,Zu,$u,av,cv,dv,ev,fv,hv;_.Wu=!1;Xu=function(a){try{_.Wu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Yu=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};Zu=function(a,b){if(!a)return-1;if(a.indexOf)return a.indexOf(b,void 0);for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1};
$u=function(a,b){function c(){}if(!a)throw Error("V");if(!b)throw Error("W");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};av=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.bv=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};cv=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};
dv=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("X`"+b);};ev={token:1,id_token:1};fv=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.gv=window.JSON;hv=function(a){this.WM=a||[];this.wc={}};
hv.prototype.addEventListener=function(a,b){if(!(0<=Zu(this.WM,a)))throw Error("Z`"+a);if(!av(b))throw Error("$`"+a);this.wc[a]||(this.wc[a]=[]);0>Zu(this.wc[a],b)&&this.wc[a].push(b)};hv.prototype.removeEventListener=function(a,b){if(!(0<=Zu(this.WM,a)))throw Error("Z`"+a);av(b)&&this.wc[a]&&this.wc[a].length&&(b=Zu(this.wc[a],b),0<=b&&this.wc[a].splice(b,1))};
hv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Zu(this.WM,b)))throw Error("aa`"+b);if(this.wc[b]&&this.wc[b].length)for(var c=this.wc[b].length,d=0;d<c;d++)this.wc[b][d](a)};var iv,jv,kv,ov,pv,Gv,Hv,Jv,Kv,Mv,Wv;iv={};jv={};kv={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.lv=function(a,b){if(a=kv[a])return a[b]};_.mv=function(a,b){if(!a)throw Error("ba");if(!b.authServerUrl)throw Error("ca");if(!b.idpIFrameUrl)throw Error("da");kv[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.nv=void 0;
ov=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")};pv=function(){this.Oi=window;this.By=this.Mn=this.Kv=this.Ei=null};
pv.prototype.open=function(a,b,c,d){qv(this);this.Kv?(this.Mn&&(this.Mn(),this.Mn=null),rv(this)):this.Kv="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Ei=this.Oi.open(a,this.Kv,b);try{this.Ei.focus();if(this.Ei.closed||"undefined"==typeof this.Ei.closed)throw Error("fa");_.nv=this.Ei}catch(e){d&&setTimeout(d,0);this.Ei=null;break a}c&&(this.Mn=c,sv(this))}};
var qv=function(a){try{if(null==a.Ei||a.Ei.closed)a.Ei=null,a.Kv=null,rv(a),a.Mn&&(a.Mn(),a.Mn=null)}catch(b){a.Ei=null,a.Kv=null,rv(a)}},sv=function(a){a.By=window.setInterval(function(){qv(a)},300)},rv=function(a){a.By&&(window.clearInterval(a.By),a.By=null)};jv=jv||{};var tv=function(a,b){this.lc=a;this.BH=b;this.Qd=null;this.Co=!1};tv.prototype.start=function(){if(!this.Co&&!this.Qd){var a=this;this.Qd=window.setTimeout(function(){a.clear();a.Co||(a.lc(),a.Co=!0)},jv.BS(this.BH))}};
tv.prototype.clear=function(){this.Qd&&(window.clearTimeout(this.Qd),this.Qd=null)};var uv=function(a,b){var c=jv.jt;this.V9=jv.bt;this.Q_=c;this.lc=a;this.BH=b;this.Qd=null;this.Co=!1;var d=this;this.R_=function(){document[d.V9]||(d.clear(),d.start())}};uv.prototype.start=function(){if(!this.Co&&!this.Qd){dv(document,this.Q_,this.R_);var a=this;this.Qd=window.setTimeout(function(){a.clear();a.Co||(a.lc(),a.Co=!0)},jv.BS(this.BH))}};
uv.prototype.clear=function(){var a=this.Q_,b=this.R_,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("Y`"+a);this.Qd&&(window.clearTimeout(this.Qd),this.Qd=null)};jv.bt=null;jv.jt=null;
jv.x$=function(){var a=document;"undefined"!==typeof a.hidden?(jv.bt="hidden",jv.jt="visibilitychange"):"undefined"!==typeof a.msHidden?(jv.bt="msHidden",jv.jt="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(jv.bt="webkitHidden",jv.jt="webkitvisibilitychange")};jv.x$();jv.M5=function(a,b){return jv.bt&&jv.jt?new uv(a,b):new tv(a,b)};jv.BS=function(a){return Math.max(1,a-(new Date).getTime())};
var vv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},wv=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(q){for(var p=h,u=0;64>u;u+=4)p[u/4]=q[u]<<24|q[u+1]<<16|q[u+2]<<8|q[u+3];for(u=16;80>u;u++)q=p[u-3]^p[u-8]^p[u-14]^p[u-16],p[u]=(q<<1|q>>>31)&4294967295;q=e[0];var v=e[1],r=e[2],w=e[3],C=e[4];for(u=0;80>u;u++){if(40>u)if(20>u){var B=w^v&(r^w);var A=1518500249}else B=
v^r^w,A=1859775393;else 60>u?(B=v&r|w&(v|r),A=2400959708):(B=v^r^w,A=3395469782);B=((q<<5|q>>>27)&4294967295)+B+C+A+p[u]&4294967295;C=w;w=r;r=(v<<30|v>>>2)&4294967295;v=q;q=B}e[0]=e[0]+q&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+r&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+C&4294967295}function c(q,p){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var u=[],v=0,r=q.length;v<r;++v)u.push(q.charCodeAt(v));q=u}p||(p=q.length);u=0;if(0==m)for(;u+64<p;)b(q.slice(u,u+64)),u+=64,n+=64;for(;u<
p;)if(f[m++]=q[u++],n++,64==m)for(m=0,b(f);u+64<p;)b(q.slice(u,u+64)),u+=64,n+=64}function d(){var q=[],p=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var u=63;56<=u;u--)f[u]=p&255,p>>>=8;b(f);for(u=p=0;5>u;u++)for(var v=24;0<=v;v-=8)q[p++]=e[u]>>v&255;return q}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Yi:function(){for(var q=d(),p="",u=0;u<q.length;u++)p+="0123456789ABCDEF".charAt(Math.floor(q[u]/16))+"0123456789ABCDEF".charAt(q[u]%16);return p}}},xv=
window.crypto,yv=!1,zv=0,Av=1,Bv=0,Cv="",Dv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Av=Av*b%Bv;if(3==++zv)if(a=window,b=Dv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("Y`mousemove");},Ev=function(a){var b=wv();b.update(a);return b.Yi()};yv=!!xv&&"function"==typeof xv.getRandomValues;
yv||(Bv=1E6*(screen.width*screen.width+screen.height),Cv=Ev(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),dv(window,"mousemove",Dv));iv=iv||{};iv.L1="ssIFrame_";
_.Fv=function(a,b,c){c=void 0===c?!1:c;this.Ib=a;if(!this.Ib)throw Error("ga");a=_.lv(a,"idpIFrameUrl");if(!a)throw Error("ha");this.KT=a;if(!b)throw Error("ia");this.mn=b;a=this.KT;b=document.createElement("a");b.setAttribute("href",a);a=[b.protocol,"//",b.hostname];"http:"==b.protocol&&""!=b.port&&"0"!=b.port&&"80"!=b.port?(a.push(":"),a.push(b.port)):"https:"==b.protocol&&""!=b.port&&"0"!=b.port&&"443"!=b.port&&(a.push(":"),a.push(b.port));this.mH=a.join("");this.ada=[location.protocol,"//",location.host].join("");
this.Ow=this.lH=this.Go=!1;this.GT=null;this.vB=[];this.Vr=[];this.kk={};this.Ho=void 0;this.Os=c};_.g=_.Fv.prototype;_.g.show=function(){var a=this.Ho;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.jc=function(){ov(this.Ho)};
_.g.ZA=function(a){if(this.Go)a&&a(this);else{if(!this.Ho){var b=iv.L1+this.Ib;var c=this.Ib;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=Zu(e.split("|"),c))?vv(e,d):vv(e?e+"|"+c:c,d);c=!f;var h=this.KT,k=this.ada;d=this.mn;e=this.Os;e=void 0===e?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b=f.setAttribute;var l="allow-scripts allow-same-origin";document.requestStorageAccess&&av(document.requestStorageAccess)&&
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);ov(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Wu&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Ho=f}a&&this.vB.push(a)}};_.g.KA=function(){return this.Go&&this.Ow};_.g.oo=function(){return this.GT};
Gv=function(a){for(var b=0;b<a.vB.length;b++)a.vB[b](a);a.vB=[]};_.Iv=function(a,b,c,d){if(a.Go){if(a.Go&&a.lH)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.oo(),Xu(a),Error(a);Hv(a,{method:b,params:c},d)}else a.Vr.push({vp:{method:b,params:c},callback:d}),a.ZA()};Hv=function(a,b,c){if(c){for(var d=b.id;!d||a.kk[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.kk[d]=c}b.rpcToken=a.mn;a.Ho.contentWindow.postMessage(_.gv.stringify(b),a.mH)};
Jv=function(a){if(a&&0<=a.indexOf("::"))throw Error("ja");};_.Fv.prototype.Ej=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;Jv(f);b=_.bv(b);_.Iv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.Fv.prototype.YA=function(a,b,c,d,e){b=_.bv(b);_.Iv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Kv=function(a,b,c){Jv(b.identifier);_.Iv(a,"getSessionSelector",b,c)};
_.Lv=function(a,b,c,d,e){Jv(b.identifier);_.Iv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Mv=function(a,b,c,d,e){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);_.Iv(a,"monitorClient",b,e)};_.Fv.prototype.revoke=_.ca(9);_.Fv.prototype.At=_.ca(11);iv.nA={};iv.lG=function(a){return iv.nA[a]};
iv.ZA=function(a,b,c){c=void 0===c?!1:c;var d=iv.lG(a);if(!d){d=String;if(yv){var e=new window.Uint32Array(1);xv.getRandomValues(e);e=Number("0."+e[0])}else e=Av,e+=parseInt(Cv.substr(0,20),16),Cv=Ev(Cv),e/=Bv+Math.pow(16,20);d=new _.Fv(a,d(2147483647*e),c);iv.nA[a]=d}d.ZA(b)};iv.q7=function(a){for(var b in iv.nA){var c=iv.lG(b);if(c&&c.Ho&&c.Ho.contentWindow==a.source&&c.mH==a.origin)return c}};iv.Y7=function(a){for(var b in iv.nA){var c=iv.lG(b);if(c&&c.mH==a)return c}};iv=iv||{};
var Ov=function(){var a=[],b;for(b in Nv)a.push(Nv[b]);hv.call(this,a);this.Fm={};Xu("EventBus is ready.")};$u(Ov,hv);var Nv={z3:"sessionSelectorChanged",bE:"sessionStateChanged",FD:"authResult",K0:"displayIFrame"},Qv=function(a,b){var c=Pv;a&&b&&(c.Fm[a]||(c.Fm[a]=[]),0>Zu(c.Fm[a],b)&&c.Fm[a].push(b))},Rv=function(a){var b=Pv;a&&(b.Fm[a]||(b.Fm[a]=[]))},Sv=function(a,b,c){return b&&a.Fm[b]&&0<=Zu(a.Fm[b],c)};_.g=Ov.prototype;
_.g.cca=function(a){var b,c=!!a.source&&(a.source===_.nv||a.source.opener===window);if(b=c?iv.Y7(a.origin):iv.q7(a)){try{var d=_.gv.parse(a.data)}catch(e){Xu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.mn){Xu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.kk[c.id])delete b.kk[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?Xu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.JT[a.type]?(d=this.JT[a.type],
c&&!d.A4?Xu("Bad IDP event. Source window cannot be a popup."):d.Ts&&!d.Ts.call(this,b,a)?Xu("Bad IDP event."):d.Tf.call(this,b,a)):Xu("Bad IDP event.")}else Xu("Bad event, no corresponding Idp Stub.")};_.g.Ada=function(a,b){return Sv(this,a.Ib,b.clientId)};_.g.zda=function(a,b){b=b.clientId;return!b||Sv(this,a.Ib,b)};_.g.P4=function(a,b){return Sv(this,a.Ib,b.clientId)};_.g.jba=function(a,b){a.Go=!0;a.Ow=!!b.cookieDisabled;Gv(a);for(b=0;b<a.Vr.length;b++)Hv(a,a.Vr[b].vp,a.Vr[b].callback);a.Vr=[]};
_.g.iba=function(a,b){b={error:b.error};a.Go=!0;a.lH=!0;a.GT=b;a.Vr=[];Gv(a)};_.g.VB=function(a,b){b.originIdp=a.Ib;this.dispatchEvent(b)};var Pv=new Ov,Tv=Pv,Uv={};Uv.idpReady={Tf:Tv.jba};Uv.idpError={Tf:Tv.iba};Uv.sessionStateChanged={Tf:Tv.VB,Ts:Tv.Ada};Uv.sessionSelectorChanged={Tf:Tv.VB,Ts:Tv.zda};Uv.authResult={Tf:Tv.VB,Ts:Tv.P4,A4:!0};Uv.displayIFrame={Tf:Tv.VB};Pv.JT=Uv||{};dv(window,"message",function(a){Pv.cca.call(Pv,a)});
_.Vv=function(a,b){this.Re=!1;if(!a)throw Error("ka");var c=[],d;for(d in a)c.push(a[d]);hv.call(this,c);this.Ld=[location.protocol,"//",location.host].join("");this.Fe=b.crossSubDomains?b.domain||this.Ld:this.Ld;if(!b)throw Error("la");if(!b.idpId)throw Error("ma");if(!_.lv(b.idpId,"authServerUrl")||!_.lv(b.idpId,"idpIFrameUrl"))throw Error("na`"+b.idpId);this.Ib=b.idpId;this.mc=void 0;this.U5=!!b.disableTokenRefresh;this.O6=!!b.forceTokenRefresh;this.zea=!!b.skipTokenCache;this.Os=!!b.supportBlocked3PCookies;
b.pluginName&&(this.Rba=b.pluginName);b.ackExtensionDate&&(this.s4=b.ackExtensionDate);this.setOptions(b);this.Jt=[];this.Ow=this.Kk=this.uU=!1;this.xj=void 0;this.zX();this.Yd=void 0;var e=this,f=function(){Xu("Token Manager is ready.");if(e.Jt.length)for(var h=0;h<e.Jt.length;h++)e.Jt[h].call(e);e.uU=!0;e.Jt=[]};iv.ZA(this.Ib,function(h){e.Yd=h;h.Go&&h.lH?(e.Kk=!0,e.xj=h.oo(),e.Nr(e.xj)):(e.Ow=h.KA(),e.mc?Mv(e.Yd,e.mc,e.Rba,e.s4,function(k){var l=!!k.validOrigin,m=!!k.blocked,n=!!k.suppressed;k.invalidExtension?
(e.xj={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.Kk=!0,e.Nr(e.xj)):l?m?n?(Yu("You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Qv(e.Ib,e.mc),f()):(e.xj={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.Kk=!0,e.Nr(e.xj)):(Yu("Your client application uses libraries for user authentication or authorization that are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Qv(e.Ib,e.mc),f()):(e.xj={error:"Not a valid origin for the client: "+e.Ld+" has not been registered for client ID "+e.mc+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Kk=!0,e.Nr(e.xj))}):(Rv(e.Ib),f()))},this.Os)};$u(_.Vv,hv);_.g=_.Vv.prototype;_.g.setOptions=function(){};_.g.zX=function(){};_.g.Nr=function(){};_.g.KA=function(){return this.Ow};_.g.oo=function(){return this.xj};Wv=function(a,b,c){return function(){b.apply(a,c)}};
_.Xv=function(a,b,c){if(a.uU)b.apply(a,c);else{if(a.Kk)throw a.xj;a.Jt.push(Wv(a,b,c))}};_.Vv.prototype.dP=_.ca(12);_.Vv.prototype.At=_.ca(10);_.Zv=function(a,b){_.Vv.call(this,a,b);this.ZW=new pv;this.Vk=this.Zo=null;Yv(this)};$u(_.Zv,_.Vv);_.Zv.prototype.setOptions=function(){};
var $v=function(a,b){a.Oe={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Fe};b.crossSubDomains&&(a.Oe.policy=b.policy)},aw=function(a,b){if(!b.authParameters)throw Error("oa");if(!b.authParameters.scope)throw Error("pa");if(!b.authParameters.response_type)throw Error("qa");a.ot=b.authParameters;a.ot.redirect_uri||(a.ot.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Oj=_.bv(b.rpcAuthParameters||a.ot);if(!a.Oj.scope)throw Error("ra");if(!a.Oj.response_type)throw Error("sa");
a:{var c=a.Oj.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!ev[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ta");b.enableSerialConsent&&(a.Oj.enable_serial_consent=!0);b.authResultIdentifier&&(a.Q4=b.authResultIdentifier);b.spec_compliant&&(a.Oj.spec_compliant=b.spec_compliant)};
_.Zv.prototype.zX=function(){var a=this;Pv.addEventListener(Nv.z3,function(b){a.Re&&a.Oe&&b.originIdp==a.Ib&&!b.crossSubDomains==!a.Oe.crossSubDomains&&b.domain==a.Oe.domain&&b.id==a.Oe.id&&a.nW(b)});Pv.addEventListener(Nv.bE,function(b){a.Re&&b.originIdp==a.Ib&&b.clientId==a.mc&&a.oW(b)});Pv.addEventListener(Nv.FD,function(b){_.nv=void 0;a.Re&&b.originIdp==a.Ib&&b.clientId==a.mc&&b.id==a.Rk&&(a.Zo&&(window.clearTimeout(a.Zo),a.Zo=null),a.Rk=void 0,a.xv(b))});Pv.addEventListener(Nv.K0,function(b){a.Re&&
b.originIdp==a.Ib&&(b.jc?a.Yd.jc():a.Yd.show())})};_.Zv.prototype.nW=function(){};_.Zv.prototype.oW=function(){};_.Zv.prototype.xv=function(){};var cw=function(a,b){bw(a);a.U5||(a.Vk=jv.M5(function(){a.Ej(!0)},b-3E5),navigator.onLine&&a.Vk.start())},bw=function(a){a.Vk&&(a.Vk.clear(),a.Vk=null)},Yv=function(a){var b=window;fv()&&(b=document.body);dv(b,"online",function(){a.Vk&&a.Vk.start()});dv(b,"offline",function(){a.Vk&&a.Vk.clear()})};_.Zv.prototype.Ej=function(){};_.Zv.prototype.QV=_.ca(13);
_.Zv.prototype.gaa=function(a,b){if(!this.mc)throw Error("xa");this.Yd.YA(this.mc,this.Oj,this.Oe,a,b)};_.Zv.prototype.YA=function(a,b){_.Xv(this,this.gaa,[a,b])};_.ew=function(a){this.Ke=void 0;this.Qh=!1;this.ms=void 0;_.Zv.call(this,_.dw,a)};$u(_.ew,_.Zv);_.dw={zN:"noSessionBound",it:"userLoggedOut",f0:"activeSessionChanged",bE:"sessionStateChanged",PN:"tokenReady",Z3:"tokenFailed",FD:"authResult",ERROR:"error"};
_.ew.prototype.setOptions=function(a){if(!a.clientId)throw Error("ya");this.mc=a.clientId;this.Fa=a.id;$v(this,a);aw(this,a)};_.ew.prototype.Nr=function(a){this.dispatchEvent({type:_.dw.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Ib})};var fw=function(a){bw(a);a.ms=void 0;a.TA=void 0};_.g=_.ew.prototype;
_.g.nW=function(a){var b=a.newValue||{};if(this.Ke!=b.hint||this.Qh!=!!b.disabled){a=this.Ke;var c=!this.Ke||this.Qh;fw(this);this.Ke=b.hint;this.Qh=!!b.disabled;(b=!this.Ke||this.Qh)&&!c?this.dispatchEvent({type:_.dw.it,idpId:this.Ib}):b||(a!=this.Ke&&this.dispatchEvent({type:_.dw.f0,idpId:this.Ib}),this.Ke&&this.Ej())}};
_.g.oW=function(a){this.Qh||(this.Ke?a.user||this.ms?a.user==this.Ke&&(this.ms?a.sessionState?this.ms=a.sessionState:(fw(this),this.dispatchEvent({type:_.dw.it,idpId:this.Ib})):a.sessionState&&(this.ms=a.sessionState,this.Ej())):this.Ej():this.dispatchEvent({type:_.dw.bE,idpId:this.Ib}))};_.g.xv=function(a){this.dispatchEvent({type:_.dw.FD,authResult:a.authResult})};_.g.pu=_.ca(15);_.g.iu=function(a){_.Xv(this,this.ZF,[a])};_.g.ZF=function(a){Kv(this.Yd,this.Oe,a)};
_.g.dD=function(a,b,c,d){d=void 0===d?!1:d;if(!a)throw Error("za");fw(this);this.Ke=a;this.Qh=!1;b&&_.Lv(this.Yd,this.Oe,!1,this.Ke);this.Re=!0;this.Ej(c,!0,d)};_.g.start=function(){_.Xv(this,this.Dw,[])};
_.g.Dw=function(){var a=this.mc==cv("client_id")?cv("login_hint"):void 0;var b=this.mc==cv("client_id")?cv("state"):void 0;this.AI=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.dD(a,!0,!0,!0);else{var c=this;this.iu(function(d){c.Re=!0;d&&d.hint?(fw(c),c.Ke=d.hint,c.Qh=!!d.disabled,c.Qh?c.dispatchEvent({type:_.dw.it,idpId:c.Ib}):c.dD(d.hint)):(fw(c),c.Ke=void 0,c.Qh=!(!d||!d.disabled),c.dispatchEvent({type:_.dw.zN,
autoOpenAuthUrl:!c.Qh,idpId:c.Ib}))})}};_.g.L6=function(){var a=this;this.iu(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.dw.it,idpId:a.Ib}):a.Ej(!0):a.dispatchEvent({type:_.dw.zN,idpId:a.Ib})})};_.g.DR=function(){_.Xv(this,this.L6,[])};
_.g.Ej=function(a,b,c){var d=this;this.Yd.Ej(this.mc,this.Oj,this.Ke,this.Oe,function(e,f){(f=f||e.error)?"user_logged_out"==f?(fw(d),d.dispatchEvent({type:_.dw.it,idpId:d.Ib})):(d.TA=null,d.dispatchEvent({type:_.dw.Z3,idpId:d.Ib,error:f})):(d.TA=e,d.ms=e.session_state,cw(d,e.expires_at),e.idpId=d.Ib,b&&d.AI&&(e.state=d.AI,d.AI=void 0),d.dispatchEvent({type:_.dw.PN,idpId:d.Ib,response:e}))},this.Fa,a,!1,void 0===c?!1:c)};_.g.revoke=_.ca(8);_.g.RX=_.ca(16);
_.gw=function(a){this.Fn=null;_.Zv.call(this,{},a);this.Re=!0};$u(_.gw,_.Zv);_.g=_.gw.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("ya");this.mc=a.clientId;this.Fa=a.id;$v(this,a);aw(this,a)};_.g.Nr=function(a){this.Fn&&(this.Fn({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Fn=null)};_.g.xv=function(a){if(this.Fn){var b=this.Fn;this.Fn=null;b(a)}};_.g.pu=_.ca(14);_.g.iu=function(a){this.Kk?a(this.oo()):_.Xv(this,this.ZF,[a])};
_.g.ZF=function(a){Kv(this.Yd,this.Oe,a)};_.hw=function(a,b,c){a.Kk?c(a.oo()):_.Xv(a,a.yba,[b,c])};_.gw.prototype.yba=function(a,b){this.Yd.Ej(this.mc,this.Oj,a,this.Oe,function(c,d){d?b({error:d}):b(c)},this.Fa,this.O6,this.zea)};_.gw.prototype.eV=_.ca(17);
var iw=function(a){return Array.prototype.concat.apply([],arguments)},jw=function(){try{var a=Array.from((window.crypto||window.msCrypto).getRandomValues(new Uint8Array(64)))}catch(c){a=[];for(var b=0;64>b;b++)a[b]=Math.floor(256*Math.random())}return _.yi(a,3).substring(0,64)},kw=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1<a.indexOf("chrome/")||-1<a.indexOf("crios/"))},lw=function(){var a=navigator.userAgent.toLowerCase();return-1<a.indexOf("firefox/")&&0>
a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},mw=function(a,b,c){if(!a.Re)throw Error("ua");b?_.Lv(a.Yd,a.Oe,!0,void 0,c):_.Lv(a.Yd,a.Oe,!0,a.Ke,c)},nw=function(a){if(!a.Re)throw Error("ua");return a.TA},ow,pw,qw,rw,sw,tw,uw,vw,ww,yw;_.gw.prototype.eV=_.eb(17,function(a,b){var c=this.Yd,d=this.mc,e=this.Oe,f=_.bv(this.Oj);delete f.response_type;_.Iv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
_.ew.prototype.RX=_.eb(16,function(a){nw(this)&&nw(this).access_token&&(this.Yd.revoke(this.mc,nw(this).access_token,a),mw(this,!0))});
_.ew.prototype.pu=_.eb(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.KA()&&a.Os&&(kw()||lw())){b=b.authResult;var c=Date.now(),d=b.expires_in;b={access_token:b.access_token,token_type:b.token_type,login_hint:b.login_hint,expires_in:d,id_token:b.id_token,scope:b.scope,first_issued_at:c,expires_at:c+1E3*d,idpId:a.Ib};a.TA=b;a.dispatchEvent({type:_.dw.PN,idpId:a.Ib,response:b})}else a.dD(b.authResult.login_hint,a.Qh||b.authResult.login_hint!=a.Ke,!0,!0)}});
_.gw.prototype.pu=_.eb(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.iu(function(d){_.Lv(b.Yd,b.Oe,d&&d.disabled,c.authResult.login_hint,function(){_.hw(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"})}});_.Zv.prototype.QV=_.eb(13,function(){this.mc&&_.Iv(this.Yd,"startPolling",{clientId:this.mc,origin:this.Ld,id:this.Rk})});
_.Fv.prototype.revoke=_.eb(9,function(a,b,c){_.Iv(this,"revoke",{clientId:a,token:b},c)});_.ew.prototype.revoke=_.eb(8,function(a){_.Xv(this,this.RX,[a])});ow=function(){var a=navigator.userAgent,b;if(b=!!a&&-1!=a.indexOf("CriOS"))b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=48>b;return b};
pw=function(){var a=navigator.userAgent.toLowerCase();if(!(-1<a.indexOf("safari/")&&0>a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12<a||12==a&&1<=b};
qw=function(a,b,c,d,e,f,h){var k=_.lv(a,"authServerUrl");if(!k)throw Error("ea`"+a);a=_.bv(d);a.response_type=h||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];(b=e)&&!(b=pw())&&(b=navigator.userAgent.toLowerCase(),-1<b.indexOf("ipad;")||-1<b.indexOf("iphone;")?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||2>b.length?!1:14<=parseInt(b[1],10)):b=!1);b&&!a.prompt&&(a.prompt=
"select_account");k+=0>k.indexOf("?")?"?":"&";b=[];for(var m in a)if(a.hasOwnProperty(m)){c=a[m];if(null===c||void 0===c)c="";b.push(encodeURIComponent(m)+"="+encodeURIComponent(c))}return k+b.join("&")};
rw=function(a,b,c,d){if(!a.mc)throw Error("va");a.Rk=c||a.Q4||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Ld.split("//");c=b.extraQueryParams;var f=e[0],h=f.indexOf(":");0<h&&(f=f.substring(0,h));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.Rk);c.redirect_uri=e.join("")}return qw(a.Ib,a.Fe,a.mc,a.ot,!0,b,d)};sw=function(a,b,c){if(!a.mc)throw Error("va");return qw(a.Ib,a.Fe,a.mc,a.ot,!1,b,c)};
tw=function(a){if(!a)return"permission token";var b=a.split(" ");if(-1<b.indexOf("token")||-1<b.indexOf("code")||-1<b.indexOf("gsession"))return a;b.push("token");return b.join(" ")};uw=function(a,b){a.Zo&&window.clearTimeout(a.Zo);a.Zo=window.setTimeout(function(){a.Rk==b&&(_.nv=void 0,a.Zo=null,a.Rk=void 0,a.xv({authResult:{error:"popup_closed_by_user"}}))},1E3)};
vw=function(a,b,c){if(!a.mc)throw Error("wa");c=c||{};a.KA()&&a.Os&&(kw()||lw())&&(c.responseType=tw(c.responseType));c=rw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||ow())&&_.Xv(a,a.QV,[]);var d=a.Rk;a.ZW.open(c,b,function(){a.Rk==d&&uw(a,d)},function(){a.Rk=void 0;a.xv({authResult:{error:"popup_blocked_by_browser"}})})};ww=function(a,b,c){a.Kk?c(a.oo()):_.Xv(a,a.eV,[b,c])};
_.xw=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239<e&&365>e){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("")};
yw=function(a){var b=[];_.zi(a,function(c){b.push(c)});return b};_.zw=function(a,b){_.ij[b||"token"]=a};_.Aw=function(a){delete _.ij[a||"token"]};_.gv={parse:function(a){a=_.Jg("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Kg(a)}};_.gw.prototype.LF=function(a,b){_.Xv(this,this.A6,[a,b])};_.gw.prototype.A6=function(a,b){this.Yd.LF(this.mc,a,this.Oj,this.Oe,b)};_.Fv.prototype.LF=function(a,b,c,d,e){c=_.bv(c);_.Iv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var Bw,Cw=["client_id","cookie_policy","scope"],Dw="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection plugin_name ack_extension_date gsiwebsdk".split(" "),Ew=["authuser","after_redirect","access_type","hl"],Fw=["login_hint","prompt"],Gw={clientid:"client_id",cookiepolicy:"cookie_policy"},Hw=["approval_prompt",
"authuser","login_hint","prompt","hd"],Iw=["login_hint","g-oauth-window","status"],Jw=Math.min(_.Af("oauth-flow/authWindowWidth",599),screen.width-20),Kw=Math.min(_.Af("oauth-flow/authWindowHeight",600),screen.height-30);var Lw=function(a){_.fb.call(this,a)};_.z(Lw,_.fb);Lw.prototype.name="gapi.auth2.ExternallyVisibleError";var Mw=function(){};Mw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Nw=function(){};Nw.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 Ow=function(a){this.R4=a};
Ow.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.R4){d.login_hint?b(d):b();return}}b()};var Pw=function(a){this.Be=a;this.xC=[]};Pw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.xC[b];f?(b++,c.Be.YA(function(h){h?f.select(h,d):d()})):a()}};d()};var Qw=function(a){a=new Pw(a);a.xC.push(new Mw);return a},Rw=function(a){a=new Pw(a);a.xC.push(new Nw);return a},Sw=function(a,b){void 0===b||null===b?b=Qw(a):(a=new Pw(a),a.xC.push(new Ow(b)),b=a);return b};var Tw=function(a){this.Tf=a;this.isActive=!0};Tw.prototype.remove=function(){this.isActive=!1};Tw.prototype.trigger=function(){};var Uw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Vw=function(){this.wc=[]};Vw.prototype.add=function(a){this.wc.push(a)};Vw.prototype.notify=function(a){for(var b=this.wc,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),_.Nk(Ww(e.Tf,a)))}this.wc=c};var Ww=function(a,b){return function(){a(b)}};var Yw=function(a){this.Ba=null;this.vfa=new Xw(this);this.wc=new Vw;void 0!=a&&this.set(a)};Yw.prototype.set=function(a){a!=this.Ba&&(this.Ba=a,this.vfa.value=a,this.wc.notify(this.Ba))};Yw.prototype.get=function(){return this.Ba};Yw.prototype.ha=function(a){a=new Zw(this,a);this.wc.add(a);return a};Yw.prototype.get=Yw.prototype.get;var Zw=function(a,b){Tw.call(this,b);this.jaa=a};_.z(Zw,Tw);Zw.prototype.trigger=function(){var a=this.Tf;a(this.jaa.get())};
var Xw=function(a){this.value=null;this.ha=function(b){return new Uw(a.ha(b))}};var $w={Lha:"fetch_basic_profile",Nia:"login_hint",kka:"prompt",qka:"redirect_uri",Ika:"scope",ama:"ux_mode",tla:"state"},ax=function(a){this.Na={};if(a&&!_.qi(a))if("function"==typeof a.get)this.Na=a.get();else for(var b in $w){var c=$w[b];c in a&&(this.Na[c]=a[c])}};ax.prototype.get=function(){return this.Na};ax.prototype.QY=function(a){this.Na.scope=a;return this};ax.prototype.yu=function(){return this.Na.scope};
var bx=function(a,b){var c=a.Na.scope;b=iw(b.split(" "),c?c.split(" "):[]);_.Ck(b);a.Na.scope=b.join(" ")};_.g=ax.prototype;_.g.bea=function(a){this.Na.prompt=a;return this};_.g.a8=function(){return this.Na.prompt};_.g.Dda=function(){_.Og.warn("Property app_package_name no longer supported and was not set");return this};_.g.Y6=function(){_.Og.warn("Property app_package_name no longer supported")};_.g.Ef=function(a){this.Na.state=a};_.g.getState=function(){return this.Na.state};var cx=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Jw,"height="+Kw,"top="+(screen.height-Kw)/2,"left="+(screen.width-Jw)/2].join()},dx=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.xw(yw(a)))},ex=function(){Bw=_.Af("auth2/idpValue","google");var a=_.Af("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.Af("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.mv(Bw,{authServerUrl:a,idpIFrameUrl:b})},fx=function(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];if(d===b.length-1){a[e]=c;break}_.Vb(a[e])||(a[e]={});a=a[e]}},gx=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},ix=function(){var a=hx();a.storage_path&&window.sessionStorage.setItem(a.storage_path,gx()+window.location.pathname);if("enforced"==a.status.toLowerCase())throw new Lw("gapi.auth2 is disabled on this website, but it is still used on page "+
window.location.href);"informational"==a.status.toLowerCase()&&_.Og.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)};var jx=function(a){var b=a?(b=dx(a))?b.sub:null:null;this.Fa=b;this.Oc=a?_.Ek(a):null};_.g=jx.prototype;_.g.getId=function(){return this.Fa};_.g.iG=function(){var a=dx(this.Oc);return a?a.hd:null};_.g.Fg=function(){return!!this.Oc};_.g.bm=function(a){if(a)return this.Oc;a=kx;var b=_.Ek(this.Oc);!a.AA||a.gH||a.K9||(delete b.access_token,delete b.scope);return b};_.g.BJ=function(){return kx.BJ()};_.g.rl=function(){this.Oc=null};_.g.z7=function(){return this.Oc?this.Oc.scope:null};
_.g.update=function(a){this.Fa=a.Fa;this.Oc=a.Oc;this.Oc.id_token?this.Sx=new lx(this.Oc):this.Sx&&(this.Sx=null)};var mx=function(a){return a.Oc&&"object"==typeof a.Oc.session_state?_.Ek(a.Oc.session_state.extraQueryParams||{}):{}};_.g=jx.prototype;_.g.XF=function(){var a=mx(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.g.ql=function(a){var b=kx,c=new ax(a);b.gH=c.yu()?!0:!1;kx.AA&&bx(c,"openid profile email");return new _.Yk(function(d,e){var f=mx(this);f.login_hint=this.getId();f.scope=c.yu();nx(b,d,e,f)},this)};_.g.Au=function(a){return new _.Yk(function(b,c){var d=a||{},e=kx;d.login_hint=this.getId();e.Au(d).then(b,c)},this)};_.g.u8=function(a){return this.ql(a)};_.g.disconnect=function(){return kx.disconnect()};_.g.a7=function(){return this.Sx};
_.g.hA=function(a){if(!this.Fg())return!1;var b=this.Oc&&this.Oc.scope?this.Oc.scope.split(" "):"";return _.xc(a?a.split(" "):[],function(c){return _.ib(b,c)})};var lx=function(a){a=dx(a);this.T6=a.sub;this.Zf=a.name;this.q8=a.given_name;this.y6=a.family_name;this.PT=a.picture;this.Ny=a.email};_.g=lx.prototype;_.g.getId=function(){return this.T6};_.g.Zg=function(){return this.Zf};_.g.x7=function(){return this.q8};_.g.s7=function(){return this.y6};_.g.G7=function(){return this.PT};_.g.eo=function(){return this.Ny};var hx,ox;hx=function(){var a=_.Yi.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]}:(_.Og.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};ox=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.px=function(a){if(!a)throw new Lw("No cookiePolicy");var b=window.location.hostname;"single_host_origin"==a&&(a=window.location.protocol+"//"+b);if("none"==a)return null;var c=/^(https?:\/\/)([0-9.\-_A-Za-z]+)(?::(\d+))?$/.exec(a);if(!c)throw new Lw("Invalid cookiePolicy");a=c[2];c=c[1];var d={};d.dotValue=a.split(".").length;d.isSecure=-1!=c.indexOf("https");d.domain=a;if(!_.Nj(b,"."+a)&&!_.Nj(b,a))throw new Lw("Invalid cookiePolicy domain");return d};var rx=function(a){var b=a||{},c=qx();_.rc(Dw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},qx=function(){for(var a={},b=document.getElementsByTagName("meta"),c=0;c<b.length;++c)if(b[c].name){var d=b[c].name;if(0==d.indexOf("google-signin-")){d=d.substring(14);var e=b[c].content;Gw[d]&&(d=Gw[d]);_.ib(Dw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},sx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},tx=function(a){_.rc(Dw,
function(b){var c=sx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},ux=function(a){a=rx(a);tx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Dw+Ew,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},vx=function(a,b){if(!a)throw new Lw("Empty initial options.");for(var c=0;c<Cw.length;++c)if(!(b&&"scope"==Cw[c]||a[Cw[c]]))throw new Lw("Missing required parameter '"+Cw[c]+"'");_.px(a.cookie_policy)},xx=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:ox(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Bw};wx(b,a);_.rc(Fw,function(d){a[d]&&(b.authParameters[d]=a[d])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);if(a.plugin_name)b.pluginName=a.plugin_name;else{var c=_.Af("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);return b},wx=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||jw());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},Cx=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,h=a.oidc_spec_compliant,k=a.nonce,l=yx(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:ox(c),idpId:Bw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||jw());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.rc(Fw.concat(Ew),function(n){a[n]&&(m.authParameters[n]=a[n])});void 0!==a.authuser&&null!==a.authuser&&(m.authParameters.authuser=a.authuser);"boolean"==typeof a.include_granted_scopes&&(b=new zx(a.response_type||"token"),
Ax(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Bx(b)&&(m.rpcAuthParameters.include_granted_scopes=a.include_granted_scopes,!1===a.include_granted_scopes&&(m.forceTokenRefresh=!0,m.skipTokenCache=!0)));"boolean"==typeof a.enable_serial_consent&&(m.enableSerialConsent=a.enable_serial_consent);a.plugin_name?m.pluginName=a.plugin_name:(b=_.Af("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);return m},yx=function(a){a=new zx(a.response_type||"token");var b=[];Bx(a)&&b.push("token");Dx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},Ex=["permission","id_token"],Fx=/(^|[^_])token/,zx=function(a){this.Zr=[];this.xH(a)};
zx.prototype.xH=function(a){a?((0<=a.indexOf("permission")||a.match(Fx))&&this.Zr.push("permission"),0<=a.indexOf("id_token")&&this.Zr.push("id_token"),0<=a.indexOf("code")&&this.Zr.push("code")):this.Zr=Ex};var Ax=function(a){return Dx(a,"code")},Bx=function(a){return Dx(a,"permission")};zx.prototype.toString=function(){return this.Zr.join(" ")};var Dx=function(a,b){var c=!1;_.rc(a.Zr,function(d){d==b&&(c=!0)});return c};var Hx=function(a,b,c){this.Uo=b;this.Xaa=a;for(var d in a)a.hasOwnProperty(d)&&Gx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.Uo[c[a]]},Gx=function(a,b){a[b]=function(){return a.Xaa[b].apply(a.Uo,arguments)}};Hx.prototype.then=function(a,b,c){var d=this;return _.bl().then(function(){return Ix(d.Uo,a,b,c)})};_.Hk(Hx);var kx,Jx,Lx;kx=null;_.Kx=function(){return kx?Jx():null};Jx=function(){return new Hx(Lx.prototype,kx,["currentUser","isSignedIn"])};
Lx=function(a){delete a.include_granted_scopes;this.Na=xx(a);this.J5=a.cookie_policy;this.K9=!!a.scope;(this.AA=!1!==a.fetch_basic_profile)&&(this.Na.authParameters.scope=Vx(this,"openid profile email"));_.Vi.GSI_SUPPORT_BLOCKED_3P_COOKIES&&(this.Os=this.Na.supportBlocked3PCookies=!0);this.Nu=a.hosted_domain;this.sfa=a.ux_mode||"popup";this.jca=a.redirect_uri||null;this.Ko()};
Lx.prototype.Ko=function(){this.currentUser=new Yw(new jx(null));this.isSignedIn=new Yw(!1);this.Be=new _.ew(this.Na);this.GA=this.qr=null;this.W$=new _.Yk(function(a,b){this.qr=a;this.GA=b},this);this.uB={};this.Xu=!0;Wx(this);this.Be.start()};
var Wx=function(a){a.Be.addEventListener("error",function(b){a.Xu&&a.qr&&(a.Xu=!1,a.GA({error:b.error,details:b.details}),a.qr=null,a.GA=null)});a.Be.addEventListener("authResult",function(b){b&&b.authResult&&a.Mf(b);a.Be.pu()(b)});a.Be.addEventListener("tokenReady",function(b){var c=new jx(b.response);if(a.Nu&&a.Nu!=c.iG())a.Mf({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.iG(),expectedDomain:a.Nu});else{a.currentUser.get().update(c);
var d=a.currentUser;d.wc.notify(d.Ba);a.isSignedIn.set(!0);c=c.XF();(d=_.px(a.J5))&&c&&_.Yi.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.nf?"S":"H",d.aj].join(""),c,{domain:d.domain,secure:d.isSecure});_.zw(b.response);a.Mf(b)}});a.Be.addEventListener("noSessionBound",function(b){a.Xu&&b.autoOpenAuthUrl?(a.Xu=!1,Qw(a.Be).select(function(c){if(c&&c.login_hint){var d=a.Be;_.Xv(d,d.dD,[c.login_hint,!0])}else a.currentUser.set(new jx(null)),a.isSignedIn.set(!1),_.Aw(),a.Mf(b)})):(a.currentUser.set(new jx(null)),
a.isSignedIn.set(!1),_.Aw(),a.Mf(b))});a.Be.addEventListener("tokenFailed",function(b){a.Mf(b)});a.Be.addEventListener("userLoggedOut",function(b){a.currentUser.get().rl();var c=a.currentUser;c.wc.notify(c.Ba);a.isSignedIn.set(!1);_.Aw();a.Mf(b)})},Ix=function(a,b,c,d){return a.W$.then(function(e){if(b)return b(e.s8)},c,d)};Lx.prototype.Mf=function(a){if(a){this.Xu=!1;var b=a.type||"";if(this.uB[b])this.uB[b](a);this.qr&&(this.qr({s8:this}),this.GA=this.qr=null)}};
var Xx=function(a,b){_.ob(b,function(c,d){a.uB[d]=function(e){a.uB={};c(e)}})},nx=function(a,b,c,d){d=_.Ek(d);a.Nu&&(d.hd=a.Nu);var e=d.ux_mode||a.sfa;delete d.ux_mode;delete d.app_package_name;var f={sessionMeta:{extraQueryParams:d},responseType:"permission id_token"};"redirect"==e?(d.redirect_uri||(d.redirect_uri=a.jca||gx()+window.location.pathname),Yx(a,f)):(delete d.redirect_uri,Zx(a,f),Xx(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):Xx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};Lx.prototype.ql=function(a){return new _.Yk(function(b,c){var d=new ax(a);this.gH=d.yu()?!0:!1;this.AA?(d.Na.fetch_basic_profile=!0,bx(d,"email profile openid")):d.Na.fetch_basic_profile=!1;var e=Vx(this,d.yu());d.QY(e);nx(this,b,c,d.get())},this)};
Lx.prototype.Au=function(a){var b=a||{};this.gH=!!b.scope;a=Vx(this,b.scope);if(""==a)return _.cl({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.rc(Hw,function(d){null!=b[d]&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");"postmessage"==b.redirect_uri||void 0==b.redirect_uri?a=$x(this,c):(c.redirect_uri=b.redirect_uri,Yx(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
a=_.bl({message:"Redirecting to IDP."}));return a};
var $x=function(a,b){b.origin=gx();delete b.redirect_uri;Zx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Yk(function(c,d){Xx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Zx=function(a,b){fx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");vw(a.Be,cx(),b)},Yx=function(a,b){fx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(sw(a.Be,b.sessionMeta,
b.responseType))};Lx.prototype.rl=function(a){var b=a||!1;return new _.Yk(function(c){mw(this.Be,b,function(){c()})},this)};Lx.prototype.iS=function(){return this.Na.authParameters.scope};var Vx=function(a,b){a=a.iS();b=iw(b?b.split(" "):[],a?a.split(" "):[]);_.Ck(b);return b.join(" ")};Lx.prototype.BJ=function(){var a=this;return new _.Yk(function(b,c){Xx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.Be.DR()})};
Lx.prototype.EO=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.gk(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.ql(f).then(function(h){c&&c(h)},function(h){d&&d(h)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})};Lx.prototype.disconnect=function(){return new _.Yk(function(a){this.Be.revoke(function(){a()})},this)};Lx.prototype.attachClickHandler=Lx.prototype.EO;var ay;_.Yk.prototype["catch"]=_.Yk.prototype.Nw;ay=null;_.by=function(a){ix();a=ux(a);if(kx){if(_.Dk(a,ay||{}))return Jx();throw new Lw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}vx(a,!1!==a.fetch_basic_profile);ex();ay=a;kx=new Lx(a);_.qf.ga=1;return Jx()};var dy,fy,cy,hy,gy,iy;_.ey=function(a,b){ix();ex();a=ux(a);vx(a);var c=Cx(a),d=new _.gw(c);"none"==a.prompt?cy(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)}):dy(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.ZW.Ei;b(e)})};
dy=function(a,b,c){var d=new zx(b.response_type);c=fy(a,d,c);var e={responseType:d.toString()};fx(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Ax(d)&&fx(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&fx(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&fx(e,["sessionMeta","extraQueryParams","state"],b.state);b=cx();a.Kk?c({authResult:{error:"idpiframe_initialization_failed",details:a.oo().error}}):(a.Fn=
c,vw(a,b,e))};fy=function(a,b,c){if(Bx(b)){var d=gy(c);return function(e){e&&e.authResult&&!e.authResult.error?a.pu(function(f){f&&!f.error?(f=_.Ek(f),Ax(b)&&(f.code=e.authResult.code),d(f)):d(f?f:{error:"unknown_error"})})(e):d(e&&e.authResult?e.authResult:{error:"unknown_error"})}}return function(e){e&&e.authResult&&!e.authResult.error?c(_.Ek(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
cy=function(a,b,c){if(Ax(new zx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=gy(c);b.login_hint?a.LF(b.login_hint,function(e){e?hy(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Sw(a,b.authuser).select(function(e){e&&e.login_hint?hy(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.iu(function(e){e&&e.hint?hy(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Rw(a):Qw(a)).select(function(f){f&&f.login_hint?hy(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};hy=function(a,b,c,d){b=new zx(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.sb(f,k),0==e&&d(f))};(Bx(b)||Dx(b,"id_token"))&&e++;Ax(b)&&e++;(Bx(b)||Dx(b,"id_token"))&&_.hw(a,c,h);Ax(b)&&ww(a,c,h)};
gy=function(a){return function(b){if(!b||b.error)_.Aw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.Ek(b);iy(c);delete c.id_token;delete c.code;_.zw(c)}a(b)}}};iy=function(a){_.rc(Iw,function(b){delete a[b]})};_.t("gapi.auth2.init",_.by);_.t("gapi.auth2.authorize",function(a,b){if(null!=kx)throw new Lw("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).");_.ey(a,function(c){iy(c);b(c)})});_.t("gapi.auth2._gt",function(){return _.jj()});_.t("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.Wu="0"!=a&&!!a});_.t("gapi.auth2.getAuthInstance",_.Kx);
_.t("gapi.auth2.BasicProfile",lx);_.t("gapi.auth2.BasicProfile.prototype.getId",lx.prototype.getId);_.t("gapi.auth2.BasicProfile.prototype.getName",lx.prototype.Zg);_.t("gapi.auth2.BasicProfile.prototype.getGivenName",lx.prototype.x7);_.t("gapi.auth2.BasicProfile.prototype.getFamilyName",lx.prototype.s7);_.t("gapi.auth2.BasicProfile.prototype.getImageUrl",lx.prototype.G7);_.t("gapi.auth2.BasicProfile.prototype.getEmail",lx.prototype.eo);_.t("gapi.auth2.GoogleAuth",Lx);
_.t("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Lx.prototype.EO);_.t("gapi.auth2.GoogleAuth.prototype.disconnect",Lx.prototype.disconnect);_.t("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Lx.prototype.Au);_.t("gapi.auth2.GoogleAuth.prototype.signIn",Lx.prototype.ql);_.t("gapi.auth2.GoogleAuth.prototype.signOut",Lx.prototype.rl);_.t("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Lx.prototype.iS);_.t("gapi.auth2.GoogleUser",jx);_.t("gapi.auth2.GoogleUser.prototype.grant",jx.prototype.u8);
_.t("gapi.auth2.GoogleUser.prototype.getId",jx.prototype.getId);_.t("gapi.auth2.GoogleUser.prototype.isSignedIn",jx.prototype.Fg);_.t("gapi.auth2.GoogleUser.prototype.getAuthResponse",jx.prototype.bm);_.t("gapi.auth2.GoogleUser.prototype.getBasicProfile",jx.prototype.a7);_.t("gapi.auth2.GoogleUser.prototype.getGrantedScopes",jx.prototype.z7);_.t("gapi.auth2.GoogleUser.prototype.getHostedDomain",jx.prototype.iG);_.t("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",jx.prototype.Au);
_.t("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",jx.prototype.hA);_.t("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",jx.prototype.BJ);_.t("gapi.auth2.LiveValue",Yw);_.t("gapi.auth2.LiveValue.prototype.listen",Yw.prototype.ha);_.t("gapi.auth2.LiveValue.prototype.get",Yw.prototype.get);_.t("gapi.auth2.SigninOptionsBuilder",ax);_.t("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",ax.prototype.Y6);_.t("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",ax.prototype.Dda);
_.t("gapi.auth2.SigninOptionsBuilder.prototype.getScope",ax.prototype.yu);_.t("gapi.auth2.SigninOptionsBuilder.prototype.setScope",ax.prototype.QY);_.t("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",ax.prototype.a8);_.t("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",ax.prototype.bea);_.t("gapi.auth2.SigninOptionsBuilder.prototype.get",ax.prototype.get);
_.$f=_.$f||{};
(function(){function a(b){var c="";if(3==b.nodeType||4==b.nodeType)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}_.$f.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)};_.$f.AP=function(b){var c=_.$f.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(_.$f.wF(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.$f.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};_.$f.PR=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml","body");if(b&&
1==b.length)return b[0]}catch(c){}return document.documentElement||document};_.$f.poa=function(b){return a(b)}})();
_.zh=window.gapi&&window.gapi.util||{};
_.zh=_.zh={};_.zh.getOrigin=function(a){return _.Bh(a)};
_.Ry=function(a){if(0!==a.indexOf("GCSC"))return null;var b={Cj:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(-1==d)return b;var e=_.Py(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.nf;return!d&&("U"!==c||e.nf)||d&&!_.Qy?b:{Cj:!0,nf:d,v5:a.substr(1),domain:e.domain,aj:e.aj}};_.Sy=function(a,b){this.Zf=a;a=b||{};this.Caa=Number(a.maxAge)||0;this.Fe=a.domain;this.Xm=a.path;this.oda=!!a.secure};_.Sy.prototype.read=function(){for(var a=this.Zf+"=",b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(0==d.indexOf(a))return d.substr(a.length)}};
_.Sy.prototype.write=function(a,b){if(!Ty.test(this.Zf))throw"Invalid cookie name";if(!Uy.test(a))throw"Invalid cookie value";a=this.Zf+"="+a;this.Fe&&(a+=";domain="+this.Fe);this.Xm&&(a+=";path="+this.Xm);b="number"===typeof b?b:this.Caa;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.oda&&(a+=";secure");document.cookie=a;return!0};_.Sy.prototype.clear=function(){this.write("",0)};var Uy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Ty=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.Sy.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("="))}};_.Vy=function(a){this.Zd=a};_.Vy.prototype.read=function(){if(Wy.hasOwnProperty(this.Zd))return Wy[this.Zd]};_.Vy.prototype.write=function(a){Wy[this.Zd]=a;return!0};_.Vy.prototype.clear=function(){delete Wy[this.Zd]};var Wy={};_.Vy.iterate=function(a){for(var b in Wy)Wy.hasOwnProperty(b)&&a(b,Wy[b])};var Xy=function(){this.Ba=null;this.key=function(){return null};this.getItem=function(){return this.Ba};this.setItem=function(a,b){this.Ba=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Ba=null;this.length=0};this.length=0},Yy=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}},Zy=function(a,b){this.Zf=a;this.sM=
Yy(b)?b||window.sessionStorage:new Xy};Zy.prototype.read=function(){return this.sM.getItem(this.Zf)};Zy.prototype.write=function(a){try{this.sM.setItem(this.Zf,a)}catch(b){return!1}return!0};Zy.prototype.clear=function(){this.sM.removeItem(this.Zf)};Zy.iterate=function(a){if(Yy())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};_.Qy="https:"===window.location.protocol;_.$y=_.Qy||"http:"===window.location.protocol?_.Sy:_.Vy;_.Py=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{nf:"S"==a.charAt(0),domain:d,aj:c}};var az,bz,ez,fz;az=_.ff();bz=_.ff();_.cz=_.ff();_.dz=_.ff();ez="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");fz=function(a){this.TW=a;this.jI=null};
fz.prototype.write=function(a){var b=_.ff(),c=_.ff(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.gf(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=ez.length;for(e=0;e<d;++e)delete c[ez[e]];a=String(a.authuser||0);d=_.ff();d[a]=c;c=_.Kg(d);this.TW.write(c);this.jI=b};fz.prototype.read=function(){return this.jI};fz.prototype.clear=function(){this.TW.clear();this.jI=_.ff()};_.gz=function(a){return a?{domain:a.domain,path:"/",secure:a.nf}:null};
Zy.iterate(function(a){var b=_.Ry(a);b&&b.Cj&&(az[a]=new fz(new Zy(a)))});_.$y.iterate(function(a){az[a]&&(bz[a]=new _.$y(a,_.gz(_.Ry(a))))});
_.Zi=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(q){for(var p=h,u=0;64>u;u+=4)p[u/4]=q[u]<<24|q[u+1]<<16|q[u+2]<<8|q[u+3];for(u=16;80>u;u++)q=p[u-3]^p[u-8]^p[u-14]^p[u-16],p[u]=(q<<1|q>>>31)&4294967295;q=e[0];var v=e[1],r=e[2],w=e[3],C=e[4];for(u=0;80>u;u++){if(40>u)if(20>u){var B=w^v&(r^w);var A=1518500249}else B=v^r^w,A=1859775393;else 60>u?(B=v&r|w&(v|r),A=2400959708):(B=v^r^w,A=3395469782);B=((q<<5|q>>>27)&4294967295)+
B+C+A+p[u]&4294967295;C=w;w=r;r=(v<<30|v>>>2)&4294967295;v=q;q=B}e[0]=e[0]+q&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+r&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+C&4294967295}function c(q,p){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var u=[],v=0,r=q.length;v<r;++v)u.push(q.charCodeAt(v));q=u}p||(p=q.length);u=0;if(0==m)for(;u+64<p;)b(q.slice(u,u+64)),u+=64,n+=64;for(;u<p;)if(f[m++]=q[u++],n++,64==m)for(m=0,b(f);u+64<p;)b(q.slice(u,u+64)),u+=64,n+=64}function d(){var q=[],
p=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var u=63;56<=u;u--)f[u]=p&255,p>>>=8;b(f);for(u=p=0;5>u;u++)for(var v=24;0<=v;v-=8)q[p++]=e[u]>>v&255;return q}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Yi:function(){for(var q=d(),p="",u=0;u<q.length;u++)p+="0123456789ABCDEF".charAt(Math.floor(q[u]/16))+"0123456789ABCDEF".charAt(q[u]%16);return p}}};var aj=function(a,b,c){var d=String(_.Qa.location.href);return d&&a&&b?[b,$i(_.Bh(d),a,c||null)].join(" "):null},$i=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.rc(d,function(k){e.push(k)}),bj(e.join(" "));var f=[],h=[];_.rc(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];_.rc(d,function(k){e.push(k)});a=bj(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},bj=function(a){var b=
_.Zi();b.update(a);return b.Yi().toLowerCase()};var ej;_.cj=function(a){return!!_.Vi.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.dj=function(a){a=void 0===a?!1:a;var b=_.Qa.__SAPISID||_.Qa.__APISID||_.Qa.__3PSAPISID||_.Qa.__OVERRIDE_SID;_.cj(a)&&(b=b||_.Qa.__1PSAPISID);if(b)return!0;if("undefined"!==typeof document){var c=new _.Wi(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID")||c.get("OSID");_.cj(a)&&(b=b||c.get("__Secure-1PAPISID"))}return!!b};
ej=function(a,b,c,d){(a=_.Qa[a])||"undefined"===typeof document||(a=(new _.Wi(document)).get(b));return a?aj(a,c,d):null};
_.fj=function(a,b){b=void 0===b?!1:b;var c=_.Bh(String(_.Qa.location.href)),d=[];if(_.dj(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.Qa.__SAPISID:_.Qa.__APISID;e||"undefined"===typeof document||(e=new _.Wi(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?aj(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&_.cj(b)&&((b=ej("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=ej("__3PSAPISID","__Secure-3PAPISID",
"SAPISID3PHASH",a))&&d.push(a))}return 0==d.length?null:d.join(" ")};
_.gj=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.cj(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.hj={mT:_.gj,T$:_.dj,lS:function(){var a=null;_.dj()&&(a=window.__PVT,null==a&&(a=(new _.Wi(document)).get("BEAT")));return a},NR:_.fj};
_.Vr=function(){return _.yb&&_.zb?_.zb.mobile:!_.Ur()&&(_.Cb("iPod")||_.Cb("iPhone")||_.Cb("Android")||_.Cb("IEMobile"))};_.Ur=function(){return _.yb&&_.zb?!_.zb.mobile&&(_.Cb("iPad")||_.Cb("Android")||_.Cb("Silk")):_.Cb("iPad")||_.Cb("Android")&&!_.Cb("Mobile")||_.Cb("Silk")};
var zs,As;_.rs=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.ss=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.g=_.ss.prototype;_.g.clone=function(){return new _.ss(this.x,this.y)};_.g.equals=function(a){return a instanceof _.ss&&_.rs(this,a)};_.g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
_.g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.g.translate=function(a,b){a instanceof _.ss?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};_.g.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};_.ts=function(a){return a.scrollingElement?a.scrollingElement:!_.Bd&&_.me(a)?a.documentElement:a.body||a.documentElement};
_.us=function(a){var b=_.ts(a);a=a.parentWindow||a.defaultView;return _.xd&&a.pageYOffset!=b.scrollTop?new _.ss(b.scrollLeft,b.scrollTop):new _.ss(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.vs=function(a,b,c,d){return _.he(a.Gb,b,c,d)};_.ws=function(a){if(a instanceof _.ad&&a.constructor===_.ad)return a.pJ;_.Yb(a);return"type_error:SafeStyle"};_.xs=function(a){if(a instanceof _.hd&&a.constructor===_.hd)return a.oJ;_.Yb(a);return"type_error:SafeStyleSheet"};
_.ys=function(a){return Number(_.Ud)>=a};zs=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};As=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.Bs=function(a,b,c){return _.qe(document,arguments)};_.Cs=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.Cs.prototype;_.g.Wb=function(){return this.right-this.left};_.g.Rc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.Cs(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.Cs?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
_.g.expand=function(a,b,c,d){_.Vb(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
_.g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
_.g.translate=function(a,b){a instanceof _.ss?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Fs,Ds,Ks,Ns,Zs,Ms;_.Es=function(a,b,c){if("string"===typeof b)(b=Ds(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Ds(c,d);f&&(c.style[f]=e)}};Fs={};Ds=function(a,b){var c=Fs[b];if(!c){var d=zs(b);c=d;void 0===a.style[d]&&(d=(_.Bd?"Webkit":_.Ad?"Moz":_.xd?"ms":null)+As(d),void 0!==a.style[d]&&(c=d));Fs[b]=c}return c};_.Gs=function(a,b){var c=a.style[zs(b)];return"undefined"!==typeof c?c:a.style[Ds(a,b)]||""};
_.Hs=function(a,b){var c=_.fe(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Is=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Js=function(a,b){return _.Hs(a,b)||_.Is(a,b)||a.style&&a.style[b]};Ks=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.Os=function(a,b){b=b||_.ts(document);var c=b||_.ts(document);var d=_.Ls(a),e=_.Ls(c);if(_.xd&&!_.ys(9)){var f=Ms(c,"borderLeft");var h=Ms(c,"borderRight");var k=Ms(c,"borderTop"),l=Ms(c,"borderBottom");h=new _.Cs(k,h,l,f)}else f=_.Hs(c,"borderLeftWidth"),h=_.Hs(c,"borderRightWidth"),k=_.Hs(c,"borderTopWidth"),l=_.Hs(c,"borderBottomWidth"),h=new _.Cs(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.ts(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop,_.xd&&!_.ys(10)&&(f+=h.left,d+=h.top)):
(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=Ns(a);e=c.clientHeight-a.height;h=c.scrollLeft;k=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-e,0));c=new _.ss(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Ls=function(a){var b=_.fe(a),c=new _.ss(0,0);var d=b?_.fe(b):document;d=!_.xd||_.ys(9)||_.me(_.ge(d).Gb)?d.documentElement:d.body;if(a==d)return c;a=Ks(a);b=_.us(_.ge(b).Gb);c.x=a.left+b.x;c.y=a.top+b.y;return c};
_.Qs=function(a,b){var c=new _.ss(0,0),d=_.ne(_.fe(a));if(!_.vd(d,"parent"))return c;do{var e=d==b?_.Ls(a):_.Ps(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Ps=function(a){a=Ks(a);return new _.ss(a.left,a.top)};_.Ss=function(a,b,c){if(b instanceof _.ae)c=b.height,b=b.width;else if(void 0==c)throw Error("R");a.style.width=_.Rs(b,!0);a.style.height=_.Rs(c,!0)};_.Rs=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
_.Ts=function(a){var b=Ns;if("none"!=_.Js(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a};Ns=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Bd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Ks(a),new _.ae(a.right-a.left,a.bottom-a.top)):new _.ae(b,c)};_.Us=function(a,b){a.style.display=b?"":"none"};
_.Ws=function(a){var b=_.ge(void 0),c=b.ub();if(_.xd&&c.createStyleSheet)b=c.createStyleSheet(),_.Vs(b,a);else{c=_.vs(b,"HEAD")[0];if(!c){var d=_.vs(b,"BODY")[0];c=b.va("HEAD");d.parentNode.insertBefore(c,d)}d=b.va("STYLE");var e;(e=_.$d('style[nonce],link[rel="stylesheet"][nonce]'))&&d.setAttribute("nonce",e);_.Vs(d,a);b.appendChild(c,d)}};_.Vs=function(a,b){b=_.xs(b);_.xd&&void 0!==a.cssText?a.cssText=b:_.Qa.trustedTypes?_.Be(a,b):a.innerHTML=b};
_.Xs=_.Ad?"MozUserSelect":_.Bd||_.yd?"WebkitUserSelect":null;_.Ys=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+b};Zs={thin:2,medium:4,thick:6};Ms=function(a,b){if("none"==_.Is(a,b+"Style"))return 0;b=_.Is(a,b+"Width");return b in Zs?Zs[b]:_.Ys(a,b)};
_.ny=function(a,b){_.qk.call(this);this.Nm=a||1;this.Rw=b||_.Qa;this.NO=(0,_.y)(this.Vea,this);this.VU=_.bc()};_.$a(_.ny,_.qk);_.g=_.ny.prototype;_.g.enabled=!1;_.g.Nc=null;_.g.setInterval=function(a){this.Nm=a;this.Nc&&this.enabled?(this.stop(),this.start()):this.Nc&&this.stop()};
_.g.Vea=function(){if(this.enabled){var a=_.bc()-this.VU;0<a&&a<.8*this.Nm?this.Nc=this.Rw.setTimeout(this.NO,this.Nm-a):(this.Nc&&(this.Rw.clearTimeout(this.Nc),this.Nc=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.g.start=function(){this.enabled=!0;this.Nc||(this.Nc=this.Rw.setTimeout(this.NO,this.Nm),this.VU=_.bc())};_.g.stop=function(){this.enabled=!1;this.Nc&&(this.Rw.clearTimeout(this.Nc),this.Nc=null)};_.g.ua=function(){_.ny.N.ua.call(this);this.stop();delete this.Rw};
_.oy=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.y)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.y)(a.handleEvent,a);else throw Error("Ca");return 2147483647<Number(b)?-1:_.Qa.setTimeout(a,b||0)};_.py=function(a){_.Qa.clearTimeout(a)};
_.hz=function(a){_.Dj.call(this);this.Zd=1;this.MB=[];this.RB=0;this.jg=[];this.Xj={};this.L4=!!a};_.$a(_.hz,_.Dj);_.g=_.hz.prototype;_.g.subscribe=function(a,b,c){var d=this.Xj[a];d||(d=this.Xj[a]=[]);var e=this.Zd;this.jg[e]=a;this.jg[e+1]=b;this.jg[e+2]=c;this.Zd=e+3;d.push(e);return e};_.g.Gw=_.ca(19);_.g.unsubscribe=function(a,b,c){if(a=this.Xj[a]){var d=this.jg;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.Al(a)}return!1};
_.g.Al=function(a){var b=this.jg[a];if(b){var c=this.Xj[b];0!=this.RB?(this.MB.push(a),this.jg[a+1]=function(){}):(c&&_.kb(c,a),delete this.jg[a],delete this.jg[a+1],delete this.jg[a+2])}return!!b};
_.g.kp=function(a,b){var c=this.Xj[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.L4)for(e=0;e<c.length;e++){var h=c[e];iz(this.jg[h+1],this.jg[h+2],d)}else{this.RB++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)h=c[e],this.jg[h+1].apply(this.jg[h+2],d)}finally{if(this.RB--,0<this.MB.length&&0==this.RB)for(;c=this.MB.pop();)this.Al(c)}}return 0!=e}return!1};var iz=function(a,b,c){_.Vk(function(){a.apply(b,c)})};
_.hz.prototype.clear=function(a){if(a){var b=this.Xj[a];b&&(b.forEach(this.Al,this),delete this.Xj[a])}else this.jg.length=0,this.Xj={}};_.hz.prototype.Rb=function(a){if(a){var b=this.Xj[a];return b?b.length:0}a=0;for(b in this.Xj)a+=this.Rb(b);return a};_.hz.prototype.ua=function(){_.hz.N.ua.call(this);this.clear();this.MB.length=0};
_.jz=function(a){this.Yea=a};_.jz.prototype.toString=function(){return this.Yea};_.kz=function(a){_.Dj.call(this);this.xe=new _.hz(a);_.Hj(this,this.xe)};_.$a(_.kz,_.Dj);_.g=_.kz.prototype;_.g.subscribe=function(a,b,c){return this.xe.subscribe(a.toString(),b,c)};_.g.Gw=_.ca(18);_.g.unsubscribe=function(a,b,c){return this.xe.unsubscribe(a.toString(),b,c)};_.g.Al=function(a){return this.xe.Al(a)};_.g.kp=function(a,b){return this.xe.kp(a.toString(),b)};_.g.clear=function(a){this.xe.clear(void 0!==a?a.toString():void 0)};
_.g.Rb=function(a){return this.xe.Rb(void 0!==a?a.toString():void 0)};
var lz=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");_.fb.call(this,c+a[d])},mz=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b},nz=function(a){return a.replace(_.dd,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,l){f=k;return l});b=(_.Vc(d)||_.Zc).eh();return c+f+b+f+e})},pz=function(a){if(a instanceof
_.Pc)return'url("'+_.Qc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.hc)a=_.jc(a);else{a=String(a);var b=a.replace(_.ed,"$1").replace(_.ed,"$1").replace(_.dd,"url");if(_.cd.test(b)){if(b=!oz.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&mz(a)}a=b?nz(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new lz("Value does not allow [{;}], got: %s.",[a]);return a},qz,oz,sz,tz,uz,wz;_.$a(lz,_.fb);
lz.prototype.name="AssertionError";qz={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};oz=/\/\*/;_.rz=function(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("m`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(pz).join(" "):pz(d),b+=c+":"+d+";")}return b?new _.ad(b,_.$c):_.bd};sz=/^[a-zA-Z0-9-]+$/;
tz={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};uz=function(a){var b=_.rd(_.sd),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=_.rd(e),c.push(_.nd(e).toString()))};a.forEach(d);return _.od(c.join(_.nd(b).toString()))};_.vz=function(a){return uz(Array.prototype.slice.call(arguments))};wz={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
_.xz=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return"string"===typeof c?c:c.jp+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Es(a,"transition",b.join(","))};
_.yz=_.pc(function(){if(_.xd)return!0;var a=_.re("DIV"),b=_.Bd?"-webkit":_.Ad?"-moz":_.xd?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");c={style:c};if(!sz.test("div"))throw Error("q");if("DIV"in tz)throw Error("q");b=void 0;var d="";if(c)for(h in c)if(Object.prototype.hasOwnProperty.call(c,h)){if(!sz.test(h))throw Error("q");var e=c[h];if(null!=e){var f=h;if(e instanceof _.hc)e=_.jc(e);else if("style"==f.toLowerCase()){if(!_.Vb(e))throw Error("q");e instanceof
_.ad||(e=_.rz(e));e=_.ws(e)}else{if(/^on/i.test(f))throw Error("q");if(f.toLowerCase()in wz)if(e instanceof _.lc)e=_.mc(e).toString();else if(e instanceof _.Pc)e=_.Qc(e);else if("string"===typeof e)e=(_.Vc(e)||_.Zc).eh();else throw Error("q");}e.uj&&(e=e.eh());f=f+'="'+_.Mc(String(e))+'"';d+=" "+f}}var h="<div"+d;null==b?b=[]:Array.isArray(b)||(b=[b]);!0===qz.div?h+=">":(b=_.vz(b),h+=">"+_.nd(b).toString()+"</div>");h=_.od(h);_.Xd(a,h);return""!=_.Gs(a.firstChild,"transition")});
_.Az=function(){_.zz="oauth2relay"+String(2147483647*(0,_.Hh)()|0)};_.Bz=new _.kz;_.Cz=new _.jz("oauth");_.Az();_.Af("oauth-flow/client_id");var Dz=String(_.Af("oauth-flow/redirectUri"));if(Dz)Dz.replace(/[#][\s\S]*/,"");else{var Ez=_.zh.getOrigin(window.location.href);_.Af("oauth-flow/callbackUrl");encodeURIComponent(Ez)}_.zh.getOrigin(window.location.href);
var Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Oz,Pz,Qz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,Zz,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,wA,vA,xA,yA,zA,AA,BA,CA,DA,EA,FA,HA;_.Fz=function(a,b){if(_.wi&&!b)return _.Qa.atob(a);var c="";_.zi(a,function(d){c+=String.fromCharCode(d)});return c};Gz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};Hz=function(a){return _.Qi("enableMultilogin")&&a("cookie_policy")&&!Gz(a)?!0:!1};
Kz=function(){var a,b=null;_.$y.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Py(c.substring(11)),!a||c.nf&&!a.nf||c.nf==a.nf&&c.aj>a.aj)&&(a=c,b=d)});return{X4:a,authuser:b}};Lz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Mz=function(a){a=a.toUpperCase();for(var b=0,c=Lz.length;b<c;++b){var d=a.split(Lz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Gh,b.hx(a),a=b.Yi().toUpperCase());return a};
Nz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Oz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],Bda:Nz(a[1]),dpa:Nz(a[2]),aoa:Nz(a[3])}};Pz=function(a){var b=Kz(),c=b.X4;b=b.authuser;var d=a&&Mz(a);if(null!==b){var e;_.$y.iterate(function(h,k){(h=_.Ry(h))&&h.Cj&&(d&&h.v5!=d||h.nf==c.nf&&h.aj==c.aj&&(e=k))});if(e){var f=Oz(e);a=f&&f.Bda[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,bqa:a,clientId:f}}}return null};
Qz=function(a,b){a=_.jj(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};_.Rz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.zw(c,d):_.Aw(d)};
Sz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.Bh(a));var b=window.location.hostname,c=b,d=_.Qy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Og.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Og.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,nf:d,aj:b}};
Tz=function(a){var b=Sz(a);if(!b)return new _.Vy("G_USERSTATE_");a=["G_USERSTATE_",_.Qy&&b.nf?"S":"H",b.aj].join("");var c=_.dz[a];c||(c={hI:63072E3},_.hf(_.gz(b),c),c=new _.Sy(a,c),_.dz[a]=c,b=c.read(),"undefined"!==typeof b&&null!==b&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};Uz=function(a){var b=Tz(a).read();a=_.ff();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
Vz=function(a,b,c){var d=Uz(b),e=d[a];d[a]="0";var f=[];_.mn(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=Tz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};Wz=function(a){a=Sz(a.g_user_cookie_policy);if(!a||a.nf&&!_.Qy)a=null;else{var b=["G_AUTHUSER_",_.Qy&&a.nf?"S":"H",a.aj].join(""),c=_.cz[b];c||(c=new _.$y(b,_.gz(a)),_.cz[b]=c);a=c}_.Bf("googleapis.config/sessionIndex",null);a.clear()};Xz=function(a){return Gz(function(b){return a[b]})};Yz=0;Zz=!1;$z=[];aA={};bA={};cA=null;
dA=function(a){var b=_.zz;return function(c){if(this.f==b&&this.t==_.Tg.bo(this.f)&&this.origin==_.Tg.xo(this.f))return a.apply(this,arguments)}};eA=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Ha");};fA=function(a){var b=_.$f.hh,c=b(a).jsh;if(null!=c)return eA(c),a;if(b=String(b().jsh||_.qf.h||""))eA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};gA=function(){return!!_.Af("oauth-flow/usegapi")};
hA=function(a,b){gA()?cA.unregister(a):_.Tg.unregister(a+":"+b)};iA=function(a,b,c){gA()?cA.register(a,c,_.Bn):_.Tg.register(a+":"+b,dA(c))};jA=function(){Iz.parentNode.removeChild(Iz)};kA=function(a){var b=Iz;_.xz(b,[{jp:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.xz(b,[{jp:"transform",duration:1,timing:"ease",delay:0}]);_.oy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};lA=function(){var a=Jz+88;kA(a);Jz=a};
mA=function(){var a=Jz-88;kA(a);Jz=a};nA=function(a){var b=a?lA:mA,c=a?mA:lA;a=a?"-":"";Jz=parseInt(a+88,10);Iz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Iz.style.transform="translate3d(0px,"+a+88+"px,0px)";Iz.style.display="";Iz.style.visibility="visible";b();_.oy(c,4E3);_.oy(jA,5E3)};
oA=function(a){var b=_.Af("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");Iz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Es(c,"visibility","hidden");_.Es(c,b,"-40px");_.Es(c,"height","128px");var d=c;if(!_.Vr()&&!_.Ur()){d=document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%";d.appendChild(e);
d=e}e="top"==b?"-":"";Jz=parseInt(e+88,10);Iz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Iz.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){}_.yn.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?nA(!0):nA(!1)}})};
pA=function(a){var b=_.ep(),c=b&&b.scope;b=a&&a.scope;b="string"===typeof b?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d<c.length;++d){var e=c[d];-1==_.kn.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
qA=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=_.Af("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||null!=Pz(c)||!Xz(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};rA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Jg(_.Fz(a,!0));if(!1===a)throw Error("Ia");return a};sA=function(a){return(a=rA(a))?a.sub:null};
tA=function(a){a&&$z.push(a);a=_.zz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(Yz&&6E4>c-Yz)return;var d=_.Tg.bo(a);d&&(hA("oauth2relayReady",d),hA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Az();a=_.zz}Yz=c;var e=String(2147483647*(0,_.Hh)()|0);b=_.Af("oauth-flow/proxyUrl")||_.Af("oauth-flow/relayUrl");gA()?cA=_.yn.openChild({where:_.$f.PR(),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(_.zh.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.$f.PR(),d=_.$f.AP({name:a,id:a}),d.src=fA(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),_.Tg.tw(a));iA("oauth2relayReady",e,function(){hA("oauth2relayReady",e);var f=$z;if(null!==f){$z=
null;for(var h=f.length,k=0;k<h;++k)f[k]()}});iA("oauth2callback",e,function(f){var h=_.$f.hh;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(bA,f)?bA[f]:null;h.state=f;if(null!=h.state){f=aA[k];delete aA[k];k=f&&f.key||"token";var l=h=qA(f&&f.params,h),m=sA(l);if(m){var n=Uz(l.cookie_policy);m="0"==n[m]||"X"==n[m]}else m=!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.Af("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",Zz||(Zz=!0,oA(l)));
_.Rz(k,h);h=Qz(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(q){}f.callback&&(f.callback(h),f.callback=null)}}})};_.uA=function(a){null!==$z?tA(a):a&&a()};wA=function(a,b){var c=vA,d=sA(a);d&&(Wz(a),Vz(d,b,function(){if(c){var e={error:"user_signed_out"};e.client_id=a.client_id;e.g_user_cookie_policy=a.g_user_cookie_policy;e.scope=a.scope;e.response_type=a.response_type;e.session_state=a.session_state;e=qA(null,e);c(e)}}))};
vA=function(a){a||(a=Qz(void 0,!0));a&&"object"===typeof a||(a={error:"invalid_request",error_description:"no callback data"});var b=a.error_description;b&&window.console&&(window.console.error(a.error),window.console.error(b));a.error||(_.qf.drw=null);_.Rz(a);if(b=a.authuser)_.Af("googleapis.config/sessionIndex"),_.Bf("googleapis.config/sessionIndex",b);_.Bz.kp(_.Cz,a);return a};xA=["client_id","cookie_policy","response_type"];yA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
zA=function(a){var b=_.Ek(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);_.zw(b);return b};
AA=function(a){if(void 0===a.include_granted_scopes){var b=_.Af("include_granted_scopes");a.include_granted_scopes=!!b}};BA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
CA=function(a){var b=a||{},c={};_.rc(yA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Af("googleapis/overrideClientId");null!=a&&(c.client_id=a);AA(c);"string"===typeof b.scope?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));null!=b["openid.realm"]&&(c.openid_realm=b["openid.realm"]);null!=b.cookie_policy?c.cookie_policy=b.cookie_policy:null!=b.cookiepolicy&&(c.cookie_policy=b.cookiepolicy);null==c.login_hint&&null!=b.user_id&&(c.login_hint=b.user_id);try{_.px(c.cookie_policy)}catch(d){c.cookie_policy&&
BA("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}null!=b.hd&&(c.hosted_domain=b.hd);null==c.prompt&&(1==b.immediate||"true"==b.immediate?c.prompt="none":"force"==b.approval_prompt&&(c.prompt="consent"));"none"==c.prompt&&(c.session_selection="first_valid");"none"==c.prompt&&"offline"==c.access_type&&delete c.access_type;"undefined"===typeof c.authuser&&(a=_.Ui(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.Af("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
DA=function(a,b){var c=CA(a),d=new _.Yk(function(e,f){_.ey(c,function(h){var k=h||{};_.rc(xA,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(h=zA(k),null!=h.authuser&&_.Bf("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};EA=_.hj.NR;FA=null;
_.IA=function(a,b){if("force"!==a.approvalprompt){a=_.GA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)FA?(a.client_id!==FA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(FA=a,b=!1);b||HA(a)}};
_.GA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.Ec)((a.scope||"").replace(/[\s\xa0]+/g," "));b={client_id:a.clientid,redirect_uri:b,response_type:"code token id_token gsession",scope:c};a.approvalprompt&&(b.approval_prompt=a.approvalprompt);a.state&&(b.state=a.state);a.openidrealm&&(b["openid.realm"]=a.openidrealm);c="offline"==a.accesstype?!0:(c=a.redirecturi)&&"postmessage"!=c;c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=(0,_.Ec)(a.requestvisibleactions.replace(/[\s\xa0]+/g,
" ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&"none"!==a.cookiepolicy&&(b.cookie_policy=a.cookiepolicy);"undefined"!=typeof a.includegrantedscopes&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.Af("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Af("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};HA=function(a){_.Op("waaf0","signin","0");DA(a,function(b){_.Op("waaf1","signin","0");vA(b)})};
_.JA=function(a){a=_.GA(a);_.Bf("oauth-flow/authWindowWidth",445);_.Bf("oauth-flow/authWindowHeight",615);HA(a)};_.KA=function(a){_.Bz.unsubscribe(_.Cz,a);_.Bz.subscribe(_.Cz,a)};var RA,UA;_.MA=function(a){return a.cookiepolicy?!0:(_.LA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.LA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.QA=function(a,b){var c=_.ep();_.hf(a,c);c=pA(c);if(_.MA(c)){var d=_.NA();_.OA(c);b?_.pf(b,"click",function(){_.PA(c,d)}):_.PA(c,d)}};
_.NA=function(){var a=new RA;_.KA(function(b){a.iI&&b&&(b.access_token&&_.Bf("isPlusUser",!0),b["g-oauth-window"]&&(a.iI=!1,_.Og.warn("OTA app install is no longer supported.")))});return a};RA=function(){this.iI=!1};_.OA=function(a){a=_.SA(a);_.TA(a.callback);_.uA(function(){_.IA(a)})};_.SA=function(a){UA(a);a.redirecturi&&delete a.redirecturi;Hz(function(b){return a[b]})||(a.authuser=0);return a};UA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.TA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.LA('Callback function named "'+a+'" not found');return}a&&_.KA(a)};_.PA=function(a,b){b.iI=!0;a=_.SA(a);_.JA(a)};_.t("gapi.auth.authorize",DA);_.t("gapi.auth.checkSessionState",function(a,b){var c=_.ff();c.client_id=a.client_id;c.session_state=a.session_state;_.uA(function(){gA()?cA.send("check_session_state",c,function(d){b.call(null,d[0])},_.Bn):_.Tg.call(_.zz,"check_session_state",dA(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.t("gapi.auth.getAuthHeaderValueForFirstParty",EA);_.t("gapi.auth.getToken",Qz);
_.t("gapi.auth.getVersionInfo",function(a,b){_.uA(function(){var c=_.fj()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?gA()?cA.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Bn):_.Tg.call(_.zz,"get_versioninfo",dA(function(f){a(f)}),d,b):a()})});_.t("gapi.auth.init",_.uA);_.t("gapi.auth.setToken",_.Rz);_.t("gapi.auth.signIn",function(a){_.QA(a)});_.t("gapi.auth.signOut",function(){var a=Qz();a&&wA(a,a.cookie_policy)});
_.t("gapi.auth.unsafeUnpackIdToken",rA);_.t("gapi.auth._pimf",_.IA);_.t("gapi.auth._oart",oA);_.t("gapi.auth._guss",function(a){return Tz(a).read()});
var VA=_.ep();VA.clientid&&VA.scope&&VA.callback&&!_.Af("disableRealtimeCallback")&&_.OA(VA);
});
// Google Inc.
