/* JS */ gapi.loaded_0(function(_){var window=this; var Mb,vf,Na,Pa,ib,sb,qb,Fb,Te,wf;_.b=function(a){return function(){return _.aa[a].apply(this,arguments)}};_._DumpException=function(a){throw a;};_.aa=[];_.jb="function"==typeof Object.create?Object.create:function(a){var c=function(){};c.prototype=a;return new c}; if("function"==typeof Object.setPrototypeOf)Mb=Object.setPrototypeOf;else{var bc;a:{var cc={a:!0},wc={};try{wc.__proto__=cc;bc=wc.a;break a}catch(a){}bc=!1}Mb=bc?function(a,c){a.__proto__=c;if(a.__proto__!==c)throw new TypeError(a+" is not extensible");return a}:null}_.fe=Mb;vf="function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,f){a!=Array.prototype&&a!=Object.prototype&&(a[c]=f.value)}; Na="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;Pa=function(){Pa=function(){};Na.Symbol||(Na.Symbol=ib)};ib=function(){var a=0;return function(c){return"jscomp_symbol_"+(c||"")+a++}}();sb=function(){Pa();var a=Na.Symbol.iterator;a||(a=Na.Symbol.iterator=Na.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&vf(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return qb(this)}});sb=function(){}}; qb=function(a){var c=0;return Fb(function(){return c>>0);_.pa=Date.now||function(){return+new Date};_.Mu=function(a,c){a=a.split(".");var f=_.D;a[0]in f||!f.execScript||f.execScript("var "+a[0]);for(var g;a.length&&(g=a.shift());)!a.length&&_.kf(c)?f[g]=c:f=f[g]&&f[g]!==Object.prototype[g]?f[g]:f[g]={}}; _.J=function(a,c){function f(){}f.prototype=c.prototype;a.T=c.prototype;a.prototype=new f;a.prototype.constructor=a;a.yc=function(a,f,l){for(var g=Array(arguments.length-2),h=2;hf&&(f=Math.max(0,a.length+f));if(_.fa(a))return _.fa(c)&&1==c.length?a.lastIndexOf(c,f):-1;for(;0<=f;f--)if(f in a&&a[f]===c)return f;return-1}; _.Be=Array.prototype.forEach?function(a,c,f){Array.prototype.forEach.call(a,c,f)}:function(a,c,f){for(var g=a.length,h=_.fa(a)?a.split(""):a,l=0;l")&&(a=a.replace(Re,">"));-1!=a.indexOf('"')&&(a=a.replace(Me,"""));-1!=a.indexOf("'")&&(a=a.replace(Le,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ze,"�"));return a};Ye=/&/g;Xe=//g;Me=/"/g;Le=/'/g;Ze=/\x00/g;Ke=/[\x00&<>"']/;_.Gf=String.prototype.repeat?function(a,c){return a.repeat(c)}:function(a,c){return Array(c+1).join(a)}; _.rk=function(a,c){var f=0;a=(0,_.Ge)(String(a)).split(".");c=(0,_.Ge)(String(c)).split(".");for(var g=Math.max(a.length,c.length),h=0;0==f&&hc?1:0};_.ne=2147483648*Math.random()|0;_.Cg=function(a){return String(a).replace(/\-([a-z])/g,function(a,f){return f.toUpperCase()})}; a:{var Lc=_.D.navigator;if(Lc){var wd=Lc.userAgent;if(wd){_.We=wd;break a}}_.We=""}_.pf=function(a){return-1!=_.We.indexOf(a)};var tf;_.qf=function(a,c,f){for(var g in a)c.call(f,a[g],g,a)};_.Li=function(a){var c=[],f=0,g;for(g in a)c[f++]=a[g];return c};_.Ki=function(a){var c=[],f=0,g;for(g in a)c[f++]=g;return c};_.hi=function(a,c){for(var f in a)if(a[f]==c)return!0;return!1};tf="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "); _.sf=function(a,c){for(var f,g,h=1;h(0,window.parseFloat)(Nd)){Ed=String(Vf);break a}}Ed=Nd}_.Se=Ed;Zk={};_.sl=function(a){return Oe(a,function(){return 0<=_.rk(_.Se,a)})};_.gq=function(a){return Number(_.Ue)>=a}; var Mh=_.D.document;Xg=Mh&&_.W?Pe()||("CSS1Compat"==Mh.compatMode?(0,window.parseInt)(_.Se,10):5):void 0;_.Ue=Xg; var Nf,Xo;Nf=!_.W||_.gq(9);Xo=!_.df&&!_.W||_.W&&_.gq(9)||_.df&&_.sl("1.9.1");_.ag=_.W&&!_.sl("9");_.Zn=_.W||_.cf||_.ef;_.qm=_.W&&!_.gq(9);var Us;_.ou=function(){this.C5="";this.sda=Us};_.ou.prototype.nK=!0;_.ou.prototype.cR=function(){return this.C5};_.ou.prototype.toString=function(){return"Const{"+this.C5+"}"};_.ru=function(a){return a instanceof _.ou&&a.constructor===_.ou&&a.sda===Us?a.C5:"type_error:Const"};Us={};_.Kh=function(a){var c=new _.ou;c.C5=a;return c};_.Kh(""); var WD;_.qE=function(){this.N8="";this.tda=WD};_.qE.prototype.nK=!0;_.qE.prototype.cR=function(){return this.N8};_.qE.prototype.mK=!0;_.qE.prototype.Im=function(){return 1};_.wx=function(a){if(a instanceof _.qE&&a.constructor===_.qE&&a.tda===WD)return a.N8;_.da(a);return"type_error:TrustedResourceUrl"};_.nq=function(a){return _.l_(_.ru(a))};WD={};_.l_=function(a){var c=new _.qE;c.N8=a;return c}; var vU,pu,hg;_.su=function(){this.d_="";this.rda=pu};_.su.prototype.nK=!0;_.su.prototype.cR=function(){return this.d_};_.su.prototype.mK=!0;_.su.prototype.Im=function(){return 1};_.Ls=function(a){if(a instanceof _.su&&a.constructor===_.su&&a.rda===pu)return a.d_;_.da(a);return"type_error:SafeUrl"};vU=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;_.jw=function(a){if(a instanceof _.su)return a;a=a.nK?a.cR():String(a);vU.test(a)||(a="about:invalid#zClosurez");return hg(a)}; _.Lm=function(a){if(a instanceof _.su)return a;a=a.nK?a.cR():String(a);vU.test(a)||(a="about:invalid#zClosurez");return hg(a)};pu={};hg=function(a){var c=new _.su;c.d_=a;return c};hg("about:blank"); var rm,vs,qu,aG,To,zH;_.pm=function(){this.M8="";this.qda=nm};_.pm.prototype.nK=!0;var nm={};_.pm.prototype.cR=function(){return this.M8};_.Bw=function(a){if(a instanceof _.pm&&a.constructor===_.pm&&a.qda===nm)return a.M8;_.da(a);return"type_error:SafeStyle"};_.pm.prototype.XY=function(a){this.M8=a;return this};rm=(new _.pm).XY(""); _.cp=function(a){var c="",f;for(f in a){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("e`"+f);var g=a[f];null!=g&&(g=_.ea(g)?(0,_.De)(g,vs).join(" "):vs(g),c+=f+":"+g+";")}return c?(new _.pm).XY(c):rm}; vs=function(a){if(a instanceof _.su)a='url("'+_.Ls(a).replace(/",0);_.RG=_.uf("",0);_.Pp=_.uf("
",0); _.ht=function(a,c){c=c instanceof _.su?c:_.Lm(c);a.href=_.Ls(c)};var Ff,Of,pg;_.xf=function(a){return a?new _.yf(_.zf(a)):Af||(Af=new _.yf)}; _.Cf=function(a,c,f,g){a=g||a;c=c&&"*"!=c?String(c).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(c||f))return a.querySelectorAll(c+(f?"."+f:""));if(f&&a.getElementsByClassName){a=a.getElementsByClassName(f);if(c){g={};for(var h=0,l=0,n;n=a[l];l++)c==n.nodeName&&(g[h++]=n);g.length=h;return g}return a}a=a.getElementsByTagName(c||"*");if(f){g={};for(l=h=0;n=a[l];l++)c=n.className,"function"==typeof c.split&&_.ve(c.split(/\s+/),f)&&(g[h++]=n);g.length=h;return g}return a}; _.Ef=function(a,c){_.qf(c,function(c,g){c&&c.nK&&(c=c.cR());"style"==g?a.style.cssText=c:"class"==g?a.className=c:"for"==g?a.htmlFor=c:Ff.hasOwnProperty(g)?a.setAttribute(Ff[g],c):_.jd(g,"aria-")||_.jd(g,"data-")?a.setAttribute(g,c):a[g]=c})};Ff={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; _.Mf=function(a,c){var f=String(c[0]),g=c[1];if(!Nf&&g&&(g.name||g.type)){f=["<",f];g.name&&f.push(' name="',_.He(g.name),'"');if(g.type){f.push(' type="',_.He(g.type),'"');var h={};_.sf(h,g);delete h.type;g=h}f.push(">");f=f.join("")}f=a.createElement(f);g&&(_.fa(g)?f.className=g:_.ea(g)?f.className=g.join(" "):_.Ef(f,g));21/a&&(a="-0"),c[c.length]=String(a);else if(h===vl)c[c.length]=String(!!Number(a));else{if(h===Iu)return qt(a.toISOString.call(a),f);if(h===jq&&Zi(a.length)===mk){c[c.length]="[";var l=0;for(g=Number(a.length)>>0;l>0;l=h?"\\u"+(h+65536).toString(16).substr(1):32<=h&&65535>=h?g:"\ufffd";c[c.length]='"'}else if("object"===g){c[c.length]="{";g=0;for(l in a)Object.prototype.hasOwnProperty.call(a,l)&&(h=qt(a[l],f),void 0!==h&&(g++&&(c[c.length]=","),c[c.length]=qt(l),c[c.length]=":",c[c.length]=h));c[c.length]="}"}else return}return c.join("")}};Is=/[\0-\x07\x0b\x0e-\x1f]/; Js=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*[\0-\x1f]/;AF=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\[^\\\/"bfnrtu]/;aH=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\u([0-9a-fA-F]{0,3}[^0-9a-fA-F])/;DH=/"([^\0-\x1f\\"]|\\[\\\/"bfnrt]|\\u[0-9a-fA-F]{4})*"/g;QL=/-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][-+]?[0-9]+)?/g;SL=/[ \t\n\r]+/g;bN=/[^"]:/;aR=/""/g;CR=/true|false|null/g;DR=/00/;ES=/[\{]([^0\}]|0[^:])/;KT=/(^|\[)[,:]|[,:](\]|\}|[,:]|$)/;xU=/[^\[,:][\[\{]/;pV=/^(\{|\}|\[|\]|,|:|0)+/;vW=/\u2028/g; KX=/\u2029/g; me=function(a){a=String(a);if(Is.test(a)||Js.test(a)||AF.test(a)||aH.test(a))return!1;var c=a.replace(DH,'""');c=c.replace(QL,"0");c=c.replace(SL,"");if(bN.test(c))return!1;c=c.replace(aR,"0");c=c.replace(CR,"0");if(DR.test(c)||ES.test(c)||KT.test(c)||xU.test(c)||!c||(c=c.replace(pV,"")))return!1;a=a.replace(vW,"\\u2028").replace(KX,"\\u2029");c=void 0;try{c=aj?[yu(a)]:eval("(function (var_args) {\n return Array.prototype.slice.call(arguments, 0);\n})(\n"+a+"\n)")}catch(f){return!1}return c&&1=== c.length?c[0]:!1};SE=function(){var a=((_.D.document||{}).scripts||[]).length;if((void 0===Qe||void 0===aj||af!==a)&&-1!==af){Qe=aj=!1;af=-1;try{try{aj=!!_.D.JSON&&'{"a":[3,true,"1970-01-01T00:00:00.000Z"]}'===_.D.JSON.stringify.call(_.D.JSON,{a:[3,!0,new Date(0)],c:function(){}})&&!0===yu("true")&&3===yu('[{"a":3}]')[0].a}catch(c){}Qe=aj&&!yu("[00]")&&!yu('"\u0007"')&&!yu('"\\0"')&&!yu('"\\v"')}finally{af=a}}};_.of=function(a){if(-1===af)return!1;SE();return(Qe?yu:me)(a)}; _.mf=function(a){if(-1!==af)return SE(),aj?_.D.JSON.stringify.call(_.D.JSON,a):qt(a)};qy=!Date.prototype.toISOString||"function"!==typeof Date.prototype.toISOString||"1970-01-01T00:00:00.000Z"!==(new Date(0)).toISOString(); QA=function(){var a=Date.prototype.getUTCFullYear.call(this);return[0>a?"-"+String(1E6-a).substr(1):9999>=a?String(1E4+a).substr(1):"+"+String(1E6+a).substr(1),"-",String(101+Date.prototype.getUTCMonth.call(this)).substr(1),"-",String(100+Date.prototype.getUTCDate.call(this)).substr(1),"T",String(100+Date.prototype.getUTCHours.call(this)).substr(1),":",String(100+Date.prototype.getUTCMinutes.call(this)).substr(1),":",String(100+Date.prototype.getUTCSeconds.call(this)).substr(1),".",String(1E3+Date.prototype.getUTCMilliseconds.call(this)).substr(1), "Z"].join("")};Date.prototype.toISOString=qy?QA:Date.prototype.toISOString; _.Ci=function(a,c){return _.fa(c)?a.getElementById(c):c};_.ma=function(a,c){var f=Array.prototype.slice.call(arguments,1);return function(){var c=f.slice();c.push.apply(c,arguments);return a.apply(this,c)}};_.ue=function(a,c){a:{for(var f=a.length,g=_.fa(a)?a.split(""):a,h=0;hc?null:_.fa(a)?a.charAt(c):a[c]}; _.Zf=function(a,c){if("textContent"in a)a.textContent=c;else if(3==a.nodeType)a.data=String(c);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(c)}else _.Qf(a),a.appendChild(_.zf(a).createTextNode(String(c)))};_.ih=[];_.kh=[];_.jh=!1;_.hh=function(a){_.ih[_.ih.length]=a;if(_.jh)for(var c=0;c<_.kh.length;c++)a((0,_.H)(_.kh[c].wrap,_.kh[c]))}; var lo;_.yf.prototype.Kb=_.d(1,function(a){return _.Ci(this.wc,a)});_.fh=function(a,c){a=a.split(".");c=c||_.D;for(var f=0;f=a.keyCode)a.keyCode=-1}catch(c){}}; var Lh;_.cC="closure_listenable_"+(1E6*Math.random()|0);_.wB=function(a){return!(!a||!a[_.cC])};Lh=0;var oh=function(a,c,f,g,h){this.listener=a;this.f5=null;this.src=c;this.type=f;this.capture=!!g;this.Tc=h;this.key=++Lh;this.gR=this.If=!1},hs=function(a){a.gR=!0;a.listener=null;a.f5=null;a.src=null;a.Tc=null};var ts=function(a){this.src=a;this.Wq={};this.i3=0};ts.prototype.add=function(a,c,f,g,h){var l=a.toString();a=this.Wq[l];a||(a=this.Wq[l]=[],this.i3++);var n=zs(a,c,g,h);-1f.keyCode||void 0!=f.returnValue)){a:{var h=!1;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(n){h=!0}if(h||void 0==f.returnValue)f.returnValue=!0}f=[];for(h=c.currentTarget;h;h=h.parentNode)f.push(h);a=a.type;for(h=f.length-1;!c.Ad&&0<=h;h--){c.currentTarget=f[h];var l=Fh(f[h],a,!0,c);g=g&&l}for(h=0;!c.Ad&&h>>0);_.tl=function(a){if(_.vd(a))return a;a[lC]||(a[lC]=function(c){return a.handleEvent(c)});return a[lC]};_.hh(function(a){xh=a(xh)}); _.Hh=function(){_.dh.call(this);this.zY=new ts(this);this.vda=this;this.z8=null};_.J(_.Hh,_.dh);_.Hh.prototype[_.cC]=!0;_.k=_.Hh.prototype;_.k.KR=function(){return this.z8};_.k.tj=_.b(5);_.k.addEventListener=function(a,c,f,g){_.ph(this,a,c,f,g)};_.k.removeEventListener=function(a,c,f,g){_.Ah(this,a,c,f,g)}; _.k.dispatchEvent=function(a){var c,f=this.KR();if(f)for(c=[];f;f=f.KR())c.push(f);f=this.vda;var g=a.type||a;if(_.fa(a))a=new _.mh(a,f);else if(a instanceof _.mh)a.target=a.target||f;else{var h=a;a=new _.mh(g,f);_.sf(a,h)}h=!0;if(c)for(var l=c.length-1;!a.Ad&&0<=l;l--){var n=a.currentTarget=c[l];h=n.ef(g,!0,a)&&h}a.Ad||(n=a.currentTarget=f,h=n.ef(g,!0,a)&&h,a.Ad||(h=n.ef(g,!1,a)&&h));if(c)for(l=0;!a.Ad&&lthis.M4&&(this.M4++,a.next=this.p4,this.p4=a)}; var tp,$o,ep,Yo;tp=function(a){_.D.setTimeout(function(){throw a;},0)};_.qk=function(a){a=Yo(a);!_.vd(_.D.setImmediate)||_.D.Window&&_.D.Window.prototype&&!_.pf("Edge")&&_.D.Window.prototype.setImmediate==_.D.setImmediate?($o||($o=ep()),$o(a)):_.D.setImmediate(a)}; ep=function(){var a=_.D.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!_.pf("Presto")&&(a=function(){var a=window.document.createElement("IFRAME");a.style.display="none";a.src="";window.document.documentElement.appendChild(a);var c=a.contentWindow;a=c.document;a.open();a.write("");a.close();var f="callImmediate"+Math.random(),g="file:"==c.location.protocol?"*":c.location.protocol+"//"+c.location.host;a=(0,_.H)(function(a){if(("*"== g||a.origin==g)&&a.data==f)this.port1.onmessage()},this);c.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){c.postMessage(f,g)}}});if("undefined"!==typeof a&&!_.B()){var c=new a,f={},g=f;c.port1.onmessage=function(){if(_.kf(f.next)){f=f.next;var a=f.cb;f.cb=null;a()}};return function(a){g.next={cb:a};g=g.next;c.port2.postMessage(0)}}return"undefined"!==typeof window.document&&"onreadystatechange"in window.document.createElement("SCRIPT")?function(a){var c=window.document.createElement("SCRIPT"); c.onreadystatechange=function(){c.onreadystatechange=null;c.parentNode.removeChild(c);c=null;a();a=null};window.document.documentElement.appendChild(c)}:function(a){_.D.setTimeout(a,0)}};Yo=_.vC;_.hh(function(a){Yo=a}); var LD=function(){this.N5=this.Y0=null},xE=new hD(function(){return new uE},function(a){a.reset()});LD.prototype.add=function(a,c){var f=xE.get();f.set(a,c);this.N5?this.N5.next=f:this.Y0=f;this.N5=f};LD.prototype.remove=function(){var a=null;this.Y0&&(a=this.Y0,this.Y0=this.Y0.next,this.Y0||(this.N5=null),a.next=null);return a};var uE=function(){this.next=this.scope=this.Ip=null};uE.prototype.set=function(a,c){this.Ip=a;this.scope=c;this.next=null}; uE.prototype.reset=function(){this.next=this.scope=this.Ip=null}; var um,Pm,up,Lp,Ap;_.Qp=function(a,c){um||Pm();up||(um(),up=!0);Lp.add(a,c)};Pm=function(){if(-1!=String(_.D.Promise).indexOf("[native code]")){var a=_.D.Promise.resolve(void 0);um=function(){a.then(Ap)}}else um=function(){_.qk(Ap)}};up=!1;Lp=new LD;Ap=function(){for(var a;a=Lp.remove();){try{a.Ip.call(a.scope)}catch(c){tp(c)}xE.put(a)}up=!1}; _.Rp=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0};_.Wp=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(c){return!1}};var Xq,Bs,Mq;_.C=function(a,c){this.ub=0;this.rW=void 0;this.B_=this.iY=this.Vb=null;this.j4=this.Q6=!1;if(a!=_.gh)try{var f=this;a.call(c,function(a){hq(f,2,a)},function(a){hq(f,3,a)})}catch(g){hq(this,3,g)}};Xq=function(){this.next=this.context=this.o0=this.r2=this.xZ=null;this.b1=!1};Xq.prototype.reset=function(){this.context=this.o0=this.r2=this.xZ=null;this.b1=!1};Bs=new hD(function(){return new Xq},function(a){a.reset()});_.Dt=function(a,c,f){var g=Bs.get();g.r2=a;g.o0=c;g.context=f;return g}; _.Nu=function(a){if(a instanceof _.C)return a;var c=new _.C(_.gh);hq(c,2,a);return c};_.$H=function(a){return new _.C(function(c,f){f(a)})};_.dq=function(a,c,f){Vp(a,c,f,null)||_.Qp(_.ma(c,a))};_.Su=function(){var a,c,f=new _.C(function(f,h){a=f;c=h});return new Bp(f,a,c)};_.C.prototype.then=function(a,c,f){return _.uq(this,_.vd(a)?a:null,_.vd(c)?c:null,f)};_.Rp(_.C);_.C.prototype.r9=_.b(6);_.C.prototype.cancel=function(a){0==this.ub&&_.Qp(function(){var c=new tq(a);Mq(this,c)},this)}; Mq=function(a,c){if(0==a.ub)if(a.Vb){var f=a.Vb;if(f.iY){for(var g=0,h=null,l=null,n=f.iY;n&&(n.b1||(g++,n.xZ==a&&(h=n),!(h&&1h)c[g++]=String.fromCharCode(h);else if(191h){var l=a[f++];c[g++]=String.fromCharCode((h&31)<<6|l&63)}else if(239h){l=a[f++];var n=a[f++],q=a[f++];h=((h&7)<<18|(l&63)<<12|(n&63)<<6|q&63)-65536;c[g++]=String.fromCharCode(55296+(h>>10));c[g++]=String.fromCharCode(56320+(h&1023))}else l=a[f++],n=a[f++],c[g++]=String.fromCharCode((h&15)<<12|(l&63)<<6|n&63)}return c.join("")}; var tv,ch,Cx,vi;tv=null;ch=null;Cx=null;_.Bv=_.df||_.ef&&!_.vx||_.cf||!_.vx&&!_.W&&"function"==typeof _.D.atob;_.aB=function(a,c){vi();c=c?Cx:tv;for(var f=[],g=0;g>2;h=(h&3)<<4|n>>4;n=(n&15)<<2|t>>6;t&=63;q||(t=64,l||(n=64));f.push(c[v],c[h],c[n],c[t])}return f.join("")}; _.nw=function(a,c){function f(c){for(;g>4);64!=n&&(c(l<<4&240|n>>2),64!=q&&c(n<<6&192|q))}}; vi=function(){if(!tv){tv={};ch={};Cx={};for(var a=0;65>a;a++)tv[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),ch[tv[a]]=a,Cx[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(ch["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}}; var Hb;Hb={};_.au=function(a){return Hb[a||"token"]||null};_.RF=function(a,c){Hb[c||"token"]=a};_.Kb=function(a){delete Hb[a||"token"]}; var wb=function(){this.fY=-1};_.xb=function(){this.fY=64;this.Ej=[];this.i6=[];this.uda=[];this.V4=[];this.V4[0]=128;for(var a=1;ah;h++)g[h]=c.charCodeAt(f)<<24|c.charCodeAt(f+1)<<16|c.charCodeAt(f+2)<<8|c.charCodeAt(f+3),f+=4;else for(h=0;16>h;h++)g[h]=c[f]<<24|c[f+1]<<16|c[f+2]<<8|c[f+3],f+=4;for(h=16;80>h;h++){var l=g[h-3]^g[h-8]^g[h-14]^g[h-16];g[h]=(l<<1|l>>>31)&4294967295}c=a.Ej[0];f=a.Ej[1];var n=a.Ej[2],q=a.Ej[3],t=a.Ej[4];for(h=0;80>h;h++){if(40>h)if(20>h){l=q^f&(n^q);var v=1518500249}else l=f^n^q,v=1859775393;else 60>h?(l=f&n|q&(f|n),v=2400959708): (l=f^n^q,v=3395469782);l=(c<<5|c>>>27)+l+t+v+g[h]&4294967295;t=q;q=n;n=(f<<30|f>>>2)&4294967295;f=c;c=l}a.Ej[0]=a.Ej[0]+c&4294967295;a.Ej[1]=a.Ej[1]+f&4294967295;a.Ej[2]=a.Ej[2]+n&4294967295;a.Ej[3]=a.Ej[3]+q&4294967295;a.Ej[4]=a.Ej[4]+t&4294967295}; _.xb.prototype.update=function(a,c){if(null!=a){_.kf(c)||(c=a.length);for(var f=c-this.fY,g=0,h=this.i6,l=this.b0;gthis.b0?this.update(this.V4,56-this.b0):this.update(this.V4,this.fY-(this.b0-56));for(var f=this.fY-1;56<=f;f--)this.i6[f]=c&255,c/=256;Cm(this,this.i6);for(f=c=0;5>f;f++)for(var g=24;0<=g;g-=8)a[c]=this.Ej[f]>>g&255,++c;return a}; var dp;_.bp=function(a){this.wc=a||{cookie:""}};_.k=_.bp.prototype;_.k.isEnabled=function(){return window.navigator.cookieEnabled};_.k.set=function(a,c,f,g,h,l){if(/[;=\s]/.test(a))throw Error("O`"+a);if(/[;\r\n]/.test(c))throw Error("aa`"+c);_.kf(f)||(f=-1);h=h?";domain="+h:"";g=g?";path="+g:"";l=l?";secure":"";f=0>f?"":0==f?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,_.pa)()+1E3*f)).toUTCString();this.wc.cookie=a+"="+c+h+g+f+l}; _.k.get=function(a,c){for(var f=a+"=",g=(this.wc.cookie||"").split(";"),h=0,l;hf_(this.hg[a],c)&&this.hg[a].push(c)}; BF.prototype.removeEventListener=function(a,c){if(!(0<=f_(this.b$,a)))throw"Unrecognized event type: "+a;s_(c)&&this.hg[a]&&this.hg[a].length&&(c=f_(this.hg[a],c),0<=c&&this.hg[a].splice(c,1))};BF.prototype.dispatchEvent=function(a){var c=a.type;if(!(c&&0<=f_(this.b$,c)))throw"Failed to dispatch unrecognized event type: "+c;if(this.hg[c]&&this.hg[c].length)for(var f=0,g=this.hg[c].length;ff;f+=4)c[f/4]=a[f]<<24|a[f+1]<<16|a[f+2]<<8|a[f+3];for(f=16;80>f;f++)a=c[f-3]^c[f-8]^c[f-14]^c[f-16],c[f]=(a<<1|a>>>31)&4294967295;a=h[0];var g=h[1],l=h[2],q=h[3],t=h[4];for(f=0;80>f;f++){if(40>f)if(20>f){var v=q^g&(l^q);var w=1518500249}else v=g^l^q,w=1859775393;else 60>f?(v=g&l|q&(g|l),w=2400959708):(v=g^l^q,w=3395469782);v=((a<<5|a>>>27)&4294967295)+ v+t+w+c[f]&4294967295;t=q;q=l;l=(g<<30|g>>>2)&4294967295;g=a;a=v}h[0]=h[0]+a&4294967295;h[1]=h[1]+g&4294967295;h[2]=h[2]+l&4294967295;h[3]=h[3]+q&4294967295;h[4]=h[4]+t&4294967295}function f(a,f){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var g=[],h=0,n=a.length;hv?f(q,56-v):f(q,64-(v-56));for(var n=63;56<=n;n--)l[n]=g&255,g>>>=8;c(l);for(n=g=0;5>n;n++)for(var t=24;0<=t;t-=8)a[g++]=h[n]>>t&255;return a}for(var h=[],l=[],n=[],q=[128],t=1;64>t;++t)q[t]=0;var v,w;a();return{reset:a,update:f,digest:g,Of:function(){for(var a=g(),c="",f=0;ff.indexOf("chrome/")&&0>f.indexOf("crios/")&&0>f.indexOf("android"))){d_("Messages from a popup window are not allowed for this browser.");return}f=CF.Pja(a.origin)}else f=CF.TS(a);if(f){try{var g=_.l0.parse(a.data)}catch(h){d_("Bad event, an error happened when parsing data.");return}if(!c){if(!g||!g.rpcToken||g.rpcToken!=f.y0){d_("Bad event, no RPC token."); return}if(g.id&&!g.method){c=g;if(a=f.PU[c.id])delete f.PU[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=g.method?d_("Bad IDP event, method unknown."):(a=g.params)&&a.type&&this.Kaa[a.type]?(g=this.Kaa[a.type],c&&!g.Oja?d_("Bad IDP event. Source window cannot be a popup."):g.Us&&!g.Us.call(this,f,a)?d_("Bad IDP event."):g.Tc.call(this,f,a)):d_("Bad IDP event.")}else d_("Bad event, no corresponding Idp Stub.")};_.k.iT=function(a,c){return UX(this,a.Rd,c.clientId)}; _.k.hT=function(a,c){c=c.clientId;return!c||UX(this,a.Rd,c)};_.k.RS=function(a,c){return UX(this,a.Rd,c.clientId)};_.k.cT=function(a){a.A7=!0;Qu(a);for(var c=0;cf_(f.VY[a],c)&&f.VY[a].push(c));l()}else h.iQ={error:"Not a valid origin for the client: "+h.Db+" has not been whitelisted for client ID "+ h.$k+". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},h.RV=!0,h.fka(h.iQ)}):(gN(h.Rd),l())})};q_(j0,BF);j0.prototype.setOptions=function(){};j0.prototype.cca=function(){};j0.prototype.fka=function(){};j0.prototype.vY=function(){return this.iQ};np=function(a,c,f){return function(){c.apply(a,f)}};_.gr=function(a,c,f){if(a.G7)c.apply(a,f);else{if(a.RV)throw a.iQ;a.F_.push(np(a,c,f))}}; _.YX=function(a,c){j0.call(this,a,c);this.kga=new QD;this.S8=this.ija=null;X2(this)};q_(_.YX,j0);_.YX.prototype.setOptions=function(){}; var MJ=function(a,c){a.Cs={crossSubDomains:!!c.crossSubDomains,id:c.sessionSelectorId,domain:a.Ix};c.crossSubDomains&&(a.Cs.policy=c.policy)},TJ=function(a,c){if(!c.authParameters)throw Error("Ja");if(!c.authParameters.scope)throw Error("Ka");if(!c.authParameters.response_type)throw Error("ma");a.bY=c.authParameters;a.bY.redirect_uri||(a.bY.redirect_uri=[window.location.protocol,"//",window.location.host,window.location.pathname].join(""));a.x0=c.rpcAuthParameters||a.bY;if(!a.x0.scope)throw Error("Qa"); if(!a.x0.response_type)throw Error("mb");a:{var f=a.x0.response_type.split(" ");for(var g=0,h=f.length;gc;return c},Q1=function(a,c,f,g,h,l){var n=_.zI(a,"authServerUrl");if(!n)throw Error("ka`"+a);a=_.A_(g);a.response_type=l||"permission";a.client_id=f;a.ss_domain=c;if(h&&h.extraQueryParams)for(var q in h.extraQueryParams)a[q]=h.extraQueryParams[q];c=n+(0> n.indexOf("?")?"?":"&");f=[];for(var t in a)if(a.hasOwnProperty(t)){h=a[t];if(null===h||void 0===h)h="";f.push((0,window.encodeURIComponent)(t)+"="+(0,window.encodeURIComponent)(h))}return c+f.join("&")},SF=function(a,c,f,g){if(!a.$k)throw Error("ob");a.X4=f||a.Hda||"auth"+Math.floor(1E6*Math.random()+1);c=c||{};c.extraQueryParams=c.extraQueryParams||{};if(!c.extraQueryParams.redirect_uri){var h=a.Db.split("//");f=c.extraQueryParams;var l=h[0],n=l.indexOf(":");0this.bT){var c=this.pB;a=this.bT;this.pB="";this.bT=1;a=Math.max(0,a);if(!this.pT){c=this.oT+c;var f=new _.xb;f.update(c);c=String.fromCharCode.apply(String,f.digest());this.kT+=a;this.kT>=this.bT?(f.reset(),f.update("SEED_SALT:"+c+this.pB),this.pB=String.fromCharCode.apply(String,f.digest()),this.oT="",this.kT=0):this.oT=c}}};_.k=N1.prototype;_.k.pT=!1;_.k.pB="";_.k.oT="";_.k.kT=0;_.k.bT=-1; var U1=function(a){var c=S1,f=[];if(c.pT)a=new window.Uint8Array(Math.min(65536,a||1)),(window.crypto||window.msCrypto).getRandomValues(a),f=[].slice.call(a);else{if(0>c.bT||0==c.pB.length)throw new T1;var g=new _.xb;g.update("RANDOM_SALT:"+c.pB);var h=g.digest();null!==h&&(g.reset(),g.update("SEED_SALT:"+c.pB),c.pB=String.fromCharCode.apply(String,g.digest()),f=h.slice(0,a||h.length))}return f},T1=function(){};_.J(T1,Error);T1.prototype.name="Insufficient Entropy"; _.l0={parse:function(a){a=_.of("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.mf(a)}};_.aK.prototype.S3=function(a,c){_.gr(this,this.C8,[a,c])};_.aK.prototype.C8=function(a,c){this.Rx.S3(this.$k,a,this.x0,this.Cs,c)};_.MI.prototype.S3=function(a,c,f,g,h){f=_.A_(f);_.BX(this,"gsi:fetchLoginHint",{clientId:a,loginHint:c,request:f,sessionSelector:g},h)};var pF,kZ=["client_id","cookie_policy","scope"],GN="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint app_package_name ux_mode redirect_uri state prompt oidc_spec_compliant nonce include_granted_scopes response_type gsiwebsdk".split(" "),iw=["authuser","after_redirect","access_type","hl"],EB=["app_package_name","login_hint","prompt"],wW={clientid:"client_id",cookiepolicy:"cookie_policy"},UD="approval_prompt app_package_name authuser login_hint prompt hd".split(" "), WF=["login_hint","g-oauth-window","status"],nY=Math.min(_.P("oauth-flow/authWindowWidth",599),window.screen.width-20),oY=Math.min(_.P("oauth-flow/authWindowHeight",600),window.screen.height-30); var uO=function(a){_.se.call(this,a)};_.J(uO,_.se);uO.prototype.name="gapi.auth2.ExternallyVisibleError";var cm=function(){};cm.prototype.select=function(a,c){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){c(a);return}c()};var KW=function(a){this.Uka=a};KW.prototype.select=function(a,c){if(a.sessions)for(var f=0;fa.length&&128>c;)a.push.apply(a,U1(64-a.length)),c++;if(64>a.length)throw new T1;var f=a.slice(0,64)}catch(g){for(f=[],a=0;64>a;a++)f[a]=Math.floor(256*Math.random())}return _.aB(f,!0).substring(0,64)}; var vm=function(a){var c=a||{},f=km();(0,_.Be)(GN,function(a){"undefined"===typeof c[a]&&"undefined"!==typeof f[a]&&(c[a]=f[a])});return c},km=function(){for(var a={},c=window.document.getElementsByTagName("meta"),f=0;fc.indexOf(f)&&delete a[f];return a},Nm=function(a,c){if(!a)throw new uO("Empty initial options.");for(var f=0;f