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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.fh=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 gh,hh,jh;gh={};hh=null;_.ih=_.ld||_.md||!_.eh&&!_.id&&"function"==typeof _.q.atob;_.kh=function(a,b){void 0===b&&(b=0);jh();b=gh[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var g=a[e],k=a[e+1],l=a[e+2],m=b[g>>2];g=b[(g&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+g+k+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|m>>4]+l+d}return c.join("")};
_.lh=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=hh[m];if(null!=n)return n;if(!_.mc(m))throw Error("x`"+m);}return l}jh();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))}};
jh=function(){if(!hh){hh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));gh[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===hh[f]&&(hh[f]=e)}}}};

_.Gh={};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Ih;_.Hh=function(a){this.hb=a||{cookie:""}};_.h=_.Hh.prototype;_.h.isEnabled=function(){if(!_.q.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{ZB:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
_.h.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.iaa;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var k=c.ZB}if(/[;=\s]/.test(a))throw Error("A`"+a);if(/[;\r\n]/.test(b))throw Error("B`"+b);void 0===k&&(k=-1);this.hb.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.hb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.nc)(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.Ge(a);this.set(a,"",{ZB:0,path:b,domain:c});return d};_.h.Of=function(){return Ih(this).keys};_.h.yd=function(){return Ih(this).values};_.h.isEmpty=function(){return!this.hb.cookie};_.h.Ab=function(){return this.hb.cookie?(this.hb.cookie||"").split(";").length:0};
_.h.Ge=function(a){return void 0!==this.get(a)};_.h.Zk=function(a){for(var b=Ih(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.h.clear=function(){for(var a=Ih(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Ih=function(a){a=(a.hb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.nc)(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}};
_.Jh=new _.Hh("undefined"==typeof document?null:document);

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var yi;_.xi=function(a,b){b=(0,_.fb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};yi=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.zi=function(a){for(var b in a)return!1;return!0};_.Ai=function(a){a&&"function"==typeof a.Da&&a.Da()};_.Bi=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
_.Ci=function(){this.Lf=this.Lf;this.Wl=this.Wl};_.Ci.prototype.Lf=!1;_.Ci.prototype.isDisposed=function(){return this.Lf};_.Ci.prototype.Da=function(){this.Lf||(this.Lf=!0,this.ka())};_.Ei=function(a,b){_.Di(a,_.si(_.Ai,b))};_.Di=function(a,b){a.Lf?b():(a.Wl||(a.Wl=[]),a.Wl.push(b))};_.Ci.prototype.ka=function(){if(this.Wl)for(;this.Wl.length;)this.Wl.shift()()};
_.Fi=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Dr=!1};_.Fi.prototype.stopPropagation=function(){this.Dr=!0};_.Fi.prototype.preventDefault=function(){this.defaultPrevented=!0};
var Gi=function(){if(!_.q.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.q.addEventListener("test",_.Eb,b),_.q.removeEventListener("test",_.Eb,b)}catch(c){}return a}();
_.Hi=function(a,b){_.Fi.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.MC=!1;this.pointerId=0;this.pointerType="";this.ee=null;a&&this.Wc(a,b)};_.Za(_.Hi,_.Fi);var Ii={2:"touch",3:"pen",4:"mouse"};
_.Hi.prototype.Wc=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)?_.ld&&(_.fd(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=_.md||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.md||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.MC=_.od?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Ii[a.pointerType]||"";this.state=a.state;this.ee=a;a.defaultPrevented&&_.Hi.O.preventDefault.call(this)};_.Hi.prototype.stopPropagation=function(){_.Hi.O.stopPropagation.call(this);this.ee.stopPropagation?this.ee.stopPropagation():this.ee.cancelBubble=!0};_.Hi.prototype.preventDefault=function(){_.Hi.O.preventDefault.call(this);var a=this.ee;a.preventDefault?a.preventDefault():a.returnValue=!1};
_.Ji="closure_listenable_"+(1E6*Math.random()|0);_.Ki=function(a){return!(!a||!a[_.Ji])};
var Li=0;
var Mi=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Me=e;this.key=++Li;this.Gr=this.qt=!1},Ni=function(a){a.Gr=!0;a.listener=null;a.proxy=null;a.src=null;a.Me=null};
var Oi=function(a){this.src=a;this.Ad={};this.Cs=0};Oi.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Ad[f];a||(a=this.Ad[f]=[],this.Cs++);var g=Pi(a,b,d,e);-1<g?(b=a[g],c||(b.qt=!1)):(b=new Mi(b,this.src,f,!!d,e),b.qt=c,a.push(b));return b};Oi.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Ad))return!1;var e=this.Ad[a];b=Pi(e,b,c,d);return-1<b?(Ni(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.Ad[a],this.Cs--),!0):!1};
var Qi=function(a,b){var c=b.type;if(!(c in a.Ad))return!1;var d=_.xi(a.Ad[c],b);d&&(Ni(b),0==a.Ad[c].length&&(delete a.Ad[c],a.Cs--));return d};Oi.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.Ad)if(!a||c==a){for(var d=this.Ad[c],e=0;e<d.length;e++)++b,Ni(d[e]);delete this.Ad[c];this.Cs--}return b};Oi.prototype.yn=function(a,b,c,d){a=this.Ad[a.toString()];var e=-1;a&&(e=Pi(a,b,c,d));return-1<e?a[e]:null};
Oi.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return yi(this.Ad,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 Pi=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Gr&&f.listener==b&&f.capture==!!c&&f.Me==d)return e}return-1};
var Ri,Si,Ti,Xi,Zi,$i,aj,dj;Ri="closure_lm_"+(1E6*Math.random()|0);Si={};Ti=0;_.Vi=function(a,b,c,d,e){if(d&&d.once)return _.Ui(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Vi(a,b[f],c,d,e);return null}c=_.Wi(c);return _.Ki(a)?a.V(b,c,_.Cb(d)?!!d.capture:!!d,e):Xi(a,b,c,!1,d,e)};
Xi=function(a,b,c,d,e,f){if(!b)throw Error("C");var g=_.Cb(e)?!!e.capture:!!e,k=_.Yi(a);k||(a[Ri]=k=new Oi(a));c=k.add(b,c,d,g,f);if(c.proxy)return c;d=Zi();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Gi||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent($i(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("D");Ti++;return c};Zi=function(){var a=aj,b=function(c){return a.call(b.src,b.listener,c)};return b};
_.Ui=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Ui(a,b[f],c,d,e);return null}c=_.Wi(c);return _.Ki(a)?a.Zn(b,c,_.Cb(d)?!!d.capture:!!d,e):Xi(a,b,c,!0,d,e)};_.bj=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.bj(a,b[f],c,d,e);else d=_.Cb(d)?!!d.capture:!!d,c=_.Wi(c),_.Ki(a)?a.Mb(b,c,d,e):a&&(a=_.Yi(a))&&(b=a.yn(b,c,d,e))&&_.cj(b)};
_.cj=function(a){if("number"===typeof a||!a||a.Gr)return!1;var b=a.src;if(_.Ki(b))return b.FE(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent($i(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Ti--;(c=_.Yi(b))?(Qi(c,a),0==c.Cs&&(c.src=null,b[Ri]=null)):Ni(a);return!0};$i=function(a){return a in Si?Si[a]:Si[a]="on"+a};
aj=function(a,b){if(a.Gr)a=!0;else{b=new _.Hi(b,this);var c=a.listener,d=a.Me||a.src;a.qt&&_.cj(a);a=c.call(d,b)}return a};_.Yi=function(a){a=a[Ri];return a instanceof Oi?a:null};dj="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Wi=function(a){if("function"===typeof a)return a;a[dj]||(a[dj]=function(b){return a.handleEvent(b)});return a[dj]};_.wi(function(a){aj=a(aj)});
_.ej=function(){_.Ci.call(this);this.Ci=new Oi(this);this.$Q=this;this.HC=null};_.Za(_.ej,_.Ci);_.ej.prototype[_.Ji]=!0;_.h=_.ej.prototype;_.h.xl=function(){return this.HC};_.h.Vw=_.fa(3);_.h.addEventListener=function(a,b,c,d){_.Vi(this,a,b,c,d)};_.h.removeEventListener=function(a,b,c,d){_.bj(this,a,b,c,d)};
_.h.dispatchEvent=function(a){var b,c=this.xl();if(c)for(b=[];c;c=c.xl())b.push(c);c=this.$Q;var d=a.type||a;if("string"===typeof a)a=new _.Fi(a,c);else if(a instanceof _.Fi)a.target=a.target||c;else{var e=a;a=new _.Fi(d,c);_.ri(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Dr&&0<=f;f--){var g=a.currentTarget=b[f];e=g.Vp(d,!0,a)&&e}a.Dr||(g=a.currentTarget=c,e=g.Vp(d,!0,a)&&e,a.Dr||(e=g.Vp(d,!1,a)&&e));if(b)for(f=0;!a.Dr&&f<b.length;f++)g=a.currentTarget=b[f],e=g.Vp(d,!1,a)&&e;return e};
_.h.ka=function(){_.ej.O.ka.call(this);this.$C();this.HC=null};_.h.V=function(a,b,c,d){return this.Ci.add(String(a),b,!1,c,d)};_.h.Zn=function(a,b,c,d){return this.Ci.add(String(a),b,!0,c,d)};_.h.Mb=function(a,b,c,d){return this.Ci.remove(String(a),b,c,d)};_.h.FE=function(a){return Qi(this.Ci,a)};_.h.$C=function(a){this.Ci&&this.Ci.removeAll(a)};
_.h.Vp=function(a,b,c){a=this.Ci.Ad[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.Gr&&f.capture==b){var g=f.listener,k=f.Me||f.src;f.qt&&this.FE(f);d=!1!==g.call(k,c)&&d}}return d&&!c.defaultPrevented};_.h.yn=function(a,b,c,d){return this.Ci.yn(String(a),b,c,d)};_.h.hasListener=function(a,b){return this.Ci.hasListener(void 0!==a?String(a):void 0,b)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Es;Es=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Fs=function(a,b,c,d){return Array.prototype.splice.apply(a,Es(arguments,1))};_.Gs=function(a,b,c){if(null!==a&&b in a)throw Error("f`"+b);a[b]=c};_.Td.prototype.H=_.ab(1,function(a){return _.pi(this.hb,a)});
_.Hs=function(a,b){var c=b||document;if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):_.Wd(c,"*",a,b)[0]||null}return a||null};_.Is=function(a){var b;if(_.Kd&&!(_.id&&_.Gd("9")&&!_.Gd("10")&&_.q.SVGElement&&a instanceof _.q.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.je(b)?b:null};_.Js=function(a){_.Ci.call(this);this.Nd=a;this.Eb={}};_.Za(_.Js,_.Ci);var Ks=[];
_.Js.prototype.V=function(a,b,c,d){return this.Wq(a,b,c,d)};_.Js.prototype.Wq=function(a,b,c,d,e){Array.isArray(b)||(b&&(Ks[0]=b.toString()),b=Ks);for(var f=0;f<b.length;f++){var g=_.Vi(a,b[f],c||this.handleEvent,d||!1,e||this.Nd||this);if(!g)break;this.Eb[g.key]=g}return this};_.Js.prototype.Zn=function(a,b,c,d){return Ls(this,a,b,c,d)};
var Ls=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)Ls(a,b,c[g],d,e,f);else{b=_.Ui(b,c,d||a.handleEvent,e,f||a.Nd||a);if(!b)return a;a.Eb[b.key]=b}return a};_.Js.prototype.Mb=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Mb(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Cb(d)?!!d.capture:!!d,e=e||this.Nd||this,c=_.Wi(c),d=!!d,b=_.Ki(a)?a.yn(b,c,d,e):a?(a=_.Yi(a))?a.yn(b,c,d,e):null:null,b&&(_.cj(b),delete this.Eb[b.key]);return this};
_.Js.prototype.removeAll=function(){_.ib(this.Eb,function(a,b){this.Eb.hasOwnProperty(b)&&_.cj(a)},this);this.Eb={}};_.Js.prototype.ka=function(){_.Js.O.ka.call(this);this.removeAll()};_.Js.prototype.handleEvent=function(){throw Error("J");};

/*

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

/*

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

var Cu,Du,Eu,Fu,Hu,Iu,Ju,Ku,Mu;_.Bu=!1;Cu=function(a){try{_.Bu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Du=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};Eu=function(a,b){function c(){}if(!a)throw Error("M");if(!b)throw Error("N");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};Fu=function(a){return"[object Function]"===Object.prototype.toString.call(a)};
_.Gu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};Hu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};Iu=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("O`"+b);};Ju={token:1,id_token:1};
Ku=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.Lu=window.JSON;Mu=function(a){this.XE=a||[];this.Jb={}};Mu.prototype.addEventListener=function(a,b){if(!(0<=Du(this.XE,a)))throw Error("Q`"+a);if(!Fu(b))throw Error("R`"+a);this.Jb[a]||(this.Jb[a]=[]);0>Du(this.Jb[a],b)&&this.Jb[a].push(b)};
Mu.prototype.removeEventListener=function(a,b){if(!(0<=Du(this.XE,a)))throw Error("Q`"+a);Fu(b)&&this.Jb[a]&&this.Jb[a].length&&(b=Du(this.Jb[a],b),0<=b&&this.Jb[a].splice(b,1))};Mu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Du(this.XE,b)))throw Error("S`"+b);if(this.Jb[b]&&this.Jb[b].length)for(var c=0,d=this.Jb[b].length;c<d;c++)this.Jb[b][c](a)};
var Nu,Ou,Pu,Tu,Uu,kv,lv,nv,ov,qv,zv;Nu={};Ou={};Pu={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.Qu=function(a,b){if(a=Pu[a])return a[b]};_.Ru=function(a,b){if(!a)throw Error("T");if(!b.authServerUrl)throw Error("U");if(!b.idpIFrameUrl)throw Error("V");Pu[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.Su=void 0;
Tu=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")};Uu=function(){this.C0=window;this.Lt=this.Xk=this.Ar=this.Rg=null};
Uu.prototype.open=function(a,b,c,d){Vu(this);this.Ar?(this.Xk&&(this.Xk(),this.Xk=null),Wu(this)):this.Ar="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Rg=this.C0.open(a,this.Ar,b);try{this.Rg.focus();if(this.Rg.closed||"undefined"==typeof this.Rg.closed)throw Error("X");_.Su=this.Rg}catch(e){d&&setTimeout(d,0);this.Rg=null;break a}c&&(this.Xk=c,Xu(this))}};
var Vu=function(a){try{if(null==a.Rg||a.Rg.closed)a.Rg=null,a.Ar=null,Wu(a),a.Xk&&(a.Xk(),a.Xk=null)}catch(b){a.Rg=null,a.Ar=null,Wu(a)}},Xu=function(a){a.Lt=window.setInterval(function(){Vu(a)},300)},Wu=function(a){a.Lt&&(window.clearInterval(a.Lt),a.Lt=null)};Ou=Ou||{};var Yu=function(a,b){this.Fb=a;this.AB=b;this.Oc=null;this.Gl=!1};Yu.prototype.start=function(){if(!this.Gl&&!this.Oc){var a=this;this.Oc=window.setTimeout(function(){a.clear();a.Gl||(a.Fb(),a.Gl=!0)},Ou.TI(this.AB))}};
Yu.prototype.clear=function(){this.Oc&&(window.clearTimeout(this.Oc),this.Oc=null)};var Zu=function(a,b){var c=Ou.hp;this.WV=Ou.Zo;this.qO=c;this.Fb=a;this.AB=b;this.Oc=null;this.Gl=!1;var d=this;this.rO=function(){document[d.WV]||(d.clear(),d.start())}};Zu.prototype.start=function(){if(!this.Gl&&!this.Oc){Iu(document,this.qO,this.rO);var a=this;this.Oc=window.setTimeout(function(){a.clear();a.Gl||(a.Fb(),a.Gl=!0)},Ou.TI(this.AB))}};
Zu.prototype.clear=function(){var a=this.qO,b=this.rO,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("P`"+a);this.Oc&&(window.clearTimeout(this.Oc),this.Oc=null)};Ou.Zo=null;Ou.hp=null;
Ou.rW=function(){var a=document;"undefined"!==typeof a.hidden?(Ou.Zo="hidden",Ou.hp="visibilitychange"):"undefined"!==typeof a.msHidden?(Ou.Zo="msHidden",Ou.hp="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(Ou.Zo="webkitHidden",Ou.hp="webkitvisibilitychange")};Ou.rW();Ou.eS=function(a,b){return Ou.Zo&&Ou.hp?new Zu(a,b):new Yu(a,b)};Ou.TI=function(a){return Math.max(1,a-(new Date).getTime())};
var $u=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},av=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var r=g,t=0;64>t;t+=4)r[t/4]=p[t]<<24|p[t+1]<<16|p[t+2]<<8|p[t+3];for(t=16;80>t;t++)p=r[t-3]^r[t-8]^r[t-14]^r[t-16],r[t]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],x=e[3],z=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var A=x^v&(u^x);var E=1518500249}else A=
v^u^x,E=1859775393;else 60>t?(A=v&u|x&(v|u),E=2400959708):(A=v^u^x,E=3395469782);A=((p<<5|p>>>27)&4294967295)+A+z+E+r[t]&4294967295;z=x;x=u;u=(v<<30|v>>>2)&4294967295;v=p;p=A}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+z&4294967295}function c(p,r){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var t=[],v=0,u=p.length;v<u;++v)t.push(p.charCodeAt(v));p=t}r||(r=p.length);t=0;if(0==m)for(;t+64<r;)b(p.slice(t,t+64)),t+=64,n+=64;for(;t<
r;)if(f[m++]=p[t++],n++,64==m)for(m=0,b(f);t+64<r;)b(p.slice(t,t+64)),t+=64,n+=64}function d(){var p=[],r=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var t=63;56<=t;t--)f[t]=r&255,r>>>=8;b(f);for(t=r=0;5>t;t++)for(var v=24;0<=v;v-=8)p[r++]=e[t]>>v&255;return p}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,ih:function(){for(var p=d(),r="",t=0;t<p.length;t++)r+="0123456789ABCDEF".charAt(Math.floor(p[t]/16))+"0123456789ABCDEF".charAt(p[t]%16);return r}}},bv=
window.crypto,cv=!1,dv=0,ev=1,fv=0,gv="",hv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;ev=ev*b%fv;if(3==++dv)if(a=window,b=hv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("P`mousemove");},iv=function(a){var b=av();b.update(a);return b.ih()};cv=!!bv&&"function"==typeof bv.getRandomValues;
cv||(fv=1E6*(screen.width*screen.width+screen.height),gv=iv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),Iu(window,"mousemove",hv));Nu=Nu||{};Nu.gP="ssIFrame_";
_.jv=function(a,b,c){c=void 0===c?!1:c;this.nb=a;if(!this.nb)throw Error("Y");a=_.Qu(a,"idpIFrameUrl");if(!a)throw Error("Z");this.LJ=a;if(!b)throw Error("$");this.Ck=b;a=this.LJ;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.jB=a.join("");this.pZ=[location.protocol,"//",location.host].join("");
this.ts=this.iB=this.Jl=!1;this.HJ=null;this.Tv=[];this.lo=[];this.mi={};this.Kl=void 0;this.No=c};_.h=_.jv.prototype;_.h.show=function(){var a=this.Kl;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")};_.h.uc=function(){Tu(this.Kl)};
_.h.vv=function(a){if(this.Jl)a&&a(this);else{if(!this.Kl){var b=Nu.gP+this.nb;var c=this.nb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=Du(e.split("|"),c))?$u(e,d):$u(e?e+"|"+c:c,d);c=!f;var g=this.LJ,k=this.pZ;d=this.Ck;e=this.No;e=void 0===e?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b="allow-scripts allow-same-origin";document.requestStorageAccess&&Fu(document.requestStorageAccess)&&(b+=" allow-storage-access-by-user-activation");
f.setAttribute("sandbox",b);Tu(f);f.setAttribute("frame-border","0");b=[g,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Bu&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Kl=f}a&&this.Tv.push(a)}};_.h.kv=function(){return this.Jl&&this.ts};_.h.wl=function(){return this.HJ};kv=function(a){for(var b=0;b<a.Tv.length;b++)a.Tv[b](a);a.Tv=[]};
_.mv=function(a,b,c,d){if(a.Jl){if(a.Jl&&a.iB)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.wl(),Cu(a),Error(a);lv(a,{method:b,params:c},d)}else a.lo.push({mm:{method:b,params:c},callback:d}),a.vv()};lv=function(a,b,c){if(c){for(var d=b.id;!d||a.mi[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.mi[d]=c}b.rpcToken=a.Ck;a.Kl.contentWindow.postMessage(_.Lu.stringify(b),a.jB)};nv=function(a){if(a&&0<=a.indexOf("::"))throw Error("aa");};
_.jv.prototype.Jh=function(a,b,c,d,e,f,g,k,l){l=void 0===l?!1:l;nv(f);b=_.Gu(b);_.mv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:g,skipCache:k,id:f,userInteracted:l},e)};_.jv.prototype.uv=function(a,b,c,d,e){b=_.Gu(b);_.mv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};ov=function(a,b,c){nv(b.identifier);_.mv(a,"getSessionSelector",b,c)};
_.pv=function(a,b,c,d,e){nv(b.identifier);_.mv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};qv=function(a,b,c){_.mv(a,"monitorClient",{clientId:b},c)};_.jv.prototype.revoke=_.fa(9);_.jv.prototype.Dp=_.fa(11);Nu.Pu={};Nu.dA=function(a){return Nu.Pu[a]};
Nu.vv=function(a,b,c){c=void 0===c?!1:c;var d=Nu.dA(a);if(!d){d=String;if(cv){var e=new window.Uint32Array(1);bv.getRandomValues(e);e=Number("0."+e[0])}else e=ev,e+=parseInt(gv.substr(0,20),16),gv=iv(gv),e/=fv+Math.pow(16,20);d=new _.jv(a,d(2147483647*e),c);Nu.Pu[a]=d}d.vv(b)};Nu.DT=function(a){for(var b in Nu.Pu){var c=Nu.dA(b);if(c&&c.Kl&&c.Kl.contentWindow==a.source&&c.jB==a.origin)return c}};Nu.gU=function(a){for(var b in Nu.Pu){var c=Nu.dA(b);if(c&&c.jB==a)return c}};Nu=Nu||{};
var sv=function(){var a=[],b;for(b in rv)a.push(rv[b]);Mu.call(this,a);this.ak={};Cu("EventBus is ready.")};Eu(sv,Mu);var rv={tQ:"sessionSelectorChanged",Xx:"sessionStateChanged",Jx:"authResult",TO:"displayIFrame"},uv=function(a){var b=tv;a&&(b.ak[a]||(b.ak[a]=[]))},vv=function(a,b,c){return b&&a.ak[b]&&0<=Du(a.ak[b],c)};_.h=sv.prototype;
_.h.AY=function(a){var b,c=!!a.source&&(a.source.opener===window||a.source===_.Su);if(b=c?Nu.gU(a.origin):Nu.DT(a)){try{var d=_.Lu.parse(a.data)}catch(e){Cu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Ck){Cu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.mi[c.id])delete b.mi[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?Cu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.KJ[a.type]?(d=this.KJ[a.type],
c&&!d.dR?Cu("Bad IDP event. Source window cannot be a popup."):d.So&&!d.So.call(this,b,a)?Cu("Bad IDP event."):d.Me.call(this,b,a)):Cu("Bad IDP event.")}else Cu("Bad event, no corresponding Idp Stub.")};_.h.KZ=function(a,b){return vv(this,a.nb,b.clientId)};_.h.JZ=function(a,b){b=b.clientId;return!b||vv(this,a.nb,b)};_.h.oR=function(a,b){return vv(this,a.nb,b.clientId)};_.h.TX=function(a,b){a.Jl=!0;a.ts=!!b.cookieDisabled;kv(a);for(b=0;b<a.lo.length;b++)lv(a,a.lo[b].mm,a.lo[b].callback);a.lo=[]};
_.h.SX=function(a,b){b={error:b.error};a.Jl=!0;a.iB=!0;a.HJ=b;a.lo=[];kv(a)};_.h.sw=function(a,b){b.originIdp=a.nb;this.dispatchEvent(b)};var tv=new sv,wv=tv,xv={};xv.idpReady={Me:wv.TX};xv.idpError={Me:wv.SX};xv.sessionStateChanged={Me:wv.sw,So:wv.KZ};xv.sessionSelectorChanged={Me:wv.sw,So:wv.JZ};xv.authResult={Me:wv.sw,So:wv.oR,dR:!0};xv.displayIFrame={Me:wv.sw};tv.KJ=xv||{};Iu(window,"message",function(a){tv.AY.call(tv,a)});
_.yv=function(a,b){this.Td=!1;if(!a)throw Error("ba");var c=[],d;for(d in a)c.push(a[d]);Mu.call(this,c);this.Zc=[location.protocol,"//",location.host].join("");this.lc=b.crossSubDomains?b.domain||this.Zc:this.Zc;if(!b)throw Error("ca");if(!b.idpId)throw Error("da");if(!_.Qu(b.idpId,"authServerUrl")||!_.Qu(b.idpId,"idpIFrameUrl"))throw Error("ea`"+b.idpId);this.nb=b.idpId;this.Ib=void 0;this.mS=!!b.disableTokenRefresh;this.cT=!!b.forceTokenRefresh;this.G_=!!b.skipTokenCache;this.No=!!b.supportBlocked3PCookies;
this.setOptions(b);this.Kp=[];this.ts=this.Nl=this.oK=!1;this.Sn=void 0;this.gM();this.Vc=void 0;var e=this,f=function(){Cu("Token Manager is ready.");if(e.Kp.length)for(var g=0;g<e.Kp.length;g++)e.Kp[g].call(e);e.oK=!0;e.Kp=[]};Nu.vv(this.nb,function(g){e.Vc=g;g.Jl&&g.iB?(e.Nl=!0,e.Sn=g.wl(),e.Qv(e.Sn)):(e.ts=g.kv(),e.Ib?qv(e.Vc,e.Ib,function(k){if(k){k=e.nb;var l=e.Ib,m=tv;k&&l&&(m.ak[k]||(m.ak[k]=[]),0>Du(m.ak[k],l)&&m.ak[k].push(l));f()}else e.Sn={error:"Not a valid origin for the client: "+e.Zc+
" has not been registered for client ID "+e.Ib+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Nl=!0,e.Qv(e.Sn)}):(uv(e.nb),f()))},this.No)};Eu(_.yv,Mu);_.h=_.yv.prototype;_.h.setOptions=function(){};_.h.gM=function(){};_.h.Qv=function(){};_.h.kv=function(){return this.ts};_.h.wl=function(){return this.Sn};zv=function(a,b,c){return function(){b.apply(a,c)}};
_.Av=function(a,b,c){if(a.oK)b.apply(a,c);else{if(a.Nl)throw a.Sn;a.Kp.push(zv(a,b,c))}};_.yv.prototype.FG=_.fa(12);_.yv.prototype.Dp=_.fa(10);
_.Cv=function(a,b){_.yv.call(this,a,b);this.RL=new Uu;this.Si=this.$l=null;Bv(this)};Eu(_.Cv,_.yv);_.Cv.prototype.setOptions=function(){};
var Dv=function(a,b){a.Sd={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.lc};b.crossSubDomains&&(a.Sd.policy=b.policy)},Ev=function(a,b){if(!b.authParameters)throw Error("fa");if(!b.authParameters.scope)throw Error("ga");if(!b.authParameters.response_type)throw Error("ha");a.np=b.authParameters;a.np.redirect_uri||(a.np.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Qh=_.Gu(b.rpcAuthParameters||a.np);if(!a.Qh.scope)throw Error("ia");if(!a.Qh.response_type)throw Error("ja");
a:{var c=a.Qh.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!Ju[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ka");b.enableSerialConsent&&(a.Qh.enable_serial_consent=!0);b.authResultIdentifier&&(a.pR=b.authResultIdentifier);b.spec_compliant&&(a.Qh.spec_compliant=b.spec_compliant)};
_.Cv.prototype.gM=function(){var a=this;tv.addEventListener(rv.tQ,function(b){a.Td&&a.Sd&&b.originIdp==a.nb&&!b.crossSubDomains==!a.Sd.crossSubDomains&&b.domain==a.Sd.domain&&b.id==a.Sd.id&&a.AL(b)});tv.addEventListener(rv.Xx,function(b){a.Td&&b.originIdp==a.nb&&b.clientId==a.Ib&&a.BL(b)});tv.addEventListener(rv.Jx,function(b){_.Su=void 0;a.Td&&b.originIdp==a.nb&&b.clientId==a.Ib&&b.id==a.Pi&&(a.$l&&(window.clearTimeout(a.$l),a.$l=null),a.Pi=void 0,a.lr(b))});tv.addEventListener(rv.TO,function(b){a.Td&&
b.originIdp==a.nb&&(b.uc?a.Vc.uc():a.Vc.show())})};_.Cv.prototype.AL=function(){};_.Cv.prototype.BL=function(){};_.Cv.prototype.lr=function(){};var Gv=function(a,b){Fv(a);a.mS||(a.Si=Ou.eS(function(){a.Jh(!0)},b-3E5),navigator.onLine&&a.Si.start())},Fv=function(a){a.Si&&(a.Si.clear(),a.Si=null)},Bv=function(a){var b=window;Ku()&&(b=document.body);Iu(b,"online",function(){a.Si&&a.Si.start()});Iu(b,"offline",function(){a.Si&&a.Si.clear()})};_.Cv.prototype.Jh=function(){};_.Cv.prototype.jL=_.fa(13);
_.Cv.prototype.ZW=function(a,b){if(!this.Ib)throw Error("oa");this.Vc.uv(this.Ib,this.Qh,this.Sd,a,b)};_.Cv.prototype.uv=function(a,b){_.Av(this,this.ZW,[a,b])};_.Iv=function(a){this.Pd=void 0;this.zg=!1;this.Ao=void 0;_.Cv.call(this,_.Hv,a)};Eu(_.Iv,_.Cv);_.Hv={CF:"noSessionBound",gp:"userLoggedOut",BO:"activeSessionChanged",Xx:"sessionStateChanged",OF:"tokenReady",NQ:"tokenFailed",Jx:"authResult",ERROR:"error"};
_.Iv.prototype.setOptions=function(a){if(!a.clientId)throw Error("pa");this.Ib=a.clientId;this.wa=a.id;Dv(this,a);Ev(this,a)};_.Iv.prototype.Qv=function(a){this.dispatchEvent({type:_.Hv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.nb})};var Jv=function(a){Fv(a);a.Ao=void 0;a.qv=void 0};_.h=_.Iv.prototype;
_.h.AL=function(a){var b=a.newValue||{};if(this.Pd!=b.hint||this.zg!=!!b.disabled){a=this.Pd;var c=!this.Pd||this.zg;Jv(this);this.Pd=b.hint;this.zg=!!b.disabled;(b=!this.Pd||this.zg)&&!c?this.dispatchEvent({type:_.Hv.gp,idpId:this.nb}):b||(a!=this.Pd&&this.dispatchEvent({type:_.Hv.BO,idpId:this.nb}),this.Pd&&this.Jh())}};
_.h.BL=function(a){this.zg||(this.Pd?a.user||this.Ao?a.user==this.Pd&&(this.Ao?a.sessionState?this.Ao=a.sessionState:(Jv(this),this.dispatchEvent({type:_.Hv.gp,idpId:this.nb})):a.sessionState&&(this.Ao=a.sessionState,this.Jh())):this.Jh():this.dispatchEvent({type:_.Hv.Xx,idpId:this.nb}))};_.h.lr=function(a){this.dispatchEvent({type:_.Hv.Jx,authResult:a.authResult})};_.h.iq=_.fa(15);_.h.$p=function(a){_.Av(this,this.Pz,[a])};_.h.Pz=function(a){ov(this.Vc,this.Sd,a)};
_.h.jx=function(a,b,c,d){d=void 0===d?!1:d;if(!a)throw Error("qa");Jv(this);this.Pd=a;this.zg=!1;b&&_.pv(this.Vc,this.Sd,!1,this.Pd);this.Td=!0;this.Jh(c,!0,d)};_.h.start=function(){_.Av(this,this.L_,[])};
_.h.L_=function(){var a=this.Ib==Hu("client_id")?Hu("login_hint"):void 0;var b=this.Ib==Hu("client_id")?Hu("state"):void 0;this.oC=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.jx(a,!0,!0,!0);else{var c=this;this.$p(function(d){c.Td=!0;d&&d.hint?(Jv(c),c.Pd=d.hint,c.zg=!!d.disabled,c.zg?c.dispatchEvent({type:_.Hv.gp,idpId:c.nb}):c.jx(d.hint)):(Jv(c),c.Pd=void 0,c.zg=!(!d||!d.disabled),c.dispatchEvent({type:_.Hv.CF,
autoOpenAuthUrl:!c.zg,idpId:c.nb}))})}};_.h.$S=function(){var a=this;this.$p(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.Hv.gp,idpId:a.nb}):a.Jh(!0):a.dispatchEvent({type:_.Hv.CF,idpId:a.nb})})};_.h.eI=function(){_.Av(this,this.$S,[])};
_.h.Jh=function(a,b,c){var d=this;this.Vc.Jh(this.Ib,this.Qh,this.Pd,this.Sd,function(e,f){(f=f||e.error)?"user_logged_out"==f?(Jv(d),d.dispatchEvent({type:_.Hv.gp,idpId:d.nb})):(d.qv=null,d.dispatchEvent({type:_.Hv.NQ,idpId:d.nb,error:f})):(d.qv=e,d.Ao=e.session_state,Gv(d,e.expires_at),e.idpId=d.nb,b&&d.oC&&(e.state=d.oC,d.oC=void 0),d.dispatchEvent({type:_.Hv.OF,idpId:d.nb,response:e}))},this.wa,a,!1,void 0===c?!1:c)};_.h.revoke=_.fa(8);_.h.wM=_.fa(16);
_.Kv=function(a){this.Pk=null;_.Cv.call(this,{},a);this.Td=!0};Eu(_.Kv,_.Cv);_.h=_.Kv.prototype;_.h.setOptions=function(a){if(!a.clientId)throw Error("pa");this.Ib=a.clientId;this.wa=a.id;Dv(this,a);Ev(this,a)};_.h.Qv=function(a){this.Pk&&(this.Pk({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Pk=null)};_.h.lr=function(a){if(this.Pk){var b=this.Pk;this.Pk=null;b(a)}};_.h.iq=_.fa(14);_.h.$p=function(a){this.Nl?a(this.wl()):_.Av(this,this.Pz,[a])};
_.h.Pz=function(a){ov(this.Vc,this.Sd,a)};_.Lv=function(a,b,c){a.Nl?c(a.wl()):_.Av(a,a.fY,[b,c])};_.Kv.prototype.fY=function(a,b){this.Vc.Jh(this.Ib,this.Qh,a,this.Sd,function(c,d){d?b({error:d}):b(c)},this.wa,this.cT,this.G_)};_.Kv.prototype.LK=_.fa(17);

var Mv=function(a){return Array.prototype.concat.apply([],arguments)},Nv=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 _.kh(a,3).substring(0,64)},Ov=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1<a.indexOf("chrome/")||-1<a.indexOf("crios/"))},Pv=function(){var a=navigator.userAgent.toLowerCase();return-1<a.indexOf("firefox/")&&0>
a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},Qv=function(a,b,c){if(!a.Td)throw Error("la");b?_.pv(a.Vc,a.Sd,!0,void 0,c):_.pv(a.Vc,a.Sd,!0,a.Pd,c)},Rv=function(a){if(!a.Td)throw Error("la");return a.qv},Sv,Tv,Uv,Vv,Wv,Xv,Yv,Zv,$v,bw;_.Kv.prototype.LK=_.ab(17,function(a,b){var c=this.Vc,d=this.Ib,e=this.Sd,f=_.Gu(this.Qh);delete f.response_type;_.mv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
_.Iv.prototype.wM=_.ab(16,function(a){Rv(this)&&Rv(this).access_token&&(this.Vc.revoke(this.Ib,Rv(this).access_token,a),Qv(this,!0))});
_.Iv.prototype.iq=_.ab(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.kv()&&a.No&&(Ov()||Pv())){b=b.authResult;var c=Date.now(),d=b.expires_in;b={access_token:b.access_token,token_type:b.token_type,login_hint:b.login_hint,expires_in:d,id_token:b.id_token,scope:b.scope,first_issued_at:c,expires_at:c+1E3*d,idpId:a.nb};a.qv=b;a.dispatchEvent({type:_.Hv.OF,idpId:a.nb,response:b})}else a.jx(b.authResult.login_hint,a.zg||b.authResult.login_hint!=a.Pd,!0,!0)}});
_.Kv.prototype.iq=_.ab(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.$p(function(d){_.pv(b.Vc,b.Sd,d&&d.disabled,c.authResult.login_hint,function(){_.Lv(b,c.authResult.login_hint,a)})}):a(c&&c.authResult&&c.authResult.error?c.authResult:c&&c.authResult&&!c.authResult.login_hint?{error:"wrong_response_type"}:{error:"unknown_error"})}});_.Cv.prototype.jL=_.ab(13,function(){this.Ib&&_.mv(this.Vc,"startPolling",{clientId:this.Ib,origin:this.Zc,id:this.Pi},void 0)});
_.jv.prototype.revoke=_.ab(9,function(a,b,c){_.mv(this,"revoke",{clientId:a,token:b},c)});_.Iv.prototype.revoke=_.ab(8,function(a){_.Av(this,this.wM,[a])});Sv=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};
Tv=function(){var a=navigator.userAgent.toLowerCase();if(!(-1<a.indexOf("safari/")&&0>a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12<a||12==a&&1<=b};
Uv=function(a,b,c,d,e,f,g){var k=_.Qu(a,"authServerUrl");if(!k)throw Error("W`"+a);a=_.Gu(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=Tv())&&(b=navigator.userAgent.toLowerCase(),-1<b.indexOf("ipad;")||-1<b.indexOf("iphone;")?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||2>b.length?!1:14<=parseInt(b[1],10)):b=!1);b&&!a.prompt&&(a.prompt=
"select_account");k+=0>k.indexOf("?")?"?":"&";b=[];for(var m in a)if(a.hasOwnProperty(m)){c=a[m];if(null===c||void 0===c)c="";b.push(encodeURIComponent(m)+"="+encodeURIComponent(c))}return k+b.join("&")};
Vv=function(a,b,c,d){if(!a.Ib)throw Error("ma");a.Pi=c||a.pR||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Zc.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.Pi);c.redirect_uri=e.join("")}return Uv(a.nb,a.lc,a.Ib,a.np,!0,b,d)};Wv=function(a,b,c){if(!a.Ib)throw Error("ma");return Uv(a.nb,a.lc,a.Ib,a.np,!1,b,c)};
Xv=function(a){if(!a)return"permission token";var b=a.split(" ");if(-1<b.indexOf("token")||-1<b.indexOf("code")||-1<b.indexOf("gsession"))return a;b.push("token");return b.join(" ")};Yv=function(a,b){a.$l&&window.clearTimeout(a.$l);a.$l=window.setTimeout(function(){a.Pi==b&&(_.Su=void 0,a.$l=null,a.Pi=void 0,a.lr({authResult:{error:"popup_closed_by_user"}}))},1E3)};
Zv=function(a,b,c){if(!a.Ib)throw Error("na");c=c||{};a.kv()&&a.No&&(Ov()||Pv())&&(c.responseType=Xv(c.responseType));c=Vv(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Sv())&&_.Av(a,a.jL,[]);var d=a.Pi;a.RL.open(c,b,function(){a.Pi==d&&Yv(a,d)},function(){a.Pi=void 0;a.lr({authResult:{error:"popup_blocked_by_browser"}})})};$v=function(a,b,c){a.Nl?c(a.wl()):_.Av(a,a.LK,[b,c])};
_.aw=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("")};
bw=function(a){var b=[];_.lh(a,function(c){b.push(c)});return b};_.cw=function(a,b){_.Wh[b||"token"]=a};_.dw=function(a){delete _.Wh[a||"token"]};
_.Lu={parse:function(a){a=_.zf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Af(a)}};
_.Kv.prototype.Dz=function(a,b){_.Av(this,this.PS,[a,b])};_.Kv.prototype.PS=function(a,b){this.Vc.Dz(this.Ib,a,this.Qh,this.Sd,b)};
_.jv.prototype.Dz=function(a,b,c,d,e){c=_.Gu(c);_.mv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};
var ew,fw=["client_id","cookie_policy","scope"],gw="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(" "),hw=["authuser","after_redirect","access_type","hl"],iw=["login_hint","prompt"],jw={clientid:"client_id",cookiepolicy:"cookie_policy"},kw=["approval_prompt","authuser","login_hint",
"prompt","hd"],lw=["login_hint","g-oauth-window","status"],mw=Math.min(_.Ke("oauth-flow/authWindowWidth",599),screen.width-20),nw=Math.min(_.Ke("oauth-flow/authWindowHeight",600),screen.height-30);
var ow=function(a){_.eb.call(this,a)};_.Q(ow,_.eb);ow.prototype.name="gapi.auth2.ExternallyVisibleError";
var pw=function(){};pw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var qw=function(){};qw.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 rw=function(a){this.qR=a};
rw.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.qR){d.login_hint?b(d):b();return}}b()};
var sw=function(a){this.Ed=a;this.Pw=[]};sw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Pw[b];f?(b++,c.Ed.uv(function(g){g?f.select(g,d):d()})):a()}};d()};var tw=function(a){a=new sw(a);a.Pw.push(new pw);return a},uw=function(a){a=new sw(a);a.Pw.push(new qw);return a},vw=function(a,b){void 0===b||null===b?b=tw(a):(a=new sw(a),a.Pw.push(new rw(b)),b=a);return b};
var ww=function(a){this.Me=a;this.Lc=!0};ww.prototype.remove=function(){this.Lc=!1};ww.prototype.trigger=function(){};var xw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},yw=function(){this.Jb=[]};yw.prototype.add=function(a){this.Jb.push(a)};yw.prototype.notify=function(a){for(var b=this.Jb,c=[],d=0;d<b.length;d++){var e=b[d];e.Lc&&(c.push(e),_.Cj(zw(e.Me,a)))}this.Jb=c};var zw=function(a,b){return function(){a(b)}};
var Bw=function(a){this.Vd=null;this.w0=new Aw(this);this.Jb=new yw;void 0!=a&&this.set(a)};Bw.prototype.set=function(a){a!=this.Vd&&(this.Vd=a,this.w0.value=a,this.Jb.notify(this.Vd))};Bw.prototype.get=function(){return this.Vd};Bw.prototype.V=function(a){a=new Cw(this,a);this.Jb.add(a);return a};Bw.prototype.get=Bw.prototype.get;var Cw=function(a,b){ww.call(this,b);this.bX=a};_.Q(Cw,ww);Cw.prototype.trigger=function(){var a=this.Me;a(this.bX.get())};var Aw=function(a){this.value=null;this.V=function(b){return new xw(a.V(b))}};
var Dw={c3:"fetch_basic_profile",j4:"login_hint",L5:"prompt",S5:"redirect_uri",j6:"scope",C7:"ux_mode",Y6:"state"},Ew=function(a){this.Ga={};if(a&&!_.zi(a))if("function"==typeof a.get)this.Ga=a.get();else for(var b in Dw){var c=Dw[b];c in a&&(this.Ga[c]=a[c])}};Ew.prototype.get=function(){return this.Ga};Ew.prototype.mN=function(a){this.Ga.scope=a;return this};Ew.prototype.uq=function(){return this.Ga.scope};
var Fw=function(a,b){var c=a.Ga.scope;b=Mv(b.split(" "),c?c.split(" "):[]);_.rj(b);a.Ga.scope=b.join(" ")};_.h=Ew.prototype;_.h.m_=function(a){this.Ga.prompt=a;return this};_.h.iU=function(){return this.Ga.prompt};_.h.NZ=function(){_.Ef.warn("Property app_package_name no longer supported and was not set");return this};_.h.jT=function(){_.Ef.warn("Property app_package_name no longer supported")};_.h.Be=function(a){this.Ga.state=a};_.h.getState=function(){return this.Ga.state};
var Gw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+mw,"height="+nw,"top="+(screen.height-nw)/2,"left="+(screen.width-mw)/2].join()},Hw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.aw(bw(a)))},Iw=function(){ew=_.Ke("auth2/idpValue","google");var a=_.Ke("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.Ke("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.Ru(ew,{authServerUrl:a,idpIFrameUrl:b})},Jw=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}_.Cb(a[e])||(a[e]={});a=a[e]}},Kw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a};
var Lw=function(a){var b=a?(b=Hw(a))?b.sub:null:null;this.wa=b;this.Zb=a?_.tj(a):null};_.h=Lw.prototype;_.h.getId=function(){return this.wa};_.h.aA=function(){var a=Hw(this.Zb);return a?a.hd:null};_.h.wf=function(){return!!this.Zb};_.h.Lj=function(a){if(a)return this.Zb;a=Mw;var b=_.tj(this.Zb);!a.Zu||a.dB||a.KV||(delete b.access_token,delete b.scope);return b};_.h.ZC=function(){return Mw.ZC()};_.h.ej=function(){this.Zb=null};_.h.MT=function(){return this.Zb?this.Zb.scope:null};
_.h.update=function(a){this.wa=a.wa;this.Zb=a.Zb;this.Zb.id_token?this.it=new Nw(this.Zb):this.it&&(this.it=null)};var Ow=function(a){return a.Zb&&"object"==typeof a.Zb.session_state?_.tj(a.Zb.session_state.extraQueryParams||{}):{}};_.h=Lw.prototype;_.h.Xp=function(){var a=Ow(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.h.dj=function(a){var b=Mw,c=new Ew(a);b.dB=c.uq()?!0:!1;Mw.Zu&&Fw(c,"openid profile email");return new _.Nj(function(d,e){var f=Ow(this);f.login_hint=this.getId();f.scope=c.uq();Pw(b,d,e,f)},this)};_.h.xq=function(a){return new _.Nj(function(b,c){var d=a||{},e=Mw;d.login_hint=this.getId();e.xq(d).then(b,c)},this)};_.h.zU=function(a){return this.dj(a)};_.h.disconnect=function(){return Mw.disconnect()};_.h.mT=function(){return this.it};
_.h.Lu=function(a){if(!this.wf())return!1;var b=this.Zb&&this.Zb.scope?this.Zb.scope.split(" "):"";return _.Wb(a?a.split(" "):[],function(c){return _.gb(b,c)})};var Nw=function(a){a=Hw(a);this.hT=a.sub;this.Se=a.name;this.wU=a.given_name;this.NS=a.family_name;this.SJ=a.picture;this.Tt=a.email};_.h=Nw.prototype;_.h.getId=function(){return this.hT};_.h.Fi=function(){return this.Se};_.h.KT=function(){return this.wU};_.h.FT=function(){return this.NS};_.h.ST=function(){return this.SJ};_.h.ou=function(){return this.Tt};
var Qw;Qw=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.Rw=function(a){if(!a)throw new ow("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 ow("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(!_.Bi(b,"."+a)&&!_.Bi(b,a))throw new ow("Invalid cookiePolicy domain");return d};
var Tw=function(a){var b=a||{},c=Sw();_.Tb(gw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},Sw=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;jw[d]&&(d=jw[d]);_.gb(gw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},Uw=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Vw=function(a){_.Tb(gw,
function(b){var c=Uw(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},Ww=function(a){a=Tw(a);Vw(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=gw+hw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},Xw=function(a,b){if(!a)throw new ow("Empty initial options.");for(var c=0;c<fw.length;++c)if(!(b&&"scope"==fw[c]||a[fw[c]]))throw new ow("Missing required parameter '"+fw[c]+"'");_.Rw(a.cookie_policy)},Zw=function(a){var b={authParameters:{redirect_uri:void 0,
response_type:"token id_token",scope:a.scope,"openid.realm":a.openid_realm,include_granted_scopes:!0},clientId:a.client_id,crossSubDomains:!0,domain:Qw(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:ew};Yw(b,a);_.Tb(iw,function(c){a[c]&&(b.authParameters[c]=a[c])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);return b},Yw=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||Nv());b&&(a.authParameters.nonce=
b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},dx=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=$w(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:Qw(c),idpId:ew};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);g&&(m.rpcAuthParameters.spec_compliant=g,k=k||Nv());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=
k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.Tb(iw.concat(hw),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 ax(a.response_type||"token"),bx(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),cx(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},$w=function(a){a=new ax(a.response_type||"token");var b=[];cx(a)&&b.push("token");ex(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},fx=["permission","id_token"],gx=/(^|[^_])token/,ax=function(a){this.ro=[];this.wB(a)};
ax.prototype.wB=function(a){a?((0<=a.indexOf("permission")||a.match(gx))&&this.ro.push("permission"),0<=a.indexOf("id_token")&&this.ro.push("id_token"),0<=a.indexOf("code")&&this.ro.push("code")):this.ro=fx};var bx=function(a){return ex(a,"code")},cx=function(a){return ex(a,"permission")};ax.prototype.toString=function(){return this.ro.join(" ")};var ex=function(a,b){var c=!1;_.Tb(a.ro,function(d){d==b&&(c=!0)});return c};
var ix=function(a,b,c){this.Vl=b;this.GX=a;for(var d in a)a.hasOwnProperty(d)&&hx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.Vl[c[a]]},hx=function(a,b){a[b]=function(){return a.GX[b].apply(a.Vl,arguments)}};ix.prototype.then=function(a,b,c){var d=this;return _.Rj().then(function(){return jx(d.Vl,a,b,c)})};_.wj(ix);
var Mw,kx,mx;Mw=null;_.lx=function(){return Mw?kx():null};kx=function(){return new ix(mx.prototype,Mw,["currentUser","isSignedIn"])};mx=function(a){delete a.include_granted_scopes;this.Ga=Zw(a);this.cS=a.cookie_policy;this.KV=!!a.scope;(this.Zu=!1!==a.fetch_basic_profile)&&(this.Ga.authParameters.scope=nx(this,"openid profile email"));_.Gh.GSI_SUPPORT_BLOCKED_3P_COOKIES&&(this.No=this.Ga.supportBlocked3PCookies=!0);this.Hq=a.hosted_domain;this.u0=a.ux_mode||"popup";this.FY=a.redirect_uri||null;this.tB()};
mx.prototype.tB=function(){this.currentUser=new Bw(new Lw(null));this.isSignedIn=new Bw(!1);this.Ed=new _.Iv(this.Ga);this.fv=this.Tn=null;this.NW=new _.Nj(function(a,b){this.Tn=a;this.fv=b},this);this.Sv={};this.Qq=!0;ox(this);this.Ed.start()};
var ox=function(a){a.Ed.addEventListener("error",function(b){a.Qq&&a.Tn&&(a.Qq=!1,a.fv({error:b.error,details:b.details}),a.Tn=null,a.fv=null)});a.Ed.addEventListener("authResult",function(b){b&&b.authResult&&a.He(b);a.Ed.iq()(b)});a.Ed.addEventListener("tokenReady",function(b){var c=new Lw(b.response);if(a.Hq&&a.Hq!=c.aA())a.He({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.aA(),expectedDomain:a.Hq});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Jb.notify(d.Vd);a.isSignedIn.set(!0);c=c.Xp();(d=_.Rw(a.cS))&&c&&_.Jh.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.le?"S":"H",d.jh].join(""),c,{domain:d.domain,secure:d.isSecure});_.cw(b.response);a.He(b)}});a.Ed.addEventListener("noSessionBound",function(b){a.Qq&&b.autoOpenAuthUrl?(a.Qq=!1,tw(a.Ed).select(function(c){if(c&&c.login_hint){var d=a.Ed;_.Av(d,d.jx,[c.login_hint,!0])}else a.currentUser.set(new Lw(null)),a.isSignedIn.set(!1),_.dw(),a.He(b)})):(a.currentUser.set(new Lw(null)),
a.isSignedIn.set(!1),_.dw(),a.He(b))});a.Ed.addEventListener("tokenFailed",function(b){a.He(b)});a.Ed.addEventListener("userLoggedOut",function(b){a.currentUser.get().ej();var c=a.currentUser;c.Jb.notify(c.Vd);a.isSignedIn.set(!1);_.dw();a.He(b)})},jx=function(a,b,c,d){return a.NW.then(function(e){if(b)return b(e.xU)},c,d)};mx.prototype.He=function(a){if(a){this.Qq=!1;var b=a.type||"";if(this.Sv[b])this.Sv[b](a);this.Tn&&(this.Tn({xU:this}),this.fv=this.Tn=null)}};
var px=function(a,b){_.ib(b,function(c,d){a.Sv[d]=function(e){a.Sv={};c(e)}})},Pw=function(a,b,c,d){d=_.tj(d);a.Hq&&(d.hd=a.Hq);var e=d.ux_mode||a.u0;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.FY||Kw()+window.location.pathname),qx(a,f)):(delete d.redirect_uri,rx(a,f),px(a,{authResult:function(g){g.authResult&&g.authResult.error?c(g.authResult):px(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};mx.prototype.dj=function(a){return new _.Nj(function(b,c){var d=new Ew(a);this.dB=d.uq()?!0:!1;this.Zu?(d.Ga.fetch_basic_profile=!0,Fw(d,"email profile openid")):d.Ga.fetch_basic_profile=!1;var e=nx(this,d.uq());d.mN(e);Pw(this,b,c,d.get())},this)};
mx.prototype.xq=function(a){var b=a||{};this.dB=!!b.scope;a=nx(this,b.scope);if(""==a)return _.Sj({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.Tb(kw,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?sx(this,c):tx(this,c,b.redirect_uri)};
var tx=function(a,b,c){b.redirect_uri=c;qx(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.Rj({message:"Redirecting to IDP."})},sx=function(a,b){b.origin=Kw();delete b.redirect_uri;rx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Nj(function(c,d){px(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},rx=function(a,b){Jw(b,["sessionMeta","extraQueryParams",
"gsiwebsdk"],"2");Zv(a.Ed,Gw(),b)},qx=function(a,b){Jw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(Wv(a.Ed,b.sessionMeta,b.responseType))};mx.prototype.ej=function(a){var b=a||!1;return new _.Nj(function(c){Qv(this.Ed,b,function(){c()})},this)};mx.prototype.AI=function(){return this.Ga.authParameters.scope};var nx=function(a,b){a=a.AI();b=Mv(b?b.split(" "):[],a?a.split(" "):[]);_.rj(b);return b.join(" ")};
mx.prototype.ZC=function(){var a=this;return new _.Nj(function(b,c){px(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.Ed.eI()})};mx.prototype.mG=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.Vi(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.dj(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."})};
mx.prototype.disconnect=function(){return new _.Nj(function(a){this.Ed.revoke(function(){a()})},this)};mx.prototype.attachClickHandler=mx.prototype.mG;
var ux;_.Nj.prototype["catch"]=_.Nj.prototype.px;ux=null;_.vx=function(a){a=Ww(a);if(Mw){if(_.sj(a,ux||{}))return kx();throw new ow("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Xw(a,!1!==a.fetch_basic_profile);Iw();ux=a;Mw=new mx(a);_.Ce.ga=1;return kx()};
var xx,zx,wx,Bx,Ax,Cx;_.yx=function(a,b){Iw();a=Ww(a);Xw(a);var c=dx(a),d=new _.Kv(c);"none"==a.prompt?wx(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)}):xx(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.RL.Rg;b(e)})};
xx=function(a,b,c){var d=new ax(b.response_type);c=zx(a,d,c);var e={responseType:d.toString()};Jw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");bx(d)&&Jw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Jw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Jw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Gw();a.Nl?c({authResult:{error:"idpiframe_initialization_failed",details:a.wl().error}}):(a.Pk=
c,Zv(a,b,e))};zx=function(a,b,c){if(cx(b)){var d=Ax(c);return function(e){e&&e.authResult&&!e.authResult.error?a.iq(function(f){f&&!f.error?(f=_.tj(f),bx(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(_.tj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
wx=function(a,b,c){if(bx(new ax(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=Ax(c);b.login_hint?a.Dz(b.login_hint,function(e){e?Bx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?vw(a,b.authuser).select(function(e){e&&e.login_hint?Bx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.$p(function(e){e&&e.hint?Bx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?uw(a):tw(a)).select(function(f){f&&f.login_hint?Bx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};Bx=function(a,b,c,d){b=new ax(b.response_type);var e=0,f={},g=function(k){!k||k.error?d(k):(e--,_.ri(f,k),0==e&&d(f))};(cx(b)||ex(b,"id_token"))&&e++;bx(b)&&e++;(cx(b)||ex(b,"id_token"))&&_.Lv(a,c,g);bx(b)&&$v(a,c,g)};
Ax=function(a){return function(b){if(!b||b.error)_.dw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.tj(b);Cx(c);delete c.id_token;delete c.code;_.cw(c)}a(b)}}};Cx=function(a){_.Tb(lw,function(b){delete a[b]})};
_.B("gapi.auth2.init",_.vx);_.B("gapi.auth2.authorize",function(a,b){if(null!=Mw)throw new ow("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).");_.yx(a,function(c){Cx(c);b(c)})});_.B("gapi.auth2._gt",function(){return _.Xh()});_.B("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.Bu="0"!=a&&!!a});_.B("gapi.auth2.getAuthInstance",_.lx);
_.B("gapi.auth2.BasicProfile",Nw);_.B("gapi.auth2.BasicProfile.prototype.getId",Nw.prototype.getId);_.B("gapi.auth2.BasicProfile.prototype.getName",Nw.prototype.Fi);_.B("gapi.auth2.BasicProfile.prototype.getGivenName",Nw.prototype.KT);_.B("gapi.auth2.BasicProfile.prototype.getFamilyName",Nw.prototype.FT);_.B("gapi.auth2.BasicProfile.prototype.getImageUrl",Nw.prototype.ST);_.B("gapi.auth2.BasicProfile.prototype.getEmail",Nw.prototype.ou);_.B("gapi.auth2.GoogleAuth",mx);
_.B("gapi.auth2.GoogleAuth.prototype.attachClickHandler",mx.prototype.mG);_.B("gapi.auth2.GoogleAuth.prototype.disconnect",mx.prototype.disconnect);_.B("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",mx.prototype.xq);_.B("gapi.auth2.GoogleAuth.prototype.signIn",mx.prototype.dj);_.B("gapi.auth2.GoogleAuth.prototype.signOut",mx.prototype.ej);_.B("gapi.auth2.GoogleAuth.prototype.getInitialScopes",mx.prototype.AI);_.B("gapi.auth2.GoogleUser",Lw);_.B("gapi.auth2.GoogleUser.prototype.grant",Lw.prototype.zU);
_.B("gapi.auth2.GoogleUser.prototype.getId",Lw.prototype.getId);_.B("gapi.auth2.GoogleUser.prototype.isSignedIn",Lw.prototype.wf);_.B("gapi.auth2.GoogleUser.prototype.getAuthResponse",Lw.prototype.Lj);_.B("gapi.auth2.GoogleUser.prototype.getBasicProfile",Lw.prototype.mT);_.B("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Lw.prototype.MT);_.B("gapi.auth2.GoogleUser.prototype.getHostedDomain",Lw.prototype.aA);_.B("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Lw.prototype.xq);
_.B("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Lw.prototype.Lu);_.B("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Lw.prototype.ZC);_.B("gapi.auth2.LiveValue",Bw);_.B("gapi.auth2.LiveValue.prototype.listen",Bw.prototype.V);_.B("gapi.auth2.LiveValue.prototype.get",Bw.prototype.get);_.B("gapi.auth2.SigninOptionsBuilder",Ew);_.B("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",Ew.prototype.jT);_.B("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",Ew.prototype.NZ);
_.B("gapi.auth2.SigninOptionsBuilder.prototype.getScope",Ew.prototype.uq);_.B("gapi.auth2.SigninOptionsBuilder.prototype.setScope",Ew.prototype.mN);_.B("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",Ew.prototype.iU);_.B("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",Ew.prototype.m_);_.B("gapi.auth2.SigninOptionsBuilder.prototype.get",Ew.prototype.get);

_.Ne=_.Ne||{};
(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}_.Ne.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)};_.Ne.YG=function(b){var c=_.Ne.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(_.Ne.pz(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var g=_.Ne.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};_.Ne.jI=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};_.Ne.L9=function(b){return a(b)}})();

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

_.Sh=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.Oh(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.Vh={sJ:_.Sh,KW:_.Ph,GI:function(){var a=null;_.Ph()&&(a=window.__PVT,null==a&&(a=(new _.Hh(document)).get("BEAT")));return a},hI:_.Rh};

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

_.og=_.og={};_.og.getOrigin=function(a){return _.qg(a)};

_.zy=function(a){if(0!==a.indexOf("GCSC"))return null;var b={Tq:!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=_.xy(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.le;return!d&&("U"!==c||e.le)||d&&!_.yy?b:{Tq:!0,le:d,TR:a.substr(1),domain:e.domain,jh:e.jh}};
_.Ay=function(a,b){this.Se=a;a=b||{};this.mX=Number(a.maxAge)||0;this.lc=a.domain;this.tk=a.path;this.BZ=!!a.secure};_.Ay.prototype.read=function(){for(var a=this.Se+"=",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)}};
_.Ay.prototype.write=function(a,b){if(!By.test(this.Se))throw"Invalid cookie name";if(!Cy.test(a))throw"Invalid cookie value";a=this.Se+"="+a;this.lc&&(a+=";domain="+this.lc);this.tk&&(a+=";path="+this.tk);b="number"===typeof b?b:this.mX;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.BZ&&(a+=";secure");document.cookie=a;return!0};_.Ay.prototype.clear=function(){this.write("",0)};var Cy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,By=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.Ay.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("="))}};
_.Dy=function(a){this.Ih=a};_.Dy.prototype.read=function(){if(Ey.hasOwnProperty(this.Ih))return Ey[this.Ih]};_.Dy.prototype.write=function(a){Ey[this.Ih]=a;return!0};_.Dy.prototype.clear=function(){delete Ey[this.Ih]};var Ey={};_.Dy.iterate=function(a){for(var b in Ey)Ey.hasOwnProperty(b)&&a(b,Ey[b])};
var Fy=function(){this.Vd=null;this.key=function(){return null};this.getItem=function(){return this.Vd};this.setItem=function(a,b){this.Vd=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Vd=null;this.length=0};this.length=0},Gy=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}},Hy=function(a,b){this.Se=a;this.sE=
Gy(b)?b||window.sessionStorage:new Fy};Hy.prototype.read=function(){return this.sE.getItem(this.Se)};Hy.prototype.write=function(a){try{this.sE.setItem(this.Se,a)}catch(b){return!1}return!0};Hy.prototype.clear=function(){this.sE.removeItem(this.Se)};Hy.iterate=function(a){if(Gy())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
for(var Iy=0;64>Iy;++Iy);
_.yy="https:"===window.location.protocol;_.Jy=_.yy||"http:"===window.location.protocol?_.Ay:_.Dy;_.xy=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{le:"S"==a.charAt(0),domain:d,jh:c}};
var Ky,Ly,Oy,Py;Ky=_.se();Ly=_.se();_.My=_.se();_.Ny=_.se();Oy="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");Py=function(a){this.PL=a;this.aC=null};
Py.prototype.write=function(a){var b=_.se(),c=_.se(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.te(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=0;for(e=Oy.length;d<e;++d)delete c[Oy[d]];a=String(a.authuser||0);d=_.se();d[a]=c;c=_.Af(d);this.PL.write(c);this.aC=b};Py.prototype.read=function(){return this.aC};Py.prototype.clear=function(){this.PL.clear();this.aC=_.se()};_.Qy=function(a){return a?{domain:a.domain,path:"/",secure:a.le}:null};
Hy.iterate(function(a){var b=_.zy(a);b&&b.Tq&&(Ky[a]=new Py(new Hy(a)))});_.Jy.iterate(function(a){Ky[a]&&(Ly[a]=new _.Jy(a,_.Qy(_.zy(a))))});

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Nq=function(){return!_.Mq()&&(_.pb("iPod")||_.pb("iPhone")||_.pb("Android")||_.pb("IEMobile"))};_.Mq=function(){return _.pb("iPad")||_.pb("Android")&&!_.pb("Mobile")||_.pb("Silk")};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var lr,mr,pr,or,zr,nr,Dr,Er,Fr,Hr,Nr;lr=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};mr=function(a){return a.replace(_.Nc,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,k,l){f=k;return l});b=(_.Gc(d)||_.Hc).tf();return c+f+b+f+e})};
pr=function(a){if(a instanceof _.zc)return'url("'+_.Ac(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.cc)a=_.dc(a);else{a=String(a);var b=a.replace(_.Pc,"$1").replace(_.Pc,"$1").replace(_.Nc,"url");if(_.Mc.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&&lr(a)}a=b?mr(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new or("Value does not allow [{;}], got: %s.",[a]);return a};
_.qr=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.rr=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.h=_.rr.prototype;_.h.clone=function(){return new _.rr(this.x,this.y)};_.h.equals=function(a){return a instanceof _.rr&&_.qr(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 _.rr?(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};_.sr=function(a,b){this.width=a;this.height=b};_.h=_.sr.prototype;_.h.clone=function(){return new _.sr(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};_.tr=function(a){return"CSS1Compat"==a.compatMode};
_.ur=function(a){a=a.document;a=_.tr(a)?a.documentElement:a.body;return new _.sr(a.clientWidth,a.clientHeight)};_.vr=function(a){return _.ur(a||window)};_.wr=function(a){return a.scrollingElement?a.scrollingElement:!_.md&&_.tr(a)?a.documentElement:a.body||a.documentElement};_.xr=function(a){var b=_.wr(a);a=a.parentWindow||a.defaultView;return _.id&&_.Gd("10")&&a.pageYOffset!=b.scrollTop?new _.rr(b.scrollLeft,b.scrollTop):new _.rr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
_.yr=function(a,b,c,d){return _.Wd(a.hb,b,c,d)};or=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");_.eb.call(this,c+a[d])};_.Za(or,_.eb);or.prototype.name="AssertionError";zr={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};_.Ar=function(a){if(a instanceof _.Kc&&a.constructor===_.Kc)return a.TC;_.Fb(a);return"type_error:SafeStyle"};nr=/\/\*/;
_.Br=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("h`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(pr).join(" "):pr(d),b+=c+":"+d+";")}return b?new _.Kc(b,_.Jc):_.Lc};_.Cr=function(a){if(a instanceof _.Rc&&a.constructor===_.Rc)return a.SC;_.Fb(a);return"type_error:SafeStyleSheet"};Dr=/^[a-zA-Z0-9-]+$/;Er={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
Fr=function(a){var b=_.ad(_.bd),c=b.Oj(),d=[],e=function(f){Array.isArray(f)?f.forEach(e):(f=_.ad(f),d.push(_.Zc(f).toString()),f=f.Oj(),0==c?c=f:0!=f&&c!=f&&(c=null))};a.forEach(e);return _.$c(d.join(_.Zc(b).toString()),c)};_.Gr=function(a){return Fr(Array.prototype.slice.call(arguments))};Hr={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
_.Ir=function(a,b,c){var d=String(a);if(!Dr.test(d))throw Error("e");if(d.toUpperCase()in Er)throw Error("e");a=String(a);d=c;c=null;var e="<"+a,f="";if(b)for(l in b)if(Object.prototype.hasOwnProperty.call(b,l)){if(!Dr.test(l))throw Error("e");var g=b[l];if(null!=g){var k=l;if(g instanceof _.cc)g=_.dc(g);else if("style"==k.toLowerCase()){if(!_.Cb(g))throw Error("e");g instanceof _.Kc||(g=_.Br(g));g=_.Ar(g)}else{if(/^on/i.test(k))throw Error("e");if(k.toLowerCase()in Hr)if(g instanceof _.gc)g=_.ic(g);
else if(g instanceof _.zc)g=_.Ac(g);else if("string"===typeof g)g=(_.Gc(g)||_.Hc).tf();else throw Error("e");}g.Dh&&(g=g.tf());k=k+'="'+_.vc(String(g))+'"';f+=" "+k}}var l=e+f;null==d?d=[]:Array.isArray(d)||(d=[d]);!0===zr[a.toLowerCase()]?l+=">":(c=_.Gr(d),l+=">"+_.Zc(c).toString()+"</"+a+">",c=c.Oj());(b=b&&b.dir)&&(c=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.$c(l,c)};_.Jr=function(a){return Number(_.Jd)>=a};
_.Kr=function(a,b){if((0,_.Md)())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=_.Zc(b)};_.Lr=function(a){return _.Qd('style[nonce],link[rel="stylesheet"][nonce]',a)};_.Mr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};Nr=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.Or=function(a,b,c){return _.be(document,arguments)};
_.Pr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.h=_.Pr.prototype;_.h.tc=function(){return this.right-this.left};_.h.Jd=function(){return this.bottom-this.top};_.h.clone=function(){return new _.Pr(this.top,this.right,this.bottom,this.left)};_.h.contains=function(a){return this&&a?a instanceof _.Pr?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){_.Cb(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 _.rr?(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 Sr,Yr,Wr,as,ms,ns;_.Rr=function(a,b,c){if("string"===typeof b)(b=_.Qr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.Qr(c,d);f&&(c.style[f]=e)}};Sr={};_.Qr=function(a,b){var c=Sr[b];if(!c){var d=_.Mr(b);c=d;void 0===a.style[d]&&(d=(_.md?"Webkit":_.ld?"Moz":_.id?"ms":null)+Nr(d),void 0!==a.style[d]&&(c=d));Sr[b]=c}return c};
_.Tr=function(a,b){var c=_.Ud(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Ur=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Vr=function(a,b){return _.Tr(a,b)||_.Ur(a,b)||a.style&&a.style[b]};_.Xr=function(a,b,c){if(b instanceof _.rr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Wr(d,!1);a.style.top=Wr(b,!1)};
Yr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.bs=function(a,b){b=b||_.wr(document);var c=b||_.wr(document);var d=_.Zr(a),e=_.Zr(c),f=_.$r(c);if(c==_.wr(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.id&&!_.Jr(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=as(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 _.rr(e,k);b.scrollLeft=c.x;b.scrollTop=c.y};
_.Zr=function(a){var b=_.Ud(a),c=new _.rr(0,0);var d=b?_.Ud(b):document;d=!_.id||_.Jr(9)||_.tr(_.Vd(d).hb)?d.documentElement:d.body;if(a==d)return c;a=Yr(a);b=_.xr(_.Vd(b).hb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.ds=function(a,b){var c=new _.rr(0,0),d=_.Zd(_.Ud(a));if(!_.fd(d,"parent"))return c;do{var e=d==b?_.Zr(a):_.cs(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.cs=function(a){a=Yr(a);return new _.rr(a.left,a.top)};
_.es=function(a,b,c){if(b instanceof _.sr)c=b.height,b=b.width;else if(void 0==c)throw Error("I");a.style.width=Wr(b,!0);a.style.height=Wr(c,!0)};Wr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.fs=function(a){var b=as;if("none"!=_.Vr(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};
as=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.md&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Yr(a),new _.sr(a.right-a.left,a.bottom-a.top)):new _.sr(b,c)};_.gs=function(a,b){a.style.display=b?"":"none"};
_.is=function(a){var b=_.Vd(void 0),c=b.Ya();if(_.id&&c.createStyleSheet)b=c.createStyleSheet(),_.hs(b,a);else{c=_.yr(b,"HEAD")[0];if(!c){var d=_.yr(b,"BODY")[0];c=b.ha("HEAD");d.parentNode.insertBefore(c,d)}d=b.ha("STYLE");var e=_.Lr();e&&d.setAttribute("nonce",e);_.hs(d,a);b.appendChild(c,d)}};_.hs=function(a,b){b=_.Cr(b);_.id&&void 0!==a.cssText?a.cssText=b:_.q.trustedTypes?_.me(a,b):a.innerHTML=b};_.js=function(a){return"rtl"==_.Vr(a,"direction")};
_.ks=_.ld?"MozUserSelect":_.md||_.jd?"WebkitUserSelect":null;_.ls=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};ms={thin:2,medium:4,thick:6};ns=function(a,b){if("none"==_.Ur(a,b+"Style"))return 0;b=_.Ur(a,b+"Width");return b in ms?ms[b]:_.ls(a,b)};
_.$r=function(a){if(_.id&&!_.Jr(9)){var b=ns(a,"borderLeft"),c=ns(a,"borderRight"),d=ns(a,"borderTop");a=ns(a,"borderBottom");return new _.Pr(d,c,a,b)}b=_.Tr(a,"borderLeftWidth");c=_.Tr(a,"borderRightWidth");d=_.Tr(a,"borderTopWidth");a=_.Tr(a,"borderBottomWidth");return new _.Pr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Nx=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.T)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.T)(a.handleEvent,a);else throw Error("ua");return 2147483647<Number(b)?-1:_.q.setTimeout(a,b||0)};_.Ox=function(a){_.q.clearTimeout(a)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Ry=function(a){_.Ci.call(this);this.Ih=1;this.iw=[];this.nw=0;this.Ze=[];this.$h={};this.lR=!!a};_.Za(_.Ry,_.Ci);_.h=_.Ry.prototype;_.h.subscribe=function(a,b,c){var d=this.$h[a];d||(d=this.$h[a]=[]);var e=this.Ih;this.Ze[e]=a;this.Ze[e+1]=b;this.Ze[e+2]=c;this.Ih=e+3;d.push(e);return e};_.h.ns=_.fa(19);_.h.unsubscribe=function(a,b,c){if(a=this.$h[a]){var d=this.Ze;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.lj(a)}return!1};
_.h.lj=function(a){var b=this.Ze[a];if(b){var c=this.$h[b];0!=this.nw?(this.iw.push(a),this.Ze[a+1]=_.Eb):(c&&_.xi(c,a),delete this.Ze[a],delete this.Ze[a+1],delete this.Ze[a+2])}return!!b};
_.h.im=function(a,b){var c=this.$h[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.lR)for(e=0;e<c.length;e++){var g=c[e];Sy(this.Ze[g+1],this.Ze[g+2],d)}else{this.nw++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)g=c[e],this.Ze[g+1].apply(this.Ze[g+2],d)}finally{if(this.nw--,0<this.iw.length&&0==this.nw)for(;c=this.iw.pop();)this.lj(c)}}return 0!=e}return!1};var Sy=function(a,b,c){_.Kj(function(){a.apply(b,c)})};
_.Ry.prototype.clear=function(a){if(a){var b=this.$h[a];b&&(b.forEach(this.lj,this),delete this.$h[a])}else this.Ze.length=0,this.$h={}};_.Ry.prototype.Ab=function(a){if(a){var b=this.$h[a];return b?b.length:0}a=0;for(b in this.$h)a+=this.Ab(b);return a};_.Ry.prototype.ka=function(){_.Ry.O.ka.call(this);this.clear();this.iw.length=0};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Ty=function(a){this.f0=a};_.Ty.prototype.toString=function(){return this.f0};
_.Uy=function(a){_.Ci.call(this);this.Bd=new _.Ry(a);_.Ei(this,this.Bd)};_.Za(_.Uy,_.Ci);_.h=_.Uy.prototype;_.h.subscribe=function(a,b,c){return this.Bd.subscribe(a.toString(),b,c)};_.h.ns=_.fa(18);_.h.unsubscribe=function(a,b,c){return this.Bd.unsubscribe(a.toString(),b,c)};_.h.lj=function(a){return this.Bd.lj(a)};_.h.im=function(a,b){return this.Bd.im(a.toString(),b)};_.h.clear=function(a){this.Bd.clear(void 0!==a?a.toString():void 0)};
_.h.Ab=function(a){return this.Bd.Ab(void 0!==a?a.toString():void 0)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Vy=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return"string"===typeof c?c:c.mw+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Rr(a,"transition",b.join(","))};
_.Wy=_.Ld(function(){if(_.id)return _.Gd("10.0");var a=_.ce("DIV"),b=_.md?"-webkit":_.ld?"-moz":_.id?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.Ir("div",{style:c});_.Kr(a,b);a=a.firstChild;b=a.style[_.Mr("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Qr(a,"transition")]||"")});

_.Yy=function(){_.Xy="oauth2relay"+String(2147483647*(0,_.wg)()|0)};_.Zy=new _.Uy;_.$y=new _.Ty("oauth");_.Yy();_.Ke("oauth-flow/client_id");var az=String(_.Ke("oauth-flow/redirectUri"));if(az)az.replace(/[#][\s\S]*/,"");else{var bz=_.og.getOrigin(window.location.href);_.Ke("oauth-flow/callbackUrl");encodeURIComponent(bz)}_.og.getOrigin(window.location.href);

var dz,ez,fz,gz,hz,iz,jz,kz,lz,mz,nz,pz,qz,rz,sz,tz,uz,vz,wz,xz,Kz,Vz,Wz,Xz,Yz,Zz,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,rA,qA,sA,tA,uA,vA,wA,xA,yA,zA,AA,CA;_.cz=function(a,b){if(_.ih&&!b)return _.q.atob(a);var c="";_.lh(a,function(d){c+=String.fromCharCode(d)});return c};dz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};ez=function(a){return _.Bh("enableMultilogin")&&a("cookie_policy")&&!dz(a)?!0:!1};
hz=function(){var a,b=null;_.Jy.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.xy(c.substring(11)),!a||c.le&&!a.le||c.le==a.le&&c.jh>a.jh)&&(a=c,b=d)});return{wR:a,authuser:b}};iz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];jz=function(a){a=a.toUpperCase();for(var b=0,c=iz.length;b<c;++b){var d=a.split(iz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.vg,b.Fs(a),a=b.ih().toUpperCase());return a};
kz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};lz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],LZ:kz(a[1]),A$:kz(a[2]),u9:kz(a[3])}};mz=function(a){var b=hz(),c=b.wR;b=b.authuser;var d=a&&jz(a);if(null!==b){var e;_.Jy.iterate(function(g,k){(g=_.zy(g))&&g.Tq&&(d&&g.TR!=d||g.le==c.le&&g.jh==c.jh&&(e=k))});if(e){var f=lz(e);a=f&&f.LZ[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,qaa:a,clientId:f}}}return null};
nz=function(a,b){a=_.Xh(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};_.oz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.cw(c,d):_.dw(d)};
pz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.qg(a));var b=window.location.hostname,c=b,d=_.yy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Ef.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Ef.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,le:d,jh:b}};
qz=function(a){var b=pz(a);if(!b)return new _.Dy("G_USERSTATE_");a=["G_USERSTATE_",_.yy&&b.le?"S":"H",b.jh].join("");var c=_.Ny[a];c||(c={ZB:63072E3},_.ue(_.Qy(b),c),c=new _.Ay(a,c),_.Ny[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};rz=function(a){var b=qz(a).read();a=_.se();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
sz=function(a,b,c){var d=rz(b),e=d[a];d[a]="0";var f=[];_.cm(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=qz(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};tz=function(a,b){b=rz(b);return"0"==b[a]||"X"==b[a]};uz=function(a){a=pz(a.g_user_cookie_policy);if(!a||a.le&&!_.yy)a=null;else{var b=["G_AUTHUSER_",_.yy&&a.le?"S":"H",a.jh].join(""),c=_.My[b];c||(c=new _.Jy(b,_.Qy(a)),_.My[b]=c);a=c}_.Le("googleapis.config/sessionIndex",null);a.clear()};vz=function(a){return dz(function(b){return a[b]})};
wz=0;xz=!1;Kz=[];Vz={};Wz={};Xz=null;Yz=function(a){var b=_.Xy;return function(c){if(this.f==b&&this.t==_.Jf.rl(this.f)&&this.origin==_.Jf.Cl(this.f))return a.apply(this,arguments)}};Zz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};$z=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("za");};
aA=function(a){var b=_.Ne.Qf,c=b(a).jsh;if(null!=c)return $z(c),a;if(b=String(b().jsh||_.Ce.h||""))$z(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};bA=function(){return!!_.Ke("oauth-flow/usegapi")};cA=function(a,b){bA()?Xz.unregister(a):_.Jf.unregister(a+":"+b)};dA=function(a,b,c){bA()?Xz.register(a,c,_.kk):_.Jf.register(a+":"+b,Yz(c))};eA=function(){fz.parentNode.removeChild(fz)};
fA=function(a){var b=fz;_.Vy(b,[{mw:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Vy(b,[{mw:"transform",duration:1,timing:"ease",delay:0}]);_.Nx(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};gA=function(){var a=gz+88;fA(a);gz=a};hA=function(){var a=gz-88;fA(a);gz=a};
iA=function(a){var b=a?gA:hA,c=a?hA:gA;a=a?"-":"";gz=parseInt(a+88,10);fz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";fz.style.transform="translate3d(0px,"+a+88+"px,0px)";fz.style.display="";fz.style.visibility="visible";b();_.Nx(c,4E3);_.Nx(eA,5E3)};
jA=function(a){var b=_.Ke("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");fz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Rr(c,"visibility","hidden");_.Rr(c,b,"-40px");_.Rr(c,"height","128px");var d=c;if(!_.Nq()&&!_.Mq()){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?"-":"";gz=parseInt(e+88,10);fz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";fz.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){}_.jk.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?iA(!0):iA(!1)}})};
kA=function(a){var b=_.Ln(),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==_.am.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
lA=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=_.Ke("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!=mz(c)||!vz(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};mA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.zf(_.cz(a,!0));if(!1===a)throw Error("Aa");return a};nA=function(a){return(a=mA(a))?a.sub:null};
oA=function(a){a&&Kz.push(a);a=_.Xy;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(wz&&6E4>c-wz)return;var d=_.Jf.rl(a);d&&(cA("oauth2relayReady",d),cA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Yy();a=_.Xy}wz=c;var e=String(2147483647*(0,_.wg)()|0);b=_.Ke("oauth-flow/proxyUrl")||_.Ke("oauth-flow/relayUrl");bA()?Xz=_.jk.openChild({where:_.Ne.jI(),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(_.og.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ne.jI(),d=_.Ne.YG({name:a,id:a}),d.src=aA(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Zz(d),c.appendChild(d),_.Jf.Yr(a));dA("oauth2relayReady",e,function(){cA("oauth2relayReady",e);var f=Kz;if(null!==f){Kz=null;for(var g=0,k=f.length;g<
k;++g)f[g]()}});dA("oauth2callback",e,function(f){var g=_.Ne.Qf;g=g(f);var k=g.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(Wz,f)?Wz[f]:null;g.state=f;if(null!=g.state){f=Vz[k];delete Vz[k];k=f&&f.key||"token";var l=g=lA(f&&f.params,g);var m=(m=nA(l))?tz(m,l.cookie_policy):!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.Ke("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",xz||(xz=!0,jA(l)));_.oz(k,g);g=nz(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)}}})};_.pA=function(a){null!==Kz?oA(a):a&&a()};rA=function(a,b){var c=qA,d=nA(a);d&&(uz(a),sz(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=lA(null,e);c(e)}}))};
qA=function(a){a||(a=nz(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||(_.Ce.drw=null);_.oz(a);if(b=a.authuser)_.Ke("googleapis.config/sessionIndex"),_.Le("googleapis.config/sessionIndex",b);_.Zy.im(_.$y,a);return a};sA=["client_id","cookie_policy","response_type"];tA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
uA=function(a){var b=_.tj(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);_.cw(b);return b};
vA=function(a){if(void 0===a.include_granted_scopes){var b=_.Ke("include_granted_scopes");a.include_granted_scopes=!!b}};wA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
xA=function(a){var b=a||{},c={};_.Tb(tA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Ke("googleapis/overrideClientId");null!=a&&(c.client_id=a);vA(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{_.Rw(c.cookie_policy)}catch(d){c.cookie_policy&&
wA("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=_.Fh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.Ke("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
yA=function(a,b){var c=xA(a),d=new _.Nj(function(e,f){_.yx(c,function(g){var k=g||{};_.Tb(sA,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=uA(k),null!=g.authuser&&_.Le("googleapis.config/sessionIndex",g.authuser),e(g))})});b&&d.then(b,b);return d};zA=_.Vh.hI;AA=null;
_.DA=function(a,b){if("force"!==a.approvalprompt){a=_.BA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)AA?(a.client_id!==AA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(AA=a,b=!1);b||CA(a)}};
_.BA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.nc)((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,_.nc)(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||_.Ke("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Ke("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};CA=function(a){_.Eo("waaf0","signin","0");yA(a,function(b){_.Eo("waaf1","signin","0");qA(b)})};
_.EA=function(a){a=_.BA(a);_.Le("oauth-flow/authWindowWidth",445);_.Le("oauth-flow/authWindowHeight",615);CA(a)};_.FA=function(a){_.Zy.unsubscribe(_.$y,a);_.Zy.subscribe(_.$y,a)};
var MA,PA;_.HA=function(a){return a.cookiepolicy?!0:(_.GA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.GA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.LA=function(a,b){var c=_.Ln();_.ue(a,c);c=kA(c);if(_.HA(c)){var d=_.IA();_.JA(c);b?_.Be(b,"click",function(){_.KA(c,d)}):_.KA(c,d)}};
_.IA=function(){var a=new MA;_.FA(function(b){a.$B&&b&&(b.access_token&&_.Le("isPlusUser",!0),b["g-oauth-window"]&&(a.$B=!1,_.Ef.warn("OTA app install is no longer supported.")))});return a};MA=function(){this.$B=!1};_.JA=function(a){a=_.NA(a);_.OA(a.callback);_.pA(function(){_.DA(a)})};_.NA=function(a){PA(a);a.redirecturi&&delete a.redirecturi;ez(function(b){return a[b]})||(a.authuser=0);return a};PA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.OA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.GA('Callback function named "'+a+'" not found');return}a&&_.FA(a)};_.KA=function(a,b){b.$B=!0;a=_.NA(a);_.EA(a)};
_.B("gapi.auth.authorize",yA);_.B("gapi.auth.checkSessionState",function(a,b){var c=_.se();c.client_id=a.client_id;c.session_state=a.session_state;_.pA(function(){bA()?Xz.send("check_session_state",c,function(d){b.call(null,d[0])},_.kk):_.Jf.call(_.Xy,"check_session_state",Yz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.B("gapi.auth.getAuthHeaderValueForFirstParty",zA);_.B("gapi.auth.getToken",nz);
_.B("gapi.auth.getVersionInfo",function(a,b){_.pA(function(){var c=_.Rh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?bA()?Xz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.kk):_.Jf.call(_.Xy,"get_versioninfo",Yz(function(f){a(f)}),d,b):a()})});_.B("gapi.auth.init",_.pA);_.B("gapi.auth.setToken",_.oz);_.B("gapi.auth.signIn",function(a){_.LA(a)});_.B("gapi.auth.signOut",function(){var a=nz();a&&rA(a,a.cookie_policy)});
_.B("gapi.auth.unsafeUnpackIdToken",mA);_.B("gapi.auth._pimf",_.DA);_.B("gapi.auth._oart",jA);_.B("gapi.auth._guss",function(a){return qz(a).read()});

var QA=_.Ln();QA.clientid&&QA.scope&&QA.callback&&!_.Ke("disableRealtimeCallback")&&_.JA(QA);

});
// Google Inc.
