var g,aa=aa||{},m=this,n=function(a){return void 0!==a},q=function(a){return"string"==typeof a},ba=function(a){return"number"==typeof a},ca=function(a,b,c){a=a.split(".");c=c||m;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&n(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}},da=function(a,b){a=a.split(".");b=b||m;for(var c=0;c>>0),ia=0,la=function(a,b,c){return a.call.apply(a.bind,arguments)},ma=function(a,b,c){if(!a)throw Error();if(2b? null:q(a)?a.charAt(b):a[b]},Aa=function(a,b){b=ua(a,b);var c;if(c=0<=b)B(null!=a.length),Array.prototype.splice.call(a,b,1);return c},Ba=function(a){return Array.prototype.concat.apply([],arguments)},Ca=function(a){var b=a.length;if(0")&&(a=a.replace(Ma,">"));-1!=a.indexOf('"')&&(a=a.replace(Na,"""));-1!=a.indexOf("'")&&(a=a.replace(Oa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Pa,"�"));return a},Ka=/&/g,La=//g,Na=/"/g,Oa=/'/g,Pa=/\x00/g,Ja= /[\x00&<>"']/,Ra=function(a,b){return ab?1:0};var Sa=function(a,b){this.xd=100;this.od=a;this.Hd=b;this.qb=0;this.mb=null};Sa.prototype.get=function(){if(0parseFloat(rb)){qb=String(tb);break a}}qb=rb} var ub=qb,jb={},vb=function(a){return kb(a,function(){for(var b=0,c=Ia(String(ub)).split("."),d=Ia(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f=a.keyCode)a.keyCode=-1}catch(b){}};var Jb="closure_listenable_"+(1E6*Math.random()|0),Kb=function(a){return!(!a||!a[Jb])},Lb=0;var Mb=function(a,b,c,d,e){this.listener=a;this.tb=null;this.src=b;this.type=c;this.capture=!!d;this.qa=e;this.key=++Lb;this.Ma=this.ib=!1},Nb=function(a){a.Ma=!0;a.listener=null;a.tb=null;a.src=null;a.qa=null};var Ob=function(a){this.src=a;this.u={};this.bb=0};Ob.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.u[f];a||(a=this.u[f]=[],this.bb++);var h=Pb(a,b,d,e);-1c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(h){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.xa&&0<=e;e--){b.currentTarget=c[e];var f=fc(c[e],a,!0,b);d=d&&f}for(e=0;!b.xa&&e>>0),Wb=function(a){B(a,"Listener can not be null.");if(v(a))return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[gc]||(a[gc]=function(b){return a.handleEvent(b)});return a[gc]};var G=function(){E.call(this);this.M=new Ob(this);this.hd=this;this.ac=null};z(G,E);G.prototype[Jb]=!0;g=G.prototype;g.addEventListener=function(a,b,c,d){Vb(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){bc(this,a,b,c,d)}; g.dispatchEvent=function(a){hc(this);var b=this.ac;if(b){var c=[];for(var d=1;b;b=b.ac)c.push(b),B(1E3>++d,"infinite loop")}b=this.hd;d=a.type||a;if(q(a))a=new Gb(a,b);else if(a instanceof Gb)a.target=a.target||b;else{var e=a;a=new Gb(d,b);Ha(a,e)}e=!0;if(c)for(var f=c.length-1;!a.xa&&0<=f;f--){var h=a.currentTarget=c[f];e=ic(h,d,!0,a)&&e}a.xa||(h=a.currentTarget=b,e=ic(h,d,!0,a)&&e,a.xa||(e=ic(h,d,!1,a)&&e));if(c)for(f=0;!a.xa&&f2*this.j&&yc(this),!0):!1};var yc=function(a){if(a.j!=a.h.length){for(var b=0,c=0;b=d.h.length)throw jc;var e=d.h[b++];return a?e:d.P[e]};return e};var zc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Ac=function(a){if(a.W&&"function"==typeof a.W)return a.W();if(q(a))return a.split("");if(fa(a)){for(var b=[],c=a.length,d=0;db)throw Error("Bad port number "+b);a.La=b}else a.La=null},md=function(a,b,c){R(a);b instanceof od?(a.F=b,a.F.ic(a.K)):(c||(b=pd(b,ud)),a.F=new od(b,a.K))};Q.prototype.removeParameter=function(a){R(this);this.F.remove(a);return this};var R=function(a){if(a.wd)throw Error("Tried to modify a read-only Uri");};Q.prototype.ic=function(a){this.K=a;this.F&&this.F.ic(a)}; var nd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},pd=function(a,b,c){return q(a)?(a=encodeURI(a).replace(b,vd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},vd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},qd=/[#\/\?@]/g,sd=/[#\?:]/g,rd=/[#\?]/g,ud=/[#\?@]/g,td=/#/g,od=function(a,b){this.j=this.i=null;this.G=a||null;this.K=!!b},wd=function(a){a.i||(a.i=new xc,a.j=0,a.G&&Xc(a.G,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g, " ")),c)}))};g=od.prototype;g.add=function(a,b){wd(this);this.G=null;a=xd(this,a);var c=this.i.get(a);c||this.i.set(a,c=[]);c.push(b);this.j=sa(this.j)+1;return this};g.remove=function(a){wd(this);a=xd(this,a);return this.i.Pa(a)?(this.G=null,this.j=sa(this.j)-this.i.get(a).length,this.i.remove(a)):!1};g.clear=function(){this.i=this.G=null;this.j=0};g.Pa=function(a){wd(this);a=xd(this,a);return this.i.Pa(a)}; g.forEach=function(a,b){wd(this);this.i.forEach(function(c,d){va(c,function(c){a.call(b,c,d,this)},this)},this)};g.ba=function(){wd(this);for(var a=this.i.W(),b=this.i.ba(),c=[],d=0;d",0);$d("",0);$d("
",0);var ce={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};var ee=function(a,b,c){function d(c){c&&b.appendChild(q(c)?a.createTextNode(c):c)}for(var e=1;e=b.hb&&b.cancel())}this.Oc?this.Oc.call(this.Ac,this):this.jc=!0;this.J||this.Dc(new oe(this))}};V.prototype.yc=function(a,b){this.Hb=!1;pe(this,a,b)}; var pe=function(a,b,c){a.J=!0;a.ea=c;a.Ta=!b;qe(a)},se=function(a){if(a.J){if(!a.jc)throw new re(a);a.jc=!1}};V.prototype.I=function(a){se(this);te(a);pe(this,!0,a)};V.prototype.Dc=function(a){se(this);te(a);pe(this,!1,a)};var te=function(a){B(!(a instanceof V),"An execution sequence may not be initiated with a blocking Deferred.")},ve=function(a,b,c){ue(a,b,null,c)},ue=function(a,b,c,d){B(!a.sc,"Blocking Deferreds can not be re-used");a.fa.push([b,c,d]);a.J&&qe(a)}; V.prototype.then=function(a,b,c){var d,e,f=new N(function(a,b){d=a;e=b});ue(this,d,function(a){a instanceof oe?f.cancel():e(a)});return f.then(a,b,c)};Cc(V);var we=function(a,b){b instanceof V?ve(a,x(b.jd,b)):ve(a,function(){return b})};V.prototype.jd=function(a){var b=new V;ue(this,b.I,b.Dc,b);a&&(b.w=this,this.hb++);return b}; var xe=function(a){return xa(a.fa,function(a){return v(a[1])})},qe=function(a){if(a.Bb&&a.J&&xe(a)){var b=a.Bb,c=ye[b];c&&(m.clearTimeout(c.N),delete ye[b]);a.Bb=0}a.w&&(a.w.hb--,delete a.w);b=a.ea;for(var d=c=!1;a.fa.length&&!a.Hb;){var e=a.fa.shift(),f=e[0],h=e[1];e=e[2];if(f=a.Ta?h:f)try{var k=f.call(e||a.Ac,b);n(k)&&(a.Ta=a.Ta&&(k==b||k instanceof Error),a.ea=b=k);if(Dc(b)||"function"===typeof m.Promise&&b instanceof m.Promise)d=!0,a.Hb=!0}catch(p){b=p,a.Ta=!0,xe(a)||(c=!0)}}a.ea=b;d&&(k=x(a.yc, a,!0),d=x(a.yc,a,!1),b instanceof V?(ue(b,k,d),b.sc=!0):b.then(k,d));c&&(b=new ze(b),ye[b.N]=b,a.Bb=b.N)},re=function(){A.call(this)};z(re,A);re.prototype.message="Deferred has already fired";re.prototype.name="AlreadyCalledError";var oe=function(){A.call(this)};z(oe,A);oe.prototype.message="Deferred was canceled";oe.prototype.name="CanceledError";var ze=function(a){this.N=m.setTimeout(x(this.Ld,this),0);this.kb=a}; ze.prototype.Ld=function(){B(ye[this.N],"Cannot throw an error that is not scheduled.");delete ye[this.N];throw this.kb;};var ye={};var Be=function(a,b){U.call(this,b);this.a=a;this.Fa=new S(this);Bb(this,na(F,this.Fa));this.Y=new Tc(100,this.f());Bb(this,na(F,this.Y));this.A=new V;this.B=new V;this.o=new V;this.Nb=ne();this.la=null;this.Ca={};this.Ad=this.a.name;Ae(this.a,this.a.name+"_"+W(this.a));this.X=!1;we(this.o,this.A);we(this.o,this.B);ve(this.o,this.Zb,this);this.o.I(!0);this.Fa.Va(this.Y,"tick",this.Wa);L("DirectTransport created. role="+W(this.a))};z(Be,U); var Ce={},Fe=function(a){var b=new De(a.channelName,a.service,a.payload);a=b.Jb;var c=b.$a;b=b.va;M(H.b,"messageReceived: channel="+a+", service="+c+", payload="+b);var d=T[a];if(d)return d.S(c,b),!0;d=Ee(b)[0];for(var e in T){var f=T[e];if(1==W(f)&&!f.isConnected()&&"tp"==c&&"SETUP"==d)return Ae(f,a),f.S(c,b),!0}L("channel name mismatch; message ignored.");return!1};g=Be.prototype;g.ya=7; g.Ab=function(a){a=Ee(a);var b=a[1];switch(a[0]){case "SETUP_ACK":this.A.J||this.A.I(!0);break;case "SETUP":this.xb(),null!=this.la&&this.la!=b&&(L("Sending SETUP and changing peer ID to: "+b),this.Ya()),this.la=b}};g.Ya=function(){this.send("tp","SETUP,"+this.Nb)};g.xb=function(){this.send("tp","SETUP_ACK");this.B.J||this.B.I(!0)}; g.connect=function(){var a=this.f();if(a){var b=ja(a);0==(Ce[b]||0)&&null==da("crosswindowmessaging.channel",a)&&ca("crosswindowmessaging.channel",Fe,a);Ce[b]++;this.X=!0;this.Wa()}else M(H.b,"connect(): no window to initialize.")};g.Wa=function(){this.a.isConnected()?this.Y.stop():(this.Y.start(),this.Ya())};g.send=function(a,b){this.a.H?(a=new De(this.Ad+"_"+(0==W(this.a)?1:0),a,b),this.a.m.directSyncMode?this.Ec(a):this.Ca[ja(a)]=Uc(x(this.Ec,this,a),0)):M(H.b,"send(): window not ready")}; g.Ec=function(a){var b=ja(a);this.Ca[b]&&delete this.Ca[b];try{var c=da("crosswindowmessaging.channel",this.a.H)}catch(d){K(H.b,"Can't access other window, ignoring.",d);return}if(null===c)K(H.b,"Peer window had no global function.");else try{c({channelName:a.Jb,service:a.$a,payload:a.va}),L("send(): channelName="+a.Jb+" service="+a.$a+" payload="+a.va)}catch(d){K(H.b,"Error performing call, ignoring.",d)}};g.Zb=function(){Ge(this.a,0)}; g.g=function(){if(this.X){var a=this.f(),b=ja(a);1==--Ce[b]&&ca("crosswindowmessaging.channel",null,a)}this.Ca&&(Ea(this.Ca,function(a){m.clearTimeout(a)}),this.Ca=null);this.A&&(this.A.cancel(),delete this.A);this.B&&(this.B.cancel(),delete this.B);this.o&&(this.o.cancel(),delete this.o);Be.C.g.call(this)};var Ee=function(a){a=a.split(",");a[1]=a[1]||null;return a},De=function(a,b,c){this.Jb=a;this.$a=b;this.va=c};var He=function(a,b){U.call(this,b);this.a=a;this.Xa=[];this.pd=x(this.qd,this)};z(He,U);g=He.prototype;g.ya=2;g.ec=!1;g.connect=function(){0==W(this.a)?(this.ca=this.a.Ha,this.ca.XPC_toOuter=x(this.Jc,this)):this.qc()}; g.qc=function(){var a=!0;try{this.ca||(this.ca=this.f().frameElement),this.ca&&this.ca.XPC_toOuter&&(this.$b=this.ca.XPC_toOuter,this.ca.XPC_toOuter.XPC_toInner=x(this.Jc,this),a=!1,this.send("tp","SETUP_ACK"),Ge(this.a))}catch(b){J(H.b,"exception caught while attempting setup: "+b)}a&&(this.pc||(this.pc=x(this.qc,this)),this.f().setTimeout(this.pc,100))}; g.Ab=function(a){if(0!=W(this.a)||this.a.isConnected()||"SETUP_ACK"!=a)throw Error("Got unexpected transport message.");this.$b=this.ca.XPC_toOuter.XPC_toInner;Ge(this.a)};g.Jc=function(a,b){this.ec||0!=this.Xa.length?(this.Xa.push({Jd:a,va:b}),1==this.Xa.length&&this.f().setTimeout(this.pd,1)):this.a.S(a,b)};g.qd=function(){for(;this.Xa.length;){var a=this.Xa.shift();this.a.S(a.Jd,a.va)}};g.send=function(a,b){this.ec=!0;this.$b(a,b);this.ec=!1};g.g=function(){He.C.g.call(this);this.ca=this.$b=null};var X=function(a,b){U.call(this,b);this.a=a;this.fc=this.a.m.ppu;this.Gd=this.a.m.lpu;this.wb=[]},Ie,Je;z(X,U);g=X.prototype;g.Cd=5;g.ya=4;g.fa=0;g.Oa=!1;g.X=!1;g.Wc=null;var Ke=function(a){return"googlexpc_"+a.a.name+"_msg"},Le=function(a){return"googlexpc_"+a.a.name+"_ack"},Ne=function(a){try{if(!a.T&&Me(a.a))return a.a.H.frames||{}}catch(b){M(H.b,"error retrieving peer frames")}return{}},Oe=function(a,b){return Ne(a)[b]}; X.prototype.connect=function(){if(!this.T&&Me(this.a)){M(H.b,"transport connect called");if(!this.X){M(H.b,"initializing...");var a=Ke(this);this.Ja=Pe(this,a);this.Yb=this.f().frames[a];a=Le(this);this.Ba=Pe(this,a);this.Gb=this.f().frames[a];this.X=!0}if(Qe(this,Ke(this))&&Qe(this,Le(this)))M(H.b,"foreign frames present"),this.Lc=new Re(this,Oe(this,Ke(this)),x(this.Ed,this)),this.mc=new Re(this,Oe(this,Le(this)),x(this.Dd,this)),this.wc();else{I("foreign frames not (yet) present");if(1==W(this.a))this.Wc|| 0a-Ie?10:100)},X),Ze=function(){M(H.b,"starting receive-timer");Ie=y();Je&&window.clearTimeout(Je);Je=window.setTimeout(Ye,10)},Te=function(a, b){if(!/^https?:\/\//.test(a))throw Error("URL "+a+" is invalid");this.Id=a;this.$c=b;this.Lb=0}; Te.prototype.send=function(a){this.Lb=++this.Lb%2;a=this.Id+"#"+this.Lb+encodeURIComponent(a);try{if(ob){var b=this.$c.location,c=b&&b.ownerDocument;var d=c&&(c.defaultView||c.parentWindow)||m;if("undefined"!=typeof d.Location&&"undefined"!=typeof d.Element){var e=b&&(b instanceof d.Location||!(b instanceof d.Element));var f=w(b)?b.constructor.displayName||b.constructor.name||Object.prototype.toString.call(b):void 0===b?"undefined":null===b?"null":typeof b;B(e,"Argument is not a Location (or a non-Element mock); got: %s", f)}if(a instanceof Id)var h=a;else d=a,d instanceof Id?h=d:(d=d.ja?d.V():String(d),B(Kd.test(d))||(d="about:invalid#zClosurez"),h=Ld(d));b.href=Jd(h)}else this.$c.location.replace(a)}catch(k){J(H.b,"sending failed",k)}Ze()};var Re=function(a,b,c){this.v=a;this.Tc=b;this.ld=c;this.zc=this.Tc.location.href.split("#")[0]+"#INITIAL";Xe.push(this);Ze()};var af=function(a,b){U.call(this,b);this.a=a;this.Bd=this.a.m.pru;this.Sc=this.a.m.ifrid;ob&&$e()};z(af,U);if(ob)var bf=[],cf=0,$e=function(){cf||(cf=window.setTimeout(function(){df()},1E3))},df=function(a){var b=y();for(a=a||3E3;bf.length&&b-bf[0].timestamp>=a;){var c=bf.shift().vd;fe(c);I("iframe removed")}cf=window.setTimeout(ef,1E3)},ef=function(){df()};var ff={};af.prototype.ya=3;af.prototype.connect=function(){this.f().xpcRelay||(this.f().xpcRelay=gf);this.send("tp","SETUP")}; var gf=function(a,b){var c=b.indexOf(":"),d=b.substr(0,c);b=b.substr(c+1);if(D&&-1!=(c=d.indexOf("|"))){h=d.substr(0,c);d=d.substr(c+1);c=d.indexOf("+");var e=d.substr(0,c);c=parseInt(d.substr(c+1),10);var f=ff[e];f||(f=ff[e]={Gc:[],Vc:0,Fc:0});-1!=d.indexOf("++")&&(f.Fc=c+1);f.Gc[c]=b;f.Vc++;if(f.Vc!=f.Fc)return;b=f.Gc.join("");delete ff[e]}else var h=d;T[a].S(h,decodeURIComponent(b))};af.prototype.Ab=function(a){"SETUP"==a?(this.send("tp","SETUP_ACK"),Ge(this.a)):"SETUP_ACK"==a&&Ge(this.a)}; af.prototype.send=function(a,b){b=encodeURIComponent(b);var c=b.length;if(D&&1800=c?"++":"+")+f)}else hf(this,a,b)}; var hf=function(a,b,c,d){if(D){var e=a.f().document.createElement("DIV"),f={onload:Ed("this.xpcOnload()"),sandbox:null},h={src:null,srcdoc:null},k={sandbox:""};var p={};for(var r in h)B(r.toLowerCase()==r,"Must be lower case"),p[r]=h[r];for(r in k)B(r.toLowerCase()==r,"Must be lower case"),p[r]=k[r];for(r in f){var l=r.toLowerCase();if(l in h)throw Error('Cannot override "'+l+'" attribute, got "'+r+'" with value "'+f[r]+'"');l in k&&delete p[l];p[r]=f[r]}f=null;h="";if(p)for(ka in p){if(!Yd.test(ka))throw Error('Invalid attribute name "'+ ka+'".');r=p[ka];if(null!=r){k=ka;l=r;if(l instanceof Cd)l=Dd(l);else if("style"==k.toLowerCase()){r=void 0;if(!w(l))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof l+" given: "+l);if(!(l instanceof Od)){var ae=l;l="";for(r in ae){if(!/^[-_a-zA-Z0-9]+$/.test(r))throw Error("Name allows only [-_a-zA-Z0-9], got: "+r);var Da=ae[r];null!=Da&&(Da=u(Da)?wa(Da,Ud).join(" "):Ud(Da),l+=r+":"+Da+";")}l?(r=l,B(!/[<>]/.test(r),"Forbidden characters in style string: "+ r),l=(new Od).ob(l)):l=Pd}l instanceof Od&&l.constructor===Od&&l.cd===Nd?r=l.sb:(ra("expected object of type SafeStyle, got '"+l+"' of type "+t(l)),r="type_error:SafeStyle");l=r}else{if(/^on/i.test(k))throw Error('Attribute "'+k+'" requires goog.string.Const value, "'+l+'" given.');if(k.toLowerCase()in Zd)if(l instanceof Gd)l instanceof Gd&&l.constructor===Gd&&l.fd===Fd?l=l.dc:(ra("expected object of type TrustedResourceUrl, got '"+l+"' of type "+t(l)),l="type_error:TrustedResourceUrl");else if(l instanceof Id)l=Jd(l);else if(q(l))l=Md(l).V();else throw Error('Attribute "'+k+'" on tag "iframe" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+l+'" given.');}l.ja&&(l=l.V());B(q(l)||ba(l),"String or number value expected, got "+typeof l+" with value: "+l);k=k+'="'+Qa(String(l))+'"';h+=" "+k}}var ka=" does not allow content."),ka+=">"):(f=be(h),ka+=">"+Xd(f)+"",f=f.Ra());(p=p&&p.dir)&& (f=/^(ltr|rtl|auto)$/i.test(p)?0:null);p=$d(ka,f);if(ce[e.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+e.tagName+".");e.innerHTML=Xd(p);e=e.childNodes[0];e.xpcOnload=jf}else e=a.f().document.createElement("IFRAME"),ob?bf.push({timestamp:y(),vd:e}):Vb(e,"load",jf);p=e.style;p.visibility="hidden";p.width=e.style.height="0px";p.position="absolute";p=a.Bd;p+="#"+a.a.name;a.Sc&&(p+=","+a.Sc);p+="|"+b;d&&(p+="|"+d);p+=":"+c;e.src=p;a.f().document.body.appendChild(e); I("msg sent: "+p)},jf=function(){I("iframe-load");fe(this)};af.prototype.g=function(){af.C.g.call(this);ob&&df(0)};var Y=function(a,b,c,d,e){U.call(this,c);this.a=a;this.R=e||2;B(1<=this.R);B(2>=this.R);this.Rc=b||"*";this.Fa=new S(this);this.Y=new Tc(100,this.f());this.rb=!!d;this.A=new V;this.B=new V;this.o=new V;this.Nb=ne();this.la=null;this.rb?1==W(this.a)?we(this.o,this.A):we(this.o,this.B):(we(this.o,this.A),2==this.R&&we(this.o,this.B));ve(this.o,this.Zb,this);this.o.I(!0);this.Fa.Va(this.Y,"tick",this.Wa);L("NativeMessagingTransport created. protocolVersion="+this.R+", oneSidedHandshake="+this.rb+", role="+ W(this.a))};z(Y,U);Y.prototype.D=null;Y.prototype.X=!1;Y.prototype.ya=1;var kf={};Y.prototype.Za=0; var nf=function(a){var b=a.ia.data;if(!q(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);M(H.b,"messageReceived: channel="+e+", service="+c+", payload="+b);if(d=T[e])return d.S(c,b,a.ia.origin),!0;d=lf(b)[0];for(var f in T){var h=T[f];if(1==W(h)&&!h.isConnected()&&"tp"==c&&("SETUP"==d||"SETUP_NTPV2"==d)&&mf(h,a.ia.origin))return Ae(h,e),h.S(c,b),!0}L('channel name mismatch; message ignored"');return!1}; Y.prototype.Ab=function(a){var b=lf(a);a=b[1];switch(b[0]){case "SETUP_ACK":of(this,1);this.A.J||this.A.I(!0);break;case "SETUP_ACK_NTPV2":2==this.R&&(of(this,2),this.A.J||this.A.I(!0));break;case "SETUP":of(this,1);this.xb(1);break;case "SETUP_NTPV2":2==this.R&&(b=this.D,of(this,2),this.xb(2),1!=b&&null==this.la||this.la==a||(L("Sending SETUP and changing peer ID to: "+a),this.Ya()),this.la=a)}}; Y.prototype.Ya=function(){B(!(1==this.R&&2==this.D));2!=this.R||null!=this.D&&2!=this.D||this.send("tp","SETUP_NTPV2,"+this.Nb);null!=this.D&&1!=this.D||this.send("tp","SETUP")};Y.prototype.xb=function(a){B(1!=this.R||2!=a,"Shouldn't try to send a v2 setup ack in v1 mode.");if(2!=this.R||null!=this.D&&2!=this.D||2!=a){if(null!=this.D&&1!=this.D||1!=a)return;this.send("tp","SETUP_ACK")}else this.send("tp","SETUP_ACK_NTPV2");this.B.J||this.B.I(!0)}; var of=function(a,b){b>a.D&&(a.D=b);1==a.D&&(a.B.J||a.rb||a.B.I(!0),a.la=null)};g=Y.prototype;g.connect=function(){var a=this.f(),b=ja(a),c=kf[b];ba(c)||(c=0);0==c&&Vb(a.postMessage?a:a.document,"message",nf,!1,Y);kf[b]=c+1;this.X=!0;this.Wa()};g.Wa=function(){var a=0==W(this.a);this.rb&&a||this.a.isConnected()||this.T?this.Y.stop():(this.Y.start(),this.Ya())}; g.send=function(a,b){var c=this.a.H;c?(this.send=function(a,b){var d=this,e=this.a.name;this.Za=Uc(function(){d.Za=0;try{var f=c.postMessage?c:c.document;f.postMessage?(f.postMessage(e+"|"+a+":"+b,d.Rc),M(H.b,"send(): service="+a+" payload="+b+" to hostname="+d.Rc)):K(H.b,"Peer window had no postMessage function.")}catch(p){K(H.b,"Error performing postMessage, ignoring.",p)}},0)},this.send(a,b)):M(H.b,"send(): window not ready")};g.Zb=function(){Ge(this.a,1==this.R||1==this.D?200:void 0)}; g.g=function(){if(this.X){var a=this.f(),b=ja(a),c=kf[b];kf[b]=c-1;1==c&&bc(a.postMessage?a:a.document,"message",nf,!1,Y)}this.Za&&(m.clearTimeout(this.Za),this.Za=0);F(this.Fa);delete this.Fa;F(this.Y);delete this.Y;this.A.cancel();delete this.A;this.B.cancel();delete this.B;this.o.cancel();delete this.o;delete this.send;Y.C.g.call(this)};var lf=function(a){a=a.split(",");a[1]=a[1]||null;return a};var pf=function(a,b){U.call(this,b);this.a=a;this.rc=a.at||"";this.Xc=a.rat||"";a=this.f();if(!a.nix_setup_complete)try{a.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"),a.nix_setup_complete=!0}catch(c){J(H.b,"exception caught while attempting global setup: "+c)}this.GCXPC____NIXJS_handle_message=this.ud;this.GCXPC____NIXJS_create_channel=this.nd};z(pf,U);g=pf.prototype;g.ya=6;g.Ia=!1;g.ka=null;g.connect=function(){0==W(this.a)?this.oc():this.nc()}; g.oc=function(){if(!this.Ia){var a=this.a.Ha;try{a.contentWindow.opener=(0,this.f().GCXPC____NIXVBS_get_wrapper)(this,this.rc),this.Ia=!0}catch(b){J(H.b,"exception caught while attempting setup: "+b)}this.Ia||this.f().setTimeout(x(this.oc,this),100)}}; g.nc=function(){if(!this.Ia){try{var a=this.f().opener;if(a&&"GCXPC____NIXVBS_container"in a){this.ka=a;if(this.ka.GetAuthToken()!=this.Xc){J(H.b,"Invalid auth token from other party");return}this.ka.CreateChannel((0,this.f().GCXPC____NIXVBS_get_wrapper)(this,this.rc));this.Ia=!0;Ge(this.a)}}catch(b){J(H.b,"exception caught while attempting setup: "+b);return}this.Ia||this.f().setTimeout(x(this.nc,this),100)}}; g.nd=function(a){"unknown"==typeof a&&"GCXPC____NIXVBS_container"in a||J(H.b,"Invalid NIX channel given to createChannel_");this.ka=a;this.ka.GetAuthToken()!=this.Xc?J(H.b,"Invalid auth token from other party"):Ge(this.a)};g.ud=function(a,b){this.f().setTimeout(x(function(){this.a.S(a,b)},this),1)};g.send=function(a,b){"unknown"!==typeof this.ka&&J(H.b,"NIX channel not connected");this.ka.SendMessage(a,b)};g.g=function(){pf.C.g.call(this);this.ka=null};var Z=function(a,b){je.call(this);for(var c=0,d;d=le[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("URI "+a[d]+" is invalid for field "+d);this.m=a;this.name=this.m.cn||ne();this.U=b||oa||(oa=new ge);this.jb=[];this.cc=new S(this);a.lpu=a.lpu||Wc(this.U.f().location.href)+"/robots.txt";a.ppu=a.ppu||Wc(a.pu||"")+"/robots.txt";T[this.name]=this;dc(window,"unload",qf)||Ub(window,"unload",qf);L("CrossPageChannel created: "+this.name)};z(Z,je);var rf=/^%*tp$/,sf=/^%+tp$/;g=Z.prototype; g.ha=null;g.wa=null;g.v=null;g.l=1;g.isConnected=function(){return 2==this.l};g.H=null;g.Ha=null;var Me=function(a){try{return!!a.H&&!a.H.closed}catch(b){return!1}};Z.prototype.connect=function(a){this.Kb=a||ea;3==this.l&&(this.l=1);this.wa?ve(this.wa,this.xc):this.xc()}; Z.prototype.xc=function(){L("continueConnection_()");this.wa=null;if(this.m.ifrid){var a=this.m.ifrid;this.Ha=q(a)?this.U.Qa.getElementById(a):a}this.Ha&&((a=this.Ha.contentWindow)||(a=window.frames[this.m.ifrid]),this.H=a);if(!this.H){if(window==window.top)throw Error("CrossPageChannel: Can't connect, peer window-object not set.");this.H=window.parent}if(!this.v){if(!this.m.tp){a=this.m;if(v(document.postMessage)||v(window.postMessage)||D&&window.postMessage)var b=1;else if(nb)b=2;else if(D&&this.m.pru)b= 3;else{var c;if(c=D){c=!1;try{b=window.opener,window.opener={},c=ib(window,"opener"),window.opener=b}catch(d){}}b=c?6:4}a.tp=b}switch(this.m.tp){case 1:this.v=new Y(this,this.m.ph,this.U,!!this.m.osh,this.m.nativeProtocolVersion||2);break;case 6:this.v=new pf(this,this.U);break;case 2:this.v=new He(this,this.U);break;case 3:this.v=new af(this,this.U);break;case 4:this.v=new X(this,this.U);break;case 7:if(a=this.H)try{a=window.document.domain==this.H.document.domain}catch(d){a=!1}a?this.v=new Be(this, this.U):L("DirectTransport not supported for this window, peer window in different security context or not set yet.")}if(this.v)L("Transport created: "+this.v.getName());else throw Error("CrossPageChannel: No suitable transport found!");}for(this.v.connect();0