var g,aa=aa||{},m=this,ca=function(a){return void 0!==a},da=function(a,b,c){a=a.split(".");c=c||m;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&ca(b)?c[d]=b:c=c[d]?c[d]:c[d]={}},ea=function(a,b){for(var c=a.split("."),d=b||m,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d},fa=function(){},ga=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);
if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},n=function(a){return"array"==ga(a)},ha=function(a){var b=
ga(a);return"array"==b||"object"==b&&"number"==typeof a.length},p=function(a){return"string"==typeof a},ia=function(a){return"number"==typeof a},ja=function(a){return"function"==ga(a)},ka=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},na=function(a){return a[la]||(a[la]=++ma)},la="closure_uid_"+(1E9*Math.random()>>>0),ma=0,oa=function(a,b,c){return a.call.apply(a.bind,arguments)},pa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,
2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},q=function(a,b,c){q=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?oa:pa;return q.apply(null,arguments)},qa=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},r=Date.now||function(){return+new Date},
t=function(a,b){function c(){}c.prototype=b.prototype;a.J=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.gi=function(a,c,f){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[c].apply(a,h)}};var ra=function(){};ra.prototype.init=function(a){gapi.load("gapi.rpc",{callback:a})};ra.prototype.Da=function(a,b){gapi.rpc.register(a,b)};ra.prototype.eb=function(a,b){gapi.rpc.call("..",a,void 0,b)};da("buzz.channel.GapiHostPageChannel",ra,void 0);var sa=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,sa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};t(sa,Error);sa.prototype.name="CustomError";var ta;var ua=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},va=function(a){return/^[\s\xa0]*$/.test(a)},wa=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ea=function(a){if(!xa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(ya,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(za,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Aa,"&gt;"));-1!=a.indexOf('"')&&
(a=a.replace(Ba,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Ca,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Da,"&#0;"));return a},ya=/&/g,za=/</g,Aa=/>/g,Ba=/"/g,Ca=/'/g,Da=/\x00/g,xa=/[\x00&<>"']/,Fa={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},Ga={"'":"\\'"},Ha=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^r()).toString(36)},Ia=function(a,b){return a<b?-1:a>
b?1:0};var Ja=function(a,b){b.unshift(a);sa.call(this,ua.apply(null,b));b.shift()};t(Ja,sa);Ja.prototype.name="AssertionError";
var Ka=function(a,b,c,d){var e="Assertion failed";if(c)var e=e+(": "+c),f=d;else a&&(e+=": "+a,f=b);throw new Ja(""+e,f||[]);},u=function(a,b,c){a||Ka("",null,b,Array.prototype.slice.call(arguments,2));return a},La=function(a,b){throw new Ja("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Ma=function(a,b,c){ia(a)||Ka("Expected number but got %s: %s.",[ga(a),a],b,Array.prototype.slice.call(arguments,2));return a},Na=function(a,b,c){p(a)||Ka("Expected string but got %s: %s.",[ga(a),
a],b,Array.prototype.slice.call(arguments,2))},Oa=function(a,b,c){ja(a)||Ka("Expected function but got %s: %s.",[ga(a),a],b,Array.prototype.slice.call(arguments,2))};var Pa=Array.prototype.indexOf?function(a,b,c){u(null!=a.length);return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(p(a))return p(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Qa=Array.prototype.forEach?function(a,b,c){u(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=p(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Ra=Array.prototype.some?function(a,
b,c){u(null!=a.length);return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=p(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1},Ta=function(a){var b;a:{b=Sa;for(var c=a.length,d=p(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:p(a)?a.charAt(b):a[b]},Ua=function(a,b){var c=Pa(a,b),d;if(d=0<=c)u(null!=a.length),Array.prototype.splice.call(a,c,1);return d},Va=function(a){return Array.prototype.concat.apply(Array.prototype,
arguments)},Wa=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},Ya=function(a,b){a.sort(b||Xa)},Xa=function(a,b){return a>b?1:a<b?-1:0};var Za=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},$a=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},ab=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},bb=function(a){return null!==a&&"withCredentials"in a},cb=function(a,b){var c;a:{for(c in a)if(b.call(void 0,a[c],c,a))break a;c=void 0}return c&&a[c]},db="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),eb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=
arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<db.length;f++)c=db[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var fb=function(a,b,c){this.th=a;this.te=b.name||null;this.fe=b.u||null;this.cf=b.hi;this.Y={};for(a=0;a<c.length;a++)b=c[a],this.Y[b.ta]=b};fb.prototype.getName=function(){return this.te};fb.prototype.Mb=function(){return this.cf?this.cf.b():null};var gb=function(a){a=$a(a.Y);Ya(a,function(a,c){return a.ta-c.ta});return a},hb=function(a,b){return cb(a.Y,function(a){return a.getName()==b})||null};var ib=function(a,b,c){this.M=a;u(!/[^0-9]/.test(b));this.ta=b;this.te=c.name;this.sc=!!c.ki;this.na=c.c;this.vc=c.type;this.$d=!1;switch(this.na){case 3:case 4:case 6:case 16:case 18:case 2:case 1:this.$d=!0}this.lc=c.defaultValue};ib.prototype.Mb=function(){return this.M.prototype.b()};ib.prototype.getName=function(){return this.te};var v=function(){this.va={};this.Y=this.b().Y;this.$=this.Rf=null},jb=function(a,b){for(var c in a.va){var d=Number(c);a.Y[d]||b.call(a,d,a.va[c])}};v.prototype.has=function(a){u(a.Mb()==this.b(),"The current message does not contain the given field");return y(this,a.ta)};var kb=function(a,b){u(b.Mb()==a.b(),"The current message does not contain the given field");var c=b.ta;return a.Y[c].sc?y(a,c)?a.va[c].length:0:y(a,c)?1:0};
v.prototype.get=function(a,b){u(a.Mb()==this.b(),"The current message does not contain the given field");return z(this,a.ta,b)};v.prototype.set=function(a,b){u(a.Mb()==this.b(),"The current message does not contain the given field");A(this,a.ta,b)};v.prototype.add=function(a,b){u(a.Mb()==this.b(),"The current message does not contain the given field");lb(this,a.ta,b)};
var nb=function(a,b){u(a.constructor==b.constructor,"The source message must have the same type.");for(var c=gb(a.b()),d=0;d<c.length;d++){var e=c[d],f=e.ta;if(y(b,f)){a.$&&delete a.$[e.ta];var h=11==e.na||10==e.na;if(e.sc)for(var e=mb(b,f)||[],k=0;k<e.length;k++)lb(a,f,h?e[k].clone():e[k]);else e=mb(b,f),h?(h=mb(a,f))?nb(h,e):A(a,f,e.clone()):A(a,f,e)}}};
v.prototype.clone=function(){var a=new this.constructor;u(a.constructor==this.constructor,"The source message must have the same type.");a!=this&&(a.va={},a.$&&(a.$={}),nb(a,this));return a};
var y=function(a,b){return null!=a.va[b]},mb=function(a,b){var c=a.va[b];return null==c?null:a.Rf?b in a.$?a.$[b]:(c=a.Rf.ii(a,a.Y[b],c),a.$[b]=c):c},z=function(a,b,c){var d=mb(a,b);return a.Y[b].sc?(a=c||0,u(0<=a&&a<d.length,"Given index %s is out of bounds.  Repeated field length: %s",a,d.length),d[a]):d},ob=function(a,b){var c;if(y(a,b))c=z(a,b,void 0);else a:{c=a.Y[b];if(void 0===c.lc){var d=c.vc;if(d===Boolean)c.lc=!1;else if(d===Number)c.lc=0;else if(d===String)c.lc=c.$d?"0":"";else{c=new d;
break a}}c=c.lc}return c},A=function(a,b,c){var d=a.Y[b];14==d.na?Ma(c):u(Object(c).constructor==d.vc);a.va[b]=c;a.$&&(a.$[b]=c)},lb=function(a,b,c){var d=a.Y[b];14==d.na?Ma(c):u(Object(c).constructor==d.vc);a.va[b]||(a.va[b]=[]);a.va[b].push(c);a.$&&delete a.$[b]},B=function(a,b){var c=[],d=b[0],e;for(e in b)0!=e&&c.push(new ib(a,e,b[e]));return new fb(a,d,c)};var pb=function(){v.call(this)};t(pb,v);var qb=null;pb.prototype.uf=function(){return z(this,1)};pb.prototype.Yc=function(){return ob(this,1)};pb.prototype.Cf=function(){return y(this,1)};var rb=function(){v.call(this)};t(rb,v);var sb=null;g=rb.prototype;g.getOrigin=function(){return z(this,1)};g.ab=function(){return z(this,2)};g.Fc=function(a){A(this,2,a)};g.Ff=function(){return y(this,2)};g.getToken=function(){return z(this,3)};g.uf=function(){return z(this,4)};g.Yc=function(){return ob(this,4)};
g.Cf=function(){return y(this,4)};
pb.prototype.b=function(){var a=qb;a||(qb=a=B(pb,{0:{name:"BrowserChannelConfig",u:"buzz.channel.proto.BrowserChannelConfig"},1:{name:"authuser",c:4,type:Number},2:{name:"client_type",c:9,type:String},3:{name:"init_delay_ms",c:5,type:Number},4:{name:"service_override",c:9,type:String},5:{name:"gapi_src",c:9,type:String},6:{name:"property_id",c:9,type:String},7:{name:"application_version",c:9,type:String},8:{name:"retry_on_auth_error",c:8,type:Boolean},9:{name:"gsid_servlet_path",c:9,type:String},
10:{name:"page_id",c:9,type:String},11:{name:"initial_retry_delay_ms",c:5,defaultValue:1E4,type:Number},12:{name:"max_backoff_factor",c:5,defaultValue:180,type:Number},13:{name:"use_shared_channel",c:8,type:Boolean},14:{name:"stable_connection_threshold_ms",c:5,defaultValue:3E5,type:Number}}));return a};pb.b=pb.prototype.b;
rb.prototype.b=function(){var a=sb;a||(sb=a=B(rb,{0:{name:"AuthenticationParameters",u:"buzz.channel.proto.AuthenticationParameters"},1:{name:"origin",c:9,type:String},2:{name:"scheme",c:5,type:Number},3:{name:"token",c:9,type:String},4:{name:"authuser",c:13,type:Number}}));return a};rb.b=rb.prototype.b;var tb={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var ub;a:{var vb=m.navigator;if(vb){var wb=vb.userAgent;if(wb){ub=wb;break a}}ub=""}var C=function(a){return-1!=ub.indexOf(a)};var yb=function(){this.Cd="";this.Hg=xb};yb.prototype.sb=!0;yb.prototype.cb=function(){return this.Cd};yb.prototype.toString=function(){return"Const{"+this.Cd+"}"};var zb=function(a){if(a instanceof yb&&a.constructor===yb&&a.Hg===xb)return a.Cd;La("expected object of type Const, got '"+a+"'");return"type_error:Const"},xb={},Ab=function(a){var b=new yb;b.Cd=a;return b};var Cb=function(){this.pd="";this.Fg=Bb};Cb.prototype.sb=!0;var Bb={};Cb.prototype.cb=function(){return this.pd};Cb.prototype.toString=function(){return"SafeStyle{"+this.pd+"}"};Cb.prototype.ed=function(a){this.pd=a;return this};var Db=(new Cb).ed(""),Eb=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;var Gb=function(){this.Qa="";this.Gg=Fb};g=Gb.prototype;g.sb=!0;g.cb=function(){return this.Qa};g.je=!0;g.pc=function(){return 1};g.toString=function(){return"SafeUrl{"+this.Qa+"}"};
var Hb=function(a){if(a instanceof Gb&&a.constructor===Gb&&a.Gg===Fb)return a.Qa;La("expected object of type SafeUrl, got '"+a+"' of type "+ga(a));return"type_error:SafeUrl"},Ib=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,Kb=function(a){if(a instanceof Gb)return a;a=a.sb?a.cb():String(a);Ib.test(a)||(a="about:invalid#zClosurez");return Jb(a)},Fb={},Jb=function(a){var b=new Gb;b.Qa=a;return b};Jb("about:blank");var Mb=function(){this.Ae="";this.Ig=Lb};g=Mb.prototype;g.sb=!0;g.cb=function(){return this.Ae};g.je=!0;g.pc=function(){return 1};g.toString=function(){return"TrustedResourceUrl{"+this.Ae+"}"};var Lb={};var Ob=function(){this.Qa="";this.Eg=Nb;this.lf=null};g=Ob.prototype;g.je=!0;g.pc=function(){return this.lf};g.sb=!0;g.cb=function(){return this.Qa};g.toString=function(){return"SafeHtml{"+this.Qa+"}"};
var Pb=function(a){if(a instanceof Ob&&a.constructor===Ob&&a.Eg===Nb)return a.Qa;La("expected object of type SafeHtml, got '"+a+"' of type "+ga(a));return"type_error:SafeHtml"},Qb=/^[a-zA-Z0-9-]+$/,Rb={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Tb=function(a){var b=0,c="",d=function(a){if(n(a))Qa(a,d);else{if(!(a instanceof Ob)){var f=null;a.je&&(f=a.pc());a=Sb(Ea(a.sb?a.cb():String(a)),f)}c+=Pb(a);a=a.pc();0==b?b=a:0!=a&&b!=a&&(b=null)}};Qa(arguments,d);return Sb(c,
b)},Nb={},Sb=function(a,b){return(new Ob).ed(a,b)};Ob.prototype.ed=function(a,b){this.Qa=a;this.lf=b;return this};Sb("<!DOCTYPE html>",0);Sb("",0);Sb("<br>",0);var Ub=function(a,b){Na(zb(a),"must provide justification");u(!va(zb(a)),"must provide non-empty justification");return Sb(b,null)};var Vb="StopIteration"in m?m.StopIteration:{message:"StopIteration",stack:""},Wb=function(){};Wb.prototype.next=function(){throw Vb;};Wb.prototype.Nd=function(){return this};var D=function(a,b){this.R={};this.A=[];this.Jd=this.F=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};D.prototype.P=function(){Xb(this);for(var a=[],b=0;b<this.A.length;b++)a.push(this.R[this.A[b]]);return a};D.prototype.oa=function(){Xb(this);return this.A.concat()};D.prototype.nb=function(a){return Yb(this.R,a)};
D.prototype.remove=function(a){return Yb(this.R,a)?(delete this.R[a],this.F--,this.Jd++,this.A.length>2*this.F&&Xb(this),!0):!1};var Xb=function(a){if(a.F!=a.A.length){for(var b=0,c=0;b<a.A.length;){var d=a.A[b];Yb(a.R,d)&&(a.A[c++]=d);b++}a.A.length=c}if(a.F!=a.A.length){for(var e={},c=b=0;b<a.A.length;)d=a.A[b],Yb(e,d)||(a.A[c++]=d,e[d]=1),b++;a.A.length=c}};g=D.prototype;g.get=function(a,b){return Yb(this.R,a)?this.R[a]:b};
g.set=function(a,b){Yb(this.R,a)||(this.F++,this.A.push(a),this.Jd++);this.R[a]=b};g.addAll=function(a){var b;a instanceof D?(b=a.oa(),a=a.P()):(b=ab(a),a=$a(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};g.forEach=function(a,b){for(var c=this.oa(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone=function(){return new D(this)};
g.Nd=function(a){Xb(this);var b=0,c=this.Jd,d=this,e=new Wb;e.next=function(){if(c!=d.Jd)throw Error("The map has changed since the iterator was created");if(b>=d.A.length)throw Vb;var e=d.A[b++];return a?e:d.R[e]};return e};var Yb=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Zb=function(a){if(a.P&&"function"==typeof a.P)return a.P();if(p(a))return a.split("");if(ha(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return $a(a)},$b=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(ha(a)||p(a))Qa(a,b,void 0);else{var c;if(a.oa&&"function"==typeof a.oa)c=a.oa();else if(a.P&&"function"==typeof a.P)c=void 0;else if(ha(a)||p(a)){c=[];for(var d=a.length,e=0;e<d;e++)c.push(e)}else c=ab(a);for(var d=Zb(a),e=d.length,f=0;f<e;f++)b.call(void 0,
d[f],c&&c[f],a)}};var ac=function(a){this.R=new D;a&&this.addAll(a)},bc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+na(a):b.substr(0,1)+a};g=ac.prototype;g.add=function(a){this.R.set(bc(a),a)};g.addAll=function(a){a=Zb(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};g.Ub=function(a){a=Zb(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};g.remove=function(a){return this.R.remove(bc(a))};g.contains=function(a){return this.R.nb(bc(a))};g.P=function(){return this.R.P()};g.clone=function(){return new ac(this)};
g.Nd=function(){return this.R.Nd(!1)};var cc=C("Opera")||C("OPR"),E=C("Trident")||C("MSIE"),dc=C("Edge"),ec=C("Gecko")&&!(-1!=ub.toLowerCase().indexOf("webkit")&&!C("Edge"))&&!(C("Trident")||C("MSIE"))&&!C("Edge"),fc=-1!=ub.toLowerCase().indexOf("webkit")&&!C("Edge"),gc=C("Macintosh"),hc=C("Windows"),ic=C("Android"),jc=C("iPhone")&&!C("iPod")&&!C("iPad"),kc=C("iPad"),lc=function(){var a=m.document;return a?a.documentMode:void 0},mc;
a:{var nc="",oc=function(){var a=ub;if(ec)return/rv\:([^\);]+)(\)|;)/.exec(a);if(dc)return/Edge\/([\d\.]+)/.exec(a);if(E)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(fc)return/WebKit\/(\S+)/.exec(a);if(cc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();oc&&(nc=oc?oc[1]:"");if(E){var pc=lc();if(null!=pc&&pc>parseFloat(nc)){mc=String(pc);break a}}mc=nc}
var qc=mc,rc={},sc=function(a){var b;if(!(b=rc[a])){b=0;for(var c=wa(String(qc)).split("."),d=wa(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var h=c[f]||"",k=d[f]||"",l=RegExp("(\\d*)(\\D*)","g"),w=RegExp("(\\d*)(\\D*)","g");do{var x=l.exec(h)||["","",""],W=w.exec(k)||["","",""];if(0==x[0].length&&0==W[0].length)break;b=Ia(0==x[1].length?0:parseInt(x[1],10),0==W[1].length?0:parseInt(W[1],10))||Ia(0==x[2].length,0==W[2].length)||Ia(x[2],W[2])}while(0==b)}b=rc[a]=0<=b}return b},
tc=m.document,uc=tc&&E?lc()||("CSS1Compat"==tc.compatMode?parseInt(qc,10):5):void 0;var vc=function(a,b){this.name=a;this.value=b};vc.prototype.toString=function(){return this.name};var wc=new vc("FINEST",300);var G=function(a){var b=F.h;b&&b.log(wc,a,void 0)},xc=function(a,b,c){a&&a.li(b,c)},H=function(a,b,c){a&&a.Ag(b,c)},I=function(a){var b=F.h;b&&b.info(a,void 0)},J=function(a,b){a&&a.ji(b,void 0)};!ec&&!E||E&&9<=Number(uc)||ec&&sc("1.9.1");E&&sc("9");var yc=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)},zc=function(a){this.ae=a||m.document||document};zc.prototype.createElement=function(a){return this.ae.createElement(a)};zc.prototype.getWindow=function(){var a=this.ae;return a.parentWindow||a.defaultView};zc.prototype.appendChild=function(a,b){a.appendChild(b)};
zc.prototype.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var Ac=function(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);},Bc=function(a){return eval("("+a+")")},Dc=function(a){return(new Cc(void 0)).Cc(a)},Cc=function(a){this.td=a};
Cc.prototype.Cc=function(a){var b=[];Ec(this,a,b);return b.join("")};
var Ec=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(n(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],Ec(a,a.td?a.td.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),Fc(d,c),c.push(":"),Ec(a,a.td?a.td.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":Fc(b,
c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},Gc={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Hc=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g,Fc=function(a,b){b.push('"',a.replace(Hc,function(a){var b=Gc[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),
Gc[a]=b);return b}),'"')};var Ic=function(){},Jc=function(a,b,c){return 11==b.na||10==b.na?a.Cc(c):ia(c)&&!isFinite(c)?c.toString():c},Lc=function(a,b,c){b=new b.th;Kc(a,b,c);u(b instanceof v);return b};
Ic.prototype.Zc=function(a,b){if(11==a.na||10==a.na)return b instanceof v?b:Lc(this,a.vc.prototype.b(),b);if(14==a.na){if(p(b)&&Mc.test(b)){var c=Number(b);if(0<c)return c}return b}if(!a.$d)return b;c=a.vc;if(c===String){if(ia(b))return String(b)}else if(c===Number&&p(b)&&("Infinity"===b||"-Infinity"===b||"NaN"===b||Mc.test(b)))return Number(b);return b};var Mc=/^-?[0-9]+$/;var Nc=function(a){this.Nf=a};t(Nc,Ic);Nc.prototype.Cc=function(a){for(var b=gb(a.b()),c={},d=0;d<b.length;d++){var e=b[d],f=1==this.Nf?e.getName():e.ta;if(a.has(e))if(e.sc){var h=[];c[f]=h;for(f=0;f<kb(a,e);f++)h.push(Jc(this,e,a.get(e,f)))}else c[f]=Jc(this,e,a.get(e))}jb(a,function(a,b){c[a]=b});return c};Nc.prototype.Zc=function(a,b){return 8==a.na&&ia(b)?!!b:Nc.J.Zc.call(this,a,b)};
var Kc=function(a,b,c){var d=b.b(),e;for(e in c){var f,h=c[e],k=!/[^0-9]/.test(e);if(k){f=d;var l=e;u(!/[^0-9]/.test(l));f=f.Y[parseInt(l,10)]||null}else u(1==a.Nf),f=hb(d,e);if(f)if(f.sc)for(u(n(h)),k=0;k<h.length;k++)b.add(f,a.Zc(f,h[k]));else u(!n(h)),b.set(f,a.Zc(f,h));else k?(k=b,f=Number(e),u(!k.Y[f],"Field is not unknown in this message"),u(1<=f,"Tag is not valid"),u(null!==h,"Value cannot be null"),k.va[f]=h,k.$&&delete k.$[f]):La("Failed to find field: "+f)}};var Oc=new Nc,Pc=function(a){a=Oc.Cc(a);return Dc(a)};try{var Qc=window.JSON.parse}catch(a){Qc=Ac}var Rc=function(a,b,c){var d;try{d=Qc(b)}catch(f){return c&&c.info("Exception parsing json (%s): %s",b,f),null}try{var e=Lc(Oc,a,d)}catch(f){return c&&c.Ag("Exception deserializing the parsed json (%s): %s",d,f),null}return null==e?(c&&c.Ag("Incoming msg is unparseable: %s",d),null):e};v.prototype.toString=function(){return null.Cc(this)};var K=function(){this.Lb=this.Lb;this.ub=this.ub};K.prototype.Lb=!1;K.prototype.isDisposed=function(){return this.Lb};K.prototype.Ia=function(){this.Lb||(this.Lb=!0,this.l())};var Sc=function(a,b){a.Lb?b.call(void 0):(a.ub||(a.ub=[]),a.ub.push(ca(void 0)?q(b,void 0):b))};K.prototype.l=function(){if(this.ub)for(;this.ub.length;)this.ub.shift()()};var Tc=function(a){a&&"function"==typeof a.Ia&&a.Ia()};var Uc=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Sb=!1;this.qg=!0};Uc.prototype.preventDefault=function(){this.defaultPrevented=!0;this.qg=!1};var Vc=function(a){Vc[" "](a);return a};Vc[" "]=fa;var Wc=function(a,b){try{return Vc(a[b]),!0}catch(c){}return!1};var Xc=!E||9<=Number(uc),Yc=E&&!sc("9"),Zc=!fc||sc("528"),$c=ec&&sc("1.9b")||E&&sc("8")||cc&&sc("9.5")||fc&&sc("528"),ad=ec&&!sc("8")||E&&!sc("9");var bd=function(a,b){Uc.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.Vc=this.state=null;a&&this.init(a,b)};t(bd,Uc);
bd.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?ec&&(Wc(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.offsetX=fc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=fc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:
a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.Vc=a;a.defaultPrevented&&this.preventDefault()};
bd.prototype.preventDefault=function(){bd.J.preventDefault.call(this);var a=this.Vc;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Yc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var ed="closure_listenable_"+(1E6*Math.random()|0),fd=function(a){return!(!a||!a[ed])},gd=0;var hd=function(a,b,c,d,e){this.listener=a;this.qd=null;this.src=b;this.type=c;this.Pc=!!d;this.bd=e;this.key=++gd;this.Vb=this.Oc=!1},id=function(a){a.Vb=!0;a.listener=null;a.qd=null;a.src=null;a.bd=null};var jd=function(a){this.src=a;this.V={};this.Ic=0};jd.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.V[f];a||(a=this.V[f]=[],this.Ic++);var h=kd(a,b,d,e);-1<h?(b=a[h],c||(b.Oc=!1)):(b=new hd(b,this.src,f,!!d,e),b.Oc=c,a.push(b));return b};jd.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.V))return!1;var e=this.V[a];b=kd(e,b,c,d);return-1<b?(id(e[b]),u(null!=e.length),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.V[a],this.Ic--),!0):!1};
var ld=function(a,b){var c=b.type;c in a.V&&Ua(a.V[c],b)&&(id(b),0==a.V[c].length&&(delete a.V[c],a.Ic--))};jd.prototype.Ub=function(a){a=a&&a.toString();var b=0,c;for(c in this.V)if(!a||c==a){for(var d=this.V[c],e=0;e<d.length;e++)++b,id(d[e]);delete this.V[c];this.Ic--}return b};jd.prototype.qc=function(a,b,c,d){a=this.V[a.toString()];var e=-1;a&&(e=kd(a,b,c,d));return-1<e?a[e]:null};var kd=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Vb&&f.listener==b&&f.Pc==!!c&&f.bd==d)return e}return-1};var md="closure_lm_"+(1E6*Math.random()|0),nd={},od=0,pd=function(a,b,c,d,e){if(n(b)){for(var f=0;f<b.length;f++)pd(a,b[f],c,d,e);return null}c=qd(c);return fd(a)?a.qa(b,c,d,e):rd(a,b,c,!1,d,e)},rd=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=!!e,k=sd(a);k||(a[md]=k=new jd(a));c=k.add(b,c,d,e,f);if(c.qd)return c;d=td();c.qd=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,h);else if(a.attachEvent)a.attachEvent(ud(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");
od++;return c},td=function(){var a=vd,b=Xc?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},wd=function(a,b,c,d,e){if(n(b)){for(var f=0;f<b.length;f++)wd(a,b[f],c,d,e);return null}c=qd(c);return fd(a)?a.qe(b,c,d,e):rd(a,b,c,!0,d,e)},xd=function(a,b,c,d,e){if(n(b))for(var f=0;f<b.length;f++)xd(a,b[f],c,d,e);else c=qd(c),fd(a)?a.Je(b,c,d,e):a&&(a=sd(a))&&(b=a.qc(b,c,!!d,e))&&yd(b)},yd=function(a){if(!ia(a)&&a&&!a.Vb){var b=a.src;if(fd(b))ld(b.za,
a);else{var c=a.type,d=a.qd;b.removeEventListener?b.removeEventListener(c,d,a.Pc):b.detachEvent&&b.detachEvent(ud(c),d);od--;(c=sd(b))?(ld(c,a),0==c.Ic&&(c.src=null,b[md]=null)):id(a)}}},zd=function(a,b,c,d,e){c=qd(c);d=!!d;return fd(a)?a.qc(b,c,d,e):a?(a=sd(a))?a.qc(b,c,d,e):null:null},ud=function(a){return a in nd?nd[a]:nd[a]="on"+a},Bd=function(a,b,c,d){var e=!0;if(a=sd(a))if(b=a.V[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.Pc==c&&!f.Vb&&(f=Ad(f,d),e=e&&!1!==f)}return e},
Ad=function(a,b){var c=a.listener,d=a.bd||a.src;a.Oc&&yd(a);return c.call(d,b)},vd=function(a,b){if(a.Vb)return!0;if(!Xc){var c=b||ea("window.event"),d=new bd(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(l){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);for(var f=a.type,h=c.length-1;!d.Sb&&0<=h;h--){d.currentTarget=c[h];var k=Bd(c[h],f,!0,d),e=e&&k}for(h=0;!d.Sb&&h<c.length;h++)d.currentTarget=
c[h],k=Bd(c[h],f,!1,d),e=e&&k}return e}return Ad(a,new bd(b,this))},sd=function(a){a=a[md];return a instanceof jd?a:null},Cd="__closure_events_fn_"+(1E9*Math.random()>>>0),qd=function(a){u(a,"Listener can not be null.");if(ja(a))return a;u(a.handleEvent,"An object listener must have handleEvent method.");a[Cd]||(a[Cd]=function(b){return a.handleEvent(b)});return a[Cd]};var Dd=function(){K.call(this);this.za=new jd(this);this.Jg=this;this.we=null};t(Dd,K);Dd.prototype[ed]=!0;g=Dd.prototype;g.addEventListener=function(a,b,c,d){pd(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){xd(this,a,b,c,d)};
g.dispatchEvent=function(a){Ed(this);var b,c=this.we;if(c){b=[];for(var d=1;c;c=c.we)b.push(c),u(1E3>++d,"infinite loop")}c=this.Jg;d=a.type||a;if(p(a))a=new Uc(a,c);else if(a instanceof Uc)a.target=a.target||c;else{var e=a;a=new Uc(d,c);eb(a,e)}var e=!0,f;if(b)for(var h=b.length-1;!a.Sb&&0<=h;h--)f=a.currentTarget=b[h],e=Fd(f,d,!0,a)&&e;a.Sb||(f=a.currentTarget=c,e=Fd(f,d,!0,a)&&e,a.Sb||(e=Fd(f,d,!1,a)&&e));if(b)for(h=0;!a.Sb&&h<b.length;h++)f=a.currentTarget=b[h],e=Fd(f,d,!1,a)&&e;return e};
g.l=function(){Dd.J.l.call(this);this.za&&this.za.Ub(void 0);this.we=null};g.qa=function(a,b,c,d){Ed(this);return this.za.add(String(a),b,!1,c,d)};g.qe=function(a,b,c,d){return this.za.add(String(a),b,!0,c,d)};g.Je=function(a,b,c,d){return this.za.remove(String(a),b,c,d)};var Fd=function(a,b,c,d){b=a.za.V[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.Vb&&h.Pc==c){var k=h.listener,l=h.bd||h.src;h.Oc&&ld(a.za,h);e=!1!==k.call(l,d)&&e}}return e&&0!=d.qg};
Dd.prototype.qc=function(a,b,c,d){return this.za.qc(String(a),b,c,d)};var Ed=function(a){u(a.za,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Gd=function(a,b,c){this.qh=c;this.Ug=a;this.Rh=b;this.hd=0;this.cd=null};Gd.prototype.get=function(){var a;0<this.hd?(this.hd--,a=this.cd,this.cd=a.next,a.next=null):a=this.Ug();return a};Gd.prototype.put=function(a){this.Rh(a);this.hd<this.qh&&(this.hd++,a.next=this.cd,this.cd=a)};var Hd=function(a){m.setTimeout(function(){throw a;},0)},Id,Jd=function(){var a=m.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!C("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host,
a=q(function(a){if(("*"==d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!C("Trident")&&!C("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(ca(c.next)){c=c.next;var a=c.Ye;c.Ye=null;a()}};return function(a){d.next={Ye:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?
function(a){var b=document.createElement("SCRIPT");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){m.setTimeout(a,0)}};var Kd=function(){this.Kd=this.Bb=null},Md=new Gd(function(){return new Ld},function(a){a.reset()},100);Kd.prototype.add=function(a,b){var c=Md.get();c.set(a,b);this.Kd?this.Kd.next=c:(u(!this.Bb),this.Bb=c);this.Kd=c};Kd.prototype.remove=function(){var a=null;this.Bb&&(a=this.Bb,this.Bb=this.Bb.next,this.Bb||(this.Kd=null),a.next=null);return a};var Ld=function(){this.next=this.scope=this.ee=null};Ld.prototype.set=function(a,b){this.ee=a;this.scope=b;this.next=null};
Ld.prototype.reset=function(){this.next=this.scope=this.ee=null};var Rd=function(a,b){Nd||Od();Pd||(Nd(),Pd=!0);Qd.add(a,b)},Nd,Od=function(){if(m.Promise&&m.Promise.resolve){var a=m.Promise.resolve(void 0);Nd=function(){a.then(Sd)}}else Nd=function(){var a=Sd;!ja(m.setImmediate)||m.Window&&m.Window.prototype&&!C("Edge")&&m.Window.prototype.setImmediate==m.setImmediate?(Id||(Id=Jd()),Id(a)):m.setImmediate(a)}},Pd=!1,Qd=new Kd,Sd=function(){for(var a=null;a=Qd.remove();){try{a.ee.call(a.scope)}catch(b){Hd(b)}Md.put(a)}Pd=!1};var Td=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},Ud=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Xd=function(a,b){this.g=0;this.Ra=void 0;this.Gb=this.Ha=this.M=null;this.ad=this.de=!1;if(a!=fa)try{var c=this;a.call(b,function(a){Vd(c,2,a)},function(a){if(!(a instanceof Wd))try{if(a instanceof Error)throw a;throw Error("Promise rejected.");}catch(b){}Vd(c,3,a)})}catch(d){Vd(this,3,d)}},Yd=function(){this.next=this.context=this.Rb=this.vb=this.mb=null;this.Mc=!1};Yd.prototype.reset=function(){this.context=this.Rb=this.vb=this.mb=null;this.Mc=!1};
var Zd=new Gd(function(){return new Yd},function(a){a.reset()},100),$d=function(a,b,c){var d=Zd.get();d.vb=a;d.Rb=b;d.context=c;return d};Xd.prototype.then=function(a,b,c){null!=a&&Oa(a,"opt_onFulfilled should be a function.");null!=b&&Oa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return ae(this,ja(a)?a:null,ja(b)?b:null,c)};Td(Xd);Xd.prototype.cancel=function(a){0==this.g&&Rd(function(){var b=new Wd(a);be(this,b)},this)};
var be=function(a,b){if(0==a.g)if(a.M){var c=a.M;if(c.Ha){for(var d=0,e=null,f=null,h=c.Ha;h&&(h.Mc||(d++,h.mb==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.g&&1==d?be(c,b):(f?(d=f,u(c.Ha),u(null!=d),d.next==c.Gb&&(c.Gb=d),d.next=d.next.next):ce(c),de(c,e,3,b)))}a.M=null}else Vd(a,3,b)},fe=function(a,b){a.Ha||2!=a.g&&3!=a.g||ee(a);u(null!=b.vb);a.Gb?a.Gb.next=b:a.Ha=b;a.Gb=b},ae=function(a,b,c,d){var e=$d(null,null,null);e.mb=new Xd(function(a,h){e.vb=b?function(c){try{var e=b.call(d,c);a(e)}catch(w){h(w)}}:
a;e.Rb=c?function(b){try{var e=c.call(d,b);!ca(e)&&b instanceof Wd?h(b):a(e)}catch(w){h(w)}}:h});e.mb.M=a;fe(a,e);return e.mb};Xd.prototype.bi=function(a){u(1==this.g);this.g=0;Vd(this,2,a)};Xd.prototype.ci=function(a){u(1==this.g);this.g=0;Vd(this,3,a)};
var Vd=function(a,b,c){if(0==a.g){a==c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.g=1;var d;a:{var e=c,f=a.bi,h=a.ci;if(e instanceof Xd)null!=f&&Oa(f,"opt_onFulfilled should be a function."),null!=h&&Oa(h,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?"),fe(e,$d(f||fa,h||null,a)),d=!0;else if(Ud(e))e.then(f,h,a),d=!0;else{if(ka(e))try{var k=e.then;if(ja(k)){ge(e,k,f,h,a);d=!0;break a}}catch(l){h.call(a,l);d=!0;break a}d=
!1}}d||(a.Ra=c,a.g=b,a.M=null,ee(a),3!=b||c instanceof Wd||he(a,c))}},ge=function(a,b,c,d,e){var f=!1,h=function(a){f||(f=!0,c.call(e,a))},k=function(a){f||(f=!0,d.call(e,a))};try{b.call(a,h,k)}catch(l){k(l)}},ee=function(a){a.de||(a.de=!0,Rd(a.Yg,a))},ce=function(a){var b=null;a.Ha&&(b=a.Ha,a.Ha=b.next,b.next=null);a.Ha||(a.Gb=null);null!=b&&u(null!=b.vb);return b};Xd.prototype.Yg=function(){for(var a=null;a=ce(this);)de(this,a,this.g,this.Ra);this.de=!1};
var de=function(a,b,c,d){if(3==c&&b.Rb&&!b.Mc)for(;a&&a.ad;a=a.M)a.ad=!1;if(b.mb)b.mb.M=null,ie(b,c,d);else try{b.Mc?b.vb.call(b.context):ie(b,c,d)}catch(e){je.call(null,e)}Zd.put(b)},ie=function(a,b,c){2==b?a.vb.call(a.context,c):a.Rb&&a.Rb.call(a.context,c)},he=function(a,b){a.ad=!0;Rd(function(){a.ad&&je.call(null,b)})},je=Hd,Wd=function(a){sa.call(this,a)};t(Wd,sa);Wd.prototype.name="cancel";var ke=function(a,b){Dd.call(this);this.Ma=a||1;this.bc=b||m;this.Rd=q(this.ai,this);this.pe=r()};t(ke,Dd);g=ke.prototype;g.enabled=!1;g.w=null;g.setInterval=function(a){this.Ma=a;this.w&&this.enabled?(this.stop(),this.start()):this.w&&this.stop()};
g.ai=function(){if(this.enabled){var a=r()-this.pe;0<a&&a<.8*this.Ma?this.w=this.bc.setTimeout(this.Rd,this.Ma-a):(this.w&&(this.bc.clearTimeout(this.w),this.w=null),this.dispatchEvent("tick"),this.enabled&&(this.w=this.bc.setTimeout(this.Rd,this.Ma),this.pe=r()))}};g.start=function(){this.enabled=!0;this.w||(this.w=this.bc.setTimeout(this.Rd,this.Ma),this.pe=r())};g.stop=function(){this.enabled=!1;this.w&&(this.bc.clearTimeout(this.w),this.w=null)};g.l=function(){ke.J.l.call(this);this.stop();delete this.bc};
var L=function(a,b,c){if(ja(a))c&&(a=q(a,c));else if(a&&"function"==typeof a.handleEvent)a=q(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:m.setTimeout(a,b||0)};var le=function(a,b){this.Og=a;this.oh=b};le.prototype.ge=function(){return this.Og};le.prototype.he=function(){return this.oh};var me=function(a,b,c){u(0<c);u(0<b);this.le=b;this.rh=c;this.Nh=a;u(0<this.le);this.reset()};me.prototype.reset=function(){this.Jb=this.le;this.If=!1};var ne=function(a){var b=0;if(a.If){var b=Math.ceil(a.Nh()*a.Jb),c=a.le*a.rh;a.Jb<=c&&(a.Jb*=2,a.Jb>c&&(a.Jb=c))}a.If=!0;return b};var M=function(a){K.call(this);this.i=a;this.A={}};t(M,K);var oe=[];M.prototype.qa=function(a,b,c,d){n(b)||(b&&(oe[0]=b.toString()),b=oe);for(var e=0;e<b.length;e++){var f=pd(a,b[e],c||this.handleEvent,d||!1,this.i||this);if(!f)break;this.A[f.key]=f}return this};M.prototype.qe=function(a,b,c,d){return pe(this,a,b,c,d)};var pe=function(a,b,c,d,e,f){if(n(c))for(var h=0;h<c.length;h++)pe(a,b,c[h],d,e,f);else{b=wd(b,c,d||a.handleEvent,e,f||a.i||a);if(!b)return a;a.A[b.key]=b}return a};
M.prototype.Je=function(a,b,c,d,e){if(n(b))for(var f=0;f<b.length;f++)this.Je(a,b[f],c,d,e);else if(a=zd(a,b,c||this.handleEvent,d,e||this.i||this))yd(a),delete this.A[a.key];return this};M.prototype.Ub=function(){Za(this.A,function(a,b){this.A.hasOwnProperty(b)&&yd(a)},this);this.A={}};M.prototype.l=function(){M.J.l.call(this);this.Ub()};M.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var qe=function(){Dd.call(this);this.G=new M(this);Zc&&($c?this.G.qa(ad?document.body:window,["online","offline"],this.Bf):(this.eg=Zc?navigator.onLine:!0,this.w=new ke(250),this.G.qa(this.w,"tick",this.jh),this.w.start()))};t(qe,Dd);qe.prototype.jh=function(){var a=Zc?navigator.onLine:!0;a!=this.eg&&(this.eg=a,this.Bf())};qe.prototype.Bf=function(){this.dispatchEvent((Zc?navigator.onLine:1)?"online":"offline")};
qe.prototype.l=function(){qe.J.l.call(this);this.G.Ia();this.G=null;this.w&&(this.w.Ia(),this.w=null)};var re=function(){this.mg=r()};new re;re.prototype.set=function(a){this.mg=a};re.prototype.reset=function(){this.set(r())};re.prototype.get=function(){return this.mg};var se=function(a,b){this.Oa=b?Bc:Ac};se.prototype.parse=function(a){return this.Oa(a)};var te=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,ue=function(a){var b=a.match(te);a=b[1];var c=b[2],d=b[3],b=b[4],e="";a&&(e+=a+":");d&&(e+="//",c&&(e+=c+"@"),e+=d,b&&(e+=":"+b));return e},ve=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null,h=null;0<=e?(f=c[d].substring(0,e),h=c[d].substring(e+1)):f=c[d];b(f,h?decodeURIComponent(h.replace(/\+/g," ")):"")}};var xe=function(a,b){this.Ja=this.Ab=this.Wb="";this.Pa=null;this.rb=this.S="";this.ja=this.nh=!1;var c;if(a instanceof xe)this.ja=ca(b)?b:a.ja,this.Fc(a.ab()),c=a.Ab,N(this),this.Ab=c,ye(this,a.Ja),ze(this,a.Pa),Ae(this,a.S),Be(this,a.ma.clone()),c=a.rb,N(this),this.rb=c;else if(a&&(c=String(a).match(te))){this.ja=!!b;this.Fc(c[1]||"",!0);var d=c[2]||"";N(this);this.Ab=Ce(d);ye(this,c[3]||"",!0);ze(this,c[4]);Ae(this,c[5]||"",!0);Be(this,c[6]||"",!0);c=c[7]||"";N(this);this.rb=Ce(c)}else this.ja=
!!b,this.ma=new De(null,0,this.ja)};g=xe.prototype;g.toString=function(){var a=[],b=this.ab();b&&a.push(Ee(b,Fe,!0),":");var c=this.Ja;if(c||"file"==b)a.push("//"),(b=this.Ab)&&a.push(Ee(b,Fe,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Pa,null!=c&&a.push(":",String(c));if(c=this.S)this.Ja&&"/"!=c.charAt(0)&&a.push("/"),a.push(Ee(c,"/"==c.charAt(0)?Ge:He,!0));(c=this.ma.toString())&&a.push("?",c);(c=this.rb)&&a.push("#",Ee(c,Ie));return a.join("")};
g.resolve=function(a){var b=this.clone(),c=a.Ff();c?b.Fc(a.ab()):c=!!a.Ab;if(c){var d=a.Ab;N(b);b.Ab=d}else c=!!a.Ja;c?ye(b,a.Ja):c=null!=a.Pa;d=a.S;if(c)ze(b,a.Pa);else if(c=!!a.S){if("/"!=d.charAt(0))if(this.Ja&&!this.S)d="/"+d;else{var e=b.S.lastIndexOf("/");-1!=e&&(d=b.S.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){for(var d=0==e.lastIndexOf("/",0),e=e.split("/"),f=[],h=0;h<e.length;){var k=e[h++];"."==k?d&&h==e.length&&f.push(""):".."==k?((1<
f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?Ae(b,d):c=""!==a.ma.toString();c?Be(b,Ce(a.ma.toString())):c=!!a.rb;c&&(a=a.rb,N(b),b.rb=a);return b};g.clone=function(){return new xe(this)};g.ab=function(){return this.Wb};g.Fc=function(a,b){N(this);if(this.Wb=b?Ce(a,!0):a)this.Wb=this.Wb.replace(/:$/,"");return this};g.Ff=function(){return!!this.Wb};
var ye=function(a,b,c){N(a);a.Ja=c?Ce(b,!0):b},ze=function(a,b){N(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Pa=b}else a.Pa=null},Ae=function(a,b,c){N(a);a.S=c?Ce(b,!0):b},Be=function(a,b,c){N(a);b instanceof De?(a.ma=b,a.ma.Ge(a.ja)):(c||(b=Ee(b,Je)),a.ma=new De(b,0,a.ja))},O=function(a,b,c){N(a);a.ma.set(b,c)},Le=function(a,b,c){N(a);n(c)||(c=[String(c)]);Ke(a.ma,b,c)},Me=function(a){N(a);O(a,"zx",Ha());return a},N=function(a){if(a.nh)throw Error("Tried to modify a read-only Uri");
};xe.prototype.Ge=function(a){this.ja=a;this.ma&&this.ma.Ge(a);return this};
var Ne=function(a){return a instanceof xe?a.clone():new xe(a,void 0)},Oe=function(a,b,c,d){var e=new xe(null,void 0);a&&e.Fc(a);b&&ye(e,b);c&&ze(e,c);d&&Ae(e,d);return e},Ce=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ee=function(a,b,c){return p(a)?(a=encodeURI(a).replace(b,Pe),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Pe=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Fe=/[#\/\?@]/g,He=/[\#\?:]/g,Ge=/[\#\?]/g,
Je=/[\#\?@]/g,Ie=/#/g,De=function(a,b,c){this.F=this.B=null;this.fa=a||null;this.ja=!!c},Qe=function(a){a.B||(a.B=new D,a.F=0,a.fa&&ve(a.fa,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=De.prototype;g.add=function(a,b){Qe(this);this.fa=null;a=Re(this,a);var c=this.B.get(a);c||this.B.set(a,c=[]);c.push(b);this.F=Ma(this.F)+1;return this};g.remove=function(a){Qe(this);a=Re(this,a);return this.B.nb(a)?(this.fa=null,this.F=Ma(this.F)-this.B.get(a).length,this.B.remove(a)):!1};
g.nb=function(a){Qe(this);a=Re(this,a);return this.B.nb(a)};g.oa=function(){Qe(this);for(var a=this.B.P(),b=this.B.oa(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};g.P=function(a){Qe(this);var b=[];if(p(a))this.nb(a)&&(b=Va(b,this.B.get(Re(this,a))));else{a=this.B.P();for(var c=0;c<a.length;c++)b=Va(b,a[c])}return b};
g.set=function(a,b){Qe(this);this.fa=null;a=Re(this,a);this.nb(a)&&(this.F=Ma(this.F)-this.B.get(a).length);this.B.set(a,[b]);this.F=Ma(this.F)+1;return this};g.get=function(a,b){var c=a?this.P(a):[];return 0<c.length?String(c[0]):b};var Ke=function(a,b,c){a.remove(b);0<c.length&&(a.fa=null,a.B.set(Re(a,b),Wa(c)),a.F=Ma(a.F)+c.length)};
De.prototype.toString=function(){if(this.fa)return this.fa;if(!this.B)return"";for(var a=[],b=this.B.oa(),c=0;c<b.length;c++)for(var d=b[c],e=encodeURIComponent(String(d)),d=this.P(d),f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}return this.fa=a.join("&")};De.prototype.clone=function(){var a=new De;a.fa=this.fa;this.B&&(a.B=this.B.clone(),a.F=this.F);return a};var Re=function(a,b){var c=String(b);a.ja&&(c=c.toLowerCase());return c};
De.prototype.Ge=function(a){a&&!this.ja&&(Qe(this),this.fa=null,this.B.forEach(function(a,c){var d=c.toLowerCase();c!=d&&(this.remove(c),Ke(this,d,a))},this));this.ja=a};var Se=function(a,b,c){K.call(this);this.tc=null!=c?q(a,c):a;this.Ma=b;this.Sd=q(this.Bh,this);this.Pd=[]};t(Se,K);g=Se.prototype;g.Ad=!1;g.fg=0;g.w=null;g.qf=function(a){this.Pd=arguments;this.w||this.fg?this.Ad=!0:this.mc()};g.stop=function(){this.w&&(m.clearTimeout(this.w),this.w=null,this.Ad=!1,this.Pd=[])};g.l=function(){Se.J.l.call(this);this.stop()};g.Bh=function(){this.w=null;this.Ad&&!this.fg&&(this.Ad=!1,this.mc())};g.mc=function(){this.w=L(this.Sd,this.Ma);this.tc.apply(null,this.Pd)};var Te=function(){};Te.prototype.Xe=null;var Ve=function(a){var b;(b=a.Xe)||(b={},Ue(a)&&(b[0]=!0,b[1]=!0),b=a.Xe=b);return b};var We,Xe=function(){};t(Xe,Te);var Ye=function(a){return(a=Ue(a))?new ActiveXObject(a):new XMLHttpRequest},Ue=function(a){if(!a.Hf&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.Hf=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Hf};We=new Xe;var P=function(a,b,c,d,e){this.a=a;this.Ua=c;this.Th=d;this.pg=e||1;this.ac=45E3;this.G=new M(this);this.nd=new ke;this.nd.setInterval(250)};g=P.prototype;g.aa=null;g.sa=!1;g.gc=null;g.Le=null;g.zc=null;g.dc=null;g.U=null;g.ib=null;g.yb=null;g.H=null;g.Jc=0;g.ua=null;g.Id=null;g.L=null;g.v=-1;g.rg=!0;g.kb=!1;g.Tb=0;g.rd=null;var Ze={},$e={};P.prototype.Ea=function(a){this.aa=a};P.prototype.setTimeout=function(a){this.ac=a};P.prototype.yg=function(a){this.Tb=a};
var bf=function(a,b,c){a.dc=1;a.U=Me(b.clone());a.yb=c;a.gf=!0;af(a,null)},cf=function(a,b,c,d,e){a.dc=1;a.U=Me(b.clone());a.yb=null;a.gf=c;e&&(a.rg=!1);af(a,d)},af=function(a,b){a.zc=r();df(a);a.ib=a.U.clone();Le(a.ib,"t",a.pg);a.Jc=0;a.H=a.a.Xd(a.a.Gc()?b:null);0<a.Tb&&(a.rd=new Se(q(a.Dg,a,a.H),a.Tb));a.G.qa(a.H,"readystatechange",a.Ph);var c;if(a.aa){c=a.aa;var d={},e;for(e in c)d[e]=c[e];c=d}else c={};a.yb?(a.Id="POST",c["Content-Type"]="application/x-www-form-urlencoded",a.H.send(a.ib,a.Id,
a.yb,c)):(a.Id="GET",a.rg&&!fc&&(c.Connection="close"),a.H.send(a.ib,a.Id,null,c));a.a.ra(1)};P.prototype.Ph=function(a){a=a.target;var b=this.rd;b&&3==ef(a)?b.qf():this.Dg(a)};
P.prototype.Dg=function(a){try{if(a==this.H)a:{var b=ef(this.H),c=this.H.Ob,d=this.H.Ka();if(E&&!(10<=Number(uc))||fc&&!sc("420+")){if(4>b)break a}else if(3>b||3==b&&!cc&&!ff(this.H))break a;this.kb||4!=b||7==c||(8==c||0>=d?this.a.ra(3):this.a.ra(2));gf(this);var e=this.H.Ka();this.v=e;var f=ff(this.H);(this.sa=200==e)?(4==b&&hf(this),this.gf?(jf(this,b,f),cc&&this.sa&&3==b&&(this.G.qa(this.nd,"tick",this.Ih),this.nd.start())):kf(this,f),this.sa&&!this.kb&&(4==b?this.a.jd(this):(this.sa=!1,df(this)))):
(400==e&&0<f.indexOf("Unknown SID")?(this.L=3,Q(13)):(this.L=0,Q(14)),hf(this),lf(this))}}catch(h){this.H&&ff(this.H)}finally{}};var jf=function(a,b,c){for(var d=!0;!a.kb&&a.Jc<c.length;){var e=mf(a,c);if(e==$e){4==b&&(a.L=4,Q(15),d=!1);break}else if(e==Ze){a.L=4;Q(16);d=!1;break}else kf(a,e)}4==b&&0==c.length&&(a.L=1,Q(17),d=!1);a.sa=a.sa&&d;d||(hf(a),lf(a))};P.prototype.Ih=function(){var a=ef(this.H),b=ff(this.H);this.Jc<b.length&&(gf(this),jf(this,a,b),this.sa&&4!=a&&df(this))};
var mf=function(a,b){var c=a.Jc,d=b.indexOf("\n",c);if(-1==d)return $e;c=Number(b.substring(c,d));if(isNaN(c))return Ze;d+=1;if(d+c>b.length)return $e;var e=b.substr(d,c);a.Jc=d+c;return e},nf=function(a,b){a.zc=r();df(a);var c=b?window.location.hostname:"";a.ib=a.U.clone();O(a.ib,"DOMAIN",c);O(a.ib,"t",a.pg);try{a.ua=new ActiveXObject("htmlfile")}catch(w){hf(a);a.L=7;Q(22);lf(a);return}var d="<html><body>";if(b){for(var e="",f=0;f<c.length;f++){var h=c.charAt(f);if("<"==h)e+="\\x3c";else if(">"==
h)e+="\\x3e";else{if(h in Ga)h=Ga[h];else if(h in Fa)h=Ga[h]=Fa[h];else{var k=h,l=h.charCodeAt(0);if(31<l&&127>l)k=h;else{if(256>l){if(k="\\x",16>l||256<l)k+="0"}else k="\\u",4096>l&&(k+="0");k+=l.toString(16).toUpperCase()}h=Ga[h]=k}e+=h}}d+='<script>document.domain="'+e+'"\x3c/script>'}d+="</body></html>";c=Ub(Ab("b/12014412"),d);a.ua.open();a.ua.write(Pb(c));a.ua.close();a.ua.parentWindow.m=q(a.Eh,a);a.ua.parentWindow.d=q(a.dg,a,!0);a.ua.parentWindow.rpcClose=q(a.dg,a,!1);c=a.ua.createElement("DIV");
a.ua.parentWindow.document.body.appendChild(c);d=Kb(a.ib.toString());d=Ea(Hb(d));d=Ub(Ab("b/12014412"),'<iframe src="'+d+'"></iframe>');c.innerHTML=Pb(d);a.a.ra(1)};g=P.prototype;g.Eh=function(a){of(q(this.Dh,this,a),0)};g.Dh=function(a){this.kb||(gf(this),kf(this,a),df(this))};g.dg=function(a){of(q(this.Ch,this,a),0)};g.Ch=function(a){this.kb||(hf(this),this.sa=a,this.a.jd(this),this.a.ra(4))};g.cancel=function(){this.kb=!0;hf(this)};
var df=function(a){a.Le=r()+a.ac;pf(a,a.ac)},pf=function(a,b){if(null!=a.gc)throw Error("WatchDog timer not null");a.gc=of(q(a.Fh,a),b)},gf=function(a){a.gc&&(m.clearTimeout(a.gc),a.gc=null)};P.prototype.Fh=function(){this.gc=null;var a=r();0<=a-this.Le?(2!=this.dc&&this.a.ra(3),hf(this),this.L=2,Q(18),lf(this)):pf(this,this.Le-a)};var lf=function(a){a.a.Lf()||a.kb||a.a.jd(a)},hf=function(a){gf(a);Tc(a.rd);a.rd=null;a.nd.stop();a.G.Ub();if(a.H){var b=a.H;a.H=null;b.abort();b.Ia()}a.ua&&(a.ua=null)};
P.prototype.yf=function(){return this.L};P.prototype.ha=function(){return this.v};P.prototype.bb=function(){return this.Ua};var kf=function(a,b){try{a.a.kd(a,b),a.a.ra(4)}catch(c){}};var rf=function(a,b,c,d,e){if(0==d)c(!1);else{var f=e||0;d--;qf(a,b,function(e){e?c(!0):m.setTimeout(function(){rf(a,b,c,d,f)},f)})}},qf=function(a,b,c){var d=new Image;d.onload=function(){try{sf(d),c(!0)}catch(a){}};d.onerror=function(){try{sf(d),c(!1)}catch(a){}};d.onabort=function(){try{sf(d),c(!1)}catch(a){}};d.ontimeout=function(){try{sf(d),c(!1)}catch(a){}};m.setTimeout(function(){if(d.ontimeout)d.ontimeout()},b);d.src=a},sf=function(a){a.onload=null;a.onerror=null;a.onabort=null;a.ontimeout=
null};var tf=function(a){this.a=a;this.Oa=new se(0,!0)};g=tf.prototype;g.aa=null;g.ea=null;g.sd=!1;g.zg=null;g.Wc=null;g.oe=null;g.S=null;g.g=null;g.v=-1;g.Aa=null;g.hc=null;g.Ea=function(a){this.aa=a};g.wg=function(a){this.Oa=a};
g.connect=function(a){this.S=a;a=uf(this.a,null,this.S);Q(3);this.zg=r();var b=this.a.$g;null!=b?(this.Aa=this.a.kc(b[0]),(this.hc=b[1])?(this.g=1,vf(this)):(this.g=2,wf(this))):(Le(a,"MODE","init"),this.ea=new P(this,0,void 0,void 0,void 0),this.ea.Ea(this.aa),cf(this.ea,a,!1,null,!0),this.g=0)};var vf=function(a){var b=uf(a.a,a.hc,"/mail/images/cleardot.gif");Me(b);rf(b.toString(),5E3,q(a.Rg,a),3,2E3);a.ra(1)};
tf.prototype.Rg=function(a){if(a)this.g=2,wf(this);else{Q(4);var b=this.a;b.v=b.Za.ha();R(b,9)}a&&this.ra(2)};var wf=function(a){var b=a.a.Vh;if(null!=b)Q(5),b?(Q(11),xf(a.a,a,!1)):(Q(12),xf(a.a,a,!0));else if(a.ea=new P(a,0,void 0,void 0,void 0),a.ea.Ea(a.aa),b=a.a,b=uf(b,b.Gc()?a.Aa:null,a.S),Q(5),!E||10<=Number(uc))Le(b,"TYPE","xmlhttp"),cf(a.ea,b,!1,a.Aa,!1);else{Le(b,"TYPE","html");var c=a.ea;a=!!a.Aa;c.dc=3;c.U=Me(b.clone());nf(c,a)}};g=tf.prototype;g.Xd=function(a){return this.a.Xd(a)};
g.abort=function(){this.ea&&(this.ea.cancel(),this.ea=null);this.v=-1};g.Lf=function(){return!1};
g.kd=function(a,b){this.v=a.ha();if(0==this.g)if(b){try{var c=this.Oa.parse(b)}catch(d){c=this.a;c.v=this.ha();R(c,2);return}this.Aa=this.a.kc(c[0]);this.hc=c[1]}else c=this.a,c.v=this.ha(),R(c,2);else if(2==this.g)if(this.sd)Q(7),this.oe=r();else if("11111"==b){if(Q(6),this.sd=!0,this.Wc=r(),c=this.Wc-this.zg,!E||10<=Number(uc)||500>c)this.v=200,this.ea.cancel(),Q(12),xf(this.a,this,!0)}else Q(8),this.Wc=this.oe=r(),this.sd=!1};
g.jd=function(){this.v=this.ea.ha();if(this.ea.sa)0==this.g?this.hc?(this.g=1,vf(this)):(this.g=2,wf(this)):2==this.g&&(a=!1,(a=!E||10<=Number(uc)?this.sd:200>this.oe-this.Wc?!1:!0)?(Q(12),xf(this.a,this,!0)):(Q(11),xf(this.a,this,!1)));else{0==this.g?Q(9):2==this.g&&Q(10);var a=this.a;a.v=this.ha();R(a,2)}};g.ha=function(){return this.v};g.Gc=function(){return this.a.Gc()};g.Na=function(){return this.a.Na()};g.ra=function(a){this.a.ra(a)};var S=function(a){Dd.call(this);this.headers=new D;this.Md=a||null;this.Wa=!1;this.Ld=this.j=null;this.Pf=this.gd="";this.Ob=0;this.L="";this.tb=this.ke=this.dd=this.ce=!1;this.$b=0;this.Ed=null;this.og="";this.Hd=this.Mh=this.Cg=!1};t(S,Dd);var yf=/^https?$/i,zf=["POST","PUT"],Af=[],Bf=function(a,b,c,d,e){var f=new S;Af.push(f);b&&f.qa("complete",b);f.qe("ready",f.Sg);e&&(f.$b=Math.max(0,e));f.send(a,"GET",c,d)};S.prototype.Sg=function(){this.Ia();Ua(Af,this)};
S.prototype.send=function(a,b,c,d){if(this.j)throw Error("[goog.net.XhrIo] Object is active with another request="+this.gd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.gd=a;this.L="";this.Ob=0;this.Pf=b;this.ce=!1;this.Wa=!0;this.j=this.Md?Ye(this.Md):Ye(We);this.Ld=this.Md?Ve(this.Md):Ve(We);this.j.onreadystatechange=q(this.$f,this);this.Mh&&"onprogress"in this.j&&(this.j.onprogress=q(function(a){this.Zf(a,!0)},this),this.j.upload&&(this.j.upload.onprogress=q(this.Zf,this)));try{J(this.I,Cf(this,
"Opening Xhr")),this.ke=!0,this.j.open(b,String(a),!0),this.ke=!1}catch(f){J(this.I,Cf(this,"Error opening Xhr: "+f.message));this.Uc(5,f);return}a=c||"";var e=this.headers.clone();d&&$b(d,function(a,b){e.set(b,a)});d=Ta(e.oa());c=m.FormData&&a instanceof m.FormData;!(0<=Pa(zf,b))||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b){this.j.setRequestHeader(b,a)},this);this.og&&(this.j.responseType=this.og);bb(this.j)&&(this.j.withCredentials=this.Cg);
try{Df(this),0<this.$b&&(this.Hd=Ef(this.j),J(this.I,Cf(this,"Will abort after "+this.$b+"ms if incomplete, xhr2 "+this.Hd)),this.Hd?(this.j.timeout=this.$b,this.j.ontimeout=q(this.ac,this)):this.Ed=L(this.ac,this.$b,this)),J(this.I,Cf(this,"Sending request")),this.dd=!0,this.j.send(a),this.dd=!1}catch(f){J(this.I,Cf(this,"Send error: "+f.message)),this.Uc(5,f)}};var Ef=function(a){return E&&sc(9)&&ia(a.timeout)&&ca(a.ontimeout)},Sa=function(a){return"content-type"==a.toLowerCase()};
S.prototype.ac=function(){"undefined"!=typeof aa&&this.j&&(this.L="Timed out after "+this.$b+"ms, aborting",this.Ob=8,J(this.I,Cf(this,this.L)),this.dispatchEvent("timeout"),this.abort(8))};S.prototype.Uc=function(a,b){this.Wa=!1;this.j&&(this.tb=!0,this.j.abort(),this.tb=!1);this.L=b;this.Ob=a;Ff(this);Gf(this)};var Ff=function(a){a.ce||(a.ce=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
S.prototype.abort=function(a){this.j&&this.Wa&&(J(this.I,Cf(this,"Aborting")),this.Wa=!1,this.tb=!0,this.j.abort(),this.tb=!1,this.Ob=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Gf(this))};S.prototype.l=function(){this.j&&(this.Wa&&(this.Wa=!1,this.tb=!0,this.j.abort(),this.tb=!1),Gf(this,!0));S.J.l.call(this)};S.prototype.$f=function(){this.isDisposed()||(this.ke||this.dd||this.tb?Hf(this):this.zh())};S.prototype.zh=function(){Hf(this)};
var Hf=function(a){if(a.Wa&&"undefined"!=typeof aa)if(a.Ld[1]&&4==ef(a)&&2==a.Ka())J(a.I,Cf(a,"Local request error detected and ignored"));else if(a.dd&&4==ef(a))L(a.$f,0,a);else if(a.dispatchEvent("readystatechange"),4==ef(a)){J(a.I,Cf(a,"Request complete"));a.Wa=!1;try{if(If(a))a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.Ob=6;var b;try{b=2<ef(a)?a.j.statusText:""}catch(c){J(a.I,"Can not get status: "+c.message),b=""}a.L=b+" ["+a.Ka()+"]";Ff(a)}}finally{Gf(a)}}};
S.prototype.Zf=function(a,b){u("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Jf(a,"progress"));this.dispatchEvent(Jf(a,b?"downloadprogress":"uploadprogress"))};
var Jf=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Gf=function(a,b){if(a.j){Df(a);var c=a.j,d=a.Ld[0]?fa:null;a.j=null;a.Ld=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){xc(a.I,"Problem encountered resetting onreadystatechange: "+e.message)}}},Df=function(a){a.j&&a.Hd&&(a.j.ontimeout=null);ia(a.Ed)&&(m.clearTimeout(a.Ed),a.Ed=null)};S.prototype.Na=function(){return!!this.j};
var If=function(a){var b=a.Ka(),c;a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:c=!0;break a;default:c=!1}if(!c){if(b=0===b)a=String(a.gd).match(te)[1]||null,!a&&m.self&&m.self.location&&(a=m.self.location.protocol,a=a.substr(0,a.length-1)),b=!yf.test(a?a.toLowerCase():"");c=b}return c},ef=function(a){return a.j?a.j.readyState:0};S.prototype.Ka=function(){try{return 2<ef(this)?this.j.status:-1}catch(a){return-1}};
var ff=function(a){try{return a.j?a.j.responseText:""}catch(b){return J(a.I,"Can not get responseText: "+b.message),""}};S.prototype.yf=function(){return p(this.L)?this.L:String(this.L)};var Cf=function(a,b){return b+" ["+a.Pf+" "+a.gd+" "+a.Ka()+"]"};var T=function(a,b,c){this.bf=a||null;this.g=1;this.la=[];this.hb=[];this.Oa=new se(0,!0);this.$g=b||null;this.Vh=null!=c?c:null},Kf=function(a,b,c){this.Sf=a;this.map=b;this.context=c||null};g=T.prototype;g.aa=null;g.nc=null;g.ba=null;g.C=null;g.S=null;g.Xc=null;g.Ve=null;g.Aa=null;g.Lg=!0;g.wc=0;g.uh=0;g.Zg=!1;g.i=null;g.$a=null;g.Ga=null;g.ob=null;g.Za=null;g.Ke=null;g.Kg=!0;g.fd=-1;g.Qf=-1;g.v=-1;g.oc=0;g.Fb=0;g.Ng=5E3;g.Sh=1E4;g.ah=2;g.rf=2E4;g.Tb=0;g.Dd=!1;g.Ib=8;
var Lf=new Dd,Mf=function(a,b){Uc.call(this,"statevent",a);this.stat=b};t(Mf,Uc);var Nf=function(a,b){Uc.call(this,"timingevent",a);this.size=b};t(Nf,Uc);var Of=function(a){Uc.call(this,"serverreachability",a)};t(Of,Uc);T.prototype.connect=function(a,b,c,d,e){Q(0);this.S=b;this.nc=c||{};d&&ca(e)&&(this.nc.OSID=d,this.nc.OAID=e);this.Za=new tf(this);this.Za.Ea(this.aa);this.Za.wg(this.Oa);this.Za.connect(a)};
T.prototype.disconnect=function(){Pf(this);if(3==this.g){var a=this.wc++,b=this.Xc.clone();O(b,"SID",this.Ua);O(b,"RID",a);O(b,"TYPE","terminate");Qf(this,b);a=new P(this,0,this.Ua,a,void 0);a.dc=2;a.U=Me(b.clone());(new Image).src=a.U;a.zc=r();df(a)}Rf(this)};T.prototype.bb=function(){return this.Ua};var Pf=function(a){a.Za&&(a.Za.abort(),a.Za=null);a.C&&(a.C.cancel(),a.C=null);a.Ga&&(m.clearTimeout(a.Ga),a.Ga=null);Sf(a);a.ba&&(a.ba.cancel(),a.ba=null);a.$a&&(m.clearTimeout(a.$a),a.$a=null)};
g=T.prototype;g.Ea=function(a){this.aa=a};g.yg=function(a){this.Tb=a};g.Xb=function(a,b){if(0==this.g)throw Error("Invalid operation: sending map when state is closed");this.la.push(new Kf(this.uh++,a,b));2!=this.g&&3!=this.g||Tf(this)};g.Lf=function(){return 0==this.g};g.ha=function(){return this.v};g.wg=function(a){this.Oa=a};var Tf=function(a){a.ba||a.$a||(a.$a=of(q(a.bg,a),0),a.oc=0)};
T.prototype.bg=function(a){this.$a=null;if(1==this.g){if(!a){this.wc=Math.floor(1E5*Math.random());a=this.wc++;var b=new P(this,0,"",a,void 0);b.Ea(this.aa);var c=Uf(this),d=this.Xc.clone();O(d,"RID",a);this.bf&&O(d,"CVER",this.bf);Qf(this,d);bf(b,d,c);this.ba=b;this.g=2}}else 3==this.g&&(a?Vf(this,a):0!=this.la.length&&(this.ba||Vf(this)))};
var Vf=function(a,b){var c,d;b?6<a.Ib?(a.la=a.hb.concat(a.la),a.hb.length=0,c=a.wc-1,d=Uf(a)):(c=b.Th,d=b.yb):(c=a.wc++,d=Uf(a));var e=a.Xc.clone();O(e,"SID",a.Ua);O(e,"RID",c);O(e,"AID",a.fd);Qf(a,e);c=new P(a,0,a.Ua,c,a.oc+1);c.Ea(a.aa);c.setTimeout(Math.round(.5*a.rf)+Math.round(.5*a.rf*Math.random()));a.ba=c;bf(c,e,d)},Qf=function(a,b){if(a.i){var c=a.i.tf(a);c&&Za(c,function(a,c){O(b,c,a)})}},Uf=function(a){var b=Math.min(a.la.length,1E3),c=["count="+b],d;6<a.Ib&&0<b?(d=a.la[0].Sf,c.push("ofs="+
d)):d=0;for(var e=0;e<b;e++){var f=a.la[e].Sf,h=a.la[e].map,f=6>=a.Ib?e:f-d;try{$b(h,function(a,b){c.push("req"+f+"_"+b+"="+encodeURIComponent(a))})}catch(k){c.push("req"+f+"_type="+encodeURIComponent("_badmap"))}}a.hb=a.hb.concat(a.la.splice(0,b));return c.join("&")},Wf=function(a){a.C||a.Ga||(a.Ue=1,a.Ga=of(q(a.ag,a),0),a.Fb=0)},Yf=function(a){if(a.C||a.Ga||3<=a.Fb)return!1;a.Ue++;a.Ga=of(q(a.ag,a),Xf(a,a.Fb));a.Fb++;return!0};
T.prototype.ag=function(){this.Ga=null;this.C=new P(this,0,this.Ua,"rpc",this.Ue);this.C.Ea(this.aa);this.C.yg(this.Tb);var a=this.Ve.clone();O(a,"RID","rpc");O(a,"SID",this.Ua);O(a,"CI",this.Ke?"0":"1");O(a,"AID",this.fd);Qf(this,a);if(!E||10<=Number(uc))O(a,"TYPE","xmlhttp"),cf(this.C,a,!0,this.Aa,!1);else{O(a,"TYPE","html");var b=this.C,c=!!this.Aa;b.dc=3;b.U=Me(a.clone());nf(b,c)}};var xf=function(a,b,c){a.Ke=a.Kg&&c;a.v=b.ha();a.Xg(1,0);a.Xc=uf(a,null,a.S);Tf(a)};
T.prototype.kd=function(a,b){if(0!=this.g&&(this.C==a||this.ba==a))if(this.v=a.ha(),this.ba==a&&3==this.g)if(7<this.Ib){var c;try{c=this.Oa.parse(b)}catch(h){c=null}if(n(c)&&3==c.length)if(0==c[0])a:{if(!this.Ga){if(this.C)if(this.C.zc+3E3<this.ba.zc)Sf(this),this.C.cancel(),this.C=null;else break a;Yf(this);Q(19)}}else this.Qf=c[1],0<this.Qf-this.fd&&37500>c[2]&&this.Ke&&0==this.Fb&&!this.ob&&(this.ob=of(q(this.xh,this),6E3));else R(this,11)}else"y2f%"!=b&&R(this,11);else if(this.C==a&&Sf(this),
!va(b)){c=this.Oa.parse(b);u(n(c));for(var d=this.i&&this.i.Td?[]:null,e=0;e<c.length;e++){var f=c[e];this.fd=f[0];f=f[1];2==this.g?"c"==f[0]?(this.Ua=f[1],this.Aa=this.kc(f[2]),f=f[3],this.Ib=null!=f?f:6,this.g=3,this.i&&this.i.jc(this),this.Ve=uf(this,this.Gc()?this.Aa:null,this.S),Wf(this)):"stop"==f[0]&&R(this,7):3==this.g&&("stop"==f[0]?(d&&0!=d.length&&(this.i.Td(this,d),d.length=0),R(this,7)):"noop"!=f[0]&&(d?d.push(f):this.i&&this.i.ic(this,f)),this.Fb=0)}d&&0!=d.length&&this.i.Td(this,d)}};
T.prototype.kc=function(a){return this.Lg?this.i?this.i.kc(a):a:null};T.prototype.xh=function(){null!=this.ob&&(this.ob=null,this.C.cancel(),this.C=null,Yf(this),Q(20))};var Sf=function(a){null!=a.ob&&(m.clearTimeout(a.ob),a.ob=null)};
T.prototype.jd=function(a){var b;if(this.C==a)Sf(this),this.C=null,b=2;else if(this.ba==a)this.ba=null,b=1;else return;this.v=a.ha();if(0!=this.g)if(a.sa)1==b?(r(),Lf.dispatchEvent(new Nf(Lf,a.yb?a.yb.length:0)),Tf(this),this.hb.length=0):Wf(this);else{var c=a.yf(),d;if(!(d=3==c||7==c||0==c&&0<this.v)){if(d=1==b)this.ba||this.$a||1==this.g||this.oc>=(this.Zg?0:this.ah)?d=!1:(this.$a=of(q(this.bg,this,a),Xf(this,this.oc)),this.oc++,d=!0);d=!(d||2==b&&Yf(this))}if(d)switch(c){case 1:R(this,5);break;
case 4:R(this,10);break;case 3:R(this,6);break;case 7:R(this,12);break;default:R(this,2)}}};var Xf=function(a,b){var c=a.Ng+Math.floor(Math.random()*a.Sh);a.Na()||(c*=2);return c*b};T.prototype.Xg=function(a){if(!(0<=Pa(arguments,this.g)))throw Error("Unexpected channel state: "+this.g);};var R=function(a,b){if(2==b||9==b){var c=null;a.i&&(c=null);var d=q(a.Zh,a);c||(c=new xe("//www.google.com/images/cleardot.gif"),Me(c));qf(c.toString(),1E4,d)}else Q(2);Zf(a,b)};
T.prototype.Zh=function(a){a?Q(2):(Q(1),Zf(this,8))};var Zf=function(a,b){a.g=0;a.i&&a.i.lb(a,b);Rf(a);Pf(a)},Rf=function(a){a.g=0;a.v=-1;if(a.i)if(0==a.hb.length&&0==a.la.length)a.i.Hb(a);else{var b=Wa(a.hb),c=Wa(a.la);a.hb.length=0;a.la.length=0;a.i.Hb(a,b,c)}},uf=function(a,b,c){var d=Ne(c);if(""!=d.Ja)b&&ye(d,b+"."+d.Ja),ze(d,d.Pa);else var e=window.location,d=Oe(e.protocol,b?b+"."+e.hostname:e.hostname,e.port,c);a.nc&&Za(a.nc,function(a,b){O(d,b,a)});O(d,"VER",a.Ib);Qf(a,d);return d};
T.prototype.Xd=function(a){if(a&&!this.Dd)throw Error("Can't create secondary domain capable XhrIo object.");a=new S;a.Cg=this.Dd;return a};T.prototype.Na=function(){return!!this.i&&this.i.Na(this)};var of=function(a,b){if(!ja(a))throw Error("Fn must not be null and must be a function");return m.setTimeout(function(){a()},b)};T.prototype.ra=function(){Lf.dispatchEvent(new Of(Lf))};var Q=function(a){Lf.dispatchEvent(new Mf(Lf,a))};T.prototype.Gc=function(){return this.Dd||!(!E||10<=Number(uc))};
var $f=function(){};g=$f.prototype;g.Td=null;g.jc=function(){};g.ic=function(){};g.lb=function(){};g.Hb=function(){};g.tf=function(){return{}};g.Na=function(){return!0};g.kc=function(a){return a};var ag={1:"APISIDHASH",2:"SAPISIDHASH",3:"OAuth"};var dg=function(a,b){var c=Ma(a.ab());if(y(a,3)&&bg.contains(c)){var d=u(ag[c],"Unknown auth scheme: "+c);b.Authorization=d+" "+a.getToken();cg.contains(c)&&(b["X-Origin"]=a.getOrigin(),b["X-Goog-AuthUser"]=a.Yc())}return b},bg=new ac([1,2,3]),cg=new ac([1,2]);var eg=function(){this.ze=3E5;u(0<this.ze,"negative period");this.Hc=this.Tf=8;u(this.Hc<=this.Tf,"start must not exceed max");this.me=r()};var fg=function(a,b,c){this.Mf=!1;this.da="5";this.U=a;u(null!=z(c,2));this.o=c;this.i=b;this.jb=this.g=0;this.G=new M;this.G.qa(Lf,"statevent",q(this.Ah,this));this.pb=new me(Math.random,ob(c,11),ob(c,12));this.Tc=new me(Math.random,6E4,30);ne(this.Tc);this.kf=new me(Math.random,250,7200);ne(this.kf);this.s=new rb;this.mh=new eg;this.v=-1;this.Fa=0;this.$c=null};t(fg,$f);var gg=function(a,b){this.f=a;this.cg=b;this.Rc=0};
gg.prototype.Ze=function(){this.Rc++;switch(this.f.g){case 1:case 2:if(3==this.Rc){this.cg(this.f);return}break;case 3:if(5==this.Rc){this.cg(this.f);return}break;case 0:return}L(this.Ze,2E4,this)};var hg=function(a,b,c){T.call(this,a);this.ia=c;a=this.Bg=new gg(this,b);L(a.Ze,2E4,a)};t(hg,T);hg.prototype.kd=function(a,b){var c=this.Bg;3==c.f.g&&(c.Rc=0);hg.J.kd.call(this,a,b)};var ig=function(a,b){b!=a.g&&(a.g=b,a.jb++);return a.jb};g=fg.prototype;
g.ec=function(a){var b=!this.s||this.s.getToken()!==a.getToken();this.s=a.clone();this.f&&(a={},a=dg(this.s,a),this.f.Ea(a));b&&(b=this.Fa,this.Fa=1,2==b&&this.cc())};g.start=function(){u(0==this.g);ig(this,1);this.open(this.pb)};g.Bd=function(){u(!1)};g.open=function(a){if(1==this.g){ig(this,2);a=ne(a)+ob(this.o,3);A(this.o,3,0);var b=this.jb;L(function(){jg(this,b)},a,this)}};
g.cc=function(){switch(this.g){case 1:case 2:var a;a=this.mh;var b=r(),b=Math.floor((b-a.me)/a.ze);a.Hc=Math.min(a.Hc+b,a.Tf);a.me+=b*a.ze;0<a.Hc?(a.Hc--,a=!0):a=!1;a&&(2==this.Fa&&(this.Fa=0),jg(this,this.jb))}};g.ih=function(a){switch(a.g){case 1:case 2:a.disconnect();this.i.Qc(1001,this);break;case 3:a.disconnect(),this.i.Qc(1002,this)}};
var jg=function(a,b){u(z(a.o,2));if(a.jb==b){u(null==a.f);var c=ig(a,3);a.f=new hg(a.da,q(a.ih,a),c);a.f.i=a;var d={};5==a.s.ab()?a.f.Dd=!0:(d=dg(a.s,d),a.f.Ea(d));2==a.Fa?(a.lb(a.f,2),a.f.disconnect()):(a.Fa=0,z(a.o,9)?kg(z(a.o,9),q(function(a){this.jb==c&&(a&&(this.$c=a),lg(this))},a)):lg(a))}},lg=function(a){u(null!=a.f);var b=a.U+"/cbp",c=a.U+"/bind",d={};mg(a,d);a.f.connect(b,c,d)},mg=function(a,b){a.s.Cf()&&(b.authuser=a.s.uf());4==a.s.ab()&&(b.app_auth=a.s.getToken());b.ctype=z(a.o,2);y(a.o,
4)&&(b.service=z(a.o,4));y(a.o,6)&&(b.prop=z(a.o,6));y(a.o,7)&&(b.appver=z(a.o,7));a.$c&&(b.gsessionid=a.$c);y(a.o,10)&&(b.pageId=z(a.o,10));z(a.o,13)&&(b.sw=!0)};g=fg.prototype;g.tf=function(){var a={};mg(this,a);return a};g.close=function(){ig(this,1);null!=this.f&&this.f.disconnect()};g.Xb=function(a){null!=this.f&&this.f.Xb(a)};g.jc=function(a){if(a==this.f){ig(this,4);this.Tc.reset();ne(this.Tc);var b=this.jb;L(function(){this.jb==b&&this.pb.reset()},ob(this.o,14),this);this.i.jc(this)}};
g.ic=function(a,b){if(a==this.f){for(var c=0;c<b.length;c++){var d=b[c],e=d.gsid;if(e)this.$c=e,b.splice(c,1);else if(d=d.osc)400<=d&&499>=d&&(this.v=d,this.i.lb(new le(2,d),this),null!=this.f&&this.f.disconnect()),b.splice(c,1)}0<b.length&&this.i.ic(b,this)}};g.lb=function(a,b){a==this.f&&(this.v=a.ha(),this.i.lb(new le(b,this.v),this))};
g.Hb=function(a){if(a==this.f){a=this.g;ig(this,1);if(4==a||3==a){a=this.pb;switch(this.v){case 401:0!=this.Fa||z(this.o,8)||(this.Fa=2);break;case 429:a=this.Tc;break;case 404:a=this.kf}this.open(a)}this.v=-1;this.f=null;this.i.Hb(this)}};g.Ah=function(a){this.i.Qc(a.stat,this)};g.Ia=function(){Tc(this.G);this.Mf=!0};g.isDisposed=function(){return!!this.Mf};
var ng=function(a,b){Bf(a,function(a){var d=null;try{var e=a.target;if(If(e))var f=Qc(ff(e)),d={count:parseInt(f[0],10),Af:f[1].toString()}}catch(h){}b(d)},void 0,void 0,500)},kg=function(a,b){ng(a,function(c){c?ng(a,function(a){a?b(c.count<a.count?c.Af:a.Af):b(null)}):b(null)})};fg.prototype.yh=function(){2!=this.Fa&&this.cc()};var og=function(a,b,c){this.U=a;a=pb.b();this.o=Rc(a,b,this.I);u(null!=this.o);this.s=new rb;this.K=c;this.pa=!1;this.N=null};g=og.prototype;g.init=function(a,b){a&&A(this.o,3,a);b&&A(this.o,9,b);this.K.init(q(this.Qh,this))};g.Qh=function(){this.K.Da("s",q(this.start,this),!0);this.K.Da("sh",q(this.Bd,this),!0);this.K.Da("c",q(this.close,this),!0);this.K.Da("sm",q(this.Xb,this),!0);this.K.Da("uap",q(this.ec,this),!0);this.K.Da("tcn",q(this.cc,this),!0)};
g.ec=function(a){this.s=new rb;Kc(Oc,this.s,a);this.f&&this.f.ec(this.s)};g.start=function(){u(!this.f);this.f=new fg(this.U,this,this.o);this.f.ec(this.s);this.f.start();var a=this.f,b=new qe;a.G.qa(b,"online",q(a.yh,a))};g.Bd=function(){u(this.f);this.N||(this.N=this.f,this.f=null,this.start())};g.close=function(){this.f.close();this.qb()};g.Xb=function(a){a&&this.f.Xb(a)};g.cc=function(){this.f.cc()};
g.jc=function(a){a==this.f&&(this.pa=!0,this.N&&L(function(){this.qb()},4E4,this),this.K.eb("co",[]))};g.ic=function(a){this.K.eb("cha",a)};g.qb=function(){if(this.N){var a=this.N;this.N=null;L(function(){a.close();a.Ia()},0,this)}};g.Hb=function(a){if(a==this.f||a==this.N)this.K.eb("cc",[]),this.qb(),a==this.f?this.pa=!1:this.pa&&this.K.eb("co",[])};g.lb=function(a,b){b!=this.f&&b!=this.N||this.K.eb("ce",[a.ge(),a.he()])};g.Qc=function(a){this.K.eb("cse",""+a)};og.prototype.init=og.prototype.init;
da("buzz.channel.IframedBrowserChannelServer",og,void 0);var pg=function(){v.call(this)};t(pg,v);var qg=null,rg=function(){v.call(this)};t(rg,v);var sg=null;rg.prototype.setVersion=function(a){A(this,1,a)};var tg=function(){v.call(this)};t(tg,v);var ug=null;tg.prototype.setVersion=function(a){A(this,1,a)};var vg=function(){v.call(this)};t(vg,v);var wg=null,xg=function(){v.call(this)};t(xg,v);var yg=null;g=xg.prototype;g.wf=function(){return z(this,1)};g.tg=function(a){A(this,1,a)};g.xf=function(){return z(this,3)};g.ug=function(a){A(this,3,a)};
g.Ef=function(){return y(this,3)};var zg=function(){v.call(this)};t(zg,v);var Ag=null;zg.prototype.xg=function(a){A(this,1,a)};zg.prototype.vg=function(a){A(this,5,a)};var Bg=function(){v.call(this)};t(Bg,v);var Cg=null,Dg=function(){v.call(this)};t(Dg,v);var Eg=null;Dg.prototype.bb=function(){return z(this,1)};Dg.prototype.Zb=function(a){A(this,1,a)};var Fg=function(){v.call(this)};t(Fg,v);var Gg=null;Fg.prototype.bb=function(){return z(this,1)};Fg.prototype.Zb=function(a){A(this,1,a)};var Hg=function(){v.call(this)};
t(Hg,v);var Ig=null;Hg.prototype.bb=function(){return z(this,1)};Hg.prototype.Zb=function(a){A(this,1,a)};var Jg=function(){v.call(this)};t(Jg,v);var Kg=null;Jg.prototype.bb=function(){return z(this,1)};Jg.prototype.Zb=function(a){A(this,1,a)};Jg.prototype.Ka=function(){return z(this,4)};Jg.prototype.zd=function(a){A(this,4,a)};var Lg=function(){v.call(this)};t(Lg,v);var Mg=null;g=Lg.prototype;g.wf=function(){return z(this,1)};g.tg=function(a){A(this,1,a)};g.vf=function(){return z(this,3)};
g.yd=function(a){A(this,3,a)};g.Df=function(){return y(this,3)};g.zf=function(){return z(this,4)};g.He=function(a){A(this,4,a)};g.Gf=function(){return y(this,4)};var Ng=function(){v.call(this)};t(Ng,v);var Og=null;Ng.prototype.xg=function(a){A(this,1,a)};Ng.prototype.vg=function(a){A(this,5,a)};var Pg=function(){v.call(this)};t(Pg,v);var Qg=null,Rg=function(){v.call(this)};t(Rg,v);var Sg=null;Rg.prototype.Ka=function(){return z(this,1)};Rg.prototype.zd=function(a){A(this,1,a)};
pg.prototype.b=function(){var a=qg;a||(qg=a=B(pg,{0:{name:"Version",u:"buzz.channel.Version"},1:{name:"major_version",c:5,type:Number},2:{name:"minor_version",c:5,type:Number}}));return a};pg.b=pg.prototype.b;rg.prototype.b=function(){var a=sg;a||(sg=a=B(rg,{0:{name:"ProtocolVersion",u:"buzz.channel.ProtocolVersion"},1:{name:"version",c:11,type:pg}}));return a};rg.b=rg.prototype.b;
tg.prototype.b=function(){var a=ug;a||(ug=a=B(tg,{0:{name:"ClientVersion",u:"buzz.channel.ClientVersion"},1:{name:"version",c:11,type:pg},2:{name:"platform",c:9,type:String},3:{name:"language",c:9,type:String},4:{name:"application_info",c:9,type:String}}));return a};tg.b=tg.prototype.b;vg.prototype.b=function(){var a=wg;a||(wg=a=B(vg,{0:{name:"SessionId",u:"buzz.channel.SessionId"},1:{name:"service_name",c:9,type:String},2:{name:"session_name",c:9,type:String}}));return a};vg.b=vg.prototype.b;
xg.prototype.b=function(){var a=yg;a||(yg=a=B(xg,{0:{name:"ClientToServerMessage",u:"buzz.channel.ClientToServerMessage"},1:{name:"header",c:11,type:zg},2:{name:"init_endpoint_message",c:11,type:Bg},3:{name:"init_session_message",c:11,type:Dg},4:{name:"client_data_message_deprecated",c:11,type:Hg},5:{name:"send_on_disconnect_message",c:11,type:Hg},6:{name:"close_session_message",c:11,type:Fg}}));return a};xg.b=xg.prototype.b;
zg.prototype.b=function(){var a=Ag;a||(Ag=a=B(zg,{0:{name:"ClientHeader",u:"buzz.channel.ClientHeader"},1:{name:"protocol_version",c:11,type:rg},2:{name:"client_version",c:11,type:tg},3:{name:"client_time_ms",c:3,type:Number},4:{name:"max_known_server_time_ms",c:3,type:Number},5:{name:"message_id",c:9,type:String}}));return a};zg.b=zg.prototype.b;Bg.prototype.b=function(){var a=Cg;a||(Cg=a=B(Bg,{0:{name:"InitEndpointMessage",u:"buzz.channel.InitEndpointMessage"}}));return a};Bg.b=Bg.prototype.b;
Dg.prototype.b=function(){var a=Eg;a||(Eg=a=B(Dg,{0:{name:"InitSessionMessage",u:"buzz.channel.InitSessionMessage"},1:{name:"session_id",c:11,type:vg}}));return a};Dg.b=Dg.prototype.b;Fg.prototype.b=function(){var a=Gg;a||(Gg=a=B(Fg,{0:{name:"CloseSessionMessage",u:"buzz.channel.CloseSessionMessage"},1:{name:"session_id",c:11,type:vg}}));return a};Fg.b=Fg.prototype.b;
Hg.prototype.b=function(){var a=Ig;a||(Ig=a=B(Hg,{0:{name:"DataMessage",u:"buzz.channel.DataMessage"},1:{name:"session_id",c:11,type:vg},2:{name:"message",c:9,type:String}}));return a};Hg.b=Hg.prototype.b;Jg.prototype.b=function(){var a=Kg;a||(Kg=a=B(Jg,{0:{name:"SessionStatusMessage",u:"buzz.channel.SessionStatusMessage"},1:{name:"session_id",c:11,type:vg},2:{name:"address",c:9,type:String},3:{name:"is_broadcast_to_user",c:8,type:Boolean},4:{name:"status",c:11,type:Pg}}));return a};Jg.b=Jg.prototype.b;
Lg.prototype.b=function(){var a=Mg;a||(Mg=a=B(Lg,{0:{name:"ServerToClientMessage",u:"buzz.channel.ServerToClientMessage"},1:{name:"header",c:11,type:Ng},2:{name:"server_data_message",c:11,type:Hg},3:{name:"channel_status_message",c:11,type:Rg},4:{name:"session_status_message",c:11,type:Jg}}));return a};Lg.b=Lg.prototype.b;
Ng.prototype.b=function(){var a=Og;a||(Og=a=B(Ng,{0:{name:"ServerHeader",u:"buzz.channel.ServerHeader"},1:{name:"protocol_version",c:11,type:rg},4:{name:"server_time_ms",c:3,type:Number},5:{name:"message_id",c:9,type:String}}));return a};Ng.b=Ng.prototype.b;Pg.prototype.b=function(){var a=Qg;a||(Qg=a=B(Pg,{0:{name:"StatusP",u:"buzz.channel.StatusP"},1:{name:"code",c:5,type:Number},2:{name:"description",c:9,type:String}}));return a};Pg.b=Pg.prototype.b;
Rg.prototype.b=function(){var a=Sg;a||(Sg=a=B(Rg,{0:{name:"ChannelStatusMessage",u:"buzz.channel.ChannelStatusMessage"},1:{name:"status",c:11,type:Pg},2:{name:"jid_resource",c:9,type:String}}));return a};Rg.b=Rg.prototype.b;var U=function(){v.call(this)};t(U,v);var Tg=null;U.prototype.xd=function(a){A(this,1,a)};U.prototype.xf=function(){return z(this,2)};U.prototype.ug=function(a){A(this,2,a)};U.prototype.Ef=function(){return y(this,2)};var Vg=function(a){var b=new Ug;A(a,4,b)},V=function(){v.call(this)};t(V,v);var Wg=null;g=V.prototype;g.zf=function(){return z(this,2)};g.He=function(a){A(this,2,a)};g.Gf=function(){return y(this,2)};g.vf=function(){return z(this,3)};g.yd=function(a){A(this,3,a)};
g.Df=function(){return y(this,3)};var Xg=function(){v.call(this)};t(Xg,v);var Yg=null,Zg={ei:1,fi:2},Ug=function(){v.call(this)};t(Ug,v);var $g=null,ah=function(){v.call(this)};t(ah,v);var bh=null,ch=function(){v.call(this)};t(ch,v);var dh=null,eh=function(){v.call(this)};t(eh,v);var fh=null,gh=function(){v.call(this)};t(gh,v);var hh=null,ih=function(){v.call(this)};t(ih,v);var jh=null;ih.prototype.ge=function(){return z(this,1)};ih.prototype.he=function(){return z(this,2)};
U.prototype.b=function(){var a=Tg;a||(Tg=a=B(U,{0:{name:"ClientToSharedWorkerMessage",u:"buzz.channel.proto.ClientToSharedWorkerMessage"},1:{name:"auth_params",c:11,type:rb},2:{name:"init_session_message",c:11,type:Dg},3:{name:"browser_channel_config",c:11,type:pb},4:{name:"heartbeat",c:11,type:Ug}}));return a};U.b=U.prototype.b;
V.prototype.b=function(){var a=Wg;a||(Wg=a=B(V,{0:{name:"SharedWorkerToClientMessage",u:"buzz.channel.proto.SharedWorkerToClientMessage"},1:{name:"data_message",c:11,type:Hg},2:{name:"session_status_message",c:11,type:Jg},3:{name:"channel_status_message",c:11,type:Rg},4:{name:"shared_worker_event_message",c:11,type:Xg},5:{name:"auth_params_request_message",c:11,type:ah},6:{name:"config_request_message",c:11,type:ch},7:{name:"sender_id",c:9,type:String},9:{name:"channel_stat_message",c:11,type:eh},
10:{name:"browser_channel_closed_message",c:11,type:gh},11:{name:"browser_channel_error_message",c:11,type:ih}}));return a};V.b=V.prototype.b;Xg.prototype.b=function(){var a=Yg;a||(Yg=a=B(Xg,{0:{name:"SharedWorkerEventMessage",u:"buzz.channel.proto.SharedWorkerEventMessage"},1:{name:"event",c:14,defaultValue:1,type:Zg},2:{name:"connection_count",c:5,type:Number}}));return a};Xg.b=Xg.prototype.b;
Ug.prototype.b=function(){var a=$g;a||($g=a=B(Ug,{0:{name:"Heartbeat",u:"buzz.channel.proto.Heartbeat"}}));return a};Ug.b=Ug.prototype.b;ah.prototype.b=function(){var a=bh;a||(bh=a=B(ah,{0:{name:"AuthenticationParametersRequestMessage",u:"buzz.channel.proto.AuthenticationParametersRequestMessage"}}));return a};ah.b=ah.prototype.b;ch.prototype.b=function(){var a=dh;a||(dh=a=B(ch,{0:{name:"BrowserChannelConfigRequestMessage",u:"buzz.channel.proto.BrowserChannelConfigRequestMessage"}}));return a};
ch.b=ch.prototype.b;eh.prototype.b=function(){var a=fh;a||(fh=a=B(eh,{0:{name:"ChannelStatMessage",u:"buzz.channel.proto.ChannelStatMessage"},1:{name:"stat",c:5,type:Number}}));return a};eh.b=eh.prototype.b;gh.prototype.b=function(){var a=hh;a||(hh=a=B(gh,{0:{name:"BrowserChannelClosedMessage",u:"buzz.channel.proto.BrowserChannelClosedMessage"}}));return a};gh.b=gh.prototype.b;
ih.prototype.b=function(){var a=jh;a||(jh=a=B(ih,{0:{name:"BrowserChannelErrorMessage",u:"buzz.channel.proto.BrowserChannelErrorMessage"},1:{name:"browser_channel_error_code",c:5,type:Number},2:{name:"last_http_status_code",c:5,type:Number}}));return a};ih.b=ih.prototype.b;var kh=function(){var a;return hc?(a=/Windows NT ([0-9.]+)/,(a=a.exec(ub))?a[1]:"0"):gc?(a=/10[_.][0-9_.]+/,(a=a.exec(ub))?a[0].replace(/_/g,"."):"10"):ic?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(ub))?a[1]:""):jc||kc?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(ub))?a[1].replace(/_/g,"."):""):""}();var lh=new rg,mh=new pg;A(mh,1,3);A(mh,2,2);lh.setVersion(mh);var nh=new pg;A(nh,1,3);A(nh,2,2);var oh=new pg;A(oh,1,3);A(oh,2,2);var ph=function(a,b){var c=new vg;A(c,1,a);null!=b&&A(c,2,b);return c},qh=function(a,b){var c=new Fg;u(null!==b);c.Zb(ph(a,b));return c},sh=function(a,b){var c=new V,d=new Xg;A(d,1,a);null!=b&&A(d,2,b);A(c,4,d);return c};var th=function(){this.re=[];this.md=null};th.prototype.postMessage=function(a){L(function(){this.md.wd(a)},0,this)};th.prototype.addEventListener=function(a,b){u("message"==a);this.re.push(b)};th.prototype.start=function(){u(null!=this.md)};th.prototype.wd=function(a){for(var b=0;b<this.re.length;++b)this.re[b]({data:a})};var uh=function(){var a=new th,b=new th;a.md=b;b.md=a;return[a,b]};var vh=function(){},wh=function(a,b){var c=b.b(),d=a.Yh[c.getName()];u(d,"no validator specification for %s",c.fe);for(var e=gb(c),f=0;f<e.length;++f)u(e[f].getName()in d,"field %s unspecified in %s",e[f].getName(),c.fe);for(var h in d){var e=d[h],k=hb(c,h);u(k instanceof ib,"no field descriptor for %s in %s",h,c.fe);for(f=0;f<e.length;++f){if(!e[f](k,b))return!1;for(var l=0;l<kb(b,k);++l){var w=b.get(k,l);if(w instanceof v&&!wh(a,w))return!1}}}return!0};vh.prototype.required=function(a,b){return b.has(a)};
vh.prototype.bh=function(a,b,c){return!c.has(b)||c.get(b)>=a};vh.prototype.wh=function(a,b){return!b.has(a)||""!=b.get(a)};var xh=function(){var a=function(){return!0},b=q(this.required,this),c=q(this.bh,this,0),d=q(this.wh,this);this.Yh={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]},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(xh,vh);var yh=function(a,b,c,d){this.Yb=b;this.Ec=a;this.xc=c;this.Ne=d||null},zh=function(a,b,c){this.Vd=a;this.Of=b;this.Pa=c;this.Ta=[];this.ie=3;this.s=new rb;this.Eb=0;this.Se=new me(Math.random,1E4,180)},Ah=function(a,b){var c=Pc(b);a.Pa.postMessage(c)},Bh=function(a,b){a.s=b;0==a.Eb?(a.Eb=1,L(function(){var a={},a=dg(this.s,a);Bf("/client-channel/client-auth/",q(this.eh,this,this.s),"",a)},ne(a.Se),a)):2==a.Eb&&a.Vd.xd(b)};
zh.prototype.eh=function(a,b){if(If(b.target)){this.Eb=2;this.Se=null;this.Vd.xd(a);var c=new V,d=new ch;A(c,6,d);Ah(this,c);c=sh(2,this.Of+1);Ah(this,c);this.Vd.pa&&(d=new Pg,A(d,1,1),c=new Rg,c.zd(d),d=new V,d.yd(c),Ah(this,d))}else this.Eb=0,this.Ce()};zh.prototype.Ce=function(){var a=new V,b=new ah;A(a,5,b);Ah(this,a)};
var Ch=function(a){this.vh=0;this.od=new D;this.Va=[];this.Ta=new D;this.Xa=new D;var b=new xe(location);Ae(b,"/client-channel/channel");Be(b,"",void 0);this.U=b.toString();this.N=this.s=this.o=null;this.pa=!1;this.sh=this.ne=0;this.Wf=new xh;(this.Jf=a)&&(Image=function(){L(function(){if(this.onload)this.onload()},100,this)})};Ch.prototype.jc=function(a){a==this.f&&(this.N&&L(function(){this.qb()},4E4,this),Dh(this,new Bg))};
Ch.prototype.ic=function(a,b){for(var c=0;c<a.length;c++){var d=a[c].p;if(d){var e=Lg.b(),d=Rc(e,d,this.I);if(null!=d&&wh(this.Wf,d)){e=d.wf();this.ne=Math.max(this.ne,z(e,4));if(y(d,2)){var f=z(d,2),e=f.bb(),e=Eh(this,e);if(0!=e.length){var h=new V;A(h,1,f);for(f=0;f<e.length;f++){var k=e[f].xc;u(null!=k);Ah(k,h)}}}if(b==this.f){if(d.Df()){e=d.vf();h=z(e.Ka(),1);if(1==h){this.pa=!0;f=this.Ta.P();for(h=0;h<f.length;++h)Fh(this,f[h].Ec,f[h].Yb);for(h=0;h<this.Va.length;++h)Fh(this,this.Va[h].Ec,null);
f=this.Xa.P();for(h=0;h<f.length;++h)0<f[h].length&&Fh(this,f[h][0].Ec,f[h][0].Yb)}else 4==h&&(this.pa=!1,this.Bd());h=new V;h.yd(e);Gh(this,h)}if(d.Gf())a:if(d=d.zf(),k=d.bb(),f=z(k,2),null!=f){e=Eh(this,k);if(0==e.length){for(h=0;h<this.Va.length;++h){var l=this.Va[h],w=z(k,1);if(l.Ec==w){var x=l,W=f;u(null==x.Yb);x.Yb=W;x=z(d,2);l.Ne=x;this.Va.splice(h,1);e.push(l)}}if(0==e.length)break a;ob(d,3)?this.Xa.set(w,e):(e=e[0],this.Ta.set(f,e),e=[e])}f=new V;f.He(d);for(h=0;h<e.length;h++)d=e[h].xc,
u(null!=d),Ah(d,f)}}}}}};var Fh=function(a,b,c){if(a.pa){var d=new Dg;d.Zb(ph(b,c));Dh(a,d)}},Gh=function(a,b){a.od.forEach(function(a){u(null!=a);Ah(a,b)})},Eh=function(a,b){var c=[],d=a.Ta.get(z(b,2),null);null==d?c=a.Xa.get(z(b,1),[]):c.push(d);return c};g=Ch.prototype;g.Hb=function(a){if(a==this.f||a==this.N){this.qb();a==this.f&&(this.pa=!1);var b=new gh;a=new V;A(a,10,b);Gh(this,a);this.pa&&(a=new Pg,A(a,1,1),b=new Rg,b.zd(a),a=new V,a.yd(b),Gh(this,a))}};
g.lb=function(a,b){if(b==this.f||b!=this.N){var c=a.ge(),d=a.he(),e=new ih;A(e,1,c);A(e,2,d);c=new V;A(c,11,e);Gh(this,c)}};g.Qc=function(a){var b=new eh;A(b,1,a);a=new V;A(a,9,b);Gh(this,a)};g.start=function(){u(!this.f);u(null!=this.o);u(null!=this.s);this.f=new fg(this.U,this,this.o);this.f.ec(this.s);this.f.start()};g.Bd=function(){u(this.f);this.N||(this.N=this.f,this.pa=!1,this.f=null,this.start())};g.qb=function(){if(this.N){var a=this.N;this.N=null;L(function(){a.close();a.Ia()},0,this)}};
g.close=function(){this.f&&(this.f.close(),this.qb(),this.f=null)};var Dh=function(a,b){var c="c"+ ++a.sh,d=r(),e=a.ne,f=new zg;f.xg(lh);A(f,3,d);A(f,4,e);f.vg(c);c=new tg;c.setVersion(oh);A(c,2,kh);A(c,3,"JS");A(c,4,"lcsclient");A(f,2,c);c=new xg;c.tg(f);b instanceof Bg?A(c,2,b):b instanceof Dg?c.ug(b):b instanceof Fg&&A(c,6,b);wh(a.Wf,c)&&(f={},c=Pc(c),f.p=c,f&&a.f.Xb(f))};Ch.prototype.xd=function(a){this.s=a;null!=this.f&&this.f.ec(a)};
var Hh=function(a){L(function(){Hh(this);for(var a=[],c=this.od.P(),d=0;d<c.length;d++){var e=c[d];0==e.ie?a.push(e):e.ie--}for(d=0;d<a.length;d++){for(var e=c=a[d],f=this.Ta.oa(),h=0;h<f.length;h++){var k=f[h];if(e==this.Ta.get(k).xc){var l=this.Ta.get(k).Ec,l=qh(l,k);Dh(this,l);this.Ta.remove(k)}}for(h=0;h<this.Va.length;h++)e==this.Va[h].xc&&this.Va.splice(h,1);f=this.Xa.oa();for(h=0;h<f.length;h++)for(var l=f[h],w=this.Xa.get(l),x=0;x<w.length;x++)e==w[x].xc&&(k=w[x].Yb,w.splice(x,1),0==w.length&&
(this.Xa.remove(l),k=qh(l,k),Dh(this,k)));this.od.remove(c.Of)}},18E4,a)},Ih=function(a,b){if(!a.Jf)return!0;var c=(new xe(self.location)).ma.get("authuser")||0,d=b.Yc();if(c!=d)return!1;switch(self.location.protocol){case "http:":c=1;break;case "https:":c=2;break;default:return!1}return c!=b.ab()?!1:!0};
Ch.prototype.gh=function(a,b){var c=U.b(),c=Rc(c,b.data,this.I);if(null!=c){a.ie=3;if(y(c,1)){var d=z(c,1);Ih(this,d)&&Bh(a,d)}else if(2!=a.Eb)return;if(y(c,3))this.o=z(c,3),null==this.f?this.start():this.f.cc();else if(c.Ef()){d=c.xf().bb();u(null!=d);var c=z(d,2),e=u(z(d,1));if(null!=c)this.Ta.set(c,new yh(e,c,a)),Fh(this,e,c);else if(this.Xa.nb(e)){d=this.Xa.get(e);u(0<d.length);var f=d[0].Yb,c=d[0].Ne;d.push(new yh(e,f,a,c));d=new Jg;e=ph(e,f);f=new Pg;A(f,1,1);d.Zb(e);A(d,2,c);A(d,3,!0);d.zd(f);
c=new V;c.He(d);Ah(a,c)}else this.Va.push(new yh(e,null,a)),Fh(this,e,null)}}};var Jh=function(a,b){var c=b.ports[0],d=a.vh++,e=new zh(a,d,c);a.od.set(d,e);c.addEventListener("message",q(a.gh,a,e),!1);c.start()};Ch.prototype.init=function(){Hh(this)};var Kh=function(a,b,c,d){var e=pb.b();a=Rc(e,a,this.I);u(null!=a);this.o=a;this.Mg=b;this.Xh=c;this.wa=null;this.pb=new me(Math.random,1E4,180);ne(this.pb);this.K=d};Kh.prototype.close=function(){this.wa=null};var Lh=function(a){var b=new U;u(null!=a.s);b.xd(a.s);b=Pc(b);a.wa.port.postMessage(b)};Kh.prototype.Ce=function(){var a=new V,b=new ah;A(a,5,b);Mh(this,a)};
var Nh=function(a){var b=new U;Vg(b);var c=Pc(b);L(function(){Nh(this);this.wa.port.postMessage(c)},48E3*Math.random()+96E3,a)},Mh=function(a,b){var c=Pc(b);a.K.eb("sw2c",c)};Kh.prototype.fh=function(a){if(this.wa){var b=U.b(),b=Rc(b,a,this.I);null!=b&&y(b,3)&&(A(b,3,this.o),a=Pc(b));this.wa.port.postMessage(a)}else b=U.b(),b=Rc(b,a,this.I),y(b,1)&&(a={},a=dg(z(b,1),a),Bf(this.Mg,q(this.dh,this,z(b,1)),"",a))};
Kh.prototype.dh=function(a,b){If(b.target)?(this.s=a,this.pb.reset(),null==this.wa&&Oh(this),Lh(this)):L(function(){this.Ce()},ne(this.pb),this)};
var Oh=function(a){u(null==a.wa);var b=sh(1,null);Mh(a,b);if(ob(a.o,13))b=new xe(a.Xh),O(b,"ctype",z(a.o,2)),O(b,"authuser",a.s.Yc()),a.wa=new SharedWorker(b.toString());else{var b=uh(),c=new Ch(!1);a.wa={port:b[1]};c.init();Jh(c,{ports:b})}a.wa.port.addEventListener("message",function(b){b=b.data;var c=V.b();(b=Rc(c,b,a.I))&&Mh(a,b)},!1);a.wa.port.start();Nh(a)};Kh.prototype.init=function(){this.K.init(q(this.kh,this))};Kh.prototype.kh=function(){this.K.Da("c2sw",q(this.fh,this),!1)};
Kh.prototype.init=Kh.prototype.init;da("buzz.channel.IframedSharedChannelServer",Kh,void 0);var Ph=function(a,b,c){K.call(this);this.tc=a;this.Ma=b||0;this.i=c;this.Sd=q(this.mc,this)};t(Ph,K);g=Ph.prototype;g.ia=0;g.l=function(){Ph.J.l.call(this);this.stop();delete this.tc;delete this.i};g.start=function(a){this.stop();this.ia=L(this.Sd,ca(a)?a:this.Ma)};g.stop=function(){this.Na()&&m.clearTimeout(this.ia);this.ia=0};g.qf=function(){this.stop();this.mc()};g.Na=function(){return 0!=this.ia};g.mc=function(){this.ia=0;this.tc&&this.tc.call(this.i)};var Qh=function(){K.call(this);this.Fe={}};t(Qh,K);Qh.prototype.connect=function(a){a&&a()};Qh.prototype.ka=function(){return!0};Qh.prototype.Da=function(a,b,c){this.Fe[a]={callback:b,Xf:!!c}};Qh.prototype.l=function(){Qh.J.l.call(this);delete this.h;delete this.Fe;delete this.jf};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
var X=function(a,b){this.Sa=[];this.Yf=a;this.hf=b||null;this.rc=this.ga=!1;this.Ra=void 0;this.Ie=this.We=this.Qd=!1;this.Gd=0;this.M=null;this.Nc=0};X.prototype.cancel=function(a){if(this.ga)this.Ra instanceof X&&this.Ra.cancel();else{if(this.M){var b=this.M;delete this.M;a?b.cancel(a):(b.Nc--,0>=b.Nc&&b.cancel())}this.Yf?this.Yf.call(this.hf,this):this.Ie=!0;this.ga||this.mf(new Rh)}};X.prototype.ef=function(a,b){this.Qd=!1;Sh(this,a,b)};
var Sh=function(a,b,c){a.ga=!0;a.Ra=c;a.rc=!b;Th(a)},Vh=function(a){if(a.ga){if(!a.Ie)throw new Uh;a.Ie=!1}};X.prototype.callback=function(a){Vh(this);Wh(a);Sh(this,!0,a)};X.prototype.mf=function(a){Vh(this);Wh(a);Sh(this,!1,a)};var Wh=function(a){u(!(a instanceof X),"An execution sequence may not be initiated with a blocking Deferred.")},Yh=function(a,b,c){Xh(a,b,null,c)},Xh=function(a,b,c,d){u(!a.We,"Blocking Deferreds can not be re-used");a.Sa.push([b,c,d]);a.ga&&Th(a)};
X.prototype.then=function(a,b,c){var d,e,f=new Xd(function(a,b){d=a;e=b});Xh(this,d,function(a){a instanceof Rh?f.cancel():e(a)});return f.then(a,b,c)};Td(X);var Zh=function(a,b){b instanceof X?Yh(a,q(b.Pg,b)):Yh(a,function(){return b})};X.prototype.Pg=function(a){var b=new X;Xh(this,b.callback,b.mf,b);a&&(b.M=this,this.Nc++);return b};
var $h=function(a){return Ra(a.Sa,function(a){return ja(a[1])})},Th=function(a){if(a.Gd&&a.ga&&$h(a)){var b=a.Gd,c=ai[b];c&&(m.clearTimeout(c.ia),delete ai[b]);a.Gd=0}a.M&&(a.M.Nc--,delete a.M);for(var b=a.Ra,d=c=!1;a.Sa.length&&!a.Qd;){var e=a.Sa.shift(),f=e[0],h=e[1],e=e[2];if(f=a.rc?h:f)try{var k=f.call(e||a.hf,b);ca(k)&&(a.rc=a.rc&&(k==b||k instanceof Error),a.Ra=b=k);if(Ud(b)||"function"===typeof m.Promise&&b instanceof m.Promise)d=!0,a.Qd=!0}catch(l){b=l,a.rc=!0,$h(a)||(c=!0)}}a.Ra=b;d&&(k=
q(a.ef,a,!0),d=q(a.ef,a,!1),b instanceof X?(Xh(b,k,d),b.We=!0):b.then(k,d));c&&(b=new bi(b),ai[b.ia]=b,a.Gd=b.ia)},Uh=function(){sa.call(this)};t(Uh,sa);Uh.prototype.message="Deferred has already fired";Uh.prototype.name="AlreadyCalledError";var Rh=function(){sa.call(this)};t(Rh,sa);Rh.prototype.message="Deferred was canceled";Rh.prototype.name="CanceledError";var bi=function(a){this.ia=m.setTimeout(q(this.$h,this),0);this.Uc=a};
bi.prototype.$h=function(){u(ai[this.ia],"Cannot throw an error that is not scheduled.");delete ai[this.ia];throw this.Uc;};var ai={};var F={};var ci={1:"NativeMessagingTransport",2:"FrameElementMethodTransport",3:"IframeRelayTransport",4:"IframePollingTransport",5:"FlashTransport",6:"NixTransport",7:"DirectTransport"},di=["pu","lru","pru","lpu","ppu"],Y={},fi=function(){for(var a=10,b=ei,c=b.length,d="";0<a--;)d+=b.charAt(Math.floor(Math.random()*c));return d},ei="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";var Z=function(a){K.call(this);this.ya=a||ta||(ta=new zc)};t(Z,K);Z.prototype.zb=0;Z.prototype.getWindow=function(){return this.ya.getWindow()};Z.prototype.getName=function(){return ci[String(this.zb)]||""};var ii=function(a,b){Z.call(this,b);this.a=a;this.G=new M(this);Sc(this,qa(Tc,this.G));this.Ca=new ke(100,this.getWindow());Sc(this,qa(Tc,this.Ca));this.W=new X;this.X=new X;this.O=new X;this.be=fi();this.gb=null;this.Db={};this.Gh=this.a.name;gi(this.a,this.a.name+"_"+hi(this.a));this.Ba=!1;Zh(this.O,this.W);Zh(this.O,this.X);Yh(this.O,this.ue,this);this.O.callback(!0);this.G.qa(this.Ca,"tick",this.uc);I("DirectTransport created. role="+hi(this.a))};t(ii,Z);
var ji={},mi=function(a){var b=new ki(a.channelName,a.service,a.payload);a=b.Ud;var c=b.Dc,b=b.wb;J(F.h,"messageReceived: channel="+a+", service="+c+", payload="+b);var d=Y[a];if(d)return d.xa(c,b),!0;var d=li(b)[0],e;for(e in Y){var f=Y[e];if(1==hi(f)&&!f.ka()&&"tp"==c&&"SETUP"==d)return gi(f,a),f.xa(c,b),!0}I("channel name mismatch; message ignored.");return!1};g=ii.prototype;g.zb=7;
g.Fd=function(a){a=li(a);var b=a[1];switch(a[0]){case "SETUP_ACK":this.W.ga||this.W.callback(!0);break;case "SETUP":this.vd(),null!=this.gb&&this.gb!=b&&(I("Sending SETUP and changing peer ID to: "+b),this.Ac()),this.gb=b}};g.Ac=function(){this.send("tp","SETUP,"+this.be)};g.vd=function(){this.send("tp","SETUP_ACK");this.X.ga||this.X.callback(!0)};
g.connect=function(){var a=this.getWindow();if(a){var b=na(a);0==(ji[b]||0)&&null==ea("crosswindowmessaging.channel",a)&&da("crosswindowmessaging.channel",mi,a);ji[b]++;this.Ba=!0;this.uc()}else J(F.h,"connect(): no window to initialize.")};g.uc=function(){this.a.ka()?this.Ca.stop():(this.Ca.start(),this.Ac())};g.send=function(a,b){if(this.a.ca){var c=new ki(this.Gh+"_"+(0==hi(this.a)?1:0),a,b);this.a.D.directSyncMode?this.nf(c):this.Db[na(c)]=L(q(this.nf,this,c),0)}else J(F.h,"send(): window not ready")};
g.nf=function(a){var b=na(a);this.Db[b]&&delete this.Db[b];try{var c=ea("crosswindowmessaging.channel",this.a.ca)}catch(d){H(F.h,"Can't access other window, ignoring.",d);return}if(null===c)H(F.h,"Peer window had no global function.");else try{c({channelName:a.Ud,service:a.Dc,payload:a.wb}),I("send(): channelName="+a.Ud+" service="+a.Dc+" payload="+a.wb)}catch(d){H(F.h,"Error performing call, ignoring.",d)}};g.ue=function(){ni(this.a,0)};
g.l=function(){if(this.Ba){var a=this.getWindow(),b=na(a);1==--ji[b]&&da("crosswindowmessaging.channel",null,a)}this.Db&&(Za(this.Db,function(a){m.clearTimeout(a)}),this.Db=null);this.W&&(this.W.cancel(),delete this.W);this.X&&(this.X.cancel(),delete this.X);this.O&&(this.O.cancel(),delete this.O);ii.J.l.call(this)};var li=function(a){a=a.split(",");a[1]=a[1]||null;return a},ki=function(a,b,c){this.Ud=a;this.Dc=b;this.wb=c};var oi=function(a,b){Z.call(this,b);this.a=a;this.yc=[];this.Vg=q(this.Wg,this)};t(oi,Z);g=oi.prototype;g.zb=2;g.Be=!1;g.connect=function(){0==hi(this.a)?(this.La=this.a.Nb,this.La.XPC_toOuter=q(this.Kf,this)):this.Re()};
g.Re=function(){var a=!0;try{this.La||(this.La=this.getWindow().frameElement),this.La&&this.La.XPC_toOuter&&(this.ve=this.La.XPC_toOuter,this.La.XPC_toOuter.XPC_toInner=q(this.Kf,this),a=!1,this.send("tp","SETUP_ACK"),ni(this.a))}catch(b){xc(F.h,"exception caught while attempting setup: "+b)}a&&(this.Qe||(this.Qe=q(this.Re,this)),this.getWindow().setTimeout(this.Qe,100))};
g.Fd=function(a){if(0!=hi(this.a)||this.a.ka()||"SETUP_ACK"!=a)throw Error("Got unexpected transport message.");this.ve=this.La.XPC_toOuter.XPC_toInner;ni(this.a)};g.Kf=function(a,b){this.Be||0!=this.yc.length?(this.yc.push({Wh:a,wb:b}),1==this.yc.length&&this.getWindow().setTimeout(this.Vg,1)):this.a.xa(a,b)};g.Wg=function(){for(;this.yc.length;){var a=this.yc.shift();this.a.xa(a.Wh,a.wb)}};g.send=function(a,b){this.Be=!0;this.ve(a,b);this.Be=!1};
g.l=function(){oi.J.l.call(this);this.La=this.ve=null};var pi=function(a,b){Z.call(this,b);this.a=a;this.De=this.a.D.ppu;this.Oh=this.a.D.lpu;this.ud=[]},qi,ri;t(pi,Z);g=pi.prototype;g.Jh=5;g.zb=4;g.Sa=0;g.fc=!1;g.Ba=!1;g.lg=null;var si=function(a){return"googlexpc_"+a.a.name+"_msg"},ti=function(a){return"googlexpc_"+a.a.name+"_ack"},vi=function(a){try{if(!a.isDisposed()&&ui(a.a))return a.a.ca.frames||{}}catch(b){J(F.h,"error retrieving peer frames")}return{}},wi=function(a,b){return vi(a)[b]};
pi.prototype.connect=function(){if(!this.isDisposed()&&ui(this.a)){J(F.h,"transport connect called");if(!this.Ba){J(F.h,"initializing...");var a=si(this);this.Qb=xi(this,a);this.se=this.getWindow().frames[a];a=ti(this);this.Cb=xi(this,a);this.Od=this.getWindow().frames[a];this.Ba=!0}if(yi(this,si(this))&&yi(this,ti(this)))J(F.h,"foreign frames present"),this.Uf=new zi(this,wi(this,si(this)),q(this.Lh,this)),this.Me=new zi(this,wi(this,ti(this)),q(this.Kh,this)),this.af();else{G("foreign frames not (yet) present");
if(1==hi(this.a))this.lg||0<this.Jh--||(G("Inner peer reconnect triggered."),gi(this.a,fi()),G("switching channels: "+this.a.name),Ai(this),this.Ba=!1,this.lg=xi(this,"googlexpc_reconnect_"+this.a.name));else if(0==hi(this.a)){G("outerPeerReconnect called");for(var a=vi(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 e=d.split("_");if(3==e.length&&"googlexpc"==e[0]&&"reconnect"==e[1]){this.a.name=e[2];Ai(this);this.Ba=!1;break}}}}this.getWindow().setTimeout(q(this.connect,
this),100)}}};
var xi=function(a,b){G("constructing sender frame: "+b);var c;c=document.createElement("IFRAME");var 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.De+"#INITIAL";a.getWindow().document.body.appendChild(c);return c},Ai=function(a){G("deconstructSenderFrames called");a.Qb&&(a.Qb.parentNode.removeChild(a.Qb),a.Qb=null,a.se=null);a.Cb&&(a.Cb.parentNode.removeChild(a.Cb),a.Cb=null,a.Od=null)},yi=function(a,b){G("checking for receive frame: "+b);
try{var c=wi(a,b);if(!c||0!=c.location.href.indexOf(a.Oh))return!1}catch(d){return!1}return!0};pi.prototype.af=function(){var a=vi(this);a[ti(this)]&&a[si(this)]?(this.Vf=new Bi(this.De,this.se),this.Lc=new Bi(this.De,this.Od),J(F.h,"local frames ready"),this.getWindow().setTimeout(q(function(){this.Vf.send("SETUP");this.fc=!0;J(F.h,"SETUP sent")},this),100)):(this.$e||(this.$e=q(this.af,this)),this.getWindow().setTimeout(this.$e,100),J(F.h,"local frames not (yet) present"))};
var Ci=function(a){if(a.Ee&&a.jg){if(ni(a.a),a.Kb){J(F.h,"delivering queued messages ("+a.Kb.length+")");for(var b=0,c;b<a.Kb.length;b++)c=a.Kb[b],a.a.xa(c.Dc,c.wb);delete a.Kb}}else G("checking if connected: ack sent:"+a.Ee+", ack rcvd: "+a.jg)};
pi.prototype.Lh=function(a){G("msg received: "+a);if("SETUP"==a)this.Lc&&(this.Lc.send("SETUP_ACK"),G("SETUP_ACK sent"),this.Ee=!0,Ci(this));else if(this.a.ka()||this.Ee){var b=a.indexOf("|"),c=a.substring(0,b);a=a.substring(b+1);b=c.indexOf(",");if(-1==b){var d;this.Lc.send("ACK:"+c);Di(this,a)}else d=c.substring(0,b),this.Lc.send("ACK:"+d),c=c.substring(b+1).split("/"),b=parseInt(c[0],10),c=parseInt(c[1],10),1==b&&(this.xe=[]),this.xe.push(a),b==c&&(Di(this,this.xe.join("")),delete this.xe)}else H(F.h,
"received msg, but channel is not connected")};pi.prototype.Kh=function(a){G("ack received: "+a);"SETUP_ACK"==a?(this.fc=!1,this.jg=!0,Ci(this)):this.a.ka()?this.fc?parseInt(a.split(":")[1],10)==this.Sa?(this.fc=!1,Ei(this)):H(F.h,"got ack with wrong sequence"):H(F.h,"got unexpected ack"):H(F.h,"received ack, but channel not connected")};
var Ei=function(a){if(!a.fc&&a.ud.length){var b=a.ud.shift();++a.Sa;a.Vf.send(a.Sa+b);G("msg sent: "+a.Sa+b);a.fc=!0}},Di=function(a,b){var c=b.indexOf(":"),d=b.substr(0,c),c=b.substring(c+1);a.a.ka()?a.a.xa(d,c):((a.Kb||(a.Kb=[])).push({Dc:d,wb:c}),G("queued delivery"))};pi.prototype.Kc=3800;
pi.prototype.send=function(a,b){var c=a+":"+b;if(!E||b.length<=this.Kc)this.ud.push("|"+c);else for(var d=b.length,e=Math.ceil(d/this.Kc),f=0,h=1;f<d;)this.ud.push(","+h+"/"+e+"|"+c.substr(f,this.Kc)),h++,f+=this.Kc;Ei(this)};pi.prototype.l=function(){pi.J.l.call(this);var a=Fi;Ua(a,this.Uf);Ua(a,this.Me);this.Uf=this.Me=null;yc(this.Qb);yc(this.Cb);this.se=this.Od=this.Qb=this.Cb=null};
var Fi=[],Gi=q(function(){var a=Fi,b,c=!1;try{for(var d=0;b=a[d];d++){var e;if(!(e=c)){var f=b,h=f.ig.location.href;if(h!=f.ff){f.ff=h;var k=h.split("#")[1];k&&(k=k.substr(1),f.Qg(decodeURIComponent(k)));e=!0}else e=!1}c=e}}catch(l){if(I("receive_() failed: "+l),b=b.T.a,I("Transport Error"),b.close(),!a.length)return}a=r();c&&(qi=a);ri=window.setTimeout(Gi,1E3>a-qi?10:100)},pi),Hi=function(){J(F.h,"starting receive-timer");qi=r();ri&&window.clearTimeout(ri);ri=window.setTimeout(Gi,10)},Bi=function(a,
b){if(!/^https?:\/\//.test(a))throw Error("URL "+a+" is invalid");this.Uh=a;this.sg=b;this.Zd=0};Bi.prototype.send=function(a){this.Zd=++this.Zd%2;a=this.Uh+"#"+this.Zd+encodeURIComponent(a);try{fc?this.sg.location.href=a:this.sg.location.replace(a)}catch(b){xc(F.h,"sending failed",b)}Hi()};var zi=function(a,b,c){this.T=a;this.ig=b;this.Qg=c;this.ff=this.ig.location.href.split("#")[0]+"#INITIAL";Fi.push(this);Hi()};var Ji=function(a,b){Z.call(this,b);this.a=a;this.Hh=this.a.D.pru;this.hg=this.a.D.ifrid;fc&&Ii()};t(Ji,Z);if(fc)var Ki=[],Li=0,Ii=function(){Li||(Li=window.setTimeout(function(){Mi()},1E3))},Mi=function(a){var b=r();for(a=a||3E3;Ki.length&&b-Ki[0].timestamp>=a;){var c=Ki.shift().lh;yc(c);G("iframe removed")}Li=window.setTimeout(Ni,1E3)},Ni=function(){Mi()};var Oi={};Ji.prototype.zb=3;Ji.prototype.connect=function(){this.getWindow().xpcRelay||(this.getWindow().xpcRelay=Pi);this.send("tp","SETUP")};
var Pi=function(a,b){var c=b.indexOf(":"),d=b.substr(0,c),e=b.substr(c+1);if(E&&-1!=(c=d.indexOf("|"))){var f=d.substr(0,c),d=d.substr(c+1),c=d.indexOf("+"),h=d.substr(0,c),c=parseInt(d.substr(c+1),10),k=Oi[h];k||(k=Oi[h]={sf:[],kg:0,pf:0});-1!=d.indexOf("++")&&(k.pf=c+1);k.sf[c]=e;k.kg++;if(k.kg!=k.pf)return;e=k.sf.join("");delete Oi[h]}else var f=d;Y[a].xa(f,decodeURIComponent(e))};Ji.prototype.Fd=function(a){"SETUP"==a?(this.send("tp","SETUP_ACK"),ni(this.a)):"SETUP_ACK"==a&&ni(this.a)};
Ji.prototype.send=function(a,b){var c=encodeURIComponent(b),d=c.length;if(E&&1800<d)for(var e=Ha(),f=0,h=0;f<d;h++){var k=c.substr(f,1800),f=f+1800;this.wd(a,k,e+(f>=d?"++":"+")+h)}else this.wd(a,c)};
Ji.prototype.wd=function(a,b,c){if(E){var d=this.getWindow().document.createElement("DIV"),e,f={onload:Ab("this.xpcOnload()"),sandbox:null},h={src:null,srcdoc:null},k={sandbox:""};e={};for(var l in h)u(l.toLowerCase()==l,"Must be lower case"),e[l]=h[l];for(l in k)u(l.toLowerCase()==l,"Must be lower case"),e[l]=k[l];for(l in f){var w=l.toLowerCase();if(w in h)throw Error('Cannot override "'+w+'" attribute, got "'+l+'" with value "'+f[l]+'"');w in k&&delete e[w];e[l]=f[l]}var f=null,x,h="";if(e)for(x in e){if(!Qb.test(x))throw Error('Invalid attribute name "'+
x+'".');l=e[x];if(null!=l){k=x;if(l instanceof yb)l=zb(l);else if("style"==k.toLowerCase()){if(!ka(l))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof l+" given: "+l);if(!(l instanceof Cb)){var w="",W=void 0;for(W in l){if(!/^[-_a-zA-Z0-9]+$/.test(W))throw Error("Name allows only [-_a-zA-Z0-9], got: "+W);var ba=l[W];if(null!=ba){if(ba instanceof yb)ba=zb(ba),u(!/[{;}]/.test(ba),"Value does not allow [{;}].");else if(Eb.test(ba)){for(var cd=!0,dd=
!0,we=0;we<ba.length;we++){var rh=ba.charAt(we);"'"==rh&&dd?cd=!cd:'"'==rh&&cd&&(dd=!dd)}cd&&dd||(La("String value requires balanced quotes, got: "+ba),ba="zClosurez")}else La("String value allows only [-,.\"'%_!# a-zA-Z0-9], rgb() and rgba(), got: "+ba),ba="zClosurez";w+=W+":"+ba+";"}}w?(u(!/[<>]/.test(w),"Forbidden characters in style string: "+w),l=(new Cb).ed(w)):l=Db}w=void 0;l instanceof Cb&&l.constructor===Cb&&l.Fg===Bb?w=l.pd:(La("expected object of type SafeStyle, got '"+l+"' of type "+ga(l)),
w="type_error:SafeStyle");l=w}else{if(/^on/i.test(k))throw Error('Attribute "'+k+'" requires goog.string.Const value, "'+l+'" given.');if(k.toLowerCase()in Rb)if(l instanceof Mb)l instanceof Mb&&l.constructor===Mb&&l.Ig===Lb?l=l.Ae:(La("expected object of type TrustedResourceUrl, got '"+l+"' of type "+ga(l)),l="type_error:TrustedResourceUrl");else if(l instanceof Gb)l=Hb(l);else if(p(l))l=Kb(l).cb();else throw Error('Attribute "'+k+'" on tag "iframe" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+
l+'" given.');}l.sb&&(l=l.cb());u(p(l)||ia(l),"String or number value expected, got "+typeof l+" with value: "+l);k=k+'="'+Ea(String(l))+'"';h+=" "+k}}x="<iframe"+h;h=void 0;null!=h?n(h)||(h=[h]):h=[];!0===tb.iframe?(u(!h.length,"Void tag <iframe> does not allow content."),x+=">"):(f=Tb(h),x+=">"+Pb(f)+"</iframe>",f=f.pc());(e=e&&e.dir)&&(f=/^(ltr|rtl|auto)$/i.test(e)?0:null);e=Sb(x,f);d.innerHTML=Pb(e);d=d.childNodes[0];d.xpcOnload=Qi}else d=this.getWindow().document.createElement("IFRAME"),fc?Ki.push({timestamp:r(),
lh:d}):pd(d,"load",Qi);e=d.style;e.visibility="hidden";e.width=d.style.height="0px";e.position="absolute";e=this.Hh;e+="#"+this.a.name;this.hg&&(e+=","+this.hg);e+="|"+a;c&&(e+="|"+c);e+=":"+b;d.src=e;this.getWindow().document.body.appendChild(d);G("msg sent: "+e)};var Qi=function(){G("iframe-load");yc(this)};Ji.prototype.l=function(){Ji.J.l.call(this);fc&&Mi(0)};var Ri=function(a,b,c,d,e){Z.call(this,c);this.a=a;this.da=e||2;u(1<=this.da);u(2>=this.da);this.gg=b||"*";this.G=new M(this);this.Ca=new ke(100,this.getWindow());this.ld=!!d;this.W=new X;this.X=new X;this.O=new X;this.be=fi();this.gb=null;this.ld?1==hi(this.a)?Zh(this.O,this.W):Zh(this.O,this.X):(Zh(this.O,this.W),2==this.da&&Zh(this.O,this.X));Yh(this.O,this.ue,this);this.O.callback(!0);this.G.qa(this.Ca,"tick",this.uc);I("NativeMessagingTransport created.  protocolVersion="+this.da+", oneSidedHandshake="+
this.ld+", role="+hi(this.a))};t(Ri,Z);Ri.prototype.Z=null;Ri.prototype.Ba=!1;Ri.prototype.zb=1;var Si={};Ri.prototype.Bc=0;
var Ui=function(a){var b=a.Vc.data;if(!p(b))return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var e=b.substring(0,c),c=b.substring(c+1,d),b=b.substring(d+1);J(F.h,"messageReceived: channel="+e+", service="+c+", payload="+b);if(d=Y[e])return d.xa(c,b,a.Vc.origin),!0;a=Ti(b)[0];for(var f in Y)if(d=Y[f],1==hi(d)&&!d.ka()&&"tp"==c&&("SETUP"==a||"SETUP_NTPV2"==a))return gi(d,e),d.xa(c,b),!0;I('channel name mismatch; message ignored"');return!1};
Ri.prototype.Fd=function(a){var b=Ti(a);a=b[1];switch(b[0]){case "SETUP_ACK":Vi(this,1);this.W.ga||this.W.callback(!0);break;case "SETUP_ACK_NTPV2":2==this.da&&(Vi(this,2),this.W.ga||this.W.callback(!0));break;case "SETUP":Vi(this,1);this.vd(1);break;case "SETUP_NTPV2":2==this.da&&(b=this.Z,Vi(this,2),this.vd(2),1!=b&&null==this.gb||this.gb==a||(I("Sending SETUP and changing peer ID to: "+a),this.Ac()),this.gb=a)}};
Ri.prototype.Ac=function(){u(!(1==this.da&&2==this.Z));2!=this.da||null!=this.Z&&2!=this.Z||this.send("tp","SETUP_NTPV2,"+this.be);null!=this.Z&&1!=this.Z||this.send("tp","SETUP")};Ri.prototype.vd=function(a){u(1!=this.da||2!=a,"Shouldn't try to send a v2 setup ack in v1 mode.");if(2!=this.da||null!=this.Z&&2!=this.Z||2!=a){if(null!=this.Z&&1!=this.Z||1!=a)return;this.send("tp","SETUP_ACK")}else this.send("tp","SETUP_ACK_NTPV2");this.X.ga||this.X.callback(!0)};
var Vi=function(a,b){b>a.Z&&(a.Z=b);1==a.Z&&(a.X.ga||a.ld||a.X.callback(!0),a.gb=null)};g=Ri.prototype;g.connect=function(){var a=this.getWindow(),b=na(a),c=Si[b];ia(c)||(c=0);0==c&&pd(a.postMessage?a:a.document,"message",Ui,!1,Ri);Si[b]=c+1;this.Ba=!0;this.uc()};g.uc=function(){var a=0==hi(this.a);this.ld&&a||this.a.ka()||this.isDisposed()?this.Ca.stop():(this.Ca.start(),this.Ac())};
g.send=function(a,b){var c=this.a.ca;c?(this.send=function(a,b){var f=this,h=this.a.name;this.Bc=L(function(){f.Bc=0;try{var k=c.postMessage?c:c.document;k.postMessage?(k.postMessage(h+"|"+a+":"+b,f.gg),J(F.h,"send(): service="+a+" payload="+b+" to hostname="+f.gg)):H(F.h,"Peer window had no postMessage function.")}catch(l){H(F.h,"Error performing postMessage, ignoring.",l)}},0)},this.send(a,b)):J(F.h,"send(): window not ready")};g.ue=function(){ni(this.a,1==this.da||1==this.Z?200:void 0)};
g.l=function(){if(this.Ba){var a=this.getWindow(),b=na(a),c=Si[b];Si[b]=c-1;1==c&&xd(a.postMessage?a:a.document,"message",Ui,!1,Ri)}this.Bc&&(m.clearTimeout(this.Bc),this.Bc=0);Tc(this.G);delete this.G;Tc(this.Ca);delete this.Ca;this.W.cancel();delete this.W;this.X.cancel();delete this.X;this.O.cancel();delete this.O;delete this.send;Ri.J.l.call(this)};var Ti=function(a){a=a.split(",");a[1]=a[1]||null;return a};var Wi=function(a,b){Z.call(this,b);this.a=a;this.Te=a.at||"";this.ng=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){xc(F.h,"exception caught while attempting global setup: "+d)}this.GCXPC____NIXJS_handle_message=this.hh;this.GCXPC____NIXJS_create_channel=this.Tg};t(Wi,Z);g=Wi.prototype;g.zb=6;g.Pb=!1;g.fb=null;g.connect=function(){0==hi(this.a)?this.Pe():this.Oe()};
g.Pe=function(){if(!this.Pb){var a=this.a.Nb;try{var b=this.getWindow().GCXPC____NIXVBS_get_wrapper;a.contentWindow.opener=b(this,this.Te);this.Pb=!0}catch(c){xc(F.h,"exception caught while attempting setup: "+c)}this.Pb||this.getWindow().setTimeout(q(this.Pe,this),100)}};
g.Oe=function(){if(!this.Pb){try{var a=this.getWindow().opener;if(a&&"GCXPC____NIXVBS_container"in a){this.fb=a;if(this.fb.GetAuthToken()!=this.ng){xc(F.h,"Invalid auth token from other party");return}var b=this.getWindow().GCXPC____NIXVBS_get_wrapper;this.fb.CreateChannel(b(this,this.Te));this.Pb=!0;ni(this.a)}}catch(c){xc(F.h,"exception caught while attempting setup: "+c);return}this.Pb||this.getWindow().setTimeout(q(this.Oe,this),100)}};
g.Tg=function(a){"unknown"==typeof a&&"GCXPC____NIXVBS_container"in a||xc(F.h,"Invalid NIX channel given to createChannel_");this.fb=a;this.fb.GetAuthToken()!=this.ng?xc(F.h,"Invalid auth token from other party"):ni(this.a)};g.hh=function(a,b){this.getWindow().setTimeout(q(function(){this.a.xa(a,b)},this),1)};g.send=function(a,b){"unknown"!==typeof this.fb&&xc(F.h,"NIX channel not connected");this.fb.SendMessage(a,b)};g.l=function(){Wi.J.l.call(this);this.fb=null};var Yi=function(a,b){Qh.call(this);for(var c=0,d;d=di[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("URI "+a[d]+" is invalid for field "+d);this.D=a;this.name=this.D.cn||fi();this.ya=b||ta||(ta=new zc);this.Sc=[];this.ye=new M(this);a.lpu=a.lpu||ue(this.ya.getWindow().location.href)+"/robots.txt";a.ppu=a.ppu||ue(a.pu||"")+"/robots.txt";Y[this.name]=this;zd(window,"unload",Xi)||wd(window,"unload",Xi);I("CrossPageChannel created: "+this.name)};t(Yi,Qh);var Zi=/^%*tp$/,$i=/^%+tp$/;g=Yi.prototype;
g.Ya=null;g.xb=null;g.T=null;g.g=1;g.ka=function(){return 2==this.g};g.ca=null;g.Nb=null;var ui=function(a){try{return!!a.ca&&!a.ca.closed}catch(b){return!1}};Yi.prototype.connect=function(a){this.Wd=a||fa;3==this.g&&(this.g=1);this.xb?Yh(this.xb,this.df):this.df()};
Yi.prototype.df=function(){I("continueConnection_()");this.xb=null;if(this.D.ifrid){var a=this.D.ifrid;this.Nb=p(a)?this.ya.ae.getElementById(a):a}this.Nb&&((a=this.Nb.contentWindow)||(a=window.frames[this.D.ifrid]),this.ca=a);if(!this.ca){if(window==window.top)throw Error("CrossPageChannel: Can't connect, peer window-object not set.");this.ca=window.parent}if(!this.T){if(!this.D.tp){var a=this.D,b;if(ja(document.postMessage)||ja(window.postMessage)||E&&window.postMessage)b=1;else if(ec)b=2;else if(E&&
this.D.pru)b=3;else{var c;if(c=E){c=!1;try{b=window.opener,window.opener={},c=Wc(window,"opener"),window.opener=b}catch(d){}}b=c?6:4}a.tp=b}switch(this.D.tp){case 1:this.T=new Ri(this,this.D.ph,this.ya,!!this.D.osh,this.D.nativeProtocolVersion||2);break;case 6:this.T=new Wi(this,this.ya);break;case 2:this.T=new oi(this,this.ya);break;case 3:this.T=new Ji(this,this.ya);break;case 4:this.T=new pi(this,this.ya);break;case 7:if(a=this.ca)try{a=window.document.domain==this.ca.document.domain}catch(d){a=
!1}a?this.T=new ii(this,this.ya):I("DirectTransport not supported for this window, peer window in different security context or not set yet.")}if(this.T)I("Transport created: "+this.T.getName());else throw Error("CrossPageChannel: No suitable transport found!");}for(this.T.connect();0<this.Sc.length;)this.Sc.shift()()};
Yi.prototype.close=function(){this.xb&&(this.xb.cancel(),this.xb=null);this.Sc.length=0;this.ye.Ub();this.g=3;Tc(this.T);this.Wd=this.T=null;Tc(this.Ya);this.Ya=null;I('Channel "'+this.name+'" closed')};var ni=function(a,b){a.ka()||a.Ya&&a.Ya.Na()||(a.g=2,I('Channel "'+a.name+'" connected'),Tc(a.Ya),ca(b)?(a.Ya=new Ph(a.Wd,b),a.Ya.start()):(a.Ya=null,a.Wd()))};
Yi.prototype.send=function(a,b){this.ka()?ui(this)?(ka(b)&&(b=Dc(b)),this.T.send(aj(a),b)):(xc(F.h,"Peer has disappeared."),this.close()):xc(F.h,"Can't send. Channel not connected.")};
Yi.prototype.xa=function(a,b,c){if(this.xb)this.Sc.push(q(this.xa,this,a,b,c));else{var d=this.D.ph;if(va(null==c?"":String(c))||va(null==d?"":String(d))||c==this.D.ph)if(this.isDisposed()||3==this.g)H(F.h,"CrossPageChannel::xpcDeliver(): Channel closed.");else if(a&&"tp"!=a)if(this.ka()){if(a=a.replace(/%[0-9a-f]{2}/gi,decodeURIComponent),a=$i.test(a)?a.substring(1):a,c=this.Fe[a],c||(this.jf?c={callback:qa(this.jf,a),Xf:ka(b)}:(H(this.h,'Unknown service name "'+a+'"'),c=null)),c){var e;a:{if((d=
c.Xf)&&p(b))try{e=Ac(b);break a}catch(f){H(this.h,"Expected JSON payload for "+a+', was "'+b+'"');e=null;break a}else if(!d&&!p(b)){e=Dc(b);break a}e=b}null!=e&&c.callback(e)}}else I("CrossPageChannel::xpcDeliver(): Not connected.");else this.T.Fd(b);else H(F.h,'Message received from unapproved origin "'+c+'" - rejected.')}};
var aj=function(a){Zi.test(a)&&(a="%"+a);return a.replace(/[%:|]/g,encodeURIComponent)},hi=function(a){var b=a.D.role;return ia(b)?b:window.parent==a.ca?1:0},gi=function(a,b){J(F.h,"changing channel name to "+b);delete Y[a.name];a.name=b;Y[b]=a};Yi.prototype.l=function(){this.close();this.Nb=this.ca=null;delete Y[this.name];Tc(this.ye);delete this.ye;Yi.J.l.call(this)};var Xi=function(){for(var a in Y)Tc(Y[a])};var bj=function(a){this.di=Qc(a)};bj.prototype.init=function(a){this.Yd=new Yi(this.di);a();this.Yd.connect()};bj.prototype.Da=function(a,b,c){this.Yd.Da(a,b,c)};bj.prototype.eb=function(a,b){this.Yd.send(a,b||[])};da("buzz.channel.XpcHostPageChannel",bj,void 0);
