gapi.loaded_1(function(_){var window=this;
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.ah=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 bh;bh={};_.ch=null;_.dh=_.vc||_.wc&&!_.$g||_.rc||!_.$g&&!_.sc&&"function"==typeof _.D.atob;_.fh=function(a,b){void 0===b&&(b=0);_.eh();b=bh[b];for(var c=[],d=0;d<a.length;d+=3){var e=a[d],f=d+1<a.length,g=f?a[d+1]:0,k=d+2<a.length,l=k?a[d+2]:0,m=e>>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;k||(l=64,f||(g=64));c.push(b[m],b[e],b[g]||"",b[l]||"")}return c.join("")};
_.eh=function(){if(!_.ch){_.ch={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));bh[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===_.ch[f]&&(_.ch[f]=e)}}}};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var zh;_.yh=function(a){this.mb=a||{cookie:""}};_.h=_.yh.prototype;_.h.isEnabled=function(){if(!_.D.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{$A:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
_.h.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.p$;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var k=c.$A}if(/[;=\s]/.test(a))throw Error("y`"+a);if(/[;\r\n]/.test(b))throw Error("z`"+b);void 0===k&&(k=-1);this.mb.cookie=a+"="+b+(f?";domain="+f:"")+(g?";path="+g:"")+(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:"")};
_.h.get=function(a,b){for(var c=a+"=",d=(this.mb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.sb)(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};_.h.remove=function(a,b,c){var d=this.Pd(a);this.set(a,"",{$A:0,path:b,domain:c});return d};_.h.re=function(){return zh(this).keys};_.h.Tc=function(){return zh(this).values};_.h.isEmpty=function(){return!this.mb.cookie};_.h.Eb=function(){return this.mb.cookie?(this.mb.cookie||"").split(";").length:0};
_.h.Pd=function(a){return void 0!==this.get(a)};_.h.Hj=function(a){for(var b=zh(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.h.clear=function(){for(var a=zh(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};zh=function(a){a=(a.mb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.sb)(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}};
_.Ah=new _.yh("undefined"==typeof document?null:document);

_.Mh={};_.Nh=function(a){return _.Mh[a||"token"]||null};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var ti;_.qi=function(a,b){b=(0,_.Xa)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};_.ri=function(a){a&&"function"==typeof a.Ba&&a.Ba()};_.si=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};ti=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.ui=function(a){for(var b in a)return!1;return!0};
_.vi=function(){this.Mb=this.Mb;this.Tl=this.Tl};_.vi.prototype.Mb=!1;_.vi.prototype.Fn=function(){return this.Mb};_.vi.prototype.Ba=function(){this.Mb||(this.Mb=!0,this.ta())};_.xi=function(a,b){_.wi(a,_.li(_.ri,b))};_.wi=function(a,b){a.Mb?b():(a.Tl||(a.Tl=[]),a.Tl.push(b))};_.vi.prototype.ta=function(){if(this.Tl)for(;this.Tl.length;)this.Tl.shift()()};
_.yi=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Zq=!1};_.yi.prototype.stopPropagation=function(){this.Zq=!0};_.yi.prototype.preventDefault=function(){this.defaultPrevented=!0};
_.vc&&_.Oc("1.9b")||_.sc&&_.Oc("8")||_.rc&&_.Oc("9.5")||_.wc&&_.Oc("528");var zi=function(){if(!_.D.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.D.addEventListener("test",_.$a,b),_.D.removeEventListener("test",_.$a,b)}catch(c){}return a}();
_.Ai=function(a,b){_.yi.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.IB=!1;this.pointerId=0;this.pointerType="";this.Qd=null;a&&this.xc(a,b)};_.P(_.Ai,_.yi);var Bi={2:"touch",3:"pen",4:"mouse"};
_.Ai.prototype.xc=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)?_.vc&&(_.pc(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=_.wc||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.wc||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.IB=_.yc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Bi[a.pointerType]||"";this.state=a.state;this.Qd=a;a.defaultPrevented&&_.Ai.O.preventDefault.call(this)};_.Ai.prototype.stopPropagation=function(){_.Ai.O.stopPropagation.call(this);this.Qd.stopPropagation?this.Qd.stopPropagation():this.Qd.cancelBubble=!0};_.Ai.prototype.preventDefault=function(){_.Ai.O.preventDefault.call(this);var a=this.Qd;a.preventDefault?a.preventDefault():a.returnValue=!1};
_.Ci="closure_listenable_"+(1E6*Math.random()|0);_.Di=function(a){return!(!a||!a[_.Ci])};
var Ei=0;
var Fi=function(a,b,c,d,e){this.listener=a;this.Uv=null;this.src=b;this.type=c;this.capture=!!d;this.Ne=e;this.key=++Ei;this.kr=this.Xs=!1},Gi=function(a){a.kr=!0;a.listener=null;a.Uv=null;a.src=null;a.Ne=null};
var Hi=function(a){this.src=a;this.Gd={};this.cs=0};Hi.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Gd[f];a||(a=this.Gd[f]=[],this.cs++);var g=Ii(a,b,d,e);-1<g?(b=a[g],c||(b.Xs=!1)):(b=new Fi(b,this.src,f,!!d,e),b.Xs=c,a.push(b));return b};Hi.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Gd))return!1;var e=this.Gd[a];b=Ii(e,b,c,d);return-1<b?(Gi(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.Gd[a],this.cs--),!0):!1};
var Ji=function(a,b){var c=b.type;if(!(c in a.Gd))return!1;var d=_.qi(a.Gd[c],b);d&&(Gi(b),0==a.Gd[c].length&&(delete a.Gd[c],a.cs--));return d};Hi.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.Gd)if(!a||c==a){for(var d=this.Gd[c],e=0;e<d.length;e++)++b,Gi(d[e]);delete this.Gd[c];this.cs--}return b};Hi.prototype.fn=function(a,b,c,d){a=this.Gd[a.toString()];var e=-1;a&&(e=Ii(a,b,c,d));return-1<e?a[e]:null};
Hi.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return ti(this.Gd,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var Ii=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.kr&&f.listener==b&&f.capture==!!c&&f.Ne==d)return e}return-1};
var Ki,Li,Mi,Qi,Si,Ti,Ui,Xi;Ki="closure_lm_"+(1E6*Math.random()|0);Li={};Mi=0;_.Oi=function(a,b,c,d,e){if(d&&d.once)return _.Ni(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Oi(a,b[f],c,d,e);return null}c=_.Pi(c);return _.Di(a)?a.U(b,c,_.Za(d)?!!d.capture:!!d,e):Qi(a,b,c,!1,d,e)};
Qi=function(a,b,c,d,e,f){if(!b)throw Error("A");var g=_.Za(e)?!!e.capture:!!e,k=_.Ri(a);k||(a[Ki]=k=new Hi(a));c=k.add(b,c,d,g,f);if(c.Uv)return c;d=Si();c.Uv=d;d.src=a;d.listener=c;if(a.addEventListener)zi||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Ti(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("B");Mi++;return c};Si=function(){var a=Ui,b=function(c){return a.call(b.src,b.listener,c)};return b};
_.Ni=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Ni(a,b[f],c,d,e);return null}c=_.Pi(c);return _.Di(a)?a.Mn(b,c,_.Za(d)?!!d.capture:!!d,e):Qi(a,b,c,!0,d,e)};_.Vi=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.Vi(a,b[f],c,d,e);else d=_.Za(d)?!!d.capture:!!d,c=_.Pi(c),_.Di(a)?a.Yb(b,c,d,e):a&&(a=_.Ri(a))&&(b=a.fn(b,c,d,e))&&_.Wi(b)};
_.Wi=function(a){if("number"===typeof a||!a||a.kr)return!1;var b=a.src;if(_.Di(b))return b.DD(a);var c=a.type,d=a.Uv;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Ti(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Mi--;(c=_.Ri(b))?(Ji(c,a),0==c.cs&&(c.src=null,b[Ki]=null)):Gi(a);return!0};Ti=function(a){return a in Li?Li[a]:Li[a]="on"+a};
Ui=function(a,b){if(a.kr)a=!0;else{b=new _.Ai(b,this);var c=a.listener,d=a.Ne||a.src;a.Xs&&_.Wi(a);a=c.call(d,b)}return a};_.Ri=function(a){a=a[Ki];return a instanceof Hi?a:null};Xi="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Pi=function(a){if("function"===typeof a)return a;a[Xi]||(a[Xi]=function(b){return a.handleEvent(b)});return a[Xi]};_.pi(function(a){Ui=a(Ui)});
_.Yi=function(){_.vi.call(this);this.Fi=new Hi(this);this.zP=this;this.EB=null};_.P(_.Yi,_.vi);_.Yi.prototype[_.Ci]=!0;_.h=_.Yi.prototype;_.h.tl=function(){return this.EB};_.h.rw=_.ja(12);_.h.addEventListener=function(a,b,c,d){_.Oi(this,a,b,c,d)};_.h.removeEventListener=function(a,b,c,d){_.Vi(this,a,b,c,d)};
_.h.dispatchEvent=function(a){var b,c=this.tl();if(c)for(b=[];c;c=c.tl())b.push(c);c=this.zP;var d=a.type||a;if("string"===typeof a)a=new _.yi(a,c);else if(a instanceof _.yi)a.target=a.target||c;else{var e=a;a=new _.yi(d,c);_.Cb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Zq&&0<=f;f--){var g=a.currentTarget=b[f];e=g.Bp(d,!0,a)&&e}a.Zq||(g=a.currentTarget=c,e=g.Bp(d,!0,a)&&e,a.Zq||(e=g.Bp(d,!1,a)&&e));if(b)for(f=0;!a.Zq&&f<b.length;f++)g=a.currentTarget=b[f],e=g.Bp(d,!1,a)&&e;return e};
_.h.ta=function(){_.Yi.O.ta.call(this);this.XB();this.EB=null};_.h.U=function(a,b,c,d){return this.Fi.add(String(a),b,!1,c,d)};_.h.Mn=function(a,b,c,d){return this.Fi.add(String(a),b,!0,c,d)};_.h.Yb=function(a,b,c,d){return this.Fi.remove(String(a),b,c,d)};_.h.DD=function(a){return Ji(this.Fi,a)};_.h.XB=function(a){this.Fi&&this.Fi.removeAll(a)};
_.h.Bp=function(a,b,c){a=this.Fi.Gd[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.kr&&f.capture==b){var g=f.listener,k=f.Ne||f.src;f.Xs&&this.DD(f);d=!1!==g.call(k,c)&&d}}return d&&!c.defaultPrevented};_.h.fn=function(a,b,c,d){return this.Fi.fn(String(a),b,c,d)};_.h.hasListener=function(a,b){return this.Fi.hasListener(void 0!==a?String(a):void 0,b)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.ts=function(a,b,c){if(null!==a&&b in a)throw Error("e`"+b);a[b]=c};_.us=function(a){_.vi.call(this);this.Vd=a;this.Ob={}};_.P(_.us,_.vi);var vs=[];_.us.prototype.U=function(a,b,c,d){return this.Eq(a,b,c,d)};_.us.prototype.Eq=function(a,b,c,d,e){Array.isArray(b)||(b&&(vs[0]=b.toString()),b=vs);for(var f=0;f<b.length;f++){var g=_.Oi(a,b[f],c||this.handleEvent,d||!1,e||this.Vd||this);if(!g)break;this.Ob[g.key]=g}return this};_.us.prototype.Mn=function(a,b,c,d){return ws(this,a,b,c,d)};
var ws=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)ws(a,b,c[g],d,e,f);else{b=_.Ni(b,c,d||a.handleEvent,e,f||a.Vd||a);if(!b)return a;a.Ob[b.key]=b}return a};_.us.prototype.Yb=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Yb(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Za(d)?!!d.capture:!!d,e=e||this.Vd||this,c=_.Pi(c),d=!!d,b=_.Di(a)?a.fn(b,c,d,e):a?(a=_.Ri(a))?a.fn(b,c,d,e):null:null,b&&(_.Wi(b),delete this.Ob[b.key]);return this};
_.us.prototype.removeAll=function(){_.Ab(this.Ob,function(a,b){this.Ob.hasOwnProperty(b)&&_.Wi(a)},this);this.Ob={}};_.us.prototype.ta=function(){_.us.O.ta.call(this);this.removeAll()};_.us.prototype.handleEvent=function(){throw Error("H");};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/

