try{
H("sy96");var MP=function(a,b){this.Ab=a|0;this.Sa=b|0},ebc={},dbc=function(a){if(-128<=a&&128>a){var b=ebc[a];if(b)return b}b=new MP(a|0,0>a?-1:0);-128<=a&&128>a&&(ebc[a]=b);return b},NP=function(a){return isNaN(a)||!isFinite(a)?OP:a<=-fbc?PP:a+1>=fbc?gbc:0>a?QP(NP(-a)):new MP(a%4294967296|0,a/4294967296|0)},hbc=function(a,b){if(0==a.length)throw Error("me");var c=b||10;if(2>c||36<c)throw Error("ne`"+c);if("-"==a.charAt(0))return QP(hbc(a.substring(1),c));if(0<=a.indexOf("-"))throw Error("oe`"+a);for(var d=
NP(Math.pow(c,8)),f=OP,h=0;h<a.length;h+=8){var k=Math.min(8,a.length-h),m=parseInt(a.substring(h,h+k),c);8>k?(k=NP(Math.pow(c,k)),f=RP(f,k).add(NP(m))):(f=RP(f,d),f=f.add(NP(m)))}return f},fbc=4294967296*4294967296/2,OP=dbc(0),jbc=dbc(1),Abc=dbc(-1),gbc=new MP(-1,2147483647),PP=new MP(0,-2147483648),lbc=dbc(16777216);
MP.prototype.toString=function(a){a=a||10;if(2>a||36<a)throw Error("ne`"+a);if(SP(this))return"0";if(0>this.Sa){if(this.equals(PP)){var b=NP(a),c=bze(this,b),b=kbc(RP(c,b),this);return c.toString(a)+b.Ab.toString(a)}return"-"+QP(this).toString(a)}for(var c=NP(Math.pow(a,6)),b=this,d="";;){var f=bze(b,c),h=kbc(b,RP(f,c)).Ab.toString(a),b=f;if(SP(b))return h+d;for(;6>h.length;)h="0"+h;d=""+h+d}};var ibc=function(a){return 0<=a.Ab?a.Ab:4294967296+a.Ab},SP=function(a){return 0==a.Sa&&0==a.Ab};
MP.prototype.equals=function(a){return this.Sa==a.Sa&&this.Ab==a.Ab};var cze=function(a,b){if(a.equals(b))return 0;var c=0>a.Sa,d=0>b.Sa;return c&&!d?-1:!c&&d?1:0>kbc(a,b).Sa?-1:1},QP=function(a){return a.equals(PP)?PP:(new MP(~a.Ab,~a.Sa)).add(jbc)};
MP.prototype.add=function(a){var b=this.Sa>>>16,c=this.Sa&65535,d=this.Ab>>>16,f=a.Sa>>>16,h=a.Sa&65535,k=a.Ab>>>16,m;m=0+((this.Ab&65535)+(a.Ab&65535));a=0+(m>>>16);a+=d+k;d=0+(a>>>16);d+=c+h;c=0+(d>>>16);c=c+(b+f)&65535;return new MP((a&65535)<<16|m&65535,c<<16|d&65535)};
var kbc=function(a,b){return a.add(QP(b))},RP=function(a,b){if(SP(a)||SP(b))return OP;if(a.equals(PP))return 1==(b.Ab&1)?PP:OP;if(b.equals(PP))return 1==(a.Ab&1)?PP:OP;if(0>a.Sa)return 0>b.Sa?RP(QP(a),QP(b)):QP(RP(QP(a),b));if(0>b.Sa)return QP(RP(a,QP(b)));if(0>cze(a,lbc)&&0>cze(b,lbc))return NP((4294967296*a.Sa+ibc(a))*(4294967296*b.Sa+ibc(b)));var c=a.Sa>>>16,d=a.Sa&65535,f=a.Ab>>>16,h=a.Ab&65535,k=b.Sa>>>16,m=b.Sa&65535,p=b.Ab>>>16,u=b.Ab&65535,z,F,M,X;X=0+h*u;M=0+(X>>>16);M+=f*u;F=0+(M>>>16);
M=(M&65535)+h*p;F+=M>>>16;M&=65535;F+=d*u;z=0+(F>>>16);F=(F&65535)+f*p;z+=F>>>16;F&=65535;F+=h*m;z+=F>>>16;F&=65535;z=z+(c*u+d*p+f*m+h*k)&65535;return new MP(M<<16|X&65535,z<<16|F)},bze=function(a,b){if(SP(b))throw Error("pe");if(SP(a))return OP;if(a.equals(PP)){if(b.equals(jbc)||b.equals(Abc))return PP;if(b.equals(PP))return jbc;var c;c=1;if(0==c)c=a;else{var d=a.Sa;c=32>c?new MP(a.Ab>>>c|d<<32-c,d>>c):new MP(d>>c-32,0<=d?0:-1)}c=bze(c,b);d=1;if(0!=d){var f=c.Ab;c=32>d?new MP(f<<d,c.Sa<<d|f>>>32-
d):new MP(0,f<<d-32)}if(c.equals(OP))return 0>b.Sa?jbc:Abc;d=kbc(a,RP(b,c));return c.add(bze(d,b))}if(b.equals(PP))return OP;if(0>a.Sa)return 0>b.Sa?bze(QP(a),QP(b)):QP(bze(QP(a),b));if(0>b.Sa)return QP(bze(a,QP(b)));f=OP;for(d=a;0<=cze(d,b);){c=Math.max(1,Math.floor((4294967296*d.Sa+ibc(d))/(4294967296*b.Sa+ibc(b))));for(var h=Math.ceil(Math.log(c)/Math.LN2),h=48>=h?1:Math.pow(2,h-48),k=NP(c),m=RP(k,b);0>m.Sa||0<cze(m,d);)c-=h,k=NP(c),m=RP(k,b);SP(k)&&(k=jbc);f=f.add(k);d=kbc(d,m)}return f};

G("sy96");I();
}catch(e){_DumpException(e)}
try{
var uTa=function(a,b){return Raa(a.Sa,function(a){return a.getName()==b})||null},E4b={1:"NativeMessagingTransport",2:"FrameElementMethodTransport",3:"IframeRelayTransport",4:"IframePollingTransport",5:"FlashTransport",6:"NixTransport",7:"DirectTransport"},Fn=function(a){kd.call(this);this.wb=a||jc()};t(Fn,kd);Fn.prototype.OEc=0;Fn.prototype.Ra=function(){return this.OEc};Fn.prototype.getWindow=function(){return this.wb.getWindow()};Fn.prototype.getName=function(){return E4b[String(this.OEc)]||""};
var fec=function(a,b){Fn.call(this,b);this.Sa=a;this.Ab=a.at||"";this.mL=a.rat||"";var c=this.getWindow();if(!c.nix_setup_complete)try{c.execScript("Class GCXPC____NIXVBS_wrapper\n Private m_Transport\nPrivate m_Auth\nPublic Sub SetTransport(transport)\nIf isEmpty(m_Transport) Then\nSet m_Transport = transport\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\nIf isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\nPublic Sub SendMessage(service, payload)\n Call m_Transport.GCXPC____NIXJS_handle_message(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call m_Transport.GCXPC____NIXJS_create_channel(channel)\nEnd Sub\nPublic Sub GCXPC____NIXVBS_container()\n End Sub\nEnd Class\n Function GCXPC____NIXVBS_get_wrapper(transport, auth)\nDim wrap\nSet wrap = New GCXPC____NIXVBS_wrapper\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet GCXPC____NIXVBS_get_wrapper = wrap\nEnd Function",
"vbscript"),c.nix_setup_complete=!0}catch(d){}this.GCXPC____NIXJS_handle_message=this.Zad;this.GCXPC____NIXJS_create_channel=this.Yad};t(fec,Fn);q=fec.prototype;q.OEc=6;q.JLc=!1;q.JIc=null;q.Nqb=function(){0==this.Sa.pI()?this.d5c():this.p2c()};q.d5c=function(){if(!this.JLc){var a=this.Sa.DLc;try{var b=this.getWindow().GCXPC____NIXVBS_get_wrapper;a.contentWindow.opener=b(this,this.Ab);this.JLc=!0}catch(c){}this.JLc||this.getWindow().setTimeout(Lp(this.d5c,this),100)}};
q.p2c=function(){if(!this.JLc){try{var a=this.getWindow().opener;if(a&&"GCXPC____NIXVBS_container"in a){this.JIc=a;if(this.JIc.GetAuthToken()!=this.mL)return;var b=this.getWindow().GCXPC____NIXVBS_get_wrapper;this.JIc.CreateChannel(b(this,this.Ab));this.JLc=!0;Dec(this.Sa)}}catch(c){return}this.JLc||this.getWindow().setTimeout(Lp(this.p2c,this),100)}};q.Yad=function(a){this.JIc=a;this.JIc.GetAuthToken()==this.mL&&Dec(this.Sa)};
q.Zad=function(a,b){this.getWindow().setTimeout(Lp(function(){this.Sa.mL(a,b)},this),1)};q.send=function(a,b){this.JIc.SendMessage(a,b)};q.qb=function(){fec.ya.qb.call(this);this.JIc=null};var Lqc=function(a){for(var b="";0<a--;)b+="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(Math.floor(62*Math.random()));return b},zo={},suc=["pu","lru","pru","lpu","ppu"];H("sy92");
new Ld;var cKc=function(){};var oKc=function(){qA.call(this)},kYb;t(oKc,qA);var XKc=function(){qA.call(this)},nYb;t(XKc,qA);q=XKc.prototype;q.getOrigin=function(){return sA(this,1)};q.Au=function(){return sA(this,2)};q.Lha=function(){return rA(this,2)};q.Gf=function(){return sA(this,3)};q.bu=function(a){uA(this,3,a)};
oKc.prototype.qy=function(){kYb||(kYb=Yx(oKc,{0:{name:"BrowserChannelConfig",Jj:"buzz.channel.proto.BrowserChannelConfig"},1:{name:"authuser",Nd:4,type:Number},2:{name:"client_type",Nd:9,type:String},3:{name:"init_delay_ms",Nd:5,type:Number},4:{name:"service_override",Nd:9,type:String},5:{name:"gapi_src",Nd:9,type:String},6:{name:"property_id",Nd:9,type:String},7:{name:"application_version",Nd:9,type:String},8:{name:"retry_on_auth_error",Nd:8,type:Boolean},9:{name:"gsid_servlet_path",Nd:9,type:String}}));
return kYb};oKc.ctor=oKc;oKc.ctor.qy=oKc.prototype.qy;XKc.prototype.qy=function(){nYb||(nYb=Yx(XKc,{0:{name:"AuthenticationParameters",Jj:"buzz.channel.proto.AuthenticationParameters"},1:{name:"origin",Nd:9,type:String},2:{name:"scheme",Nd:5,type:Number},3:{name:"token",Nd:9,type:String},4:{name:"authuser",Nd:13,type:Number}}));return nYb};XKc.ctor=XKc;XKc.ctor.qy=XKc.prototype.qy;
var RRe={APISIDHASH:1,SAPISIDHASH:2,OAuth:3};var qTa=function(a,b,c){this.mL=b;this.$b=c;this.Qb=a;this.reset()};qTa.prototype.reset=function(){this.Sa=this.mL;this.Ab=!1};var rTa=function(a){var b=0;if(a.Ab){var b=Math.ceil(a.Qb()*a.Sa),c=a.mL*a.$b;a.Sa<=c&&(a.Sa*=2,a.Sa>c&&(a.Sa=c))}a.Ab=!0;return b};
var wLc=null;var QLc=function(a,b){var c=new Af(a),d=c.Tf();if("client-channel.google.com"==d){var f;if(!wLc){try{f=!!ha.chrome.loadTimes().wasFetchedViaSpdy}catch(h){f=!1}f?wLc="0":(f=parseInt(Pv.get("llbcs","-1"),10),isNaN(f)&&(f=-1),f=((f+1)%30).toString(),Pv.set("llbcs",f,-1,"/",void 0,!1),wLc=f)}(f=wLc)&&c.Zy(f+"."+d)}this.Qb=c;this.Ab=0;this.mL=b;this.Sa=null};
var eVa=function(){};eVa.prototype.Yj=function(a){for(var b=a.qy(),c=this.Sa()[b.getName()],d=tTa(b),f=0;f<d.length;++f);for(var h in c)for(var d=c[h],k=uTa(b,h),f=0;f<d.length;++f){if(!d[f](k,a))return!1;for(var m=0;m<jVb(a,k.Sa);++m){var p=a.get(k,m);if(p instanceof qA&&!this.Yj(p))return!1}}return!0};eVa.prototype.required=function(a,b){return b.has(a)};eVa.prototype.Ab=function(a,b,c){return!c.has(b)||c.get(b)>=a};eVa.prototype.mL=function(a,b){return!b.has(a)||""!=b.get(a)};
var dMc=function(){var a=function(){return!0},b=Lp(this.required,this),c=Lp(this.Ab,this,0),d=Lp(this.mL,this);this.Qb={Version:{major_version:[b,c],minor_version:[b,c]},ProtocolVersion:{version:[b]},ClientVersion:{version:[b],platform:[b],language:[b,d],application_info:[b,d]},ClientToServerMessage:{header:[b],init_endpoint_message:[a],init_session_message:[a],client_data_message_deprecated:[a],send_on_disconnect_message:[a],close_session_message:[a]},ClientHeader:{protocol_version:[b],client_version:[b],
client_time_ms:[b],max_known_server_time_ms:[b],message_id:[a]},SessionId:{service_name:[b,d],session_name:[a]},InitEndpointMessage:{},InitSessionMessage:{session_id:[b]},CloseSessionMessage:{session_id:[b]},SessionStatusMessage:{session_id:[b],address:[a,d],is_broadcast_to_user:[a],status:[a]},DataMessage:{session_id:[b],message:[b,d]},ServerToClientMessage:{header:[b],server_data_message:[a],channel_status_message:[a],session_status_message:[a]},ServerHeader:{protocol_version:[b],server_time_ms:[b, c],message_id:[a,d]},StatusP:{code:[b],description:[a]},ChannelStatusMessage:{status:[b],jid_resource:[a]}}};t(dMc,eVa);dMc.prototype.Sa=function(){return this.Qb};
var WPc=function(){qA.call(this)},fcc;t(WPc,qA);var $Pc=function(){qA.call(this)},Iic;t($Pc,qA);$Pc.prototype.getVersion=function(){return sA(this,1)};var IVc=function(){qA.call(this)},Mic;t(IVc,qA);IVc.prototype.getVersion=function(){return sA(this,1)};var CXc=function(){qA.call(this)},fjc;t(CXc,qA);var WYc=function(){qA.call(this)},gjc;t(WYc,qA);WYc.prototype.ji=function(){return sA(this,1)};var P7c=function(){qA.call(this)},hjc;t(P7c,qA);var U7c=function(){qA.call(this)},jjc;t(U7c,qA);
var V7c=function(){qA.call(this)},kjc;t(V7c,qA);var zCe=function(){qA.call(this)},Ojc;t(zCe,qA);var uhd=function(){qA.call(this)},SMc;t(uhd,qA);uhd.prototype.getMessage=function(){return sA(this,2)};uhd.prototype.Bq=function(a){uA(this,2,a)};var Jnd=function(){qA.call(this)},HRc;t(Jnd,qA);Jnd.prototype.un=function(){return sA(this,2)};Jnd.prototype.Vcc=function(){return jVb(this,2)};Jnd.prototype.getStatus=function(){return sA(this,4)};Jnd.prototype.Fj=function(a){uA(this,4,a)};
var Lnd=function(){qA.call(this)},lWc;t(Lnd,qA);Lnd.prototype.ji=function(){return sA(this,1)};var Nnd=function(){qA.call(this)},JYc;t(Nnd,qA);var vSd=function(){qA.call(this)},KYc;t(vSd,qA);vSd.prototype.xo=function(){return sA(this,1)};vSd.prototype.Jd=function(){return sA(this,2)};vSd.prototype.Ee=function(a){uA(this,2,a)};var M0d=function(){qA.call(this)},h0c;t(M0d,qA);M0d.prototype.getStatus=function(){return sA(this,1)};M0d.prototype.Fj=function(a){uA(this,1,a)};
WPc.prototype.qy=function(){fcc||(fcc=Yx(WPc,{0:{name:"Version",Jj:"buzz.channel.Version"},1:{name:"major_version",Nd:5,type:Number},2:{name:"minor_version",Nd:5,type:Number}}));return fcc};WPc.ctor=WPc;WPc.ctor.qy=WPc.prototype.qy;$Pc.prototype.qy=function(){Iic||(Iic=Yx($Pc,{0:{name:"ProtocolVersion",Jj:"buzz.channel.ProtocolVersion"},1:{name:"version",Nd:11,type:WPc}}));return Iic};$Pc.ctor=$Pc;$Pc.ctor.qy=$Pc.prototype.qy;
IVc.prototype.qy=function(){Mic||(Mic=Yx(IVc,{0:{name:"ClientVersion",Jj:"buzz.channel.ClientVersion"},1:{name:"version",Nd:11,type:WPc},2:{name:"platform",Nd:9,type:String},3:{name:"language",Nd:9,type:String},4:{name:"application_info",Nd:9,type:String}}));return Mic};IVc.ctor=IVc;IVc.ctor.qy=IVc.prototype.qy;CXc.prototype.qy=function(){fjc||(fjc=Yx(CXc,{0:{name:"SessionId",Jj:"buzz.channel.SessionId"},1:{name:"service_name",Nd:9,type:String},2:{name:"session_name",Nd:9,type:String}}));return fjc};
CXc.ctor=CXc;CXc.ctor.qy=CXc.prototype.qy;WYc.prototype.qy=function(){gjc||(gjc=Yx(WYc,{0:{name:"ClientToServerMessage",Jj:"buzz.channel.ClientToServerMessage"},1:{name:"header",Nd:11,type:P7c},2:{name:"init_endpoint_message",Nd:11,type:U7c},3:{name:"init_session_message",Nd:11,type:V7c},4:{name:"client_data_message_deprecated",Nd:11,type:uhd},5:{name:"send_on_disconnect_message",Nd:11,type:uhd},6:{name:"close_session_message",Nd:11,type:zCe}}));return gjc};WYc.ctor=WYc;WYc.ctor.qy=WYc.prototype.qy;
P7c.prototype.qy=function(){hjc||(hjc=Yx(P7c,{0:{name:"ClientHeader",Jj:"buzz.channel.ClientHeader"},1:{name:"protocol_version",Nd:11,type:$Pc},2:{name:"client_version",Nd:11,type:IVc},3:{name:"client_time_ms",Nd:3,type:Number},4:{name:"max_known_server_time_ms",Nd:3,type:Number},5:{name:"message_id",Nd:9,type:String}}));return hjc};P7c.ctor=P7c;P7c.ctor.qy=P7c.prototype.qy;U7c.prototype.qy=function(){jjc||(jjc=Yx(U7c,{0:{name:"InitEndpointMessage",Jj:"buzz.channel.InitEndpointMessage"}}));return jjc};
U7c.ctor=U7c;U7c.ctor.qy=U7c.prototype.qy;V7c.prototype.qy=function(){kjc||(kjc=Yx(V7c,{0:{name:"InitSessionMessage",Jj:"buzz.channel.InitSessionMessage"},1:{name:"session_id",Nd:11,type:CXc}}));return kjc};V7c.ctor=V7c;V7c.ctor.qy=V7c.prototype.qy;zCe.prototype.qy=function(){Ojc||(Ojc=Yx(zCe,{0:{name:"CloseSessionMessage",Jj:"buzz.channel.CloseSessionMessage"},1:{name:"session_id",Nd:11,type:CXc}}));return Ojc};zCe.ctor=zCe;zCe.ctor.qy=zCe.prototype.qy;
uhd.prototype.qy=function(){SMc||(SMc=Yx(uhd,{0:{name:"DataMessage",Jj:"buzz.channel.DataMessage"},1:{name:"session_id",Nd:11,type:CXc},2:{name:"message",Nd:9,type:String}}));return SMc};uhd.ctor=uhd;uhd.ctor.qy=uhd.prototype.qy;
Jnd.prototype.qy=function(){HRc||(HRc=Yx(Jnd,{0:{name:"SessionStatusMessage",Jj:"buzz.channel.SessionStatusMessage"},1:{name:"session_id",Nd:11,type:CXc},2:{name:"address",Nd:9,type:String},3:{name:"is_broadcast_to_user",Nd:8,type:Boolean},4:{name:"status",Nd:11,type:vSd}}));return HRc};Jnd.ctor=Jnd;Jnd.ctor.qy=Jnd.prototype.qy;
Lnd.prototype.qy=function(){lWc||(lWc=Yx(Lnd,{0:{name:"ServerToClientMessage",Jj:"buzz.channel.ServerToClientMessage"},1:{name:"header",Nd:11,type:Nnd},2:{name:"server_data_message",Nd:11,type:uhd},3:{name:"channel_status_message",Nd:11,type:M0d},4:{name:"session_status_message",Nd:11,type:Jnd}}));return lWc};Lnd.ctor=Lnd;Lnd.ctor.qy=Lnd.prototype.qy;
Nnd.prototype.qy=function(){JYc||(JYc=Yx(Nnd,{0:{name:"ServerHeader",Jj:"buzz.channel.ServerHeader"},1:{name:"protocol_version",Nd:11,type:$Pc},4:{name:"server_time_ms",Nd:3,type:Number},5:{name:"message_id",Nd:9,type:String}}));return JYc};Nnd.ctor=Nnd;Nnd.ctor.qy=Nnd.prototype.qy;vSd.prototype.qy=function(){KYc||(KYc=Yx(vSd,{0:{name:"StatusP",Jj:"buzz.channel.StatusP"},1:{name:"code",Nd:5,type:Number},2:{name:"description",Nd:9,type:String}}));return KYc};vSd.ctor=vSd;vSd.ctor.qy=vSd.prototype.qy; M0d.prototype.qy=function(){h0c||(h0c=Yx(M0d,{0:{name:"ChannelStatusMessage",Jj:"buzz.channel.ChannelStatusMessage"},1:{name:"status",Nd:11,type:vSd},2:{name:"jid_resource",Nd:9,type:String}}));return h0c};M0d.ctor=M0d;M0d.ctor.qy=M0d.prototype.qy;
var aze=new $Pc,Kif=new WPc;uA(Kif,1,3);uA(Kif,2,2);uA(aze,1,Kif);var PEf=new WPc;uA(PEf,1,3);uA(PEf,2,2);var REf=new WPc;uA(REf,1,3);uA(REf,2,2);var oVb=function(){var a;return ea?(a=/Windows NT ([0-9.]+)/,(a=a.exec(fa))?a[1]:"0"):ca?(a=/10[_.][0-9_.]+/,(a=a.exec(fa))?a[0].replace(/_/g,"."):"10"):Rea?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(fa))?a[1]:""):Sea||dfa?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(fa))?a[1].replace(/_/g,"."):""):""}();
var GTa=function(a){this.Ab=a};t(GTa,CTa);GTa.prototype.le=function(a){for(var b=tTa(a.qy()),c={},d=0;d<b.length;d++){var f=b[d],h=1==this.Ab?f.getName():f.Sa;if(a.has(f))if(f.fg()){var k=[];c[h]=k;for(h=0;h<jVb(a,f.Sa);h++)k.push(this.gW(f,a.get(f,h)))}else c[h]=this.gW(f,a.get(f))}xTa(a,function(a,b){c[a]=b});return c};GTa.prototype.YV=function(a,b){return 8==a.Ab&&sa(b)?Boolean(b):GTa.ya.YV.call(this,a,b)};
GTa.prototype.Sa=function(a,b){var c=a.qy(),d;for(d in b){var f,h=b[d],k=Ha(d);if(f=k?c.Sa[parseInt(d,10)]||null:uTa(c,d))if(f.fg())for(k=0;k<h.length;k++)a.add(f,this.YV(f,h[k]));else a.set(f,this.YV(f,h));else k&&(f=a,k=Number(d),f.Ab[k]=h,f.Sa&&delete f.Sa[k])}};
var HTa=function(a,b){this.mL=!!a;this.Ab=!!b};t(HTa,CTa);HTa.prototype.Sa=function(a,b){a.qy();var c=new PTa;return c.parse(a,b.toString(),this.mL)?null:c.getError()};HTa.prototype.le=function(a){var b=new LTa;ITa(this,a,b);return b.toString()};
var ITa=function(a,b,c){var d=tTa(b.qy());v(d,function(a){if(b.has(a))for(var d=jVb(b,a.Sa),k=0;k<d;++k){IK(c,a.getName());11==a.Ab||10==a.Ab?(IK(c," {"),JTa(c),c.Qb()):IK(c,": ");KTa(this,b.get(a,k),a,c);if(11==a.Ab||10==a.Ab)c.Sa-=2,IK(c,"}");JTa(c)}},a);xTa(b,function(a,b){GVb(this,a,b,c)},a)},GVb=function(a,b,c,d){if(null!=c)if(oa(c))v(c,function(a){GVb(this,b,a,d)},a);else{if(ua(c)){IK(d,b);IK(d," {");JTa(d);d.Qb();if(c instanceof qA)ITa(a,c,d);else for(var f in c)GVb(a,Faa(f),c[f],d);d.Sa-=
2;IK(d,"}")}else qa(c)&&(c=gTa(c)),IK(d,b),IK(d,": "),IK(d,c.toString());JTa(d)}},KTa=function(a,b,c,d){switch(c.Ab){case 1:case 2:case 3:case 4:case 5:case 13:case 6:case 7:case 8:case 15:case 16:case 17:case 18:IK(d,b);break;case 12:case 9:b=gTa(b.toString());IK(d,b);break;case 14:if(!a.Ab){var f=!1;Pb(c.mL,function(a,c){a==b&&(IK(d,c),f=!0)})}f&&!a.Ab||IK(d,b.toString());break;case 10:case 11:ITa(a,b,d)}},LTa=function(){this.Sa=0;this.Ab=[];this.mL=!0};LTa.prototype.toString=function(){return this.Ab.join("")};
LTa.prototype.Qb=function(){this.Sa+=2};
var IK=function(a,b){if(a.mL){for(var c=0;c<a.Sa;++c)a.Ab.push(" ");a.mL=!1}a.Ab.push(b.toString())},JTa=function(a){a.Ab.push("\n");a.mL=!0},MTa=function(a,b,c){this.$b=!!b;this.Qb=!!c;this.mL=a;this.ty=0;this.Ab=a;this.Sa={type:NTa,value:null}},NTa=/---end---/,HVb=/^-?[a-zA-Z][a-zA-Z0-9_]*/,JVb=/^(0x[0-9a-f]+)|(([-])?[0-9][0-9]*(\.?[0-9]+)?(e[+-]?[0-9]+|[f])?)/,qVc=/^#.*/,KVb=/^"([^"\\]|\\.)*"/,LVb=/^\s/,xA={vd:NTa,Oa:HVb,DU:JVb,ZRa:qVc,Ph:/^{/,Sa:/^}/,jg:/^</,mL:/^>/,Ag:/^\[/,Ab:/^\]/,uh:KVb,Qb:/^:/,
$b:/^,/,YY:/^;/,xh:LVb};MTa.prototype.next=function(){for(;OTa(this);){var a=this.Sa.type;if(a!=LVb&&a!=qVc||a==LVb&&!this.$b||a==qVc&&!this.Qb)return!0}this.Sa={type:NTa,value:null};return!1};var OTa=function(a){if(a.ty>=a.mL.length)return!1;var b=a.Ab,c=null;N2a(xA,function(a){if(c||a==NTa)return!1;var f=a.exec(b);f&&0==f.index&&(c={type:a,value:f[0]});return!!c});c&&(a.Sa=c,a.ty+=c.value.length,a.Ab=a.Ab.substring(c.value.length));return!!c},PTa=function(){this.Sa=this.Ab=null;this.mL=!1};
PTa.prototype.parse=function(a,b,c){this.Ab=null;this.mL=!!c;this.Sa=new MTa(b,!0,!0);this.Sa.next();return QTa(this,a,"")};PTa.prototype.getError=function(){return this.Ab};
var QTa=function(a,b,c){for(;">"!=a.Sa.Sa.value&&"}"!=a.Sa.Sa.value&&a.Sa.Sa.type!=NTa;)if(!RTa(a,b))return!1;if(c){if(!STa(a,c))return!1}else a.Sa.Sa.type!=NTa&&(a.Ab="Expected END token");return!0},TTa=function(a,b,c){a=UTa(a,c);if(null===a)return!1;c.fg()?b.add(c,a):b.set(c,a);return!0},MVb=function(a){return Oa(a,".")?parseFloat(a):Faa(a)},UTa=function(a,b){switch(b.Ab){case 1:case 2:var c=yA(a,HVb);if(c&&(c=/^-?inf(?:inity)?f?$/i.test(c)?Infinity*(ya(c,"-")?-1:1):/^nanf?$/i.test(c)?NaN:null,
null!=c))return c;case 5:case 13:case 7:case 15:case 17:return(c=yA(a,JVb))?MVb(c):null;case 3:case 4:case 6:case 16:case 18:return(c=yA(a,JVb))?b.mL==Number?MVb(c):c:null;case 8:c=yA(a,HVb);if(!c)return null;switch(c){case "true":return!0;case "false":return!1;default:return a.Ab="Unknown type for bool: "+c,null}case 14:if(a.Sa.Sa.type==JVb)return(c=yA(a,JVb))?MVb(c):null;c=yA(a,HVb);if(!c)return null;var d=b.mL[c];return null==d?(a.Ab="Unknown enum value: "+c,null):d;case 12:case 9:if(c=yA(a,KVb)){for(d=
Nf(c).toString();a.Sa.Sa.type==KVb;)c=yA(a,KVb),d+=Nf(c).toString();c=d}else c=null;return c}},VTa=function(a){zA(a,":");if(zA(a,"[")){for(;;){a.Sa.next();if(zA(a,"]"))break;if(!STa(a,","))return!1}return!0}if(zA(a,"<"))return QTa(a,null,">");if(zA(a,"{"))return QTa(a,null,"}");a.Sa.next();return!0},RTa=function(a,b){var c=yA(a,HVb);if(!c)return a.Ab="Missing field name",!1;var d=null;b&&(d=uTa(b.qy(),c.toString()));if(null==d){if(a.mL)return VTa(a);a.Ab="Unknown field: "+c;return!1}if(11==d.Ab||
10==d.Ab){zA(a,":");t:{c=d;d="";if(zA(a,"<"))d=">";else{if(!STa(a,"{")){c=!1;break t}d="}"}var f;f=new (c.mL.qy().KAa);QTa(a,f,d)?(c.fg()?b.add(c,f):b.set(c,f),c=!0):c=!1}if(!c)return!1}else{if(!STa(a,":"))return!1;if(d.fg()&&zA(a,"["))for(;;){if(!TTa(a,b,d))return!1;if(zA(a,"]"))break;if(!STa(a,","))return!1}else if(!TTa(a,b,d))return!1}zA(a,",")||zA(a,";");return!0},zA=function(a,b){return a.Sa.Sa.value==b?(a.Sa.next(),!0):!1},yA=function(a,b){if(a.Sa.Sa.type!=b)return a.Ab="Expected token type: "+ b,null;var c=a.Sa.Sa.value;a.Sa.next();return c},STa=function(a,b){return zA(a,b)?!0:(a.Ab='Expected token "'+b+'"',!1)};
var XTa=new GTa,ZTa=new HTa,WTa=function(a){a=XTa.le(a);return Rf(a)};try{var NVb=window.JSON.parse}catch(I4c){NVb=Nf}var YTa=function(a,b,c){var d;try{d=NVb(b)}catch(f){return c&&c.info("Exception parsing json (%s): %s",b,f),null}try{var h=XTa.xLc(a,d)}catch(k){return null}return null==h?null:h};qA.prototype.toString=function(){return ZTa.le(this)};var K$b=function(a){var b=mc(a);null==b&&(b=vc("div",{id:a,style:"display:none"}),nc("body")[0].appendChild(b));return b};
var WRe=function(a,b,c){this.Qb=a;this.mL=b;this.Sa=c;this.Ab=null};WRe.prototype.open=function(){XRe(this.Qb,this)};var zYe=function(a,b){this.Vk=b;this.mL=[];this.jg=new Ze;this.Qb=new Ze;this.Ab=null;this.Vb=0;this.YY=new dMc;this.$b=a;this.Oa=!1;var c=this.Sa=new XKc,d=Jca(self.location.href);uA(c,1,d);uA(this.Sa,2,2);c=b.Ab;0!=c&&uA(this.Sa,4,c);this.Km=this.Ag=0;this.uh=!1};
zYe.prototype.open=function(){var a=this.Vk,b=a.Qb.toString(),c=a.$b,d=new L8a,f=a.mL,a=a.Sa,h=new oKc;uA(h,2,f);null!==a&&uA(h,4,a);uA(h,8,!1);this.Ab=new Wrg(b,c,d,this,h);l0e(this);this.Ab.start()};zYe.prototype.close=function(){null!=this.Ab&&this.Ab.close()};zYe.prototype.Ma=function(){this.close();this.uh=!0};zYe.prototype.isDisposed=function(){return this.uh};
var l0e=function(a){if(3!=a.Sa.Au()){var b;var c=a.Sa.getOrigin(),d=new hAa(document);b=window.__OVERRIDE_SID;if(null==b)try{b=d.get("SID")}catch(f){}if(b){var h=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:");b=h?window.__SAPISID:window.__APISID;null==b&&(b=d.get(h?"SAPISID":"APISID"));if(b){var d=h?"SAPISIDHASH":"APISIDHASH",h=(new Date).getTime(),k=new Ov;k.reset();k.update([h,b,c].join(" "));c=Wbd(k.FD());b={scheme:d,hash:[h,c.toLowerCase()].join("_")}}else b=null}else b=null;null!=
b?(c=b.scheme,b=b.hash,b!=a.Sa.Gf()&&(uA(a.Sa,2,RRe[c]),a.Sa.bu(b))):a.Sa.bu("")}a.Ab&&A6e(a.Ab,a.Sa)},lGd=function(a,b,c){b=new WRe(a,b,c);a.mL.push(b);return b},B6e=function(a,b){var c=a.jg.get(sA(b,2),null);null==c&&(c=a.Qb.get(sA(b,1),null));return c},XRe=function(a,b){if(a.Oa){var c=b.mL,d=b.Ab,f=new V7c,h=new CXc;uA(h,1,c);null!=d&&uA(h,2,d);uA(f,1,h);D7e(a,f)}},D7e=function(a,b){var c="c"+ ++a.Km,d=Wa(),f=a.Ag,h=new P7c;uA(h,1,aze);uA(h,3,d);uA(h,4,f);uA(h,5,c);c=new IVc;uA(c,1,REf);uA(c,2, oVb);uA(c,3,"JS");uA(c,4,"lcsclient");uA(h,2,c);c=new WYc;uA(c,1,h);b instanceof U7c?uA(c,2,b):b instanceof V7c?uA(c,3,b):b instanceof zCe&&uA(c,6,b);a.YY.Yj(c)&&(h={},c=WTa(c),h.p=c,Z8e(a.Ab.Sa,"sm",h))};
var Yjf=function(){kd.call(this);this.wJ={}};t(Yjf,kd);Yjf.prototype.Nqb=function(a){a&&a()};Yjf.prototype.T1=function(){return!0};Yjf.prototype.Sa=function(a,b,c){this.wJ[a]={By:b,K6c:!!c}};var vsf=function(a,b){if(b&&qa(a))try{return Nf(a)}catch(c){return null}else if(!b&&!qa(a))return Rf(a);return a};Yjf.prototype.qb=function(){Yjf.ya.qb.call(this);delete this.YY;delete this.wJ;delete this.jg};
var xtf=function(a,b){Fn.call(this,b);this.Sa=a;this.Ba=new Hd(this);x(this,this.Ba);this.Oa=new Sf(100,this.getWindow());x(this,this.Oa);this.Qb=new ag;this.$b=new ag;this.Ab=new ag;this.jg=Lqc(10);this.Ag=null;this.mL={};this.YY=this.Sa.name;var c=this.Sa,d=this.Sa.pI();wsf(c,this.Sa.name+"_"+d);this.cM=!1;fg(this.Ab,this.Qb);fg(this.Ab,this.$b);this.Ab.addCallback(this.Wad,this);this.Ab.By(!0);this.Ba.Ja(this.Oa,"tick",this.H6c)};t(xtf,Fn);
var QFf={},h_f=function(a){var b=new pGf(a.channelName,a.service,a.payload);a=b.Sa;var c=b.tT,b=b.Qba,d=zo[a];if(d)return d.mL(c,b),!0;var d=PHf(b)[0],f;for(f in zo){var h=zo[f];if(1==h.pI()&&!h.T1()&&"tp"==c&&"SETUP"==d)return wsf(h,a),h.mL(c,b),!0}return!1};xtf.prototype.OEc=7;
xtf.prototype.c1c=function(a){a=PHf(a);var b=a[1];switch(a[0]){case "SETUP_ACK":this.Qb.jl||this.Qb.By(!0);break;case "SETUP":this.send("tp","SETUP_ACK"),this.$b.jl||this.$b.By(!0),null!=this.Ag&&this.Ag!=b&&T0f(this),this.Ag=b}};var T0f=function(a){var b;b="SETUP,"+a.jg;a.send("tp",b)};q=xtf.prototype;q.Nqb=function(){var a=this.getWindow();if(a){var b=va(a);0==(QFf[b]||0)&&null==ja("crosswindowmessaging.channel",a)&&Da("crosswindowmessaging.channel",h_f,a);QFf[b]++;this.cM=!0;this.H6c()}};
q.H6c=function(){this.Sa.pI();this.Sa.T1()?this.Oa.stop():(this.Oa.start(),T0f(this))};q.send=function(a,b){if(this.Sa.gma){var c=0==this.Sa.pI()?1:0,c=new pGf(this.YY+"_"+c,a,b);this.Sa.rd().directSyncMode?this.g6c(c):this.mL[va(c)]=Uf(Lp(this.g6c,this,c),0)}};q.g6c=function(a){var b=va(a);this.mL[b]&&delete this.mL[b];try{var c=ja("crosswindowmessaging.channel",this.Sa.gma)}catch(d){return}if(null!==c)try{c({channelName:a.Sa,service:a.tT,payload:a.Qba})}catch(f){}};
q.Wad=function(){Dec(this.Sa,(this.Sa.rd(),0))};q.qb=function(){if(this.cM){var a=this.getWindow(),b=va(a);1==--QFf[b]&&Da("crosswindowmessaging.channel",null,a)}this.mL&&(Pb(this.mL,function(a){Vf(a)}),this.mL=null);this.Qb&&(this.Qb.cancel(),delete this.Qb);this.$b&&(this.$b.cancel(),delete this.$b);this.Ab&&(this.Ab.cancel(),delete this.Ab);xtf.ya.qb.call(this)};var PHf=function(a){a=a.split(",");a[1]=a[1]||null;return a},pGf=function(a,b,c){this.Sa=a;this.tT=b;this.Qba=c};
var V7f=function(a,b){Fn.call(this,b);this.Ab=a;this.mL=[];this.Oa=Lp(this.Rad,this)};t(V7f,Fn);q=V7f.prototype;q.OEc=2;q.g1c=!1;q.Nqb=function(){0==this.Ab.pI()?(this.Sa=this.Ab.DLc,this.Sa.XPC_toOuter=Lp(this.J6c,this)):this.p5c()};
q.p5c=function(){var a=!0;try{this.Sa||(this.Sa=this.getWindow().frameElement),this.Sa&&this.Sa.XPC_toOuter&&(this.Qb=this.Sa.XPC_toOuter,this.Sa.XPC_toOuter.XPC_toInner=Lp(this.J6c,this),a=!1,this.send("tp","SETUP_ACK"),Dec(this.Ab))}catch(b){}a&&(this.$b||(this.$b=Lp(this.p5c,this)),this.getWindow().setTimeout(this.$b,100))};q.c1c=function(a){if(0!=this.Ab.pI()||this.Ab.T1()||"SETUP_ACK"!=a)throw Error("cd");this.Qb=this.Sa.XPC_toOuter.XPC_toInner;Dec(this.Ab)};
q.J6c=function(a,b){this.g1c||0!=this.mL.length?(this.mL.push({ubd:a,Qba:b}),1==this.mL.length&&this.getWindow().setTimeout(this.Oa,1)):this.Ab.mL(a,b)};q.Rad=function(){for(;this.mL.length;){var a=this.mL.shift();this.Ab.mL(a.ubd,a.Qba)}};q.send=function(a,b){this.g1c=!0;this.Qb(a,b);this.g1c=!1};q.qb=function(){V7f.ya.qb.call(this);this.Sa=this.Qb=null};
var KI=function(a,b){Fn.call(this,b);this.Sa=a;this.jg=this.Sa.rd().ppu;this.iu=this.Sa.rd().lpu;this.Oa=[]},ucg,vcg;t(KI,Fn);q=KI.prototype;q.ibd=5;q.OEc=4;q.e1c=0;q.kOc=!1;q.cM=!1;q.e9c=null;var Jcg=function(a){return"googlexpc_"+a.Sa.name+"_msg"},bgg=function(a){return"googlexpc_"+a.Sa.name+"_ack"},Xig=function(a){try{if(!a.isDisposed()&&Wig(a.Sa))return a.Sa.gma.frames||{}}catch(b){}return{}},Yig=function(a,b){return Xig(a)[b]};
KI.prototype.Nqb=function(){if(!this.isDisposed()&&Wig(this.Sa)){if(!this.cM){var a=Jcg(this);this.mL=Zig(this,a);this.YY=this.getWindow().frames[a];a=bgg(this);this.Ab=Zig(this,a);this.Ag=this.getWindow().frames[a];this.cM=!0}if(Zjg(this,Jcg(this))&&Zjg(this,bgg(this)))this.Ko=new bkg(this,Yig(this,Jcg(this)),Lp(this.Db,this)),this.Vb=new bkg(this,Yig(this,bgg(this)),Lp(this.dw,this)),this.Km();else{if(1==this.Sa.pI())this.e9c||0<this.ibd--||(wsf(this.Sa,Lqc(10)),kqg(this),this.cM=!1,this.e9c=Zig(this,
"googlexpc_reconnect_"+this.Sa.name));else if(0==this.Sa.pI())for(var a=Xig(this),b=a.length,c=0;c<b;c++){var d;try{a[c]&&a[c].name&&(d=a[c].name)}catch(f){}if(d){var h=d.split("_");if(3==h.length&&"googlexpc"==h[0]&&"reconnect"==h[1]){this.Sa.name=h[2];kqg(this);this.cM=!1;break}}}this.getWindow().setTimeout(Lp(this.Nqb,this),100)}}};
var Zig=function(a,b){var c=wc("iframe"),d=c.style;d.position="absolute";d.top="-10px";d.left="10px";d.width="1px";d.height="1px";c.id=c.name=b;c.src=a.jg+"#INITIAL";a.getWindow().document.body.appendChild(c);return c},kqg=function(a){a.mL&&(a.mL.parentNode.removeChild(a.mL),a.mL=null,a.YY=null);a.Ab&&(a.Ab.parentNode.removeChild(a.Ab),a.Ab=null,a.Ag=null)},Zjg=function(a,b){try{var c=Yig(a,b);if(!c||0!=c.location.href.indexOf(a.iu))return!1}catch(d){return!1}return!0};
KI.prototype.Km=function(){var a=Xig(this);a[bgg(this)]&&a[Jcg(this)]?(this.Op=new lqg(this.jg,this.YY),this.$b=new lqg(this.jg,this.Ag),this.getWindow().setTimeout(Lp(function(){this.Op.send("SETUP");this.kOc=!0},this),100)):(this.Vk||(this.Vk=Lp(this.Km,this)),this.getWindow().setTimeout(this.Vk,100))};var Dqg=function(a){if(a.lp&&a.Sx&&(Dec(a.Sa),a.Qb)){for(var b=0,c;b<a.Qb.length;b++)c=a.Qb[b],a.Sa.mL(c.tT,c.Qba);delete a.Qb}};
KI.prototype.Db=function(a){if("SETUP"==a)this.$b&&(this.$b.send("SETUP_ACK"),this.lp=!0,Dqg(this));else if(this.Sa.T1()||this.lp){var b=a.indexOf("|"),c=a.substring(0,b);a=a.substring(b+1);b=c.indexOf(",");if(-1==b){var d;this.$b.send("ACK:"+c);Kqg(this,a)}else d=c.substring(0,b),this.$b.send("ACK:"+d),c=c.substring(b+1).split("/"),b=parseInt(c[0],10),c=parseInt(c[1],10),1==b&&(this.uh=[]),this.uh.push(a),b==c&&(Kqg(this,this.uh.join("")),delete this.uh)}};
KI.prototype.dw=function(a){"SETUP_ACK"==a?(this.kOc=!1,this.Sx=!0,Dqg(this)):this.Sa.T1()&&this.kOc&&parseInt(a.split(":")[1],10)==this.e1c&&(this.kOc=!1,Lqg(this))};var Lqg=function(a){if(!a.kOc&&a.Oa.length){var b=a.Oa.shift();++a.e1c;a.Op.send(a.e1c+b);a.kOc=!0}},Kqg=function(a,b){var c=b.indexOf(":"),d=b.substr(0,c),c=b.substring(c+1);a.Sa.T1()?a.Sa.mL(d,c):(a.Qb||(a.Qb=[])).push({tT:d,Qba:c})};
KI.prototype.send=function(a,b){var c=a+":"+b;if(!xc||3800>=b.length)this.Oa.push("|"+c);else for(var d=b.length,f=Math.ceil(d/3800),h=0,k=1;h<d;)this.Oa.push(","+k+"/"+f+"|"+c.substr(h,3800)),k++,h+=3800;Lqg(this)};KI.prototype.qb=function(){KI.ya.qb.call(this);var a=Oqg;mb(a,this.Ko);mb(a,this.Vb);this.Ko=this.Vb=null;Fc(this.mL);Fc(this.Ab);this.YY=this.Ag=this.mL=this.Ab=null};
var Oqg=[],Sqg=Lp(function(){var a=Oqg,b,c=!1;try{for(var d=0;b=a[d];d++){var f;if(!(f=c)){var h=b,k=h.Ab.location.href;if(k!=h.Sa){h.Sa=k;var m=k.split("#")[1];m&&(m=m.substr(1),h.mL(decodeURIComponent(m)));f=!0}else f=!1}c=f}}catch(p){if(b.Qb.Sa.close(),!a.length)return}a=Wa();c&&(ucg=a);vcg=window.setTimeout(Sqg,1E3>a-ucg?10:100)},KI),Tqg=function(){ucg=Wa();vcg&&window.clearTimeout(vcg);vcg=window.setTimeout(Sqg,10)},lqg=function(a,b){this.mL=a;this.Ab=b;this.Sa=0};
lqg.prototype.send=function(a){this.Sa=++this.Sa%2;a=this.mL+"#"+this.Sa+encodeURIComponent(a);try{xd?this.Ab.location.href=a:this.Ab.location.replace(a)}catch(b){}Tqg()};var bkg=function(a,b,c){this.Qb=a;this.Ab=b;this.mL=c;this.Sa=this.Ab.location.href.split("#")[0]+"#INITIAL";Oqg.push(this);Tqg()};
var $qg=function(a,b){Fn.call(this,b);this.Sa=a;this.mL=this.Sa.rd().pru;this.Ab=this.Sa.rd().ifrid;xd&&Zqg()};t($qg,Fn);if(xd)var arg=[],brg=0,Zqg=function(){brg||(brg=window.setTimeout(function(){crg()},1E3))},crg=function(a){var b=Wa();for(a=a||3E3;arg.length&&b-arg[0].timestamp>=a;){var c=arg.shift().$ad;Fc(c)}brg=window.setTimeout(drg,1E3)},drg=function(){crg()};var erg={};$qg.prototype.OEc=3;
$qg.prototype.Nqb=function(){this.getWindow().xpcRelay||(this.getWindow().xpcRelay=grg);this.send("tp","SETUP")};var grg=function(a,b){var c=b.indexOf(":"),d=b.substr(0,c),f=b.substr(c+1);if(xc&&-1!=(c=d.indexOf("|"))){var h=d.substr(0,c),d=d.substr(c+1),c=d.indexOf("+"),k=d.substr(0,c),c=parseInt(d.substr(c+1),10),m=erg[k];m||(m=erg[k]={s6c:[],C7c:0,i6c:0});Oa(d,"++")&&(m.i6c=c+1);m.s6c[c]=f;m.C7c++;if(m.C7c!=m.i6c)return;f=m.s6c.join("");delete erg[k]}else var h=d;zo[a].mL(h,decodeURIComponent(f))};
$qg.prototype.c1c=function(a){"SETUP"==a?(this.send("tp","SETUP_ACK"),Dec(this.Sa)):"SETUP_ACK"==a&&Dec(this.Sa)};$qg.prototype.send=function(a,b){var c=encodeURIComponent(b),d=c.length;if(xc&&1800<d)for(var f=Ta(),h=0,k=0;h<d;k++){var m=c.substr(h,1800),h=h+1800;jrg(this,a,m,f+(h>=d?"++":"+")+k)}else jrg(this,a,c)};
var jrg=function(a,b,c,d){if(xc){var f=a.getWindow().document.createElement("div");oNa(f,Bdg("iframe",{onload:S4a("this.xpcOnload()")}));f=f.childNodes[0];f.xpcOnload=krg}else f=a.getWindow().document.createElement("iframe"),xd?arg.push({timestamp:Wa(),$ad:f}):ud(f,"load",krg);var h=f.style;h.visibility="hidden";h.width=f.style.height="0px";h.position="absolute";h=a.mL;h+="#"+a.Sa.name;a.Ab&&(h+=","+a.Ab);h+="|"+b;d&&(h+="|"+d);f.src=h+(":"+c);a.getWindow().document.body.appendChild(f)},krg=function(){Fc(this)}; $qg.prototype.qb=function(){$qg.ya.qb.call(this);xd&&crg(0)};
var TK=function(a,b,c,d,f){Fn.call(this,c);this.$b=a;this.Oa=f||2;this.Vk=b||"*";this.Ba=new Hd(this);this.Ag=new Sf(100,this.getWindow());this.uh=!!d;this.mL=new ag;this.Qb=new ag;this.Ab=new ag;this.Vb=Lqc(10);this.YY=null;this.uh?1==this.$b.pI()?fg(this.Ab,this.mL):fg(this.Ab,this.Qb):(fg(this.Ab,this.mL),2==this.Oa&&fg(this.Ab,this.Qb));this.Ab.addCallback(this.Xad,this);this.Ab.By(!0);this.Ba.Ja(this.Ag,"tick",this.I6c)};t(TK,Fn);TK.prototype.Sa=null;TK.prototype.cM=!1;TK.prototype.OEc=1;
var lrg={};TK.prototype.jg=0;var nrg=function(a){var b=a.Ak().data;if(!qa(b))return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var f=b.substring(0,c),c=b.substring(c+1,d),b=b.substring(d+1);if(d=zo[f])return d.mL(c,b,a.Ak().origin),!0;a=mrg(b)[0];for(var h in zo)if(d=zo[h],1==d.pI()&&!d.T1()&&"tp"==c&&("SETUP"==a||"SETUP_NTPV2"==a))return wsf(d,f),d.mL(c,b),!0;return!1};
TK.prototype.c1c=function(a){var b=mrg(a);a=b[1];switch(b[0]){case "SETUP_ACK":qrg(this,1);this.mL.jl||this.mL.By(!0);break;case "SETUP_ACK_NTPV2":2==this.Oa&&(qrg(this,2),this.mL.jl||this.mL.By(!0));break;case "SETUP":qrg(this,1);srg(this,1);break;case "SETUP_NTPV2":2==this.Oa&&(b=this.Sa,qrg(this,2),srg(this,2),1!=b&&null==this.YY||this.YY==a||yrg(this),this.YY=a)}};
var yrg=function(a){if(2==a.Oa&&(null==a.Sa||2==a.Sa)){var b;b="SETUP_NTPV2,"+a.Vb;a.send("tp",b)}null!=a.Sa&&1!=a.Sa||a.send("tp","SETUP")},srg=function(a,b){if(2!=a.Oa||null!=a.Sa&&2!=a.Sa||2!=b){if(null!=a.Sa&&1!=a.Sa||1!=b)return;a.send("tp","SETUP_ACK")}else a.send("tp","SETUP_ACK_NTPV2");a.Qb.jl||a.Qb.By(!0)},qrg=function(a,b){b>a.Sa&&(a.Sa=b);1==a.Sa&&(a.Qb.jl||a.uh||a.Qb.By(!0),a.YY=null)};q=TK.prototype;
q.Nqb=function(){var a=this.getWindow(),b=va(a),c=lrg[b];sa(c)||(c=0);0==c&&ud(a.postMessage?a:a.document,"message",nrg,!1,TK);lrg[b]=c+1;this.cM=!0;this.I6c()};q.I6c=function(){var a=0==this.$b.pI();this.uh&&a||this.$b.T1()||this.isDisposed()?this.Ag.stop():(this.Ag.start(),yrg(this))};
q.send=function(a,b){var c=this.$b.gma;c&&(this.send=function(a,b){var h=this,k=this.$b.name;this.jg=Uf(function(){h.jg=0;try{var m=c.postMessage?c:c.document;m.postMessage&&m.postMessage(k+"|"+a+":"+b,h.Vk)}catch(p){}},0)},this.send(a,b))};q.Xad=function(){Dec(this.$b,1==this.Oa||1==this.Sa?200:void 0)};
q.qb=function(){if(this.cM){var a=this.getWindow(),b=va(a),c=lrg[b];lrg[b]=c-1;1==c&&zd(a.postMessage?a:a.document,"message",nrg,!1,TK)}this.jg&&(Vf(this.jg),this.jg=0);y(this.Ba);delete this.Ba;y(this.Ag);delete this.Ag;this.mL.cancel();delete this.mL;this.Qb.cancel();delete this.Qb;this.Ab.cancel();delete this.Ab;delete this.send;TK.ya.qb.call(this)};var mrg=function(a){a=a.split(",");a[1]=a[1]||null;return a};
var vN=function(a,b){Yjf.call(this);for(var c=0,d;d=suc[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("nd`"+a[d]+"`"+d);this.Ab=a;this.name=this.Ab.cn||Lqc(10);this.wb=b||jc();this.Qb=[];this.$b=new Hd(this);a.lpu=a.lpu||Jca(this.wb.getWindow().location.href)+"/robots.txt";a.ppu=a.ppu||Jca(a.pu||"")+"/robots.txt";zo[this.name]=this;lFa(window,"unload",zrg)||yd(window,"unload",zrg)};t(vN,Yjf);var Arg=/^%*tp$/,Drg=/^%+tp$/;q=vN.prototype;q.yAc=null;q.AFa=null;q.lla=null;q.Sb=1;
q.T1=function(){return 2==this.Sb};q.gma=null;q.DLc=null;q.rd=function(){return this.Ab};
var Wig=function(a){try{return!!a.gma&&!Boolean(a.gma.closed)}catch(b){return!1}},Grg=function(a,b){var c=a.Ab.ifrid;c||(c=a.Ab.ifrid="xpcpeer"+Lqc(4));var d=jc(b).createElement("IFRAME");d.id=d.name=c;d.style.width=d.style.height="100%";Erg(a);a.AFa=new ag(void 0,a);var f=Frg(a);BOa(a.$b,d,"load",a.AFa.By,!1,a.AFa);wd||xd?window.setTimeout(Lp(function(){b.appendChild(d);d.src=f.toString()},a),1):(d.src=f.toString(),b.appendChild(d))},Erg=function(a){a.AFa&&(a.AFa.cancel(),a.AFa=null);a.Qb.length=
0;a.$b.removeAll()},Frg=function(a){var b=a.Ab.pu;qa(b)&&(b=a.Ab.pu=new Af(b));var c={};c.cn=a.name;c.tp=a.Ab.tp;c.osh=a.Ab.osh;a.Ab.lru&&(c.pru=a.Ab.lru);a.Ab.lpu&&(c.ppu=a.Ab.lpu);a.Ab.ppu&&(c.lpu=a.Ab.ppu);(a=a.Ab.role)&&(c.role=1==a?0:1);Hf(b,"xpc",Rf(c));return b};vN.prototype.Nqb=function(a){this.Oa=a||ka;3==this.Sb&&(this.Sb=1);this.AFa?this.AFa.addCallback(this.Ag):this.Ag()};
vN.prototype.Ag=function(){this.AFa=null;this.Ab.ifrid&&(this.DLc=this.wb.ta(this.Ab.ifrid));if(this.DLc){var a=this.DLc.contentWindow;a||(a=window.frames[this.Ab.ifrid]);this.gma=a}if(!this.gma){if(window==window.top)throw Error("pd");this.gma=window.parent}if(!this.lla){this.Ab.tp||(this.Ab.tp=ta(document.postMessage)||ta(window.postMessage)||xc&&window.postMessage?1:wd?2:xc&&this.Ab.pru?3:xc&&xOb()?6:4);switch(this.Ab.tp){case 1:this.lla=new TK(this,this.Ab.ph,this.wb,!!this.Ab.osh,this.Ab.nativeProtocolVersion||
2);break;case 6:this.lla=new fec(this,this.wb);break;case 2:this.lla=new V7f(this,this.wb);break;case 3:this.lla=new $qg(this,this.wb);break;case 4:this.lla=new KI(this,this.wb);break;case 7:if(a=this.gma)try{a=window.document.domain==this.gma.document.domain}catch(b){a=!1}a&&(this.lla=new xtf(this,this.wb))}if(!this.lla)throw Error("od");}for(this.lla.Nqb();0<this.Qb.length;)this.Qb.shift()()};
vN.prototype.close=function(){Erg(this);this.Sb=3;y(this.lla);this.Oa=this.lla=null;y(this.yAc);this.yAc=null};var Dec=function(a,b){a.T1()||a.yAc&&a.yAc.Ad()||(a.Sb=2,y(a.yAc),ia(b)?(a.yAc=new Un(a.Oa,b),a.yAc.start()):(a.yAc=null,a.Oa()))};vN.prototype.send=function(a,b){this.T1()&&(Wig(this)?(ua(b)&&(b=Rf(b)),this.lla.send(Irg(a),b)):this.close())};
vN.prototype.mL=function(a,b,c){if(this.AFa)this.Qb.push(Lp(this.mL,this,a,b,c));else{var d=this.Ab.ph;!Ea(Ga(c))&&!Ea(Ga(d))&&c!=this.Ab.ph||this.isDisposed()||3==this.Sb||(a&&"tp"!=a?this.T1()&&(a=a.replace(/%[0-9a-f]{2}/gi,decodeURIComponent),a=Drg.test(a)?a.substring(1):a,a=(c=this.wJ[a])?c:this.jg?{By:wa(this.jg,a),K6c:ua(b)}:null)&&(b=vsf(b,a.K6c),null!=b&&a.By(b)):this.lla.c1c(b))}};var Irg=function(a){Arg.test(a)&&(a="%"+a);return a.replace(/[%:|]/g,encodeURIComponent)};
vN.prototype.pI=function(){var a=this.Ab.role;return sa(a)?a:window.parent==this.gma?1:0};var wsf=function(a,b){delete zo[a.name];a.name=b;zo[b]=a};vN.prototype.qb=function(){this.close();this.DLc=this.gma=null;delete zo[this.name];y(this.$b);delete this.$b;vN.ya.qb.call(this)};var zrg=function(){for(var a in zo)y(zo[a])};
var Prg=function(a,b,c){this.mL=a;this.Ab=b;this.$b=c;this.Oa=new qTa(Math.random,5E3,128);this.Sa=null},Rrg=function(a){a.Sa=new vN(a.mL);var b=K$b(a.Ab);Grg(a.Sa,b);Uf(a.Qb,rTa(a.Oa)+5E3,a);a.Sa.Nqb(Lp(function(){this.$b(this.Sa)},a))},Trg=function(a,b){for(var c=Ic(mc(a)),d=new Af(b),f=0;f<c.length;++f)if("IFRAME"==c[f].tagName){var h=new Af(c[f].src);h.Tf()==d.Tf()&&h.getPath()==d.getPath()&&Fc(c[f])}};Prg.prototype.Qb=function(){this.Sa.T1()||(this.Sa.close(),Trg(this.Ab,this.mL.pu),Rrg(this))};
var Wrg=function(a,b,c,d,f){this.Qb=a;this.mL=b;this.Sa=c;this.config=f;this.Bb=d;this.Ab=null};Wrg.prototype.start=function(){this.Sa.start(P8a(this),this.mL,Lp(this.YY,this))};Wrg.prototype.YY=function(){this.Sa.Sa("cha",Lp(this.Ag,this));this.Sa.Sa("co",Lp(this.jg,this));this.Sa.Sa("cc",Lp(this.$b,this));this.Sa.Sa("ce",Lp(this.Oa,this));this.Ab&&A6e(this,this.Ab);Z8e(this.Sa,"s",[])};
var P8a=function(a){var b=new Af(a.Qb),c=WTa(a.config);Hf(b,"cfg",c);Hf(b,"ctype",sA(a.config,2));(c=sA(a.config,5))&&Hf(b,"gapi_src",c);(c=sA(a.config,4))&&Hf(b,"service",c);null!=a.Ab&&3==a.Ab.Au()&&Hf(b,"oauth_token",a.Ab.Gf());return b.toString()};Wrg.prototype.close=function(){this.Sa.close();Trg(this.mL,this.Qb)};var A6e=function(a,b){a.Ab=b;var c=XTa.le(a.Ab);Z8e(a.Sa,"uap",c)};Wrg.prototype.jg=function(){D7e(this.Bb,new U7c)};
Wrg.prototype.Ag=function(a){for(var b=this.Bb,c=0;c<a.length;c++){var d=a[c].p;if(d){var f;f=b;var h=Lnd.qy();f=YTa(h,d,f.Ko);if(null!=f&&b.YY.Yj(f)){d=f.ji();b.Ag=Math.max(b.Ag,sA(d,4));if(rA(f,3)){var d=b,h=sA(f,3),k=h.getStatus().xo();if(1==k){d.Oa=!0;for(var m=d.jg.Rc(),k=0;k<m.length;++k)XRe(d,m[k]);for(k=0;k<d.mL.length;++k)XRe(d,d.mL[k]);m=d.Qb.Rc();for(k=0;k<m.length;++k)XRe(d,m[k]);rA(h,2)&&sA(h,2);d.$b.Op(d)}else 4==k?Z8e(d.Ab.Sa,"sh",[]):5==k&&(h=Wa(),h>d.Vb&&(d.Vb=h+Math.ceil(18E5*Math.random()),
d.close(),h=d,h.Oa=!1,h.$b.vcd(),d.Ab=null,d.open()))}if(rA(f,4)&&(h=sA(f,4),d=b,k=sA(h,1),m=sA(k,2),null!=m)){var p=B6e(d,k);if(null==p)for(var u=0;u<d.mL.length;++u){var z=d.mL[u],F=sA(k,1);if(z.mL==F){p=z;p.Ab=m;d.mL.splice(u,1);tA(h,3)?ba(d.Qb,F)||d.Qb.set(F,p):d.jg.set(p.Ab,p);break}}null!=p&&(rA(h,4)&&1!=h.getStatus().xo()?p.Sa.$cd&&h.getStatus().Jd():p.Sa.ucd(p,h.un()))}rA(f,2)&&(f=sA(f,2),d=sA(f,1),d=B6e(b,d),null!=d&&d.Sa.ixc(d,f.getMessage()))}}}}; Wrg.prototype.$b=function(){var a=this.Bb;a.Oa=!1;a.$b.vcd()};Wrg.prototype.Oa=function(){var a=this.Bb,b=new cKc;l0e(a);a.$b.onError(a,b)};
var L8a=function(){this.mL=this.Ab=null};L8a.prototype.start=function(a,b,c){var d={};d.pu=a;this.mL=new Prg(d,b,Lp(this.Qb,this,c));Rrg(this.mL)};L8a.prototype.Qb=function(a,b){this.Ab=b;a()};L8a.prototype.Sa=function(a,b){this.Ab.Sa(a,b,!0)};var Z8e=function(a,b,c){a.Ab&&a.Ab.T1()&&a.Ab.send(b,c||[])};L8a.prototype.close=function(){this.Ab&&(this.Ab.close(),this.Ab=null)};
var Zrg=function(a,b,c){QLc.call(this,a,b);this.$b=c};t(Zrg,QLc);Zrg.prototype.Oa=Gx;var $rg=function(a,b,c,d){a=new Af(a);0!=b&&Hf(a,"authuser",b);null!=c&&Hf(a,"service",c);this.Ab=a.toString();this.Rk=d;this.$b=0};$rg.prototype.start=function(){this.Rk.wcd()};$rg.prototype.send=function(a,b){Yf(this.Ab,Lp(this.mL,this,this.$b++),"POST",a,b)};$rg.prototype.mL=function(a,b){b.target.ns()};
var BA=function(){qA.call(this)},l8c;t(BA,qA);var $Ta=function(){qA.call(this)},Ead;t($Ta,qA);$Ta.prototype.getVersion=function(){return sA(this,1)};var aUa=function(){qA.call(this)},Agd;t(aUa,qA);aUa.prototype.getVersion=function(){return sA(this,1)};var bUa=function(){qA.call(this)},ohd;t(bUa,qA);bUa.prototype.xo=function(){return sA(this,1)};bUa.prototype.Jd=function(){return sA(this,2)};bUa.prototype.Ee=function(a){uA(this,2,a)};var whd={nlb:1,$Od:2,QJd:3},CA=function(){qA.call(this)},xhd;
t(CA,qA);CA.prototype.getName=function(){return sA(this,2)};CA.prototype.Wb=function(a){uA(this,2,a)};CA.prototype.Jha=function(){return rA(this,2)};var cUa=function(){qA.call(this)},Zhd;t(cUa,qA);var dUa=function(){qA.call(this)},wyd;t(dUa,qA);dUa.prototype.getVersion=function(){return sA(this,3)};dUa.prototype.yz=function(){return sA(this,4)};dUa.prototype.dWa=e(13);var eUa=function(){qA.call(this)},JAd;t(eUa,qA);var ICd={xLd:1,xPd:2},DA=function(){qA.call(this)},QCd;t(DA,qA);
var fUa=function(){qA.call(this)},mGd;t(fUa,qA);var gUa=function(){qA.call(this)},OZd;t(gUa,qA);gUa.prototype.ji=function(){return sA(this,1)};var hUa=function(){qA.call(this)},k7d;t(hUa,qA);var Tye={kAd:1,WId:2},iUa=function(){qA.call(this)},xQe;t(iUa,qA);var jUa=function(){qA.call(this)},LWe;t(jUa,qA);var kUa=function(){qA.call(this)},p3e;t(kUa,qA);var lUa=function(){qA.call(this)},t3e;t(lUa,qA);var mUa=function(){qA.call(this)},F5e;t(mUa,qA);mUa.prototype.getName=function(){return sA(this,1)};
mUa.prototype.Wb=function(a){uA(this,1,a)};mUa.prototype.Jha=function(){return rA(this,1)};mUa.prototype.getValue=function(){return sA(this,2)};var nUa=function(){qA.call(this)},QEf;t(nUa,qA);var oUa=function(){qA.call(this)},oMf;t(oUa,qA);oUa.prototype.ji=function(){return sA(this,1)};var pUa=function(){qA.call(this)},lRf;t(pUa,qA);var qUa=function(){qA.call(this)},fVf;t(qUa,qA);qUa.prototype.getStatus=function(){return sA(this,2)};qUa.prototype.Fj=function(a){uA(this,2,a)};
var rUa=function(){qA.call(this)},M1f;t(rUa,qA);var sUa=function(){qA.call(this)},t7f;t(sUa,qA);var EA=function(){qA.call(this)},Y8f;t(EA,qA);EA.prototype.mL=e(327);EA.prototype.$b=e(329);var tUa=function(){qA.call(this)},Mag;t(tUa,qA);var Nag={$Ed:1},uUa=function(){qA.call(this)},Sbg;t(uUa,qA);uUa.prototype.Fc=function(){return sA(this,2)};uUa.prototype.Uq=function(a){uA(this,2,a)};var vUa=function(){qA.call(this)},kgg;t(vUa,qA);var wUa=function(){qA.call(this)},xgg;t(wUa,qA);
wUa.prototype.getVersion=function(){return sA(this,1)};var xUa=function(){qA.call(this)},ygg;t(xUa,qA);var yUa=function(){qA.call(this)},bhg;t(yUa,qA);yUa.prototype.xo=function(){return sA(this,1)};yUa.prototype.Jd=function(){return sA(this,2)};yUa.prototype.Ee=function(a){uA(this,2,a)};var gkg={Ezd:1,nPd:1E4};BA.prototype.qy=function(){l8c||(l8c=Yx(BA,{0:{name:"Version",Jj:"ipc.invalidation.Version"},1:{name:"major_version",Nd:5,type:Number},2:{name:"minor_version",Nd:5,type:Number}}));return l8c};
BA.ctor=BA;BA.ctor.qy=BA.prototype.qy;$Ta.prototype.qy=function(){Ead||(Ead=Yx($Ta,{0:{name:"ProtocolVersion",Jj:"ipc.invalidation.ProtocolVersion"},1:{name:"version",Nd:11,type:BA}}));return Ead};$Ta.ctor=$Ta;$Ta.ctor.qy=$Ta.prototype.qy;
aUa.prototype.qy=function(){Agd||(Agd=Yx(aUa,{0:{name:"ClientVersion",Jj:"ipc.invalidation.ClientVersion"},1:{name:"version",Nd:11,type:BA},2:{name:"platform",Nd:9,type:String},3:{name:"language",Nd:9,type:String},4:{name:"application_info",Nd:9,type:String}}));return Agd};aUa.ctor=aUa;aUa.ctor.qy=aUa.prototype.qy;bUa.prototype.qy=function(){ohd||(ohd=Yx(bUa,{0:{name:"StatusP",Jj:"ipc.invalidation.StatusP"},1:{name:"code",Nd:14,defaultValue:1,type:whd},2:{name:"description",Nd:9,type:String}}));return ohd};
bUa.ctor=bUa;bUa.ctor.qy=bUa.prototype.qy;CA.prototype.qy=function(){xhd||(xhd=Yx(CA,{0:{name:"ObjectIdP",Jj:"ipc.invalidation.ObjectIdP"},1:{name:"source",Nd:5,type:Number},2:{name:"name",Nd:12,type:String}}));return xhd};CA.ctor=CA;CA.ctor.qy=CA.prototype.qy;cUa.prototype.qy=function(){Zhd||(Zhd=Yx(cUa,{0:{name:"ApplicationClientIdP",Jj:"ipc.invalidation.ApplicationClientIdP"},1:{name:"client_type",Nd:5,type:Number},2:{name:"client_name",Nd:12,type:String}}));return Zhd};cUa.ctor=cUa;
cUa.ctor.qy=cUa.prototype.qy;dUa.prototype.qy=function(){wyd||(wyd=Yx(dUa,{0:{name:"InvalidationP",Jj:"ipc.invalidation.InvalidationP"},1:{name:"object_id",Nd:11,type:CA},2:{name:"is_known_version",Nd:8,type:Boolean},3:{name:"version",Nd:3,type:String},6:{name:"is_trickle_restart",Nd:8,defaultValue:!0,type:Boolean},4:{name:"payload",Nd:12,type:String}}));return wyd};dUa.ctor=dUa;dUa.ctor.qy=dUa.prototype.qy;
eUa.prototype.qy=function(){JAd||(JAd=Yx(eUa,{0:{name:"RegistrationP",Jj:"ipc.invalidation.RegistrationP"},1:{name:"object_id",Nd:11,type:CA},2:{name:"op_type",Nd:14,defaultValue:1,type:ICd}}));return JAd};eUa.ctor=eUa;eUa.ctor.qy=eUa.prototype.qy;DA.prototype.qy=function(){QCd||(QCd=Yx(DA,{0:{name:"RegistrationSummary",Jj:"ipc.invalidation.RegistrationSummary"},1:{name:"num_registrations",Nd:5,type:Number},2:{name:"registration_digest",Nd:12,type:String}}));return QCd};DA.ctor=DA;DA.ctor.qy=DA.prototype.qy;
fUa.prototype.qy=function(){mGd||(mGd=Yx(fUa,{0:{name:"ClientHeader",Jj:"ipc.invalidation.ClientHeader"},1:{name:"protocol_version",Nd:11,type:$Ta},2:{name:"client_token",Nd:12,type:String},3:{name:"registration_summary",Nd:11,type:DA},4:{name:"client_time_ms",Nd:3,type:Number},5:{name:"max_known_server_time_ms",Nd:3,type:Number},6:{name:"message_id",Nd:9,type:String},7:{name:"client_type",Nd:5,type:Number}}));return mGd};fUa.ctor=fUa;fUa.ctor.qy=fUa.prototype.qy;
gUa.prototype.qy=function(){OZd||(OZd=Yx(gUa,{0:{name:"ClientToServerMessage",Jj:"ipc.invalidation.ClientToServerMessage"},1:{name:"header",Nd:11,type:fUa},2:{name:"initialize_message",Nd:11,type:hUa},3:{name:"registration_message",Nd:11,type:iUa},4:{name:"registration_sync_message",Nd:11,type:jUa},5:{name:"invalidation_ack_message",Nd:11,type:EA},6:{name:"info_message",Nd:11,type:lUa}}));return OZd};gUa.ctor=gUa;gUa.ctor.qy=gUa.prototype.qy;
hUa.prototype.qy=function(){k7d||(k7d=Yx(hUa,{0:{name:"InitializeMessage",Jj:"ipc.invalidation.InitializeMessage"},1:{name:"client_type",Nd:5,type:Number},2:{name:"nonce",Nd:12,type:String},3:{name:"application_client_id",Nd:11,type:cUa},4:{name:"digest_serialization_type",Nd:14,defaultValue:1,type:Tye}}));return k7d};hUa.ctor=hUa;hUa.ctor.qy=hUa.prototype.qy;
iUa.prototype.qy=function(){xQe||(xQe=Yx(iUa,{0:{name:"RegistrationMessage",Jj:"ipc.invalidation.RegistrationMessage"},1:{name:"registration",YX:!0,Nd:11,type:eUa}}));return xQe};iUa.ctor=iUa;iUa.ctor.qy=iUa.prototype.qy;jUa.prototype.qy=function(){LWe||(LWe=Yx(jUa,{0:{name:"RegistrationSyncMessage",Jj:"ipc.invalidation.RegistrationSyncMessage"},1:{name:"subtree",YX:!0,Nd:11,type:kUa}}));return LWe};jUa.ctor=jUa;jUa.ctor.qy=jUa.prototype.qy;
kUa.prototype.qy=function(){p3e||(p3e=Yx(kUa,{0:{name:"RegistrationSubtree",Jj:"ipc.invalidation.RegistrationSubtree"},1:{name:"registered_object",YX:!0,Nd:11,type:CA}}));return p3e};kUa.ctor=kUa;kUa.ctor.qy=kUa.prototype.qy;
lUa.prototype.qy=function(){t3e||(t3e=Yx(lUa,{0:{name:"InfoMessage",Jj:"ipc.invalidation.InfoMessage"},1:{name:"client_version",Nd:11,type:aUa},2:{name:"config_parameter",YX:!0,Nd:11,type:mUa},3:{name:"performance_counter",YX:!0,Nd:11,type:mUa},4:{name:"server_registration_summary_requested",Nd:8,type:Boolean},5:{name:"client_config",Nd:11,type:wUa}}));return t3e};lUa.ctor=lUa;lUa.ctor.qy=lUa.prototype.qy;
mUa.prototype.qy=function(){F5e||(F5e=Yx(mUa,{0:{name:"PropertyRecord",Jj:"ipc.invalidation.PropertyRecord"},1:{name:"name",Nd:9,type:String},2:{name:"value",Nd:5,type:Number}}));return F5e};mUa.ctor=mUa;mUa.ctor.qy=mUa.prototype.qy;
nUa.prototype.qy=function(){QEf||(QEf=Yx(nUa,{0:{name:"ServerHeader",Jj:"ipc.invalidation.ServerHeader"},1:{name:"protocol_version",Nd:11,type:$Ta},2:{name:"client_token",Nd:12,type:String},3:{name:"registration_summary",Nd:11,type:DA},4:{name:"server_time_ms",Nd:3,type:Number},5:{name:"message_id",Nd:9,type:String}}));return QEf};nUa.ctor=nUa;nUa.ctor.qy=nUa.prototype.qy;
oUa.prototype.qy=function(){oMf||(oMf=Yx(oUa,{0:{name:"ServerToClientMessage",Jj:"ipc.invalidation.ServerToClientMessage"},1:{name:"header",Nd:11,type:nUa},2:{name:"token_control_message",Nd:11,type:pUa},3:{name:"invalidation_message",Nd:11,type:EA},4:{name:"registration_status_message",Nd:11,type:rUa},5:{name:"registration_sync_request_message",Nd:11,type:sUa},6:{name:"config_change_message",Nd:11,type:xUa},7:{name:"info_request_message",Nd:11,type:tUa},8:{name:"error_message",Nd:11,type:yUa}}));
return oMf};oUa.ctor=oUa;oUa.ctor.qy=oUa.prototype.qy;pUa.prototype.qy=function(){lRf||(lRf=Yx(pUa,{0:{name:"TokenControlMessage",Jj:"ipc.invalidation.TokenControlMessage"},1:{name:"new_token",Nd:12,type:String}}));return lRf};pUa.ctor=pUa;pUa.ctor.qy=pUa.prototype.qy;qUa.prototype.qy=function(){fVf||(fVf=Yx(qUa,{0:{name:"RegistrationStatus",Jj:"ipc.invalidation.RegistrationStatus"},1:{name:"registration",Nd:11,type:eUa},2:{name:"status",Nd:11,type:bUa}}));return fVf};qUa.ctor=qUa;qUa.ctor.qy=qUa.prototype.qy;
rUa.prototype.qy=function(){M1f||(M1f=Yx(rUa,{0:{name:"RegistrationStatusMessage",Jj:"ipc.invalidation.RegistrationStatusMessage"},1:{name:"registration_status",YX:!0,Nd:11,type:qUa}}));return M1f};rUa.ctor=rUa;rUa.ctor.qy=rUa.prototype.qy;sUa.prototype.qy=function(){t7f||(t7f=Yx(sUa,{0:{name:"RegistrationSyncRequestMessage",Jj:"ipc.invalidation.RegistrationSyncRequestMessage"}}));return t7f};sUa.ctor=sUa;sUa.ctor.qy=sUa.prototype.qy;
EA.prototype.qy=function(){Y8f||(Y8f=Yx(EA,{0:{name:"InvalidationMessage",Jj:"ipc.invalidation.InvalidationMessage"},1:{name:"invalidation",YX:!0,Nd:11,type:dUa}}));return Y8f};EA.ctor=EA;EA.ctor.qy=EA.prototype.qy;tUa.prototype.qy=function(){Mag||(Mag=Yx(tUa,{0:{name:"InfoRequestMessage",Jj:"ipc.invalidation.InfoRequestMessage"},1:{name:"info_type",YX:!0,Nd:14,defaultValue:1,type:Nag}}));return Mag};tUa.ctor=tUa;tUa.ctor.qy=tUa.prototype.qy;
uUa.prototype.qy=function(){Sbg||(Sbg=Yx(uUa,{0:{name:"RateLimitP",Jj:"ipc.invalidation.RateLimitP"},1:{name:"window_ms",Nd:5,type:Number},2:{name:"count",Nd:5,type:Number}}));return Sbg};uUa.ctor=uUa;uUa.ctor.qy=uUa.prototype.qy;vUa.prototype.qy=function(){kgg||(kgg=Yx(vUa,{0:{name:"ProtocolHandlerConfigP",Jj:"ipc.invalidation.ProtocolHandlerConfigP"},1:{name:"batching_delay_ms",Nd:5,defaultValue:500,type:Number},2:{name:"rate_limit",YX:!0,Nd:11,type:uUa}}));return kgg};vUa.ctor=vUa;
vUa.ctor.qy=vUa.prototype.qy;
wUa.prototype.qy=function(){xgg||(xgg=Yx(wUa,{0:{name:"ClientConfigP",Jj:"ipc.invalidation.ClientConfigP"},1:{name:"version",Nd:11,type:BA},2:{name:"network_timeout_delay_ms",Nd:5,defaultValue:6E4,type:Number},3:{name:"write_retry_delay_ms",Nd:5,defaultValue:1E4,type:Number},4:{name:"heartbeat_interval_ms",Nd:5,defaultValue:12E5,type:Number},5:{name:"perf_counter_delay_ms",Nd:5,defaultValue:216E5,type:Number},6:{name:"max_exponential_backoff_factor",Nd:5,defaultValue:500,type:Number},7:{name:"smear_percent",
Nd:5,defaultValue:20,type:Number},8:{name:"is_transient",Nd:8,defaultValue:!1,type:Boolean},9:{name:"initial_persistent_heartbeat_delay_ms",Nd:5,defaultValue:2E3,type:Number},10:{name:"protocol_handler_config",Nd:11,type:vUa},11:{name:"channel_supports_offline_delivery",Nd:8,defaultValue:!1,type:Boolean},12:{name:"offline_heartbeat_threshold_ms",Nd:5,defaultValue:6E4,type:Number},13:{name:"allow_suppression",Nd:8,defaultValue:!0,type:Boolean}}));return xgg};wUa.ctor=wUa;wUa.ctor.qy=wUa.prototype.qy;
xUa.prototype.qy=function(){ygg||(ygg=Yx(xUa,{0:{name:"ConfigChangeMessage",Jj:"ipc.invalidation.ConfigChangeMessage"},1:{name:"next_message_delay_ms",Nd:3,type:Number}}));return ygg};xUa.ctor=xUa;xUa.ctor.qy=xUa.prototype.qy;yUa.prototype.qy=function(){bhg||(bhg=Yx(yUa,{0:{name:"ErrorMessage",Jj:"ipc.invalidation.ErrorMessage"},1:{name:"code",Nd:14,defaultValue:1,type:gkg},2:{name:"description",Nd:9,type:String}}));return bhg};yUa.ctor=yUa;yUa.ctor.qy=yUa.prototype.qy;
var EUa=function(){qA.call(this)},hkg;t(EUa,qA);EUa.prototype.mL=e(326);EUa.prototype.$b=e(328);var FUa=function(){qA.call(this)},ikg;t(FUa,qA);var GUa=function(){qA.call(this)},jkg;t(GUa,qA);EUa.prototype.qy=function(){hkg||(hkg=Yx(EUa,{0:{name:"AckHandleP",Jj:"ipc.invalidation.AckHandleP"},1:{name:"invalidation",Nd:11,type:dUa}}));return hkg};EUa.ctor=EUa;EUa.ctor.qy=EUa.prototype.qy;
FUa.prototype.qy=function(){ikg||(ikg=Yx(FUa,{0:{name:"PersistentTiclState",Jj:"ipc.invalidation.PersistentTiclState"},1:{name:"client_token",Nd:12,type:String},2:{name:"last_message_send_time_ms",Nd:3,defaultValue:"0",type:String}}));return ikg};FUa.ctor=FUa;FUa.ctor.qy=FUa.prototype.qy;GUa.prototype.qy=function(){jkg||(jkg=Yx(GUa,{0:{name:"PersistentStateBlob",Jj:"ipc.invalidation.PersistentStateBlob"},1:{name:"ticl_state",Nd:11,type:FUa},2:{name:"authentication_code",Nd:12,type:String}}));return jkg}; GUa.ctor=GUa;GUa.ctor.qy=GUa.prototype.qy;
var JOf=new $Ta,oRf=new BA;uA(oRf,1,3);uA(oRf,2,2);uA(JOf,1,oRf);var cVf=new BA;uA(cVf,1,3);uA(cVf,2,2);var gVf=new BA;uA(gVf,1,3);uA(gVf,2,20140825);var r3f=new CA;r3f.Wb("");uA(r3f,1,1);var pkg={bLd:1,cLd:2},AUa=function(){qA.call(this)},qkg;t(AUa,qA);var rkg={rlb:1,$4b:111,oOd:112,ANDROID:113,sHd:114,jXb:115};AUa.prototype.qy=function(){qkg||(qkg=Yx(AUa,{0:{name:"NetworkEndpointId",Jj:"ipc.invalidation.NetworkEndpointId"},1:{name:"network_address",Nd:14,defaultValue:1,type:rkg},2:{name:"client_address",Nd:12,type:String},3:{name:"is_offline",Nd:8,type:Boolean}}));return qkg};AUa.ctor=AUa;AUa.ctor.qy=AUa.prototype.qy;
var JUa=function(){qA.call(this)},skg;t(JUa,qA);var wkg={jBd:1,EMd:2,BCd:3,iXb:4,FVb:5};
JUa.prototype.qy=function(){skg||(skg=Yx(JUa,{0:{name:"ClientGatewayMessage",Jj:"ipc.invalidation.ClientGatewayMessage"},1:{name:"is_client_to_server",Nd:8,type:Boolean},2:{name:"service_context",Nd:12,type:String},3:{name:"rpc_scheduling_hash",Nd:3,type:String},5:{name:"protocol_version",Nd:11,type:$Ta},6:{name:"message_type",Nd:14,defaultValue:1,type:wkg},7:{name:"encoding",Nd:14,defaultValue:1,type:pkg},8:{name:"client_endpoint_id",Nd:11,type:AUa},9:{name:"service_endpoint_id",Nd:12,type:String}, 4:{name:"network_message",Nd:12,type:String},10:{name:"debug_info",Nd:9,type:String}}));return skg};JUa.ctor=JUa;JUa.ctor.qy=JUa.prototype.qy;
var asg=function(a,b,c,d,f,h){$rg.call(this,a,d,f,h);a=new Af(this.Ab);null!=c&&Hf(a,"oauth_token",c);0!=d&&Hf(a,"authuser",d);null!=f&&Hf(a,"service",f);c={};c.pu=a.toString();this.Qb=new Prg(c,b,Lp(this.abd,this));this.Sa=null};t(asg,$rg);q=asg.prototype;q.abd=function(a){this.Sa=a;this.Sa.Sa("ss",Lp(this.tbd,this));this.Sa.Sa("sf",Lp(this.rbd,this),!0);this.Rk.wcd()};q.start=function(){Rrg(this.Qb)};q.send=function(a,b){this.Sa.send("s",[a,b||null])};q.tbd=function(){};q.rbd=function(){};
var dsg=function(a,b,c,d){this.Ag=null;this.YY=[];this.Km=this.mL=!1;this.Vk=b;this.Ko=c||"lcssenderclient";this.Ab=[];this.Qb=d||null;this.jg=new zYe(this,a);null!=this.Qb&&(b=this.jg,c=this.Qb,uA(b.Sa,2,3),b.Sa.bu(c),l0e(b));this.jg.open();this.$b=this.Vb=null;this.uh=0;b=a.Ab;a.Oa()?this.Oa=new asg(this.Vk,this.Ko,this.Qb,b,a.Sa,this):this.Oa=new $rg(this.Vk,b,a.Sa,this);this.Oa.start()};dsg.prototype.Op=function(a){this.$b||(this.Vb=lGd(a,"tango_service",this),this.Vb.open())};
dsg.prototype.Sa=e(330);dsg.prototype.sendMessage=function(a){this.mL?esg(this,a):(10<=this.Ab.length&&this.Ab.shift(),this.Ab.push(a))};var esg=function(a,b){if(a.mL){var c=a.$b,d=new AUa;uA(d,1,114);uA(d,2,c);var c=a.uh.toString(),f=new BA;uA(f,2,2);uA(f,1,3);var h=new $Ta;uA(h,1,f);f=new JUa;uA(f,5,h);uA(f,6,1);uA(f,7,2);uA(f,4,b);uA(f,8,d);uA(f,1,!0);uA(f,10,c);a.uh++;d=WTa(f);c={"Content-Type":"application/json"};null!=a.Qb&&(c.Authorization="OAuth "+a.Qb);a.Oa.send(d,c)}};q=dsg.prototype;
q.ixc=function(a,b){this.Ag&&this.Ag(b)};q.onError=function(){};q.vcd=function(){Yrg(this,!1)};q.ucd=function(a,b){this.$b=b;Yrg(this,!0)};q.$cd=function(){};q.wcd=function(){this.Km=!0;Yrg(this,!0)};var Yrg=function(a,b){a.mL=b&&null!=a.$b&&a.Km;if(a.mL&&!gb(a.Ab)){for(var c=0;c<a.Ab.length;c++)esg(a,a.Ab[c]);hb(a.Ab)}for(c=0;c<a.YY.length;++c)a.YY[c](a.mL)},fsg=function(a,b,c,d,f,h,k){a=new Zrg(a,c,"lcsclient");d&&(a.Ab=d);k&&(a.Sa=k);dsg.call(this,a,b,f,h)};t(fsg,dsg);
var nGd=null,pGd=function(a,b,c){null==nGd&&(nGd=new fsg(a+"/client-channel/client",b+"/invalidation/lcs/client","oz",c));return nGd};var OFd=function(a){K(this,a,0,-1,[])};t(OFd,J);var QFd=new B(71369743,{udd:0},OFd,function(a,b){var c={tdd:w(b,1),wdd:w(b,2)};a&&(c.mb=b);return c},0);
G("sy92");I();
}catch(e){_DumpException(e)}
try{
H("sy98");var WSa=function(a){this.RZ=a||XSa},XSa=function(a,b){return String(a)<String(b)?-1:String(a)>String(b)?1:0};q=WSa.prototype;q.jG=null;q.RZ=null;q.N0=null;q.J0=null;
q.add=function(a){if(null==this.jG)return this.J0=this.N0=this.jG=new fTa(a),!0;var b=null;oA(this,function(c){var d=null,f=this.RZ(c.value,a);0<f?(d=c.left,null==c.left&&(b=new fTa(a,c),c.left=b,c==this.N0&&(this.N0=b))):0>f&&(d=c.right,null==c.right&&(b=new fTa(a,c),c.right=b,c==this.J0&&(this.J0=b)));return d});b&&(oA(this,function(a){a.count++;return a.parent},b.parent),$Sa(this,b.parent));return!!b};
q.remove=function(a){var b=null;oA(this,function(c){var d=null,f=this.RZ(c.value,a);0<f?d=c.left:0>f?d=c.right:(b=c.value,bFb(this,c));return d});return b};q.clear=function(){this.J0=this.N0=this.jG=null};q.contains=function(a){var b=!1;oA(this,function(c){var d=null,f=this.RZ(c.value,a);0<f?d=c.left:0>f?d=c.right:b=!0;return d});return b};
q.indexOf=function(a){var b=-1,c=0;oA(this,function(d){var f=this.RZ(d.value,a);if(0<f)return d.left;d.left&&(c+=d.left.count);if(0>f)return c++,d.right;b=c;return null});return b};q.Fc=function(){return this.jG?this.jG.count:0};q.Ic=function(){return this.jG?this.jG.height:0};q.Rc=function(){var a=[];YSa(this,function(b){a.push(b)});return a};
var YSa=function(a,b){if(a.jG){var c,d=c=ZSa(a);for(c=c.left?c.left:c;null!=d;)if(null!=d.left&&d.left!=c&&d.right!=c)d=d.left;else{if(d.right!=c&&b(d.value))break;var f=d,d=null!=d.right&&d.right!=c?d.right:d.parent;c=f}}},oA=function(a,b,c){for(c=c?c:a.jG;c&&null!=c;)c=b.call(a,c)},$Sa=function(a,b){oA(a,function(a){var b=a.left?a.left.height:0,f=a.right?a.right.height:0;1<b-f?(a.left.right&&(!a.left.left||a.left.left.height<a.left.right.height)&&aTa(this,a.left),bTa(this,a)):1<f-b&&(a.right.left&&
(!a.right.right||a.right.right.height<a.right.left.height)&&bTa(this,a.right),aTa(this,a));b=a.left?a.left.height:0;f=a.right?a.right.height:0;a.height=Math.max(b,f)+1;return a.parent},b)},aTa=function(a,b){cTa(b)?(b.parent.left=b.right,b.right.parent=b.parent):dTa(b)?(b.parent.right=b.right,b.right.parent=b.parent):(a.jG=b.right,a.jG.parent=null);var c=b.right;b.right=b.right.left;null!=b.right&&(b.right.parent=b);c.left=b;b.parent=c;c.count=b.count;b.count-=(c.right?c.right.count:0)+1},bTa=function(a,
b){cTa(b)?(b.parent.left=b.left,b.left.parent=b.parent):dTa(b)?(b.parent.right=b.left,b.left.parent=b.parent):(a.jG=b.left,a.jG.parent=null);var c=b.left;b.left=b.left.right;null!=b.left&&(b.left.parent=b);c.right=b;b.parent=c;c.count=b.count;b.count-=(c.left?c.left.count:0)+1},bFb=function(a,b){if(null!=b.left||null!=b.right){var c=null,d;if(null!=b.left){d=eTa(a,b.left);oA(a,function(a){a.count--;return a.parent},d);if(d!=b.left){if(d.parent.right=d.left)d.left.parent=d.parent;d.left=b.left;d.left.parent=
d;c=d.parent}d.parent=b.parent;d.right=b.right;d.right&&(d.right.parent=d);b==a.J0&&(a.J0=d)}else{d=ZSa(a,b.right);oA(a,function(a){a.count--;return a.parent},d);if(d!=b.right){if(d.parent.left=d.right)d.right.parent=d.parent;d.right=b.right;d.right.parent=d;c=d.parent}d.parent=b.parent;d.left=b.left;d.left&&(d.left.parent=d);b==a.N0&&(a.N0=d)}d.count=b.count;cTa(b)?b.parent.left=d:dTa(b)?b.parent.right=d:a.jG=d;$Sa(a,c?c:d)}else oA(a,function(a){a.count--;return a.parent},b.parent),cTa(b)?(b.parent.left=
null,b==a.N0&&(a.N0=b.parent),$Sa(a,b.parent)):dTa(b)?(b.parent.right=null,b==a.J0&&(a.J0=b.parent),$Sa(a,b.parent)):a.clear()},ZSa=function(a,b){if(!b)return a.N0;var c=b;oA(a,function(a){var b=null;a.left&&(b=c=a.left);return b},b);return c},eTa=function(a,b){if(!b)return a.J0;var c=b;oA(a,function(a){var b=null;a.right&&(b=c=a.right);return b},b);return c},fTa=function(a,b){this.value=a;this.parent=b?b:null;this.count=1};fTa.prototype.left=null;fTa.prototype.right=null;fTa.prototype.height=1; var dTa=function(a){return!!a.parent&&a.parent.right==a},cTa=function(a){return!!a.parent&&a.parent.left==a};

G("sy98");I();
}catch(e){_DumpException(e)}
try{
dsg.prototype.Sa=g(330,function(){});EA.prototype.$b=g(329,function(){return rA(this,1)});EUa.prototype.$b=g(328,function(){return rA(this,1)});EA.prototype.mL=g(327,function(a){return sA(this,1,a)});EUa.prototype.mL=g(326,function(){return sA(this,1)});vha.prototype.dWa=g(15,function(){Py(this,2,void 0)});ul.prototype.dWa=g(14,function(){Py(this,3,void 0)});dUa.prototype.dWa=g(13,function(){BTa(this,4)});
var Jwd=function(a){vca(a);for(var b={},c=0;c<a.Ab.length;c++){var d=a.Ab[c];b[d]=a.fe[d]}return b},jTa=function(){};jTa.prototype.toString=function(){var a=new li,b=!0,c;for(c in this){var d=this[c];ta(d)||(b||a.fc(", "),b=!1,a.fc(c+" = "+d))}return a.toString()};var mTa=function(a,b){this.Sa=a;this.Ab=b};t(mTa,jTa);mTa.prototype.xo=function(){return this.Sa};mTa.prototype.getMessage=function(){return this.Ab};mTa.prototype.ns=function(){return 0==this.Sa};
var NUa=function(a){var b=new FUa;uA(b,1,a);return b},dFb=function(a,b){var c=new eUa;uA(c,1,a);uA(c,2,b?1:2);return c},nTa=function(a){this.Sa=a};t(nTa,jTa);nTa.prototype.equals=function(a){return"undefined"!=typeof nTa&&a instanceof nTa&&this.Sa===a.Sa};var kTa=function(a,b){this.Sa=a;this.hE=b;for(var c=0;c<b.length;c++);};t(kTa,jTa);kTa.prototype.getName=function(){return this.hE};kTa.prototype.equals=function(a){return this==a?!0:this.Sa==a.Sa&&this.hE==a.hE}; var pA=function(a,b){this.hE=a;this.Sa=b};pA.prototype.getName=function(){return this.hE};pA.prototype.toString=function(){return this.hE};var AA=function(a){return WTa(a)};H("tg");
var rdb=function(){this.Sa=new Ze},agb=function(a){return sA(a,1).toString()+":"+a.getName()};var WUa=function(){this.Sa=1};WUa.prototype.start=function(){this.Sa=2};WUa.prototype.stop=function(){this.Sa=3};var QVa=function(a,b,c,d,f){this.Ab=b;this.Qb=c;this.Sa=d;this.mL=f;this.$b=new WUa;this.Ab.Sa(this);this.Qb.Sa(this);this.Sa.Sa(this);this.mL.Sa(this)};QVa.prototype.start=function(){this.$b.start()};QVa.prototype.stop=function(){this.$b.stop()};var $hb=function(a){this.mL=a;this.Qb=Ta();this.Ab=(this.Sa=ucd("google_notification_values_"+this.mL))?ucd("google_notification_remover_"+this.mL):null};$hb.prototype.add=function(a){if(null!=this.Sa&&!(10<=this.Sa.Fc())){var b=Ta();null!=a?this.Sa.set(b,a):this.Sa.remove(b)}};
var Emb=function(a){for(var b=null,c=5;null==b&&0<c--;){var d=a.Sa?qca(a.Sa.fw(!0)):[];if(0==d.length)break;var f=Math.floor(Math.random()*d.length),b=a,d=d[f],f=b,h=d,k=b.Qb;k?f.Ab.set(h,k):f.Ab.remove(h);f=b.Sa.get(d);b.Sa.remove(d);b.Ab.get(d)!=b.Qb&&(f=null);b.Ab.remove(d);b=f}return b};
var SVa=function(){this.Ab=null},VUa=function(a,b,c){a=Lp(function(){2==this.Ab.$b.Sa&&c.Sa()},a);Uf(a,b)};SVa.prototype.Sa=function(a){this.Ab=a};var UVa=function(){this.Ab=null;this.Qb=new Ze};UVa.prototype.Sa=function(a){this.Ab=a.Ab};UVa.prototype.mL=function(a,b,c){var d=Lp(function(){this.Qb.set(a,b);c(new mTa(0,""))},this);VUa(this.Ab,0,new pA("writeKey",d))}; UVa.prototype.$b=function(a,b){var c=Lp(function(){var c=this.Qb.get(a);c?b(new mTa(0,""),c):b(new mTa(2,"No value present in map for "+a),"")},this);VUa(this.Ab,0,new pA("readKey",c))};
var OUa=function(a){this.Sa=a};OUa.prototype.le=function(){return Yza(this.Sa)};OUa.prototype.equals=function(a){return zb(this.Sa,a.Sa)};OUa.prototype.toString=function(){return ou("Digest: <%s, %s>",this.le(),this.Sa.toString())};var PUa=function(){this.Sa=new Ov};PUa.prototype.reset=function(){this.Sa.reset()};PUa.prototype.update=function(a){this.Sa.update(a)};var QUa=function(a){a=a.Sa.FD();return new OUa(a)},RUa=function(a,b){b.reset();for(var c=[],d=sA(a,1),f=0;4>f;f++)c[f]=d&255,d=d>>8;b.update(c);b.update(a.getName());return QUa(b)};
var SUa=function(a,b){var c=TUa(a,b).le(),d=new GUa;uA(d,1,a);uA(d,2,c);return WTa(d)},TUa=function(a,b){b.reset();b.update(WTa(a));return QUa(b)};var FA=function(a,b,c,d,f,h,k){this.hE=a;this.YY=b;this.Oa=h;this.Ag=k;this.$b=d;this.mL=f;this.Qb=!1;this.uh=new pA(a,Lp(function(){this.Qb=!1;this.Sa()?GA(this,!0):null!=f&&this.mL.reset()},this))};t(FA,jTa);var GA=function(a,b){if(!a.Qb){var c;c=b?null!=a.mL?a.Ag+rTa(a.mL):a.Ag+UUa(a.$b,a.Oa):UUa(a.$b,a.Oa);VUa(a.YY,c,a.uh);a.Qb=!0}};
var XUa=function(){this.Ab=new Ze;this.Sa=new Ze;this.mL=new Ze;this.$b=new Ze;this.Qb=new Ze;YUa(this.Ab,Rb(ZUa));YUa(this.Sa,Rb($Ua));YUa(this.mL,Rb(aVa));YUa(this.$b,Rb(bVa));YUa(this.Qb,Rb(cVa))},YUa=function(a,b){for(var c=0;c<b.length;c++)a.set(b[c],0)},HA=function(a,b){IA(a.Qb,b)},dVa=function(a,b,c){for(var d=a.ii(),f=0;f<d.length;f++){var h=d[f],k=a.get(h),h=c+"."+h;0<k&&b.set(h,k)}},IA=function(a,b){a.set(b,a.get(b)+1)},ZUa={dGd:"INFO",iGd:"INITIALIZE",vGd:"INVALIDATION_ACK",j$b:"REGISTRATION",
ALd:"REGISTRATION_SYNC",abc:"TOTAL"},$Ua={hGd:"INFO_REQUEST",uGd:"INVALIDATION",zLd:"REGISTRATION_STATUS",BLd:"REGISTRATION_SYNC_REQUEST",POd:"TOKEN_CONTROL",ERROR:"ERROR",zBd:"CONFIG_CHANGE",Xod:"STALE_INVALIDATION",abc:"TOTAL"},aVa={Xyd:"ACKNOWLEDGE",j$b:"REGISTRATION",yPd:"UNREGISTRATION"},bVa={eGd:"INFORM_ERROR",fGd:"INFORM_REGISTRATION_FAILURE",gGd:"INFORM_REGISTRATION_STATUS",rGd:"INVALIDATE",sGd:"INVALIDATE_ALL",tGd:"INVALIDATE_UNKNOWN",DLd:"REISSUE_REGISTRATIONS"},cVa={Yyd:"ACKNOWLEDGE_HANDLE_FAILURE",
bGd:"INCOMING_MESSAGE_FAILURE",wJd:"OUTGOING_MESSAGE_FAILURE",RJd:"PERSISTENT_DESERIALIZATION_FAILURE",SJd:"PERSISTENT_READ_FAILURE",TJd:"PERSISTENT_WRITE_FAILURE",dLd:"PROTOCOL_VERSION_FAILURE",yLd:"REGISTRATION_DISCREPANCY",OId:"NONCE_MISMATCH",QOd:"TOKEN_MISMATCH",ROd:"TOKEN_MISSING_FAILURE",SOd:"TOKEN_TRANSIENT_FAILURE",Hbd:"NETWORK_DISCONNECTED"};
var fVa=function(){var a=function(){return!0},b=Lp(this.required,this),c=Lp(function(a){return Lp(this.Ab,this,a)},this),d=c(0),f=Lp(this.mL,this);this.Qb={Version:{major_version:[b,d],minor_version:[b,d]},ProtocolVersion:{version:[b]},ObjectIdP:{name:[b],source:[b,d]},InvalidationP:{object_id:[b],is_known_version:[b],version:[b,d],payload:[a],is_trickle_restart:[a]},RegistrationP:{object_id:[b],op_type:[b]},RegistrationSummary:{num_registrations:[b,d],registration_digest:[b,f]},InvalidationMessage:{invalidation:[b]},
ClientHeader:{protocol_version:[b],client_token:[a,f],registration_summary:[a],client_time_ms:[b],max_known_server_time_ms:[b],client_type:[a],message_id:[a]},ApplicationClientIdP:{client_type:[b],client_name:[b,f]},InitializeMessage:{client_type:[b],nonce:[b,f],digest_serialization_type:[b],application_client_id:[b]},RegistrationMessage:{registration:[b]},ClientVersion:{version:[b],platform:[b],language:[b],application_info:[b]},PropertyRecord:{name:[b],value:[b]},InfoMessage:{client_version:[b],
config_parameter:[a],performance_counter:[a],client_config:[a],server_registration_summary_requested:[a]},ClientConfigP:{version:[b],network_timeout_delay_ms:[a],write_retry_delay_ms:[a],heartbeat_interval_ms:[a],perf_counter_delay_ms:[a],max_exponential_backoff_factor:[a],smear_percent:[a],is_transient:[a],initial_persistent_heartbeat_delay_ms:[a],channel_supports_offline_delivery:[a],protocol_handler_config:[b],offline_heartbeat_threshold_ms:[a],allow_suppression:[a]},ProtocolHandlerConfigP:{batching_delay_ms:[a],
rate_limit:[a]},RateLimitP:{window_ms:[b,c(1E3)],count:[b]},RegistrationSubtree:{registered_object:[a]},RegistrationSyncMessage:{subtree:[b]},ClientToServerMessage:{header:[b],info_message:[a],initialize_message:[a],invalidation_ack_message:[a],registration_message:[a],registration_sync_message:[a]},ServerHeader:{protocol_version:[b],client_token:[b,f],registration_summary:[a],server_time_ms:[b,d],message_id:[a,f]},StatusP:{code:[b],description:[a]},TokenControlMessage:{new_token:[a]},ErrorMessage:{code:[b],
description:[b]},RegistrationStatus:{registration:[b],status:[b]},RegistrationStatusMessage:{registration_status:[b]},RegistrationSyncRequestMessage:{},InfoRequestMessage:{info_type:[b]},ConfigChangeMessage:{next_message_delay_ms:[a,c(1)]},ServerToClientMessage:{header:[b],token_control_message:[a],invalidation_message:[a],registration_status_message:[a],registration_sync_request_message:[a],config_change_message:[a],info_request_message:[a],error_message:[a]}}};t(fVa,eVa);fVa.prototype.Sa=function(){return this.Qb};
var gVa=function(a,b,c,d,f,h){var k=new aUa;uA(k,1,gVf);uA(k,2,oVb+"");uA(k,3,"JS");uA(k,4,d);this.jg=k;this.YY=a.Sa;this.Fp=f;this.Oa=h;this.$b=1;this.Ag=this.mL=0;this.Ab=b;this.Sa=new iVa(b);this.Qb=c},iVa=function(a){this.Sa=a;this.Oa=new Ze;this.Ab=new Ze;this.$b=new Ze;this.mL=this.Qb=null},jVa=function(a,b){this.Xd=a;this.Sa=b};jVa.prototype.toString=function(){return ou("Token: %s, Summary: %s",null==this.Xd?"null":this.Xd,this.Sa.toString())};
var kVa=function(a){var b=a.ji();this.Hz=new jVa(sA(b,2),rA(b,3)?sA(b,3):null);this.Sa=rA(a,2)?sA(a,2):null;this.mL=rA(a,3)?sA(a,3):null;this.Qb=rA(a,4)?sA(a,4):null;this.$b=rA(a,5)?sA(a,5):null;rA(a,6)&&sA(a,6);this.Ab=rA(a,7)?sA(a,7):null;this.uK=rA(a,8)?sA(a,8):null},lVa=function(a,b){var c;c=oUa.qy();c=YTa(c,b,a.uh);if(null==c)return null;if(!a.Oa.Yj(c))return HA(a.Ab,"INCOMING_MESSAGE_FAILURE"),null;var d=c.ji();sA(d,2);rA(d,3)&&sA(d,3);var f=sA(d,1).getVersion();if(3!=sA(f,1))return HA(a.Ab, "PROTOCOL_VERSION_FAILURE"),null;if(rA(c,6))return c=sA(c,6),IA(a.Ab.Sa,"CONFIG_CHANGE"),rA(c,1)&&(a.Ag=Wa()+tA(c,1)),null;a.mL=Math.max(a.mL,sA(d,4));return new kVa(c)};
var mVa=function(a){return new kTa(sA(a,1),a.getName())},nVa=function(a){var b=a.Sa;a=a.getName();var c=new CA;uA(c,1,b);c.Wb(a);return c};var qVa=function(a){this.Sa=new WSa(rVa);this.Ab=a;sVa(this)},tVa=function(a,b){this.FD=a;this.kLa=b};tVa.prototype.toString=function(){return ou("[%s, %s]",this.FD.toString(),this.kLa.toString())};var rVa=function(a,b){var c;t:{c=a.FD.Sa;for(var d=b.FD.Sa,f=yb,h=Math.min(c.length,d.length),k=0;k<h;k++){var m=f(c[k],d[k]);if(0!=m){c=m;break t}}c=yb(c.length,d.length)}return c};q=qVa.prototype;
q.add=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],f=RUa(d,this.Ab),f=new tVa(f,d);this.Sa.contains(f)||(this.Sa.add(f),b.push(d))}0<b.length&&sVa(this);return b};q.remove=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],f=RUa(d,this.Ab),f=new tVa(f,d);this.Sa.contains(f)&&(this.Sa.remove(f),b.push(d))}0<b.length&&sVa(this);return b};q.removeAll=function(){for(var a=[],b=this.Sa.Rc(),c=0;c<b.length;c++)a.push(b[c].kLa);this.Sa.clear();sVa(this);return a};
q.contains=function(a){var b=RUa(a,this.Ab);return this.Sa.contains(new tVa(b,a))};q.size=function(){return this.Sa.Fc()};var sVa=function(a){for(var b=[],c=a.Sa.Rc(),d=0;d<c.length;d++)b.push(c[d].FD);c=a.Ab;c.reset();for(d=0;d<b.length;d++)c.update(b[d].Sa);b=QUa(c);a.mL=b};qVa.prototype.toString=function(){return ou("Digest: %s, Regs: %s",this.mL.toString(),this.Sa.Rc().toString())};
var uVa=function(a,b,c){this.Sa=new qVa(c);this.$b=b;this.mL=vVa(this);this.Ab=new Ze},vVa=function(a){var b=new DA,c=a.Sa.size();uA(b,1,c);a=a.Sa.mL.le();uA(b,2,a);return b},fFb=function(a){return a.mL.equals(vVa(a))};uVa.prototype.toString=function(){return ou("Last known digest: %s, Requested regs: %s",this.mL.toString(),this.Sa.toString())};
var wVa=function(a,b){this.Sa=a;this.Ab=b/100},UUa=function(a,b){var c=(2*a.Sa()-1)*a.Ab;return Math.ceil(b+b*c)};var xVa=function(a,b,c,d,f,h,k){this.Vk=null==b?Math.random:b;this.Km=a;this.Ag=a.Ab;this.Fp=k;this.mL=f;b=new cUa;uA(b,1,c);uA(b,2,d);this.nA=b;this.Sa=new XUa;this.Op=new PUa;this.Qb=new uVa(0,this.Sa,this.Op);this.yH=new fVa;this.Vb=new wVa(this.Vk,tA(f,7));tA(f,10);this.Oa=new gVa(a,this.Sa,c,h,this,this.yH);this.$b=new WUa;this.jg=this.Ab=null;this.Ko=!1;this.Xb=Wa();this.lp=!0;this.kN=this.Xb;this.dw=this.Db=this.iu=0;this.Tx=new yVa(this);this.Pha=new zVa(this);this.o9=new AVa(this);this.zF=
new BVa(this);a=tA(this.mL,10);this.YY=new CVa(this.Ag,0,this.Vb,tA(a,1),this.Oa);a=Lp(this.lN,this);this.Km.Sa.Ag=a;a=Lp(this.gea,this);this.Km.Sa.YY.push(a);this.Sx=new rdb;qyd.push(this)},qyd=[],yVa=function(a){var b=a.mL,c=DVa(a,tA(b,2));FA.call(this,"AcquireToken",a.Ag,0,a.Vb,c,0,tA(b,2));this.Ab=a};t(yVa,FA);
yVa.prototype.Sa=function(){var a=this.Ab;if(null==a.Ab){MVa(a,(0,this.Ab.Vk)().toString());var b=a.Oa,c=a.nA,a=a.jg,d=this.Ab.YY;sA(c,1);var f=b.Qb,h=new hUa;uA(h,1,f);uA(h,3,c);uA(h,4,2);uA(h,2,a);b.Sa.Qb=h;GA(d,!1);return!0}return!1};var zVa=function(a){var b=tA(a.mL,2),c=DVa(a,b);FA.call(this,"RegSyncHeartbeat",a.Ag,0,a.Vb,c,b,b);this.Ab=a};t(zVa,FA);zVa.prototype.Sa=function(){var a=this.Ab;if(fFb(a.Qb))return!1;a.uh(!1,!0);return!0};
var AVa=function(a){var b=a.mL,c=DVa(a,tA(b,3));FA.call(this,"PersistentWrite",a.Ag,0,a.Vb,c,0,tA(b,3));this.Ab=a;this.fIb=null};t(AVa,FA);AVa.prototype.Sa=function(){var a=this.Ab,b=a.Ab,c=NUa(b),d=SUa(c,a.Op);if(null==b||b==this.fIb)return!1;a.Km.mL.mL("ClientToken",d,Lp(function(b){b.ns()?this.fIb=sA(c,1):HA(a.Sa,"PERSISTENT_WRITE_FAILURE")},this));return!0};var BVa=function(a){FA.call(this,"Heartbeat",a.Ag,0,a.Vb,null,tA(a.mL,4),0);this.jg=a;this.Ab=0};t(BVa,FA);
BVa.prototype.Sa=function(){var a=this.jg,b=this.Ab<=Wa();if(b){var c=tA(a.mL,5);this.Ab=Wa()+UUa(this.$b,c)}a.uh(b,!fFb(a.Qb));return!0};var CVa=function(a,b,c,d,f){FA.call(this,"Batching",a,0,c,null,d,0);this.Ab=f};t(CVa,FA);
CVa.prototype.Sa=function(){var a=this.Ab;if(!(a.Ag>Wa())){var b;b=a.Sa;var c=null!=a.Fp.Ab,d=new gUa;null!=b.Qb&&(IA(b.Sa.Ab,"INITIALIZE"),uA(d,2,b.Qb),b.Qb=null);if(c||rA(d,2)){if(!b.Ab.isEmpty()){c=b.Ab.Rc();b.Ab.clear();for(var f=new EA,h=0;h<c.length;h++)vA(f,1,c[h]);uA(d,5,f);IA(b.Sa.Ab,"INVALIDATION_ACK")}if(!b.Oa.isEmpty()){c=b.Oa.Rc();b.Oa.clear();f=new iUa;for(h=0;h<c.length;h++)vA(f,1,c[h]);uA(d,3,f);IA(b.Sa.Ab,"REGISTRATION")}if(!b.$b.isEmpty()){c=new jUa;f=b.$b.Rc();for(h=0;h<f.length;h++)vA(c,
1,f[h]);uA(d,4,c);b.$b.clear();IA(b.Sa.Ab,"REGISTRATION_SYNC")}null!=b.mL&&(IA(b.Sa.Ab,"INFO"),uA(d,6,b.mL),b.mL=null);b=d}else HA(b.Sa,"TOKEN_MISSING_FAILURE"),b=null;null!=b&&(d=new fUa,uA(d,1,JOf),c=Wa(),uA(d,4,c),uA(d,6,a.$b.toString()),uA(d,5,a.mL),c=vVa(a.Fp.Qb),uA(d,3,c),uA(d,7,a.Qb),c=a.Fp.Ab,null!=c&&uA(d,2,c),uA(b,1,d),a.$b++,d=b,a.Oa.Yj(d)?(c=d.ji(),c=rA(c,2),d=rA(d,2)?!c:c):d=!1,d?(IA(a.Ab.Ab,"TOTAL"),b=WTa(b),a.YY.sendMessage(b),a.Fp.dw=Wa()):HA(a.Ab,"OUTGOING_MESSAGE_FAILURE"))}return!1};
var EVa=function(){var a=new wUa;uA(a,1,cVf);var b=new vUa,c=new uUa;uA(c,1,5E3);c.Uq(3);vA(b,2,c);uA(a,10,b);return a};xVa.prototype.start=function(){2!=this.$b.Sa&&(MVa(this,(0,this.Vk)().toString()),KVa(this))};xVa.prototype.stop=function(){2==this.$b.Sa&&this.$b.stop();var a=fb(qyd,this);-1<a&&qyd.splice(a,1)};xVa.prototype.register=function(a){GVa(this,Array.prototype.slice.call(arguments),1)};xVa.prototype.unregister=function(a){GVa(this,Array.prototype.slice.call(arguments),2)};
var GVa=function(a,b,c){if(3!=a.$b.Sa)if(2==a.$b.Sa){for(var d=[],f=0;f<b.length;f++)p=b[f],p=nVa(p),IA(a.Sa.mL,1==c?"REGISTRATION":"UNREGISTRATION"),d.push(p);b=a.Qb;for(f=0;f<d.length;f++)b.Ab.set(WTa(d[f]),c);d=1==c?b.Sa.add(d):b.Sa.remove(d);if(a.Ko&&0<d.length){b=a.Oa;f=a.YY;c=1==c;for(p=0;p<d.length;p++){var h=b.Sa,k=d[p],m=dFb(k,c);h.Oa.set(WTa(k),m)}GA(f,!1)}GA(a.Pha,!1)}else for(var f=0;f<b.length;f++){var p=b[f];ZVa(a.Fp,a,p,!0)}};
xVa.prototype.Oob=function(a){a=YTa(EUa.qy(),a.Sa,this.mN);if(null==a)HA(this.Sa,"ACKNOWLEDGE_HANDLE_FAILURE");else{var b;if(b=a.$b())b=a.mL(),b=this.yH.Yj(b);if(b){var c=a.mL();c.dWa();IA(this.Sa.mL,"ACKNOWLEDGE");a=this.YY;this.Oa.Sa.Ab.set(WTa(c),c);GA(a,!1);a=this.Sx;if(sA(c,6)&&sA(c,2)){b=agb(sA(c,1));var c=hbc(c.getVersion()),d=a.Sa.get(b,Abc);0<cze(c,d)&&a.Sa.set(b,c)}}else HA(this.Sa,"ACKNOWLEDGE_HANDLE_FAILURE")}};
xVa.prototype.gea=function(a){var b=this.lp;(this.lp=a)&&!b&&Wa()>this.dw+tA(this.mL,12)&&this.uh(!0,!fFb(this.Qb));if(a!=b){a=Wa();var c=a-this.dw;this.kN=a;b?(this.iu+=c,HA(this.Sa,"NETWORK_DISCONNECTED")):this.Db+=c}};
xVa.prototype.lN=function(a){IA(this.Sa.Sa,"TOTAL");a=lVa(this.Oa,a);if(null!=a&&JVa(this,a)){if(null!=a.Sa){IA(this.Sa.Sa,"TOKEN_CONTROL");var b=a.Hz.Xd,c=rA(a.Sa,1)?sA(a.Sa,1):null;if(null!=c){var d=b==this.Ab;if(b==this.jg||d)GA(this.zF,!1),MVa(this,null),NVa(this,c),GA(this.o9,!1)}else NVa(this,null),GA(this.Tx,!1)}if(null!=this.Ab){b=a.Hz;if(null!=b.Sa){this.Ko=!0;c=this.Qb;b=b.Sa;null!=b&&(c.mL=b);b=[];if(fFb(c)){for(var d=c.Ab.ii(),f=(new CA).qy(),h=0;h<d.length;h++){var k=YTa(f,d[h],c.Qb),
m=1==c.Ab.get(d[h]),k=dFb(k,m);b.push(k)}c.Ab.clear()}for(c=0;c<b.length;c++)f=b[c],d=mVa(sA(f,1)),f=sA(f,2),h=this.Fp,HVa(h,this,d,1==f?0:1),h.Qb.reset()}if(null!=a.mL)for(IA(this.Sa.Sa,"INVALIDATION"),b=zr(a.mL,1)||[],c=0;c<b.length;c++)f=d=b[c],h=new EUa,uA(h,1,f),f=WTa(h),f=new nTa(f),h=this.Sx,m=d,sA(m,2)?(k=agb(sA(m,1)),m=hbc(m.getVersion()),h=h.Sa.get(k,Abc),h=0<=cze(h,m)):h=!1,h?(this.Oob(f),IA(this.Sa.Sa,"STALE_INVALIDATION")):sA(d,1).equals(r3f)?(d=f,this.Fp.mL.Reb(),this.Oob(d),IA(this.Sa.$b,
"INVALIDATE_ALL")):(h=d,mVa(sA(h,1)),h.getVersion(),rA(h,4)&&h.yz(),rA(h,6)&&sA(h,6),h=tA(d,6),k=tA(this.mL,13),!sA(d,2)||h&&!k?Izb(this.Fp,this,f):(d=f,this.Fp.mL.Reb(),this.Oob(d)));if(null!=a.Qb){IA(this.Sa.Sa,"REGISTRATION_STATUS");b=zr(a.Qb,1)||[];d=this.Qb;c=[];for(f=0;f<b.length;f++){h=b[f];k=sA(h,1);k=sA(k,1);d.Ab.remove(WTa(k));m=!0;if(1==h.getStatus().xo()){var p=d.Sa.contains(k),h=sA(h,1);1==sA(h,2)^p&&(d.Sa.remove([k]),HA(d.$b,"REGISTRATION_DISCREPANCY"),m=!1)}else d.Sa.remove([k]),m=
!1;c.push(m)}for(d=0;d<b.length;++d)h=b[d],k=c[d],f=sA(h,1),f=sA(f,1),f=mVa(f),k?(h=sA(h,1),h=sA(h,2),k=this.Fp,HVa(k,this,f,1==h?0:1),k.Qb.reset()):(k=h.getStatus(),1==k.xo()||h.getStatus().Jd(),h=3==k.xo(),ZVa(this.Fp,this,f,!h))}if(null!=a.$b){IA(this.Sa.Sa,"REGISTRATION_SYNC_REQUEST");d=this.Qb;b=new kUa;c=[];d=d.Sa.Sa.Rc();for(f=0;f<d.length;f++)c.push(d[f].kLa);for(d=0;d<c.length;d++)vA(b,1,c[d]);c=this.YY;this.Oa.Sa.$b.set(WTa(b),b);GA(c,!1)}if(null!=a.Ab){IA(this.Sa.Sa,"INFO_REQUEST");b=zr(a.Ab,
1)||[];c=!1;for(d=0;d<b.length&&!(c=1==b[d]);d++);this.uh(c,!fFb(this.Qb))}if(null!=a.uK&&(IA(this.Sa.Sa,"ERROR"),b=a.uK.xo(),a.uK.Jd(),1==b)){a=this.Qb;d=new Ze;c=a.Sa.removeAll();for(b=0;b<c.length;b++)d.set(WTa(c[b]),"");c=a.Ab.ii();for(b=0;b<c.length;b++)d.set(c[b],"");a.Ab.clear();c=[];d=d.ii();f=(new CA).qy();for(b=0;b<d.length;b++)h=YTa(f,d[b],a.Qb),c.push(h);for(a=0;a<c.length;a++)b=mVa(c[a]),ZVa(this.Fp,this,b,!1)}}}};
var JVa=function(a,b){if(null!=a.Ab)return a.Ab!=b.Hz.Xd?(HA(a.Sa,"TOKEN_MISMATCH"),!1):!0;if(null!=a.jg)if(a.jg!=b.Hz.Xd)HA(a.Sa,"NONCE_MISMATCH");else return!0;return!1};
xVa.prototype.uh=function(a,b){var c=new Ze,d=null;if(a){var f=this.Sa;dVa(f.Ab,c,"SentMessageType");dVa(f.Sa,c,"ReceivedMessageType");dVa(f.mL,c,"IncomingOperationType");dVa(f.$b,c,"ListenerEventType");dVa(f.Qb,c,"ClientErrorType");f=Wa();c.set("NonCounterType.CLIENT_UPTIME_MS",f-this.Xb);var f=f-this.kN,d=this.iu,h=this.Db,k;this.lp?(d+=f,k=1):(h+=f,k=0);c.set("NonCounterType.IS_NETWORK_ONLINE",k);c.set("NonCounterType.NETWORK_STATUS_DURATION_MS",f);c.set("NonCounterType.TOTAL_NETWORK_UPTIME_MS",
d);c.set("NonCounterType.TOTAL_NETWORK_DOWNTIME_MS",h);d=this.mL}f=this.Oa;k=d;d=this.YY;h=new lUa;uA(h,1,f.jg);null!=k&&uA(h,5,k);k=c.ii();for(var m=0;m<k.length;m++){var p=k[m],u=c.get(k[m]),z=new mUa;z.Wb(p);uA(z,2,u);vA(h,3,z)}uA(h,4,b);f.Sa.mL=h;GA(d,!1)};
var KVa=function(a){a.Km.mL.$b("ClientToken",Lp(function(a,c){var d=a.ns()?c:null;a.ns()||HA(this.Sa,"PERSISTENT_READ_FAILURE");var f;if(null==d)f=null;else{f=this.mN;var h=this.Op,k=GUa.qy(),k=YTa(k,d,f),m=null==k?null:sA(k,1);null==m?f=null:TUa(m,h).le()!=sA(k,2)?(f&&f.Sa(sA(k,2)),f=null):f=m}null!=d&&null==f&&HA(this.Sa,"PERSISTENT_DESERIALIZATION_FAILURE");null!=f?(d=sA(f,1),MVa(this,null),NVa(this,d),this.Ko=!1,d=new pA("SendFirstPersistentInfo",Lp(this.uh,this,!1,!0)),f=tA(this.mL,9),VUa(this.Ag,
f,d),GA(this.zF,!1)):(this.Ko=!0,NVa(this,null),GA(this.Tx,!1))},a))},MVa=function(a,b){a.jg=null==b?null:cAa?ha.btoa(b):Yza(Mv(b),void 0)},NVa=function(a,b){var c=2!=a.$b.Sa&&null==a.Ab&&null!=b;a.Ab=b;c&&(a.$b.start(),a.Fp.ready(a),c=a.Fp,c.Ab&&OVa(c,a))},DVa=function(a,b){return new qTa(a.Vk,b,tA(a.mL,6))};xVa.prototype.toString=function(){var a=this.Ab;return ou("Client: clientName = %s, token = %s, state = %s",this.nA.toString(),null!=a?a.toString():"null",this.$b.toString())}; Da("invalidation.getDebugJson",function(){var a={};v(qyd,function(b){var c=b.Ab||b.jg;b=b.Sa;b={events:Jwd(b.$b),sent:Jwd(b.Ab),received:Jwd(b.Ab),incomingOps:Jwd(b.mL),errors:Jwd(b.Qb)};a[c]=b});return a},void 0);
var PVa=function(a,b,c,d,f,h,k){xVa.call(this,a,b,c,d,f,h,k)};t(PVa,xVa);var WVa=function(a,b,c,d,f){this.Sa=b;this.Ab=c;this.mL=d;this.Qb=f};WVa.prototype.Le=function(){return new QVa(0,this.Sa,this.Ab,this.mL,this.Qb)};var YVa=function(a){this.$b=a.Qb;this.Sa=new Ze;this.Ab=!1;a=EVa();var b=tA(a,2);this.Qb=new qTa(Math.random,tA(a,6)*b,b)};YVa.prototype.register=function(a,b){var c=Array.prototype.slice.call(arguments);c.shift();for(var d=0;d<c.length;d++){var f=c[d],h=AA(nVa(f));this.Sa.set(h,f)}d=a;this.Ab&&d.register.apply(d,c)};
YVa.prototype.unregister=function(a,b){var c=Array.prototype.slice.call(arguments);c.shift();for(var d=0;d<c.length;d++){var f=AA(nVa(c[d]));this.Sa.remove(f)}d=a;this.Ab&&d.unregister.apply(d,c)};YVa.prototype.ready=function(a){this.Ab=!0;OVa(this,a)};
var ZVa=function(a,b,c,d){d?HVa(a,b,c,null):(b=AA(nVa(c)),a.Sa.remove(b))},HVa=function(a,b,c,d){var f=AA(nVa(c)),h=ba(a.Sa,f);if(null==d||0==d!=h)d=rTa(a.Qb),VUa(a.$b,d,new pA("Reissue regop",Lp(function(){h?this.register(b,c):this.unregister(b,c)},a)))},OVa=function(a,b){if(!a.Sa.isEmpty()){var c=a.Sa.Rc();b.register.apply(b,c)}};
var kwb=function(a,b,c,d,f){this.Sa=a;this.Fp=b;this.mL=d;this.Ab=[];this.Qb=f};q=kwb.prototype;q.start=function(){this.Sa.start()};q.stop=function(){this.Sa.stop()};q.register=function(a){this.Sa.register.apply(this.Sa,arguments);for(var b=0;b<arguments.length;b++){var c=arguments[b];if(this.Qb){var d=new qTa(Math.random,1E3,1E3);rTa(d);var f="client-ack-handle-"+Ta(),f=new nTa(f);this.Ab.push(f);Pyb(this,c,f,d)}}};q.unregister=function(a){this.Sa.unregister.apply(this.Sa,arguments)};
q.Oob=function(a){var b=Lzb(this,a);null!=b?(a=this.Ab,this.Ab=a.slice(0,b).concat(a.slice(b+1))):this.Sa.Oob(a)};var Pyb=function(a,b,c,d){Izb(a.Fp,a,c);var f=rTa(d);VUa(a.mL,f,new pA("retry invalidation",Lp(function(){null!=Lzb(this,c)&&Pyb(this,b,c,d)},a)))},Lzb=function(a,b){for(var c=0;c<a.Ab.length;c++)if(a.Ab[c].equals(b))return c;return null};
var Mzb=function(a,b,c){this.Qb=a;this.Oa=b;this.Ag=c;this.Ab=null;this.jg=Qzb(this)};Mzb.prototype.mL=function(a,b,c){this.Qb.mL(a,b,c);a==this.Oa&&(this.Ab=b)};Mzb.prototype.$b=function(a,b){return this.Qb.$b(a,b)};Mzb.prototype.Sa=function(a){this.Qb.Sa(a)};var Qzb=function(a){a.Ab=Emb(a.Ag);return null!=a.Ab?(a.mL(a.Oa,a.Ab,function(){}),!0):!1};
var jFb=function(a){this.Ab=a;this.mL=!0;this.Sa=EVa()},Rzb=function(a,b,c){var d=b.Sa,f=a.Qb;if(b.mL){var h=new $hb("tokens-1011"),k=new Mzb(a.mL,"ClientToken",h);yd(window,"unload",function(){null!=k.Ab&&k.Ag.add(k.Ab)});a=new QVa(0,a.Ab,f,a.Sa,k);a.start();b=new PVa(a,Math.random,1011,b.Ab,d,"gplus",c);return new kwb(b,c,0,f,k.jg)}return new PVa(a,Math.random,1011,b.Ab,d,"gplus",c)};
var XVa=function(a,b,c,d,f){WVa.call(this,0,b,c,d,f)};t(XVa,WVa);var PVb=function(a,b){YVa.call(this,b);this.mL=a.Ab;this.mL.fqd()};t(PVb,YVa);var Izb=function(a,b,c){a.mL.Reb();b.Oob(c)};var aWa=function(a){this.Fa=a;a=wi(a);a=new sh(a.getData(1));this.$b=parseInt(xh(a),10)||0;this.Sa=this.Ab=""};aWa.prototype.initialize=function(){Dh(this.Fa).Ab(uHa)};
aWa.prototype.Oa=function(a){this.mL||(Dh(this.Fa),this.Fa.get(cXa).getData({Yt:QFd}).then(function(b){this.Ab=w(b,1);this.Sa=w(b,2);this.mL=pGd(this.Ab,this.Sa,this.$b);b=(new XVa(0,new SVa,new SVa,this.mL,new UVa)).Le();b.start();var c=this.Fp=new PVb(a,b),d="tgoplus"+Math.floor(1048576*Math.random()),d=new jFb(d);uA(d.Sa,13,!0);d.mL=!0;this.Qb=Rzb(b,d,c);this.Qb.start();this.Fp.register(this.Qb,new kTa(1011,"cmem"))},void 0,this))};Ig({id:S8a,Wa:aWa});

G("tg");I();
}catch(e){_DumpException(e)}
// Google Inc.
