(function(){var a="[Class ", b="toString", c="qx.Bootstrap", d="]", e="Class", f="."; qx={Bootstrap:{genericToString:function(){return a+this.classname+d; }, createNamespace:function(g, h){var j=g.split(f); var k=window; var l=j[0]; for(var m=0, n=j.length-1;m=p){return true; }}return false; }, getLength:function(n){var q=0; for(var o in n){q++; }return q; }, _shadowedKeys:[e, m, d, g, c], getKeys:qx.core.Variant.select(h, {"mshtml":function(n){var r=[]; for(var o in n){r.push(o); }for(var q=0, s=this._shadowedKeys, t=s.length;q=1.9&&j.type==d&&j.button==2){return; }j.preventDefault(); try{j.keyCode=0; }catch(j){}}, "mshtml":function(j){try{j.keyCode=0; }catch(j){}j.returnValue=false; }, "default":function(j){j.preventDefault(); }}), stopPropagation:function(j){if(j.stopPropagation){j.stopPropagation(); }j.cancelBubble=true; }}}); })(); (function(){var a="|bubble", b="|capture", c="_", d="unload", e="UNKNOWN_", f="DOM_", g="capture", h="WIN_", j='|', k="qx.event.Manager", m="QX_"; qx.Bootstrap.define(k, {construct:function(n){this.__B=n; this.__C=qx.lang.Function.bind(this.dispose, this); qx.bom.Event.addNativeListener(n, d, this.__C); this.__D={}; this.__E={}; this.__F={}; this.__G={}; }, members:{dispose:function(){qx.bom.Event.removeNativeListener(this.__B, d, this.__C); qx.event.Registration.removeManager(this); this.__D=this.__B=this.__E=this.__F=this.__C=this.__G=null; }, getWindow:function(){return this.__B; }, getHandler:function(o){var p=this.__E[o.classname]; if(p){return p; }return this.__E[o.classname]=new o(this); }, getDispatcher:function(o){var q=this.__F[o.classname]; if(q){return q; }return this.__F[o.classname]=new o(this); }, getListeners:function(r, s, t){var u=qx.core.ObjectRegistry.toHashCode(r); var v=this.__D[u]; if(!v){return null; }var w=s+(t?b:a); var x=v[w]; return x?x.concat():null; }, hasListener:function(r, s, t){{}; var u=qx.core.ObjectRegistry.toHashCode(r); var v=this.__D[u]; if(!v){return false; }var w=s+(t?b:a); var x=v[w]; if(!x){return false; }return x.length>0; }, importListeners:function(r, y){{}; var u=qx.core.ObjectRegistry.toHashCode(r); var v=this.__D[u]={}; for(var z in y){var A=y[z]; var w=A.type+(A.capture?b:a); var x=v[w]; if(!x){x=v[w]=[]; this.__H(r, A.type, A.capture); }x.push({handler:A.listener, context:A.self}); }}, addListener:function(r, s, B, C, t){var D; var u=qx.core.ObjectRegistry.toHashCode(r); var v=this.__D[u]; if(!v){v=this.__D[u]={}; }var w=s+(t?b:a); var x=v[w]; if(!x){x=v[w]=[]; }if(x.length===0){this.__H(r, s, t); }x.push({handler:B, context:C}); }, _findHandler:function(r, s){var E; var F=false; var G=false; var H=false; if(r.nodeType===1){F=true; E=f+r.tagName.toLowerCase()+c+s; }else if(r==this.__B){G=true; E=h+s; }else if(r.classname){H=true; E=m+r.classname+c+s; }else{E=e+r+c+s; }var I=this.__G; if(I[E]){return I[E]; }var J=qx.event.Registration.getHandlers(); var K; for(var L=0, M=J.length;L0){R=w.split(j); s=R[0]; t=R[1]===g; this.__I(r, s, t); }}delete this.__D[u]; return true; }, __I:function(r, s, t){var p=this._findHandler(r, s); if(p){p.unregisterEvent(r, s, t); return; }{}; }, dispatchEvent:function(r, S){var D; var s=S.getType(); if(!S.getBubbles()&&!this.hasListener(r, s)){qx.event.Pool.getInstance().poolObject(S); return true; } if(!S.getTarget()){S.setTarget(r); }var J=qx.event.Registration.getDispatchers(); var K; var T=false; for(var L=0, M=J.length;Lo){o=h[j]; }}return o===undefined?null:o; }, min:function(h){{}; var j, n=h.length, o=h[0]; for(j=1;j=1&&k[1]){return k[1]; }var k=h.toString().match(/(function\s*\(.*?\))/); if(k&&k.length>=1&&k[1]){return d+k[1]; }return c; }, globalEval:function(l){if(window.execScript){return window.execScript(l); }else{return eval.call(window, l); }}, returnTrue:function(){return true; }, returnFalse:function(){return false; }, returnNull:function(){return null; }, returnThis:function(){return this; }, returnZero:function(){return 0; }, create:function(m, n){{}; if(!n){return m; }if(!(n.self||n.args||n.delay!=null||n.periodical!=null||n.attempt)){return m; }return function(o){var g=qx.lang.Array.fromArguments(arguments); if(n.args){g=n.args.concat(g); } if(n.delay||n.periodical){var p=function(){return m.apply(n.self||this, g); }; if(n.delay){return setTimeout(p, n.delay); } if(n.periodical){return setInterval(p, n.periodical); }}else if(n.attempt){var q=false; try{q=m.apply(n.self||this, g); }catch(ex){}return q; }else{return m.apply(n.self||this, g); }}; }, bind:function(m, r, s){return this.create(m, {self:r, args:s!==undefined?qx.lang.Array.fromArguments(arguments, 2):null}); }, curry:function(m, s){return this.create(m, {args:s!==undefined?qx.lang.Array.fromArguments(arguments, 1):null}); }, listener:function(m, r, s){if(s===undefined){return function(o){return m.call(r||this, o||window.event); }; }else{var t=qx.lang.Array.fromArguments(arguments, 2); return function(o){var g=[o||window.event]; g.push.apply(g, t); m.apply(r||this, g); }; }}, attempt:function(m, r, s){return this.create(m, {self:r, attempt:true, args:s!==undefined?qx.lang.Array.fromArguments(arguments, 2):null})(); }, delay:function(m, u, r, s){return this.create(m, {delay:u, self:r, args:s!==undefined?qx.lang.Array.fromArguments(arguments, 3):null})(); }, periodical:function(m, v, r, s){return this.create(m, {periodical:v, self:r, args:s!==undefined?qx.lang.Array.fromArguments(arguments, 3):null})(); }}}); })(); (function(){var c="qx.event.Registration"; qx.Bootstrap.define(c, {statics:{__J:{}, getManager:function(d){if(qx.dom.Node.isWindow(d)){var e=d; }else if(qx.dom.Node.isElement(d)){var e=qx.dom.Node.getWindow(d); }else{var e=window; }var f=qx.core.ObjectRegistry.toHashCode(e); var g=this.__J[f]; if(!g){g=new qx.event.Manager(e); this.__J[f]=g; }return g; }, removeManager:function(h){var f=qx.core.ObjectRegistry.toHashCode(h.getWindow()); delete this.__J[f]; }, addListener:function(d, i, j, k, l){this.getManager(d).addListener(d, i, j, k, l); }, removeListener:function(d, i, j, k, l){this.getManager(d).removeListener(d, i, j, k, l); }, removeAllListeners:function(d){this.getManager(d).removeAllListeners(d); }, hasListener:function(d, i, l){return this.getManager(d).hasListener(d, i, l); }, createEvent:function(i, m, n){{}; if(m==null){m=qx.event.type.Event; }var o=qx.event.Pool.getInstance().getObject(m); if(!o){return; }n?o.init.apply(o, n):o.init(); if(i){o.setType(i); }return o; }, dispatchEvent:function(d, p){return this.getManager(d).dispatchEvent(d, p); }, fireEvent:function(d, i, m, n){var q; var r=this.createEvent(i, m||null, n); return this.getManager(d).dispatchEvent(d, r); }, fireNonBubblingEvent:function(d, i, m, n){{}; var h=this.getManager(d); if(!h.hasListener(d, i, false)){return true; }var r=this.createEvent(i, m||null, n); return h.dispatchEvent(d, r); }, PRIORITY_FIRST:-32000, PRIORITY_NORMAL:0, PRIORITY_LAST:32000, __K:[], addHandler:function(s){{}; this.__K.push(s); this.__K.sort(function(t, u){return t.PRIORITY-u.PRIORITY; }); }, getHandlers:function(){return this.__K; }, __L:[], addDispatcher:function(v, w){{}; this.__L.push(v); this.__L.sort(function(t, u){return t.PRIORITY-u.PRIORITY; }); }, getDispatchers:function(){return this.__L; }}}); })(); (function(){var b=';', c='computed=this.', d='=value;', e='this.', f='if(this.', g='delete this.', h='!==undefined)', j="set", k="setRuntime", m="setThemed", n='}', o="init", p='else if(this.', q='return this.', r="boolean", s='!==undefined){', t="string", u="resetThemed", v='=true;', w="resetRuntime", x="reset", y='old=this.', z="refresh", A='if(old===undefined)old=null;', B='else ', C=' of an instance of ', D='if(old===computed)return value;', E='old=computed=this.', F=' is not (yet) ready!");', G='!==inherit){', H=")}", I="': ", J=" of class ", K='if(computed===undefined)computed=null;', L='return value;', M='===value)return value;', N='else{', O='if(init==qx.core.Property.$$inherit)throw new Error("Inheritable property ', P='return init;', Q='var init=this.', R="')){", S="if(reg.hasListener(this, '", T='else this.', U="Error in property ", V='value=this.', W='var a=this._getChildren();if(a)for(var i=0,l=a.length;i0){f=g.pop(); }else{f=(this.__T++).toString(36); }d.$$hash=f; }{}; e[f]=d; }, unregister:function(d){var f=d.$$hash; if(f==null){return; }var e=this.__S; if(e&&e[f]){delete e[f]; this.__U.push(f); }}, toHashCode:function(d){{}; var f=d.$$hash; if(f!=null){return f; }var g=this.__U; if(g.length>0){f=g.pop(); }else{f=(this.__T++).toString(36); }return d.$$hash=f; }, fromHashCode:function(f){return this.__S[f]||null; }, shutdown:function(){this.inShutDown=true; var e=this.__S; var h=[]; for(var f in e){h.push(f); }h.sort(function(j, k){return parseInt(k, 36)-parseInt(j, 36); }); var d, m=0, n=h.length; while(true){try{for(;m(this.__V+10)){M.splice(this.__V, M.length); }var K=this.__X; for(var L in K){K[L].process(bd); }}, __bd:function(J){if(J===undefined){return v; }else if(J===null){return k; } if(J.$$type){return m; }var be=typeof J; if(be===q||be==j||be===n||be===r){return be; }else if(be===I){if(J.nodeType){return b; }else if(J.classname){return h; }else if(J instanceof Array){return e; }else if(J instanceof Error){return c; }else{return t; }} if(J.toString){return o; }return a; }, __be:function(J, bf){var be=this.__bd(J); var bg=a; switch(be){case k:case v:bg=be; break; case j:case n:case r:bg=J; break; case b:if(J.nodeType===9){bg=A; }else if(J.nodeType===3){bg=D+J.nodeValue+p; }else if(J.nodeType===1){bg=J.nodeName.toLowerCase(); if(J.id){bg+=y+J.id; }}else{bg=b; }break; case q:bg=qx.lang.Function.getName(J)||be; break; case h:bg=J.basename+C+J.$$hash+p; break; case m:case o:case c:bg=J.toString(); break; case e:if(bf){bg=[]; for(var N=0, O=J.length;N20){bg.push(d+(O-N)+f); break; }bg.push(this.__be(J[N], false)); }}else{bg=E+J.length+H; }break; case t:if(bf){var bh; var bi=[]; for(var bj in J){bi.push(bj); }bi.sort(); bg=[]; for(var N=0, O=bi.length;N20){bg.push(d+(O-N)+f); break; }bj=bi[N]; bh=this.__be(J[bj], false); bh.key=bj; bg.push(bh); }}else{var bk=0; for(var bj in J){bk++; }bg=B+bk+x; }break; }return {type:be, text:bg}; }}}); })(); (function(){var a="qx.core.Object", b="]", c="__bg", d="[", f="string", g="Object"; qx.Class.define(a, {extend:Object, construct:function(){qx.core.ObjectRegistry.register(this); }, statics:{$$type:g}, members:{toHashCode:function(){return this.$$hash; }, toString:function(){return this.classname+d+this.$$hash+b; }, base:function(h, j){if(arguments.length===1){return h.callee.base.call(this); }else{return h.callee.base.apply(this, Array.prototype.slice.call(arguments, 1)); }}, self:function(h){return h.callee.self; }, clone:function(){var k=this.constructor; var m=new k; var n=qx.Class.getProperties(k); var o=qx.core.Property.$$store.user; var p=qx.core.Property.$$method.set; var q; for(var r=0, s=n.length;r]+>/gi, a); }}}); })(); (function(){var a="function", b="]", c="Interface", d="[Interface ", e="qx.Interface"; qx.Class.define(e, {statics:{define:function(f, g){if(g){if(g.extend&&!(g.extend instanceof Array)){g.extend=[g.extend]; }{}; var h=g.statics?g.statics:{}; if(g.extend){h.$$extends=g.extend; } if(g.properties){h.$$properties=g.properties; } if(g.members){h.$$members=g.members; } if(g.events){h.$$events=g.events; }}else{var h={}; }h.$$type=c; h.name=f; h.toString=this.genericToString; h.basename=qx.Bootstrap.createNamespace(f, h); qx.Interface.$$registry[f]=h; return h; }, getByName:function(f){return this.$$registry[f]; }, isDefined:function(f){return this.getByName(f)!==undefined; }, getTotalNumber:function(){return qx.lang.Object.getLength(this.$$registry); }, flatten:function(j){if(!j){return []; }var k=j.concat(); for(var m=0, n=j.length;m=0;h--){if(this[h]===f){return h; }}return -1; }; } if(!Array.prototype.forEach){Array.prototype.forEach=function(j, k){var m=this.length; for(var h=0;hk.length?l:k; for(var n=0;n=0){continue; }var p=o.split(a); if(p.length!=2){continue; }var q=p[0]; var r=p[1]; var s=k[n]; var t=s.split(a); var u=t[0]; var v=t[1]; if(qx.Class.getByName(u)){var w=u; }else{w=q; }var x=w+a; if(r){x+=r+a; }x+=v; m[n]=x; }return m; }}, "mshtml|webkit":function(){return this.getStackTraceFromCaller(arguments); }, "opera":function(){var y; try{y.bar(); }catch(e){var m=this.getStackTraceFromError(e); qx.lang.Array.removeAt(m, 0); return m; }return []; }}), getStackTraceFromCaller:qx.core.Variant.select(b, {"opera":function(z){return []; }, "default":function(z){var m=[]; var A=qx.lang.Function.getCaller(z); var B={}; while(A){var C=qx.lang.Function.getName(A); m.push(C); try{A=A.caller; }catch(e){break; } if(!A){break; }var D=qx.core.ObjectRegistry.toHashCode(A); if(B[D]){m.push(d); break; }B[D]=A; }return m; }}), getStackTraceFromError:qx.core.Variant.select(b, {"gecko":function(E){if(!E.stack){return []; }var F=/@(.+):(\d+)$/gm; var G; var m=[]; while((G=F.exec(E.stack))!=null){var H=G[1]; var v=G[2]; var w=this.__bx(H); m.push(w+a+v); }return m; }, "webkit":function(E){if(E.sourceURL&&E.line){return [this.__bx(E.sourceURL)+a+E.line]; }else{return []; }}, "opera":function(E){if(E.message.indexOf("Backtrace:")<0){return []; }var m=[]; var I=qx.lang.String.trim(E.message.split("Backtrace:")[1]); var J=I.split(g); for(var n=0;n=2){var v=K[1]; var L=this.__bx(K[2]); m.push(L+a+v); }}return m; }, "default":function(){return []; }}), __bx:function(L){var M=h; var N=L.indexOf(M); var w=(N==-1)?L:L.substring(N+M.length).replace(/\//g, j).replace(/\.js$/, f); return w; }}}); })(); (function(){var a="qx.util.ObjectPool", b="Integer"; qx.Class.define(a, {extend:qx.core.Object, construct:function(c){arguments.callee.base.call(this); this.__by={}; if(c!==undefined){this.setSize(c); }}, properties:{size:{check:b, init:null, nullable:true}}, members:{getObject:function(d){if(this.$$disposed){return; } if(!d){throw new Error("Class needs to be defined!"); }var e=null; var f=this.__by[d.classname]; if(f){e=f.pop(); } if(e){e.$$pooled=false; }else{e=new d; }return e; }, poolObject:function(e){if(!this.__by){return; }var g=e.classname; var f=this.__by[g]; if(e.$$pooled){throw new Error("Object is already pooled: "+e); } if(!f){this.__by[g]=f=[]; }var c=this.getSize()||Infinity; if(f.length>c){this.warn("Cannot pool "+e+" because the pool is already full."); e.dispose(); return; }e.$$pooled=true; f.push(e); }}, destruct:function(){var f=this.__by; var g, h, j, k; for(g in f){h=f[g]; for(j=0, k=h.length;j=0;e--){j=h[e]; if(j){j.dispose(); }}}catch(ex){throw new Error("The array field: "+g+" of object: "+b+" has non disposable entries: "+ex); }h.length=0; b[g]=null; }, disposeMap:function(b, g){var h=b[g]; if(!h){return; }if(qx.core.ObjectRegistry.inShutDown){b[g]=null; return; }try{for(var k in h){if(h.hasOwnProperty(k)){h[k].dispose(); }}}catch(ex){throw new Error("The map field: "+g+" of object: "+b+" has non disposable entries: "+ex); }b[g]=null; }}}); })(); (function(){var a="_applyTheme", b="qx.theme", c="qx.theme.manager.Meta", d="qx.theme.Classic", e="Theme", f="singleton"; qx.Class.define(c, {type:f, extend:qx.core.Object, properties:{theme:{check:e, nullable:true, apply:a}}, members:{_applyTheme:function(g, h){var i=null; var j=null; var k=null; var l=null; var m=null; if(g){i=g.meta.color||null; j=g.meta.decoration||null; k=g.meta.font||null; l=g.meta.icon||null; m=g.meta.appearance||null; }var n=qx.theme.manager.Color.getInstance(); var o=qx.theme.manager.Decoration.getInstance(); var p=qx.theme.manager.Font.getInstance(); var q=qx.theme.manager.Icon.getInstance(); var r=qx.theme.manager.Appearance.getInstance(); n.setTheme(i); o.setTheme(j); p.setTheme(k); q.setTheme(l); r.setAppearanceTheme(m); }, initialize:function(){var s=qx.core.Setting; var t, u; t=s.get(b); if(t){u=qx.Theme.getByName(t); if(!u){throw new Error("The theme to use is not available: "+t); }this.setTheme(u); }}}, settings:{"qx.theme":d}}); })(); (function(){var a="_dynamic", b="qx.util.ValueManager", c="abstract"; qx.Class.define(b, {type:c, extend:qx.core.Object, construct:function(){arguments.callee.base.call(this); this._dynamic={}; }, members:{resolveDynamic:function(d){return this._dynamic[d]; }, isDynamic:function(d){return !!this._dynamic[d]; }, resolve:function(d){if(d&&this._dynamic[d]){return this._dynamic[d]; }return d; }}, destruct:function(){this._disposeFields(a); }}); })(); (function(){var a="_applyTheme", b="qx.theme.manager.Color", c="Theme", d="changeTheme", e="string", f="singleton"; qx.Class.define(b, {type:f, extend:qx.util.ValueManager, properties:{theme:{check:c, nullable:true, apply:a, event:d}}, members:{_applyTheme:function(g){var h=this._dynamic={}; if(g){var i=g.colors; var j=qx.util.ColorUtil; var k; for(var l in i){k=i[l]; if(typeof k===e){if(!j.isCssString(k)){throw new Error("Could not parse color: "+k); }}else if(k instanceof Array){k=j.rgbToRgbString(k); }else{throw new Error("Could not parse color: "+k); }h[l]=k; }}}}}); })(); (function(){var a=",", c="rgb(", d=")", e="qx.theme.manager.Color", h="qx.util.ColorUtil"; qx.Class.define(h, {statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/}, SYSTEM:{activeborder:true, activecaption:true, appworkspace:true, background:true, buttonface:true, buttonhighlight:true, buttonshadow:true, buttontext:true, captiontext:true, graytext:true, highlight:true, highlighttext:true, inactiveborder:true, inactivecaption:true, inactivecaptiontext:true, infobackground:true, infotext:true, menu:true, menutext:true, scrollbar:true, threeddarkshadow:true, threedface:true, threedhighlight:true, threedlightshadow:true, threedshadow:true, window:true, windowframe:true, windowtext:true}, NAMED:{black:[0, 0, 0], silver:[192, 192, 192], gray:[128, 128, 128], white:[255, 255, 255], maroon:[128, 0, 0], red:[255, 0, 0], purple:[128, 0, 128], fuchsia:[255, 0, 255], green:[0, 128, 0], lime:[0, 255, 0], olive:[128, 128, 0], yellow:[255, 255, 0], navy:[0, 0, 128], blue:[0, 0, 255], teal:[0, 128, 128], aqua:[0, 255, 255], transparent:[-1, -1, -1], magenta:[255, 0, 255], orange:[255, 165, 0], brown:[165, 42, 42]}, isNamedColor:function(j){return this.NAMED[j]!==undefined; }, isSystemColor:function(j){return this.SYSTEM[j]!==undefined; }, supportsThemes:function(){return qx.Class.isDefined(e); }, isThemedColor:function(j){if(!this.supportsThemes()){return false; }return qx.theme.manager.Color.getInstance().isDynamic(j); }, stringToRgb:function(k){if(this.supportsThemes()&&this.isThemedColor(k)){var k=qx.theme.manager.Color.getInstance().resolveDynamic(k); } if(this.isNamedColor(k)){return this.NAMED[k]; }else if(this.isSystemColor(k)){throw new Error("Could not convert system colors to RGB: "+k); }else if(this.isRgbString(k)){return this.__bC(); }else if(this.isHex3String(k)){return this.__bD(); }else if(this.isHex6String(k)){return this.__bE(); }throw new Error("Could not parse color: "+k); }, cssStringToRgb:function(k){if(this.isNamedColor(k)){return this.NAMED[k]; }else if(this.isSystemColor(k)){throw new Error("Could not convert system colors to RGB: "+k); }else if(this.isRgbString(k)){return this.__bC(); }else if(this.isHex3String(k)){return this.__bD(); }else if(this.isHex6String(k)){return this.__bE(); }throw new Error("Could not parse color: "+k); }, stringToRgbString:function(k){return this.rgbToRgbString(this.stringToRgb(k)); }, rgbToRgbString:function(l){return c+l[0]+a+l[1]+a+l[2]+d; }, rgbToHexString:function(l){return (qx.lang.String.pad(l[0].toString(16).toUpperCase(), 2)+qx.lang.String.pad(l[1].toString(16).toUpperCase(), 2)+qx.lang.String.pad(l[2].toString(16).toUpperCase(), 2)); }, isValidPropertyValue:function(k){return this.isThemedColor(k)||this.isNamedColor(k)||this.isHex3String(k)||this.isHex6String(k)||this.isRgbString(k); }, isCssString:function(k){return this.isSystemColor(k)||this.isNamedColor(k)||this.isHex3String(k)||this.isHex6String(k)||this.isRgbString(k); }, isHex3String:function(k){return this.REGEXP.hex3.test(k); }, isHex6String:function(k){return this.REGEXP.hex6.test(k); }, isRgbString:function(k){return this.REGEXP.rgb.test(k); }, __bC:function(){var m=parseInt(RegExp.$1, 10); var n=parseInt(RegExp.$2, 10); var o=parseInt(RegExp.$3, 10); return [m, n, o]; }, __bD:function(){var m=parseInt(RegExp.$1, 16)*17; var n=parseInt(RegExp.$2, 16)*17; var o=parseInt(RegExp.$3, 16)*17; return [m, n, o]; }, __bE:function(){var m=(parseInt(RegExp.$1, 16)*16)+parseInt(RegExp.$2, 16); var n=(parseInt(RegExp.$3, 16)*16)+parseInt(RegExp.$4, 16); var o=(parseInt(RegExp.$5, 16)*16)+parseInt(RegExp.$6, 16); return [m, n, o]; }, hex3StringToRgb:function(j){if(this.isHex3String(j)){return this.__bD(j); }throw new Error("Invalid hex3 value: "+j); }, hex6StringToRgb:function(j){if(this.isHex6String(j)){return this.__bE(j); }throw new Error("Invalid hex6 value: "+j); }, hexStringToRgb:function(j){if(this.isHex3String(j)){return this.__bD(j); } if(this.isHex6String(j)){return this.__bE(j); }throw new Error("Invalid hex value: "+j); }, rgbToHsb:function(l){var s, u, v; var m=l[0]; var n=l[1]; var o=l[2]; var w=(m>n)?m:n; if(o>w){w=o; }var x=(m=1.0){s%=1.0; } if(u>1.0){u=1.0; } if(v>1.0){v=1.0; }var H=Math.floor(255*v); var l={}; if(u==0.0){l.red=l.green=l.blue=H; }else{s*=6.0; C=Math.floor(s); D=s-C; E=Math.floor(H*(1.0-u)); F=Math.floor(H*(1.0-(u*D))); G=Math.floor(H*(1.0-(u*(1.0-D)))); switch(C){case 0:l.red=H; l.green=G; l.blue=E; break; case 1:l.red=F; l.green=H; l.blue=E; break; case 2:l.red=E; l.green=H; l.blue=G; break; case 3:l.red=E; l.green=F; l.blue=H; break; case 4:l.red=G; l.green=E; l.blue=H; break; case 5:l.red=H; l.green=E; l.blue=F; break; }}return l; }, randomColor:function(){var I=Math.round(Math.random()*255); var J=Math.round(Math.random()*255); var K=Math.round(Math.random()*255); return this.rgbToRgbString([I, J, K]); }}}); })(); (function(){var a="decoration", b="object", c="_applyTheme", d="__bF", e="qx.theme.manager.Decoration", f="Theme", g="string", h="singleton"; qx.Class.define(e, {type:h, extend:qx.core.Object, properties:{theme:{check:f, nullable:true, apply:c}}, members:{resolve:function(i){if(!i){return null; } if(typeof i===b){return i; }var j=this.getTheme(); if(!j){return null; }var j=this.getTheme(); if(!j){return null; }var k=this.__bF; if(!k){k=this.__bF={}; }var l=k[i]; if(l){return l; }var m=j.decorations[i]; if(!m){return null; }var n=m.decorator; if(n==null){throw new Error("Missing definition of which decorator to use in entry: "+i+"!"); }return k[i]=(new n).set(m.style); }, isValidPropertyValue:function(i){if(typeof i===g){return this.isDynamic(i); }else if(typeof i===b){var n=i.constructor; return qx.Class.hasInterface(n, qx.ui.decoration.IDecorator); }return false; }, isDynamic:function(i){if(!i){return false; }var j=this.getTheme(); if(!j){return false; }return !!j.decorations[i]; }, _applyTheme:function(i){var o=qx.util.AliasManager.getInstance(); i?o.add(a, i.resource):o.remove(a); }}, destruct:function(){this._disposeMap(d); }}); })(); (function(){var a="qx.ui.decoration.IDecorator"; qx.Interface.define(a, {members:{init:function(b){}, resize:function(b, c, d){}, tint:function(b, e){}, getMarkup:function(){}, getInsets:function(){}}}); })(); (function(){var a="/", b="_aliases", c="0", d="qx/static", e="http://", f="https://", g="file://", h="qx.util.AliasManager", i="singleton", j=".", k="static"; qx.Class.define(h, {type:i, extend:qx.util.ValueManager, construct:function(){arguments.callee.base.call(this); this._aliases={}; this.add(k, d); }, members:{_preprocess:function(l){var m=this._dynamic; if(m[l]===false){return l; }else if(m[l]===undefined){if(l.charAt(0)===a||l.charAt(0)===j||l.indexOf(e)===0||l.indexOf(f)===c||l.indexOf(g)===0){m[l]=false; return l; }var n=l.substring(0, l.indexOf(a)); var o=this._aliases[n]; if(o!==undefined){m[l]=o+l.substring(n.length); }}return l; }, add:function(n, p){this._aliases[n]=p; var m=this._dynamic; var q={}; for(var r in m){if(r.substring(0, r.indexOf(a))===n){m[r]=p+r.substring(n.length); q[r]=true; }}}, remove:function(n){delete this._aliases[n]; }, resolve:function(r){if(r!==null){r=this._preprocess(r); }return this._dynamic[r]||r; }}, destruct:function(){this._disposeFields(b); }}); })(); (function(){var a="qx.theme.manager.Font", b="Theme", c="changeTheme", d="_applyTheme", e="singleton"; qx.Class.define(a, {type:e, extend:qx.util.ValueManager, properties:{theme:{check:b, nullable:true, apply:d, event:c}}, members:{resolveDynamic:function(f){return f instanceof qx.bom.Font?f:this._dynamic[f]; }, isDynamic:function(f){return f&&(f instanceof qx.bom.Font||this._dynamic[f]!==undefined); }, _applyTheme:function(f){var g=this._dynamic; for(var h in g){if(g[h].themed){g[h].dispose(); delete g[h]; }} if(f){var i=f.fonts; var j=qx.bom.Font; for(var h in i){g[h]=(new j).set(i[h]); g[h].themed=true; }}}}}); })(); (function(){var a="", b="underline", c="Boolean", d="px", e='"', f="italic", g="normal", h="bold", j="_applyItalic", k="_applyBold", m="Integer", n="_applyFamily", o="_applyLineHeight", p="Array", q="overline", r="line-through", s="qx.bom.Font", t="Number", u="_applyDecoration", v=" ", w="_applySize", x=","; qx.Class.define(s, {extend:qx.core.Object, construct:function(y, z){arguments.callee.base.call(this); if(y!==undefined){this.setSize(y); } if(z!==undefined){this.setFamily(z); }}, statics:{fromString:function(A){var B=new qx.bom.Font(); var C=A.split(/\s+/); var D=[]; var E; for(var F=0;F0){B.setFamily(D); }return B; }, fromConfig:function(H){var B=new qx.bom.Font; B.set(H); return B; }, __bG:{fontFamily:a, fontSize:a, fontWeight:a, fontStyle:a, textDecoration:a, lineHeight:1.2}, getDefaultStyles:function(){return this.__bG; }}, properties:{size:{check:m, nullable:true, apply:w}, lineHeight:{check:t, nullable:true, apply:o}, family:{check:p, nullable:true, apply:n}, bold:{check:c, nullable:true, apply:k}, italic:{check:c, nullable:true, apply:j}, decoration:{check:[b, r, q], nullable:true, apply:u}}, members:{__bH:null, __bI:null, __bJ:null, __bK:null, __bL:null, __bM:null, _applySize:function(I, J){this.__bH=I===null?null:I+d; }, _applyLineHeight:function(I, J){this.__bM=I===null?null:I; }, _applyFamily:function(I, J){var z=a; for(var F=0, K=I.length;F0){z+=e+I[F]+e; }else{z+=I[F]; } if(F!==K-1){z+=x; }}this.__bI=z; }, _applyBold:function(I, J){this.__bJ=I===null?null:I?h:g; }, _applyItalic:function(I, J){this.__bK=I===null?null:I?f:g; }, _applyDecoration:function(I, J){this.__bL=I===null?null:I; }, getStyles:function(){return {fontFamily:this.__bI, fontSize:this.__bH, fontWeight:this.__bJ, fontStyle:this.__bK, textDecoration:this.__bL, lineHeight:this.__bM}; }}}); })(); (function(){var a="icon", b="qx.theme.manager.Icon", c="Theme", d="_applyTheme", e="singleton"; qx.Class.define(b, {type:e, extend:qx.core.Object, properties:{theme:{check:c, nullable:true, apply:d}}, members:{_applyTheme:function(f, g){var h=qx.util.AliasManager.getInstance(); f?h.add(a, f.resource):h.remove(a); }}}); })(); (function(){var a="string", b="_applyAppearanceTheme", c="__bN", d="qx.theme.manager.Appearance", e=":", f="changeAppearanceTheme", g="Theme", h="__bO", i="/", j="singleton"; qx.Class.define(d, {type:j, extend:qx.core.Object, construct:function(){arguments.callee.base.call(this); this.__bN={}; this.__bO={}; }, properties:{appearanceTheme:{check:g, nullable:true, apply:b, event:f}}, members:{__bP:{}, _applyAppearanceTheme:function(k, l){}, __bQ:function(m, n){var o=n.appearances; var p=o[m]; if(!p){var q=i; var r=[]; var s=m.split(q); var t; while(!p&&s.length>0){r.unshift(s.pop()); var u=s.join(q); p=o[u]; if(p){t=p.alias||p; if(typeof t===a){var v=t+q+r.join(q); return this.__bQ(v, n); }}}return null; }else if(typeof p===a){return this.__bQ(p, n); }else if(p.include&&!p.style){return this.__bQ(p.include, n); }return m; }, styleFrom:function(m, w, n){if(!n){n=this.getAppearanceTheme(); }var x=this.__bO; var y=x[m]; if(!y){y=x[m]=this.__bQ(m, n); }var p=n.appearances[y]; if(!p){this.warn("Missing appearance: "+m); return null; }if(!p.style){return null; }var z=y; if(w){var A=p.$$bits; if(!A){A=p.$$bits={}; p.$$length=0; }var B=0; for(var C in w){if(A[C]==null){A[C]=1<0){z+=e+B; }}var D=this.__bN; if(D[z]!==undefined){return D[z]; }if(!w){w=this.__bP; }var E; if(p.include||p.base){var F=p.style(w); var G; if(p.include){G=this.styleFrom(p.include, w, n); }E={}; if(p.base){var H=this.styleFrom(y, w, p.base); if(p.include){for(var I in H){if(G[I]===undefined&&F[I]===undefined){E[I]=H[I]; }}}else{for(var I in H){if(F[I]===undefined){E[I]=H[I]; }}}}if(p.include){for(var I in G){if(F[I]===undefined){E[I]=G[I]; }}}for(var I in F){E[I]=F[I]; }}else{E=p.style(w); }return D[z]=E||null; }}, destruct:function(){this._disposeFields(c, h); }}); })(); (function(){var b="other", c="widgets", d="fonts", e="appearances", f="qx.Theme", g="]", h="[Theme ", j="colors", k="decorations", m="Theme", n="meta", o="borders", p="icons"; qx.Class.define(f, {statics:{define:function(q, r){if(!r){var r={}; } if(r.include&&!(r.include instanceof Array)){r.include=[r.include]; }{}; var s={$$type:m, name:q, title:r.title, toString:this.genericToString}; if(r.extend){s.supertheme=r.extend; }if(r.resource){s.resource=r.resource; }s.basename=qx.Bootstrap.createNamespace(q, s); this.__bS(s, r); this.$$registry[q]=s; if(r.include){for(var t=0, u=r.include, v=u.length;t1){T.sort(this._mshtmlVisibilitySort); S=this._visibility={}; for(var Q=0;Q0){this._insertChildren(); }}else{this._syncData(); if(this._modifiedChildren){this._syncChildren(); }}delete this._modifiedChildren; }, _insertChildren:function(){var bf=this.__cr; var bg=bf.length; var Y; if(bg>2){var bh=document.createDocumentFragment(); for(var Q=0;Q=0;Q--){br=bp[Q]; bn=bi.fromHashCode(br.$$hash); if(!bn||!bn._included||bn.__cq!==this){bo.removeChild(br); {}; }}for(var Q=0;Q=1){return true; }var bQ=qx.event.handler.Focus.FOCUSABLE_ELEMENTS; if(bP>=0&&bQ[this._nodeName]){return true; }return false; }, isNativelyFocusable:function(){return !!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this._nodeName]; }, include:function(){if(this._included){return; }delete this._included; if(this.__cq){this.__cq._scheduleChildrenUpdate(); }return this; }, exclude:function(){if(!this._included){return; }this._included=false; if(this.__cq){this.__cq._scheduleChildrenUpdate(); }return this; }, isIncluded:function(){return this._included===true; }, show:function(){if(this._visible){return; } if(this._element){qx.html.Element._visibility[this.$$hash]=this; qx.html.Element._scheduleFlush(c); }if(this.__cq){this.__cq._scheduleChildrenUpdate(); }delete this._visible; }, hide:function(){if(!this._visible){return; } if(this._element){qx.html.Element._visibility[this.$$hash]=this; qx.html.Element._scheduleFlush(c); }this._visible=false; }, isVisible:function(){return this._visible===true; }, scrollChildIntoViewX:function(V, bR, bS){var bT=this._element; var bU=V.getDomElement(); if(bS!==false&&bT&&bT.offsetWidth&&bU&&bU.offsetWidth){qx.bom.element.Scroll.intoViewX(bU, bT, bR); }else{this.__cv={element:V, align:bR}; qx.html.Element._scroll[this.$$hash]=this; qx.html.Element._scheduleFlush(c); }delete this.__cx; }, scrollChildIntoViewY:function(V, bR, bS){var bT=this._element; var bU=V.getDomElement(); if(bS!==false&&bT&&bT.offsetWidth&&bU&&bU.offsetWidth){qx.bom.element.Scroll.intoViewY(bU, bT, bR); }else{this.__cw={element:V, align:bR}; qx.html.Element._scroll[this.$$hash]=this; qx.html.Element._scheduleFlush(c); }delete this.__cy; }, scrollToX:function(bV, bW){var bT=this._element; if(bW!==true&&bT&&bT.offsetWidth){bT.scrollLeft=bV; }else{this.__cx=bV; qx.html.Element._scroll[this.$$hash]=this; qx.html.Element._scheduleFlush(c); }delete this.__cv; }, getScrollX:function(){var bT=this._element; if(bT){return bT.scrollLeft; }return this.__cx||0; }, scrollToY:function(bX, bW){var bT=this._element; if(bW!==true&&bT&&bT.offsetWidth){bT.scrollTop=bX; }else{this.__cy=bX; qx.html.Element._scroll[this.$$hash]=this; qx.html.Element._scheduleFlush(c); }delete this.__cw; }, getScrollY:function(){var bT=this._element; if(bT){return bT.scrollTop; }return this.__cy||0; }, getSelection:function(){var bY=this._element; if(bY){return qx.bom.Selection.get(bY); }return null; }, getSelectionLength:function(){var bY=this._element; if(bY){return qx.bom.Selection.getLength(bY); }return null; }, setSelection:function(ca, cb){var bY=this._element; if(bY){qx.bom.Selection.set(bY, ca, cb); }}, clearSelection:function(){var bY=this._element; if(bY){qx.bom.Selection.clear(bY); }}, focus:function(){var bY=this._element; if(bY){return qx.bom.Element.focus(bY); }qx.html.Element._actions.focus=this; qx.html.Element._scheduleFlush(c); }, blur:function(){var bY=this._element; if(bY){qx.bom.Element.blur(bY); }}, activate:function(){var bY=this._element; if(bY){return qx.bom.Element.activate(bY); }qx.html.Element._actions.activate=this; qx.html.Element._scheduleFlush(c); }, deactivate:function(){var bY=this._element; if(bY){qx.bom.Element.deactivate(bY); }}, capture:function(){var bY=this._element; if(bY){return qx.bom.Element.capture(bY); }qx.html.Element._actions.capture=this; qx.html.Element._scheduleFlush(c); }, releaseCapture:function(){var bY=this._element; if(bY){qx.bom.Element.releaseCapture(bY); }}, setStyle:function(bw, bz, bS){if(!this.__cz){this.__cz={}; } if(this.__cz[bw]==bz){return; } if(bz==null){delete this.__cz[bw]; }else{this.__cz[bw]=bz; }if(this._element){if(bS){qx.bom.element.Style.set(this._element, bw, bz); return this; }if(!this.__cl){this.__cl={}; }this.__cl[bw]=true; qx.html.Element._modified[this.$$hash]=this; qx.html.Element._scheduleFlush(c); }return this; }, setStyles:function(cc, bS){for(var bw in cc){this.setStyle(bw, cc[bw], bS); }return this; }, removeStyle:function(bw, bS){this.setStyle(bw, null, bS); }, getStyle:function(bw){return this.__cz?this.__cz[bw]:null; }, setAttribute:function(bw, bz, bS){if(!this.__cA){this.__cA={}; } if(this.__cA[bw]==bz){return; } if(bz==null){delete this.__cA[bw]; }else{this.__cA[bw]=bz; }if(this._element){if(bS){qx.bom.element.Attribute.set(this._element, bw, bz); return this; }if(!this.__ck){this.__ck={}; }this.__ck[bw]=true; qx.html.Element._modified[this.$$hash]=this; qx.html.Element._scheduleFlush(c); }return this; }, setAttributes:function(cc, bS){for(var bw in cc){this.setAttribute(bw, cc[bw], bS); }return this; }, removeAttribute:function(bw, bS){this.setAttribute(bw, null, bS); }, getAttribute:function(bw){return this.__cA?this.__cA[bw]:null; }, _applyProperty:function(cd, bz){}, _setProperty:function(bw, bz, bS){if(!this.__cB){this.__cB={}; } if(this.__cB[bw]==bz){return; } if(bz==null){delete this.__cB[bw]; }else{this.__cB[bw]=bz; }if(this._element){if(bS){this._applyProperty(bw, bz); return this; }if(!this.__cm){this.__cm={}; }this.__cm[bw]=true; qx.html.Element._modified[this.$$hash]=this; qx.html.Element._scheduleFlush(c); }return this; }, _removeProperty:function(bw, bS){this._setProperty(bw, null, bS); }, _getProperty:function(bw){return this.__cB?this.__cB[bw]:null; }, addListener:function(bB, bC, bD, bE){if(this.isDisposed()){return; }var ce; if(this._element){qx.event.Registration.addListener(this._element, bB, bC, bD, bE); }else{if(!this.__cC){this.__cC={}; }var bw=this.__co(bB, bC, bD, bE); if(this.__cC[bw]){this.warn("A listener of this configuration does already exist!"); return false; }this.__cC[bw]={type:bB, listener:bC, self:bD, capture:bE}; }return this; }, removeListener:function(bB, bC, bD, bE){if(this.isDisposed()){return; }var ce; if(this._element){qx.event.Registration.removeListener(this._element, bB, bC, bD, bE); }else{var bw=this.__co(bB, bC, bD, bE); if(!this.__cC||!this.__cC[bw]){this.warn("A listener of this configuration does not exist!"); return false; }delete this.__cC[bw]; }return this; }, hasListener:function(bB, bE){throw new Error("hasListener() needs implementation!"); }}, defer:function(cf){cf.__cD=new qx.util.DeferredCall(cf.flush, cf); }, destruct:function(){var bY=this._element; if(bY){qx.event.Registration.getManager(bY).removeAllListeners(bY); bY.$$hash=g; } if(!qx.core.ObjectRegistry.inShutDown){var bK=this.__cq; if(bK&&!bK.$$disposed){bK.remove(this); }}this._disposeArray(m); this._disposeFields(v, t, C, p, r, o, z, A, u, k, F); }}); })(); (function(){var a="qx.ui.core.queue.Manager", b="useraction"; qx.Class.define(a, {statics:{__cE:false, __cF:{}, scheduleFlush:function(c){var d=qx.ui.core.queue.Manager; d.__cF[c]=true; if(!d.__cE){d.__cH.schedule(); d.__cE=true; }}, flush:function(){var d=qx.ui.core.queue.Manager; if(d.__cG){return; }d.__cG=true; d.__cH.cancel(); var e=d.__cF; while(e.widget||e.appearance||e.decorator||e.layout){if(e.widget){delete e.widget; qx.ui.core.queue.Widget.flush(); if(e.widget){continue; }} if(e.appearance){delete e.appearance; qx.ui.core.queue.Appearance.flush(); if(e.appearance){continue; }} if(e.layout){delete e.layout; qx.ui.core.queue.Layout.flush(); }}qx.ui.core.queue.Manager.__cE=false; if(e.element){delete e.element; qx.html.Element.flush(); } if(e.dispose){delete e.dispose; qx.ui.core.queue.Dispose.flush(); }d.__cG=false; }}, defer:function(f){f.__cH=new qx.util.DeferredCall(f.flush); qx.html.Element._scheduleFlush=f.scheduleFlush; qx.event.Registration.addListener(window, b, f.flush); }}); })(); (function(){var a="qx.client", b="qx.dom.Hierarchy", c="previousSibling", d="*", e="nextSibling", f="parentNode"; qx.Class.define(b, {statics:{getNodeIndex:function(g){var h=0; while(g&&(g=g.previousSibling)){h++; }return h; }, getElementIndex:function(i){var h=0; var j=qx.dom.Node.ELEMENT; while(i&&(i=i.previousSibling)){if(i.nodeType==j){h++; }}return h; }, getNextElementSibling:function(i){while(i&&(i=i.nextSibling)&&!qx.dom.Node.isElement(i)){continue; }return i||null; }, getPreviousElementSibling:function(i){while(i&&(i=i.previousSibling)&&!qx.dom.Node.isElement(i)){continue; }return i||null; }, contains:qx.core.Variant.select(a, {"webkit|mshtml|opera":function(i, k){if(qx.dom.Node.isDocument(i)){var l=qx.dom.Node.getDocument(k); return i&&l==i; }else if(qx.dom.Node.isDocument(k)){return false; }else{return i.contains(k); }}, "gecko":function(i, k){return !!(i.compareDocumentPosition(k)&16); }, "default":function(i, k){while(k){if(i==k){return true; }k=k.parentNode; }return false; }}), isRendered:function(i){if(!i.offsetParent){return false; }var l=i.ownerDocument||i.document; if(l.body.contains){return l.body.contains(i); }if(l.compareDocumentPosition){return !!(l.compareDocumentPosition(i)&16); }throw new Error("Missing support for isRendered()!"); }, isDescendantOf:function(i, m){return this.contains(m, i); }, getCommonParent:qx.core.Variant.select(a, {"mshtml|opera":function(n, o){if(n===o){return n; } while(n){if(n.contains(o)){return n; }n=n.parentNode; }return null; }, "default":function(n, o){if(n===o){return n; }var p={}; var q=qx.core.ObjectRegistry; var r, s; while(n||o){if(n){r=q.toHashCode(n); if(p[r]){return p[r]; }p[r]=n; n=n.parentNode; } if(o){s=q.toHashCode(o); if(p[s]){return p[s]; }p[s]=o; o=o.parentNode; }}return null; }}), getAncestors:function(i){return this._recursivelyCollect(i, f); }, getChildElements:function(i){i=i.firstChild; if(!i){return []; }var t=this.getNextSiblings(i); t.unshift(i); return t; }, getDescendants:function(i){return qx.lang.Array.fromCollection(i.getElementsByTagName(d)); }, getFirstDescendant:function(i){i=i.firstChild; while(i&&i.nodeType!=1){i=i.nextSibling; }return i; }, getLastDescendant:function(i){i=i.lastChild; while(i&&i.nodeType!=1){i=i.previousSibling; }return i; }, getPreviousSiblings:function(i){return this._recursivelyCollect(i, c); }, getNextSiblings:function(i){return this._recursivelyCollect(i, e); }, _recursivelyCollect:function(i, u){var v=[]; while(i=i[u]){if(i.nodeType==1){v.push(i); }}return v; }, getSiblings:function(i){return this.getPreviousSiblings(i).reverse().concat(this.getNextSiblings(i)); }, isEmpty:function(i){i=i.firstChild; while(i){if(i.nodeType===qx.dom.Node.ELEMENT||i.nodeType===qx.dom.Node.TEXT){return false; }i=i.nextSibling; }return true; }, cleanWhitespace:function(i){var g=i.firstChild; while(g){var w=g.nextSibling; if(g.nodeType==3&&!/\S/.test(g.nodeValue)){i.removeChild(g); }g=w; }}}}); })(); (function(){var a="visible", b="scroll", c="borderBottomWidth", d="borderTopWidth", e="left", f="borderLeftWidth", g="bottom", h="top", i="right", j="qx.bom.element.Scroll", k="borderRightWidth"; qx.Class.define(j, {statics:{intoViewX:function(l, m, n){var o=l.parentNode; var p=qx.dom.Node.getDocument(l); var q=p.body; var r, s, t; var u, v, w; var x, y, z; var A, B, C, D; var E, F, G; var H=n===e; var I=n===i; m=m?m.parentNode:p; while(o&&o!=m){if(o.scrollWidth>o.clientWidth&&(o===q||qx.bom.element.Overflow.getY(o)!=a)){if(o===q){s=o.scrollLeft; t=s+qx.bom.Viewport.getWidth(); u=qx.bom.Viewport.getWidth(); v=o.clientWidth; w=o.scrollWidth; x=0; y=0; z=0; }else{r=qx.bom.element.Location.get(o); s=r.left; t=r.right; u=o.offsetWidth; v=o.clientWidth; w=o.scrollWidth; x=parseInt(qx.bom.element.Style.get(o, f), 10)||0; y=parseInt(qx.bom.element.Style.get(o, k), 10)||0; z=u-v-x-y; }A=qx.bom.element.Location.get(l); B=A.left; C=A.right; D=l.offsetWidth; E=B-s-x; F=C-t+y; G=0; if(H){G=E; }else if(I){G=F+z; }else if(E<0||D>v){G=E; }else if(F>0){G=F+z; }o.scrollLeft+=G; if(qx.bom.client.Engine.GECKO){qx.event.Registration.fireNonBubblingEvent(o, b); }} if(o===q){break; }o=o.parentNode; }}, intoViewY:function(l, m, n){var o=l.parentNode; var p=qx.dom.Node.getDocument(l); var q=p.body; var r, J, K; var L, M, N; var O, P, Q; var A, R, S, T; var U, V, G; var W=n===h; var X=n===g; m=m?m.parentNode:p; while(o&&o!=m){if(o.scrollHeight>o.clientHeight&&(o===q||qx.bom.element.Overflow.getY(o)!=a)){if(o===q){J=o.scrollTop; K=J+qx.bom.Viewport.getHeight(); L=qx.bom.Viewport.getHeight(); M=o.clientHeight; N=o.scrollHeight; O=0; P=0; Q=0; }else{r=qx.bom.element.Location.get(o); J=r.top; K=r.bottom; L=o.offsetHeight; M=o.clientHeight; N=o.scrollHeight; O=parseInt(qx.bom.element.Style.get(o, d), 10)||0; P=parseInt(qx.bom.element.Style.get(o, c), 10)||0; Q=L-M-O-P; }A=qx.bom.element.Location.get(l); R=A.top; S=A.bottom; T=l.offsetHeight; U=R-J-O; V=S-K+P; G=0; if(W){G=U; }else if(X){G=V+Q; }else if(U<0||T>M){G=U; }else if(V>0){G=V+Q; }o.scrollTop+=G; if(qx.bom.client.Engine.GECKO){qx.event.Registration.fireNonBubblingEvent(o, b); }} if(o===q){break; }o=o.parentNode; }}, intoView:function(l, m, Y, ba){this.intoViewX(l, m, Y); this.intoViewY(l, m, ba); }}}); })(); (function(){var a="", b="qx.client", d="hidden", e="-moz-scrollbars-none", f="overflow", g=";", h="overflowY", i=":", j="overflowX", k="overflow:", l="none", m="scroll", n="borderLeftStyle", o="borderRightStyle", p="div", q="borderRightWidth", r="overflow-y", u="borderLeftWidth", v="-moz-scrollbars-vertical", w="100px", x="qx.bom.element.Overflow", y="overflow-x"; qx.Class.define(x, {statics:{__cI:null, getScrollbarWidth:function(){if(this.__cI!==null){return this.__cI; }var z=qx.bom.element.Style; var A=function(B, C){return parseInt(z.get(B, C))||0; }; var D=function(B){return (z.get(B, o)==l?0:A(B, q)); }; var E=function(B){return (z.get(B, n)==l?0:A(B, u)); }; var F=qx.core.Variant.select(b, {"mshtml":function(B){if(z.get(B, h)==d||B.clientWidth==0){return D(B); }return Math.max(0, B.offsetWidth-B.clientLeft-B.clientWidth); }, "default":function(B){if(B.clientWidth==0){var G=z.get(B, f); var H=(G==m||G==v?16:0); return Math.max(0, D(B)+H); }return Math.max(0, (B.offsetWidth-B.clientWidth-E(B))); }}); var I=function(B){return F(B)-D(B); }; var J=document.createElement(p); var K=J.style; K.height=K.width=w; K.overflow=m; document.body.appendChild(J); var L=I(J); this.__cI=L?L:16; document.body.removeChild(J); return this.__cI; }, _compile:qx.core.Variant.select(b, {"gecko":qx.bom.client.Engine.VERSION< 1.8? function(M, N){if(N==d){N=e; }return k+N+g; }: function(M, N){return M+i+N+g; }, "opera":qx.bom.client.Engine.VERSION< 9.5? function(M, N){return k+N+g; }: function(M, N){return M+i+N+g; }, "default":function(M, N){return M+i+N+g; }}), compileX:function(N){return this._compile(y, N); }, compileY:function(N){return this._compile(r, N); }, getX:qx.core.Variant.select(b, {"gecko":qx.bom.client.Engine.VERSION< 1.8? function(O, P){var Q=qx.bom.element.Style.get(O, f, P, false); if(Q===e){Q=d; }return Q; }: function(O, P){return qx.bom.element.Style.get(O, j, P, false); }, "opera":qx.bom.client.Engine.VERSION< 9.5? function(O, P){return qx.bom.element.Style.get(O, f, P, false); }: function(O, P){return qx.bom.element.Style.get(O, j, P, false); }, "default":function(O, P){return qx.bom.element.Style.get(O, j, P, false); }}), setX:qx.core.Variant.select(b, {"gecko":qx.bom.client.Engine.VERSION< 1.8? function(O, N){if(N==d){N=e; }O.style.overflow=N; }: function(O, N){O.style.overflowX=N; }, "opera":qx.bom.client.Engine.VERSION< 9.5? function(O, N){O.style.overflow=N; }: function(O, N){O.style.overflowX=N; }, "default":function(O, N){O.style.overflowX=N; }}), resetX:qx.core.Variant.select(b, {"gecko":qx.bom.client.Engine.VERSION< 1.8? function(O){O.style.overflow=a; }: function(O){O.style.overflowX=a; }, "opera":qx.bom.client.Engine.VERSION< 9.5? function(O, N){O.style.overflow=a; }: function(O, N){O.style.overflowX=a; }, "default":function(O){O.style.overflowX=a; }}), getY:qx.core.Variant.select(b, {"gecko":qx.bom.client.Engine.VERSION< 1.8? function(O, P){var Q=qx.bom.element.Style.get(O, f, P, false); if(Q===e){Q=d; }return Q; }: function(O, P){return qx.bom.element.Style.get(O, h, P, false); }, "opera":qx.bom.client.Engine.VERSION< 9.5? function(O, P){return qx.bom.element.Style.get(O, f, P, false); }: function(O, P){return qx.bom.element.Style.get(O, h, P, false); }, "default":function(O, P){return qx.bom.element.Style.get(O, h, P, false); }}), setY:qx.core.Variant.select(b, {"gecko":qx.bom.client.Engine.VERSION< 1.8? function(O, N){if(N===d){N=e; }O.style.overflow=N; }: function(O, N){O.style.overflowY=N; }, "opera":qx.bom.client.Engine.VERSION< 9.5? function(O, N){O.style.overflow=N; }: function(O, N){O.style.overflowY=N; }, "default":function(O, N){O.style.overflowY=N; }}), resetY:qx.core.Variant.select(b, {"gecko":qx.bom.client.Engine.VERSION< 1.8? function(O){O.style.overflow=a; }: function(O){O.style.overflowY=a; }, "opera":qx.bom.client.Engine.VERSION< 9.5? function(O, N){O.style.overflow=a; }: function(O, N){O.style.overflowY=a; }, "default":function(O){O.style.overflowY=a; }})}}); })(); (function(){var a="", b="qx.client", c="boxSizing", d="cursor", e="opacity", f="clip", g="overflowY", h="overflowX", i="appearance", j="style", k="px", l="-webkit-appearance", m="user-select", n="userSelect", o="styleFloat", p="-webkit-user-select", q="-moz-appearance", r="pixelHeight", s="MozAppearance", t=":", u="pixelTop", v="pixelLeft", w="text-overflow", x="-moz-user-select", y="MozUserSelect", z="qx.bom.element.Style", A="WebkitUserSelect", B="-o-text-overflow", C="pixelRight", D="pixelWidth", E="pixelBottom", F=";", G="cssFloat", H="WebkitAppearance"; qx.Class.define(z, {statics:{__cJ:{styleNames:{"float":qx.core.Variant.select(b, {"mshtml":o, "default":G}), "appearance":qx.core.Variant.select(b, {"gecko":s, "webkit":H, "default":i}), "userSelect":qx.core.Variant.select(b, {"gecko":y, "webkit":A, "default":n})}, cssNames:{"appearance":qx.core.Variant.select(b, {"gecko":q, "webkit":l, "default":i}), "userSelect":qx.core.Variant.select(b, {"gecko":x, "webkit":p, "default":m}), "textOverflow":qx.core.Variant.select(b, {"opera":B, "default":w})}, mshtmlPixel:{width:D, height:r, left:v, right:C, top:u, bottom:E}, special:{clip:1, cursor:1, opacity:1, boxSizing:1, overflowX:1, overflowY:1}}, __cK:{}, compile:function(I){var J=[]; var K=this.__cJ; var L=K.special; var M=K.cssNames; var N=this.__cK; var O=qx.lang.String; var P, Q, R; for(P in I){R=I[P]; if(R==null){continue; }P=M[P]||P; if(L[P]){switch(P){case f:J.push(qx.bom.element.Clip.compile(R)); break; case d:J.push(qx.bom.element.Cursor.compile(R)); break; case e:J.push(qx.bom.element.Opacity.compile(R)); break; case c:J.push(qx.bom.element.BoxSizing.compile(R)); break; case h:J.push(qx.bom.element.Overflow.compileX(R)); break; case g:J.push(qx.bom.element.Overflow.compileY(R)); break; }}else{Q=N[P]; if(!Q){Q=N[P]=O.hyphenate(P); }J.push(Q, t, R, F); }}return J.join(a); }, setCss:qx.core.Variant.select(b, {"mshtml":function(S, R){S.style.cssText=R; }, "default":function(S, R){S.setAttribute(j, R); }}), getCss:qx.core.Variant.select(b, {"mshtml":function(S){return S.style.cssText.toLowerCase(); }, "default":function(S){return S.getAttribute(j); }}), COMPUTED_MODE:1, CASCADED_MODE:2, LOCAL_MODE:3, set:function(S, P, R, T){{}; var K=this.__cJ; P=K.styleNames[P]||P; if(T!==false&&K.special[P]){switch(P){case f:return qx.bom.element.Clip.set(S, R); case d:return qx.bom.element.Cursor.set(S, R); case e:return qx.bom.element.Opacity.set(S, R); case c:return qx.bom.element.BoxSizing.set(S, R); case h:return qx.bom.element.Overflow.setX(S, R); case g:return qx.bom.element.Overflow.setY(S, R); }}S.style[P]=R!==null?R:a; }, setStyles:function(S, U, T){{}; for(var P in U){this.set(S, P, U[P], T); }}, reset:function(S, P, T){var K=this.__cJ; P=K.styleNames[P]||P; if(T!==false&&K.special[P]){switch(P){case f:return qx.bom.element.Clip.reset(S); case d:return qx.bom.element.Cursor.reset(S); case e:return qx.bom.element.Opacity.reset(S); case c:return qx.bom.element.BoxSizing.reset(S); case h:return qx.bom.element.Overflow.resetX(S); case g:return qx.bom.element.Overflow.resetY(S); }}S.style[P]=a; }, get:qx.core.Variant.select(b, {"mshtml":function(S, P, V, T){var K=this.__cJ; P=K.styleNames[P]||P; if(T!==false&&K.special[P]){switch(P){case f:return qx.bom.element.Clip.get(S, V); case d:return qx.bom.element.Cursor.get(S, V); case e:return qx.bom.element.Opacity.get(S, V); case c:return qx.bom.element.BoxSizing.get(S, V); case h:return qx.bom.element.Overflow.getX(S, V); case g:return qx.bom.element.Overflow.getY(S, V); }}if(!S.currentStyle){return S.style[P]||a; }switch(V){case this.LOCAL_MODE:return S.style[P]||a; case this.CASCADED_MODE:return S.currentStyle[P]||a; default:var W=S.currentStyle[P]||a; if(/^-?[\.\d]+(px)?$/i.test(W)){return W; }var X=K.mshtmlPixel[P]; if(X){var Y=S.style[P]; S.style[P]=W||0; var R=S.style[X]+k; S.style[P]=Y; return R; }if(/^-?[\.\d]+(em|pt|%)?$/i.test(W)){throw new Error("Untranslated computed property value: "+P+". Only pixel values work well across different clients."); }return W; }}, "default":function(S, P, V, T){var K=this.__cJ; P=K.styleNames[P]||P; if(T!==false&&K.special[P]){switch(P){case f:return qx.bom.element.Clip.get(S, V); case d:return qx.bom.element.Cursor.get(S, V); case e:return qx.bom.element.Opacity.get(S, V); case c:return qx.bom.element.BoxSizing.get(S, V); case h:return qx.bom.element.Overflow.getX(S, V); case g:return qx.bom.element.Overflow.getY(S, V); }}switch(V){case this.LOCAL_MODE:return S.style[P]||a; case this.CASCADED_MODE:if(S.currentStyle){return S.currentStyle[P]||a; }throw new Error("Cascaded styles are not supported in this browser!"); default:var ba=qx.dom.Node.getDocument(S); var bb=ba.defaultView.getComputedStyle(S, null); return bb?bb[P]:a; }}})}}); })(); (function(){var a="auto", b="px", c=",", d="", e="clip:auto;", f="rect(", g=");", h=")", i="qx.bom.element.Clip", j="string", k="clip:rect(", l="clip", m="rect(auto,auto,auto,auto)"; qx.Class.define(i, {statics:{compile:function(n){if(!n){return e; }var o=n.left; var p=n.top; var q=n.width; var r=n.height; var s, t; if(o==null){s=(q==null?a:q+b); o=a; }else{s=(q==null?a:o+q+b); o=o+b; } if(p==null){t=(r==null?a:r+b); p=a; }else{t=(r==null?a:p+r+b); p=p+b; }return k+p+c+s+c+t+c+o+g; }, get:function(u, v){var w=qx.bom.element.Style.get(u, l, v, false); var o, p, q, r; var s, t; if(typeof w===j&&w!==a&&w!==d){w=qx.lang.String.trim(w); if(/\((.*)\)/.test(w)){var x=RegExp.$1.split(c); p=qx.lang.String.trim(x[0]); s=qx.lang.String.trim(x[1]); t=qx.lang.String.trim(x[2]); o=qx.lang.String.trim(x[3]); if(o===a){o=null; } if(p===a){p=null; } if(s===a){s=null; } if(t===a){t=null; }if(p!=null){p=parseInt(p, 10); } if(s!=null){s=parseInt(s, 10); } if(t!=null){t=parseInt(t, 10); } if(o!=null){o=parseInt(o, 10); }if(s!=null&&o!=null){q=s-o; }else if(s!=null){q=s; } if(t!=null&&p!=null){r=t-p; }else if(t!=null){r=t; }}else{throw new Error("Could not parse clip string: "+w); }}return {left:o||null, top:p||null, width:q||null, height:r||null}; }, set:function(u, n){if(!n){u.style.clip=m; return; }var o=n.left; var p=n.top; var q=n.width; var r=n.height; var s, t; if(o==null){s=(q==null?a:q+b); o=a; }else{s=(q==null?a:o+q+b); o=o+b; } if(p==null){t=(r==null?a:r+b); p=a; }else{t=(r==null?a:p+r+b); p=p+b; }u.style.clip=f+p+c+s+c+t+c+o+h; }, reset:function(u){u.style.clip=d; }}}); })(); (function(){var a="n-resize", b="e-resize", c="nw-resize", d="ne-resize", e="", f="cursor:", g="qx.client", h=";", i="qx.bom.element.Cursor", j="cursor", k="hand"; qx.Class.define(i, {statics:{__cL:qx.core.Variant.select(g, {"mshtml":{"cursor":k, "ew-resize":b, "ns-resize":a, "nesw-resize":d, "nwse-resize":c}, "opera":{"col-resize":b, "row-resize":a, "ew-resize":b, "ns-resize":a, "nesw-resize":d, "nwse-resize":c}, "default":{}}), compile:function(l){return f+(this.__cL[l]||l)+h; }, get:function(m, n){return qx.bom.element.Style.get(m, j, n, false); }, set:function(m, o){m.style.cursor=this.__cL[o]||o; }, reset:function(m){m.style.cursor=e; }}}); })(); (function(){var a="", b="qx.client", c=";", d="filter", e="opacity:", f="opacity", g="MozOpacity", h=");", i=")", j="zoom:1;filter:alpha(opacity=", k="qx.bom.element.Opacity", l="alpha(opacity=", m="-moz-opacity:"; qx.Class.define(k, {statics:{compile:qx.core.Variant.select(b, {"mshtml":function(n){if(n>=1){return a; } if(n<0.00001){n=0; }return j+(n*100)+h; }, "gecko":function(n){if(n==1){n=0.999999; } if(qx.bom.client.Engine.VERSION<1.7){return m+n+c; }else{return e+n+c; }}, "default":function(n){if(n==1){return a; }return e+n+c; }}), set:qx.core.Variant.select(b, {"mshtml":function(o, n){var p=qx.bom.element.Style.get(o, d, qx.bom.element.Style.COMPUTED_MODE, false); if(n>=1){o.style.filter=p.replace(/alpha\([^\)]*\)/gi, a); return; } if(n<0.00001){n=0; }if(!o.currentStyle.hasLayout){o.style.zoom=1; }o.style.filter=p.replace(/alpha\([^\)]*\)/gi, a)+l+n*100+i; }, "gecko":function(o, n){if(n==1){n=0.999999; } if(qx.bom.client.Engine.VERSION<1.7){o.style.MozOpacity=n; }else{o.style.opacity=n; }}, "default":function(o, n){if(n==1){n=a; }o.style.opacity=n; }}), reset:qx.core.Variant.select(b, {"mshtml":function(o){var p=qx.bom.element.Style.get(o, d, qx.bom.element.Style.COMPUTED_MODE, false); o.style.filter=p.replace(/alpha\([^\)]*\)/gi, a); }, "gecko":function(o){if(qx.bom.client.Engine.VERSION<1.7){o.style.MozOpacity=a; }else{o.style.opacity=a; }}, "default":function(o){o.style.opacity=a; }}), get:qx.core.Variant.select(b, {"mshtml":function(o, q){var p=qx.bom.element.Style.get(o, d, q, false); if(p){var n=p.match(/alpha\(opacity=(.*)\)/); if(n&&n[1]){return parseFloat(n[1])/100; }}return 1.0; }, "gecko":function(o, q){var n=qx.bom.element.Style.get(o, qx.bom.client.Engine.VERSION<1.7?g:f, q, false); if(n==0.999999){n=1.0; } if(n!=null){return parseFloat(n); }return 1.0; }, "default":function(o, q){var n=qx.bom.element.Style.get(o, f, q, false); if(n!=null){return parseFloat(n); }return 1.0; }})}}); })(); (function(){var a="qx.client", b="", c="boxSizing", d="box-sizing", e=":", f="border-box", g="qx.bom.element.BoxSizing", h="KhtmlBoxSizing", j="-moz-box-sizing", k="WebkitBoxSizing", m=";", n="-khtml-box-sizing", o="content-box", p="-webkit-box-sizing", q="MozBoxSizing"; qx.Class.define(g, {statics:{__cM:qx.core.Variant.select(a, {"mshtml":null, "webkit":[c, h, k], "gecko":[q], "opera":[c]}), __cN:qx.core.Variant.select(a, {"mshtml":null, "webkit":[d, n, p], "gecko":[j], "opera":[d]}), __cO:{tags:{button:true, select:true}, types:{search:true, button:true, submit:true, reset:true, checkbox:true, radio:true}}, __cP:function(r){var s=this.__cO; return s.tags[r.tagName.toLowerCase()]||s.types[r.type]; }, compile:qx.core.Variant.select(a, {"mshtml":function(t){{}; }, "default":function(t){var u=this.__cN; var v=b; if(u){for(var w=0, x=u.length;w0; }}, unregisterEvent:function(i, j, k){var h=qx.core.ObjectRegistry.toHashCode(i); var l=this.__cW; if(!l){return; } if(l[h]){delete l[h]; i.$$displayed=null; }}, refresh:function(){var l=this.__cW; var m; for(var h in l){m=l[h]; var n=m.offsetWidth>0; if((!!m.$$displayed)!==n){m.$$displayed=n; var o=qx.event.Registration.createEvent(n?e:d); this.__cV.dispatchEvent(m, o); }}}}, destruct:function(){this._disposeFields(c, b); delete qx.event.handler.Appear.__cX[this.$$hash]; }, defer:function(p){qx.event.Registration.addHandler(p); }}); })(); (function(){var a="abstract", b="qx.event.dispatch.AbstractBubbling"; qx.Class.define(b, {extend:qx.core.Object, implement:qx.event.IEventDispatcher, type:a, construct:function(c){this._manager=c; }, members:{_getParent:function(d){throw new Error("Missing implementation"); }, canDispatchEvent:function(d, e, f){return e.getBubbles(); }, dispatchEvent:function(d, e, f){var g=d; var c=this._manager; var h, k; var l; var m, n; var o; var p=[]; h=c.getListeners(d, f, true); k=c.getListeners(d, f, false); if(h){p.push(h); } if(k){p.push(k); }var g=this._getParent(d); var q=[]; var r=[]; var s=[]; var t=[]; while(g!=null){h=c.getListeners(g, f, true); if(h){s.push(h); t.push(g); }k=c.getListeners(g, f, false); if(k){q.push(k); r.push(g); }g=this._getParent(g); }e.setEventPhase(qx.event.type.Event.CAPTURING_PHASE); for(var u=s.length-1;u>=0;u--){o=t[u]; e.setCurrentTarget(o); l=s[u]; for(var v=0, w=l.length;v=g&&bv<=h){return true; } if(bv>=n&&bv<=N){return true; } switch(bv){case k:case i:case B:case z:return true; default:return false; }}}, members:{__dd:null, __cY:null, __da:null, __db:null, __dc:null, canHandleEvent:function(bw, bx){}, registerEvent:function(bw, bx, by){}, unregisterEvent:function(bw, bx, by){}, _fireInputEvent:function(bz, bA){var bB=this.__cY.getHandler(qx.event.handler.Focus); var bw=bB.getActive(); if(!bw||bw.offsetWidth==0){bw=bB.getFocus(); }if(bw&&bw.offsetWidth!=0){var bC=qx.event.Registration.createEvent(v, qx.event.type.KeyInput, [bz, bw, bA]); this.__cY.dispatchEvent(bw, bC); }if(this.__da){qx.event.Registration.fireEvent(this.__da, u, qx.event.type.Data, [v]); }}, _fireSequenceEvent:function(bz, bx, bv){var bB=this.__cY.getHandler(qx.event.handler.Focus); var bw=bB.getActive(); if(!bw||bw.offsetWidth==0){bw=bB.getFocus(); }if(!bw||bw.offsetWidth==0){bw=this.__cY.getWindow().document.body; }var bC=qx.event.Registration.createEvent(bx, qx.event.type.KeySequence, [bz, bw, bv]); this.__cY.dispatchEvent(bw, bC); if(qx.core.Variant.isSet(b, bg)){if(bx==a&&bC.getDefaultPrevented()){var bD=bz.keyCode; if(!(this._isNonPrintableKeyCode(bD)||bD==8||bD==9)){this._fireSequenceEvent(bz, c, bv); }}}if(this.__da){qx.event.Registration.fireEvent(this.__da, u, qx.event.type.Data, [bx]); }}, _initKeyObserver:function(){this.__dd=qx.lang.Function.listener(this._onKeyUpDown, this); this._onKeyPressWrapper=qx.lang.Function.listener(this._onKeyPress, this); var bE=qx.bom.Event; bE.addNativeListener(this.__db, e, this.__dd); bE.addNativeListener(this.__db, a, this.__dd); bE.addNativeListener(this.__db, c, this._onKeyPressWrapper); }, _stopKeyObserver:function(){var bE=qx.bom.Event; bE.removeNativeListener(this.__db, e, this.__dd); bE.removeNativeListener(this.__db, a, this.__dd); bE.removeNativeListener(this.__db, c, this._onKeyPressWrapper); }, _onKeyUpDown:qx.core.Variant.select(b, {"mshtml":function(bz){bz=window.event||bz; var bD=bz.keyCode; var bA=0; var bx=bz.type; if(!(this.__dc[bD]==a&&bx==a)){this._idealKeyHandler(bD, bA, bx, bz); }if(bx==a){if(this._isNonPrintableKeyCode(bD)||bD==8||bD==9){this._idealKeyHandler(bD, bA, c, bz); }}this.__dc[bD]=bx; }, "gecko":function(bz){var bD=this._keyCodeFix[bz.keyCode]||bz.keyCode; var bA=bz.charCode; var bx=bz.type; if(qx.bom.client.Platform.WIN){var bv=bD?this._keyCodeToIdentifier(bD):this._charCodeToIdentifier(bA); if(!(this.__dc[bv]==a&&bx==a)){this._idealKeyHandler(bD, bA, bx, bz); }this.__dc[bv]=bx; }else{this._idealKeyHandler(bD, bA, bx, bz); }}, "webkit":function(bz){var bD=0; var bA=0; var bx=bz.type; if(qx.bom.client.Engine.VERSION<525.13){if(bx==e||bx==a){bD=this._charCode2KeyCode[bz.charCode]||bz.keyCode; }else{if(this._charCode2KeyCode[bz.charCode]){bD=this._charCode2KeyCode[bz.charCode]; }else{bA=bz.charCode; }}this._idealKeyHandler(bD, bA, bx, bz); }else{bD=bz.keyCode; if(!(this.__dc[bD]==a&&bx==a)){this._idealKeyHandler(bD, bA, bx, bz); }if(bx==a){if(this._isNonPrintableKeyCode(bD)||bD==8||bD==9){this._idealKeyHandler(bD, bA, c, bz); }}this.__dc[bD]=bx; }}, "opera":function(bz){this._idealKeyHandler(bz.keyCode, 0, bz.type, bz); }}), _onKeyPress:qx.core.Variant.select(b, {"mshtml":function(bz){bz=window.event||bz; if(this._charCode2KeyCode[bz.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[bz.keyCode], 0, bz.type, bz); }else{this._idealKeyHandler(0, bz.keyCode, bz.type, bz); }}, "gecko":function(bz){var bD=this._keyCodeFix[bz.keyCode]||bz.keyCode; var bA=bz.charCode; var bx=bz.type; this._idealKeyHandler(bD, bA, bx, bz); }, "webkit":function(bz){if(qx.bom.client.Engine.VERSION<525.13){var bD=0; var bA=0; var bx=bz.type; if(bx==e||bx==a){bD=this._charCode2KeyCode[bz.charCode]||bz.keyCode; }else{if(this._charCode2KeyCode[bz.charCode]){bD=this._charCode2KeyCode[bz.charCode]; }else{bA=bz.charCode; }}this._idealKeyHandler(bD, bA, bx, bz); }else{if(this._charCode2KeyCode[bz.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[bz.keyCode], 0, bz.type, bz); }else{this._idealKeyHandler(0, bz.keyCode, bz.type, bz); }}}, "opera":function(bz){if(this._keyCodeToIdentifierMap[bz.keyCode]){this._idealKeyHandler(bz.keyCode, 0, bz.type, bz); }else{this._idealKeyHandler(0, bz.keyCode, bz.type, bz); }}}), _idealKeyHandler:function(bD, bA, bF, bz){if(!bD&&!bA){return; }var bv; if(bD){bv=this._keyCodeToIdentifier(bD); this._fireSequenceEvent(bz, bF, bv); }else{bv=this._charCodeToIdentifier(bA); this._fireSequenceEvent(bz, c, bv); this._fireInputEvent(bz, bA); }}, _specialCharCodeMap:{8:bt, 9:bb, 13:f, 27:O, 32:S}, _keyCodeToIdentifierMap:{16:bc, 17:ba, 18:bm, 20:X, 224:V, 37:o, 38:r, 39:L, 40:q, 33:j, 34:H, 35:y, 36:E, 45:w, 46:A, 112:C, 113:F, 114:M, 115:D, 116:p, 117:t, 118:I, 119:x, 120:J, 121:K, 122:s, 123:G, 144:d, 44:l, 145:Y, 19:bd, 91:br, 93:bk}, _numpadToCharCode:{96:g.charCodeAt(0), 97:bp.charCodeAt(0), 98:bn.charCodeAt(0), 99:U.charCodeAt(0), 100:bl.charCodeAt(0), 101:T.charCodeAt(0), 102:bi.charCodeAt(0), 103:W.charCodeAt(0), 104:bq.charCodeAt(0), 105:h.charCodeAt(0), 106:B.charCodeAt(0), 107:k.charCodeAt(0), 109:i.charCodeAt(0), 110:bs.charCodeAt(0), 111:z.charCodeAt(0)}, _charCodeA:n.charCodeAt(0), _charCodeZ:N.charCodeAt(0), _charCode0:g.charCodeAt(0), _charCode9:h.charCodeAt(0), _isNonPrintableKeyCode:function(bD){return this._keyCodeToIdentifierMap[bD]?true:false; }, _isIdentifiableKeyCode:function(bD){if(bD>=this._charCodeA&&bD<=this._charCodeZ){return true; }if(bD>=this._charCode0&&bD<=this._charCode9){return true; }if(this._specialCharCodeMap[bD]){return true; }if(this._numpadToCharCode[bD]){return true; }if(this._isNonPrintableKeyCode(bD)){return true; }return false; }, _keyCodeToIdentifier:function(bD){if(this._isIdentifiableKeyCode(bD)){var bG=this._numpadToCharCode[bD]; if(bG){return String.fromCharCode(bG); }return (this._keyCodeToIdentifierMap[bD]||this._specialCharCodeMap[bD]||String.fromCharCode(bD)); }else{return be; }}, _charCodeToIdentifier:function(bA){return this._specialCharCodeMap[bA]||String.fromCharCode(bA).toUpperCase(); }, _identifierToKeyCode:function(bv){return qx.event.handler.Keyboard._identifierToKeyCodeMap[bv]||bv.charCodeAt(0); }}, destruct:function(){this._stopKeyObserver(); this._disposeFields(Q, bh, bj, R); }, defer:function(bH, bI, bJ){qx.event.Registration.addHandler(bH); if(!bH._identifierToKeyCodeMap){bH._identifierToKeyCodeMap={}; for(var bK in bI._keyCodeToIdentifierMap){bH._identifierToKeyCodeMap[bI._keyCodeToIdentifierMap[bK]]=parseInt(bK, 10); } for(var bK in bI._specialCharCodeMap){bH._identifierToKeyCodeMap[bI._specialCharCodeMap[bK]]=parseInt(bK, 10); }} if(qx.core.Variant.isSet(b, bo)){bI._charCode2KeyCode={13:13, 27:27}; }else if(qx.core.Variant.isSet(b, m)){bI._keyCodeFix={12:bI._identifierToKeyCode(d)}; }else if(qx.core.Variant.isSet(b, P)){if(qx.bom.client.Engine.VERSION<525.13){bI._charCode2KeyCode={63289:bI._identifierToKeyCode(d), 63276:bI._identifierToKeyCode(j), 63277:bI._identifierToKeyCode(H), 63275:bI._identifierToKeyCode(y), 63273:bI._identifierToKeyCode(E), 63234:bI._identifierToKeyCode(o), 63232:bI._identifierToKeyCode(r), 63235:bI._identifierToKeyCode(L), 63233:bI._identifierToKeyCode(q), 63272:bI._identifierToKeyCode(A), 63302:bI._identifierToKeyCode(w), 63236:bI._identifierToKeyCode(C), 63237:bI._identifierToKeyCode(F), 63238:bI._identifierToKeyCode(M), 63239:bI._identifierToKeyCode(D), 63240:bI._identifierToKeyCode(p), 63241:bI._identifierToKeyCode(t), 63242:bI._identifierToKeyCode(I), 63243:bI._identifierToKeyCode(x), 63244:bI._identifierToKeyCode(J), 63245:bI._identifierToKeyCode(K), 63246:bI._identifierToKeyCode(s), 63247:bI._identifierToKeyCode(G), 63248:bI._identifierToKeyCode(l), 3:bI._identifierToKeyCode(f), 12:bI._identifierToKeyCode(d), 13:bI._identifierToKeyCode(f)}; }else{bI._charCode2KeyCode={13:13, 27:27}; }}}}); })(); (function(){var a="qx.client", b="mouseup", c="mousedown", d="click", e="contextmenu", f="dblclick", g="mousewheel", h="mouseover", i="mouseout", j="DOMMouseScroll", k="mousemove", l="mshtml|webkit|opera", m="useraction", n="__dl", o="__df", p="__de", q="__dg", r="qx.event.handler.Mouse", s="gecko|webkit"; qx.Class.define(r, {extend:qx.core.Object, implement:qx.event.IEventHandler, construct:function(t){arguments.callee.base.call(this); this.__de=t; this.__df=t.getWindow(); this.__dg=this.__df.document.documentElement; this._initButtonObserver(); this._initMoveObserver(); this._initWheelObserver(); }, statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL, SUPPORTED_TYPES:{mousemove:1, mouseover:1, mouseout:1, mousedown:1, mouseup:1, click:1, dblclick:1, contextmenu:1, mousewheel:1}, TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE, IGNORE_CAN_HANDLE:true}, members:{__dh:null, __di:null, __dj:null, __dk:null, __dl:null, __de:null, __df:null, __dg:null, canHandleEvent:function(u, v){}, registerEvent:function(u, v, w){}, unregisterEvent:function(u, v, w){}, __dm:function(x, v, u){if(!u){u=x.target||x.srcElement; }qx.event.Registration.fireEvent(u, v||x.type, qx.event.type.Mouse, [x, u, null, true, true]); qx.event.Registration.fireEvent(this.__df, m, qx.event.type.Data, [v||x.type]); }, _initButtonObserver:function(){this.__dh=qx.lang.Function.listener(this._onButtonEvent, this); var y=qx.bom.Event; y.addNativeListener(this.__dg, c, this.__dh); y.addNativeListener(this.__dg, b, this.__dh); y.addNativeListener(this.__dg, d, this.__dh); y.addNativeListener(this.__dg, f, this.__dh); y.addNativeListener(this.__dg, e, this.__dh); }, _initMoveObserver:function(){this.__di=qx.lang.Function.listener(this._onMoveEvent, this); var y=qx.bom.Event; y.addNativeListener(this.__dg, k, this.__di); y.addNativeListener(this.__dg, h, this.__di); y.addNativeListener(this.__dg, i, this.__di); }, _initWheelObserver:function(){this.__dj=qx.lang.Function.listener(this._onWheelEvent, this); var y=qx.bom.Event; var v=qx.core.Variant.isSet(a, l)?g:j; y.addNativeListener(this.__dg, v, this.__dj); }, _stopButtonObserver:function(){var y=qx.bom.Event; y.removeNativeListener(this.__dg, c, this.__dh); y.removeNativeListener(this.__dg, b, this.__dh); y.removeNativeListener(this.__dg, d, this.__dh); y.removeNativeListener(this.__dg, f, this.__dh); y.removeNativeListener(this.__dg, e, this.__dh); }, _stopMoveObserver:function(){var y=qx.bom.Event; y.removeNativeListener(this.__dg, k, this.__di); y.removeNativeListener(this.__dg, h, this.__di); y.removeNativeListener(this.__dg, i, this.__di); }, _stopWheelObserver:function(){var y=qx.bom.Event; var v=qx.core.Variant.isSet(a, l)?g:j; y.removeNativeListener(this.__dg, v, this.__dj); }, _onMoveEvent:function(x){this.__dm(x); }, _onButtonEvent:function(x){var v=x.type; var u=x.target||x.srcElement; if(qx.core.Variant.isSet(a, s)){if(u&&u.nodeType==3){u=u.parentNode; }} if(this.__dn){this.__dn(x, v, u); } if(this.__dp){this.__dp(x, v, u); }this.__dm(x, v, u); if(this.__do){this.__do(x, v, u); } if(this.__dq){this.__dq(x, v, u); }this.__dk=v; }, _onWheelEvent:function(x){this.__dm(x, g); }, __dn:qx.core.Variant.select(a, {"webkit":function(x, v, u){if(v==e){this.__dm(x, c, u); this.__dm(x, b, u); }}, "default":null}), __do:qx.core.Variant.select(a, {"opera":function(x, v, u){if(v==b&&x.button==2){this.__dm(x, e, u); }}, "default":null}), __dp:qx.core.Variant.select(a, {"mshtml":function(x, v, u){if(v==b&&this.__dk==d){this.__dm(x, c, u); }else if(v==f){this.__dm(x, d, u); }}, "default":null}), __dq:qx.core.Variant.select(a, {"mshtml":null, "default":function(x, v, u){switch(v){case c:this.__dl=u; break; case b:if(u!==this.__dl){var z=qx.dom.Hierarchy.getCommonParent(u, this.__dl); this.__dm(x, d, z); }}}})}, destruct:function(){this._stopButtonObserver(); this._stopMoveObserver(); this._stopWheelObserver(); this._disposeFields(p, o, q, n); }, defer:function(A){qx.event.Registration.addHandler(A); }}); })(); (function(){var a="qx.event.handler.Capture"; qx.Class.define(a, {extend:qx.core.Object, implement:qx.event.IEventHandler, statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL, SUPPORTED_TYPES:{capture:true, losecapture:true}, TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE, IGNORE_CAN_HANDLE:true}, members:{canHandleEvent:function(b, c){}, registerEvent:function(b, c, d){}, unregisterEvent:function(b, c, d){}}, defer:function(e){qx.event.Registration.addHandler(e); }}); })(); (function(){var a="alias", b="copy", c="blur", d="mousedown", f="mouseout", g="keydown", h="Ctrl", i="Shift", j="mousemove", k="move", l="mouseover", m="Alt", n="keyup", o="mouseup", p="dragend", q="on", r="qxDraggable", s="drag", t="drop", u="qxDroppable", v="qx.event.handler.DragDrop", w="__dF", x="__dw", y="droprequest", z="__dJ", A="dragstart", B="__dx", C="dragchange", D="__dy", E="dragleave", F="__dr", G="__ds", H="dragover", I="__dv"; qx.Class.define(v, {extend:qx.core.Object, implement:qx.event.IEventHandler, construct:function(J){arguments.callee.base.call(this); this.__dr=J; this.__ds=J.getWindow().document.documentElement; this.__dr.addListener(this.__ds, d, this._onMouseDown, this); this.__du(); }, statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL, SUPPORTED_TYPES:{dragstart:1, dragend:1, dragover:1, dragleave:1, drop:1, drag:1, dragchange:1, droprequest:1}, IGNORE_CAN_HANDLE:true}, members:{canHandleEvent:function(K, L){}, registerEvent:function(K, L, M){}, unregisterEvent:function(K, L, M){}, addType:function(L){this.__dv[L]=true; }, addAction:function(N){this.__dw[N]=true; }, supportsType:function(L){return !!this.__dv[L]; }, supportsAction:function(L){return !!this.__dw[L]; }, getData:function(L){if(!this.__dI||!this.__dJ){throw new Error("This method must not be used outside the drop event listener!"); } if(!this.__dv[L]){throw new Error("Unsupported data type: "+L+"!"); } if(!this.__dy[L]){this.__dt=L; this.__dB(y, this.__dF, false); } if(!this.__dy[L]){throw new Error("Please use a dragrequest listener to the drag target to fill the manager with data!"); }return this.__dy[L]||null; }, getCurrentAction:function(){return this.__dA; }, addData:function(L, O){this.__dy[L]=O; }, getCurrentType:function(){return this.__dt; }, __du:function(){this.__dv={}; this.__dw={}; this.__dx={}; this.__dy={}; }, __dz:function(){var P=this.__dw; var Q=this.__dx; var R=null; if(this.__dI){if(Q.Shift&&Q.Ctrl&&P.alias){R=a; }else if(Q.Shift&&Q.Alt&&P.copy){R=b; }else if(Q.Shift&&P.move){R=k; }else if(Q.Alt&&P.alias){R=a; }else if(Q.Ctrl&&P.copy){R=b; }else if(P.move){R=k; }else if(P.copy){R=b; }else if(P.alias){R=a; }} if(R!=this.__dA){this.__dA=R; this.__dB(C, this.__dF, false); }}, __dB:function(L, K, S, T){var U=qx.event.Registration; var V=U.createEvent(L, qx.event.type.Drag, [S, T]); if(this.__dF!==this.__dJ){if(K==this.__dF){V.setRelatedTarget(this.__dJ); }else{V.setRelatedTarget(this.__dF); }}return U.dispatchEvent(K, V); }, __dC:function(W){while(W&&W.nodeType==1){if(W.getAttribute(r)==q){return W; }W=W.parentNode; }return null; }, __dD:function(W){while(W&&W.nodeType==1){if(W.getAttribute(u)==q){return W; }W=W.parentNode; }return null; }, __dE:function(){this.__dF=null; this.__dr.removeListener(this.__ds, j, this._onMouseMove, this, true); this.__dr.removeListener(this.__ds, o, this._onMouseUp, this, true); qx.event.Registration.removeListener(window, c, this._onWindowBlur, this); this.__du(); }, __dG:function(){if(this.__dH){this.__dr.removeListener(this.__ds, l, this._onMouseOver, this, true); this.__dr.removeListener(this.__ds, f, this._onMouseOut, this, true); this.__dr.removeListener(this.__ds, g, this._onKeyDown, this, true); this.__dr.removeListener(this.__ds, n, this._onKeyUp, this, true); this.__dB(p, this.__dF, false); this.__dH=false; }this.__dI=false; this.__dJ=null; this.__dE(); }, __dI:false, _onWindowBlur:function(X){this.__dG(); }, _onKeyDown:function(X){var Y=X.getKeyIdentifier(); switch(Y){case m:case h:case i:if(!this.__dx[Y]){this.__dx[Y]=true; this.__dz(); }}}, _onKeyUp:function(X){var Y=X.getKeyIdentifier(); switch(Y){case m:case h:case i:if(this.__dx[Y]){this.__dx[Y]=false; this.__dz(); }}}, _onMouseDown:function(X){if(this.__dH){return; }var ba=this.__dC(X.getTarget()); if(ba){this.__dK=X.getDocumentLeft(); this.__dL=X.getDocumentTop(); this.__dF=ba; this.__dr.addListener(this.__ds, j, this._onMouseMove, this, true); this.__dr.addListener(this.__ds, o, this._onMouseUp, this, true); qx.event.Registration.addListener(window, c, this._onWindowBlur, this); }}, _onMouseUp:function(X){if(this.__dI){this.__dB(t, this.__dJ, false, X); }if(this.__dH){X.stopPropagation(); }this.__dG(); }, _onMouseMove:function(X){if(this.__dH){if(!this.__dB(s, this.__dF, true, X)){this.__dG(); }}else{if(Math.abs(X.getDocumentLeft()-this.__dK)>3||Math.abs(X.getDocumentTop()-this.__dL)>3){if(this.__dB(A, this.__dF, true, X)){this.__dH=true; this.__dr.addListener(this.__ds, l, this._onMouseOver, this, true); this.__dr.addListener(this.__ds, f, this._onMouseOut, this, true); this.__dr.addListener(this.__ds, g, this._onKeyDown, this, true); this.__dr.addListener(this.__ds, n, this._onKeyUp, this, true); var Q=this.__dx; Q.Ctrl=X.isCtrlPressed(); Q.Shift=X.isShiftPressed(); Q.Alt=X.isAltPressed(); this.__dz(); }else{this.__dB(p, this.__dF, false); this.__dE(); }}}}, _onMouseOver:function(X){var K=X.getTarget(); var bb=this.__dD(K); if(bb&&bb!=this.__dJ){this.__dI=this.__dB(H, bb, true, X); this.__dJ=bb; this.__dz(); }}, _onMouseOut:function(X){var K=X.getTarget(); var bb=this.__dD(K); if(bb&&bb==this.__dJ){this.__dB(E, this.__dJ, false, X); this.__dJ=null; this.__dI=false; this.__dz(); }}}, destruct:function(){this.__dG(); this.__dr.removeListener(this.__ds, d, this._onMouseDown, this); this._disposeFields(w, z, F, G, I, x, B, D); }, defer:function(bc){qx.event.Registration.addHandler(bc); }}); })(); (function(){var a="-", b="qx.event.handler.Element", c="_manager", d="_registeredEvents"; qx.Class.define(b, {extend:qx.core.Object, implement:qx.event.IEventHandler, construct:function(e){arguments.callee.base.call(this); this._manager=e; this._registeredEvents={}; }, statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL, SUPPORTED_TYPES:{abort:true, scroll:true, select:true, reset:true, submit:true}, TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE, IGNORE_CAN_HANDLE:true}, members:{canHandleEvent:function(f, g){}, registerEvent:function(f, g, h){var i=qx.core.ObjectRegistry.toHashCode(f); var j=i+a+g; var k=qx.lang.Function.listener(this._onNative, this, j); qx.bom.Event.addNativeListener(f, g, k); this._registeredEvents[j]={element:f, type:g, listener:k}; }, unregisterEvent:function(f, g, h){var l=this._registeredEvents; if(!l){return; }var i=qx.core.ObjectRegistry.toHashCode(f); var j=i+a+g; var m=this._registeredEvents[j]; qx.bom.Event.removeNativeListener(f, g, m.listener); delete this._registeredEvents[j]; }, _onNative:function(n, j){var l=this._registeredEvents; if(!l){return; }var m=l[j]; qx.event.Registration.fireNonBubblingEvent(m.element, m.type, qx.event.type.Native, [n]); }}, destruct:function(){var o; var l=this._registeredEvents; for(var p in l){o=l[p]; qx.bom.Event.removeNativeListener(o.element, o.type, o.listener); }this._disposeFields(c, d); }, defer:function(q){qx.event.Registration.addHandler(q); }}); })(); (function(){var a="", b=">", c="<", d=" ", e="='", f="http://www.w3.org/1999/xhtml", g="qx.bom.Element", h="div", i="' ", j=">=1){return true; }var ba=qx.event.handler.Focus.FOCUSABLE_ELEMENTS; if(Y>=0&&ba[X.tagName]){return true; }return false; }, __el:function(X){while(X&&X.nodeType===1){if(X.getAttribute(H)==f){return null; } if(this.__ek(X)){return X; }X=X.parentNode; }return this._body; }, __em:function(X){var bb=X; while(X&&X.nodeType===1){if(X.getAttribute(I)==f){return null; }X=X.parentNode; }return bb; }, __en:function(bc){while(bc&&bc.nodeType===1){var bd=bc.getAttribute(z); if(bd!=null){return bd===f; }bc=bc.parentNode; }return true; }, _applyActive:function(be, bf){if(bf){this.__dN(bf, be, v, true); } if(be){this.__dN(be, bf, D, true); }}, _applyFocus:function(be, bf){if(bf){this.__dN(bf, be, E, true); } if(be){this.__dN(be, bf, x, true); }if(bf){this.__dN(bf, be, b, false); } if(be){this.__dN(be, bf, c, false); }}}, destruct:function(){this._stopObserver(); this._disposeFields(G, u, q, r, C, F); }, defer:function(bg){qx.event.Registration.addHandler(bg); var ba=bg.FOCUSABLE_ELEMENTS; for(var bh in ba){ba[bh.toUpperCase()]=1; }}}); })(); (function(){var a="qx.event.type.Focus"; qx.Class.define(a, {extend:qx.event.type.Event, members:{init:function(b, c, d){arguments.callee.base.call(this, d, false); this._target=b; this._relatedTarget=c; return this; }}}); })(); (function(){var a="qx.client", b="readOnly", c="accessKey", d="qx.bom.element.Attribute", e="rowSpan", f="vAlign", g="className", h="textContent", i="'", j="htmlFor", k="longDesc", l="cellSpacing", m="frameBorder", n="='", o="", p="useMap", q="innerText", r="innerHTML", s="tabIndex", t="dateTime", u="maxLength", v="mshtml", w="cellPadding", x="colSpan"; qx.Class.define(d, {statics:{__eo:{names:{"class":g, "for":j, html:r, text:qx.core.Variant.isSet(a, v)?q:h, colspan:x, rowspan:e, valign:f, datetime:t, accesskey:c, tabindex:s, maxlength:u, readonly:b, longdesc:k, cellpadding:w, cellspacing:l, frameborder:m, usemap:p}, runtime:{"html":1, "text":1}, bools:{compact:1, nowrap:1, ismap:1, declare:1, noshade:1, checked:1, disabled:1, readonly:1, multiple:1, selected:1, noresize:1, defer:1}, property:{$$html:1, $$widget:1, disabled:1, checked:1, readOnly:1, multiple:1, selected:1, value:1, maxLength:1, className:1, innerHTML:1, innerText:1, textContent:1, htmlFor:1, tabIndex:1}, original:{href:1, src:1, type:1}}, compile:function(y){var z=[]; var A=this.__eo.runtime; for(var B in y){if(!A[B]){z.push(B, n, y[B], i); }}return z.join(o); }, get:qx.core.Variant.select(a, {"mshtml":function(C, D){var E=this.__eo; var F; D=E.names[D]||D; if(E.original[D]){F=C.getAttribute(D, 2); }else if(E.property[D]){F=C[D]; }else{F=C.getAttribute(D); }if(E.bools[D]){return !!F; }return F; }, "default":function(C, D){var E=this.__eo; var F; D=E.names[D]||D; if(E.property[D]){F=C[D]; if(F==null){F=C.getAttribute(D); }}else{F=C.getAttribute(D); }if(E.bools[D]){return !!F; }return F; }}), set:function(C, D, F){var E=this.__eo; D=E.names[D]||D; if(E.bools[D]){F=!!F; }if(E.property[D]){C[D]=F; }else if(F===true){C.setAttribute(D, D); }else if(F===false||F===null){C.removeAttribute(D); }else{C.setAttribute(D, F); }}, reset:function(C, D){this.set(C, D, null); }}}); })(); (function(){var a="qx.event.type.Native", b="_native"; qx.Class.define(a, {extend:qx.event.type.Event, members:{init:function(c, d, e, f, g){arguments.callee.base.call(this, f, g); this._target=d||qx.bom.Event.getTarget(c); this._relatedTarget=e||qx.bom.Event.getRelatedTarget(c); if(c.timeStamp){this._timeStamp=c.timeStamp; }this._native=c; return this; }, clone:function(h){var i=arguments.callee.base.call(this, h); i._native=this._native; return i; }, preventDefault:function(){arguments.callee.base.call(this); qx.bom.Event.preventDefault(this._native); }, stop:function(){this.stopPropagation(); this.preventDefault(); }, getNativeEvent:function(){return this._native; }}, destruct:function(){this._disposeFields(b); }}); })(); (function(){var a="qx.event.type.Dom"; qx.Class.define(a, {extend:qx.event.type.Native, statics:{SHIFT_MASK:1, CTRL_MASK:2, ALT_MASK:4, META_MASK:8}, members:{getModifiers:function(){if(!this.__modifiers){var b=0; var c=this._native; if(c.shiftKey){b|=qx.event.type.Dom.SHIFT_MASK; } if(c.ctrlKey){b|=qx.event.type.Dom.CTRL_MASK; } if(c.altKey){b|=qx.event.type.Dom.ALT_MASK; } if(c.metaKey){b|=qx.event.type.Dom.META_MASK; }return b; }return this.__modifiers; }, isCtrlPressed:function(){return this._native.ctrlKey; }, isShiftPressed:function(){return this._native.shiftKey; }, isAltPressed:function(){return this._native.altKey; }, isMetaPressed:function(){return this._native.metaKey; }, isCtrlOrCommandPressed:function(){if(qx.bom.client.Platform.MAC){return this._native.metaKey; }else{return this._native.ctrlKey; }}}}); })(); (function(){var a="qx.event.type.KeyInput"; qx.Class.define(a, {extend:qx.event.type.Dom, members:{init:function(b, c, d){arguments.callee.base.call(this, b, c, null, true, true); this._charCode=d; return this; }, clone:function(e){var f=arguments.callee.base.call(this, e); f._charCode=this._charCode; return f; }, getCharCode:function(){return this._charCode; }, getChar:function(){return String.fromCharCode(this._charCode); }}}); })(); (function(){var a="iPod", b="Win32", c="", d="Win64", e="Linux", f="BSD", g="Macintosh", h="iPhone", i="Windows", j="qx.bom.client.Platform", k="X11", l="MacIntel", m="MacPPC"; qx.Bootstrap.define(j, {statics:{NAME:"", WIN:false, MAC:false, UNIX:false, __ep:function(){var n=navigator.platform; if(n==null||n===c){n=navigator.userAgent; } if(n.indexOf(i)!=-1||n.indexOf(b)!=-1||n.indexOf(d)!=-1){this.WIN=true; this.NAME="win"; }else if(n.indexOf(g)!=-1||n.indexOf(m)!=-1||n.indexOf(l)!=-1||n.indexOf(a)!=-1||n.indexOf(h)!=-1){this.MAC=true; this.NAME="mac"; }else if(n.indexOf(k)!=-1||n.indexOf(e)!=-1||n.indexOf(f)!=-1){this.UNIX=true; this.NAME="unix"; }else{throw new Error("Unable to detect platform: "+n); }}}, defer:function(o){o.__ep(); }}); })(); (function(){var a="qx.event.type.KeySequence"; qx.Class.define(a, {extend:qx.event.type.Dom, members:{init:function(b, c, d){arguments.callee.base.call(this, b, c, null, true, true); this._identifier=d; return this; }, clone:function(e){var f=arguments.callee.base.call(this, e); f._identifier=this._identifier; return f; }, getKeyIdentifier:function(){return this._identifier; }}}); })(); (function(){var a="qx.client", b="left", c="right", d="middle", e="dblclick", f="click", g="none", h="contextmenu", i="qx.event.type.Mouse"; qx.Class.define(i, {extend:qx.event.type.Dom, members:{init:function(j, k, l, m, n){arguments.callee.base.call(this, j, k, l, m, n); if(!l){this._relatedTarget=qx.bom.Event.getRelatedTarget(j); }return this; }, __eq:qx.core.Variant.select(a, {"mshtml":{1:b, 2:c, 4:d}, "default":{0:b, 2:c, 1:d}}), stop:function(){this.stopPropagation(); }, getButton:function(){switch(this._type){case f:case e:return b; case h:return c; default:return this.__eq[this._native.button]||g; }}, isLeftPressed:function(){return this.getButton()===b; }, isMiddlePressed:function(){return this.getButton()===d; }, isRightPressed:function(){return this.getButton()===c; }, getRelatedTarget:function(){return this._relatedTarget; }, getViewportLeft:function(){return this._native.clientX; }, getViewportTop:function(){return this._native.clientY; }, getDocumentLeft:qx.core.Variant.select(a, {"mshtml":function(){var o=qx.dom.Node.getWindow(this._native.srcElement); return this._native.clientX+qx.bom.Viewport.getScrollLeft(o); }, "default":function(){return this._native.pageX; }}), getDocumentTop:qx.core.Variant.select(a, {"mshtml":function(){var o=qx.dom.Node.getWindow(this._native.srcElement); return this._native.clientY+qx.bom.Viewport.getScrollTop(o); }, "default":function(){return this._native.pageY; }}), getScreenLeft:function(){return this._native.screenX; }, getScreenTop:function(){return this._native.screenY; }, getWheelDelta:qx.core.Variant.select(a, {"default":function(){return -(this._native.wheelDelta/40); }, "gecko":function(){return this._native.detail; }})}}); })(); (function(){var a="qx.client", b="qx.event.type.Drag"; qx.Class.define(b, {extend:qx.event.type.Event, members:{init:function(c, d){arguments.callee.base.call(this, false, c); if(d){this._native=d.getNativeEvent()||null; this._originalTarget=d.getTarget()||null; }else{this._native=null; this._originalTarget=null; }return this; }, clone:function(e){var f=arguments.callee.base.call(this, e); f._native=this._native; return f; }, getDocumentLeft:qx.core.Variant.select(a, {"mshtml":function(){if(this._native==null){return 0; }var g=qx.dom.Node.getWindow(this._native.srcElement); return this._native.clientX+qx.bom.Viewport.getScrollLeft(g); }, "default":function(){if(this._native==null){return 0; }return this._native.pageX; }}), getDocumentTop:qx.core.Variant.select(a, {"mshtml":function(){if(this._native==null){return 0; }var g=qx.dom.Node.getWindow(this._native.srcElement); return this._native.clientY+qx.bom.Viewport.getScrollTop(g); }, "default":function(){if(this._native==null){return 0; }return this._native.pageY; }}), getManager:function(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop); }, addType:function(h){this.getManager().addType(h); }, addAction:function(i){this.getManager().addAction(i); }, supportsType:function(h){return this.getManager().supportsType(h); }, supportsAction:function(i){return this.getManager().supportsAction(i); }, addData:function(h, j){this.getManager().addData(h, j); }, getData:function(h){return this.getManager().getData(h); }, getCurrentType:function(){return this.getManager().getCurrentType(); }, getCurrentAction:function(){return this.getManager().getCurrentAction(); }}}); })(); (function(){var a="blur", b="losecapture", c="__er", d="__es", e="capture", f="click", g="__et", h="qx.event.dispatch.MouseCapture", j="focus", k="scroll"; qx.Class.define(h, {extend:qx.core.Object, implement:qx.event.IEventDispatcher, construct:function(m){arguments.callee.base.call(this); this.__er=m; this.__es=m.getWindow(); m.addListener(this.__es, a, this.releaseCapture, this); m.addListener(this.__es, j, this.releaseCapture, this); m.addListener(this.__es, k, this.releaseCapture, this); }, statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST}, members:{__et:null, __er:null, __es:null, canDispatchEvent:function(n, o, p){return this.__et&&this.__eu[p]; }, dispatchEvent:function(n, o, p){if(p==f){o.stopPropagation(); this.releaseCapture(); return; }var q=this.__er.getListeners(this.__et, p, false); if(q){o.setCurrentTarget(this.__et); o.setEventPhase(qx.event.type.Event.AT_TARGET); for(var r=0, s=q.length;r=0&&p<=k.value.length&&q>=0&&q<=k.value.length){l=qx.bom.Range.get(k); l.collapse(true); l.moveStart(d, p); l.moveEnd(d, q); l.select(); return true; }break; case f:if(q===undefined){q=k.nodeValue.length; } if(p>=0&&p<=k.nodeValue.length&&q>=0&&q<=k.nodeValue.length){l=qx.bom.Range.get(qx.dom.Node.getBodyElement(k)); l.moveToElementText(k.parentNode); l.collapse(true); l.moveStart(d, p); l.moveEnd(d, q); l.select(); return true; }break; default:if(q===undefined){q=k.childNodes.length-1; }if(k.childNodes[p]&&k.childNodes[q]){l=qx.bom.Range.get(qx.dom.Node.getBodyElement(k)); l.moveToElementText(k.childNodes[p]); l.collapse(true); var r=qx.bom.Range.get(qx.dom.Node.getBodyElement(k)); r.moveToElementText(k.childNodes[q]); l.setEndPoint(g, r); l.select(); return true; }}}return false; }, "default":function(k, p, q){var s=k.nodeName.toLowerCase(); if(qx.dom.Node.isElement(k)&&(s==b||s==a)){if(q===undefined){q=k.value.length; }if(p>=0&&p<=k.value.length&&q>=0&&q<=k.value.length){k.select(); k.setSelectionRange(p, q); return true; }}else{var t=false; var u=qx.dom.Node.getWindow(k).getSelection(); var l=qx.bom.Range.get(k); if(qx.dom.Node.isText(k)){if(q===undefined){q=k.length; } if(p>=0&&p=0&&q<=k.length){t=true; }}else if(qx.dom.Node.isElement(k)){if(q===undefined){q=k.childNodes.length-1; } if(p>=0&&k.childNodes[p]&&q>=0&&k.childNodes[q]){t=true; }}else if(qx.dom.Node.isDocument(k)){k=k.body; if(q===undefined){q=k.childNodes.length-1; } if(p>=0&&k.childNodes[p]&&q>=0&&k.childNodes[q]){t=true; }} if(t){if(!u.isCollapsed){u.collapseToStart(); }l.setStart(k, p); if(qx.dom.Node.isText(k)){l.setEnd(k, q); }else{l.setEndAfter(k.childNodes[q]); }if(u.rangeCount>0){u.removeAllRanges(); }u.addRange(l); return true; }}return false; }}), setAll:function(k){return qx.bom.Selection.set(k, 0); }, clear:qx.core.Variant.select(c, {"mshtml":function(k){var u=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(k)); var l=qx.bom.Range.get(k); var v=l.parentElement(); var w=qx.bom.Range.get(qx.dom.Node.getDocument(k)); if(v==w.parentElement()&&v==k){u.empty(); }}, "default":function(k){var u=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(k)); var s=k.nodeName.toLowerCase(); if(qx.dom.Node.isElement(k)&&(s==b||s==a)){k.setSelectionRange(0, 0); qx.bom.Element.blur(k); }else if(qx.dom.Node.isDocument(k)||s==i){u.collapse(k.body?k.body:k, 0); }else{var l=qx.bom.Range.get(k); if(!l.collapsed){var x; var y=l.commonAncestorContainer; if(qx.dom.Node.isElement(k)&&qx.dom.Node.isText(y)){x=y.parentNode; }else{x=y; } if(x==k){u.collapse(k, 0); }}}}})}}); })(); (function(){var a="button", b="qx.bom.Range", c="text", d="password", e="file", f="submit", g="reset", h="textarea", i="input", j="hidden", k="qx.client", l="body"; qx.Class.define(b, {statics:{get:qx.core.Variant.select(k, {"mshtml":function(m){if(qx.dom.Node.isElement(m)){switch(m.nodeName.toLowerCase()){case i:switch(m.type){case c:case d:case j:case a:case g:case e:case f:return m.createTextRange(); break; default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange(); }break; case h:case l:case a:return m.createTextRange(); break; default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange(); }}else{return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange(); }}, "default":function(m){var n=qx.dom.Node.getDocument(m); var o=qx.bom.Selection.getSelectionObject(n); if(o.rangeCount>0){return o.getRangeAt(0); }else{return n.createRange(); }}})}}); })(); (function(){var a="", b="g", c="$", d="qx.util.StringSplit", e="\\$&", f="^"; qx.Bootstrap.define(d, {statics:{split:function(g, h, k){var l=a; if(h===undefined){return [g.toString()]; }else if(h===null||h.constructor!==RegExp){h=new RegExp(String(h).replace(/[.*+?^${}()|[\]\/\\]/g, e), b); }else{l=h.toString().replace(/^[\S\s]+\//, a); if(!h.global){h=new RegExp(h.source, b+l); }}var m=new RegExp(f+h.source+c, l); if(k===undefined||+k<0){k=false; }else{k=Math.floor(+k); if(!k){return []; }}var n, o=[], p=0, q=0; while((k?q++<=k:true)&&(n=h.exec(g))){if((n[0].length===0)&&(h.lastIndex>n.index)){h.lastIndex--; } if(h.lastIndex>p){if(n.length>1){n[0].replace(m, function(){for(var r=1;r=0;e--){var c=d[e]; if(c.hasValidLayout()){continue; }if(c.isRootWidget()&&!c.hasUserBounds()){var f=c.getSizeHint(); c.renderLayout(0, 0, f.width, f.height); }else{var g=c.getBounds(); c.renderLayout(g.left, g.top, g.width, g.height); }}}, getNestingLevel:function(c){var h=this.__eA; var j=0; var k=c; while(true){if(h[k.$$hash]!=null){j+=h[k.$$hash]; break; } if(!k.$$parent){break; }k=k.$$parent; j+=1; }var l=j; while(c&&c!==k){h[c.$$hash]=l--; c=c.$$parent; }return j; }, isWidgetVisible:function(c){var h=this.__ez; var k=c; var m=false; while(k){if(h[k.$$hash]!=null){m=h[k.$$hash]; break; }if(k.isRootWidget()){m=true; break; }if(!k.shouldBeLayouted()){break; }k=k.$$parent; }while(c&&c!==k){h[c.$$hash]=m; c=c.$$parent; }return m; }, __ey:function(){this.__ez={}; this.__eA={}; var n=[]; var d=this.__ex; var c, j; for(var o in d){c=d[o]; if(this.isWidgetVisible(c)){j=this.getNestingLevel(c); if(!n[j]){n[j]={}; }n[j][o]=c; delete d[o]; }}return n; }, __eB:function(){var p=[]; var n=this.__ey(); for(var j=n.length-1;j>=0;j--){if(!n[j]){continue; } for(var o in n[j]){var c=n[j][o]; if(j==0||c.isRootWidget()||c.hasUserBounds()){p.push(c); c.invalidateLayoutCache(); continue; }var q=c.getSizeHint(false); if(q){c.invalidateLayoutCache(); var r=c.getSizeHint(); var s=(!c.getBounds()||q.minWidth!==r.minWidth||q.width!==r.width||q.maxWidth!==r.maxWidth||q.minHeight!==r.minHeight||q.height!==r.height||q.maxHeight!==r.maxHeight); }else{s=true; } if(s){var k=c.getLayoutParent(); if(!n[j-1]){n[j-1]={}; }n[j-1][k.$$hash]=k; }else{p.push(c); }}}return p; }}}); })(); (function(){var a="dispose", b="qx.ui.core.queue.Dispose"; qx.Class.define(b, {statics:{__eC:{}, add:function(c){var d=this.__eC; if(d[c.$$hash]){return; }d[c.$$hash]=c; qx.ui.core.queue.Manager.scheduleFlush(a); }, flush:function(){var d=this.__eC; for(var e in d){d[e].dispose(); delete d[e]; }for(var e in d){return; }this.__eC={}; }}}); })(); (function(){var a="qx.ui.core.MChildrenHandling"; qx.Mixin.define(a, {members:{getChildren:function(){return this._getChildren(); }, hasChildren:function(){return this._hasChildren(); }, indexOf:function(b){return this._indexOf(b); }, add:function(b, c){this._add(b, c); }, addAt:function(b, d, c){this._addAt(b, d, c); }, addBefore:function(b, e, c){this._addBefore(b, e, c); }, addAfter:function(b, f, c){this._addAfter(b, f, c); }, remove:function(b){this._remove(b); }, removeAt:function(d){this._removeAt(d); }, removeAll:function(){this._removeAll(); }}, statics:{remap:function(g){g.getChildren=g._getChildren; g.hasChildren=g._hasChildren; g.indexOf=g._indexOf; g.add=g._add; g.addAt=g._addAt; g.addBefore=g._addBefore; g.addAfter=g._addAfter; g.remove=g._remove; g.removeAt=g._removeAt; g.removeAll=g._removeAll; }}}); })(); (function(){var a="Integer", b="_applyDimension", c="Boolean", d="_applyStretching", e="_applyMargin", f="shorthand", g="_applyAlign", h="allowShrinkY", i="__eI", j="bottom", k="baseline", l="marginBottom", m="qx.ui.core.LayoutItem", n="center", o="marginTop", p="$$subparent", q="allowGrowX", r="middle", s="marginLeft", t="allowShrinkX", u="__eJ", v="$$parent", w="top", x="right", y="marginRight", z="__eG", A="abstract", B="__eE", C="allowGrowY", D="left"; qx.Class.define(m, {type:A, extend:qx.core.Object, properties:{minWidth:{check:a, nullable:true, apply:b, init:null, themeable:true}, width:{check:a, nullable:true, apply:b, init:null, themeable:true}, maxWidth:{check:a, nullable:true, apply:b, init:null, themeable:true}, minHeight:{check:a, nullable:true, apply:b, init:null, themeable:true}, height:{check:a, nullable:true, apply:b, init:null, themeable:true}, maxHeight:{check:a, nullable:true, apply:b, init:null, themeable:true}, allowGrowX:{check:c, apply:d, init:true, themeable:true}, allowShrinkX:{check:c, apply:d, init:true, themeable:true}, allowGrowY:{check:c, apply:d, init:true, themeable:true}, allowShrinkY:{check:c, apply:d, init:true, themeable:true}, allowStretchX:{group:[q, t], mode:f, themeable:true}, allowStretchY:{group:[C, h], mode:f, themeable:true}, marginTop:{check:a, init:0, apply:e, themeable:true}, marginRight:{check:a, init:0, apply:e, themeable:true}, marginBottom:{check:a, init:0, apply:e, themeable:true}, marginLeft:{check:a, init:0, apply:e, themeable:true}, margin:{group:[o, y, l, s], mode:f, themeable:true}, alignX:{check:[D, n, x], nullable:true, apply:g, themeable:true}, alignY:{check:[w, r, j, k], nullable:true, apply:g, themeable:true}}, members:{__eD:null, __eE:null, __eF:null, __eG:null, __eH:null, __eI:null, __eJ:null, getBounds:function(){return this.__eI||this.__eE||null; }, clearSeparators:function(){}, renderSeparator:function(E, F){}, renderLayout:function(G, H, I, J){var K; var L=null; if(this.getHeight()==null&&this._hasHeightForWidth()){var L=this._getHeightForWidth(I); } if(L!=null&&L!==this.__eD){this.__eD=L; qx.ui.core.queue.Layout.add(this); return null; }var M=this.__eE; if(!M){M=this.__eE={}; }var N={}; if(G!==M.left||H!==M.top){N.position=true; M.left=G; M.top=H; } if(I!==M.width||J!==M.height){N.size=true; M.width=I; M.height=J; }if(this.__eF){N.local=true; delete this.__eF; } if(this.__eH){N.margin=true; delete this.__eH; }return N; }, shouldBeLayouted:function(){return true; }, hasValidLayout:function(){return !this.__eF; }, scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this); }, invalidateLayoutCache:function(){this.__eF=true; this.__eG=null; }, getSizeHint:function(O){var P=this.__eG; if(P){return P; } if(O===false){return null; }P=this.__eG=this._computeSizeHint(); if(this.__eD&&this.getHeight()==null){P.height=this.__eD; }if(!this.getAllowShrinkX()){P.minWidth=P.width; }else if(P.minWidth>P.width){P.width=P.minWidth; } if(!this.getAllowShrinkY()){P.minHeight=P.height; }else if(P.minHeight>P.height){P.height=P.minHeight; }if(!this.getAllowGrowX()){P.maxWidth=P.width; }else if(P.width>P.maxWidth){P.width=P.maxWidth; } if(!this.getAllowGrowY()){P.maxHeight=P.height; }else if(P.height>P.maxHeight){P.height=P.maxHeight; }return P; }, _computeSizeHint:function(){var Q=this.getMinWidth()||0; var R=this.getMinHeight()||0; var I=this.getWidth()||Q; var J=this.getHeight()||R; var S=this.getMaxWidth()||Infinity; var T=this.getMaxHeight()||Infinity; return {minWidth:Q, width:I, maxWidth:S, minHeight:R, height:J, maxHeight:T}; }, _hasHeightForWidth:function(){return false; }, _getHeightForWidth:function(I){return null; }, _applyMargin:function(){this.__eH=true; var U=this.$$parent; if(U){U.updateLayoutProperties(); }}, _applyAlign:function(){var U=this.$$parent; if(U){U.updateLayoutProperties(); }}, _applyDimension:function(){qx.ui.core.queue.Layout.add(this); }, _applyStretching:function(){qx.ui.core.queue.Layout.add(this); }, hasUserBounds:function(){return !!this.__eI; }, setUserBounds:function(G, H, I, J){this.__eI={left:G, top:H, width:I, height:J}; qx.ui.core.queue.Layout.add(this); }, resetUserBounds:function(){delete this.__eI; qx.ui.core.queue.Layout.add(this); }, __eK:{}, setLayoutProperties:function(V){if(V==null){return; }var W=this.__eJ; if(!W){W=this.__eJ={}; }var U=this.getLayoutParent(); if(U){U.updateLayoutProperties(V); }for(var X in V){if(V[X]==null){delete W[X]; }else{W[X]=V[X]; }}}, getLayoutProperties:function(){return this.__eJ||this.__eK; }, clearLayoutProperties:function(){delete this.__eJ; }, updateLayoutProperties:function(V){var Y=this._getLayout(); if(Y){var X; Y.invalidateChildrenCache(); }qx.ui.core.queue.Layout.add(this); }, getApplicationRoot:function(){return qx.core.Init.getApplication().getRoot(); }, getLayoutParent:function(){return this.$$parent||null; }, setLayoutParent:function(U){this.$$parent=U; }, isRootWidget:function(){return false; }, _getRoot:function(){var U=this; while(U){if(U.isRootWidget()){return U; }U=U.$$parent; }return null; }, clone:function(){var ba=arguments.callee.base.call(this); var V=this.__eJ; if(V){ba.__eJ=qx.lang.Object.copy(V); }return ba; }, serialize:function(){var bb=arguments.callee.base.call(this); var V=this.__eJ; if(V){bb.layoutProperties=qx.lang.Object.copy(V); }return bb; }}, destruct:function(){this._disposeFields(v, p, u, B, i, z); }}); })(); (function(){var a="px", b="qx.event.type.Mouse", c="Boolean", d="qx.event.type.Drag", f="visible", g="qx.event.type.Focus", h="excluded", j="Integer", k="on", m="object", n="_applyPadding", o="qx.event.type.Event", p="zIndex", q="hidden", r="tabIndex", s="contextmenu", t="absolute", u="backgroundColor", v="focused", w="hovered", x="qx.event.type.KeySequence", y="qx.client", z="height", A="div", B="qx.event.type.Data", C="disabled", D="move", E="dragstart", F="dragchange", G="position", H="dragend", I="resize", J="Decorator", K="width", L="$$widget", M="mshtml", N="none", O="default", P="Color", Q="top", R="left", S="String", T="drag", U="__eT", V="_applyBackgroundColor", W="_applyFocusable", X="changeShadow", Y="qx.event.type.KeyInput", ba="__eO", bb="normal", bc="__fc", bd="Font", be="__eQ", bf="_applyShadow", bg="_applyEnabled", bh="_applySelectable", bi="_applyKeepActive", bj="Number", bk="_applyVisibility", bl="repeat", bm="qxDraggable", bn="__eR", bo="paddingLeft", bp="_applyDroppable", bq="userSelect", br="_applyCursor", bs="changeVisibility", bt="_applyDraggable", bu="changeTextColor", bv="changeContextMenu", bw="paddingTop", bx="opacity", by="hideFocus", bz="outline", bA="_applyAppearance", bB="overflowX", bC="_applyOpacity", bD="url(", bE=")", bF="qx.ui.core.Widget", bG="__eP", bH="_applyFont", bI="cursor", bJ="qxDroppable", bK="changeZIndex", bL="overflowY", bM="changeEnabled", bN="changeFont", bO="off", bP="_applyDecorator", bQ="_applyZIndex", bR="_applyTextColor", bS="qx.ui.menu.Menu", bT="true", bU="widget", bV="__eV", bW="changeDecorator", bX="__eM", bY="_applyTabIndex", ca="changeAppearance", cb="shorthand", cc="/", cd="_applyContextMenu", ce="qxSelectable", cf="__eL", cg="paddingBottom", ch="__eW", ci="qx.ui.tooltip.ToolTip", cj="qxKeepActive", ck="_applyKeepFocus", cl="webkit", cm="paddingRight", cn="changeBackgroundColor", co="qxKeepFocus", cp="undefined", cq="qx/static/blank.gif"; qx.Class.define(bF, {extend:qx.ui.core.LayoutItem, include:[qx.locale.MTranslation], construct:function(){arguments.callee.base.call(this); this.__eL=this._createContainerElement(); this.__eM=this.__eU(); this.__eL.add(this.__eM); this.__eL.setAttribute(L, this.toHashCode()); {}; qx.ui.core.queue.Appearance.add(this); this.initFocusable(); this.initSelectable(); this.initCursor(); this.initKeepFocus(); this.initKeepActive(); }, events:{appear:o, disappear:o, resize:B, move:B, mousemove:b, mouseover:b, mouseout:b, mousedown:b, mouseup:b, click:b, dblclick:b, contextmenu:b, mousewheel:b, keyup:x, keydown:x, keypress:x, keyinput:Y, focus:g, blur:g, focusin:g, focusout:g, activate:g, deactivate:g, capture:o, losecapture:o, drop:d, dragleave:d, dragover:d, drag:d, dragstart:d, dragend:d, dragchange:d, droprequest:d}, properties:{paddingTop:{check:j, init:0, apply:n, themeable:true}, paddingRight:{check:j, init:0, apply:n, themeable:true}, paddingBottom:{check:j, init:0, apply:n, themeable:true}, paddingLeft:{check:j, init:0, apply:n, themeable:true}, padding:{group:[bw, cm, cg, bo], mode:cb, themeable:true}, zIndex:{nullable:true, init:null, apply:bQ, event:bK, check:j, themeable:true}, decorator:{nullable:true, init:null, apply:bP, event:bW, check:J, themeable:true}, shadow:{nullable:true, init:null, apply:bf, event:X, check:J, themeable:true}, backgroundColor:{nullable:true, check:P, apply:V, event:cn, themeable:true}, textColor:{nullable:true, check:P, apply:bR, event:bu, themeable:true, inheritable:true}, font:{nullable:true, apply:bH, check:bd, event:bN, themeable:true, inheritable:true}, opacity:{check:bj, apply:bC, themeable:true, nullable:true, init:null}, cursor:{check:S, apply:br, themeable:true, inheritable:true, nullable:true, init:null}, toolTip:{check:ci, nullable:true}, visibility:{check:[f, q, h], init:f, apply:bk, event:bs}, enabled:{init:true, check:c, inheritable:true, apply:bg, event:bM}, anonymous:{init:false, check:c}, tabIndex:{check:j, nullable:true, apply:bY}, focusable:{check:c, init:false, apply:W}, keepFocus:{check:c, init:false, apply:ck}, keepActive:{check:c, init:false, apply:bi}, draggable:{check:c, init:false, apply:bt}, droppable:{check:c, init:false, apply:bp}, selectable:{check:c, init:false, apply:bh}, contextMenu:{check:bS, apply:cd, nullable:true, event:bv}, appearance:{check:S, init:bU, apply:bA, event:ca}}, statics:{DEBUG:false, getWidgetByElement:function(cr){try{while(cr){var cs=cr.$$widget; if(cs!=null){return qx.core.ObjectRegistry.fromHashCode(cs); }cr=cr.parentNode; }}catch(ex){}return null; }, contains:function(ct, cu){while(cu){if(ct==cu){return true; }cu=cu.getLayoutParent(); }return false; }, __eN:{}}, members:{__eL:null, __eM:null, __eO:null, __eP:null, __eQ:null, __eR:null, _getLayout:function(){return this.__eR; }, _setLayout:function(cv){{}; if(this.__eR){this.__eR.connectToWidget(null); } if(cv){cv.connectToWidget(this); }this.__eR=cv; qx.ui.core.queue.Layout.add(this); }, setLayoutParent:function(ct){if(this.$$parent===ct){return; } if(this.$$parent){this.$$parent.getContentElement().remove(this.__eL); }this.$$parent=ct||null; if(this.$$parent){this.$$parent.getContentElement().add(this.__eL); }qx.core.Property.refresh(this); }, __eS:null, renderLayout:function(cw, cx, cy, cz){var cA=arguments.callee.base.call(this, cw, cx, cy, cz); if(!cA){return; }var cB=this.__eL; var cC=this.__eM; var cD=cA.size||this.__eS; var cE=a; if(cA.position){cB.setStyle(R, cw+cE); cB.setStyle(Q, cx+cE); }if(cA.size){cB.setStyle(K, cy+cE); cB.setStyle(z, cz+cE); } if(cD||cA.local||cA.margin){var cF=this.getInsets(); var cG=cy-cF.left-cF.right; var cH=cz-cF.top-cF.bottom; } if(this.__eS){cC.setStyle(R, cF.left+cE); cC.setStyle(Q, cF.top+cE); } if(cD){cC.setStyle(K, cG+cE); cC.setStyle(z, cH+cE); } if(cA.size){var cI=this.__eQ; if(cI){cI.setStyles({width:cy+a, height:cz+a}); }} if(cA.size||this.__eS){var cJ=qx.theme.manager.Decoration.getInstance(); var cK=this.getDecorator(); if(cK){var cr=this.__eO; var cL=cJ.resolve(cK); cL.resize(cr, cy, cz); }} if(cA.size){var cM=this.getShadow(); if(cM){var cr=this.__eP; var cL=cJ.resolve(cM); var cF=cL.getInsets(); var cN=cy+cF.left+cF.right; var cO=cz+cF.top+cF.bottom; cL.resize(cr, cN, cO); }} if(cD||cA.local||cA.margin){if(this.__eR&&this.hasLayoutChildren()){this.__eR.renderLayout(cG, cH); }else if(this.hasLayoutChildren()){throw new Error("At least one child in control "+this._findTopControl()+" requires a layout, but no one was defined!"); }}if(cA.position&&this.hasListener(D)){this.fireDataEvent(D, this.getBounds()); } if(cA.size&&this.hasListener(I)){this.fireDataEvent(I, this.getBounds()); }delete this.__eS; }, __eT:null, clearSeparators:function(){var cP=this.__eT; if(!cP){return; }var cQ=qx.ui.core.Widget.__eN; var cC=this.__eM; var cR, cS; for(var cT=0, cU=cP.length;cT0){var cS=cY.pop(); }else{var cS=this.__fb(cL); }this.__eM.add(cS); cL.resize(cS, cV.width, cV.height); var da=cS.getDomElement().style; da.left=cV.left+a; da.top=cV.top+a; if(!this.__eT){this.__eT=[cS]; }else{this.__eT.push(cS); }cS.$$separator=cX; }, _computeSizeHint:function(){var cy=this.getWidth(); var db=this.getMinWidth(); var dc=this.getMaxWidth(); var cz=this.getHeight(); var dd=this.getMinHeight(); var de=this.getMaxHeight(); var df=this._getContentHint(); var cF=this.getInsets(); var dg=cF.left+cF.right; var dh=cF.top+cF.bottom; if(cy==null){cy=df.width+dg; } if(cz==null){cz=df.height+dh; } if(db==null){db=dg; if(df.minWidth!=null){db+=df.minWidth; }} if(dd==null){dd=dh; if(df.minHeight!=null){dd+=df.minHeight; }} if(dc==null){if(df.maxWidth==null){dc=Infinity; }else{dc=df.maxWidth+dg; }} if(de==null){if(df.maxHeight==null){de=Infinity; }else{de=df.maxHeight+dh; }}return {width:cy, minWidth:db, maxWidth:dc, height:cz, minHeight:dd, maxHeight:de}; }, invalidateLayoutCache:function(){arguments.callee.base.call(this); if(this.__eR){this.__eR.invalidateLayoutCache(); }}, _getContentHint:function(){var cv=this.__eR; if(cv){if(this.hasLayoutChildren()){var di=cv.getSizeHint(); var dj; return di; }else{return {width:0, height:0}; }}else{return {width:100, height:50}; }}, _getHeightForWidth:function(cy){var cF=this.getInsets(); var dg=cF.left+cF.right; var dh=cF.top+cF.bottom; var dk=cy-dg; var dl=this._getContentHeightForWidth(dk); var cz=dl+dh; return cz; }, _getContentHeightForWidth:function(cy){throw new Error("Abstract method call: _getContentHeightForWidth()!"); }, getInsets:function(){var cx=this.getPaddingTop(); var dm=this.getPaddingRight(); var dn=this.getPaddingBottom(); var cw=this.getPaddingLeft(); var cK=this.getDecorator(); if(cK){var cJ=qx.theme.manager.Decoration.getInstance(); var cL=cJ.resolve(cK); var dp=cL.getInsets(); {}; cx+=dp.top; dm+=dp.right; dn+=dp.bottom; cw+=dp.left; }return {"top":cx, "right":dm, "bottom":dn, "left":cw}; }, getInnerSize:function(){var dq=this.getBounds(); if(!dq){return null; }var cF=this.getInsets(); return {width:dq.width-cF.left-cF.right, height:dq.height-cF.top-cF.bottom}; }, show:function(){this.setVisibility(f); }, hide:function(){this.setVisibility(q); }, exclude:function(){this.setVisibility(h); }, isVisible:function(){return this.getVisibility()===f; }, isHidden:function(){return this.getVisibility()!==f; }, isExcluded:function(){return this.getVisibility()===h; }, _createContainerElement:function(){var dr=new qx.html.Element(A); {}; dr.setStyle(G, t); dr.setStyle(p, 0); return dr; }, __eU:function(){var dr=this._createContentElement(); {}; dr.setStyle(G, t); dr.setStyle(p, 10); return dr; }, _createContentElement:function(){var dr=new qx.html.Element(A); dr.setStyle(bB, q); dr.setStyle(bL, q); return dr; }, getContainerElement:function(){return this.__eL; }, getContentElement:function(){return this.__eM; }, getDecoratorElement:function(){return this.__eO; }, __eV:null, __eW:null, getLayoutChildren:function(){var ds=this.__eV; if(!ds){return this.__eX; } if(this.__eW){return this.__eW; }var dt=[]; for(var cT=0, cU=ds.length;cT0; }, getChildrenContainer:function(){return this; }, __eX:[], _getChildren:function(){return this.__eV||this.__eX; }, _indexOf:function(cu){var ds=this.__eV; if(!ds){return -1; }return ds.indexOf(cu); }, _hasChildren:function(){var ds=this.__eV; return ds&&(!!ds[0]); }, _add:function(cu, du){if(cu.getLayoutParent()==this){qx.lang.Array.remove(this.__eV, cu); } if(this.__eV){this.__eV.push(cu); }else{this.__eV=[cu]; }this.__eY(cu, du); }, _addAt:function(cu, dv, du){if(!this.__eV){this.__eV=[]; }if(cu.getLayoutParent()==this){qx.lang.Array.remove(this.__eV, cu); }var dw=this.__eV[dv]; if(dw===cu){return cu.setLayoutProperties(du); } if(dw){qx.lang.Array.insertBefore(this.__eV, cu, dw); }else{this.__eV.push(cu); }this.__eY(cu, du); }, _addBefore:function(cu, dx, du){{}; if(cu==dx){return; } if(!this.__eV){this.__eV=[]; }if(cu.getLayoutParent()==this){qx.lang.Array.remove(this.__eV, cu); }qx.lang.Array.insertBefore(this.__eV, cu, dx); this.__eY(cu, du); }, _addAfter:function(cu, dy, du){{}; if(cu==dy){return; } if(!this.__eV){this.__eV=[]; }if(cu.getLayoutParent()==this){qx.lang.Array.remove(this.__eV, cu); }qx.lang.Array.insertAfter(this.__eV, cu, dy); this.__eY(cu, du); }, _remove:function(cu){if(!this.__eV){return; }qx.lang.Array.remove(this.__eV, cu); this.__fa(cu); }, _removeAt:function(dv){if(!this.__eV){throw new Error("This widget has no children!"); }var cu=this.__eV[dv]; qx.lang.Array.removeAt(this.__eV, dv); this.__fa(cu); }, _removeAll:function(){if(!this.__eV){return; }var ds=this.__eV.concat(); this.__eV.length=0; for(var cT=ds.length-1;cT>=0;cT--){ds[cT].setLayoutParent(null); }qx.ui.core.queue.Layout.add(this); }, _afterAddChild:null, _afterRemoveChild:null, __eY:function(cu, du){{}; var ct=cu.getLayoutParent(); if(ct&&ct!=this){ct._remove(cu); }cu.setLayoutParent(this); if(du){cu.setLayoutProperties(du); }else{this.updateLayoutProperties(); }this.__eW=null; if(this._afterAddChild){this._afterAddChild(cu); }}, __fa:function(cu){{}; cu.setLayoutParent(null); if(this.__eR){this.__eR.invalidateChildrenCache(); }this.__eW=null; qx.ui.core.queue.Layout.add(this); if(this._afterRemoveChild){this._afterRemoveChild(cu); }}, capture:function(){this.__eL.capture(); }, releaseCapture:function(){this.__eL.releaseCapture(); }, _applyPadding:function(dz, dA, dB){this.__eS=true; qx.ui.core.queue.Layout.add(this); }, _createProtectorElement:function(){if(this.__eQ){return; }var dC=this.__eQ=new qx.html.Element; {}; dC.setStyles({position:t, top:0, left:0, zIndex:7}); if(qx.core.Variant.isSet(y, M)){dC.setStyles({backgroundImage:bD+qx.util.ResourceManager.toUri(cq)+bE, backgroundRepeat:bl}); }this.__eL.add(dC); }, __fb:function(cK){var cr=new qx.html.Element; cr.setStyles({position:t, top:0, left:0}); {}; cK.init(cr); return cr; }, _applyDecorator:function(dz, dA){var cQ=qx.ui.core.Widget.__eN; var cW=qx.theme.manager.Decoration.getInstance(); var cB=this.__eL; var cS=this.__eO; if(!this.__eQ){this._createProtectorElement(); }var dD; if(dA){if(typeof dA===m){dD=dA.toHashCode(); }else{dD=dA; dA=cW.resolve(dA); }}var dE; if(dz){if(typeof dz===m){dE=dz.toHashCode(); {}; }else{dE=dz; dz=cW.resolve(dz); }}if(dA){if(!cQ[dD]){cQ[dD]=[]; }cB.remove(cS); cQ[dD].push(cS); }if(dz){if(cQ[dE]&&cQ[dE].length>0){cS=cQ[dE].pop(); }else{cS=this.__fb(dz); cS.setStyle(p, 5); }var dF=this.getBackgroundColor(); dz.tint(cS, dF); cB.add(cS); this.__eO=cS; }else{delete this.__eO; this._applyBackgroundColor(this.getBackgroundColor()); }if(dz&&!dA&&dF){this.getContainerElement().setStyle(u, null); }if(qx.ui.decoration.Util.insetsModified(dA, dz)){this.__eS=true; qx.ui.core.queue.Layout.add(this); }else if(dz){var cV=this.getBounds(); if(cV){cW.resolve(dz).resize(cS, cV.width, cV.height); }}}, _applyShadow:function(dz, dA){var cQ=qx.ui.core.Widget.__eN; var cW=qx.theme.manager.Decoration.getInstance(); var cB=this.__eL; var dD; if(dA){if(typeof dA===m){dD=dA.toHashCode(); }else{dD=dA; dA=cW.resolve(dA); }}var dE; if(dz){if(typeof dz===m){dE=dz.toHashCode(); }else{dE=dz; dz=cW.resolve(dz); }}if(dA){if(!cQ[dD]){cQ[dD]=[]; }cB.remove(this.__eP); cQ[dD].push(this.__eP); }if(dz){var cS; if(cQ[dE]&&cQ[dE].length>0){cS=cQ[dE].pop(); }else{cS=this.__fb(dz); }cB.add(cS); this.__eP=cS; var cF=dz.getInsets(); cS.setStyles({left:(-cF.left)+a, top:(-cF.top)+a}); var cV=this.getBounds(); if(cV){var cN=cV.width+cF.left+cF.right; var cO=cV.height+cF.top+cF.bottom; dz.resize(cS, cN, cO); }}else{delete this.__eP; }}, _applyTextColor:function(dz, dA){}, _applyZIndex:function(dz, dA){this.__eL.setStyle(p, dz==null?0:dz); }, _applyVisibility:function(dz, dA){if(dz===f){this.__eL.show(); }else{this.__eL.hide(); }var ct=this.$$parent; if(ct&&(dA==null||dz==null||dA===h||dz===h)){ct.invalidateLayoutChildren(); }}, _applyOpacity:function(dz, dA){this.__eL.setStyle(bx, dz); }, _applyCursor:function(dz, dA){if(dz==null&&!this.isSelectable()){dz=O; }this.__eL.setStyle(bI, dz); }, _applyBackgroundColor:function(dz, dA){var cK=this.getDecorator(); var cM=this.getShadow(); var dG=this.getBackgroundColor(); var cB=this.__eL; if(cK||cM){var cS=this.__eO; if(cS){var cL=qx.theme.manager.Decoration.getInstance().resolve(cK); cL.tint(this.__eO, dG); }cB.setStyle(u, null); }else{var dH=qx.theme.manager.Color.getInstance().resolve(dG); cB.setStyle(u, dH); }}, _applyFont:function(dz, dA){}, hasState:function(dI){var dJ=this.__fc; return dJ&&dJ[dI]; }, __fc:null, addState:function(dI){var dJ=this.__fc; if(!dJ){dJ=this.__fc={}; } if(dJ[dI]){return; }this.__fc[dI]=true; if(dI===w){this.syncAppearance(); }else{qx.ui.core.queue.Appearance.add(this); }var dK=this._forwardStates; var dL=this.__ff; if(dK&&dK[dI]&&dL){var dM; for(var cX in dL){dM=dL[cX]; if(dM instanceof qx.ui.core.Widget){dL[cX].addState(dI); }}}}, removeState:function(dI){var dJ=this.__fc; if(!dJ||!dJ[dI]){return; }delete this.__fc[dI]; if(dI===w){this.syncAppearance(); }else{qx.ui.core.queue.Appearance.add(this); }var dK=this._forwardStates; var dL=this.__ff; if(dK&&dK[dI]&&dL){for(var cX in dL){var dM=dL[cX]; if(dM instanceof qx.ui.core.Widget){dM.removeState(dI); }}}}, replaceState:function(dA, dz){var dJ=this.__fc; if(!dJ){dJ=this.__fc={}; } if(!dJ[dz]){dJ[dz]=true; } if(dJ[dA]){delete dJ[dA]; }qx.ui.core.queue.Appearance.add(this); var dK=this._forwardStates; var dL=this.__ff; if(dK&&dK[dz]&&dL){for(var cX in dL){var dM=dL[cX]; if(dM instanceof qx.ui.core.Widget){dM.replaceState(dA, dz); }}}}, __fd:null, __fe:null, syncAppearance:function(){var dJ=this.__fc; var dN=this.__fd; var cJ=qx.theme.manager.Appearance.getInstance(); var dO=qx.core.Property.$$method.setThemed; var dP=qx.core.Property.$$method.resetThemed; if(this.__fe){delete this.__fe; if(dN){var dQ=cJ.styleFrom(dN, dJ); if(dQ){dN=null; }}}if(!dN){var dR=this; var cX=[]; do{cX.push(dR.$$subcontrol||dR.getAppearance()); }while(dR=dR.$$subparent); dN=this.__fd=cX.reverse().join(cc); }var dS=cJ.styleFrom(dN, dJ); if(dS){if(dQ){for(var dT in dQ){if(dS[dT]===undefined){this[dP[dT]](); }}}var dT; var dz; var dU=cp; for(var dT in dS){dz=dS[dT]; dz===dU?this[dP[dT]]():this[dO[dT]](dz); }}else if(dQ){for(var dT in dQ){this[dP[dT]](); }}}, _applyAppearance:function(dz, dA){this.updateAppearance(); }, updateAppearance:function(){this.__fe=true; qx.ui.core.queue.Appearance.add(this); var dL=this.__ff; if(dL){var dR; for(var cX in dL){dR=dL[cX]; if(dR instanceof qx.ui.core.Widget){dR.updateAppearance(); }}}}, syncWidget:function(){}, getEventTarget:function(){var dV=this; while(dV.getAnonymous()){dV=dV.getLayoutParent(); if(!dV){return null; }}return dV; }, getFocusTarget:function(){var dV=this; if(!dV.getEnabled()){return null; } while(dV.getAnonymous()||!dV.getFocusable()){dV=dV.getLayoutParent(); if(!dV||!dV.getEnabled()){return null; }}return dV; }, getFocusElement:function(){return this.__eL; }, isTabable:function(){return this.isFocusable(); }, _applyFocusable:function(dz, dA){var dV=this.getFocusElement(); if(dz){var dW=this.getTabIndex(); if(dW==null){dW=1; }dV.setAttribute(r, dW); if(qx.core.Variant.isSet(y, M)){dV.setAttribute(by, bT); }else{dV.setStyle(bz, N); }}else{if(dV.isNativelyFocusable()){dV.setAttribute(r, -1); }else if(dA){dV.setAttribute(r, null); }}}, _applyKeepFocus:function(dz){var dV=this.getFocusElement(); dV.setAttribute(co, dz?k:null); }, _applyKeepActive:function(dz){var dV=this.getContainerElement(); dV.setAttribute(cj, dz?k:null); }, _applyTabIndex:function(dz){if(dz==null){dz=1; }else if(dz<1||dz>32000){throw new Error("TabIndex property must be between 1 and 32000"); } if(this.getFocusable()&&dz!=null){this.getFocusElement().setAttribute(r, dz); }}, _applySelectable:function(dz){this._applyCursor(this.getCursor()); this.__eL.setAttribute(ce, dz?k:bO); if(qx.core.Variant.isSet(y, cl)){this.__eL.setStyle(bq, dz?bb:N); }}, _applyEnabled:function(dz, dA){if(dz===false){this.addState(C); this.removeState(w); if(this.isFocusable()){this.removeState(v); this._applyFocusable(false, true); }}else{this.removeState(C); if(this.isFocusable()){this._applyFocusable(true, false); }}}, _applyContextMenu:function(dz, dA){if(dA){dA.removeState(s); if(dA.getOpener()==this){dA.resetOpener(); } if(!dz){this.removeListener(s, this._onContextMenuOpen); }} if(dz){dz.setOpener(this); dz.addState(s); if(!dA){this.addListener(s, this._onContextMenuOpen); }}}, _onContextMenuOpen:function(dX){var dY=this.getContextMenu(); dY.placeToMouse(dX); dY.show(); dX.preventDefault(); }, _onStopEvent:function(dX){dX.stopPropagation(); }, _applyDraggable:function(dz, dA){qx.ui.core.DragDropCursor.getInstance(); if(dz){this.addListener(E, this._onDragStart); this.addListener(T, this._onDrag); this.addListener(H, this._onDragEnd); this.addListener(F, this._onDragChange); }else{this.removeListener(E, this._onDragStart); this.removeListener(T, this._onDrag); this.removeListener(H, this._onDragEnd); this.removeListener(F, this._onDragChange); }this.__eL.setAttribute(bm, dz?k:null); }, _applyDroppable:function(dz, dA){this.__eL.setAttribute(bJ, dz?k:null); }, _onDragStart:function(dX){qx.ui.core.DragDropCursor.getInstance().placeToMouse(dX); this.getApplicationRoot().setGlobalCursor(O); }, _onDrag:function(dX){qx.ui.core.DragDropCursor.getInstance().placeToMouse(dX); }, _onDragEnd:function(dX){qx.ui.core.DragDropCursor.getInstance().moveTo(-1000, -1000); this.getApplicationRoot().resetGlobalCursor(); }, _onDragChange:function(dX){var ea=qx.ui.core.DragDropCursor.getInstance(); var eb=dX.getCurrentAction(); eb?ea.setAction(eb):ea.resetAction(); }, visualizeFocus:function(){this.addState(v); }, visualizeBlur:function(){this.removeState(v); }, scrollChildIntoView:function(cu, ec, ed, ee){this.scrollChildIntoViewX(cu, ec, ee); this.scrollChildIntoViewY(cu, ed, ee); }, scrollChildIntoViewX:function(cu, ef, ee){this.__eM.scrollChildIntoViewX(cu.getContainerElement(), ef, ee); }, scrollChildIntoViewY:function(cu, ef, ee){this.__eM.scrollChildIntoViewY(cu.getContainerElement(), ef, ee); }, focus:function(){if(this.isFocusable()){this.getFocusElement().focus(); }else{throw new Error("Widget is not focusable!"); }}, blur:function(){if(this.isFocusable()){this.getFocusElement().blur(); }else{throw new Error("Widget is not focusable!"); }}, activate:function(){this.__eL.activate(); }, deactivate:function(){this.__eL.deactivate(); }, tabFocus:function(){this.getFocusElement().focus(); }, _hasChildControl:function(cX){if(!this.__ff){return false; }return !!this.__ff[cX]; }, __ff:null, _getChildControl:function(cX, eg){if(!this.__ff){if(eg){return null; }this.__ff={}; }var dM=this.__ff[cX]; if(dM){return dM; } if(eg===true){return null; }return this._createChildControl(cX); }, _showChildControl:function(cX){var dM=this._getChildControl(cX); dM.show(); return dM; }, _excludeChildControl:function(cX){var dM=this._getChildControl(cX, true); if(dM){dM.exclude(); }}, _isChildControlVisible:function(cX){var dM=this._getChildControl(cX, true); if(dM){return dM.isVisible(); }return false; }, _createChildControl:function(cX){if(!this.__ff){this.__ff={}; }else if(this.__ff[cX]){throw new Error("Child control '"+cX+"' already created!"); }var dM=this._createChildControlImpl(cX); if(!dM){throw new Error("Unsupported control: "+cX); }dM.$$subcontrol=cX; dM.$$subparent=this; var dJ=this.__fc; var dK=this._forwardStates; if(dJ&&dK&&dM instanceof qx.ui.core.Widget){for(var dI in dJ){if(dK[dI]){dM.addState(dI); }}}return this.__ff[cX]=dM; }, _createChildControlImpl:function(cX){return null; }, _disposeChildControls:function(){var dL=this.__ff; if(!dL){return; }var eh=qx.ui.core.Widget; for(var cX in dL){var dM=dL[cX]; if(!eh.contains(this, dM)){dM.destroy(); }else{dM.dispose(); }}delete this.__ff; }, _findTopControl:function(){var dR=this; while(dR){if(!dR.$$subparent){return dR; }dR=dR.$$subparent; }return null; }, getContainerLocation:function(ei){var ej=this.getContainerElement().getDomElement(); return ej?qx.bom.element.Location.get(ej, ei):null; }, getContentLocation:function(ei){var ej=this.getContentElement().getDomElement(); return ej?qx.bom.element.Location.get(ej, ei):null; }, setDomLeft:function(dz){var ej=this.getContainerElement().getDomElement(); if(ej){ej.style.left=dz+a; }else{throw new Error("DOM element is not yet created!"); }}, setDomTop:function(dz){var ej=this.getContainerElement().getDomElement(); if(ej){ej.style.top=dz+a; }else{throw new Error("DOM element is not yet created!"); }}, setDomPosition:function(cw, cx){var ej=this.getContainerElement().getDomElement(); if(ej){ej.style.left=cw+a; ej.style.top=cx+a; }else{throw new Error("DOM element is not yet created!"); }}, destroy:function(){if(this.$$disposed){return; }var ct=this.getLayoutParent(); if(ct){ct._remove(this); }qx.ui.core.queue.Dispose.add(this); }, clone:function(){var ek=arguments.callee.base.call(this); if(this.getChildren){var ds=this.getChildren(); for(var cT=0, cU=ds.length;cT0){em.children=[]; for(var cT=0, cU=ds.length;cT4; }, toUri:function(d){if(d==null){return d; }var e=this.__fs[d]; if(!e){return d; } if(typeof e===c){var f=e; }else{var f=e[3]; if(!f){return d; }}return window.qxlibraries[f].resourceUri+a+d; }}}); })(); (function(){var c='
', e='"/>', f="", g='" style="vertical-align:top;', h="scale", i="qx.ui.decoration.Util", j='x){m=y; x=o; }}var z=Math.min(n, h.height-n-g.height); if(z<0){var A=n; if(n<0){if(r==b){A=i.bottom+w; }else if(s==a){A=i.top; }}else{if(r==a){A=i.top-g.height-u; }else if(s==b){A=i.bottom-g.height; }}p=Math.min(A, h.height-A-g.height); if(p>z){n=A; z=p; }}return {left:m, top:n, ratingX:x, ratingY:z}; }}}}); })(); (function(){var a="__fL", b="keypress", c="focusout", d="__fJ", f="__fK", g="activate", h="__fI", j="Tab", k="singleton", m="deactivate", n="focusin", o="qx.ui.core.FocusHandler"; qx.Class.define(o, {extend:qx.core.Object, type:k, construct:function(){arguments.callee.base.call(this); this.__fI={}; }, members:{__fI:null, __fJ:null, __fK:null, __fL:null, connectTo:function(p){p.addListener(b, this.__fM, this); p.addListener(n, this._onFocusIn, this, true); p.addListener(c, this._onFocusOut, this, true); p.addListener(g, this._onActivate, this, true); p.addListener(m, this._onDeactivate, this, true); }, addRoot:function(q){this.__fI[q.$$hash]=q; }, removeRoot:function(q){delete this.__fI[q.$$hash]; }, isActive:function(q){return this.__fJ==q; }, isFocused:function(q){return this.__fK==q; }, isFocusRoot:function(q){!!this.__fI[q.$$hash]; }, _onActivate:function(r){var s=r.getTarget(); this.__fJ=s; var p=this.__fN(s); if(p!=this.__fL){this.__fL=p; }}, _onDeactivate:function(r){var s=r.getTarget(); if(this.__fJ==s){this.__fJ=null; }}, _onFocusIn:function(r){var s=r.getTarget(); if(s!=this.__fK){this.__fK=s; s.visualizeFocus(); }}, _onFocusOut:function(r){var s=r.getTarget(); if(s==this.__fK){this.__fK=null; s.visualizeBlur(); }}, __fM:function(r){if(r.getKeyIdentifier()!=j){return; } if(!this.__fL){return; }r.stopPropagation(); r.preventDefault(); var t=this.__fK; if(!r.isShiftPressed()){var u=t?this.__fR(t):this.__fP(); }else{var u=t?this.__fS(t):this.__fQ(); }if(u){u.tabFocus(); }}, __fN:function(q){var v=this.__fI; while(q){if(v[q.$$hash]){return q; }q=q.getLayoutParent(); }return null; }, __fO:function(w, x){if(w===x){return 0; }var y=w.getTabIndex()||0; var z=x.getTabIndex()||0; if(y!=z){return y-z; }var A=w.getContainerElement().getDomElement(); var B=x.getContainerElement().getDomElement(); var C=qx.bom.element.Location; var D=C.get(A); var E=C.get(B); if(D.top!=E.top){return D.top-E.top; }if(D.left!=E.left){return D.left-E.left; }var F=w.getZIndex(); var G=x.getZIndex(); if(F!=G){return F-G; }return 0; }, __fP:function(){return this.__fV(this.__fL, null); }, __fQ:function(){return this.__fW(this.__fL, null); }, __fR:function(q){var p=this.__fL; if(p==q){return this.__fP(); } while(q&&q.getAnonymous()){q=q.getLayoutParent(); } if(q==null){return []; }var H=[]; this.__fT(p, q, H); H.sort(this.__fO); var I=H.length; return I>0?H[0]:this.__fP(); }, __fS:function(q){var p=this.__fL; if(p==q){return this.__fQ(); } while(q&&q.getAnonymous()){q=q.getLayoutParent(); } if(q==null){return []; }var H=[]; this.__fU(p, q, H); H.sort(this.__fO); var I=H.length; return I>0?H[I-1]:this.__fQ(); }, __fT:function(J, q, H){var K=J.getLayoutChildren(); var L; for(var M=0, N=K.length;M0){H.push(L); }this.__fU(L, q, H); }}}, __fV:function(J, O){var K=J.getLayoutChildren(); var L; for(var M=0, N=K.length;M0){P=L; }}P=this.__fW(L, P); }}return P; }}, destruct:function(){this._disposeMap(h); this._disposeFields(f, d, a); }}); })(); (function(){var a="qx.client", b="head", c="text/css", d="stylesheet", e="}", f='@import "', g="{", h='";', j="qx.bom.Stylesheet", k="link", l="style"; qx.Class.define(j, {statics:{includeFile:function(m, n){if(!n){n=document; }var o=n.createElement(k); o.type=c; o.rel=d; o.href=qx.util.ResourceManager.toUri(m); var p=n.getElementsByTagName(b)[0]; p.appendChild(o); }, createElement:qx.core.Variant.select(a, {"mshtml":function(q){var r=document.createStyleSheet(); if(q){r.cssText=q; }return r; }, "default":function(q){var s=document.createElement(l); s.type=c; if(q){s.appendChild(document.createTextNode(q)); }document.getElementsByTagName(b)[0].appendChild(s); return s.sheet; }}), addRule:qx.core.Variant.select(a, {"mshtml":function(r, t, u){r.addRule(t, u); }, "default":function(r, t, u){r.insertRule(t+g+u+e, r.cssRules.length); }}), removeRule:qx.core.Variant.select(a, {"mshtml":function(r, t){var v=r.rules; var w=v.length; for(var x=w-1;x>=0;--x){if(v[x].selectorText==t){r.removeRule(x); }}}, "default":function(r, t){var v=r.cssRules; var w=v.length; for(var x=w-1;x>=0;--x){if(v[x].selectorText==t){r.deleteRule(x); }}}}), removeAllRules:qx.core.Variant.select(a, {"mshtml":function(r){var v=r.rules; var w=v.length; for(var x=w-1;x>=0;x--){r.removeRule(x); }}, "default":function(r){var v=r.cssRules; var w=v.length; for(var x=w-1;x>=0;x--){r.deleteRule(x); }}}), addImport:qx.core.Variant.select(a, {"mshtml":function(r, y){r.addImport(y); }, "default":function(r, y){r.insertRule(f+y+h, r.cssRules.length); }}), removeImport:qx.core.Variant.select(a, {"mshtml":function(r, y){var z=r.imports; var w=z.length; for(var x=w-1;x>=0;x--){if(z[x].href==y){r.removeImport(x); }}}, "default":function(r, y){var v=r.cssRules; var w=v.length; for(var x=w-1;x>=0;x--){if(v[x].href==y){r.deleteRule(x); }}}}), removeAllImports:qx.core.Variant.select(a, {"mshtml":function(r){var z=r.imports; var w=z.length; for(var x=w-1;x>=0;x--){r.removeImport(x); }}, "default":function(r){var v=r.cssRules; var w=v.length; for(var x=w-1;x>=0;x--){if(v[x].type==v[x].IMPORT_RULE){r.deleteRule(x); }}}})}}); })(); (function(){var a="abstract", b="qx.ui.layout.Abstract", c="__fX", d="__fY"; qx.Class.define(b, {type:a, extend:qx.core.Object, members:{__fX:null, _invalidChildrenCache:null, __fY:null, invalidateLayoutCache:function(){this.__fX=null; }, renderLayout:function(e, f){this.warn("Missing renderLayout() implementation!"); }, getSizeHint:function(){if(this.__fX){return this.__fX; }return this.__fX=this._computeSizeHint(); }, _computeSizeHint:function(){return null; }, invalidateChildrenCache:function(){this._invalidChildrenCache=true; }, verifyLayoutProperty:null, _clearSeparators:function(){var g=this.__fY; if(g instanceof qx.ui.core.LayoutItem){g.clearSeparators(); }}, _renderSeparator:function(h, i){this.__fY.renderSeparator(h, i); }, connectToWidget:function(g){if(g&&this.__fY){throw new Error("It is not possible to manually set the connected widget."); }this.__fY=g; this.invalidateChildrenCache(); }, _applyLayoutChange:function(){if(this.__fY){this.__fY.scheduleLayoutUpdate(); }}, _getLayoutChildren:function(){return this.__fY.getLayoutChildren(); }}, destruct:function(){this._disposeFields(d, c); }}); })(); (function(){var a="number", b="string", c="qx.ui.layout.Canvas"; qx.Class.define(c, {extend:qx.ui.layout.Abstract, members:{verifyLayoutProperty:null, renderLayout:function(d, e){var f=this._getLayoutChildren(); var g, h, j; var k, m, n, o, p, q; var r, s, t, u; for(var v=0, w=f.length;vh.maxWidth){p=h.maxWidth; }k+=u; }else{p=j.width; if(p==null){p=h.width; }else{p=Math.round(parseFloat(p)*d/100); if(ph.maxWidth){p=h.maxWidth; }} if(n!=null){k=d-p-n-s-u; }else if(k==null){k=u; }else{k+=u; }}if(m!=null&&o!=null){q=e-m-o-r-t; if(qh.maxHeight){q=h.maxHeight; }m+=r; }else{q=j.height; if(q==null){q=h.height; }else{q=Math.round(parseFloat(q)*e/100); if(qh.maxHeight){q=h.maxHeight; }} if(o!=null){m=e-q-o-t-r; }else if(m==null){m=r; }else{m+=r; }}g.renderLayout(k, m, p, q); }}, _computeSizeHint:function(){var x=0, y=0; var z=0, A=0; var p, B; var q, C; var f=this._getLayoutChildren(); var g, j, D; var k, m, n, o; for(var v=0, w=f.length;v0){Q=v[C].getSizeHint(); L[C]={min:Q.minHeight, value:A[C], max:Q.maxHeight, flex:M}; }}var O=F.computeFlexOffsets(L, E, K); for(C in O){N=O[C].offset; A[C]+=N; K+=N; }}var P=v[0].getMarginTop(); if(K0){if(u){P+=T+s; this._renderSeparator(u, {top:P, left:0, height:X, width:D}); P+=X+s+H.getMarginTop(); }else{P+=F.collapseMargins(s, T, H.getMarginTop()); }}H.renderLayout(R, P, S, I); P+=I; T=H.getMarginBottom(); }}, _computeSizeHint:function(){if(this._invalidChildrenCache){this.__ge(); }var F=qx.ui.layout.Util; var v=this.__gd; var Y=0, I=0; var ba=0, S=0; var H, Q, bb; for(var C=0, bc=v.length;C0?Q.minHeight:Q.height; bb=H.getMarginLeft()+H.getMarginRight(); if((Q.width+bb)>S){S=Q.width+bb; }if((Q.minWidth+bb)>ba){ba=Q.minWidth+bb; }}var s=this.getSpacing(); var u=this.getSeparator(); if(u){var G=F.computeVerticalSeparatorGaps(v, s, u); }else{var G=F.computeVerticalGaps(v, s, true); }return {minHeight:Y+G, height:I+G, minWidth:ba, width:S}; }}, destruct:function(){this._disposeFields(m, p, f); }}); })(); (function(){var a="middle", b="qx.ui.layout.Util", c="left", d="center", e="top", f="bottom", g="right"; qx.Class.define(b, {statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/, computeFlexOffsets:function(h, j, k){var m, n, o, p; var q=j>k; var r=Math.abs(j-k); var s, t; var u={}; for(n in h){m=h[n]; u[n]={potential:q?m.max-m.value:m.value-m.min, flex:q?m.flex:1/m.flex, offset:0}; }while(r!=0){p=Infinity; o=0; for(n in u){m=u[n]; if(m.potential>0){o+=m.flex; p=Math.min(p, m.potential/m.flex); }}if(o==0){break; }p=Math.min(r, p*o)/o; s=0; for(n in u){m=u[n]; if(m.potential>0){t=Math.min(r, m.potential, Math.ceil(p*m.flex)); s+=t-p*m.flex; if(s>=1){s-=1; t-=1; }m.potential-=t; if(q){m.offset+=t; }else{m.offset-=t; }r-=t; }}}return u; }, computeHorizontalAlignOffset:function(v, w, x, y, z){if(y==null){y=0; } if(z==null){z=0; }var A=0; switch(v){case c:A=y; break; case g:A=x-w-z; break; case d:A=Math.round((x-w)/2); if(A0){G=Math.max(G, A); }}return G+H; }, computeHorizontalGaps:function(K, L, M){if(L==null){L=0; }var N=0; if(M){N+=K[0].getMarginLeft(); for(var I=1, J=K.length;IT||V>W){if(S>T&&V>W){S=T; V=W; }else if(S>T){V+=(S-T); S=T; if(V>W){V=W; }}else if(V>W){S+=(V-W); V=W; if(S>T){S=T; }}}return {begin:S, end:V}; }}}); })(); (function(){var a="qx.ui.core.MLayoutHandling"; qx.Mixin.define(a, {members:{setLayout:function(b){return this._setLayout(b); }, getLayout:function(){return this._getLayout(); }}, statics:{remap:function(c){c.getLayout=c._getLayout; c.setLayout=c._setLayout; }}}); })(); (function(){var a="qx.event.type.Data", b="qx.ui.container.Composite", c="addChildWidget", d="removeChildWidget"; qx.Class.define(b, {extend:qx.ui.core.Widget, include:[qx.ui.core.MChildrenHandling, qx.ui.core.MLayoutHandling], construct:function(e){arguments.callee.base.call(this); if(e!=null){this._setLayout(e); }}, events:{addChildWidget:a, removeChildWidget:a}, members:{_afterAddChild:function(f){this.fireNonBubblingEvent(c, qx.event.type.Data, [f]); }, _afterRemoveChild:function(f){this.fireNonBubblingEvent(d, qx.event.type.Data, [f]); }}, defer:function(g, h){qx.ui.core.MChildrenHandling.remap(h); qx.ui.core.MLayoutHandling.remap(h); }}); })(); (function(){var a="both", b="qx.ui.menu.Menu", c="_applySpacing", d="icon", e="label", f="changeShow", g="Integer", h="qx.ui.toolbar.ToolBar", j="toolbar", k="changeOpenMenu"; qx.Class.define(h, {extend:qx.ui.core.Widget, include:qx.ui.core.MChildrenHandling, construct:function(){arguments.callee.base.call(this); this._setLayout(new qx.ui.layout.HBox()); }, properties:{appearance:{refine:true, init:j}, openMenu:{check:b, event:k, nullable:true}, show:{init:a, check:[a, e, d], inheritable:true, event:f}, spacing:{nullable:true, check:g, themeable:true, apply:c}}, members:{_applySpacing:function(m, n){var o=this._getLayout(); m==null?o.resetSpacing():o.setSpacing(m); }, addSpacer:function(){var p=new qx.ui.core.Spacer; this._add(p, {flex:1}); return p; }, addSeparator:function(){this.add(new qx.ui.toolbar.Separator); }, getMenuButtons:function(){var q=this.getChildren(); var r=[]; var s; for(var t=0, u=q.length;t0){Q=v[C].getSizeHint(); L[C]={min:Q.minWidth, value:A[C], max:Q.maxWidth, flex:M}; }}var O=F.computeFlexOffsets(L, D, K); for(C in O){N=O[C].offset; A[C]+=N; K+=N; }}var P=v[0].getMarginLeft(); if(K0){if(u){P+=T+s; this._renderSeparator(u, {left:P, top:0, width:X, height:E}); P+=X+s+H.getMarginLeft(); }else{P+=F.collapseMargins(s, T, H.getMarginLeft()); }}H.renderLayout(P, R, I, S); P+=I; T=H.getMarginRight(); }}, _computeSizeHint:function(){if(this._invalidChildrenCache){this.__gj(); }var F=qx.ui.layout.Util; var v=this.__gi; var Y=0, I=0; var ba=0, S=0; var H, Q, bb; for(var C=0, bc=v.length;C0?Q.minWidth:Q.width; bb=H.getMarginTop()+H.getMarginBottom(); if((Q.height+bb)>S){S=Q.height+bb; }if((Q.minHeight+bb)>ba){ba=Q.minHeight+bb; }}var s=this.getSpacing(); var u=this.getSeparator(); if(u){var G=F.computeHorizontalSeparatorGaps(v, s, u); }else{var G=F.computeHorizontalGaps(v, s, true); }return {minWidth:Y+G, width:I+G, minHeight:ba, height:S}; }}, destruct:function(){this._disposeFields(e, h, m); }}); })(); (function(){var a="qx.ui.core.Spacer"; qx.Class.define(a, {extend:qx.ui.core.LayoutItem, construct:function(b, c){arguments.callee.base.call(this); this.setWidth(b!=null?b:0); this.setHeight(c!=null?c:0); }, members:{destroy:function(){}}}); })(); (function(){var a="toolbar-separator", b="qx.ui.toolbar.Separator"; qx.Class.define(b, {extend:qx.ui.core.Widget, properties:{appearance:{refine:true, init:a}, width:{refine:true, init:0}, height:{refine:true, init:0}}}); })(); (function(){var a="label", b="icon", c="Boolean", d="left", e="both", f="String", g="_applyRich", h="_applyIcon", i="changeGap", j="_applyShow", k="right", l="_applyCenter", m="_applyIconPosition", n="qx.ui.basic.Atom", o="top", p="changeShow", q="bottom", r="_applyLabel", s="Integer", t="_applyGap", u="atom"; qx.Class.define(n, {extend:qx.ui.core.Widget, construct:function(v, w){{}; arguments.callee.base.call(this); this._setLayout(new qx.ui.layout.Atom()); if(v!=null){this.setLabel(v); } if(w!=null){this.setIcon(w); }}, properties:{appearance:{refine:true, init:u}, label:{apply:r, nullable:true, dispose:true, check:f}, rich:{check:c, init:false, apply:g}, icon:{check:f, apply:h, nullable:true, themeable:true}, gap:{check:s, nullable:false, event:i, apply:t, themeable:true, init:4}, show:{init:e, check:[e, a, b], themeable:true, inheritable:true, apply:j, event:p}, iconPosition:{init:d, check:[o, k, q, d], themeable:true, apply:m}, center:{init:false, check:c, themeable:true, apply:l}}, members:{_createChildControlImpl:function(x){var y; switch(x){case a:y=new qx.ui.basic.Label(this.getLabel()); y.setAnonymous(true); y.setRich(this.getRich()); this._add(y); if(this.getLabel()==null||this.getShow()===b){y.exclude(); }break; case b:y=new qx.ui.basic.Image(this.getIcon()); y.setAnonymous(true); this._addAt(y, 0); if(this.getIcon()==null||this.getShow()===a){y.exclude(); }break; }return y||arguments.callee.base.call(this, x); }, _forwardStates:{focused:true, hovered:true}, _handleLabel:function(){if(this.getLabel()==null||this.getShow()===b){this._excludeChildControl(a); }else{this._showChildControl(a); }}, _handleIcon:function(){if(this.getIcon()==null||this.getShow()===a){this._excludeChildControl(b); }else{this._showChildControl(b); }}, _applyLabel:function(z, A){var v=this._getChildControl(a, true); if(v){v.setContent(z); }this._handleLabel(); }, _applyRich:function(z, A){var v=this._getChildControl(a, true); if(v){v.setRich(z); }}, _applyIcon:function(z, A){var w=this._getChildControl(b, true); if(w){w.setSource(z); }this._handleIcon(); }, _applyGap:function(z, A){this._getLayout().setGap(z); }, _applyShow:function(z, A){this._handleLabel(); this._handleIcon(); }, _applyIconPosition:function(z, A){this._getLayout().setIconPosition(z); }, _applyCenter:function(z, A){this._getLayout().setCenter(z); }}}); })(); (function(){var a="changeEnabled", b="qx.ui.core.MExecutable", c="qx.event.Command", d="qx.event.type.Event", f="changeCommand", g="_applyCommand", h="execute"; qx.Mixin.define(b, {events:{"execute":d}, properties:{command:{check:c, apply:g, event:f, nullable:true}}, members:{execute:function(){var i=this.getCommand(); if(i){i.execute(this); }this.fireEvent(h); }, _applyCommand:function(j, k){if(k){k.removeListener(a, this._onChangeEnabledCommand, this); } if(j){j.addListener(a, this._onChangeEnabledCommand, this); if(this.getEnabled()===false){j.setEnabled(false); }else if(j.getEnabled()===false){this.setEnabled(false); }}}, _onChangeEnabledCommand:function(l){this.setEnabled(l.getData()); }}}); })(); (function(){var a="qx.event.type.Data", b="string", c="qx.ui.form.IFormElement", d="boolean"; qx.Interface.define(c, {events:{"changeValue":a, "changeName":a, "changeEnabled":a}, members:{setEnabled:function(e){this.assertType(e, d); }, getEnabled:function(){}, setName:function(e){this.assertType(e, b); }, getName:function(){}, setValue:function(e){this.assertType(e, b); }, getValue:function(){}}}); })(); (function(){var a="pressed", b="abandoned", c="hovered", d="Enter", f="Space", g="String", h="dblclick", i="qx.ui.form.Button", j="mouseup", k="mousedown", l="changeName", m="mouseover", n="mouseout", o="changeValue", p="keydown", q="button", r="keyup"; qx.Class.define(i, {extend:qx.ui.basic.Atom, include:qx.ui.core.MExecutable, implement:qx.ui.form.IFormElement, construct:function(s, t, u){arguments.callee.base.call(this, s, t); if(u!=null){this.setCommand(u); }this.addListener(m, this._onMouseOver); this.addListener(n, this._onMouseOut); this.addListener(k, this._onMouseDown); this.addListener(j, this._onMouseUp); this.addListener(p, this._onKeyDown); this.addListener(r, this._onKeyUp); this.addListener(h, this._onStopEvent); }, properties:{name:{check:g, nullable:true, event:l}, value:{check:g, nullable:true, event:o}, appearance:{refine:true, init:q}, focusable:{refine:true, init:true}}, members:{press:function(){if(this.hasState(b)){return; }this.addState(a); }, release:function(){if(this.hasState(a)){this.removeState(a); }}, reset:function(){this.removeState(a); this.removeState(b); this.removeState(c); }, _onMouseOver:function(v){if(!this.isEnabled()||v.getTarget()!==this){return; } if(this.hasState(b)){this.removeState(b); this.addState(a); }this.addState(c); }, _onMouseOut:function(v){if(!this.isEnabled()||v.getTarget()!==this){return; }this.removeState(c); if(this.hasState(a)){this.removeState(a); this.addState(b); }}, _onMouseDown:function(v){if(!v.isLeftPressed()){return; }v.stopPropagation(); this.capture(); this.removeState(b); this.addState(a); }, _onMouseUp:function(v){this.releaseCapture(); var w=this.hasState(a); var x=this.hasState(b); if(w){this.removeState(a); } if(x){this.removeState(b); }else{this.addState(c); if(w){this.execute(); }}v.stopPropagation(); }, _onKeyDown:function(v){switch(v.getKeyIdentifier()){case d:case f:this.removeState(b); this.addState(a); v.stopPropagation(); }}, _onKeyUp:function(v){switch(v.getKeyIdentifier()){case d:case f:if(this.hasState(a)){this.removeState(b); this.removeState(a); this.execute(); v.stopPropagation(); }}}}}); })(); (function(){var a="pressed", b="hovered", c="changeVisibility", d="qx.ui.menu.Menu", f="Enter", g="changeMenu", h="qx.ui.form.MenuButton", i="abandoned", j="_applyMenu"; qx.Class.define(h, {extend:qx.ui.form.Button, construct:function(k, l, m){arguments.callee.base.call(this, k, l); if(m!=null){this.setMenu(m); }}, properties:{menu:{check:d, nullable:true, apply:j, event:g}}, members:{_applyMenu:function(n, o){if(o){o.removeListener(c, this._onMenuChange, this); o.resetOpener(); } if(n){n.addListener(c, this._onMenuChange, this); n.setOpener(this); }}, open:function(p){var m=this.getMenu(); if(m){qx.ui.menu.Manager.getInstance().hideAll(); m.open(); if(p){var q=m.getChildren()[0]; if(q){m.setSelectedButton(q); }}}}, _onMenuChange:function(r){var m=this.getMenu(); if(m.isVisible()){this.addState(a); }else{this.removeState(a); }}, _onMouseDown:function(r){var m=this.getMenu(); if(m){if(!m.isVisible()){this.open(); }else{m.exclude(); }r.stopPropagation(); }}, _onMouseUp:function(r){r.stopPropagation(); }, _onMouseOver:function(r){this.addState(b); }, _onMouseOut:function(r){this.removeState(b); }, _onKeyDown:function(r){switch(r.getKeyIdentifier()){case f:this.removeState(i); this.addState(a); var m=this.getMenu(); if(m){if(!m.isVisible()){this.open(); }else{m.exclude(); }}r.stopPropagation(); }}, _onKeyUp:function(r){}}, destruct:function(){if(this.getMenu()){if(!qx.core.ObjectRegistry.inShutDown){this.getMenu().destroy(); }}}}); })(); (function(){var a="pressed", b="hovered", c="inherit", d="keydown", f="qx.ui.toolbar.MenuButton", g="keyup", h="toolbar-button"; qx.Class.define(f, {extend:qx.ui.form.MenuButton, construct:function(i, j, k){arguments.callee.base.call(this, i, j, k); this.removeListener(d, this._onKeyDown); this.removeListener(g, this._onKeyUp); }, properties:{appearance:{refine:true, init:h}, show:{refine:true, init:c}, focusable:{refine:true, init:false}}, members:{getToolBar:function(){var l=this; while(l){if(l instanceof qx.ui.toolbar.ToolBar){return l; }l=l.getLayoutParent(); }return null; }, _onMenuChange:function(m){var k=this.getMenu(); var n=this.getToolBar(); if(k.isVisible()){this.addState(a); if(n){n.setOpenMenu(k); }}else{this.removeState(a); if(n&&n.getOpenMenu()==k){n.resetOpenMenu(); }}}, _onMouseOver:function(m){this.addState(b); if(this.getMenu()){var n=this.getToolBar(); var o=n.getOpenMenu(); if(o&&o!=this.getMenu()){qx.ui.menu.Manager.getInstance().hideAll(); this.open(); }}}}}); })(); (function(){var a="bottom", b="_applyLayoutChange", c="top", d="left", e="right", f="middle", g="center", h="qx.ui.layout.Atom", j="Integer", k="Boolean"; qx.Class.define(h, {extend:qx.ui.layout.Abstract, properties:{gap:{check:j, init:4, apply:b}, iconPosition:{check:[d, c, e, a], init:d, apply:b}, center:{check:k, init:false, apply:b}}, members:{verifyLayoutProperty:null, renderLayout:function(l, m){var n=qx.ui.layout.Util; var o=this.getIconPosition(); var p=this._getLayoutChildren(); var q=p.length; var r, s, t, u; var v, w; var x=this.getGap(); var y=this.getCenter(); if(o===a||o===e){var z=q-1; var A=-1; var B=-1; }else{var z=0; var A=q; var B=1; }if(o==c||o==a){if(y){var C=0; for(var D=z;D!=A;D+=B){u=p[D].getSizeHint().height; if(u>0){C+=u; if(D!=z){C+=x; }}}s=Math.round((m-C)/2); }else{s=0; } for(var D=z;D!=A;D+=B){v=p[D]; w=v.getSizeHint(); t=Math.min(w.maxWidth, Math.max(l, w.minWidth)); u=w.height; r=n.computeHorizontalAlignOffset(g, t, l); v.renderLayout(r, s, t, u); if(u>0){s+=u+x; }}}else{var E=l; var F=0; var G=null; var H=0; for(var D=z;D!=A;D+=B){v=p[D]; t=v.getSizeHint().width; if(t>0){if(!G&&v instanceof qx.ui.basic.Label){G=v; }else{E-=t; }F+=t; H++; }} if(H>1){var I=(H-1)*x; E-=I; F+=I; } if(y&&F0){r+=t+x; }}}}, _computeSizeHint:function(){var p=this._getLayoutChildren(); var q=p.length; var w, J; if(q===1){var w=p[0].getSizeHint(); J={width:w.width, height:w.height, minWidth:w.minWidth, minHeight:w.minHeight}; }else{var K=0, t=0; var L=0, u=0; var o=this.getIconPosition(); var x=this.getGap(); if(o===c||o===a){var H=0; for(var D=0;D0){u+=w.height; L+=w.minHeight; H++; }} if(H>1){var I=(H-1)*x; u+=I; L+=I; }}else{var H=0; for(var D=0;D0){t+=w.width; K+=w.minWidth; H++; }} if(H>1){var I=(H-1)*x; t+=I; K+=I; }}J={minWidth:K, width:t, minHeight:L, height:u}; }return J; }}}); })(); (function(){var a="qx.dynamicLocaleSwitch", b="changeLocale", c="on", d="color", f="qx.ui.basic.Label", g="_applyRich", h="_applyTextAlign", i="Boolean", j="_applyContent", k="label", l="__gk", m="textAlign", n="center", o="A", p="changeContent", q="left", r="String", s="right"; qx.Class.define(f, {extend:qx.ui.core.Widget, construct:function(t){arguments.callee.base.call(this); if(t!=null){this.setContent(t); } if(qx.core.Variant.isSet(a, c)){qx.locale.Manager.getInstance().addListener(b, this._onChangeLocale, this); }}, properties:{rich:{check:i, init:false, apply:g}, content:{check:r, apply:j, event:p, nullable:true}, textAlign:{check:[q, n, s], nullable:true, themeable:true, apply:h}, appearance:{refine:true, init:k}, allowGrowX:{refine:true, init:false}, allowGrowY:{refine:true, init:false}}, members:{__gk:null, __gl:null, _getContentHint:function(){if(this.__gl){this.__gn(); delete this.__gl; }return {width:this.__gm.width, height:this.__gm.height}; }, _hasHeightForWidth:function(){return this.getRich(); }, _getContentHeightForWidth:function(u){if(!this.getRich()){return null; }var v=this.__gk?this.__gk.getStyles():qx.bom.Font.getDefaultStyles(); return qx.bom.Label.getHtmlSize(this.getContent(), v, u).height; }, _createContentElement:function(){return new qx.html.Label; }, _applyTextAlign:function(w, x){this.getContentElement().setStyle(m, w); }, _applyTextColor:function(w, x){if(w){this.getContentElement().setStyle(d, qx.theme.manager.Color.getInstance().resolve(w)); }else{this.getContentElement().removeStyle(d); }}, __gm:{width:0, height:0}, _applyFont:function(w, x){var v; if(w){this.__gk=qx.theme.manager.Font.getInstance().resolve(w); v=this.__gk.getStyles(); }else{this.__gk=null; v=qx.bom.Font.getDefaultStyles(); }this.getContentElement().setStyles(v); this.__gl=true; qx.ui.core.queue.Layout.add(this); }, __gn:function(){var y=qx.bom.Label; var z=this.getFont(); var v=z?this.__gk.getStyles():qx.bom.Font.getDefaultStyles(); var t=this.getContent()||o; var A=this.getRich(); this.__gm=A?y.getHtmlSize(t, v):y.getTextSize(t, v); }, _applyRich:function(w){this.getContentElement().setRich(w); this.__gl=true; qx.ui.core.queue.Layout.add(this); }, _onChangeLocale:qx.core.Variant.select(a, {"on":function(B){var t=this.getContent(); if(t.translate){this.setContent(t.translate()); }}, "off":null}), _applyContent:function(w){this.getContentElement().setContent(w); this.__gl=true; qx.ui.core.queue.Layout.add(this); }}, destruct:function(){if(qx.core.Variant.isSet(a, c)){qx.locale.Manager.getInstance().removeListener(b, this._onChangeLocale, this); }this._disposeFields(l); }}); })(); (function(){var a="qx.bom.client.Locale", b="-", c=""; qx.Bootstrap.define(a, {statics:{LOCALE:"", VARIANT:"", __go:function(){var d=(qx.bom.client.Engine.MSHTML?navigator.userLanguage:navigator.language).toLowerCase(); var e=c; var f=d.indexOf(b); if(f!=-1){e=d.substr(f+1); d=d.substr(0, f); }this.LOCALE=d; this.VARIANT=e; }}, defer:function(g){g.__go(); }}); })(); (function(){var a="qx.core.BaseString"; qx.Class.define(a, {extend:String, construct:function(b){{}; this._txt=b; }, members:{toString:function(){return this._txt; }, valueOf:function(){return this._txt; }, toHashCode:function(){return qx.core.ObjectRegistry.toHashCode(this); }, base:function(c, d){return qx.core.Object.prototype.base.apply(this, arguments); }}, defer:function(e){{}; }}); })(); (function(){var a="qx.locale.LocalizedString"; qx.Class.define(a, {extend:qx.core.BaseString, construct:function(b, c, d){arguments.callee.base.call(this, b); this.__gp=c; this.__gq=d; }, members:{translate:function(){return qx.locale.Manager.getInstance().translate(this.__gp, this.__gq); }}}); })(); (function(){var a="_", b="", c="qx.dynamicLocaleSwitch", d="on", e="__gs", f="_applyLocale", g="changeLocale", h="__gr", j="C", k="qx.locale.Manager", l="String", m="singleton"; qx.Class.define(k, {type:m, extend:qx.core.Object, construct:function(){arguments.callee.base.call(this); this.__gr=window.qxtranslations||{}; this.__gs=window.qxlocales||{}; var n=qx.bom.client.Locale; var o=n.LOCALE; var p=n.VARIANT; if(p!==b){o+=a+p; }this.setLocale(o||this._defaultLocale); }, statics:{tr:function(q, r){var s=qx.lang.Array.fromArguments(arguments); s.splice(0, 1); return qx.locale.Manager.getInstance().translate(q, s); }, trn:function(t, u, v, r){var s=qx.lang.Array.fromArguments(arguments); s.splice(0, 3); if(v!=1){return qx.locale.Manager.getInstance().translate(u, s); }else{return qx.locale.Manager.getInstance().translate(t, s); }}, trc:function(w, q, r){var s=qx.lang.Array.fromArguments(arguments); s.splice(0, 2); return qx.locale.Manager.getInstance().translate(q, s); }, marktr:function(q){return q; }}, properties:{locale:{check:l, nullable:true, apply:f, event:g}}, members:{_defaultLocale:j, getLanguage:function(){return this._language; }, getTerritory:function(){return this.getLocale().split(a)[1]||b; }, getAvailableLocales:function(){var x=[]; for(var o in this.__gs){if(o!=this._defaultLocale){x.push(o); }}return x; }, __gt:function(o){var y; var z=o.indexOf(a); if(z==-1){y=o; }else{y=o.substring(0, z); }return y; }, _applyLocale:function(A, B){this._locale=A; this._language=this.__gt(A); }, addTranslation:function(C, D){var E=this.__gr; if(E[C]){for(var F in D){E[C][F]=D[F]; }}else{E[C]=D; }}, translate:function(q, s, o){var G; var E=this.__gr; if(!E){return q; } if(o){var y=this.__gt(o); }else{o=this._locale; y=this._language; } if(!G&&E[o]){G=E[o][q]; } if(!G&&E[y]){G=E[y][q]; } if(!G&&E[this._defaultLocale]){G=E[this._defaultLocale][q]; } if(!G){G=q; } if(s.length>0){var H=[]; for(var I=0;I0){var H=[]; for(var I=0;I=0;D+=y){C=A[D]; if(C.isEnabled()&&!C.isAnonymous()){return C; }} if(z){D=D==B?0:B-1; for(;D!=x;D+=y){C=A[D]; if(C.isEnabled()&&!C.isAnonymous()){return C; }}}return null; }, _isInMenu:function(E){while(E){if(E instanceof qx.ui.menu.Menu){return true; }E=E.getLayoutParent(); }return false; }, add:function(F){{}; var G=this.__gy; G.push(F); F.setZIndex(1e6+G.length); }, remove:function(F){{}; var G=this.__gy; if(G){qx.lang.Array.remove(G, F); }}, hideAll:function(){var G=this.__gy; if(G){for(var D=G.length-1;D>=0;D--){G[D].exclude(); }}}, getActiveMenu:function(){var G=this.__gy; return G.length>0?G[G.length-1]:null; }, scheduleOpen:function(w){this.cancelClose(w); if(w.isVisible()){if(this.__gB){this.cancelOpen(this.__gB); }}else if(this.__gB!=w){this.__gB=w; this.__gz.restartWith(w.getOpenInterval()); }}, scheduleClose:function(w){this.cancelOpen(w); if(!w.isVisible()){if(this.__gC){this.cancelClose(this.__gC); }}else if(this.__gC!=w){this.__gC=w; this.__gA.restartWith(w.getCloseInterval()); }}, cancelOpen:function(w){if(this.__gB==w){this.__gz.stop(); this.__gB=null; }}, cancelClose:function(w){if(this.__gC==w){this.__gA.stop(); this.__gC=null; }}, _onOpenInterval:function(H){this.__gz.stop(); this.__gB.open(); this.__gB=null; }, _onCloseInterval:function(H){this.__gA.stop(); this.__gC.exclude(); this.__gC=null; }, _onMouseDown:function(H){var I=H.getTarget(); if(I.getMenu&&I.getMenu()&&I.getMenu().isVisible()){return; }if(!this._isInMenu(I)){this.hideAll(); }}, _onMouseUp:function(H){var I=H.getTarget(); if(!(I instanceof qx.ui.menu.Menu)){this.hideAll(); }}, __gD:{"Enter":1, "Space":1}, __gE:{"Escape":1, "Up":1, "Down":1, "Left":1, "Right":1}, _onKeyUpDown:function(H){var w=this.getActiveMenu(); if(!w){return; }var J=H.getKeyIdentifier(); if(this.__gE[J]||(this.__gD[J]&&w.getSelectedButton())){H.stopPropagation(); }}, _onKeyPress:function(H){var w=this.getActiveMenu(); if(!w){return; }var J=H.getKeyIdentifier(); var K=this.__gE[J]; var L=this.__gD[J]; if(K){switch(J){case k:this._onKeyPressUp(w); break; case q:this._onKeyPressDown(w); break; case p:this._onKeyPressLeft(w); break; case r:this._onKeyPressRight(w); break; case l:this.hideAll(); break; }H.stopPropagation(); }else if(L){var M=w.getSelectedButton(); if(M){switch(J){case h:this._onKeyPressEnter(w, M, H); break; case u:this._onKeyPressSpace(w, M, H); break; }H.stopPropagation(); }}}, _onKeyPressUp:function(w){var N=w.getSelectedButton(); var A=w.getChildren(); var x=N?w.indexOf(N)-1:A.length-1; var O=this._getChild(w, x, -1, true); if(O){w.setSelectedButton(O); }else{w.resetSelectedButton(); }}, _onKeyPressDown:function(w){var N=w.getSelectedButton(); var x=N?w.indexOf(N)+1:0; var O=this._getChild(w, x, 1, true); if(O){w.setSelectedButton(O); }else{w.resetSelectedButton(); }}, _onKeyPressLeft:function(w){var P=w.getOpener(); if(!P){return; }if(P instanceof qx.ui.menu.Button){var Q=P.getLayoutParent(); Q.resetOpenedButton(); Q.setSelectedButton(P); }else if(P instanceof qx.ui.toolbar.MenuButton){var R=P.getToolBar().getMenuButtons(); var S=R.indexOf(P); if(S===-1){return; }var T=S==0?R[R.length-1]:R[S-1]; if(T!=P){T.open(true); }}}, _onKeyPressRight:function(w){var N=w.getSelectedButton(); if(N){var U=N.getMenu(); if(U){w.setOpenedButton(N); var V=this._getChild(U, 0, 1); if(V){U.setSelectedButton(V); }return; }}else if(!w.getOpenedButton()){var V=this._getChild(w, 0, 1); if(V){w.setSelectedButton(V); if(V.getMenu()){w.setOpenedButton(V); }return; }}var P=w.getOpener(); if(P instanceof qx.ui.menu.Button&&N){while(P){P=P.getLayoutParent(); if(P instanceof qx.ui.menu.Menu){P=P.getOpener(); if(P instanceof qx.ui.toolbar.MenuButton){break; }}else{break; }} if(!P){return; }}if(P instanceof qx.ui.toolbar.MenuButton){var R=P.getToolBar().getMenuButtons(); var S=R.indexOf(P); if(S===-1){return; }var W=R[S+1]; if(!W){W=R[0]; } if(W!=P){W.open(true); }}}, _onKeyPressEnter:function(w, M, H){if(M.hasListener(a)){var X=H.clone(); X.setBubbles(false); X.setTarget(M); M.dispatchEvent(X); }this.hideAll(); }, _onKeyPressSpace:function(w, M, H){if(M.hasListener(a)){var X=H.clone(); X.setBubbles(false); X.setTarget(M); M.dispatchEvent(X); }}}, destruct:function(){var v=qx.core.Init.getApplication().getRoot(); if(v){v.removeListener(c, this._onMouseDown, this, true); v.removeListener(b, this._onMouseUp, this); v.removeListener(f, this._onKeyUpDown, this, true); v.removeListener(g, this._onKeyUpDown, this, true); v.removeListener(a, this._onKeyPress, this, true); }this._disposeObjects(s, n); this._disposeArray(j); }}); })(); (function(){var a="interval", b="qx.event.Timer", c="__gF", d="_applyInterval", f="_applyEnabled", g="Boolean", h="__gG", i="qx.event.type.Event", j="Integer"; qx.Class.define(b, {extend:qx.core.Object, construct:function(k){arguments.callee.base.call(this); this.setEnabled(false); if(k!=null){this.setInterval(k); }this.__gF=qx.lang.Function.bind(this._oninterval, this); }, events:{"interval":i}, statics:{once:function(l, m, n){var o=new qx.event.Timer(n); o.addListener(a, function(p){l.call(m, p); o.dispose(); m=null; }, m); o.start(); return o; }}, properties:{enabled:{init:true, check:g, apply:f}, interval:{check:j, init:1000, apply:d}}, members:{__gG:null, _applyInterval:function(q, r){if(this.getEnabled()){this.restart(); }}, _applyEnabled:function(q, r){if(r){window.clearInterval(this.__gG); this.__gG=null; }else if(q){this.__gG=window.setInterval(this.__gF, this.getInterval()); }}, start:function(){this.setEnabled(true); }, startWith:function(k){this.setInterval(k); this.start(); }, stop:function(){this.setEnabled(false); }, restart:function(){this.stop(); this.start(); }, restartWith:function(k){this.stop(); this.startWith(k); }, _oninterval:function(){if(this.getEnabled()){this.fireEvent(a); }}}, destruct:function(){if(this.__gG){window.clearInterval(this.__gG); }this._disposeFields(h, c); }}); })(); (function(){var a="Integer", b="qx.ui.core.Widget", c="visible", d="selected", f="qx.ui.menu.Menu", g="_applyOpenInterval", h="_applyOpenedButton", i="_applyArrowColumnWidth", j="_applyIconColumnWidth", k="mouseover", l="mouseout", m="excluded", n="_applySpacingX", o="_applyCloseInterval", p="_applySelectedButton", q="menu", r="_applySpacingY"; qx.Class.define(f, {extend:qx.ui.core.Widget, include:[qx.ui.core.MPlacement, qx.ui.core.MChildrenHandling], construct:function(){arguments.callee.base.call(this); this._setLayout(new qx.ui.menu.Layout); this.getApplicationRoot().add(this); this.addListener(k, this._onMouseOver); this.addListener(l, this._onMouseOut); this.initVisibility(); }, properties:{appearance:{refine:true, init:q}, allowGrowX:{refine:true, init:false}, allowGrowY:{refine:true, init:false}, visibility:{refine:true, init:m}, keepFocus:{refine:true, init:true}, keepActive:{refine:true, init:true}, spacingX:{check:a, apply:n, init:0, themeable:true}, spacingY:{check:a, apply:r, init:0, themeable:true}, iconColumnWidth:{check:a, init:0, themeable:true, apply:j}, arrowColumnWidth:{check:a, init:0, themeable:true, apply:i}, selectedButton:{check:b, nullable:true, apply:p}, openedButton:{check:b, nullable:true, apply:h}, opener:{check:b, nullable:true}, openInterval:{check:a, themeable:true, init:250, apply:g}, closeInterval:{check:a, themeable:true, init:250, apply:o}}, members:{__gH:null, open:function(){this.placeToWidget(this.getOpener()); this.show(); }, addSeparator:function(){this.add(new qx.ui.menu.Separator); }, getColumnSizes:function(){return this._getLayout().getColumnSizes(); }, _applyIconColumnWidth:function(s, t){this._getLayout().setIconColumnWidth(s); }, _applyArrowColumnWidth:function(s, t){this._getLayout().setArrowColumnWidth(s); }, _applySpacingX:function(s, t){this._getLayout().setColumnSpacing(s); }, _applySpacingY:function(s, t){this._getLayout().setSpacing(s); }, _applyVisibility:function(s, t){arguments.callee.base.call(this, s, t); var u=qx.ui.menu.Manager.getInstance(); if(s===c){u.add(this); var v=this.getOpener(); var w=v.getLayoutParent(); if(w&&w instanceof qx.ui.menu.Menu){w.setOpenedButton(v); }}else if(t===c){u.remove(this); var v=this.getOpener(); var w=v.getLayoutParent(); if(w&&w instanceof qx.ui.menu.Menu&&w.getOpenedButton()==v){w.resetOpenedButton(); }this.resetOpenedButton(); this.resetSelectedButton(); }}, _applySelectedButton:function(s, t){if(t){t.removeState(d); } if(s){s.addState(d); }}, _applyOpenedButton:function(s, t){if(t){t.getMenu().exclude(); } if(s){s.getMenu().open(); }}, _onMouseOver:function(x){var u=qx.ui.menu.Manager.getInstance(); u.cancelClose(this); var y=x.getTarget(); if(y.isEnabled()&&y instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(y); var z=y.getMenu&&y.getMenu(); if(z){u.scheduleOpen(z); this.__gH=z; }else{var A=this.getOpenedButton(); if(A){u.scheduleClose(A.getMenu()); } if(this.__gH){u.cancelOpen(this.__gH); this.__gH=null; }}}else if(!this.getOpenedButton()){this.resetSelectedButton(); }}, _onMouseOut:function(x){var u=qx.ui.menu.Manager.getInstance(); if(!qx.ui.core.Widget.contains(this, x.getRelatedTarget())){var A=this.getOpenedButton(); A?this.setSelectedButton(A):this.resetSelectedButton(); if(A){u.cancelClose(A.getMenu()); }if(this.__gH){u.cancelOpen(this.__gH); }}}}}); })(); (function(){var a="Integer", b="_applyLayoutChange", c="qx.ui.menu.Layout"; qx.Class.define(c, {extend:qx.ui.layout.VBox, properties:{columnSpacing:{check:a, init:0, apply:b}, spanColumn:{check:a, init:1, nullable:true, apply:b}, iconColumnWidth:{check:a, init:0, themeable:true, apply:b}, arrowColumnWidth:{check:a, init:0, themeable:true, apply:b}}, members:{__gI:null, _computeSizeHint:function(){var d=this._getLayoutChildren(); var e, f, g; var h=this.getSpanColumn(); var j=this.__gI=[0, 0, 0, 0]; var k=this.getColumnSpacing(); var m=0; var n=0; for(var o=0, p=d.length;o0){var bn=bF.getNodes(); } for(var bB in bA){var bC=bA[bB]; if(!bC.selectionChange)continue; var bG=qx.lang.Function.bind(bC.selectionChange, bC.command); bG(bF.getViewId(), bn); }}, createMenuButtons:function(bH){for(var bB in this.menus){var bE=new qx.ui.menu.Menu(); var bI=new qx.ui.menubar.Button(bB, null, bE); for(var bw=0;bw&"']/g, this.__gT); }, __gT:function(ba){var bb={"<":p, ">":k, "&":t, "'":u, '"':y}; return bb[ba]||F; }}}); })(); (function(){var a="qx.ui.core.MRemoteLayoutHandling"; qx.Mixin.define(a, {members:{setLayout:function(b){return this.getChildrenContainer().setLayout(b); }, getLayout:function(){return this.getChildrenContainer().getLayout(); }}}); })(); (function(){var a="resize", b="Boolean", c="nw-resize", d="mouseup", f="mousedown", g="w-resize", h="losecapture", i="se-resize", j="resize-frame", k="ne-resize", l="n-resize", m="sw-resize", n="mouseout", o="__gU", p="s-resize", q="mousemove", r="move", s="maximized", t="Integer", u="e-resize", v="qx.ui.core.MResizable"; qx.Mixin.define(v, {construct:function(){this.addListener(f, this.__hf, this, true); this.addListener(d, this.__hg, this); this.addListener(q, this.__hi, this); this.addListener(n, this.__hj, this); this.addListener(h, this.__hh, this); }, properties:{resizable:{check:b, init:true}, resizeAllEdges:{check:b, init:true}, resizeSensitivity:{check:t, init:5}, useResizeFrame:{check:b, init:true}}, members:{__gU:null, __gV:null, __gW:null, __gX:null, __gY:null, __ha:function(){var w=this.__gU; if(!w){w=this.__gU=new qx.ui.core.Widget(); w.setAppearance(j); w.exclude(); qx.core.Init.getApplication().getRoot().add(w); }return w; }, __hb:function(){var x=this.__gY; var w=this.__ha(); w.setUserBounds(x.left, x.top, x.width, x.height); w.show(); w.setZIndex(this.getZIndex()+1); }, __hc:function(y){var z=this.__gV; var A=this.getSizeHint(); var B=this.__gY; var C=B.width; var D=B.height; var E=B.left; var F=B.top; var G; if(z&1||z&2){G=y.getDocumentTop()-this.__gX; if(z&1){D-=G; }else{D+=G; } if(DA.maxHeight){D=A.maxHeight; } if(z&1){F+=B.height-D; }}if(z&4||z&8){G=y.getDocumentLeft()-this.__gW; if(z&4){C-=G; }else{C+=G; } if(CA.maxWidth){C=A.maxWidth; } if(z&4){E+=B.width-C; }}return {left:E, top:F, width:C, height:D}; }, __hd:{1:l, 2:p, 4:g, 8:u, 5:c, 6:m, 9:k, 10:i}, __he:function(y){if(!this.getResizable()){return; }var H=this.getContentLocation(); var I=this.getResizeAllEdges(); var J=this.getResizeSensitivity(); var K=y.getDocumentLeft(); var L=y.getDocumentTop(); var z=0; if(I&&Math.abs(H.top-L)1){E.push(K); } if(L.colSpan>1){D.push(K); }}for(var P=0;P<=F;P++){if(C[P]==undefined){C[P]=[]; }}this.__hA=C; this.__hB=D; this.__hC=E; this.__hD=F; this.__hE=G; delete this._invalidChildrenCache; }, _setRowData:function(M, Q, R){var S=this.__hy[M]; if(!S){this.__hy[M]={}; this.__hy[M][Q]=R; }else{S[Q]=R; }}, _setColumnData:function(N, Q, R){var T=this.__hz[N]; if(!T){this.__hz[N]={}; this.__hz[N][Q]=R; }else{T[Q]=R; }}, setSpacing:function(U){this.setSpacingY(U); this.setSpacingX(U); }, setColumnAlign:function(N, V, W){{}; this._setColumnData(N, d, V); this._setColumnData(N, f, W); this._applyLayoutChange(); return this; }, getColumnAlign:function(N){var T=this.__hz[N]||{}; return {vAlign:T.vAlign||b, hAlign:T.hAlign||a}; }, setRowAlign:function(M, V, W){{}; this._setRowData(M, d, V); this._setRowData(M, f, W); this._applyLayoutChange(); return this; }, getRowAlign:function(M){var S=this.__hy[M]||{}; return {vAlign:S.vAlign||b, hAlign:S.hAlign||a}; }, getCellWidget:function(M, N){if(this._invalidChildrenCache){this.__hH(); }return this.__hA[M][N]||null; }, getCellAlign:function(M, N){var W=b; var V=a; var S=this.__hy[M]; var T=this.__hz[N]; var X=this.__hA[M][N]; if(X){var Y={vAlign:X.getAlignY(), hAlign:X.getAlignX()}; }else{Y={}; }if(Y.vAlign){W=Y.vAlign; }else if(S&&S.vAlign){W=S.vAlign; }else if(T&&T.vAlign){W=T.vAlign; }if(Y.hAlign){V=Y.hAlign; }else if(T&&T.hAlign){V=T.hAlign; }else if(S&&S.hAlign){V=S.hAlign; }return {vAlign:W, hAlign:V}; }, setColumnFlex:function(N, ba){this._setColumnData(N, e, ba); this._applyLayoutChange(); return this; }, getColumnFlex:function(N){var T=this.__hz[N]||{}; return T.flex!==undefined?T.flex:0; }, setRowFlex:function(M, ba){this._setRowData(M, e, ba); this._applyLayoutChange(); return this; }, getRowFlex:function(M){var S=this.__hy[M]||{}; var bb=S.flex!==undefined?S.flex:0; return bb; }, setColumnMaxWidth:function(N, bc){this._setColumnData(N, v, bc); this._applyLayoutChange(); return this; }, getColumnMaxWidth:function(N){var T=this.__hz[N]||{}; return T.maxWidth!==undefined?T.maxWidth:Infinity; }, setColumnWidth:function(N, bd){this._setColumnData(N, n, bd); this._applyLayoutChange(); return this; }, getColumnWidth:function(N){var T=this.__hz[N]||{}; return T.width!==undefined?T.width:null; }, setColumnMinWidth:function(N, be){this._setColumnData(N, m, be); this._applyLayoutChange(); return this; }, getColumnMinWidth:function(N){var T=this.__hz[N]||{}; return T.minWidth||0; }, setRowMaxHeight:function(M, bf){this._setRowData(M, u, bf); this._applyLayoutChange(); return this; }, getRowMaxHeight:function(M){var S=this.__hy[M]||{}; return S.maxHeight||Infinity; }, setRowHeight:function(M, bg){this._setRowData(M, s, bg); this._applyLayoutChange(); return this; }, getRowHeight:function(M){var S=this.__hy[M]||{}; return S.height!==undefined?S.height:null; }, setRowMinHeight:function(M, bh){this._setRowData(M, p, bh); this._applyLayoutChange(); return this; }, getRowMinHeight:function(M){var S=this.__hy[M]||{}; return S.minHeight||0; }, __hI:function(X){var bi=X.getSizeHint(); var bj=X.getMarginLeft()+X.getMarginRight(); var bk=X.getMarginTop()+X.getMarginBottom(); var bl={height:bi.height+bk, width:bi.width+bj, minHeight:bi.minHeight+bk, minWidth:bi.minWidth+bj, maxHeight:bi.maxHeight+bk, maxWidth:bi.maxWidth+bj}; return bl; }, _fixHeightsRowSpan:function(bm){var bn=this.getSpacingY(); for(var I=0, J=this.__hC.length;I0){br[M]={min:bt.minHeight, value:bt.height, max:bt.maxHeight, flex:bb}; }bp+=bt.height; bq+=bt.minHeight; }if(bp0){bB[bC]={min:bD.minWidth, value:bD.width, max:bD.maxWidth, flex:bE}; }bz+=bD.width; bA+=bD.minWidth; }if(bz1){continue; }var bH=this.__hI(X); if(this.getRowFlex(M)>0){bh=Math.max(bh, bH.minHeight); }else{bh=Math.max(bh, bH.height); }bg=Math.max(bg, bH.height); }var bh=Math.max(bh, this.getRowMinHeight(M)); var bf=this.getRowMaxHeight(M); if(this.getRowHeight(M)!==null){var bg=this.getRowHeight(M); }else{var bg=Math.max(bh, Math.min(bg, bf)); }bm[M]={minHeight:bh, height:bg, maxHeight:bf}; } if(this.__hC.length>0){this._fixHeightsRowSpan(bm); }this.__hF=bm; return bm; }, _getColWidths:function(){if(this.__hG!=null){return this.__hG; }var bw=[]; var G=this.__hE; var F=this.__hD; for(var bC=0;bC<=G;bC++){var bd=0; var be=0; var bc=Infinity; for(var M=0;M<=F;M++){var X=this.__hA[M][bC]; if(!X){continue; }var bI=X.getLayoutProperties().colSpan||0; if(bI>1){continue; }var bH=this.__hI(X); if(this.getColumnFlex(bC)>0){be=Math.max(be, bH.minWidth); }else{be=Math.max(be, bH.width); }bd=Math.max(bd, bH.width); }var be=Math.max(be, this.getColumnMinWidth(bC)); var bc=this.getColumnMaxWidth(bC); if(this.getColumnWidth(bC)!==null){var bd=this.getColumnWidth(bC); }else{var bd=Math.max(be, Math.min(bd, bc)); }bw[bC]={minWidth:be, width:bd, maxWidth:bc}; } if(this.__hB.length>0){this._fixWidthsColSpan(bw); }this.__hG=bw; return bw; }, _getColumnFlexOffsets:function(bd){var bi=this.getSizeHint(); var bJ=bd-bi.width; if(bJ==0){return {}; }var bw=this._getColWidths(); var bK={}; for(var I=0, J=bw.length;I0)||(bC.width==bC.minWidth&&bJ<0)){continue; }bK[I]={min:bC.minWidth, value:bC.width, max:bC.maxWidth, flex:bE}; }return qx.ui.layout.Util.computeFlexOffsets(bK, bd, bi.width); }, _getRowFlexOffsets:function(bg){var bi=this.getSizeHint(); var bJ=bg-bi.height; if(bJ==0){return {}; }var bm=this._getRowHeights(); var bK={}; for(var I=0, J=bm.length;I0)||(M.height==M.minHeight&&bJ<0)){continue; }bK[I]={min:M.minHeight, value:M.height, max:M.maxHeight, flex:bb}; }return qx.ui.layout.Util.computeFlexOffsets(bK, bg, bi.height); }, renderLayout:function(bL, bM){if(this._invalidChildrenCache){this.__hH(); }var bN=qx.ui.layout.Util; var bx=this.getSpacingX(); var bn=this.getSpacingY(); var bO=this._getColWidths(); var bP=this._getColumnFlexOffsets(bL); var bw=[]; var G=this.__hE; var F=this.__hD; var bv; for(var bC=0;bC<=G;bC++){bv=bP[bC]?bP[bC].offset:0; bw[bC]=bO[bC].width+bv; }var bQ=this._getRowHeights(); var bR=this._getRowFlexOffsets(bM); var bm=[]; for(var M=0;M<=F;M++){bv=bR[M]?bR[M].offset:0; bm[M]=bQ[M].height+bv; }var bS=0; for(var bC=0;bC<=G;bC++){var bT=0; for(var M=0;M<=F;M++){var X=this.__hA[M][bC]; if(!X){bT+=bm[M]+bn; continue; }var Y=X.getLayoutProperties(); if(Y.row!==M||Y.column!==bC){bT+=bm[M]+bn; continue; }var bU=bx*(Y.colSpan-1); for(var I=0;I0){be+=bC.minWidth; }else{be+=bC.width; }bd+=bC.width; }var bm=this._getRowHeights(); var bh=0, bg=0; for(var I=0, J=bm.length;I0){bh+=M.minHeight; }else{bh+=M.height; }bg+=M.height; }var A=this.getSpacingX()*(bw.length-1); var B=this.getSpacingY()*(bm.length-1); var bi={minWidth:be+A, width:bd+A, minHeight:bh+B, height:bg+B}; return bi; }}, destruct:function(){this._disposeFields(h, k, q, w, t, z, o); }}); })(); (function(){var a="_applyLayoutChange", b="left", c="top", d="Decorator", e="Integer", f="x", g="y", h="auto", j="__hK", k="qx.ui.layout.Dock", l="__hJ", m="_applySort", n="west", o="north", p="south", q="center", r="east", s="Boolean", t="bottom", u="right"; qx.Class.define(k, {extend:qx.ui.layout.Abstract, construct:function(v, w, x, y){arguments.callee.base.call(this); if(v){this.setSpacingX(v); } if(w){this.setSpacingY(w); } if(x){this.setSeparatorX(x); } if(y){this.setSeparatorY(y); }}, properties:{sort:{check:[h, g, f], init:h, apply:m}, separatorX:{check:d, nullable:true, apply:a}, separatorY:{check:d, nullable:true, apply:a}, connectSeparators:{check:s, init:false, apply:a}, spacingX:{check:e, init:0, apply:a}, spacingY:{check:e, init:0, apply:a}}, members:{__hJ:null, __hK:null, verifyLayoutProperty:null, _applySort:function(){this._invalidChildrenCache=true; this._applyLayoutChange(); }, __hL:{north:1, south:2, west:3, east:4, center:5}, __hM:{1:c, 2:t, 3:b, 4:u}, __hN:function(){var z=this._getLayoutChildren(); var A, B; var C=z.length; var D=[]; var E=[]; var F=[]; var G=this.getSort()===g; var H=this.getSort()===f; for(var I=0;IQ.maxWidth){U=Q.maxWidth; }} if(R.height!=null){V=Math.floor(M*parseFloat(R.height)/100); if(VQ.maxHeight){V=Q.maxHeight; }}X[I]=U; Y[I]=V; switch(K[I]){case 1:case 2:bc+=V+A.getMarginTop()+A.getMarginBottom()+w; if(ba.y){bc+=ba.y+w; }break; case 3:case 4:bb+=U+A.getMarginLeft()+A.getMarginRight()+v; if(ba.x){bb+=ba.x+v; }break; default:bb+=U+A.getMarginLeft()+A.getMarginRight()+v; bc+=V+A.getMarginTop()+A.getMarginBottom()+w; if(ba.x){bb+=ba.x+v; } if(ba.y){bc+=ba.y+w; }}}if(bb!=L){P={}; T=bb0){Q=A.getSizeHint(); P[I]={min:Q.minWidth, value:X[I], max:Q.maxWidth, flex:S}; }}}var J=N.computeFlexOffsets(P, L, bb); for(var I in J){W=J[I].offset; X[I]+=W; bb+=W; }}if(bc!=M){P=[]; T=bc0){Q=A.getSizeHint(); P[I]={min:Q.minHeight, value:Y[I], max:Q.maxHeight, flex:S}; }}}var J=N.computeFlexOffsets(P, M, bc); for(var I in J){W=J[I].offset; Y[I]+=W; bc+=W; }}this._clearSeparators(); var x=this.getSeparatorX(), y=this.getSeparatorY(); var bd=this.getConnectSeparators(); var be=0, bf=0; var bg, bh, U, V, bi, F; var bj, bk, bl, bm; var bn, bo, bp, bq; var br=this.__hM; for(var I=0;IQ.maxWidth){U=Q.maxWidth; }V=Y[I]; bh=be+N.computeVerticalAlignOffset(br[F], V, M, bn, bo); bg=bf+N.computeHorizontalAlignOffset(A.getAlignX()||b, U, L, bp, bq); if(ba.y){if(F==1){bk=be+V+bn+w+bo; }else{bk=be+M-V-bn-w-bo-ba.y; }bj=bg; bl=L; if(bd&&bj>0){bj-=v+bp; bl+=(v)*2; }else{bj-=bp; }this._renderSeparator(y, {left:bj, top:bk, width:bl, height:ba.y}); }bi=V+bn+bo+w; if(ba.y){bi+=ba.y+w; }M-=bi; if(F==1){be+=bi; }break; case 3:case 4:V=M-bn-bo; if(VQ.maxHeight){V=Q.maxHeight; }U=X[I]; bg=bf+N.computeHorizontalAlignOffset(br[F], U, L, bp, bq); bh=be+N.computeVerticalAlignOffset(A.getAlignY()||c, V, M, bn, bo); if(ba.x){if(F==3){bj=bf+U+bp+v+bq; }else{bj=bf+L-U-bp-v-bq-ba.x; }bk=bh; bm=M; if(bd&&bk>0){bk-=w+bn; bm+=(w)*2; }else{bk-=bn; }this._renderSeparator(x, {left:bj, top:bk, width:ba.x, height:bm}); }bi=U+bp+bq+v; if(ba.x){bi+=ba.x+v; }L-=bi; if(F==3){bf+=bi; }break; default:U=L-bp-bq; V=M-bn-bo; if(UQ.maxWidth){U=Q.maxWidth; }if(VQ.maxHeight){V=Q.maxHeight; }bg=bf+N.computeHorizontalAlignOffset(A.getAlignX()||b, U, L, bp, bq); bh=be+N.computeVerticalAlignOffset(A.getAlignY()||c, V, M, bn, bo); }A.renderLayout(bg, bh, U, V); }}, _getSeparatorWidths:function(){var x=this.getSeparatorX(), y=this.getSeparatorY(); if(x||y){var bs=qx.theme.manager.Decoration.getInstance(); } if(x){var bt=bs.resolve(x); var bu=bt.getInsets(); var bv=bu.left+bu.right; } if(y){var bw=bs.resolve(y); var bx=bw.getInsets(); var by=bx.top+bx.bottom; }return {x:bv||0, y:by||0}; }, _computeSizeHint:function(){if(this._invalidChildrenCache){this.__hN(); }var O=this.__hJ; var K=this.__hK; var C=O.length; var Q, A; var bz, bA; var bB=0, bC=0; var bD=0, bE=0; var bF=0, bG=0; var bH=0, bI=0; var ba=this._getSeparatorWidths(); var v=this.getSpacingX(), w=this.getSpacingY(); var bJ=-v, bK=-w; if(ba.x){bJ-=ba.x+v; } if(ba.y){bK-=ba.y+w; }for(var I=0;I=P&&bf<=Q){return bf.toUpperCase(); }bf=bf.toLowerCase(); var bh=this.__hR[bf]||qx.lang.String.firstUp(bf); if(bg.isValidKeyIdentifier(bh)){return bh; }else{return b; }}, toString:function(){var be=this.__hP; var bi=[]; for(var bj in this.__hO){bi.push(qx.locale.Key.getKeyName(d, bj)); } if(be){bi.push(qx.locale.Key.getKeyName(d, be)); }return bi.join(c); }}, destruct:function(){this.setEnabled(false); this._disposeFields(x, j); }}); })(); (function(){var a="", b="changeMenu", c="commandId", d="changeEnabled", f="org.argeo.slc.web.event.Command", g="execute"; qx.Class.define(f, {extend:qx.event.Command, properties:{id:{init:a}, label:{init:a}, icon:{init:a}, menu:{nullable:true, event:b}, menuCallback:{nullable:true}, menuContext:{nullable:true}}, construct:function(h, i, j, k){arguments.callee.base.call(this, k); this.setId(h); this.setLabel(i); this.setIcon(j); }, members:{getMenuButton:function(){var l=new qx.ui.menu.Button(this.getLabel(), this.getIcon(), this, this.getMenu()); this.addTooltip(l); if(this.getMenu()){this.addListener(b, function(m){this.setMenu(m.getData()); }, l); }return l; }, getToolbarButton:function(){var l; if(this.getMenu()){l=new qx.ui.toolbar.MenuButton(this.getLabel(), this.getIcon(), this.getMenuClone()); this.addListener(b, function(m){l.setMenu(this.getMenuClone()); }, this); this.addListener(d, function(n){this.setEnabled(n.getData()); }, l); l.setEnabled(this.getEnabled()); }else{l=new qx.ui.toolbar.Button(this.getLabel(), this.getIcon(), this); }this.addTooltip(l); return l; }, getMenuClone:function(){if(!this.menuClone){this.menuClone=new qx.ui.menu.Menu(); this.menuClone.setMinWidth(110); }return this.menuClone; }, clearMenus:function(){this.getMenu().removeAll(); this.getMenuClone().removeAll(); }, addSubMenuButton:function(i, j, o, p){var l=new qx.ui.menu.Button(i); l.setUserData(c, o); l.addListener(g, this.executeSubMenuCallback, this); if(p){p.add(l); }else{this.getMenu().add(l); this.addSubMenuButton(i, j, o, this.menuClone); }}, executeSubMenuCallback:function(m){var l=m.getTarget(); var q=this.getMenuCallback(); q=qx.lang.Function.bind(q, this.getMenuContext()||this); q(l.getUserData(c)); }, addTooltip:function(r){if(this.getShortcut()!=null){r.setToolTip(new qx.ui.tooltip.ToolTip(this.getShortcut())); }}}}); })(); (function(){var a="Left", b="Meta", c="Pause", d="End", e="Down", f="Home", g="Apps", h="Win", i="Right", j="Backspace", k="Space", l="Up", m="Shift", n="Enter", o="Scroll", p="Alt", q="Escape", r="key_full_Meta", s="PrintScreen", t="NumLock", u="key_short_Alt", v="key_short_Insert", w="Del", x="key_full_Enter", y="key_full_Control", z="qx.locale.Key", A="Tabulator", B="key_full_Space", C="key_short_Meta", D="key_short_PageUp", E="key_short_Pause", F="key_full_Down", G="key_short_Apps", H="key_short_Win", I="key_full_Right", J="key_short_Up", K="key_full_PageDown", L="key_full_Alt", M="PgDn", N="Esc", O="key_full_Insert", P="Ctrl", Q="key_short_Space", R="key_short_Backspace", S="key_short_Home", T="key_short_Down", U="PgUp", V="key_short_CapsLock", W="PageUp", X="key_full_Up", Y="key_full_Home", ba="key_full_Backspace", bb="PageDown", bc="CapsLock", bd="Ins", be="Control", bf="key_short_PrintScreen", bg="Tab", bh="key_full_Apps", bi="key_short_Tab", bj="key_short_End", bk="_", bl="Caps", bm="key_short_NumLock", bn="Num", bo="key_full_Scroll", bp="key_short_Left", bq="key_short_Scroll", br="key_", bs="key_full_Pause", bt="key_short_Right", bu="key_full_PrintScreen", bv="key_full_Win", bw="key_short_Shift", bx="key_short_PageDown", by="key_short_Enter", bz="key_short_Control", bA="Insert", bB="key_short_Escape", bC="key_full_Tab", bD="Print", bE="Delete", bF="key_full_CapsLock", bG="key_full_Escape", bH="key_short_Delete", bI="key_full_PageUp", bJ="key_full_Shift", bK="key_full_NumLock", bL="key_full_Delete", bM="key_full_End", bN="key_full_Left"; qx.Class.define(z, {statics:{getKeyName:function(bO, bP, bQ){{}; var bR=br+bO+bk+bP; var bS=qx.locale.Manager.getInstance().translate(bR, [], bQ); if(bS==bR){return qx.locale.Key._keyNames[bR]||bP; }else{return bS; }}}, defer:function(bT, bU, bV){var bW={}; var bX=qx.locale.Manager; bW[bX.marktr(R)]=j; bW[bX.marktr(bi)]=bg; bW[bX.marktr(Q)]=k; bW[bX.marktr(by)]=n; bW[bX.marktr(bw)]=m; bW[bX.marktr(bz)]=P; bW[bX.marktr(u)]=p; bW[bX.marktr(V)]=bl; bW[bX.marktr(C)]=b; bW[bX.marktr(bB)]=N; bW[bX.marktr(bp)]=a; bW[bX.marktr(J)]=l; bW[bX.marktr(bt)]=i; bW[bX.marktr(T)]=e; bW[bX.marktr(D)]=U; bW[bX.marktr(bx)]=M; bW[bX.marktr(bj)]=d; bW[bX.marktr(S)]=f; bW[bX.marktr(v)]=bd; bW[bX.marktr(bH)]=w; bW[bX.marktr(bm)]=bn; bW[bX.marktr(bf)]=bD; bW[bX.marktr(bq)]=o; bW[bX.marktr(E)]=c; bW[bX.marktr(H)]=h; bW[bX.marktr(G)]=g; bW[bX.marktr(ba)]=j; bW[bX.marktr(bC)]=A; bW[bX.marktr(B)]=k; bW[bX.marktr(x)]=n; bW[bX.marktr(bJ)]=m; bW[bX.marktr(y)]=be; bW[bX.marktr(L)]=p; bW[bX.marktr(bF)]=bc; bW[bX.marktr(r)]=b; bW[bX.marktr(bG)]=q; bW[bX.marktr(bN)]=a; bW[bX.marktr(X)]=l; bW[bX.marktr(I)]=i; bW[bX.marktr(F)]=e; bW[bX.marktr(bI)]=W; bW[bX.marktr(K)]=bb; bW[bX.marktr(bM)]=d; bW[bX.marktr(Y)]=f; bW[bX.marktr(O)]=bA; bW[bX.marktr(bL)]=bE; bW[bX.marktr(bK)]=t; bW[bX.marktr(bu)]=s; bW[bX.marktr(bo)]=o; bW[bX.marktr(bs)]=c; bW[bX.marktr(bv)]=h; bW[bX.marktr(bh)]=g; bT._keyNames=bW; }}); })(); (function(){var a="inherit", b="toolbar-button", c="keydown", d="qx.ui.toolbar.Button", e="keyup"; qx.Class.define(d, {extend:qx.ui.form.Button, construct:function(f, g, h){arguments.callee.base.call(this, f, g, h); this.removeListener(c, this._onKeyDown); this.removeListener(e, this._onKeyUp); }, properties:{appearance:{refine:true, init:b}, show:{refine:true, init:a}, focusable:{refine:true, init:false}}}); })(); (function(){var a="qx.ui.popup.Popup", b="visible", c="excluded", d="popup", e="Boolean"; qx.Class.define(a, {extend:qx.ui.container.Composite, include:qx.ui.core.MPlacement, construct:function(f){arguments.callee.base.call(this, f); qx.core.Init.getApplication().getRoot().add(this); this.initVisibility(); }, properties:{appearance:{refine:true, init:d}, visibility:{refine:true, init:c}, autoHide:{check:e, init:true}}, members:{_applyVisibility:function(g, h){arguments.callee.base.call(this, g, h); var i=qx.ui.popup.Manager.getInstance(); g===b?i.add(this):i.remove(this); }}, destruct:function(){qx.ui.popup.Manager.getInstance().remove(this); }}); })(); (function(){var a="atom", b="Integer", c="String", d="qx.ui.tooltip.ToolTip", e="_applyIcon", f="tooltip", g="_applyLabel"; qx.Class.define(d, {extend:qx.ui.popup.Popup, construct:function(h, i){arguments.callee.base.call(this); qx.ui.tooltip.Manager.getInstance(); this.setLayout(new qx.ui.layout.Grow); this._createChildControl(a); if(h!=null){this.setLabel(h); } if(i!=null){this.setIcon(i); }}, properties:{appearance:{refine:true, init:f}, showTimeout:{check:b, init:1000, themeable:true}, hideTimeout:{check:b, init:4000, themeable:true}, label:{check:c, nullable:true, apply:g}, icon:{check:c, nullable:true, apply:e, themeable:true}}, members:{_createChildControlImpl:function(j){var k; switch(j){case a:k=new qx.ui.basic.Atom; this._add(k); break; }return k||arguments.callee.base.call(this, j); }, _applyIcon:function(l, m){var n=this._getChildControl(a); l==null?n.resetIcon:n.setIcon(l); }, _applyLabel:function(l, m){var n=this._getChildControl(a); l==null?n.resetLabel():n.setLabel(l); }}}); })(); (function(){var a="mousedown", b="__hT", c="blur", d="singleton", f="qx.ui.popup.Manager"; qx.Class.define(f, {type:d, extend:qx.core.Object, construct:function(){arguments.callee.base.call(this); this.__hT={}; var g=qx.core.Init.getApplication().getRoot(); g.addListener(a, this.__hV, this, true); qx.bom.Element.addListener(window, c, this.hideAll, this); }, members:{__hT:null, add:function(h){{}; this.__hT[h.$$hash]=h; this.__hU(); }, remove:function(h){{}; var i=this.__hT; if(i){delete i[h.$$hash]; this.__hU(); }}, hideAll:function(){var i=this.__hT; if(i){for(var j in i){i[j].exclude(); }}}, __hU:function(){var k=1e6; var i=this.__hT; for(var j in i){i[j].setZIndex(k++); }}, __hV:function(l){var m=l.getTarget(); var i=this.__hT; for(var j in i){var h=i[j]; if(!h.getAutoHide()||m==h||qx.ui.core.Widget.contains(h, m)){continue; }h.exclude(); }}}, destruct:function(){var g=qx.core.Init.getApplication().getRoot(); if(g){g.removeListener(a, this.__hV, this, true); }this._disposeMap(b); }}); })(); (function(){var a="focusout", b="interval", c="mouseover", d="mouseout", f="focusin", g="mousemove", h="__hY", i="qx.ui.tooltip.ToolTip", j="__hW", k="__hX", l="_applyCurrent", m="qx.ui.tooltip.Manager", n="singleton"; qx.Class.define(m, {type:n, extend:qx.core.Object, construct:function(){arguments.callee.base.call(this); var o=qx.core.Init.getApplication().getRoot(); o.addListener(c, this.__id, this, true); o.addListener(f, this.__if, this, true); this.__hW=new qx.event.Timer(); this.__hW.addListener(b, this.__ia, this); this.__hX=new qx.event.Timer(); this.__hX.addListener(b, this.__ib, this); this.__hY={left:0, top:0}; }, properties:{current:{check:i, nullable:true, apply:l}}, members:{__hY:null, __hX:null, __hW:null, _applyCurrent:function(p, q){if(q&&qx.ui.core.Widget.contains(q, p)){return; }if(q){q.exclude(); this.__hW.stop(); this.__hX.stop(); }var o=qx.core.Init.getApplication().getRoot(); if(p){this.__hW.startWith(p.getShowTimeout()); o.addListener(d, this.__ie, this, true); o.addListener(a, this.__ig, this, true); o.addListener(g, this.__ic, this, true); }else{o.removeListener(d, this.__ie, this, true); o.removeListener(a, this.__ig, this, true); o.removeListener(g, this.__ic, this, true); }}, __ia:function(r){var s=this.getCurrent(); if(s){this.__hX.startWith(s.getHideTimeout()); s.placeToPoint(this.__hY); s.show(); }this.__hW.stop(); }, __ib:function(r){var s=this.getCurrent(); if(s){s.exclude(); }this.__hX.stop(); this.resetCurrent(); }, __ic:function(r){var t=this.__hY; t.left=r.getDocumentLeft(); t.top=r.getDocumentTop(); }, __id:function(r){var u=r.getTarget(); var v; while(u!=null){var v=u.getToolTip(); if(v){break; }u=u.getLayoutParent(); }if(v){this.setCurrent(v); }}, __ie:function(r){var u=r.getTarget(); var w=r.getRelatedTarget(); var v=this.getCurrent(); if(v&&(w==v||qx.ui.core.Widget.contains(v, w))){return; }if(w&&u&&qx.ui.core.Widget.contains(u, w)){return; }if(v&&!w){this.setCurrent(null); }else{this.resetCurrent(); }}, __if:function(r){var u=r.getTarget(); var v=u.getToolTip(); if(v!=null){this.setCurrent(v); }}, __ig:function(r){var u=r.getTarget(); if(!u){return; }var v=this.getCurrent(); if(v&&v==u.getToolTip()){this.setCurrent(null); }}}, destruct:function(){var o=qx.core.Init.getApplication().getRoot(); if(o){o.addListener(c, this.__id, this, true); o.addListener(f, this.__if, this, true); }this._disposeObjects(j, k); this._disposeFields(h); }}); })(); (function(){var a="qx.ui.layout.Grow"; qx.Class.define(a, {extend:qx.ui.layout.Abstract, members:{verifyLayoutProperty:null, renderLayout:function(b, c){var d=this._getLayoutChildren(); var e, f, g, h; for(var j=0, k=d.length;jf.maxWidth){g=f.maxWidth; }h=c; if(hf.maxHeight){h=f.maxHeight; }e.renderLayout(0, 0, g, h); }}, _computeSizeHint:function(){var d=this._getLayoutChildren(); var e, f; var m=0, n=0; for(var j=0, k=d.length;j0&&!this.getSelected()){this.setSelected(u[0]); }}, remove:function(s){if(s.getGroup()===this){qx.lang.Array.remove(this.__ih, s); s.resetGroup(); s.removeListener(c, this._onItemChangeChecked, this); if(s.getChecked()){this.resetSelected(); }}}, _onItemChangeChecked:function(y){var s=y.getTarget(); if(s.getChecked()){this.setSelected(s); }else if(this.getSelected()==s){this.resetSelected(); }}, _onChangeSelected:function(y){var s=y.getData(); var t=null; if(s){t=s.getValue(); if(t==null){t=s.getLabel(); }}this.fireDataEvent(b, t); }, _applySelected:function(t, z){if(z){z.setChecked(false); } if(t){t.setChecked(true); }var A=z?z.getValue():null; var B=t?t.getValue():null; if(A!=B){this.fireNonBubblingEvent(b, qx.event.type.Data, [B, A]); }}, _applyEnabled:function(t, z){var u=this.__ih; if(t==null){for(var v=0, w=u.length;v=this.getMaxConcurrentRequests()||this._queue.length==0){return; }if(this.getMaxTotalRequests()!=null&&this._totalRequests>=this.getMaxTotalRequests()){return; }var t=this._queue.shift(); var u=new qx.io.remote.Exchange(t); this._totalRequests++; this._active.push(u); this._debug(); u.addListener(b, t._onsending, t); u.addListener(q, t._onreceiving, t); u.addListener(f, t._oncompleted, t); u.addListener(g, t._onaborted, t); u.addListener(d, t._ontimeout, t); u.addListener(c, t._onfailed, t); u.addListener(b, this._onsending, this); u.addListener(f, this._oncompleted, this); u.addListener(g, this._oncompleted, this); u.addListener(d, this._oncompleted, this); u.addListener(c, this._oncompleted, this); u._start=(new Date).valueOf(); u.send(); if(this._queue.length>0){this._check(); }}, _remove:function(u){qx.lang.Array.remove(this._active, u); u.dispose(); this._check(); }, _activeCount:0, _onsending:function(v){{}; }, _oncompleted:function(v){{}; this._remove(v.getTarget()); }, _oninterval:function(v){var w=this._active; if(w.length==0){this._timer.stop(); return; }var x=(new Date).valueOf(); var u; var t; var y=this.getDefaultTimeout(); var z; var A; for(var B=w.length-1;B>=0;B--){u=w[B]; t=u.getRequest(); if(t.isAsynchronous()){z=t.getTimeout(); if(z==0){continue; } if(z==null){z=y; }A=x-u._start; if(A>z){this.warn("Timeout: transport "+u.toHashCode()); this.warn(A+"ms > "+z+"ms"); u.timeout(); }}}}, _applyEnabled:function(C, D){if(C){this._check(); }this._timer.setEnabled(C); }, add:function(t){t.setState(p); this._queue.push(t); this._check(); if(this.getEnabled()){this._timer.start(); }}, abort:function(t){var u=t.getTransport(); if(u){u.abort(); }else if(qx.lang.Array.contains(this._queue, t)){qx.lang.Array.remove(this._queue, t); }}}, destruct:function(){this._disposeArray(h); this._disposeObjects(o); this._disposeFields(j); }}); })(); (function(){var a="sending", b="completed", c="receiving", d="aborted", f="failed", g="timeout", h="qx.io.remote.Response", j="Connection dropped", k="configured", m="qx.event.type.Event", n="Proxy authentication required", o="qx.io.remote.transport.Abstract", p="MSHTML-specific HTTP status code", q="Not available", r="Precondition failed", s="Server error", t="Moved temporarily", u="qx.io.remote.Exchange", v="Bad gateway", w="Gone", x="See other", y="Partial content", z="Server timeout", A="qx.io.remote.transport.Script", B="HTTP version not supported", C="Unauthorized", D="Multiple choices", E="Payment required", F="Not implemented", G="Request-URL too large", H="Length required", I="_applyState", J="changeState", K="Not modified", L="qx.io.remote.Request", M="Connection closed by server", N="Moved permanently", O="_applyImplementation", P="Method not allowed", Q="Forbidden", R="Use proxy", S="Ok", T="Not found", U="Not acceptable", V="Request time-out", W="Bad request", X="Conflict", Y="No content", ba="qx.io.remote.transport.XmlHttp", bb="qx.io.remote.transport.Iframe", bc="Request entity too large", bd="Unknown status code", be="Unsupported media type", bf="Gateway time-out", bg="created", bh="Out of resources", bi="undefined"; qx.Class.define(u, {extend:qx.core.Object, construct:function(bj){arguments.callee.base.call(this); this.setRequest(bj); bj.setTransport(this); }, events:{"sending":m, "receiving":m, "completed":h, "aborted":h, "failed":h, "timeout":h}, statics:{typesOrder:[ba, bb, A], typesReady:false, typesAvailable:{}, typesSupported:{}, registerType:function(bk, bl){qx.io.remote.Exchange.typesAvailable[bl]=bk; }, initTypes:function(){if(qx.io.remote.Exchange.typesReady){return; } for(var bl in qx.io.remote.Exchange.typesAvailable){var bm=qx.io.remote.Exchange.typesAvailable[bl]; if(bm.isSupported()){qx.io.remote.Exchange.typesSupported[bl]=bm; }}qx.io.remote.Exchange.typesReady=true; if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error("No supported transport types were found!"); }}, canHandle:function(bn, bo, bp){if(!qx.lang.Array.contains(bn.handles.responseTypes, bp)){return false; } for(var bq in bo){if(!bn.handles[bq]){return false; }}return true; }, _nativeMap:{0:bg, 1:k, 2:a, 3:c, 4:b}, wasSuccessful:function(br, bs, bt){if(bt){switch(br){case null:case 0:return true; case -1:return bs<4; default:return typeof br===bi; }}else{switch(br){case -1:{}; return bs<4; case 200:case 304:return true; case 201:case 202:case 203:case 204:case 205:return true; case 206:{}; return bs!==4; case 300:case 301:case 302:case 303:case 305:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 500:case 501:case 502:case 503:case 504:case 505:{}; return false; case 12002:case 12007:case 12029:case 12030:case 12031:case 12152:case 13030:{}; return false; default:if(br>206&&br<300){return true; }qx.log.Logger.debug(this, "Unknown status code: "+br+" ("+bs+")"); return false; }}}, statusCodeToString:function(br){switch(br){case -1:return q; case 200:return S; case 304:return K; case 206:return y; case 204:return Y; case 300:return D; case 301:return N; case 302:return t; case 303:return x; case 305:return R; case 400:return W; case 401:return C; case 402:return E; case 403:return Q; case 404:return T; case 405:return P; case 406:return U; case 407:return n; case 408:return V; case 409:return X; case 410:return w; case 411:return H; case 412:return r; case 413:return bc; case 414:return G; case 415:return be; case 500:return s; case 501:return F; case 502:return v; case 503:return bh; case 504:return bf; case 505:return B; case 12002:return z; case 12029:return j; case 12030:return j; case 12031:return j; case 12152:return M; case 13030:return p; default:return bd; }}}, properties:{request:{check:L, nullable:true}, implementation:{check:o, nullable:true, apply:O}, state:{check:[k, a, c, b, d, g, f], init:k, event:J, apply:I}}, members:{send:function(){var bj=this.getRequest(); if(!bj){return this.error("Please attach a request object first"); }qx.io.remote.Exchange.initTypes(); var bu=qx.io.remote.Exchange.typesOrder; var bv=qx.io.remote.Exchange.typesSupported; var bp=bj.getResponseType(); var bo={}; if(bj.getAsynchronous()){bo.asynchronous=true; }else{bo.synchronous=true; } if(bj.getCrossDomain()){bo.crossDomain=true; } if(bj.getFileUpload()){bo.fileUpload=true; }for(var bw in bj.getFormFields()){bo.programaticFormFields=true; break; }var bx, by; for(var bz=0, bA=bu.length;bz0){O+=(O.indexOf(v)>=0?t:v)+R.join(t); }var V=function(W){var X=E; var Y=f; var ba, bb, bc; var bd, be, bf, bg; var U=0; do{ba=W.charCodeAt(U++); bb=W.charCodeAt(U++); bc=W.charCodeAt(U++); bd=ba>>2; be=((ba&3)<<4)|(bb>>4); bf=((bb&15)<<2)|(bc>>6); bg=bc&63; if(isNaN(bb)){bf=bg=64; }else if(isNaN(bc)){bg=64; }Y+=X.charAt(bd)+X.charAt(be)+X.charAt(bf)+X.charAt(bg); }while(U/, f); bx.loadXML(by); }if(!bx.documentElement){throw new Error("Missing Document Element!"); } if(bx.documentElement.tagName==H){throw new Error("XML-File is not well-formed!"); }}else{throw new Error("Response was not a valid xml document ["+this.getRequest().responseText+"]"); }return bx; }, getFetchedLength:function(){var bz=this.getResponseText(); return typeof bz==B?bz.length:0; }, getResponseContent:function(){if(this.getState()!==b){{}; return null; }{}; var bz=this.getResponseText(); switch(this.getResponseType()){case p:case m:{}; return bz; case k:{}; try{if(bz&&bz.length>0){return qx.util.Json.parseQx(bz)||null; }else{return null; }}catch(ex){this.error("Could not execute json: ["+bz+"]", ex); return D+bz+A; }case q:{}; try{if(bz&&bz.length>0){return window.eval(bz)||null; }else{return null; }}catch(ex){this.error("Could not execute javascript: ["+bz+"]", ex); return null; }case h:bz=this.getResponseXml(); {}; return bz||null; default:this.warn("No valid responseType specified ("+this.getResponseType()+")!"); return null; }}, _applyState:function(T, bA){{}; switch(T){case x:this.fireEvent(x); break; case u:this.fireEvent(u); break; case r:this.fireEvent(r); break; case o:this.fireEvent(o); break; case b:this.fireEvent(b); break; case c:this.fireEvent(c); break; case d:this.getRequest().abort(); this.fireEvent(d); break; case g:this.getRequest().abort(); this.fireEvent(g); break; }}}, defer:function(bB, bC){qx.io.remote.Exchange.registerType(qx.io.remote.transport.XmlHttp, j); }, destruct:function(){var L=this.getRequest(); if(L){L.onreadystatechange=qx.io.remote.transport.XmlHttp.__ij; switch(L.readyState){case 1:case 2:case 3:L.abort(); }}this._disposeFields(G); }}); })(); (function(){var a="qx.client", b="", c="mshtml", d='\n<', e="MSXML2.DOMDocument.3.0", f="qx.xml.Document", g=" />", h="SelectionLanguage", j="'", k="MSXML2.XMLHTTP.3.0", m="MSXML2.XMLHTTP.6.0", n=" xmlns='", o="text/xml", p="XPath", q="MSXML2.DOMDocument.6.0"; qx.Bootstrap.define(f, {statics:{DOMDOC:null, XMLHTTP:null, create:qx.core.Variant.select(a, {"mshtml":function(r, s){var t=new ActiveXObject(this.DOMDOC); t.setProperty(h, p); if(s){var u=d; u+=s; if(r){u+=n+r+j; }u+=g; t.loadXML(u); }return t; }, "default":function(r, s){return document.implementation.createDocument(r||b, s||b, null); }}), fromString:qx.core.Variant.select(a, {"mshtml":function(u){var v=qx.xml.Document.create(); v.loadXML(u); return v; }, "default":function(u){var w=new DOMParser(); return w.parseFromString(u, o); }})}, defer:function(x){if(qx.core.Variant.isSet(a, c)){var y=[q, e]; var z=[m, k]; for(var A=0, B=y.length;A0)?eval(u+bd+I):null; return V; }}, settings:{"qx.jsonEncodeUndefined":true, "qx.jsonDebugging":false}}); })(); (function(){var a="application/xml", b="application/json", c="text/html", d="qx.client", f="textarea", g="none", h="text/plain", j="text/javascript", k="", l="completed", m="?", n="qx.io.remote.transport.Iframe", o="&", p="=", q="gecko", r="frame_", s="__iy", t="aborted", u="_data_", v="pre", w="javascript:void(0)", x="sending", y="__iz", z="form", A="failed", B='