var Ou,Pu,Qu,Ru,Tu,Uu,Vu,Wu,Yu;_.Nu=!1;Ou=function(a){try{_.Nu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Pu=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};Qu=function(a,b){function c(){}if(!a)throw"Child class cannot be empty.";if(!b)throw"Parent class cannot be empty.";c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};Ru=function(a){return"[object Function]"===Object.prototype.toString.call(a)};
_.Su=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};Tu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};Uu=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw"Add event handler for "+b+" failed.";};Vu={token:1,id_token:1};
Wu=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.Xu=window.JSON;Yu=function(a){this.RD=a||[];this.Wb={}};Yu.prototype.addEventListener=function(a,b){if(!(0<=Pu(this.RD,a)))throw"Unrecognized event type: "+a;if(!Ru(b))throw"The listener for event '"+a+"' is not a function.";this.Wb[a]||(this.Wb[a]=[]);0>Pu(this.Wb[a],b)&&this.Wb[a].push(b)};
Yu.prototype.removeEventListener=function(a,b){if(!(0<=Pu(this.RD,a)))throw"Unrecognized event type: "+a;Ru(b)&&this.Wb[a]&&this.Wb[a].length&&(b=Pu(this.Wb[a],b),0<=b&&this.Wb[a].splice(b,1))};Yu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Pu(this.RD,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Wb[b]&&this.Wb[b].length)for(var c=0,d=this.Wb[b].length;c<d;c++)this.Wb[b][c](a)};
var Zu,$u,av,ev,fv,wv,xv,zv,Av,Cv,Lv;Zu={};$u={};av={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.bv=function(a,b){if(a=av[a])return a[b]};_.cv=function(a,b){if(!a)throw Error("M");if(!b.authServerUrl)throw Error("N");if(!b.idpIFrameUrl)throw Error("O");av[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.dv=void 0;
ev=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")};fv=function(){this.Y_=window;this.nt=this.Wk=this.Xq=this.Ug=null};
fv.prototype.open=function(a,b,c,d){gv(this);this.Xq?(this.Wk&&(this.Wk(),this.Wk=null),hv(this)):this.Xq="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Ug=this.Y_.open(a,this.Xq,b);try{this.Ug.focus();if(this.Ug.closed||"undefined"==typeof this.Ug.closed)throw Error("Q");_.dv=this.Ug}catch(e){d&&setTimeout(d,0);this.Ug=null;break a}c&&(this.Wk=c,iv(this))}};
var gv=function(a){try{if(null==a.Ug||a.Ug.closed)a.Ug=null,a.Xq=null,hv(a),a.Wk&&(a.Wk(),a.Wk=null)}catch(b){a.Ug=null,a.Xq=null,hv(a)}},iv=function(a){a.nt=window.setInterval(function(){gv(a)},300)},hv=function(a){a.nt&&(window.clearInterval(a.nt),a.nt=null)};$u=$u||{};var jv=function(a,b){this.Pb=a;this.DA=b;this.Xc=null;this.Gl=!1};jv.prototype.start=function(){if(!this.Gl&&!this.Xc){var a=this;this.Xc=window.setTimeout(function(){a.clear();a.Gl||(a.Pb(),a.Gl=!0)},$u.GH(this.DA))}};
jv.prototype.clear=function(){this.Xc&&(window.clearTimeout(this.Xc),this.Xc=null)};var kv=function(a,b){var c=$u.Ko;this.RU=$u.Eo;this.UM=c;this.Pb=a;this.DA=b;this.Xc=null;this.Gl=!1;var d=this;this.VM=function(){document[d.RU]||(d.clear(),d.start())}};kv.prototype.start=function(){if(!this.Gl&&!this.Xc){Uu(document,this.UM,this.VM);var a=this;this.Xc=window.setTimeout(function(){a.clear();a.Gl||(a.Pb(),a.Gl=!0)},$u.GH(this.DA))}};
kv.prototype.clear=function(){var a=this.UM,b=this.VM,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw"Remove event handler for "+a+" failed.";this.Xc&&(window.clearTimeout(this.Xc),this.Xc=null)};$u.Eo=null;$u.Ko=null;
$u.nV=function(){var a=document;"undefined"!==typeof a.hidden?($u.Eo="hidden",$u.Ko="visibilitychange"):"undefined"!==typeof a.msHidden?($u.Eo="msHidden",$u.Ko="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&($u.Eo="webkitHidden",$u.Ko="webkitvisibilitychange")};$u.nV();$u.BQ=function(a,b){return $u.Eo&&$u.Ko?new kv(a,b):new jv(a,b)};$u.GH=function(a){return Math.max(1,a-(new Date).getTime())};
var lv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},mv=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(r){for(var u=g,q=0;64>q;q+=4)u[q/4]=r[q]<<24|r[q+1]<<16|r[q+2]<<8|r[q+3];for(q=16;80>q;q++)r=u[q-3]^u[q-8]^u[q-14]^u[q-16],u[q]=(r<<1|r>>>31)&4294967295;r=e[0];var v=e[1],t=e[2],w=e[3],z=e[4];for(q=0;80>q;q++){if(40>q)if(20>q){var C=w^v&(t^w);var A=1518500249}else C=
v^t^w,A=1859775393;else 60>q?(C=v&t|w&(v|t),A=2400959708):(C=v^t^w,A=3395469782);C=((r<<5|r>>>27)&4294967295)+C+z+A+u[q]&4294967295;z=w;w=t;t=(v<<30|v>>>2)&4294967295;v=r;r=C}e[0]=e[0]+r&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+t&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+z&4294967295}function c(r,u){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var q=[],v=0,t=r.length;v<t;++v)q.push(r.charCodeAt(v));r=q}u||(u=r.length);q=0;if(0==m)for(;q+64<u;)b(r.slice(q,q+64)),q+=64,n+=64;for(;q<
u;)if(f[m++]=r[q++],n++,64==m)for(m=0,b(f);q+64<u;)b(r.slice(q,q+64)),q+=64,n+=64}function d(){var r=[],u=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var q=63;56<=q;q--)f[q]=u&255,u>>>=8;b(f);for(q=u=0;5>q;q++)for(var v=24;0<=v;v-=8)r[u++]=e[q]>>v&255;return r}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Dg:function(){for(var r=d(),u="",q=0;q<r.length;q++)u+="0123456789ABCDEF".charAt(Math.floor(r[q]/16))+"0123456789ABCDEF".charAt(r[q]%16);return u}}},nv=
window.crypto,ov=!1,pv=0,qv=1,rv=0,sv="",tv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;qv=qv*b%rv;if(3==++pv)if(a=window,b=tv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("R`mousemove");},uv=function(a){var b=mv();b.update(a);return b.Dg()};ov=!!nv&&"function"==typeof nv.getRandomValues;
ov||(rv=1E6*(screen.width*screen.width+screen.height),sv=uv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),Uu(window,"mousemove",tv));Zu=Zu||{};Zu.KN="ssIFrame_";
_.vv=function(a,b){this.Ib=a;if(!this.Ib)throw Error("S");a=_.bv(a,"idpIFrameUrl");if(!a)throw Error("T");this.yI=a;if(!b)throw Error("U");this.Dk=b;a=this.yI;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.nA=a.join("");this.pY=[location.protocol,"//",location.host].join("");this.mA=
this.An=!1;this.uI=null;this.Ev=[];this.Sn=[];this.ui={};this.Jl=void 0};_.vv.prototype.show=function(){var a=this.Jl;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")};_.vv.prototype.Dc=function(){ev(this.Jl)};
_.vv.prototype.ev=function(a){if(this.An)a&&a(this);else{if(!this.Jl){var b=Zu.KN+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<=Pu(e.split("|"),c))?lv(e,d):lv(e?e+"|"+c:c,d);c=!f;f=this.yI;var g=this.pY;d=this.Dk;e=document.createElement("iframe");e.setAttribute("id",b);b="allow-scripts allow-same-origin";document.requestStorageAccess&&Ru(document.requestStorageAccess)&&(b+=" allow-storage-access-by-user-activation");
e.setAttribute("sandbox",b);ev(e);e.setAttribute("frame-border","0");b=[f,"#origin=",encodeURIComponent(g)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Nu&&b.push("&debug=1");document.body.appendChild(e);e.setAttribute("src",b.join(""));this.Jl=e}a&&this.Ev.push(a)}};_.vv.prototype.rl=function(){return this.uI};wv=function(a){for(var b=0;b<a.Ev.length;b++)a.Ev[b](a);a.Ev=[]};
_.yv=function(a,b,c,d){if(a.An){if(a.An&&a.mA)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.rl(),Ou(a),Error(a);xv(a,{method:b,params:c},d)}else a.Sn.push({im:{method:b,params:c},callback:d}),a.ev()};xv=function(a,b,c){if(c){for(var d=b.id;!d||a.ui[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.ui[d]=c}b.rpcToken=a.Dk;a.Jl.contentWindow.postMessage(_.Xu.stringify(b),a.nA)};zv=function(a){if(a&&0<=a.indexOf("::"))throw Error("V");};
_.vv.prototype.Jh=function(a,b,c,d,e,f,g,k){zv(f);b=_.Su(b);_.yv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:g,skipCache:k,id:f},e)};_.vv.prototype.dv=function(a,b,c,d,e){b=_.Su(b);_.yv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Av=function(a,b,c){zv(b.identifier);_.yv(a,"getSessionSelector",b,c)};
_.Bv=function(a,b,c,d,e){zv(b.identifier);_.yv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Cv=function(a,b,c){_.yv(a,"monitorClient",{clientId:b},c)};_.vv.prototype.mr=_.ja(30);_.vv.prototype.Aw=function(a,b){_.yv(this,"showDialog",{p8:a},b)};_.vv.prototype.$o=_.ja(32);Zu.Au={};Zu.qz=function(a){return Zu.Au[a]};
Zu.ev=function(a,b){var c=Zu.qz(a);if(!c){c=String;if(ov){var d=new window.Uint32Array(1);nv.getRandomValues(d);d=Number("0."+d[0])}else d=qv,d+=parseInt(sv.substr(0,20),16),sv=uv(sv),d/=rv+Math.pow(16,20);c=new _.vv(a,c(2147483647*d));Zu.Au[a]=c}c.ev(b)};Zu.eS=function(a){for(var b in Zu.Au){var c=Zu.qz(b);if(c&&c.Jl&&c.Jl.contentWindow==a.source&&c.nA==a.origin)return c}};Zu.TS=function(a){for(var b in Zu.Au){var c=Zu.qz(b);if(c&&c.nA==a)return c}};Zu=Zu||{};
var Ev=function(){var a=[],b;for(b in Dv)a.push(Dv[b]);Yu.call(this,a);this.kk={};Ou("EventBus is ready.")};Qu(Ev,Yu);var Dv={UO:"sessionSelectorChanged",mx:"sessionStateChanged",Xw:"authResult",vN:"displayIFrame"},Gv=function(a){var b=Fv;a&&(b.kk[a]||(b.kk[a]=[]))},Hv=function(a,b,c){return b&&a.kk[b]&&0<=Pu(a.kk[b],c)};_.h=Ev.prototype;
_.h.zX=function(a){var b,c=!!a.source&&(a.source.opener===window||a.source===_.dv);if(b=c?Zu.TS(a.origin):Zu.eS(a)){try{var d=_.Xu.parse(a.data)}catch(e){Ou("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Dk){Ou("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.ui[c.id])delete b.ui[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?Ou("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.xI[a.type]?(d=this.xI[a.type],
c&&!d.EP?Ou("Bad IDP event. Source window cannot be a popup."):d.yo&&!d.yo.call(this,b,a)?Ou("Bad IDP event."):d.Ne.call(this,b,a)):Ou("Bad IDP event.")}else Ou("Bad event, no corresponding Idp Stub.")};_.h.TY=function(a,b){return Hv(this,a.Ib,b.clientId)};_.h.SY=function(a,b){b=b.clientId;return!b||Hv(this,a.Ib,b)};_.h.PP=function(a,b){return Hv(this,a.Ib,b.clientId)};_.h.LW=function(a){a.An=!0;wv(a);for(var b=0;b<a.Sn.length;b++)xv(a,a.Sn[b].im,a.Sn[b].callback);a.Sn=[]};
_.h.KW=function(a,b){b={error:b.error};a.An=!0;a.mA=!0;a.uI=b;a.Sn=[];wv(a)};_.h.Zv=function(a,b){b.originIdp=a.Ib;this.dispatchEvent(b)};var Fv=new Ev,Iv=Fv,Jv={};Jv.idpReady={Ne:Iv.LW};Jv.idpError={Ne:Iv.KW};Jv.sessionStateChanged={Ne:Iv.Zv,yo:Iv.TY};Jv.sessionSelectorChanged={Ne:Iv.Zv,yo:Iv.SY};Jv.authResult={Ne:Iv.Zv,yo:Iv.PP,EP:!0};Jv.displayIFrame={Ne:Iv.Zv};Fv.xI=Jv||{};Uu(window,"message",function(a){Fv.zX.call(Fv,a)});
_.Kv=function(a,b){this.de=!1;if(!a)throw Error("W");var c=[],d;for(d in a)c.push(a[d]);Yu.call(this,c);this.sd=[location.protocol,"//",location.host].join("");this.uc=b.crossSubDomains?b.domain||this.sd:this.sd;if(!b)throw Error("X");if(!b.idpId)throw Error("Y");if(!_.bv(b.idpId,"authServerUrl")||!_.bv(b.idpId,"idpIFrameUrl"))throw Error("Z`"+b.idpId);this.Ib=b.idpId;this.Tb=void 0;this.IQ=!!b.disableTokenRefresh;this.AR=!!b.forceTokenRefresh;this.VZ=!!b.skipTokenCache;this.setOptions(b);this.jp=
[];this.Ml=this.XI=!1;this.En=void 0;this.JK();this.Vc=void 0;var e=this,f=function(){Ou("Token Manager is ready.");if(e.jp.length)for(var g=0;g<e.jp.length;g++)e.jp[g].call(e);e.XI=!0;e.jp=[]};Zu.ev(this.Ib,function(g){e.Vc=g;g.An&&g.mA?(e.Ml=!0,e.En=g.rl(),e.Av(e.En)):e.Tb?Cv(e.Vc,e.Tb,function(k){if(k){k=e.Ib;var l=e.Tb,m=Fv;k&&l&&(m.kk[k]||(m.kk[k]=[]),0>Pu(m.kk[k],l)&&m.kk[k].push(l));f()}else e.En={error:"Not a valid origin for the client: "+e.sd+" has not been registered for client ID "+e.Tb+
". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Ml=!0,e.Av(e.En)}):(Gv(e.Ib),f())})};Qu(_.Kv,Yu);_.Kv.prototype.setOptions=function(){};_.Kv.prototype.JK=function(){};_.Kv.prototype.Av=function(){};_.Kv.prototype.rl=function(){return this.En};Lv=function(a,b,c){return function(){b.apply(a,c)}};_.Mv=function(a,b,c){if(a.XI)b.apply(a,c);else{if(a.Ml)throw a.En;a.jp.push(Lv(a,b,c))}};_.Kv.prototype.rF=_.ja(33);_.Kv.prototype.$o=_.ja(31);
_.Ov=function(a,b){_.Kv.call(this,a,b);this.sK=new fv;this.Ui=this.Xl=null;Nv(this)};Qu(_.Ov,_.Kv);_.Ov.prototype.setOptions=function(){};
var Pv=function(a,b){a.$d={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.uc};b.crossSubDomains&&(a.$d.policy=b.policy)},Qv=function(a,b){if(!b.authParameters)throw Error("$");if(!b.authParameters.scope)throw Error("aa");if(!b.authParameters.response_type)throw Error("ba");a.Qo=b.authParameters;a.Qo.redirect_uri||(a.Qo.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Rh=_.Su(b.rpcAuthParameters||a.Qo);if(!a.Rh.scope)throw Error("ca");if(!a.Rh.response_type)throw Error("da");
a:{var c=a.Rh.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!Vu[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ea");b.enableSerialConsent&&(a.Rh.enable_serial_consent=!0);b.authResultIdentifier&&(a.QP=b.authResultIdentifier);b.spec_compliant&&(a.Rh.spec_compliant=b.spec_compliant)};
_.Ov.prototype.JK=function(){var a=this;Fv.addEventListener(Dv.UO,function(b){a.de&&a.$d&&b.originIdp==a.Ib&&!b.crossSubDomains==!a.$d.crossSubDomains&&b.domain==a.$d.domain&&b.id==a.$d.id&&a.dK(b)});Fv.addEventListener(Dv.mx,function(b){a.de&&b.originIdp==a.Ib&&b.clientId==a.Tb&&a.eK(b)});Fv.addEventListener(Dv.Xw,function(b){_.dv=void 0;a.de&&b.originIdp==a.Ib&&b.clientId==a.Tb&&b.id==a.Ri&&(a.Xl&&(window.clearTimeout(a.Xl),a.Xl=null),a.Ri=void 0,a.Oq(b))});Fv.addEventListener(Dv.vN,function(b){a.de&&
b.originIdp==a.Ib&&(b.Dc?a.Vc.Dc():a.Vc.show())})};_.Ov.prototype.dK=function(){};_.Ov.prototype.eK=function(){};_.Ov.prototype.Oq=function(){};var Sv=function(a,b){Rv(a);a.IQ||(a.Ui=$u.BQ(function(){a.Jh(!0)},b-3E5),navigator.onLine&&a.Ui.start())},Rv=function(a){a.Ui&&(a.Ui.clear(),a.Ui=null)},Nv=function(a){var b=window;Wu()&&(b=document.body);Uu(b,"online",function(){a.Ui&&a.Ui.start()});Uu(b,"offline",function(){a.Ui&&a.Ui.clear()})};_.h=_.Ov.prototype;_.h.Jh=function(){};
_.h.Aw=function(a,b){this.Vc.Aw(a,b)};_.h.NJ=_.ja(34);_.h.WV=function(a,b){if(!this.Tb)throw Error("ia");this.Vc.dv(this.Tb,this.Rh,this.$d,a,b)};_.h.dv=function(a,b){_.Mv(this,this.WV,[a,b])};_.Uv=function(a){this.Xd=void 0;this.Eg=!1;this.eo=void 0;_.Ov.call(this,_.Tv,a)};Qu(_.Uv,_.Ov);_.Tv={pE:"noSessionBound",Jo:"userLoggedOut",eN:"activeSessionChanged",mx:"sessionStateChanged",oP:"tokenReady",nP:"tokenFailed",Xw:"authResult",ERROR:"error"};
_.Uv.prototype.setOptions=function(a){if(!a.clientId)throw Error("ja");this.Tb=a.clientId;this.Aa=a.id;Pv(this,a);Qv(this,a)};_.Uv.prototype.Av=function(a){this.dispatchEvent({type:_.Tv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Ib})};var Vv=function(a){Rv(a);a.eo=void 0;a.PA=void 0};_.h=_.Uv.prototype;
_.h.dK=function(a){var b=a.newValue||{};if(this.Xd!=b.hint||this.Eg!=!!b.disabled){a=this.Xd;var c=!this.Xd||this.Eg;Vv(this);this.Xd=b.hint;this.Eg=!!b.disabled;(b=!this.Xd||this.Eg)&&!c?this.dispatchEvent({type:_.Tv.Jo,idpId:this.Ib}):b||(a!=this.Xd&&this.dispatchEvent({type:_.Tv.eN,idpId:this.Ib}),this.Xd&&this.Jh())}};
_.h.eK=function(a){this.Eg||(this.Xd?a.user||this.eo?a.user==this.Xd&&(this.eo?a.sessionState?this.eo=a.sessionState:(Vv(this),this.dispatchEvent({type:_.Tv.Jo,idpId:this.Ib})):a.sessionState&&(this.eo=a.sessionState,this.Jh())):this.Jh():this.dispatchEvent({type:_.Tv.mx,idpId:this.Ib}))};_.h.Oq=function(a){this.dispatchEvent({type:_.Tv.Xw,authResult:a.authResult})};_.h.Op=_.ja(36);_.h.Hp=function(a){_.Mv(this,this.dz,[a])};_.h.dz=function(a){Av(this.Vc,this.$d,a)};
_.h.Bw=function(a,b,c){if(!a)throw Error("ka");Vv(this);this.Xd=a;this.Eg=!1;b&&_.Bv(this.Vc,this.$d,!1,this.Xd);this.de=!0;this.Jh(c,!0)};_.h.start=function(){_.Mv(this,this.$Z,[])};
_.h.$Z=function(){var a=this.Tb==Tu("client_id")?Tu("login_hint"):void 0;var b=this.Tb==Tu("client_id")?Tu("state"):void 0;this.nB=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.Bw(a,!0,!0);else{var c=this;this.Hp(function(d){c.de=!0;d&&d.hint?(Vv(c),c.Xd=d.hint,c.Eg=!!d.disabled,c.Eg?c.dispatchEvent({type:_.Tv.Jo,idpId:c.Ib}):c.Bw(d.hint)):(Vv(c),c.Xd=void 0,c.Eg=!(!d||!d.disabled),c.dispatchEvent({type:_.Tv.pE,
autoOpenAuthUrl:!c.Eg,idpId:c.Ib}))})}};_.h.PG=_.ja(37);_.h.Jh=function(a,b){var c=this;this.Vc.Jh(this.Tb,this.Rh,this.Xd,this.$d,function(d,e){(e=e||d.error)?"user_logged_out"==e?(Vv(c),c.dispatchEvent({type:_.Tv.Jo,idpId:c.Ib})):(c.PA=null,c.dispatchEvent({type:_.Tv.nP,idpId:c.Ib,error:e})):(c.PA=d,c.eo=d.session_state,Sv(c,d.expires_at),d.idpId=c.Ib,b&&c.nB&&(d.state=c.nB,c.nB=void 0),c.dispatchEvent({type:_.Tv.oP,idpId:c.Ib,response:d}))},this.Aa,a)};_.h.mr=_.ja(29);_.h.aL=_.ja(38);
_.Wv=function(a){this.Qk=null;_.Ov.call(this,{},a);this.de=!0};Qu(_.Wv,_.Ov);_.h=_.Wv.prototype;_.h.setOptions=function(a){if(!a.clientId)throw Error("ja");this.Tb=a.clientId;this.Aa=a.id;Pv(this,a);Qv(this,a)};_.h.Av=function(a){this.Qk&&(this.Qk({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Qk=null)};_.h.Oq=function(a){if(this.Qk){var b=this.Qk;this.Qk=null;b(a)}};_.h.Op=_.ja(35);_.h.Hp=function(a){this.Ml?a(this.rl()):_.Mv(this,this.dz,[a])};
_.h.dz=function(a){Av(this.Vc,this.$d,a)};_.Xv=function(a,b,c){a.Ml?c(a.rl()):_.Mv(a,a.$W,[b,c])};_.Wv.prototype.$W=function(a,b){this.Vc.Jh(this.Tb,this.Rh,a,this.$d,function(c,d){d?b({error:d}):b(c)},this.Aa,this.AR,this.VZ)};_.Wv.prototype.rJ=_.ja(39);

var Yv=function(a){return Array.prototype.concat.apply([],arguments)},Zv=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 _.fh(a,3).substring(0,64)},$v=function(a,b,c){if(!a.de)throw Error("fa");b?_.Bv(a.Vc,a.$d,!0,void 0,c):_.Bv(a.Vc,a.$d,!0,a.Xd,c)},aw=function(a){if(!a.de)throw Error("fa");return a.PA},bw,cw,dw,ew,fw,gw,hw,iw,lw;
_.Wv.prototype.rJ=_.Sc(39,function(a,b){var c=this.Vc,d=this.Tb,e=this.$d,f=_.Su(this.Rh);delete f.response_type;_.yv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.Uv.prototype.aL=_.Sc(38,function(a){aw(this)&&aw(this).access_token&&(this.Vc.mr(this.Tb,aw(this).access_token,a),$v(this,!0))});_.Uv.prototype.PG=_.Sc(37,function(){var a=this;this.Hp(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.Tv.Jo,idpId:a.Ib}):a.Jh(!0):a.dispatchEvent({type:_.Tv.pE,idpId:a.Ib})})});
_.Uv.prototype.Op=_.Sc(36,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.Bw(b.authResult.login_hint,a.Eg||b.authResult.login_hint!=a.Xd,!0)}});
_.Wv.prototype.Op=_.Sc(35,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Hp(function(d){_.Bv(b.Vc,b.$d,d&&d.disabled,c.authResult.login_hint,function(){_.Xv(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"})}});_.Ov.prototype.NJ=_.Sc(34,function(){this.Tb&&_.yv(this.Vc,"startPolling",{clientId:this.Tb,origin:this.sd,id:this.Ri},void 0)});
_.vv.prototype.mr=_.Sc(30,function(a,b,c){_.yv(this,"revoke",{clientId:a,token:b},c)});_.Uv.prototype.mr=_.Sc(29,function(a){_.Mv(this,this.aL,[a])});bw=function(){var a=navigator.userAgent,b;if(b=!!a&&-1!=a.indexOf("CriOS"))b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=48>b;return b};
cw=function(){var a=navigator.userAgent.toLowerCase();if(!(-1<a.indexOf("safari/")&&0>a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=/version\/(\d+)\.(\d+)[\.0-9]*/.exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12<a||12==a&&1<=b};
dw=function(a,b,c,d,e,f,g){var k=_.bv(a,"authServerUrl");if(!k)throw Error("P`"+a);a=_.Su(d);a.response_type=g||"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=cw())&&(b=navigator.userAgent.toLowerCase(),-1<b.indexOf("ipad;")||-1<b.indexOf("iphone;")?(b=/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("&")};
ew=function(a,b,c,d){if(!a.Tb)throw Error("ga");a.Ri=c||a.QP||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.sd.split("//");c=b.extraQueryParams;var f=e[0],g=f.indexOf(":");0<g&&(f=f.substring(0,g));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.Ri);c.redirect_uri=e.join("")}return dw(a.Ib,a.uc,a.Tb,a.Qo,!0,b,d)};
fw=function(a,b){a.Xl&&window.clearTimeout(a.Xl);a.Xl=window.setTimeout(function(){a.Ri==b&&(_.dv=void 0,a.Xl=null,a.Ri=void 0,a.Oq({authResult:{error:"popup_closed_by_user"}}))},1E3)};gw=function(a,b,c){if(!a.Tb)throw Error("ha");c=c||{};c=ew(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||bw())&&_.Mv(a,a.NJ,[]);var d=a.Ri;a.sK.open(c,b,function(){a.Ri==d&&fw(a,d)},function(){a.Ri=void 0;a.Oq({authResult:{error:"popup_blocked_by_browser"}})})};
hw=function(a){_.Mv(a,a.PG,[])};iw=function(a,b,c){a.Ml?c(a.rl()):_.Mv(a,a.rJ,[b,c])};
_.jw=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 g=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],g=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63)}return b.join("")};
_.kw=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=_.ch[m];if(null!=n)return n;if(!_.He(m))throw Error("v`"+m);}return l}_.eh();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}};lw=function(a){var b=[];_.kw(a,function(c){b.push(c)});return b};_.mw=function(a,b){_.Mh[b||"token"]=a};_.nw=function(a){delete _.Mh[a||"token"]};
_.Xu={parse:function(a){a=_.tf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.uf(a)}};
_.Wv.prototype.Ry=function(a,b){_.Mv(this,this.mR,[a,b])};_.Wv.prototype.mR=function(a,b){this.Vc.Ry(this.Tb,a,this.Rh,this.$d,b)};
_.vv.prototype.Ry=function(a,b,c,d,e){c=_.Su(c);_.yv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};
var ow,pw=["client_id","cookie_policy","scope"],qw="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection gsiwebsdk".split(" "),rw=["authuser","after_redirect","access_type","hl"],sw=["login_hint","prompt"],tw={clientid:"client_id",cookiepolicy:"cookie_policy"},uw=["approval_prompt","authuser","login_hint",
"prompt","hd"],vw=["login_hint","g-oauth-window","status"],ww=Math.min(_.R("oauth-flow/authWindowWidth",599),screen.width-20),xw=Math.min(_.R("oauth-flow/authWindowHeight",600),screen.height-30);
var yw=function(a){_.Tc.call(this,a)};_.ii(yw,_.Tc);yw.prototype.name="gapi.auth2.ExternallyVisibleError";
var zw=function(){};zw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Aw=function(){};Aw.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 Bw=function(a){this.RP=a};
Bw.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.RP){d.login_hint?b(d):b();return}}b()};
var Cw=function(a){this.Ld=a;this.jw=[]};Cw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.jw[b];f?(b++,c.Ld.dv(function(g){g?f.select(g,d):d()})):a()}};d()};var Dw=function(a){a=new Cw(a);a.jw.push(new zw);return a},Ew=function(a){a=new Cw(a);a.jw.push(new Aw);return a},Fw=function(a,b){void 0===b||null===b?b=Dw(a):(a=new Cw(a),a.jw.push(new Bw(b)),b=a);return b};
var Gw=function(a){this.Ne=a;this.Ed=!0};Gw.prototype.remove=function(){this.Ed=!1};Gw.prototype.trigger=function(){};var Hw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Iw=function(){this.Wb=[]};Iw.prototype.add=function(a){this.Wb.push(a)};Iw.prototype.notify=function(a){for(var b=this.Wb,c=[],d=0;d<b.length;d++){var e=b[d];e.Ed&&(c.push(e),_.rk(Jw(e.Ne,a)))}this.Wb=c};var Jw=function(a,b){return function(){a(b)}};
var Lw=function(a){this.fe=null;this.Q_=new Kw(this);this.Wb=new Iw;void 0!=a&&this.set(a)};Lw.prototype.set=function(a){a!=this.fe&&(this.fe=a,this.Q_.value=a,this.Wb.notify(this.fe))};Lw.prototype.get=function(){return this.fe};Lw.prototype.U=function(a){a=new Mw(this,a);this.Wb.add(a);return a};Lw.prototype.get=Lw.prototype.get;var Mw=function(a,b){Gw.call(this,b);this.ZV=a};_.ii(Mw,Gw);Mw.prototype.trigger=function(){var a=this.Ne;a(this.ZV.get())};var Kw=function(a){this.value=null;this.U=function(b){return new Hw(a.U(b))}};
var Nw={l2:"fetch_basic_profile",r3:"login_hint",S4:"prompt",Y4:"redirect_uri",r5:"scope",J6:"ux_mode",f6:"state"},Ow=function(a){this.ya={};if(a&&!_.ui(a))if("function"==typeof a.get)this.ya=a.get();else for(var b in Nw){var c=Nw[b];c in a&&(this.ya[c]=a[c])}};Ow.prototype.get=function(){return this.ya};Ow.prototype.UL=function(a){this.ya.scope=a;return this};Ow.prototype.cq=function(){return this.ya.scope};
var Pw=function(a,b){var c=a.ya.scope;b=Yv(b.split(" "),c?c.split(" "):[]);_.ek(b);a.ya.scope=b.join(" ")};_.h=Ow.prototype;_.h.zZ=function(a){this.ya.prompt=a;return this};_.h.WS=function(){return this.ya.prompt};_.h.WY=function(){_.Af("Property app_package_name no longer supported and was not set");return this};_.h.HR=function(){_.Af("Property app_package_name no longer supported")};_.h.Ee=function(a){this.ya.state=a};_.h.getState=function(){return this.ya.state};
var Qw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+ww,"height="+xw,"top="+(screen.height-xw)/2,"left="+(screen.width-ww)/2].join()},Rw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.jw(lw(a)))},Sw=function(){ow=_.R("auth2/idpValue","google");var a=_.R("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.R("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.cv(ow,{authServerUrl:a,idpIFrameUrl:b})},Tw=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}_.Za(a[e])||(a[e]={});a=a[e]}},Uw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a};
var Vw=function(a){var b=a?(b=Rw(a))?b.sub:null:null;this.Aa=b;this.tc=a?_.hk(a):null};_.h=Vw.prototype;_.h.ka=function(){return this.Aa};_.h.nz=function(){var a=Rw(this.tc);return a?a.hd:null};_.h.Af=function(){return!!this.tc};_.h.Tj=function(a){if(a)return this.tc;a=Ww;var b=_.hk(this.tc);!a.Ku||a.hA||a.FU||(delete b.access_token,delete b.scope);return b};_.h.WB=function(){return Ww.WB()};_.h.lj=function(){this.tc=null};_.h.oS=function(){return this.tc?this.tc.scope:null};
_.h.update=function(a){this.Aa=a.Aa;this.tc=a.tc;this.tc.id_token?this.Qs=new Xw(this.tc):this.Qs&&(this.Qs=null)};var Yw=function(a){return a.tc&&"object"==typeof a.tc.session_state?_.hk(a.tc.session_state.extraQueryParams||{}):{}};_.h=Vw.prototype;_.h.Ep=function(){var a=Yw(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.h.kj=function(a){var b=Ww,c=new Ow(a);b.hA=c.cq()?!0:!1;Ww.Ku&&Pw(c,"openid profile email");return new _.Bk(function(d,e){var f=Yw(this);f.login_hint=this.ka();f.scope=c.cq();Zw(b,d,e,f)},this)};_.h.gq=function(a){return new _.Bk(function(b,c){var d=a||{},e=Ww;d.login_hint=this.ka();e.gq(d).then(b,c)},this)};_.h.rT=function(a){return this.kj(a)};_.h.disconnect=function(){return Ww.disconnect()};_.h.KR=function(){return this.Qs};
_.h.wu=function(a){if(!this.Af())return!1;var b=this.tc&&this.tc.scope?this.tc.scope.split(" "):"";return _.qb(a?a.split(" "):[],function(c){return _.Ya(b,c)})};var Xw=function(a){a=Rw(a);this.ER=a.sub;this.Te=a.name;this.oT=a.given_name;this.kR=a.family_name;this.EI=a.picture;this.zt=a.email};_.h=Xw.prototype;_.h.ka=function(){return this.ER};_.h.Ii=function(){return this.Te};_.h.mS=function(){return this.oT};_.h.gS=function(){return this.kR};_.h.xS=function(){return this.EI};_.h.Xt=function(){return this.zt};
var ax=function(a,b,c){this.Sl=b;this.wW=a;for(var d in a)a.hasOwnProperty(d)&&$w(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.Sl[c[a]]},$w=function(a,b){a[b]=function(){return a.wW[b].apply(a.Sl,arguments)}};ax.prototype.then=function(a,b,c){var d=this;return _.Fk().then(function(){return bx(d.Sl,a,b,c)})};_.lk(ax);
var cx;cx=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.dx=function(a){if(!a)throw new yw("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 yw("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(!_.si(b,"."+a)&&!_.si(b,a))throw new yw("Invalid cookiePolicy domain");return d};
var fx=function(a){var b=a||{},c=ex();_.mb(qw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},ex=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;tw[d]&&(d=tw[d]);_.Ya(qw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},gx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},hx=function(a){_.mb(qw,
function(b){var c=gx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},ix=function(a){a=fx(a);hx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=qw+rw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},jx=function(a,b){if(!a)throw new yw("Empty initial options.");for(var c=0;c<pw.length;++c)if(!(b&&"scope"==pw[c]||a[pw[c]]))throw new yw("Missing required parameter '"+pw[c]+"'");_.dx(a.cookie_policy)},lx=function(a){var b={authParameters:{redirect_uri:void 0,
response_type:"token id_token",scope:a.scope,"openid.realm":a.openid_realm},clientId:a.client_id,crossSubDomains:!0,domain:cx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:ow};kx(b,a);_.mb(sw,function(c){a[c]&&(b.authParameters[c]=a[c])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);return b},kx=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||Zv());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=
!0,a.skipTokenCache=!0)},qx=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,g=a.oidc_spec_compliant,k=a.nonce,l=mx(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:cx(c),idpId:ow};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);g&&(m.rpcAuthParameters.spec_compliant=g,k=k||Zv());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=
!0,m.skipTokenCache=!0);_.mb(sw.concat(rw),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 nx(a.response_type||"token"),ox(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),px(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);return m},mx=function(a){a=new nx(a.response_type||"token");var b=[];px(a)&&b.push("token");rx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},sx=["permission","id_token"],tx=/(^|[^_])token/,nx=function(a){this.Xn=[];this.yA(a)};
nx.prototype.yA=function(a){a?((0<=a.indexOf("permission")||a.match(tx))&&this.Xn.push("permission"),0<=a.indexOf("id_token")&&this.Xn.push("id_token"),0<=a.indexOf("code")&&this.Xn.push("code")):this.Xn=sx};var ox=function(a){return rx(a,"code")},px=function(a){return rx(a,"permission")};nx.prototype.toString=function(){return this.Xn.join(" ")};var rx=function(a,b){var c=!1;_.mb(a.Xn,function(d){d==b&&(c=!0)});return c};
var Ww,ux,wx,yx,zx,bx;Ww=null;_.vx=function(){return Ww?ux():null};ux=function(){return new ax(wx.prototype,Ww,["currentUser","isSignedIn"])};wx=function(a){delete a.include_granted_scopes;this.ya=lx(a);this.xQ=a.cookie_policy;this.FU=!!a.scope;(this.Ku=!1!==a.fetch_basic_profile)&&(this.ya.authParameters.scope=xx(this,"openid profile email"));this.rq=a.hosted_domain;this.N_=a.ux_mode||"popup";this.FX=a.redirect_uri||null;yx(this)};
yx=function(a){a.currentUser=new Lw(new Vw(null));a.isSignedIn=new Lw(!1);a.Ld=new _.Uv(a.ya);a.Gn=null;a.Qu=null;a.MV=new _.Bk(function(b,c){this.Gn=b;this.Qu=c},a);a.Dv={};a.Aq=!0;zx(a);a.Ld.start()};
zx=function(a){a.Ld.addEventListener("error",function(b){a.Aq&&a.Gn&&(a.Aq=!1,a.Qu({error:b.error,details:b.details}),a.Gn=null,a.Qu=null)});a.Ld.addEventListener("authResult",function(b){b&&b.authResult&&a.Je(b);a.Ld.Op()(b)});a.Ld.addEventListener("tokenReady",function(b){var c=new Vw(b.response);if(a.rq&&a.rq!=c.nz())a.Je({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.nz(),expectedDomain:a.rq});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Wb.notify(d.fe);a.isSignedIn.set(!0);c=c.Ep();(d=_.dx(a.xQ))&&c&&_.Ah.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.xe?"S":"H",d.mh].join(""),c,{domain:d.domain,secure:d.isSecure});_.mw(b.response);a.Je(b)}});a.Ld.addEventListener("noSessionBound",function(b){a.Aq&&b.autoOpenAuthUrl?(a.Aq=!1,Dw(a.Ld).select(function(c){if(c&&c.login_hint){var d=a.Ld;_.Mv(d,d.Bw,[c.login_hint,!0])}else a.currentUser.set(new Vw(null)),a.isSignedIn.set(!1),_.nw(),a.Je(b)})):(a.currentUser.set(new Vw(null)),
a.isSignedIn.set(!1),_.nw(),a.Je(b))});a.Ld.addEventListener("tokenFailed",function(b){a.Je(b)});a.Ld.addEventListener("userLoggedOut",function(b){a.currentUser.get().lj();var c=a.currentUser;c.Wb.notify(c.fe);a.isSignedIn.set(!1);_.nw();a.Je(b)})};bx=function(a,b,c,d){return a.MV.then(function(e){if(b)return b(e.pT)},c,d)};wx.prototype.Je=function(a){if(a){this.Aq=!1;var b=a.type||"";if(this.Dv[b])this.Dv[b](a);this.Gn&&(this.Gn({pT:this}),this.Qu=this.Gn=null)}};
var Ax=function(a,b){_.Ab(b,function(c,d){a.Dv[d]=function(e){a.Dv={};c(e)}})},Zw=function(a,b,c,d){d=_.hk(d);a.rq&&(d.hd=a.rq);var e=d.ux_mode||a.N_;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.FX||Uw()+window.location.pathname),Bx(a,f)):(delete d.redirect_uri,Cx(a,f),Ax(a,{authResult:function(g){g.authResult&&g.authResult.error?c(g.authResult):Ax(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};wx.prototype.kj=function(a){return new _.Bk(function(b,c){var d=new Ow(a);this.hA=d.cq()?!0:!1;this.Ku?(d.ya.fetch_basic_profile=!0,Pw(d,"email profile openid")):d.ya.fetch_basic_profile=!1;var e=xx(this,d.cq());d.UL(e);Zw(this,b,c,d.get())},this)};
wx.prototype.gq=function(a){var b=a||{};this.hA=!!b.scope;a=xx(this,b.scope);if(""==a)return _.Gk({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.mb(uw,function(d){null!=b[d]&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");return"postmessage"==b.redirect_uri||void 0==b.redirect_uri?Dx(this,c):Ex(this,c,b.redirect_uri)};
var Ex=function(a,b,c){b.redirect_uri=c;Bx(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.Fk({message:"Redirecting to IDP."})},Dx=function(a,b){b.origin=Uw();delete b.redirect_uri;Cx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Bk(function(c,d){Ax(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Cx=function(a,b){Tw(b,["sessionMeta","extraQueryParams",
"gsiwebsdk"],"2");gw(a.Ld,Qw(),b)},Bx=function(a,b){Tw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");var c=b||{};b=window.location;var d=b.assign;a=a.Ld;if(!a.Tb)throw Error("ga");a=dw(a.Ib,a.uc,a.Tb,a.Qo,!1,c.sessionMeta,c.responseType);d.call(b,a)};wx.prototype.lj=function(a){var b=a||!1;return new _.Bk(function(c){$v(this.Ld,b,function(){c()})},this)};wx.prototype.oH=function(){return this.ya.authParameters.scope};
var xx=function(a,b){a=a.oH();b=Yv(b?b.split(" "):[],a?a.split(" "):[]);_.ek(b);return b.join(" ")};wx.prototype.WB=function(){var a=this;return new _.Bk(function(b,c){Ax(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});hw(a.Ld)})};
wx.prototype.YE=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.Oi(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.kj(f).then(function(g){c&&c(g)},function(g){d&&d(g)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})};wx.prototype.disconnect=function(){return new _.Bk(function(a){this.Ld.mr(function(){a()})},this)};wx.prototype.attachClickHandler=wx.prototype.YE;
var Fx;_.Bk.prototype["catch"]=_.Bk.prototype.Wr;Fx=null;_.Gx=function(a){a=ix(a);if(Ww){if(_.gk(a,Fx||{}))return ux();throw new yw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}jx(a,!1!==a.fetch_basic_profile);Sw();Fx=a;Ww=new wx(a);_.xe.ga=1;return ux()};
var Ix,Kx,Hx,Mx,Lx,Nx;_.Jx=function(a,b){Sw();a=ix(a);jx(a);var c=qx(a),d=new _.Wv(c);"none"==a.prompt?Hx(d,a,function(e){e.status=e.error?{signed_in:!1,method:null,google_logged_in:!1}:{signed_in:!0,method:"AUTO",google_logged_in:!0};b(e)}):Ix(d,a,function(e){if(e.error)e.status={signed_in:!1,method:null,google_logged_in:!1};else{var f=e.access_token||e.id_token;e.status={signed_in:!!f,method:"PROMPT",google_logged_in:!!f}}e["g-oauth-window"]=d.sK.Ug;b(e)})};
Ix=function(a,b,c){var d=new nx(b.response_type);c=Kx(a,d,c);var e={responseType:d.toString()};Tw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");ox(d)&&Tw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Tw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Tw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Qw();a.Ml?c({authResult:{error:"idpiframe_initialization_failed",details:a.rl().error}}):(a.Qk=
c,gw(a,b,e))};Kx=function(a,b,c){if(px(b)){var d=Lx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Op(function(f){f&&!f.error?(f=_.hk(f),ox(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(_.hk(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
Hx=function(a,b,c){if(ox(new nx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=Lx(c);b.login_hint?a.Ry(b.login_hint,function(e){e?Mx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Fw(a,b.authuser).select(function(e){e&&e.login_hint?Mx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Hp(function(e){e&&e.hint?Mx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Ew(a):Dw(a)).select(function(f){f&&f.login_hint?Mx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};Mx=function(a,b,c,d){b=new nx(b.response_type);var e=0,f={},g=function(k){!k||k.error?d(k):(e--,_.Cb(f,k),0==e&&d(f))};(px(b)||rx(b,"id_token"))&&e++;ox(b)&&e++;(px(b)||rx(b,"id_token"))&&_.Xv(a,c,g);ox(b)&&iw(a,c,g)};
Lx=function(a){return function(b){if(!b||b.error)_.nw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.hk(b);Nx(c);delete c.id_token;delete c.code;_.mw(c)}a(b)}}};Nx=function(a){_.mb(vw,function(b){delete a[b]})};
_.K("gapi.auth2.init",_.Gx);_.K("gapi.auth2.authorize",function(a,b){if(null!=Ww)throw new yw("gapi.auth2.authorize cannot be called after GoogleAuth has been initialized (i.e. with a call to gapi.auth2.init, or gapi.client.init when given a 'clientId' and a 'scope' parameters).");_.Jx(a,function(c){Nx(c);b(c)})});_.K("gapi.auth2._gt",function(){return _.Nh()});_.K("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.Nu="0"!=a&&!!a});_.K("gapi.auth2.getAuthInstance",_.vx);
_.K("gapi.auth2.BasicProfile",Xw);_.K("gapi.auth2.BasicProfile.prototype.getId",Xw.prototype.ka);_.K("gapi.auth2.BasicProfile.prototype.getName",Xw.prototype.Ii);_.K("gapi.auth2.BasicProfile.prototype.getGivenName",Xw.prototype.mS);_.K("gapi.auth2.BasicProfile.prototype.getFamilyName",Xw.prototype.gS);_.K("gapi.auth2.BasicProfile.prototype.getImageUrl",Xw.prototype.xS);_.K("gapi.auth2.BasicProfile.prototype.getEmail",Xw.prototype.Xt);_.K("gapi.auth2.GoogleAuth",wx);
_.K("gapi.auth2.GoogleAuth.prototype.attachClickHandler",wx.prototype.YE);_.K("gapi.auth2.GoogleAuth.prototype.disconnect",wx.prototype.disconnect);_.K("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",wx.prototype.gq);_.K("gapi.auth2.GoogleAuth.prototype.signIn",wx.prototype.kj);_.K("gapi.auth2.GoogleAuth.prototype.signOut",wx.prototype.lj);_.K("gapi.auth2.GoogleAuth.prototype.getInitialScopes",wx.prototype.oH);_.K("gapi.auth2.GoogleUser",Vw);_.K("gapi.auth2.GoogleUser.prototype.grant",Vw.prototype.rT);
_.K("gapi.auth2.GoogleUser.prototype.getId",Vw.prototype.ka);_.K("gapi.auth2.GoogleUser.prototype.isSignedIn",Vw.prototype.Af);_.K("gapi.auth2.GoogleUser.prototype.getAuthResponse",Vw.prototype.Tj);_.K("gapi.auth2.GoogleUser.prototype.getBasicProfile",Vw.prototype.KR);_.K("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Vw.prototype.oS);_.K("gapi.auth2.GoogleUser.prototype.getHostedDomain",Vw.prototype.nz);_.K("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Vw.prototype.gq);
_.K("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Vw.prototype.wu);_.K("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Vw.prototype.WB);_.K("gapi.auth2.LiveValue",Lw);_.K("gapi.auth2.LiveValue.prototype.listen",Lw.prototype.U);_.K("gapi.auth2.LiveValue.prototype.get",Lw.prototype.get);_.K("gapi.auth2.SigninOptionsBuilder",Ow);_.K("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",Ow.prototype.HR);_.K("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",Ow.prototype.WY);
_.K("gapi.auth2.SigninOptionsBuilder.prototype.getScope",Ow.prototype.cq);_.K("gapi.auth2.SigninOptionsBuilder.prototype.setScope",Ow.prototype.UL);_.K("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",Ow.prototype.WS);_.K("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",Ow.prototype.zZ);_.K("gapi.auth2.SigninOptionsBuilder.prototype.get",Ow.prototype.get);

_.Ne.e2=function(a){var b=[];if(1<arguments.length)for(var c=0,d;d=arguments[c];++c)b.push(d);else b=a;return function(e){for(var f=0;b[f];++f)if(e===b[f])return!0;return!1}};_.Ne.n5=function(a){return function(b){return a.test(b)}};_.Ne.BN=function(a){return"undefined"!==typeof a};_.Ne.o4=function(a){return"string"===typeof a&&0<a.length};_.Ne.A0=function(a){return"boolean"===typeof a};_.Ne.w3=function(a){return function(b){for(var c in a)if(a.hasOwnProperty(c)&&!(0,a[c])(b[c]))return!1;return!0}};

_.Je=_.Je||{};
(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}_.Je.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)};_.Je.KF=function(b){var c=_.Je.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(_.Je.Et(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var g=_.Je.createElement(d.join(""));g&&(!c||g.tagName==c.tagName&&g.namespaceURI==c.namespaceURI)&&(c=g)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Je.WG=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};_.Je.Q8=function(b){return a(b)}})();

_.Je=_.Je||{};(function(){function a(d){b=d["core.util"]||{}}var b={},c={};_.Ne&&_.Ne.register("core.util",null,a);_.Je.P8=function(d){return"undefined"===typeof b[d]?null:b[d]};_.Je.hasFeature=function(d){return"undefined"!==typeof b[d]};_.Je.d9=function(){return c}})();

_.Bh=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(r){for(var u=g,q=0;64>q;q+=4)u[q/4]=r[q]<<24|r[q+1]<<16|r[q+2]<<8|r[q+3];for(q=16;80>q;q++)r=u[q-3]^u[q-8]^u[q-14]^u[q-16],u[q]=(r<<1|r>>>31)&4294967295;r=e[0];var v=e[1],t=e[2],w=e[3],z=e[4];for(q=0;80>q;q++){if(40>q)if(20>q){var C=w^v&(t^w);var A=1518500249}else C=v^t^w,A=1859775393;else 60>q?(C=v&t|w&(v|t),A=2400959708):(C=v^t^w,A=3395469782);C=((r<<5|r>>>27)&4294967295)+
C+z+A+u[q]&4294967295;z=w;w=t;t=(v<<30|v>>>2)&4294967295;v=r;r=C}e[0]=e[0]+r&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+t&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+z&4294967295}function c(r,u){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var q=[],v=0,t=r.length;v<t;++v)q.push(r.charCodeAt(v));r=q}u||(u=r.length);q=0;if(0==m)for(;q+64<u;)b(r.slice(q,q+64)),q+=64,n+=64;for(;q<u;)if(f[m++]=r[q++],n++,64==m)for(m=0,b(f);q+64<u;)b(r.slice(q,q+64)),q+=64,n+=64}function d(){var r=[],
u=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var q=63;56<=q;q--)f[q]=u&255,u>>>=8;b(f);for(q=u=0;5>q;q++)for(var v=24;0<=v;v-=8)r[u++]=e[q]>>v&255;return r}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Dg:function(){for(var r=d(),u="",q=0;q<r.length;q++)u+="0123456789ABCDEF".charAt(Math.floor(r[q]/16))+"0123456789ABCDEF".charAt(r[q]%16);return u}}};
var Dh=function(a,b,c){var d=String(_.D.location.href);return d&&a&&b?[b,Ch(_.mg(d),a,c||null)].join(" "):null},Ch=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.mb(d,function(k){e.push(k)}),Eh(e.join(" "));var f=[],g=[];_.mb(c,function(k){g.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];_.mb(d,function(k){e.push(k)});a=Eh(e.join(" "));a=[c,a];0==g.length||a.push(g.join(""));return a.join("_")},Eh=function(a){var b=
_.Bh();b.update(a);return b.Dg().toLowerCase()};
_.Fh={};
var Ih;_.Gh=function(a){return!!_.Fh.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.Hh=function(a){a=void 0===a?!1:a;var b=_.D.__SAPISID||_.D.__APISID||_.D.__3PSAPISID||_.D.__OVERRIDE_SID;_.Gh(a)&&(b=b||_.D.__1PSAPISID);if(b)return!0;var c=new _.yh(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");_.Gh(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};Ih=function(a,b,c,d){(a=_.D[a])||(a=(new _.yh(document)).get(b));return a?Dh(a,c,d):null};
_.Jh=function(a,b){b=void 0===b?!1:b;var c=_.mg(String(_.D.location.href)),d=[];if(_.Hh(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.D.__SAPISID:_.D.__APISID;e||(e=new _.yh(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Dh(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&_.Gh(b)&&((b=Ih("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Ih("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.Kh=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.Gh(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.Lh={gI:_.Kh,HV:_.Hh,tH:function(){var a=null;_.Hh()&&(a=window.__PVT,null==a&&(a=(new _.yh(document)).get("BEAT")));return a},UG:_.Jh};

_.kg=window.gapi&&window.gapi.util||{};

_.kg=_.kg={};_.kg.ob=function(a){return _.mg(a)};

_.Ny=function(a){if(0!==a.indexOf("GCSC"))return null;var b={IA:!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=_.Ly(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.xe;return!d&&("U"!==c||e.xe)||d&&!_.My?b:{IA:!0,xe:d,oQ:a.substr(1),domain:e.domain,mh:e.mh}};
_.Oy=function(a,b){this.Te=a;a=b||{};this.hW=Number(a.maxAge)||0;this.uc=a.domain;this.wk=a.path;this.BY=!!a.secure};_.Oy.prototype.read=function(){for(var a=this.Te+"=",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)}};
_.Oy.prototype.write=function(a,b){if(!Py.test(this.Te))throw"Invalid cookie name";if(!Qy.test(a))throw"Invalid cookie value";a=this.Te+"="+a;this.uc&&(a+=";domain="+this.uc);this.wk&&(a+=";path="+this.wk);b="number"===typeof b?b:this.hW;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.BY&&(a+=";secure");document.cookie=a;return!0};_.Oy.prototype.clear=function(){this.write("",0)};var Qy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Py=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.Oy.iterate=function(a){for(var b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c].split("="),e=d.shift();a(e,d.join("="))}};
_.Ry=function(a){this.Ih=a};_.Ry.prototype.read=function(){if(Sy.hasOwnProperty(this.Ih))return Sy[this.Ih]};_.Ry.prototype.write=function(a){Sy[this.Ih]=a;return!0};_.Ry.prototype.clear=function(){delete Sy[this.Ih]};var Sy={};_.Ry.iterate=function(a){for(var b in Sy)Sy.hasOwnProperty(b)&&a(b,Sy[b])};
var Ty=function(){this.fe=null;this.key=function(){return null};this.getItem=function(){return this.fe};this.setItem=function(a,b){this.fe=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.fe=null;this.length=0};this.length=0},Uy=function(a){try{var b=a||window.sessionStorage;if(!b)return!1;b.setItem("gapi.sessionStorageTest","gapi.sessionStorageTest"+b.length);b.removeItem("gapi.sessionStorageTest");return!0}catch(c){return!1}},Vy=function(a,b){this.Te=a;this.Kf=
Uy(b)?b||window.sessionStorage:new Ty};Vy.prototype.read=function(){return this.Kf.getItem(this.Te)};Vy.prototype.write=function(a){try{this.Kf.setItem(this.Te,a)}catch(b){return!1}return!0};Vy.prototype.clear=function(){this.Kf.removeItem(this.Te)};Vy.iterate=function(a){if(Uy())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
for(var Wy=0;64>Wy;++Wy);
_.My="https:"===window.location.protocol;_.jz=_.My||"http:"===window.location.protocol?_.Oy:_.Ry;_.Ly=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=parseInt(b,10);if(isNaN(c))return null;b=d.split(".");if(b.length<c-1)return null;b.length==c-1&&(d="."+d)}else d="";return{xe:"S"==a.charAt(0),domain:d,mh:c}};
var uz,vz,yz,zz;uz=_.le();vz=_.le();_.wz=_.le();_.xz=_.le();yz="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");zz=function(a){this.rK=a;this.bB=null};
zz.prototype.write=function(a){var b=_.le(),c=_.le(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.me(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=0;for(e=yz.length;d<e;++d)delete c[yz[d]];a=String(a.authuser||0);d=_.le();d[a]=c;c=_.uf(d);this.rK.write(c);this.bB=b};zz.prototype.read=function(){return this.bB};zz.prototype.clear=function(){this.rK.clear();this.bB=_.le()};_.Az=function(a){return a?{domain:a.domain,path:"/",secure:a.xe}:null};
Vy.iterate(function(a){var b=_.Ny(a);b&&b.IA&&(uz[a]=new zz(new Vy(a)))});_.jz.iterate(function(a){uz[a]&&(vz[a]=new _.jz(a,_.Az(_.Ny(a))))});

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var br,cr,er,fr,gr,hr,ir,jr,kr,nr,or,pr,qr,ur,yr,zr,Ar;_.Qq=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Rq=function(a,b,c,d){return Array.prototype.splice.apply(a,_.Qq(arguments,1))};_.Sq=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Tq=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.h=_.Tq.prototype;_.h.clone=function(){return new _.Tq(this.x,this.y)};
_.h.equals=function(a){return a instanceof _.Tq&&_.Sq(this,a)};_.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};_.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.h.translate=function(a,b){a instanceof _.Tq?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};
_.h.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};_.Uq=function(a,b){this.width=a;this.height=b};_.h=_.Uq.prototype;_.h.clone=function(){return new _.Uq(this.width,this.height)};_.h.aspectRatio=function(){return this.width/this.height};_.h.isEmpty=function(){return!(this.width*this.height)};_.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
_.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};_.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};_.h.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};_.Vq=function(a){return"CSS1Compat"==a.compatMode};_.Wq=function(a){a=a.document;a=_.Vq(a)?a.documentElement:a.body;return new _.Uq(a.clientWidth,a.clientHeight)};_.Xq=function(a){return _.Wq(a||window)};
_.Yq=function(a){return a.scrollingElement?a.scrollingElement:!_.wc&&_.Vq(a)?a.documentElement:a.body||a.documentElement};_.Zq=function(a){var b=_.Yq(a);a=a.parentWindow||a.defaultView;return _.sc&&_.Oc("10")&&a.pageYOffset!=b.scrollTop?new _.Tq(b.scrollLeft,b.scrollTop):new _.Tq(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.$q=function(a,b,c,d){return _.Od(a.mb,b,c,d)};_.ar=function(a){a.zA=void 0;a.hb=function(){return a.zA?a.zA:a.zA=new a}};
br=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");_.Tc.call(this,c+a[d])};_.P(br,_.Tc);br.prototype.name="AssertionError";cr={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};_.dr=function(a){if(a instanceof _.Xb&&a.constructor===_.Xb)return a.QB;_.ab(a);return"type_error:SafeStyle"};er=/\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g;
fr=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g;gr=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/;hr=/\/\*/;ir=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};jr=function(a){return a.replace(fr,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,k,l){f=k;return l});b=(_.xd(d)||_.Ub).nd();return c+f+b+f+e})};
kr=function(a){if(a instanceof _.Tb)return'url("'+_.sd(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.Ob)a=_.Pb(a);else{a=String(a);var b=a.replace(er,"$1").replace(er,"$1").replace(fr,"url");if(gr.test(b)){if(b=!hr.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&&ir(a)}a=b?jr(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new br("Value does not allow [{;}], got: %s.",[a]);return a};
_.lr=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("g`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?_.ob(d,kr).join(" "):kr(d),b+=c+":"+d+";")}return b?new _.Xb(b,_.Vb):_.Yb};_.mr=function(a){if(a instanceof _.$b&&a.constructor===_.$b)return a.PB;_.ab(a);return"type_error:SafeStyleSheet"};nr=/^[a-zA-Z0-9-]+$/;or={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
pr={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};qr=function(a){var b=_.zd(_.gc),c=b.xh(),d=[],e=function(f){Array.isArray(f)?_.mb(f,e):(f=_.zd(f),d.push(_.ec(f).toString()),f=f.xh(),0==c?c=f:0!=f&&c!=f&&(c=null))};_.mb(a,e);return _.fc(d.join(_.ec(b).toString()),c)};_.rr=function(a){return qr(Array.prototype.slice.call(arguments))};
_.sr=function(a,b,c){var d=String(a);if(!nr.test(d))throw Error("k");if(d.toUpperCase()in pr)throw Error("k");a=String(a);d=null;var e="<"+a,f="";if(b)for(l in b)if(Object.prototype.hasOwnProperty.call(b,l)){if(!nr.test(l))throw Error("k");var g=b[l];if(null!=g){var k=l;if(g instanceof _.Ob)g=_.Pb(g);else if("style"==k.toLowerCase()){if(!_.Za(g))throw Error("k");g instanceof _.Xb||(g=_.lr(g));g=_.dr(g)}else{if(/^on/i.test(k))throw Error("k");if(k.toLowerCase()in or)if(g instanceof _.nd)g=_.pd(g);
else if(g instanceof _.Tb)g=_.sd(g);else if("string"===typeof g)g=(_.xd(g)||_.Ub).nd();else throw Error("k");}g.Eh&&(g=g.nd());k=k+'="'+_.ld(String(g))+'"';f+=" "+k}}var l=e+f;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===cr[a.toLowerCase()]?l+=">":(c=_.rr(c),l+=">"+_.ec(c).toString()+"</"+a+">",d=c.xh());(b=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.fc(l,d)};_.tr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
ur=function(a){return a.replace(/(^|[\s]+)([a-z])/g,function(b,c,d){return c+d.toUpperCase()})};_.vr=function(a,b,c){return _.Ud(document,arguments)};_.wr=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.xr=function(a){var b;if(_.Id&&!(_.sc&&_.Oc("9")&&!_.Oc("10")&&_.D.SVGElement&&a instanceof _.D.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.de(b)?b:null};yr={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};zr={IMG:" ",BR:"\n"};
Ar=function(a,b,c){if(!(a.nodeName in yr))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in zr)b.push(zr[a.nodeName]);else for(a=a.firstChild;a;)Ar(a,b,c),a=a.nextSibling};
_.Br=function(a){if(_.Hd&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Ar(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");_.Hd||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a};_.Cr=function(a){var b=[];Ar(a,b,!1);return b.join("")};
_.Dr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.h=_.Dr.prototype;_.h.Nc=function(){return this.right-this.left};_.h.Cd=function(){return this.bottom-this.top};_.h.clone=function(){return new _.Dr(this.top,this.right,this.bottom,this.left)};_.h.contains=function(a){return this&&a?a instanceof _.Dr?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
_.h.expand=function(a,b,c,d){_.Za(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
_.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
_.h.translate=function(a,b){a instanceof _.Tq?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};_.h.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};
var Gr,Mr,Kr,Pr,as,bs;_.Fr=function(a,b,c){if("string"===typeof b)(b=_.Er(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.Er(c,d);f&&(c.style[f]=e)}};Gr={};_.Er=function(a,b){var c=Gr[b];if(!c){var d=_.tr(b);c=d;void 0===a.style[d]&&(d=(_.wc?"Webkit":_.vc?"Moz":_.sc?"ms":_.rc?"O":null)+ur(d),void 0!==a.style[d]&&(c=d));Gr[b]=c}return c};
_.Hr=function(a,b){var c=_.Ld(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Ir=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Jr=function(a,b){return _.Hr(a,b)||_.Ir(a,b)||a.style&&a.style[b]};_.Lr=function(a,b,c){if(b instanceof _.Tq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Kr(d,!1);a.style.top=Kr(b,!1)};
Mr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.Qr=function(a,b){b=b||_.Yq(document);var c=b||_.Yq(document);var d=_.Nr(a),e=_.Nr(c),f=_.Or(c);if(c==_.Yq(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.sc&&!_.Ed(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=Pr(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(g,Math.max(g-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new _.Tq(e,k);b.scrollLeft=c.x;b.scrollTop=c.y};
_.Nr=function(a){var b=_.Ld(a),c=new _.Tq(0,0);var d=b?_.Ld(b):document;d=!_.sc||_.Ed(9)||_.Vq(_.Md(d).mb)?d.documentElement:d.body;if(a==d)return c;a=Mr(a);b=_.Zq(_.Md(b).mb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Sr=function(a,b){var c=new _.Tq(0,0),d=_.Rd(_.Ld(a));if(!_.pc(d,"parent"))return c;do{var e=d==b?_.Nr(a):_.Rr(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Rr=function(a){a=Mr(a);return new _.Tq(a.left,a.top)};
_.Tr=function(a,b,c){if(b instanceof _.Uq)c=b.height,b=b.width;else if(void 0==c)throw Error("G");a.style.width=Kr(b,!0);a.style.height=Kr(c,!0)};Kr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.Ur=function(a){var b=Pr;if("none"!=_.Jr(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};
Pr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.wc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Mr(a),new _.Uq(a.right-a.left,a.bottom-a.top)):new _.Uq(b,c)};_.Vr=function(a,b){a.style.display=b?"":"none"};
_.Xr=function(a){var b=_.Md(void 0),c=b.rb();if(_.sc&&c.createStyleSheet)return b=c.createStyleSheet(),_.Wr(b,a),b;c=_.$q(b,"HEAD")[0];if(!c){var d=_.$q(b,"BODY")[0];c=b.ma("HEAD");d.parentNode.insertBefore(c,d)}d=b.ma("STYLE");var e=_.$c();e&&d.setAttribute("nonce",e);_.Wr(d,a);b.appendChild(c,d);return d};_.Wr=function(a,b){b=_.mr(b);_.sc&&void 0!==a.cssText?a.cssText=b:_.D.trustedTypes?_.fe(a,b):a.innerHTML=b};_.Yr=function(a){return"rtl"==_.Jr(a,"direction")};
_.Zr=_.vc?"MozUserSelect":_.wc||_.tc?"WebkitUserSelect":null;_.$r=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};as={thin:2,medium:4,thick:6};bs=function(a,b){if("none"==_.Ir(a,b+"Style"))return 0;b=_.Ir(a,b+"Width");return b in as?as[b]:_.$r(a,b)};
_.Or=function(a){if(_.sc&&!_.Ed(9)){var b=bs(a,"borderLeft"),c=bs(a,"borderRight"),d=bs(a,"borderTop");a=bs(a,"borderBottom");return new _.Dr(d,c,a,b)}b=_.Hr(a,"borderLeftWidth");c=_.Hr(a,"borderRightWidth");d=_.Hr(a,"borderTopWidth");a=_.Hr(a,"borderBottomWidth");return new _.Dr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Yx=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.Q)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.Q)(a.handleEvent,a);else throw Error("pa");return 2147483647<Number(b)?-1:_.D.setTimeout(a,b||0)};_.Zx=function(a){_.D.clearTimeout(a)};_.$x=function(a){var b=null;return(new _.Bk(function(c,d){b=_.Yx(function(){c(void 0)},a);-1==b&&d(Error("qa"))})).Wr(function(c){_.Zx(b);throw c;})};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Bz=function(a){this.v_=a};_.Bz.prototype.toString=function(){return this.v_};
_.Cz=function(a){_.vi.call(this);this.Ih=1;this.Qv=[];this.Vv=0;this.Ze=[];this.ei={};this.MP=!!a};_.P(_.Cz,_.vi);_.h=_.Cz.prototype;_.h.subscribe=function(a,b,c){var d=this.ei[a];d||(d=this.ei[a]=[]);var e=this.Ih;this.Ze[e]=a;this.Ze[e+1]=b;this.Ze[e+2]=c;this.Ih=e+3;d.push(e);return e};_.h.Sr=_.ja(41);_.h.unsubscribe=function(a,b,c){if(a=this.ei[a]){var d=this.Ze;if(a=_.hi(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.sj(a)}return!1};
_.h.sj=function(a){var b=this.Ze[a];if(b){var c=this.ei[b];0!=this.Vv?(this.Qv.push(a),this.Ze[a+1]=_.$a):(c&&_.qi(c,a),delete this.Ze[a],delete this.Ze[a+1],delete this.Ze[a+2])}return!!b};
_.h.Rn=function(a,b){var c=this.ei[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.MP)for(e=0;e<c.length;e++){var g=c[e];Dz(this.Ze[g+1],this.Ze[g+2],d)}else{this.Vv++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.Ze[g+1].apply(this.Ze[g+2],d)}finally{if(this.Vv--,0<this.Qv.length&&0==this.Vv)for(;c=this.Qv.pop();)this.sj(c)}}return 0!=e}return!1};var Dz=function(a,b,c){_.zk(function(){a.apply(b,c)})};
_.Cz.prototype.clear=function(a){if(a){var b=this.ei[a];b&&(_.mb(b,this.sj,this),delete this.ei[a])}else this.Ze.length=0,this.ei={}};_.Cz.prototype.Eb=function(a){if(a){var b=this.ei[a];return b?b.length:0}a=0;for(b in this.ei)a+=this.Eb(b);return a};_.Cz.prototype.ta=function(){_.Cz.O.ta.call(this);this.clear();this.Qv.length=0};
_.Ez=function(a){_.vi.call(this);this.Hd=new _.Cz(a);_.xi(this,this.Hd)};_.P(_.Ez,_.vi);_.h=_.Ez.prototype;_.h.subscribe=function(a,b,c){return this.Hd.subscribe(a.toString(),b,c)};_.h.Sr=_.ja(40);_.h.unsubscribe=function(a,b,c){return this.Hd.unsubscribe(a.toString(),b,c)};_.h.sj=function(a){return this.Hd.sj(a)};_.h.Rn=function(a,b){return this.Hd.Rn(a.toString(),b)};_.h.clear=function(a){this.Hd.clear(void 0!==a?a.toString():void 0)};
_.h.Eb=function(a){return this.Hd.Eb(void 0!==a?a.toString():void 0)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Fz=function(a,b){Array.isArray(b)||(b=[b]);b=_.ob(b,function(c){return"string"===typeof c?c:c.Tv+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Fr(a,"transition",b.join(","))};
_.Gz=_.Jb(function(){if(_.sc)return _.Oc("10.0");var a=_.Vd("DIV"),b=_.wc?"-webkit":_.vc?"-moz":_.sc?"-ms":_.rc?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.sr("div",{style:c});_.Ad(a,b);a=a.firstChild;b=a.style[_.tr("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Er(a,"transition")]||"")});

_.Iz=function(){_.Hz="oauth2relay"+String(2147483647*(0,_.pg)()|0)};_.Jz=new _.Ez;_.Kz=new _.Bz("oauth");_.Iz();_.R("oauth-flow/client_id");var Lz=String(_.R("oauth-flow/redirectUri"));if(Lz)Lz.replace(/[#][\s\S]*/,"");else{var Mz=_.kg.ob(window.location.href);_.R("oauth-flow/callbackUrl");encodeURIComponent(Mz)}_.kg.ob(window.location.href);

var Oz,Pz,Qz,Rz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,uA,vA,wA,xA,yA,zA,AA,BA,CA,DA,GA,FA,HA,IA,JA,KA,LA,MA,OA,PA,RA;_.Nz=function(a,b){if(_.dh&&!b)return _.D.atob(a);var c="";_.kw(a,function(d){c+=String.fromCharCode(d)});return c};Oz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};Pz=function(a){return _.vh("enableMultilogin")&&a("cookie_policy")&&!Oz(a)?!0:!1};
Sz=function(){var a,b=null;_.jz.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Ly(c.substring(11)),!a||c.xe&&!a.xe||c.xe==a.xe&&c.mh>a.mh)&&(a=c,b=d)});return{WP:a,authuser:b}};Tz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Uz=function(a){a=a.toUpperCase();for(var b=0,c=Tz.length;b<c;++b){var d=a.split(Tz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Rh,b.Ow(a),a=b.Dg().toUpperCase());return a};
Vz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Wz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],UY:Vz(a[1]),E9:Vz(a[2]),B8:Vz(a[3])}};Xz=function(a){var b=Sz(),c=b.WP;b=b.authuser;var d=a&&Uz(a);if(null!==b){var e;_.jz.iterate(function(g,k){(g=_.Ny(g))&&g.IA&&(d&&g.oQ!=d||g.xe==c.xe&&g.mh==c.mh&&(e=k))});if(e){var f=Wz(e);a=f&&f.UY[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,v$:a,clientId:f}}}return null};
Yz=function(a,b){a=_.Nh(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};_.Zz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.mw(c,d):_.nw(d)};
$z=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.mg(a));var b=window.location.hostname,c=b,d=_.My;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.yf("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 _.yf("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,xe:d,mh:b}};
aA=function(a){var b=$z(a);if(!b)return new _.Ry("G_USERSTATE_");a=["G_USERSTATE_",_.My&&b.xe?"S":"H",b.mh].join("");var c=_.xz[a];c||(c={$A:63072E3},_.ne(_.Az(b),c),c=new _.Oy(a,c),_.xz[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};bA=function(a){var b=aA(a).read();a=_.le();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
cA=function(a,b,c){var d=bA(b),e=d[a];d[a]="0";var f=[];_.Xl(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=aA(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};dA=function(a,b){b=bA(b);return"0"==b[a]||"X"==b[a]};eA=function(a){a=$z(a.g_user_cookie_policy);if(!a||a.xe&&!_.My)a=null;else{var b=["G_AUTHUSER_",_.My&&a.xe?"S":"H",a.mh].join(""),c=_.wz[b];c||(c=new _.jz(b,_.Az(a)),_.wz[b]=c);a=c}_.Fe("googleapis.config/sessionIndex",null);a.clear()};fA=function(a){return Oz(function(b){return a[b]})};
gA=0;hA=!1;iA=[];jA={};kA={};lA=null;mA=function(a){var b=_.Hz;return function(c){if(this.f==b&&this.t==_.Ff.ll(this.f)&&this.origin==_.Ff.Bl(this.f))return a.apply(this,arguments)}};nA=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};oA=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ta");};
pA=function(a){var b=_.Je.Le,c=b(a).jsh;if(null!=c)return oA(c),a;if(b=String(b().jsh||_.xe.h||""))oA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};qA=function(){return!!_.R("oauth-flow/usegapi")};rA=function(a,b){qA()?lA.unregister(a):_.Ff.unregister(a+":"+b)};sA=function(a,b,c){qA()?lA.register(a,c,_.zm):_.Ff.register(a+":"+b,mA(c))};tA=function(){Qz.parentNode.removeChild(Qz)};
uA=function(a){var b=Qz;_.Fz(b,[{Tv:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Fz(b,[{Tv:"transform",duration:1,timing:"ease",delay:0}]);_.Yx(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};vA=function(){var a=Rz+88;uA(a);Rz=a};wA=function(){var a=Rz-88;uA(a);Rz=a};
xA=function(a){var b=a?vA:wA,c=a?wA:vA;a=a?"-":"";Rz=parseInt(a+88,10);Qz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Qz.style.transform="translate3d(0px,"+a+88+"px,0px)";Qz.style.display="";Qz.style.visibility="visible";b();_.Yx(c,4E3);_.Yx(tA,5E3)};
yA=function(a){var b=_.R("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");Qz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Fr(c,"visibility","hidden");_.Fr(c,b,"-40px");_.Fr(c,"height","128px");var d=c;if("desktop"==_.R("deviceType")){d=document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%";d.appendChild(e);
d=e}e="top"==b?"-":"";Rz=parseInt(e+88,10);Qz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Qz.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){}_.jm.Lh({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?xA(!0):xA(!1)}})};
zA=function(a){var b=_.tn(),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==_.Vl.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
AA=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=_.R("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!=Xz(c)||!fA(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};BA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.tf(_.Nz(a,!0));if(!1===a)throw Error("ua");return a};CA=function(a){return(a=BA(a))?a.sub:null};
DA=function(a){a&&iA.push(a);a=_.Hz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(gA&&6E4>c-gA)return;var d=_.Ff.ll(a);d&&(rA("oauth2relayReady",d),rA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Iz();a=_.Hz}gA=c;var e=String(2147483647*(0,_.pg)()|0);b=_.R("oauth-flow/proxyUrl")||_.R("oauth-flow/relayUrl");qA()?lA=_.jm.Lh({where:_.Je.WG(),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(_.kg.ob(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Je.WG(),d=_.Je.KF({name:a,id:a}),d.src=pA(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,nA(d),c.appendChild(d),_.Ff.Ir(a));sA("oauth2relayReady",e,function(){rA("oauth2relayReady",e);var f=iA;if(null!==f){iA=null;for(var g=0,k=f.length;g<k;++g)f[g]()}});sA("oauth2callback",
e,function(f){var g=_.Je.Le;g=g(f);var k=g.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(kA,f)?kA[f]:null;g.state=f;if(null!=g.state){f=jA[k];delete jA[k];k=f&&f.key||"token";var l=g=AA(f&&f.params,g);var m=(m=CA(l))?dA(m,l.cookie_policy):!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.R("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",hA||(hA=!0,yA(l)));_.Zz(k,g);g=Yz(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(n){}f.callback&&
(f.callback(g),f.callback=null)}}})};_.EA=function(a){null!==iA?DA(a):a&&a()};GA=function(a,b){var c=FA,d=CA(a);d&&(eA(a),cA(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=AA(null,e);c(e)}}))};
FA=function(a){a||(a=Yz(void 0,!0));a&&"object"===typeof a||(a={error:"invalid_request",error_description:"no callback data"});var b=a.error_description;b&&window.console&&(window.console.error(a.error),window.console.error(b));a.error||(_.xe.drw=null);_.Zz(a);if(b=a.authuser)_.R("googleapis.config/sessionIndex"),_.Fe("googleapis.config/sessionIndex",b);_.Jz.Rn(_.Kz,a);return a};HA=["client_id","cookie_policy","response_type"];IA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
JA=function(a){var b=_.hk(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);_.mw(b);return b};
KA=function(a){if(void 0===a.include_granted_scopes){var b=_.R("include_granted_scopes");a.include_granted_scopes=!!b}};LA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
MA=function(a){var b=a||{},c={};_.mb(IA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.R("googleapis/overrideClientId");null!=a&&(c.client_id=a);KA(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{_.dx(c.cookie_policy)}catch(d){c.cookie_policy&&
LA("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=_.xh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.R("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
_.NA=function(a,b){var c=MA(a),d=new _.Bk(function(e,f){_.Jx(c,function(g){var k=g||{};_.mb(HA,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(g=JA(k),null!=g.authuser&&_.Fe("googleapis.config/sessionIndex",g.authuser),e(g))})});b&&d.then(b,b);return d};OA=_.Lh.UG;PA=null;
_.SA=function(a,b){if("force"!==a.approvalprompt){a=_.QA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)PA?(a.client_id!==PA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(PA=a,b=!1);b||RA(a)}};
_.QA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.sb)((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,_.sb)(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||_.R("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.R("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};RA=function(a){_.no("waaf0","signin","0");_.NA(a,function(b){_.no("waaf1","signin","0");FA(b)})};
_.TA=function(a){a=_.QA(a);_.Fe("oauth-flow/authWindowWidth",445);_.Fe("oauth-flow/authWindowHeight",615);RA(a)};_.UA=function(a){_.Jz.unsubscribe(_.Kz,a);_.Jz.subscribe(_.Kz,a)};
var aB,dB;_.WA=function(a){return a.cookiepolicy?!0:(_.VA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.VA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.$A=function(a,b){var c=_.tn();_.ne(a,c);c=zA(c);if(_.WA(c)){var d=_.XA();_.YA(c);b?_.we(b,"click",function(){_.ZA(c,d)}):_.ZA(c,d)}};
_.XA=function(){var a=new aB;_.UA(function(b){a.aB&&b&&(b.access_token&&_.Fe("isPlusUser",!0),b["g-oauth-window"]&&(a.aB=!1,_.Af("OTA app install is no longer supported.")))});return a};aB=function(){this.aB=!1};_.YA=function(a){a=_.bB(a);_.cB(a.callback);_.EA(function(){_.SA(a)})};_.bB=function(a){dB(a);a.redirecturi&&delete a.redirecturi;Pz(function(b){return a[b]})||(a.authuser=0);return a};dB=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.cB=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.VA('Callback function named "'+a+'" not found');return}a&&_.UA(a)};_.ZA=function(a,b){b.aB=!0;a=_.bB(a);_.TA(a)};
_.K("gapi.auth.authorize",_.NA);_.K("gapi.auth.checkSessionState",function(a,b){var c=_.le();c.client_id=a.client_id;c.session_state=a.session_state;_.EA(function(){qA()?lA.send("check_session_state",c,function(d){b.call(null,d[0])},_.zm):_.Ff.call(_.Hz,"check_session_state",mA(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.K("gapi.auth.getAuthHeaderValueForFirstParty",OA);_.K("gapi.auth.getToken",Yz);
_.K("gapi.auth.getVersionInfo",function(a,b){_.EA(function(){var c=_.Jh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?qA()?lA.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.zm):_.Ff.call(_.Hz,"get_versioninfo",mA(function(f){a(f)}),d,b):a()})});_.K("gapi.auth.init",_.EA);_.K("gapi.auth.setToken",_.Zz);_.K("gapi.auth.signIn",function(a){_.$A(a)});_.K("gapi.auth.signOut",function(){var a=Yz();a&&GA(a,a.cookie_policy)});
_.K("gapi.auth.unsafeUnpackIdToken",BA);_.K("gapi.auth._pimf",_.SA);_.K("gapi.auth._oart",yA);_.K("gapi.auth._guss",function(a){return aA(a).read()});

var eB=_.tn();eB.clientid&&eB.scope&&eB.callback&&!_.R("disableRealtimeCallback")&&_.YA(eB);

});
// Google Inc.
