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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.dh=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 eh;eh={};_.fh=null;_.gh=_.uc||_.vc&&!_.ch||_.qc||!_.ch&&!_.rc&&"function"==typeof _.D.atob;_.ih=function(a,b){void 0===b&&(b=0);_.hh();b=eh[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("")};
_.hh=function(){if(!_.fh){_.fh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));eh[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===_.fh[f]&&(_.fh[f]=e)}}}};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Ch;_.Bh=function(a){this.nb=a||{cookie:""}};_.h=_.Bh.prototype;_.h.isEnabled=function(){return navigator.cookieEnabled};
_.h.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.I9;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var k=c.dJ}if(/[;=\s]/.test(a))throw Error("y`"+a);if(/[;\r\n]/.test(b))throw Error("z`"+b);void 0===k&&(k=-1);this.nb.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.nb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.qb)(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,"",{dJ:0,path:b,domain:c});return d};_.h.re=function(){return Ch(this).keys};_.h.Tc=function(){return Ch(this).values};_.h.isEmpty=function(){return!this.nb.cookie};_.h.Fb=function(){return this.nb.cookie?(this.nb.cookie||"").split(";").length:0};
_.h.Pd=function(a){return void 0!==this.get(a)};_.h.Cj=function(a){for(var b=Ch(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.h.clear=function(){for(var a=Ch(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Ch=function(a){a=(a.nb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.qb)(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}};
_.Dh=new _.Bh("undefined"==typeof document?null:document);

_.Ph={};_.Qh=function(a){return _.Ph[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 vi;_.ri=function(a,b){b=(0,_.Wa)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};_.si=function(a){a&&"function"==typeof a.Da&&a.Da()};_.ti=function(a,b){a=a.split(".");b=b||_.D;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};_.ui=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};vi=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.wi=function(a){for(var b in a)return!1;return!0};
_.xi=function(){this.Nb=this.Nb;this.Ll=this.Ll};_.xi.prototype.Nb=!1;_.xi.prototype.xn=function(){return this.Nb};_.xi.prototype.Da=function(){this.Nb||(this.Nb=!0,this.va())};_.zi=function(a,b){_.yi(a,_.mi(_.si,b))};_.yi=function(a,b){a.Nb?b():(a.Ll||(a.Ll=[]),a.Ll.push(b))};_.xi.prototype.va=function(){if(this.Ll)for(;this.Ll.length;)this.Ll.shift()()};
_.Ai=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Tl=!1};_.Ai.prototype.stopPropagation=function(){this.Tl=!0};_.Ai.prototype.preventDefault=function(){this.defaultPrevented=!0};
var Ci,Di;_.Bi=!_.rc||_.Pc(9);Ci=!_.rc||_.Pc(9);Di=_.rc&&!_.Nc("9");!_.vc||_.Nc("528");_.uc&&_.Nc("1.9b")||_.rc&&_.Nc("8")||_.qc&&_.Nc("9.5")||_.vc&&_.Nc("528");_.uc&&!_.Nc("8")||_.rc&&_.Nc("9");var Ei=function(){if(!_.D.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.D.addEventListener("test",_.Za,b),_.D.removeEventListener("test",_.Za,b)}catch(c){}return a}();
_.Fi=function(a,b){_.Ai.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.sB=!1;this.pointerId=0;this.pointerType="";this.ne=null;a&&this.init(a,b)};_.P(_.Fi,_.Ai);var Gi={2:"touch",3:"pen",4:"mouse"};
_.Fi.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?_.uc&&(_.oc(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=_.vc||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.vc||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.sB=_.xc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Gi[a.pointerType]||"";this.state=a.state;this.ne=a;a.defaultPrevented&&_.Fi.T.preventDefault.call(this)};_.Fi.prototype.stopPropagation=function(){_.Fi.T.stopPropagation.call(this);this.ne.stopPropagation?this.ne.stopPropagation():this.ne.cancelBubble=!0};
_.Fi.prototype.preventDefault=function(){_.Fi.T.preventDefault.call(this);var a=this.ne;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Di)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};
_.Hi="closure_listenable_"+(1E6*Math.random()|0);_.Ii=function(a){return!(!a||!a[_.Hi])};
var Ji=0;
var Ki=function(a,b,c,d,e){this.listener=a;this.Iv=null;this.src=b;this.type=c;this.capture=!!d;this.Ne=e;this.key=++Ji;this.Mn=this.Os=!1},Li=function(a){a.Mn=!0;a.listener=null;a.Iv=null;a.src=null;a.Ne=null};
var Mi=function(a){this.src=a;this.od={};this.Tr=0};Mi.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.od[f];a||(a=this.od[f]=[],this.Tr++);var g=Ni(a,b,d,e);-1<g?(b=a[g],c||(b.Os=!1)):(b=new Ki(b,this.src,f,!!d,e),b.Os=c,a.push(b));return b};Mi.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.od))return!1;var e=this.od[a];b=Ni(e,b,c,d);return-1<b?(Li(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.od[a],this.Tr--),!0):!1};
var Oi=function(a,b){var c=b.type;if(!(c in a.od))return!1;var d=_.ri(a.od[c],b);d&&(Li(b),0==a.od[c].length&&(delete a.od[c],a.Tr--));return d};Mi.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.od)if(!a||c==a){for(var d=this.od[c],e=0;e<d.length;e++)++b,Li(d[e]);delete this.od[c];this.Tr--}return b};Mi.prototype.Vm=function(a,b,c,d){a=this.od[a.toString()];var e=-1;a&&(e=Ni(a,b,c,d));return-1<e?a[e]:null};
Mi.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return vi(this.od,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 Ni=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Mn&&f.listener==b&&f.capture==!!c&&f.Ne==d)return e}return-1};
var Pi,Qi,Ri,Vi,Xi,Yi,ij,cj,Zi,jj;Pi="closure_lm_"+(1E6*Math.random()|0);Qi={};Ri=0;_.Ti=function(a,b,c,d,e){if(d&&d.once)return _.Si(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Ti(a,b[f],c,d,e);return null}c=_.Ui(c);return _.Ii(a)?a.V(b,c,_.Ya(d)?!!d.capture:!!d,e):Vi(a,b,c,!1,d,e)};
Vi=function(a,b,c,d,e,f){if(!b)throw Error("A");var g=_.Ya(e)?!!e.capture:!!e,k=_.Wi(a);k||(a[Pi]=k=new Mi(a));c=k.add(b,c,d,g,f);if(c.Iv)return c;d=Xi();c.Iv=d;d.src=a;d.listener=c;if(a.addEventListener)Ei||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Yi(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("B");Ri++;return c};
Xi=function(){var a=Zi,b=Ci?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b};_.Si=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Si(a,b[f],c,d,e);return null}c=_.Ui(c);return _.Ii(a)?a.En(b,c,_.Ya(d)?!!d.capture:!!d,e):Vi(a,b,c,!0,d,e)};
_.$i=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.$i(a,b[f],c,d,e);else d=_.Ya(d)?!!d.capture:!!d,c=_.Ui(c),_.Ii(a)?a.Zb(b,c,d,e):a&&(a=_.Wi(a))&&(b=a.Vm(b,c,d,e))&&_.aj(b)};
_.aj=function(a){if("number"===typeof a||!a||a.Mn)return!1;var b=a.src;if(_.Ii(b))return b.kD(a);var c=a.type,d=a.Iv;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Yi(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Ri--;(c=_.Wi(b))?(Oi(c,a),0==c.Tr&&(c.src=null,b[Pi]=null)):Li(a);return!0};Yi=function(a){return a in Qi?Qi[a]:Qi[a]="on"+a};
ij=function(a,b,c,d){var e=!0;if(a=_.Wi(a))if(b=a.od[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.Mn&&(f=cj(f,d),e=e&&!1!==f)}return e};cj=function(a,b){var c=a.listener,d=a.Ne||a.src;a.Os&&_.aj(a);return c.call(d,b)};
Zi=function(a,b){if(a.Mn)return!0;if(!Ci){var c=b||_.ti("window.event");b=new _.Fi(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.Tl&&0<=e;e--){b.currentTarget=c[e];var f=ij(c[e],a,!0,b);d=d&&f}for(e=0;!b.Tl&&e<c.length;e++)b.currentTarget=c[e],f=ij(c[e],a,!1,b),d=d&&f}return d}return cj(a,new _.Fi(b,
this))};_.Wi=function(a){a=a[Pi];return a instanceof Mi?a:null};jj="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Ui=function(a){if("function"===typeof a)return a;a[jj]||(a[jj]=function(b){return a.handleEvent(b)});return a[jj]};_.qi(function(a){Zi=a(Zi)});
_.kj=function(){_.xi.call(this);this.Bi=new Mi(this);this.iP=this;this.oB=null};_.P(_.kj,_.xi);_.kj.prototype[_.Hi]=!0;_.h=_.kj.prototype;_.h.jl=function(){return this.oB};_.h.dw=_.ja(12);_.h.addEventListener=function(a,b,c,d){_.Ti(this,a,b,c,d)};_.h.removeEventListener=function(a,b,c,d){_.$i(this,a,b,c,d)};
_.h.dispatchEvent=function(a){var b,c=this.jl();if(c)for(b=[];c;c=c.jl())b.push(c);c=this.iP;var d=a.type||a;if("string"===typeof a)a=new _.Ai(a,c);else if(a instanceof _.Ai)a.target=a.target||c;else{var e=a;a=new _.Ai(d,c);_.Bb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Tl&&0<=f;f--){var g=a.currentTarget=b[f];e=g.wp(d,!0,a)&&e}a.Tl||(g=a.currentTarget=c,e=g.wp(d,!0,a)&&e,a.Tl||(e=g.wp(d,!1,a)&&e));if(b)for(f=0;!a.Tl&&f<b.length;f++)g=a.currentTarget=b[f],e=g.wp(d,!1,a)&&e;return e};
_.h.va=function(){_.kj.T.va.call(this);this.HB();this.oB=null};_.h.V=function(a,b,c,d){return this.Bi.add(String(a),b,!1,c,d)};_.h.En=function(a,b,c,d){return this.Bi.add(String(a),b,!0,c,d)};_.h.Zb=function(a,b,c,d){return this.Bi.remove(String(a),b,c,d)};_.h.kD=function(a){return Oi(this.Bi,a)};_.h.HB=function(a){this.Bi&&this.Bi.removeAll(a)};
_.h.wp=function(a,b,c){a=this.Bi.od[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.Mn&&f.capture==b){var g=f.listener,k=f.Ne||f.src;f.Os&&this.kD(f);d=!1!==g.call(k,c)&&d}}return d&&!c.defaultPrevented};_.h.Vm=function(a,b,c,d){return this.Bi.Vm(String(a),b,c,d)};_.h.hasListener=function(a,b){return this.Bi.hasListener(void 0!==a?String(a):void 0,b)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.zs=function(a,b,c){if(null!==a&&b in a)throw Error("e`"+b);a[b]=c};_.Ks=function(a){_.xi.call(this);this.Ud=a;this.Pb={}};_.P(_.Ks,_.xi);var Ls=[];_.Ks.prototype.V=function(a,b,c,d){return this.yq(a,b,c,d)};_.Ks.prototype.yq=function(a,b,c,d,e){Array.isArray(b)||(b&&(Ls[0]=b.toString()),b=Ls);for(var f=0;f<b.length;f++){var g=_.Ti(a,b[f],c||this.handleEvent,d||!1,e||this.Ud||this);if(!g)break;this.Pb[g.key]=g}return this};_.Ks.prototype.En=function(a,b,c,d){return Ms(this,a,b,c,d)};
var Ms=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)Ms(a,b,c[g],d,e,f);else{b=_.Si(b,c,d||a.handleEvent,e,f||a.Ud||a);if(!b)return a;a.Pb[b.key]=b}return a};_.Ks.prototype.Zb=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Zb(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Ya(d)?!!d.capture:!!d,e=e||this.Ud||this,c=_.Ui(c),d=!!d,b=_.Ii(a)?a.Vm(b,c,d,e):a?(a=_.Wi(a))?a.Vm(b,c,d,e):null:null,b&&(_.aj(b),delete this.Pb[b.key]);return this};
_.Ks.prototype.removeAll=function(){_.zb(this.Pb,function(a,b){this.Pb.hasOwnProperty(b)&&_.aj(a)},this);this.Pb={}};_.Ks.prototype.va=function(){_.Ks.T.va.call(this);this.removeAll()};_.Ks.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 Vu,Wu,Xu,Yu,$u,av,bv,cv,ev;oauth2={};_.Uu=!1;Vu=function(a){try{_.Uu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Wu=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};Xu=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};
Yu=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.Zu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};$u=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};av=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.";};bv={token:1,id_token:1};
cv=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.dv=window.JSON;ev=function(a){this.yD=a||[];this.Xb={}};ev.prototype.addEventListener=function(a,b){if(!(0<=Wu(this.yD,a)))throw"Unrecognized event type: "+a;if(!Yu(b))throw"The listener for event '"+a+"' is not a function.";this.Xb[a]||(this.Xb[a]=[]);0>Wu(this.Xb[a],b)&&this.Xb[a].push(b)};
ev.prototype.removeEventListener=function(a,b){if(!(0<=Wu(this.yD,a)))throw"Unrecognized event type: "+a;Yu(b)&&this.Xb[a]&&this.Xb[a].length&&(b=Wu(this.Xb[a],b),0<=b&&this.Xb[a].splice(b,1))};ev.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Wu(this.yD,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Xb[b]&&this.Xb[b].length)for(var c=0,d=this.Xb[b].length;c<d;c++)this.Xb[b][c](a)};
var fv,gv,hv,lv,mv,Dv,Ev,Gv,Hv,Jv,Sv;fv={};gv={};hv={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.iv=function(a,b){if(a=hv[a])return a[b]};_.jv=function(a,b){if(!a)throw Error("M");if(!b.authServerUrl)throw Error("N");if(!b.idpIFrameUrl)throw Error("O");hv[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.kv=void 0;
lv=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")};mv=function(){this.A_=window;this.et=this.Qk=this.Rq=this.Rg=null};
mv.prototype.open=function(a,b,c,d){nv(this);this.Rq?(this.Qk&&(this.Qk(),this.Qk=null),ov(this)):this.Rq="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Rg=this.A_.open(a,this.Rq,b);try{this.Rg.focus();if(this.Rg.closed||"undefined"==typeof this.Rg.closed)throw Error("Q");_.kv=this.Rg}catch(e){d&&setTimeout(d,0);this.Rg=null;break a}c&&(this.Qk=c,pv(this))}};
var nv=function(a){try{if(null==a.Rg||a.Rg.closed)a.Rg=null,a.Rq=null,ov(a),a.Qk&&(a.Qk(),a.Qk=null)}catch(b){a.Rg=null,a.Rq=null,ov(a)}},pv=function(a){a.et=window.setInterval(function(){nv(a)},300)},ov=function(a){a.et&&(window.clearInterval(a.et),a.et=null)};gv=gv||{};var qv=function(a,b){this.Qb=a;this.pA=b;this.Xc=null;this.yl=!1};qv.prototype.start=function(){if(!this.yl&&!this.Xc){var a=this;this.Xc=window.setTimeout(function(){a.clear();a.yl||(a.Qb(),a.yl=!0)},gv.kH(this.pA))}};
qv.prototype.clear=function(){this.Xc&&(window.clearTimeout(this.Xc),this.Xc=null)};var rv=function(a,b){var c=gv.Eo;this.sU=gv.yo;this.CM=c;this.Qb=a;this.pA=b;this.Xc=null;this.yl=!1;var d=this;this.DM=function(){document[d.sU]||(d.clear(),d.start())}};rv.prototype.start=function(){if(!this.yl&&!this.Xc){av(document,this.CM,this.DM);var a=this;this.Xc=window.setTimeout(function(){a.clear();a.yl||(a.Qb(),a.yl=!0)},gv.kH(this.pA))}};
rv.prototype.clear=function(){var a=this.CM,b=this.DM,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)};gv.yo=null;gv.Eo=null;
gv.PU=function(){var a=document;"undefined"!==typeof a.hidden?(gv.yo="hidden",gv.Eo="visibilitychange"):"undefined"!==typeof a.msHidden?(gv.yo="msHidden",gv.Eo="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(gv.yo="webkitHidden",gv.Eo="webkitvisibilitychange")};gv.PU();gv.iQ=function(a,b){return gv.yo&&gv.Eo?new rv(a,b):new qv(a,b)};gv.kH=function(a){return Math.max(1,a-(new Date).getTime())};
var sv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},tv=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],y=e[4];for(q=0;80>q;q++){if(40>q)if(20>q){var A=w^v&(t^w);var B=1518500249}else A=
v^t^w,B=1859775393;else 60>q?(A=v&t|w&(v|t),B=2400959708):(A=v^t^w,B=3395469782);A=((r<<5|r>>>27)&4294967295)+A+y+B+u[q]&4294967295;y=w;w=t;t=(v<<30|v>>>2)&4294967295;v=r;r=A}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]+y&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,Cg: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}}},uv=
window.crypto,vv=!1,wv=0,xv=1,yv=0,zv="",Av=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;xv=xv*b%yv;if(3==++wv)if(a=window,b=Av,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("R`mousemove");},Bv=function(a){var b=tv();b.update(a);return b.Cg()};vv=!!uv&&"function"==typeof uv.getRandomValues;
vv||(yv=1E6*(screen.width*screen.width+screen.height),zv=Bv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),av(window,"mousemove",Av));fv=fv||{};fv.sN="ssIFrame_";
_.Cv=function(a,b){this.Jb=a;if(!this.Jb)throw Error("S");a=_.iv(a,"idpIFrameUrl");if(!a)throw Error("T");this.dI=a;if(!b)throw Error("U");this.xk=b;a=this.dI;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.$z=a.join("");this.SX=[location.protocol,"//",location.host].join("");this.Zz=
this.rn=!1;this.$H=null;this.tv=[];this.Kn=[];this.li={};this.Bl=void 0};_.Cv.prototype.show=function(){var a=this.Bl;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")};_.Cv.prototype.Dc=function(){lv(this.Bl)};
_.Cv.prototype.Su=function(a){if(this.rn)a&&a(this);else{if(!this.Bl){var b=fv.sN+this.Jb;var c=this.Jb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=Wu(e.split("|"),c))?sv(e,d):sv(e?e+"|"+c:c,d);c=!f;f=this.dI;var g=this.SX;d=this.xk;e=document.createElement("iframe");e.setAttribute("id",b);b="allow-scripts allow-same-origin";document.requestStorageAccess&&Yu(document.requestStorageAccess)&&(b+=" allow-storage-access-by-user-activation");
e.setAttribute("sandbox",b);lv(e);e.setAttribute("frame-border","0");b=[f,"#origin=",encodeURIComponent(g)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Uu&&b.push("&debug=1");document.body.appendChild(e);e.setAttribute("src",b.join(""));this.Bl=e}a&&this.tv.push(a)}};_.Cv.prototype.fl=function(){return this.$H};Dv=function(a){for(var b=0;b<a.tv.length;b++)a.tv[b](a);a.tv=[]};
_.Fv=function(a,b,c,d){if(a.rn){if(a.rn&&a.Zz)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.fl(),Vu(a),Error(a);Ev(a,{method:b,params:c},d)}else a.Kn.push({rpc:{method:b,params:c},callback:d}),a.Su()};Ev=function(a,b,c){if(c){for(var d=b.id;!d||a.li[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.li[d]=c}b.rpcToken=a.xk;a.Bl.contentWindow.postMessage(_.dv.stringify(b),a.$z)};Gv=function(a){if(a&&0<=a.indexOf("::"))throw Error("V");};
_.Cv.prototype.Gh=function(a,b,c,d,e,f,g,k){Gv(f);b=_.Zu(b);_.Fv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:g,skipCache:k,id:f},e)};_.Cv.prototype.Ru=function(a,b,c,d,e){b=_.Zu(b);_.Fv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Hv=function(a,b,c){Gv(b.identifier);_.Fv(a,"getSessionSelector",b,c)};
_.Iv=function(a,b,c,d,e){Gv(b.identifier);_.Fv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Jv=function(a,b,c){_.Fv(a,"monitorClient",{clientId:b},c)};_.Cv.prototype.Zq=_.ja(29);_.Cv.prototype.lw=function(a,b){_.Fv(this,"showDialog",{J7:a},b)};_.Cv.prototype.Uo=_.ja(31);fv.pu={};fv.dz=function(a){return fv.pu[a]};
fv.Su=function(a,b){var c=fv.dz(a);if(!c){c=String;if(vv){var d=new window.Uint32Array(1);uv.getRandomValues(d);d=Number("0."+d[0])}else d=xv,d+=parseInt(zv.substr(0,20),16),zv=Bv(zv),d/=yv+Math.pow(16,20);c=new _.Cv(a,c(2147483647*d));fv.pu[a]=c}c.Su(b)};fv.LR=function(a){for(var b in fv.pu){var c=fv.dz(b);if(c&&c.Bl&&c.Bl.contentWindow==a.source&&c.$z==a.origin)return c}};fv.uS=function(a){for(var b in fv.pu){var c=fv.dz(b);if(c&&c.$z==a)return c}};fv=fv||{};
var Lv=function(){var a=[],b;for(b in Kv)a.push(Kv[b]);ev.call(this,a);this.dk={};Vu("EventBus is ready.")};Xu(Lv,ev);var Kv={CO:"sessionSelectorChanged",Ww:"sessionStateChanged",Kw:"authResult",dN:"displayIFrame"},Nv=function(a){var b=Mv;a&&(b.dk[a]||(b.dk[a]=[]))},Ov=function(a,b,c){return b&&a.dk[b]&&0<=Wu(a.dk[b],c)};_.h=Lv.prototype;
_.h.bX=function(a){var b,c=!!a.source&&(a.source.opener===window||a.source===_.kv);if(b=c?fv.uS(a.origin):fv.LR(a)){try{var d=_.dv.parse(a.data)}catch(e){Vu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.xk){Vu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.li[c.id])delete b.li[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?Vu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.cI[a.type]?(d=this.cI[a.type],
c&&!d.mP?Vu("Bad IDP event. Source window cannot be a popup."):d.ro&&!d.ro.call(this,b,a)?Vu("Bad IDP event."):d.Ne.call(this,b,a)):Vu("Bad IDP event.")}else Vu("Bad event, no corresponding Idp Stub.")};_.h.vY=function(a,b){return Ov(this,a.Jb,b.clientId)};_.h.uY=function(a,b){b=b.clientId;return!b||Ov(this,a.Jb,b)};_.h.wP=function(a,b){return Ov(this,a.Jb,b.clientId)};_.h.mW=function(a){a.rn=!0;Dv(a);for(var b=0;b<a.Kn.length;b++)Ev(a,a.Kn[b].rpc,a.Kn[b].callback);a.Kn=[]};
_.h.lW=function(a,b){b={error:b.error};a.rn=!0;a.Zz=!0;a.$H=b;a.Kn=[];Dv(a)};_.h.Nv=function(a,b){b.originIdp=a.Jb;this.dispatchEvent(b)};var Mv=new Lv,Pv=Mv,Qv={};Qv.idpReady={Ne:Pv.mW};Qv.idpError={Ne:Pv.lW};Qv.sessionStateChanged={Ne:Pv.Nv,ro:Pv.vY};Qv.sessionSelectorChanged={Ne:Pv.Nv,ro:Pv.uY};Qv.authResult={Ne:Pv.Nv,ro:Pv.wP,mP:!0};Qv.displayIFrame={Ne:Pv.Nv};Mv.cI=Qv||{};av(window,"message",function(a){Mv.bX.call(Mv,a)});
_.Rv=function(a,b){this.$d=!1;if(!a)throw Error("W");var c=[],d;for(d in a)c.push(a[d]);ev.call(this,c);this.vd=[location.protocol,"//",location.host].join("");this.vc=b.crossSubDomains?b.domain||this.vd:this.vd;if(!b)throw Error("X");if(!b.idpId)throw Error("Y");if(!_.iv(b.idpId,"authServerUrl")||!_.iv(b.idpId,"idpIFrameUrl"))throw Error("Z`"+b.idpId);this.Jb=b.idpId;this.Ub=void 0;this.pQ=!!b.disableTokenRefresh;this.hR=!!b.forceTokenRefresh;this.wZ=!!b.skipTokenCache;this.setOptions(b);this.ep=
[];this.El=this.BI=!1;this.wn=void 0;this.pK();this.Vc=void 0;var e=this,f=function(){Vu("Token Manager is ready.");if(e.ep.length)for(var g=0;g<e.ep.length;g++)e.ep[g].call(e);e.BI=!0;e.ep=[]};fv.Su(this.Jb,function(g){e.Vc=g;g.rn&&g.Zz?(e.El=!0,e.wn=g.fl(),e.pv(e.wn)):e.Ub?Jv(e.Vc,e.Ub,function(k){if(k){k=e.Jb;var l=e.Ub,m=Mv;k&&l&&(m.dk[k]||(m.dk[k]=[]),0>Wu(m.dk[k],l)&&m.dk[k].push(l));f()}else e.wn={error:"Not a valid origin for the client: "+e.vd+" has not been whitelisted for client ID "+e.Ub+
". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},e.El=!0,e.pv(e.wn)}):(Nv(e.Jb),f())})};Xu(_.Rv,ev);_.Rv.prototype.setOptions=function(){};_.Rv.prototype.pK=function(){};_.Rv.prototype.pv=function(){};_.Rv.prototype.fl=function(){return this.wn};Sv=function(a,b,c){return function(){b.apply(a,c)}};_.Tv=function(a,b,c){if(a.BI)b.apply(a,c);else{if(a.El)throw a.wn;a.ep.push(Sv(a,b,c))}};_.Rv.prototype.ZE=_.ja(32);_.Rv.prototype.Uo=_.ja(30);
_.Vv=function(a,b){_.Rv.call(this,a,b);this.aK=new mv;this.Pi=this.Pl=null;Uv(this)};Xu(_.Vv,_.Rv);_.Vv.prototype.setOptions=function(){};
var Wv=function(a,b){a.Zd={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.vc};b.crossSubDomains&&(a.Zd.policy=b.policy)},Xv=function(a,b){if(!b.authParameters)throw Error("$");if(!b.authParameters.scope)throw Error("aa");if(!b.authParameters.response_type)throw Error("ba");a.Ko=b.authParameters;a.Ko.redirect_uri||(a.Ko.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Oh=_.Zu(b.rpcAuthParameters||a.Ko);if(!a.Oh.scope)throw Error("ca");if(!a.Oh.response_type)throw Error("da");
a:{var c=a.Oh.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!bv[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ea");b.enableSerialConsent&&(a.Oh.enable_serial_consent=!0);b.authResultIdentifier&&(a.xP=b.authResultIdentifier);b.spec_compliant&&(a.Oh.spec_compliant=b.spec_compliant)};
_.Vv.prototype.pK=function(){var a=this;Mv.addEventListener(Kv.CO,function(b){a.$d&&a.Zd&&b.originIdp==a.Jb&&!b.crossSubDomains==!a.Zd.crossSubDomains&&b.domain==a.Zd.domain&&b.id==a.Zd.id&&a.MJ(b)});Mv.addEventListener(Kv.Ww,function(b){a.$d&&b.originIdp==a.Jb&&b.clientId==a.Ub&&a.NJ(b)});Mv.addEventListener(Kv.Kw,function(b){_.kv=void 0;a.$d&&b.originIdp==a.Jb&&b.clientId==a.Ub&&b.id==a.Mi&&(a.Pl&&(window.clearTimeout(a.Pl),a.Pl=null),a.Mi=void 0,a.Hq(b))});Mv.addEventListener(Kv.dN,function(b){a.$d&&
b.originIdp==a.Jb&&(b.Dc?a.Vc.Dc():a.Vc.show())})};_.Vv.prototype.MJ=function(){};_.Vv.prototype.NJ=function(){};_.Vv.prototype.Hq=function(){};var Zv=function(a,b){Yv(a);a.pQ||(a.Pi=gv.iQ(function(){a.Gh(!0)},b-3E5),navigator.onLine&&a.Pi.start())},Yv=function(a){a.Pi&&(a.Pi.clear(),a.Pi=null)},Uv=function(a){var b=window;cv()&&(b=document.body);av(b,"online",function(){a.Pi&&a.Pi.start()});av(b,"offline",function(){a.Pi&&a.Pi.clear()})};_.h=_.Vv.prototype;_.h.Gh=function(){};
_.h.lw=function(a,b){this.Vc.lw(a,b)};_.h.vJ=_.ja(33);_.h.yV=function(a,b){if(!this.Ub)throw Error("ia");this.Vc.Ru(this.Ub,this.Oh,this.Zd,a,b)};_.h.Ru=function(a,b){_.Tv(this,this.yV,[a,b])};_.aw=function(a){this.Wd=void 0;this.Dg=!1;this.Wn=void 0;_.Vv.call(this,_.$v,a)};Xu(_.aw,_.Vv);_.$v={XD:"noSessionBound",Do:"userLoggedOut",NM:"activeSessionChanged",Ww:"sessionStateChanged",XO:"tokenReady",WO:"tokenFailed",Kw:"authResult",ERROR:"error"};
_.aw.prototype.setOptions=function(a){if(!a.clientId)throw Error("ja");this.Ub=a.clientId;this.Ca=a.id;Wv(this,a);Xv(this,a)};_.aw.prototype.pv=function(a){this.dispatchEvent({type:_.$v.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Jb})};var bw=function(a){Yv(a);a.Wn=void 0;a.BA=void 0};_.h=_.aw.prototype;
_.h.MJ=function(a){var b=a.newValue||{};if(this.Wd!=b.hint||this.Dg!=!!b.disabled){a=this.Wd;var c=!this.Wd||this.Dg;bw(this);this.Wd=b.hint;this.Dg=!!b.disabled;(b=!this.Wd||this.Dg)&&!c?this.dispatchEvent({type:_.$v.Do,idpId:this.Jb}):b||(a!=this.Wd&&this.dispatchEvent({type:_.$v.NM,idpId:this.Jb}),this.Wd&&this.Gh())}};
_.h.NJ=function(a){this.Dg||(this.Wd?a.user||this.Wn?a.user==this.Wd&&(this.Wn?a.sessionState?this.Wn=a.sessionState:(bw(this),this.dispatchEvent({type:_.$v.Do,idpId:this.Jb})):a.sessionState&&(this.Wn=a.sessionState,this.Gh())):this.Gh():this.dispatchEvent({type:_.$v.Ww,idpId:this.Jb}))};_.h.Hq=function(a){this.dispatchEvent({type:_.$v.Kw,authResult:a.authResult})};_.h.Jp=_.ja(35);_.h.Cp=function(a){_.Tv(this,this.Qy,[a])};_.h.Qy=function(a){Hv(this.Vc,this.Zd,a)};
_.h.mw=function(a,b,c){if(!a)throw Error("ka");bw(this);this.Wd=a;this.Dg=!1;b&&_.Iv(this.Vc,this.Zd,!1,this.Wd);this.$d=!0;this.Gh(c,!0)};_.h.start=function(){_.Tv(this,this.BZ,[])};
_.h.BZ=function(){var a=this.Ub==$u("client_id")?$u("login_hint"):void 0;var b=this.Ub==$u("client_id")?$u("state"):void 0;this.YA=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.mw(a,!0,!0);else{var c=this;this.Cp(function(d){c.$d=!0;d&&d.hint?(bw(c),c.Wd=d.hint,c.Dg=!!d.disabled,c.Dg?c.dispatchEvent({type:_.$v.Do,idpId:c.Jb}):c.mw(d.hint)):(bw(c),c.Wd=void 0,c.Dg=!(!d||!d.disabled),c.dispatchEvent({type:_.$v.XD,
autoOpenAuthUrl:!c.Dg,idpId:c.Jb}))})}};_.h.wG=_.ja(36);_.h.Gh=function(a,b){var c=this;this.Vc.Gh(this.Ub,this.Oh,this.Wd,this.Zd,function(d,e){(e=e||d.error)?"user_logged_out"==e?(bw(c),c.dispatchEvent({type:_.$v.Do,idpId:c.Jb})):(c.BA=null,c.dispatchEvent({type:_.$v.WO,idpId:c.Jb,error:e})):(c.BA=d,c.Wn=d.session_state,Zv(c,d.expires_at),d.idpId=c.Jb,b&&c.YA&&(d.state=c.YA,c.YA=void 0),c.dispatchEvent({type:_.$v.XO,idpId:c.Jb,response:d}))},this.Ca,a)};_.h.Zq=_.ja(28);_.h.GK=_.ja(37);
_.cw=function(a){this.Kk=null;_.Vv.call(this,{},a);this.$d=!0};Xu(_.cw,_.Vv);_.h=_.cw.prototype;_.h.setOptions=function(a){if(!a.clientId)throw Error("ja");this.Ub=a.clientId;this.Ca=a.id;Wv(this,a);Xv(this,a)};_.h.pv=function(a){this.Kk&&(this.Kk({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Kk=null)};_.h.Hq=function(a){if(this.Kk){var b=this.Kk;this.Kk=null;b(a)}};_.h.Jp=_.ja(34);_.h.Cp=function(a){this.El?a(this.fl()):_.Tv(this,this.Qy,[a])};
_.h.Qy=function(a){Hv(this.Vc,this.Zd,a)};_.dw=function(a,b,c){a.El?c(a.fl()):_.Tv(a,a.BW,[b,c])};_.cw.prototype.BW=function(a,b){this.Vc.Gh(this.Ub,this.Oh,a,this.Zd,function(c,d){d?b({error:d}):b(c)},this.Ca,this.hR,this.wZ)};_.cw.prototype.XI=_.ja(38);

var ew,gw,hw,iw,jw,kw,lw,mw,nw,ow,pw,sw;ew=function(a){return Array.prototype.concat.apply([],arguments)};_.fw=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 _.ih(a,3).substring(0,64)};gw=function(a,b,c){if(!a.$d)throw Error("fa");b?_.Iv(a.Vc,a.Zd,!0,void 0,c):_.Iv(a.Vc,a.Zd,!0,a.Wd,c)};hw=function(a){if(!a.$d)throw Error("fa");return a.BA};
_.cw.prototype.XI=_.Sc(38,function(a,b){var c=this.Vc,d=this.Ub,e=this.Zd,f=_.Zu(this.Oh);delete f.response_type;_.Fv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.aw.prototype.GK=_.Sc(37,function(a){hw(this)&&hw(this).access_token&&(this.Vc.Zq(this.Ub,hw(this).access_token,a),gw(this,!0))});_.aw.prototype.wG=_.Sc(36,function(){var a=this;this.Cp(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.$v.Do,idpId:a.Jb}):a.Gh(!0):a.dispatchEvent({type:_.$v.XD,idpId:a.Jb})})});
_.aw.prototype.Jp=_.Sc(35,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.mw(b.authResult.login_hint,a.Dg||b.authResult.login_hint!=a.Wd,!0)}});
_.cw.prototype.Jp=_.Sc(34,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Cp(function(d){_.Iv(b.Vc,b.Zd,d&&d.disabled,c.authResult.login_hint,function(){_.dw(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"})}});_.Vv.prototype.vJ=_.Sc(33,function(){this.Ub&&_.Fv(this.Vc,"startPolling",{clientId:this.Ub,origin:this.vd,id:this.Mi},void 0)});
_.Cv.prototype.Zq=_.Sc(29,function(a,b,c){_.Fv(this,"revoke",{clientId:a,token:b},c)});_.aw.prototype.Zq=_.Sc(28,function(a){_.Tv(this,this.GK,[a])});iw=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};
jw=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};
kw=function(a,b,c,d,e,f,g){var k=_.iv(a,"authServerUrl");if(!k)throw Error("P`"+a);a=_.Zu(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=jw())&&(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("&")};
lw=function(a,b,c,d){if(!a.Ub)throw Error("ga");a.Mi=c||a.xP||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.vd.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.Mi);c.redirect_uri=e.join("")}return kw(a.Jb,a.vc,a.Ub,a.Ko,!0,b,d)};
mw=function(a,b){a.Pl&&window.clearTimeout(a.Pl);a.Pl=window.setTimeout(function(){a.Mi==b&&(_.kv=void 0,a.Pl=null,a.Mi=void 0,a.Hq({authResult:{error:"popup_closed_by_user"}}))},1E3)};nw=function(a,b,c){if(!a.Ub)throw Error("ha");c=c||{};c=lw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||iw())&&_.Tv(a,a.vJ,[]);var d=a.Mi;a.aK.open(c,b,function(){a.Mi==d&&mw(a,d)},function(){a.Mi=void 0;a.Hq({authResult:{error:"popup_blocked_by_browser"}})})};
ow=function(a){_.Tv(a,a.wG,[])};pw=function(a,b,c){a.El?c(a.fl()):_.Tv(a,a.XI,[b,c])};
_.qw=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("")};
_.rw=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=_.fh[m];if(null!=n)return n;if(!_.Ke(m))throw Error("v`"+m);}return l}_.hh();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))}};sw=function(a){var b=[];_.rw(a,function(c){b.push(c)});return b};_.tw=function(a,b){_.Ph[b||"token"]=a};_.uw=function(a){delete _.Ph[a||"token"]};
_.dv={parse:function(a){a=_.wf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.xf(a)}};
_.cw.prototype.Dy=function(a,b){_.Tv(this,this.UQ,[a,b])};_.cw.prototype.UQ=function(a,b){this.Vc.Dy(this.Ub,a,this.Oh,this.Zd,b)};
_.Cv.prototype.Dy=function(a,b,c,d,e){c=_.Zu(c);_.Fv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};
var vw,ww=["client_id","cookie_policy","scope"],xw="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(" "),yw=["authuser","after_redirect","access_type","hl"],zw=["login_hint","prompt"],Aw={clientid:"client_id",cookiepolicy:"cookie_policy"},Bw=["approval_prompt","authuser","login_hint",
"prompt","hd"],Cw=["login_hint","g-oauth-window","status"],Dw=Math.min(_.R("oauth-flow/authWindowWidth",599),screen.width-20),Ew=Math.min(_.R("oauth-flow/authWindowHeight",600),screen.height-30);
var Fw=function(a){_.Tc.call(this,a)};_.li(Fw,_.Tc);Fw.prototype.name="gapi.auth2.ExternallyVisibleError";
var Gw=function(){};Gw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Hw=function(){};Hw.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 Iw=function(a){this.yP=a};
Iw.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.yP){d.login_hint?b(d):b();return}}b()};
var Jw=function(a){this.Ld=a;this.Xv=[]};Jw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Xv[b];f?(b++,c.Ld.Ru(function(g){g?f.select(g,d):d()})):a()}};d()};var Kw=function(a){a=new Jw(a);a.Xv.push(new Gw);return a},Lw=function(a){a=new Jw(a);a.Xv.push(new Hw);return a},Mw=function(a,b){void 0===b||null===b?b=Kw(a):(a=new Jw(a),a.Xv.push(new Iw(b)),b=a);return b};
var Nw=function(a){this.Ne=a;this.Fd=!0};Nw.prototype.remove=function(){this.Fd=!1};Nw.prototype.trigger=function(){};var Ow=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Pw=function(){this.Xb=[]};Pw.prototype.add=function(a){this.Xb.push(a)};Pw.prototype.notify=function(a){for(var b=this.Xb,c=[],d=0;d<b.length;d++){var e=b[d];e.Fd&&(c.push(e),_.yk(Qw(e.Ne,a)))}this.Xb=c};var Qw=function(a,b){return function(){a(b)}};
var Sw=function(a){this.ee=null;this.s_=new Rw(this);this.Xb=new Pw;void 0!=a&&this.set(a)};Sw.prototype.set=function(a){a!=this.ee&&(this.ee=a,this.s_.value=a,this.Xb.notify(this.ee))};Sw.prototype.get=function(){return this.ee};Sw.prototype.V=function(a){a=new Tw(this,a);this.Xb.add(a);return a};Sw.prototype.get=Sw.prototype.get;var Tw=function(a,b){Nw.call(this,b);this.BV=a};_.li(Tw,Nw);Tw.prototype.trigger=function(){var a=this.Ne;a(this.BV.get())};var Rw=function(a){this.value=null;this.V=function(b){return new Ow(a.V(b))}};
var Uw={H1:"fetch_basic_profile",N2:"login_hint",n4:"prompt",t4:"redirect_uri",M4:"scope",d6:"ux_mode",z5:"state"},Vw=function(a){this.Ba={};if(a&&!_.wi(a))if("function"==typeof a.get)this.Ba=a.get();else for(var b in Uw){var c=Uw[b];c in a&&(this.Ba[c]=a[c])}};Vw.prototype.get=function(){return this.Ba};Vw.prototype.BL=function(a){this.Ba.scope=a;return this};Vw.prototype.Wp=function(){return this.Ba.scope};
var Ww=function(a,b){var c=a.Ba.scope;b=ew(b.split(" "),c?c.split(" "):[]);_.Je(b);a.Ba.scope=b.join(" ")};_.h=Vw.prototype;_.h.aZ=function(a){this.Ba.prompt=a;return this};_.h.xS=function(){return this.Ba.prompt};_.h.yY=function(){_.Df("Property app_package_name no longer supported and was not set");return this};_.h.nR=function(){_.Df("Property app_package_name no longer supported")};_.h.Fe=function(a){this.Ba.state=a};_.h.getState=function(){return this.Ba.state};
var Xw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Dw,"height="+Ew,"top="+(screen.height-Ew)/2,"left="+(screen.width-Dw)/2].join()},Yw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.qw(sw(a)))},Zw=function(){vw=_.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");_.jv(vw,{authServerUrl:a,idpIFrameUrl:b})},$w=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}_.Ya(a[e])||(a[e]={});a=a[e]}},ax=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a};
var bx=function(a){var b=a?(b=Yw(a))?b.sub:null:null;this.Ca=b;this.uc=a?_.ok(a):null};_.h=bx.prototype;_.h.ma=function(){return this.Ca};_.h.$y=function(){var a=Yw(this.uc);return a?a.hd:null};_.h.zf=function(){return!!this.uc};_.h.Oj=function(a){if(a)return this.uc;a=cx;var b=_.ok(this.uc);!a.zu||a.Uz||a.gU||(delete b.access_token,delete b.scope);return b};_.h.GB=function(){return cx.GB()};_.h.fj=function(){this.uc=null};_.h.UR=function(){return this.uc?this.uc.scope:null};
_.h.update=function(a){this.Ca=a.Ca;this.uc=a.uc;this.uc.id_token?this.Hs=new dx(this.uc):this.Hs&&(this.Hs=null)};var ex=function(a){return a.uc&&"object"==typeof a.uc.session_state?_.ok(a.uc.session_state.extraQueryParams||{}):{}};_.h=bx.prototype;_.h.zp=function(){var a=ex(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.h.ej=function(a){var b=cx,c=new Vw(a);b.Uz=c.Wp()?!0:!1;cx.zu&&Ww(c,"openid profile email");return new _.Ik(function(d,e){var f=ex(this);f.login_hint=this.ma();f.scope=c.Wp();fx(b,d,e,f)},this)};_.h.Yp=function(a){return new _.Ik(function(b,c){var d=a||{},e=cx;d.login_hint=this.ma();e.Yp(d).then(b,c)},this)};_.h.TS=function(a){return this.ej(a)};_.h.disconnect=function(){return cx.disconnect()};_.h.qR=function(){return this.Hs};
_.h.lu=function(a){if(!this.zf())return!1;var b=this.uc&&this.uc.scope?this.uc.scope.split(" "):"";return _.pb(a?a.split(" "):[],function(c){return _.Xa(b,c)})};var dx=function(a){a=Yw(a);this.kR=a.sub;this.sd=a.name;this.QS=a.given_name;this.SQ=a.family_name;this.jI=a.picture;this.nt=a.email};_.h=dx.prototype;_.h.ma=function(){return this.kR};_.h.getName=function(){return this.sd};_.h.SR=function(){return this.QS};_.h.NR=function(){return this.SQ};_.h.cS=function(){return this.jI};_.h.Nt=function(){return this.nt};
var hx=function(a,b,c){this.Kl=b;this.ZV=a;for(var d in a)a.hasOwnProperty(d)&&gx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.Kl[c[a]]},gx=function(a,b){a[b]=function(){return a.ZV[b].apply(a.Kl,arguments)}};hx.prototype.then=function(a,b,c){var d=this;return _.Mk().then(function(){return ix(d.Kl,a,b,c)})};_.sk(hx);
var jx;jx=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.kx=function(a){if(!a)throw new Fw("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 Fw("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(!_.ui(b,"."+a)&&!_.ui(b,a))throw new Fw("Invalid cookiePolicy domain");return d};
var mx,lx,nx,ox,px,qx,sx,xx,tx,zx,Ax,ux;mx=function(a){var b=a||{},c=lx();_.lb(xw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b};lx=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;Aw[d]&&(d=Aw[d]);_.Xa(xw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a};
nx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})};ox=function(a){_.lb(xw,function(b){var c=nx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})};px=function(a){a=mx(a);ox(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=xw+yw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a};
qx=function(a,b){if(!a)throw new Fw("Empty initial options.");for(var c=0;c<ww.length;++c)if(!(b&&"scope"==ww[c]||a[ww[c]]))throw new Fw("Missing required parameter '"+ww[c]+"'");_.kx(a.cookie_policy)};
sx=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:jx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:vw};_.rx(b,a);_.lb(zw,function(c){a[c]&&(b.authParameters[c]=a[c])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);return b};_.rx=function(){};
xx=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=tx(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:jx(c),idpId:vw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);g&&(m.rpcAuthParameters.spec_compliant=g,k=k||_.fw());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=
!0);_.lb(zw.concat(yw),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 ux(a.response_type||"token"),vx(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),wx(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};tx=function(a){a=new ux(a.response_type||"token");var b=[];wx(a)&&b.push("token");yx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")};zx=["permission","id_token"];Ax=/(^|[^_])token/;ux=function(a){this.Qn=[];this.kA(a)};
ux.prototype.kA=function(a){a?((0<=a.indexOf("permission")||a.match(Ax))&&this.Qn.push("permission"),0<=a.indexOf("id_token")&&this.Qn.push("id_token"),0<=a.indexOf("code")&&this.Qn.push("code")):this.Qn=zx};var vx=function(a){return yx(a,"code")},wx=function(a){return yx(a,"permission")};ux.prototype.toString=function(){return this.Qn.join(" ")};var yx=function(a,b){var c=!1;_.lb(a.Qn,function(d){d==b&&(c=!0)});return c};
var cx,Bx,Dx,Fx,Gx,ix;cx=null;_.Cx=function(){return cx?Bx():null};Bx=function(){return new hx(Dx.prototype,cx,["currentUser","isSignedIn"])};Dx=function(a){delete a.include_granted_scopes;this.Ba=sx(a);this.eQ=a.cookie_policy;this.gU=!!a.scope;(this.zu=!1!==a.fetch_basic_profile)&&(this.Ba.authParameters.scope=Ex(this,"openid profile email"));this.kq=a.hosted_domain;this.p_=a.ux_mode||"popup";this.hX=a.redirect_uri||null;Fx(this)};
Fx=function(a){a.currentUser=new Sw(new bx(null));a.isSignedIn=new Sw(!1);a.Ld=new _.aw(a.Ba);a.yn=null;a.Fu=null;a.oV=new _.Ik(function(b,c){this.yn=b;this.Fu=c},a);a.sv={};a.uq=!0;Gx(a);a.Ld.start()};
Gx=function(a){a.Ld.addEventListener("error",function(b){a.uq&&a.yn&&(a.uq=!1,a.Fu({error:b.error,details:b.details}),a.yn=null,a.Fu=null)});a.Ld.addEventListener("authResult",function(b){b&&b.authResult&&a.Ke(b);a.Ld.Jp()(b)});a.Ld.addEventListener("tokenReady",function(b){var c=new bx(b.response);if(a.kq&&a.kq!=c.$y())a.Ke({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.$y(),expectedDomain:a.kq});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Xb.notify(d.ee);a.isSignedIn.set(!0);c=c.zp();(d=_.kx(a.eQ))&&c&&_.Dh.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.xe?"S":"H",d.jh].join(""),c,{domain:d.domain,secure:d.isSecure});_.tw(b.response);a.Ke(b)}});a.Ld.addEventListener("noSessionBound",function(b){a.uq&&b.autoOpenAuthUrl?(a.uq=!1,Kw(a.Ld).select(function(c){if(c&&c.login_hint){var d=a.Ld;_.Tv(d,d.mw,[c.login_hint,!0])}else a.currentUser.set(new bx(null)),a.isSignedIn.set(!1),_.uw(),a.Ke(b)})):(a.currentUser.set(new bx(null)),
a.isSignedIn.set(!1),_.uw(),a.Ke(b))});a.Ld.addEventListener("tokenFailed",function(b){a.Ke(b)});a.Ld.addEventListener("userLoggedOut",function(b){a.currentUser.get().fj();var c=a.currentUser;c.Xb.notify(c.ee);a.isSignedIn.set(!1);_.uw();a.Ke(b)})};ix=function(a,b,c,d){return a.oV.then(function(e){if(b)return b(e.RS)},c,d)};Dx.prototype.Ke=function(a){if(a){this.uq=!1;var b=a.type||"";if(this.sv[b])this.sv[b](a);this.yn&&(this.yn({RS:this}),this.Fu=this.yn=null)}};
var Hx=function(a,b){_.zb(b,function(c,d){a.sv[d]=function(e){a.sv={};c(e)}})},fx=function(a,b,c,d){d=_.ok(d);a.kq&&(d.hd=a.kq);var e=d.ux_mode||a.p_;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.hX||ax()+window.location.pathname),Ix(a,f)):(delete d.redirect_uri,Jx(a,f),Hx(a,{authResult:function(g){g.authResult&&g.authResult.error?c(g.authResult):Hx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};Dx.prototype.ej=function(a){return new _.Ik(function(b,c){var d=new Vw(a);this.Uz=d.Wp()?!0:!1;this.zu?(d.Ba.fetch_basic_profile=!0,Ww(d,"email profile openid")):d.Ba.fetch_basic_profile=!1;var e=Ex(this,d.Wp());d.BL(e);fx(this,b,c,d.get())},this)};
Dx.prototype.Yp=function(a){var b=a||{};this.Uz=!!b.scope;a=Ex(this,b.scope);if(""==a)return _.Nk({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.lb(Bw,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?Kx(this,c):Lx(this,c,b.redirect_uri)};
var Lx=function(a,b,c){b.redirect_uri=c;Ix(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.Mk({message:"Redirecting to IDP."})},Kx=function(a,b){b.origin=ax();delete b.redirect_uri;Jx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Ik(function(c,d){Hx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Jx=function(a,b){$w(b,["sessionMeta","extraQueryParams",
"gsiwebsdk"],"2");nw(a.Ld,Xw(),b)},Ix=function(a,b){$w(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");var c=b||{};b=window.location;var d=b.assign;a=a.Ld;if(!a.Ub)throw Error("ga");a=kw(a.Jb,a.vc,a.Ub,a.Ko,!1,c.sessionMeta,c.responseType);d.call(b,a)};Dx.prototype.fj=function(a){var b=a||!1;return new _.Ik(function(c){gw(this.Ld,b,function(){c()})},this)};Dx.prototype.UG=function(){return this.Ba.authParameters.scope};
var Ex=function(a,b){a=a.UG();b=ew(b?b.split(" "):[],a?a.split(" "):[]);_.Je(b);return b.join(" ")};Dx.prototype.GB=function(){var a=this;return new _.Ik(function(b,c){Hx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});ow(a.Ld)})};
Dx.prototype.EE=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.Ti(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.ej(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."})};Dx.prototype.disconnect=function(){return new _.Ik(function(a){this.Ld.Zq(function(){a()})},this)};Dx.prototype.attachClickHandler=Dx.prototype.EE;
var Mx;_.Ik.prototype["catch"]=_.Ik.prototype.Nr;Mx=null;_.Nx=function(a){a=px(a);if(cx){if(_.nk(a,Mx||{}))return Bx();throw new Fw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}qx(a,!1!==a.fetch_basic_profile);Zw();Mx=a;cx=new Dx(a);_.ye.ga=1;return Bx()};
var Px,Rx,Ox,Tx,Sx,Ux;_.Qx=function(a,b){Zw();a=px(a);qx(a);var c=xx(a),d=new _.cw(c);"none"==a.prompt?Ox(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)}):Px(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.aK.Rg;b(e)})};
Px=function(a,b,c){var d=new ux(b.response_type);c=Rx(a,d,c);var e={responseType:d.toString()};$w(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");vx(d)&&$w(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&$w(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&$w(e,["sessionMeta","extraQueryParams","state"],b.state);b=Xw();a.El?c({authResult:{error:"idpiframe_initialization_failed",details:a.fl().error}}):(a.Kk=
c,nw(a,b,e))};Rx=function(a,b,c){if(wx(b)){var d=Sx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Jp(function(f){f&&!f.error?(f=_.ok(f),vx(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(_.ok(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
Ox=function(a,b,c){if(vx(new ux(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=Sx(c);b.login_hint?a.Dy(b.login_hint,function(e){e?Tx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Mw(a,b.authuser).select(function(e){e&&e.login_hint?Tx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Cp(function(e){e&&e.hint?Tx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Lw(a):Kw(a)).select(function(f){f&&f.login_hint?Tx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};Tx=function(a,b,c,d){b=new ux(b.response_type);var e=0,f={},g=function(k){!k||k.error?d(k):(e--,_.Bb(f,k),0==e&&d(f))};(wx(b)||yx(b,"id_token"))&&e++;vx(b)&&e++;(wx(b)||yx(b,"id_token"))&&_.dw(a,c,g);vx(b)&&pw(a,c,g)};
Sx=function(a){return function(b){if(!b||b.error)_.uw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.ok(b);Ux(c);delete c.id_token;delete c.code;_.tw(c)}a(b)}}};Ux=function(a){_.lb(Cw,function(b){delete a[b]})};
_.L("gapi.auth2.init",_.Nx);_.L("gapi.auth2.authorize",function(a,b){if(null!=cx)throw new Fw("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).");_.Qx(a,function(c){Ux(c);b(c)})});_.L("gapi.auth2._gt",function(){return _.Qh()});_.L("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.Uu="0"!=a&&!!a});_.L("gapi.auth2.getAuthInstance",_.Cx);
_.L("gapi.auth2.BasicProfile",dx);_.L("gapi.auth2.BasicProfile.prototype.getId",dx.prototype.ma);_.L("gapi.auth2.BasicProfile.prototype.getName",dx.prototype.getName);_.L("gapi.auth2.BasicProfile.prototype.getGivenName",dx.prototype.SR);_.L("gapi.auth2.BasicProfile.prototype.getFamilyName",dx.prototype.NR);_.L("gapi.auth2.BasicProfile.prototype.getImageUrl",dx.prototype.cS);_.L("gapi.auth2.BasicProfile.prototype.getEmail",dx.prototype.Nt);_.L("gapi.auth2.GoogleAuth",Dx);
_.L("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Dx.prototype.EE);_.L("gapi.auth2.GoogleAuth.prototype.disconnect",Dx.prototype.disconnect);_.L("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Dx.prototype.Yp);_.L("gapi.auth2.GoogleAuth.prototype.signIn",Dx.prototype.ej);_.L("gapi.auth2.GoogleAuth.prototype.signOut",Dx.prototype.fj);_.L("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Dx.prototype.UG);_.L("gapi.auth2.GoogleUser",bx);_.L("gapi.auth2.GoogleUser.prototype.grant",bx.prototype.TS);
_.L("gapi.auth2.GoogleUser.prototype.getId",bx.prototype.ma);_.L("gapi.auth2.GoogleUser.prototype.isSignedIn",bx.prototype.zf);_.L("gapi.auth2.GoogleUser.prototype.getAuthResponse",bx.prototype.Oj);_.L("gapi.auth2.GoogleUser.prototype.getBasicProfile",bx.prototype.qR);_.L("gapi.auth2.GoogleUser.prototype.getGrantedScopes",bx.prototype.UR);_.L("gapi.auth2.GoogleUser.prototype.getHostedDomain",bx.prototype.$y);_.L("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",bx.prototype.Yp);
_.L("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",bx.prototype.lu);_.L("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",bx.prototype.GB);_.L("gapi.auth2.LiveValue",Sw);_.L("gapi.auth2.LiveValue.prototype.listen",Sw.prototype.V);_.L("gapi.auth2.LiveValue.prototype.get",Sw.prototype.get);_.L("gapi.auth2.SigninOptionsBuilder",Vw);_.L("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",Vw.prototype.nR);_.L("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",Vw.prototype.yY);
_.L("gapi.auth2.SigninOptionsBuilder.prototype.getScope",Vw.prototype.Wp);_.L("gapi.auth2.SigninOptionsBuilder.prototype.setScope",Vw.prototype.BL);_.L("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",Vw.prototype.xS);_.L("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",Vw.prototype.aZ);_.L("gapi.auth2.SigninOptionsBuilder.prototype.get",Vw.prototype.get);

_.rx=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||_.fw());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)};

_.Qe.A1=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}};_.Qe.J4=function(a){return function(b){return a.test(b)}};_.Qe.jN=function(a){return"undefined"!==typeof a};_.Qe.J3=function(a){return"string"===typeof a&&0<a.length};_.Qe.$_=function(a){return"boolean"===typeof a};_.Qe.S2=function(a){return function(b){for(var c in a)if(a.hasOwnProperty(c)&&!(0,a[c])(b[c]))return!1;return!0}};

_.Me=_.Me||{};
(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}_.Me.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)};_.Me.createIframeElement=function(b){var c=_.Me.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(_.Me.escapeString(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var g=_.Me.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};_.Me.getBodyElement=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};_.Me.i8=function(b){return a(b)}})();

_.Me=_.Me||{};(function(){function a(d){b=d["core.util"]||{}}var b={},c={};_.Qe&&_.Qe.register("core.util",null,a);_.Me.getFeatureParameters=function(d){return"undefined"===typeof b[d]?null:b[d]};_.Me.hasFeature=function(d){return"undefined"!==typeof b[d]};_.Me.t8=function(){return c}})();

_.Eh=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],y=e[4];for(q=0;80>q;q++){if(40>q)if(20>q){var A=w^v&(t^w);var B=1518500249}else A=v^t^w,B=1859775393;else 60>q?(A=v&t|w&(v|t),B=2400959708):(A=v^t^w,B=3395469782);A=((r<<5|r>>>27)&4294967295)+
A+y+B+u[q]&4294967295;y=w;w=t;t=(v<<30|v>>>2)&4294967295;v=r;r=A}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]+y&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,Cg: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 Gh=function(a,b,c){var d=String(_.D.location.href);return d&&a&&b?[b,Fh(_.pg(d),a,c||null)].join(" "):null},Fh=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.lb(d,function(k){e.push(k)}),Hh(e.join(" "));var f=[],g=[];_.lb(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];_.lb(d,function(k){e.push(k)});a=Hh(e.join(" "));a=[c,a];0==g.length||a.push(g.join(""));return a.join("_")},Hh=function(a){var b=
_.Eh();b.update(a);return b.Cg().toLowerCase()};
_.Ih={};
var Lh;_.Jh=function(a){return!!_.Ih.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.Kh=function(a){a=void 0===a?!1:a;var b=_.D.__SAPISID||_.D.__APISID||_.D.__3PSAPISID||_.D.__OVERRIDE_SID;_.Jh(a)&&(b=b||_.D.__1PSAPISID);if(b)return!0;var c=new _.Bh(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");_.Jh(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};Lh=function(a,b,c,d){(a=_.D[a])||(a=(new _.Bh(document)).get(b));return a?Gh(a,c,d):null};
_.Mh=function(a,b){b=void 0===b?!1:b;var c=_.pg(String(_.D.location.href)),d=[];if(_.Kh(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 _.Bh(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Gh(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&_.Jh(b)&&((b=Lh("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Lh("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.Nh=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.Jh(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.Oh={MH:_.Nh,iV:_.Kh,ZG:function(){var a=null;_.Kh()&&(a=window.__PVT,null==a&&(a=(new _.Bh(document)).get("BEAT")));return a},AG:_.Mh};

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

_.ng=_.ng={};_.ng.getOrigin=function(a){return _.pg(a)};

_.Ty=function(a){if(0!==a.indexOf("GCSC"))return null;var b={uA:!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=_.Ry(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&&!_.Sy?b:{uA:!0,xe:d,WP:a.substr(1),domain:e.domain,jh:e.jh}};
_.Uy=function(a,b){this.sd=a;a=b||{};this.KV=Number(a.maxAge)||0;this.vc=a.domain;this.qk=a.path;this.dY=!!a.secure};_.Uy.prototype.read=function(){for(var a=this.sd+"=",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)}};
_.Uy.prototype.write=function(a,b){if(!Vy.test(this.sd))throw"Invalid cookie name";if(!Wy.test(a))throw"Invalid cookie value";a=this.sd+"="+a;this.vc&&(a+=";domain="+this.vc);this.qk&&(a+=";path="+this.qk);b="number"===typeof b?b:this.KV;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.dY&&(a+=";secure");document.cookie=a;return!0};_.Uy.prototype.clear=function(){this.write("",0)};var Wy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Vy=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.Uy.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("="))}};
_.Xy=function(a){this.Fh=a};_.Xy.prototype.read=function(){if(Yy.hasOwnProperty(this.Fh))return Yy[this.Fh]};_.Xy.prototype.write=function(a){Yy[this.Fh]=a;return!0};_.Xy.prototype.clear=function(){delete Yy[this.Fh]};var Yy={};_.Xy.iterate=function(a){for(var b in Yy)Yy.hasOwnProperty(b)&&a(b,Yy[b])};
var Zy=function(){this.ee=null;this.key=function(){return null};this.getItem=function(){return this.ee};this.setItem=function(a,b){this.ee=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.ee=null;this.length=0};this.length=0},$y=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}},az=function(a,b){this.sd=a;this.Jf=
$y(b)?b||window.sessionStorage:new Zy};az.prototype.read=function(){return this.Jf.getItem(this.sd)};az.prototype.write=function(a){try{this.Jf.setItem(this.sd,a)}catch(b){return!1}return!0};az.prototype.clear=function(){this.Jf.removeItem(this.sd)};az.iterate=function(a){if($y())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
for(var bz=0;64>bz;++bz);
_.Sy="https:"===window.location.protocol;_.pz=_.Sy||"http:"===window.location.protocol?_.Uy:_.Xy;_.Ry=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,jh:c}};
var Az,Bz,Ez,Fz;Az=_.me();Bz=_.me();_.Cz=_.me();_.Dz=_.me();Ez="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");Fz=function(a){this.$J=a;this.NA=null};
Fz.prototype.write=function(a){var b=_.me(),c=_.me(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.ne(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=0;for(e=Ez.length;d<e;++d)delete c[Ez[d]];a=String(a.authuser||0);d=_.me();d[a]=c;c=_.xf(d);this.$J.write(c);this.NA=b};Fz.prototype.read=function(){return this.NA};Fz.prototype.clear=function(){this.$J.clear();this.NA=_.me()};_.Gz=function(a){return a?{domain:a.domain,path:"/",secure:a.xe}:null};
az.iterate(function(a){var b=_.Ty(a);b&&b.uA&&(Az[a]=new Fz(new az(a)))});_.pz.iterate(function(a){Az[a]&&(Bz[a]=new _.pz(a,_.Gz(_.Ty(a))))});

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var hr,ir,kr,lr,mr,nr,or,pr,qr,tr,ur,vr,wr,Ar,Er,Fr,Gr;_.Wq=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Xq=function(a,b,c,d){return Array.prototype.splice.apply(a,_.Wq(arguments,1))};_.Yq=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Zq=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.h=_.Zq.prototype;_.h.clone=function(){return new _.Zq(this.x,this.y)};
_.h.equals=function(a){return a instanceof _.Zq&&_.Yq(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 _.Zq?(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};_.$q=function(a,b){this.width=a;this.height=b};_.h=_.$q.prototype;_.h.clone=function(){return new _.$q(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};_.ar=function(a){return"CSS1Compat"==a.compatMode};_.br=function(a){a=a.document;a=_.ar(a)?a.documentElement:a.body;return new _.$q(a.clientWidth,a.clientHeight)};_.cr=function(a){return _.br(a||window)};
_.dr=function(a){return a.scrollingElement?a.scrollingElement:!_.vc&&_.ar(a)?a.documentElement:a.body||a.documentElement};_.er=function(a){var b=_.dr(a);a=a.parentWindow||a.defaultView;return _.rc&&_.Nc("10")&&a.pageYOffset!=b.scrollTop?new _.Zq(b.scrollLeft,b.scrollTop):new _.Zq(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.fr=function(a,b,c,d){return _.Pd(a.nb,b,c,d)};_.gr=function(a){a.lA=void 0;a.kb=function(){return a.lA?a.lA:a.lA=new a}};
hr=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(hr,_.Tc);hr.prototype.name="AssertionError";ir={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};_.jr=function(a){if(a instanceof _.Vb&&a.constructor===_.Vb)return a.AB;_.$a(a);return"type_error:SafeStyle"};kr=/\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;
lr=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g;mr=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/;nr=/\/\*/;or=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};pr=function(a){return a.replace(lr,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,k,l){f=k;return l});b=(_.zd(d)||_.Tb).nd();return c+f+b+f+e})};
qr=function(a){if(a instanceof _.Sb)return'url("'+_.ud(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.Nb)a=_.Ob(a);else{a=String(a);var b=a.replace(kr,"$1").replace(kr,"$1").replace(lr,"url");if(mr.test(b)){if(b=!nr.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&&or(a)}a=b?pr(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new hr("Value does not allow [{;}], got: %s.",[a]);return a};
_.rr=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)?_.nb(d,qr).join(" "):qr(d),b+=c+":"+d+";")}return b?new _.Vb(b,_.Ub):_.Wb};_.sr=function(a){if(a instanceof _.Zb&&a.constructor===_.Zb)return a.zB;_.$a(a);return"type_error:SafeStyleSheet"};tr=/^[a-zA-Z0-9-]+$/;ur={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
vr={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};wr=function(a){var b=_.Bd(_.fc),c=b.th(),d=[],e=function(f){Array.isArray(f)?_.lb(f,e):(f=_.Bd(f),d.push(_.dc(f).toString()),f=f.th(),0==c?c=f:0!=f&&c!=f&&(c=null))};_.lb(a,e);return _.ec(d.join(_.dc(b).toString()),c)};_.xr=function(a){return wr(Array.prototype.slice.call(arguments))};
_.yr=function(a,b,c){var d=String(a);if(!tr.test(d))throw Error("k");if(d.toUpperCase()in vr)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(!tr.test(l))throw Error("k");var g=b[l];if(null!=g){var k=l;if(g instanceof _.Nb)g=_.Ob(g);else if("style"==k.toLowerCase()){if(!_.Ya(g))throw Error("k");g instanceof _.Vb||(g=_.rr(g));g=_.jr(g)}else{if(/^on/i.test(k))throw Error("k");if(k.toLowerCase()in ur)if(g instanceof _.pd)g=_.rd(g);
else if(g instanceof _.Sb)g=_.ud(g);else if("string"===typeof g)g=(_.zd(g)||_.Tb).nd();else throw Error("k");}g.Bh&&(g=g.nd());k=k+'="'+_.nd(String(g))+'"';f+=" "+k}}var l=e+f;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===ir[a.toLowerCase()]?l+=">":(c=_.xr(c),l+=">"+_.dc(c).toString()+"</"+a+">",d=c.th());(b=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.ec(l,d)};_.zr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
Ar=function(a){return a.replace(/(^|[\s]+)([a-z])/g,function(b,c,d){return c+d.toUpperCase()})};_.Br=function(a,b,c){return _.Vd(document,arguments)};_.Cr=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.Dr=function(a){var b;if(_.Jd&&!(_.rc&&_.Nc("9")&&!_.Nc("10")&&_.D.SVGElement&&a instanceof _.D.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.ee(b)?b:null};Er={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};Fr={IMG:" ",BR:"\n"};
Gr=function(a,b,c){if(!(a.nodeName in Er))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 Fr)b.push(Fr[a.nodeName]);else for(a=a.firstChild;a;)Gr(a,b,c),a=a.nextSibling};
_.Hr=function(a){if(_.Id&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Gr(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");_.Id||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a};_.Ir=function(a){var b=[];Gr(a,b,!1);return b.join("")};
_.Jr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.h=_.Jr.prototype;_.h.Nc=function(){return this.right-this.left};_.h.getHeight=function(){return this.bottom-this.top};_.h.clone=function(){return new _.Jr(this.top,this.right,this.bottom,this.left)};_.h.contains=function(a){return this&&a?a instanceof _.Jr?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){_.Ya(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 _.Zq?(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 Mr,Sr,Qr,Vr,gs,hs;_.Lr=function(a,b,c){if("string"===typeof b)(b=_.Kr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.Kr(c,d);f&&(c.style[f]=e)}};Mr={};_.Kr=function(a,b){var c=Mr[b];if(!c){var d=_.zr(b);c=d;void 0===a.style[d]&&(d=(_.vc?"Webkit":_.uc?"Moz":_.rc?"ms":_.qc?"O":null)+Ar(d),void 0!==a.style[d]&&(c=d));Mr[b]=c}return c};
_.Nr=function(a,b){var c=_.Md(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Or=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Pr=function(a,b){return _.Nr(a,b)||_.Or(a,b)||a.style&&a.style[b]};_.Rr=function(a,b,c){if(b instanceof _.Zq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Qr(d,!1);a.style.top=Qr(b,!1)};
Sr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.Wr=function(a,b){b=b||_.dr(document);var c=b||_.dr(document);var d=_.Tr(a),e=_.Tr(c),f=_.Ur(c);if(c==_.dr(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.rc&&!_.Pc(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=Vr(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 _.Zq(e,k);b.scrollLeft=c.x;b.scrollTop=c.y};
_.Tr=function(a){var b=_.Md(a),c=new _.Zq(0,0);var d=b?_.Md(b):document;d=!_.rc||_.Pc(9)||_.ar(_.Nd(d).nb)?d.documentElement:d.body;if(a==d)return c;a=Sr(a);b=_.er(_.Nd(b).nb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Yr=function(a,b){var c=new _.Zq(0,0),d=_.Sd(_.Md(a));if(!_.oc(d,"parent"))return c;do{var e=d==b?_.Tr(a):_.Xr(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Xr=function(a){a=Sr(a);return new _.Zq(a.left,a.top)};
_.Zr=function(a,b,c){if(b instanceof _.$q)c=b.height,b=b.width;else if(void 0==c)throw Error("G");a.style.width=Qr(b,!0);a.style.height=Qr(c,!0)};Qr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.$r=function(a){var b=Vr;if("none"!=_.Pr(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};
Vr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.vc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Sr(a),new _.$q(a.right-a.left,a.bottom-a.top)):new _.$q(b,c)};_.as=function(a,b){a.style.display=b?"":"none"};
_.cs=function(a){var b=_.Nd(void 0),c=b.tb();if(_.rc&&c.createStyleSheet)return b=c.createStyleSheet(),_.bs(b,a),b;c=_.fr(b,"HEAD")[0];if(!c){var d=_.fr(b,"BODY")[0];c=b.ta("HEAD");d.parentNode.insertBefore(c,d)}d=b.ta("STYLE");var e=_.$c();e&&d.setAttribute("nonce",e);_.bs(d,a);b.appendChild(c,d);return d};_.bs=function(a,b){b=_.sr(b);_.rc&&void 0!==a.cssText?a.cssText=b:_.D.trustedTypes?_.ge(a,b):a.innerHTML=b};_.ds=function(a){return"rtl"==_.Pr(a,"direction")};
_.es=_.uc?"MozUserSelect":_.vc||_.sc?"WebkitUserSelect":null;_.fs=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};gs={thin:2,medium:4,thick:6};hs=function(a,b){if("none"==_.Or(a,b+"Style"))return 0;b=_.Or(a,b+"Width");return b in gs?gs[b]:_.fs(a,b)};
_.Ur=function(a){if(_.rc&&!_.Pc(9)){var b=hs(a,"borderLeft"),c=hs(a,"borderRight"),d=hs(a,"borderTop");a=hs(a,"borderBottom");return new _.Jr(d,c,a,b)}b=_.Nr(a,"borderLeftWidth");c=_.Nr(a,"borderRightWidth");d=_.Nr(a,"borderTopWidth");a=_.Nr(a,"borderBottomWidth");return new _.Jr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.ey=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("oa");return 2147483647<Number(b)?-1:_.D.setTimeout(a,b||0)};_.fy=function(a){_.D.clearTimeout(a)};_.gy=function(a){var b=null;return(new _.Ik(function(c,d){b=_.ey(function(){c(void 0)},a);-1==b&&d(Error("pa"))})).Nr(function(c){_.fy(b);throw c;})};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Hz=function(a){this.YZ=a};_.Hz.prototype.toString=function(){return this.YZ};
_.Iz=function(a){_.xi.call(this);this.Fh=1;this.Ev=[];this.Jv=0;this.Ye=[];this.Xh={};this.uP=!!a};_.P(_.Iz,_.xi);_.h=_.Iz.prototype;_.h.subscribe=function(a,b,c){var d=this.Xh[a];d||(d=this.Xh[a]=[]);var e=this.Fh;this.Ye[e]=a;this.Ye[e+1]=b;this.Ye[e+2]=c;this.Fh=e+3;d.push(e);return e};_.h.Jr=_.ja(40);_.h.unsubscribe=function(a,b,c){if(a=this.Xh[a]){var d=this.Ye;if(a=_.ki(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.mj(a)}return!1};
_.h.mj=function(a){var b=this.Ye[a];if(b){var c=this.Xh[b];0!=this.Jv?(this.Ev.push(a),this.Ye[a+1]=_.Za):(c&&_.ri(c,a),delete this.Ye[a],delete this.Ye[a+1],delete this.Ye[a+2])}return!!b};
_.h.Jn=function(a,b){var c=this.Xh[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.uP)for(e=0;e<c.length;e++){var g=c[e];Jz(this.Ye[g+1],this.Ye[g+2],d)}else{this.Jv++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.Ye[g+1].apply(this.Ye[g+2],d)}finally{if(this.Jv--,0<this.Ev.length&&0==this.Jv)for(;c=this.Ev.pop();)this.mj(c)}}return 0!=e}return!1};var Jz=function(a,b,c){_.Gk(function(){a.apply(b,c)})};
_.Iz.prototype.clear=function(a){if(a){var b=this.Xh[a];b&&(_.lb(b,this.mj,this),delete this.Xh[a])}else this.Ye.length=0,this.Xh={}};_.Iz.prototype.Fb=function(a){if(a){var b=this.Xh[a];return b?b.length:0}a=0;for(b in this.Xh)a+=this.Fb(b);return a};_.Iz.prototype.va=function(){_.Iz.T.va.call(this);this.clear();this.Ev.length=0};
_.Kz=function(a){_.xi.call(this);this.Hd=new _.Iz(a);_.zi(this,this.Hd)};_.P(_.Kz,_.xi);_.h=_.Kz.prototype;_.h.subscribe=function(a,b,c){return this.Hd.subscribe(a.toString(),b,c)};_.h.Jr=_.ja(39);_.h.unsubscribe=function(a,b,c){return this.Hd.unsubscribe(a.toString(),b,c)};_.h.mj=function(a){return this.Hd.mj(a)};_.h.Jn=function(a,b){return this.Hd.Jn(a.toString(),b)};_.h.clear=function(a){this.Hd.clear(void 0!==a?a.toString():void 0)};
_.h.Fb=function(a){return this.Hd.Fb(void 0!==a?a.toString():void 0)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Lz=function(a,b){Array.isArray(b)||(b=[b]);b=_.nb(b,function(c){return"string"===typeof c?c:c.Hv+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Lr(a,"transition",b.join(","))};
_.Mz=_.Gb(function(){if(_.rc)return _.Nc("10.0");var a=_.Wd("DIV"),b=_.vc?"-webkit":_.uc?"-moz":_.rc?"-ms":_.qc?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.yr("div",{style:c});_.Cd(a,b);a=a.firstChild;b=a.style[_.zr("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Kr(a,"transition")]||"")});

_.Oz=function(){_.Nz="oauth2relay"+String(2147483647*(0,_.sg)()|0)};_.Pz=new _.Kz;_.Qz=new _.Hz("oauth");_.Oz();_.R("oauth-flow/client_id");var Rz=String(_.R("oauth-flow/redirectUri"));if(Rz)Rz.replace(/[#][\s\S]*/,"");else{var Sz=_.ng.getOrigin(window.location.href);_.R("oauth-flow/callbackUrl");encodeURIComponent(Sz)}_.ng.getOrigin(window.location.href);

var Uz,Vz,Wz,Xz,Yz,Zz,$z,aA,bA,cA,dA,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,EA,FA,GA,HA,IA,JA,MA,LA,NA,OA,PA,QA,RA,SA,UA,VA,XA;_.Tz=function(a,b){if(_.gh&&!b)return _.D.atob(a);var c="";_.rw(a,function(d){c+=String.fromCharCode(d)});return c};Uz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};Vz=function(a){return _.yh("enableMultilogin")&&a("cookie_policy")&&!Uz(a)?!0:!1};
Yz=function(){var a,b=null;_.pz.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Ry(c.substring(11)),!a||c.xe&&!a.xe||c.xe==a.xe&&c.jh>a.jh)&&(a=c,b=d)});return{DP:a,authuser:b}};Zz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];$z=function(a){a=a.toUpperCase();for(var b=0,c=Zz.length;b<c;++b){var d=a.split(Zz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Uh,b.Bw(a),a=b.Cg().toUpperCase());return a};
aA=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};bA=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],wY:aA(a[1]),X8:aA(a[2]),V7:aA(a[3])}};cA=function(a){var b=Yz(),c=b.DP;b=b.authuser;var d=a&&$z(a);if(null!==b){var e;_.pz.iterate(function(g,k){(g=_.Ty(g))&&g.uA&&(d&&g.WP!=d||g.xe==c.xe&&g.jh==c.jh&&(e=k))});if(e){var f=bA(e);a=f&&f.wY[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,O9:a,clientId:f}}}return null};
dA=function(a,b){a=_.Qh(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};_.eA=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.tw(c,d):_.uw(d)};
fA=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.pg(a));var b=window.location.hostname,c=b,d=_.Sy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Bf("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 _.Bf("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,xe:d,jh:b}};
gA=function(a){var b=fA(a);if(!b)return new _.Xy("G_USERSTATE_");a=["G_USERSTATE_",_.Sy&&b.xe?"S":"H",b.jh].join("");var c=_.Dz[a];c||(c={dJ:63072E3},_.oe(_.Gz(b),c),c=new _.Uy(a,c),_.Dz[a]=c,b=c.read(),"undefined"!==typeof b&&null!==b&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};hA=function(a){var b=gA(a).read();a=_.me();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
iA=function(a,b,c){var d=hA(b),e=d[a];d[a]="0";var f=[];_.bm(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=gA(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};jA=function(a,b){b=hA(b);return"0"==b[a]||"X"==b[a]};kA=function(a){a=fA(a.g_user_cookie_policy);if(!a||a.xe&&!_.Sy)a=null;else{var b=["G_AUTHUSER_",_.Sy&&a.xe?"S":"H",a.jh].join(""),c=_.Cz[b];c||(c=new _.pz(b,_.Gz(a)),_.Cz[b]=c);a=c}_.Ge("googleapis.config/sessionIndex",null);a.clear()};lA=function(a){return Uz(function(b){return a[b]})};
mA=0;nA=!1;oA=[];pA={};qA={};rA=null;sA=function(a){var b=_.Nz;return function(c){if(this.f==b&&this.t==_.If.getAuthToken(this.f)&&this.origin==_.If.getTargetOrigin(this.f))return a.apply(this,arguments)}};tA=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};uA=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("sa");};
vA=function(a){var b=_.Me.getUrlParameters,c=b(a).jsh;if(null!=c)return uA(c),a;if(b=String(b().jsh||_.ye.h||""))uA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};wA=function(){return!!_.R("oauth-flow/usegapi")};xA=function(a,b){wA()?rA.unregister(a):_.If.unregister(a+":"+b)};yA=function(a,b,c){wA()?rA.register(a,c,_.Km):_.If.register(a+":"+b,sA(c))};zA=function(){Wz.parentNode.removeChild(Wz)};
AA=function(a){var b=Wz;_.Lz(b,[{Hv:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Lz(b,[{Hv:"transform",duration:1,timing:"ease",delay:0}]);_.ey(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};BA=function(){var a=Xz+88;AA(a);Xz=a};CA=function(){var a=Xz-88;AA(a);Xz=a};
DA=function(a){var b=a?BA:CA,c=a?CA:BA;a=a?"-":"";Xz=parseInt(a+88,10);Wz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Wz.style.transform="translate3d(0px,"+a+88+"px,0px)";Wz.style.display="";Wz.style.visibility="visible";b();_.ey(c,4E3);_.ey(zA,5E3)};
EA=function(a){var b=_.R("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");Wz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Lr(c,"visibility","hidden");_.Lr(c,b,"-40px");_.Lr(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?"-":"";Xz=parseInt(e+88,10);Wz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Wz.style.transform="translate3d(0px,"+e+88+"px,0px)";e=window;try{for(;e.parent!=e&&e.parent.document;)e=e.parent}catch(f){}e=e.document.body;try{e.insertBefore(c,e.firstChild)}catch(f){}_.cm.Ih({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?DA(!0):DA(!1)}})};
FA=function(a){var b=_.xn(),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==_.oj.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
GA=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!=cA(c)||!lA(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};HA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.wf(_.Tz(a,!0));if(!1===a)throw Error("ta");return a};IA=function(a){return(a=HA(a))?a.sub:null};
JA=function(a){a&&oA.push(a);a=_.Nz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(mA&&6E4>c-mA)return;var d=_.If.getAuthToken(a);d&&(xA("oauth2relayReady",d),xA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Oz();a=_.Nz}mA=c;var e=String(2147483647*(0,_.sg)()|0);b=_.R("oauth-flow/proxyUrl")||_.R("oauth-flow/relayUrl");wA()?rA=_.cm.Ih({where:_.Me.getBodyElement(),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(_.ng.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Me.getBodyElement(),d=_.Me.createIframeElement({name:a,id:a}),d.src=vA(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,tA(d),c.appendChild(d),_.If.setupReceiver(a));yA("oauth2relayReady",e,function(){xA("oauth2relayReady",e);
var f=oA;if(null!==f){oA=null;for(var g=0,k=f.length;g<k;++g)f[g]()}});yA("oauth2callback",e,function(f){var g=_.Me.getUrlParameters;g=g(f);var k=g.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(qA,f)?qA[f]:null;g.state=f;if(null!=g.state){f=pA[k];delete pA[k];k=f&&f.key||"token";var l=g=GA(f&&f.params,g);var m=(m=IA(l))?jA(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",nA||(nA=
!0,EA(l)));_.eA(k,g);g=dA(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)}}})};_.KA=function(a){null!==oA?JA(a):a&&a()};MA=function(a,b){var c=LA,d=IA(a);d&&(kA(a),iA(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=GA(null,e);c(e)}}))};
LA=function(a){a||(a=dA(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||(_.ye.drw=null);_.eA(a);if(b=a.authuser)_.R("googleapis.config/sessionIndex"),_.Ge("googleapis.config/sessionIndex",b);_.Pz.Jn(_.Qz,a);return a};NA=["client_id","cookie_policy","response_type"];OA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
PA=function(a){var b=_.ok(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);_.tw(b);return b};
QA=function(a){if(void 0===a.include_granted_scopes){var b=_.R("include_granted_scopes");a.include_granted_scopes=!!b}};RA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
SA=function(a){var b=a||{},c={};_.lb(OA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.R("googleapis/overrideClientId");null!=a&&(c.client_id=a);QA(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{_.kx(c.cookie_policy)}catch(d){c.cookie_policy&&
RA("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=_.Ah(),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};
_.TA=function(a,b){var c=SA(a),d=new _.Ik(function(e,f){_.Qx(c,function(g){var k=g||{};_.lb(NA,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=PA(k),null!=g.authuser&&_.Ge("googleapis.config/sessionIndex",g.authuser),e(g))})});b&&d.then(b,b);return d};UA=_.Oh.AG;VA=null;
_.YA=function(a,b){if("force"!==a.approvalprompt){a=_.WA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)VA?(a.client_id!==VA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(VA=a,b=!1);b||XA(a)}};
_.WA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.qb)((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,_.qb)(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};XA=function(a){_.ro("waaf0","signin","0");_.TA(a,function(b){_.ro("waaf1","signin","0");LA(b)})};
_.ZA=function(a){a=_.WA(a);_.Ge("oauth-flow/authWindowWidth",445);_.Ge("oauth-flow/authWindowHeight",615);XA(a)};_.$A=function(a){_.Pz.unsubscribe(_.Qz,a);_.Pz.subscribe(_.Qz,a)};
var gB,jB;_.bB=function(a){return a.cookiepolicy?!0:(_.aB("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.aB=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.fB=function(a,b){var c=_.xn();_.oe(a,c);c=FA(c);if(_.bB(c)){var d=_.cB();_.dB(c);b?_.xe(b,"click",function(){_.eB(c,d)}):_.eB(c,d)}};
_.cB=function(){var a=new gB;_.$A(function(b){a.MA&&b&&(b.access_token&&_.Ge("isPlusUser",!0),b["g-oauth-window"]&&(a.MA=!1,_.Df("OTA app install is no longer supported.")))});return a};gB=function(){this.MA=!1};_.dB=function(a){a=_.hB(a);_.iB(a.callback);_.KA(function(){_.YA(a)})};_.hB=function(a){jB(a);a.redirecturi&&delete a.redirecturi;Vz(function(b){return a[b]})||(a.authuser=0);return a};jB=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.iB=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.aB('Callback function named "'+a+'" not found');return}a&&_.$A(a)};_.eB=function(a,b){b.MA=!0;a=_.hB(a);_.ZA(a)};
_.L("gapi.auth.authorize",_.TA);_.L("gapi.auth.checkSessionState",function(a,b){var c=_.me();c.client_id=a.client_id;c.session_state=a.session_state;_.KA(function(){wA()?rA.send("check_session_state",c,function(d){b.call(null,d[0])},_.Km):_.If.call(_.Nz,"check_session_state",sA(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.L("gapi.auth.getAuthHeaderValueForFirstParty",UA);_.L("gapi.auth.getToken",dA);
_.L("gapi.auth.getVersionInfo",function(a,b){_.KA(function(){var c=_.Mh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?wA()?rA.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Km):_.If.call(_.Nz,"get_versioninfo",sA(function(f){a(f)}),d,b):a()})});_.L("gapi.auth.init",_.KA);_.L("gapi.auth.setToken",_.eA);_.L("gapi.auth.signIn",function(a){_.fB(a)});_.L("gapi.auth.signOut",function(){var a=dA();a&&MA(a,a.cookie_policy)});
_.L("gapi.auth.unsafeUnpackIdToken",HA);_.L("gapi.auth._pimf",_.YA);_.L("gapi.auth._oart",EA);_.L("gapi.auth._guss",function(a){return gA(a).read()});

_.kB=function(a){return!!(a.clientid&&a.scope&&a.callback)};_.lB=function(){var a=_.xn();_.kB(a)&&!_.R("disableRealtimeCallback")?_.dB(a):_.KA()};_.yk(function(){_.lB()});

_.lB=function(){var a=_.xn();_.kB(a)&&!_.R("disableRealtimeCallback")&&_.dB(a)};

});
// Google Inc.
