d)return this.Vm=!0}return!1}};return e});
define("lscAN","lscAI Inheritance Executor BrowserDetection EnvironmentStatus lscAJ Environment LoggerManager lscAi lscAe".split(" "),function(e,g,d,c,b,h,f,a,l,m){function k(){this._callSuperConstructor(k);this.i=!1;this.qb=this.Y=this.Zb=this.J=null;this.xn=!1;this.V=k}function n(a){return function(){d.executeTask(a)}}var q=a.getLoggerProxy(m.Za),p=f.isBrowser()?2:3,t=!0,u;f.isNodeJS()&&(u=l.mj("xmlhttprequest-cookie").XMLHttpRequest);var r=null;e.Yb(k,{ta:function(){if(null!==
r)return r;c.isProbablyIE(9,!0)?r=!1:"undefined"!=typeof XMLHttpRequest?"undefined"!=typeof(new XMLHttpRequest).withCredentials?r=!0:f.kx()&&(r=!0):!f.isBrowser()&&u&&(r=!0);null===r&&(r=!1);return r},ff:function(){return!c.isProbablyOldOpera()&&!c.isProbablyPlaystation()},va:!0,ua:!0,Wb:function(){return f.isNodeJS()?!0:"file:"!=m.ag?!0:f.isBrowserDocument()?!1:!0},Xb:!1,$b:!0});k.prototype={toString:function(){return["[|XSXHRConnection",this.i,this.J,this.Zb,"]"].join("|")},da:function(){if(this.i){q.logDebug(a.resolve(75));
this.J=null;if(this.Y)try{this.Y.abort()}catch(b){q.logDebug(a.resolve(76))}this.Ja()}},pa:function(b,c,f,e,r){if(this.i)return null;this.Y=u?new u:new XMLHttpRequest;this.qb=new h;f=d.packTask(this.Gm,this,[c,f,r,e]);this.Y.onreadystatechange=n(f);this.J=c;this.Zb=null;q.logDebug(a.resolve(77),b.Sa());try{this.Y.open(b.Ae,b.Sa(),!0);this.Y.withCredentials=b.mp;var g=b.Gl;if(g)for(var k in g)this.Y.setRequestHeader(k,g[k]);this.Y.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
this.Y.send(b.getData());this.i=!0}catch(l){return q.logDebug(a.resolve(78),l),!1}return!0},Gm:function(c,f,h,e){this.J!=c||b.isUnloaded()||(c=null,this.cf()&&f&&(3==this.Y.readyState?c=this.qb.zn(this.Y.responseText):4==this.Y.readyState&&(c=this.qb.yn(this.Y.responseText)),q.isDebugLogEnabled()&&q.logDebug(a.resolve(79),c),null!=c&&d.executeTask(f,[c,this.J])),4==this.Y.readyState&&(this.cf()||(this.xn?(e&&d.executeTask(e,["status0",this.J,!1,t,!1]),t=!t,this.xn=!1):f&&d.executeTask(f,[null,this.J])),
q.logDebug(a.resolve(80)),4!=this.Y.readyState&&""!=c||!h||d.addTimedTask(this.uf,100,this,[this.J,h]),this.Ja()))},uf:function(a,b){d.executeTask(b,[a])},Ja:function(){this.i=!1;this.J=null;this.Y&&(delete this.Y.onreadystatechange,delete this.Y)},cf:function(){try{if(null===this.Zb){if(this.Y.readyState=this.Y.status;0==this.Y.status&&(this.xn=!0)}return this.Zb}catch(b){return q.logDebug(a.resolve(81),b),!1}}};g(k,e);return k});
define("lscAE","lscAI Inheritance Executor EnvironmentStatus lscAJ LoggerManager lscAe".split(" "),function(e,g,d,c,b,h,f){function a(){this._callSuperConstructor(a);this.i=!1;this.oa=this.qb=this.J=null;this.ih=0;this.V=a}function l(a){return function(){d.executeTask(a)}}var m=h.getLoggerProxy(f.Za),k=null;e.Yb(a,{ta:function(){return null!==k?k:k="undefined"!=typeof XDomainRequest?!0:!1},ff:!0,va:!0,ua:!1,Wb:!1,Xb:!1,$b:!1});a.prototype={toString:function(){return["[|IEXSXHRConnection",
this.i,this.J,"]"].join("|")},da:function(){if(this.i){m.logDebug(h.resolve(82));this.J=null;if(this.oa)try{this.oa.abort()}catch(a){m.logDebug(h.resolve(83))}this.Ja()}},pa:function(a,c,f,e,g){if(this.i)return null;this.ih=0;this.oa=new XDomainRequest;this.qb=new b;g=d.packTask(this.rz,this,[c,f,g,e]);var r=d.packTask(this.Ko,this,[c,e,"xdr.err"]);e=d.packTask(this.Ko,this,[c,e,"xdr.timeout"]);f=d.packTask(this.Pr,this,[c,f,!1]);this.oa.onload=l(g);this.oa.onerror=l(r);this.oa.ontimeout=l(e);this.oa.onprogress=
l(f);this.J=c;m.logDebug(h.resolve(84),a.Sa());try{this.oa.open(a.Ae,a.Sa()),this.oa.send(a.getData()),this.i=!0}catch(k){return m.logDebug(h.resolve(85),k),!1}return!0},Ko:function(a,b,f){this.J!=a||c.isUnloaded()||(m.logDebug(h.resolve(86)),d.executeTask(b,[f,a,!1,0==this.ih,!1]))},Pr:function(a,b,f){this.J!=a||c.isUnloaded()||(this.ih++,b&&(a=f?this.qb.yn(String(this.oa.responseText)):this.qb.zn(String(this.oa.responseText)),m.isDebugLogEnabled()&&m.logDebug(h.resolve(87),a),null!=a&&d.executeTask(b,
[a,this.J])))},rz:function(a,b,f,e){this.J!=a||c.isUnloaded()||(0==this.ih&&-1this.sender.readyState)return!1;this.Zb=200<=this.sender.status&&299>=this.sender.status}return this.Zb}catch(a){return m.logDebug(f.resolve(105),a),!1}},Ar:function(a){c.isUnloaded()||a!=this.a||!this.sender||4!=this.sender.readyState&&"complete"!=this.sender.readyState||(a=null,this.cf()&&(a=this.sender.responseText,a=a.toString(),"/*"==a.substring(0,
2)&&(a=a.substring(2,a.length-2))),m.isDebugLogEnabled()&&m.logDebug(f.resolve(106),a),this.response&&b.executeTask(this.response,[a,this.J]),b.addTimedTask(this.uf,100,this,[this.J]),this.Ja(),this.ni())},uf:function(a){b.executeTask(this.ip,[a])},ry:function(){c.isUnloaded()||(this.Kc.disable(),m.logDebug(f.resolve(107)),this.Ja(),this.error&&b.executeTask(this.error,["xhr.unknown",this.J,!1,!1,!1]),this.ni())},ni:function(){try{delete this.sender.onreadystatechange}catch(a){m.logDebug(f.resolve(108),
a)}try{delete this.sender}catch(a){m.logDebug(f.resolve(109),a)}this.response=this.error=null;this.Kc&&this.Kc.dismiss()},Ja:function(){this.i=!1;this.a++}};g(l,e);return l});
define("lscAM","lscAI lscAL Inheritance EnvironmentStatus Executor BrowserDetection lscAJ Environment LoggerManager lscAe".split(" "),function(e,g,d,c,b,h,f,a,l,m){function k(){this._callSuperConstructor(k);this.qb=null;this.V=k}var n=l.getLoggerProxy(m.Za),q=null;e.Yb(k,{ta:function(){return null!==q?q:q=a.isBrowserDocument()?h.isProbablyIE()?!1:"undefined"!=typeof XMLHttpRequest?"undefined"!=typeof(new XMLHttpRequest).addEventListener:!1:!1},
ff:function(){return!h.isProbablyOldOpera()},va:!1,ua:!1,Wb:!0,Xb:!1,$b:!0});k.prototype={toString:function(){return["[|XHRStreamingConnection",this.i,this.a,this.J,"]"].join("|")},pa:function(a,b,c,d,h){a=this._callSuperMethod(k,this.Vh,[a,b,c,d,h]);n.logDebug(l.resolve(110));a&&(this.qb=new f);return a},Ar:function(a){!c.isUnloaded()&&a==this.a&&this.sender&&(a=null,this.cf()&&this.response&&(3==this.sender.readyState?a=this.qb.zn(this.sender.responseText):4==this.sender.readyState&&(a=this.qb.yn(this.sender.responseText)),
n.isDebugLogEnabled()&&n.logDebug(l.resolve(111),a),null!=a&&b.executeTask(this.response,[a,this.J])),4==this.sender.readyState&&(!this.cf()&&this.response&&b.executeTask(this.response,[null,this.J]),n.isDebugLogEnabled()&&n.logDebug(l.resolve(112)),4!=this.sender.readyState&&""!=a||!this.ip||b.addTimedTask(this.uf,100,this,[this.J]),this.Ja(),this.ni()))}};d(k,g);return k});
define("lscAg",["Executor","IFrameHandler","Global","BrowserDetection","lscAi"],function(e,g,d,c,b){function h(a){this.Hl=a;this.ready=!1;this.pm=b.Ec();this.vp=this.Ai=!1;this.gj=-1;this.yp=a=b.Ij(this.bq()+"_"+this.pm);e.addTimedTask(this.su,3E3,this);var c="about:blank";this.jj()&&(this.gj=++f,c=d.ia(this.gj,"EQCallback_"+a,this.Iw(),"Q"),c="javascript:(function(){document.open();"+("document.domain\x3d'"+b.Ec()+"';")+("parent."+c+"(window);")+"document.close();})()");try{this.ec=g.getFrameWindow(a,
!0,c),this.Vx()?e.addTimedTask(this.wl,1,this):this.jj()||this.wl()}catch(h){}}var f=0;h.prototype={aq:function(){return null},verify:function(){return!0},G:function(){e.addTimedTask(g.disposeFrame,0,g,[this.yp]);null!==this.gj&&d.mi(this.gj,"EQCallback_"+this.yp,"Q");this.vp=!0},Rf:function(){return this.Ai||this.vp?!1:b.Ec()==this.pm?!0:this.xm()?!1:!0},Aa:function(){return this.ready},wl:function(){var a=this.aq();this.jj()?this.ec.document.write("\x3cscript\x3edocument.domain\x3d'"+this.pm+"';\x3c/script\x3e"):
c.isProbablyOldOpera()&&!a||this.ec.document.open();a&&this.ec.document.write(a);this.jj()||c.isProbablyOldOpera()&&!a||this.ec.document.close();this.ready=this.verify()},Iw:function(){var a=this;return function(b){a.ec=b;a.wl()}},jj:function(){return c.isProbablyIE()&&!b.am()},xm:function(){return c.isProbablyIE()||c.isProbablyOldOpera()||c.isProbablyKonqueror(4.4,!0)},Vx:function(){return c.isProbablyKonqueror()},zt:function(a,b){this.Ai=!0;this.Hl&&(this.Hl.Mb=[a,b],e.executeTask(this.Hl))},su:function(){this.ready||
this.zt(5)}};return h});
define("lscAG","LoggerManager Executor lscAg Inheritance Dismissable lscAe Helpers".split(" "),function(e,g,d,c,b,h,f){function a(b,c){this.Ft=b;this._callSuperConstructor(a,[c]);this.wg=null;this.initTouches()}function l(a,b,c){try{a.appendChild(b),b.src=c}catch(f){}}var m=e.getLoggerProxy(h.Za);a.prototype={toString:function(){return"[JSONPFrame]"},au:function(a,b){try{var c=this.Nv();if(!c)return c;var f=this.ec.document.createElement("script");f.id=a;f.type="text/javascript";g.addTimedTask(l,
50,null,[c,f,b])}catch(d){return m.logDebug(e.resolve(113),d),!1}return!0},Pu:function(a){var b=this.ec.document.getElementById(a);g.addTimedTask(function(){b&&b.parentNode&&b.parentNode.removeChild(b)},4E3)},clean:function(){this.G()},Nv:function(){if(this.wg)return this.wg;this.wg=this.ec.document.getElementsByTagName("BODY")[0];if(!this.wg){if(this.fc)return 2E3=B){D.logDebug(m.resolve(127));l.addTimedTask(this.pl,3E3,this,[a,c,"offline"]);return}B--;0==B&&l.addTimedTask(u,2E4,null,[y])}a=this.Cp(c,this.pl,b);null!==a&&(a?this.ol():!1===a&&(D.logWarn(m.resolve(126)),this.la("no_impl_available",!0,!1,!1,!0)))}},Id:function(a){if(!this._callSuperMethod(t,r.bindSession,[a]))return!1;this.Be&&this.Be.da();this.qv();this.fi(this.na,a);return!0},qv:function(){if(!n.isLoaded()&&
(null===this.b.Xj&&(k.isProbablyAndroidBrowser()||k.isProbablyApple())||!0===this.b.Xj)){var a=this.De,b=this;n.addOnloadHandler(function(){l.addTimedTask(function(){a==b.De&&b.a==d.nt&&b.Di("spinfix")},b.b.un)})}},fi:function(a,c){if(a==this.na){this.hj||this.P||(this.hj=new b);var f=this.Cp(null,this.fi,c);null!==f&&(f?this.pg():!1!==f||this.P||this.Nc(this.R,"streaming.unavailable"))}},Vd:function(){this.a!=d.vk&&this.a!=d.Ad&&this.a!=d.tk&&(0a},Jd:function(a){this.c=a},Sl:function(){return null!=this.Ia&&02*this.Ia&&(this.Sg=!this.Sg))return a.logInfo(e.resolve(146)),7E3this.Ia)return this.Ia=0,a.logDebug(e.resolve(150)),!1;if(this.ix(7E3))return a.logInfo(e.resolve(147)),!0;a.logDebug(e.resolve(151));return!1}};return h});
define("lscH",["LoggerManager","lscG","ASSERT","lscAe"],function(e,g,d,c){function b(b){this.rb=[];this.keys={};this.ei=b;this.Rx=0}var h=e.getLoggerProxy(c.dg);b.prototype={toString:function(){return["[|ControlRequestBatch",this.ei,this.rb.length,"]"].join("|")},Do:function(b,a){this.keys[b]=a;this.rb.push(b)},Ce:function(b,a){var c=b.jg;if(c==g.te||c==g.Yc||c==g.re){if(this.ei!=c)return h.logError(e.resolve(152),this),d.fail(),!1;this.Do(this.Rx++,b);return!0}if(this.ei!=
g.Lh)return h.logError(e.resolve(153),this),d.fail(),!1;var m;switch(c){case g.lk:m="C";break;case g.nk:m="F";break;case g.ao:m="X"+b.getKey();break;default:m=b.getKey()}var k=this.keys[m];h.logDebug(e.resolve(157),this,m,b);if(k){if(c==g.lk||c==g.nk){a||(h.logDebug(e.resolve(158)),this.An(m,b));return}if(c==g.sk){k.ke?(h.logDebug(e.resolve(159)),a||this.An(m,b)):k.jg==g.sk?h.logDebug(e.resolve(160)):(h.logDebug(e.resolve(161)),d.verifyNotOk(a)||h.logError(e.resolve(154),this),a||this.kz(m));return}if(c==
g.Bd){for(;k&&b.ke!=k.ke;)h.logDebug(e.resolve(162)),m+="_",k=this.keys[m];if(k){h.logDebug(e.resolve(163));return}}else{a||(h.logDebug(e.resolve(164)),this.An(m,b));return}}h.logDebug(e.resolve(165));this.Do(m,b)},getLength:function(){return this.rb.length},An:function(b,a){this.keys[b]=a},$m:function(b){if(this.rb.length<=b)return h.logError(e.resolve(155)),null;var a=this.rb[b];this.rb.splice(b,1);b=this.keys[a];delete this.keys[a];return b},kz:function(b){if(!this.keys[b])return h.logError(e.resolve(156)),
null;for(var a=0;a=this.rb.length?null:this.keys[this.rb[b]]},Ue:function(){return this.ei}};return b});
define("lscF","lscG lscH LoggerManager lscAH Executor lscz lscAe ASSERT".split(" "),function(e,g,d,c,b,h,f,a){function l(){this.a=this.request=this.Ac=this.ya=null}function m(a,b,c,f){this.cm=this.ti=this.cj=this.nl=this.sm=this.Ga=this.cc=null;this.nh=this.Nb=0;this.a=this.status=this.N=1;this.Jh=0;this.s=null;this.mv=!1;this.vb=a;this.b=b;this.Fl=c;this.X=null;this.If(f);this.sc()}var k=d.getLoggerProxy(f.dg),n={1:"IDLE",2:"STAND BY",
3:"WAITING RESP"};m.prototype={toString:function(){return["[|ControlConnectionHandler",n[this.status],this.s,this.nh,"]"].join("|")},cA:function(a){this.nh=a;k.logDebug(d.resolve(183),this)},zA:function(a){this.Nb=a;k.logInfo(d.resolve(173),this);1==this.status&&this.ms(this.N)},ms:function(a){1==this.status&&this.N==a&&0!=this.Nb&&(k.logDebug(d.resolve(184),this),this.uc(null,"",e.re))},Js:function(){k.logInfo(d.resolve(174),this);this.Nb=0},If:function(a){this.cc=new h(h.dt,!1,!this.b.pi||a);this.Ga=
null},da:function(){k.logDebug(d.resolve(185));this.Ga&&this.Ga.da()},ha:function(a){this.N++;1==a&&0c;){c++;this.ha(2);k.logDebug(d.resolve(191),b,this);var f=null;null!=
this.s?(k.logDebug(d.resolve(192)),f=this.ks(this.s)):(k.logDebug(d.resolve(193)),f=this.tz());if(1==f)k.logInfo(d.resolve(176)),this.s=null;else{if(2==f){k.logInfo(d.resolve(177));this.zc(200,"later");return}if(3==f){k.logWarn(d.resolve(170));this.s&&this.s.zm(!0);this.s=null;this.zc(!1,"no");return}if(4==f){k.logInfo(d.resolve(178));this.ha(3);this.s.zm();this.zc(4E3,"http");return}if(5==f)k.logInfo(d.resolve(179)),this.ha(3),this.s.zm(),this.s=null,this.ha(1);else{k.logInfo(d.resolve(180));this.da();
this.ha(1);return}}}this.zc(!1,"limit")}},tz:function(){for(var a=0;a=a.getLength()))if(this.ya=new g(a.Ue()),this.request=this.Ac.Uw(a,f,h),f="",h=this.Ac.encode(a,c,!0),null===h)this.request=this.ya=null;else{var e=this.Ac.Ul(this.request.getFile()),l=this.Ac.Xl(h)+h.length;0b&&k.logWarn(d.resolve(172),f);do f+=h,this.ya.Ce(a.shift()),e+=l,0=this.getLength()},zm:function(a){for(var c=0,f=null;f=this.ya.Zl(c);)(f=f.Hi())&&b.addTimedTask(f.Lc,0,f,[a]),c++}};return m});
define("lscJ",["Inheritance","lscN","lscAi"],function(e,g){function d(b,c,a,e,g,k,n){this._callSuperConstructor(d,[c]);this.jn=e;this.Lb=g;this.Jj=k;this.a=a;this.vb=b;this.Rn=n}var c,b;for(b in{Lc:!0})c=b;d.prototype={Lc:function(b){this._callSuperMethod(d,c,[b]);b||(this.vb.Az(this.Jj,this.Lb),this.Rn||this.vb.ay(this.Jj,this.Lb))},verifySuccess:function(){return this.vb.qu(this.a)&&this.jn.I[this.Lb]&&null!=this.jn.I[this.Lb].kh?!1:!0},Ne:function(){this.vb.qz(this.Lb,this)},Wg:function(){},
$u:function(b){this.Rn=b}};e(d,g);return d});
define("lscK",["lscJ","lscG","LoggerManager","lscAe"],function(e,g,d,c){function b(b,a,c){this.active=!1;this.ej=0;this.qd={};this.Uc={};this.Qs=0;this.W=b;this.ca=a;this.Ge=c}var h=d.getLoggerProxy(c.dg);b.prototype={da:function(){this.active=!1;this.qd={};this.Qs=0;this.Uc={};this.ej++;h.logDebug(d.resolve(207))},Bk:function(){h.logDebug(d.resolve(208));if(!this.active){for(var b in this.qd){var a=this.qd[b],c;for(c in a.I)if(null!=a.I[c].kh){var g=new e(this,
this.Ge,this.ej,a,c);this.hn(c,query,g)}}this.active=!0}},hg:function(b,a,g,m){h.logDebug(d.resolve(209));var k=this.qd[a];null==k&&(k={qf:0,I:{}},this.qd[a]=k);k.qf++;b={LS_message:b};var n=!1;g&&(b.LS_outcome="",n=!0);a!=c.rc&&(b.LS_sequence=encodeURIComponent(a),n=!0);m&&(b.LS_max_wait=m,n=!0);n&&(b.LS_ack="",b.LS_msg_prog=a==c.rc?this.$q(k.qf):k.qf);m={};m.kh=b;m.listener=g;k.I[k.qf]=m;this.active&&(h.logDebug(d.resolve(210),b),a=new e(this,this.Ge,this.ej,k,k.qf,a,n),this.hn(k.qf,b,a))},$q:function(b){var a=
++this.Qs;this.Uc[a]=b;return a},oh:function(b){return this.Uc[b]?this.Uc[b]:b},hz:function(b){for(var a in this.Uc)if(this.Uc[a]==b){delete this.Uc[a];break}},jv:function(b){for(var a in this.Uc)if(this.Uc[a]==b)return a},qu:function(b){return b==this.ej},qz:function(b,a){var c=a.jn.I[b].kh;h.logDebug(d.resolve(211),c);this.hn(b,c,a)},hn:function(b,a,c){this.W.uc(b,a,g.te,c)},Pt:function(b,a){a=b==c.rc?this.oh(a):a;h.logInfo(d.resolve(202),b,a);var e=this.qd[b];e.I[a]&&(null!=e.I[a].kh&&(h.logDebug(d.resolve(212)),
e.I[a].kh=null),null==e.I[a].listener&&(h.logDebug(d.resolve(213)),this.ze(b,a)))},ay:function(b,a){h.logDebug(d.resolve(214),b,a);this.ze(b,a)},ze:function(b,a){h.logDebug(d.resolve(215));var e=this.qd[b];e&&e.I[a]&&(delete e.I[a],b==c.rc&&this.hz(a))},lb:function(b,a){var c=this.qd[b];return c&&c.I[a]&&c.I[a].listener?c.I[a].listener:null},Az:function(b,a){h.logDebug(d.resolve(216),b,a);var c=this.lb(b,a);if(c){var e=this.ca.Xe(c.md);e&&e.xr(c.hh)}},vt:function(b,a){a=b==c.rc?this.oh(a):a;h.logInfo(d.resolve(203),
b,a);var e=this.lb(b,a);if(e){var g=this.ca.Xe(e.md);g&&g.vr(e.hh)}this.ze(b,a)},cy:function(b,a){a=b==c.rc?this.oh(a):a;h.logInfo(d.resolve(204),b,a);var e=this.lb(b,a);if(e){var g=this.ca.Xe(e.md);g&&g.ee(e.hh)}this.ze(b,a)},by:function(b,a,e,g){g=b==c.rc?this.oh(g):g;h.logInfo(d.resolve(205),b,g);var k=this.lb(b,g);if(k){var n=this.ca.Xe(k.md);n&&n.wr(k.hh,a,e)}this.ze(b,g)},ey:function(b,a,e,g){g=b==c.rc?this.oh(g):g;h.logInfo(d.resolve(206),b,g);var k=this.lb(b,g);if(k){var n=this.ca.Xe(k.md);
n&&n.yf(k.hh,a,e)}this.ze(b,g)}};return b});
define("lscj",["LoggerManager","Executor","Global","ASSERT","lscAe"],function(e,g,d,c,b){function h(a){this.Fl=a;this.kb=[];this.yq=!1;this.lsc={};this.lsc.LS_window=d["_"+a];this.lsc.window=this.lsc.LS_window;this.Ou=this.xv(this.lsc)}var f=e.getLoggerProxy(b.Za);h.prototype={toString:function(){return"[EvalQueue|"+this.kb.length+"]"},xv:function(){eval("var lsc \x3d arguments[0]");return function(a){with(lsc)eval(a)}},so:function(a,b){this.Rf()&&(this.kb.push({p:a,d:b}),f.isDebugLogEnabled()&&
f.logDebug(e.resolve(218)),g.addTimedTask(this.si,0,this))},Jd:function(a){this.c=a},si:function(){for(f.isDebugLogEnabled()&&f.logDebug(e.resolve(219),this.kb.length);0=b[c].indexOf("_")&&this.pu(b[c])},Wk:function(a,b,c){if(!b){b=a.split("_");if(2!=b.length)return!1;a=b[0];b=b[1]}var f=this.ba.Hf(b,a);return f?c?c-f[h.Rh]>k?(this.ba.$k(b,a),!1):!0:!0:!1},pu:function(a){for(var b=this.ba.Zm(a),c=0;cd.ve||c++;return c},Sr:function(){this.Zi=a.getTimeStamp()+this.Lp;this.ba.fB(this.w,this.id,[this.Zi,this.Ra,this.host,d.kk,d.ag,this.qg])},fz:function(){if(this.Um)r.logDebug(k.resolve(272)),this.Um=!1;else{var b=!1;if(this.Bn){r.logDebug(k.resolve(273),this);var c=this.ba.Zm(this.w);if(c){r.logDebug(k.resolve(275),this.w);for(var f=0;fthis.Zi?b|=this.Xx(c[f],h[D]):this.Vg[c[f]]&&delete this.Vg[c[f]]):r.logDebug(k.resolve(276),c[f])}}else r.logDebug(k.resolve(274),this)}b||(r.logDebug(k.resolve(278)),this.ba.Ck(this.w,this.id),this.Sr())}},Xx:function(a,b){r.logDebug(k.resolve(279),a,b);if(this.Vg[a]){if(this.Vg[a]==b||this.Xu[a])return!1;r.logInfo(k.resolve(270));this.fv()}this.Vg[a]=
b;return!0},fv:function(){this.clean();this.Bn&&g.executeTask(this.Bn)},Vq:function(){this.ba.$k(this.w,this.id);this.ba.mh(this.w,this.id);this.Um=!0},clean:function(){r.logInfo(k.resolve(271),this);g.stopRepetitiveTask(this.In);g.stopRepetitiveTask(this.Zj);this.Zj=this.In=null;this.Ra!=d.Vb?m.disposeFrame(this.Ra):this.qg!=d.Vb&&q.nz(this.qg);this.qg=this.Ra=d.Vb;this.Wr(this.Le);this.w&&e.lz(this.w,this.o);this.K&&(e.mi(this.id,d.Oh),e.mi(this.id,d.Sh));this.K=null;this.Vq()},unloadEvent:function(){this.clean()},
preUnloadEvent:function(){this.Vq()},G:function(){this.clean();l.removeBeforeUnloadHandler(this);l.removeUnloadHandler(this);c.stop(this.tv)}};u.prototype.unloadEvent=u.prototype.unloadEvent;u.prototype.preUnloadEvent=u.prototype.preUnloadEvent;return u});
define("lscU",["Executor","lscAe","lscAi"],function(e,g,d){function c(c,f,a){this.Qr=c;this.target=a;this.id=b++;this.buffer=[];this.ready=!1;this.nd={};this.Zx=0;f&&this.Gz(f)}var b=0;c.prototype={Gz:function(b){this.K=b;b.addListener(this);if(b.Aa())this.onReady()},G:function(b){this.K&&!b&&this.K.G()},onListenStart:function(){if(this.K.Aa())this.onReady()},onReady:function(){if(!this.ready){this.ready=!0;for(var b=0;bf-h&&(r=!1);window.SymRealWinOpen&&r?(h++,u=checkTimes(_force,authTime)?window.SymRealWinOpen(g,c,"height\x3d100,width\x3d100",!0):!1):(a||(a=!0,m.logWarn(e.resolve(280))),h=0,u=null)}else u=window.open(g,c,"height\x3d100,width\x3d100",!0);t=u}catch(B){t=null}}catch(B){m.logDebug(e.resolve(282),B);g=!1;break a}if(t)try{f++}catch(B){l=!0}g=t}}if(!1===g)return m.logDebug(e.resolve(283)),
!1;if(!g)return m.logDebug(e.resolve(284)),!0;m.logDebug(e.resolve(285));this.Xq(g,c,d);return!0},Xq:function(a,b,c){try{m.logDebug(e.resolve(286));if(a.closed)return m.logDebug(e.resolve(287)),!1;var f=a;if(c){if(a==a.top&&!a.Lightstreamer){m.logDebug(e.resolve(288));try{a.name!=b&&a.name!=b+"__TRASH"||a.close()}catch(d){m.logDebug(e.resolve(289),d)}return!1}f=a.parent;if(null==f)return m.logDebug(e.resolve(290)),!1}if(!f.Lightstreamer)return m.logDebug(e.resolve(291)),!1;if(!f.Lightstreamer.$s)return m.logDebug(e.resolve(292)),
!1;m.logDebug(e.resolve(293));this.Rr=f;k[b]=a}catch(d){return m.logDebug(e.resolve(294),d),!1}return!0}};return c});define("lscV",["Promise","lscAh"],function(e,g){function d(b){this.Ra=b}var c={};d.prototype={qw:function(){if(c[this.Ra])return e.resolve(null);var b=new g;return b.Gx(this.Ra,!0)?(b=b.Rr,null==b?(c[this.Ra]=!0,e.resolve(null)):e.resolve(b)):e.resolve(null)}};return d});
define("lscAT","LoggerManager Global lscAe Promise Helpers Executor lscAP lscAQ lscAS lscAW lscT lscW lscV".split(" "),function(e,g,d,c,b,h,f,a,l,m,k,n,q){function p(a,b){var c=m.jq();c.$k(b,a);c.mh(b,a)}function t(a,b,c,f,h,e,g){this.w=b;this.Ix=h;this.Tm=c;this.Ir=f;this.ne=e;this.Mg=0;this.tg={};this.le=0;this.client=a;this.cn=!1;this.mg=g||d.bt;this.kj=this.ok=null;this.lj=!1}var u=e.getLoggerProxy(d.Dd);t.Ao=0;t.prototype=
{stop:function(){u.logInfo(e.resolve(296));this.le++;this.cn||this.wk()},find:function(a){u.logInfo(e.resolve(297));this.tg=a||{};a=this.Et();this.Fd(this.le,!1);return a},Pl:function(){return this.tg},po:function(a){this.cn=!0;this.ok(a);this.stop()},wk:function(){this.cn=!0;this.kj();this.stop()},vo:function(){this.lj=!0},wo:function(){this.Ir==l.Mh?(u.logInfo(e.resolve(298)),this.po(null)):this.Ir==l.oo?(u.logInfo(e.resolve(299),1E3),h.addTimedTask(this.Fd,1E3,this,[this.le,!1])):(u.logInfo(e.resolve(300)),
this.wk())},Wh:function(b,c,d){this.Tm==l.Yf?(u.logInfo(e.resolve(301)),this.wk()):this.Tm!=l.$f?(u.logInfo(e.resolve(302)),1==b?(b=new f(this.client),c.Lo(b)):(b=2==b?new k:new n,b.start(c),b=new a(this.client,b)),b.vs(d),this.po(b)):(u.logInfo(e.resolve(303)),this.stop())},Fd:function(a,b){if(this.le==a){a=++this.le;u.logDebug(e.resolve(307));var c=g.tq(this.w);if(c)u.logDebug(e.resolve(308)),this.Wh(1,c,c.gd());else if(this.Ix)u.logDebug(e.resolve(309)),this.wo();else if(this.ne){u.logDebug(e.resolve(310));
try{var f=this.ne.Lightstreamer,l=f.tq(this.w);u.logDebug(e.resolve(311)+l+" ("+this.w+").");if(null!=l){var k=l.gd();if(f.Pi(k,d.Sh)){this.Wh(3,f.eq(k,d.Sh),k);return}if(f.Pi(k,d.Oh)){this.Wh(2,f.eq(k,d.Oh),k);return}}else 1==b&&this.vo()}catch(m){u.logDebug(e.resolve(312)+m)}this.ne=null;this.Fd(this.le,!1)}else{u.logDebug(e.resolve(313));var v=this,n=++this.Mg;h.addTimedTask(function(){n==v.Mg&&v.Mg++},d.pt);t.Ao++;this.xk(this.Mg).then(function(b){t.Ao--;if(a==v.le)if(u.logDebug(e.resolve(314)),
null==b)u.logDebug(e.resolve(315)),v.wo();else{u.logInfo(e.resolve(304));var c=b.values,f=c[d.Zn],h=c[d.ft];if(f!==d.Vb)try{u.logDebug(e.resolve(316)),v.Wh(3,f,b.id)}catch(g){v.Fd(a,!1)}else h!==d.Vb?(u.logDebug(e.resolve(317)),b=(new q(h)).qw(),null!=b?b.then(function(b){(v.ne=b)||v.vo();v.Fd(a,!0)}):v.Fd(a,!1)):(u.logInfo(e.resolve(305),c),v.Fd(a,!1))}})}}},Et:function(){var a=this;return new c(function(b,c){a.ok=b;a.kj=c})},xk:function(a,f){if(this.Mg!=a)return c.resolve(null);var g=this,k=d.ve,
q=d.ve+d.mo,n=m.jq();return new c(function(c){if(f)for(var m in f){var t=n.Hf(g.w,m);if(t&&t[d.Rh]!=f[m]){g.tg[m]=!0;c({id:m,values:t});return}}var F={};if(m=n.Zm(g.w))for(var H=!1,x=0;xt.length)p(m[x],g.w),u.logDebug(e.resolve(318),m[x]);else if(t[d.$n]!=d.kk||t[d.lo]!=d.ag)u.logDebug(e.resolve(319),t);else{var z=b.getTimeStamp(),E=parseInt(t[d.Rh]),z=z-E,I=t[d.Zn]!=d.Vb||g.Tm==l.Nh;if(z<=(I?k:q)){if(I){g.tg[m[x]]=!0;c({id:m[x],values:t});return}H=
!0;F[m[x]]=E}else I&&z<=q?(H=!0,F[m[x]]=E):6E4=this.ga.cd||(a?b=1E4:(b=200+500*e.randomG(this.ga.cd),5E3=this.getLength())){if(0==this.qo.Gb().indexOf("CONNECTED")){var c=this.iv();if(this.qo.rh(c)){this.reset();
this.waiting=!1;return}}this.waiting&&b||(this.waiting=!0,d.addTimedTask(this.to,2E3,this))}},iv:function(c,f){var a=this._callSuperMethod(b,"extractLog",["LS_log"]),a=a.split("LS_log");f="LS_log";for(var d={},e=0;e=b||b>this.ja.Vl()+1)throw new g("the specified field position is out of bounds");return b+1},lw:function(){return this.yd.length-2},Tv:function(b){return this.ja.getName(b)}};
c.prototype.getItemName=c.prototype.Yl;c.prototype.getItemPos=c.prototype.Ii;c.prototype.getValue=c.prototype.getValue;c.prototype.isValueChanged=c.prototype.Pq;c.prototype.isSnapshot=c.prototype.tx;c.prototype.forEachChangedField=c.prototype.forEachChangedField;c.prototype.forEachField=c.prototype.Np;return c});
define("lscZ",[],function(){function e(){this.Pb=null;this.ob=0}e.prototype={Es:function(e){this.Pb=e},Vl:function(){return this.Pb?this.ob+this.Pb.ob:this.ob},sd:function(e){this.ob=e}};return e});
define("lsca",["Inheritance","lscZ"],function(e,g){function d(c){this._callSuperConstructor(d);this.list=c;for(var b={},e=0;ethis.ob&&this.Pb?this.Pb.getName(c-this.ob):this.list[c-1]||null},Fc:function(){return this.list}};e(d,g);return d});
define("lscb",["Inheritance","lscZ"],function(e,g){function d(c){this._callSuperConstructor(d);this.name=c}d.prototype={Ql:function(){return this.name},Sd:function(c){return this.Pb?(c=this.Pb.Sd(c),null!==c?c+this.ob:null):null},getName:function(c){return this.Pb?this.Pb.getName(c-this.ob):null},Fc:function(){return this.name}};e(d,g);return d});
define("Subscription","lscAa lscAZ lsca lscb Inheritance Setter Matrix Executor lscAe EventDispatcher IllegalArgumentException IllegalStateException LoggerManager lscAi ASSERT Helpers".split(" "),function(e,g,d,c,b,h,f,a,l,m,k,n,q,p,t,u){function r(a,b,c){this._callSuperConstructor(r);a=(new String(a)).toUpperCase();if(!a||!D[a])throw new k("The given value is not a valid subscription mode. Admitted values are MERGE, DISTINCT, RAW, COMMAND");
this.$c=a;this.ja=this.Bc=this.Cb=this.Jb=this.gf=this.hf=null;this.gc="RAW"===a?null:"yes";this.Ej=this.Tf=this.ri=this.Yh=this.ro=this.ig=this.je=this.Ua=null;this.ae=new f;this.Mc=new f;this.f=null;this.Wa=1;this.NA=0;this.Zc=null;this.Gn=0;this.vm=null;this.Hj=this.oj=0;this.behavior=this.$c==l.Zf?2:1;this.Mn=this.keyCode=this.ab=null;this.vd=new f;this.Bh=this.oe=this.ud=null;this.HA=l.qk;if(b){if(!c||!u.isArray(c))throw new k("Please specify a valid field list");u.isArray(b)?this.xh(b):this.xh([b]);
this.Pj(c)}else if(c)throw new k("Please specify a valid item or item list");}function B(a,b){for(var c=0;c=a||a>(c?b.Vl():b.ob)?!1:a},Mr:function(){this.behavior=null==this.Bh?2:3},av:function(a){this.dispatchEvent("onEndOfSnapshot",[this.Jb.getName(a),a])},xu:function(a){var b=this.Jb.getName(a);2==this.behavior?this.Mc=new f:3==this.behavior&&(this.Mc=new f,this.iz(a));this.dispatchEvent("onClearSnapshot",[b,a])},Jx:function(a,b){this.dispatchEvent("onItemLostUpdates",[this.Jb.getName(a),a,b])},wA:function(a,b){this.dispatchEvent("onCommandSecondLevelItemLostUpdates",[b,a])},
Bz:function(a,b){this.dispatchEvent("onSubscriptionError",[a,b])},xA:function(a,b,c){this.dispatchEvent("onCommandSecondLevelSubscriptionError",[a,b,c])},update:function(a,b,c){t.verifyValue(4,this.Wa);var f=a[1],d=new String(f);1!=this.behavior&&(d=this.Qy(a,f,c));3!=this.behavior||c||this.Nw(a);1==this.behavior?this.Ts(this.ae,f,a,!0):this.Ts(this.Mc,d,a,!0);a=new g(this.Jb.getName(f),f,this.ja,b,a);this.dispatchEvent("onItemUpdate",[a]);"DELETE"==this.Mc.get(d,this.ab)&&this.Mc.delRow(d)},Ts:function(a,
b,c,f){var d=c.length-2,e=1,h=2;for(c.Ln={};e<=d;e++,h++)c[h]!==A?a.insert(c[h],b,e):f&&(c[h]=a.get(b,e),c.Ln[h]=!0)},Qy:function(a,b,c){var f;if("undefined"==typeof a[this.keyCode+1]||"undefined"==typeof a[this.ab+1])return w.logWarn(q.resolve(336)),null;f=a[this.keyCode+1]==A?b+" "+this.ae.get(b,this.keyCode):b+" "+a[this.keyCode+1];if(c)a[this.keyCode+1]=A,a[this.ab+1]==this.Mc.get(f,this.ab)?a[this.ab+1]=A:(a.yc.push(this.ab),a.yc.sort(y));else{a.yc=[];for(c=2;ca.length))for(c=a.length;c=this.qe.length)throw"No tests to run";this.dr()},dr:function(){this.Rc++;this.Rc>=this.qe.length?(this.Rc=-1,this.dispatchEvent("onAllTestComplete",[d.getFailures()])):(this.dispatchEvent("onTestStart",
[this.Rc,this.qe[this.Rc]]),this.qe[this.Rc].start())},onTestCompleted:function(){this.dispatchEvent("onTestEnd",[this.Rc,this.qe[this.Rc]]);this.dr()}};c.prototype.onTestCompleted=c.prototype.onTestCompleted;c.prototype.start=c.prototype.start;c.prototype.pushTest=c.prototype.pushTest;c.prototype.size=c.prototype.size;e(c,g,!0);return c});
define("IllegalStateException",[],function(){function e(e){this.name="IllegalStateException";this.message=e}e.prototype={toString:function(){return["[",this.name,this.message,"]"].join("|")}};return e});
define("Environment",["IllegalStateException"],function(e){var g="undefined"!==typeof window&&"undefined"!==typeof navigator&&"undefined"!==typeof document,d="undefined"!==typeof importScripts,c="object"==typeof process&&(/node(\.exe)?$/.test(process.execPath)||process.node&&process.v8||process.versions&&process.versions.node&&process.versions.v8);if(g&&!document.getElementById)throw new e("Not supported browser");var b={isBrowserDocument:function(){return g},isBrowser:function(){return!c&&(g||d)},
isNodeJS:function(){return!g&&c},isWebWorker:function(){return!g&&!c&&d},kx:function(){return!g&&!c&&!d},browserDocumentOrDie:function(){if(!this.isBrowserDocument())throw new e("Trying to load a browser-only module on non-browser environment");}};b.isBrowserDocument=b.isBrowserDocument;b.isBrowser=b.isBrowser;b.isNodeJS=b.isNodeJS;b.isWebWorker=b.isWebWorker;b.browserDocumentOrDie=b.browserDocumentOrDie;return b});
define("BrowserDetection",["Environment"],function(e){function g(b){var c=f;return function(){null===c&&(c=-1=f:d==f:!0:!1}}function b(b){return function(){var c=b.exec(a);return c&&2<=c.length?c[1]:null}}function h(a){return function(){return!a()}}var f=
e.isBrowser()?null:!1,a=e.isBrowser()?navigator.userAgent.toLowerCase():null,l=f;e={isProbablyRekonq:g("rekonq"),isProbablyAWebkit:g("webkit"),isProbablyPlaystation:g("playstation 3"),isProbablyChrome:c(g("chrome/"),b(RegExp("chrome/([0-9]+)","g"))),isProbablyAKhtml:function(){null===l&&(l=document.childNodes&&!document.all&&!navigator.HB&&!navigator.sB);return l},isProbablyKonqueror:c(g("konqueror"),b(RegExp("konqueror/([0-9.]+)","g"))),isProbablyIE:function(a,d){return c(g("msie"),b(RegExp("msie\\s([0-9]+)[.;]",
"g")))(a,d)?!0:11==a?g("rv:11.0")():!1},px:g("Edge"),isProbablyFX:c(g("firefox"),b(/firefox\/(\d+\.?\d*)/)),isProbablyOldOpera:c(function(){return"undefined"!=typeof opera},function(){if(opera.version){var a=opera.version(),a=a.replace(RegExp("[^0-9.]+","g"),"");return parseInt(a)}return 7})};e.isProbablyAndroidBrowser=d([g("android"),e.isProbablyAWebkit,h(e.isProbablyChrome)]);e.isProbablyOperaMobile=d([e.isProbablyOldOpera,g("opera mobi")]);e.isProbablyApple=c(d([g("safari"),function(a){var b=f;
return function(){if(null===b){b=!1;for(var c=0;ce)return!1;this.data.splice(e,1);return!0},contains:function(e){return 0<=this.find(e)},find:function(e){for(var d=0;d=m.length&&(t=0);0=n&&(n=k+108E5,m=[].concat(m))}}var l=!1,m=[],k=e.getTimeStamp(),n=k+108E5,q=[],p=null,t=0,u=!d.isBrowserDocument()||
"http:"!=document.location.protocol&&"https:"!=document.location.protocol?"*":document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""),r=c,B=!1,y={toString:function(){return["[","Executor",50,m.length,"]"].join("|")},getQueueLength:function(){return m.length},packTask:function(a,b,c){return{Te:a,context:b||null,Mb:c||null,Om:t++}},addPackedTimedTask:function(a,b,c){a.step=c?b:null;a.time=k+parseInt(b);if(isNaN(a.time))try{throw Error();}catch(d){throw a=
"Executor error for time: "+b,d.stack&&(a+=" "+d.stack),a;}m.push(a);l=!0},addRepetitiveTask:function(a,b,c,d){return this.addTimedTask(a,b,c,d,!0)},stopRepetitiveTask:function(a){a&&(a.Te=null,a.step=null)},addTimedTask:function(a,b,c,d,f){a=this.packTask(a,c,d);this.addPackedTimedTask(a,b,f);0!=b||B||(B=!0,r());return a},modifyTaskParam:function(a,b,c){a.Mb[b]=c},modifyAllTaskParams:function(a,b){a.Mb=b},delayTask:function(a,b){a.time+=b;l=!0},executeTask:function(a,b){try{var c=b||a.Mb;a.context?
c?a.Te.apply(a.context,c):a.Te.apply(a.context):c?a.Te.apply(null,c):a.Te()}catch(d){}}};d.isWebWorker()?setTimeout(f,1):f();y.getQueueLength=y.getQueueLength;y.packTask=y.packTask;y.addPackedTimedTask=y.addPackedTimedTask;y.addRepetitiveTask=y.addRepetitiveTask;y.stopRepetitiveTask=y.stopRepetitiveTask;y.addTimedTask=y.addTimedTask;y.modifyTaskParam=y.modifyTaskParam;y.modifyAllTaskParams=y.modifyAllTaskParams;y.delayTask=y.delayTask;y.executeTask=y.executeTask;return y});
define("Dismissable",["Executor"],function(e){function g(){this.initTouches()}g.prototype={clean:function(){},initTouches:function(d){this.Jn=this.$e=0;this.timeout=d||5E3},cB:function(d){d==this.Jn&&0>=this.$e&&this.clean()},dismiss:function(){this.$e--;0>=this.$e&&e.addTimedTask(this.cB,this.timeout,this,[this.Jn])},touch:function(){this.Jn++;0>this.$e&&(this.$e=0);this.$e++}};g.prototype.touch=g.prototype.touch;g.prototype.dismiss=g.prototype.dismiss;g.prototype.clean=g.prototype.clean;g.prototype.initTouches=
g.prototype.initTouches;return g});define("IllegalArgumentException",[],function(){function e(e){this.name="IllegalArgumentException";this.message=e}e.prototype={toString:function(){return["[",this.name,this.message,"]"].join("|")}};return e});
define("DoubleKeyMap",["IllegalArgumentException"],function(e){function g(){this.map={};this.qh={}}function d(b){return null!==b&&"undefined"!=typeof b}function c(b,c,a){var e=b[a];d(e)&&(delete b[a],delete c[e])}function b(b,c){for(var a in b)c(a,b[a])}g.prototype={set:function(b,c){var a=this.map,g=this.qh;if(!d(b)||!d(c))throw new e("values can't be null nor missing");var m=a[b],k=g[c];d(m)?m!==c&&(d(k)?(a[k]=m,a[b]=c,g[c]=b,g[m]=k):(delete g[a[b]],a[b]=c,g[c]=b)):d(k)?(delete a[g[c]],g[c]=b,a[b]=
c):(a[b]=c,g[c]=b)},remove:function(b){c(this.map,this.qh,b)},removeReverse:function(b){c(this.qh,this.map,b)},get:function(b){return this.map[b]},getReverse:function(b){return this.qh[b]},exist:function(b){return"undefined"!=typeof this.get(b)},existReverse:function(b){return"undefined"!=typeof this.getReverse(b)},forEach:function(c){b(this.map,c)},forEachReverse:function(c){b(this.qh,c)}};g.prototype.set=g.prototype.set;g.prototype.remove=g.prototype.remove;g.prototype.removeReverse=g.prototype.removeReverse;
g.prototype.get=g.prototype.get;g.prototype.getReverse=g.prototype.getReverse;g.prototype.exist=g.prototype.exist;g.prototype.existReverse=g.prototype.existReverse;g.prototype.forEach=g.prototype.forEach;g.prototype.forEachReverse=g.prototype.forEachReverse;return g});
define("Inheritance",["IllegalStateException"],function(e){function g(c,b,d){if(b)return d?b.apply(c,d):b.apply(c)}var d={gt:function(c,b,g,f){for(var a in b.prototype)if(!c.prototype[a])c.prototype[a]=b.prototype[a];else if(f){var l;a:{l=b.prototype;var m=void 0;for(m in l)if(l[a]==l[m]&&a!=m){l=m;break a}l=null}if(l){if(c.prototype[l]&&c.prototype[l]!==c.prototype[a]&&b.prototype[l]!==b.prototype[l])throw new e("Can't solve alias collision, try to minify the classes again ("+l+", "+a+")");c.prototype[l]=
c.prototype[a]}}g||(c.prototype._super_=b,c.prototype._callSuperConstructor=d._callSuperConstructor,c.prototype._callSuperMethod=d._callSuperMethod);return c},_callSuperMethod:function(c,b,d){return g(this,c.prototype._super_.prototype[b],d)},_callSuperConstructor:function(c,b){g(this,c.prototype._super_,b)}};return d.gt});
define("Matrix",[],function(){function e(e){this.$=e||{}}e.prototype={insert:function(e,d,c){d in this.$||(this.$[d]={});this.$[d][c]=e},get:function(e,d){return e in this.$&&d in this.$[e]?this.$[e][d]:null},del:function(e,d){if(!(!e in this.$)){d in this.$[e]&&delete this.$[e][d];for(var c in this.$[e])return;delete this.$[e]}},insertRow:function(e,d){this.$[d]=e},getRow:function(e){return e in this.$?this.$[e]:null},delRow:function(e){e in this.$&&delete this.$[e]},getEntireMatrix:function(){return this.$},
isEmpty:function(){for(var e in this.$)return!1;return!0},forEachElement:function(e){for(var d in this.$)this.forEachElementInRow(d,e)},forEachRow:function(e){for(var d in this.$)e(d)},forEachElementInRow:function(e,d){var c=this.$[e],b;for(b in c)d(c[b],e,b)}};e.prototype.insert=e.prototype.insert;e.prototype.get=e.prototype.get;e.prototype.del=e.prototype.del;e.prototype.insertRow=e.prototype.insertRow;e.prototype.getRow=e.prototype.getRow;e.prototype.delRow=e.prototype.delRow;e.prototype.getEntireMatrix=
e.prototype.getEntireMatrix;e.prototype.forEachElement=e.prototype.forEachElement;e.prototype.forEachElementInRow=e.prototype.forEachElementInRow;e.prototype.forEachRow=e.prototype.forEachRow;e.prototype.isEmpty=e.prototype.isEmpty;return e});
define("DoubleKeyMatrix",["Inheritance","Matrix"],function(e,g){function d(){this._callSuperConstructor(d);this.ph={}}d.prototype={insert:function(c,b,e){"undefined"==typeof this.ph[e]&&(this.ph[e]=b,this._callSuperMethod(d,"insert",[c,b,e]))},del:function(c,b){this._callSuperMethod(d,"del",[c,b]);delete this.ph[b]},delReverse:function(c){var b=this.ph[c];"undefined"!=typeof b&&this.del(b,c)},delRow:function(c){var b=this.getRow(c),e;for(e in b)delete this.ph[e];this._callSuperMethod(d,"delRow",[c])}};
d.prototype.insert=d.prototype.insert;d.prototype.del=d.prototype.del;d.prototype.delReverse=d.prototype.delReverse;d.prototype.delRow=d.prototype.delRow;e(d,g);return d});
define("EventDispatcher",["Executor","List","Inheritance"],function(e,g,d){function c(){this._callSuperConstructor(c)}function b(){this.initDispatcher()}b.prototype={initDispatcher:function(){this.Gh=new c;this.Ls=!1},addListener:function(b){b&&!this.Gh.contains(b)&&(b={f:b,Yq:!0},this.Gh.add(b),this.tl("onListenStart",[this],b,!0))},removeListener:function(b){b&&(b=this.Gh.remove(b))&&this.tl("onListenEnd",[this],b,!0)},getListeners:function(){return this.Gh.asArray()},useSynchEvents:function(b){this.Ls=
!0===b},tl:function(b,c,a,d){this.Ls?this.up(b,c,a,!0):e.addTimedTask(this.up,0,this,[b,c,a,d])},up:function(b,c,a,d){if(a&&a.f[b]&&(d||a.Yq))try{c?a.f[b].apply(a.f,c):a.f[b].apply(a.f)}catch(e){}},dispatchEvent:function(b,c){var a=this;this.Gh.forEach(function(d){a.tl(b,c,d,!1)})}};b.prototype.initDispatcher=b.prototype.initDispatcher;b.prototype.addListener=b.prototype.addListener;b.prototype.removeListener=b.prototype.removeListener;b.prototype.getListeners=b.prototype.getListeners;b.prototype.useSynchEvents=
b.prototype.useSynchEvents;b.prototype.dispatchEvent=b.prototype.dispatchEvent;c.prototype={remove:function(b){b=this.find(b);if(0>b)return!1;var c=this.data[b];c.Yq=!1;this.data.splice(b,1);return c},find:function(b){for(var c=0;cd)throw new e("The given value is not valid. Use a positive number or 0");}else if(0>=d)throw new e("The given value is not valid. Use a positive number");return g};g.prototype.checkBool=function(d,
c){if(!0===d||!1===d||c&&!d)return!0===d;throw new e("The given value is not valid. Use true or false");};return g});define("SimpleLogLevels",[],function(){var e={FATAL:5,ERROR:4,WARN:3,INFO:2,DEBUG:1},g={priority:function(d){return e[d]||0}};g.priority=g.priority;return g});
define("SimpleLogAppender",["SimpleLogLevels"],function(e){function g(d,c){this.tm=e.priority(d)?d:"INFO";this.To=c||"*";this.um=null}g.prototype={setLoggerProvider:function(d){d&&d.getLogger&&d.Op&&(this.um=d)},log:function(){},composeLine:function(d,c,b,e){return d+" | "+c+" | "+e+" | "+b},getLevel:function(){return this.tm},setLevel:function(d){this.tm=d=e.priority(d)?d:"INFO";null!=this.um&&this.um.Op()},getCategoryFilter:function(){return this.To},setCategoryFilter:function(d){this.To=d||"*"}};
g.prototype.log=g.prototype.log;g.prototype.setLoggerProvider=g.prototype.setLoggerProvider;g.prototype.composeLine=g.prototype.composeLine;g.prototype.getLevel=g.prototype.getLevel;g.prototype.setLevel=g.prototype.setLevel;g.prototype.getCategoryFilter=g.prototype.getCategoryFilter;g.prototype.setCategoryFilter=g.prototype.setCategoryFilter;return g});
define("BufferAppender",["Inheritance","SimpleLogAppender","SimpleLogLevels"],function(e,g,d){function c(b,d,f){this._callSuperConstructor(c,[b,d]);this.Aq=!f||0>f?0:f;this.first=0;this.kf=-1;this.buffer={}}c.prototype={reset:function(){this.first=0;this.kf=-1;this.buffer={}},extractLog:function(b){res=this.getLog(null,b);this.reset();return res},getLog:function(b,c,f){var a="";b?(b=this.kf-b+1,b=
f&&(a+=this.buffer[b].Tx),a+=c,b++;return a},log:function(b,c,d,a){var e=++this.kf;0!=this.Aq&&e>=this.Aq&&(this.buffer[this.first]=null,this.first++);d=this.composeLine(b,c,d,a);this.buffer[e]={level:c,Tx:d}},getLength:function(){return this.kf-this.first+1}};c.prototype.reset=c.prototype.reset;c.prototype.getLog=c.prototype.getLog;c.prototype.extractLog=c.prototype.extractLog;c.prototype.log=c.prototype.log;c.prototype.getLength=c.prototype.getLength;e(c,g);return c});
define("AlertAppender",["Inheritance","SimpleLogAppender","BufferAppender","Executor","Environment"],function(e,g,d,c,b){function h(b,a,c){this._callSuperConstructor(h,[b,a]);this.Go=!c||0>c?5:c;this.Ak=0;this.buffer=new d(b,a)}b.browserDocumentOrDie();h.prototype={uA:function(b){alert(b)},log:function(b,a,e,g){this.Ak++;this.buffer.log(b,a,e,g);this.Ak>=this.Go&&(this.Ak=0,c.addTimedTask(this.uA,0,this,[this.buffer.getLog(this.Go,"\n","",!1,this.tm)]),this.buffer=new d)}};h.prototype.log=h.prototype.log;
e(h,g);return h});
define("ConsoleAppender",["Inheritance","SimpleLogAppender","IllegalStateException"],function(e,g,d){function c(b,e){if("undefined"==typeof console)throw new d("This appender can't work if a console is not available. Enable the Browser console if possible or change appender.");this._callSuperConstructor(c,[b,e])}c.prototype={log:function(b,c,d,a){d=this.composeLine(b,c,d,a);switch(c){case "DEBUG":if(console.debug){console.debug(d);return}break;case "INFO":if(console.info){console.info(d);return}break;
case "WARN":if(console.warn){console.warn(d);return}default:if(console.error){console.error(d);return}}console.log(d)}};c.prototype.log=c.prototype.log;e(c,g);return c});
define("DOMAppender",["Inheritance","SimpleLogAppender","IllegalArgumentException","Environment"],function(e,g,d,c){function b(c,f,a){this._callSuperConstructor(b,[c,f]);if(!a)throw new d("a DOMElement instance is necessary for a DOMAppender to work.");this.qc=a;this.Da=this.ym=!1}c.browserDocumentOrDie();b.prototype={setUseInnerHtml:function(){this.Da=!0===useInner},setNextOnTop:function(b){this.ym=!0===b},log:function(b,c,a,d){b=this.composeLine(b,c,a,d);this.Da?this.qc.innerHTML=this.ym?b+"\x3cbr\x3e"+
this.qc.innerHTML:this.qc.innerHTML+(b+"\x3cbr\x3e"):this.ym?(b=document.createTextNode(b),c=document.createElement("br"),this.qc.insertBefore(c,this.qc.firstChild),this.qc.insertBefore(b,this.qc.firstChild)):(b=document.createTextNode(b),c=document.createElement("br"),this.qc.appendChild(b),this.qc.appendChild(c))}};b.prototype.setUseInnerHtml=b.prototype.setUseInnerHtml;b.prototype.setNextOnTop=b.prototype.setNextOnTop;b.prototype.log=b.prototype.log;e(b,g);return b});
define("FunctionAppender",["Inheritance","SimpleLogAppender"],function(e,g){function d(c,b,e,f){this._callSuperConstructor(d,[c,b]);this.wv=e;this.jy=f||null}d.prototype={log:function(c,b,d,f){var a=this.wv;if(a.apply){c=this.composeLine(c,b,d,f);try{a.apply(this.jy,[c])}catch(e){}}}};d.prototype.log=d.prototype.log;e(d,g);return d});
define("LoggerProxy",["Helpers"],function(e){function g(b){this.pn(b)}function d(){return!1}var c={error:d,warn:d,info:d,debug:d,fatal:d,isDebugEnabled:d,isInfoEnabled:d,isWarnEnabled:d,isErrorEnabled:d,isFatalEnabled:d};g.prototype={pn:function(b){this.Ma=b||c},logFatal:function(b){this.fx()&&(b+=this.Yd(arguments,1),this.fatal(b))},fatal:function(b,c){this.Ma.fatal(b,c)},fx:function(){return!this.Ma.isFatalEnabled||this.Ma.isFatalEnabled()},logError:function(b){this.Hq()&&(b+=this.Yd(arguments,
1),this.error(b))},logErrorExc:function(b,c){this.Hq()&&(c+=this.Yd(arguments,2),this.error(c,b))},error:function(b,c){this.Ma.error(b,c)},Hq:function(){return!this.Ma.isErrorEnabled||this.Ma.isErrorEnabled()},logWarn:function(b){this.Ax()&&(b+=this.Yd(arguments,1),this.warn(b))},warn:function(b,c){this.Ma.warn(b,c)},Ax:function(){return!this.Ma.isWarnEnabled||this.Ma.isWarnEnabled()},logInfo:function(b){this.isInfoLogEnabled()&&(b+=this.Yd(arguments,1),this.info(b))},info:function(b,c){this.Ma.info(b,
c)},isInfoLogEnabled:function(){return!this.Ma.isInfoEnabled||this.Ma.isInfoEnabled()},logDebug:function(b){this.isDebugLogEnabled()&&(b+=this.Yd(arguments,1),this.debug(b))},debug:function(b,c){this.Ma.debug(b,c)},isDebugLogEnabled:function(){return!this.Ma.isDebugEnabled||this.Ma.isDebugEnabled()},Yd:function(b,c){for(var d=" {",a=c?c:0;ag.length?d+="*":null!=g.charAt?d+=g:g.message?(d+=g.message,g.stack&&(d+="\n"+g.stack+"\n")):g[0]==g?d+=g:e.isArray(g)?
(d+="(",d+=this.Yd(g),d+=")"):d+=g;d+=" "}catch(m){d+="missing-parameter "}return d+"}"}};g.prototype.debug=g.prototype.debug;g.prototype.isDebugLogEnabled=g.prototype.isDebugLogEnabled;g.prototype.logDebug=g.prototype.logDebug;g.prototype.info=g.prototype.info;g.prototype.isInfoLogEnabled=g.prototype.isInfoLogEnabled;g.prototype.logInfo=g.prototype.logInfo;g.prototype.warn=g.prototype.warn;g.prototype.isWarnEnabled=g.prototype.isWarnEnabled;g.prototype.logWarn=g.prototype.logWarn;g.prototype.error=
g.prototype.error;g.prototype.isErrorEnabled=g.prototype.isErrorEnabled;g.prototype.logError=g.prototype.logError;g.prototype.logErrorExc=g.prototype.logErrorExc;g.prototype.fatal=g.prototype.fatal;g.prototype.isFatalEnabled=g.prototype.isFatalEnabled;g.prototype.logFatal=g.prototype.logFatal;return g});
define("LoggerManager",["LoggerProxy","IllegalArgumentException"],function(e,g){var d={},c=null,b={setLoggerProvider:function(b){if(b&&!b.getLogger)throw new g("The given object is not a LoggerProvider");c=b;for(var f in d)c?d[f].pn(c.getLogger(f)):d[f].pn(null)},getLoggerProxy:function(b){d[b]||(d[b]=c?new e(c.getLogger(b)):new e);return d[b]},resolve:function(b){return b}};b.setLoggerProvider=b.setLoggerProvider;b.getLoggerProxy=b.getLoggerProxy;b.resolve=b.resolve;return b});
define("SimpleLogger",["SimpleLogLevels"],function(e){function g(d,c){this.Ug=d;this.rg=c;this.rf="DEBUG"}g.prototype={fatal:function(d){this.isFatalEnabled()&&this.Ug.dispatchLog(this.rg,"FATAL",d)},isFatalEnabled:function(){return e.priority("FATAL")>=e.priority(this.rf)},error:function(d){this.isErrorEnabled()&&this.Ug.dispatchLog(this.rg,"ERROR",d)},isErrorEnabled:function(){return e.priority("ERROR")>=e.priority(this.rf)},warn:function(d){this.isWarnEnabled()&&this.Ug.dispatchLog(this.rg,"WARN",
d)},isWarnEnabled:function(){return e.priority("WARN")>=e.priority(this.rf)},info:function(d){this.isInfoEnabled()&&this.Ug.dispatchLog(this.rg,"INFO",d)},isInfoEnabled:function(){return e.priority("INFO")>=e.priority(this.rf)},debug:function(d){this.isDebugEnabled()&&this.Ug.dispatchLog(this.rg,"DEBUG",d)},isDebugEnabled:function(){return e.priority("DEBUG")>=e.priority(this.rf)},setLevel:function(d){this.rf=e.priority(d)?d:"DEBUG"}};g.prototype.fatal=g.prototype.fatal;g.prototype.isFatalEnabled=
g.prototype.isFatalEnabled;g.prototype.error=g.prototype.error;g.prototype.isErrorEnabled=g.prototype.isErrorEnabled;g.prototype.warn=g.prototype.warn;g.prototype.isWarnEnabled=g.prototype.isWarnEnabled;g.prototype.info=g.prototype.info;g.prototype.isInfoEnabled=g.prototype.isInfoEnabled;g.prototype.debug=g.prototype.debug;g.prototype.isDebugEnabled=g.prototype.isDebugEnabled;g.prototype.setLevel=g.prototype.setLevel;return g});
define("SimpleLoggerProvider",["SimpleLogger","SimpleLogLevels"],function(e,g){function d(){this.Oa=[];this.mf={}}d.prototype={fj:function(){var c=100,b=0;if(0a&&(f+="0");f=f+a+":";a=e.getMinutes();10>a&&(f+="0");f+=a;f+=":";a=e.getSeconds();10>a&&(f+="0");f+=a;f+=",";f+=e.getMilliseconds();a=g.priority(b);for(e=0;e=a)return new Number(a);a=a.toUpperCase();if(q[a])return q[a];n.warn("A hexadecimal number must contain numbers between 0 and 9 and letters between A and F. An invalid value was specified, will be ignored");return null}function f(a){var b=0,c=0,d;for(d=a.length;1<=d;d--){var e=h(a.substring(d-1,d));if(null==e)return null;var f;for(f=1;f<=c;f++)e*=16;c++;b+=e}return b}function a(a){if(a.indexOf("%")==a.length-1){a=parseFloat(a.substring(0,
a.length-1));if(100a)return n.warn("A RGB element must be a number \x3e\x3d0 and \x3c\x3d255 or a percentile \x3e\x3d0 and \x3c\x3d100. An invalid value was specified, will be ignored"),null;a*=2.55}return a}function l(a,b){return a&&""!=a?b?a!=b?!0:!1:!0:!1}function m(a){var b=document.createElement("DIV");b.style.backgroundColor=a;var c=r.Pg(b,p,a);if(255==c[0]&&255==c[1]&&255==c[2]&&"WHITE"!=a.toUpperCase()){var d=document.getElementsByTagName("BODY")[0];d&&(d.appendChild(b),c=r.Pg(b,p,a),
d.removeChild(b))}t[a]=c;return t[a]}function k(a){var e="";if(t[a])return t[a];if(d.isProbablyIE())try{if(u=c.getFrameWindow("weswit__ColorFrame",!0))u.document.bgColor=a,e=u.document.bgColor}catch(f){e=null}else return m(a);if(!e||e==a){var g=document.bgColor;document.bgColor=a;e=document.bgColor;document.bgColor=g}if(!e||e==a)return m(a);t[a]=b(e);return t[a]}e.browserDocumentOrDie();var n=g.getLoggerProxy("lightstreamer.grids"),q={A:10,B:11,C:12,D:13,E:14,F:15},p="backgroundColor",t={},u=null,
r={Kn:function(c){if(0==c.indexOf("rgb"))a:{var d,e;if(0==c.indexOf("rgb("))d=4,e=")";else if(0==c.indexOf("rgba("))d=5,e=",";else{n.warn("A RGB color value must be in the form 'rgb(x, y, z)' or 'rgba(x, y, z, a)'. An invalid value was specified, will be ignored");c=null;break a}c=c.substring(d,c.length);var f=c.indexOf(",");d=a(c.substring(0,f));var g=c.indexOf(",",f+1),f=a(c.substring(f+1,g));c=a(c.substring(g+1,c.indexOf(e,g+1)));c=null==d||null==f||null==c?null:[d,f,c]}else c=0==c.indexOf("#")?
b(c):k(c);return c},Pg:function(a,b,c){if(null==a)return[255,255,255];var d="";try{if(window.getComputedStyle||document.defaultView&&document.defaultView.getComputedStyle){var e=document.defaultView.getComputedStyle(a,null);if(e)var f=b==p?"background-color":b,d=e.getPropertyValue(f)}}catch(g){}try{!l(d,c)&&a.currentStyle&&(f="background-color"==b?p:b,d=a.currentStyle[f])}catch(g){}try{if(!l(d,c))if(e="background-color"==b?p:b,""!=a.style[e])d=a.style[e];else return[255,255,255]}catch(g){}return"transparent"==
d&&a.parentNode?this.Pg(a.parentNode,b):"transparent"==d?[255,255,255]:l(d,c)?this.Kn(d):[255,255,255]}};return r});
define("FadersHandler",["ColorConverter","Executor","Helpers","Cell","Environment"],function(e,g,d,c,b){function h(a,b,c,d,e,f,g){this.Hc(a,b,c,d,e,f,g)}function f(){this.length=0;this.Hr={}}function a(a){this.ed=a;this.Fi=new f;this.Jp=0;this.Re={};this.zi=!1;this.Qc={}}function l(a){return function(){a.style.backgroundColor="transparent"}}b.browserDocumentOrDie();a.prototype={lq:function(a,b,c,d,e,f){e=this.aw(e);var g=a.em();if(g){var r=this.Fi.get();if(null==r)return this.Re[this.Jp]=new h(a,
b,c,d,e,g,f),this.Jp++;this.Re[r].Hc(a,b,c,d,e,g,f);return r}},aw:function(a){a/=this.ed;return 1h.Ca)this.Fi.put(f),delete this.Qc[e],h.Pe&&g.addPackedTimedTask(h.Pe,0);else{f=h.wc.Kg();if(!f){this.$j(h.wc);continue}if("transparent"==h.Oe)try{f.style.backgroundColor="rgba("+h.Qf[0]+","+h.Qf[1]+","+h.Qf[2]+","+this.Nd(100,0,h.Ca,h.xa)/100+")"}catch(r){var u=(h.Ca-h.xa)*this.ed;g.addTimedTask(l(f),u);h.Pe&&g.addPackedTimedTask(h.Pe,u);this.$j(h.wc);continue}else h.Oe&&
(f.style.backgroundColor="rgb("+this.Nd(h.Qf[0],h.Oe[0],h.Ca,h.xa)+","+this.Nd(h.Qf[1],h.Oe[1],h.Ca,h.xa)+","+this.Nd(h.Qf[2],h.Oe[2],h.Ca,h.xa)+")");h.Eg&&(f.style.color="rgb("+this.Nd(h.vn[0],h.Eg[0],h.Ca,h.xa)+","+this.Nd(h.vn[1],h.Eg[1],h.Ca,h.xa)+","+this.Nd(h.vn[2],h.Eg[2],h.Ca,h.xa)+")");a=!0}h.xa++}a?(e=d.getTimeStamp(),b=e-b+c,b>this.ed&&(c=b/this.ed,b=Math.floor(c),c-=b,this.dz(b),b=this.ed*c),this.cr(this.ed-b,e)):this.zi=!1},cr:function(a,b){g.addTimedTask(this.Vu,a,this,[b])},dz:function(a){for(var b in this.Qc){var c=
this.Re[this.Qc[b]];c.xa>c.Ca||(c.xa=c.xa+a=this.length)return null;this.length--;return this.Hr[this.length]}};h.prototype={Hc:function(a,b,c,d,f,g,h){this.Pe=h?h:null;this.xq=b;this.wc=a;this.Oe=""===c||"transparent"==c?"transparent":c?e.Kn(c):null;this.Eg=
d?e.Kn(d):null;this.Ca=f;this.a=g;this.xa=0}};return a});define("LightstreamerConstants",[],function(){return{CONNECTING:"CONNECTING",Ea:"CONNECTED:",cg:"STREAM-SENSING",fg:"WS-STREAMING",se:"HTTP-STREAMING",we:"STALLED",ye:"WS-POLLING",Xc:"HTTP-POLLING",Ub:"DISCONNECTED",eg:"DISCONNECTED:WILL-RETRY",uk:"WS",Ph:"HTTP",rk:"RAW",mk:"DISTINCT",Zf:"COMMAND",qk:"MERGE"}});
define("AbstractWidget","Inheritance Matrix LoggerManager Setter EventDispatcher IllegalStateException LightstreamerConstants DoubleKeyMatrix".split(" "),function(e,g,d,c,b,h,f,a){function l(b){this._callSuperConstructor(l);this.kind="ITEM_IS_KEY";this.hl=this.Yi=null;this.Vc=0;this.Il=null;this.values=new g;this.parsed=!1;this.id=b;this.useSynchEvents(!0);this.ap=this.$o=!1;this.$h=0;this.nf=null;this.Nl=!1;this.xd=null;this.ak=[];this.Db=[];this.Gg={};this.Cc=this.Bi=0;this.Xi=new a}var m=d.getLoggerProxy("lightstreamer.grids");
l.jo="ITEM_IS_KEY";l.qt="UPDATE_IS_KEY";l.prototype={fa:function(){return this.id},Xk:function(){if(!this.parsed)throw new h("Please parse html before calling this method");},onItemUpdate:function(a){var b=a.Yl(),c=a.Ii();this.Vc++;var c=null==b?c:b,b=this.Cx()?c:this.wa()?this.Vc:c+" "+a.getValue(this.Yi),d={};this.wa()?a.Np(this.$p(d)):a.forEachChangedField(this.$p(d));this.Rq()&&"DELETE"==d[this.hl]?this.removeRow(b):(this.updateRow(b,d),this.Xi.insert(!0,c,b))},onClearSnapshot:function(a,b){var c=
null==a?b:a,d=this.Xi.getRow(c);this.Xi.delRow(c);for(var e in d)this.removeRow(e)},onSubscription:function(){0==this.$h&&this.$o&&this.clean();this.Rq()&&!this.Yi&&(this.Yi=this.nf.iq(),this.hl=this.nf.Tp());this.$h++},onUnsubscription:function(){this.$h--;0==this.$h&&this.ap&&this.clean()},onListenStart:function(a){this.nf||(this.nf=a,this.Nl||this.Xo());if(a.im())this.onSubscription()},onListenEnd:function(a){if(a.im())this.onUnsubscription()},Xo:function(){if(this.nf){var a=this.nf;if(a.Ki()==
f.qk||a.Ki()==f.rk)this.kind="ITEM_IS_KEY";else if(a.Ki()==f.mk)this.kind="UPDATE_IS_KEY";else{this.kind="KEY_IS_KEY";try{a.Yp(),this.Yi="key",this.hl="command"}catch(b){}}}else this.kind="ITEM_IS_KEY"},$p:function(a){var b=this;return function(c,d,e){null===b.Il&&(b.Il=null==c);a[b.Il?d:c]=e}},Cx:function(){return"ITEM_IS_KEY"==this.kind},wa:function(){return"UPDATE_IS_KEY"==this.kind},Rq:function(){return"KEY_IS_KEY"==this.kind},nq:function(){return this.Cc>=this.Db.length?null:this.Db[this.Cc]},
Xr:function(a){var b=this.Gg[a];delete this.Gg[a];this.Db[b]=null;this.Bi++;if(b==this.Cc){for(;null===this.Db[this.Cc]&&this.Cc=this.Db.length){this.Db=[];this.Gg={};this.Cc=this.Bi=0;return}}if(100<=this.Bi)for(this.Gg={},a=this.Db,this.Db=[],b=this.Bi=this.Cc=0;bb:a=this.fk.length},reset:function(){this.Zu();this.parent.al(this)},bn:function(){f.logDebug(e.resolve(407),this);var a=this.fk,b=this.Xn;for(this.reset();0=this.parent.Ya||a[0]>=this.parent.Ya)&&this.Co(a[0],b[0]),a.shift(),b.shift();f.logDebug(e.resolve(408),this)},Co:function(a,b){this.fk.push(a);this.Xn.push(b);this.parent.Yu(a,b,this)},gi:function(){this.hk=(this.Tb-this.tb)/this.parent.screenY;f.logDebug(e.resolve(409),
this,this.hk)},jm:function(){return null!==this.Tb},isPointInRange:function(a){return athis.tb},bh:function(){this.ug();var a="",b=-1;if(!(0>=this.wf)){0this.Tb)throw new b("The maximum value must be greater than the minimum value");this.parent&&null!=this.parent.screenY&&this.parent.L&&(this.gi(),this.bh(),
this.isEmpty()||this.bn());f.logDebug(e.resolve(414),this)},Jw:function(){return this.iB}};h.prototype.setYLabels=h.prototype.rA;h.prototype.setStyle=h.prototype.setStyle;h.prototype.positionYAxis=h.prototype.Kr;h.prototype.getYField=h.prototype.Jw;d(h,g,"O");return h});
define("ChartPainter",["Cell","ASSERT"],function(e){function g(b,c){this.$a=b;this.Kb=this.cb=null;this.L=c;this.he=[]}function d(b,c){this.$a=b;this.Kb=this.cb=null;this.L=c;this.bd=this.ac=null}function c(b){var c=!1;if(!b)try{document.createElement("canvas").getContext&&(c=!0)}catch(d){}this.ZA=c;this.za;this.jd={}}c.prototype={Lz:function(b){this.za=document.createElement("div");this.za.style.position="absolute";this.za.style.overflow="hidden";b.appendChild(this.za)},clean:function(){this.za&&
e.hd(this.za)&&this.za.parentNode.removeChild(this.za)},sd:function(b,c){this.za.style.width=b+"px";this.za.style.height=c+"px";this.ng=c;this.Xt=b},Yz:function(b,c){this.za.style.top=c+"px";this.za.style.left=b+"px"},Fz:function(b){this.za.className=b},St:function(b){this.jd[b.fa()]=this.ZA?new d(b,this):new g(b,this)},jz:function(b){b=b.fa();this.jd[b]&&(this.jd[b].remove(),delete this.jd[b])},al:function(b){b=b.fa();this.jd[b]&&this.jd[b].clear()},Uy:function(b,c,d){var a=b.fa();this.jd[a]||this.St(b);
this.jd[a].xp(c,d)}};d.prototype={Rw:function(){if(!this.bd){var b=document.createElement("canvas");b.style.position="absolute";b.style.overflow="hidden";var c=b.getContext("2d");this.L.za.appendChild(b);this.bd=b;this.ac=c}this.bd.width=this.L.Xt;this.bd.height=this.L.ng},xp:function(b,c){c=this.L.ng-c;null===this.cb?this.Rw():(this.ac.beginPath(),this.ac.strokeStyle=this.$a.om,this.ac.lineWidth=this.$a.$i,this.ac.moveTo(this.cb,this.Kb),this.ac.lineTo(b,c),this.ac.stroke());this.xl(b,c)},xl:function(b,
c){this.cb=b;this.Kb=c;var d=Math.round(this.$a.Ff/2);this.ac.fillStyle=this.$a.Sm;this.ac.fillRect(b-d,c-d,this.$a.Ff,this.$a.Ff)},clear:function(){this.Kb=this.cb=null;this.ac.clearRect(0,0,this.bd.width,this.bd.height)},remove:function(){this.Kb=this.cb=null;this.L.za.removeChild(this.bd);this.bd=null}};g.prototype={xp:function(b,c){if(null!==this.cb){var d=b-this.cb,a=c-this.Kb,e=Math.abs(d),g=Math.abs(a),k=null,n=0,q=0,p=0;e>=g?(p=a/d,n=d,q=0<=d?1:-1):(p=d/a,n=a,q=0<=a?1:-1);var a=d=0,t=null,
u=null,r=!0,B=!0;eq&&(g-=w)}}else if(g=Math.round(p*e+this.cb),y=Math.round(this.L.ng-(e+this.Kb)),!w){for(w=0;e+q!=n-q&&g==Math.round(p*(e+q)+this.cb);)e+=q,w++;w*=u;A=a+w;0=this.vf)){0this.ib&&this.dispatchEvent("onXOverflow",[a,c,this.Ya,this.ib]);for(var e in this.Z){var g=this.Er(a,b,e,this.Yn[e]);if(!isNaN(g)){var h=this.Z[e][a];if(null==
c||null==g)h&&null==c&&null==g?(n.logInfo(d.resolve(418),this,h),h.reset()):n.logDebug(d.resolve(429),this,h);else{if(!h){h=new f(a,this,this.Vn,e);this.dispatchEvent("onNewLine",[a,h,c,g]);if(!h.jm()){n.logError(d.resolve(416),this);break}h.gi();h.bh();this.Z[e][a]=h}h.isPointInRange(g)||this.dispatchEvent("onYOverflow",[a,h,g,h.tb,h.Tb]);h.Co(c,g)}}}}},removeRowExecution:function(a){for(var b in this.Z)this.qp(a,b)},qp:function(a,b){if(this.Z[b]){var c=this.Z[b][a];c.reset();c.ug();this.L.jz(c);
delete this.Z[b][a];this.dispatchEvent("onRemovedLine",[a,c]);n.logDebug(d.resolve(430),this,a,b)}},clean:function(){this._callSuperMethod(k,"clean");this.ug();this.L&&this.L.clean();delete this.L;this.ss(this.Fe.parentNode,!0);n.logDebug(d.resolve(431),this)},parseHtml:function(){n.logInfo(d.resolve(419),this);var a=document.getElementById(this.id);if(a){if(!g.Ws(a))throw new l("A DOM element must be provided as an anchor for the chart");this.ss(a);this.parsed=!0}},configureArea:function(a,b,c,d,
e){a&&(this.Jo=a);d&&(this.offsetY=this.checkPositiveNumber(d,!0));e&&(this.offsetX=this.checkPositiveNumber(e,!0));b&&(this.screenY=this.checkPositiveNumber(b,!0));c&&(this.screenX=this.checkPositiveNumber(c,!0));this.hp();if(c||b){c&&null!=this.ib&&(this.Lk(),this.tj());for(var f in this.Z)for(var g in this.Z[f])(a=this.Z[f][g])&&a.jm()&&null!=this.ib&&(b&&(a.gi(),a.bh()),a&&!a.isEmpty()&&a.bn())}},setXAxis:function(a,b){this.Vn=a;this.at=b;this.clean();n.logDebug(d.resolve(432),a,this)},addYAxis:function(a,
c){if(b.isArray(a)){n.logDebug(d.resolve(433),this);for(var e=0;ethis.ib)throw new m("The maximum value must be greater than the minimum value");null!=this.screenX&&(this.Lk(),this.tj());this.oz();n.logDebug(d.resolve(437),this)},setXLabels:function(a,b,c){this.vf=this.checkPositiveNumber(a,!0);this.Yk=b;this.Ha=c||null;null!=this.gk&&this.tj();n.logDebug(d.resolve(438),this)},addListener:function(a){this._callSuperMethod(k,"addListener",[a])},removeListener:function(a){this._callSuperMethod(k,
"removeListener",[a])},getListeners:function(){return this._callSuperMethod(k,"getListeners")}};k.prototype.parseHtml=k.prototype.parseHtml;k.prototype.configureArea=k.prototype.configureArea;k.prototype.setXAxis=k.prototype.setXAxis;k.prototype.addYAxis=k.prototype.addYAxis;k.prototype.removeYAxis=k.prototype.removeYAxis;k.prototype.positionXAxis=k.prototype.positionXAxis;k.prototype.setXLabels=k.prototype.setXLabels;k.prototype.addListener=k.prototype.addListener;k.prototype.removeListener=k.prototype.removeListener;
k.prototype.getListeners=k.prototype.getListeners;k.prototype.clean=k.prototype.clean;k.prototype.onListenStart=k.prototype.onListenStart;k.prototype.updateRowExecution=k.prototype.updateRowExecution;k.prototype.removeRowExecution=k.prototype.removeRowExecution;c(k,e);return k});
define("DynaElement",["Cell"],function(e){function g(d,c){this.key=d;this.Pm=c;this.node=this.tf=null;this.id="hc6|"+c.fa()+"|"+d}g.prototype={Rj:function(d){this.tf=d},km:function(){this.tf&&this.tf.removeChild(this)},Wi:function(d){return this.tf==d},getKey:function(){return this.key},fa:function(){return this.id},element:function(){if(null!=this.node)return this.node;this.node=this.Pm.Dw();this.node.setAttribute("id",this.id);for(var d=e.Ji(this.node,this.Pm.getNodeTypes()),c=0;c=this.length)){this.length--;delete this.Ta[c.fa()];var b=c.element();b==this.Uf&&(this.Uf=b.nextSibling);this.dd.removeChild(b);c.Rj(null)}},insertBefore:function(c,b){b!=c&&c&&(b?null==this.Ta[b.fa()]?this.appendChild(c,!0):(this.Tg(c),this.dd.insertBefore(c.element(),b.element())):
this.appendChild(c,!0))},appendChild:function(c,b){if(c){this.Tg(c);var d=c.element();b?(this.Uf||(this.Uf=d),this.Hh?this.dd.insertBefore(d,this.Hh):this.dd.appendChild(d)):(this.dd.insertBefore(d,this.Uf),this.Uf=d)}},Tg:function(c){c.Wi(this)||(this.length++,this.Ta[c.fa()]=c,c.km(),c.Rj(this))},Eb:function(c){if(this.length<=c)return null;c+=this.ky;c=this.dd.childNodes[c].getAttribute("id");return this.getElementById(c)},getElementById:function(c){return this.Ta[c]},clean:function(){this.dd&&
delete this.dd;this.Hh&&delete this.Hh;for(var c in this.Ta)this.Ta[c].clean()}};g(d,e);return d});
define("InvisibleParent",["AbstractParent","Inheritance"],function(e,g){function d(){this._callSuperConstructor(d);this.Cr=!1;this.Hc()}d.prototype={removeChild:function(c){if(!(0>=this.length)){this.length--;var b;for(b=this.Ta[c.fa()];b=d+1;e--)this.map[e]=this.map[e-1],this.Ta[this.map[e].fa()]=e;this.Tg(c,d)}else this.appendChild(c,!0)},appendChild:function(c,b){c&&(c.km(),b||0==this.length?this.Tg(c,this.length):this.insertBefore(c,this.map[0]))},Tg:function(c,b){this.length++;this.Ta[c.fa()]=b;this.map[b]=c;c.Rj(this)},Eb:function(c){return this.map[c]},getElementById:function(c){return this.map[this.Ta[c]]},clean:function(){for(var c=0;c=b.length)throw new l("No valid cells defined for grid");return!0},$y:function(){if(!("ELEMENT"!=this.Hd||this.ad&&this.ad.appendChild)){var a=document.getElementById(this.ad);a?this.ad=a:(t.logError(k.resolve(440),this),this.Hd="OFF")}},Dq:function(){this.fb=this.jc=this.aa=this.Hn=this.cl=null;this.oi={}},Dw:function(){return this.Hn.cloneNode(!0)},
xy:function(a,b,c){this.O.addCell(a,b,c)},clean:function(){this._callSuperMethod(p,"clean")},eB:function(){if("OFF"==this.Hd)return!1;if(this.wa()){var a="ELEMENT"==this.Hd?this.ad:document.body;return this.tc?0==a.scrollTop:f.isProbablyOldOpera()?!0:1>=Math.abs(a.clientHeight+a.scrollTop-a.scrollHeight)}return!0},iw:function(a){var b="PAGE"==this.Hd?document.body:this.ad;return this.wa()?this.tc?0:b.scrollHeight-b.clientHeight:a.offsetTop-b.offsetTop},Ru:function(a){t.isDebugLogEnabled()&&t.logDebug(k.resolve(442),
this,a);"PAGE"==this.Hd?window.scrollTo(0,a):this.ad.scrollTop=a},Wj:function(){for(var a=this.u,c=new b,d=1;0=this.j||this.l<=this.j*this.Pc?this.aa.appendChild(a,!0):this.jc.appendChild(a,!0)},Uo:function(a){if(!(0>=this.l)){if(this.Pc>=a)for(;this.Ah(this.fb,this.aa,(a-1)*this.j);)this.Ah(this.aa,this.jc,this.j);else for(;this.fd(this.aa,this.fb,(a-1)*this.j,
!1);)this.fd(this.jc,this.aa,this.j,!1);this.Pc=a}},Mk:function(){t.isDebugLogEnabled()&&t.logDebug(k.resolve(443),this);var a=0,a=0>=this.j?1:Math.ceil(this.l/this.j);this.yg!=a&&(this.yg=a,this.dispatchEvent("onCurrentPagesChanged",[this.yg]));return a},removeRowExecution:function(a){var b=this.oi[a];if(b){this.l--;this.Mk();var c=!1,d=this.fb,e=this.jc;this.dispatchEvent("onVisualUpdate",[a,null,b.element()]);this.wa()&&this.tc&&null==this.u&&(c=this.tc,d=this.jc,e=this.fb);b.Wi(this.aa)?(this.aa.removeChild(b),
this.fd(e,this.aa,this.j,c)):b.Wi(e)?e.removeChild(b):(this.fb.removeChild(b),this.fd(this.aa,d,this.j*(this.Pc-1),c)&&this.fd(e,this.aa,this.j,c));this.O.delRow(a);delete this.oi[a]}},updateRowExecution:function(a,b){var c=!1,d=this.oi[a];d||(d=new h(a,this),this.oi[a]=d,d.element());n.verifyOk(d);this.Jl(a,b);var e=this.ul(a,b,d),f=this.eB(),g=!this.values.getRow(a),k=null!=this.u?this.eb(this.values.get(a,this.u)):null,l=null!=this.u?this.eb(b[this.u]):null,m=k==l||!b[this.u]&&null!==b[this.u];
null!=this.u&&0==m?(k=this.Nk(d,k,l),this.Yw(k,d),g&&(this.l++,c=!0)):g&&(this.Io(d,!this.tc),this.l++,c=!0);this.Xs(a,e);this.xd=null;g&&this.wa()&&this.Wq();f&&d.Wi(this.aa)&&(d=this.iw(d.element()),this.Ru(d));c&&this.Mk()},ul:function(b,c,d){this.zg=b;this.Ag=c;c=new a(this.O,c,b);this.dispatchEvent("onVisualUpdate",[b,c,d.element()]);this.Ag=this.zg=null;return c},Nk:function(a,b,c){for(var d=1,e=this.l,f=-1;dthis.l||0>=a)return null;if(a<=this.fb.length)return this.fb.Eb(a-1);a-=this.fb.length;if(a<=this.aa.length)return this.aa.Eb(a-1);a-=this.aa.length;return this.jc.Eb(a-1)},Io:function(a,b){var c=b?this.fb:this.jc,d=b?this.jc:this.fb;if(0this.l+1||0>=a)&&b!=this.Ng(a)){var c=b.tf,d,e=this.aa,f=this.jc,g=this.fb,h=this.Ng(a);null==h?d=this.Io(b,!0):(d=h.tf,d.insertBefore(b,h));d==e?c&&c!=f?c==g&&this.fd(e,g,this.j*(this.Pc-1),!1):this.Ah(e,f,this.j):d==g?c!=g&&this.Ah(g,e,this.j*(this.Pc-1))&&this.Ah(e,f,this.j):d==f&&(c==g&&this.fd(e,g,this.j*(this.Pc-1),!1),this.fd(f,e,this.j,!1))}},fd:function(a,b,c,d){return 0>=this.j?!1:b.length=this.j?!1:a.length>c?(a=a.Eb(a.length-1),b.insertBefore(a,b.Eb(0)),!0):!1},Wq:function(){for(;0this.j;)this.removeRow(this.nq())},addListener:function(a){this._callSuperMethod(p,"addListener",[a])},removeListener:function(a){this._callSuperMethod(p,"removeListener",[a])},getListeners:function(){return this._callSuperMethod(p,"getListeners")}};p.prototype.setMaxDynaRows=p.prototype.setMaxDynaRows;p.prototype.getMaxDynaRows=
p.prototype.getMaxDynaRows;p.prototype.goToPage=p.prototype.goToPage;p.prototype.getCurrentPages=p.prototype.getCurrentPages;p.prototype.setAutoScroll=p.prototype.setAutoScroll;p.prototype.parseHtml=p.prototype.parseHtml;p.prototype.clean=p.prototype.clean;p.prototype.addListener=p.prototype.addListener;p.prototype.removeListener=p.prototype.removeListener;p.prototype.getListeners=p.prototype.getListeners;p.prototype.updateRowExecution=p.prototype.updateRowExecution;p.prototype.removeRowExecution=
p.prototype.removeRowExecution;e(p,g);return p});
define("SimpleChartListener",["List"],function(e){function g(d,c){this.hB=d||60;c=(c||20)/100;this.Ux=1+c;this.Fx=1-c;this.$l=new e;this.sf;this.pf}g.prototype={onListenStart:function(d){this.Vo=d},onYOverflow:function(d,c,b,e,f){d=(f-e)/2;b>f?(f+=d,b>f&&(f=b),this.pf=f,this.Pn(e,f)):be&&(d=(e+b)/2,this.Vo.positionXAxis(d,d+(e-b)))},onNewLine:function(d,c,b,e){this.Vo.positionXAxis(b,b+this.hB);d=e*this.Fx;e*=this.Ux;this.$l.add(c);
this.sf=null!==this.sf&&this.sf<=d?this.sf:d;this.pf=null!==this.pf&&this.pf>=e?this.pf:e;this.Pn(this.sf,this.pf)},onRemovedLine:function(d,c){this.$l.remove(c)},Pn:function(d,c){this.$l.forEach(function(b){b.Kr(d,c)})}};g.prototype.onListenStart=g.prototype.onListenStart;g.prototype.onYOverflow=g.prototype.onYOverflow;g.prototype.onXOverflow=g.prototype.onXOverflow;g.prototype.onNewLine=g.prototype.onNewLine;g.prototype.onRemovedLine=g.prototype.onRemovedLine;return g});
define("SlidingCell",[],function(){function e(d,c,b,e,f){this.Sy=d;this.key=c;this.nv=b;this.Lb=e||null;this.hr=f;this.sg="s"+g++}var g=0;e.prototype={Jg:function(){var d=this.Sy.Fv(this.key,this.nv,this.Lb);if(!d)return null;if(d.ka){if(this.Lb===d.Fb()&&0>=this.hr)return d}else for(var c=-1,b=0;bthis.j?e:this.j);b[d].We()&&(this.O.Wt(b[d])||this.O.addCell(b[d]))}}if(this.O.isEmpty())throw new a("Please specify at least one cell");},il:function(a){var b={};this.O.rv(function(c,d,e){c.Xp()==a&&(b[e]=!0)});return b},Bu:function(){var a={};this.O.forEachRow(function(b){a[b]=!0});return a},updateRowExecution:function(a,b){var c=!this.values.getRow(a),d;if(this.Rb)d=a;else{d=null!=this.u?this.eb(this.values.get(a,this.u)):null;var e=null!=this.u?this.eb(b[this.u]):null,f=d==
e||"undefined"==typeof b[this.u];d=null!=this.u&&0==f?this.Nk(a,d,e):c?this.tc?1:this.wa()?this.l==this.j?this.l:this.l+1:this.l+1:this.U.get(a);this.wa()&&this.j==this.l&&c&&null!=this.u&&(c=this.js(this.nq()),cthis.j&&!this.O.getRow(d)&&(c=this.O.getRow(d-1),c=h.Kf(c,null,this.Da),this.O.insertRow(c,d));this.Jl(d,b);c=this.ul(a,d,b);this.Xs(d,c,a)},ul:function(a,
b,c){this.zg=b;this.Ag=c;c=new d(this.O,c,b);this.dispatchEvent("onVisualUpdate",[a,c,b]);this.Ag=this.zg=null;return c},uq:function(a,c,d,e,f){return this.Rb?a:new b(this,c,d,e,f)},Fv:function(a,b,c){a=this.U.get(a);return this.O.Ve(a,b,c)},removeRowExecution:function(a){var b=this.Rb?a:this.U.get(a);this.dispatchEvent("onVisualUpdate",[a,null,b]);this.Rb||(b!=this.l&&(this.Zq(this.l,a),b=this.U.get(a)),m.verifyValue(this.l,b)||u.logError(k.resolve(444)));this.O.Mp(b,function(a){a.clean()});this.l--;
this.Rb||this.U.remove(a)},js:function(a){var b=this.U.get(a);this.U.remove(a);this.l--;this.values.delRow(a);this.wa()&&this.Xr(a);return b},Zq:function(a,b){var c=this.U.get(b);if(a!=c){var d=c?h.Kf(this.O.getRow(c),null,this.Da):null,e=c?this.U.getReverse(c):null,f,g,k;c?c>a?(g=c-1,k=a,f=-1):(g=c+1,k=a,f=1):null!=this.u||this.tc?(k=a,g=this.l,f=-1):(g=1,k=a,f=1);for(var l=g;l-f!=k;l+=f){var n=l-f,p=this.O.getRow(l),q=this.O.getRow(n);q||this.wa()||(q={},this.O.insertRow(q,n),m.verifyNotOk(c));
q?(h.Kf(p,q,this.Da),p=this.U.getReverse(l),this.U.set(p,n)):(m.verifyOk(this.wa()),m.verifyValue(l,g),p=this.U.getReverse(l),this.js(p))}d?(h.Kf(d,this.O.getRow(a),this.Da),this.U.set(e,a)):this.O.Mp(a,function(a){a.clean()})}},Nk:function(a,b,c){for(var d=1,e=this.l,f=-1;d=this.Yy?this.ah=0:this.ah++}window.status=c},FA:function(){this.ki&&(g.stopRepetitiveTask(this.ki),window.status="")},yA:function(){this.ki||(this.ki=g.addRepetitiveTask(this.onStatusChange,this.RA,this))},onListenStart:function(a){this.yA();this.onStatusChange(a.Gb())},
onListenEnd:function(){this.FA()}};c.prototype.onStatusChange=c.prototype.onStatusChange;c.prototype.onListenStart=c.prototype.onListenStart;c.prototype.onListenEnd=c.prototype.onListenEnd;return c});
define("StatusImageWidget",["Environment"],function(e){function g(c,b,e){c=c||"";this.Ui=b||null;if(this.dj=e||null)this.dj.innerHTML="DISCONNECTED";if(this.Ui){this.Wm={};for(var f in d)b=new Image,b.src=c+d[f],this.Wm[f]=b;this.ql=this.Wm.DISCONNECTED;this.Ui.appendChild(this.ql)}}e.browserDocumentOrDie();var d={CONNECTING:"connecting.png","CONNECTED:STREAM-SENSING":"stream_sense.png","CONNECTED:WS-STREAMING":"ws_streaming.png","CONNECTED:HTTP-STREAMING":"http_streaming.png","CONNECTED:WS-POLLING":"ws_polling.png",
"CONNECTED:HTTP-POLLING":"http_polling.png",STALLED:"stalled.png",DISCONNECTED:"disconnected.png","DISCONNECTED:WILL-RETRY":"willretry.png"};g.prototype={onStatusChange:function(c){this.dj&&(this.dj.innerHTML=c);this.Ui&&(c=this.Wm[c],this.Ui.replaceChild(c,this.ql),this.ql=c)}};g.prototype.onStatusChange=g.prototype.onStatusChange;return g});
define("StatusWidget","Environment IllegalArgumentException Helpers LightstreamerConstants Executor BrowserDetection".split(" "),function(e,g,d,c,b,h){function f(a,c,e,f){if(!q){this.ready=!1;this.Ic=this.Kk=null;a=a||"left";if(!B[a])throw new g("The given value is not valid. Admitted values are no, left and right");f=f||"closed";if(!y[f])throw new g("The given value is not valid. Admitted values are open, closed and dyna");var h=e?c:"auto";e=e?"auto":c;this.hb=k("div");c=k("div");this.gb=k("div");
m(this.hb,{zIndex:"99999"});m(c,{width:"42px",height:"42px",opacity:"0.95",filter:"alpha(opacity\x3d95)",backgroundColor:"#135656",zIndex:"99999",position:"relative"});m(this.gb,{width:"245px",height:"42px",backgroundColor:"#ECE981",fontFamily:"'Open Sans',Arial,sans-serif",fontSize:"11px",color:"#3E5B3E",position:"absolute",zIndex:"99998",visibility:"hidden",opacity:"0",filter:"alpha(opacity\x3d0)",transition:"all 0.5s",MozTransition:"all 0.5s","-webkit-transition":"all 0.5s",OTransition:"all 0.5s",
"-ms-transition":"all 0.5s"});"no"==a?(m(this.hb,{position:"absolute"}),m(c,{borderRadius:"4px","float":"left"}),m(this.gb,{borderTopRightRadius:"4px",borderBottomRightRadius:"4px",left:"38px"})):(m(this.hb,{position:"fixed",top:h,bottom:e}),"left"==a?(m(this.hb,{left:"0px"}),m(c,{borderTopRightRadius:"4px",borderBottomRightRadius:"4px","float":"left"}),m(this.gb,{borderTopRightRadius:"4px",borderBottomRightRadius:"4px",left:"38px"})):(m(this.hb,{right:"0px"}),m(c,{borderTopLeftRadius:"4px",borderBottomLeftRadius:"4px",
"float":"right"}),m(this.gb,{borderTopLeftRadius:"4px",borderBottomLeftRadius:"4px",right:"38px"})));this.hb.appendChild(c);this.hb.appendChild(this.gb);a=k("div");m(a,{position:"absolute",top:"2px",left:"5px",width:"32px",height:"32px"});c.appendChild(a);this.Sw(a);this.WA=new n(c,1);this.GA=new n(c,2);this.Lx=new n(c,3);this.rl=k("div");m(this.rl,{position:"absolute",top:"7px",left:"13px"});this.gb.appendChild(this.rl);this.statusText=k("div");m(this.statusText,{position:"absolute",top:"21px",left:"13px"});
this.gb.appendChild(this.statusText);this.Qb(w,w,w,"Ready","DATA STREAMING",this.Hb);this.Bk();this.Md=2;this.pinned=!1;"closed"!=f&&(this.rj(!0),"dyna"==f?b.addTimedTask(this.kq(),1E3):this.pinned=!0);f=this.Ew();d.addEvent(this.gb,"transitionend",f);d.addEvent(this.gb,"webkitTransitionEnd",f);d.addEvent(this.gb,"MSTransitionEnd",f);d.addEvent(this.gb,"oTransitionEnd",f);d.addEvent(this.hb,"click",this.Gv());d.addEvent(this.hb,"mouseover",this.hw());d.addEvent(this.hb,"mouseout",this.kq())}}function a(a){var b=
k("img");b.src=a;m(b,{display:"none"});return b}function l(){for(var a={},b=0;b