mrtg/htdocs/js/q-4.1.min.js
2016-02-10 12:53:09 +01:00

33 lines
430 KiB
JavaScript

/** qooxdoo v4.1 | (c) 2013 1&1 Internet AG, http://1und1.de | http://qooxdoo.org/license */
(function(){
if (!window.qx) window.qx = {};
var qx = window.qx;
if (!qx.$$environment) qx.$$environment = {};
var envinfo = {"json":true,"qx.application":"library.Application","qx.debug":false,"qx.debug.databinding":false,"qx.debug.dispose":false,"qx.debug.io":false,"qx.debug.ui.queue":false,"qx.globalErrorHandling":false,"qx.optimization.basecalls":true,"qx.optimization.comments":true,"qx.optimization.statics":true,"qx.optimization.strings":true,"qx.optimization.variables":true,"qx.optimization.variants":true,"qx.optimization.whitespace":true,"qx.revision":"","qx.theme":"qx.theme.Modern","qx.version":"4.1"};
for (var k in envinfo) qx.$$environment[k] = envinfo[k];
qx.$$packageData = {};
/** qooxdoo v4.1 | (c) 2013 1&1 Internet AG, http://1und1.de | http://qooxdoo.org/license */
qx.$$packageData['0']={"locales":{},"resources":{},"translations":{"C":{},"en":{}}};
(function(){var b=".prototype",c="function",d="Boolean",e="Error",f="Object.keys requires an object as argument.",g="constructor",h="warn",j="default",k="Null",m="hasOwnProperty",n="Undefined",o="string",p="Object",q="toLocaleString",r="error",s="toString",t="qx.debug",u="()",v="RegExp",w="String",x="info",y="BROKEN_IE",z="isPrototypeOf",A="Date",B="",C="qx.Bootstrap",D="Function",E="]",F="Cannot call super class. Method is not derived: ",G="Array",H="[Class ",I="valueOf",J="Number",K="Class",L="debug",M="ES5",N=".",O="propertyIsEnumerable",P="object";if(!window.qx){window.qx={};};qx.Bootstrap={genericToString:function(){return H+this.classname+E;},createNamespace:function(name,Q){var T=name.split(N);var S=T[0];var parent=qx.$$namespaceRoot&&qx.$$namespaceRoot[S]?qx.$$namespaceRoot:window;for(var i=0,R=T.length-1;i<R;i++ ,S=T[i]){if(!parent[S]){parent=parent[S]={};}else {parent=parent[S];};};parent[S]=Q;return S;},setDisplayName:function(V,U,name){V.displayName=U+N+name+u;},setDisplayNames:function(X,W){for(var name in X){var Y=X[name];if(Y instanceof Function){Y.displayName=W+N+name+u;};};},base:function(ba,bb){if(qx.Bootstrap.DEBUG){if(!qx.Bootstrap.isFunction(ba.callee.base)){throw new Error(F+ba.callee.displayName);};};if(arguments.length===1){return ba.callee.base.call(this);}else {return ba.callee.base.apply(this,Array.prototype.slice.call(arguments,1));};},define:function(name,bm){if(!bm){bm={statics:{}};};var bi;var be=null;qx.Bootstrap.setDisplayNames(bm.statics,name);if(bm.members||bm.extend){qx.Bootstrap.setDisplayNames(bm.members,name+b);bi=bm.construct||new Function;if(bm.extend){this.extendClass(bi,bi,bm.extend,name,bg);};var bd=bm.statics||{};for(var i=0,bf=qx.Bootstrap.keys(bd),l=bf.length;i<l;i++ ){var bc=bf[i];bi[bc]=bd[bc];};be=bi.prototype;be.base=qx.Bootstrap.base;be.name=be.classname=name;var bk=bm.members||{};var bc,bj;for(var i=0,bf=qx.Bootstrap.keys(bk),l=bf.length;i<l;i++ ){bc=bf[i];bj=bk[bc];if(bj instanceof Function&&be[bc]){bj.base=be[bc];};be[bc]=bj;};}else {bi=bm.statics||{};if(qx.Bootstrap.$$registry&&qx.Bootstrap.$$registry[name]){var bl=qx.Bootstrap.$$registry[name];if(this.keys(bi).length!==0){if(bm.defer){bm.defer(bi,be);};for(var bh in bi){bl[bh]=bi[bh];};return bl;};};};bi.$$type=K;if(!bi.hasOwnProperty(s)){bi.toString=this.genericToString;};var bg=name?this.createNamespace(name,bi):B;bi.name=bi.classname=name;bi.basename=bg;bi.$$events=bm.events;if(bm.defer){bm.defer(bi,be);};if(name!=null){qx.Bootstrap.$$registry[name]=bi;};return bi;}};qx.Bootstrap.define(C,{statics:{DEBUG:(function(){var bn=true;if(qx.$$environment&&qx.$$environment[t]===false){bn=false;};return bn;})(),createNamespace:qx.Bootstrap.createNamespace,base:qx.Bootstrap.base,define:qx.Bootstrap.define,setDisplayName:qx.Bootstrap.setDisplayName,setDisplayNames:qx.Bootstrap.setDisplayNames,genericToString:qx.Bootstrap.genericToString,extendClass:function(clazz,construct,superClass,name,basename){var superproto=superClass.prototype;var helper=new Function();helper.prototype=superproto;var proto=new helper();clazz.prototype=proto;proto.name=proto.classname=name;proto.basename=basename;construct.base=superClass;clazz.superclass=superClass;construct.self=clazz.constructor=proto.constructor=clazz;},getByName:function(name){return qx.Bootstrap.$$registry[name];},$$registry:{},objectMergeWith:function(bp,bo,br){if(br===undefined){br=true;};for(var bq in bo){if(br||bp[bq]===undefined){bp[bq]=bo[bq];};};return bp;},__shadowedKeys:[z,m,q,s,I,O,g],keys:({"ES5":Object.keys,"BROKEN_IE":function(bs){if(bs===null||(typeof bs!=P&&typeof bs!=c)){throw new TypeError(f);};var bt=[];var bv=Object.prototype.hasOwnProperty;for(var bw in bs){if(bv.call(bs,bw)){bt.push(bw);};};var bu=qx.Bootstrap.__shadowedKeys;for(var i=0,a=bu,l=a.length;i<l;i++ ){if(bv.call(bs,a[i])){bt.push(a[i]);};};return bt;},"default":function(bx){if(bx===null||(typeof bx!=P&&typeof bx!=c)){throw new TypeError(f);};var by=[];var bz=Object.prototype.hasOwnProperty;for(var bA in bx){if(bz.call(bx,bA)){by.push(bA);};};return by;}})[typeof (Object.keys)==c?M:(function(){for(var bB in {toString:1}){return bB;};})()!==s?y:j],__classToTypeMap:{"[object String]":w,"[object Array]":G,"[object Object]":p,"[object RegExp]":v,"[object Number]":J,"[object Boolean]":d,"[object Date]":A,"[object Function]":D,"[object Error]":e},bind:function(bD,self,bE){var bC=Array.prototype.slice.call(arguments,2,arguments.length);return function(){var bF=Array.prototype.slice.call(arguments,0,arguments.length);return bD.apply(self,bC.concat(bF));};},firstUp:function(bG){return bG.charAt(0).toUpperCase()+bG.substr(1);},firstLow:function(bH){return bH.charAt(0).toLowerCase()+bH.substr(1);},getClass:function(bJ){if(bJ===undefined){return n;}else if(bJ===null){return k;};var bI=Object.prototype.toString.call(bJ);return (qx.Bootstrap.__classToTypeMap[bI]||bI.slice(8,-1));},isString:function(bK){return (bK!==null&&(typeof bK===o||qx.Bootstrap.getClass(bK)==w||bK instanceof String||(!!bK&&!!bK.$$isString)));},isArray:function(bL){return (bL!==null&&(bL instanceof Array||(bL&&qx.data&&qx.data.IListData&&qx.util.OOUtil.hasInterface(bL.constructor,qx.data.IListData))||qx.Bootstrap.getClass(bL)==G||(!!bL&&!!bL.$$isArray)));},isObject:function(bM){return (bM!==undefined&&bM!==null&&qx.Bootstrap.getClass(bM)==p);},isFunction:function(bN){return qx.Bootstrap.getClass(bN)==D;},$$logs:[],debug:function(bP,bO){qx.Bootstrap.$$logs.push([L,arguments]);},info:function(bR,bQ){qx.Bootstrap.$$logs.push([x,arguments]);},warn:function(bT,bS){qx.Bootstrap.$$logs.push([h,arguments]);},error:function(bV,bU){qx.Bootstrap.$$logs.push([r,arguments]);},trace:function(bW){}}});})();(function(){var a="qx.util.OOUtil";qx.Bootstrap.define(a,{statics:{getByInterface:function(d,b){var c,i,l;while(d){if(d.$$implements){c=d.$$flatImplements;for(i=0,l=c.length;i<l;i++ ){if(c[i]===b){return d;};};};d=d.superclass;};return null;},hasInterface:function(f,e){return !!qx.util.OOUtil.getByInterface(f,e);}}});})();(function(){var a="qx.core.Environment",b="default",c=' type)',d="&",e="qx/static/blank.html",f="true",g="|",h="qx.core.Environment for a list of predefined keys.",j="false",k='] found, and no default ("default") given',l=":",m='" (',n=' in variants [',o=".",p="qx.allowUrlSettings",q='No match for variant "',r=" is not a valid key. Please see the API-doc of ",s="qxenv";qx.Bootstrap.define(a,{statics:{_checks:{},_asyncChecks:{},__cache:{},_checksMap:{},_defaults:{"true":true,"qx.allowUrlSettings":false,"qx.allowUrlVariants":false,"qx.debug.property.level":0,"qx.debug":true,"qx.debug.ui.queue":true,"qx.aspects":false,"qx.dynlocale":true,"qx.dyntheme":true,"qx.blankpage":e,"qx.debug.databinding":false,"qx.debug.dispose":false,"qx.optimization.basecalls":false,"qx.optimization.comments":false,"qx.optimization.privates":false,"qx.optimization.strings":false,"qx.optimization.variables":false,"qx.optimization.variants":false,"module.databinding":true,"module.logger":true,"module.property":true,"module.events":true,"qx.nativeScrollBars":false},get:function(w){if(this.__cache[w]!=undefined){return this.__cache[w];};var y=this._checks[w];if(y){var u=y();this.__cache[w]=u;return u;};var t=this._getClassNameFromEnvKey(w);if(t[0]!=undefined){var x=t[0];var v=t[1];var u=x[v]();this.__cache[w]=u;return u;};if(qx.Bootstrap.DEBUG){qx.Bootstrap.warn(w+r+h);qx.Bootstrap.trace(this);};},_getClassNameFromEnvKey:function(D){var F=this._checksMap;if(F[D]!=undefined){var A=F[D];var E=A.lastIndexOf(o);if(E>-1){var C=A.slice(0,E);var z=A.slice(E+1);var B=qx.Bootstrap.getByName(C);if(B!=undefined){return [B,z];};};};return [undefined,undefined];},select:function(H,G){return this.__pickFromValues(this.get(H),G);},__pickFromValues:function(L,K){var J=K[L];if(K.hasOwnProperty(L)){return J;};for(var M in K){if(M.indexOf(g)!=-1){var I=M.split(g);for(var i=0;i<I.length;i++ ){if(I[i]==L){return K[M];};};};};if(K[b]!==undefined){return K[b];};if(qx.Bootstrap.DEBUG){throw new Error(q+L+m+(typeof L)+c+n+qx.Bootstrap.keys(K)+k);};},add:function(O,N){if(this._checks[O]==undefined){if(N instanceof Function){if(!this._checksMap[O]&&N.displayName){this._checksMap[O]=N.displayName.substr(0,N.displayName.length-2);};this._checks[O]=N;}else {this._checks[O]=this.__createCheck(N);};};},addAsync:function(Q,P){if(this._checks[Q]==undefined){this._asyncChecks[Q]=P;};},_initDefaultQxValues:function(){var R=function(T){return function(){return T;};};for(var S in this._defaults){this.add(S,R(this._defaults[S]));};},__importFromGenerator:function(){if(qx&&qx.$$environment){for(var U in qx.$$environment){var V=qx.$$environment[U];this._checks[U]=this.__createCheck(V);};};},__importFromUrl:function(){if(window.document&&window.document.location){var W=window.document.location.search.slice(1).split(d);for(var i=0;i<W.length;i++ ){var ba=W[i].split(l);if(ba.length!=3||ba[0]!=s){continue;};var X=ba[1];var Y=decodeURIComponent(ba[2]);if(Y==f){Y=true;}else if(Y==j){Y=false;}else if(/^(\d|\.)+$/.test(Y)){Y=parseFloat(Y);};this._checks[X]=this.__createCheck(Y);};};},__createCheck:function(bb){return qx.Bootstrap.bind(function(bc){return bc;},null,bb);}},defer:function(bd){bd._initDefaultQxValues();bd.__importFromGenerator();if(bd.get(p)===true){bd.__importFromUrl();};}});})();(function(){var a="[object Opera]",b="function",c="[^\\.0-9]",d="4.0",e="gecko",f="1.9.0.0",g="Version/",h="9.0",i="8.0",j="Gecko",k="Maple",l="AppleWebKit/",m="Trident",n="Unsupported client: ",o="",p="opera",q="engine.version",r="! Assumed gecko version 1.9.0.0 (Firefox 3.0).",s="mshtml",t="engine.name",u="webkit",v="5.0",w=".",x="qx.bom.client.Engine";qx.Bootstrap.define(x,{statics:{getVersion:function(){var A=window.navigator.userAgent;var B=o;if(qx.bom.client.Engine.__isOpera()){if(/Opera[\s\/]([0-9]+)\.([0-9])([0-9]*)/.test(A)){if(A.indexOf(g)!=-1){var D=A.match(/Version\/(\d+)\.(\d+)/);B=D[1]+w+D[2].charAt(0)+w+D[2].substring(1,D[2].length);}else {B=RegExp.$1+w+RegExp.$2;if(RegExp.$3!=o){B+=w+RegExp.$3;};};};}else if(qx.bom.client.Engine.__isWebkit()){if(/AppleWebKit\/([^ ]+)/.test(A)){B=RegExp.$1;var C=RegExp(c).exec(B);if(C){B=B.slice(0,C.index);};};}else if(qx.bom.client.Engine.__isGecko()||qx.bom.client.Engine.__isMaple()){if(/rv\:([^\);]+)(\)|;)/.test(A)){B=RegExp.$1;};}else if(qx.bom.client.Engine.__isMshtml()){var z=/Trident\/([^\);]+)(\)|;)/.test(A);if(/MSIE\s+([^\);]+)(\)|;)/.test(A)){B=RegExp.$1;if(B<8&&z){if(RegExp.$1==d){B=i;}else if(RegExp.$1==v){B=h;};};}else if(z){var D=/\brv\:(\d+?\.\d+?)\b/.exec(A);if(D){B=D[1];};};}else {var y=window.qxFail;if(y&&typeof y===b){B=y().FULLVERSION;}else {B=f;qx.Bootstrap.warn(n+A+r);};};return B;},getName:function(){var name;if(qx.bom.client.Engine.__isOpera()){name=p;}else if(qx.bom.client.Engine.__isWebkit()){name=u;}else if(qx.bom.client.Engine.__isGecko()||qx.bom.client.Engine.__isMaple()){name=e;}else if(qx.bom.client.Engine.__isMshtml()){name=s;}else {var E=window.qxFail;if(E&&typeof E===b){name=E().NAME;}else {name=e;qx.Bootstrap.warn(n+window.navigator.userAgent+r);};};return name;},__isOpera:function(){return window.opera&&Object.prototype.toString.call(window.opera)==a;},__isWebkit:function(){return window.navigator.userAgent.indexOf(l)!=-1;},__isMaple:function(){return window.navigator.userAgent.indexOf(k)!=-1;},__isGecko:function(){return window.navigator.mozApps&&window.navigator.product===j&&window.navigator.userAgent.indexOf(k)==-1&&window.navigator.userAgent.indexOf(m)==-1;},__isMshtml:function(){return window.navigator.cpuClass&&(/MSIE\s+([^\);]+)(\)|;)/.test(window.navigator.userAgent)||/Trident\/\d+?\.\d+?/.test(window.navigator.userAgent));}},defer:function(F){qx.core.Environment.add(q,F.getVersion);qx.core.Environment.add(t,F.getName);}});})();(function(){var a="ecmascript.array.lastindexof",b="function",c="stack",d="ecmascript.array.map",f="ecmascript.date.now",g="ecmascript.array.reduce",h="e",i="qx.bom.client.EcmaScript",j="ecmascript.object.keys",k="ecmascript.error.stacktrace",l="ecmascript.string.trim",m="ecmascript.array.indexof",n="stacktrace",o="ecmascript.error.toString",p="[object Error]",q="ecmascript.array.foreach",r="ecmascript.function.bind",s="ecmascript.array.reduceright",t="ecmascript.array.some",u="ecmascript.array.filter",v="ecmascript.array.every";qx.Bootstrap.define(i,{statics:{getStackTrace:function(){var w;var e=new Error(h);w=e.stack?c:e.stacktrace?n:null;if(!w){try{throw e;}catch(x){e=x;};};return e.stacktrace?n:e.stack?c:null;},getArrayIndexOf:function(){return !!Array.prototype.indexOf;},getArrayLastIndexOf:function(){return !!Array.prototype.lastIndexOf;},getArrayForEach:function(){return !!Array.prototype.forEach;},getArrayFilter:function(){return !!Array.prototype.filter;},getArrayMap:function(){return !!Array.prototype.map;},getArraySome:function(){return !!Array.prototype.some;},getArrayEvery:function(){return !!Array.prototype.every;},getArrayReduce:function(){return !!Array.prototype.reduce;},getArrayReduceRight:function(){return !!Array.prototype.reduceRight;},getErrorToString:function(){return typeof Error.prototype.toString==b&&Error.prototype.toString()!==p;},getFunctionBind:function(){return typeof Function.prototype.bind===b;},getObjectKeys:function(){return !!Object.keys;},getDateNow:function(){return !!Date.now;},getStringTrim:function(){return typeof String.prototype.trim===b;}},defer:function(y){qx.core.Environment.add(m,y.getArrayIndexOf);qx.core.Environment.add(a,y.getArrayLastIndexOf);qx.core.Environment.add(q,y.getArrayForEach);qx.core.Environment.add(u,y.getArrayFilter);qx.core.Environment.add(d,y.getArrayMap);qx.core.Environment.add(t,y.getArraySome);qx.core.Environment.add(v,y.getArrayEvery);qx.core.Environment.add(g,y.getArrayReduce);qx.core.Environment.add(s,y.getArrayReduceRight);qx.core.Environment.add(f,y.getDateNow);qx.core.Environment.add(o,y.getErrorToString);qx.core.Environment.add(k,y.getStackTrace);qx.core.Environment.add(r,y.getFunctionBind);qx.core.Environment.add(j,y.getObjectKeys);qx.core.Environment.add(l,y.getStringTrim);}});})();(function(){var a="function",b="ecmascript.array.lastindexof",c="ecmascript.array.map",d="ecmascript.array.filter",e="Length is 0 and no second argument given",f="qx.lang.normalize.Array",g="ecmascript.array.indexof",h="First argument is not callable",j="ecmascript.array.reduce",k="ecmascript.array.foreach",m="ecmascript.array.reduceright",n="ecmascript.array.some",o="ecmascript.array.every";qx.Bootstrap.define(f,{statics:{indexOf:function(p,q){if(q==null){q=0;}else if(q<0){q=Math.max(0,this.length+q);};for(var i=q;i<this.length;i++ ){if(this[i]===p){return i;};};return -1;},lastIndexOf:function(r,s){if(s==null){s=this.length-1;}else if(s<0){s=Math.max(0,this.length+s);};for(var i=s;i>=0;i-- ){if(this[i]===r){return i;};};return -1;},forEach:function(t,u){var l=this.length;for(var i=0;i<l;i++ ){var v=this[i];if(v!==undefined){t.call(u||window,v,i,this);};};},filter:function(z,w){var x=[];var l=this.length;for(var i=0;i<l;i++ ){var y=this[i];if(y!==undefined){if(z.call(w||window,y,i,this)){x.push(this[i]);};};};return x;},map:function(D,A){var B=[];var l=this.length;for(var i=0;i<l;i++ ){var C=this[i];if(C!==undefined){B[i]=D.call(A||window,C,i,this);};};return B;},some:function(E,F){var l=this.length;for(var i=0;i<l;i++ ){var G=this[i];if(G!==undefined){if(E.call(F||window,G,i,this)){return true;};};};return false;},every:function(H,I){var l=this.length;for(var i=0;i<l;i++ ){var J=this[i];if(J!==undefined){if(!H.call(I||window,J,i,this)){return false;};};};return true;},reduce:function(K,L){if(typeof K!==a){throw new TypeError(h);};if(L===undefined&&this.length===0){throw new TypeError(e);};var M=L===undefined?this[0]:L;for(var i=L===undefined?1:0;i<this.length;i++ ){if(i in this){M=K.call(undefined,M,this[i],i,this);};};return M;},reduceRight:function(N,O){if(typeof N!==a){throw new TypeError(h);};if(O===undefined&&this.length===0){throw new TypeError(e);};var P=O===undefined?this[this.length-1]:O;for(var i=O===undefined?this.length-2:this.length-1;i>=0;i-- ){if(i in this){P=N.call(undefined,P,this[i],i,this);};};return P;}},defer:function(Q){if(!qx.core.Environment.get(g)){Array.prototype.indexOf=Q.indexOf;};if(!qx.core.Environment.get(b)){Array.prototype.lastIndexOf=Q.lastIndexOf;};if(!qx.core.Environment.get(k)){Array.prototype.forEach=Q.forEach;};if(!qx.core.Environment.get(d)){Array.prototype.filter=Q.filter;};if(!qx.core.Environment.get(c)){Array.prototype.map=Q.map;};if(!qx.core.Environment.get(n)){Array.prototype.some=Q.some;};if(!qx.core.Environment.get(o)){Array.prototype.every=Q.every;};if(!qx.core.Environment.get(j)){Array.prototype.reduce=Q.reduce;};if(!qx.core.Environment.get(m)){Array.prototype.reduceRight=Q.reduceRight;};}});})();(function(){var a="mshtml",b="engine.name",c="pop.push.reverse.shift.sort.splice.unshift.join.slice",d="number",e="qx.type.BaseArray",f=".";qx.Bootstrap.define(e,{extend:Array,construct:function(g){},members:{toArray:null,valueOf:null,pop:null,push:null,reverse:null,shift:null,sort:null,splice:null,unshift:null,concat:null,join:null,slice:null,toString:null,indexOf:null,lastIndexOf:null,forEach:null,filter:null,map:null,some:null,every:null}});(function(){function h(p){if((qx.core.Environment.get(b)==a)){j.prototype={length:0,$$isArray:true};var n=c.split(f);for(var length=n.length;length;){j.prototype[n[ --length]]=Array.prototype[n[length]];};};var m=Array.prototype.slice;j.prototype.concat=function(){var r=this.slice(0);for(var i=0,length=arguments.length;i<length;i++ ){var q;if(arguments[i] instanceof j){q=m.call(arguments[i],0);}else if(arguments[i] instanceof Array){q=arguments[i];}else {q=[arguments[i]];};r.push.apply(r,q);};return r;};j.prototype.toString=function(){return m.call(this,0).toString();};j.prototype.toLocaleString=function(){return m.call(this,0).toLocaleString();};j.prototype.constructor=j;j.prototype.indexOf=Array.prototype.indexOf;j.prototype.lastIndexOf=Array.prototype.lastIndexOf;j.prototype.forEach=Array.prototype.forEach;j.prototype.some=Array.prototype.some;j.prototype.every=Array.prototype.every;var o=Array.prototype.filter;var l=Array.prototype.map;j.prototype.filter=function(){var s=new this.constructor;s.push.apply(s,o.apply(this,arguments));return s;};j.prototype.map=function(){var t=new this.constructor;t.push.apply(t,l.apply(this,arguments));return t;};j.prototype.slice=function(){var u=new this.constructor;u.push.apply(u,Array.prototype.slice.apply(this,arguments));return u;};j.prototype.splice=function(){var v=new this.constructor;v.push.apply(v,Array.prototype.splice.apply(this,arguments));return v;};j.prototype.toArray=function(){return Array.prototype.slice.call(this,0);};j.prototype.valueOf=function(){return this.length;};return j;};function j(length){if(arguments.length===1&&typeof length===d){this.length=-1<length&&length===length>>.5?length:this.push(length);}else if(arguments.length){this.push.apply(this,arguments);};};function k(){};k.prototype=[];j.prototype=new k;j.prototype.length=0;qx.type.BaseArray=h(j);})();})();(function(){var a="qxWeb",b="data-qx-class";qx.Bootstrap.define(a,{extend:qx.type.BaseArray,statics:{__init:[],$$qx:qx,$init:function(g,e){var f=[];for(var i=0;i<g.length;i++ ){var d=!!(g[i]&&(g[i].nodeType===1||g[i].nodeType===9||g[i].nodeType===11));if(d){f.push(g[i]);continue;};var c=!!(g[i]&&g[i].history&&g[i].location&&g[i].document);if(c){f.push(g[i]);};};if(g[0]&&g[0].getAttribute&&g[0].getAttribute(b)){e=qx.Bootstrap.getByName(g[0].getAttribute(b))||e;};var h=qx.lang.Array.cast(f,e);for(var i=0;i<qxWeb.__init.length;i++ ){qxWeb.__init[i].call(h);};return h;},$attach:function(k,j){for(var name in k){if(qxWeb.prototype[name]!=undefined&&Array.prototype[name]==undefined&&j!==true){{};}else {qxWeb.prototype[name]=k[name];};};},$attachStatic:function(n,m){for(var name in n){{};qxWeb[name]=n[name];};},$attachInit:function(o){this.__init.push(o);},define:function(name,p){if(p==undefined){p=name;name=null;};return qx.Bootstrap.define.call(qx.Bootstrap,name,p);}},construct:function(s,r){if(!s&&this instanceof qxWeb){return this;};if(!s){s=[];}else if(qx.Bootstrap.isString(s)){if(r instanceof qxWeb){r=r[0];};s=qx.bom.Selector.query(s,r);}else if((s.nodeType===1||s.nodeType===9||s.nodeType===11)||(s.history&&s.location&&s.document)){s=[s];};return qxWeb.$init(s,qxWeb);},members:{filter:function(t){if(qx.lang.Type.isFunction(t)){return qxWeb.$init(Array.prototype.filter.call(this,t),this.constructor);};return qxWeb.$init(qx.bom.Selector.matches(t,this),this.constructor);},unique:function(){var u=qx.lang.Array.unique(this);return qxWeb.$init(u,this.constructor);},slice:function(v,w){if(w!==undefined){return qxWeb.$init(Array.prototype.slice.call(this,v,w),this.constructor);};return qxWeb.$init(Array.prototype.slice.call(this,v),this.constructor);},splice:function(x,y,z){return qxWeb.$init(Array.prototype.splice.apply(this,arguments),this.constructor);},map:function(A,B){return qxWeb.$init(Array.prototype.map.apply(this,arguments),qxWeb);},concat:function(D){var C=Array.prototype.slice.call(this,0);for(var i=0;i<arguments.length;i++ ){if(arguments[i] instanceof qxWeb){C=C.concat(Array.prototype.slice.call(arguments[i],0));}else {C.push(arguments[i]);};};return qxWeb.$init(C,this.constructor);},indexOf:function(E){if(!E){return -1;};if(qx.Bootstrap.isArray(E)){E=E[0];};for(var i=0,l=this.length;i<l;i++ ){if(this[i]===E){return i;};};return -1;},debug:function(){{};return this;},logThis:function(){{var F,length;};return this;},_forEachElement:function(H,G){for(var i=0,l=this.length;i<l;i++ ){if(this[i]&&(this[i].nodeType===1||this[i].nodeType===11)){H.apply(G||this,[this[i],i,this]);};};return this;},_forEachElementWrapped:function(J,I){this._forEachElement(function(K,M,L){J.apply(this,[qxWeb(K),M,L]);},I);return this;}},defer:function(N){if(window.q==undefined){q=N;};}});})();(function(){var a="qx.lang.normalize.Date",b="ecmascript.date.now";qx.Bootstrap.define(a,{statics:{now:function(){return +new Date();}},defer:function(c){if(!qx.core.Environment.get(b)){Date.now=c.now;};}});})();(function(){var a="mshtml",b="engine.name",c="[object Array]",d="qx.lang.Array",e="Cannot clean-up map entry doneObjects[",f="]",g="qx",h="number",j="][",k="string";qx.Bootstrap.define(d,{statics:{cast:function(m,o,p){if(m.constructor===o){return m;};if(qx.data&&qx.data.IListData){if(qx.Class&&qx.Class.hasInterface(m,qx.data.IListData)){var m=m.toArray();};};var n=new o;if((qx.core.Environment.get(b)==a)){if(m.item){for(var i=p||0,l=m.length;i<l;i++ ){n.push(m[i]);};return n;};};if(Object.prototype.toString.call(m)===c&&p==null){n.push.apply(n,m);}else {n.push.apply(n,Array.prototype.slice.call(m,p||0));};return n;},fromArguments:function(q,r){return Array.prototype.slice.call(q,r||0);},fromCollection:function(t){if((qx.core.Environment.get(b)==a)){if(t.item){var s=[];for(var i=0,l=t.length;i<l;i++ ){s[i]=t[i];};return s;};};return Array.prototype.slice.call(t,0);},insertBefore:function(u,w,v){var i=u.indexOf(v);if(i==-1){u.push(w);}else {u.splice(i,0,w);};return u;},insertAfter:function(x,z,y){var i=x.indexOf(y);if(i==-1||i==(x.length-1)){x.push(z);}else {x.splice(i+1,0,z);};return x;},removeAll:function(A){A.length=0;return this;},exclude:function(D,C){{};for(var i=0,E=C.length,B;i<E;i++ ){B=D.indexOf(C[i]);if(B!=-1){D.splice(B,1);};};return D;},remove:function(F,G){var i=F.indexOf(G);if(i!=-1){F.splice(i,1);return G;};},contains:function(H,I){return H.indexOf(I)!==-1;},equals:function(K,J){var length=K.length;if(length!==J.length){return false;};for(var i=0;i<length;i++ ){if(K[i]!==J[i]){return false;};};return true;},sum:function(L){var M=0;for(var i=0,l=L.length;i<l;i++ ){if(L[i]!=undefined){M+=L[i];};};return M;},max:function(N){{};var i,P=N.length,O=N[0];for(i=1;i<P;i++ ){if(N[i]>O){O=N[i];};};return O===undefined?null:O;},min:function(Q){{};var i,S=Q.length,R=Q[0];for(i=1;i<S;i++ ){if(Q[i]<R){R=Q[i];};};return R===undefined?null:R;},unique:function(V){var bg=[],U={},Y={},bb={};var ba,T=0;var be=g+Date.now();var W=false,bc=false,bf=false;for(var i=0,bd=V.length;i<bd;i++ ){ba=V[i];if(ba===null){if(!W){W=true;bg.push(ba);};}else if(ba===undefined){}else if(ba===false){if(!bc){bc=true;bg.push(ba);};}else if(ba===true){if(!bf){bf=true;bg.push(ba);};}else if(typeof ba===k){if(!U[ba]){U[ba]=1;bg.push(ba);};}else if(typeof ba===h){if(!Y[ba]){Y[ba]=1;bg.push(ba);};}else {var X=ba[be];if(X==null){X=ba[be]=T++ ;};if(!bb[X]){bb[X]=ba;bg.push(ba);};};};for(var X in bb){try{delete bb[X][be];}catch(bh){try{bb[X][be]=null;}catch(bi){throw new Error(e+X+j+be+f);};};};return bg;},range:function(bl,stop,bm){if(arguments.length<=1){stop=bl||0;bl=0;};bm=arguments[2]||1;var length=Math.max(Math.ceil((stop-bl)/bm),0);var bj=0;var bk=Array(length);while(bj<length){bk[bj++ ]=bl;bl+=bm;};return bk;}}});})();(function(){var c="-",d="(^|",f="'] ",g="CLASS",h=":disabled",k="div",l="input",n="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",o="nth",p="*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(",q="type|href|height|width",r=")*)|.*)\\)|)",s="disabled",t="*(?:value|",u="~=",v="previousSibling",w="*(even|odd|(([+-]|)(\\d*)n|)",x="xml:lang",y="only",z="*",A="unsupported lang: ",B="+|((?:^|[^\\\\])(?:\\\\.)*)",C="i",D="\\\\([\\da-f]{1,6}",E="='$1']",F="w#",G="^=",H="*([>+~]|",I="[t^='']",J="*\\)|)",K="+$",L="=",M="unload",N="id",O="text",P="needsContext",Q="nextSibling",R="$=",S="[s!='']:x",T="string",U=")|.)",V="[\\x20\\t\\r\\n\\f]",W="[name=d]",X="*(?:([+-]|)",Y="*((?:-\\d)?\\d*)",cL="#",cM="[selected]",cN="type",cH="ig",cI="parentNode",cJ="href",cK="0x",cS="(",cT="w",cY="even",cU="<div class='a'></div><div class='a i'></div>",cO="g",cP="*\\]",cQ="*\\)|)(?=[^-]|$)",cR="unsupported pseudo: ",dC="w*",eo="*[*^$|!~]?=",da="<select t=''><option selected=''></option></select>",cV=" ",cW="hidden",el="*(?:([*^$|!~]?=)",cX="*,",db="function",dc="^",dd=")",di=")|)|)",dj=":(",dk="onunload",de="button",df="0",dg="^(",dh="option",dq="odd",dr="class",ds="*(\\d+)|))",dt="lang",dl="|=",dm="\\[",dn="name",dp="D",dx="!=",dy="<input/>",en="*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(",dz="sizzle",du="*=",dv="|",em="Syntax error, unrecognized expression: ",dw=")$",dA="object",dB="?|(",dN="$1",dM=")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|",dL="*([^\\]'\"]*?)",dR="*(?:''|\"\")",dQ="eq",dP="className",dO=":enabled",dG="of-type",dF="TAG",dE="|$)",dD="<a href='#'></a>",dK="empty",dJ="qx.bom.Selector",dI="^(?:",dH="value",dY="[id='",dX="^#(",dW="[*^$]=",dV="*,:x",ed="*(",ec="^\\.(",eb="",ea="CHILD",dU=",.*:",dT="^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(",dS="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",eg="$",ef="\\$&",ee=":checked",ek=",",ej="ID",ei="last",eh="HTML";qx.Bootstrap.define(dJ,{statics:{query:null,matches:null}});(function(window){var i,eM,fM,ew,eB,fC,eG,ep,eE,eF,eD,document,fK,fq,fe,eq,ff,eN,fa=dz+-(new Date()),eH=window.document,eW=0,eA=0,es=ey(),fr=ey(),fI=ey(),eT=function(a,b){if(a===b){eF=true;};return 0;},eR=typeof undefined,ft=1<<31,fA=({}).hasOwnProperty,ev=[],ez=ev.pop,fD=ev.push,fG=ev.push,eI=ev.slice,eS=ev.indexOf||function(fN){var i=0,fO=this.length;for(;i<fO;i++ ){if(this[i]===fN){return i;};};return -1;},fd=n,eK=V,fh=dS,fv=fh.replace(cT,F),fH=dm+eK+ed+fh+dd+eK+el+eK+p+fv+di+eK+cP,fg=dj+fh+dM+fH.replace(3,8)+r,fp=new RegExp(dc+eK+B+eK+K,cO),fx=new RegExp(dc+eK+cX+eK+z),eL=new RegExp(dc+eK+H+eK+dd+eK+z),fj=new RegExp(L+eK+dL+eK+cP,cO),fu=new RegExp(fg),eX=new RegExp(dc+fv+eg),fB={"ID":new RegExp(dX+fh+dd),"CLASS":new RegExp(ec+fh+dd),"TAG":new RegExp(dg+fh.replace(cT,dC)+dd),"ATTR":new RegExp(dc+fH),"PSEUDO":new RegExp(dc+fg),"CHILD":new RegExp(dT+eK+w+eK+X+eK+ds+eK+J,C),"bool":new RegExp(dI+fd+dw,C),"needsContext":new RegExp(dc+eK+en+eK+Y+eK+cQ,C)},fl=/^(?:input|select|textarea|button)$/i,et=/^h\d$/i,fz=/^[^{]+\{\s*\[native \w/,fF=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,fc=/[+~]/,fm=/'|\\/g,eu=new RegExp(D+eK+dB+eK+U,cH),fs=function(_,fP,fQ){var fR=cK+fP-0x10000;return fR!==fR||fQ?fP:fR<0?String.fromCharCode(fR+0x10000):String.fromCharCode(fR>>10|0xD800,fR&0x3FF|0xDC00);};try{fG.apply((ev=eI.call(eH.childNodes)),eH.childNodes);ev[eH.childNodes.length].nodeType;}catch(e){fG={apply:ev.length?function(fT,fS){fD.apply(fT,eI.call(fS));}:function(fV,fU){var j=fV.length,i=0;while((fV[j++ ]=fU[i++ ])){};fV.length=j-1;}};};function fL(gg,fX,gb,gd){var gi,fY,m,fW,i,ge,gh,ga,gf,gc;if((fX?fX.ownerDocument||fX:eH)!==document){eD(fX);};fX=fX||document;gb=gb||[];if(!gg||typeof gg!==T){return gb;};if((fW=fX.nodeType)!==1&&fW!==9){return [];};if(fq&&!gd){if((gi=fF.exec(gg))){if((m=gi[1])){if(fW===9){fY=fX.getElementById(m);if(fY&&fY.parentNode){if(fY.id===m){gb.push(fY);return gb;};}else {return gb;};}else {if(fX.ownerDocument&&(fY=fX.ownerDocument.getElementById(m))&&eN(fX,fY)&&fY.id===m){gb.push(fY);return gb;};};}else if(gi[2]){fG.apply(gb,fX.getElementsByTagName(gg));return gb;}else if((m=gi[3])&&eM.getElementsByClassName&&fX.getElementsByClassName){fG.apply(gb,fX.getElementsByClassName(m));return gb;};};if(eM.qsa&&(!fe||!fe.test(gg))){ga=gh=fa;gf=fX;gc=fW===9&&gg;if(fW===1&&fX.nodeName.toLowerCase()!==dA){ge=eV(gg);if((gh=fX.getAttribute(N))){ga=gh.replace(fm,ef);}else {fX.setAttribute(N,ga);};ga=dY+ga+f;i=ge.length;while(i-- ){ge[i]=ga+eQ(ge[i]);};gf=fc.test(gg)&&eC(fX.parentNode)||fX;gc=ge.join(ek);};if(gc){try{fG.apply(gb,gf.querySelectorAll(gc));return gb;}catch(gj){}finally{if(!gh){fX.removeAttribute(N);};};};};};return eG(gg.replace(fp,dN),fX,gb,gd);};function ey(){var gk=[];function gl(gm,gn){if(gk.push(gm+cV)>fM.cacheLength){delete gl[gk.shift()];};return (gl[gm+cV]=gn);};return gl;};function fy(go){go[fa]=true;return go;};function fk(gq){var gp=document.createElement(k);try{return !!gq(gp);}catch(e){return false;}finally{if(gp.parentNode){gp.parentNode.removeChild(gp);};gp=null;};};function fo(gt,gs){var gr=gt.split(dv),i=gt.length;while(i-- ){fM.attrHandle[gr[i]]=gs;};};function eY(a,b){var gv=b&&a,gu=gv&&a.nodeType===1&&b.nodeType===1&&(~b.sourceIndex||ft)-(~a.sourceIndex||ft);if(gu){return gu;};if(gv){while((gv=gv.nextSibling)){if(gv===b){return -1;};};};return a?1:-1;};function fE(gw){return function(gx){var name=gx.nodeName.toLowerCase();return name===l&&gx.type===gw;};};function er(gy){return function(gz){var name=gz.nodeName.toLowerCase();return (name===l||name===de)&&gz.type===gy;};};function fi(gA){return fy(function(gB){gB=+gB;return fy(function(gE,gC){var j,gD=gA([],gE.length,gB),i=gD.length;while(i-- ){if(gE[(j=gD[i])]){gE[j]=!(gC[j]=gE[j]);};};});});};function eC(gF){return gF&&typeof gF.getElementsByTagName!==eR&&gF;};eM=fL.support={};eB=fL.isXML=function(gG){var gH=gG&&(gG.ownerDocument||gG).documentElement;return gH?gH.nodeName!==eh:false;};eD=fL.setDocument=function(gI){var gK,gJ=gI?gI.ownerDocument||gI:eH,parent=gJ.defaultView;if(gJ===document||gJ.nodeType!==9||!gJ.documentElement){return document;};document=gJ;fK=gJ.documentElement;fq=!eB(gJ);if(parent&&parent!==parent.top){if(parent.addEventListener){parent.addEventListener(M,function(){eD();},false);}else if(parent.attachEvent){parent.attachEvent(dk,function(){eD();});};};eM.attributes=fk(function(gL){gL.className=C;return !gL.getAttribute(dP);});eM.getElementsByTagName=fk(function(gM){gM.appendChild(gJ.createComment(eb));return !gM.getElementsByTagName(z).length;});eM.getElementsByClassName=fz.test(gJ.getElementsByClassName)&&fk(function(gN){gN.innerHTML=cU;gN.firstChild.className=C;return gN.getElementsByClassName(C).length===2;});eM.getById=fk(function(gO){fK.appendChild(gO).id=fa;return !gJ.getElementsByName||!gJ.getElementsByName(fa).length;});if(eM.getById){fM.find[ej]=function(gP,gQ){if(typeof gQ.getElementById!==eR&&fq){var m=gQ.getElementById(gP);return m&&m.parentNode?[m]:[];};};fM.filter[ej]=function(gS){var gR=gS.replace(eu,fs);return function(gT){return gT.getAttribute(N)===gR;};};}else {delete fM.find[ej];fM.filter[ej]=function(gV){var gU=gV.replace(eu,fs);return function(gX){var gW=typeof gX.getAttributeNode!==eR&&gX.getAttributeNode(N);return gW&&gW.value===gU;};};};fM.find[dF]=eM.getElementsByTagName?function(gY,ha){if(typeof ha.getElementsByTagName!==eR){return ha.getElementsByTagName(gY);};}:function(he,hf){var hc,hb=[],i=0,hd=hf.getElementsByTagName(he);if(he===z){while((hc=hd[i++ ])){if(hc.nodeType===1){hb.push(hc);};};return hb;};return hd;};fM.find[g]=eM.getElementsByClassName&&function(hg,hh){if(typeof hh.getElementsByClassName!==eR&&fq){return hh.getElementsByClassName(hg);};};eq=[];fe=[];if((eM.qsa=fz.test(gJ.querySelectorAll))){fk(function(hi){hi.innerHTML=da;if(hi.querySelectorAll(I).length){fe.push(dW+eK+dR);};if(!hi.querySelectorAll(cM).length){fe.push(dm+eK+t+fd+dd);};if(!hi.querySelectorAll(ee).length){fe.push(ee);};});fk(function(hk){var hj=gJ.createElement(l);hj.setAttribute(cN,cW);hk.appendChild(hj).setAttribute(dn,dp);if(hk.querySelectorAll(W).length){fe.push(dn+eK+eo);};if(!hk.querySelectorAll(dO).length){fe.push(dO,h);};hk.querySelectorAll(dV);fe.push(dU);});};if((eM.matchesSelector=fz.test((ff=fK.webkitMatchesSelector||fK.mozMatchesSelector||fK.oMatchesSelector||fK.msMatchesSelector)))){fk(function(hl){eM.disconnectedMatch=ff.call(hl,k);ff.call(hl,S);eq.push(dx,fg);});};fe=fe.length&&new RegExp(fe.join(dv));eq=eq.length&&new RegExp(eq.join(dv));gK=fz.test(fK.compareDocumentPosition);eN=gK||fz.test(fK.contains)?function(a,b){var hm=a.nodeType===9?a.documentElement:a,hn=b&&b.parentNode;return a===hn||!!(hn&&hn.nodeType===1&&(hm.contains?hm.contains(hn):a.compareDocumentPosition&&a.compareDocumentPosition(hn)&16));}:function(a,b){if(b){while((b=b.parentNode)){if(b===a){return true;};};};return false;};eT=gK?function(a,b){if(a===b){eF=true;return 0;};var ho=!a.compareDocumentPosition-!b.compareDocumentPosition;if(ho){return ho;};ho=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1;if(ho&1||(!eM.sortDetached&&b.compareDocumentPosition(a)===ho)){if(a===gJ||a.ownerDocument===eH&&eN(eH,a)){return -1;};if(b===gJ||b.ownerDocument===eH&&eN(eH,b)){return 1;};return eE?(eS.call(eE,a)-eS.call(eE,b)):0;};return ho&4?-1:1;}:function(a,b){if(a===b){eF=true;return 0;};var hp,i=0,hq=a.parentNode,hr=b.parentNode,hs=[a],ht=[b];if(!hq||!hr){return a===gJ?-1:b===gJ?1:hq?-1:hr?1:eE?(eS.call(eE,a)-eS.call(eE,b)):0;}else if(hq===hr){return eY(a,b);};hp=a;while((hp=hp.parentNode)){hs.unshift(hp);};hp=b;while((hp=hp.parentNode)){ht.unshift(hp);};while(hs[i]===ht[i]){i++ ;};return i?eY(hs[i],ht[i]):hs[i]===eH?-1:ht[i]===eH?1:0;};return gJ;};fL.matches=function(hu,hv){return fL(hu,null,null,hv);};fL.matchesSelector=function(hx,hw){if((hx.ownerDocument||hx)!==document){eD(hx);};hw=hw.replace(fj,E);if(eM.matchesSelector&&fq&&(!eq||!eq.test(hw))&&(!fe||!fe.test(hw))){try{var hy=ff.call(hx,hw);if(hy||eM.disconnectedMatch||hx.document&&hx.document.nodeType!==11){return hy;};}catch(e){};};return fL(hw,document,null,[hx]).length>0;};fL.contains=function(hA,hz){if((hA.ownerDocument||hA)!==document){eD(hA);};return eN(hA,hz);};fL.attr=function(hC,name){if((hC.ownerDocument||hC)!==document){eD(hC);};var hB=fM.attrHandle[name.toLowerCase()],hD=hB&&fA.call(fM.attrHandle,name.toLowerCase())?hB(hC,name,!fq):undefined;return hD!==undefined?hD:eM.attributes||!fq?hC.getAttribute(name):(hD=hC.getAttributeNode(name))&&hD.specified?hD.value:null;};fL.error=function(hE){throw new Error(em+hE);};fL.uniqueSort=function(hG){var hH,hF=[],j=0,i=0;eF=!eM.detectDuplicates;eE=!eM.sortStable&&hG.slice(0);hG.sort(eT);if(eF){while((hH=hG[i++ ])){if(hH===hG[i]){j=hF.push(i);};};while(j-- ){hG.splice(hF[j],1);};};eE=null;return hG;};ew=fL.getText=function(hK){var hI,hL=eb,i=0,hJ=hK.nodeType;if(!hJ){while((hI=hK[i++ ])){hL+=ew(hI);};}else if(hJ===1||hJ===9||hJ===11){if(typeof hK.textContent===T){return hK.textContent;}else {for(hK=hK.firstChild;hK;hK=hK.nextSibling){hL+=ew(hK);};};}else if(hJ===3||hJ===4){return hK.nodeValue;};return hL;};fM=fL.selectors={cacheLength:50,createPseudo:fy,match:fB,attrHandle:{},find:{},relative:{">":{dir:cI,first:true}," ":{dir:cI},"+":{dir:v,first:true},"~":{dir:v}},preFilter:{"ATTR":function(hM){hM[1]=hM[1].replace(eu,fs);hM[3]=(hM[4]||hM[5]||eb).replace(eu,fs);if(hM[2]===u){hM[3]=cV+hM[3]+cV;};return hM.slice(0,4);},"CHILD":function(hN){hN[1]=hN[1].toLowerCase();if(hN[1].slice(0,3)===o){if(!hN[3]){fL.error(hN[0]);};hN[4]=+(hN[4]?hN[5]+(hN[6]||1):2*(hN[3]===cY||hN[3]===dq));hN[5]=+((hN[7]+hN[8])||hN[3]===dq);}else if(hN[3]){fL.error(hN[0]);};return hN;},"PSEUDO":function(hP){var hQ,hO=!hP[5]&&hP[2];if(fB[ea].test(hP[0])){return null;};if(hP[3]&&hP[4]!==undefined){hP[2]=hP[4];}else if(hO&&fu.test(hO)&&(hQ=eV(hO,true))&&(hQ=hO.indexOf(dd,hO.length-hQ)-hO.length)){hP[0]=hP[0].slice(0,hQ);hP[2]=hO.slice(0,hQ);};return hP.slice(0,3);}},filter:{"TAG":function(hR){var hS=hR.replace(eu,fs).toLowerCase();return hR===z?function(){return true;}:function(hT){return hT.nodeName&&hT.nodeName.toLowerCase()===hS;};},"CLASS":function(hU){var hV=es[hU+cV];return hV||(hV=new RegExp(d+eK+dd+hU+cS+eK+dE))&&es(hU,function(hW){return hV.test(typeof hW.className===T&&hW.className||typeof hW.getAttribute!==eR&&hW.getAttribute(dr)||eb);});},"ATTR":function(name,hX,hY){return function(ia){var ib=fL.attr(ia,name);if(ib==null){return hX===dx;};if(!hX){return true;};ib+=eb;return hX===L?ib===hY:hX===dx?ib!==hY:hX===G?hY&&ib.indexOf(hY)===0:hX===du?hY&&ib.indexOf(hY)>-1:hX===R?hY&&ib.slice(-hY.length)===hY:hX===u?(cV+ib+cV).indexOf(hY)>-1:hX===dl?ib===hY||ib.slice(0,hY.length+1)===hY+c:false;};},"CHILD":function(ij,ic,ii,ik,ie){var ih=ij.slice(0,3)!==o,forward=ij.slice(-4)!==ei,ig=ic===dG;return ik===1&&ie===0?function(il){return !!il.parentNode;}:function(ir,iu,im){var iq,iv,io,iw,ip,is,ix=ih!==forward?Q:v,parent=ir.parentNode,name=ig&&ir.nodeName.toLowerCase(),it=!im&&!ig;if(parent){if(ih){while(ix){io=ir;while((io=io[ix])){if(ig?io.nodeName.toLowerCase()===name:io.nodeType===1){return false;};};is=ix=ij===y&&!is&&Q;};return true;};is=[forward?parent.firstChild:parent.lastChild];if(forward&&it){iv=parent[fa]||(parent[fa]={});iq=iv[ij]||[];ip=iq[0]===eW&&iq[1];iw=iq[0]===eW&&iq[2];io=ip&&parent.childNodes[ip];while((io= ++ip&&io&&io[ix]||(iw=ip=0)||is.pop())){if(io.nodeType===1&& ++iw&&io===ir){iv[ij]=[eW,ip,iw];break;};};}else if(it&&(iq=(ir[fa]||(ir[fa]={}))[ij])&&iq[0]===eW){iw=iq[1];}else {while((io= ++ip&&io&&io[ix]||(iw=ip=0)||is.pop())){if((ig?io.nodeName.toLowerCase()===name:io.nodeType===1)&& ++iw){if(it){(io[fa]||(io[fa]={}))[ij]=[eW,iw];};if(io===ir){break;};};};};iw-=ie;return iw===ik||(iw%ik===0&&iw/ik>=0);};};},"PSEUDO":function(iz,iA){var iy,iB=fM.pseudos[iz]||fM.setFilters[iz.toLowerCase()]||fL.error(cR+iz);if(iB[fa]){return iB(iA);};if(iB.length>1){iy=[iz,iz,eb,iA];return fM.setFilters.hasOwnProperty(iz.toLowerCase())?fy(function(iD,iC){var iE,iF=iB(iD,iA),i=iF.length;while(i-- ){iE=eS.call(iD,iF[i]);iD[iE]=!(iC[iE]=iF[i]);};}):function(iG){return iB(iG,0,iy);};};return iB;}},pseudos:{"not":fy(function(iI){var iH=[],iJ=[],iK=fC(iI.replace(fp,dN));return iK[fa]?fy(function(iP,iM,iQ,iL){var iN,iO=iK(iP,null,iL,[]),i=iP.length;while(i-- ){if((iN=iO[i])){iP[i]=!(iM[i]=iN);};};}):function(iS,iT,iR){iH[0]=iS;iK(iH,null,iR,iJ);return !iJ.pop();};}),"has":fy(function(iU){return function(iV){return fL(iU,iV).length>0;};}),"contains":fy(function(iW){return function(iX){return (iX.textContent||iX.innerText||ew(iX)).indexOf(iW)>-1;};}),"lang":fy(function(iY){if(!eX.test(iY||eb)){fL.error(A+iY);};iY=iY.replace(eu,fs).toLowerCase();return function(jb){var ja;do {if((ja=fq?jb.lang:jb.getAttribute(x)||jb.getAttribute(dt))){ja=ja.toLowerCase();return ja===iY||ja.indexOf(iY+c)===0;};}while((jb=jb.parentNode)&&jb.nodeType===1);return false;};}),"target":function(jd){var jc=window.location&&window.location.hash;return jc&&jc.slice(1)===jd.id;},"root":function(je){return je===fK;},"focus":function(jf){return jf===document.activeElement&&(!document.hasFocus||document.hasFocus())&&!!(jf.type||jf.href||~jf.tabIndex);},"enabled":function(jg){return jg.disabled===false;},"disabled":function(jh){return jh.disabled===true;},"checked":function(ji){var jj=ji.nodeName.toLowerCase();return (jj===l&&!!ji.checked)||(jj===dh&&!!ji.selected);},"selected":function(jk){if(jk.parentNode){jk.parentNode.selectedIndex;};return jk.selected===true;},"empty":function(jl){for(jl=jl.firstChild;jl;jl=jl.nextSibling){if(jl.nodeType<6){return false;};};return true;},"parent":function(jm){return !fM.pseudos[dK](jm);},"header":function(jn){return et.test(jn.nodeName);},"input":function(jo){return fl.test(jo.nodeName);},"button":function(jp){var name=jp.nodeName.toLowerCase();return name===l&&jp.type===de||name===de;},"text":function(jq){var jr;return jq.nodeName.toLowerCase()===l&&jq.type===O&&((jr=jq.getAttribute(cN))==null||jr.toLowerCase()===O);},"first":fi(function(){return [0];}),"last":fi(function(js,length){return [length-1];}),"eq":fi(function(jt,length,ju){return [ju<0?ju+length:ju];}),"even":fi(function(jv,length){var i=0;for(;i<length;i+=2){jv.push(i);};return jv;}),"odd":fi(function(jw,length){var i=1;for(;i<length;i+=2){jw.push(i);};return jw;}),"lt":fi(function(jx,length,jy){var i=jy<0?jy+length:jy;for(; --i>=0;){jx.push(i);};return jx;}),"gt":fi(function(jz,length,jA){var i=jA<0?jA+length:jA;for(; ++i<length;){jz.push(i);};return jz;})}};fM.pseudos[o]=fM.pseudos[dQ];for(i in {radio:true,checkbox:true,file:true,password:true,image:true}){fM.pseudos[i]=fE(i);};for(i in {submit:true,reset:true}){fM.pseudos[i]=er(i);};function fJ(){};fJ.prototype=fM.filters=fM.pseudos;fM.setFilters=new fJ();function eV(jE,jD){var jK,jJ,jB,jI,jF,jH,jG,jC=fr[jE+cV];if(jC){return jD?0:jC.slice(0);};jF=jE;jH=[];jG=fM.preFilter;while(jF){if(!jK||(jJ=fx.exec(jF))){if(jJ){jF=jF.slice(jJ[0].length)||jF;};jH.push((jB=[]));};jK=false;if((jJ=eL.exec(jF))){jK=jJ.shift();jB.push({value:jK,type:jJ[0].replace(fp,cV)});jF=jF.slice(jK.length);};for(jI in fM.filter){if((jJ=fB[jI].exec(jF))&&(!jG[jI]||(jJ=jG[jI](jJ)))){jK=jJ.shift();jB.push({value:jK,type:jI,matches:jJ});jF=jF.slice(jK.length);};};if(!jK){break;};};return jD?jF.length:jF?fL.error(jE):fr(jE,jH).slice(0);};function eQ(jL){var i=0,jM=jL.length,jN=eb;for(;i<jM;i++ ){jN+=jL[i].value;};return jN;};function eO(jO,jP,jQ){var jR=jP.dir,jT=jQ&&jR===cI,jS=eA++ ;return jP.first?function(jV,jW,jU){while((jV=jV[jR])){if(jV.nodeType===1||jT){return jO(jV,jW,jU);};};}:function(jY,kb,jX){var ka,kc,kd=[eW,jS];if(jX){while((jY=jY[jR])){if(jY.nodeType===1||jT){if(jO(jY,kb,jX)){return true;};};};}else {while((jY=jY[jR])){if(jY.nodeType===1||jT){kc=jY[fa]||(jY[fa]={});if((ka=kc[jR])&&ka[0]===eW&&ka[1]===jS){return (kd[2]=ka[2]);}else {kc[jR]=kd;if((kd[2]=jO(jY,kb,jX))){return true;};};};};};};};function eP(ke){return ke.length>1?function(kg,kh,kf){var i=ke.length;while(i-- ){if(!ke[i](kg,kh,kf)){return false;};};return true;}:ke[0];};function fw(kl,ki,kj){var i=0,kk=ki.length;for(;i<kk;i++ ){fL(kl,ki[i],kj);};return kj;};function ex(kp,kn,kq,ks,km){var ko,ku=[],i=0,kr=kp.length,kt=kn!=null;for(;i<kr;i++ ){if((ko=kp[i])){if(!kq||kq(ko,ks,km)){ku.push(ko);if(kt){kn.push(i);};};};};return ku;};function eJ(kz,ky,kx,kw,kv,kA){if(kw&&!kw[fa]){kw=eJ(kw);};if(kv&&!kv[fa]){kv=eJ(kv,kA);};return fy(function(kJ,kE,kK,kB){var kC,i,kG,kI=[],kM=[],kD=kE.length,kL=kJ||fw(ky||z,kK.nodeType?[kK]:kK,[]),kF=kz&&(kJ||!ky)?ex(kL,kI,kz,kK,kB):kL,kH=kx?kv||(kJ?kz:kD||kw)?[]:kE:kF;if(kx){kx(kF,kH,kK,kB);};if(kw){kC=ex(kH,kM);kw(kC,[],kK,kB);i=kC.length;while(i-- ){if((kG=kC[i])){kH[kM[i]]=!(kF[kM[i]]=kG);};};};if(kJ){if(kv||kz){if(kv){kC=[];i=kH.length;while(i-- ){if((kG=kH[i])){kC.push((kF[i]=kG));};};kv(null,(kH=[]),kC,kB);};i=kH.length;while(i-- ){if((kG=kH[i])&&(kC=kv?eS.call(kJ,kG):kI[i])>-1){kJ[kC]=!(kE[kC]=kG);};};};}else {kH=ex(kH===kE?kH.splice(kD,kH.length):kH);if(kv){kv(null,kE,kH,kB);}else {fG.apply(kE,kH);};};});};function fb(kS){var kN,kP,j,kQ=kS.length,kO=fM.relative[kS[0].type],kV=kO||fM.relative[cV],i=kO?1:0,kU=eO(function(kW){return kW===kN;},kV,true),kR=eO(function(kX){return eS.call(kN,kX)>-1;},kV,true),kT=[function(la,lb,kY){return (!kO&&(kY||lb!==ep))||((kN=lb).nodeType?kU(la,lb,kY):kR(la,lb,kY));}];for(;i<kQ;i++ ){if((kP=fM.relative[kS[i].type])){kT=[eO(eP(kT),kP)];}else {kP=fM.filter[kS[i].type].apply(null,kS[i].matches);if(kP[fa]){j= ++i;for(;j<kQ;j++ ){if(fM.relative[kS[j].type]){break;};};return eJ(i>1&&eP(kT),i>1&&eQ(kS.slice(0,i-1).concat({value:kS[i-2].type===cV?z:eb})).replace(fp,dN),kP,i<j&&fb(kS.slice(i,j)),j<kQ&&fb((kS=kS.slice(j))),j<kQ&&eQ(kS));};kT.push(kP);};};return eP(kT);};function eU(lg,ld){var lc=ld.length>0,le=lg.length>0,lf=function(lp,ls,lh,ll,lk){var ln,j,lt,li=0,i=df,lm=lp&&[],lo=[],lj=ep,lu=lp||le&&fM.find[dF](z,lk),lq=(eW+=lj==null?1:Math.random()||0.1),lr=lu.length;if(lk){ep=ls!==document&&ls;};for(;i!==lr&&(ln=lu[i])!=null;i++ ){if(le&&ln){j=0;while((lt=lg[j++ ])){if(lt(ln,ls,lh)){ll.push(ln);break;};};if(lk){eW=lq;};};if(lc){if((ln=!lt&&ln)){li-- ;};if(lp){lm.push(ln);};};};li+=i;if(lc&&i!==li){j=0;while((lt=ld[j++ ])){lt(lm,lo,ls,lh);};if(lp){if(li>0){while(i-- ){if(!(lm[i]||lo[i])){lo[i]=ez.call(ll);};};};lo=ex(lo);};fG.apply(ll,lo);if(lk&&!lp&&lo.length>0&&(li+ld.length)>1){fL.uniqueSort(ll);};};if(lk){eW=lq;ep=lj;};return lm;};return lc?fy(lf):lf;};fC=fL.compile=function(lw,lz){var i,ly=[],lv=[],lx=fI[lw+cV];if(!lx){if(!lz){lz=eV(lw);};i=lz.length;while(i-- ){lx=fb(lz[i]);if(lx[fa]){ly.push(lx);}else {lv.push(lx);};};lx=fI(lw,eU(lv,ly));lx.selector=lw;};return lx;};eG=fL.select=function(lC,lG,lB,lF){var i,lD,lE,lH,find,lA=typeof lC===db&&lC,lI=!lF&&eV((lC=lA.selector||lC));lB=lB||[];if(lI.length===1){lD=lI[0]=lI[0].slice(0);if(lD.length>2&&(lE=lD[0]).type===ej&&eM.getById&&lG.nodeType===9&&fq&&fM.relative[lD[1].type]){lG=(fM.find[ej](lE.matches[0].replace(eu,fs),lG)||[])[0];if(!lG){return lB;}else if(lA){lG=lG.parentNode;};lC=lC.slice(lD.shift().value.length);};i=fB[P].test(lC)?0:lD.length;while(i-- ){lE=lD[i];if(fM.relative[(lH=lE.type)]){break;};if((find=fM.find[lH])){if((lF=find(lE.matches[0].replace(eu,fs),fc.test(lD[0].type)&&eC(lG.parentNode)||lG))){lD.splice(i,1);lC=lF.length&&eQ(lD);if(!lC){fG.apply(lB,lF);return lB;};break;};};};};(lA||fC(lC,lI))(lF,lG,!fq,lB,fc.test(lC)&&eC(lG.parentNode)||lG);return lB;};eM.sortStable=fa.split(eb).sort(eT).join(eb)===fa;eM.detectDuplicates=!!eF;eD();eM.sortDetached=fk(function(lJ){return lJ.compareDocumentPosition(document.createElement(k))&1;});if(!fk(function(lK){lK.innerHTML=dD;return lK.firstChild.getAttribute(cJ)===cL;})){fo(q,function(lL,name,lM){if(!lM){return lL.getAttribute(name,name.toLowerCase()===cN?1:2);};});};if(!eM.attributes||!fk(function(lN){lN.innerHTML=dy;lN.firstChild.setAttribute(dH,eb);return lN.firstChild.getAttribute(dH)===eb;})){fo(dH,function(lO,name,lP){if(!lP&&lO.nodeName.toLowerCase()===l){return lO.defaultValue;};});};if(!fk(function(lQ){return lQ.getAttribute(s)==null;})){fo(fd,function(lS,name,lR){var lT;if(!lR){return lS[name]===true?name.toLowerCase():(lT=lS.getAttributeNode(name))&&lT.specified?lT.value:null;};});};qx.bom.Selector.query=function(lV,lU){return fL(lV,lU);};qx.bom.Selector.matches=function(lX,lW){return fL(lX,null,null,lW);};})(window);})();(function(){var a="Number",b="qx.lang.Type",c="Boolean";qx.Bootstrap.define(b,{statics:{getClass:qx.Bootstrap.getClass,isString:qx.Bootstrap.isString,isArray:qx.Bootstrap.isArray,isObject:qx.Bootstrap.isObject,isFunction:qx.Bootstrap.isFunction,isNumber:function(d){return (d!==null&&(this.getClass(d)==a||d instanceof Number));},isBoolean:function(e){return (e!==null&&(this.getClass(e)==c||e instanceof Boolean));}}});})();(function(){var a="ecmascript.object.keys",b="qx.lang.normalize.Object";qx.Bootstrap.define(b,{statics:{keys:qx.Bootstrap.keys},defer:function(c){if(!qx.core.Environment.get(a)){Object.keys=c.keys;};}});})();(function(){var a='[object Boolean]',b='[object String]',c='constructor',d='[object Date]',e='[object Number]',f='object',g="qx.lang.Object",h='[object RegExp]',j='[object Array]';qx.Bootstrap.define(g,{statics:{isEmpty:function(k){{};for(var m in k){return false;};return true;},getValues:function(o){{};var p=[];var n=Object.keys(o);for(var i=0,l=n.length;i<l;i++ ){p.push(o[n[i]]);};return p;},clone:function(q,t){if(qx.lang.Type.isObject(q)){var r={};for(var s in q){if(t){r[s]=qx.lang.Object.clone(q[s],t);}else {r[s]=q[s];};};return r;}else if(qx.lang.Type.isArray(q)){var r=[];for(var i=0;i<q.length;i++ ){if(t){r[i]=qx.lang.Object.clone(q[i],t);}else {r[i]=q[i];};};return r;};return q;},__equals:function(A,w,u,v){if(A===w){return A!==0||1/A==1/w;};if(A==null||w==null){return A===w;};var z=Object.prototype.toString.call(A);if(z!=Object.prototype.toString.call(w)){return false;};switch(z){case b:return A==String(w);case e:return A!=+A?w!=+w:(A==0?1/A==1/w:A==+w);case d:case a:return +A==+w;case h:return A.source==w.source&&A.global==w.global&&A.multiline==w.multiline&&A.ignoreCase==w.ignoreCase;};if(typeof A!=f||typeof w!=f){return false;};var length=u.length;while(length-- ){if(u[length]==A){return v[length]==w;};};var y=A.constructor,x=w.constructor;if(y!==x&&!(qx.Bootstrap.isFunction(y)&&(y instanceof y)&&qx.Bootstrap.isFunction(x)&&(x instanceof x))&&(c in A&&c in w)){return false;};u.push(A);v.push(w);var D=0,B=true;if(z==j){D=A.length;B=D==w.length;if(B){while(D-- ){if(!(B=qx.lang.Object.__equals(A[D],w[D],u,v))){break;};};};}else {for(var C in A){if(Object.prototype.hasOwnProperty.call(A,C)){D++ ;if(!(B=Object.prototype.hasOwnProperty.call(w,C)&&qx.lang.Object.__equals(A[C],w[C],u,v))){break;};};};if(B){for(C in w){if(Object.prototype.hasOwnProperty.call(w,C)&&!(D-- )){break;};};B=!D;};};u.pop();v.pop();return B;},invert:function(E){{};var F={};for(var G in E){F[E[G].toString()]=G;};return F;},getKeyFromValue:function(H,I){{};for(var J in H){if(H.hasOwnProperty(J)&&H[J]===I){return J;};};return null;},contains:function(K,L){{};return this.getKeyFromValue(K,L)!==null;}}});})();(function(){var a="qx.bom.String";qx.Bootstrap.define(a,{statics:{TO_CHARCODE:{"quot":34,"amp":38,"lt":60,"gt":62,"nbsp":160,"iexcl":161,"cent":162,"pound":163,"curren":164,"yen":165,"brvbar":166,"sect":167,"uml":168,"copy":169,"ordf":170,"laquo":171,"not":172,"shy":173,"reg":174,"macr":175,"deg":176,"plusmn":177,"sup2":178,"sup3":179,"acute":180,"micro":181,"para":182,"middot":183,"cedil":184,"sup1":185,"ordm":186,"raquo":187,"frac14":188,"frac12":189,"frac34":190,"iquest":191,"Agrave":192,"Aacute":193,"Acirc":194,"Atilde":195,"Auml":196,"Aring":197,"AElig":198,"Ccedil":199,"Egrave":200,"Eacute":201,"Ecirc":202,"Euml":203,"Igrave":204,"Iacute":205,"Icirc":206,"Iuml":207,"ETH":208,"Ntilde":209,"Ograve":210,"Oacute":211,"Ocirc":212,"Otilde":213,"Ouml":214,"times":215,"Oslash":216,"Ugrave":217,"Uacute":218,"Ucirc":219,"Uuml":220,"Yacute":221,"THORN":222,"szlig":223,"agrave":224,"aacute":225,"acirc":226,"atilde":227,"auml":228,"aring":229,"aelig":230,"ccedil":231,"egrave":232,"eacute":233,"ecirc":234,"euml":235,"igrave":236,"iacute":237,"icirc":238,"iuml":239,"eth":240,"ntilde":241,"ograve":242,"oacute":243,"ocirc":244,"otilde":245,"ouml":246,"divide":247,"oslash":248,"ugrave":249,"uacute":250,"ucirc":251,"uuml":252,"yacute":253,"thorn":254,"yuml":255,"fnof":402,"Alpha":913,"Beta":914,"Gamma":915,"Delta":916,"Epsilon":917,"Zeta":918,"Eta":919,"Theta":920,"Iota":921,"Kappa":922,"Lambda":923,"Mu":924,"Nu":925,"Xi":926,"Omicron":927,"Pi":928,"Rho":929,"Sigma":931,"Tau":932,"Upsilon":933,"Phi":934,"Chi":935,"Psi":936,"Omega":937,"alpha":945,"beta":946,"gamma":947,"delta":948,"epsilon":949,"zeta":950,"eta":951,"theta":952,"iota":953,"kappa":954,"lambda":955,"mu":956,"nu":957,"xi":958,"omicron":959,"pi":960,"rho":961,"sigmaf":962,"sigma":963,"tau":964,"upsilon":965,"phi":966,"chi":967,"psi":968,"omega":969,"thetasym":977,"upsih":978,"piv":982,"bull":8226,"hellip":8230,"prime":8242,"Prime":8243,"oline":8254,"frasl":8260,"weierp":8472,"image":8465,"real":8476,"trade":8482,"alefsym":8501,"larr":8592,"uarr":8593,"rarr":8594,"darr":8595,"harr":8596,"crarr":8629,"lArr":8656,"uArr":8657,"rArr":8658,"dArr":8659,"hArr":8660,"forall":8704,"part":8706,"exist":8707,"empty":8709,"nabla":8711,"isin":8712,"notin":8713,"ni":8715,"prod":8719,"sum":8721,"minus":8722,"lowast":8727,"radic":8730,"prop":8733,"infin":8734,"ang":8736,"and":8743,"or":8744,"cap":8745,"cup":8746,"int":8747,"there4":8756,"sim":8764,"cong":8773,"asymp":8776,"ne":8800,"equiv":8801,"le":8804,"ge":8805,"sub":8834,"sup":8835,"sube":8838,"supe":8839,"oplus":8853,"otimes":8855,"perp":8869,"sdot":8901,"lceil":8968,"rceil":8969,"lfloor":8970,"rfloor":8971,"lang":9001,"rang":9002,"loz":9674,"spades":9824,"clubs":9827,"hearts":9829,"diams":9830,"OElig":338,"oelig":339,"Scaron":352,"scaron":353,"Yuml":376,"circ":710,"tilde":732,"ensp":8194,"emsp":8195,"thinsp":8201,"zwnj":8204,"zwj":8205,"lrm":8206,"rlm":8207,"ndash":8211,"mdash":8212,"lsquo":8216,"rsquo":8217,"sbquo":8218,"ldquo":8220,"rdquo":8221,"bdquo":8222,"dagger":8224,"Dagger":8225,"permil":8240,"lsaquo":8249,"rsaquo":8250,"euro":8364},escape:function(b){return qx.util.StringEscape.escape(b,qx.bom.String.FROM_CHARCODE);}},defer:function(c){c.FROM_CHARCODE=qx.lang.Object.invert(c.TO_CHARCODE);}});})();(function(){var a="&",b=";",c="qx.util.StringEscape",d="",e="&#";qx.Bootstrap.define(c,{statics:{escape:function(m,j){var g,k=d;for(var i=0,l=m.length;i<l;i++ ){var h=m.charAt(i);var f=h.charCodeAt(0);if(j[f]){g=a+j[f]+b;}else {if(f>0x7F){g=e+f+b;}else {g=h;};};k+=g;};return k;}}});})();(function(){var a='',b="ecmascript.string.trim",c="qx.lang.normalize.String";qx.Bootstrap.define(c,{statics:{trim:function(){return this.replace(/^\s+|\s+$/g,a);}},defer:function(d){if(!qx.core.Environment.get(b)){String.prototype.trim=d.trim;};}});})();(function(){var a="-",b="0",c="",d='\\$1',e='-',f="qx.lang.String",g="undefined";qx.Bootstrap.define(f,{statics:{__stringsMap:{},camelCase:function(i){var h=this.__stringsMap[i];if(!h){h=i.replace(/\-([a-z])/g,function(k,j){return j.toUpperCase();});if(i.indexOf(a)>=0){this.__stringsMap[i]=h;};};return h;},hyphenate:function(m){var l=this.__stringsMap[m];if(!l){l=m.replace(/[A-Z]/g,function(n){return (e+n.charAt(0).toLowerCase());});if(m.indexOf(a)==-1){this.__stringsMap[m]=l;};};return l;},startsWith:function(p,o){return p.indexOf(o)===0;},endsWith:function(r,q){return r.substring(r.length-q.length,r.length)===q;},repeat:function(s,t){return s.length>0?new Array(t+1).join(s):c;},pad:function(v,length,u){var w=length-v.length;if(w>0){if(typeof u===g){u=b;};return this.repeat(u,w)+v;}else {return v;};},firstUp:qx.Bootstrap.firstUp,firstLow:qx.Bootstrap.firstLow,escapeRegexpChars:function(x){return x.replace(/([.*+?^${}()|[\]\/\\])/g,d);}}});})();(function(){var a="qx.lang.Function";qx.Bootstrap.define(a,{statics:{create:function(c,b){{};if(!b){return c;};if(!(b.self||b.args||b.delay!=null||b.periodical!=null||b.attempt)){return c;};return function(event){{};var e=qx.lang.Array.fromArguments(arguments);if(b.args){e=b.args.concat(e);};if(b.delay||b.periodical){var d=function(){return c.apply(b.self||this,e);};{};if(b.delay){return window.setTimeout(d,b.delay);};if(b.periodical){return window.setInterval(d,b.periodical);};}else if(b.attempt){var f=false;try{f=c.apply(b.self||this,e);}catch(g){};return f;}else {return c.apply(b.self||this,e);};};},bind:function(h,self,i){return this.create(h,{self:self,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null});},listener:function(k,self,l){if(arguments.length<3){return function(event){return k.call(self||this,event||window.event);};}else {var j=qx.lang.Array.fromArguments(arguments,2);return function(event){var m=[event||window.event];m.push.apply(m,j);k.apply(self||this,m);};};}}});})();(function(){var a="qx.module.util.String";qx.Bootstrap.define(a,{statics:{camelCase:function(b){return qx.lang.String.camelCase.call(qx.lang.String,b);},hyphenate:function(c){return qx.lang.String.hyphenate.call(qx.lang.String,c);},firstUp:qx.lang.String.firstUp,firstLow:qx.lang.String.firstLow,startsWith:qx.lang.String.startsWith,endsWith:qx.lang.String.endsWith,escapeRegexpChars:qx.lang.String.escapeRegexpChars,escapeHtml:qx.bom.String.escape},defer:function(d){qxWeb.$attachStatic({string:{camelCase:d.camelCase,hyphenate:d.hyphenate,firstUp:d.firstUp,firstLow:d.firstLow,startsWith:d.startsWith,endsWith:d.endsWith,escapeRegexpChars:d.escapeRegexpChars,escapeHtml:d.escapeHtml}});}});})();(function(){var a="qx.module.Dataset";qx.Bootstrap.define(a,{statics:{setData:function(name,b){this._forEachElement(function(c){qx.bom.element.Dataset.set(c,name,b);});return this;},getData:function(name){if(this[0]&&this[0].nodeType===1){return qx.bom.element.Dataset.get(this[0],name);};},getAllData:function(){if(this[0]&&this[0].nodeType===1){return qx.bom.element.Dataset.getAll(this[0]);};return {};},hasData:function(){return qx.bom.element.Dataset.hasData(this[0]);},removeData:function(name){if(this[0]&&this[0].nodeType===1){qx.bom.element.Dataset.remove(this[0],name);};return this;}},defer:function(d){qxWeb.$attach({"getData":d.getData,"setData":d.setData,"removeData":d.removeData,"getAllData":d.getAllData,"hasData":d.hasData});}});})();(function(){var a="qx.bom.element.Dataset",b="data-",c="^data-(.*)";qx.Bootstrap.define(a,{statics:{set:function(e,name,d){if(e.dataset){name=qx.lang.String.camelCase(name);if((d===null)||(d==undefined)){delete e.dataset[name];}else {e.dataset[name]=d;};}else {if(d===undefined){d=null;};qx.bom.element.Attribute.set(e,b+qx.lang.String.hyphenate(name),d);};},get:function(g,name){if(g.dataset){name=qx.lang.String.camelCase(name);return (!g.dataset[name]?undefined:g.dataset[name]);}else {var f=b+qx.lang.String.hyphenate(name);return g.hasAttribute(f)?qx.bom.element.Attribute.get(g,f):undefined;};},getAll:function(l){if(l.dataset){return l.dataset;}else {var h={},j=l.attributes;for(var i=0;i<j.length;i++ ){if(j[i].name.match(RegExp(c))){var k=RegExp.$1;h[qx.lang.String.camelCase(k)]=l.getAttribute(j[i].name);};};return h;};},hasData:function(m){return Object.keys(qxWeb(m).getAllData()).length>0;},remove:function(n,name){this.set(n,name,undefined);}}});})();(function(){var b="function",c="html.video.h264",d="html.element.contains",f='video/ogg; codecs="theora, vorbis"',g="qxtest",h="html.console",i="html.xul",j="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",k="html.video.ogg",l="http://www.w3.org/TR/SVG11/feature#BasicStructure",m="html.storage.local",n="div",o="qx.bom.client.Html",p="getSelection",q='audio',r='video/mp4; codecs="avc1.42E01E, mp4a.40.2"',s="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",t="html.audio",u="video",w="url(#default#VML)",x="head",y="audio",z="audio/mpeg",A="org.w3c.dom.svg",B="html.classlist",C="html.svg",D="html.video",E="html.geolocation",F="DOMTokenList",G="html.storage.session",H="1.1",I="html.history.state",J="object",K="html.image.naturaldimensions",L="html.audio.aif",M="audio/x-wav",N='<v:shape id="vml_flag1" adj="1" />',O="html.node.isequalnode",P="html.canvas",Q="audio/ogg",R="",S="html.storage.userdata",T="number",U="html.element.compareDocumentPosition",V="audio/x-aiff",W="html.audio.au",X="img",Y="html.selection",bD="selection",bE="html.xpath",bF="$qx_check",bz="test",bA='video',bB="span",bC="html.element.textcontent",bK="geolocation",bL="html.audio.mp3",bT="html.vml",bW="undefined",bG="html.audio.ogg",bH="none",bI="label",bJ='video/webm; codecs="vp8, vorbis"',bO="html.dataurl",bX="html.webworker",bP="html.dataset",bQ="1.0",bU="html.audio.wav",bM="html.filereader",bV="audio/basic",bN="display",bR="html.video.webm",bS="#default#userdata";qx.Bootstrap.define(o,{statics:{getWebWorker:function(){return window.Worker!=null;},getFileReader:function(){return window.FileReader!=null;},getGeoLocation:function(){return bK in navigator;},getAudio:function(){return !!document.createElement(q).canPlayType;},getAudioOgg:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(Q);},getAudioMp3:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(z);},getAudioWav:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(M);},getAudioAu:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(bV);},getAudioAif:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(V);},getVideo:function(){return !!document.createElement(bA).canPlayType;},getVideoOgg:function(){if(!qx.bom.client.Html.getVideo()){return R;};var v=document.createElement(u);return v.canPlayType(f);},getVideoH264:function(){if(!qx.bom.client.Html.getVideo()){return R;};var v=document.createElement(u);return v.canPlayType(r);},getVideoWebm:function(){if(!qx.bom.client.Html.getVideo()){return R;};var v=document.createElement(u);return v.canPlayType(bJ);},getLocalStorage:function(){try{window.localStorage.setItem(bF,bz);window.localStorage.removeItem(bF);return true;}catch(bY){return false;};},getSessionStorage:function(){try{window.sessionStorage.setItem(bF,bz);window.sessionStorage.removeItem(bF);return true;}catch(ca){return false;};},getUserDataStorage:function(){var cb=document.createElement(n);cb.style[bN]=bH;document.getElementsByTagName(x)[0].appendChild(cb);var cc=false;try{cb.addBehavior(bS);cb.load(g);cc=true;}catch(e){};document.getElementsByTagName(x)[0].removeChild(cb);return cc;},getClassList:function(){return !!(document.documentElement.classList&&qx.Bootstrap.getClass(document.documentElement.classList)===F);},getXPath:function(){return !!document.evaluate;},getXul:function(){try{document.createElementNS(j,bI);return true;}catch(e){return false;};},getSvg:function(){return document.implementation&&document.implementation.hasFeature&&(document.implementation.hasFeature(A,bQ)||document.implementation.hasFeature(l,H));},getVml:function(){var cd=document.createElement(n);document.body.appendChild(cd);cd.innerHTML=N;cd.firstChild.style.behavior=w;var ce=typeof cd.firstChild.adj==J;document.body.removeChild(cd);return ce;},getCanvas:function(){return !!window.CanvasRenderingContext2D;},getDataUrl:function(cf){var cg=new Image();cg.onload=cg.onerror=function(){window.setTimeout(function(){cf.call(null,(cg.width==1&&cg.height==1));},0);};cg.src=s;},getDataset:function(){return !!document.documentElement.dataset;},getContains:function(){return (typeof document.documentElement.contains!==bW);},getCompareDocumentPosition:function(){return (typeof document.documentElement.compareDocumentPosition===b);},getTextContent:function(){var ch=document.createElement(bB);return (typeof ch.textContent!==bW);},getConsole:function(){return typeof window.console!==bW;},getNaturalDimensions:function(){var ci=document.createElement(X);return typeof ci.naturalHeight===T&&typeof ci.naturalWidth===T;},getHistoryState:function(){return (typeof window.onpopstate!==bW&&typeof window.history.replaceState!==bW&&typeof window.history.pushState!==bW);},getSelection:function(){if(typeof window.getSelection===b){return p;};if(typeof document.selection===J){return bD;};return null;},getIsEqualNode:function(){return typeof document.documentElement.isEqualNode===b;}},defer:function(cj){qx.core.Environment.add(bX,cj.getWebWorker);qx.core.Environment.add(bM,cj.getFileReader);qx.core.Environment.add(E,cj.getGeoLocation);qx.core.Environment.add(t,cj.getAudio);qx.core.Environment.add(bG,cj.getAudioOgg);qx.core.Environment.add(bL,cj.getAudioMp3);qx.core.Environment.add(bU,cj.getAudioWav);qx.core.Environment.add(W,cj.getAudioAu);qx.core.Environment.add(L,cj.getAudioAif);qx.core.Environment.add(D,cj.getVideo);qx.core.Environment.add(k,cj.getVideoOgg);qx.core.Environment.add(c,cj.getVideoH264);qx.core.Environment.add(bR,cj.getVideoWebm);qx.core.Environment.add(m,cj.getLocalStorage);qx.core.Environment.add(G,cj.getSessionStorage);qx.core.Environment.add(S,cj.getUserDataStorage);qx.core.Environment.add(B,cj.getClassList);qx.core.Environment.add(bE,cj.getXPath);qx.core.Environment.add(i,cj.getXul);qx.core.Environment.add(P,cj.getCanvas);qx.core.Environment.add(C,cj.getSvg);qx.core.Environment.add(bT,cj.getVml);qx.core.Environment.add(bP,cj.getDataset);qx.core.Environment.addAsync(bO,cj.getDataUrl);qx.core.Environment.add(d,cj.getContains);qx.core.Environment.add(U,cj.getCompareDocumentPosition);qx.core.Environment.add(bC,cj.getTextContent);qx.core.Environment.add(h,cj.getConsole);qx.core.Environment.add(K,cj.getNaturalDimensions);qx.core.Environment.add(I,cj.getHistoryState);qx.core.Environment.add(Y,cj.getSelection);qx.core.Environment.add(O,cj.getIsEqualNode);}});})();(function(){var a="readOnly",b="accessKey",c="qx.bom.element.Attribute",d="rowSpan",e="vAlign",f="className",g="textContent",h="htmlFor",i="longDesc",j="cellSpacing",k="frameBorder",l="",m="useMap",n="innerText",o="innerHTML",p="tabIndex",q="dateTime",r="maxLength",s="html.element.textcontent",t="mshtml",u="engine.name",v="cellPadding",w="browser.documentmode",x="colSpan",y="undefined";qx.Bootstrap.define(c,{statics:{__hints:{names:{"class":f,"for":h,html:o,text:qx.core.Environment.get(s)?g:n,colspan:x,rowspan:d,valign:e,datetime:q,accesskey:b,tabindex:p,maxlength:r,readonly:a,longdesc:i,cellpadding:v,cellspacing:j,frameborder:k,usemap:m},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,allowTransparency:1},property:{$$html:1,$$widget: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},qxProperties:{$$widget:1,$$html:1},propertyDefault:{disabled:false,checked:false,readOnly:false,multiple:false,selected:false,value:l,className:l,innerHTML:l,innerText:l,textContent:l,htmlFor:l,tabIndex:0,maxLength:qx.core.Environment.select(u,{"mshtml":2147483647,"webkit":524288,"default":-1})},removeableProperties:{disabled:1,multiple:1,maxLength:1}},get:function(B,name){var z=this.__hints;var A;name=z.names[name]||name;if(z.property[name]){A=B[name];if(typeof z.propertyDefault[name]!==y&&A==z.propertyDefault[name]){if(typeof z.bools[name]===y){return null;}else {return A;};};}else {A=B.getAttribute(name);if(z.bools[name]&&!(qx.core.Environment.get(u)==t&&parseInt(qx.core.Environment.get(w),10)<=8)){return qx.Bootstrap.isString(A);};};if(z.bools[name]){return !!A;};return A;},set:function(E,name,D){if(typeof D===y){return;};var C=this.__hints;name=C.names[name]||name;if(C.bools[name]&&!qx.lang.Type.isBoolean(D)){D=qx.lang.Type.isString(D);};if(C.property[name]&&(!(E[name]===undefined)||C.qxProperties[name])){if(D==null){if(C.removeableProperties[name]){E.removeAttribute(name);return;}else if(typeof C.propertyDefault[name]!==y){D=C.propertyDefault[name];};};E[name]=D;}else {if(D===true){E.setAttribute(name,name);}else if(D===false||D===null){E.removeAttribute(name);}else {E.setAttribute(name,D);};};}}});})();(function(){var a="rim_tabletos",b="10.1",c="Darwin",d="10.3",e="os.version",f="10.7",g="2003",h=")",i="iPhone",j="android",k="unix",l="ce",m="7",n="SymbianOS",o="10.5",p="os.name",q="10.9",r="|",s="MacPPC",t="95",u="iPod",v="10.8",w="\.",x="Win64",y="linux",z="me",A="10.2",B="Macintosh",C="Android",D="Windows",E="98",F="ios",G="vista",H="8",I="blackberry",J="2000",K="8.1",L="(",M="",N="win",O="Linux",P="10.6",Q="BSD",R="10.0",S="10.4",T="Mac OS X",U="iPad",V="X11",W="xp",X="symbian",Y="qx.bom.client.OperatingSystem",bo="g",bp="Win32",bq="osx",bk="webOS",bl="RIM Tablet OS",bm="BlackBerry",bn="nt4",br=".",bs="MacIntel",bt="webos";qx.Bootstrap.define(Y,{statics:{getName:function(){if(!navigator){return M;};var bu=navigator.platform||M;var bv=navigator.userAgent||M;if(bu.indexOf(D)!=-1||bu.indexOf(bp)!=-1||bu.indexOf(x)!=-1){return N;}else if(bu.indexOf(B)!=-1||bu.indexOf(s)!=-1||bu.indexOf(bs)!=-1||bu.indexOf(T)!=-1){return bq;}else if(bv.indexOf(bl)!=-1){return a;}else if(bv.indexOf(bk)!=-1){return bt;}else if(bu.indexOf(u)!=-1||bu.indexOf(i)!=-1||bu.indexOf(U)!=-1){return F;}else if(bv.indexOf(C)!=-1){return j;}else if(bu.indexOf(O)!=-1){return y;}else if(bu.indexOf(V)!=-1||bu.indexOf(Q)!=-1||bu.indexOf(c)!=-1){return k;}else if(bu.indexOf(n)!=-1){return X;}else if(bu.indexOf(bm)!=-1){return I;};return M;},__ids:{"Windows NT 6.3":K,"Windows NT 6.2":H,"Windows NT 6.1":m,"Windows NT 6.0":G,"Windows NT 5.2":g,"Windows NT 5.1":W,"Windows NT 5.0":J,"Windows 2000":J,"Windows NT 4.0":bn,"Win 9x 4.90":z,"Windows CE":l,"Windows 98":E,"Win98":E,"Windows 95":t,"Win95":t,"Mac OS X 10_9":q,"Mac OS X 10.9":q,"Mac OS X 10_8":v,"Mac OS X 10.8":v,"Mac OS X 10_7":f,"Mac OS X 10.7":f,"Mac OS X 10_6":P,"Mac OS X 10.6":P,"Mac OS X 10_5":o,"Mac OS X 10.5":o,"Mac OS X 10_4":S,"Mac OS X 10.4":S,"Mac OS X 10_3":d,"Mac OS X 10.3":d,"Mac OS X 10_2":A,"Mac OS X 10.2":A,"Mac OS X 10_1":b,"Mac OS X 10.1":b,"Mac OS X 10_0":R,"Mac OS X 10.0":R},getVersion:function(){var bw=qx.bom.client.OperatingSystem.__getVersionForDesktopOs(navigator.userAgent);if(bw==null){bw=qx.bom.client.OperatingSystem.__getVersionForMobileOs(navigator.userAgent);};if(bw!=null){return bw;}else {return M;};},__getVersionForDesktopOs:function(bx){var bA=[];for(var bz in qx.bom.client.OperatingSystem.__ids){bA.push(bz);};var bB=new RegExp(L+bA.join(r).replace(/\./g,w)+h,bo);var by=bB.exec(bx);if(by&&by[1]){return qx.bom.client.OperatingSystem.__ids[by[1]];};return null;},__getVersionForMobileOs:function(bF){var bG=bF.indexOf(C)!=-1;var bC=bF.match(/(iPad|iPhone|iPod)/i)?true:false;if(bG){var bE=new RegExp(/ Android (\d+(?:\.\d+)+)/i);var bH=bE.exec(bF);if(bH&&bH[1]){return bH[1];};}else if(bC){var bI=new RegExp(/(CPU|iPhone|iPod) OS (\d+)_(\d+)(?:_(\d+))*\s+/);var bD=bI.exec(bF);if(bD&&bD[2]&&bD[3]){if(bD[4]){return bD[2]+br+bD[3]+br+bD[4];}else {return bD[2]+br+bD[3];};};};return null;}},defer:function(bJ){qx.core.Environment.add(p,bJ.getName);qx.core.Environment.add(e,bJ.getVersion);}});})();(function(){var a="CSS1Compat",b="IEMobile",c=" OPR/",d="msie",e="android",f="operamini",g="gecko",h="maple",i="AdobeAIR|Titanium|Fluid|Chrome|Android|Epiphany|Konqueror|iCab|iPad|iPhone|OmniWeb|Maxthon|Pre|PhantomJS|Mobile Safari|Safari",j="browser.quirksmode",k="browser.name",l="trident",m="mobile chrome",n=")(/| )([0-9]+\.[0-9])",o="iemobile",p="prism|Fennec|Camino|Kmeleon|Galeon|Netscape|SeaMonkey|Namoroka|Firefox",q="IEMobile|Maxthon|MSIE|Trident",r="opera mobi",s="Mobile Safari",t="Maple",u="operamobile",v="ie",w="mobile safari",x="qx.bom.client.Browser",y="(Maple )([0-9]+\.[0-9]+\.[0-9]*)",z="",A="opera mini",B="(",C="browser.version",D="opera",E="ce",F=")(/|)?([0-9]+\.[0-9])?",G="mshtml",H="Opera Mini|Opera Mobi|Opera",I="webkit",J="browser.documentmode",K="5.0",L="Mobile/";qx.Bootstrap.define(x,{statics:{getName:function(){var O=navigator.userAgent;var P=new RegExp(B+qx.bom.client.Browser.__agents+F);var N=O.match(P);if(!N){return z;};var name=N[1].toLowerCase();var M=qx.bom.client.Engine.getName();if(M===I){if(name===e){name=m;}else if(O.indexOf(s)!==-1||O.indexOf(L)!==-1){name=w;}else if(O.indexOf(c)!=-1){name=D;};}else if(M===G){if(name===d||name===l){name=v;if(qx.bom.client.OperatingSystem.getVersion()===E){name=o;};var P=new RegExp(b);if(O.match(P)){name=o;};};}else if(M===D){if(name===r){name=u;}else if(name===A){name=f;};}else if(M===g){if(O.indexOf(t)!==-1){name=h;};};return name;},getVersion:function(){var S=navigator.userAgent;var T=new RegExp(B+qx.bom.client.Browser.__agents+n);var Q=S.match(T);if(!Q){return z;};var name=Q[1].toLowerCase();var R=Q[3];if(S.match(/Version(\/| )([0-9]+\.[0-9])/)){R=RegExp.$2;};if(qx.bom.client.Engine.getName()==G){R=qx.bom.client.Engine.getVersion();if(name===d&&qx.bom.client.OperatingSystem.getVersion()==E){R=K;};};if(qx.bom.client.Browser.getName()==h){T=new RegExp(y);Q=S.match(T);if(!Q){return z;};R=Q[2];};if(qx.bom.client.Engine.getName()==I||qx.bom.client.Browser.getName()==D){if(S.match(/OPR(\/| )([0-9]+\.[0-9])/)){R=RegExp.$2;};};return R;},getDocumentMode:function(){if(document.documentMode){return document.documentMode;};return 0;},getQuirksMode:function(){if(qx.bom.client.Engine.getName()==G&&parseFloat(qx.bom.client.Engine.getVersion())>=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;}else {return document.compatMode!==a;};},__agents:{"webkit":i,"gecko":p,"mshtml":q,"opera":H}[qx.bom.client.Engine.getName()]},defer:function(U){qx.core.Environment.add(k,U.getName);qx.core.Environment.add(C,U.getVersion);qx.core.Environment.add(J,U.getDocumentMode);qx.core.Environment.add(j,U.getQuirksMode);}});})();(function(){var a="function",b='loadeddata',c="pointerover",d='pause',f="transitionend",g="gecko",h="browser.name",j='timeupdate',k='canplay',m='loadedmetadata',n="css.transition",o="mobile safari",p="return;",q="browser.documentmode",r="safari",s='play',t='ended',u="",v="qx.bom.Event",w='playing',x="mouseover",y="end-event",z="mshtml",A="engine.name",B='progress',C="webkit",D='volumechange',E='seeked',F="on",G="undefined";qx.Bootstrap.define(v,{statics:{addNativeListener:function(K,J,H,I){if(K.addEventListener){K.addEventListener(J,H,!!I);}else if(K.attachEvent){K.attachEvent(F+J,H);}else if(typeof K[F+J]!=G){K[F+J]=H;}else {{};};},removeNativeListener:function(O,N,L,M){if(O.removeEventListener){O.removeEventListener(N,L,!!M);}else if(O.detachEvent){try{O.detachEvent(F+N,L);}catch(e){if(e.number!==-2146828218){throw e;};};}else if(typeof O[F+N]!=G){O[F+N]=null;}else {{};};},getTarget:function(e){return e.target||e.srcElement;},getRelatedTarget:function(e){if(e.relatedTarget!==undefined){if((qx.core.Environment.get(A)==g)){try{e.relatedTarget&&e.relatedTarget.nodeType;}catch(P){return null;};};return e.relatedTarget;}else if(e.fromElement!==undefined&&(e.type===x||e.type===c)){return e.fromElement;}else if(e.toElement!==undefined){return e.toElement;}else {return null;};},supportsEvent:function(Q,Y){var U=qx.core.Environment.get(h);var V=qx.core.Environment.get(A);if(Y.toLowerCase().indexOf(f)!=-1&&V===z&&qx.core.Environment.get(q)>9){return true;};var W=[o,r];if(V===C&&W.indexOf(U)>-1){var R=[b,B,j,E,k,s,w,d,m,t,D];if(R.indexOf(Y.toLowerCase())>-1){return true;};};if(Q!=window&&Y.toLowerCase().indexOf(f)!=-1){var X=qx.core.Environment.get(n);return (X&&X[y]==Y);};var S=F+Y.toLowerCase();var T=(S in Q);if(!T){T=typeof Q[S]==a;if(!T&&Q.setAttribute){Q.setAttribute(S,p);T=typeof Q[S]==a;Q.removeAttribute(S);};};return T;},getEventName:function(ba,bd){var bb=[u].concat(qx.bom.Style.VENDOR_PREFIXES);for(var i=0,l=bb.length;i<l;i++ ){var bc=bb[i].toLowerCase();if(qx.bom.Event.supportsEvent(ba,bc+bd)){return bc?bc+qx.lang.String.firstUp(bd):bd;};};return null;}}});})();(function(){var a="-",b="qx.bom.Style",c="",d='-',e="Webkit",f="ms",g=":",h=";",j="Moz",k="O",m="string",n="Khtml";qx.Bootstrap.define(b,{statics:{VENDOR_PREFIXES:[e,j,k,f,n],__cssName:{},__supports:null,getPropertyName:function(q){var o=document.documentElement.style;if(o[q]!==undefined){return q;};for(var i=0,l=this.VENDOR_PREFIXES.length;i<l;i++ ){var p=this.VENDOR_PREFIXES[i]+qx.lang.String.firstUp(q);if(o[p]!==undefined){return p;};};return null;},getCssName:function(r){var s=this.__cssName[r];if(!s){s=r.replace(/[A-Z]/g,function(t){return (d+t.charAt(0).toLowerCase());});if((/^ms/.test(s))){s=a+s;};this.__cssName[r]=s;};return s;},getAppliedStyle:function(A,x,z,v){var C=qx.bom.Style.getCssName(x);var w=qx.dom.Node.getWindow(A);var u=(v!==false)?[null].concat(this.VENDOR_PREFIXES):[null];for(var i=0,l=u.length;i<l;i++ ){var y=false;var B=u[i]?a+u[i].toLowerCase()+a+z:z;if(qx.bom.Style.__supports){y=qx.bom.Style.__supports.call(w,C,B);}else {A.style.cssText+=C+g+B+h;y=(typeof A.style[x]==m&&A.style[x]!==c);};if(y){return B;};};return null;}},defer:function(D){if(window.CSS&&window.CSS.supports){qx.bom.Style.__supports=window.CSS.supports.bind(window.CSS);}else if(window.supportsCSS){qx.bom.Style.__supports=window.supportsCSS.bind(window);};}});})();(function(){var b="qx.dom.Node",c="";qx.Bootstrap.define(b,{statics:{ELEMENT:1,TEXT:3,DOCUMENT:9,DOCUMENT_FRAGMENT:11,getDocument:function(d){return d.nodeType===this.DOCUMENT?d:d.ownerDocument||d.document;},getWindow:function(e){if(e.nodeType==null){return e;};if(e.nodeType!==this.DOCUMENT){e=e.ownerDocument;};return e.defaultView||e.parentWindow;},getBodyElement:function(f){return this.getDocument(f).body;},isNode:function(g){return !!(g&&g.nodeType!=null);},isElement:function(h){return !!(h&&h.nodeType===this.ELEMENT);},isDocument:function(j){return !!(j&&j.nodeType===this.DOCUMENT);},isDocumentFragment:function(k){return !!(k&&k.nodeType===this.DOCUMENT_FRAGMENT);},isText:function(l){return !!(l&&l.nodeType===this.TEXT);},isWindow:function(m){return !!(m&&m.history&&m.location&&m.document);},isNodeName:function(n,o){if(!o||!n||!n.nodeName){return false;};return o.toLowerCase()==qx.dom.Node.getName(n);},getName:function(p){if(!p||!p.nodeName){return null;};return p.nodeName.toLowerCase();},getText:function(q){if(!q||!q.nodeType){return null;};switch(q.nodeType){case 1:var i,a=[],r=q.childNodes,length=r.length;for(i=0;i<length;i++ ){a[i]=this.getText(r[i]);};return a.join(c);case 2:case 3:case 4:return q.nodeValue;};return null;},isBlockNode:function(s){if(!qx.dom.Node.isElement(s)){return false;};s=qx.dom.Node.getName(s);return /^(body|form|textarea|fieldset|ul|ol|dl|dt|dd|li|div|hr|p|h[1-6]|quote|pre|table|thead|tbody|tfoot|tr|td|th|iframe|address|blockquote)$/.test(s);}}});})();(function(){var a="qx.bom.client.CssTransition",b="E",c="transitionEnd",d="e",e="nd",f="transition",g="css.transition",h="Trans";qx.Bootstrap.define(a,{statics:{getTransitionName:function(){return qx.bom.Style.getPropertyName(f);},getSupport:function(){var name=qx.bom.client.CssTransition.getTransitionName();if(!name){return null;};var i=qx.bom.Event.getEventName(window,c);i=i==c?i.toLowerCase():i;if(!i){i=name+(name.indexOf(h)>0?b:d)+e;};return {name:name,"end-event":i};}},defer:function(j){qx.core.Environment.add(g,j.getSupport);}});})();(function(){var a="ipod",b="pc",c="ps3",d=")",e="device.type",f="psp",g="wii",h="xbox",i="\.",j="ipad",k="ds",l="(",m="mobile",n="tablet",o="ontouchstart",p="g",q="iphone",r="|",s="qx.bom.client.Device",t="desktop",u="device.name",v="device.touch",w="undefined",x="device.pixelRatio";qx.Bootstrap.define(s,{statics:{__ids:{"iPod":a,"iPad":j,"iPhone":q,"PSP":f,"PLAYSTATION 3":c,"Nintendo Wii":g,"Nintendo DS":k,"XBOX":h,"Xbox":h},getName:function(){var A=[];for(var z in qx.bom.client.Device.__ids){A.push(z);};var B=new RegExp(l+A.join(r).replace(/\./g,i)+d,p);var y=B.exec(navigator.userAgent);if(y&&y[1]){return qx.bom.client.Device.__ids[y[1]];};return b;},getType:function(){return qx.bom.client.Device.detectDeviceType(navigator.userAgent);},detectDeviceType:function(C){if(qx.bom.client.Device.detectTabletDevice(C)){return n;}else if(qx.bom.client.Device.detectMobileDevice(C)){return m;};return t;},detectMobileDevice:function(D){return /android.+mobile|ip(hone|od)|bada\/|blackberry|BB10|maemo|opera m(ob|in)i|fennec|NetFront|phone|psp|symbian|IEMobile|windows (ce|phone)|xda/i.test(D);},detectTabletDevice:function(F){var G=(/MSIE 10/i.test(F))&&(/ARM/i.test(F))&&!(/windows phone/i.test(F));var E=(!(/android.+mobile|Tablet PC/i.test(F))&&(/Android|ipad|tablet|playbook|silk|kindle|psp/i.test(F)));return G||E;},getDevicePixelRatio:function(){if(typeof window.devicePixelRatio!==w){return window.devicePixelRatio;};return 1;},getTouch:function(){return ((o in window)||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0);}},defer:function(H){qx.core.Environment.add(u,H.getName);qx.core.Environment.add(v,H.getTouch);qx.core.Environment.add(e,H.getType);qx.core.Environment.add(x,H.getDevicePixelRatio);}});})();(function(){var a="mshtml",b="function",c="event.mouseevent",d="pointerEnabled",e="onhashchange",f="event.help",g="mousewheel",h="event.customevent",j="event.mousewheel",k="event.touch",l="wheel",m="DOMMouseScroll",n="msPointerEnabled",o="event.hashchange",p="onhelp",q="documentMode",r="qx.bom.client.Event",s="ontouchstart",t="foo",u="event.mspointer",v="event.dispatchevent";qx.Bootstrap.define(r,{statics:{getTouch:function(){return (s in window);},getMsPointer:function(){if(d in window.navigator){return window.navigator.pointerEnabled;}else if(n in window.navigator){return window.navigator.msPointerEnabled;};return false;},getHelp:function(){return (p in document);},getHashChange:function(){var w=qx.bom.client.Engine.getName();var x=e in window;return (w!==a&&x)||(w===a&&q in document&&document.documentMode>=8&&x);},getDispatchEvent:function(){return typeof document.dispatchEvent==b;},getCustomEvent:function(){if(!window.CustomEvent){return false;};try{new window.CustomEvent(t);return true;}catch(y){return false;};},getMouseEvent:function(){if(!window.MouseEvent){return false;};try{new window.MouseEvent(t);return true;}catch(z){return false;};},getMouseWheel:function(A){if(!A){A=window;};var D=[A,A.document,A.document.body];var C=A;var B=m;for(var i=0;i<D.length;i++ ){if(qx.bom.Event.supportsEvent(D[i],l)){B=l;C=D[i];break;};if(qx.bom.Event.supportsEvent(D[i],g)){B=g;C=D[i];break;};};return {type:B,target:C};}},defer:function(E){qx.core.Environment.add(k,E.getTouch);qx.core.Environment.add(c,E.getMouseEvent);qx.core.Environment.add(v,E.getDispatchEvent);qx.core.Environment.add(h,E.getCustomEvent);qx.core.Environment.add(u,E.getMsPointer);qx.core.Environment.add(f,E.getHelp);qx.core.Environment.add(o,E.getHashChange);qx.core.Environment.add(j,E.getMouseWheel);}});})();(function(){var a="engine.name",b="event.mspointer",c="device.type",d="engine.version",e="qx.module.Environment",f="browser.version",g="event.touch",h="device.name",i="browser.quirksmode",j="browser.name",k="browser.documentmode";qx.Bootstrap.define(e,{statics:{get:function(l){return qx.core.Environment.get(l);},add:function(m,n){qx.core.Environment.add(m,n);return this;}},defer:function(o){qx.core.Environment.get(j);qx.core.Environment.get(f);qx.core.Environment.get(i);qx.core.Environment.get(k);qx.core.Environment.get(a);qx.core.Environment.get(d);qx.core.Environment.get(h);qx.core.Environment.get(c);qx.core.Environment.get(g);qx.core.Environment.get(b);qxWeb.$attachStatic({"env":{get:o.get,add:o.add}});}});})();(function(){var a="qx.lang.normalize.Function",b="ecmascript.function.bind",c="function",d="Function.prototype.bind called on incompatible ";qx.Bootstrap.define(a,{statics:{bind:function(i){var e=Array.prototype.slice;var h=this;if(typeof h!=c){throw new TypeError(d+h);};var f=e.call(arguments,1);var g=function(){if(this instanceof g){var F=function(){};F.prototype=h.prototype;var self=new F;var j=h.apply(self,f.concat(e.call(arguments)));if(Object(j)===j){return j;};return self;}else {return h.apply(i,f.concat(e.call(arguments)));};};return g;}},defer:function(k){if(!qx.core.Environment.get(b)){Function.prototype.bind=k.bind;};}});})();(function(){var a="ecmascript.error.toString",b="qx.lang.normalize.Error",c=": ",d="Error",e="";qx.Bootstrap.define(b,{statics:{toString:function(){var name=this.name||d;var f=this.message||e;if(name===e&&f===e){return d;};if(name===e){return f;};if(f===e){return name;};return name+c+f;}},defer:function(g){if(!qx.core.Environment.get(a)){Error.prototype.toString=g.toString;};}});})();(function(){var a="qx.module.Polyfill";qx.Bootstrap.define(a,{});})();(function(){var a="mshtml",b="engine.name",c="*",d="Array",f="pointerout",g="pointerover",h="load",n="left",o="qx.module.Event",p="undefined",q="DOMContentLoaded",r="browser.documentmode",s="complete";qx.Bootstrap.define(o,{statics:{__normalizations:{},__hooks:{on:{},off:{}},on:function(C,A,B,u){for(var i=0;i<this.length;i++ ){var t=this[i];var w=B||qxWeb(t);var v=qx.module.Event.__hooks.on;var D=v[c]||[];if(v[C]){D=D.concat(v[C]);};for(var j=0,m=D.length;j<m;j++ ){D[j](t,C,A,B);};var z=function(E,event){var G=qx.module.Event.__normalizations;var F=G[c]||[];if(G[C]){F=F.concat(G[C]);};for(var x=0,y=F.length;x<y;x++ ){event=F[x](event,E,C);};A.apply(this,[event]);}.bind(w,t);z.original=A;if(qx.bom.Event.supportsEvent(t,C)){qx.bom.Event.addNativeListener(t,C,z,u);};if(!t.$$emitter){t.$$emitter=new qx.event.Emitter();};t.$$lastlistenerId=t.$$emitter.on(C,z,w);t.$$emitter.getEntryById(t.$$lastlistenerId).useCapture=!!u;if(!t.__listener){t.__listener={};};if(!t.__listener[C]){t.__listener[C]={};};t.__listener[C][t.$$lastlistenerId]=z;if(!B){if(!t.__ctx){t.__ctx={};};t.__ctx[t.$$lastlistenerId]=w;};};return this;},off:function(R,J,O,I){var N=(J===null&&O===null);for(var j=0;j<this.length;j++ ){var H=this[j];if(!H.__listener){continue;};var T=[];if(R!==null){T.push(R);}else {for(var L in H.__listener){T.push(L);};};for(var i=0,l=T.length;i<l;i++ ){for(var M in H.__listener[T[i]]){var Q=H.__listener[T[i]][M];if(N||Q==J||Q.original==J){var K=typeof H.__ctx!==p&&H.__ctx[M];var U;if(!O&&K){U=H.__ctx[M];};H.$$emitter.off(T[i],Q,U||O);if(N||Q.original==J){qx.bom.Event.removeNativeListener(H,T[i],Q,I);};delete H.__listener[T[i]][M];if(K){delete H.__ctx[M];};};};var P=qx.module.Event.__hooks.off;var S=P[c]||[];if(P[R]){S=S.concat(P[R]);};for(var k=0,m=S.length;k<m;k++ ){S[k](H,R,J,O);};};};return this;},allOff:function(V){return this.off(V||null,null,null);},offById:function(X){var W=this[0].$$emitter.getEntryById(X);return this.off(W.name,W.listener.original,W.ctx,W.useCapture);},emit:function(Y,ba){for(var j=0;j<this.length;j++ ){var bb=this[j];if(bb.$$emitter){bb.$$emitter.emit(Y,ba);};};return this;},once:function(bd,bc,bf){var self=this;var be=function(bg){self.off(bd,be,bf);bc.call(this,bg);};this.on(bd,be,bf);return this;},hasListener:function(bk,bi,bj){if(!this[0]||!this[0].$$emitter||!this[0].$$emitter.getListeners()[bk]){return false;};if(bi){var bl=this[0].$$emitter.getListeners()[bk];for(var i=0;i<bl.length;i++ ){var bh=false;if(bl[i].listener==bi){bh=true;};if(bl[i].listener.original&&bl[i].listener.original==bi){bh=true;};if(bh){if(bj!==undefined){if(bl[i].ctx===bj){return true;};}else {return true;};};};return false;};return this[0].$$emitter.getListeners()[bk].length>0;},copyEventsTo:function(bs){var bq=this.concat();var br=bs.concat();for(var i=bq.length-1;i>=0;i-- ){var bn=bq[i].getElementsByTagName(c);for(var j=0;j<bn.length;j++ ){bq.push(bn[j]);};};for(var i=br.length-1;i>=0;i-- ){var bn=br[i].getElementsByTagName(c);for(var j=0;j<bn.length;j++ ){br.push(bn[j]);};};br.forEach(function(bt){bt.$$emitter=null;});for(var i=0;i<bq.length;i++ ){var bm=bq[i];if(!bm.$$emitter){continue;};var bo=bm.$$emitter.getListeners();for(var name in bo){for(var j=bo[name].length-1;j>=0;j-- ){var bp=bo[name][j].listener;if(bp.original){bp=bp.original;};qxWeb(br[i]).on(name,bp,bo[name][j].ctx);};};};},__isReady:false,ready:function(bu){if(document.readyState===s){window.setTimeout(bu,1);return;};var bv=function(){qx.module.Event.__isReady=true;bu();};qxWeb(window).on(h,bv);var bw=function(){qxWeb(window).off(h,bv);bu();};if(qxWeb.env.get(b)!==a||qxWeb.env.get(r)>8){qx.bom.Event.addNativeListener(document,q,bw);}else {var bx=function(){if(qx.module.Event.__isReady){return;};try{document.documentElement.doScroll(n);if(document.body){bw();};}catch(by){window.setTimeout(bx,100);};};bx();};},hover:function(bz,bA){this.on(g,bz,this);if(qx.lang.Type.isFunction(bA)){this.on(f,bA,this);};return this;},onMatchTarget:function(bC,bD,bF,bE){bE=bE!==undefined?bE:this;var bB=function(e){var bG=qxWeb(e.getTarget());if(bG.is(bD)){bF.call(bE,bG,qxWeb.object.clone(e));};};this.forEach(function(bH){var bI={type:bC,listener:bB,callback:bF,context:bE};if(!bH.$$matchTargetInfo){bH.$$matchTargetInfo=[];};bH.$$matchTargetInfo.push(bI);});this.on(bC,bB);return this;},offMatchTarget:function(bJ,bK,bM,bL){bL=bL!==undefined?bL:this;this.forEach(function(bN){if(bN.$$matchTargetInfo&&qxWeb.type.get(bN.$$matchTargetInfo)==d){var bO=bN.$$matchTargetInfo;for(var i=bO.length-1;i>=0;i-- ){var bP=bO[i];if(bP.type==bJ&&bP.callback==bM&&bP.context==bL){this.off(bJ,bP.listener);bO.splice(i,1);};};if(bO.length===0){bN.$$matchTargetInfo=null;};};},this);return this;},$registerNormalization:function(bT,bQ){if(!qx.lang.Type.isArray(bT)){bT=[bT];};var bR=qx.module.Event.__normalizations;for(var i=0,l=bT.length;i<l;i++ ){var bS=bT[i];if(qx.lang.Type.isFunction(bQ)){if(!bR[bS]){bR[bS]=[];};bR[bS].push(bQ);};};},$unregisterNormalization:function(bX,bU){if(!qx.lang.Type.isArray(bX)){bX=[bX];};var bV=qx.module.Event.__normalizations;for(var i=0,l=bX.length;i<l;i++ ){var bW=bX[i];if(bV[bW]){qx.lang.Array.remove(bV[bW],bU);};};},$getRegistry:function(){return qx.module.Event.__normalizations;},$registerEventHook:function(ce,cb,ca){if(!qx.lang.Type.isArray(ce)){ce=[ce];};var cc=qx.module.Event.__hooks.on;for(var i=0,l=ce.length;i<l;i++ ){var cd=ce[i];if(qx.lang.Type.isFunction(cb)){if(!cc[cd]){cc[cd]=[];};cc[cd].push(cb);};};if(!ca){return;};var bY=qx.module.Event.__hooks.off;for(var i=0,l=ce.length;i<l;i++ ){var cd=ce[i];if(qx.lang.Type.isFunction(ca)){if(!bY[cd]){bY[cd]=[];};bY[cd].push(ca);};};},$unregisterEventHook:function(ck,ch,cg){if(!qx.lang.Type.isArray(ck)){ck=[ck];};var ci=qx.module.Event.__hooks.on;for(var i=0,l=ck.length;i<l;i++ ){var cj=ck[i];if(ci[cj]){qx.lang.Array.remove(ci[cj],ch);};};if(!cg){return;};var cf=qx.module.Event.__hooks.off;for(var i=0,l=ck.length;i<l;i++ ){var cj=ck[i];if(cf[cj]){qx.lang.Array.remove(cf[cj],cg);};};},$getHookRegistry:function(){return qx.module.Event.__hooks;}},defer:function(cl){qxWeb.$attach({"on":cl.on,"off":cl.off,"allOff":cl.allOff,"offById":cl.offById,"once":cl.once,"emit":cl.emit,"hasListener":cl.hasListener,"copyEventsTo":cl.copyEventsTo,"hover":cl.hover,"onMatchTarget":cl.onMatchTarget,"offMatchTarget":cl.offMatchTarget});qxWeb.$attachStatic({"ready":cl.ready,"$registerEventNormalization":cl.$registerNormalization,"$unregisterEventNormalization":cl.$unregisterNormalization,"$getEventNormalizationRegistry":cl.$getRegistry,"$registerEventHook":cl.$registerEventHook,"$unregisterEventHook":cl.$unregisterEventHook,"$getEventHookRegistry":cl.$getHookRegistry});}});})();(function(){var a="qx.module.event.PointerHandler",b="pointerup",c="event.dispatchevent",d="gesturemove",e="pointerover",f="gesturebegin",g="pointerdown",h="on",i="pointermove",j="gesturefinish",k="qx.event.handler.Pointer",l="gesturecancel",m="pointercancel",n="pointerout";qx.Bootstrap.define(a,{statics:{TYPES:[i,e,n,g,b,m,f,d,j,l],register:function(p,o){if(!p[h+o]){p[h+o]=true;};if(!p.$$pointerHandler){if(!qx.core.Environment.get(c)){if(!p.$$emitter){p.$$emitter=new qx.event.Emitter();};};p.$$pointerHandler=new qx.event.handler.PointerCore(p,p.$$emitter);};},unregister:function(s){if(s.$$pointerHandler){if(s.$$pointerHandler.classname===k){return;};var q=s.$$emitter.getListeners();for(var r in q){if(qx.module.event.PointerHandler.TYPES.indexOf(r)!==-1){if(q[r].length>0){return;};};};s.$$pointerHandler.dispose();s.$$pointerHandler=undefined;};}},defer:function(t){qxWeb.$registerEventHook(t.TYPES,t.register,t.unregister);}});})();(function(){var a="qx.event.Emitter",b="*";qx.Bootstrap.define(a,{extend:Object,statics:{__storage:[]},members:{__listener:null,__any:null,on:function(name,c,d){var e=qx.event.Emitter.__storage.length;this.__getStorage(name).push({listener:c,ctx:d,id:e,name:name});qx.event.Emitter.__storage.push({name:name,listener:c,ctx:d});return e;},once:function(name,f,g){var h=qx.event.Emitter.__storage.length;this.__getStorage(name).push({listener:f,ctx:g,once:true,id:h});qx.event.Emitter.__storage.push({name:name,listener:f,ctx:g});return h;},off:function(name,m,k){var l=this.__getStorage(name);for(var i=l.length-1;i>=0;i-- ){var n=l[i];if(n.listener==m&&n.ctx==k){l.splice(i,1);qx.event.Emitter.__storage[n.id]=null;return n.id;};};return null;},offById:function(p){var o=qx.event.Emitter.__storage[p];if(o){this.off(o.name,o.listener,o.ctx);};return null;},addListener:function(name,q,r){return this.on(name,q,r);},addListenerOnce:function(name,s,t){return this.once(name,s,t);},removeListener:function(name,u,v){this.off(name,u,v);},removeListenerById:function(w){this.offById(w);},emit:function(name,A){var x=this.__getStorage(name).concat();var y=[];for(var i=0;i<x.length;i++ ){var z=x[i];z.listener.call(z.ctx,A);if(z.once){y.push(z);};};y.forEach(function(B){var C=this.__getStorage(name);var D=C.indexOf(B);C.splice(D,1);}.bind(this));x=this.__getStorage(b);for(var i=x.length-1;i>=0;i-- ){var z=x[i];z.listener.call(z.ctx,A);};},getListeners:function(){return this.__listener;},getEntryById:function(F){for(var name in this.__listener){var E=this.__listener[name];for(var i=0,j=E.length;i<j;i++ ){if(E[i].id===F){return E[i];};};};},__getStorage:function(name){if(this.__listener==null){this.__listener={};};if(this.__listener[name]==null){this.__listener[name]=[];};return this.__listener[name];}}});})();(function(){var a="touchmove",b="mousedown",c="event.dispatchevent",d="MSPointerDown",e="gesturemove",f="pointerover",g="touch",h="mouseout",k="ms",m="pointercancel",n="pointerleave",o="touchstart",p="pointerenter",q="mouse",r="event.mspointer",s="mousemove",t="MSPointerCancel",u="gesturefinish",v="browser.documentmode",w="pointerup",z="touchend",A="mouseover",B="pointerdown",C="MSPointerUp",D="device.touch",E="MSPointerOver",F="mshtml",G="engine.name",H="mouseup",I="touchcancel",J="contextmenu",K="gesturecancel",L="MSPointerMove",M="MSPointerOut",N="gesturebegin",O="qx.event.handler.PointerCore",P="pointermove",Q="pointerout";qx.Bootstrap.define(O,{extend:Object,statics:{MOUSE_TO_POINTER_MAPPING:{mousedown:B,mouseup:w,mousemove:P,mouseout:Q,mouseover:f},TOUCH_TO_POINTER_MAPPING:{touchstart:B,touchend:w,touchmove:P,touchcancel:m},MSPOINTER_TO_POINTER_MAPPING:{MSPointerDown:B,MSPointerMove:P,MSPointerUp:w,MSPointerCancel:m,MSPointerLeave:n,MSPointerEnter:p,MSPointerOver:f,MSPointerOut:Q},POINTER_TO_GESTURE_MAPPING:{pointerdown:N,pointerup:u,pointercancel:K,pointermove:e},SIM_MOUSE_DISTANCE:25,SIM_MOUSE_DELAY:2500,__lastTouch:null},construct:function(T,U){this.__defaultTarget=T;this.__emitter=U;this.__eventNames=[];this.__buttonStates=[];this.__activeTouches=[];var S=qx.core.Environment.get(G);var R=parseInt(qx.core.Environment.get(v),10);if(S==F&&R==10){this.__eventNames=[d,L,C,t,E,M];this._initPointerObserver();}else {if(qx.core.Environment.get(r)){this.__nativePointerEvents=true;};this.__eventNames=[B,P,w,m,f,Q];this._initPointerObserver();};if(!qx.core.Environment.get(r)){if(qx.core.Environment.get(D)){this.__eventNames=[o,z,a,I];this._initObserver(this._onTouchEvent);};this.__eventNames=[b,H,s,A,h,J];this._initObserver(this._onMouseEvent);};},members:{__defaultTarget:null,__emitter:null,__eventNames:null,__nativePointerEvents:false,__wrappedListener:null,__lastButtonState:0,__buttonStates:null,__primaryIdentifier:null,__activeTouches:null,_initPointerObserver:function(){this._initObserver(this._onPointerEvent);},_initObserver:function(V,W){this.__wrappedListener=qx.lang.Function.listener(V,this);this.__eventNames.forEach(function(X){if(W&&qx.dom.Node.isDocument(this.__defaultTarget)){if(!this.__defaultTarget.$$emitter){this.__defaultTarget.$$emitter=new qx.event.Emitter();};this.__defaultTarget.$$emitter.on(X,this.__wrappedListener);}else {qx.bom.Event.addNativeListener(this.__defaultTarget,X,this.__wrappedListener);};}.bind(this));},_onPointerEvent:function(bb){if(!qx.core.Environment.get(r)||(qx.core.Environment.get(v)===10&&bb.type.toLowerCase().indexOf(k)==-1)){return;};if(!this.__nativePointerEvents){bb.stopPropagation();};var Y=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[bb.type]||bb.type;var bc=qx.bom.Event.getTarget(bb);var ba=new qx.event.type.dom.Pointer(Y,bb);this._fireEvent(ba,Y,bc);},_onTouchEvent:function(bf){if(bf.$$qxProcessed){return;};bf.$$qxProcessed=true;var bg=qx.event.handler.PointerCore.TOUCH_TO_POINTER_MAPPING[bf.type];var bi=bf.changedTouches;this._determineActiveTouches(bf.type,bi);if(bf.touches.length<this.__activeTouches.length){for(var i=this.__activeTouches.length-1;i>=0;i-- ){var bk=new qx.event.type.dom.Pointer(m,bf,{identifier:this.__activeTouches[i].identifier,target:bf.target,pointerType:g,pointerId:this.__activeTouches[i].identifier+2});this._fireEvent(bk,m,bf.target);};this.__primaryIdentifier=null;this.__activeTouches=[];return;};if(bf.type==o&&this.__primaryIdentifier===null){this.__primaryIdentifier=bi[0].identifier;};for(var i=0,l=bi.length;i<l;i++ ){var bj=bi[i];var bh=bf.view.document.elementFromPoint(bj.clientX,bj.clientY)||bf.target;var be={clientX:bj.clientX,clientY:bj.clientY,pageX:bj.pageX,pageY:bj.pageY,identifier:bj.identifier,screenX:bj.screenX,screenY:bj.screenY,target:bh,pointerType:g,pointerId:bj.identifier+2};if(bf.type==o){var bd=new qx.event.type.dom.Pointer(f,bf,be);this._fireEvent(bd,f,be.target);};if(bj.identifier==this.__primaryIdentifier){be.isPrimary=true;be.button=0;be.buttons=1;qx.event.handler.PointerCore.__lastTouch={"x":bj.clientX,"y":bj.clientY,"time":new Date().getTime()};};var bl=new qx.event.type.dom.Pointer(bg,bf,be);this._fireEvent(bl,bg,be.target);if(bf.type==z||bf.type==I){var bm=new qx.event.type.dom.Pointer(Q,bf,be);this._fireEvent(bm,Q,bf.target);if(this.__primaryIdentifier==bj.identifier){this.__primaryIdentifier=null;};};};},_onMouseEvent:function(bn){if(bn.$$qxProcessed){return;};bn.$$qxProcessed=true;if(this._isSimulatedMouseEvent(bn.clientX,bn.clientY)){return;};if(bn.type==b){this.__buttonStates[bn.which]=1;}else if(bn.type==H){this.__buttonStates[bn.which]=0;};var bs=qx.event.handler.PointerCore.MOUSE_TO_POINTER_MAPPING[bn.type];var bo=qx.bom.Event.getTarget(bn);var bp=qx.lang.Array.sum(this.__buttonStates);var bt={pointerType:q,pointerId:1};if(this.__lastButtonState!=bp&&bp!==0&&this.__lastButtonState!==0){var br=new qx.event.type.dom.Pointer(P,bn,bt);this._fireEvent(br,P,bo);};this.__lastButtonState=bp;if(bn.type==b&&bp>1){return;};if(bn.type==H&&bp>0){return;};if(bn.type==J){this.__buttonStates[bn.which]=0;return;};var bq=new qx.event.type.dom.Pointer(bs,bn,bt);this._fireEvent(bq,bs,bo);},_determineActiveTouches:function(bx,bw){if(bx==o){for(var i=0;i<bw.length;i++ ){this.__activeTouches.push(bw[i]);};}else if(bx==z||bx==I){var bu=[];for(var i=0;i<this.__activeTouches.length;i++ ){var bv=true;for(var j=0;j<bw.length;j++ ){if(this.__activeTouches[i].identifier==bw[j].identifier){bv=false;break;};};if(bv){bu.push(this.__activeTouches[i]);};};this.__activeTouches=bu;};},_isSimulatedMouseEvent:function(x,y){var bz=qx.event.handler.PointerCore.__lastTouch;if(bz){var bA=new Date().getTime()-bz.time;var by=qx.event.handler.PointerCore.SIM_MOUSE_DISTANCE;var bC=Math.abs(x-qx.event.handler.PointerCore.__lastTouch.x);var bB=Math.abs(y-qx.event.handler.PointerCore.__lastTouch.y);if(bA<qx.event.handler.PointerCore.SIM_MOUSE_DELAY){if(bC<by||bB<by){return true;};};};return false;},_stopObserver:function(){for(var i=0;i<this.__eventNames.length;i++ ){qx.bom.Event.removeNativeListener(this.__defaultTarget,this.__eventNames[i],this.__wrappedListener);};},_fireEvent:function(bE,bD,bF){bF=bF||bE.target;bD=bD||bE.type;var bG;if(bD==B||bD==w||bD==P){bG=new qx.event.type.dom.Pointer(qx.event.handler.PointerCore.POINTER_TO_GESTURE_MAPPING[bD],bE);qx.event.type.dom.Pointer.normalize(bG);bG.srcElement=bF;};if(qx.core.Environment.get(c)){if(!this.__nativePointerEvents){bF.dispatchEvent(bE);};if(bG){bF.dispatchEvent(bG);};}else {bE.srcElement=bF;while(bF){if(bF.$$emitter){bE.currentTarget=bF;if(!bE._stopped){bF.$$emitter.emit(bD,bE);};if(bG&&!bG._stopped){bG.currentTarget=bF;bF.$$emitter.emit(bG.type,bG);};};bF=bF.parentNode;};};},dispose:function(){this._stopObserver();this.__defaultTarget=this.__emitter=null;}}});})();(function(){var a="qx.event.type.dom.Custom",b="UIEvents",c="function",d="event.customevent",e="object";qx.Bootstrap.define(a,{extend:Object,statics:{PROPERTIES:{bubbles:false,cancelable:true}},construct:function(f,g,h){this._type=f;this._event=this._createEvent();this._initEvent(g,h);this._event._original=g;this._event.preventDefault=function(){if(this._original.preventDefault){this._original.preventDefault();}else {try{this._original.returnValue=false;}catch(i){};};};if(this._event.stopPropagation){this._event._nativeStopPropagation=this._event.stopPropagation;};this._event.stopPropagation=function(){this._stopped=true;if(this._nativeStopPropagation){this._original.stopPropagation();this._nativeStopPropagation();}else {this._original.cancelBubble=true;};};return this._event;},members:{_type:null,_event:null,_createEvent:function(){var j;if(qx.core.Environment.get(d)){j=new window.CustomEvent(this._type);}else if(typeof document.createEvent==c){j=document.createEvent(b);}else if(typeof document.createEventObject==e){j={};j.type=this._type;};return j;},_initEvent:function(k,m){m=m||{};var l=qx.lang.Object.clone(qx.event.type.dom.Custom.PROPERTIES);for(var n in m){l[n]=m[n];};if(this._event.initEvent){this._event.initEvent(this._type,l.bubbles,l.cancelable);};for(var n in l){this._event[n]=l[n];};}}});})();(function(){var a="bubbles",b="event.mouseevent",c="getScreenLeft",d="getPointerType",e="touch",f="ctrlKey",g="altKey",h="gecko",j="view",k="os.name",m="button",n="string",o="relatedTarget",p="buttons",q="mouse",r="clientX",s="qx.event.type.dom.Pointer",t="UIEvents",u="ios",v="pageY",w="cancelable",x="screenX",y="shiftKey",z="",A="number",B="detail",C="toElement",D="fromElement",E="getViewportLeft",F="function",G="clientY",H="os.version",I="engine.name",J="undefined",K="getViewportTop",L="screenY",M="getScreenTop",N="pen",O="metaKey",P="pageX",Q="object",R="getDocumentTop",S="which",T="getDocumentLeft";qx.Bootstrap.define(s,{extend:qx.event.type.dom.Custom,statics:{MOUSE_PROPERTIES:[a,w,j,B,x,L,r,G,P,v,f,g,y,O,m,S,o,D,C],POINTER_PROPERTIES:{pointerId:1,width:0,height:0,pressure:0.5,tiltX:0,tiltY:0,pointerType:z,isPrimary:false},READONLY_PROPERTIES:[],BIND_METHODS:[d,E,K,T,R,c,M],getPointerType:function(){if(typeof this.pointerType==n){return this.pointerType;};if(typeof this.pointerType==A){if(this.pointerType==this.MSPOINTER_TYPE_MOUSE){return q;};if(this.pointerType==this.MSPOINTER_TYPE_PEN){return N;};if(this.pointerType==this.MSPOINTER_TYPE_TOUCH){return e;};};return z;},getViewportLeft:function(){return this.clientX;},getViewportTop:function(){return this.clientY;},getDocumentLeft:function(){if(this.pageX!==undefined){return this.pageX;}else {var U=qx.dom.Node.getWindow(this.srcElement);return this.clientX+qx.bom.Viewport.getScrollLeft(U);};},getDocumentTop:function(){if(this.pageY!==undefined){return this.pageY;}else {var V=qx.dom.Node.getWindow(this.srcElement);return this.clientY+qx.bom.Viewport.getScrollTop(V);};},getScreenLeft:function(){return this.screenX;},getScreenTop:function(){return this.screenY;},normalize:function(event){var W=qx.event.type.dom.Pointer.BIND_METHODS;for(var i=0,l=W.length;i<l;i++ ){if(typeof event[W[i]]!=F){event[W[i]]=qx.event.type.dom.Pointer[W[i]].bind(event);};};}},construct:function(X,Y,ba){return qx.event.type.dom.Custom.call(this,X,Y,ba);},members:{_createEvent:function(){var bb;if(qx.core.Environment.get(b)){bb=new window.MouseEvent(this._type);}else if(typeof document.createEvent==F){bb=document.createEvent(t);}else if(typeof document.createEventObject==Q){bb={};bb.type=this._type;};return bb;},_initEvent:function(bc,bd){bd=bd||{};var bg=this._event;var bh={};qx.event.type.dom.Pointer.normalize(bc);Object.keys(qx.event.type.dom.Pointer.POINTER_PROPERTIES).concat(qx.event.type.dom.Pointer.MOUSE_PROPERTIES).forEach(function(bi){if(typeof bd[bi]!==J){bh[bi]=bd[bi];}else if(typeof bc[bi]!==J){bh[bi]=bc[bi];}else if(typeof qx.event.type.dom.Pointer.POINTER_PROPERTIES[bi]!==J){bh[bi]=qx.event.type.dom.Pointer.POINTER_PROPERTIES[bi];};});var bf;switch(bc.which){case 1:bf=1;break;case 2:bf=4;break;case 3:bf=2;break;default:bf=0;};if(bf!==undefined){bh.buttons=bf;bh.pressure=bf?0.5:0;};if(bg.initMouseEvent){bg.initMouseEvent(this._type,bh.bubbles,bh.cancelable,bh.view,bh.detail,bh.screenX,bh.screenY,bh.clientX,bh.clientY,bh.ctrlKey,bh.altKey,bh.shiftKey,bh.metaKey,bh.button,bh.relatedTarget);}else if(bg.initUIEvent){bg.initUIEvent(this._type,bh.bubbles,bh.cancelable,bh.view,bh.detail);};for(var be in bh){if(bg[be]!==bh[be]&&qx.event.type.dom.Pointer.READONLY_PROPERTIES.indexOf(be)===-1){bg[be]=bh[be];};};switch(bg.pointerType){case bc.MSPOINTER_TYPE_MOUSE:bg.pointerType=q;break;case bc.MSPOINTER_TYPE_PEN:bg.pointerType=N;break;case bc.MSPOINTER_TYPE_TOUCH:bg.pointerType=e;break;};if(bg.pointerType==q){bg.isPrimary=true;};}},defer:function(bj){if(qx.core.Environment.get(I)==h){bj.READONLY_PROPERTIES.push(p);}else if(qx.core.Environment.get(k)==u&&parseFloat(qx.core.Environment.get(H))>=8){bj.READONLY_PROPERTIES=bj.READONLY_PROPERTIES.concat(bj.MOUSE_PROPERTIES);};}});})();(function(){var a="ios",b="os.name",c="undefined",d="qx.bom.Viewport";qx.Bootstrap.define(d,{statics:{getWidth:function(e){var e=e||window;var f=e.document;return qx.bom.Document.isStandardMode(e)?f.documentElement.clientWidth:f.body.clientWidth;},getHeight:function(g){var g=g||window;var h=g.document;if(qx.core.Environment.get(b)==a&&window.innerHeight!=h.documentElement.clientHeight){return window.innerHeight;};return qx.bom.Document.isStandardMode(g)?h.documentElement.clientHeight:h.body.clientHeight;},getScrollLeft:function(i){var i=i?i:window;if(typeof i.pageXOffset!==c){return i.pageXOffset;};var j=i.document;return j.documentElement.scrollLeft||j.body.scrollLeft;},getScrollTop:function(k){var k=k?k:window;if(typeof k.pageYOffset!==c){return k.pageYOffset;};var l=k.document;return l.documentElement.scrollTop||l.body.scrollTop;},__getOrientationNormalizer:function(m){var o=this.getWidth(m)>this.getHeight(m)?90:0;var n=m.orientation;if(n==null||Math.abs(n%180)==o){return {"-270":90,"-180":180,"-90":-90,"0":0,"90":90,"180":180,"270":-90};}else {return {"-270":180,"-180":-90,"-90":0,"0":90,"90":180,"180":-90,"270":0};};},__orientationNormalizer:null,getOrientation:function(p){var p=p||window.top;var q=p.orientation;if(q==null){q=this.getWidth(p)>this.getHeight(p)?90:0;}else {if(this.__orientationNormalizer==null){this.__orientationNormalizer=this.__getOrientationNormalizer(p);};q=this.__orientationNormalizer[q];};return q;},isLandscape:function(r){var s=this.getOrientation(r);return s===-90||s===90;}}});})();(function(){var a="engine.name",b="CSS1Compat",c="position:absolute;width:0;height:0;width:1",d="engine.version",e="qx.bom.Document",f="1px",g="div";qx.Bootstrap.define(e,{statics:{isQuirksMode:qx.core.Environment.select(a,{"mshtml":function(h){if(qx.core.Environment.get(d)>=8){return (h||window).document.documentMode===5;}else {return (h||window).document.compatMode!==b;};},"webkit":function(i){if(document.compatMode===undefined){var j=(i||window).document.createElement(g);j.style.cssText=c;return j.style.width===f?true:false;}else {return (i||window).document.compatMode!==b;};},"default":function(k){return (k||window).document.compatMode!==b;}}),isStandardMode:function(l){return !this.isQuirksMode(l);},getWidth:function(m){var o=(m||window).document;var n=qx.bom.Viewport.getWidth(m);var scroll=this.isStandardMode(m)?o.documentElement.scrollWidth:o.body.scrollWidth;return Math.max(scroll,n);},getHeight:function(p){var r=(p||window).document;var q=qx.bom.Viewport.getHeight(p);var scroll=this.isStandardMode(p)?r.documentElement.scrollHeight:r.body.scrollHeight;return Math.max(scroll,q);}}});})();(function(){var a="function",b="*",c="getRelatedTarget",d="getType",e="qx.module.event.Native",f="preventDefault",g="getTarget",h="stopPropagation";qx.Bootstrap.define(e,{statics:{TYPES:[b],FORWARD_METHODS:[g,c],BIND_METHODS:[f,h,d],preventDefault:function(){try{this.keyCode=0;}catch(j){};this.returnValue=false;},stopPropagation:function(){this.cancelBubble=true;},getType:function(){return this._type||this.type;},getTarget:function(){},getRelatedTarget:function(){},getCurrentTarget:function(){},normalize:function(event,n){if(!event){return event;};var m=qx.module.event.Native.FORWARD_METHODS;for(var i=0,l=m.length;i<l;i++ ){event[m[i]]=qx.bom.Event[m[i]].bind(null,event);};var k=qx.module.event.Native.BIND_METHODS;for(var i=0,l=k.length;i<l;i++ ){if(typeof event[k[i]]!=a){event[k[i]]=qx.module.event.Native[k[i]].bind(event);};};event.getCurrentTarget=function(){return event.currentTarget||n;};return event;}},defer:function(o){qxWeb.$registerEventNormalization(o.TYPES,o.normalize);}});})();(function(){var a="-",b="*[data-qx-class]",c="qx.ui.website.Widget",d="*",f="qx-",g="config",h="data-qx-class",i="$$qx-widget-initialized",j="-context",k="qx",l="disabled",m="templates",n=".",o="qx-widget",p="_";qx.Bootstrap.define(c,{extend:qxWeb,statics:{widget:function(){var q=new qx.ui.website.Widget(this);q.init();return q;},create:function(r){return new qx.ui.website.Widget(qxWeb.create(r));},$onFirstCollection:function(x,v,u,s){var t=this.classname.replace(/\./g,a)+j;if(!this.getProperty(t)){this.setProperty(t,u);};var w=this.getProperty(t);if(!this.hasListener(x,v,w)){this.on(x,v,w,s);};return this;},$offFirstCollection:function(z,y,C,B){var A=this.classname.replace(/\./g,a)+j;this._forEachElementWrapped(function(D){var E=D.getProperty(A);D.off(z,y,E,B);});return this;},initWidgets:function(G){var F=qxWeb(b);if(G){F=F.filter(G);};F._forEachElementWrapped(function(H){H.init();});}},construct:function(K,J){var I=qxWeb.call(this,K,J);Array.prototype.push.apply(this,Array.prototype.slice.call(I,0,I.length));},members:{__cssPrefix:null,init:function(){if(this.getProperty(i)){return false;};this.setAttribute(h,this.classname);this.addClass(o);this.addClass(this.getCssPrefix());this.setProperty(i,true);return true;},getCssPrefix:function(){if(!this.__cssPrefix){var L=this.classname.split(n);this.__cssPrefix=f+L[L.length-1].toLowerCase();};return this.__cssPrefix;},setEnabled:function(M){this.setAttribute(l,!M);this.find(d).setAttribute(l,!M);return this;},getEnabled:function(){return !this.getAttribute(l);},setTemplate:function(name,N){return this._setData(m,name,N);},setConfig:function(name,O){return this._setData(g,name,O);},_setData:function(P,name,Q){this.forEach(function(R){if(!R[P]){R[P]={};};R[P][name]=Q;});return this;},getTemplate:function(name){return this._getData(m,name);},getConfig:function(name){return this._getData(g,name);},_getData:function(T,name){var U=this.getProperty(T);var S;if(U){S=U[name];};if(S===undefined&&T==g){var V=k+qxWeb.string.firstUp(T)+qxWeb.string.firstUp(name);S=this.getData(V);if(!this[0]||(!this[0].dataset&&S===null)){S=undefined;};try{S=JSON.parse(S);}catch(e){};};if(S===undefined&&this.constructor[p+T]){return this.constructor[p+T][name];};return S;},render:function(){return this;},dispose:function(){this.removeAttribute(h);this.setProperty(g,undefined);this.setProperty(m,undefined);var W=this.classname.replace(/\./g,a)+j;this.setProperty(W,undefined);this.setProperty(i,undefined);this.removeClass(o);this.removeClass(this.getCssPrefix());for(var name in this.constructor.$$events){this.allOff(name);};return qxWeb.$init(this,qxWeb);}},defer:function(X){qxWeb.$attach({$onFirstCollection:X.$onFirstCollection,$offFirstCollection:X.$offFirstCollection,widget:X.widget});qxWeb.$attachStatic({initWidgets:X.initWidgets});}});})();(function(){var a="span",b="qx.module.Template";qx.Bootstrap.define(b,{statics:{get:function(e,f,d){var c=qx.bom.Template.get(e,f,d);c=qx.module.Template.__wrap(c);return qxWeb.$init([c],qxWeb);},render:function(h,i,g){return qx.bom.Template.render(h,i,g);},renderToNode:function(l,m,k){var j=qx.bom.Template.renderToNode(l,m,k);j=qx.module.Template.__wrap(j);return qxWeb.$init([j],qxWeb);},__wrap:function(n){if(qxWeb.isTextNode(n)){var o=document.createElement(a);o.appendChild(n);n=o;};return n;}},defer:function(p){qxWeb.$attachStatic({"template":{get:p.get,render:p.render,renderToNode:p.renderToNode}});}});})();(function(){var a="function",b="&gt;",c='',d='&#39;',e='Unclosed tag at ',f='object',g="div",h="0.8.1",k='Cannot use higher-order sections without the original template',l='^',m='function',n="&lt;",o='.',p="qx.bom.Template",q="&amp;",r='=',t='Unopened section "',u='>',v="",w='\\s*',x="}}",y='{',z='" at ',A='name',B='[object Array]',C='&#x2F;',D='\n',E='&',F="mustache.js",G='text',H="{{",I='#',J='string',K='Invalid tags: ',L='/',M="\\s*",N='Unclosed section "',O='&quot;',P="\\$&",Q='}',R="object";qx.Bootstrap.define(p,{statics:{version:null,render:null,renderToNode:function(U,V,S){var T=this.render(U,V,S);return this._createNodeFromTemplate(T);},get:function(X,ba,W){var Y=document.getElementById(X);return this.renderToNode(Y.innerHTML,ba,W);},_createNodeFromTemplate:function(bb){if(bb.search(/<|>/)===-1){return document.createTextNode(bb);};var bc=qx.dom.Element.create(g);bc.innerHTML=bb;return bc.children[0];}}});(function(){var bd;var be;(function(bf,bg){if(typeof bd===R&&bd){bg(bd);}else {var bh={};bg(bh);if(typeof be===a&&be.amd){be(bh);}else {bf.Mustache=bh;};};}(this,function(bD){var bp=/\s*/;var bF=/\s+/;var bn=/\S/;var bE=/\s*=/;var bx=/\s*\}/;var bt=/#|\^|\/|>|\{|&|=|!/;var bs=RegExp.prototype.test;function bu(bG,bH){return bs.call(bG,bH);};function bq(bI){return !bu(bn,bI);};var bv=Object.prototype.toString;var br=Array.isArray||function(bJ){return bv.call(bJ)===B;};function bo(bK){return typeof bK===m;};function bA(bL){return bL.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,P);};var bw={"&":q,"<":n,">":b,'"':O,"'":d,"/":C};function bi(bM){return String(bM).replace(/[&<>"'\/]/g,function(s){return bw[s];});};function bC(bN){if(!br(bN)||bN.length!==2){throw new Error(K+bN);};return [new RegExp(bA(bN[0])+M),new RegExp(M+bA(bN[1]))];};function bj(cc,bR){bR=bR||bD.tags;cc=cc||c;if(typeof bR===J){bR=bR.split(bF);};var ce=bC(bR);var bP=new bB(cc);var bO=[];var bW=[];var ca=[];var bQ=false;var bU=false;function bT(){if(bQ&&!bU){while(ca.length){delete bW[ca.pop()];};}else {ca=[];};bQ=false;bU=false;};var bX,bS,cb,bY,cf,bV;while(!bP.eos()){bX=bP.pos;cb=bP.scanUntil(ce[0]);if(cb){for(var i=0,cd=cb.length;i<cd; ++i){bY=cb.charAt(i);if(bq(bY)){ca.push(bW.length);}else {bU=true;};bW.push([G,bY,bX,bX+1]);bX+=1;if(bY===D){bT();};};};if(!bP.scan(ce[0]))break;bQ=true;bS=bP.scan(bt)||A;bP.scan(bp);if(bS===r){cb=bP.scanUntil(bE);bP.scan(bE);bP.scanUntil(ce[1]);}else if(bS===y){cb=bP.scanUntil(new RegExp(w+bA(Q+bR[1])));bP.scan(bx);bP.scanUntil(ce[1]);bS=E;}else {cb=bP.scanUntil(ce[1]);};if(!bP.scan(ce[1])){throw new Error(e+bP.pos);};cf=[bS,cb,bX,bP.pos];bW.push(cf);if(bS===I||bS===l){bO.push(cf);}else if(bS===L){bV=bO.pop();if(!bV){throw new Error(t+cb+z+bX);};if(bV[1]!==cb){throw new Error(N+bV[1]+z+bX);};}else if(bS===A||bS===y||bS===E){bU=true;}else if(bS===r){ce=bC(bR=cb.split(bF));};};bV=bO.pop();if(bV){throw new Error(N+bV[1]+z+bP.pos);};return bm(bk(bW));};function bk(ci){var cg=[];var cj,ck;for(var i=0,ch=ci.length;i<ch; ++i){cj=ci[i];if(cj){if(cj[0]===G&&ck&&ck[0]===G){ck[1]+=cj[1];ck[3]=cj[3];}else {cg.push(cj);ck=cj;};};};return cg;};function bm(cp){var cl=[];var cr=cl;var cm=[];var cq,cn;for(var i=0,co=cp.length;i<co; ++i){cq=cp[i];switch(cq[0]){case I:case l:cr.push(cq);cm.push(cq);cr=cq[4]=[];break;case L:cn=cm.pop();cn[5]=cq[2];cr=cm.length>0?cm[cm.length-1][4]:cl;break;default:cr.push(cq);};};return cl;};function bB(cs){this.string=cs;this.tail=cs;this.pos=0;};bB.prototype.eos=function(){return this.tail===v;};bB.prototype.scan=function(ct){var cv=this.tail.match(ct);if(cv&&cv.index===0){var cu=cv[0];this.tail=this.tail.substring(cu.length);this.pos+=cu.length;return cu;};return v;};bB.prototype.scanUntil=function(cw){var cy=this.tail.search(cw),cx;switch(cy){case -1:cx=this.tail;this.tail=v;break;case 0:cx=v;break;default:cx=this.tail.substring(0,cy);this.tail=this.tail.substring(cy);};this.pos+=cx.length;return cx;};function by(cA,cz){this.view=cA==null?{}:cA;this.cache={'.':this.view};this.parent=cz;};by.prototype.push=function(cB){return new by(cB,this);};by.prototype.lookup=function(name){var cD;if(name in this.cache){cD=this.cache[name];}else {var cC=this;while(cC){if(name.indexOf(o)>0){cD=cC.view;var cE=name.split(o),i=0;while(cD!=null&&i<cE.length){cD=cD[cE[i++ ]];};}else {cD=cC.view[name];};if(cD!=null)break;cC=cC.parent;};this.cache[name]=cD;};if(bo(cD)){cD=cD.call(this.view);};return cD;};function bl(){this.cache={};};bl.prototype.clearCache=function(){this.cache={};};bl.prototype.parse=function(cH,cI){var cG=this.cache;var cF=cG[cH];if(cF==null){cF=cG[cH]=bj(cH,cI);};return cF;};bl.prototype.render=function(cM,cN,cK){var cJ=this.parse(cM);var cL=(cN instanceof by)?cN:new by(cN);return this.renderTokens(cJ,cL,cK,cM);};bl.prototype.renderTokens=function(cR,cW,cP,cX){var cS=c;var self=this;function cO(cY){return self.render(cY,cW,cP);};var cT,cQ;for(var i=0,cV=cR.length;i<cV; ++i){cT=cR[i];switch(cT[0]){case I:cQ=cW.lookup(cT[1]);if(!cQ)continue;if(br(cQ)){for(var j=0,cU=cQ.length;j<cU; ++j){cS+=this.renderTokens(cT[4],cW.push(cQ[j]),cP,cX);};}else if(typeof cQ===f||typeof cQ===J){cS+=this.renderTokens(cT[4],cW.push(cQ),cP,cX);}else if(bo(cQ)){if(typeof cX!==J){throw new Error(k);};cQ=cQ.call(cW.view,cX.slice(cT[3],cT[5]),cO);if(cQ!=null)cS+=cQ;}else {cS+=this.renderTokens(cT[4],cW,cP,cX);};break;case l:cQ=cW.lookup(cT[1]);if(!cQ||(br(cQ)&&cQ.length===0)){cS+=this.renderTokens(cT[4],cW,cP,cX);};break;case u:if(!cP)continue;cQ=bo(cP)?cP(cT[1]):cP[cT[1]];if(cQ!=null)cS+=this.renderTokens(this.parse(cQ),cW,cP,cQ);break;case E:cQ=cW.lookup(cT[1]);if(cQ!=null)cS+=cQ;break;case A:cQ=cW.lookup(cT[1]);if(cQ!=null)cS+=bD.escape(cQ);break;case G:cS+=cT[1];break;};};return cS;};bD.name=F;bD.version=h;bD.tags=[H,x];var bz=new bl();bD.clearCache=function(){return bz.clearCache();};bD.parse=function(da,db){return bz.parse(da,db);};bD.render=function(dd,de,dc){return bz.render(dd,de,dc);};bD.to_html=function(dj,dg,df,di){var dh=bD.render(dj,dg,df);if(bo(di)){di(dh);}else {return dh;};};bD.escape=bi;bD.Scanner=bB;bD.Context=by;bD.Writer=bl;}));qx.bom.Template.version=this.Mustache.version;qx.bom.Template.render=this.Mustache.render;}).call({});})();(function(){var a="qx.dom.Element",b="The tag name is missing!";qx.Bootstrap.define(a,{statics:{getParentElement:function(c){return c.parentNode;},insertEnd:function(d,parent){parent.appendChild(d);return true;},insertBefore:function(e,f){f.parentNode.insertBefore(e,f);return true;},insertAfter:function(g,h){var parent=h.parentNode;if(h==parent.lastChild){parent.appendChild(g);}else {return this.insertBefore(g,h.nextSibling);};return true;},remove:function(i){if(!i.parentNode){return false;};i.parentNode.removeChild(i);return true;},create:function(name,k,j){if(!j){j=window;};if(!name){throw new Error(b);};var m=j.document.createElement(name);for(var l in k){qx.bom.element.Attribute.set(m,l,k[l]);};return m;}}});})();(function(){var a="-",b="li",c="qx-hbox",d="keydown",f="height",g="px",h="<div class='",j="Left",k="-button-active",l="-page-closed",m="transitionDuration",n="right",o="div",p="orientation",r="changeSelected",s="button",t="transitionProperty",u="mediaQuery",v="> .",w="qx-flex-ready",x="<ul/>",y="change",z="> ul > .",A="> ul.qx-hbox",B="0px",C="-vertical",D="justify",E="-right",F="openedHeight",G="horizontal",H="transitionTimingFunction",I="__qxtransition",J="transitionDelay",K="String",L="browser.documentmode",M="resize",N="align",O="-justify",P="vertical",Q="> ul",R="",S="mshtml",T="number",U="-button",V="<div>",W="-horizontal",X="-left",Y="Right",bD="-container'>",bE="ul",bF="-container",bz="<li>",bA="qx.ui.website.Tabs",bB="> ul > li",bC="mediaQueryListener",bJ="preselected",bT="engine.name",bK="<li><button>{{{content}}}</button></li>",bQ="block",bG="-page",bH="none",bI="Number",bx="> ul .",bN="transition",by="left",bO="tap",bP=".",bR="qx-flex1",bL="undefined",bS="id",bM="qx-flex-justify-end";qx.Bootstrap.define(bA,{extend:qx.ui.website.Widget,statics:{tabs:function(bV,bW,bX){var bU=new qx.ui.website.Tabs(this);if(typeof bW!==bL){bU.setConfig(bJ,bW);};bU.init();if(bV){bU.setConfig(N,bV);};if(bX){bU.setConfig(p,bX);};if(bV||bX){bU.render();};return bU;},_templates:{button:bK},_config:{preselected:0,align:by,orientation:G,mediaQuery:null}},construct:function(ca,bY){qx.ui.website.Widget.call(this,ca,bY);},events:{"changeSelected":bI},members:{init:function(){if(!qx.ui.website.Widget.prototype.init.call(this)){return false;};var cb=this.getConfig(u);if(cb){this.setConfig(p,this._initMediaQueryListener(cb));};var cc=this.getConfig(p);this._forEachElementWrapped(function(ch){ch.addClasses([this.getCssPrefix(),this.getCssPrefix()+a+cc]);if(ch.getChildren(bE).length===0){var cf=qxWeb.create(x);var content=ch.getChildren();if(content.length>0){cf.insertBefore(content.eq(0));}else {ch.append(cf);};};var ce=ch.find(v+this.getCssPrefix()+bF);var cg=ch.getChildren(bE).getFirst().getChildren(b).not(bP+this.getCssPrefix()+bG);cg._forEachElementWrapped(function(ck){ck.addClass(this.getCssPrefix()+U);var cn=ck.getData(this.getCssPrefix()+bG);if(!cn){return;};ck.addClass(this.getCssPrefix()+U).$onFirstCollection(bO,this._onTap,ch);var cl=ch._getPage(ck);if(cl.length>0){cl.addClass(this.getCssPrefix()+bG);if(cc==P){this.__deactivateTransition(cl);if(q.getNodeName(cl[0])==o){var co=q.create(bz).addClass(this.getCssPrefix()+bG).setAttribute(bS,cl.getAttribute(bS)).insertAfter(ck[0]);cl.remove().getChildren().appendTo(co);cl=co;};this._storePageHeight(cl);}else if(cc==G){if(q.getNodeName(cl[0])==b){var cm=q.create(V).addClass(this.getCssPrefix()+bG).setAttribute(bS,cl.getAttribute(bS));cl.remove().getChildren().appendTo(cm);cl=cm;};};if(cc==G){if(ce.length===0){ce=qxWeb.create(h+this.getCssPrefix()+bD).insertAfter(ch.find(Q)[0]);};cl.appendTo(ce[0]);};};this._showPage(null,ck);this.__activateTransition(cl);}.bind(this));if(cc==P&&ce.length==1&&ce.getChildren().length===0){ce.remove();};if(cc==G&&this.getConfig(N)==n&&q.env.get(bT)==S&&q.env.get(L)<10){cg.remove();for(var i=cg.length-1;i>=0;i-- ){ch.find(Q).append(cg[i]);};};var cj=cg.filter(bP+this.getCssPrefix()+k);var ci=this.getConfig(bJ);if(cj.length===0&&typeof ci==T){cj=cg.eq(ci).addClass(this.getCssPrefix()+k);};if(cj.length>0){var cd=this._getPage(cj);this.__deactivateTransition(cd);this._showPage(cj,null);this.__activateTransition(cd);};ch.getChildren(bE).getFirst().$onFirstCollection(d,this._onKeyDown,this);if(cc===G){this._applyAlignment(ch);};qxWeb(window).on(M,ch._onResize,ch);}.bind(this));return true;},render:function(){var cp=this.getConfig(u);if(cp){this.setConfig(p,this._initMediaQueryListener(cp));};var cq=this.getConfig(p);if(cq===G){return this._renderHorizontal();}else if(cq===P){return this._renderVertical();};},_initMediaQueryListener:function(cr){var cs=this.getProperty(bC);if(!cs){cs=q.matchMedia(cr);this.setProperty(bC,cs);cs.on(y,function(ct){this.render();}.bind(this));};if(cs.matches){return G;}else {return P;};},_renderHorizontal:function(){this._forEachElementWrapped(function(cu){cu.removeClass(this.getCssPrefix()+C).addClasses([this.getCssPrefix()+R,this.getCssPrefix()+W,w]).find(Q).addClass(c);var cx=cu.find(v+this.getCssPrefix()+bF);if(cx.length==0){cx=qxWeb.create(h+this.getCssPrefix()+bD).insertAfter(cu.find(Q)[0]);};var cw;cu.find(z+this.getCssPrefix()+U)._forEachElementWrapped(function(cA){var cz=qxWeb(cA.getData(this.getCssPrefix()+bG));if(q.getNodeName(cz[0])==b){var cy=q.create(V).addClass(this.getCssPrefix()+bG).setAttribute(bS,cz.getAttribute(bS));cz.remove().getChildren().appendTo(cy);cz=cy;};cz.appendTo(cx[0]);cu._switchPages(cz,null);if(cA.hasClass(this.getCssPrefix()+k)){cw=cz;};}.bind(this));if(!cw){var cv=cu.find(z+this.getCssPrefix()+U).eq(0).addClass(this.getCssPrefix()+k);cw=this._getPage(cv);};cu._switchPages(null,cw);this._applyAlignment(cu);});this.setEnabled(this.getEnabled());return this;},_renderVertical:function(){this._forEachElementWrapped(function(cB){cB.find(A).removeClass(c);cB.removeClasses([this.getCssPrefix()+W,w]).addClasses([this.getCssPrefix()+R,this.getCssPrefix()+C]).getChildren(bE).getFirst().getChildren(b).not(bP+this.getCssPrefix()+bG)._forEachElementWrapped(function(cC){cC.addClass(this.getCssPrefix()+U);var cD=this._getPage(cC);if(cD.length===0){return;};this.__deactivateTransition(cD);if(q.getNodeName(cD[0])==o){var cE=q.create(bz).addClass(this.getCssPrefix()+bG).setAttribute(bS,cD.getAttribute(bS));cD.getChildren().appendTo(cE);cE.insertAfter(cC[0]);cD.remove();cD=cE;};this._storePageHeight(cD);if(cC.hasClass(this.getCssPrefix()+k)){this._switchPages(null,cD);}else {this._switchPages(cD,null);};this.__activateTransition(cD);}.bind(this));}.bind(this));this.setEnabled(this.getEnabled());return this;},_onResize:function(){setTimeout(function(){if(this.getConfig(p)==P){this._renderVertical();};}.bind(this),100);},addButton:function(cG,cF){this._forEachElementWrapped(function(cI){var cH=qxWeb.create(qxWeb.template.render(cI.getTemplate(s),{content:cG})).addClass(this.getCssPrefix()+U);var cJ=cI.find(Q);var cL=cJ.getChildren(b);if(cJ.hasClass(this.getCssPrefix()+E)&&cL.length>0){cH.insertBefore(cL.getFirst());}else {cH.appendTo(cJ);};cH.$onFirstCollection(bO,this._onTap,cI).addClass(this.getCssPrefix()+U);if(cI.find(bx+this.getCssPrefix()+U).length===1){cH.addClass(this.getCssPrefix()+k);};if(cF){cH.setData(this.getCssPrefix()+bG,cF);var cK=this._getPage(cH);cK.addClass(this.getCssPrefix()+bG);if(cH.hasClass(this.getCssPrefix()+k)){this._switchPages(null,cK);}else {this._switchPages(cK,null);};};},this);return this;},select:function(cM){this._forEachElementWrapped(function(cN){var cO=cN.find(z+this.getCssPrefix()+U);var cP=cN.find(z+this.getCssPrefix()+k).removeClass(this.getCssPrefix()+k);if(this.getConfig(N)==n){cM=cO.length-1-cM;};var cQ=cO.eq(cM).addClass(this.getCssPrefix()+k);cN._showPage(cQ,cP);cN.emit(r,cM);});return this;},_onTap:function(e){if(!this.getEnabled()){return;};var cR=this.getConfig(p);var cS=e.getCurrentTarget();this._forEachElementWrapped(function(cT){var cV=cT.find(z+this.getCssPrefix()+k);if(cV[0]==cS&&cR==G){return;};cV.removeClass(this.getCssPrefix()+k);if(cR==P){this._showPage(null,cV);if(cV[0]==cS&&cR==P){return;};};var cW;var cX=cT.find(z+this.getCssPrefix()+U)._forEachElementWrapped(function(cY){if(cS===cY[0]){cW=cY;};});cT._showPage(cW,cV);cW.addClass(this.getCssPrefix()+k);var cU=cX.indexOf(cW[0]);if(this.getConfig(N)==n){cU=cX.length-1-cU;};cT.emit(r,cU);});},_onKeyDown:function(e){var dd=e.getKeyIdentifier();if(!(dd==j||dd==Y)){return;};var df=this.getConfig(N)==n;var dc=this.find(z+this.getCssPrefix()+U);if(df){dc.reverse();};var de=this.find(z+this.getCssPrefix()+k);var db;if(dd==Y){if(!df){db=de.getNext(bP+this.getCssPrefix()+U);}else {db=de.getPrev(bP+this.getCssPrefix()+U);};}else {if(!df){db=de.getPrev(bP+this.getCssPrefix()+U);}else {db=de.getNext(bP+this.getCssPrefix()+U);};};if(db.length>0){var da=dc.indexOf(db);this.select(da);db.getChildren(s).focus();};},_showPage:function(di,dh){var dj=this._getPage(dh);var dg=this._getPage(di);if(this.getConfig(p)===G&&(dj[0]==dg[0])){return;};this._switchPages(dj,dg);},_switchPages:function(dl,dk){var dn=this.getConfig(p);if(dn===G){if(dl){dl.hide();};if(dk){dk.show();};}else if(dn===P){if(dl&&dl.length>0){dl.setStyle(f,dl.getHeight()+g);dl[0].offsetHeight;dl.setStyles({"height":B,"paddingTop":B,"paddingBottom":B});dl.addClass(this.getCssPrefix()+l);};if(dk&&dk.length>0){dk.removeClass(this.getCssPrefix()+l);if(!dk.getStyle(bN)||dk.getStyle(bN).indexOf(bH)===0){dk.setStyle(f,R);}else {var dm=dk.getProperty(F);if(qxWeb.type.get(dm)==K){dk.setStyle(f,dm);};};};};},_getPage:function(dp){var dq;if(dp){dq=dp.getData(this.getCssPrefix()+bG);};return qxWeb(dq);},_applyAlignment:function(dr){var dt=dr.getConfig(N);var ds=dr.find(bB);if(q.env.get(bT)==S&&q.env.get(L)<10){if(dt==by){dr.addClass(this.getCssPrefix()+X);}else {dr.removeClass(this.getCssPrefix()+X);};if(dt==D){dr.addClass(this.getCssPrefix()+O);}else {dr.removeClass(this.getCssPrefix()+O);};if(dt==n){dr.addClass(this.getCssPrefix()+E);}else {dr.removeClass(this.getCssPrefix()+E);};}else {dr.addClass(w).find(Q).addClass(c);if(dt==D){ds.addClass(bR);}else {ds.removeClass(bR);};if(dt==n){dr.find(Q).addClass(bM);}else {dr.find(Q).removeClass(bM);};};},_storePageHeight:function(dy){var dw=this.getCssPrefix()+l;var du=dy.hasClass(dw);if(du){dy.removeClass(this.getCssPrefix()+l);};var dv=dy[0].style.display;var dx=dy[0].style.height;dy[0].style.height=R;dy[0].style.display=bQ;dy.setProperty(F,dy.getHeight()+g);if(du){dy.addClass(this.getCssPrefix()+l);};dy[0].style.height=dx;dy[0].style.display=dv;},__deactivateTransition:function(dA){var dz=dA.getStyles([J,m,t,H]);if(dz.transitionProperty.indexOf(bH)==-1){dA.setProperty(I,dz);dA.setStyle(bN,bH);};},__activateTransition:function(dD){var dC=dD.getProperty(I);var dB=dD.getStyle(t);if(dC&&dB.indexOf(bH)!=-1){dD.setStyles(dC);dD.setProperty(I,R);};},dispose:function(){var dE=this.getCssPrefix();this._forEachElementWrapped(function(dF){qxWeb(window).off(M,dF._onResize,dF);dF.find(z+this.getCssPrefix()+U).$offFirstCollection(bO,dF._onTap,dF);dF.getChildren(bE).getFirst().$offFirstCollection(d,dF._onKeyDown,dF).setHtml(R);});this.setHtml(R).removeClasses([dE,w]);return qx.ui.website.Widget.prototype.dispose.call(this);}},defer:function(dG){qxWeb.$attach({tabs:dG.tabs});}});})();(function(){var a="q";qx.Bootstrap.define(a,{extend:qxWeb});q=qxWeb;})();(function(){var a="qx.module.util.Object";qx.Bootstrap.define(a,{statics:{clone:qx.lang.Object.clone,getValues:qx.lang.Object.getValues,invert:qx.lang.Object.invert,contains:qx.lang.Object.contains,merge:function(b,c){var c=qxWeb.array.fromArguments(arguments);var b=c.shift();c.forEach(function(d){b=qx.Bootstrap.objectMergeWith(b,d);});return b;}},defer:function(e){qxWeb.$attachStatic({"object":{"clone":e.clone,"getValues":e.getValues,"invert":e.invert,"contains":e.contains,"merge":e.merge}});}});})();(function(){var a="preselected",b="vertical",c="qx.ui.website.Accordion",d="orientation";qx.Bootstrap.define(c,{extend:qx.ui.website.Tabs,statics:{accordion:function(e){var f=new qx.ui.website.Accordion(this);f.setConfig(d,b);if(e){f.setConfig(a,e);};f.init();return f;}},construct:function(h,g){qx.ui.website.Tabs.call(this,h,g);},defer:function(i){qxWeb.$attach({accordion:i.accordion});}});})();(function(){var a="qx.module.event.Pointer",b="pointerup",c="pointerover",d="pointerdown",e="pointermove",f="pointercancel",g="pointerout";qx.Bootstrap.define(a,{statics:{TYPES:[d,b,e,f,c,g],getPointerType:function(){return false;},getViewportLeft:function(){return false;},getViewportTop:function(){return false;},getDocumentLeft:function(){return false;},getDocumentTop:function(){return false;},getScreenLeft:function(){return false;},getScreenTop:function(){return false;},normalize:function(event,h){if(!event){return event;};qx.event.type.dom.Pointer.normalize(event);return event;}},defer:function(i){qxWeb.$registerEventNormalization(qx.module.event.Pointer.TYPES,i.normalize);}});})();(function(){var a="qx.module.util.Type";qx.Bootstrap.define(a,{statics:{get:qx.Bootstrap.getClass},defer:function(b){qxWeb.$attachStatic({type:{get:b.get}});}});})();(function(){var a="qx.module.Transform",b="";qx.Bootstrap.define(a,{statics:{transform:function(c){this._forEachElement(function(d){qx.bom.element.Transform.transform(d,c);});return this;},translate:function(e){return this.transform({translate:e});},scale:function(f){return this.transform({scale:f});},rotate:function(g){return this.transform({rotate:g});},skew:function(h){return this.transform({skew:h});},setTransformOrigin:function(i){this._forEachElement(function(j){qx.bom.element.Transform.setOrigin(j,i);});return this;},getTransformOrigin:function(){if(this[0]&&this[0].nodeType===1){return qx.bom.element.Transform.getOrigin(this[0]);};return b;},setTransformStyle:function(k){this._forEachElement(function(l){qx.bom.element.Transform.setStyle(l,k);});return this;},getTransformStyle:function(){if(this[0]&&this[0].nodeType===1){return qx.bom.element.Transform.getStyle(this[0]);};return b;},setTransformPerspective:function(m){this._forEachElement(function(n){qx.bom.element.Transform.setPerspective(n,m);});return this;},getTransformPerspective:function(){if(this[0]&&this[0].nodeType===1){return qx.bom.element.Transform.getPerspective(this[0]);};return b;},setTransformPerspectiveOrigin:function(o){this._forEachElement(function(p){qx.bom.element.Transform.setPerspectiveOrigin(p,o);});return this;},getTransformPerspectiveOrigin:function(){if(this[0]&&this[0].nodeType===1){return qx.bom.element.Transform.getPerspectiveOrigin(this[0]);};return b;},setTransformBackfaceVisibility:function(q){this._forEachElement(function(r){qx.bom.element.Transform.setBackfaceVisibility(r,q);});return this;},getTransformBackfaceVisibility:function(){if(this[0]&&this[0].nodeType===1){return qx.bom.element.Transform.getBackfaceVisibility(this[0]);};return b;}},defer:function(s){qxWeb.$attach({"transform":s.transform,"translate":s.translate,"rotate":s.rotate,"skew":s.skew,"scale":s.scale,"setTransformStyle":s.setTransformStyle,"getTransformStyle":s.getTransformStyle,"setTransformOrigin":s.setTransformOrigin,"getTransformOrigin":s.getTransformOrigin,"setTransformPerspective":s.setTransformPerspective,"getTransformPerspective":s.getTransformPerspective,"setTransformPerspectiveOrigin":s.setTransformPerspectiveOrigin,"getTransformPerspectiveOrigin":s.getTransformPerspectiveOrigin,"setTransformBackfaceVisibility":s.setTransformBackfaceVisibility,"getTransformBackfaceVisibility":s.getTransformBackfaceVisibility});}});})();(function(){var a="css.transform.3d",b="backfaceVisibility",c="transformStyle",d="css.transform",e="transformOrigin",f="qx.bom.client.CssTransform",g="transform",h="perspective",i="perspectiveOrigin";qx.Bootstrap.define(f,{statics:{getSupport:function(){var name=qx.bom.client.CssTransform.getName();if(name!=null){return {"name":name,"style":qx.bom.client.CssTransform.getStyle(),"origin":qx.bom.client.CssTransform.getOrigin(),"3d":qx.bom.client.CssTransform.get3D(),"perspective":qx.bom.client.CssTransform.getPerspective(),"perspective-origin":qx.bom.client.CssTransform.getPerspectiveOrigin(),"backface-visibility":qx.bom.client.CssTransform.getBackFaceVisibility()};};return null;},getStyle:function(){return qx.bom.Style.getPropertyName(c);},getPerspective:function(){return qx.bom.Style.getPropertyName(h);},getPerspectiveOrigin:function(){return qx.bom.Style.getPropertyName(i);},getBackFaceVisibility:function(){return qx.bom.Style.getPropertyName(b);},getOrigin:function(){return qx.bom.Style.getPropertyName(e);},getName:function(){return qx.bom.Style.getPropertyName(g);},get3D:function(){return qx.bom.client.CssTransform.getPerspective()!=null;}},defer:function(j){qx.core.Environment.add(d,j.getSupport);qx.core.Environment.add(a,j.get3D);}});})();(function(){var a="backface-visibility",b="css.transform.3d",c=") ",d="px",e="scale",f="Z",g="X",h=", ",j="visible",k=":",l="3d",m="name",n="",o="origin",p="(",q="qx.bom.element.Transform",r="perspective",s="Y",t="css.transform",u="translate",v="perspective-origin",w="hidden",x=";",y=" ",z="style";qx.Bootstrap.define(q,{statics:{__cssKeys:qx.core.Environment.get(t),transform:function(A,C){var D=this.getTransformValue(C);if(this.__cssKeys!=null){var B=this.__cssKeys[m];A.style[B]=D;};},getCss:function(F){var G=this.getTransformValue(F);if(this.__cssKeys!=null){var E=this.__cssKeys[m];return qx.bom.Style.getCssName(E)+k+G+x;};return n;},setOrigin:function(H,I){if(this.__cssKeys!=null){H.style[this.__cssKeys[o]]=I;};},getOrigin:function(J){if(this.__cssKeys!=null){return J.style[this.__cssKeys[o]];};return n;},setStyle:function(K,L){if(this.__cssKeys!=null){K.style[this.__cssKeys[z]]=L;};},getStyle:function(M){if(this.__cssKeys!=null){return M.style[this.__cssKeys[z]];};return n;},setPerspective:function(N,O){if(this.__cssKeys!=null){N.style[this.__cssKeys[r]]=O+d;};},getPerspective:function(P){if(this.__cssKeys!=null){return P.style[this.__cssKeys[r]];};return n;},setPerspectiveOrigin:function(Q,R){if(this.__cssKeys!=null){Q.style[this.__cssKeys[v]]=R;};},getPerspectiveOrigin:function(S){if(this.__cssKeys!=null){var T=S.style[this.__cssKeys[v]];if(T!=n){return T;}else {var V=S.style[this.__cssKeys[v]+g];var U=S.style[this.__cssKeys[v]+s];if(V!=n){return V+y+U;};};};return n;},setBackfaceVisibility:function(W,X){if(this.__cssKeys!=null){W.style[this.__cssKeys[a]]=X?j:w;};},getBackfaceVisibility:function(Y){if(this.__cssKeys!=null){return Y.style[this.__cssKeys[a]]==j;};return true;},getTransformValue:function(bd){var be=n;var ba=[u,e];for(var bb in bd){var bc=bd[bb];if(qx.Bootstrap.isArray(bc)){if(bc.length===3&&ba.indexOf(bb)>-1&&qx.core.Environment.get(b)){be+=this._compute3dProperty(bb,bc);}else {be+=this._computeAxisProperties(bb,bc);};}else {be+=bb+p+bc+c;};};return be.trim();},_compute3dProperty:function(bg,bf){var bh=n;bg+=l;for(var i=0;i<bf.length;i++ ){if(bf[i]==null){bf[i]=0;};};bh+=bg+p+bf.join(h)+c;return bh;},_computeAxisProperties:function(bi,bj){var bl=n;var bk=[g,s,f];for(var i=0;i<bj.length;i++ ){if(bj[i]==null||(i==2&&!qx.core.Environment.get(b))){continue;};bl+=bi+bk[i]+p;bl+=bj[i];bl+=c;};return bl;}}});})();(function(){var a="blur",b="keydown",c="px",d="Please provide a Number value for 'value'!",f="true",g="focus",h="paddingLeft",k="changeValue",l="pan-y",m="Left",n="auto",o="cursor",p="changePosition",q="",r="Array",s="{{value}}",t="minimum",u="value",v="pointer",w="offset",y="knobContent",z="resize",A="pointerup",B="dragstart",C="Right",D="step",E="pointerdown",F="pointermove",G="false",H="maximum",I="<button>",J="Number",K="css.transform",L="paddingRight",M="touch-action",N="left",O="-knob",P=".",Q="undefined",R="qx.ui.website.Slider";qx.Bootstrap.define(R,{extend:qx.ui.website.Widget,statics:{_config:{minimum:0,maximum:100,offset:0,step:1},_templates:{knobContent:s},slider:function(U,T){var S=new qx.ui.website.Slider(this);S.init();if(typeof T!==Q){S.setConfig(D,T);};if(typeof U!==Q){S.setValue(U);}else {S.setValue(S.getConfig(t));};return S;}},construct:function(W,V){qx.ui.website.Widget.call(this,W,V);},events:{"changeValue":J,"changePosition":J},members:{__dragMode:null,init:function(){if(!qx.ui.website.Widget.prototype.init.call(this)){return false;};var X=this.getCssPrefix();if(!this.getValue()){var Y=this.getConfig(D);var ba=qxWeb.type.get(Y)==r?Y[0]:this.getConfig(t);this.setProperty(u,ba);};this._forEachElementWrapped(function(bb){bb.$onFirstCollection(A,bb._onSliderPointerUp,bb).$onFirstCollection(g,bb._onSliderFocus,bb).setStyle(M,l);qxWeb(document).on(A,bb._onDocPointerUp,bb);qxWeb(window).$onFirstCollection(z,bb._onWindowResize,bb);if(bb.getChildren(P+X+O).length===0){bb.append(qx.ui.website.Widget.create(I).addClass(X+O));};bb.getChildren(P+X+O).setAttributes({"draggable":G,"unselectable":f}).setHtml(bb._getKnobContent()).$onFirstCollection(E,bb._onPointerDown,bb).$onFirstCollection(B,bb._onDragStart,bb).$onFirstCollection(g,bb._onKnobFocus,bb).$onFirstCollection(a,bb._onKnobBlur,bb);bb.render();});return true;},getValue:function(){return this.getProperty(u);},setValue:function(be){if(qxWeb.type.get(be)!=J){throw Error(d);};var bd=this.getConfig(D);if(qxWeb.type.get(bd)!=r){var bf=this.getConfig(t);var bc=this.getConfig(H);if(be<bf){be=bf;};if(be>bc){be=bc;};if(qxWeb.type.get(bd)==J){be=Math.round(be/bd)*bd;};};this.setProperty(u,be);if(qxWeb.type.get(bd)!=r||bd.indexOf(be)!=-1){this.__valueToPosition(be);this.getChildren(P+this.getCssPrefix()+O).setHtml(this._getKnobContent());this.emit(k,be);};return this;},render:function(){var bg=this.getConfig(D);if(qxWeb.type.get(bg)==r){this._getPixels();if(bg.indexOf(this.getValue())==-1){this.setValue(bg[0]);}else {this.setValue(this.getValue());};}else if(qxWeb.type.get(bg)==J){this.setValue(Math.round(this.getValue()/bg)*bg);}else {this.setValue(this.getValue());};this.getChildren(P+this.getCssPrefix()+O).setHtml(this._getKnobContent());return this;},_getKnobContent:function(){return qxWeb.template.render(this.getTemplate(y),{value:this.getValue()});},_getHalfKnobWidth:function(){var bh=this.getChildren(P+this.getCssPrefix()+O).getWidth();return Math.round(parseFloat(bh/2));},_getDragBoundaries:function(){var bj=Math.ceil(parseFloat(this.getStyle(h))||0);var bi=Math.ceil(parseFloat(this.getStyle(L))||0);var bk=this.getConfig(w);return {min:this.getOffset().left+bk+bj,max:this.getOffset().left+this.getWidth()-bk-bi};},_getPixels:function(){var bp=this.getConfig(D);if(qxWeb.type.get(bp)!=r){return [];};var br=this._getDragBoundaries();var bt=[];bt.push(br.min);var bo=bp.length-1;var bl=Math.ceil(parseFloat(this.getStyle(h))||0);var bs=Math.ceil(parseFloat(this.getStyle(L))||0);var bn=this.getWidth()-(this.getConfig(w)*2)-bl-bs;var bq=bn/(bp[bo]-bp[0]);var bm=0;for(var i=1,j=bp.length-1;i<j;i++ ){bm=bp[i]-bp[0];bt.push(Math.round(bm*bq)+br.min);};bt.push(br.max);return bt;},_getNearestValue:function(bD){var bF=this._getPixels();if(bF.length===0){var bE=this._getDragBoundaries();var bx=bE.max-bE.min;var bw=bD-bE.min;var bA=bw/bx;var bv=this.getConfig(t);var bB=this.getConfig(H);var bz=(bB-bv)*bA+bv;if(bz<bv){bz=bv;};if(bz>bB){bz=bB;};var by=this.getConfig(D);if(qxWeb.type.get(by)==J){bz=Math.round(bz/by)*by;};return bz;};var bC=0,bG=0,bu=0;for(var i=0,j=bF.length;i<j;i++ ){if(bD>=bF[i]){bC=i;bG=bF[i];bu=bF[i+1]||bG;}else {break;};};bC=Math.abs(bD-bG)<=Math.abs(bD-bu)?bC:bC+1;return this.getConfig(D)[bC];},_onSliderPointerUp:function(e){if((e.getDocumentLeft()===0&&e.getDocumentTop()===0)||!this.getEnabled()){return;};this.setValue(this._getNearestValue(e.getDocumentLeft()));},_onPointerDown:function(e){if(this.__dragMode){return;};this.__dragMode=true;qxWeb(document.documentElement).on(F,this._onPointerMove,this).setStyle(o,v);e.stopPropagation();},_onDocPointerUp:function(e){if(this.__dragMode===true){delete this.__dragMode;this.__valueToPosition(this.getValue());qxWeb(document.documentElement).off(F,this._onPointerMove,this).setStyle(o,n);e.stopPropagation();};},_onPointerMove:function(e){e.preventDefault();if(this.__dragMode){var bJ=e.getDocumentLeft();var bI=this._getDragBoundaries();var bK=Math.ceil(parseFloat(this.getStyle(h))||0);var bH=bJ-this.getOffset().left-this._getHalfKnobWidth()-bK;if(bJ>=bI.min&&bJ<=bI.max){this.setValue(this._getNearestValue(bJ));if(bH>0){this._setKnobPosition(bH);this.emit(p,bH);};};e.stopPropagation();};},_onDragStart:function(e){e.stopPropagation();e.preventDefault();},_onSliderFocus:function(e){this.getChildren(P+this.getCssPrefix()+O).focus();},_onKnobFocus:function(e){this.getChildren(P+this.getCssPrefix()+O).$onFirstCollection(b,this._onKeyDown,this);},_onKnobBlur:function(e){this.getChildren(P+this.getCssPrefix()+O).$offFirstCollection(b,this._onKeyDown,this);},_onKeyDown:function(e){var bQ;var bL=this.getValue();var bO=this.getConfig(D);var bN=qxWeb.type.get(bO);var bP=e.getKeyIdentifier();var bM;if(bP==C){if(bN===r){bM=bO.indexOf(bL);if(bM!==undefined){bQ=bO[bM+1]||bL;};}else if(bN===J){bQ=bL+bO;}else {bQ=bL+1;};}else if(bP==m){if(bN===r){bM=bO.indexOf(bL);if(bM!==undefined){bQ=bO[bM-1]||bL;};}else if(bN===J){bQ=bL-bO;}else {bQ=bL-1;};}else {return;};this.setValue(bQ);},_setKnobPosition:function(x){var bR=this.getChildren(P+this.getCssPrefix()+O);if(qxWeb.env.get(K)){bR.translate([x+c,0,0]);}else {bR.setStyle(N,x+c);};},_onWindowResize:function(){var bS=this.getProperty(u);if(qxWeb.type.get(this.getConfig(D))==r){this._getPixels();};this.__valueToPosition(bS);},__valueToPosition:function(bV){var cc=this._getPixels();var bU=Math.ceil(parseFloat(this.getStyle(h))||0);var bT;if(cc.length>0){bT=cc[this.getConfig(D).indexOf(bV)]-bU;}else {var cb=this._getDragBoundaries();var bW=cb.max-cb.min;var bX=this.getConfig(H)-this.getConfig(t);var bY=(bV-this.getConfig(t))/bX;bT=(bW*bY)+cb.min-bU;};var ca=bT-this.getOffset().left-this._getHalfKnobWidth();this._setKnobPosition(ca);this.emit(p,ca);},dispose:function(){this._forEachElementWrapped(function(cd){qxWeb(document).off(A,cd._onDocPointerUp,cd);qxWeb(window).$offFirstCollection(z,cd._onWindowResize,cd);cd.$offFirstCollection(A,cd._onSliderPointerUp,cd).$offFirstCollection(g,cd._onSliderFocus,cd);cd.getChildren(P+this.getCssPrefix()+O).$offFirstCollection(E,cd._onPointerDown,cd).$offFirstCollection(B,cd._onDragStart,cd).$offFirstCollection(g,cd._onKnobFocus,cd).$offFirstCollection(a,cd._onKnobBlur,cd).$offFirstCollection(b,cd._onKeyDown,cd);});this.setHtml(q);return qx.ui.website.Widget.prototype.dispose.call(this);}},defer:function(ce){qxWeb.$attach({slider:ce.slider});}});})();(function(){var a="none",b="src",c="qx.ui.website.Button",d="<span>",f="bottom-left",g="img",h="tap",i="inline",j="span",k="<img>",l="display";qx.Bootstrap.define(c,{extend:qx.ui.website.Widget,statics:{button:function(n,o){var m=new qx.ui.website.Button(this);m.init();if(n!=null){m.setLabel(n);};if(o!=null){m.setIcon(o);};return m;}},construct:function(q,p){qx.ui.website.Widget.call(this,q,p);},members:{init:function(){if(!qx.ui.website.Widget.prototype.init.call(this)){return false;};this._forEachElementWrapped(function(r){if(r.getChildren(j)==0){qxWeb.create(d).appendTo(r);};if(r.getChildren(g)==0){qxWeb.create(k).appendTo(r).setStyle(l,a);};});return true;},setLabel:function(s){this.getChildren(j).setHtml(s);return this;},getLabel:function(){return this.getChildren(j).getHtml();},setIcon:function(t){var u=this.getChildren(g);u.setAttribute(b,t);u.setStyle(l,t?i:a);return this;},getIcon:function(){return this.getChildren(g).getAttribute(b);},setMenu:function(v){this.on(h,function(e){if(v.getStyle(l)===a){v.placeTo(this,f);v.show();qxWeb(document).once(h,function(){v.hide();});}else {v.hide();};e.stopPropagation();});return this;}},defer:function(w){qxWeb.$attach({button:w.button});}});})();(function(){var c="-",f="</div>",g="qx-table-input-label",h="[",k="qx.ui.website.Table",m="'], #",o="<td class='qx-table-cell' data-qx-table-cell-key='{{ cellKey }}'>",p=" does not exists !",q="' for='",r=".qx-table-cell, .qx-table-header",s="<",t="'><input id='",u="qx-table-row-selected",v="selectionChange",w=" input",z="TABLE",A="td",B="qx-table-row-selection",C="__sortingFunction",D="__filters",E="__columnMeta",F="data-qx-table-col-name",G="cellOut",H="qx-table-header",I="caseSensitive",J="tap",K="id",L="Column ",M="tbody td",N="__model",O="__sortingData",P="string",Q="qqx-table-sort-desc",R="<label>{{& value }}</label>",S="input",T="sort",U='[object Number]',V="='",W="<table>",X="asc",Y=" class='",cp="</table>",cq="modelChange",cr="qx-table-sort-desc",cl="cellClick",cm="none",cn="tr",co="<div class='qx-table-cell-wrapper'>",cw=" ",cx="checked",cD="__dataRows",cy="pointerover",cs="qx-table-cell",ct="__hovered",cu="radio",cv="qx-table-all-columns",cC="cellRender",df="Object",dk="cellHover",cE="tbody tr",cz="cellKey",cA="<td>",cS="collection should contains only table elements !!",cB="rowSelection",cF="desc",cG='[object String]',cH="__filterFunction",cL="__filterFunc",du="checkbox",cM="tbody",cI="A Table header element is required for this widget.",cJ="qx-table-sort-",dt=".",cK="' name='",cR="columnDefault",dv="model must be an Array !!",cT="' ",cU='',cN=".qx-table-header-row",cO="filter",cP="qxWeb",cQ=">",cY="Array",da="table",db="th",dc="String",cV="_compare",cW="",dw="data-qx-table-cell-key",cX="multiple",dd='tbody',de="qx-table-sort-asc",dn="TD",dm="single",dl="__inputName",ds="modelApplied",dr="data-qx-table-col-type",dq="qx-table-selection-input",dp="'></label></",dj="' type='",di="' /><label class='",dh="undefined",dg="pointerout";qx.Bootstrap.define(k,{extend:qx.ui.website.Widget,construct:function(dy,dx){qx.ui.website.Widget.call(this,dy,dx);},events:{"modelChange":cY,"selectionChange":cP,"cellClick":df,"cellHover":df,"cellOut":df,"modelApplied":cY,"cellRender":df,"sort":df,"filter":df},statics:{_config:{caseSensitive:false,rowSelection:cm,sortable:false},_templates:{"columnDefault":o+co+R+f+cA},table:function(dA){var dz=new qx.ui.website.Table(this);dz.setProperty(N,dA);dz.init();return dz;},__isNumber:function(n){return (Object.prototype.toString.call(n)===U||Object.prototype.toString.call(n)===cG)&&!isNaN(parseFloat(n))&&isFinite(n.toString().replace(/^-/,cU));},__isDate:function(dB){var d=new Date(dB);return !isNaN(d.valueOf());},__getIndex:function(dD,dE){var dC=-1;for(var i=0,l=dD.length;i<l;i++ ){if(dD.item(i)==dE){dC=i;break;};};return dC;},__getUID:function(){return ((new Date()).getTime()+cW+Math.floor(Math.random()*1000000)).substr(0,18);},__selectionTypes:[dm,cX,cm],__internalCellClass:cs,__internalHeaderClass:H,__internalSelectionClass:B,__internalInputClass:dq,__allColumnSelector:cv,__dataColName:F,__dataColType:dr,__dataSortingKey:dw,__modelSortingKey:cz,__inputLabelClass:g,__selectedRowClass:u,__ascSortingClass:de,__descSortingClass:Q},members:{init:function(){if(!qx.ui.website.Widget.prototype.init.call(this)){return false;};var dF=this.getProperty(N);this._forEachElementWrapped(function(dG){if(qxWeb.getNodeName(dG).toUpperCase()!==z){throw new Error(cS);};if(!dG[0].tHead){throw new Error(cI);};dG.find(M).addClass(cs);dG.setProperty(dl,S+qx.ui.website.Table.__getUID());dG.__getColumnMetaData(dF);dG.setModel(dF);dG.setSortingFunction(dG.__defaultColumnSort);dG.__registerEvents();this.setProperty(ct,null);}.bind(this));return true;},setModel:function(dH){this._forEachElementWrapped(function(dI){if(typeof dH!=dh){if(qx.lang.Type.isArray(dH)){dI.setProperty(N,dH);dI.emit(cq,dH);}else {throw new Error(dv);};};});return this;},setColumnType:function(dJ,dK){this._forEachElementWrapped(function(dL){dL.__checkColumnExistance(dJ);dL.getProperty(E)[dJ].type=dK;}.bind(this));return this;},getColumnType:function(dM){this.eq(0).__checkColumnExistance(dM);return this.eq(0).getProperty(E)[dM].type;},getCell:function(dO,dN){return qxWeb(this.eq(0).__getRoot().rows.item(dO).cells.item(dN));},getRows:function(){return qxWeb(this.eq(0).__getRoot().rows);},setCompareFunction:function(dP,dQ){dP=qxWeb.string.firstUp(dP);this._forEachElementWrapped(function(dR){dR.setProperty(cV+dP,dQ);}.bind(this));return this;},unsetCompareFunction:function(dS){dS=qxWeb.string.firstUp(dS);var dT=this[cV+dS]||this._compareString;this._forEachElementWrapped(function(dU){dU.setProperty(cV+dS,dT);}.bind(this));return this;},getCompareFunction:function(dV){dV=qxWeb.string.firstUp(dV);return this.eq(0).getProperty(cV+dV)||this[cV+dV];},setSortingFunction:function(dW){dW=dW||function(){};this._forEachElementWrapped(function(dX){dX.setProperty(C,dW);}.bind(this));return this;},unsetSortingFunction:function(){this._forEachElementWrapped(function(dY){dY.setProperty(C,this.__defaultColumnSort);}.bind(this));return this;},setFilterFunction:function(ea){this._forEachElementWrapped(function(eb){eb.setProperty(cH,ea);}.bind(this));return this;},unsetFilterFunction:function(){this._forEachElementWrapped(function(ec){ec.setProperty(cH,this.__defaultColumnFilter);}.bind(this));return this;},setColumnFilter:function(ed,ee){this._forEachElementWrapped(function(ef){ef.__checkColumnExistance(ed);if(!ef.getProperty(cL)){ef.setProperty(cL,{});};ef.getProperty(cL)[ed]=ee;}.bind(this));return this;},getColumnFilter:function(eg){if(this.eq(0).getProperty(cL)){return this.eq(0).getProperty(cL)[eg];};return null;},setRowFilter:function(eh){this._forEachElementWrapped(function(ei){if(!ei.getProperty(cL)){ei.setProperty(cL,{});};ei.getProperty(cL).row=eh;}.bind(this));return this;},getRowFilter:function(){if(this.eq(0).getProperty(cL)){return this.eq(0).getProperty(cL).row;};return null;},sort:function(ej,ek){this.__checkColumnExistance(ej);this._forEachElementWrapped(function(el){el.setSortingClass(ej,ek);el.__sortDOM(el.__sort(ej,ek));}.bind(this));this.emit(T,{columName:ej,direction:ek});return this;},filter:function(en,em){if(em){this.__checkColumnExistance(em);if(en==cW){this.resetFilter(em);};}else {em=qx.ui.website.Table.__allColumnSelector;};this._forEachElementWrapped(function(eo){if(!eo.getProperty(D)){eo.setProperty(D,{});};if(eo.getProperty(D)[em]){eo.getProperty(D)[em].keyword=en;eo.__getRoot().appendChild(eo.getProperty(D)[em].rows);}else {eo.getProperty(D)[em]={keyword:en,rows:document.createDocumentFragment()};};eo.__filterDom(en,em);}.bind(this));this.emit(cO,{columName:em,keyword:en});return this;},resetFilter:function(ep){var eq=null;this._forEachElementWrapped(function(er){eq=er.getProperty(D);if(eq){if(ep){er.__getRoot().appendChild(eq[ep].rows);}else {for(var es in eq){er.__getRoot().appendChild(eq[es].rows);};};};});return this;},setContent:function(eu){var et=this.__extractTableRows(eu);var ev=this.find(dd);ev.empty();et.appendTo(ev);this.render();return this;},appendContent:function(ex){var ew=this.__extractTableRows(ex);var ey=this.find(dd);ew.appendTo(ey);this.render();return this;},__extractTableRows:function(eB){var eA=qxWeb();if(typeof eB==P){var ez=eB;eB=qxWeb.create(eB);if(qxWeb.getNodeName(eB)!=da){eB=qxWeb.create(W+ez+cp);};eA=eB.find(cE);}else if(qxWeb.isNode(eB)||(eB instanceof qxWeb)){eB=qxWeb(eB);var eC=qxWeb.getNodeName(eB);switch(eC){case da:eA=qxWeb(eB).find(cE);break;case cn:eA=eB;break;case cM:eA=qxWeb(eB).find(cn);break;};};return eA;},__filterDom:function(eF,eH){var eD=this.__getColumnIndex(eH);var eG=eH==qx.ui.website.Table.__allColumnSelector?this.getRowFilter():this.getColumnFilter(eH);eG=eG||this.__defaultColumnFilter;var eE=this.__getDataRows(),eI={};for(var i=0;i<eE.length;i++ ){eI={columnName:eH,columnIndex:eD,cell:eD?qxWeb(eE[i].cells.item(eD)):null,row:qxWeb(eE[i]),keyword:eF};if(!eG.bind(this)(eI)){this.getProperty(D)[eH].rows.appendChild(eE[i]);};};return this;},getSortingData:function(){return this.eq(0).getProperty(O);},render:function(){this._forEachElementWrapped(function(eJ){var eL=eJ.getSortingData();var eK=eJ.getConfig(cB);eJ.__applyTemplate(eJ.getProperty(N));if(qx.ui.website.Table.__selectionTypes.indexOf(eK)!=-1){eJ.__processSelectionInputs(eK);};if(eL){eJ.__sortDOM(eJ.__sort(eL.columnName,eL.direction));};});return this;},__processSelectionInputs:function(eM){switch(eM){case cm:qxWeb(dt+qx.ui.website.Table.__internalSelectionClass).remove();break;case cX:case dm:this.__createInputs(du);break;case dm:this.__createInputs(cu);break;};return this;},__createInputs:function(eO){this.__createInput(this.__getHeaderRow(),eO);var eN=this.find(cM)[0].getElementsByTagName(cn);for(var i=0;i<eN.length;i++ ){this.__createInput(eN.item(i),eO);};return this;},__createInput:function(eY,fa,eS){var eP=this.getCssPrefix();var eU=qx.ui.website.Table;var eQ=qxWeb(dt+eU.__internalHeaderClass+w);var eX=this.getConfig(cB);var eR=cW;if(eQ.length>0){eR=(eX==cX)&&eQ[0].checked?cx:cW;};if(typeof eS==dh){eS=qxWeb.getNodeName(qxWeb(eY.cells.item(0)));};var eU=qx.ui.website.Table,eT=this.getProperty(dl);var eV=(eS==db)?eU.__internalSelectionClass+cw+eU.__internalHeaderClass:eU.__internalSelectionClass;var fc=qxWeb(eY).find(dt+eU.__internalSelectionClass);if(fc.length>0){if(fc[0].type!=fa){fc[0].type=fa;};}else {var fb=qx.ui.website.Table.__getUID();var eW=qxWeb.create(s+eS+Y+eV+t+fb+cK+eT+cT+eR+Y+eP+c+fa+cw+eU.__internalInputClass+dj+fa+di+eU.__inputLabelClass+q+fb+dp+eS+cQ);if(eY.cells.item(0)){eW.insertBefore(qxWeb(eY.cells.item(0)));}else {eW.appendTo(qxWeb(eY));};};},__checkColumnExistance:function(fd){var fe=this.getProperty(E);if(fe&&!fe[fd]){throw new Error(L+fd+p);};},__getHeaderRow:function(){var ff=this[0].tHead;if(!ff){throw new Error(cI);};var fg=ff.rows;if(fg.length==1){return fg.item(0);}else {fg=qxWeb(cN);if(fg.length>0){return fg[0];};};return null;},__getColumnMetaData:function(fl){this.__addClassToHeaderAndFooter(this[0].tHead);this.__addClassToHeaderAndFooter(this[0].tFoot);var fm={},fi=null,fj=null,fk=null;var fh=this.__getHeaderRow();fi=fh.cells;for(var i=0,l=fi.length;i<l;i++ ){fk=qxWeb(fi.item(i));fj=this.__getColumName(fk[0])||qx.ui.website.Table.__getUID();if(!fk[0].getAttribute(qx.ui.website.Table.__dataColName)){fk.setAttribute(qx.ui.website.Table.__dataColName,fj);};fm[fj]={type:fk[0].getAttribute(qx.ui.website.Table.__dataColType)||dc,name:fj};};this.setProperty(E,fm);return this;},__addClassToHeaderAndFooter:function(fn){if(fn&&fn.rows.length>0){if(fn.rows.item(0).cells.length>0){var fo=this.__getHeaderRow();if(!qxWeb(fo.cells.item(0)).hasClass(qx.ui.website.Table.__internalHeaderClass)){qxWeb(fo.cells).addClass(qx.ui.website.Table.__internalHeaderClass);};};};return this;},__sortDOM:function(fp){for(var i=0,l=fp.length;i<l;i++ ){if(i){qxWeb(fp[i]).insertAfter(fp[i-1]);}else {qxWeb(fp[i]).insertBefore(qxWeb(this.__getRoot().rows.item(0)));};};this.setProperty(cD,fp);return this;},__registerEvents:function(){this.on(J,this.__detectClickedCell);this.on(cl,function(fq){if(fq.cell&&fq.cell.hasClass(qx.ui.website.Table.__internalHeaderClass)){this.getProperty(C).bind(this)(fq);};},this);this.on(cy,this.__cellHover,this);this.on(dg,this.__cellOut,this);return this;},__selectionRendered:function(){return qxWeb(dt+qx.ui.website.Table.__internalSelectionClass).length>0;},__processSelection:function(fx){var fw=qx.ui.website.Table;var fr=qxWeb(dt+fw.__internalInputClass);var fv=fx.find(S);var fz=this.getConfig(cB);var fs=qxWeb(dt+fw.__internalHeaderClass+w);var ft=[];if(fz==cX){if(fx.hasClass(fw.__internalHeaderClass)){fr.setAttribute(cx,fv[0].checked);};var fu=true;for(var i=0;i<fr.length;i++ ){if((fr[i]!=fs[0])&&(!fr[i].checked)){fu=false;break;};};fs.setAttribute(cx,fu);fr=fr.toArray();if(fu){qxWeb.array.remove(fr,fs[0]);ft=fr;}else {ft=fr.filter(function(fA){return fA.checked;});};}else {if(fv[0]!=fs[0]){ft.push(fv[0]);};};var fy=ft.map(function(fB){return fB.parentNode.parentNode;});fy=qxWeb(fy);qxWeb(dt+fw.__selectedRowClass).removeClass(fw.__selectedRowClass);fy.addClass(fw.__selectedRowClass);this.emit(v,{rows:qxWeb(fy)});return this;},__fireEvent:function(fD,fH,fC){var fK=fH[0].parentNode,fE=fK.cells;var fJ=qx.ui.website.Table.__getIndex(fE,fH[0]);var fM=this.__getHeaderRow();var fG=fM.cells.item(fJ);var fF=this.__getColumName(fG);var fI=this.getConfig(cB)!=cm?this.__getColumnIndex(fF)-1:this.__getColumnIndex(fF);var fL={cell:qxWeb(fH),row:qxWeb(fK),target:fC,columnIndex:fI,columnName:fF};this.emit(fD,fL);return fL;},__detectClickedCell:function(e){var fO=e.getTarget();var fN=qxWeb(fO);var fP=qx.ui.website.Table;while(!(fN.hasClass(fP.__internalCellClass)||fN.hasClass(fP.__internalHeaderClass)||fN.hasClass(fP.__internalSelectionClass))){if(fN.hasClass(this.classname)){fN=null;break;};fN=fN.getParents().eq(0);};if(fN.hasClass(fP.__internalSelectionClass)){window.setTimeout(function(){this.__processSelection(fN);}.bind(this),5);}else {if(fN&&fN.length>0){this.__fireEvent(cl,fN,fO);};};return this;},__cellHover:function(e){var fR=e.getTarget();var fQ=qxWeb(fR);var fS=this.getProperty(ct);if(!fQ.hasClass(cs)&&!fQ.hasClass(H)){fQ=fQ.getClosest(r);};if(fQ&&(fQ.length>0)&&((fS&&(fS.cell[0]!=fQ[0]))||(!fS))&&!fQ.hasClass(B)){if(fS){this.emit(G,this.getProperty(ct));};this.setProperty(ct,this.__fireEvent(dk,fQ,fR));};},__cellOut:function(e){var fU=e.getRelatedTarget();var fT=qxWeb(fU);if(this.getProperty(ct)){if(!fT.isChildOf(this)){this.emit(G,this.getProperty(ct));this.setProperty(ct,null);}else {if(!fT.hasClass(cs)&&!fT.hasClass(H)){fT=fT.getClosest(r);if(fT.hasClass(B)){this.emit(G,this.getProperty(ct));this.setProperty(ct,null);};};};};},__applyTemplate:function(gf){if(gf&&gf.length>0){var ga,gj;var gg=this.__getHeaderRow();var ge=null,fV=null;var gd=null;var gh=(this.getConfig(cB)==dm)?cu:du;if(this.__getRoot().rows.length>gf.length){this.__deleteRows(gf.length);};var fW=0,gi=false;var fY=this.getTemplate(cR);var fX=null;for(var i=0,gb=gf.length;i<gb;i++ ){gj=gf[i];if(!this.__isRowRendered(i)){ge=this.__getRoot().insertRow(i);if(this.__selectionRendered()){this.__createInput(ge,gh,A);};};for(var j=0,gc=gj.length;j<gc;j++ ){fW=this.__selectionRendered()?j+1:j;fX=this.__getColumName(gg.cells.item(fW));fV=this.__getDataForColumn(fX);fY=this.getTemplate(fX)||fY;gd=this.__getRoot().rows.item(i);ga=qxWeb.create(qxWeb.template.render(fY,gf[i][j]))[0];if(ga.nodeName.toUpperCase()!=dn){break;};if(!this.__isCellRendered(i,fW)){gd.appendChild(ga);}else {gd.replaceChild(ga,this.getCell(i,fW)[0]);};this.emit(cC,{cell:ga,row:i,col:j,value:gf[i][j]});};if(i==gb-1){gi=true;};};if(gi){this.emit(ds,gf);};};return this;},__deleteRows:function(gl){var gk=this.__getRoot().rows;while(gk.length>gl){this[0].deleteRow(gk.length);};return this;},__getDataForColumn:function(gm){return this.getProperty(E)[gm];},__getRoot:function(){return this[0].tBodies.item(0)||this[0];},__isRowRendered:function(gn){if(this.__getRoot().rows.item(gn)){return true;};return false;},__isCellRendered:function(go,gp){if(!this.__isRowRendered(go)){return false;};if(this.__getRoot().rows.item(go).cells.item(gp)){return true;};return false;},setSortingClass:function(gq,gs){var gr={columnName:gq,direction:gs};this.setProperty(O,gr);this.__addSortingClassToCol(this[0].tHead,gq,gs);},__addSortingClassToCol:function(gu,gx,gw){var gv=this.__getHeaderRow();if(gu&&gv){qxWeb(gv.cells).removeClasses([de,cr]);var gt=qxWeb(h+qx.ui.website.Table.__dataColName+V+gx+m+gx);gt.addClass(cJ+gw);};},__sort:function(gA,gy){var gC=this.__getDataForColumn(gA);var gz=qxWeb.string.firstUp(gC.type);if(!this[cV+gz]&&!this.getProperty(cV+gz)){gz=dc;};var gD=this.getCompareFunction(gz).bind(this);var gE=this.__getDataRows();var gB=this.__getColumnIndex(gA);return gE.sort(function(a,b){var x=this.__getSortingKey(qxWeb(a.cells.item(gB)));var y=this.__getSortingKey(qxWeb(b.cells.item(gB)));return gD(x,y,gy);}.bind(this));},_compareNumber:function(x,y,gF){x=qx.ui.website.Table.__isNumber(x)?Number(x):0;y=qx.ui.website.Table.__isNumber(y)?Number(y):0;if(gF==X){return x-y;}else if(gF==cF){return y-x;};return 0;},__getColumName:function(gG){return gG.getAttribute(qx.ui.website.Table.__dataColName)||gG.getAttribute(K);},_compareDate:function(x,y,gH){x=qx.ui.website.Table.__isDate(x)?new Date(x):new Date(0);y=qx.ui.website.Table.__isDate(y)?new Date(y):new Date(0);if(gH==X){return x-y;}else if(gH==cF){return y-x;};return 0;},_compareString:function(x,y,gI){if(!this.getConfig(I)){x=x.toLowerCase();y=y.toLowerCase();};if(gI==X){return ((x<y)?-1:((x>y)?1:0));}else if(gI==cF){return ((x>y)?-1:((x<y)?1:0));};return 0;},__getSortingKey:function(gJ){return gJ.getAttribute(qx.ui.website.Table.__dataSortingKey)||this.__getCellValue(gJ);},__getCellValue:function(gK){return gK.getTextContent()||cW;},__getDataRows:function(){var gL=this.find(cM)[0].rows,gP=[],gO=null,gM=[];for(var i=0,l=gL.length;i<l;i++ ){gM=gL.item(i).cells;if((gM.length>0)&&(gM[0].nodeName.toUpperCase()!=dn)){continue;};for(var j=0,gN=gM.length;j<gN;j++ ){gO=qxWeb(gM[j]);if(!gO.hasClass(qx.ui.website.Table.__internalCellClass)){gO.addClass(qx.ui.website.Table.__internalCellClass);};};gP.push(gL.item(i));};return gP;},__defaultColumnSort:function(gQ){var gS=X;var gR=this.getSortingData();if(gR){if(gQ.columnName==gR.columnName){if(gR.direction==gS){gS=cF;};};};if(gQ.cell.hasClass(H)){this.sort(gQ.columnName,gS);};},__defaultColumnFilter:function(gV){var gU=this.getConfig(I);var gT=gV.columnName==qx.ui.website.Table.__allColumnSelector?gV.row:gV.cell;var gW=this.__getCellValue(gT);if(gU){return gW.indexOf(gV.keyword)!=-1;}else {return gW.toLowerCase().indexOf(gV.keyword.toLowerCase())!=-1;};},__getColumnIndex:function(gX){var ha=this.__getHeaderRow();var gY=ha.cells;for(var i=0;i<gY.length;i++ ){if(gX==this.__getColumName(gY.item(i))){return i;};};return -1;}},defer:function(hb){qxWeb.$attach({table:hb.table});}});})();(function(){var c="Tue",d="keydown",f="-weekend",g="Given date range is not valid. Please verify the 'selectableWeekDays' config",h="Mon",j="minDate",k="Given date ",l="blur",m="changeValue",n="Space",o="<td colspan='1' class='{{cssPrefix}}-prev-container'><button class='{{cssPrefix}}-prev' {{prevDisabled}} title='Previous Month'>&lt;</button></td>",p="{{#row}}<td class='{{cssPrefix}}-dayname'>{{.}}</td>{{/row}}",q="-next",r="<tr>",s=".qx-calendar-invalid",t="dayRow",u="Sun",v=" ",w="-today",x="-weekday",y=" is earlier than configured minDate ",z="range",A=" is later than configured maxDate ",B="-day[value='",C="May",D="</tr>",E="table",F="<table class='{{cssPrefix}}-container'><thead>{{{thead}}}</thead><tbody>{{{tbody}}}</tbody></table>",G="value",H="tabindex",I="disabled",J="Left",K="September",L="October",M="__range",N="']",O="December",P="monthNames",Q="",R="April",S="<td colspan='5' class='{{cssPrefix}}-month'>{{month}} {{year}}</td>",T="Thu",U="Sat",V="row",W="November",X="June",Y="single",bK="Right",bL="qx.ui.website.Calendar",bM="-selected",bG="shownValue",bH="focus",bI="The given date's week day is not selectable.",bJ="March",bR="td",bS="{{#row}}<td class='{{cssClass}}'><button class='{{cssPrefix}}-day' {{disabled}} value='{{date}}'>{{day}}</button></td>{{/row}}",cc="-othermonth",bF="Given date range is not valid. Please verify the 'minDate' and 'maxDate' configs",bN="July",bO="-prev",bP="dayNames",bQ="August",bV="selectionMode",ci="button.qx-calendar-day",bW="controls",bX="> td > .",cd="January",bT="February",ch="Wed",bU="Date",bY="maxDate",ca="tap",cb=".",ce="Fri",cf="selectableWeekDays",cg="-day",bE="<td colspan='1' class='{{cssPrefix}}-next-container'><button class='{{cssPrefix}}-next' {{nextDisabled}} title='Next Month'>&gt;</button></td>";qx.Bootstrap.define(bL,{extend:qx.ui.website.Widget,statics:{_templates:{controls:r+o+S+bE+D,dayRow:r+p+D,row:r+bS+D,table:F},_config:{monthNames:[cd,bT,bJ,R,C,X,bN,bQ,K,L,W,O],dayNames:[h,c,ch,T,ce,U,u],minDate:null,maxDate:null,selectableWeekDays:[0,1,2,3,4,5,6],selectionMode:Y},calendar:function(cj){var ck=new qx.ui.website.Calendar(this);ck.init();if(cj!==undefined){ck.setValue(cj);};return ck;}},construct:function(cm,cl){qx.ui.website.Widget.call(this,cm,cl);},events:{"changeValue":bU},members:{init:function(){if(!qx.ui.website.Widget.prototype.init.call(this)){return false;};var cn=new Date();this._normalizeDate(cn);this._forEachElementWrapped(function(co){co.showValue(cn);});return true;},render:function(){var cq=this.getConfig(j);if(cq){this._normalizeDate(cq);};var cp=this.getConfig(bY);if(cp){this._normalizeDate(cp);};this.showValue(this.getProperty(bG));this.setEnabled(this.getEnabled());return this;},setEnabled:function(ct){var cu=this.getConfig(j);var cs=this.getConfig(bY);var cr=null;qx.ui.website.Widget.prototype.setEnabled.call(this,ct);if(ct&&(cu||cs)){this.find(ci).map(function(cv){cr=new Date(cv.getAttribute(G));cv=qxWeb(cv);if(cu&&cr<cu){cv.setAttribute(I,true);};if(cs&&cr>cs){cv.setAttribute(I,true);};});};return this;},setValue:function(cx){var cy=this.getConfig(j);var cw=this.getConfig(bY);if(this.getConfig(bV)==Y){this._normalizeDate(cx);if(this.getConfig(cf).indexOf(cx.getDay())==-1){throw new Error(bI);};if(cy){this._normalizeDate(cy);if(cx<cy){throw new Error(k+cx.toDateString()+y+cy.toDateString());};};if(cw){this._normalizeDate(cw);if(cx>cw){throw new Error(k+cx.toDateString()+A+cw.toDateString());};};}else if(this.getConfig(bV)==z){if(!this.getProperty(M)){this.setProperty(M,cx.map(function(cz){return cz.toDateString();}));};if(cx.length==2){cx.sort(function(a,b){return a-b;});cx=this._generateRange(cx);}else {this._normalizeDate(cx[0]);};};this.setProperty(G,cx);this.showValue(cx);if((this.getConfig(bV)==Y)||((this.getConfig(bV)==z)&&(cx.length>=1))){this.emit(m,cx);};return this;},getValue:function(){var cA=this.getProperty(G);return cA?(qx.Bootstrap.isArray(cA)?cA:new Date(cA)):null;},showValue:function(cC){cC=qx.Bootstrap.isArray(cC)?cC[cC.length-1]:cC;this.setProperty(bG,cC);var cB=this.getCssPrefix();this._forEachElementWrapped(function(cD){if(cD.getAttribute(H)<0){cD.setAttribute(H,0);};cD.find(cb+cB+bO).$offFirstCollection(ca,this._prevMonth,cD);cD.find(cb+cB+q).$offFirstCollection(ca,this._nextMonth,cD);cD.find(cb+cB+cg).$offFirstCollection(ca,this._selectDay,cD);cD.$offFirstCollection(bH,this._onFocus,cD,true).$offFirstCollection(l,this._onBlur,cD,true);},this);this.setHtml(this._getTable(cC));this._forEachElementWrapped(function(cE){cE.find(cb+cB+bO).$onFirstCollection(ca,this._prevMonth,cE);cE.find(cb+cB+q).$onFirstCollection(ca,this._nextMonth,cE);cE.find(bR).not(s).find(cb+cB+cg).$onFirstCollection(ca,this._selectDay,cE);cE.$onFirstCollection(bH,this._onFocus,cE,true).$onFirstCollection(l,this._onBlur,cE,true);},this);return this;},_prevMonth:function(){var cF=this.getProperty(bG);this.showValue(new Date(cF.getFullYear(),cF.getMonth()-1));},_nextMonth:function(){var cG=this.getProperty(bG);this.showValue(new Date(cG.getFullYear(),cG.getMonth()+1));},_selectDay:function(e){var cJ=qxWeb(e.getTarget());var cI=cJ.getAttribute(G);var cK=new Date(cI);if(this.getConfig(bV)==z){if(!this.getProperty(M)){this.setProperty(M,[]);};var cH=this.getProperty(M).slice(0);if(cH.length==2){cH=[];};cH.push(cI);this.setProperty(M,cH);cH=cH.map(function(cL){return new Date(cL);});this.setValue(cH);cI=cH;}else {this.setValue(cK);cI=[cI];};cI.forEach(function(cM){this.find(cb+this.getCssPrefix()+B+cM+N).focus();}.bind(this));},_getTable:function(cN){var cQ=qxWeb.template.render(this.getTemplate(bW),this._getControlsData(cN));var cP=qxWeb.template.render(this.getTemplate(t),this._getDayRowData());var cO={thead:cQ+cP,tbody:this._getWeekRows(cN),cssPrefix:this.getCssPrefix()};return qxWeb.template.render(this.getTemplate(E),cO);},_getControlsData:function(cR){var cU=Q;var cT=this.getConfig(j);if(cT){this._normalizeDate(cT);if(cR.getMonth()<=cT.getMonth()){cU=I;};};var cV=Q;var cS=this.getConfig(bY);if(cS){this._normalizeDate(cS);if(cR.getMonth()>=cS.getMonth()){cV=I;};};return {month:this.getConfig(P)[cR.getMonth()],year:cR.getFullYear(),cssPrefix:this.getCssPrefix(),prevDisabled:cU,nextDisabled:cV};},_getDayRowData:function(){return {row:this.getConfig(bP),cssPrefix:this.getCssPrefix()};},_getWeekRows:function(df){df=qx.Bootstrap.isArray(df)?df[df.length-1]:df;var dg=[];var db=null,dh=null;var dj=new Date();var de=this._getHelpDate(df);var cX=this.getCssPrefix();var dk=this.getConfig(j);if(dk){this._normalizeDate(dk);};var cY=this.getConfig(bY);if(cY){this._normalizeDate(cY);};if(qx.Bootstrap.isArray(this.getProperty(G))){dh=this.getProperty(G).map(function(dl){return dl.toDateString();});};for(var cW=0;cW<6;cW++ ){var di={row:[]};for(var i=0;i<7;i++ ){var da=de.getMonth()!==df.getMonth()?cX+cc:Q;if((this.getConfig(bV)==z)&&qx.Bootstrap.isArray(this.getProperty(G))){if(dh.indexOf(de.toDateString())!=-1){da+=v+cX+bM;};}else {var dd=this.getProperty(M);if(this.getProperty(G)){db=this.getConfig(bV)==z?new Date(dd[dd.length-1]):this.getProperty(G);da+=de.toDateString()===db.toDateString()?v+cX+bM:Q;};};da+=dj.toDateString()===de.toDateString()?v+cX+w:Q;var dc=this.getEnabled()?Q:I;if((dk&&de<dk)||(cY&&de>cY)||this.getConfig(cf).indexOf(de.getDay())==-1){dc=I;};da+=(de.getDay()===0||de.getDay()===6)?v+cX+f:v+cX+x;di.row.push({day:de.getDate(),date:de.toDateString(),cssPrefix:cX,cssClass:da,disabled:dc});de.setDate(de.getDate()+1);};dg.push(qxWeb.template.render(this.getTemplate(V),di));};return dg.join(Q);},_getHelpDate:function(dm){var dp=1;var dr=new Date(dm.getFullYear(),dm.getMonth(),1);var dn=dr.getDay();dr=new Date(dm.getFullYear(),dm.getMonth(),1,0,0,0);var dq=(7+dn-dp)%7;dr.setDate(dr.getDate()-dq);return dr;},_normalizeDate:function(ds){ds.setHours(0);ds.setMinutes(0);ds.setSeconds(0);ds.setMilliseconds(0);},_onFocus:function(e){this.$onFirstCollection(d,this._onKeyDown,this);},_onBlur:function(e){if(this.contains(e.getRelatedTarget()).length===0){this.$offFirstCollection(d,this._onKeyDown,this);};},_onKeyDown:function(e){var dt=this.getCssPrefix();var du=qxWeb(e.getTarget());var dv=e.getKeyIdentifier();var dw=du.hasClass(dt+cg);if(dw){if(dv==n){this._selectDay(e);}else if(dv==bK){e.preventDefault();this._focusNextDay(du);}else if(dv==J){e.preventDefault();this._focusPrevDay(du);};}else {if(dv==n){if(du.hasClass(dt+bO)){e.preventDefault();this._prevMonth();this.find(cb+dt+bO).focus();}else if(du.hasClass(dt+q)){e.preventDefault();this._nextMonth();this.find(cb+dt+q).focus();};}else if(dv==bK){e.preventDefault();this._nextMonth();this.find(cb+dt+q).focus();}else if(dv==J){e.preventDefault();this._prevMonth();this.find(cb+dt+bO).focus();};};e.stopPropagation();},_focusNextDay:function(dC){var dB=this.getCssPrefix();var dA=dC.getParents().getNext();if(dA.length>0){dA.getChildren(cb+dB+cg).focus();}else {var dz=dC.getParents().getParents().getNext();if(dz.length>0){dz.find(bX+dB+cg).getFirst().focus();}else {this._nextMonth();var dy=new Date(dC.getAttribute(G));var dD=new Date(dy.valueOf());dD.setDate(dy.getDate()+1);var dx=dD.toDateString();this.find(cb+dB+B+dx+N).focus();};};},_focusPrevDay:function(dJ){var dI=this.getCssPrefix();var dH=dJ.getParents().getPrev();if(dH.length>0){dH.getChildren(cb+dI+cg).focus();}else {var dF=dJ.getParents().getParents().getPrev();if(dF.length>0){dF.find(bX+dI+cg).getLast().focus();}else {this._prevMonth();var dG=new Date(dJ.getAttribute(G));var dK=new Date(dG.valueOf());dK.setDate(dG.getDate()-1);var dE=dK.toDateString();this.find(cb+dI+B+dE+N).focus();};};},_generateRange:function(dN){var dO=[],dL=dN[0];var dP=this.getConfig(j)?this.getConfig(j):new Date(dN[0].toDateString());var dM=this.getConfig(bY)?this.getConfig(bY):new Date(dN[1].toDateString());this._normalizeDate(dP);this._normalizeDate(dM);while(dL<=dN[1]){this._normalizeDate(dL);dO.push(new Date(dL.toDateString()));dL.setDate(dL.getDate()+1);};dO=dO.filter(function(dQ){return this.getConfig(cf).indexOf(dQ.getDay())!=-1;},this);if(dO.length==0){throw new Error(g);};dO=dO.filter(function(dR){return (dR>=dP)&&(dR<=dM);},this);if(dO.length==0){throw new Error(bF);};return dO;},dispose:function(){var dS=this.getCssPrefix();this._forEachElementWrapped(function(dT){dT.find(cb+dS+bO).$offFirstCollection(ca,this._prevMonth,dT);dT.find(cb+dS+q).$offFirstCollection(ca,this._nextMonth,dT);dT.find(cb+dS+cg).$offFirstCollection(ca,this._selectDay,dT);dT.$offFirstCollection(bH,this._onFocus,dT,true).$offFirstCollection(l,this._onBlur,dT,true).$offFirstCollection(d,this._onKeyDown,dT);},this);this.setHtml(Q);return qx.ui.website.Widget.prototype.dispose.call(this);}},defer:function(dU){qxWeb.$attach({calendar:dU.calendar});}});})();(function(){var a='div#',b="qx.ui.website.DatePicker",c='changeValue',d='-icon',f='readonly',g='format',h='<img>',i='tap',j='datepicker-icon-',k='datepicker-calendar-',l='icon',m='img#',n='<div id="',o='bottom-left',p='both',q='input',r='iconId',s='mode',t='uniqueId',u='#',v="none",w='calendarId',x='"></div>',y="display";qx.Bootstrap.define(b,{extend:qx.ui.website.Widget,statics:{_config:{format:function(z){return z.toLocaleDateString();},readonly:true,icon:null,mode:q},datepicker:function(A){var B=new qx.ui.website.DatePicker(this);B.init(A);return B;}},construct:function(D,C){qx.ui.website.Widget.call(this,D,C);},members:{getCalendar:function(){var E=qxWeb();this._forEachElementWrapped(function(F){E=E.concat(qxWeb(a+F.getProperty(w)));});return E;},init:function(G){if(!qx.ui.website.Widget.prototype.init.call(this)){return false;};this._forEachElementWrapped(function(H){var K=Math.round(Math.random()*10000);H.setProperty(t,K);this.__setReadOnly(H);this.__setIcon(H);this.__addInputListener(H);var J=k+K;var I=qxWeb.create(n+J+x).calendar();I.on(i,this._onCalendarTap);I.appendTo(document.body).hide();H.setProperty(w,J);var L=qxWeb.getDocument(H).body;qxWeb(L).on(i,H._onBodyTap,H);I.on(c,H._calendarChangeValue,H);if(G!==undefined){I.setValue(G);};});return true;},render:function(){this.getCalendar().render();this._forEachElementWrapped(function(M){this.__setReadOnly(M);this.__setIcon(M);this.__addInputListener(M);});this.setEnabled(this.getEnabled());return this;},_onTap:function(e){if(!this.getEnabled()){return;};var N=qxWeb(a+this.getProperty(w));if(N.getStyle(y)==v){this.getCalendar().show().placeTo(this,o);}else {this.getCalendar().hide();};},_onCalendarTap:function(e){e.stopPropagation();},_onBodyTap:function(e){var P=qxWeb(e.getTarget());if(this.length>0&&P.length>0&&this[0]==P[0]){return;};if(this.getConfig(l)!==null){var O=qxWeb(u+this.getProperty(r));if(O.length>0&&P.length>0&&O[0]==P[0]){return;};};if(this.getCalendar().isRendered()){var Q=qxWeb(e.getTarget());if(Q.isChildOf(this.getCalendar())===false){this.getCalendar().hide();};};},_calendarChangeValue:function(e){var R=this.getConfig(g).call(this,e);this.setValue(R);this.getCalendar().hide();},__setReadOnly:function(S){if(S.getConfig(f)){S.setAttribute(f,f);}else {S.removeAttribute(f);};},__setIcon:function(V){var W;if(V.getConfig(l)===null){W=V.getNext(m+V.getProperty(r));if(W.length===1){W.off(i,this._onTap,V);W.remove();};}else {var T=j+V.getProperty(t);if(V.getProperty(r)===undefined){V.setProperty(r,T);W=qxWeb.create(h);W.setAttributes({id:T,src:V.getConfig(l)});W.addClass(this.getCssPrefix()+d);var U=V.getConfig(s);if(U===l||U===p){W.on(i,this._onTap,V);};W.insertAfter(V);};};},__addInputListener:function(X){if(X.getConfig(s)===l){X.$offFirstCollection(i,X._onTap);}else {X.$onFirstCollection(i,X._onTap);};},dispose:function(){this._forEachElementWrapped(function(Y){Y.removeAttribute(f);Y.getNext(m+Y.getProperty(r)).remove();Y.$offFirstCollection(i,Y._onTap);var bb=qxWeb.getDocument(Y).body;qxWeb(bb).off(i,Y._onBodyTap,Y);Y.getCalendar().off(c,this._calendarChangeValue,Y).off(i,this._onCalendarTap);var ba=qxWeb(a+Y.getProperty(w));ba.remove();ba.dispose();});return qx.ui.website.Widget.prototype.dispose.call(this);}},defer:function(bc){qxWeb.$attach({datepicker:bc.datepicker});}});})();(function(){var a="</span>",b="blur",c="symbol",d="",f="Right",g="★",h="Number",j="Left",k="qx.ui.website.Rating",l="focus",m="tap",n="<span>",o="tabindex",p="-item-off",q="keydown",r=".",s="length",t="changeValue",u="span",v="-item";qx.Bootstrap.define(k,{extend:qx.ui.website.Widget,statics:{_config:{length:5,symbol:g},rating:function(w,y,length){var x=new qx.ui.website.Rating(this);x.init();var z=false;if(length!=undefined&&length!=x.getConfig(s)){x.setConfig(s,length);z=true;};if(y!=undefined){x.setConfig(c,y);z=true;};if(z){x.render();};if(w!=undefined){x.setValue(w);};return x;}},construct:function(B,A){qx.ui.website.Widget.call(this,B,A);},events:{"changeValue":h},members:{init:function(){if(!qx.ui.website.Widget.prototype.init.call(this)){return false;};this._updateSymbolLength();var C=this.getCssPrefix();this._forEachElementWrapped(function(D){if(D.getAttribute(o)<0){D.setAttribute(o,0);};D.$onFirstCollection(l,this._onFocus,D).$onFirstCollection(b,this._onBlur,D).getChildren(u).addClasses([C+v,C+p]).$onFirstCollection(m,this._onTap,D);}.bind(this));return true;},setValue:function(F){if(this.getValue()==F){return this;};if(F<0){F=0;};var E=this.getCssPrefix();this._forEachElementWrapped(function(G){var H=G.getChildren(u);H.removeClass(E+p);H.slice(F,H.length).addClass(E+p);G.emit(t,G.getValue());});return this;},getValue:function(){var I=this.getCssPrefix();return this.eq(0).getChildren(u).not(r+I+p).length;},render:function(){this._updateSymbolLength();},_updateSymbolLength:function(){var J=this.getCssPrefix();var length=this.getConfig(s);this._forEachElementWrapped(function(K){var L=K.getChildren();L.setHtml(this.getConfig(c));var M=length-L.length;if(M>0){for(var i=0;i<M;i++ ){qxWeb.create(n+this.getConfig(c)+a).$onFirstCollection(m,K._onTap,K).addClasses([J+v,J+p]).appendTo(K);};}else {for(var i=0;i<Math.abs(M);i++ ){K.getChildren().getLast().$offFirstCollection(m,K._onTap,K).remove();};};}.bind(this));return this;},_onTap:function(e){var N=qxWeb(e.getTarget()).getParents();this.setValue(N.getChildren().indexOf(e.getTarget())+1);},_onFocus:function(e){qxWeb(document.documentElement).on(q,this._onKeyDown,this);},_onBlur:function(e){qxWeb(document.documentElement).off(q,this._onKeyDown,this);},_onKeyDown:function(e){var O=e.getKeyIdentifier();if(O===f){this.setValue(this.getValue()+1);}else if(O===j){this.setValue(this.getValue()-1);};},dispose:function(){this._forEachElementWrapped(function(P){qxWeb(document.documentElement).off(q,this._onKeyDown,P);P.$offFirstCollection(l,this._onFocus,P).$offFirstCollection(b,this._onBlur,P);P.getChildren(u).$offFirstCollection(m,P._onTap,P);});this.setHtml(d);return qx.ui.website.Widget.prototype.dispose.call(this);}},defer:function(Q){qxWeb.$attach({rating:Q.rating});}});})();(function(){var a="swipe",b="function",c="getDistance",d="getStartTime",e="getDirection",f="getAxis",g="getDuration",h="getVelocity",j="qx.module.event.Swipe";qx.Bootstrap.define(j,{statics:{TYPES:[a],BIND_METHODS:[d,g,f,e,h,c],getStartTime:function(){return this._original.swipe.startTime;},getDuration:function(){return this._original.swipe.duration;},getAxis:function(){return this._original.swipe.axis;},getDirection:function(){return this._original.swipe.direction;},getVelocity:function(){return this._original.swipe.velocity;},getDistance:function(){return this._original.swipe.distance;},normalize:function(event,m){if(!event){return event;};var k=qx.module.event.Swipe.BIND_METHODS;for(var i=0,l=k.length;i<l;i++ ){if(typeof event[k[i]]!=b){event[k[i]]=qx.module.event.Swipe[k[i]].bind(event);};};return event;}},defer:function(n){qxWeb.$registerEventNormalization(qx.module.event.Swipe.TYPES,n.normalize);}});})();(function(){var a="getScale",b="qx.module.event.Pinch",c="pinch",d="function";qx.Bootstrap.define(b,{statics:{TYPES:[c],BIND_METHODS:[a],getScale:function(){return this._original.scale;},normalize:function(event,f){if(!event){return event;};var e=qx.module.event.Pinch.BIND_METHODS;for(var i=0,l=e.length;i<l;i++ ){if(typeof event[e[i]]!=d){event[e[i]]=qx.module.event.Pinch[e[i]].bind(event);};};return event;}},defer:function(g){qxWeb.$registerEventNormalization(qx.module.event.Pinch.TYPES,g.normalize);}});})();(function(){var a="qx.module.TextSelection",b="textarea",c="input";qx.Bootstrap.define(a,{statics:{getTextSelection:function(){var d=this[0];if(d){if(!qx.module.TextSelection.__isInput(d)){d=qx.module.TextSelection.__getTextNode(d);};return d?qx.bom.Selection.get(d):null;};return null;},getTextSelectionLength:function(){var e=this[0];if(e){if(!qx.module.TextSelection.__isInput(e)){e=qx.module.TextSelection.__getTextNode(e);};return e?qx.bom.Selection.getLength(e):null;};return null;},getTextSelectionStart:function(){var f=this[0];if(f){if(!qx.module.TextSelection.__isInput(f)){f=qx.module.TextSelection.__getTextNode(f);};return f?qx.bom.Selection.getStart(f):null;};return null;},getTextSelectionEnd:function(){var g=this[0];if(g){if(!qx.module.TextSelection.__isInput(g)){g=qx.module.TextSelection.__getTextNode(g);};return g?qx.bom.Selection.getEnd(g):null;};return null;},setTextSelection:function(h,j){var k=this[0];if(k){if(!qx.module.TextSelection.__isInput(k)){k=qx.module.TextSelection.__getTextNode(k);};if(k){qx.bom.Selection.set(k,h,j);};};return this;},clearTextSelection:function(){this._forEachElement(function(m){if(!qx.module.TextSelection.__isInput(m)){m=qx.module.TextSelection.__getTextNode(m);};if(m){qx.bom.Selection.clear(m);};});return this;},__isInput:function(n){var o=n.tagName?n.tagName.toLowerCase():null;return (o===c||o===b);},__getTextNode:function(p){for(var i=0,l=p.childNodes.length;i<l;i++ ){if(p.childNodes[i].nodeType===3){return p.childNodes[i];};};return null;}},defer:function(q){qxWeb.$attach({"getTextSelection":q.getTextSelection,"getTextSelectionLength":q.getTextSelectionLength,"getTextSelectionStart":q.getTextSelectionStart,"getTextSelectionEnd":q.getTextSelectionEnd,"setTextSelection":q.setTextSelection,"clearTextSelection":q.clearTextSelection});}});})();(function(){var a="engine.name",b="qx.bom.Selection",c="character",d="button",e='character',f="#text",g="webkit",h="input",i="gecko",j="EndToEnd",k="opera",l="StartToStart",m="html.selection",n="textarea",o="body";qx.Bootstrap.define(b,{statics:{getSelectionObject:qx.core.Environment.select(m,{"selection":function(p){return p.selection;},"default":function(q){return qx.dom.Node.getWindow(q).getSelection();}}),get:qx.core.Environment.select(m,{"selection":function(r){var s=qx.bom.Range.get(qx.dom.Node.getDocument(r));return s.text;},"default":function(t){if(this.__isInputOrTextarea(t)){return t.value.substring(t.selectionStart,t.selectionEnd);}else {return this.getSelectionObject(qx.dom.Node.getDocument(t)).toString();};}}),getLength:qx.core.Environment.select(m,{"selection":function(u){var w=this.get(u);var v=qx.util.StringSplit.split(w,/\r\n/);return w.length-(v.length-1);},"default":function(x){if(qx.core.Environment.get(a)==k){var B,C,A;if(this.__isInputOrTextarea(x)){var z=x.selectionStart;var y=x.selectionEnd;B=x.value.substring(z,y);C=y-z;}else {B=qx.bom.Selection.get(x);C=B.length;};A=qx.util.StringSplit.split(B,/\r\n/);return C-(A.length-1);};if(this.__isInputOrTextarea(x)){return x.selectionEnd-x.selectionStart;}else {return this.get(x).length;};}}),getStart:qx.core.Environment.select(m,{"selection":function(D){if(this.__isInputOrTextarea(D)){var I=qx.bom.Range.get();if(!D.contains(I.parentElement())){return -1;};var J=qx.bom.Range.get(D);var H=D.value.length;J.moveToBookmark(I.getBookmark());J.moveEnd(e,H);return H-J.text.length;}else {var J=qx.bom.Range.get(D);var F=J.parentElement();var K=qx.bom.Range.get();try{K.moveToElementText(F);}catch(M){return 0;};var E=qx.bom.Range.get(qx.dom.Node.getBodyElement(D));E.setEndPoint(l,J);E.setEndPoint(j,K);if(K.compareEndPoints(l,E)==0){return 0;};var G;var L=0;while(true){G=E.moveStart(c,-1);if(K.compareEndPoints(l,E)==0){break;};if(G==0){break;}else {L++ ;};};return ++L;};},"default":function(N){if(qx.core.Environment.get(a)===i||qx.core.Environment.get(a)===g){if(this.__isInputOrTextarea(N)){return N.selectionStart;}else {var P=qx.dom.Node.getDocument(N);var O=this.getSelectionObject(P);if(O.anchorOffset<O.focusOffset){return O.anchorOffset;}else {return O.focusOffset;};};};if(this.__isInputOrTextarea(N)){return N.selectionStart;}else {return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(N)).anchorOffset;};}}),getEnd:qx.core.Environment.select(m,{"selection":function(Q){if(this.__isInputOrTextarea(Q)){var V=qx.bom.Range.get();if(!Q.contains(V.parentElement())){return -1;};var W=qx.bom.Range.get(Q);var U=Q.value.length;W.moveToBookmark(V.getBookmark());W.moveStart(e,-U);return W.text.length;}else {var W=qx.bom.Range.get(Q);var S=W.parentElement();var X=qx.bom.Range.get();try{X.moveToElementText(S);}catch(ba){return 0;};var U=X.text.length;var R=qx.bom.Range.get(qx.dom.Node.getBodyElement(Q));R.setEndPoint(j,W);R.setEndPoint(l,X);if(X.compareEndPoints(j,R)==0){return U-1;};var T;var Y=0;while(true){T=R.moveEnd(c,1);if(X.compareEndPoints(j,R)==0){break;};if(T==0){break;}else {Y++ ;};};return U-( ++Y);};},"default":function(bb){if(qx.core.Environment.get(a)===i||qx.core.Environment.get(a)===g){if(this.__isInputOrTextarea(bb)){return bb.selectionEnd;}else {var bd=qx.dom.Node.getDocument(bb);var bc=this.getSelectionObject(bd);if(bc.focusOffset>bc.anchorOffset){return bc.focusOffset;}else {return bc.anchorOffset;};};};if(this.__isInputOrTextarea(bb)){return bb.selectionEnd;}else {return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bb)).focusOffset;};}}),__isInputOrTextarea:function(be){return qx.dom.Node.isElement(be)&&(be.nodeName.toLowerCase()==h||be.nodeName.toLowerCase()==n);},set:qx.core.Environment.select(m,{"selection":function(bf,bi,bh){var bg;if(qx.dom.Node.isDocument(bf)){bf=bf.body;};if(qx.dom.Node.isElement(bf)||qx.dom.Node.isText(bf)){switch(bf.nodeName.toLowerCase()){case h:case n:case d:if(bh===undefined){bh=bf.value.length;};if(bi>=0&&bi<=bf.value.length&&bh>=0&&bh<=bf.value.length){bg=qx.bom.Range.get(bf);bg.collapse(true);bg.moveStart(c,bi);bg.moveEnd(c,bh-bi);bg.select();return true;};break;case f:if(bh===undefined){bh=bf.nodeValue.length;};if(bi>=0&&bi<=bf.nodeValue.length&&bh>=0&&bh<=bf.nodeValue.length){bg=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bg.moveToElementText(bf.parentNode);bg.collapse(true);bg.moveStart(c,bi);bg.moveEnd(c,bh-bi);bg.select();return true;};break;default:if(bh===undefined){bh=bf.childNodes.length-1;};if(bf.childNodes[bi]&&bf.childNodes[bh]){bg=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bg.moveToElementText(bf.childNodes[bi]);bg.collapse(true);var bj=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bj.moveToElementText(bf.childNodes[bh]);bg.setEndPoint(j,bj);bg.select();return true;};};};return false;},"default":function(bk,bp,bm){var bn=bk.nodeName.toLowerCase();if(qx.dom.Node.isElement(bk)&&(bn==h||bn==n)){if(bm===undefined){bm=bk.value.length;};if(bp>=0&&bp<=bk.value.length&&bm>=0&&bm<=bk.value.length){bk.focus();bk.select();bk.setSelectionRange(bp,bm);return true;};}else {var bq=false;var bl=qx.dom.Node.getWindow(bk).getSelection();var bo=qx.bom.Range.get(bk);if(qx.dom.Node.isText(bk)){if(bm===undefined){bm=bk.length;};if(bp>=0&&bp<bk.length&&bm>=0&&bm<=bk.length){bq=true;};}else if(qx.dom.Node.isElement(bk)){if(bm===undefined){bm=bk.childNodes.length-1;};if(bp>=0&&bk.childNodes[bp]&&bm>=0&&bk.childNodes[bm]){bq=true;};}else if(qx.dom.Node.isDocument(bk)){bk=bk.body;if(bm===undefined){bm=bk.childNodes.length-1;};if(bp>=0&&bk.childNodes[bp]&&bm>=0&&bk.childNodes[bm]){bq=true;};};if(bq){if(!bl.isCollapsed){bl.collapseToStart();};bo.setStart(bk,bp);if(qx.dom.Node.isText(bk)){bo.setEnd(bk,bm);}else {bo.setEndAfter(bk.childNodes[bm]);};if(bl.rangeCount>0){bl.removeAllRanges();};bl.addRange(bo);return true;};};return false;}}),clear:qx.core.Environment.select(m,{"selection":function(br){var bt=qx.bom.Range.get(br);var parent=bt.parentElement();var bu=qx.bom.Range.get(qx.dom.Node.getDocument(br));if(qx.dom.Node.isText(br)){br=br.parentNode;};if(parent==bu.parentElement()&&parent==br){var bs=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(br));bs.empty();};},"default":function(bv){var bA=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bv));var bw=bv.nodeName.toLowerCase();if(qx.dom.Node.isElement(bv)&&(bw==h||bw==n)){bv.setSelectionRange(0,0);if(qx.bom.Element&&qx.bom.Element.blur){qx.bom.Element.blur(bv);};}else if(qx.dom.Node.isDocument(bv)||bw==o){bA.collapse(bv.body?bv.body:bv,0);}else {var bx=qx.bom.Range.get(bv);if(!bx.collapsed){var by;var bz=bx.commonAncestorContainer;if(qx.dom.Node.isElement(bv)&&qx.dom.Node.isText(bz)){by=bz.parentNode;}else {by=bz;};if(by==bv){bA.collapse(bv,0);};};};}})}});})();(function(){var a="qx.bom.Range",b="text",c="password",d="file",e="submit",f="reset",g="textarea",h="input",i="hidden",j="html.selection",k="button",l="body";qx.Bootstrap.define(a,{statics:{get:qx.core.Environment.select(j,{"selection":function(m){if(qx.dom.Node.isElement(m)){switch(m.nodeName.toLowerCase()){case h:switch(m.type){case b:case c:case i:case k:case f:case d:case e:return m.createTextRange();default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};break;case g:case l:case k:return m.createTextRange();default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};}else {if(m==null){m=window;};return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};},"default":function(n){var o=qx.dom.Node.getDocument(n);var p=qx.bom.Selection.getSelectionObject(o);if(p.rangeCount>0){return p.getRangeAt(0);}else {return o.createRange();};}})}});})();(function(){var a="m",b="g",c="^",d="",e="qx.util.StringSplit",f="i",g="$(?!\\s)",h="[object RegExp]",j="y";qx.Bootstrap.define(e,{statics:{split:function(k,p,o){if(Object.prototype.toString.call(p)!==h){return String.prototype.split.call(k,p,o);};var r=[],l=0,m=(p.ignoreCase?f:d)+(p.multiline?a:d)+(p.sticky?j:d),p=RegExp(p.source,m+b),n,t,q,u,s=/()??/.exec(d)[1]===undefined;k=k+d;if(!s){n=RegExp(c+p.source+g,m);};if(o===undefined||+o<0){o=Infinity;}else {o=Math.floor(+o);if(!o){return [];};};while(t=p.exec(k)){q=t.index+t[0].length;if(q>l){r.push(k.slice(l,t.index));if(!s&&t.length>1){t[0].replace(n,function(){for(var i=1;i<arguments.length-2;i++ ){if(arguments[i]===undefined){t[i]=undefined;};};});};if(t.length>1&&t.index<k.length){Array.prototype.push.apply(r,t.slice(1));};u=t[0].length;l=q;if(r.length>=o){break;};};if(p.lastIndex===t.index){p.lastIndex++ ;};};if(l===k.length){if(u||!p.test(d)){r.push(d);};}else {r.push(k.slice(l));};return r.length>o?r.slice(0,o):r;}}});})();(function(){var a="",b="block",c="none",d="hidden",e="absolute",f="qx.module.Css",g="display";qx.Bootstrap.define(f,{statics:{setStyle:function(name,h){if(/\w-\w/.test(name)){name=qx.lang.String.camelCase(name);};this._forEachElement(function(j){qx.bom.element.Style.set(j,name,h);});return this;},getStyle:function(name){if(this[0]&&qx.dom.Node.isElement(this[0])){if(/\w-\w/.test(name)){name=qx.lang.String.camelCase(name);};return qx.bom.element.Style.get(this[0],name);};return null;},setStyles:function(k){for(var name in k){this.setStyle(name,k[name]);};return this;},getStyles:function(n){var m={};for(var i=0;i<n.length;i++ ){m[n[i]]=this.getStyle(n[i]);};return m;},addClass:function(name){this._forEachElement(function(o){qx.bom.element.Class.add(o,name);});return this;},addClasses:function(p){this._forEachElement(function(q){qx.bom.element.Class.addClasses(q,p);});return this;},removeClass:function(name){this._forEachElement(function(r){qx.bom.element.Class.remove(r,name);});return this;},removeClasses:function(s){this._forEachElement(function(t){qx.bom.element.Class.removeClasses(t,s);});return this;},hasClass:function(name){if(!this[0]||!qx.dom.Node.isElement(this[0])){return false;};return qx.bom.element.Class.has(this[0],name);},getClass:function(){if(!this[0]||!qx.dom.Node.isElement(this[0])){return a;};return qx.bom.element.Class.get(this[0]);},toggleClass:function(name){var u=qx.bom.element.Class;this._forEachElement(function(v){u.has(v,name)?u.remove(v,name):u.add(v,name);});return this;},toggleClasses:function(w){for(var i=0,l=w.length;i<l;i++ ){this.toggleClass(w[i]);};return this;},replaceClass:function(y,x){this._forEachElement(function(z){qx.bom.element.Class.replace(z,y,x);});return this;},getHeight:function(C){var D=this[0];if(D){if(qx.dom.Node.isElement(D)){var A;if(C){var B={display:b,position:e,visibility:d};A=qx.module.Css.__swap(D,B,qx.module.Css.getHeight,this);}else {A=qx.bom.element.Dimension.getHeight(D);};return A;}else if(qx.dom.Node.isDocument(D)){return qx.bom.Document.getHeight(qx.dom.Node.getWindow(D));}else if(qx.dom.Node.isWindow(D)){return qx.bom.Viewport.getHeight(D);};};return null;},getWidth:function(G){var H=this[0];if(H){if(qx.dom.Node.isElement(H)){var E;if(G){var F={display:b,position:e,visibility:d};E=qx.module.Css.__swap(H,F,qx.module.Css.getWidth,this);}else {E=qx.bom.element.Dimension.getWidth(H);};return E;}else if(qx.dom.Node.isDocument(H)){return qx.bom.Document.getWidth(qx.dom.Node.getWindow(H));}else if(qx.dom.Node.isWindow(H)){return qx.bom.Viewport.getWidth(H);};};return null;},getOffset:function(I){var J=this[0];if(J&&qx.dom.Node.isElement(J)){return qx.bom.element.Location.get(J,I);};return null;},getContentHeight:function(L){var N=this[0];if(qx.dom.Node.isElement(N)){var M;if(L){var K={position:e,visibility:d,display:b};M=qx.module.Css.__swap(N,K,qx.module.Css.getContentHeight,this);}else {M=qx.bom.element.Dimension.getContentHeight(N);};return M;};return null;},getContentWidth:function(Q){var O=this[0];if(qx.dom.Node.isElement(O)){var R;if(Q){var P={position:e,visibility:d,display:b};R=qx.module.Css.__swap(O,P,qx.module.Css.getContentWidth,this);}else {R=qx.bom.element.Dimension.getContentWidth(O);};return R;};return null;},getPosition:function(){var S=this[0];if(qx.dom.Node.isElement(S)){return qx.bom.element.Location.getPosition(S);};return null;},includeStylesheet:function(U,T){qx.bom.Stylesheet.includeFile(U,T);},hide:function(){this._forEachElementWrapped(function(V){var W=V.getStyle(g);if(W!==c){V[0].$$qPrevDisp=W;V.setStyle(g,c);};});return this;},show:function(){this._forEachElementWrapped(function(ba){var bb=ba.getStyle(g);var Y=ba[0].$$qPrevDisp;var X;if(bb==c){if(Y&&Y!=c){X=Y;}else {var bc=qxWeb.getDocument(ba[0]);X=qx.module.Css.__getDisplayDefault(ba[0].tagName,bc);};ba.setStyle(g,X);ba[0].$$qPrevDisp=c;};});return this;},__displayDefaults:{},__getDisplayDefault:function(bg,bd){var bf=qx.module.Css.__displayDefaults;if(!bf[bg]){var bh=bd||document;var be=qxWeb(bh.createElement(bg)).appendTo(bd.body);bf[bg]=be.getStyle(g);be.remove();};return bf[bg]||a;},__swap:function(bk,bi,bl,bo){var bm={};for(var bn in bi){bm[bn]=bk.style[bn];bk.style[bn]=bi[bn];};var bj=bl.call(bo);for(var bn in bm){bk.style[bn]=bm[bn];};return bj;}},defer:function(bp){qxWeb.$attach({"setStyle":bp.setStyle,"getStyle":bp.getStyle,"setStyles":bp.setStyles,"getStyles":bp.getStyles,"addClass":bp.addClass,"addClasses":bp.addClasses,"removeClass":bp.removeClass,"removeClasses":bp.removeClasses,"hasClass":bp.hasClass,"getClass":bp.getClass,"toggleClass":bp.toggleClass,"toggleClasses":bp.toggleClasses,"replaceClass":bp.replaceClass,"getHeight":bp.getHeight,"getWidth":bp.getWidth,"getOffset":bp.getOffset,"getContentHeight":bp.getContentHeight,"getContentWidth":bp.getContentWidth,"getPosition":bp.getPosition,"hide":bp.hide,"show":bp.show});qxWeb.$attachStatic({"includeStylesheet":bp.includeStylesheet});}});})();(function(){var a="border-box",b="qx.bom.element.BoxSizing",c="css.boxsizing",d="",e="boxSizing",f="content-box",g=":",h=";";qx.Bootstrap.define(b,{statics:{__nativeBorderBox:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__usesNativeBorderBox:function(j){var i=this.__nativeBorderBox;return i.tags[j.tagName.toLowerCase()]||i.types[j.type];},compile:function(k){if(qx.core.Environment.get(c)){var l=qx.bom.Style.getCssName(qx.core.Environment.get(c));return l+g+k+h;}else {{};};},get:function(m){if(qx.core.Environment.get(c)){return qx.bom.element.Style.get(m,e,null,false)||d;};if(qx.bom.Document.isStandardMode(qx.dom.Node.getWindow(m))){if(!this.__usesNativeBorderBox(m)){return f;};};return a;},set:function(o,n){if(qx.core.Environment.get(c)){try{o.style[qx.core.Environment.get(c)]=n;}catch(p){{};};}else {{};};},reset:function(q){this.set(q,d);}}});})();(function(){var a="cursor:",b="engine.name",c="",d="mshtml",e="nw-resize",f="engine.version",g="nesw-resize",h="browser.documentmode",i=";",j="nwse-resize",k="qx.bom.element.Cursor",l="ne-resize",m="browser.quirksmode",n="cursor";qx.Bootstrap.define(k,{statics:{__map:{},compile:function(o){return a+(this.__map[o]||o)+i;},get:function(q,p){return qx.bom.element.Style.get(q,n,p,false);},set:function(s,r){s.style.cursor=this.__map[r]||r;},reset:function(t){t.style.cursor=c;}},defer:function(u){if(qx.core.Environment.get(b)==d&&((parseFloat(qx.core.Environment.get(f))<9||qx.core.Environment.get(h)<9)&&!qx.core.Environment.get(m))){u.__map[g]=l;u.__map[j]=e;};}});})();(function(){var a="engine.name",b=");",c="",d=")",e="zoom:1;filter:alpha(opacity=",f="qx.bom.element.Opacity",g="css.opacity",h=";",i="opacity:",j="alpha(opacity=",k="opacity",l="filter";qx.Bootstrap.define(f,{statics:{compile:qx.core.Environment.select(a,{"mshtml":function(m){if(m>=1){m=1;};if(m<0.00001){m=0;};if(qx.core.Environment.get(g)){return i+m+h;}else {return e+(m*100)+b;};},"default":function(n){return i+n+h;}}),set:qx.core.Environment.select(a,{"mshtml":function(q,o){if(qx.core.Environment.get(g)){q.style.opacity=o;}else {var p=qx.bom.element.Style.get(q,l,qx.bom.element.Style.COMPUTED_MODE,false);if(o>=1){o=1;};if(o<0.00001){o=0;};if(!q.currentStyle||!q.currentStyle.hasLayout){q.style.zoom=1;};q.style.filter=p.replace(/alpha\([^\)]*\)/gi,c)+j+o*100+d;};},"default":function(s,r){s.style.opacity=r;}}),reset:qx.core.Environment.select(a,{"mshtml":function(u){if(qx.core.Environment.get(g)){u.style.opacity=c;}else {var t=qx.bom.element.Style.get(u,l,qx.bom.element.Style.COMPUTED_MODE,false);u.style.filter=t.replace(/alpha\([^\)]*\)/gi,c);};},"default":function(v){v.style.opacity=c;}}),get:qx.core.Environment.select(a,{"mshtml":function(z,y){if(qx.core.Environment.get(g)){var w=qx.bom.element.Style.get(z,k,y,false);if(w!=null){return parseFloat(w);};return 1.0;}else {var x=qx.bom.element.Style.get(z,l,y,false);if(x){var w=x.match(/alpha\(opacity=(.*)\)/);if(w&&w[1]){return parseFloat(w[1])/100;};};return 1.0;};},"default":function(C,B){var A=qx.bom.element.Style.get(C,k,B,false);if(A!=null){return parseFloat(A);};return 1.0;}})}});})();(function(){var a="clip:auto;",b="rect(",c=")",d=");",e="",f="px",g="Could not parse clip string: ",h="qx.bom.element.Clip",i="string",j="clip:rect(",k=" ",l="clip",m="rect(auto,auto,auto,auto)",n="rect(auto, auto, auto, auto)",o="auto",p=",";qx.Bootstrap.define(h,{statics:{compile:function(q){if(!q){return a;};var v=q.left;var top=q.top;var u=q.width;var t=q.height;var r,s;if(v==null){r=(u==null?o:u+f);v=o;}else {r=(u==null?o:v+u+f);v=v+f;};if(top==null){s=(t==null?o:t+f);top=o;}else {s=(t==null?o:top+t+f);top=top+f;};return j+top+p+r+p+s+p+v+d;},get:function(z,D){var x=qx.bom.element.Style.get(z,l,D,false);var C,top,A,E;var w,y;if(typeof x===i&&x!==o&&x!==e){x=x.trim();if(/\((.*)\)/.test(x)){var F=RegExp.$1;if(/,/.test(F)){var B=F.split(p);}else {var B=F.split(k);};top=B[0].trim();w=B[1].trim();y=B[2].trim();C=B[3].trim();if(C===o){C=null;};if(top===o){top=null;};if(w===o){w=null;};if(y===o){y=null;};if(top!=null){top=parseInt(top,10);};if(w!=null){w=parseInt(w,10);};if(y!=null){y=parseInt(y,10);};if(C!=null){C=parseInt(C,10);};if(w!=null&&C!=null){A=w-C;}else if(w!=null){A=w;};if(y!=null&&top!=null){E=y-top;}else if(y!=null){E=y;};}else {throw new Error(g+x);};};return {left:C||null,top:top||null,width:A||null,height:E||null};},set:function(L,G){if(!G){L.style.clip=m;return;};var M=G.left;var top=G.top;var K=G.width;var J=G.height;var H,I;if(M==null){H=(K==null?o:K+f);M=o;}else {H=(K==null?o:M+K+f);M=M+f;};if(top==null){I=(J==null?o:J+f);top=o;}else {I=(J==null?o:top+J+f);top=top+f;};L.style.clip=b+top+p+H+p+I+p+M+c;},reset:function(N){N.style.clip=n;}}});})();(function(){var a="foo",b="css.borderimage.standardsyntax",c="borderRadius",d="boxSizing",e="stretch",f="css.borderradius",g="content",h="css.inlineblock",j="css.gradient.filter",k="css.appearance",l="css.opacity",m="div",n="pointerEvents",o="css.gradient.radial",p="css.pointerevents",q="input",r="color",s="string",t="borderImage",u="userSelect",v="progid:",w="css.textShadow.filter",x="css.usermodify",y="flexbox",z='url("foo.png") 4 4 4 4 fill stretch',A="css.boxmodel",B="qx.bom.client.Css",C="css.boxshadow",D="appearance",E="-ms-flexbox",F="placeholder",G="-moz-none",H="backgroundImage",I="css.textShadow",J="DXImageTransform.Microsoft.Shadow",K="flex",L="css.alphaimageloaderneeded",M="css.gradient.legacywebkit",N="css.flexboxSyntax",O="linear-gradient(0deg, #fff, #000)",P="textShadow",Q="auto",R="css.borderimage",S="foo.png",T="rgba(1, 2, 3, 0.5)",U="color=#666666,direction=45",V="radial-gradient(0px 0px, cover, red 50%, blue 100%)",W="rgba",X="(",Y="-webkit-flex",bD='url("foo.png") 4 4 4 4 stretch',bE="css.gradient.linear",bF="DXImageTransform.Microsoft.Gradient",bz="css.userselect",bA="span",bB="css.boxsizing",bC="-webkit-gradient(linear,0% 0%,100% 100%,from(white), to(red))",bJ="mshtml",bK="css.rgba",bL=");",bT="4 fill",bG="none",bH="startColorStr=#550000FF, endColorStr=#55FFFF00",bI="detect",bx="css.placeholder",bO="css.textoverflow",by="inline-block",bP="-moz-inline-box",bQ="textOverflow",bR="userModify",bM="boxShadow",bS="css.userselect.none",bN="border";qx.Bootstrap.define(B,{statics:{__WEBKIT_LEGACY_GRADIENT:null,getBoxModel:function(){var content=qx.bom.client.Engine.getName()!==bJ||!qx.bom.client.Browser.getQuirksMode();return content?g:bN;},getTextOverflow:function(){return qx.bom.Style.getPropertyName(bQ);},getPlaceholder:function(){var i=document.createElement(q);return F in i;},getAppearance:function(){return qx.bom.Style.getPropertyName(D);},getBorderRadius:function(){return qx.bom.Style.getPropertyName(c);},getBoxShadow:function(){return qx.bom.Style.getPropertyName(bM);},getBorderImage:function(){return qx.bom.Style.getPropertyName(t);},getBorderImageSyntax:function(){var bV=qx.bom.client.Css.getBorderImage();if(!bV){return null;};var bU=document.createElement(m);if(bV===t){bU.style[bV]=z;if(bU.style.borderImageSource.indexOf(S)>=0&&bU.style.borderImageSlice.indexOf(bT)>=0&&bU.style.borderImageRepeat.indexOf(e)>=0){return true;};}else {bU.style[bV]=bD;if(bU.style[bV].indexOf(S)>=0){return false;};};return null;},getUserSelect:function(){return qx.bom.Style.getPropertyName(u);},getUserSelectNone:function(){var bX=qx.bom.client.Css.getUserSelect();if(bX){var bW=document.createElement(bA);bW.style[bX]=G;return bW.style[bX]===G?G:bG;};return null;},getUserModify:function(){return qx.bom.Style.getPropertyName(bR);},getLinearGradient:function(){qx.bom.client.Css.__WEBKIT_LEGACY_GRADIENT=false;var cc=O;var bY=document.createElement(m);var ca=qx.bom.Style.getAppliedStyle(bY,H,cc);if(!ca){cc=bC;var ca=qx.bom.Style.getAppliedStyle(bY,H,cc,false);if(ca){qx.bom.client.Css.__WEBKIT_LEGACY_GRADIENT=true;};};if(!ca){return null;};var cb=/(.*?)\(/.exec(ca);return cb?cb[1]:null;},getFilterGradient:function(){return qx.bom.client.Css.__isFilterSupported(bF,bH);},getRadialGradient:function(){var cg=V;var cd=document.createElement(m);var ce=qx.bom.Style.getAppliedStyle(cd,H,cg);if(!ce){return null;};var cf=/(.*?)\(/.exec(ce);return cf?cf[1]:null;},getLegacyWebkitGradient:function(){if(qx.bom.client.Css.__WEBKIT_LEGACY_GRADIENT===null){qx.bom.client.Css.getLinearGradient();};return qx.bom.client.Css.__WEBKIT_LEGACY_GRADIENT;},getRgba:function(){var ch;try{ch=document.createElement(m);}catch(ci){ch=document.createElement();};try{ch.style[r]=T;if(ch.style[r].indexOf(W)!=-1){return true;};}catch(cj){};return false;},getBoxSizing:function(){return qx.bom.Style.getPropertyName(d);},getInlineBlock:function(){var ck=document.createElement(bA);ck.style.display=by;if(ck.style.display==by){return by;};ck.style.display=bP;if(ck.style.display!==bP){return bP;};return null;},getOpacity:function(){return (typeof document.documentElement.style.opacity==s);},getTextShadow:function(){return !!qx.bom.Style.getPropertyName(P);},getFilterTextShadow:function(){return qx.bom.client.Css.__isFilterSupported(J,U);},__isFilterSupported:function(co,cm){var cn=false;var cp=v+co+X+cm+bL;var cl=document.createElement(m);document.body.appendChild(cl);cl.style.filter=cp;if(cl.filters&&cl.filters.length>0&&cl.filters.item(co).enabled==true){cn=true;};document.body.removeChild(cl);return cn;},getAlphaImageLoaderNeeded:function(){return qx.bom.client.Engine.getName()==bJ&&qx.bom.client.Browser.getDocumentMode()<9;},getPointerEvents:function(){var cq=document.documentElement;if(n in cq.style){var cs=cq.style.pointerEvents;cq.style.pointerEvents=Q;cq.style.pointerEvents=a;var cr=cq.style.pointerEvents==Q;cq.style.pointerEvents=cs;return cr;};return false;},getFlexboxSyntax:function(){var cu=null;var ct=document.createElement(bI);var cv=[{value:K,syntax:K},{value:E,syntax:y},{value:Y,syntax:K}];for(var i=0;i<cv.length;i++ ){try{ct.style.display=cv[i].value;}catch(cw){return null;};if(ct.style.display===cv[i].value){cu=cv[i].syntax;break;};};ct=null;return cu;}},defer:function(cx){qx.core.Environment.add(bO,cx.getTextOverflow);qx.core.Environment.add(bx,cx.getPlaceholder);qx.core.Environment.add(f,cx.getBorderRadius);qx.core.Environment.add(C,cx.getBoxShadow);qx.core.Environment.add(bE,cx.getLinearGradient);qx.core.Environment.add(j,cx.getFilterGradient);qx.core.Environment.add(o,cx.getRadialGradient);qx.core.Environment.add(M,cx.getLegacyWebkitGradient);qx.core.Environment.add(A,cx.getBoxModel);qx.core.Environment.add(bK,cx.getRgba);qx.core.Environment.add(R,cx.getBorderImage);qx.core.Environment.add(b,cx.getBorderImageSyntax);qx.core.Environment.add(x,cx.getUserModify);qx.core.Environment.add(bz,cx.getUserSelect);qx.core.Environment.add(bS,cx.getUserSelectNone);qx.core.Environment.add(k,cx.getAppearance);qx.core.Environment.add(bB,cx.getBoxSizing);qx.core.Environment.add(h,cx.getInlineBlock);qx.core.Environment.add(l,cx.getOpacity);qx.core.Environment.add(I,cx.getTextShadow);qx.core.Environment.add(w,cx.getFilterTextShadow);qx.core.Environment.add(L,cx.getAlphaImageLoaderNeeded);qx.core.Environment.add(p,cx.getPointerEvents);qx.core.Environment.add(N,cx.getFlexboxSyntax);}});})();(function(){var a="qx.bom.element.Style",b="css.borderimage",c="css.userselect",d="css.boxsizing",e="pixelLeft",f="css.textoverflow",g="Cascaded styles are not supported in this browser!",h="pixelBottom",i="pixelHeight",j="pixelWidth",k="css.appearance",l="pixelRight",m="css.usermodify",n="",o="pixelTop",p="px";qx.Bootstrap.define(a,{statics:{__styleNames:null,__cssNames:null,__detectVendorProperties:function(){var r={"appearance":qx.core.Environment.get(k),"userSelect":qx.core.Environment.get(c),"textOverflow":qx.core.Environment.get(f),"borderImage":qx.core.Environment.get(b),"userModify":qx.core.Environment.get(m),"boxSizing":qx.core.Environment.get(d)};this.__cssNames={};for(var q in qx.lang.Object.clone(r)){if(!r[q]){delete r[q];}else {this.__cssNames[q]=qx.bom.Style.getCssName(r[q]);};};this.__styleNames=r;},__getStyleName:function(name){var s=qx.bom.Style.getPropertyName(name);if(s){this.__styleNames[name]=s;};return s;},__mshtmlPixel:{width:j,height:i,left:e,right:l,top:o,bottom:h},__special:{clip:qx.bom.element.Clip,cursor:qx.bom.element.Cursor,opacity:qx.bom.element.Opacity,boxSizing:qx.bom.element.BoxSizing},COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(v,name,t,u){{};name=this.__styleNames[name]||this.__getStyleName(name)||name;if(u!==false&&this.__special[name]){this.__special[name].set(v,t);}else {v.style[name]=t!==null?t:n;};},get:function(z,name,B,D){name=this.__styleNames[name]||this.__getStyleName(name)||name;if(D!==false&&this.__special[name]){return this.__special[name].get(z,B);};switch(B){case this.LOCAL_MODE:return z.style[name]||n;case this.CASCADED_MODE:if(z.currentStyle){return z.currentStyle[name]||n;};throw new Error(g);default:var x=qx.dom.Node.getDocument(z);var A=x.defaultView?x.defaultView.getComputedStyle:undefined;if(A!==undefined){var w=A(z,null);if(w&&w[name]){return w[name];};}else {if(!z.currentStyle){return z.style[name]||n;};var F=z.currentStyle[name]||z.style[name]||n;if(/^-?[\.\d]+(px)?$/i.test(F)){return F;};var E=this.__mshtmlPixel[name];if(E&&(E in z.style)){var C=z.style[name];z.style[name]=F||0;var y=z.style[E]+p;z.style[name]=C;return y;};return F;};return z.style[name]||n;};}},defer:function(G){G.__detectVendorProperties();}});})();(function(){var a='',b="g",c="(^|\\s)",d='function',e="(\\s|$)",f="",g="\\b|\\b",h="qx.bom.element.Class",j='SVGAnimatedString',k="html.classlist",m="default",n=" ",o='object',p="$2",q="native",r="\\b",s='undefined';qx.Bootstrap.define(h,{statics:{__splitter:/\s+/g,__trim:/^\s+|\s+$/g,add:{"native":function(t,name){t.classList.add(name);return name;},"default":function(u,name){if(!this.has(u,name)){u.className+=(u.className?n:f)+name;};return name;}}[qx.core.Environment.get(k)?q:m],addClasses:{"native":function(w,v){for(var i=0;i<v.length;i++ ){w.classList.add(v[i]);};return w.className;},"default":function(y,A){var z={};var B;var x=y.className;if(x){B=x.split(this.__splitter);for(var i=0,l=B.length;i<l;i++ ){z[B[i]]=true;};for(var i=0,l=A.length;i<l;i++ ){if(!z[A[i]]){B.push(A[i]);};};}else {B=A;};return y.className=B.join(n);}}[qx.core.Environment.get(k)?q:m],get:function(D){var C=D.className;if(typeof C.split!==d){if(typeof C===o){if(qx.Bootstrap.getClass(C)==j){C=C.baseVal;}else {{};C=a;};};if(typeof C===s){{};C=a;};};return C;},has:{"native":function(E,name){return E.classList.contains(name);},"default":function(G,name){var F=new RegExp(c+name+e);return F.test(G.className);}}[qx.core.Environment.get(k)?q:m],remove:{"native":function(H,name){H.classList.remove(name);return name;},"default":function(J,name){var I=new RegExp(c+name+e);J.className=J.className.replace(I,p);return name;}}[qx.core.Environment.get(k)?q:m],removeClasses:{"native":function(L,K){for(var i=0;i<K.length;i++ ){L.classList.remove(K[i]);};return L.className;},"default":function(O,M){var N=new RegExp(r+M.join(g)+r,b);return O.className=O.className.replace(N,f).replace(this.__trim,f).replace(this.__splitter,n);}}[qx.core.Environment.get(k)?q:m],replace:function(R,Q,P){if(!this.has(R,Q)){return f;};this.remove(R,Q);return this.add(R,P);}}});})();(function(){var a="mshtml",b="engine.name",c="qx.bom.element.Dimension",d="0px",e="paddingRight",f="paddingLeft",g="opera",h="overflowY",i="paddingTop",j="overflowX",k="browser.documentmode",l="paddingBottom";qx.Bootstrap.define(c,{statics:{getWidth:function(n){var m=this._getBoundingClientRect(n);return Math.round(m.right-m.left);},getHeight:function(p){var o=this._getBoundingClientRect(p);return Math.round(o.bottom-o.top);},_getBoundingClientRect:function(t){var s=t.getBoundingClientRect();if(qx.core.Environment.get(k)===11&&!!document.msFullscreenElement&&window!==window.top&&this.__isChildOfFullScreenElement(t)){var q={};for(var r in s){q[r]=s[r]*100;};s=q;};return s;},__isChildOfFullScreenElement:function(u){if(document.msFullscreenElement===u){return true;};return qx.dom.Hierarchy.contains(document.msFullscreenElement,u);},__hiddenScrollbars:{visible:true,hidden:true},getContentWidth:function(y){var v=qx.bom.element.Style;var w=qx.bom.element.Style.get(y,j);var x=parseInt(v.get(y,f)||d,10);var B=parseInt(v.get(y,e)||d,10);if(this.__hiddenScrollbars[w]){var A=y.clientWidth;if((qx.core.Environment.get(b)==g)||qx.dom.Node.isBlockNode(y)){A=A-x-B;};if(qx.core.Environment.get(b)==a){if(A===0&&y.offsetHeight===0){return y.offsetWidth;};};return A;}else {if(y.clientWidth>=y.scrollWidth){return Math.max(y.clientWidth,y.scrollWidth)-x-B;}else {var z=y.scrollWidth-x;if(qx.core.Environment.get(b)==a){z-=B;};return z;};};},getContentHeight:function(G){var C=qx.bom.element.Style;var F=qx.bom.element.Style.get(G,h);var E=parseInt(C.get(G,i)||d,10);var D=parseInt(C.get(G,l)||d,10);if(this.__hiddenScrollbars[F]){return G.clientHeight-E-D;}else {if(G.clientHeight>=G.scrollHeight){return Math.max(G.clientHeight,G.scrollHeight)-E-D;}else {return G.scrollHeight-E;};};}}});})();(function(){var a="qx.dom.Hierarchy",b="previousSibling",c="nextSibling",d="html.element.contains",e="html.element.compareDocumentPosition";qx.Bootstrap.define(a,{statics:{getNextElementSibling:function(f){while(f&&(f=f.nextSibling)&&!qx.dom.Node.isElement(f)){continue;};return f||null;},getPreviousElementSibling:function(g){while(g&&(g=g.previousSibling)&&!qx.dom.Node.isElement(g)){continue;};return g||null;},contains:function(j,i){if(qx.core.Environment.get(d)){if(qx.dom.Node.isDocument(j)){var h=qx.dom.Node.getDocument(i);return j&&h==j;}else if(qx.dom.Node.isDocument(i)){return false;}else {return j.contains(i);};}else if(qx.core.Environment.get(e)){return !!(j.compareDocumentPosition(i)&16);}else {while(i){if(j==i){return true;};i=i.parentNode;};return false;};},isRendered:function(l){var k=l.ownerDocument||l.document;if(qx.core.Environment.get(d)){if(!l.parentNode){return false;};return k.body.contains(l);}else if(qx.core.Environment.get(e)){return !!(k.compareDocumentPosition(l)&16);}else {while(l){if(l==k.body){return true;};l=l.parentNode;};return false;};},getChildElements:function(n){n=n.firstChild;if(!n){return [];};var m=this.getNextSiblings(n);if(n.nodeType===1){m.unshift(n);};return m;},getPreviousSiblings:function(o){return this._recursivelyCollect(o,b);},getNextSiblings:function(p){return this._recursivelyCollect(p,c);},_recursivelyCollect:function(s,q){var r=[];while(s=s[q]){if(s.nodeType==1){r.push(s);};};return r;},getSiblings:function(t){return this.getPreviousSiblings(t).reverse().concat(this.getNextSiblings(t));}}});})();(function(){var a="borderBottomWidth",b="scroll",c="qx.bom.element.Location",d="gecko",e="paddingLeft",f="borderRightWidth",g="auto",h="static",i="borderTopWidth",j="borderLeftWidth",k="marginBottom",l="marginTop",m="overflowY",n="marginLeft",o="border-box",p="padding",q="paddingBottom",r="paddingTop",s="marginRight",t="browser.quirksmode",u="engine.name",v="position",w="margin",x="paddingRight",y="BODY",z="overflowX",A="border";qx.Bootstrap.define(c,{statics:{__num:function(C,B){return parseInt(qx.bom.element.Style.get(C,B,qx.bom.element.Style.COMPUTED_MODE,false),10)||0;},__computeScroll:function(E){var F=0,top=0;var D=qx.dom.Node.getWindow(E);F-=qx.bom.Viewport.getScrollLeft(D);top-=qx.bom.Viewport.getScrollTop(D);return {left:F,top:top};},__computeBody:qx.core.Environment.select(u,{"mshtml":function(I){var H=qx.dom.Node.getDocument(I);var G=H.body;var J=0;var top=0;J-=G.clientLeft+H.documentElement.clientLeft;top-=G.clientTop+H.documentElement.clientTop;if(!qx.core.Environment.get(t)){J+=this.__num(G,j);top+=this.__num(G,i);};return {left:J,top:top};},"webkit":function(M){var L=qx.dom.Node.getDocument(M);var K=L.body;var N=K.offsetLeft;var top=K.offsetTop;return {left:N,top:top};},"gecko":function(P){var O=qx.dom.Node.getDocument(P).body;var Q=O.offsetLeft;var top=O.offsetTop;if(qx.bom.element.BoxSizing.get(O)!==o){Q+=this.__num(O,j);top+=this.__num(O,i);};return {left:Q,top:top};},"default":function(S){var R=qx.dom.Node.getDocument(S).body;var T=R.offsetLeft;var top=R.offsetTop;return {left:T,top:top};}}),__computeOffset:function(U){var V=U.getBoundingClientRect();return {left:Math.round(V.left),top:Math.round(V.top)};},get:function(bb,bc){if(bb.tagName==y){var location=this.__getBodyLocation(bb);var bf=location.left;var top=location.top;}else {var W=this.__computeBody(bb);var ba=this.__computeOffset(bb);var scroll=this.__computeScroll(bb);var bf=ba.left+W.left-scroll.left;var top=ba.top+W.top-scroll.top;};var X=bf+bb.offsetWidth;var Y=top+bb.offsetHeight;if(bc){if(bc==p||bc==b){var be=qx.bom.element.Style.get(bb,z);if(be==b||be==g){X+=bb.scrollWidth-bb.offsetWidth+this.__num(bb,j)+this.__num(bb,f);};var bd=qx.bom.element.Style.get(bb,m);if(bd==b||bd==g){Y+=bb.scrollHeight-bb.offsetHeight+this.__num(bb,i)+this.__num(bb,a);};};switch(bc){case p:bf+=this.__num(bb,e);top+=this.__num(bb,r);X-=this.__num(bb,x);Y-=this.__num(bb,q);case b:bf-=bb.scrollLeft;top-=bb.scrollTop;X-=bb.scrollLeft;Y-=bb.scrollTop;case A:bf+=this.__num(bb,j);top+=this.__num(bb,i);X-=this.__num(bb,f);Y-=this.__num(bb,a);break;case w:bf-=this.__num(bb,n);top-=this.__num(bb,l);X+=this.__num(bb,s);Y+=this.__num(bb,k);break;};};return {left:bf,top:top,right:X,bottom:Y};},__getBodyLocation:function(bg){var top=bg.offsetTop;var bh=bg.offsetLeft;top+=this.__num(bg,l);bh+=this.__num(bg,n);if(qx.core.Environment.get(u)===d){top+=this.__num(bg,j);bh+=this.__num(bg,i);};return {left:bh,top:top};},getRelative:function(bl,bk,bj,bi){var bn=this.get(bl,bj);var bm=this.get(bk,bi);return {left:bn.left-bm.left,top:bn.top-bm.top,right:bn.right-bm.right,bottom:bn.bottom-bm.bottom};},getPosition:function(bo){return this.getRelative(bo,this.getOffsetParent(bo));},getOffsetParent:function(br){var bq=br.offsetParent||document.body;var bp=qx.bom.element.Style;while(bq&&(!/^body|html$/i.test(bq.tagName)&&bp.get(bq,v)===h)){bq=bq.offsetParent;};return bq;}}});})();(function(){var a="stylesheet",b="head",c="html.stylesheet.insertrule",d="}",e="html.stylesheet.createstylesheet",f="text/css",g="{",h="qx.bom.Stylesheet",i="link",j="style";qx.Bootstrap.define(h,{statics:{includeFile:function(m,k){if(!k){k=document;};var n=k.createElement(i);n.type=f;n.rel=a;n.href=m;var l=k.getElementsByTagName(b)[0];l.appendChild(n);},createElement:function(o){if(qx.core.Environment.get(e)){var p=document.createStyleSheet();if(o){p.cssText=o;};return p;}else {var q=document.createElement(j);q.type=f;if(o){q.appendChild(document.createTextNode(o));};document.getElementsByTagName(b)[0].appendChild(q);return q.sheet;};},addRule:function(t,u,s){{var r;};if(qx.core.Environment.get(c)){t.insertRule(u+g+s+d,t.cssRules.length);}else {t.addRule(u,s);};}}});})();(function(){var a="file",b="+",c="strict",d="anchor",e="query",f="source",g="password",h="host",j="protocol",k="user",l="directory",n="loose",p="relative",q="queryKey",r="qx.util.Uri",s="",t="path",u="authority",v="&",w="port",x="userInfo",y="?",z="=";qx.Bootstrap.define(r,{statics:{parseUri:function(C,B){var D={key:[f,j,u,x,k,g,h,w,p,t,l,a,e,d],q:{name:q,parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};var o=D,m=D.parser[B?c:n].exec(C),A={},i=14;while(i-- ){A[o.key[i]]=m[i]||s;};A[o.q.name]={};A[o.key[12]].replace(o.q.parser,function(F,G,E){if(G){A[o.q.name][G]=E;};});return A;},appendParamsToUrl:function(H,I){if(I===undefined){return H;};{};if(qx.lang.Type.isObject(I)){I=qx.util.Uri.toParameter(I);};if(!I){return H;};return H+=/\?/.test(H)?v+I:y+I;},toParameter:function(J,N){var M,L=[];for(M in J){if(J.hasOwnProperty(M)){var K=J[M];if(K instanceof Array){for(var i=0;i<K.length;i++ ){this.__toParameterPair(M,K[i],L,N);};}else {this.__toParameterPair(M,K,L,N);};};};return L.join(v);},__toParameterPair:function(R,S,Q,P){var O=window.encodeURIComponent;if(P){Q.push(O(R).replace(/%20/g,b)+z+O(S).replace(/%20/g,b));}else {Q.push(O(R)+z+O(S));};}}});})();(function(){var a="qx.bom.client.Stylesheet",b="html.stylesheet.deleterule",c="html.stylesheet.insertrule",d="function",e="html.stylesheet.createstylesheet",f="html.stylesheet.addimport",g="html.stylesheet.removeimport",h="object";qx.Bootstrap.define(a,{statics:{__getStylesheet:function(){if(!qx.bom.client.Stylesheet.__stylesheet){qx.bom.client.Stylesheet.__stylesheet=qx.bom.Stylesheet.createElement();};return qx.bom.client.Stylesheet.__stylesheet;},getCreateStyleSheet:function(){return typeof document.createStyleSheet===h;},getInsertRule:function(){return typeof qx.bom.client.Stylesheet.__getStylesheet().insertRule===d;},getDeleteRule:function(){return typeof qx.bom.client.Stylesheet.__getStylesheet().deleteRule===d;},getAddImport:function(){return (typeof qx.bom.client.Stylesheet.__getStylesheet().addImport===h);},getRemoveImport:function(){return (typeof qx.bom.client.Stylesheet.__getStylesheet().removeImport===h);}},defer:function(i){qx.core.Environment.add(e,i.getCreateStyleSheet);qx.core.Environment.add(c,i.getInsertRule);qx.core.Environment.add(b,i.getDeleteRule);qx.core.Environment.add(f,i.getAddImport);qx.core.Environment.add(g,i.getRemoveImport);}});})();(function(){var a="tap",b="swipe",c="qx.module.event.Touch",d="longtap",e="dbltap";qx.Bootstrap.define(c,{statics:{TYPES:[a,d,b,e],normalize:function(event,g,f){if(!event){return event;};event._type=f;return event;}},defer:function(h){qxWeb.$registerEventNormalization(h.TYPES,h.normalize);}});})();(function(){var a="function",b="getButton",c="mousedown",d="getScreenLeft",e="ie",f="mouseout",g="browser.name",h="dblclick",j="qx.module.event.Mouse",k="mousemove",m="middle",n="browser.documentmode",o="mouseover",p="mouseup",q="getDocumentLeft",r="getViewportLeft",s="right",t="click",u="getViewportTop",v="none",w="contextmenu",x="getScreenTop",y="left",z="getDocumentTop";qx.Bootstrap.define(j,{statics:{TYPES:[t,h,c,p,o,k,f],BIND_METHODS:[b,r,u,q,z,d,x],BUTTONS_DOM2:{'0':y,'2':s,'1':m},BUTTONS_MSHTML:{'1':y,'2':s,'4':m},getButton:function(){switch(this.type){case w:return s;case t:if(qxWeb.env.get(g)===e&&qxWeb.env.get(n)<9){return y;};default:if(this.target!==undefined){return qx.module.event.Mouse.BUTTONS_DOM2[this.button]||v;}else {return qx.module.event.Mouse.BUTTONS_MSHTML[this.button]||v;};};},getViewportLeft:function(){return this.clientX;},getViewportTop:function(){return this.clientY;},getDocumentLeft:function(){if(this.pageX!==undefined){return this.pageX;}else {var A=qx.dom.Node.getWindow(this.srcElement);return this.clientX+qx.bom.Viewport.getScrollLeft(A);};},getDocumentTop:function(){if(this.pageY!==undefined){return this.pageY;}else {var B=qx.dom.Node.getWindow(this.srcElement);return this.clientY+qx.bom.Viewport.getScrollTop(B);};},getScreenLeft:function(){return this.screenX;},getScreenTop:function(){return this.screenY;},normalize:function(event,D){if(!event){return event;};var C=qx.module.event.Mouse.BIND_METHODS;for(var i=0,l=C.length;i<l;i++ ){if(typeof event[C[i]]!=a){event[C[i]]=qx.module.event.Mouse[C[i]].bind(event);};};return event;}},defer:function(E){qxWeb.$registerEventNormalization(qx.module.event.Mouse.TYPES,E.normalize);}});})();(function(){var a="([^\/]+)",b="^",c="$",d="qx.event.Messaging",e="No listener found for ",f="any";qx.Bootstrap.define(d,{construct:function(){this._listener={},this.__listenerIdCount=0;this.__channelToIdMapping={};},members:{_listener:null,__listenerIdCount:null,__channelToIdMapping:null,on:function(k,j,h,g){return this._addListener(k,j,h,g);},onAny:function(n,m,l){return this._addListener(f,n,m,l);},_addListener:function(w,u,r,t){var q=this._listener[w]=this._listener[w]||{};var p=this.__listenerIdCount++ ;var s=[];var o=null;if(qx.lang.Type.isString(u)){var v=/\{([\w\d]+)\}/g;while((o=v.exec(u))!==null){s.push(o[1]);};u=new RegExp(b+u.replace(v,a)+c);};q[p]={regExp:u,params:s,handler:r,scope:t};this.__channelToIdMapping[p]=w;return p;},remove:function(y){var z=this.__channelToIdMapping[y];var x=this._listener[z];delete x[y];delete this.__channelToIdMapping[y];},emit:function(D,A,C,B){this._emit(D,A,C,B);},_emit:function(K,J,I,E){var F=false;var H=this._listener[f];F=this._emitListeners(K,J,H,I,E);var G=false;H=this._listener[K];G=this._emitListeners(K,J,H,I,E);if(!G&&!F){qx.Bootstrap.info(e+J);};},_emitListeners:function(S,Q,O,P,L){if(!O||qx.lang.Object.isEmpty(O)){return false;};var M=false;for(var R in O){var N=O[R];M|=this._emitRoute(S,Q,N,P,L);};return M;},_emitRoute:function(bb,Y,V,W,T){var ba=V.regExp.exec(Y);if(ba){var W=W||{};var U=null;var X=null;ba.shift();for(var i=0;i<ba.length;i++ ){X=ba[i];U=V.params[i];if(U){W[U]=X;}else {W[i]=X;};};V.handler.call(V.scope,{path:Y,params:W,customData:T});};return ba!=undefined;}}});})();(function(){var a="qx.module.Messaging";qx.Bootstrap.define(a,{statics:{on:null,onAny:null,remove:null,emit:null},defer:function(b){qxWeb.$attachStatic({"messaging":new qx.event.Messaging()});}});})();(function(){var a="swipe",b="pinch",c="event.dispatchevent",d="longtap",e="rotate",f="track",g="trackstart",h="trackend",i="tap",j="qx.module.event.GestureHandler",k="roll",l="dbltap";qx.Bootstrap.define(j,{statics:{TYPES:[i,d,a,l,f,g,h,k,e,b],register:function(n,m){if(!n.$$gestureHandler){if(!qx.core.Environment.get(c)){if(!n.$$emitter){n.$$emitter=new qx.event.Emitter();};};n.$$gestureHandler=new qx.event.handler.GestureCore(n,n.$$emitter);};},unregister:function(q){if(q.$$gestureHandler){var o=q.$$emitter.getListeners();for(var p in o){if(qx.module.event.GestureHandler.TYPES.indexOf(p)!==-1){if(o[p].length>0){return;};};};q.$$gestureHandler.dispose();q.$$gestureHandler=undefined;};}},defer:function(r){qxWeb.$registerEventHook(r.TYPES,r.register,r.unregister);}});})();(function(){var a="swipe",b="pinch",c="event.dispatchevent",d="gesturemove",e="touch",f="longtap",g="event.mousewheel",h="roll",i="dblclick",j="wheel",k="rotate",l="trackstart",m="gesturefinish",n="y",o="browser.documentmode",p="dbltap",q="qx.event.handler.GestureCore",r="right",s="mshtml",t="engine.name",u="gesturecancel",v="gesturebegin",w="track",z="trackend",A="left",B="tap",C="on",D="down",E="x",F="up";qx.Bootstrap.define(q,{extend:Object,statics:{TYPES:[B,a,f,p,w,l,z,k,b,h],GESTURE_EVENTS:[v,m,d,u],TAP_MAX_DISTANCE:{"touch":40,"mouse":50,"pen":20},SWIPE_DIRECTION:{x:[A,r],y:[F,D]},LONGTAP_TIME:500,DOUBLETAP_TIME:500,ROLL_FACTOR:18},construct:function(G,H){this.__defaultTarget=G;this.__emitter=H;this.__gesture={};this.__lastTap={};this.__stopMomentum={};this._initObserver();},members:{__defaultTarget:null,__emitter:null,__gesture:null,__eventName:null,__primaryTarget:null,__isMultiPointerGesture:null,__initialAngle:null,__lastTap:null,__rollImpulseId:null,__stopMomentum:null,__initialDistance:null,_initObserver:function(){qx.event.handler.GestureCore.TYPES.forEach(function(J){if(!this.__defaultTarget[C+J]){this.__defaultTarget[C+J]=true;};}.bind(this));qx.event.handler.GestureCore.GESTURE_EVENTS.forEach(function(K){qxWeb(this.__defaultTarget).on(K,this.checkAndFireGesture,this);}.bind(this));if(qx.core.Environment.get(t)==s&&qx.core.Environment.get(o)<9){qxWeb(this.__defaultTarget).on(i,this._onDblClick,this);};var I=qx.core.Environment.get(g);qxWeb(I.target).on(I.type,this._fireRoll,this);},_stopObserver:function(){qx.event.handler.GestureCore.GESTURE_EVENTS.forEach(function(M){qxWeb(this.__defaultTarget).off(M,this.checkAndFireGesture,this);}.bind(this));if(qx.core.Environment.get(t)==s&&qx.core.Environment.get(o)<9){qxWeb(this.__defaultTarget).off(i,this._onDblClick,this);};var L=qx.core.Environment.get(g);qxWeb(L.target).off(L.type,this._fireRoll,this);},checkAndFireGesture:function(N,O,P){if(!O){O=N.type;};if(!P){P=qx.bom.Event.getTarget(N);};if(O==v){this.gestureBegin(N,P);}else if(O==d){this.gestureMove(N,P);}else if(O==m){this.gestureFinish(N,P);}else if(O==u){this.gestureCancel(N.pointerId);};},gestureBegin:function(Q,R){if(this.__gesture[Q.pointerId]){this.__stopLongTapTimer(this.__gesture[Q.pointerId]);delete this.__gesture[Q.pointerId];};this.__gesture[Q.pointerId]={"startTime":new Date().getTime(),"lastEventTime":new Date().getTime(),"startX":Q.clientX,"startY":Q.clientY,"clientX":Q.clientX,"clientY":Q.clientY,"velocityX":0,"velocityY":0,"target":R,"isTap":true,"isPrimary":Q.isPrimary,"longTapTimer":window.setTimeout(this.__fireLongTap.bind(this,Q,R),qx.event.handler.GestureCore.LONGTAP_TIME)};if(Q.isPrimary){this.__isMultiPointerGesture=false;this.__primaryTarget=R;this.__fireTrack(l,Q,R);}else {this.__isMultiPointerGesture=true;if(Object.keys(this.__gesture).length===2){this.__initialAngle=this._calcAngle();this.__initialDistance=this._calcDistance();};};},gestureMove:function(T,U){var V=this.__gesture[T.pointerId];if(V){var S=V.clientX;var W=V.clientY;V.clientX=T.clientX;V.clientY=T.clientY;V.lastEventTime=new Date().getTime();if(S){V.velocityX=V.clientX-S;};if(W){V.velocityY=V.clientY-W;};if(Object.keys(this.__gesture).length===2){this.__fireRotate(T,V.target);this.__firePinch(T,V.target);};if(!this.__isMultiPointerGesture){this.__fireTrack(w,T,V.target);this._fireRoll(T,e,V.target);};if(V.isTap){V.isTap=this._isBelowTapMaxDistance(T);if(!V.isTap){this.__stopLongTapTimer(V);};};};},_hasIntermediaryHandler:function(X){while(X&&X!==this.__defaultTarget){if(X.$$gestureHandler){return true;};X=X.parentNode;};return false;},gestureFinish:function(ba,bb){if(!this.__gesture[ba.pointerId]){return;};var bh=this.__gesture[ba.pointerId];this.__stopLongTapTimer(bh);if(this._hasIntermediaryHandler(bb)){return;};this.__handleRollImpulse(bh.velocityX,bh.velocityY,ba,bh.target);this.__fireTrack(z,ba,bh.target);if(bh.isTap){if(bb!==bh.target){delete this.__gesture[ba.pointerId];return;};this._fireEvent(ba,B,ba.target||bb);var bc=false;if(Object.keys(this.__lastTap).length>0){var bg=Date.now()-qx.event.handler.GestureCore.DOUBLETAP_TIME;for(var bi in this.__lastTap){if(bi<bg){delete this.__lastTap[bi];}else {var Y=this.__lastTap[bi];var be=this.__isBelowDoubleTapDistance(Y.x,Y.y,ba.clientX,ba.clientY,ba.getPointerType());var bf=Y.target===(ba.target||bb);var bj=Y.button===ba.button;if(be&&bj&&bf){bc=true;delete this.__lastTap[bi];this._fireEvent(ba,p,ba.target||bb);};};};};if(!bc){this.__lastTap[Date.now()]={x:ba.clientX,y:ba.clientY,target:ba.target||bb,button:ba.button};};}else if(!this._isBelowTapMaxDistance(ba)){var bd=this.__getSwipeGesture(ba,bb);if(bd){ba.swipe=bd;this._fireEvent(ba,a,bh.target||bb);};};delete this.__gesture[ba.pointerId];},stopMomentum:function(bk){this.__stopMomentum[bk]=true;},gestureCancel:function(bl){if(this.__gesture[bl]){this.__stopLongTapTimer(this.__gesture[bl]);delete this.__gesture[bl];};},updateGestureTarget:function(bm,bn){this.__gesture[bm].target=bn;},__handleRollImpulse:function(bs,bt,bp,bq,bv){var bu=bp.timeoutId;if((Math.abs(bt)<1&&Math.abs(bs)<1)||this.__stopMomentum[bu]){delete this.__stopMomentum[bu];return;};if(!bv){bv=1;var br=2.8;bt=bt/br;bs=bs/br;};bv+=0.0006;bt=bt/bv;bs=bs/bv;var bo=qx.bom.AnimationFrame.request(qx.lang.Function.bind(function(bw,bx,by,bz,bA){this.__handleRollImpulse(bw,bx,by,bz,bA);},this,bs,bt,bp,bq,bv));bs=Math.round(bs*100)/100;bt=Math.round(bt*100)/100;bp.delta={x:-bs,y:-bt};bp.momentum=true;bp.timeoutId=bo;this._fireEvent(bp,h,bp.target||bq);},_calcAngle:function(){var bC=null;var bD=null;for(var bB in this.__gesture){var bE=this.__gesture[bB];if(bC===null){bC=bE;}else {bD=bE;};};var x=bC.clientX-bD.clientX;var y=bC.clientY-bD.clientY;return (360+Math.atan2(y,x)*(180/Math.PI))%360;},_calcDistance:function(){var bF=null;var bG=null;for(var bI in this.__gesture){var bJ=this.__gesture[bI];if(bF===null){bF=bJ;}else {bG=bJ;};};var bH=Math.sqrt(Math.pow(bF.clientX-bG.clientX,2)+Math.pow(bF.clientY-bG.clientY,2));return bH;},_isBelowTapMaxDistance:function(bL){var bM=this._getDeltaCoordinates(bL);var bK=qx.event.handler.GestureCore.TAP_MAX_DISTANCE[bL.getPointerType()];if(!bM){return null;};return (Math.abs(bM.x)<=bK&&Math.abs(bM.y)<=bK);},__isBelowDoubleTapDistance:function(bN,bR,bS,bT,bU){var bQ=qx.event.handler.GestureCore;var bO=Math.abs(bN-bS)<bQ.TAP_MAX_DISTANCE[bU];var bP=Math.abs(bR-bT)<bQ.TAP_MAX_DISTANCE[bU];return bO&&bP;},_getDeltaCoordinates:function(bX){var bY=this.__gesture[bX.pointerId];if(!bY){return null;};var bV=bX.clientX-bY.startX;var bW=bX.clientY-bY.startY;var ca=E;if(Math.abs(bV/bW)<1){ca=n;};return {"x":bV,"y":bW,"axis":ca};},_fireEvent:function(cc,ce,cd){if(!this.__defaultTarget){return;};var cb;if(qx.core.Environment.get(c)){cb=new qx.event.type.dom.Custom(ce,cc,{bubbles:true,swipe:cc.swipe,scale:cc.scale,angle:cc.angle,delta:cc.delta,pointerType:cc.pointerType,momentum:cc.momentum});cd.dispatchEvent(cb);}else if(this.__emitter){cb=new qx.event.type.dom.Custom(ce,cc,{target:this.__defaultTarget,currentTarget:this.__defaultTarget,srcElement:this.__defaultTarget,swipe:cc.swipe,scale:cc.scale,angle:cc.angle,delta:cc.delta,pointerType:cc.pointerType,momentum:cc.momentum});this.__emitter.emit(ce,cc);};},_onDblClick:function(cf){var cg=qx.bom.Event.getTarget(cf);this._fireEvent(cf,B,cg);this._fireEvent(cf,p,cg);},__getSwipeGesture:function(cj,ck){var cq=this.__gesture[cj.pointerId];if(!cq){return null;};var cm=qx.event.handler.GestureCore;var cp=this._getDeltaCoordinates(cj);var cn=new Date().getTime()-cq.startTime;var cr=(Math.abs(cp.x)>=Math.abs(cp.y))?E:n;var ch=cp[cr];var ci=cm.SWIPE_DIRECTION[cr][ch<0?0:1];var co=(cn!==0)?ch/cn:0;var cl={startTime:cq.startTime,duration:cn,axis:cr,direction:ci,distance:ch,velocity:co};return cl;},__fireTrack:function(cs,ct,cu){ct.delta=this._getDeltaCoordinates(ct);this._fireEvent(ct,cs,ct.target||cu);},_fireRoll:function(cw,cv,cx){if(cw.type===qx.core.Environment.get(g).type){cw.delta={x:qx.util.Wheel.getDelta(cw,E)*qx.event.handler.GestureCore.ROLL_FACTOR,y:qx.util.Wheel.getDelta(cw,n)*qx.event.handler.GestureCore.ROLL_FACTOR};cw.delta.axis=Math.abs(cw.delta.x/cw.delta.y)<1?n:E;cw.pointerType=j;}else {var cy=this.__gesture[cw.pointerId];cw.delta={x:-cy.velocityX,y:-cy.velocityY,axis:Math.abs(cy.velocityX/cy.velocityY)<1?n:E};};this._fireEvent(cw,h,cw.target||cx);},__fireRotate:function(cz,cB){if(!cz.isPrimary){var cA=this._calcAngle();cz.angle=Math.round((cA-this.__initialAngle)%360);this._fireEvent(cz,k,this.__primaryTarget);};},__firePinch:function(cE,cF){if(!cE.isPrimary){var cC=this._calcDistance();var cD=cC/this.__initialDistance;cE.scale=(Math.round(cD*100)/100);this._fireEvent(cE,b,this.__primaryTarget);};},__fireLongTap:function(cG,cH){var cI=this.__gesture[cG.pointerId];if(cI){this._fireEvent(cG,f,cG.target||cH);cI.longTapTimer=null;cI.isTap=false;};},__stopLongTapTimer:function(cJ){if(cJ.longTapTimer){window.clearTimeout(cJ.longTapTimer);cJ.longTapTimer=null;};},isBelowTapMaxDistance:function(event){var cK=this._calcDelta(event);var cL=qx.event.handler.GestureCore;return (Math.abs(cK.x)<=cL.TAP_MAX_DISTANCE&&Math.abs(cK.y)<=cL.TAP_MAX_DISTANCE);},dispose:function(){for(var cM in this.__gesture){this.__stopLongTapTimer(cM);};this._stopObserver();this.__defaultTarget=this.__emitter=null;}}});})();(function(){var b="ease-in-out",c="Number",d="css.animation.requestframe",e="qx.bom.AnimationFrame",f="frame",g="end",h="linear",j="ease-in",k="ease-out";qx.Bootstrap.define(e,{extend:qx.event.Emitter,events:{"end":undefined,"frame":c},members:{__canceled:false,startSequence:function(l){this.__canceled=false;var m=+(new Date());var n=function(p){if(this.__canceled){this.id=null;return;};if(p>=m+l){this.emit(g);this.id=null;}else {var o=Math.max(p-m,0);this.emit(f,o);this.id=qx.bom.AnimationFrame.request(n,this);};};this.id=qx.bom.AnimationFrame.request(n,this);},cancelSequence:function(){this.__canceled=true;}},statics:{TIMEOUT:30,calculateTiming:function(q,x){if(q==j){var a=[3.1223e-7,0.0757,1.2646,-0.167,-0.4387,0.2654];}else if(q==k){var a=[-7.0198e-8,1.652,-0.551,-0.0458,0.1255,-0.1807];}else if(q==h){return x;}else if(q==b){var a=[2.482e-7,-0.2289,3.3466,-1.0857,-1.7354,0.7034];}else {var a=[-0.0021,0.2472,9.8054,-21.6869,17.7611,-5.1226];};var y=0;for(var i=0;i<a.length;i++ ){y+=a[i]*Math.pow(x,i);};return y;},request:function(r,t){var s=qx.core.Environment.get(d);var u=function(v){if(v<1e10){v=this.__start+v;};v=v||+(new Date());r.call(t,v);};if(s){return window[s](u);}else {return window.setTimeout(function(){u();},qx.bom.AnimationFrame.TIMEOUT);};}},defer:function(w){w.__start=window.performance&&performance.timing&&performance.timing.navigationStart;if(!w.__start){w.__start=Date.now();};}});})();(function(){var a="oAnimationStart",b="animationend",c="MSAnimationStart",d="oRequestAnimationFrame",f="AnimationFillMode",g="MSAnimationEnd",h="requestAnimationFrame",j="mozRequestAnimationFrame",k="webkitAnimationEnd",l="css.animation.requestframe",m="AnimationPlayState",n="",o="MSAnimationIteration",p="animation",q="oAnimationEnd",r="@",s="animationiteration",t="webkitRequestAnimationFrame",u=" name",v="qx.bom.client.CssAnimation",w="css.animation",x="oAnimationIteration",y="webkitAnimationIteration",z="-keyframes",A="msRequestAnimationFrame",B="@keyframes",C="animationstart",D="webkitAnimationStart";qx.Bootstrap.define(v,{statics:{getSupport:function(){var name=qx.bom.client.CssAnimation.getName();if(name!=null){return {"name":name,"play-state":qx.bom.client.CssAnimation.getPlayState(),"start-event":qx.bom.client.CssAnimation.getAnimationStart(),"iteration-event":qx.bom.client.CssAnimation.getAnimationIteration(),"end-event":qx.bom.client.CssAnimation.getAnimationEnd(),"fill-mode":qx.bom.client.CssAnimation.getFillMode(),"keyframes":qx.bom.client.CssAnimation.getKeyFrames()};};return null;},getFillMode:function(){return qx.bom.Style.getPropertyName(f);},getPlayState:function(){return qx.bom.Style.getPropertyName(m);},getName:function(){return qx.bom.Style.getPropertyName(p);},getAnimationStart:function(){var E={"msAnimation":c,"WebkitAnimation":D,"MozAnimation":C,"OAnimation":a,"animation":C};return E[this.getName()];},getAnimationIteration:function(){var F={"msAnimation":o,"WebkitAnimation":y,"MozAnimation":s,"OAnimation":x,"animation":s};return F[this.getName()];},getAnimationEnd:function(){var G={"msAnimation":g,"WebkitAnimation":k,"MozAnimation":b,"OAnimation":q,"animation":b};return G[this.getName()];},getKeyFrames:function(){var H=qx.bom.Style.VENDOR_PREFIXES;var K=[];for(var i=0;i<H.length;i++ ){var J=r+qx.bom.Style.getCssName(H[i])+z;K.push(J);};K.unshift(B);var I=qx.bom.Stylesheet.createElement();for(var i=0;i<K.length;i++ ){try{qx.bom.Stylesheet.addRule(I,K[i]+u,n);return K[i];}catch(e){};};return null;},getRequestAnimationFrame:function(){var L=[h,A,t,j,d];for(var i=0;i<L.length;i++ ){if(window[L[i]]!=undefined){return L[i];};};return null;}},defer:function(M){qx.core.Environment.add(w,M.getSupport);qx.core.Environment.add(l,M.getRequestAnimationFrame);}});})();(function(){var a="x",b="y",c="qx.util.Wheel";qx.Bootstrap.define(c,{statics:{MAXSCROLL:null,MINSCROLL:null,FACTOR:1,getDelta:function(e,d){if(d===undefined){var f=0;if(e.wheelDelta!==undefined){f=-e.wheelDelta;}else if(e.detail!==0){f=e.detail;}else if(e.deltaY!==undefined){f=e.deltaY;};return this.__normalize(f);};if(d===a){var x=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaX!==undefined){x=e.wheelDeltaX?this.__normalize(-e.wheelDeltaX):0;};}else {if(e.axis&&e.axis==e.HORIZONTAL_AXIS&&(e.detail!==undefined)&&(e.detail>0)){x=this.__normalize(e.detail);}else if(e.deltaX!==undefined){x=this.__normalize(e.deltaX);};};return x;};if(d===b){var y=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaY!==undefined){y=e.wheelDeltaY?this.__normalize(-e.wheelDeltaY):0;}else {y=this.__normalize(-e.wheelDelta);};}else {if(!(e.axis&&e.axis==e.HORIZONTAL_AXIS)&&(e.detail!==undefined)&&(e.detail>0)){y=this.__normalize(e.detail);}else if(e.deltaY!==undefined){y=this.__normalize(e.deltaY);};};return y;};return 0;},__normalize:function(j){var g=Math.abs(j);if(qx.util.Wheel.MINSCROLL==null||qx.util.Wheel.MINSCROLL>g){qx.util.Wheel.MINSCROLL=g;this.__recalculateMultiplicator();};if(qx.util.Wheel.MAXSCROLL==null||qx.util.Wheel.MAXSCROLL<g){qx.util.Wheel.MAXSCROLL=g;this.__recalculateMultiplicator();};if(qx.util.Wheel.MAXSCROLL===g&&qx.util.Wheel.MINSCROLL===g){return 2*(j/g);};var h=qx.util.Wheel.MAXSCROLL-qx.util.Wheel.MINSCROLL;var i=(j/h)*Math.log(h)*qx.util.Wheel.FACTOR;return i<0?Math.min(i,-1):Math.max(i,1);},__recalculateMultiplicator:function(){var k=qx.util.Wheel.MAXSCROLL||0;var n=qx.util.Wheel.MINSCROLL||k;if(k<=n){return;};var l=k-n;var m=(k/l)*Math.log(l);if(m==0){m=1;};qx.util.Wheel.FACTOR=6/m;}}});})();(function(){var a="qx.module.event.Rotate",b="getAngle",c="function",d="rotate";qx.Bootstrap.define(a,{statics:{TYPES:[d],BIND_METHODS:[b],getAngle:function(){return this._original.angle;},normalize:function(event,f){if(!event){return event;};var e=qx.module.event.Rotate.BIND_METHODS;for(var i=0,l=e.length;i<l;i++ ){if(typeof event[e[i]]!=c){event[e[i]]=qx.module.event.Rotate[e[i]].bind(event);};};return event;}},defer:function(g){qxWeb.$registerEventNormalization(qx.module.event.Rotate.TYPES,g.normalize);}});})();(function(){var a="track",b="qx.module.event.Track",c="function",d="getDelta";qx.Bootstrap.define(b,{statics:{TYPES:[a],BIND_METHODS:[d],getDelta:function(){return this._original.delta;},normalize:function(event,f){if(!event){return event;};var e=qx.module.event.Track.BIND_METHODS;for(var i=0,l=e.length;i<l;i++ ){if(typeof event[e[i]]!=c){event[e[i]]=qx.module.event.Track[e[i]].bind(event);};};return event;}},defer:function(g){qxWeb.$registerEventNormalization(qx.module.event.Track.TYPES,g.normalize);}});})();(function(){var a="function",b="getScreenTop",c="getViewportTop",d="getScreenLeft",e="longtap",f="qx.module.event.Tap",g="getViewportLeft",h="tap",j="getDocumentTop",k="getDocumentLeft",m="dbltap";qx.Bootstrap.define(f,{statics:{TYPES:[h,e,m],BIND_METHODS:[g,c,k,j,d,b],getViewportLeft:function(){return this._original.getViewportLeft();},getViewportTop:function(){return this._original.getViewportTop();},getDocumentLeft:function(){return this._original.getDocumentLeft();},getDocumentTop:function(){return this._original.getDocumentTop();},getScreenLeft:function(){return this._original.getScreenLeft();},getScreenTop:function(){return this._original.getScreenTop();},normalize:function(event,o){if(!event){return event;};var n=qx.module.event.Tap.BIND_METHODS;for(var i=0,l=n.length;i<l;i++ ){if(typeof event[n[i]]!=a){event[n[i]]=qx.module.event.Tap[n[i]].bind(event);};};return event;}},defer:function(p){qxWeb.$registerEventNormalization(qx.module.event.Tap.TYPES,p.normalize);}});})();(function(){var a="qx.module.Storage";qx.Bootstrap.define(a,{statics:{setLocalItem:function(b,c){qx.bom.Storage.getLocal().setItem(b,c);},getLocalItem:function(d){return qx.bom.Storage.getLocal().getItem(d);},removeLocalItem:function(e){qx.bom.Storage.getLocal().removeItem(e);},getLocalLength:function(){return qx.bom.Storage.getLocal().getLength();},getLocalKey:function(f){return qx.bom.Storage.getLocal().getKey(f);},clearLocal:function(){qx.bom.Storage.getLocal().clear();},forEachLocal:function(g,h){qx.bom.Storage.getLocal().forEach(g,h);},setSessionItem:function(i,j){qx.bom.Storage.getSession().setItem(i,j);},getSessionItem:function(k){return qx.bom.Storage.getSession().getItem(k);},removeSessionItem:function(l){qx.bom.Storage.getSession().removeItem(l);},getSessionLength:function(){return qx.bom.Storage.getSession().getLength();},getSessionKey:function(m){return qx.bom.Storage.getSession().getKey(m);},clearSession:function(){qx.bom.Storage.getSession().clear();},forEachSession:function(n,o){qx.bom.Storage.getSession().forEach(n,o);}},defer:function(p){qxWeb.$attachStatic({"localStorage":{setItem:p.setLocalItem,getItem:p.getLocalItem,removeItem:p.removeLocalItem,getLength:p.getLocalLength,getKey:p.getLocalKey,clear:p.clearLocal,forEach:p.forEachLocal},"sessionStorage":{setItem:p.setSessionItem,getItem:p.getSessionItem,removeItem:p.removeSessionItem,getLength:p.getSessionLength,getKey:p.getSessionKey,clear:p.clearSession,forEach:p.forEachSession}});}});})();(function(){var a="html.storage.local",b="html.storage.userdata",c="qx.bom.Storage";qx.Bootstrap.define(c,{statics:{getLocal:function(){if(qx.core.Environment.get(a)){return qx.bom.storage.Web.getLocal();}else if(qx.core.Environment.get(b)){return qx.bom.storage.UserData.getLocal();};return qx.bom.storage.Memory.getLocal();},getSession:function(){if(qx.core.Environment.get(a)){return qx.bom.storage.Web.getSession();}else if(qx.core.Environment.get(b)){return qx.bom.storage.UserData.getSession();};return qx.bom.storage.Memory.getSession();}}});})();(function(){var a="local",b="session",c="Storage",d="qx.bom.storage.Web",f="Storage full.";qx.Bootstrap.define(d,{statics:{__local:null,__session:null,getLocal:function(){if(this.__local){return this.__local;};return this.__local=new qx.bom.storage.Web(a);},getSession:function(){if(this.__session){return this.__session;};return this.__session=new qx.bom.storage.Web(b);}},construct:function(g){this.__type=g;},members:{__type:null,getStorage:function(){return window[this.__type+c];},getLength:function(){return this.getStorage(this.__type).length;},setItem:function(h,j){j=qx.lang.Json.stringify(j);try{this.getStorage(this.__type).setItem(h,j);}catch(e){throw new Error(f);};},getItem:function(l){var k=this.getStorage(this.__type).getItem(l);if(qx.lang.Type.isString(k)){k=qx.lang.Json.parse(k);}else if(k&&k.value&&qx.lang.Type.isString(k.value)){k=qx.lang.Json.parse(k.value);};return k;},removeItem:function(m){this.getStorage(this.__type).removeItem(m);},clear:function(){var n=this.getStorage(this.__type);if(!n.clear){for(var i=n.length-1;i>=0;i-- ){n.removeItem(n.key(i));};}else {n.clear();};},getKey:function(o){return this.getStorage(this.__type).key(o);},forEach:function(p,r){var length=this.getLength();for(var i=0;i<length;i++ ){var q=this.getKey(i);p.call(r,q,this.getItem(q));};}}});})();(function(){var a="\x00\b\n\f\r\t",b="-",c="function",d="[null,null,null]",e="T",f="+",g=",\n",h="constructor",i="{\n",j='"+275760-09-13T00:00:00.000Z"',k="true",l="\\n",m="false",n='"-271821-04-20T00:00:00.000Z"',o="json",p='object',q='""',r="qx.lang.Json",s="{}",t="hasOwnProperty",u="@",v="prototype",w='hasOwnProperty',x='"',y="toLocaleString",z="0",A='function',B="",C='\\"',D="\t",E="string",F="}",G="\r",H="toJSON",I=":",J="[\n 1,\n 2\n]",K="\\f",L='"1969-12-31T23:59:59.999Z"',M="/",N="\\b",O="Z",P="\\t",Q="\b",R="[object Number]",S="isPrototypeOf",T="{",U="toString",V="0x",W="[1]",X="\\r",Y="]",bO=",",bP="null",bQ="\\u00",bK="\n",bL="json-stringify",bM="[]",bN="1",bU="000000",bV="[object Boolean]",bW="valueOf",cm="\\\\",bR="[object String]",bS="json-parse",bT="bug-string-char-index",bG="[object Array]",ca="$",bJ="[\n",cb='"-000001-01-01T00:00:00.000Z"',cc="[",bI="[null]",bX="\\",cl="[object Date]",bY='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}',cd="a",ce=" ",cf=".",ci="[object Function]",cj="01",ck='"\t"',bH="propertyIsEnumerable",cg="\f",ch="object";qx.Bootstrap.define(r,{statics:{stringify:null,parse:null}});(function(){var co;var cn;var cp;(function(window){var cr={}.toString,cG,cQ,cC;var cy=typeof cp===c&&cp.amd,cx=typeof cn==ch&&cn;if(cx||cy){if(typeof JSON==ch&&JSON){if(cx){cx.stringify=JSON.stringify;cx.parse=JSON.parse;}else {cx=JSON;};}else if(cy){cx=window.JSON={};};}else {cx=window.JSON||(window.JSON={});};var cU=new Date(-3509827334573292);try{cU=cU.getUTCFullYear()==-109252&&cU.getUTCMonth()===0&&cU.getUTCDate()===1&&cU.getUTCHours()==10&&cU.getUTCMinutes()==37&&cU.getUTCSeconds()==6&&cU.getUTCMilliseconds()==708;}catch(da){};function cJ(name){if(name==bT){return cd[0]!=cd;};var de,dd=bY,dh=name==o;if(dh||name==bL||name==bS){if(name==bL||dh){var db=cx.stringify,dg=typeof db==c&&cU;if(dg){(de=function(){return 1;}).toJSON=de;try{dg=db(0)===z&&db(new Number())===z&&db(new String())==q&&db(cr)===cC&&db(cC)===cC&&db()===cC&&db(de)===bN&&db([de])==W&&db([cC])==bI&&db(null)==bP&&db([cC,cr,null])==d&&db({"a":[de,true,false,null,a]})==dd&&db(null,de)===bN&&db([1,2],null,1)==J&&db(new Date(-8.64e15))==n&&db(new Date(8.64e15))==j&&db(new Date(-621987552e5))==cb&&db(new Date(-1))==L;}catch(di){dg=false;};};if(!dh){return dg;};};if(name==bS||dh){var df=cx.parse;if(typeof df==c){try{if(df(z)===0&&!df(false)){de=df(dd);var dc=de[cd].length==5&&de[cd][0]===1;if(dc){try{dc=!df(ck);}catch(dj){};if(dc){try{dc=df(cj)!==1;}catch(dk){};};};};}catch(dl){dc=false;};};if(!dh){return dc;};};return dg&&dc;};};if(!cJ(o)){var cV=ci;var cN=cl;var cv=R;var cY=bR;var cR=bG;var cF=bV;var cE=cJ(bT);if(!cU){var cD=Math.floor;var cM=[0,31,59,90,120,151,181,212,243,273,304,334];var cX=function(dm,dn){return cM[dn]+365*(dm-1970)+cD((dm-1969+(dn=+(dn>1)))/4)-cD((dm-1901+dn)/100)+cD((dm-1601+dn)/400);};};if(!(cG={}.hasOwnProperty)){cG=function(dp){var dq={},dr;if((dq.__proto__=null,dq.__proto__={"toString":1},dq).toString!=cr){cG=function(ds){var dt=this.__proto__,du=ds in (this.__proto__=null,this);this.__proto__=dt;return du;};}else {dr=dq.constructor;cG=function(dv){var parent=(this.constructor||dr).prototype;return dv in this&&!(dv in parent&&this[dv]===parent[dv]);};};dq=null;return cG.call(this,dp);};};var cH={'boolean':1,'number':1,'string':1,'undefined':1};var cP=function(dy,dw){var dx=typeof dy[dw];return dx==p?!!dy[dw]:!cH[dx];};cQ=function(dz,dA){var dF=0,dE,dC,dD,dB;(dE=function(){this.valueOf=0;}).prototype.valueOf=0;dC=new dE();for(dD in dC){if(cG.call(dC,dD)){dF++ ;};};dE=dC=null;if(!dF){dC=[bW,U,y,bH,S,t,h];dB=function(dH,dI){var dJ=cr.call(dH)==cV,dK,length;var dG=!dJ&&typeof dH.constructor!=A&&cP(dH,w)?dH.hasOwnProperty:cG;for(dK in dH){if(!(dJ&&dK==v)&&dG.call(dH,dK)){dI(dK);};};for(length=dC.length;dK=dC[ --length];dG.call(dH,dK)&&dI(dK));};}else if(dF==2){dB=function(dP,dL){var dO={},dM=cr.call(dP)==cV,dN;for(dN in dP){if(!(dM&&dN==v)&&!cG.call(dO,dN)&&(dO[dN]=1)&&cG.call(dP,dN)){dL(dN);};};};}else {dB=function(dT,dQ){var dR=cr.call(dT)==cV,dS,dU;for(dS in dT){if(!(dR&&dS==v)&&cG.call(dT,dS)&&!(dU=dS===h)){dQ(dS);};};if(dU||cG.call(dT,(dS=h))){dQ(dS);};};};return dB(dz,dA);};if(!cJ(bL)){var cT={'92':cm,'34':C,'8':N,'12':K,'10':l,'13':X,'9':P};var cI=bU;var cW=function(dV,dW){return (cI+(dW||0)).slice(-dV);};var cB=bQ;var cL=function(dY){var eb=x,dX=0,length=dY.length,ec=length>10&&cE,ea;if(ec){ea=dY.split(B);};for(;dX<length;dX++ ){var ed=dY.charCodeAt(dX);switch(ed){case 8:case 9:case 10:case 12:case 13:case 34:case 92:eb+=cT[ed];break;default:if(ed<32){eb+=cB+cW(2,ed.toString(16));break;};eb+=ec?ea[dX]:cE?dY.charAt(dX):dY[dX];};};return eb+x;};var cs=function(ez,eo,ew,el,ek,ex,es){var et=eo[ez],ev,ei,ef,er,ey,ep,eA,en,em,ee,eu,ej,length,eg,eq,eh;try{et=eo[ez];}catch(eB){};if(typeof et==ch&&et){ev=cr.call(et);if(ev==cN&&!cG.call(et,H)){if(et>-1/0&&et<1/0){if(cX){er=cD(et/864e5);for(ei=cD(er/365.2425)+1970-1;cX(ei+1,0)<=er;ei++ );for(ef=cD((er-cX(ei,0))/30.42);cX(ei,ef+1)<=er;ef++ );er=1+er-cX(ei,ef);ey=(et%864e5+864e5)%864e5;ep=cD(ey/36e5)%24;eA=cD(ey/6e4)%60;en=cD(ey/1e3)%60;em=ey%1e3;}else {ei=et.getUTCFullYear();ef=et.getUTCMonth();er=et.getUTCDate();ep=et.getUTCHours();eA=et.getUTCMinutes();en=et.getUTCSeconds();em=et.getUTCMilliseconds();};et=(ei<=0||ei>=1e4?(ei<0?b:f)+cW(6,ei<0?-ei:ei):cW(4,ei))+b+cW(2,ef+1)+b+cW(2,er)+e+cW(2,ep)+I+cW(2,eA)+I+cW(2,en)+cf+cW(3,em)+O;}else {et=null;};}else if(typeof et.toJSON==c&&((ev!=cv&&ev!=cY&&ev!=cR)||cG.call(et,H))){et=et.toJSON(ez);};};if(ew){et=ew.call(eo,ez,et);};if(et===null){return bP;};ev=cr.call(et);if(ev==cF){return B+et;}else if(ev==cv){return et>-1/0&&et<1/0?B+et:bP;}else if(ev==cY){return cL(B+et);};if(typeof et==ch){for(length=es.length;length-- ;){if(es[length]===et){throw TypeError();};};es.push(et);ee=[];eg=ex;ex+=ek;if(ev==cR){for(ej=0,length=et.length;ej<length;eq||(eq=true),ej++ ){eu=cs(ej,et,ew,el,ek,ex,es);ee.push(eu===cC?bP:eu);};eh=eq?(ek?bJ+ex+ee.join(g+ex)+bK+eg+Y:(cc+ee.join(bO)+Y)):bM;}else {cQ(el||et,function(eC){var eD=cs(eC,et,ew,el,ek,ex,es);if(eD!==cC){ee.push(cL(eC)+I+(ek?ce:B)+eD);};eq||(eq=true);});eh=eq?(ek?i+ex+ee.join(g+ex)+bK+eg+F:(T+ee.join(bO)+F)):s;};es.pop();return eh;};};cx.stringify=function(eK,eJ,eL){var eF,eG,eI;if(typeof eJ==c||typeof eJ==ch&&eJ){if(cr.call(eJ)==cV){eG=eJ;}else if(cr.call(eJ)==cR){eI={};for(var eE=0,length=eJ.length,eH;eE<length;eH=eJ[eE++ ],((cr.call(eH)==cY||cr.call(eH)==cv)&&(eI[eH]=1)));};};if(eL){if(cr.call(eL)==cv){if((eL-=eL%1)>0){for(eF=B,eL>10&&(eL=10);eF.length<eL;eF+=ce);};}else if(cr.call(eL)==cY){eF=eL.length<=10?eL:eL.slice(0,10);};};return cs(B,(eH={},eH[B]=eK,eH),eG,eI,eF,B,[]);};};if(!cJ(bS)){var cA=String.fromCharCode;var cz={'92':bX,'34':x,'47':M,'98':Q,'116':D,'110':bK,'102':cg,'114':G};var cq,cu;var cw=function(){cq=cu=null;throw SyntaxError();};var cS=function(){var eO=cu,length=eO.length,eN,eM,eQ,eP,eR;while(cq<length){eR=eO.charCodeAt(cq);switch(eR){case 9:case 10:case 13:case 32:cq++ ;break;case 123:case 125:case 91:case 93:case 58:case 44:eN=cE?eO.charAt(cq):eO[cq];cq++ ;return eN;case 34:for(eN=u,cq++ ;cq<length;){eR=eO.charCodeAt(cq);if(eR<32){cw();}else if(eR==92){eR=eO.charCodeAt( ++cq);switch(eR){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:eN+=cz[eR];cq++ ;break;case 117:eM= ++cq;for(eQ=cq+4;cq<eQ;cq++ ){eR=eO.charCodeAt(cq);if(!(eR>=48&&eR<=57||eR>=97&&eR<=102||eR>=65&&eR<=70)){cw();};};eN+=cA(V+eO.slice(eM,cq));break;default:cw();};}else {if(eR==34){break;};eR=eO.charCodeAt(cq);eM=cq;while(eR>=32&&eR!=92&&eR!=34){eR=eO.charCodeAt( ++cq);};eN+=eO.slice(eM,cq);};};if(eO.charCodeAt(cq)==34){cq++ ;return eN;};cw();default:eM=cq;if(eR==45){eP=true;eR=eO.charCodeAt( ++cq);};if(eR>=48&&eR<=57){if(eR==48&&((eR=eO.charCodeAt(cq+1)),eR>=48&&eR<=57)){cw();};eP=false;for(;cq<length&&((eR=eO.charCodeAt(cq)),eR>=48&&eR<=57);cq++ );if(eO.charCodeAt(cq)==46){eQ= ++cq;for(;eQ<length&&((eR=eO.charCodeAt(eQ)),eR>=48&&eR<=57);eQ++ );if(eQ==cq){cw();};cq=eQ;};eR=eO.charCodeAt(cq);if(eR==101||eR==69){eR=eO.charCodeAt( ++cq);if(eR==43||eR==45){cq++ ;};for(eQ=cq;eQ<length&&((eR=eO.charCodeAt(eQ)),eR>=48&&eR<=57);eQ++ );if(eQ==cq){cw();};cq=eQ;};return +eO.slice(eM,cq);};if(eP){cw();};if(eO.slice(cq,cq+4)==k){cq+=4;return true;}else if(eO.slice(cq,cq+5)==m){cq+=5;return false;}else if(eO.slice(cq,cq+4)==bP){cq+=4;return null;};cw();};};return ca;};var cK=function(eU){var eT,eS;if(eU==ca){cw();};if(typeof eU==E){if((cE?eU.charAt(0):eU[0])==u){return eU.slice(1);};if(eU==cc){eT=[];for(;;eS||(eS=true)){eU=cS();if(eU==Y){break;};if(eS){if(eU==bO){eU=cS();if(eU==Y){cw();};}else {cw();};};if(eU==bO){cw();};eT.push(cK(eU));};return eT;}else if(eU==T){eT={};for(;;eS||(eS=true)){eU=cS();if(eU==F){break;};if(eS){if(eU==bO){eU=cS();if(eU==F){cw();};}else {cw();};};if(eU==bO||typeof eU!=E||(cE?eU.charAt(0):eU[0])!=u||cS()!=I){cw();};eT[eU.slice(1)]=cK(cS());};return eT;};cw();};return eU;};var cO=function(eV,eW,eX){var eY=ct(eV,eW,eX);if(eY===cC){delete eV[eW];}else {eV[eW]=eY;};};var ct=function(fa,fb,fd){var fc=fa[fb],length;if(typeof fc==ch&&fc){if(cr.call(fc)==cR){for(length=fc.length;length-- ;){cO(fc,length,fd);};}else {cQ(fc,function(fe){cO(fc,fe,fd);});};};return fd.call(fa,fb,fc);};cx.parse=function(ff,fi){var fg,fh;cq=0;cu=B+ff;fg=cK(cS());if(cS()!=ca){cw();};cq=cu=null;return fi&&cr.call(fi)==cV?ct((fh={},fh[B]=fg,fh),B,fi):fg;};};};if(cy){cp(function(){return cx;});};}(this));}());qx.lang.Json.stringify=window.JSON.stringify;qx.lang.Json.parse=window.JSON.parse;})();(function(){var a="session",b="head",c="none",d="qx",e="qx.bom.storage.UserData",f="div",g="local",h="qxtest",j="#default#userdata",k="display";qx.Bootstrap.define(e,{statics:{__local:null,__session:null,__id:0,getLocal:function(){if(this.__local){return this.__local;};return this.__local=new qx.bom.storage.UserData(g);},getSession:function(){if(this.__session){return this.__session;};return this.__session=new qx.bom.storage.UserData(a);}},construct:function(m){this.__el=document.createElement(f);this.__el.style[k]=c;document.getElementsByTagName(b)[0].appendChild(this.__el);this.__el.addBehavior(j);this.__storeName=m;this.__el.load(this.__storeName);this.__storage={};this.__reference={};var l=this.__el.getAttribute(d+qx.bom.storage.UserData.__id);while(l!=undefined){l=qx.lang.Json.parse(l);this.__storage[l.key]=l.value;this.__reference[l.key]=d+qx.bom.storage.UserData.__id;qx.bom.storage.UserData.__id++ ;l=this.__el.getAttribute(d+qx.bom.storage.UserData.__id);};},members:{__el:null,__storeName:h,__storage:null,__reference:null,getLength:function(){return Object.keys(this.__storage).length;},setItem:function(n,p){if(this.__reference[n]){var o=this.__reference[n];}else {var o=d+qx.bom.storage.UserData.__id;qx.bom.storage.UserData.__id++ ;};var q=qx.lang.Json.stringify({key:n,value:p});this.__el.setAttribute(o,q);this.__el.save(this.__storeName);this.__storage[n]=p;this.__reference[n]=o;},getItem:function(r){return this.__storage[r]||null;},removeItem:function(v){var u=this.__reference[v];if(u==undefined){return;};this.__el.removeAttribute(u);qx.bom.storage.UserData.__id-- ;delete this.__storage[v];delete this.__reference[v];var t=d+qx.bom.storage.UserData.__id;if(this.__el.getAttribute(t)){var w=this.__el.getAttribute(d+qx.bom.storage.UserData.__id);this.__el.removeAttribute(t);this.__el.setAttribute(u,w);var s=qx.lang.Json.parse(w).key;this.__reference[s]=u;};this.__el.save(this.__storeName);},clear:function(){for(var x in this.__reference){this.__el.removeAttribute(this.__reference[x]);};this.__el.save(this.__storeName);this.__storage={};this.__reference={};},getKey:function(y){return Object.keys(this.__storage)[y];},forEach:function(z,B){var length=this.getLength();for(var i=0;i<length;i++ ){var A=this.getKey(i);z.call(B,A,this.getItem(A));};}}});})();(function(){var a="qx.bom.storage.Memory";qx.Bootstrap.define(a,{statics:{__local:null,__session:null,getLocal:function(){if(this.__local){return this.__local;};return this.__local=new qx.bom.storage.Memory();},getSession:function(){if(this.__session){return this.__session;};return this.__session=new qx.bom.storage.Memory();}},construct:function(){this.__storage={};},members:{__storage:null,getLength:function(){return Object.keys(this.__storage).length;},setItem:function(b,c){c=qx.lang.Json.stringify(c);this.__storage[b]=c;},getItem:function(e){var d=this.__storage[e];if(qx.lang.Type.isString(d)){d=qx.lang.Json.parse(d);};return d;},removeItem:function(f){delete this.__storage[f];},clear:function(){this.__storage={};},getKey:function(h){var g=Object.keys(this.__storage);return g[h];},forEach:function(j,l){var length=this.getLength();for(var i=0;i<length;i++ ){var k=this.getKey(i);j.call(l,k,this.getItem(k));};}}});})();(function(){var a="html.node.isequalnode",b="namespaceURI",c="nodeValue",d="nodeType",e="qx.module.Traversing",f="getNextSiblings",g="prefix",h="nodeName",k="getPreviousSiblings",n="getSiblings",o="localName",p="length",q="string";qx.Bootstrap.define(e,{statics:{EQUALITY_ATTRIBUTES:[d,h,o,b,g,c],add:function(r){if(r instanceof qxWeb){r=r[0];};if(qx.module.Traversing.isElement(r)||qx.module.Traversing.isDocument(r)||qx.module.Traversing.isWindow(r)||qx.module.Traversing.isDocumentFragment(r)){this.push(r);};return this;},getChildren:function(u){var t=[];for(var i=0;i<this.length;i++ ){var s=qx.dom.Hierarchy.getChildElements(this[i]);if(u){s=qx.bom.Selector.matches(u,s);};t=t.concat(s);};return qxWeb.$init(t,qxWeb);},forEach:function(w,v){for(var i=0;i<this.length;i++ ){w.call(v,this[i],i,this);};return this;},getParents:function(z){var y=[];for(var i=0;i<this.length;i++ ){var x=qx.dom.Element.getParentElement(this[i]);if(z){x=qx.bom.Selector.matches(z,[x]);};y=y.concat(x);};return qxWeb.$init(y,qxWeb);},isChildOf:function(parent){if(this.length==0){return false;};var A=null,D=qxWeb(parent),B=false;for(var i=0,l=this.length;i<l&&!B;i++ ){A=qxWeb(this[i]).getAncestors();for(var j=0,C=D.length;j<C;j++ ){if(A.indexOf(D[j])!=-1){B=true;break;};};};return B;},getAncestors:function(E){return this.__getAncestors(null,E);},getAncestorsUntil:function(G,F){return this.__getAncestors(G,F);},__getAncestors:function(I,J){var H=[];for(var i=0;i<this.length;i++ ){var parent=qx.dom.Element.getParentElement(this[i]);while(parent){var K=[parent];if(I&&qx.bom.Selector.matches(I,K).length>0){break;};if(J){K=qx.bom.Selector.matches(J,K);};H=H.concat(K);parent=qx.dom.Element.getParentElement(parent);};};return qxWeb.$init(H,qxWeb);},getClosest:function(N){var M=[];var L=function(O){var P=qx.bom.Selector.matches(N,O);if(P.length){M.push(P[0]);}else {O=O.getParents();if(O[0]&&O[0].parentNode){L(O);};};};for(var i=0;i<this.length;i++ ){L(qxWeb(this[i]));};return qxWeb.$init(M,qxWeb);},find:function(R){var Q=[];for(var i=0;i<this.length;i++ ){Q=Q.concat(qx.bom.Selector.query(R,this[i]));};return qxWeb.$init(Q,qxWeb);},getContents:function(){var S=[];this._forEachElement(function(T){S=S.concat(qx.lang.Array.fromCollection(T.childNodes));});return qxWeb.$init(S,qxWeb);},is:function(U){if(qx.lang.Type.isFunction(U)){return this.filter(U).length>0;};return !!U&&qx.bom.Selector.matches(U,this).length>0;},eq:function(V){return this.slice(V,+V+1);},getFirst:function(){return this.slice(0,1);},getLast:function(){return this.slice(this.length-1);},has:function(X){var W=[];this._forEachElement(function(Y,ba){var bb=qx.bom.Selector.matches(X,this.eq(ba).getContents());if(bb.length>0){W.push(Y);};});return qxWeb.$init(W,this.constructor);},contains:function(bc){if(bc instanceof Array||bc instanceof qxWeb){bc=bc[0];};if(!bc){return qxWeb();};if(qx.dom.Node.isWindow(bc)){bc=bc.document;};return this.filter(function(bd){if(qx.dom.Node.isWindow(bd)){bd=bd.document;};return qx.dom.Hierarchy.contains(bd,bc);});},getNext:function(bf){var be=this.map(qx.dom.Hierarchy.getNextElementSibling,qx.dom.Hierarchy);if(bf){be=qxWeb.$init(qx.bom.Selector.matches(bf,be),qxWeb);};return be;},getNextAll:function(bh){var bg=qx.module.Traversing.__hierarchyHelper(this,f,bh);return qxWeb.$init(bg,qxWeb);},getNextUntil:function(bj){var bi=[];this.forEach(function(bm,bk){var bl=qx.dom.Hierarchy.getNextSiblings(bm);for(var i=0,l=bl.length;i<l;i++ ){if(qx.bom.Selector.matches(bj,[bl[i]]).length>0){break;};bi.push(bl[i]);};});return qxWeb.$init(bi,qxWeb);},getPrev:function(bo){var bn=this.map(qx.dom.Hierarchy.getPreviousElementSibling,qx.dom.Hierarchy);if(bo){bn=qxWeb.$init(qx.bom.Selector.matches(bo,bn),qxWeb);};return bn;},getPrevAll:function(bq){var bp=qx.module.Traversing.__hierarchyHelper(this,k,bq);return qxWeb.$init(bp,qxWeb);},getPrevUntil:function(bs){var br=[];this.forEach(function(bv,bt){var bu=qx.dom.Hierarchy.getPreviousSiblings(bv);for(var i=0,l=bu.length;i<l;i++ ){if(qx.bom.Selector.matches(bs,[bu[i]]).length>0){break;};br.push(bu[i]);};});return qxWeb.$init(br,qxWeb);},getSiblings:function(bx){var bw=qx.module.Traversing.__hierarchyHelper(this,n,bx);return qxWeb.$init(bw,qxWeb);},not:function(bz){if(qx.lang.Type.isFunction(bz)){return this.filter(function(bA,bC,bB){return !bz(bA,bC,bB);});};var by=qx.bom.Selector.matches(bz,this);return this.filter(function(bD){return by.indexOf(bD)===-1;});},getOffsetParent:function(){return this.map(qx.bom.element.Location.getOffsetParent);},isRendered:function(){if(!this[0]){return false;};return qx.dom.Hierarchy.isRendered(this[0]);},__getElementFromArgument:function(bE){if(bE instanceof qxWeb){return bE[0];}else if(qx.Bootstrap.isString(bE)){return qxWeb(bE)[0];};return bE;},isElement:function(bF){return qx.dom.Node.isElement(qx.module.Traversing.__getElementFromArgument(bF));},isNode:function(bG){return qx.dom.Node.isNode(qx.module.Traversing.__getElementFromArgument(bG));},isNodeName:function(bI,bH){return qx.dom.Node.isNodeName(qx.module.Traversing.__getElementFromArgument(bI),bH);},isDocument:function(bJ){return qx.dom.Node.isDocument(bJ);},isDocumentFragment:function(bK){return qx.dom.Node.isDocumentFragment(bK);},getWindow:function(bL){return qx.dom.Node.getWindow(qx.module.Traversing.__getElementFromArgument(bL));},isTextNode:function(bM){return qx.dom.Node.isText(bM);},isWindow:function(bN){if(bN instanceof qxWeb){bN=bN[0];};return qx.dom.Node.isWindow(bN);},getDocument:function(bO){return qx.dom.Node.getDocument(qx.module.Traversing.__getElementFromArgument(bO));},getNodeName:function(bP){return qx.dom.Node.getName(qx.module.Traversing.__getElementFromArgument(bP));},getNodeText:function(bQ){return qx.dom.Node.getText(qx.module.Traversing.__getElementFromArgument(bQ));},isBlockNode:function(bR){return qx.dom.Node.isBlockNode(qx.module.Traversing.__getElementFromArgument(bR));},equalNodes:function(cb,cd){cb=qx.module.Traversing.__getNodeFromArgument(cb);cd=qx.module.Traversing.__getNodeFromArgument(cd);if(!cb||!cd){return false;};if(qx.core.Environment.get(a)){return cb.isEqualNode(cd);}else {if(cb===cd){return true;};var ca=cb.attributes&&cd.attributes;if(ca&&cb.attributes.length!==cd.attributes.length){return false;};var bY=cb.childNodes&&cd.childNodes;if(bY&&cb.childNodes.length!==cd.childNodes.length){return false;};var bX=qx.module.Traversing.EQUALITY_ATTRIBUTES;for(var i=0,l=bX.length;i<l;i++ ){var bW=bX[i];if(cb[bW]!==cd[bW]){return false;};};if(ca){var bS=qx.module.Traversing.__getAttributes(cb);var cc=qx.module.Traversing.__getAttributes(cd);for(var bU in bS){if(bS[bU]!==cc[bU]){return false;};};};if(bY){for(var j=0,m=cb.childNodes.length;j<m;j++ ){var bV=cb.childNodes[j];var bT=cd.childNodes[j];if(!qx.module.Traversing.equalNodes(bV,bT)){return false;};};};return true;};},__getNodeFromArgument:function(ce){if(typeof ce==q){ce=qxWeb(ce);};if(ce instanceof Array||ce instanceof qxWeb){ce=ce[0];};return qxWeb.isNode(ce)?ce:null;},__getAttributes:function(cf){var cg={};for(var ch in cf.attributes){if(ch==p){continue;};var name=cf.attributes[ch].name;var ci=cf.attributes[ch].value;cg[name]=ci;};return cg;},__hierarchyHelper:function(cl,co,cm){var cj=[];var ck=qx.dom.Hierarchy;for(var i=0,l=cl.length;i<l;i++ ){cj.push.apply(cj,ck[co](cl[i]));};var cn=qx.lang.Array.unique(cj);if(cm){cn=qx.bom.Selector.matches(cm,cn);};return cn;}},defer:function(cp){qxWeb.$attach({"add":cp.add,"getChildren":cp.getChildren,"forEach":cp.forEach,"getParents":cp.getParents,"getAncestors":cp.getAncestors,"getAncestorsUntil":cp.getAncestorsUntil,"__getAncestors":cp.__getAncestors,"getClosest":cp.getClosest,"find":cp.find,"getContents":cp.getContents,"is":cp.is,"eq":cp.eq,"getFirst":cp.getFirst,"getLast":cp.getLast,"has":cp.has,"getNext":cp.getNext,"getNextAll":cp.getNextAll,"getNextUntil":cp.getNextUntil,"getPrev":cp.getPrev,"getPrevAll":cp.getPrevAll,"getPrevUntil":cp.getPrevUntil,"getSiblings":cp.getSiblings,"not":cp.not,"getOffsetParent":cp.getOffsetParent,"isRendered":cp.isRendered,"isChildOf":cp.isChildOf,"contains":cp.contains});qxWeb.$attachStatic({"isElement":cp.isElement,"isNode":cp.isNode,"isNodeName":cp.isNodeName,"isDocument":cp.isDocument,"isDocumentFragment":cp.isDocumentFragment,"getDocument":cp.getDocument,"getWindow":cp.getWindow,"isWindow":cp.isWindow,"isBlockNode":cp.isBlockNode,"getNodeName":cp.getNodeName,"getNodeText":cp.getNodeText,"isTextNode":cp.isTextNode,"equalNodes":cp.equalNodes});}});})();(function(){var a="qx.module.event.OrientationHandler",b="The 'orientationchange' event is only available on window objects!",c="orientationchange";qx.Bootstrap.define(a,{statics:{TYPES:[c],register:function(d){if(!qx.dom.Node.isWindow(d)){throw new Error(b);};if(!d.__orientationHandler){if(!d.$$emitter){d.$$emitter=new qx.event.Emitter();};d.__orientationHandler=new qx.event.handler.OrientationCore(d,d.$$emitter);};},unregister:function(g){if(g.__orientationHandler){if(!g.$$emitter){g.__orientationHandler=null;}else {var f=false;var e=g.$$emitter.getListeners();qx.module.event.OrientationHandler.TYPES.forEach(function(h){if(h in e&&e[h].length>0){f=true;};});if(!f){g.__orientationHandler=null;};};};}},defer:function(i){qxWeb.$registerEventHook(i.TYPES,i.register,i.unregister);}});})();(function(){var a="qx.event.handler.OrientationCore",b="orientationchange",c="landscape",d="resize",e="portrait";qx.Bootstrap.define(a,{extend:Object,construct:function(g,f){this._window=g||window;this.__emitter=f;this._initObserver();},members:{__emitter:null,_window:null,_currentOrientation:null,__onNativeWrapper:null,__nativeEventType:null,_initObserver:function(){this.__onNativeWrapper=qx.lang.Function.listener(this._onNative,this);this.__nativeEventType=qx.bom.Event.supportsEvent(this._window,b)?b:d;qx.bom.Event.addNativeListener(this._window,this.__nativeEventType,this.__onNativeWrapper);},_stopObserver:function(){qx.bom.Event.removeNativeListener(this._window,this.__nativeEventType,this.__onNativeWrapper);},_onNative:function(h){var i=qx.bom.Viewport.getOrientation();if(this._currentOrientation!=i){this._currentOrientation=i;var j=qx.bom.Viewport.isLandscape()?c:e;h._orientation=i;h._mode=j;if(this.__emitter){this.__emitter.emit(b,h);};};}},destruct:function(){this._stopObserver();this.__manager=this.__emitter=null;}});})();(function(){var a="qx.module.Rest";qx.Bootstrap.define(a,{statics:{resource:function(b){return new qx.bom.rest.Resource(b);}},defer:function(c){qxWeb.$attachStatic({"rest":{"resource":c.resource}});}});})();(function(){var a="function",b="=?(\\w+)?}",c="' is invalid",d="loadEnd",f="Parameter '",g="GET",h="Method with name of action (",i="'",j="error",k="fail",l="get",m="{",n="success",o=") doesn't support other HTTP methods than 'GET'",p=") already exists",q="Error",r="",s="qx.bom.rest.Resource",t="Request (",u="Missing parameter '",v="Success",w="Content-Type",x="undefined",y="No route for action ";qx.Bootstrap.define(s,{extend:qx.event.Emitter,construct:function(z){this.__requests={};this.__routes={};this.__pollTimers={};this.__longPollHandlers={};try{if(typeof z!==x){{};this.__mapFromDescription(z);};}catch(e){this.dispose();throw e;};},events:{"success":s,"actionSuccess":s,"error":s,"actionError":s},statics:{POLL_THROTTLE_LIMIT:100,POLL_THROTTLE_COUNT:30,REQUIRED:true,placeholdersFromUrl:function(A){var C=/\{(\w+)(=\w+)?\}/g,D,B=[];while((D=C.exec(A))){B.push(D[1]);};return B;}},members:{__requests:null,__routes:null,__baseUrl:null,__pollTimers:null,__longPollHandlers:null,__configureRequestCallback:null,__requestHandler:null,__begetRequest:null,setRequestFactory:function(E){this.__begetRequest=E;},setRequestHandler:function(F){this.__requestHandler=F;},_getRequestHandler:function(){return (this.__requestHandler===null)?{onsuccess:{callback:function(H,G){return function(){var I={"id":parseInt(H.toHashCode(),10),"response":H.getResponse(),"request":H,"action":G};this.emit(G+v,I);this.emit(n,I);};},context:this},onfail:{callback:function(K,J){return function(){var L={"id":parseInt(K.toHashCode(),10),"response":K.getResponse(),"request":K,"action":J};this.emit(J+q,L);this.emit(j,L);};},context:this},onloadend:{callback:function(N,M){return function(){N.dispose();};},context:this}}:this.__requestHandler;},getRequestsByAction:function(O){var P=(this.__requests!==null&&O in this.__requests);return P?this.__requests[O]:null;},configureRequest:function(Q){this.__configureRequestCallback=Q;},_getRequest:function(){return (this.__begetRequest===null)?new qx.bom.request.SimpleXhr():this.__begetRequest();},__createRequest:function(R){var S=this._getRequest();if(!qx.lang.Type.isArray(this.__requests[R])){this.__requests[R]=[];};this.__requests[R].push(S);return S;},map:function(U,W,T,V){this.__routes[U]=[W,T,V];this.__requests[U]=[];if(U==l){this[U]=undefined;};if(typeof this[U]!==x&&this[U]!==null&&this[U].action!==true){throw new Error(h+U+p);};this.__declareEvent(U+v);this.__declareEvent(U+q);this[U]=qx.lang.Function.bind(function(){Array.prototype.unshift.call(arguments,U);return this.invoke.apply(this,arguments);},this);this[U].action=true;},invoke:function(bc,ba,X){var Y=this.__createRequest(bc),ba=ba==null?{}:ba,bd=this._getRequestConfig(bc,ba);this.__routes[bc].params=ba;this.__checkParameters(ba,bd.check);this.__configureRequest(Y,bd,X);if(this.__configureRequestCallback){this.__configureRequestCallback.call(this,Y,bc,ba,X);};this.__configureJsonRequest(Y,bd,X);var bb=this._getRequestHandler();Y.addListenerOnce(n,bb.onsuccess.callback(Y,bc),bb.onsuccess.context);Y.addListenerOnce(k,bb.onfail.callback(Y,bc),bb.onfail.context);Y.addListenerOnce(d,bb.onloadend.callback(Y,bc),bb.onloadend.context);Y.send();return parseInt(Y.toHashCode(),10);},setBaseUrl:function(be){this.__baseUrl=be;},__checkParameters:function(bf,bg){if(typeof bg!==x){{};Object.keys(bg).forEach(function(bh){{};if(bg[bh]===qx.bom.rest.Resource.REQUIRED&&typeof bf[bh]===x){throw new Error(u+bh+i);};if(!(bg[bh]&&typeof bg[bh].test==a)){return;};if(!bg[bh].test(bf[bh])){throw new Error(f+bh+c);};});};},__configureRequest:function(bj,bi,bk){bj.setUrl(bi.url);if(!bj.setMethod&&bi.method!==g){throw new Error(t+bj.classname+o);};if(bj.setMethod){bj.setMethod(bi.method);};if(bk){bj.setRequestData(bk);};},__configureJsonRequest:function(bn,bl,bm){if(bm){var bo=bn.getRequestHeader(w);if(bn.getMethod&&qx.util.Request.methodAllowsRequestBody(bn.getMethod())){if(/application\/.*\+?json/.test(bo)){bm=qx.lang.Json.stringify(bm);bn.setRequestData(bm);};};};},abort:function(br){if(qx.lang.Type.isNumber(br)){var bu=br;var bt=qx.core.ObjectRegistry.getPostId();var bp=qx.core.ObjectRegistry.fromHashCode(bu+bt);if(bp){bp.abort();};}else {var bs=br;var bq=this.__requests[bs];if(this.__requests[bs]){bq.forEach(function(bv){bv.abort();});};};},refresh:function(bw){this.invoke(bw,this.__routes[bw].params);},poll:function(bx,bz,bA,by){if(this.__pollTimers[bx]){this.stopPollByAction(bx);};if(typeof bA==x){bA=this.__routes[bx].params;};if(by){this.invoke(bx,bA);};var bB=(function(bC){return function(){var bD=bC.__requests[bx][0];if(!by&&!bD){bC.invoke(bx,bA);return;};if(bD.isDone()||bD.isDisposed()){bC.refresh(bx);};};})(this);this._startPoll(bx,bB,bz);},_startPoll:function(bE,bF,bG){this.__pollTimers[bE]={"id":window.setInterval(bF,bG),"interval":bG,"listener":bF};},stopPollByAction:function(bH){if(bH in this.__pollTimers){var bI=this.__pollTimers[bH].id;window.clearInterval(bI);};},restartPollByAction:function(bJ){if(bJ in this.__pollTimers){var bK=this.__pollTimers[bJ];this.stopPollByAction(bJ);this._startPoll(bJ,bK.listener,bK.interval);};},longPoll:function(bP){var bM=this,bO,bQ=0;function bL(){var bR=bO&&((new Date())-bO)<bM._getThrottleLimit();if(bR){bQ+=1;if(bQ>bM._getThrottleCount()){{};return true;};};if(!bR){bQ=0;};return false;};var bN=this.__longPollHandlers[bP]=this.addListener(bP+v,function bS(){if(bM.isDisposed()){return;};if(!bL()){bO=new Date();bM.refresh(bP);};});this.invoke(bP);return bN;},_getRequestConfig:function(bX,bW){var bU=this.__routes[bX];var bW=qx.lang.Object.clone(bW);if(!qx.lang.Type.isArray(bU)){throw new Error(y+bX);};var bV=bU[0],bT=this.__baseUrl!==null?this.__baseUrl+bU[1]:bU[1],ca=bU[2],bY=qx.bom.rest.Resource.placeholdersFromUrl(bT);bW=bW||{};bY.forEach(function(cd){var cb=new RegExp(m+cd+b),cc=bT.match(cb)[1];if(typeof bW[cd]===x){if(cc){bW[cd]=cc;}else {bW[cd]=r;};};bT=bT.replace(cb,bW[cd]);});return {method:bV,url:bT,check:ca};},_getThrottleLimit:function(){return qx.bom.rest.Resource.POLL_THROTTLE_LIMIT;},_getThrottleCount:function(){return qx.bom.rest.Resource.POLL_THROTTLE_COUNT;},__mapFromDescription:function(ce){Object.keys(ce).forEach(function(cg){var ch=ce[cg],cj=ch.method,cf=ch.url,ci=ch.check;{};this.map(cg,cj,cf,ci);},this);},__declareEvent:function(ck){if(!this.constructor.$$events){this.constructor.$$events={};};if(!this.constructor.$$events[ck]){this.constructor.$$events[ck]=s;};},isDisposed:function(){return this.$$disposed||false;},dispose:function(){if(this.$$disposed){return;};this.$$disposed=true;{};this.destruct();{var cm,cn,cl,co;};},destruct:function(){var cp;for(cp in this.__requests){if(this.__requests[cp]){this.__requests[cp].forEach(function(cr){cr.dispose();});};};if(this.__pollTimers){for(cp in this.__pollTimers){this.stopPollByAction(cp);};};if(this.__longPollHandlers){for(cp in this.__longPollHandlers){var cq=this.__longPollHandlers[cp];this.removeListenerById(cq);};};this.__requests=this.__routes=this.__pollTimers=null;}}});})();(function(){var a="error",b="",c="loadEnd",d="application/x-www-form-urlencoded",f="Cache-Control",g="Content-Type",h="fail",i="GET",j="success",k="undefined",l="POST",m="timeout",n="qx.bom.request.SimpleXhr",o="abort";qx.Bootstrap.define(n,{extend:Object,construct:function(p,q){if(p!==undefined){this.setUrl(p);};this.useCaching(true);this.setMethod((q!==undefined)?q:i);this._transport=this._registerTransportListener(this._createTransport());qx.core.ObjectRegistry.register(this);this.__requestHeaders={};this.__parser=this._createResponseParser();},members:{setRequestHeader:function(r,s){this.__requestHeaders[r]=s;return this;},getRequestHeader:function(t){return this.__requestHeaders[t];},setUrl:function(u){if(qx.lang.Type.isString(u)){this.__url=u;};return this;},getUrl:function(){return this.__url;},setMethod:function(v){if(qx.util.Request.isMethod(v)){this.__method=v;};return this;},getMethod:function(){return this.__method;},setRequestData:function(w){if(qx.lang.Type.isString(w)||qx.lang.Type.isObject(w)){this.__requestData=w;};return this;},getRequestData:function(){return this.__requestData;},getResponse:function(){if(this.__response!==null){return this.__response;}else {return (this._transport.responseXML!==null)?this._transport.responseXML:this._transport.responseText;};return null;},getTransport:function(){return this._transport;},setParser:function(x){return this.__parser.setParser(x);},setTimeout:function(y){if(qx.lang.Type.isNumber(y)){this.__timeout=y;};return this;},getTimeout:function(){return this.__timeout;},useCaching:function(z){if(qx.lang.Type.isBoolean(z)){this.__cache=z;};return this;},isCaching:function(){return this.__cache;},isDone:function(){return (this._transport.readyState===qx.bom.request.Xhr.DONE);},toHashCode:function(){return this.$$hash;},isDisposed:function(){return !!this.__disposed;},send:function(){var F=this.getTimeout(),C=(this.getRequestData()!==null),D=this.__requestHeaders.hasOwnProperty(f),A=qx.util.Request.methodAllowsRequestBody(this.getMethod()),G=this.getRequestHeader(g),B=this._serializeData(this.getRequestData(),G);if(this.getMethod()===i&&C){this.setUrl(qx.util.Uri.appendParamsToUrl(this.getUrl(),B));};if(this.isCaching()===false&&!D){this.setUrl(qx.util.Uri.appendParamsToUrl(this.getUrl(),{nocache:new Date().valueOf()}));};if(F){this._transport.timeout=F;};this._transport.open(this.getMethod(),this.getUrl(),true);for(var E in this.__requestHeaders){this._transport.setRequestHeader(E,this.__requestHeaders[E]);};if(!A){this._transport.send();}else {if(typeof G===k){this._transport.setRequestHeader(g,d);};this._transport.send(B);};},abort:function(){this._transport.abort();return this;},dispose:function(){if(this._transport.dispose()){this.__parser=null;this.__disposed=true;return true;};return false;},_transport:null,_createTransport:function(){return new qx.bom.request.Xhr();},_registerTransportListener:function(H){H.onreadystatechange=qx.lang.Function.bind(this._onReadyStateChange,this);H.onloadend=qx.lang.Function.bind(this._onLoadEnd,this);H.ontimeout=qx.lang.Function.bind(this._onTimeout,this);H.onerror=qx.lang.Function.bind(this._onError,this);H.onabort=qx.lang.Function.bind(this._onAbort,this);return H;},_createResponseParser:function(){return new qx.util.ResponseParser();},_setResponse:function(I){this.__response=I;},_serializeData:function(M,L){var J=this.getMethod()===l,K=/application\/.*\+?json/.test(L);if(!M){return null;};if(qx.lang.Type.isString(M)){return M;};if(K&&(qx.lang.Type.isObject(M)||qx.lang.Type.isArray(M))){return qx.lang.Json.stringify(M);};if(qx.lang.Type.isObject(M)){return qx.util.Uri.toParameter(M,J);};return null;},__requestHeaders:null,__requestData:null,__method:b,__url:b,__response:null,__parser:null,__cache:null,__timeout:null,__disposed:null,addListenerOnce:function(name,N,O){this._transport._emitter.once(name,N,O);return this;},_onReadyStateChange:function(){{};if(this.isDone()){this.__onReadyStateDone();};},__onReadyStateDone:function(){{};var Q=this._transport.responseText;var P=this._transport.getResponseHeader(g);if(qx.util.Request.isSuccessful(this._transport.status)){{};this._setResponse(this.__parser.parse(Q,P));this._transport._emit(j);}else {try{this._setResponse(this.__parser.parse(Q,P));}catch(e){};if(this._transport.status!==0){this._transport._emit(h);};};},_onLoadEnd:function(){this._transport._emit(c);},_onAbort:function(){this._transport._emit(o);},_onTimeout:function(){this._transport._emit(m);this._transport._emit(h);},_onError:function(){this._transport._emit(a);this._transport._emit(h);}}});})();(function(){var a="qx.core.ObjectRegistry",b="-",c="-0",d="";qx.Bootstrap.define(a,{statics:{__registry:{},__nextHash:0,__freeHashes:[],__postId:d,register:function(e){var h=this.__registry;if(!h){return;};var g=e.$$hash;if(g==null){var f=this.__freeHashes;if(f.length>0&&true){g=f.pop();}else {g=(this.__nextHash++ )+this.__postId;};e.$$hash=g;{};};{};h[g]=e;},fromHashCode:function(j){return this.__registry[j]||null;},getPostId:function(){return this.__postId;}},defer:function(k){if(window&&window.top){var frames=window.top.frames;for(var i=0;i<frames.length;i++ ){if(frames[i]===window){k.__postId=b+(i+1);return;};};};k.__postId=c;}});})();(function(){var a="HEAD",b="CONNECT",c="OPTIONS",d="PUT",e="GET",f="PATCH",g="//",h="DELETE",i="POST",j="TRACE",k="qx.util.Request";qx.Bootstrap.define(k,{statics:{isCrossDomain:function(l){var n=qx.util.Uri.parseUri(l),location=window.location;if(!location){return false;};var m=location.protocol;if(!(l.indexOf(g)!==-1)){return false;};if(m.substr(0,m.length-1)==n.protocol&&location.host===n.host&&location.port===n.port){return false;};return true;},isSuccessful:function(status){return (status>=200&&status<300||status===304);},isMethod:function(p){var o=[e,i,d,h,a,c,j,b,f];return (o.indexOf(p)!==-1)?true:false;},methodAllowsRequestBody:function(q){return !((/^(GET|HEAD)$/).test(q));}}});})();(function(){var a="activex",b="No XHR support available.",c="If-None-Match",d="xhr",f="If-Modified-Since",g="engine.version",h="onunload",i="GET",j="-1",k="qx.debug.io",l="HTMLDocument",m="error",n="loadend",o="Blob",p="load",q="abort",r="String",s="browser.documentmode",t="",u="engine.name",v="Microsoft.XMLHTTP",w="Already disposed",x="browser.version",y="opera",z="qx.bom.request.Xhr",A="Not enough arguments",B="timeout",C="gecko",D="If-Match",E="mshtml",F="readystatechange",G="Microsoft.XMLDOM",H="file:",I="FormData",J="If-Range",K="Content-Type",L="io.xhr",M="on",N="ArrayBuffer",O="undefined",P="Native XHR object doesn't support overrideMimeType.";qx.Bootstrap.define(z,{extend:Object,construct:function(){var Q=qx.Bootstrap.bind(this.__onNativeReadyStateChange,this);if(qx.event&&qx.event.GlobalError&&qx.event.GlobalError.observeMethod){this.__onNativeReadyStateChangeBound=qx.event.GlobalError.observeMethod(Q);}else {this.__onNativeReadyStateChangeBound=Q;};this.__onNativeAbortBound=qx.Bootstrap.bind(this.__onNativeAbort,this);this.__onTimeoutBound=qx.Bootstrap.bind(this.__onTimeout,this);this.__initNativeXhr();this._emitter=new qx.event.Emitter();if(window.attachEvent){this.__onUnloadBound=qx.Bootstrap.bind(this.__onUnload,this);window.attachEvent(h,this.__onUnloadBound);};},statics:{UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},events:{"readystatechange":z,"error":z,"loadend":z,"timeout":z,"abort":z,"load":z},members:{readyState:0,responseText:t,responseXML:null,status:0,statusText:t,timeout:0,open:function(V,R,S,U,T){this.__checkDisposed();if(typeof R===O){throw new Error(A);}else if(typeof V===O){V=i;};this.__abort=false;this.__send=false;this.__conditional=false;this.__url=R;if(typeof S==O){S=true;};this.__async=S;if(!this.__supportsManyRequests()&&this.readyState>qx.bom.request.Xhr.UNSENT){this.dispose();this.__initNativeXhr();};this.__nativeXhr.onreadystatechange=this.__onNativeReadyStateChangeBound;try{{};this.__nativeXhr.open(V,R,S,U,T);}catch(W){if(!qx.util.Request.isCrossDomain(R)){throw W;};if(!this.__async){this.__openError=W;};if(this.__async){if(window.XDomainRequest){this.readyState=4;this.__nativeXhr=new XDomainRequest();this.__nativeXhr.onerror=qx.Bootstrap.bind(function(){this._emit(F);this._emit(m);this._emit(n);},this);{};this.__nativeXhr.open(V,R,S,U,T);return;};window.setTimeout(qx.Bootstrap.bind(function(){if(this.__disposed){return;};this.readyState=4;this._emit(F);this._emit(m);this._emit(n);},this));};};if(qx.core.Environment.get(u)===E&&qx.core.Environment.get(s)<9&&this.__nativeXhr.readyState>0){this.__nativeXhr.setRequestHeader(f,j);};if(qx.core.Environment.get(u)===C&&parseInt(qx.core.Environment.get(g),10)<2&&!this.__async){this.readyState=qx.bom.request.Xhr.OPENED;this._emit(F);};},setRequestHeader:function(X,Y){this.__checkDisposed();if(X==D||X==f||X==c||X==J){this.__conditional=true;};this.__nativeXhr.setRequestHeader(X,Y);return this;},send:function(bb){this.__checkDisposed();if(!this.__async&&this.__openError){throw this.__openError;};if(qx.core.Environment.get(u)===y&&this.timeout===0){this.timeout=10000;};if(this.timeout>0){this.__timerId=window.setTimeout(this.__onTimeoutBound,this.timeout);};bb=typeof bb==O?null:bb;var ba=qx.Bootstrap.getClass(bb);bb=(bb!==null&&this.__dataTypeWhiteList.indexOf(ba)===-1)?bb.toString():bb;try{{};this.__nativeXhr.send(bb);}catch(bd){if(!this.__async){throw bd;};if(this._getProtocol()===H){this.readyState=2;this.__readyStateChange();var bc=this;window.setTimeout(function(){if(bc.__disposed){return;};bc.readyState=3;bc.__readyStateChange();bc.readyState=4;bc.__readyStateChange();});};};if(qx.core.Environment.get(u)===C&&!this.__async){this.__onNativeReadyStateChange();};this.__send=true;return this;},abort:function(){this.__checkDisposed();this.__abort=true;this.__nativeXhr.abort();if(this.__nativeXhr){this.readyState=this.__nativeXhr.readyState;};return this;},_emit:function(event){if(this[M+event]){this[M+event]();};this._emitter.emit(event,this);},onreadystatechange:function(){},onload:function(){},onloadend:function(){},onerror:function(){},onabort:function(){},ontimeout:function(){},on:function(name,be,bf){this._emitter.on(name,be,bf);return this;},getResponseHeader:function(bg){this.__checkDisposed();return this.__nativeXhr.getResponseHeader(bg);},getAllResponseHeaders:function(){this.__checkDisposed();return this.__nativeXhr.getAllResponseHeaders();},overrideMimeType:function(bh){this.__checkDisposed();if(this.__nativeXhr.overrideMimeType){this.__nativeXhr.overrideMimeType(bh);}else {throw new Error(P);};return this;},getRequest:function(){return this.__nativeXhr;},dispose:function(){if(this.__disposed){return false;};window.clearTimeout(this.__timerId);if(window.detachEvent){window.detachEvent(h,this.__onUnloadBound);};try{this.__nativeXhr.onreadystatechange;}catch(bj){return false;};var bi=function(){};this.__nativeXhr.onreadystatechange=bi;this.__nativeXhr.onload=bi;this.__nativeXhr.onerror=bi;this.abort();this.__nativeXhr=null;this.__disposed=true;return true;},isDisposed:function(){return !!this.__disposed;},_createNativeXhr:function(){var bk=qx.core.Environment.get(L);if(bk===d){return new XMLHttpRequest();};if(bk==a){return new window.ActiveXObject(v);};qx.Bootstrap.error(this,b);},_getProtocol:function(){var bl=this.__url;var bm=/^(\w+:)\/\//;if(bl!==null&&bl.match){var bn=bl.match(bm);if(bn&&bn[1]){return bn[1];};};return window.location.protocol;},__nativeXhr:null,__async:null,__onNativeReadyStateChangeBound:null,__onNativeAbortBound:null,__onUnloadBound:null,__onTimeoutBound:null,__send:null,__url:null,__abort:null,__timeout:null,__disposed:null,__timerId:null,__openError:null,__conditional:null,__dataTypeWhiteList:null,__initNativeXhr:function(){this.__nativeXhr=this._createNativeXhr();this.__nativeXhr.onreadystatechange=this.__onNativeReadyStateChangeBound;if(this.__nativeXhr.onabort){this.__nativeXhr.onabort=this.__onNativeAbortBound;};this.__disposed=this.__send=this.__abort=false;this.__dataTypeWhiteList=[N,o,l,r,I];},__onNativeAbort:function(){if(!this.__abort){this.abort();};},__onNativeReadyStateChange:function(){var bo=this.__nativeXhr,bp=true;{};if(this.readyState==bo.readyState){return;};this.readyState=bo.readyState;if(this.readyState===qx.bom.request.Xhr.DONE&&this.__abort&&!this.__send){return;};if(!this.__async&&(bo.readyState==2||bo.readyState==3)){return;};this.status=0;this.statusText=this.responseText=t;this.responseXML=null;if(this.readyState>=qx.bom.request.Xhr.HEADERS_RECEIVED){try{this.status=bo.status;this.statusText=bo.statusText;this.responseText=bo.responseText;this.responseXML=bo.responseXML;}catch(bq){bp=false;};if(bp){this.__normalizeStatus();this.__normalizeResponseXML();};};this.__readyStateChange();if(this.readyState==qx.bom.request.Xhr.DONE){if(bo){bo.onreadystatechange=function(){};};};},__readyStateChange:function(){if(this.readyState===qx.bom.request.Xhr.DONE){window.clearTimeout(this.__timerId);};this._emit(F);if(this.readyState===qx.bom.request.Xhr.DONE){this.__readyStateChangeDone();};},__readyStateChangeDone:function(){if(this.__timeout){this._emit(B);if(qx.core.Environment.get(u)===y){this._emit(m);};this.__timeout=false;}else {if(this.__abort){this._emit(q);}else {if(this.__isNetworkError()){this._emit(m);}else {this._emit(p);};};};this._emit(n);},__isNetworkError:function(){var br;if(this._getProtocol()===H){br=!this.responseText;}else {br=!this.statusText;};return br;},__onTimeout:function(){var bs=this.__nativeXhr;this.readyState=qx.bom.request.Xhr.DONE;this.__timeout=true;bs.abort();this.responseText=t;this.responseXML=null;this.__readyStateChange();},__normalizeStatus:function(){var bt=this.readyState===qx.bom.request.Xhr.DONE;if(this._getProtocol()===H&&this.status===0&&bt){if(!this.__isNetworkError()){this.status=200;};};if(this.status===1223){this.status=204;};if(qx.core.Environment.get(u)===y){if(bt&&this.__conditional&&!this.__abort&&this.status===0){this.status=304;};};},__normalizeResponseXML:function(){if(qx.core.Environment.get(u)==E&&(this.getResponseHeader(K)||t).match(/[^\/]+\/[^\+]+\+xml/)&&this.responseXML&&!this.responseXML.documentElement){var bu=new window.ActiveXObject(G);bu.async=false;bu.validateOnParse=false;bu.loadXML(this.responseText);this.responseXML=bu;};},__onUnload:function(){try{if(this){this.dispose();};}catch(e){};},__supportsManyRequests:function(){var name=qx.core.Environment.get(u);var bv=qx.core.Environment.get(x);return !(name==E&&bv<9||name==C&&bv<3.5);},__checkDisposed:function(){if(this.__disposed){throw new Error(w);};}},defer:function(){qx.core.Environment.add(k,false);}});})();(function(){var a="Microsoft.XMLHTTP",b="xhr",c="io.ssl",d="io.xhr",e="",f="file:",g="https:",h="webkit",i="gecko",j="activex",k="opera",l=".",m="io.maxrequests",n="qx.bom.client.Transport";qx.Bootstrap.define(n,{statics:{getMaxConcurrentRequestCount:function(){var p;var r=qx.bom.client.Engine.getVersion().split(l);var o=0;var s=0;var q=0;if(r[0]){o=r[0];};if(r[1]){s=r[1];};if(r[2]){q=r[2];};if(window.maxConnectionsPerServer){p=window.maxConnectionsPerServer;}else if(qx.bom.client.Engine.getName()==k){p=8;}else if(qx.bom.client.Engine.getName()==h){p=4;}else if(qx.bom.client.Engine.getName()==i&&((o>1)||((o==1)&&(s>9))||((o==1)&&(s==9)&&(q>=1)))){p=6;}else {p=2;};return p;},getSsl:function(){return window.location.protocol===g;},getXmlHttpRequest:function(){var t=window.ActiveXObject?(function(){if(window.location.protocol!==f){try{new window.XMLHttpRequest();return b;}catch(u){};};try{new window.ActiveXObject(a);return j;}catch(v){};})():(function(){try{new window.XMLHttpRequest();return b;}catch(w){};})();return t||e;}},defer:function(x){qx.core.Environment.add(m,x.getMaxConcurrentRequestCount);qx.core.Environment.add(c,x.getSsl);qx.core.Environment.add(d,x.getXmlHttpRequest);}});})();(function(){var a="function",b="plugin.silverlight.version",c="Silverlight",d="Skype.Detection",f="QuickTimeCheckObject.QuickTimeCheck.1",g="Adobe Acrobat",h="plugin.windowsmedia",k="QuickTime",l="plugin.silverlight",m="pdf",n="wmv",o="qx.bom.client.Plugin",p="application/x-skype",q=',',r="plugin.divx",s='=',t="Chrome PDF Viewer",u="divx",v="Windows Media",w="",x="mshtml",y="skype.click2call",z="plugin.skype",A="plugin.gears",B="plugin.quicktime",C="plugin.windowsmedia.version",D="quicktime",E="DivX Web Player",F="AgControl.AgControl",G="Microsoft.XMLHTTP",H="silverlight",I="plugin.pdf",J="plugin.pdf.version",K="MSXML2.DOMDocument.6.0",L="WMPlayer.OCX.7",M="AcroPDF.PDF",N="plugin.activex",O="plugin.quicktime.version",P="plugin.divx.version",Q="npdivx.DivXBrowserPlugin.1",R="object";qx.Bootstrap.define(o,{statics:{getGears:function(){return !!(window.google&&window.google.gears);},getActiveX:function(){if(typeof window.ActiveXObject===a){return true;};try{return (typeof (new window.ActiveXObject(G))===R||typeof (new window.ActiveXObject(K))===R);}catch(S){return false;};},getSkype:function(){if(qx.bom.client.Plugin.getActiveX()){try{new ActiveXObject(d);return true;}catch(e){};};var T=navigator.mimeTypes;if(T){if(p in T){return true;};for(var i=0;i<T.length;i++ ){var U=T[i];if(U.type.indexOf(y)!=-1){return true;};};};return false;},__db:{quicktime:{plugin:[k],control:f},wmv:{plugin:[v],control:L},divx:{plugin:[E],control:Q},silverlight:{plugin:[c],control:F},pdf:{plugin:[t,g],control:M}},getQuicktimeVersion:function(){var V=qx.bom.client.Plugin.__db[D];return qx.bom.client.Plugin.__getVersion(V.control,V.plugin);},getWindowsMediaVersion:function(){var W=qx.bom.client.Plugin.__db[n];return qx.bom.client.Plugin.__getVersion(W.control,W.plugin);},getDivXVersion:function(){var X=qx.bom.client.Plugin.__db[u];return qx.bom.client.Plugin.__getVersion(X.control,X.plugin);},getSilverlightVersion:function(){var Y=qx.bom.client.Plugin.__db[H];return qx.bom.client.Plugin.__getVersion(Y.control,Y.plugin);},getPdfVersion:function(){var ba=qx.bom.client.Plugin.__db[m];return qx.bom.client.Plugin.__getVersion(ba.control,ba.plugin);},getQuicktime:function(){var bb=qx.bom.client.Plugin.__db[D];return qx.bom.client.Plugin.__isAvailable(bb.control,bb.plugin);},getWindowsMedia:function(){var bc=qx.bom.client.Plugin.__db[n];return qx.bom.client.Plugin.__isAvailable(bc.control,bc.plugin);},getDivX:function(){var bd=qx.bom.client.Plugin.__db[u];return qx.bom.client.Plugin.__isAvailable(bd.control,bd.plugin);},getSilverlight:function(){var be=qx.bom.client.Plugin.__db[H];return qx.bom.client.Plugin.__isAvailable(be.control,be.plugin);},getPdf:function(){var bf=qx.bom.client.Plugin.__db[m];return qx.bom.client.Plugin.__isAvailable(bf.control,bf.plugin);},__getVersion:function(bn,bj){var bg=qx.bom.client.Plugin.__isAvailable(bn,bj);if(!bg){return w;};if(qx.bom.client.Engine.getName()==x){try{var bh=new ActiveXObject(bn);var bl;if(bh.GetVersions&&bh.GetVersions()){bl=bh.GetVersions().split(q);if(bl.length>1){bl=bl[0].split(s);if(bl.length===2){return bl[1];};};};bl=bh.versionInfo;if(bl!=undefined){return bl;};bl=bh.version;if(bl!=undefined){return bl;};bl=bh.settings.version;if(bl!=undefined){return bl;};}catch(bo){return w;};return w;}else {var bm=navigator.plugins;var bk=/([0-9]\.[0-9])/g;for(var i=0;i<bm.length;i++ ){var bi=bm[i];for(var j=0;j<bj.length;j++ ){if(bi.name.indexOf(bj[j])!==-1){if(bk.test(bi.name)||bk.test(bi.description)){return RegExp.$1;};};};};return w;};},__isAvailable:function(br,bp){if(qx.bom.client.Engine.getName()==x){if(!this.getActiveX()){return false;};try{new ActiveXObject(br);}catch(bs){return false;};return true;}else {var bq=navigator.plugins;if(!bq){return false;};var name;for(var i=0;i<bq.length;i++ ){name=bq[i].name;for(var j=0;j<bp.length;j++ ){if(name.indexOf(bp[j])!==-1){return true;};};};return false;};}},defer:function(bt){qx.core.Environment.add(A,bt.getGears);qx.core.Environment.add(B,bt.getQuicktime);qx.core.Environment.add(O,bt.getQuicktimeVersion);qx.core.Environment.add(h,bt.getWindowsMedia);qx.core.Environment.add(C,bt.getWindowsMediaVersion);qx.core.Environment.add(r,bt.getDivX);qx.core.Environment.add(P,bt.getDivXVersion);qx.core.Environment.add(l,bt.getSilverlight);qx.core.Environment.add(b,bt.getSilverlightVersion);qx.core.Environment.add(I,bt.getPdf);qx.core.Environment.add(J,bt.getPdfVersion);qx.core.Environment.add(N,bt.getActiveX);qx.core.Environment.add(z,bt.getSkype);}});})();(function(){var a='<\?xml version="1.0" encoding="utf-8"?>\n<',b="MSXML2.DOMDocument.3.0",c="qx.xml.Document",d="",e=" />",f="xml.domparser",g="SelectionLanguage",h="'",j="MSXML2.XMLHTTP.3.0",k="plugin.activex",m="No XML implementation available!",n="MSXML2.XMLHTTP.6.0",o="xml.implementation",p=" xmlns='",q="text/xml",r="XPath",s="MSXML2.DOMDocument.6.0",t="HTML";qx.Bootstrap.define(c,{statics:{DOMDOC:null,XMLHTTP:null,isXmlDocument:function(u){if(u.nodeType===9){return u.documentElement.nodeName!==t;}else if(u.ownerDocument){return this.isXmlDocument(u.ownerDocument);}else {return false;};},create:function(v,w){if(qx.core.Environment.get(k)){var x=new ActiveXObject(this.DOMDOC);if(this.DOMDOC==b){x.setProperty(g,r);};if(w){var y=a;y+=w;if(v){y+=p+v+h;};y+=e;x.loadXML(y);};return x;};if(qx.core.Environment.get(o)){return document.implementation.createDocument(v||d,w||d,null);};throw new Error(m);},fromString:function(A){if(qx.core.Environment.get(k)){var B=qx.xml.Document.create();B.loadXML(A);return B;};if(qx.core.Environment.get(f)){var z=new DOMParser();return z.parseFromString(A,q);};throw new Error(m);}},defer:function(D){if(qx.core.Environment.get(k)){var C=[s,b];var E=[n,j];for(var i=0,l=C.length;i<l;i++ ){try{new ActiveXObject(C[i]);new ActiveXObject(E[i]);}catch(F){continue;};D.DOMDOC=C[i];D.XMLHTTP=E[i];break;};};}});})();(function(){var a="function",b="xml.implementation",c="xml.attributens",d="xml.selectnodes",e="<a></a>",f="xml.getqualifieditem",g="SelectionLanguage",h="xml.getelementsbytagnamens",i="qx.bom.client.Xml",j="xml.domproperties",k="xml.selectsinglenode",l="1.0",m="xml.createnode",n="xml.domparser",o="getProperty",p="undefined",q="XML",r="string",s="xml.createelementns";qx.Bootstrap.define(i,{statics:{getImplementation:function(){return document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature(q,l);},getDomParser:function(){return typeof window.DOMParser!==p;},getSelectSingleNode:function(){return typeof qx.xml.Document.create().selectSingleNode!==p;},getSelectNodes:function(){return typeof qx.xml.Document.create().selectNodes!==p;},getElementsByTagNameNS:function(){return typeof qx.xml.Document.create().getElementsByTagNameNS!==p;},getDomProperties:function(){var t=qx.xml.Document.create();return (o in t&&typeof t.getProperty(g)===r);},getAttributeNS:function(){var u=qx.xml.Document.fromString(e).documentElement;return typeof u.getAttributeNS===a&&typeof u.setAttributeNS===a;},getCreateElementNS:function(){return typeof qx.xml.Document.create().createElementNS===a;},getCreateNode:function(){return typeof qx.xml.Document.create().createNode!==p;},getQualifiedItem:function(){var v=qx.xml.Document.fromString(e).documentElement;return typeof v.attributes.getQualifiedItem!==p;}},defer:function(w){qx.core.Environment.add(b,w.getImplementation);qx.core.Environment.add(n,w.getDomParser);qx.core.Environment.add(k,w.getSelectSingleNode);qx.core.Environment.add(d,w.getSelectNodes);qx.core.Environment.add(h,w.getElementsByTagNameNS);qx.core.Environment.add(j,w.getDomProperties);qx.core.Environment.add(c,w.getAttributeNS);qx.core.Environment.add(s,w.getCreateElementNS);qx.core.Environment.add(m,w.getCreateNode);qx.core.Environment.add(f,w.getQualifiedItem);}});})();(function(){var a="function",b="qx.util.ResponseParser",c="";qx.Bootstrap.define(b,{construct:function(d){if(d!==undefined){this.setParser(d);};},statics:{PARSER:{json:qx.lang.Json.parse,xml:qx.xml.Document.fromString}},members:{__parser:null,parse:function(g,f){var e=this._getParser(f);if(typeof e===a){if(g!==c){return e.call(this,g);};};return g;},setParser:function(h){if(typeof qx.util.ResponseParser.PARSER[h]===a){return this.__parser=qx.util.ResponseParser.PARSER[h];};{};return this.__parser=h;},_getParser:function(j){var i=this.__parser,l=c,k=c;if(i){return i;};l=j||c;k=l.replace(/;.*$/,c);if(/^application\/(\w|\.)*\+?json$/.test(k)){i=qx.util.ResponseParser.PARSER.json;};if(/^application\/xml$/.test(k)){i=qx.util.ResponseParser.PARSER.xml;};if(/[^\/]+\/[^\+]+\+xml$/.test(l)){i=qx.util.ResponseParser.PARSER.xml;};return i;}}});})();(function(){var a="qxWeb.$$",b="get",c="qx.module.Io";qx.Bootstrap.define(c,{statics:{xhr:function(d,h){if(!h){h={};};var f=new qx.bom.request.Xhr();f.open(h.method,d,h.async);if(h.header){var e=h.header;for(var g in e){f.setRequestHeader(g,e[g]);};};return f;},script:function(i){var j=new qx.bom.request.Script();j.open(b,i);return j;},jsonp:function(k,l){var m=new qx.bom.request.Jsonp();if(l&&l.callbackName){m.setCallbackName(l.callbackName);};if(l&&l.callbackParam){m.setCallbackParam(l.callbackParam);};m.setPrefix(a);m.open(b,k);return m;}},defer:function(n){qxWeb.$attachStatic({io:{xhr:n.xhr,script:n.script,jsonp:n.jsonp}});}});})();(function(){var a="url: ",b="qx.debug.io",c="qx.bom.request.Script",d="Invalid state",e="head",f="error",g="loadend",h="qx.debug",i="script",j="load",k="Unknown response headers",l="browser.documentmode",m="abort",n="",o="Received native readyState: loaded",p="readystatechange",q="Response header cannot be determined for ",r="requests made with script transport.",s="opera",t="unknown",u="Open native request with ",v="Response headers cannot be determined for",w="mshtml",x="engine.name",y="Detected error",z="Send native request",A="on",B="timeout",C="Unknown environment key at this phase",D="Received native load";qx.Bootstrap.define(c,{construct:function(){this.__initXhrProperties();this.__onNativeLoadBound=qx.Bootstrap.bind(this._onNativeLoad,this);this.__onNativeErrorBound=qx.Bootstrap.bind(this._onNativeError,this);this.__onTimeoutBound=qx.Bootstrap.bind(this._onTimeout,this);this.__headElement=document.head||document.getElementsByTagName(e)[0]||document.documentElement;this._emitter=new qx.event.Emitter();this.timeout=this.__supportsErrorHandler()?0:15000;},events:{"readystatechange":c,"error":c,"loadend":c,"timeout":c,"abort":c,"load":c},members:{readyState:null,status:null,statusText:null,timeout:null,__determineSuccess:null,on:function(name,E,F){this._emitter.on(name,E,F);return this;},open:function(H,G){if(this.__disposed){return;};this.__initXhrProperties();this.__abort=null;this.__url=G;if(this.__environmentGet(b)){qx.Bootstrap.debug(qx.bom.request.Script,u+a+G);};this._readyStateChange(1);},setRequestHeader:function(I,J){if(this.__disposed){return null;};var K={};if(this.readyState!==1){throw new Error(d);};K[I]=J;this.__url=qx.util.Uri.appendParamsToUrl(this.__url,K);return this;},send:function(){if(this.__disposed){return null;};var M=this.__createScriptElement(),L=this.__headElement,N=this;if(this.timeout>0){this.__timeoutId=window.setTimeout(this.__onTimeoutBound,this.timeout);};if(this.__environmentGet(b)){qx.Bootstrap.debug(qx.bom.request.Script,z);};L.insertBefore(M,L.firstChild);window.setTimeout(function(){N._readyStateChange(2);N._readyStateChange(3);});return this;},abort:function(){if(this.__disposed){return null;};this.__abort=true;this.__disposeScriptElement();this._emit(m);return this;},_emit:function(event){this[A+event]();this._emitter.emit(event,this);},onreadystatechange:function(){},onload:function(){},onloadend:function(){},onerror:function(){},onabort:function(){},ontimeout:function(){},getResponseHeader:function(O){if(this.__disposed){return null;};if(this.__environmentGet(h)){qx.Bootstrap.debug(q+r);};return t;},getAllResponseHeaders:function(){if(this.__disposed){return null;};if(this.__environmentGet(h)){qx.Bootstrap.debug(v+r);};return k;},setDetermineSuccess:function(P){this.__determineSuccess=P;},dispose:function(){var Q=this.__scriptElement;if(!this.__disposed){if(Q){Q.onload=Q.onreadystatechange=null;this.__disposeScriptElement();};if(this.__timeoutId){window.clearTimeout(this.__timeoutId);};this.__disposed=true;};},isDisposed:function(){return !!this.__disposed;},_onTimeout:function(){this.__failure();if(!this.__supportsErrorHandler()){this._emit(f);};this._emit(B);if(!this.__supportsErrorHandler()){this._emit(g);};},_onNativeLoad:function(){var S=this.__scriptElement,R=this.__determineSuccess,T=this;if(this.__abort){return;};if(this.__environmentGet(x)===w&&this.__environmentGet(l)<9){if(!(/loaded|complete/).test(S.readyState)){return;}else {if(this.__environmentGet(b)){qx.Bootstrap.debug(qx.bom.request.Script,o);};};};if(this.__environmentGet(b)){qx.Bootstrap.debug(qx.bom.request.Script,D);};if(R){if(!this.status){this.status=R()?200:500;};};if(this.status===500){if(this.__environmentGet(b)){qx.Bootstrap.debug(qx.bom.request.Script,y);};};if(this.__timeoutId){window.clearTimeout(this.__timeoutId);};window.setTimeout(function(){T._success();T._readyStateChange(4);T._emit(j);T._emit(g);});},_onNativeError:function(){this.__failure();this._emit(f);this._emit(g);},__scriptElement:null,__headElement:null,__url:n,__onNativeLoadBound:null,__onNativeErrorBound:null,__onTimeoutBound:null,__timeoutId:null,__abort:null,__disposed:null,__initXhrProperties:function(){this.readyState=0;this.status=0;this.statusText=n;},_readyStateChange:function(U){this.readyState=U;this._emit(p);},_success:function(){this.__disposeScriptElement();this.readyState=4;if(!this.status){this.status=200;};this.statusText=n+this.status;},__failure:function(){this.__disposeScriptElement();this.readyState=4;this.status=0;this.statusText=null;},__supportsErrorHandler:function(){var W=this.__environmentGet(x)===w&&this.__environmentGet(l)<9;var V=this.__environmentGet(x)===s;return !(W||V);},__createScriptElement:function(){var X=this.__scriptElement=document.createElement(i);X.src=this.__url;X.onerror=this.__onNativeErrorBound;X.onload=this.__onNativeLoadBound;if(this.__environmentGet(x)===w&&this.__environmentGet(l)<9){X.onreadystatechange=this.__onNativeLoadBound;};return X;},__disposeScriptElement:function(){var Y=this.__scriptElement;if(Y&&Y.parentNode){this.__headElement.removeChild(Y);};},__environmentGet:function(ba){if(qx&&qx.core&&qx.core.Environment){return qx.core.Environment.get(ba);}else {if(ba===x){return qx.bom.client.Engine.getName();};if(ba===l){return qx.bom.client.Browser.getDocumentMode();};if(ba==b){return false;};throw new Error(C);};}},defer:function(){if(qx&&qx.core&&qx.core.Environment){qx.core.Environment.add(b,false);};}});})();(function(){var a="qx.bom.request.Jsonp",b="callback",c="open",d="dispose",e="",f="_onNativeLoad",g="qx",h=".callback",i="qx.bom.request.Jsonp.";qx.Bootstrap.define(a,{extend:qx.bom.request.Script,construct:function(){qx.bom.request.Script.apply(this);this.__generateId();},members:{responseJson:null,__id:null,__callbackParam:null,__callbackName:null,__callbackCalled:null,__customCallbackCreated:null,__generatedUrl:null,__disposed:null,__prefix:e,open:function(o,k){if(this.__disposed){return;};var m={},l,n,j=this;this.responseJson=null;this.__callbackCalled=false;l=this.__callbackParam||b;n=this.__callbackName||this.__prefix+i+this.__id+h;if(!this.__callbackName){this.constructor[this.__id]=this;}else {if(!window[this.__callbackName]){this.__customCallbackCreated=true;window[this.__callbackName]=function(p){j.callback(p);};}else {{};};};{};m[l]=n;this.__generatedUrl=k=qx.util.Uri.appendParamsToUrl(k,m);this.__callBase(c,[o,k]);},callback:function(q){if(this.__disposed){return;};this.__callbackCalled=true;{};this.responseJson=q;this.constructor[this.__id]=undefined;this.__deleteCustomCallback();},setCallbackParam:function(r){this.__callbackParam=r;return this;},setCallbackName:function(name){this.__callbackName=name;return this;},setPrefix:function(s){this.__prefix=s;},getGeneratedUrl:function(){return this.__generatedUrl;},dispose:function(){this.__deleteCustomCallback();this.__callBase(d);},_onNativeLoad:function(){this.status=this.__callbackCalled?200:500;this.__callBase(f);},__deleteCustomCallback:function(){if(this.__customCallbackCreated&&window[this.__callbackName]){window[this.__callbackName]=undefined;this.__customCallbackCreated=false;};},__callBase:function(u,t){qx.bom.request.Script.prototype[u].apply(this,t||[]);},__generateId:function(){this.__id=g+(new Date().valueOf())+(e+Math.random()).substring(2,5);}}});})();(function(){var a="qx.module.Attribute",b="html";qx.Bootstrap.define(a,{statics:{getHtml:function(){if(this[0]&&this[0].nodeType===1){return qx.bom.element.Attribute.get(this[0],b);};return null;},setHtml:function(c){c=qx.bom.Html.fixEmptyTags(c);this._forEachElement(function(d){qx.bom.element.Attribute.set(d,b,c);});return this;},setAttribute:function(name,e){this._forEachElement(function(f){qx.bom.element.Attribute.set(f,name,e);});return this;},getAttribute:function(name){if(this[0]&&this[0].nodeType===1){return qx.bom.element.Attribute.get(this[0],name);};return null;},removeAttribute:function(name){this._forEachElement(function(g){qx.bom.element.Attribute.set(g,name,null);});return this;},setAttributes:function(h){for(var name in h){this.setAttribute(name,h[name]);};return this;},getAttributes:function(k){var j={};for(var i=0;i<k.length;i++ ){j[k[i]]=this.getAttribute(k[i]);};return j;},removeAttributes:function(m){for(var i=0,l=m.length;i<l;i++ ){this.removeAttribute(m[i]);};return this;},setProperty:function(name,n){for(var i=0;i<this.length;i++ ){this[i][name]=n;};return this;},getProperty:function(name){if(this[0]){return this[0][name];};return null;},setProperties:function(o){for(var name in o){this.setProperty(name,o[name]);};return this;},removeProperties:function(p){for(var i=0;i<p.length;i++ ){this.removeProperty(p[i]);};return this;},getProperties:function(q){var r={};for(var i=0;i<q.length;i++ ){r[q[i]]=this.getProperty(q[i]);};return r;},removeProperty:function(name){if(this[0]){this[0][name]=undefined;};return this;},getValue:function(){if(this[0]&&this[0].nodeType===1){return qx.bom.Input.getValue(this[0]);};return null;},setValue:function(s){this._forEachElement(function(t){qx.bom.Input.setValue(t,s);});return this;}},defer:function(u){qxWeb.$attach({"getHtml":u.getHtml,"setHtml":u.setHtml,"getAttribute":u.getAttribute,"setAttribute":u.setAttribute,"removeAttribute":u.removeAttribute,"getAttributes":u.getAttributes,"setAttributes":u.setAttributes,"removeAttributes":u.removeAttributes,"getProperty":u.getProperty,"setProperty":u.setProperty,"removeProperty":u.removeProperty,"getProperties":u.getProperties,"setProperties":u.setProperties,"removeProperties":u.removeProperties,"getValue":u.getValue,"setValue":u.setValue});}});})();(function(){var a="<fieldset>",b="<select multiple='multiple'>",c="</div>",d="</select>",e="</tr></tbody></table>",f="<col",g="div",h="<table><tbody><tr>",k="string",m=">",n="script",o="<table><tbody></tbody><colgroup>",p="<th",q="</tbody></table>",r="<td",s="</colgroup></table>",t="<opt",u="text/javascript",v="",w="<table>",x="</fieldset>",y="<table><tbody>",z="div<div>",A="<table",B="mshtml",C="engine.name",D="qx.bom.Html",E="<leg",F="tbody",G="<tr",H="</table>",I="undefined",J="></";qx.Bootstrap.define(D,{statics:{__fixNonDirectlyClosableHelper:function(L,K,M){return M.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?L:K+J+M+m;},__convertMap:{opt:[1,b,d],leg:[1,a,x],table:[1,w,H],tr:[2,y,q],td:[3,h,e],col:[2,o,s],def:qx.core.Environment.select(C,{"mshtml":[1,z,c],"default":null})},fixEmptyTags:function(N){return N.replace(/(<(\w+)[^>]*?)\/>/g,this.__fixNonDirectlyClosableHelper);},__convertHtmlString:function(S,T){var V=T.createElement(g);S=qx.bom.Html.fixEmptyTags(S);var P=S.replace(/^\s+/,v).substring(0,5).toLowerCase();var U,O=this.__convertMap;if(!P.indexOf(t)){U=O.opt;}else if(!P.indexOf(E)){U=O.leg;}else if(P.match(/^<(thead|tbody|tfoot|colg|cap)/)){U=O.table;}else if(!P.indexOf(G)){U=O.tr;}else if(!P.indexOf(r)||!P.indexOf(p)){U=O.td;}else if(!P.indexOf(f)){U=O.col;}else {U=O.def;};if(U){V.innerHTML=U[1]+S+U[2];var R=U[0];while(R-- ){V=V.lastChild;};}else {V.innerHTML=S;};if((qx.core.Environment.get(C)==B)){var W=/<tbody/i.test(S);var Q=!P.indexOf(A)&&!W?V.firstChild&&V.firstChild.childNodes:U[1]==w&&!W?V.childNodes:[];for(var j=Q.length-1;j>=0; --j){if(Q[j].tagName.toLowerCase()===F&&!Q[j].childNodes.length){Q[j].parentNode.removeChild(Q[j]);};};if(/^\s/.test(S)){V.insertBefore(T.createTextNode(S.match(/^\s*/)[0]),V.firstChild);};};return qx.lang.Array.fromCollection(V.childNodes);},clean:function(X,bc,ba){bc=bc||document;if(typeof bc.createElement===I){bc=bc.ownerDocument||bc[0]&&bc[0].ownerDocument||document;};if(!ba&&X.length===1&&typeof X[0]===k){var bd=/^<(\w+)\s*\/?>$/.exec(X[0]);if(bd){return [bc.createElement(bd[1])];};};var Y,bb=[];for(var i=0,l=X.length;i<l;i++ ){Y=X[i];if(typeof Y===k){Y=this.__convertHtmlString(Y,bc);};if(Y.nodeType){bb.push(Y);}else if(Y instanceof qx.type.BaseArray||(typeof qxWeb!==I&&Y instanceof qxWeb)){bb.push.apply(bb,Array.prototype.slice.call(Y,0));}else if(Y.toElement){bb.push(Y.toElement());}else {bb.push.apply(bb,Y);};};if(ba){return qx.bom.Html.extractScripts(bb,ba);};return bb;},extractScripts:function(bh,bf){var bi=[],bg;for(var i=0;bh[i];i++ ){bg=bh[i];if(bg.nodeType==1&&bg.tagName.toLowerCase()===n&&(!bg.type||bg.type.toLowerCase()===u)){if(bg.parentNode){bg.parentNode.removeChild(bh[i]);};bi.push(bg);}else {if(bg.nodeType===1){var be=qx.lang.Array.fromCollection(bg.getElementsByTagName(n));bh.splice.apply(bh,[i+1,0].concat(be));};if(bf){bf.appendChild(bg);};};};return bi;}}});})();(function(){var a="text",b="engine.name",c="",d="mshtml",e="number",f="checkbox",g="select-one",h="option",j="value",k="select",m="radio",n="qx.bom.Input",o="textarea";qx.Bootstrap.define(n,{statics:{setValue:function(u,t){var v=u.nodeName.toLowerCase();var q=u.type;var Array=qx.lang.Array;var w=qx.lang.Type;if(typeof t===e){t+=c;};if((q===f||q===m)){if(w.isArray(t)){u.checked=Array.contains(t,u.value);}else {u.checked=u.value==t;};}else if(v===k){var p=w.isArray(t);var x=u.options;var r,s;for(var i=0,l=x.length;i<l;i++ ){r=x[i];s=r.getAttribute(j);if(s==null){s=r.text;};r.selected=p?Array.contains(t,s):t==s;};if(p&&t.length==0){u.selectedIndex=-1;};}else if((q===a||q===o)&&(qx.core.Environment.get(b)==d)){u.$$inValueSet=true;u.value=t;u.$$inValueSet=null;}else {u.value=t;};},getValue:function(F){var D=F.nodeName.toLowerCase();if(D===h){return (F.attributes.value||{}).specified?F.value:F.text;};if(D===k){var y=F.selectedIndex;if(y<0){return null;};var E=[];var H=F.options;var C=F.type==g;var G=qx.bom.Input;var B;for(var i=C?y:0,A=C?y+1:H.length;i<A;i++ ){var z=H[i];if(z.selected){B=G.getValue(z);if(C){return B;};E.push(B);};};return E;}else {return (F.value||c).replace(/\r/g,c);};}}});})();(function(){var a="scrollLeft",b="qx.module.Manipulating",c="ease-in",d="scrollTop";qx.Bootstrap.define(b,{statics:{create:function(e,f){return qxWeb.$init(qx.bom.Html.clean([e],f),qxWeb);},clone:function(h){var g=[];for(var i=0;i<this.length;i++ ){if(this[i]&&this[i].nodeType===1){g[i]=this[i].cloneNode(true);};};if(h===true&&this.copyEventsTo){this.copyEventsTo(g);};return qxWeb(g);},append:function(n){var k=qx.bom.Html.clean([n]);var o=qxWeb.$init(k,qxWeb);this._forEachElement(function(p,q){for(var j=0,m=o.length;j<m;j++ ){if(q==0){qx.dom.Element.insertEnd(o[j],p);}else {qx.dom.Element.insertEnd(o.eq(j).clone(true)[0],p);};};});return this;},appendTo:function(parent){parent=qx.module.Manipulating.__getElementArray(parent);for(var i=0,l=parent.length;i<l;i++ ){this._forEachElement(function(r,j){if(i==0){qx.dom.Element.insertEnd(this[j],parent[i]);}else {qx.dom.Element.insertEnd(this.eq(j).clone(true)[0],parent[i]);};});};return this;},insertBefore:function(s){s=qx.module.Manipulating.__getElementArray(s);for(var i=0,l=s.length;i<l;i++ ){this._forEachElement(function(t,u){if(i==0){qx.dom.Element.insertBefore(t,s[i]);}else {qx.dom.Element.insertBefore(this.eq(u).clone(true)[0],s[i]);};});};return this;},insertAfter:function(v){v=qx.module.Manipulating.__getElementArray(v);for(var i=0,l=v.length;i<l;i++ ){for(var j=this.length-1;j>=0;j-- ){if(!this[j]||this[j].nodeType!==1){continue;};if(i==0){qx.dom.Element.insertAfter(this[j],v[i]);}else {qx.dom.Element.insertAfter(this.eq(j).clone(true)[0],v[i]);};};};return this;},__getElementArray:function(x){if(!qx.lang.Type.isArray(x)){var w=qxWeb(x);x=w.length>0?w:[x];};return x.filter(function(y){return (y&&(y.nodeType===1||y.nodeType===11));});},wrap:function(z){z=qx.module.Manipulating.__getCollectionFromArgument(z);if(z.length==0){return this;};this._forEachElement(function(A){var B=z.eq(0).clone(true);qx.dom.Element.insertAfter(B[0],A);var C=qx.module.Manipulating.__getInnermostElement(B[0]);qx.dom.Element.insertEnd(A,C);});return this;},__getCollectionFromArgument:function(F){var D;if(qx.lang.Type.isArray(F)){D=qxWeb(F);}else {var E=qx.bom.Html.clean([F]);if(E.length>0&&qx.dom.Node.isElement(E[0])){D=qxWeb(E);}else {D=qxWeb(F);};};return D;},__getInnermostElement:function(G){if(G.childNodes.length==0){return G;};for(var i=0,l=G.childNodes.length;i<l;i++ ){if(G.childNodes[i].nodeType===1){return this.__getInnermostElement(G.childNodes[i]);};};return G;},remove:function(){this._forEachElement(function(H){qx.dom.Element.remove(H);});return this;},empty:function(){this._forEachElement(function(I){while(I.firstChild){I.removeChild(I.firstChild);};});return this;},before:function(content){if(!qx.lang.Type.isArray(content)){content=[content];};var J=document.createDocumentFragment();qx.bom.Html.clean(content,document,J);this._forEachElement(function(M,K){var L=qx.lang.Array.cast(J.childNodes,Array);for(var i=0,l=L.length;i<l;i++ ){var N;if(K<this.length-1){N=L[i].cloneNode(true);}else {N=L[i];};M.parentNode.insertBefore(N,M);};},this);return this;},after:function(content){if(!qx.lang.Type.isArray(content)){content=[content];};var O=document.createDocumentFragment();qx.bom.Html.clean(content,document,O);this._forEachElement(function(S,P){var R=qx.lang.Array.cast(O.childNodes,Array);for(var i=R.length-1;i>=0;i-- ){var Q;if(P<this.length-1){Q=R[i].cloneNode(true);}else {Q=R[i];};S.parentNode.insertBefore(Q,S.nextSibling);};},this);return this;},getScrollLeft:function(){var T=this[0];if(!T){return null;};var Node=qx.dom.Node;if(Node.isWindow(T)||Node.isDocument(T)){return qx.bom.Viewport.getScrollLeft();};return T.scrollLeft;},getScrollTop:function(){var U=this[0];if(!U){return null;};var Node=qx.dom.Node;if(Node.isWindow(U)||Node.isDocument(U)){return qx.bom.Viewport.getScrollTop();};return U.scrollTop;},_animationDescription:{scrollLeft:{duration:700,timing:c,keep:100,keyFrames:{'0':{},'100':{scrollLeft:1}}},scrollTop:{duration:700,timing:c,keep:100,keyFrames:{'0':{},'100':{scrollTop:1}}}},__animateScroll:function(W,X,V){var Y=qx.lang.Object.clone(qx.module.Manipulating._animationDescription[W],true);Y.keyFrames[100][W]=X;return this.animate(Y,V);},setScrollLeft:function(bb,bc){var Node=qx.dom.Node;if(bc&&qx.bom.element&&qx.bom.element.AnimationJs){qx.module.Manipulating.__animateScroll.bind(this,a,bb,bc)();};for(var i=0,l=this.length,ba;i<l;i++ ){ba=this[i];if(Node.isElement(ba)){if(!(bc&&qx.bom.element&&qx.bom.element.AnimationJs)){ba.scrollLeft=bb;};}else if(Node.isWindow(ba)){ba.scrollTo(bb,this.getScrollTop(ba));}else if(Node.isDocument(ba)){Node.getWindow(ba).scrollTo(bb,this.getScrollTop(ba));};};return this;},setScrollTop:function(be,bf){var Node=qx.dom.Node;if(bf&&qx.bom.element&&qx.bom.element.AnimationJs){qx.module.Manipulating.__animateScroll.bind(this,d,be,bf)();};for(var i=0,l=this.length,bd;i<l;i++ ){bd=this[i];if(Node.isElement(bd)){if(!(bf&&qx.bom.element&&qx.bom.element.AnimationJs)){bd.scrollTop=be;};}else if(Node.isWindow(bd)){bd.scrollTo(this.getScrollLeft(bd),be);}else if(Node.isDocument(bd)){Node.getWindow(bd).scrollTo(this.getScrollLeft(bd),be);};};return this;},focus:function(){try{this[0].focus();}catch(bg){};return this;},blur:function(){this.forEach(function(bh,bi){try{bh.blur();}catch(bj){};});return this;}},defer:function(bk){qxWeb.$attachStatic({"create":bk.create});qxWeb.$attach({"append":bk.append,"appendTo":bk.appendTo,"remove":bk.remove,"empty":bk.empty,"before":bk.before,"insertBefore":bk.insertBefore,"after":bk.after,"insertAfter":bk.insertAfter,"wrap":bk.wrap,"clone":bk.clone,"getScrollLeft":bk.getScrollLeft,"setScrollLeft":bk.setScrollLeft,"getScrollTop":bk.getScrollTop,"setScrollTop":bk.setScrollTop,"focus":bk.focus,"blur":bk.blur});}});})();(function(){var a="<div class='qx-blocker' />",b="fixed",c="block",d="px",e="undefined",f="qx.module.Blocker",g="browser.version",h=':first',i="absolute",j="browser.name",k="100%",l="ie",m='undefined';qxWeb.define(f,{statics:{__attachBlocker:function(s,p,n,r){var q=qxWeb.getWindow(s);var o=qxWeb.isDocument(s);if(!o&&!qxWeb.isElement(s)){return;};if(!s.__blocker){s.__blocker={div:qxWeb.create(a)};};if(o){s.__blocker.div.insertBefore(qxWeb(q.document.body).getChildren(h));}else {s.__blocker.div.appendTo(q.document.body);};qx.module.Blocker.__styleBlocker(s,p,n,r,o);},__styleBlocker:function(z,v,t,y,u){var w=qxWeb(z);var A={"display":c};A.backgroundColor=typeof v!==m?v:null;A.zIndex=typeof y!==m?y:null;if(qxWeb.env.get(j)===l&&qxWeb.env.get(g)<=8){A.opacity=typeof t!==m?t:0;}else {A.opacity=typeof t!==m?t:null;};if(u){A.top=0+d;A.left=0+d;A.position=b;A.width=k;A.height=k;}else {var x=w.getOffset();A.top=x.top+d;A.left=x.left+d;A.position=i;A.width=w.getWidth()+d;A.height=w.getHeight()+d;};z.__blocker.div.setStyles(A);},__detachBlocker:function(B,C){if(!B.__blocker){return;};B.__blocker.div.remove();},__getBlocker:function(D){var E=qxWeb();D.forEach(function(F,G){if(typeof F.__blocker!==e){E=E.concat(F.__blocker.div);};});return E;},block:function(H,I,J){if(!this[0]){return this;};this.forEach(function(K,L){qx.module.Blocker.__attachBlocker(K,H,I,J);});return this;},unblock:function(){if(!this[0]){return this;};this.forEach(qx.module.Blocker.__detachBlocker);return this;},getBlocker:function(){if(!this[0]){return this;};var M=qx.module.Blocker.__getBlocker(this);return M;}},defer:function(N){qxWeb.$attach({"block":N.block,"unblock":N.unblock,"getBlocker":N.getBlocker});}});})();(function(){var a="only screen and (min-width: 90.063em)",b="xlarge-only",c="only screen and (max-width: 40em)",d="only screen and (min-width: 64.063em) and (max-width: 90em)",e="change",f="xlarge-up",g="only screen",h="only screen and (min-width: 40.063em) and (max-width: 64em)",i="small-up",j="large-only",k="large-up",l="only screen and (min-width: 120.063em)",m="small-only",n="only screen and (min-width: 64.063em)",o="only screen and (min-width: 40.063em)",p="qx.module.MatchMedia",q="xxlarge-up",r="only screen and (min-width: 90.063em) and (max-width: 120em)",s="medium-up",t="medium-only",u="html";qx.Bootstrap.define(p,{statics:{matchMedia:function(v){return new qx.bom.MediaQuery(v);},addSizeClasses:function(){qxWeb(u).mediaQueryToClass(g,i);qxWeb(u).mediaQueryToClass(c,m);qxWeb(u).mediaQueryToClass(o,s);qxWeb(u).mediaQueryToClass(h,t);qxWeb(u).mediaQueryToClass(n,k);qxWeb(u).mediaQueryToClass(d,j);qxWeb(u).mediaQueryToClass(a,f);qxWeb(u).mediaQueryToClass(r,b);qxWeb(u).mediaQueryToClass(l,q);},__applyClass:function(x,w){if(x.isMatching()){this.addClass(w);}else {this.removeClass(w);};},mediaQueryToClass:function(A,y){var B=qx.module.MatchMedia.matchMedia(A);var z=qx.module.MatchMedia.__applyClass.bind(this,B,y);z(B,y);B.on(e,z);return this;}},defer:function(C){qxWeb.$attachStatic({matchMedia:C.matchMedia,addSizeClasses:C.addSizeClasses});qxWeb.$attach({mediaQueryToClass:C.mediaQueryToClass});}});})();(function(){var a='on',b='#mediamatchjs { position: relative; z-index: 0; }',d='px',e='max-',f='resize',g='',j='dpcm',k='mediamatchjs',l='text/css',m='landscape',n="Map",o='dppx',p='@media ',q='orientationchange',r='head',s='style',t='portrait',u="change",v="2.0.1",y='device-aspect-ratio',z=',',A='(',B='em',C='aspect-ratio',D='speech',E='use strict',F='color-index',G='tv',H="qx.bom.MediaQuery",I='tty',J='embossed',K='all',L='not',M=' } }',N='screen',O='device-height',P='handheld',Q='device-pixel-ratio',R='rem',S='print',T='device-width',U='braille',V=' { #mediamatchjs { z-index: ',W=' and ',X='projection',Y='min-';qx.Bootstrap.define(H,{extend:qx.event.Emitter,construct:function(ba){this.__mql=window.matchMedia(ba);this.query=ba;this.matches=this.__mql.matches;this.__init();},events:{"change":n},statics:{version:v},members:{__mql:null,matches:false,query:null,getQuery:function(){return this.query;},isMatching:function(){return this.matches;},__init:function(){this.__mql.addListener(this.__changed.bind(this));},__changed:function(){this.matches=this.__mql.matches;this.emit(u,{matches:this.matches,query:this.query});}},defer:function(){window.matchMedia||(window.matchMedia=function(bf){E;var bh=bf.document,bj=bh.documentElement,bk=[],bl=0,bb=g,bo={},bc=/\s*(only|not)?\s*(screen|print|[a-z\-]+)\s*(and)?\s*/i,bm=/^\s*\(\s*(-[a-z]+-)?(min-|max-)?([a-z\-]+)\s*(:?\s*([0-9]+(\.[0-9]+)?|portrait|landscape)(px|em|dppx|dpcm|rem|%|in|cm|mm|ex|pt|pc|\/([0-9]+(\.[0-9]+)?))?)?\s*\)\s*$/,be=0,bg=function(bB){var bv=(bB.indexOf(z)!==-1&&bB.split(z))||[bB],bI=bv.length-1,bu=bI,bz=null,bD=null,bE=g,bq=0,bC=false,bF=g,bt=g,bG=null,br=0,bs=0,bp=null,by=g,length=g,bH=g,bw=g,bx=g,bA=false;if(bB===g){return true;};bn();do {bz=bv[bu-bI];bC=false;bD=bz.match(bc);if(bD){bE=bD[0];bq=bD.index;};if(!bD||((bz.substring(0,bq).indexOf(A)===-1)&&(bq||(!bD[3]&&bE!==bD.input)))){bA=false;continue;};bt=bz;bC=bD[1]===L;if(!bq){bF=bD[2];bt=bz.substring(bE.length);};bA=bF===bb||bF===K||bF===g;bG=(bt.indexOf(W)!==-1&&bt.split(W))||[bt];br=bG.length-1;bs=br;if(bA&&br>=0&&bt!==g){do {bp=bG[br].match(bm);if(!bp||!bo[bp[3]]){bA=false;break;};by=bp[2];length=bp[5];bw=length;bH=bp[7];bx=bo[bp[3]];if(bH){if(bH===d){bw=Number(length);}else if(bH===B||bH===R){bw=16*length;}else if(bp[8]){bw=(length/bp[8]).toFixed(2);}else if(bH===o){bw=length*96;}else if(bH===j){bw=length*0.3937;}else {bw=Number(length);};};if(by===Y&&bw){bA=bx>=bw;}else if(by===e&&bw){bA=bx<=bw;}else if(bw){bA=bx===bw;}else {bA=!!bx;};if(!bA){break;};}while(br-- );};if(bA){break;};}while(bI-- );return bC?!bA:bA;},bn=function(){var w=bf.innerWidth||bj.clientWidth,h=bf.innerHeight||bj.clientHeight,bK=bf.screen.width,bJ=bf.screen.height,c=bf.screen.colorDepth,x=bf.devicePixelRatio;bo.width=w;bo.height=h;bo[C]=(w/h).toFixed(2);bo[T]=bK;bo[O]=bJ;bo[y]=(bK/bJ).toFixed(2);bo.color=c;bo[F]=Math.pow(2,c);bo.orientation=(h>=w?t:m);bo.resolution=(x&&x*96)||bf.screen.deviceXDPI||96;bo[Q]=x||1;},bd=function(){clearTimeout(be);be=setTimeout(function(){var bO=null,bL=bl-1,bM=bL,bP=false;if(bL>=0){bn();do {bO=bk[bM-bL];if(bO){bP=bg(bO.mql.media);if((bP&&!bO.mql.matches)||(!bP&&bO.mql.matches)){bO.mql.matches=bP;if(bO.listeners){for(var i=0,bN=bO.listeners.length;i<bN;i++ ){if(bO.listeners[i]){bO.listeners[i].call(bf,bO.mql);};};};};};}while(bL-- );};},10);},bi=function(){var bR=bh.getElementsByTagName(r)[0],bV=bh.createElement(s),bQ=null,bT=[N,S,D,X,P,G,U,J,I],bX=0,bY=bT.length,bU=b,bS=g,bW=bf.addEventListener||(bS=a)&&bf.attachEvent;bV.type=l;bV.id=k;bR.appendChild(bV);bQ=(bf.getComputedStyle&&bf.getComputedStyle(bV))||bV.currentStyle;for(;bX<bY;bX++ ){bU+=p+bT[bX]+V+bX+M;};if(bV.styleSheet){bV.styleSheet.cssText=bU;}else {bV.textContent=bU;};bb=bT[(bQ.zIndex*1)||0];bR.removeChild(bV);bn();bW(bS+f,bd);bW(bS+q,bd);};bi();return function(ca){var cb=bl,cc={matches:false,media:ca,addListener:function ce(cd){bk[cb].listeners||(bk[cb].listeners=[]);cd&&bk[cb].listeners.push(cd);},removeListener:function ch(cf){var cg=bk[cb],i=0,ci=0;if(!cg){return;};ci=cg.listeners.length;for(;i<ci;i++ ){if(cg.listeners[i]===cf){cg.listeners.splice(i,1);};};}};if(ca===g){cc.matches=true;return cc;};cc.matches=bg(ca);bl=bk.push({mql:cc,listeners:null});return cc;};}(window));}});})();(function(){var a="start",b="animationEnd",c="",d="none",e="browser.name",f="browser.version",g="qx.module.Animation",h="animationIteration",j="end",k="animationStart",l="ease-in",m="iteration",n="ease-out",o="ie",p="display";qx.Bootstrap.define(g,{events:{"animationStart":undefined,"animationIteration":undefined,"animationEnd":undefined},statics:{getAnimationHandles:function(){var q=[];for(var i=0;i<this.length;i++ ){q[i]=this[i].$$animation;};return q;},_fadeOut:{duration:700,timing:n,keep:100,keyFrames:{'0':{opacity:1},'100':{opacity:0,display:d}}},_fadeIn:{duration:700,timing:l,keep:100,keyFrames:{'0':{opacity:0},'100':{opacity:1}}},animate:function(s,r){qx.module.Animation._animate.bind(this)(s,r,false);return this;},animateReverse:function(u,t){qx.module.Animation._animate.bind(this)(u,t,true);return this;},_animate:function(x,v,w){this._forEachElement(function(y,i){if(y.$$animation){y.$$animation.stop();};var z;if(w){z=qx.bom.element.Animation.animateReverse(y,x,v);}else {z=qx.bom.element.Animation.animate(y,x,v);};var self=this;if(i==0){z.on(a,function(){self.emit(k);},z);z.on(m,function(){self.emit(h);},z);};z.on(j,function(){for(var i=0;i<self.length;i++ ){if(self[i].$$animation){return;};};self.emit(b);},y);});},play:function(){for(var i=0;i<this.length;i++ ){var A=this[i].$$animation;if(A){A.play();};};return this;},pause:function(){for(var i=0;i<this.length;i++ ){var B=this[i].$$animation;if(B){B.pause();};};return this;},stop:function(){for(var i=0;i<this.length;i++ ){var C=this[i].$$animation;if(C){C.stop();};};return this;},isPlaying:function(){for(var i=0;i<this.length;i++ ){var D=this[i].$$animation;if(D&&D.isPlaying()){return true;};};return false;},isEnded:function(){for(var i=0;i<this.length;i++ ){var E=this[i].$$animation;if(E&&!E.isEnded()){return false;};};return true;},fadeIn:function(F){this.setStyle(p,c);return this.animate(qx.module.Animation._fadeIn,F);},fadeOut:function(G){return this.animate(qx.module.Animation._fadeOut,G);}},defer:function(H){qxWeb.$attach({"animate":H.animate,"animateReverse":H.animateReverse,"fadeIn":H.fadeIn,"fadeOut":H.fadeOut,"play":H.play,"pause":H.pause,"stop":H.stop,"isEnded":H.isEnded,"isPlaying":H.isPlaying,"getAnimationHandles":H.getAnimationHandles});if(qxWeb.env.get(e)===o&&qxWeb.env.get(f)<=9){H._fadeIn.keyFrames[100].opacity=0.99;};}});})();(function(){var a="css.animation",b="translate",c="rotate",d="skew",e="scale",f="qx.bom.element.Animation";qx.Bootstrap.define(f,{statics:{animate:function(h,k,g){var j=qx.bom.element.Animation.__hasOnlyCssKeys(h,k.keyFrames);if(qx.core.Environment.get(a)&&j){return qx.bom.element.AnimationCss.animate(h,k,g);}else {return qx.bom.element.AnimationJs.animate(h,k,g);};},animateReverse:function(m,o,l){var n=qx.bom.element.Animation.__hasOnlyCssKeys(m,o.keyFrames);if(qx.core.Environment.get(a)&&n){return qx.bom.element.AnimationCss.animateReverse(m,o,l);}else {return qx.bom.element.AnimationJs.animateReverse(m,o,l);};},__hasOnlyCssKeys:function(p,t){var r=[];for(var v in t){var s=t[v];for(var u in s){if(r.indexOf(u)==-1){r.push(u);};};};var q=[e,c,d,b];for(var i=0;i<r.length;i++ ){var u=qx.lang.String.camelCase(r[i]);if(!(u in p.style)){if(q.indexOf(r[i])!=-1){continue;};if(qx.bom.Style.getPropertyName(u)){continue;};return false;};};return true;}}});})();(function(){var a="fill-mode",b="repeat",c="timing",d="start",f="end",g="Anni",h="alternate",i="keep",j=":",k="} ",l="name",m="iteration-event",n="",o="origin",p="forwards",q="start-event",r="iteration",s="end-event",t="css.animation",u="ms ",v="% {",w=" ",x="linear",y=";",z="qx.bom.element.AnimationCss",A="keyframes";qx.Bootstrap.define(z,{statics:{__sheet:null,__rulePrefix:g,__id:0,__rules:{},__transitionKeys:{"scale":true,"rotate":true,"skew":true,"translate":true},__cssAnimationKeys:qx.core.Environment.get(t),animateReverse:function(C,D,B){return this._animate(C,D,B,true);},animate:function(F,G,E){return this._animate(F,G,E,false);},_animate:function(H,O,N,J){this.__normalizeDesc(O);{};var L=O.keep;if(L!=null&&(J||(O.alternate&&O.repeat%2==0))){L=100-L;};if(!this.__sheet){this.__sheet=qx.bom.Stylesheet.createElement();};var K=O.keyFrames;if(N==undefined){N=O.duration;};if(this.__cssAnimationKeys!=null){var name=this.__addKeyFrames(K,J);var I=name+w+N+u+O.timing+w+(O.delay?O.delay+u:n)+O.repeat+w+(O.alternate?h:n);qx.bom.Event.addNativeListener(H,this.__cssAnimationKeys[q],this.__onAnimationStart);qx.bom.Event.addNativeListener(H,this.__cssAnimationKeys[m],this.__onAnimationIteration);qx.bom.Event.addNativeListener(H,this.__cssAnimationKeys[s],this.__onAnimationEnd);{};H.style[qx.lang.String.camelCase(this.__cssAnimationKeys[l])]=I;if(L&&L==100&&this.__cssAnimationKeys[a]){H.style[this.__cssAnimationKeys[a]]=p;};};var M=new qx.bom.element.AnimationHandle();M.desc=O;M.el=H;M.keep=L;H.$$animation=M;if(O.origin!=null){qx.bom.element.Transform.setOrigin(H,O.origin);};if(this.__cssAnimationKeys==null){window.setTimeout(function(){qx.bom.element.AnimationCss.__onAnimationEnd({target:H});},0);};return M;},__onAnimationStart:function(e){e.target.$$animation.emit(d,e.target);},__onAnimationIteration:function(e){if(e.target!=null&&e.target.$$animation!=null){e.target.$$animation.emit(r,e.target);};},__onAnimationEnd:function(e){var P=e.target;var Q=P.$$animation;if(!Q){return;};var S=Q.desc;if(qx.bom.element.AnimationCss.__cssAnimationKeys!=null){var R=qx.lang.String.camelCase(qx.bom.element.AnimationCss.__cssAnimationKeys[l]);P.style[R]=n;qx.bom.Event.removeNativeListener(P,qx.bom.element.AnimationCss.__cssAnimationKeys[l],qx.bom.element.AnimationCss.__onAnimationEnd);};if(S.origin!=null){qx.bom.element.Transform.setOrigin(P,n);};qx.bom.element.AnimationCss.__keepFrame(P,S.keyFrames[Q.keep]);P.$$animation=null;Q.el=null;Q.ended=true;Q.emit(f,P);},__keepFrame:function(T,U){var W;for(var V in U){if(V in qx.bom.element.AnimationCss.__transitionKeys){if(!W){W={};};W[V]=U[V];}else {T.style[qx.lang.String.camelCase(V)]=U[V];};};if(W){qx.bom.element.Transform.transform(T,W);};},__normalizeDesc:function(X){if(!X.hasOwnProperty(h)){X.alternate=false;};if(!X.hasOwnProperty(i)){X.keep=null;};if(!X.hasOwnProperty(b)){X.repeat=1;};if(!X.hasOwnProperty(c)){X.timing=x;};if(!X.hasOwnProperty(o)){X.origin=null;};},__addKeyFrames:function(frames,ba){var bd=n;for(var bh in frames){bd+=(ba?-(bh-100):bh)+v;var bc=frames[bh];var bf;for(var Y in bc){if(Y in this.__transitionKeys){if(!bf){bf={};};bf[Y]=bc[Y];}else {var bg=qx.bom.Style.getPropertyName(Y);var bb=(bg!==null)?qx.bom.Style.getCssName(bg):n;bd+=(bb||Y)+j+bc[Y]+y;};};if(bf){bd+=qx.bom.element.Transform.getCss(bf);};bd+=k;};if(this.__rules[bd]){return this.__rules[bd];};var name=this.__rulePrefix+this.__id++ ;var be=this.__cssAnimationKeys[A]+w+name;qx.bom.Stylesheet.addRule(this.__sheet,be,bd);this.__rules[bd]=name;return name;}}});})();(function(){var a="css.animation",b="Element",c="",d="qx.bom.element.AnimationHandle",e="play-state",f="paused",g="running";qx.Bootstrap.define(d,{extend:qx.event.Emitter,construct:function(){var h=qx.core.Environment.get(a);this.__playState=h&&h[e];this.__playing=true;},events:{"start":b,"end":b,"iteration":b},members:{__playState:null,__playing:false,__ended:false,isPlaying:function(){return this.__playing;},isEnded:function(){return this.__ended;},isPaused:function(){return this.el.style[this.__playState]==f;},pause:function(){if(this.el){this.el.style[this.__playState]=f;this.el.$$animation.__playing=false;if(this.animationId&&qx.bom.element.AnimationJs){qx.bom.element.AnimationJs.pause(this);};};},play:function(){if(this.el){this.el.style[this.__playState]=g;this.el.$$animation.__playing=true;if(this.i!=undefined&&qx.bom.element.AnimationJs){qx.bom.element.AnimationJs.play(this);};};},stop:function(){if(this.el&&qx.core.Environment.get(a)&&!this.jsAnimation){this.el.style[this.__playState]=c;this.el.style[qx.core.Environment.get(a).name]=c;this.el.$$animation.__playing=false;this.el.$$animation.__ended=true;}else if(this.jsAnimation){this.stopped=true;qx.bom.element.AnimationJs.stop(this);};}}});})();(function(){var c="cm",d="mm",e="0",f="pt",g="pc",h="",k="%",l="em",m="qx.bom.element.AnimationJs",n="infinite",o="#",p="in",q="px",r="start",s="end",t="ex",u=";",v="undefined",w="iteration",y="string",z=":";qx.Bootstrap.define(m,{statics:{__maxStepTime:30,__units:[k,p,c,d,l,t,f,g,q],__transitionKeys:{"scale":true,"rotate":true,"skew":true,"translate":true},animate:function(B,C,A){return this._animate(B,C,A,false);},animateReverse:function(E,F,D){return this._animate(E,F,D,true);},_animate:function(G,Q,P,I){if(G.$$animation){return G.$$animation;};Q=qx.lang.Object.clone(Q,true);if(P==undefined){P=Q.duration;};var L=Q.keyFrames;var J=this.__getOrderedKeys(L);var K=this.__getStepTime(P,J);var N=parseInt(P/K,10);this.__normalizeKeyFrames(L,G);var O=this.__calculateDelta(N,K,J,L,P,Q.timing);var H=new qx.bom.element.AnimationHandle();H.jsAnimation=true;if(I){O.reverse();H.reverse=true;};H.desc=Q;H.el=G;H.delta=O;H.stepTime=K;H.steps=N;G.$$animation=H;H.i=0;H.initValues={};H.repeatSteps=this.__applyRepeat(N,Q.repeat);var M=Q.delay||0;var self=this;H.delayId=window.setTimeout(function(){H.delayId=null;self.play(H);},M);return H;},__normalizeKeyFrames:function(V,R){var Y={};for(var U in V){for(var name in V[U]){var S=qx.bom.Style.getPropertyName(name);if(S&&S!=name){var X=qx.bom.Style.getCssName(S);V[U][X]=V[U][name];delete V[U][name];name=X;};if(Y[name]==undefined){var W=V[U][name];if(typeof W==y){Y[name]=this.__getUnit(W);}else {Y[name]=h;};};};};for(var U in V){var T=V[U];for(var name in Y){if(T[name]==undefined){if(name in R.style){if(window.getComputedStyle){T[name]=getComputedStyle(R,null)[name];}else {T[name]=R.style[name];};}else {T[name]=R[name];};if(T[name]===h&&this.__units.indexOf(Y[name])!=-1){T[name]=e+Y[name];};};};};},__normalizeKeyFrameTransforms:function(bb){bb=qx.lang.Object.clone(bb);var bc;for(var name in bb){if(name in this.__transitionKeys){if(!bc){bc={};};bc[name]=bb[name];delete bb[name];};};if(bc){var ba=qx.bom.element.Transform.getCss(bc).split(z);if(ba.length>1){bb[ba[0]]=ba[1].replace(u,h);};};return bb;},__calculateDelta:function(bw,bh,bo,bi,be,bq){var bp=new Array(bw);var bm=1;bp[0]=this.__normalizeKeyFrameTransforms(bi[0]);var bt=bi[0];var bj=bi[bo[bm]];var bf=Math.floor(bo[bm]/(bh/be*100));var bs=1;for(var i=1;i<bp.length;i++ ){if(i*bh/be*100>bo[bm]){bt=bj;bm++ ;bj=bi[bo[bm]];bf=Math.floor(bo[bm]/(bh/be*100))-bf;bs=1;};bp[i]={};var bd;for(var name in bj){var br=bj[name]+h;if(name in this.__transitionKeys){if(!bd){bd={};};if(qx.Bootstrap.isArray(bt[name])){if(!qx.Bootstrap.isArray(bj[name])){bj[name]=[bj[name]];};bd[name]=[];for(var j=0;j<bj[name].length;j++ ){var bu=bj[name][j]+h;var x=bs/bf;bd[name][j]=this.__getNextValue(bu,bt[name],bq,x);};}else {var x=bs/bf;bd[name]=this.__getNextValue(br,bt[name],bq,x);};}else if(br.charAt(0)==o){var bl=qx.util.ColorUtil.cssStringToRgb(bt[name]);var bk=qx.util.ColorUtil.cssStringToRgb(br);var bg=[];for(var j=0;j<bl.length;j++ ){var bv=bl[j]-bk[j];var x=bs/bf;var bn=qx.bom.AnimationFrame.calculateTiming(bq,x);bg[j]=parseInt(bl[j]-bv*bn,10);};bp[i][name]=qx.util.ColorUtil.rgbToHexString(bg);}else if(!isNaN(parseFloat(br))){var x=bs/bf;bp[i][name]=this.__getNextValue(br,bt[name],bq,x);}else {bp[i][name]=bt[name]+h;};};if(bd){var bx=qx.bom.element.Transform.getCss(bd).split(z);if(bx.length>1){bp[i][bx[0]]=bx[1].replace(u,h);};};bs++ ;};bp[bp.length-1]=this.__normalizeKeyFrameTransforms(bi[100]);return bp;},__getUnit:function(by){return by.substring((parseFloat(by)+h).length,by.length);},__getNextValue:function(bC,bB,bz,x){var bA=parseFloat(bC)-parseFloat(bB);return (parseFloat(bB)+bA*qx.bom.AnimationFrame.calculateTiming(bz,x))+this.__getUnit(bC);},play:function(bD){bD.emit(r,bD.el);var bE=window.setInterval(function(){bD.repeatSteps-- ;var bF=bD.delta[bD.i%bD.steps];if(bD.i===0){for(var name in bF){if(bD.initValues[name]===undefined){if(bD.el[name]!==undefined){bD.initValues[name]=bD.el[name];}else if(qx.bom.element.Style){bD.initValues[name]=qx.bom.element.Style.get(bD.el,qx.lang.String.camelCase(name));}else {bD.initValues[name]=bD.el.style[qx.lang.String.camelCase(name)];};};};};qx.bom.element.AnimationJs.__applyStyles(bD.el,bF);bD.i++ ;if(bD.i%bD.steps==0){bD.emit(w,bD.el);if(bD.desc.alternate){bD.delta.reverse();};};if(bD.repeatSteps<0){qx.bom.element.AnimationJs.stop(bD);};},bD.stepTime);bD.animationId=bE;return bD;},pause:function(bG){window.clearInterval(bG.animationId);bG.animationId=null;return bG;},stop:function(bK){var bJ=bK.desc;var bH=bK.el;var bI=bK.initValues;if(bK.animationId){window.clearInterval(bK.animationId);};if(bK.delayId){window.clearTimeout(bK.delayId);};if(bH==undefined){return bK;};var bL=bJ.keep;if(bL!=undefined&&!bK.stopped){if(bK.reverse||(bJ.alternate&&bJ.repeat&&bJ.repeat%2==0)){bL=100-bL;};this.__applyStyles(bH,bJ.keyFrames[bL]);}else {this.__applyStyles(bH,bI);};bH.$$animation=null;bK.el=null;bK.ended=true;bK.animationId=null;bK.emit(s,bH);return bK;},__applyRepeat:function(bN,bM){if(bM==undefined){return bN;};if(bM==n){return Number.MAX_VALUE;};return bN*bM;},__applyStyles:function(bP,bO){for(var bQ in bO){if(bO[bQ]===undefined){continue;};if(typeof bP.style[bQ]===v&&bQ in bP){bP[bQ]=bO[bQ];continue;};var name=qx.bom.Style.getPropertyName(bQ)||bQ;if(qx.bom.element.Style){qx.bom.element.Style.set(bP,name,bO[bQ]);}else {bP.style[name]=bO[bQ];};};},__getStepTime:function(bT,bR){var bU=100;for(var i=0;i<bR.length-1;i++ ){bU=Math.min(bU,bR[i+1]-bR[i]);};var bS=bT*bU/100;while(bS>this.__maxStepTime){bS=bS/2;};return Math.round(bS);},__getOrderedKeys:function(bW){var bV=Object.keys(bW);for(var i=0;i<bV.length;i++ ){bV[i]=parseInt(bV[i],10);};bV.sort(function(a,b){return a-b;});return bV;}}});})();(function(){var a="Could not convert system colors to RGB: ",b="Could not parse color: ",c="#",d="qx.util.ColorUtil";qx.Bootstrap.define(d,{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*\)$/,rgba:/^rgba\(\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*,\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(e){return this.NAMED[e]!==undefined;},isSystemColor:function(f){return this.SYSTEM[f]!==undefined;},cssStringToRgb:function(g){if(this.isNamedColor(g)){return this.NAMED[g];}else if(this.isSystemColor(g)){throw new Error(a+g);}else if(this.isRgbString(g)){return this.__rgbStringToRgb();}else if(this.isRgbaString(g)){return this.__rgbaStringToRgb();}else if(this.isHex3String(g)){return this.__hex3StringToRgb();}else if(this.isHex6String(g)){return this.__hex6StringToRgb();};throw new Error(b+g);},rgbToHexString:function(h){return (c+qx.lang.String.pad(h[0].toString(16).toUpperCase(),2)+qx.lang.String.pad(h[1].toString(16).toUpperCase(),2)+qx.lang.String.pad(h[2].toString(16).toUpperCase(),2));},isHex3String:function(i){return this.REGEXP.hex3.test(i);},isHex6String:function(j){return this.REGEXP.hex6.test(j);},isRgbString:function(k){return this.REGEXP.rgb.test(k);},isRgbaString:function(l){return this.REGEXP.rgba.test(l);},__rgbStringToRgb:function(){var o=parseInt(RegExp.$1,10);var n=parseInt(RegExp.$2,10);var m=parseInt(RegExp.$3,10);return [o,n,m];},__rgbaStringToRgb:function(){var s=parseInt(RegExp.$1,10);var r=parseInt(RegExp.$2,10);var p=parseInt(RegExp.$3,10);var q=parseInt(RegExp.$4,10);if(s===0&&r===0&p===0&&q===0){return [-1,-1,-1];};return [s,r,p];},__hex3StringToRgb:function(){var v=parseInt(RegExp.$1,16)*17;var u=parseInt(RegExp.$2,16)*17;var t=parseInt(RegExp.$3,16)*17;return [v,u,t];},__hex6StringToRgb:function(){var y=(parseInt(RegExp.$1,16)*16)+parseInt(RegExp.$2,16);var x=(parseInt(RegExp.$3,16)*16)+parseInt(RegExp.$4,16);var w=(parseInt(RegExp.$5,16)*16)+parseInt(RegExp.$6,16);return [y,x,w];}}});})();(function(){var a="align-start",b="align-end",c="qx.util.placement.AbstractAxis",d="edge-start",e="align-center",f="abstract method call!",g="edge-end";qx.Bootstrap.define(c,{extend:Object,statics:{computeStart:function(j,k,l,h,i){throw new Error(f);},_moveToEdgeAndAlign:function(n,o,p,m){switch(m){case d:return o.start-p.end-n;case g:return o.end+p.start;case a:return o.start+p.start;case e:return o.start+parseInt((o.end-o.start-n)/2,10)+p.start;case b:return o.end-p.end-n;};},_isInRange:function(r,s,q){return r>=0&&r+s<=q;}}});})();(function(){var a="qx.util.placement.DirectAxis";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(d,e,f,b,c){return this._moveToEdgeAndAlign(d,e,f,c);}}});})();(function(){var a="qx.util.placement.KeepAlignAxis",b="edge-start",c="edge-end";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,_isInRange:qx.util.placement.AbstractAxis._isInRange,computeStart:function(k,f,g,d,j){var i=this._moveToEdgeAndAlign(k,f,g,j);var e,h;if(this._isInRange(i,k,d)){return i;};if(j==b||j==c){e=f.start-g.end;h=f.end+g.start;}else {e=f.end-g.end;h=f.start+g.start;};if(e>d-h){i=Math.max(0,e-k);}else {i=h;};return i;}}});})();(function(){var a="qx.util.placement.BestFitAxis";qx.Bootstrap.define(a,{statics:{_isInRange:qx.util.placement.AbstractAxis._isInRange,_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(g,c,d,b,f){var e=this._moveToEdgeAndAlign(g,c,d,f);if(this._isInRange(e,g,b)){return e;};if(e<0){e=Math.min(0,b-g);};if(e+g>b){e=Math.max(0,b-g);};return e;}}});})();(function(){var a="-",b="best-fit",c="px",d="align-end",e="bottom",f="static",g="border-left-width",h="keep-align",i="center",j="direct",k="relative",l="middle",m="align-start",n="qx.module.Placement",o="border-top-width",p="edge-start",q="top",r="right",s="edge-end",t="block",u="position",v="align-center",w="hidden",x="left",y="absolute";qxWeb.define(n,{statics:{placeTo:function(P,U,I,J,K){if(!this[0]||!P){return this;};P=qxWeb(P);var A=this.isRendered();var z=null;var O=null;if(!A){z=this[0].style.display;O=this[0].style.visibility;this.setStyles({position:y,visibility:w,display:t});};var F={x:qx.module.Placement._getAxis(J),y:qx.module.Placement._getAxis(K)};var D={width:this.getWidth(),height:this.getHeight()};var parent=this.getParents();var E={width:parent.getWidth(),height:parent.getHeight()};I=I||{top:0,right:0,bottom:0,left:0};var H=U.split(a);var R=H[0];var Q=H[1];var T={x:qx.module.Placement._getPositionX(R,Q),y:qx.module.Placement._getPositionY(R,Q)};var M;var C=parent.getStyle(u);if(C==k||C==f){M=P.getOffset();}else {var S=P.getPosition();M={top:S.top,bottom:S.top+P.getHeight(),left:S.left,right:S.left+P.getWidth()};};var G=qx.module.Placement._computePlacement(F,D,E,M,I,T);while(parent.length>0){if(parent.getStyle(u)==k){var L=parent.getOffset();var N=parseInt(parent.getStyle(o))||0;var B=parseInt(parent.getStyle(g))||0;G.left-=(L.left+B);G.top-=(L.top+N);parent=[];}else {parent=parent.getParents();};};if(!A){this[0].style.display=z;this[0].style.visibility=O;};this.setStyles({position:y,left:G.left+c,top:G.top+c});return this;},_getAxis:function(V){switch(V){case h:return qx.util.placement.KeepAlignAxis;case b:return qx.util.placement.BestFitAxis;case j:default:return qx.util.placement.DirectAxis;};},_computePlacement:function(Y,bc,ba,W,X,bb){var bd=Y.x.computeStart(bc.width,{start:W.left,end:W.right},{start:X.left,end:X.right},ba.width,bb.x);var top=Y.y.computeStart(bc.height,{start:W.top,end:W.bottom},{start:X.top,end:X.bottom},ba.height,bb.y);return {left:bd,top:top};},_getPositionX:function(bf,be){if(bf==x){return p;}else if(bf==r){return s;}else if(be==x){return m;}else if(be==i){return v;}else if(be==r){return d;};},_getPositionY:function(bh,bg){if(bh==q){return p;}else if(bh==e){return s;}else if(bg==q){return m;}else if(bg==l){return v;}else if(bg==e){return d;};}},defer:function(bi){qxWeb.$attach({"placeTo":bi.placeTo});}});})();(function(){var a="qx.module.util.Array";qx.Bootstrap.define(a,{statics:{cast:qx.lang.Array.cast,equals:qx.lang.Array.equals,exclude:qx.lang.Array.exclude,fromArguments:qx.lang.Array.fromArguments,insertAfter:qx.lang.Array.insertAfter,insertBefore:qx.lang.Array.insertBefore,max:qx.lang.Array.max,min:qx.lang.Array.min,remove:qx.lang.Array.remove,removeAll:qx.lang.Array.removeAll,unique:qx.lang.Array.unique,range:qx.lang.Array.range},defer:function(b){qxWeb.$attachStatic({array:{cast:b.cast,equals:b.equals,exclude:b.exclude,fromArguments:b.fromArguments,insertAfter:b.insertAfter,insertBefore:b.insertBefore,max:b.max,min:b.min,remove:b.remove,removeAll:b.removeAll,unique:b.unique,range:b.range}});}});})();(function(){var a="text",b="<label>",c="font-size",d="px",e="css.placeholder",f="font-variant",g="inline",h="css.pointerevents",j="auto",k="cursor",l="font-family",m="padding-right",n="text-align",o="placeholder",p="padding-left",q="font-weight",r="#989898",s="$qx_placeholder",t="",u="INPUT",v="TEXTAREA",w="keyup",x="display",y="padding-top",z="none",A="z-index",B="qx.module.Placeholder",C="tagName",D="hidden",E="padding-bottom",F="tap",G="absolute",H="font-style",I="input[placeholder], textarea[placeholder]";qx.Bootstrap.define(B,{statics:{PLACEHOLDER_NAME:s,update:function(){if(!qxWeb.env.get(e)){qxWeb(I).updatePlaceholder();};},updatePlaceholder:function(){if(!qxWeb.env.get(e)){for(var i=0;i<this.length;i++ ){var L=qxWeb(this[i]);var O=L.getAttribute(o);var N=L.getProperty(C);if(!O||(N!=v&&N!=u)){continue;};var J=L.getProperty(qx.module.Placeholder.PLACEHOLDER_NAME);if(!J){J=qx.module.Placeholder.__createPlaceholderElement(L);};var K=L.isRendered();var M=J.isRendered();if(K&&!M){L.before(J);}else if(!K&&M){J.remove();return this;};qx.module.Placeholder.__syncStyles(L);};};return this;},__syncStyles:function(T){var U=T.getAttribute(o);var Q=T.getProperty(qx.module.Placeholder.PLACEHOLDER_NAME);var S=T.getStyle(A);var P=parseInt(T.getStyle(p))+2*parseInt(T.getStyle(m));var R=parseInt(T.getStyle(y))+2*parseInt(T.getStyle(E));Q.setHtml(U).setStyles({display:T.getValue()==t?g:z,zIndex:S==j?1:S+1,textAlign:T.getStyle(n),width:(T.getWidth()-P-4)+d,height:(T.getHeight()-R-4)+d,left:T.getPosition().left+d,top:T.getPosition().top+d,fontFamily:T.getStyle(l),fontStyle:T.getStyle(H),fontVariant:T.getStyle(f),fontWeight:T.getStyle(q),fontSize:T.getStyle(c),paddingTop:(parseInt(T.getStyle(y))+2)+d,paddingRight:(parseInt(T.getStyle(m))+2)+d,paddingBottom:(parseInt(T.getStyle(E))+2)+d,paddingLeft:(parseInt(T.getStyle(p))+2)+d});},__createPlaceholderElement:function(V){var W=qxWeb.create(b).setStyles({position:G,color:r,overflow:D,pointerEvents:z});V.setProperty(qx.module.Placeholder.PLACEHOLDER_NAME,W);V.on(w,function(X){var Y=X.getProperty(qx.module.Placeholder.PLACEHOLDER_NAME);Y.setStyle(x,X.getValue()==t?g:z);}.bind(this,V));if(!qxWeb.env.get(h)){W.setStyle(k,a).on(F,function(ba){ba.focus();}.bind(this,V));};return W;}},defer:function(bb){qxWeb.$attachStatic({"placeholder":{update:bb.update}});qxWeb.$attach({"updatePlaceholder":bb.updatePlaceholder});}});})();(function(){var a="qx.module.dev.FakeServer";qx.Bootstrap.define(a,{statics:{configure:function(b){qx.dev.FakeServer.getInstance().configure(b);},removeResponse:function(d,c){qx.dev.FakeServer.getInstance().removeResponse(d,c);},addFilter:function(e){qx.dev.FakeServer.getInstance().addFilter(e);},removeFilter:function(f){qx.dev.FakeServer.getInstance().removeFilter(f);},respondWith:function(i,h,g){qx.dev.FakeServer.getInstance().respondWith(i,h,g);},getFakeServer:function(){return qx.dev.FakeServer.getInstance().getFakeServer();},restore:function(){qx.dev.FakeServer.getInstance().restore();}},defer:function(j){qxWeb.$attachStatic({"dev":{"fakeServer":{"configure":j.configure,"removeResponse":j.removeResponse,"addFilter":j.addFilter,"removeFilter":j.removeFilter,"respondWith":j.respondWith,"getFakeServer":j.getFakeServer,"restore":j.restore}}});}});})();(function(){var a=" is a singleton! It is not possible to instantiate it directly.",b="qx.dev.FakeServer",c=".*?",d="Use the static getInstance() method instead.";qx.Bootstrap.define(b,{extend:Object,construct:function(){var f=qx.dev.FakeServer;if(!f.$$allowconstruct){var e=f+a+d;throw new Error(e);};this.getFakeServer();this.__responses=[];},statics:{$$instance:null,$$allowconstruct:false,getInstance:function(){if(!this.$$instance){this.$$allowconstruct=true;this.$$instance=new this();delete this.$$allowconstruct;};return this.$$instance;}},members:{__sinon:null,__fakeServer:null,__responses:null,__filter:null,configure:function(h){h.forEach(function(n){var o=n.url instanceof RegExp?n.url:this._getRegExp(n.url);var m=[n.method,o];var k=false;for(var i=0,l=this.__responses.length;i<l;i++ ){var j=this.__responses[i];k=(j[0]==m[0]&&j[1]==m[1]);};if(!k){this.__responses.push(m);};this.respondWith(n.method,o,n.response);}.bind(this));var g=this.__filter=this.__getCombinedFilter();this.addFilter(g);},addFilter:function(p){{};this.__sinon.FakeXMLHttpRequest.addFilter(p);},removeFilter:function(q){qx.lang.Array.remove(this.__sinon.FakeXMLHttpRequest.filters,q);},removeResponse:function(t,r){qx.lang.Array.remove(this.__sinon.FakeXMLHttpRequest.filters,this.__filter);var s=r instanceof RegExp?r:this._getRegExp(r);this.__responses=this.__responses.filter(function(u){return (u[0]!=t||u[1].toString()!=s.toString());});this.__fakeServer.responses=this.__fakeServer.responses.filter(function(v){return (v.method!=t||v.url.toString()!=s.toString());});this.removeFilter(this.__filter);this.__filter=this.__getCombinedFilter();this.addFilter(this.__filter);},respondWith:function(y,x,w){this.getFakeServer().respondWith(y,x,w);},getFakeServer:function(){if(!this.__fakeServer){var z=this.__sinon=qx.dev.unit.Sinon.getSinon();z.FakeXMLHttpRequest.useFilters=true;this.__fakeServer=z.sandbox.useFakeServer();this.__fakeServer.autoRespond=true;};return this.__fakeServer;},restore:function(){this.__responses=[];this.removeFilter(this.__filter);this.__filter=null;this.__fakeServer.restore();this.__fakeServer=null;},_getRegExp:function(A){A=A.replace(/\{[^\/]*?\}/g,c);return new RegExp(A);},__getCombinedFilter:function(){var B=this.__responses;return function(I,D,F,C,H){for(var i=0,l=B.length;i<l;i++ ){var E=B[i][0];var G=B[i][1];if(I==E&&G.test(D)){return false;};};return true;};}},destruct:function(){this.restore();this.__fakeServer=this.__sinon=null;}});})();(function(){var c="html:",d="./sinon/mock",g="expected %n to always be called with match %*%C",n="truthy",q='withCredentials',r="loadstart",s="at most ",t="\r\n",u="%",v="clearInterval",w="Not Acceptable",x='create',y="Expectation met: ",z="stub#",A="INVALID_STATE_ERR - ",B="./sinon/sandbox",C="match",D="notCalled",E="stubbed",G="inherit",H='\n--------------\n',I="Requested Range Not Satisfiable",J="Date",K="expectedArguments",L='Async',M=" property ",N="expected %n to always be called with %1 as this but was called with %t",O="falsy",P="clock",Q="calledOnce",R="', but no object with such a property was passed.",S="Payment Required",T='$2',U="calledWithMatch",V="expected %n to be called thrice but was called %c%C",W="[object Date]",X="{\n ",Y=" cannot yield since it was not yet invoked.",ba=":",bb="(",bc="sinon.testCase needs an object with test functions",bd="called",be="readystatechange",bf="Callback must be provided to timer calls",bg="loadend",bh="[object Window]",bi="object is null",bj="overrideMimeType",bk="hasOwn",bl="calledWith",bm="Matcher was not a string, a number, a ",bn=",\n ",bo="error",bp="=\"",bq="Precondition Failed",br="progress",bs="./util/fake_timers",bt="Use Proxy",bu="any",bv="tick only understands numbers and 'h:m:s'",bw="_",bx="Forbidden",by="contenteditable",bz="./sinon/test",bA="Request Timeout",bB="Found",bC="expected %n to never be called with match %*%C",bD="expected %n to always be called with exact arguments %*%C",bE="Fake XHR onreadystatechange handler",bF=" which is already wrapped",bG="called in order but were called as ",bH="Method Not Allowed",bI=" received no arguments, expected ",bJ=", [...",bK=" and at most ",bL=']',bM=" Received [",bN="function, a boolean or an object",bO="Temporary Redirect",bP="Not Found",bQ="expected %n to be called with new",bR=" already called ",bS=";",bT="alwaysCalledWithExactly",bU=" ",bV="Content-Type",bW='withArgs',bX="undefined",bY=" cannot call arg since it was not yet invoked.",ca=" as thisValue, expected ",cb="thrice",cc="notCalledWithMatch",cd="yieldOn",ce="../sinon",cf="array",cg="Expectation Failed",ch="responseXML",ci="Gone",cj=" is not stubbed",ck="Bad Request",cl="Unauthorized",cm="open",cn="send",co=" times",cp="expected %n to be called twice but was called %c%C",cq=", expected ",cr="The constructor should be a function.",cs="{ ",ct="toString",cu="number",cv="Request Entity Too Large",cw="expected %n to be called with match %*%C",cx="INVALID_STATE_ERR",cy="[",cz="Attempted to wrap ",cA="samsam",cB="./sinon/behavior",cC="alwaysCalledOn",cD="ExpectationError",cE="Matcher expected",cF="Unsupported Media Type",cG="yield",cH="p = (function proxy(",cI="Method wrapper should be function",cJ="argument context is not an object",cK='object',cL="once",cM="Expected type of ",cN='"',cO="null",cP="' is not number",cQ="(\"",cR=", which is not a string.",cS="stub",cT="[, ...",cU=";charset=utf-8",cV="expected %n to always be called with new",cW="Multi-Status",cX="AssertError",cY='$1',da="MSXML2.XMLHTTP.3.0",db="mock",dc="util",dd="setTimeout",de="verify",df="addEventListener",dg="function",dh="\n\n",di=")",dj="Should wrap property of object",dk="Invalid time ",dl="expected value to match",dm="text/plain;charset=utf-8",dn="Moved Permanently",dp="Multiple Choice",dq=" received too many arguments (",dr="%n did not throw exception%C",ds="assert",dt="Continue",du="Unexpected call: ",dv="server",dw="' since no callback was passed.",dx="yieldTo",dy="callArgWith",dz=", didn't match ",dA="export",dB="Not Modified",dC=" expected = ",dD="'",dE='Stack Trace for original',dF=" threw exception: ",dG="called ",dH="Unprocessable Entity",dI="expected ",dJ=" is not a function",dK="threw",dL=" actual = ",dM="method is falsy",dN="Expected ",dO="Switching Protocols",dP="clearTimeout",dQ="a,b,c,d,e,f,g,h,i,j,k,l",dR=".and(",dS="boolean",dT="[object Array]",dU="restore",dV="formatio",dW="Proxy Authentication Required",dX="expected %n to be called with %1 as this but was called with %t",dY="neverCalledWith",ea="alwaysReturned",eb="calledWithExactly",ec="div",ed=" but was called %c%C",ee="), expected ",ef=", ",eg="type",eh="<",ei="setInterval",ej='number',ek="-0",el="same(",em="\n",en=") { return p.invoke(func, this, slice.call(arguments)); });",eo="./sinon/test_case",ep="OK",eq=" received too few arguments (",er="expected %n to be called once but was called %c%C",es="fake is not a spy",et="expectedThis",eu="twice",ev="sinon fake",ew="sinon.test needs to wrap a test function, got ",ex="InvalidBodyException",ey="./sinon/spy",ez="match(",eA="expected %n to be called with arguments %*%C",eB="callArgOnWith",eC="expected %n to never be called with arguments %*%C",eD="text/xml",eE="argument at index ",eF="calledOn",eG=" => ",eH="setRequestHeader",eI="Gateway Timeout",eJ="spy",eK="calledWithNew",eL='undefined',eM="[object HTMLDocument]",eN=" expected to yield to '",eO="target is null or undefined",eP="calledThrice",eQ="callCount",eR="spy#",eS="%n did not always throw exception%C",eT="Error",eU="regexp",eV="./sinon/stub",eW="typeOf(\"",eX="Request:\n",eY='progress',fa="expected %n to always be called with arguments %*%C",fb="status",fc="./sinon/call",fd="on",fe="getResponseHeader",ff="\"",fg="at least ",fh="[object global]",fi='invoke',fj="./sinon/collection",fk="anonymous mock expectation",fl=" cannot yield to '",fm="now should be milliseconds since UNIX epoch",fo="alwaysThrew",fp="Array",fq="}",fr="Bad Gateway",fs="\")",ft="clearImmediate",fu="",fv="yieldToOn",fw="]",fx="has",fy=", but was ",fz="expected %n to not have been called but was called %c%C",fA=" }",fB="Response:\n",fC="Reset Content",fD="' is not a number",fE="sandbox",fF="Call id is not a number",fG="Non-Authoritative Information",fH="Not Implemented",fI="./sinon/assert",fJ="Length Required",fK="Fake server response body should be string, but was ",fL="./match",fM='function',fN="property",fO="load",fP="Service Unavailable",fQ="//",fR=" to be ",fS="callArg",fT="test",fU="Conflict",fV=" received wrong arguments ",fW="alwaysCalledWithNew",fX="Anonymous mock",fY=" is not a function: ",ga="Refused to set unsafe header \"",gb="</",gc='Defining a stub by invoking "stub.onCall(...).withArgs(...)" is not supported. ',gd="neverCalledWithMatch",ge="match(\"",gf="string",gg="Function requires at least 1 parameter",gh="defined",gi="removeEventListener",gj="returned",gk="Object",gl="[...]",gm="Fake server request processing",gn=" called with ",go="() {}",gp="expected %n to have been called at least once but was never called",gq="instanceOf(",gr="Request-URI Too Long",gs=".or(",gt="alwaysCalledWith",gu='Use "stub.withArgs(...).onCall(...)" to define sequential behavior for calls with certain arguments.',gv="alwaysCalledWithMatch",gw=" ",gx="No Content",gy="^",gz="callOrder",gA="responseText",gB="Created",gC="argument index is not number",gD="requests",gE="statusText",gF="calledTwice",gG="abort",gH="qx.dev.unit.Sinon",gI=": ",gJ="setImmediate",gK="No headers received",gL="Custom stub should be function",gM=" (",gN=" which is already ",gO="date",gP="spied on",gQ="getAllResponseHeaders",gR='[',gS="See Other",gT="Partial Content",gU="Accepted",gV="object",gW="Cannot stub non-existent own property ",gX="[Circular]",gY="callArgOn",ha=" cannot yield since no callback was passed.",hb="] ",hc="./sinon/match",hd="Internal Server Error",he=">",hf="expected %n to be called with exact arguments %*%C",hg=" as function",hh="function ",hi="Attempted to respond to fake XMLHttpRequest with ",hj=" !",hk="Request done",hl="Microsoft.XMLHTTP",hm="false",hn="notCalledWith",ho="expected %n to be called ",hp="Microsoft.XMLDOM",hq="' since it was not yet invoked.",hr=" expected to yield, but no callback was passed.",hs="HTTP Version Not Supported",ht="never called",hu=",";qx.Bootstrap.define(gH,{statics:{getSinon:null}});(function(){this.sinon=(function(){var samsam,formatio;function define(hx,hv,hw){if(hx==cA){samsam=hv();}else {formatio=hw(samsam);};};define.amd=true;((typeof define===dg&&define.amd&&function(m){define(cA,m);})||(typeof module===gV&&function(m){module.exports=m();})||function(m){this.samsam=m();})(function(){var o=Object.prototype;var hG=typeof document!==bX&&document.createElement(ec);function isNaN(hJ){var hK=hJ;return typeof hJ===cu&&hJ!==hK;};function hz(hL){return o.toString.call(hL).split(/[ \]]/)[1];};function hI(hM){if(typeof hM!==gV||typeof hM.length!==cu||hz(hM)===fp){return false;};if(typeof hM.callee==dg){return true;};try{hM[hM.length]=6;delete hM[hM.length];}catch(e){return true;};return false;};function hF(hN){if(!hN||hN.nodeType!==1||!hG){return false;};try{hN.appendChild(hG);hN.removeChild(hG);}catch(e){return false;};return true;};function hA(hP){var hO=[],hQ;for(hQ in hP){if(o.hasOwnProperty.call(hP,hQ)){hO.push(hQ);};};return hO;};function hB(hR){return typeof hR.getTime==dg&&hR.getTime()==hR.valueOf();};function hE(hS){return hS===0&&1/hS===-Infinity;};function hy(hT,hU){if(hT===hU||(isNaN(hT)&&isNaN(hU))){return hT!==0||hE(hT)===hE(hU);};};function hD(hV,ib){var hY=[],ia=[],ie=[],ic=[],hX={};function ig(ih){if(typeof ih===cK&&ih!==null&&!(ih instanceof Boolean)&&!(ih instanceof Date)&&!(ih instanceof Number)&&!(ih instanceof RegExp)&&!(ih instanceof String)){return true;};return false;};function hW(ii,ij){var i;for(i=0;i<ii.length;i++ ){if(ii[i]===ij){return i;};};return -1;};return (function iH(iw,ix,iE,iD){var ip=typeof iw;var iq=typeof ix;if(iw===ix||isNaN(iw)||isNaN(ix)||iw==null||ix==null||ip!==gV||iq!==gV){return hy(iw,ix);};if(hF(iw)||hF(ix)){return false;};var io=hB(iw),im=hB(ix);if(io||im){if(!io||!im||iw.getTime()!==ix.getTime()){return false;};};if(iw instanceof RegExp&&ix instanceof RegExp){if(iw.toString()!==ix.toString()){return false;};};var iv=hz(iw);var iu=hz(ix);var iy=hA(iw);var iz=hA(ix);if(hI(iw)||hI(ix)){if(iw.length!==ix.length){return false;};}else {if(ip!==iq||iv!==iu||iy.length!==iz.length){return false;};};var iA,i,l,it,ir,il,ik,iC,iB,iF,iG;for(i=0,l=iy.length;i<l;i++ ){iA=iy[i];if(!o.hasOwnProperty.call(ix,iA)){return false;};it=iw[iA];ir=ix[iA];il=ig(it);ik=ig(ir);iC=il?hW(hY,it):-1;iB=ik?hW(ia,ir):-1;iF=iC!==-1?ie[iC]:iE+gR+JSON.stringify(iA)+bL;iG=iB!==-1?ic[iB]:iD+gR+JSON.stringify(iA)+bL;if(hX[iF+iG]){return true;};if(iC===-1&&il){hY.push(it);ie.push(iF);};if(iB===-1&&ik){ia.push(ir);ic.push(iG);};if(il&&ik){hX[iF+iG]=true;};if(!iH(it,ir,iF,iG)){return false;};};return true;}(hV,ib,cY,T));};var hH;function hC(iJ,iI){if(iI.length===0){return true;};var i,l,j,k;for(i=0,l=iJ.length;i<l; ++i){if(hH(iJ[i],iI[0])){for(j=0,k=iI.length;j<k; ++j){if(!hH(iJ[i+j],iI[j])){return false;};};return true;};};return false;};hH=function iN(iM,iL){if(iL&&typeof iL.test===dg){return iL.test(iM);};if(typeof iL===dg){return iL(iM)===true;};if(typeof iL===gf){iL=iL.toLowerCase();var iK=typeof iM===gf||!!iM;return iK&&(String(iM)).toLowerCase().indexOf(iL)>=0;};if(typeof iL===cu){return iL===iM;};if(typeof iL===dS){return iL===iM;};if(hz(iM)===fp&&hz(iL)===fp){return hC(iM,iL);};if(iL&&typeof iL===gV){var iO;for(iO in iL){if(!iN(iM[iO],iL[iO])){return false;};};return true;};throw new Error(bm+bN);};return {isArguments:hI,isElement:hF,isDate:hB,isNegZero:hE,identical:hy,deepEqual:hD,match:hH,keys:hA};});((typeof define===dg&&define.amd&&function(m){define(dV,[cA],m);})||(typeof module===gV&&function(m){module.exports=m(require(cA));})||function(m){this.formatio=m(this.samsam);})(function(iS){var iU={excludeConstructors:[gk,/^.$/],quoteStrings:true};var iR=[];if(typeof global!==bX){iR.push({object:global,value:fh});};if(typeof document!==bX){iR.push({object:document,value:eM});};if(typeof window!==bX){iR.push({object:window,value:bh});};function iP(iY){if(!iY){return fu;};if(iY.displayName){return iY.displayName;};if(iY.name){return iY.name;};var iX=iY.toString().match(/function\s+([^\(]+)/m);return (iX&&iX[1])||fu;};function iQ(f,jb){var name=iP(jb&&jb.constructor);var ja=f.excludeConstructors||iU.excludeConstructors||[];var i,l;for(i=0,l=ja.length;i<l; ++i){if(typeof ja[i]===gf&&ja[i]===name){return fu;}else if(ja[i].test&&ja[i].test(name)){return fu;};};return name;};function iT(jc,jd){if(typeof jc!==gV){return false;};var i,l;for(i=0,l=jd.length;i<l; ++i){if(jd[i]===jc){return true;};};return false;};function iW(f,jh,ji,jf){if(typeof jh===gf){var je=f.quoteStrings;var jg=typeof je!==dS||je;return ji||jg?cN+jh+cN:jh;};if(typeof jh===dg&&!(jh instanceof RegExp)){return iW.func(jh);};ji=ji||[];if(iT(jh,ji)){return gX;};if(Object.prototype.toString.call(jh)===dT){return iW.array.call(f,jh,ji);};if(!jh){return String((1/jh)===-Infinity?ek:jh);};if(iS.isElement(jh)){return iW.element(jh);};if(typeof jh.toString===dg&&jh.toString!==Object.prototype.toString){return jh.toString();};var i,l;for(i=0,l=iR.length;i<l;i++ ){if(jh===iR[i].object){return iR[i].value;};};return iW.object.call(f,jh,ji,jf);};iW.func=function(jj){return hh+iP(jj)+go;};iW.array=function(jk,jl){jl=jl||[];jl.push(jk);var i,l,jm=[];for(i=0,l=jk.length;i<l; ++i){jm.push(iW(this,jk[i],jl));};return cy+jm.join(ef)+fw;};iW.object=function(jq,ju,jo){ju=ju||[];ju.push(jq);jo=jo||0;var jr=[],jx=iS.keys(jq).sort();var length=3;var jw,jv,jt,i,l;for(i=0,l=jx.length;i<l; ++i){jw=jx[i];jt=jq[jw];if(iT(jt,ju)){jv=gX;}else {jv=iW(this,jt,ju,jo+2);};jv=(/\s/.test(jw)?cN+jw+cN:jw)+gI+jv;length+=jv.length;jr.push(jv);};var jn=iQ(this,jq);var js=jn?cy+jn+hb:fu;var jp=fu;for(i=0,l=jo;i<l; ++i){jp+=gw;};if(length+jo>80){return js+X+jp+jr.join(bn+jp)+em+jp+fq;};return js+cs+jr.join(ef)+fA;};iW.element=function(jD){var jG=jD.tagName.toLowerCase();var jF=jD.attributes,jA,jz=[],jy,i,l,jB;for(i=0,l=jF.length;i<l; ++i){jA=jF.item(i);jy=jA.nodeName.toLowerCase().replace(c,fu);jB=jA.nodeValue;if(jy!==by||jB!==G){if(!!jB){jz.push(jy+bp+jB+ff);};};};var jE=eh+jG+(jz.length>0?gw:fu);var content=jD.innerHTML;if(content.length>20){content=content.substr(0,20)+gl;};var jC=jE+jz.join(gw)+he+content+gb+jG+he;return jC.replace(/ contentEditable="inherit"/,fu);};function iV(jI){for(var jH in jI){this[jH]=jI[jH];};};iV.prototype={functionName:iP,configure:function(jJ){return new iV(jJ);},constructorName:function(jK){return iQ(this,jK);},ascii:function(jL,jN,jM){return iW(this,jL,jN,jM);}};return iV.prototype;});var sinon=(function(jQ){var jY=typeof document!=bX&&document.createElement(ec);var jS=Object.prototype.hasOwnProperty;function jW(kd){var ke=false;try{kd.appendChild(jY);ke=jY.parentNode==kd;}catch(e){return false;}finally{try{kd.removeChild(jY);}catch(e){};};return ke;};function jX(kf){return jY&&kf&&kf.nodeType===1&&jW(kf);};function kb(kg){return typeof kg===dg||!!(kg&&kg.constructor&&kg.call&&kg.apply);};function jP(kh){return typeof kh===ej&&isNaN(kh);};function kc(kj,ki){for(var kk in ki){if(!jS.call(kj,kk)){kj[kk]=ki[kk];};};};function jO(kl){return typeof kl===dg&&typeof kl.restore===dg&&kl.restore.sinon;};var jV={wrapMethod:function km(kn,kt,ku){if(!kn){throw new TypeError(dj);};if(typeof ku!=dg){throw new TypeError(cI);};var kq=kn[kt],kr;if(!kb(kq)){kr=new TypeError(cz+(typeof kq)+M+kt+hg);};if(kq.restore&&kq.restore.sinon){kr=new TypeError(cz+kt+bF);};if(kq.calledBefore){var kp=!!kq.returns?E:gP;kr=new TypeError(cz+kt+gN+kp);};if(kr){if(kq._stack){kr.stack+=H+kq._stack;};throw kr;};var ko=kn.hasOwnProperty?kn.hasOwnProperty(kt):jS.call(kn,kt);kn[kt]=ku;ku.displayName=kt;ku._stack=(new Error(dE)).stack;ku.restore=function(){if(!ko){delete kn[kt];};if(kn[kt]===ku){kn[kt]=kq;};};ku.restore.sinon=true;kc(ku,kq);return ku;},extend:function kx(kw){for(var i=1,l=arguments.length;i<l;i+=1){for(var kv in arguments[i]){if(arguments[i].hasOwnProperty(kv)){kw[kv]=arguments[i][kv];};if(arguments[i].hasOwnProperty(ct)&&arguments[i].toString!=kw.toString){kw.toString=arguments[i].toString;};};};return kw;},create:function ky(kz){var F=function(){};F.prototype=kz;return new F();},deepEqual:function kE(a,b){if(jV.match&&jV.match.isMatcher(a)){return a.test(b);};if(typeof a!=cK||typeof b!=cK){if(jP(a)&&jP(b)){return true;}else {return a===b;};};if(jX(a)||jX(b)){return a===b;};if(a===b){return true;};if((a===null&&b!==null)||(a!==null&&b===null)){return false;};if(a instanceof RegExp&&b instanceof RegExp){return (a.source===b.source)&&(a.global===b.global)&&(a.ignoreCase===b.ignoreCase)&&(a.multiline===b.multiline);};var kB=Object.prototype.toString.call(a);if(kB!=Object.prototype.toString.call(b)){return false;};if(kB==W){return a.valueOf()===b.valueOf();};var kC,kD=0,kA=0;if(kB==dT&&a.length!==b.length){return false;};for(kC in a){kD+=1;if(!kE(a[kC],b[kC])){return false;};};for(kC in b){kA+=1;};return kD==kA;},functionName:function kG(kH){var name=kH.displayName||kH.name;if(!name){var kF=kH.toString().match(/function ([^\s\(]+)/);name=kF&&kF[1];};return name;},functionToString:function kI(){if(this.getCall&&this.callCount){var kJ,kK,i=this.callCount;while(i-- ){kJ=this.getCall(i).thisValue;for(kK in kJ){if(kJ[kK]===this){return kK;};};};};return this.displayName||ev;},getConfig:function(kL){var kM={};kL=kL||{};var kN=jV.defaultConfig;for(var kO in kN){if(kN.hasOwnProperty(kO)){kM[kO]=kL.hasOwnProperty(kO)?kL[kO]:kN[kO];};};return kM;},format:function(kP){return fu+kP;},defaultConfig:{injectIntoThis:true,injectInto:null,properties:[eJ,cS,db,P,dv,gD],useFakeTimers:true,useFakeServer:true},timesInWords:function kR(kQ){return kQ==1&&cL||kQ==2&&eu||kQ==3&&cb||(kQ||0)+co;},calledInOrder:function(kS){for(var i=1,l=kS.length;i<l;i++ ){if(!kS[i-1].calledBefore(kS[i])||!kS[i].called){return false;};};return true;},orderByFirstCall:function(kT){return kT.sort(function(a,b){var kU=a.getCall(0);var kX=b.getCall(0);var kW=kU&&kU.callId||-1;var kV=kX&&kX.callId||-1;return kW<kV?-1:1;});},log:function(){},logError:function(lb,la){var kY=lb+dF;jV.log(kY+cy+la.name+hb+la.message);if(la.stack){jV.log(la.stack);};setTimeout(function(){la.message=kY+la.message;throw la;},0);},typeOf:function(ld){if(ld===null){return cO;}else if(ld===undefined){return bX;};var lc=Object.prototype.toString.call(ld);return lc.substring(8,lc.length-1).toLowerCase();},createStubInstance:function(le){if(typeof le!==dg){throw new TypeError(cr);};return jV.stub(jV.create(le.prototype));},restore:function(lf){if(lf!==null&&typeof lf===gV){for(var lg in lf){if(jO(lf[lg])){lf[lg].restore();};};}else if(jO(lf)){lf.restore();};}};var jR=typeof module!==bX&&module.exports;var jU=typeof define===fM&&typeof define.amd===cK&&define.amd;if(jU){define(function(){return jV;});}else if(jR){try{jQ=require(dV);}catch(e){};module.exports=jV;module.exports.spy=require(ey);module.exports.spyCall=require(fc);module.exports.behavior=require(cB);module.exports.stub=require(eV);module.exports.mock=require(d);module.exports.collection=require(fj);module.exports.assert=require(fI);module.exports.sandbox=require(B);module.exports.test=require(bz);module.exports.testCase=require(eo);module.exports.assert=require(fI);module.exports.match=require(hc);};if(jQ){var ka=jQ.configure({quoteStrings:false});jV.format=function(){return ka.ascii.apply(ka,arguments);};}else if(jR){try{var jT=require(dc);jV.format=function(lh){return typeof lh==gV&&lh.toString===Object.prototype.toString?jT.inspect(lh):lh;};}catch(e){};};return jV;}(typeof formatio==gV&&formatio));(function(ln){var li=typeof module!==eL&&module.exports;if(!ln&&li){ln=require(ce);};if(!ln){return;};function ll(ls,lq,name){var lr=ln.typeOf(ls);if(lr!==lq){throw new TypeError(cM+name+fR+lq+fy+lr);};};var lk={toString:function(){return this.message;}};function lm(lt){return lk.isPrototypeOf(lt);};function lj(lw,lv){if(lv===null||lv===undefined){return false;};for(var lx in lw){if(lw.hasOwnProperty(lx)){var lu=lw[lx];var ly=lv[lx];if(lo.isMatcher(lu)){if(!lu.test(ly)){return false;};}else if(ln.typeOf(lu)===gV){if(!lj(lu,ly)){return false;};}else if(!ln.deepEqual(lu,ly)){return false;};};};return true;};lk.or=function(lB){if(!arguments.length){throw new TypeError(cE);}else if(!lm(lB)){lB=lo(lB);};var lz=this;var lA=ln.create(lk);lA.test=function(lC){return lz.test(lC)||lB.test(lC);};lA.message=lz.message+gs+lB.message+di;return lA;};lk.and=function(lF){if(!arguments.length){throw new TypeError(cE);}else if(!lm(lF)){lF=lo(lF);};var lE=this;var lD=ln.create(lk);lD.test=function(lG){return lE.test(lG)&&lF.test(lG);};lD.message=lE.message+dR+lF.message+di;return lD;};var lo=function(lI,lK){var m=ln.create(lk);var lL=ln.typeOf(lI);switch(lL){case gV:if(typeof lI.test===dg){m.test=function(lM){return lI.test(lM)===true;};m.message=ez+ln.functionName(lI.test)+di;return m;};var lH=[];for(var lJ in lI){if(lI.hasOwnProperty(lJ)){lH.push(lJ+gI+lI[lJ]);};};m.test=function(lN){return lj(lI,lN);};m.message=ez+lH.join(ef)+di;break;case cu:m.test=function(lO){return lI==lO;};break;case gf:m.test=function(lP){if(typeof lP!==gf){return false;};return lP.indexOf(lI)!==-1;};m.message=ge+lI+fs;break;case eU:m.test=function(lQ){if(typeof lQ!==gf){return false;};return lI.test(lQ);};break;case dg:m.test=lI;if(lK){m.message=lK;}else {m.message=ez+ln.functionName(lI)+di;};break;default:m.test=function(lR){return ln.deepEqual(lI,lR);};};if(!m.message){m.message=ez+lI+di;};return m;};lo.isMatcher=lm;lo.any=lo(function(){return true;},bu);lo.defined=lo(function(lS){return lS!==null&&lS!==undefined;},gh);lo.truthy=lo(function(lT){return !!lT;},n);lo.falsy=lo(function(lU){return !lU;},O);lo.same=function(lV){return lo(function(lW){return lV===lW;},el+lV+di);};lo.typeOf=function(lX){ll(lX,gf,eg);return lo(function(lY){return ln.typeOf(lY)===lX;},eW+lX+fs);};lo.instanceOf=function(ma){ll(ma,dg,eg);return lo(function(mb){return mb instanceof ma;},gq+ln.functionName(ma)+di);};function lp(md,mc){return function(mg,mh){ll(mg,gf,fN);var me=arguments.length===1;var mf=mc+cQ+mg+ff;if(!me){mf+=ef+mh;};mf+=di;return lo(function(mi){if(mi===undefined||mi===null||!md(mi,mg)){return false;};return me||ln.deepEqual(mh,mi[mg]);},mf);};};lo.has=lp(function(mk,mj){if(typeof mk===gV){return mj in mk;};return mk[mj]!==undefined;},fx);lo.hasOwn=lp(function(mm,ml){return mm.hasOwnProperty(ml);},bk);lo.bool=lo.typeOf(dS);lo.number=lo.typeOf(cu);lo.string=lo.typeOf(gf);lo.object=lo.typeOf(gV);lo.func=lo.typeOf(dg);lo.array=lo.typeOf(cf);lo.regexp=lo.typeOf(eU);lo.date=lo.typeOf(gO);if(li){module.exports=lo;}else {ln.match=lo;};}(typeof sinon==gV&&sinon||null));(function(mr){var mn=typeof module!==eL&&module.exports;if(!mr&&mn){mr=require(ce);};if(!mr){return;};function mo(mx,mv,mw){var mu=mr.functionName(mx)+mv;if(mw.length){mu+=bM+mp.call(mw).join(ef)+fw;};throw new Error(mu);};var mp=Array.prototype.slice;var mt={calledOn:function my(mz){if(mr.match&&mr.match.isMatcher(mz)){return mz.test(this.thisValue);};return this.thisValue===mz;},calledWith:function mA(){for(var i=0,l=arguments.length;i<l;i+=1){if(!mr.deepEqual(arguments[i],this.args[i])){return false;};};return true;},calledWithMatch:function mC(){for(var i=0,l=arguments.length;i<l;i+=1){var mB=this.args[i];var mD=arguments[i];if(!mr.match||!mr.match(mD).test(mB)){return false;};};return true;},calledWithExactly:function mE(){return arguments.length==this.args.length&&this.calledWith.apply(this,arguments);},notCalledWith:function mF(){return !this.calledWith.apply(this,arguments);},notCalledWithMatch:function mG(){return !this.calledWithMatch.apply(this,arguments);},returned:function mH(mI){return mr.deepEqual(mI,this.returnValue);},threw:function mJ(mK){if(typeof mK===bX||!this.exception){return !!this.exception;};return this.exception===mK||this.exception.name===mK;},calledWithNew:function mL(){return this.proxy.prototype&&this.thisValue instanceof this.proxy;},calledBefore:function(mM){return this.callId<mM.callId;},calledAfter:function(mN){return this.callId>mN.callId;},callArg:function(mO){this.args[mO]();},callArgOn:function(mP,mQ){this.args[mP].apply(mQ);},callArgWith:function(mR){this.callArgOnWith.apply(this,[mR,null].concat(mp.call(arguments,1)));},callArgOnWith:function(mT,mU){var mS=mp.call(arguments,2);this.args[mT].apply(mU,mS);},"yield":function(){this.yieldOn.apply(this,[null].concat(mp.call(arguments,0)));},yieldOn:function(mW){var mV=this.args;for(var i=0,l=mV.length;i<l; ++i){if(typeof mV[i]===dg){mV[i].apply(mW,mp.call(arguments,1));return;};};mo(this.proxy,ha,mV);},yieldTo:function(mX){this.yieldToOn.apply(this,[mX,null].concat(mp.call(arguments,1)));},yieldToOn:function(nb,na){var mY=this.args;for(var i=0,l=mY.length;i<l; ++i){if(mY[i]&&typeof mY[i][nb]===dg){mY[i][nb].apply(na,mp.call(arguments,2));return;};};mo(this.proxy,fl+nb+dw,mY);},toString:function(){var nc=this.proxy.toString()+bb;var nd=[];for(var i=0,l=this.args.length;i<l; ++i){nd.push(mr.format(this.args[i]));};nc=nc+nd.join(ef)+di;if(typeof this.returnValue!=bX){nc+=eG+mr.format(this.returnValue);};if(this.exception){nc+=hj+this.exception.name;if(this.exception.message){nc+=bb+this.exception.message+di;};};return nc;}};mt.invokeCallback=mt.yield;function mq(ne,ng,ni,nj,nf,nk){if(typeof nk!==cu){throw new TypeError(fF);};var nh=mr.create(mt);nh.proxy=ne;nh.thisValue=ng;nh.args=ni;nh.returnValue=nj;nh.exception=nf;nh.callId=nk;return nh;};mq.toString=mt.toString;if(mn){module.exports=mq;}else {mr.spyCall=mq;};}(typeof sinon==gV&&sinon||null));(function(sinon){var commonJSModule=typeof module!==eL&&module.exports;var push=Array.prototype.push;var slice=Array.prototype.slice;var callId=0;if(!sinon&&commonJSModule){sinon=require(ce);};if(!sinon){return;};function spy(nn,nl){if(!nl&&typeof nn==dg){return spy.create(nn);};if(!nn&&!nl){return spy.create(function(){});};var nm=nn[nl];return sinon.wrapMethod(nn,nl,spy.create(nm));};function matchingFake(nq,np,no){if(!nq){return;};for(var i=0,l=nq.length;i<l;i++ ){if(nq[i].matches(np,no)){return nq[i];};};};function incrementCallCount(){this.called=true;this.callCount+=1;this.notCalled=false;this.calledOnce=this.callCount==1;this.calledTwice=this.callCount==2;this.calledThrice=this.callCount==3;};function createCallProperties(){this.firstCall=this.getCall(0);this.secondCall=this.getCall(1);this.thirdCall=this.getCall(2);this.lastCall=this.getCall(this.callCount-1);};var vars=dQ;function createProxy(func){var p;if(func.length){eval(cH+vars.substring(0,func.length*2-1)+en);}else {p=function nr(){return p.invoke(func,this,slice.call(arguments));};};return p;};var uuid=0;var spyApi={reset:function(){this.called=false;this.notCalled=true;this.calledOnce=false;this.calledTwice=false;this.calledThrice=false;this.callCount=0;this.firstCall=null;this.secondCall=null;this.thirdCall=null;this.lastCall=null;this.args=[];this.returnValues=[];this.thisValues=[];this.exceptions=[];this.callIds=[];if(this.fakes){for(var i=0;i<this.fakes.length;i++ ){this.fakes[i].reset();};};},create:function ns(nt){var name;if(typeof nt!=dg){nt=function(){};}else {name=sinon.functionName(nt);};var nu=createProxy(nt);sinon.extend(nu,spy);delete nu.create;sinon.extend(nu,nt);nu.reset();nu.prototype=nt.prototype;nu.displayName=name||eJ;nu.toString=sinon.functionToString;nu._create=sinon.spy.create;nu.id=eR+uuid++ ;return nu;},invoke:function ny(nw,nx,nz){var nC=matchingFake(this.fakes,nz);var nv,nB;incrementCallCount.call(this);push.call(this.thisValues,nx);push.call(this.args,nz);push.call(this.callIds,callId++ );try{if(nC){nB=nC.invoke(nw,nx,nz);}else {nB=(this.func||nw).apply(nx,nz);};var nA=this.getCall(this.callCount-1);if(nA.calledWithNew()&&typeof nB!==cK){nB=nx;};}catch(e){nv=e;};push.call(this.exceptions,nv);push.call(this.returnValues,nB);createCallProperties.call(this);if(nv!==undefined){throw nv;};return nB;},getCall:function nD(i){if(i<0||i>=this.callCount){return null;};return sinon.spyCall(this,this.thisValues[i],this.args[i],this.returnValues[i],this.exceptions[i],this.callIds[i]);},getCalls:function(){var nE=[];var i;for(i=0;i<this.callCount;i++ ){nE.push(this.getCall(i));};return nE;},calledBefore:function nF(nG){if(!this.called){return false;};if(!nG.called){return true;};return this.callIds[0]<nG.callIds[nG.callIds.length-1];},calledAfter:function nI(nH){if(!this.called||!nH.called){return false;};return this.callIds[this.callCount-1]>nH.callIds[nH.callCount-1];},withArgs:function(){var nJ=slice.call(arguments);if(this.fakes){var nL=matchingFake(this.fakes,nJ,true);if(nL){return nL;};}else {this.fakes=[];};var nK=this;var nM=this._create();nM.matchingAguments=nJ;nM.parent=this;push.call(this.fakes,nM);nM.withArgs=function(){return nK.withArgs.apply(nK,arguments);};for(var i=0;i<this.args.length;i++ ){if(nM.matches(this.args[i])){incrementCallCount.call(nM);push.call(nM.thisValues,this.thisValues[i]);push.call(nM.args,this.args[i]);push.call(nM.returnValues,this.returnValues[i]);push.call(nM.exceptions,this.exceptions[i]);push.call(nM.callIds,this.callIds[i]);};};createCallProperties.call(nM);return nM;},matches:function(nP,nN){var nO=this.matchingAguments;if(nO.length<=nP.length&&sinon.deepEqual(nO,nP.slice(0,nO.length))){return !nN||nO.length==nP.length;};},printf:function(nT){var nQ=this;var nR=slice.call(arguments,1);var nS;return (nT||fu).replace(/%(.)/g,function(nV,nU){nS=spyApi.formatters[nU];if(typeof nS==dg){return nS.call(null,nQ,nR);}else if(!isNaN(parseInt(nU,10))){return sinon.format(nR[nU-1]);};return u+nU;});}};function delegateToCalls(nY,nW,nX,oa){spyApi[nY]=function(){if(!this.called){if(oa){return oa.apply(this,arguments);};return false;};var oc;var ob=0;for(var i=0,l=this.callCount;i<l;i+=1){oc=this.getCall(i);if(oc[nX||nY].apply(oc,arguments)){ob+=1;if(nW){return true;};};};return ob===this.callCount;};};delegateToCalls(eF,true);delegateToCalls(cC,false,eF);delegateToCalls(bl,true);delegateToCalls(U,true);delegateToCalls(gt,false,bl);delegateToCalls(gv,false,U);delegateToCalls(eb,true);delegateToCalls(bT,false,eb);delegateToCalls(dY,false,hn,function(){return true;});delegateToCalls(gd,false,cc,function(){return true;});delegateToCalls(dK,true);delegateToCalls(fo,false,dK);delegateToCalls(gj,true);delegateToCalls(ea,false,gj);delegateToCalls(eK,true);delegateToCalls(fW,false,eK);delegateToCalls(fS,false,dy,function(){throw new Error(this.toString()+bY);});spyApi.callArgWith=spyApi.callArg;delegateToCalls(gY,false,eB,function(){throw new Error(this.toString()+bY);});spyApi.callArgOnWith=spyApi.callArgOn;delegateToCalls(cG,false,cG,function(){throw new Error(this.toString()+Y);});spyApi.invokeCallback=spyApi.yield;delegateToCalls(cd,false,cd,function(){throw new Error(this.toString()+Y);});delegateToCalls(dx,false,dx,function(od){throw new Error(this.toString()+fl+od+hq);});delegateToCalls(fv,false,fv,function(oe){throw new Error(this.toString()+fl+oe+hq);});spyApi.formatters={"c":function(of){return sinon.timesInWords(of.callCount);},"n":function(og){return og.toString();},"C":function(oh){var oi=[];for(var i=0,l=oh.callCount;i<l; ++i){var oj=bU+oh.getCall(i).toString();if(/\n/.test(oi[i-1])){oj=em+oj;};push.call(oi,oj);};return oi.length>0?em+oi.join(em):fu;},"t":function(ok){var ol=[];for(var i=0,l=ok.callCount;i<l; ++i){push.call(ol,sinon.format(ok.thisValues[i]));};return ol.join(ef);},"*":function(om,oo){var op=[];for(var i=0,l=oo.length;i<l; ++i){push.call(op,sinon.format(oo[i]));};return op.join(ef);}};sinon.extend(spy,spyApi);spy.spyCall=sinon.spyCall;if(commonJSModule){module.exports=spy;}else {sinon.spy=spy;};}(typeof sinon==gV&&sinon||null));(function(oy){var oq=typeof module!==eL&&module.exports;if(!oy&&oq){oy=require(ce);};if(!oy){return;};var ot=Array.prototype.slice;var ou=Array.prototype.join;var ow;var os=(function(){if(typeof process===gV&&typeof process.nextTick===dg){return process.nextTick;}else if(typeof setImmediate===dg){return setImmediate;}else {return function(oC){setTimeout(oC,0);};};})();function oA(oE,oD){if(typeof oE==gf){this.exception=new Error(oD||fu);this.exception.name=oE;}else if(!oE){this.exception=new Error(eT);}else {this.exception=oE;};return this;};function oz(oH,oF){var oI=oH.callArgAt;if(oI<0){var oG=oH.callArgProp;for(var i=0,l=oF.length;i<l; ++i){if(!oG&&typeof oF[i]==dg){return oF[i];};if(oG&&oF[i]&&typeof oF[i][oG]==dg){return oF[i][oG];};};return null;};return oF[oI];};function ox(oL,oM,oK){if(oL.callArgAt<0){var oJ;if(oL.callArgProp){oJ=oy.functionName(oL.stub)+eN+oL.callArgProp+R;}else {oJ=oy.functionName(oL.stub)+hr;};if(oK.length>0){oJ+=bM+ou.call(oK,ef)+fw;};return oJ;};return eE+oL.callArgAt+fY+oM;};function ov(oO,oN){if(typeof oO.callArgAt==cu){var oP=oz(oO,oN);if(typeof oP!=dg){throw new TypeError(ox(oO,oP,oN));};if(oO.callbackAsync){os(function(){oP.apply(oO.callbackContext,oO.callbackArguments);});}else {oP.apply(oO.callbackContext,oO.callbackArguments);};};};ow={create:function(oQ){var oR=oy.extend({},oy.behavior);delete oR.create;oR.stub=oQ;return oR;},isPresent:function(){return (typeof this.callArgAt==ej||this.exception||typeof this.returnArgAt==ej||this.returnThis||this.returnValueDefined);},invoke:function(oT,oS){ov(this,oS);if(this.exception){throw this.exception;}else if(typeof this.returnArgAt==ej){return oS[this.returnArgAt];}else if(this.returnThis){return oT;};return this.returnValue;},onCall:function(oU){return this.stub.onCall(oU);},onFirstCall:function(){return this.stub.onFirstCall();},onSecondCall:function(){return this.stub.onSecondCall();},onThirdCall:function(){return this.stub.onThirdCall();},withArgs:function(){throw new Error(gc+gu);},callsArg:function oV(oW){if(typeof oW!=cu){throw new TypeError(gC);};this.callArgAt=oW;this.callbackArguments=[];this.callbackContext=undefined;this.callArgProp=undefined;this.callbackAsync=false;return this;},callsArgOn:function oX(oY,pa){if(typeof oY!=cu){throw new TypeError(gC);};if(typeof pa!=gV){throw new TypeError(cJ);};this.callArgAt=oY;this.callbackArguments=[];this.callbackContext=pa;this.callArgProp=undefined;this.callbackAsync=false;return this;},callsArgWith:function pb(pc){if(typeof pc!=cu){throw new TypeError(gC);};this.callArgAt=pc;this.callbackArguments=ot.call(arguments,1);this.callbackContext=undefined;this.callArgProp=undefined;this.callbackAsync=false;return this;},callsArgOnWith:function pd(pf,pe){if(typeof pf!=cu){throw new TypeError(gC);};if(typeof pe!=gV){throw new TypeError(cJ);};this.callArgAt=pf;this.callbackArguments=ot.call(arguments,2);this.callbackContext=pe;this.callArgProp=undefined;this.callbackAsync=false;return this;},yields:function(){this.callArgAt=-1;this.callbackArguments=ot.call(arguments,0);this.callbackContext=undefined;this.callArgProp=undefined;this.callbackAsync=false;return this;},yieldsOn:function(pg){if(typeof pg!=gV){throw new TypeError(cJ);};this.callArgAt=-1;this.callbackArguments=ot.call(arguments,1);this.callbackContext=pg;this.callArgProp=undefined;this.callbackAsync=false;return this;},yieldsTo:function(ph){this.callArgAt=-1;this.callbackArguments=ot.call(arguments,1);this.callbackContext=undefined;this.callArgProp=ph;this.callbackAsync=false;return this;},yieldsToOn:function(pj,pi){if(typeof pi!=gV){throw new TypeError(cJ);};this.callArgAt=-1;this.callbackArguments=ot.call(arguments,2);this.callbackContext=pi;this.callArgProp=pj;this.callbackAsync=false;return this;},"throws":oA,throwsException:oA,returns:function pk(pl){this.returnValue=pl;this.returnValueDefined=true;return this;},returnsArg:function pm(pn){if(typeof pn!=cu){throw new TypeError(gC);};this.returnArgAt=pn;return this;},returnsThis:function po(){this.returnThis=true;return this;}};for(var oB in ow){if(ow.hasOwnProperty(oB)&&oB.match(/^(callsArg|yields)/)&&!oB.match(/Async/)){ow[oB+L]=(function(pp){return function(){var pq=this[pp].apply(this,arguments);this.callbackAsync=true;return pq;};})(oB);};};if(oq){module.exports=ow;}else {oy.behavior=ow;};}(typeof sinon==gV&&sinon||null));(function(pw){var pr=typeof module!==eL&&module.exports;if(!pw&&pr){pw=require(ce);};if(!pw){return;};function pv(pz,py,pA){if(!!pA&&typeof pA!=dg){throw new TypeError(gL);};var pB;if(pA){pB=pw.spy&&pw.spy.create?pw.spy.create(pA):pA;}else {pB=pv.create();};if(!pz&&typeof py===bX){return pw.stub.create();};if(typeof py===bX&&typeof pz==gV){for(var pC in pz){if(typeof pz[pC]===dg){pv(pz,pC);};};return pz;};return pw.wrapMethod(pz,py,pB);};function pu(pD){return pD.defaultBehavior||px(pD)||pw.behavior.create(pD);};function px(pE){return (pE.parent&&ps(pE.parent));};function ps(pF){var pG=pF.behaviors[pF.callCount-1];return pG&&pG.isPresent()?pG:pu(pF);};var pt=0;pw.extend(pv,(function(){var pI={create:function pK(){var pJ=function(){return ps(pJ).invoke(this,arguments);};pJ.id=z+pt++ ;var pL=pJ;pJ=pw.spy.create(pJ);pJ.func=pL;pw.extend(pJ,pv);pJ._create=pw.stub.create;pJ.displayName=cS;pJ.toString=pw.functionToString;pJ.defaultBehavior=null;pJ.behaviors=[];return pJ;},resetBehavior:function(){var i;this.defaultBehavior=null;this.behaviors=[];delete this.returnValue;delete this.returnArgAt;this.returnThis=false;if(this.fakes){for(i=0;i<this.fakes.length;i++ ){this.fakes[i].resetBehavior();};};},onCall:function(pM){if(!this.behaviors[pM]){this.behaviors[pM]=pw.behavior.create(this);};return this.behaviors[pM];},onFirstCall:function(){return this.onCall(0);},onSecondCall:function(){return this.onCall(1);},onThirdCall:function(){return this.onCall(2);}};for(var pH in pw.behavior){if(pw.behavior.hasOwnProperty(pH)&&!pI.hasOwnProperty(pH)&&pH!=x&&pH!=bW&&pH!=fi){pI[pH]=(function(pN){return function(){this.defaultBehavior=this.defaultBehavior||pw.behavior.create(this);this.defaultBehavior[pN].apply(this.defaultBehavior,arguments);return this;};}(pH));};};return pI;}()));if(pr){module.exports=pv;}else {pw.stub=pv;};}(typeof sinon==gV&&sinon||null));(function(pQ){var pO=typeof module!==eL&&module.exports;var pS=[].push;var pT;if(!pQ&&pO){pQ=require(ce);};if(!pQ){return;};pT=pQ.match;if(!pT&&pO){pT=require(fL);};function pR(pU){if(!pU){return pQ.expectation.create(fX);};return pR.create(pU);};pQ.mock=pR;pQ.extend(pR,(function(){function pV(pX,pW){if(!pX){return;};for(var i=0,l=pX.length;i<l;i+=1){pW(pX[i]);};};return {create:function pY(qa){if(!qa){throw new TypeError(bi);};var qb=pQ.extend({},pR);qb.object=qa;delete qb.create;return qb;},expects:function qf(qc){if(!qc){throw new TypeError(dM);};if(!this.expectations){this.expectations={};this.proxies=[];};if(!this.expectations[qc]){this.expectations[qc]=[];var qe=this;pQ.wrapMethod(this.object,qc,function(){return qe.invokeMethod(qc,this,arguments);});pS.call(this.proxies,qc);};var qd=pQ.expectation.create(qc);pS.call(this.expectations[qc],qd);return qd;},restore:function qg(){var qh=this.object;pV(this.proxies,function(qi){if(typeof qh[qi].restore==dg){qh[qi].restore();};});},verify:function qj(){var ql=this.expectations||{};var qk=[],qm=[];pV(this.proxies,function(qn){pV(ql[qn],function(qo){if(!qo.met()){pS.call(qk,qo.toString());}else {pS.call(qm,qo.toString());};});});this.restore();if(qk.length>0){pQ.expectation.fail(qk.concat(qm).join(em));}else {pQ.expectation.pass(qk.concat(qm).join(em));};return true;},invokeMethod:function qw(qy,qq,qr){var qu=this.expectations&&this.expectations[qy];var length=qu&&qu.length||0,i;for(i=0;i<length;i+=1){if(!qu[i].met()&&qu[i].allowsCall(qq,qr)){return qu[i].apply(qq,qr);};};var qt=[],qp,qv=0;for(i=0;i<length;i+=1){if(qu[i].allowsCall(qq,qr)){qp=qp||qu[i];}else {qv+=1;};pS.call(qt,bU+qu[i].toString());};if(qv===0){return qp.apply(qq,qr);};qt.unshift(du+pQ.spyCall.toString.call({proxy:qy,args:qr}));pQ.expectation.fail(qt.join(em));}};}()));var pP=pQ.timesInWords;pQ.expectation=(function(){var qB=Array.prototype.slice;var qz=pQ.spy.invoke;function qF(qG){if(qG==0){return ht;}else {return dG+pP(qG);};};function qC(qI){var qK=qI.minCalls;var qH=qI.maxCalls;if(typeof qK==cu&&typeof qH==cu){var qJ=pP(qK);if(qK!=qH){qJ=fg+qJ+bK+pP(qH);};return qJ;};if(typeof qK==cu){return fg+pP(qK);};return s+pP(qH);};function qA(qL){var qM=typeof qL.minCalls==cu;return !qM||qL.callCount>=qL.minCalls;};function qD(qN){if(typeof qN.maxCalls!=cu){return false;};return qN.callCount==qN.maxCalls;};function qE(qO,qP){if(pT&&pT.isMatcher(qO)){return qO.test(qP);}else {return true;};};return {minCalls:1,maxCalls:1,create:function qQ(qR){var qS=pQ.extend(pQ.stub.create(),pQ.expectation);delete qS.create;qS.method=qR;return qS;},invoke:function qV(qU,qW,qT){this.verifyCallAllowed(qW,qT);return qz.apply(this,arguments);},atLeast:function qY(qX){if(typeof qX!=cu){throw new TypeError(dD+qX+cP);};if(!this.limitsSet){this.maxCalls=null;this.limitsSet=true;};this.minCalls=qX;return this;},atMost:function ra(rb){if(typeof rb!=cu){throw new TypeError(dD+rb+cP);};if(!this.limitsSet){this.minCalls=null;this.limitsSet=true;};this.maxCalls=rb;return this;},never:function rc(){return this.exactly(0);},once:function rd(){return this.exactly(1);},twice:function re(){return this.exactly(2);},thrice:function rf(){return this.exactly(3);},exactly:function rg(rh){if(typeof rh!=cu){throw new TypeError(dD+rh+fD);};this.atLeast(rh);return this.atMost(rh);},met:function ri(){return !this.failed&&qA(this);},verifyCallAllowed:function rk(rl,rj){if(qD(this)){this.failed=true;pQ.expectation.fail(this.method+bR+pP(this.maxCalls));};if(et in this&&this.expectedThis!==rl){pQ.expectation.fail(this.method+gn+rl+ca+this.expectedThis);};if(!(K in this)){return;};if(!rj){pQ.expectation.fail(this.method+bI+pQ.format(this.expectedArguments));};if(rj.length<this.expectedArguments.length){pQ.expectation.fail(this.method+eq+pQ.format(rj)+ee+pQ.format(this.expectedArguments));};if(this.expectsExactArgCount&&rj.length!=this.expectedArguments.length){pQ.expectation.fail(this.method+dq+pQ.format(rj)+ee+pQ.format(this.expectedArguments));};for(var i=0,l=this.expectedArguments.length;i<l;i+=1){if(!qE(this.expectedArguments[i],rj[i])){pQ.expectation.fail(this.method+fV+pQ.format(rj)+dz+this.expectedArguments.toString());};if(!pQ.deepEqual(this.expectedArguments[i],rj[i])){pQ.expectation.fail(this.method+fV+pQ.format(rj)+cq+pQ.format(this.expectedArguments));};};},allowsCall:function rn(ro,rm){if(this.met()&&qD(this)){return false;};if(et in this&&this.expectedThis!==ro){return false;};if(!(K in this)){return true;};rm=rm||[];if(rm.length<this.expectedArguments.length){return false;};if(this.expectsExactArgCount&&rm.length!=this.expectedArguments.length){return false;};for(var i=0,l=this.expectedArguments.length;i<l;i+=1){if(!qE(this.expectedArguments[i],rm[i])){return false;};if(!pQ.deepEqual(this.expectedArguments[i],rm[i])){return false;};};return true;},withArgs:function rp(){this.expectedArguments=qB.call(arguments);return this;},withExactArgs:function rq(){this.withArgs.apply(this,arguments);this.expectsExactArgCount=true;return this;},on:function rr(rs){this.expectedThis=rs;return this;},toString:function(){var rv=(this.expectedArguments||[]).slice();if(!this.expectsExactArgCount){pS.call(rv,gl);};var rt=pQ.spyCall.toString.call({proxy:this.method||fk,args:rv});var rw=rt.replace(bJ,cT)+gw+qC(this);if(this.met()){return y+rw;};return dN+rw+gM+qF(this.callCount)+di;},verify:function rx(){if(!this.met()){pQ.expectation.fail(this.toString());}else {pQ.expectation.pass(this.toString());};return true;},pass:function(ry){pQ.assert.pass(ry);},fail:function(rz){var rA=new Error(rz);rA.name=cD;throw rA;}};}());if(pO){module.exports=pR;}else {pQ.mock=pR;};}(typeof sinon==gV&&sinon||null));(function(rF){var rB=typeof module!==eL&&module.exports;var rI=[].push;var rG=Object.prototype.hasOwnProperty;if(!rF&&rB){rF=require(ce);};if(!rF){return;};function rD(rJ){if(!rJ.fakes){rJ.fakes=[];};return rJ.fakes;};function rH(rK,rM){var rL=rD(rK);for(var i=0,l=rL.length;i<l;i+=1){if(typeof rL[i][rM]==dg){rL[i][rM]();};};};function rC(rN){var rO=rD(rN);var i=0;while(i<rO.length){rO.splice(i,1);};};var rE={verify:function rP(){rH(this,de);},restore:function rQ(){rH(this,dU);rC(this);},verifyAndRestore:function rS(){var rR;try{this.verify();}catch(e){rR=e;};this.restore();if(rR){throw rR;};},add:function rT(rU){rI.call(rD(this),rU);return rU;},spy:function rV(){return this.add(rF.spy.apply(rF,arguments));},stub:function sb(rX,sc,rY){if(sc){var sd=rX[sc];if(typeof sd!=dg){if(!rG.call(rX,sc)){throw new TypeError(gW+sc);};rX[sc]=rY;return this.add({restore:function(){rX[sc]=sd;}});};};if(!sc&&!!rX&&typeof rX==gV){var rW=rF.stub.apply(rF,arguments);for(var sa in rW){if(typeof rW[sa]===dg){this.add(rW[sa]);};};return rW;};return this.add(rF.stub.apply(rF,arguments));},mock:function se(){return this.add(rF.mock.apply(rF,arguments));},inject:function sg(sf){var sh=this;sf.spy=function(){return sh.spy.apply(sh,arguments);};sf.stub=function(){return sh.stub.apply(sh,arguments);};sf.mock=function(){return sh.mock.apply(sh,arguments);};return sf;}};if(rB){module.exports=rE;}else {rF.collection=rE;};}(typeof sinon==gV&&sinon||null));if(typeof sinon==bX){var sinon={};};(function(global){var timeoutResult=setTimeout(function(){},0);var addTimerReturnsObject=typeof timeoutResult===cK;clearTimeout(timeoutResult);var id=1;function addTimer(sk,sl){if(sk.length===0){throw new Error(gg);};if(typeof sk[0]===bX){throw new Error(bf);};var sj=id++ ;var si=sk[1]||0;if(!this.timeouts){this.timeouts={};};this.timeouts[sj]={id:sj,func:sk[0],callAt:this.now+si,invokeArgs:Array.prototype.slice.call(sk,2)};if(sl===true){this.timeouts[sj].interval=si;};if(addTimerReturnsObject){return {id:sj,ref:function(){},unref:function(){}};}else {return sj;};};function parseTime(sm){if(!sm){return 0;};var sn=sm.split(ba);var l=sn.length,i=l;var so=0,sp;if(l>3||!/^(\d\d:){0,2}\d\d?$/.test(sm)){throw new Error(bv);};while(i-- ){sp=parseInt(sn[i],10);if(sp>=60){throw new Error(dk+sm);};so+=sp*Math.pow(60,(l-i-1));};return so*1000;};function createObject(sq){var sr;if(Object.create){sr=Object.create(sq);}else {var F=function(){};F.prototype=sq;sr=new F();};sr.Date.clock=sr;return sr;};sinon.clock={now:0,create:function ss(st){var su=createObject(this);if(typeof st==cu){su.now=st;};if(!!st&&typeof st==gV){throw new TypeError(fm);};return su;},setTimeout:function setTimeout(sv,sw){return addTimer.call(this,arguments,false);},clearTimeout:function clearTimeout(sx){if(!this.timeouts){this.timeouts=[];};if(sx in this.timeouts){delete this.timeouts[sx];};},setInterval:function setInterval(sy,sz){return addTimer.call(this,arguments,true);},clearInterval:function clearInterval(sA){this.clearTimeout(sA);},setImmediate:function sD(sB){var sC=Array.prototype.slice.call(arguments,1);return addTimer.call(this,[sB,0].concat(sC),false);},clearImmediate:function sE(sF){this.clearTimeout(sF);},tick:function sL(sJ){sJ=typeof sJ==cu?sJ:parseTime(sJ);var sK=this.now,sH=this.now+sJ,sM=this.now;var sG=this.firstTimerInRange(sK,sH);var sI;while(sG&&sK<=sH){if(this.timeouts[sG.id]){sK=this.now=sG.callAt;try{this.callTimer(sG);}catch(e){sI=sI||e;};};sG=this.firstTimerInRange(sM,sH);sM=sK;};this.now=sH;if(sI){throw sI;};return this.now;},firstTimerInRange:function(sN,sO){var sP,sR=null,sQ;for(var sS in this.timeouts){if(this.timeouts.hasOwnProperty(sS)){if(this.timeouts[sS].callAt<sN||this.timeouts[sS].callAt>sO){continue;};if(sR===null||this.timeouts[sS].callAt<sR){sQ=this.timeouts[sS];sR=this.timeouts[sS].callAt;sP={func:this.timeouts[sS].func,callAt:this.timeouts[sS].callAt,interval:this.timeouts[sS].interval,id:this.timeouts[sS].id,invokeArgs:this.timeouts[sS].invokeArgs};};};};return sP||null;},callTimer:function(timer){if(typeof timer.interval==cu){this.timeouts[timer.id].callAt+=timer.interval;}else {delete this.timeouts[timer.id];};try{if(typeof timer.func==dg){timer.func.apply(null,timer.invokeArgs);}else {eval(timer.func);};}catch(e){var exception=e;};if(!this.timeouts[timer.id]){if(exception){throw exception;};return;};if(exception){throw exception;};},reset:function sT(){this.timeouts={};},Date:(function(){var sU=Date;function sV(tb,sX,tc,sW,td,sY,ta){switch(arguments.length){case 0:return new sU(sV.clock.now);case 1:return new sU(tb);case 2:return new sU(tb,sX);case 3:return new sU(tb,sX,tc);case 4:return new sU(tb,sX,tc,sW);case 5:return new sU(tb,sX,tc,sW,td);case 6:return new sU(tb,sX,tc,sW,td,sY);default:return new sU(tb,sX,tc,sW,td,sY,ta);};};return mirrorDateProperties(sV,sU);}())};function mirrorDateProperties(tf,te){if(te.now){tf.now=function th(){return tf.clock.now;};}else {delete tf.now;};if(te.toSource){tf.toSource=function ti(){return te.toSource();};}else {delete tf.toSource;};tf.toString=function tj(){return te.toString();};tf.prototype=te.prototype;tf.parse=te.parse;tf.UTC=te.UTC;tf.prototype.toUTCString=te.prototype.toUTCString;for(var tg in te){if(te.hasOwnProperty(tg)){tf[tg]=te[tg];};};return tf;};var methods=[J,dd,ei,dP,v];if(typeof global.setImmediate!==bX){methods.push(gJ);};if(typeof global.clearImmediate!==bX){methods.push(ft);};function restore(){var tk;for(var i=0,l=this.methods.length;i<l;i++ ){tk=this.methods[i];if(global[tk].hadOwnProperty){global[tk]=this[bw+tk];}else {try{delete global[tk];}catch(e){};};};this.methods=[];};function stubGlobal(tn,tm){tm[tn].hadOwnProperty=Object.prototype.hasOwnProperty.call(global,tn);tm[bw+tn]=global[tn];if(tn==J){var tl=mirrorDateProperties(tm[tn],global[tn]);global[tn]=tl;}else {global[tn]=function(){return tm[tn].apply(tm,arguments);};for(var tp in tm[tn]){if(tm[tn].hasOwnProperty(tp)){global[tn][tp]=tm[tn][tp];};};};global[tn].clock=tm;};sinon.useFakeTimers=function tr(tq){var ts=sinon.clock.create(tq);ts.restore=restore;ts.methods=Array.prototype.slice.call(arguments,typeof tq==cu?1:0);if(ts.methods.length===0){ts.methods=methods;};for(var i=0,l=ts.methods.length;i<l;i++ ){stubGlobal(ts.methods[i],ts);};return ts;};}(typeof global!=bX&&typeof global!==dg?global:this));sinon.timers={setTimeout:setTimeout,clearTimeout:clearTimeout,setImmediate:(typeof setImmediate!==bX?setImmediate:undefined),clearImmediate:(typeof clearImmediate!==bX?clearImmediate:undefined),setInterval:setInterval,clearInterval:clearInterval,Date:Date};if(typeof module!==eL&&module.exports){module.exports=sinon;};if(typeof sinon==bX){this.sinon={};};(function(){var tt=[].push;sinon.Event=function Event(tw,tv,tu,tx){this.initEvent(tw,tv,tu,tx);};sinon.Event.prototype={initEvent:function(tA,tz,ty,tB){this.type=tA;this.bubbles=tz;this.cancelable=ty;this.target=tB;},stopPropagation:function(){},preventDefault:function(){this.defaultPrevented=true;}};sinon.ProgressEvent=function tE(tC,tF,tD){this.initEvent(tC,false,false,tD);this.loaded=tF.loaded||null;this.total=tF.total||null;};sinon.ProgressEvent.prototype=new sinon.Event();sinon.ProgressEvent.prototype.constructor=sinon.ProgressEvent;sinon.CustomEvent=function CustomEvent(tH,tG,tI){this.initEvent(tH,false,false,tI);this.detail=tG.detail||null;};sinon.CustomEvent.prototype=new sinon.Event();sinon.CustomEvent.prototype.constructor=sinon.CustomEvent;sinon.EventTarget={addEventListener:function addEventListener(event,tJ){this.eventListeners=this.eventListeners||{};this.eventListeners[event]=this.eventListeners[event]||[];tt.call(this.eventListeners[event],tJ);},removeEventListener:function removeEventListener(event,tK){var tL=this.eventListeners&&this.eventListeners[event]||[];for(var i=0,l=tL.length;i<l; ++i){if(tL[i]==tK){return tL.splice(i,1);};};},dispatchEvent:function dispatchEvent(event){var tN=event.type;var tM=this.eventListeners&&this.eventListeners[tN]||[];for(var i=0;i<tM.length;i++ ){if(typeof tM[i]==dg){tM[i].call(this,event);}else {tM[i].handleEvent(event);};};return !!event.defaultPrevented;}};}());(function(tT){if(typeof sinon===bX){tT.sinon={};};var ud=typeof ProgressEvent!==bX;var tQ=typeof CustomEvent!==bX;sinon.xhr={XMLHttpRequest:tT.XMLHttpRequest};var tR=sinon.xhr;tR.GlobalXMLHttpRequest=tT.XMLHttpRequest;tR.GlobalActiveXObject=tT.ActiveXObject;tR.supportsActiveX=typeof tR.GlobalActiveXObject!=bX;tR.supportsXHR=typeof tR.GlobalXMLHttpRequest!=bX;tR.workingXHR=tR.supportsXHR?tR.GlobalXMLHttpRequest:tR.supportsActiveX?function(){return new tR.GlobalActiveXObject(da);}:false;tR.supportsCORS=q in (new sinon.xhr.GlobalXMLHttpRequest());var tO={"Accept-Charset":true,"Accept-Encoding":true,"Connection":true,"Content-Length":true,"Cookie":true,"Cookie2":true,"Content-Transfer-Encoding":true,"Date":true,"Expect":true,"Host":true,"Keep-Alive":true,"Referer":true,"TE":true,"Trailer":true,"Transfer-Encoding":true,"Upgrade":true,"User-Agent":true,"Via":true};function tW(){this.readyState=tW.UNSENT;this.requestHeaders={};this.requestBody=null;this.status=0;this.statusText=fu;this.upload=new tX();if(sinon.xhr.supportsCORS){this.withCredentials=false;};var uf=this;var ug=[r,fO,gG,bg];function addEventListener(uh){uf.addEventListener(uh,function(event){var ui=uf[fd+uh];if(ui&&typeof ui==dg){ui.call(this,event);};});};for(var i=ug.length-1;i>=0;i-- ){addEventListener(ug[i]);};if(typeof tW.onCreate==dg){tW.onCreate(this);};};function tX(){this.eventListeners={"progress":[],"load":[],"abort":[],"error":[]};};tX.prototype.addEventListener=function(event,uj){this.eventListeners[event].push(uj);};tX.prototype.removeEventListener=function(event,uk){var ul=this.eventListeners[event]||[];for(var i=0,l=ul.length;i<l; ++i){if(ul[i]==uk){return ul.splice(i,1);};};};tX.prototype.dispatchEvent=function(event){var un=this.eventListeners[event.type]||[];for(var i=0,um;(um=un[i])!=null;i++ ){um(event);};};function tY(uo){if(uo.readyState!==tW.OPENED){throw new Error(cx);};if(uo.sendFlag){throw new Error(cx);};};function uc(uq,up){if(!uq)return;for(var i=0,l=uq.length;i<l;i+=1){up(uq[i]);};};function tU(us,ur){for(var ut=0;ut<us.length;ut++ ){if(ur(us[ut])===true)return true;};return false;};var ub=function(uv,uw,uu){switch(uu.length){case 0:return uv[uw]();case 1:return uv[uw](uu[0]);case 2:return uv[uw](uu[0],uu[1]);case 3:return uv[uw](uu[0],uu[1],uu[2]);case 4:return uv[uw](uu[0],uu[1],uu[2],uu[3]);case 5:return uv[uw](uu[0],uu[1],uu[2],uu[3],uu[4]);};};tW.filters=[];tW.addFilter=function(ux){this.filters.push(ux);};var tP=/MSIE 6/;tW.defake=function(uC,uB){var uA=new sinon.xhr.workingXHR();uc([cm,eH,cn,gG,fe,gQ,df,bj,gi],function(uD){uC[uD]=function(){return ub(uA,uD,arguments);};});var uz=function(uE){uc(uE,function(uF){try{uC[uF]=uA[uF];}catch(e){if(!tP.test(navigator.userAgent))throw e;};});};var uy=function(){uC.readyState=uA.readyState;if(uA.readyState>=tW.HEADERS_RECEIVED){uz([fb,gE]);};if(uA.readyState>=tW.LOADING){uz([gA]);};if(uA.readyState===tW.DONE){uz([ch]);};if(uC.onreadystatechange)uC.onreadystatechange.call(uC,{target:uC});};if(uA.addEventListener){for(var event in uC.eventListeners){if(uC.eventListeners.hasOwnProperty(event)){uc(uC.eventListeners[event],function(uG){uA.addEventListener(event,uG);});};};uA.addEventListener(be,uy);}else {uA.onreadystatechange=uy;};ub(uA,cm,uB);};tW.useFilters=false;function tV(uH){if(uH.readyState!=tW.OPENED){throw new Error(A+uH.readyState);};};function ue(uI){if(uI.readyState==tW.DONE){throw new Error(hk);};};function ua(uJ){if(uJ.async&&uJ.readyState!=tW.HEADERS_RECEIVED){throw new Error(gK);};};function tS(uK){if(typeof uK!=gf){var uL=new Error(hi+uK+cR);uL.name=ex;throw uL;};};sinon.extend(tW.prototype,sinon.EventTarget,{async:true,open:function open(uS,uN,uQ,uM,uR){this.method=uS;this.url=uN;this.async=typeof uQ==dS?uQ:true;this.username=uM;this.password=uR;this.responseText=null;this.responseXML=null;this.requestHeaders={};this.sendFlag=false;if(sinon.FakeXMLHttpRequest.useFilters===true){var uO=arguments;var uP=tU(tW.filters,function(uT){return uT.apply(this,uO);});if(uP){return sinon.FakeXMLHttpRequest.defake(this,arguments);};};this.readyStateChange(tW.OPENED);},readyStateChange:function uU(uV){this.readyState=uV;if(typeof this.onreadystatechange==dg){try{this.onreadystatechange();}catch(e){sinon.logError(bE,e);};};this.dispatchEvent(new sinon.Event(be));switch(this.readyState){case tW.DONE:this.dispatchEvent(new sinon.Event(fO,false,false,this));this.dispatchEvent(new sinon.Event(bg,false,false,this));this.upload.dispatchEvent(new sinon.Event(fO,false,false,this));if(ud){this.upload.dispatchEvent(new sinon.ProgressEvent(eY,{loaded:100,total:100}));};break;};},setRequestHeader:function uX(uW,uY){tY(this);if(tO[uW]||/^(Sec-|Proxy-)/.test(uW)){throw new Error(ga+uW+ff);};if(this.requestHeaders[uW]){this.requestHeaders[uW]+=hu+uY;}else {this.requestHeaders[uW]=uY;};},setResponseHeaders:function vb(va){tV(this);this.responseHeaders={};for(var vc in va){if(va.hasOwnProperty(vc)){this.responseHeaders[vc]=va[vc];};};if(this.async){this.readyStateChange(tW.HEADERS_RECEIVED);}else {this.readyState=tW.HEADERS_RECEIVED;};},send:function ve(vd){tY(this);if(!/^(get|head)$/i.test(this.method)){if(this.requestHeaders[bV]){var vf=this.requestHeaders[bV].split(bS);this.requestHeaders[bV]=vf[0]+cU;}else {this.requestHeaders[bV]=dm;};this.requestBody=vd;};this.errorFlag=false;this.sendFlag=this.async;this.readyStateChange(tW.OPENED);if(typeof this.onSend==dg){this.onSend(this);};this.dispatchEvent(new sinon.Event(r,false,false,this));},abort:function vg(){this.aborted=true;this.responseText=null;this.errorFlag=true;this.requestHeaders={};if(this.readyState>sinon.FakeXMLHttpRequest.UNSENT&&this.sendFlag){this.readyStateChange(sinon.FakeXMLHttpRequest.DONE);this.sendFlag=false;};this.readyState=sinon.FakeXMLHttpRequest.UNSENT;this.dispatchEvent(new sinon.Event(gG,false,false,this));this.upload.dispatchEvent(new sinon.Event(gG,false,false,this));if(typeof this.onerror===dg){this.onerror();};},getResponseHeader:function vi(vh){if(this.readyState<tW.HEADERS_RECEIVED){return null;};if(/^Set-Cookie2?$/i.test(vh)){return null;};vh=vh.toLowerCase();for(var h in this.responseHeaders){if(h.toLowerCase()==vh){return this.responseHeaders[h];};};return null;},getAllResponseHeaders:function vk(){if(this.readyState<tW.HEADERS_RECEIVED){return fu;};var vj=fu;for(var vl in this.responseHeaders){if(this.responseHeaders.hasOwnProperty(vl)&&!/^Set-Cookie2?$/i.test(vl)){vj+=vl+gI+this.responseHeaders[vl]+t;};};return vj;},setResponseBody:function vo(vm){ue(this);ua(this);tS(vm);var vq=this.chunkSize||10;var vn=0;this.responseText=fu;do {if(this.async){this.readyStateChange(tW.LOADING);};this.responseText+=vm.substring(vn,vn+vq);vn+=vq;}while(vn<vm.length);var vp=this.getResponseHeader(bV);if(this.responseText&&(!vp||/(text\/xml)|(application\/xml)|(\+xml)/.test(vp))){try{this.responseXML=tW.parseXML(this.responseText);}catch(e){};};if(this.async){this.readyStateChange(tW.DONE);}else {this.readyState=tW.DONE;};},respond:function vr(status,vt,vs){this.status=typeof status==cu?status:200;this.statusText=tW.statusCodes[this.status];this.setResponseHeaders(vt||{});this.setResponseBody(vs||fu);},uploadProgress:function vu(vv){if(ud){this.upload.dispatchEvent(new sinon.ProgressEvent(br,vv));};},uploadError:function vw(vx){if(tQ){this.upload.dispatchEvent(new sinon.CustomEvent(bo,{"detail":vx}));};}});sinon.extend(tW,{UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4});tW.parseXML=function vA(vy){var vB;if(typeof DOMParser!=bX){var vz=new DOMParser();vB=vz.parseFromString(vy,eD);}else {vB=new ActiveXObject(hp);vB.async=hm;vB.loadXML(vy);};return vB;};tW.statusCodes={'100':dt,'101':dO,'200':ep,'201':gB,'202':gU,'203':fG,'204':gx,'205':fC,'206':gT,'300':dp,'301':dn,'302':bB,'303':gS,'304':dB,'305':bt,'307':bO,'400':ck,'401':cl,'402':S,'403':bx,'404':bP,'405':bH,'406':w,'407':dW,'408':bA,'409':fU,'410':ci,'411':fJ,'412':bq,'413':cv,'414':gr,'415':cF,'416':I,'417':cg,'422':dH,'500':hd,'501':fH,'502':fr,'503':fP,'504':eI,'505':hs};sinon.useFakeXMLHttpRequest=function(){sinon.FakeXMLHttpRequest.restore=function vC(vD){if(tR.supportsXHR){tT.XMLHttpRequest=tR.GlobalXMLHttpRequest;};if(tR.supportsActiveX){tT.ActiveXObject=tR.GlobalActiveXObject;};delete sinon.FakeXMLHttpRequest.restore;if(vD!==true){delete sinon.FakeXMLHttpRequest.onCreate;};};if(tR.supportsXHR){tT.XMLHttpRequest=sinon.FakeXMLHttpRequest;};if(tR.supportsActiveX){tT.ActiveXObject=function ActiveXObject(vE){if(vE==hl||/^Msxml2\.XMLHTTP/i.test(vE)){return new sinon.FakeXMLHttpRequest();};return new tR.GlobalActiveXObject(vE);};};return sinon.FakeXMLHttpRequest;};sinon.FakeXMLHttpRequest=tW;})(typeof global===gV?global:this);if(typeof module!==eL&&module.exports){module.exports=sinon;};if(typeof sinon==bX){var sinon={};};sinon.fakeServer=(function(){var vK=[].push;function F(){};function vI(vN){F.prototype=vN;return new F();};function vH(vO){var vP=vO;if(Object.prototype.toString.call(vO)!=dT){vP=[200,{},vO];};if(typeof vP[2]!=gf){throw new TypeError(fK+typeof vP[2]);};return vP;};var vL=typeof window!==bX?window.location:{};var vF=new RegExp(gy+vL.protocol+fQ+vL.host);function vJ(vU,vT,vW){var vS=vU.method;var vQ=!vS||vS.toLowerCase()==vT.toLowerCase();var vR=vU.url;var vV=!vR||vR==vW||(typeof vR.test==dg&&vR.test(vW));return vQ&&vV;};function vM(wc,wa){var wb=wa.url;if(!/^https?:\/\//.test(wb)||vF.test(wb)){wb=wb.replace(vF,fu);};if(vJ(wc,this.getHTTPMethod(wa),wb)){if(typeof wc.response==dg){var vX=wc.url;var vY=[wa].concat(vX&&typeof vX.exec==dg?vX.exec(wb).slice(1):[]);return wc.response.apply(wc,vY);};return true;};return false;};function vG(we,wd){var wf;wf=eX+sinon.format(wd)+dh;wf+=fB+sinon.format(we)+dh;sinon.log(wf);};return {create:function(){var wg=vI(this);this.xhr=sinon.useFakeXMLHttpRequest();wg.requests=[];this.xhr.onCreate=function(wh){wg.addRequest(wh);};return wg;},addRequest:function wj(wi){var wk=this;vK.call(this.requests,wi);wi.onSend=function(){wk.handleRequest(this);if(wk.autoRespond&&!wk.responding){setTimeout(function(){wk.responding=false;wk.respond();},wk.autoRespondAfter||10);wk.responding=true;};};},getHTTPMethod:function wm(wn){if(this.fakeHTTPMethods&&/post/i.test(wn.method)){var wl=(wn.requestBody||fu).match(/_method=([^\b;]+)/);return !!wl?wl[1]:wn.method;};return wn.method;},handleRequest:function wp(wo){if(wo.async){if(!this.queue){this.queue=[];};vK.call(this.queue,wo);}else {this.processRequest(wo);};},respondWith:function wr(wt,ws,wq){if(arguments.length==1&&typeof wt!=dg){this.response=vH(wt);return;};if(!this.responses){this.responses=[];};if(arguments.length==1){wq=wt;ws=wt=null;};if(arguments.length==2){wq=ws;ws=wt;wt=null;};vK.call(this.responses,{method:wt,url:ws,response:typeof wq==dg?wq:vH(wq)});},respond:function wu(){if(arguments.length>0)this.respondWith.apply(this,arguments);var wv=this.queue||[];var ww=wv.splice(0,wv.length);var wx;while(wx=ww.shift()){this.processRequest(wx);};},processRequest:function wy(wz){try{if(wz.aborted){return;};var wA=this.response||[404,{},fu];if(this.responses){for(var l=this.responses.length,i=l-1;i>=0;i-- ){if(vM.call(this,this.responses[i],wz)){wA=this.responses[i].response;break;};};};if(wz.readyState!=4){vG(wA,wz);wz.respond(wA[0],wA[1],wA[2]);};}catch(e){sinon.logError(gm,e);};},restore:function wB(){return this.xhr.restore&&this.xhr.restore.apply(this.xhr,arguments);}};}());if(typeof module!==eL&&module.exports){module.exports=sinon;};(function(){function wC(){};wC.prototype=sinon.fakeServer;sinon.fakeServerWithClock=new wC();sinon.fakeServerWithClock.addRequest=function wG(wD){if(wD.async){if(typeof setTimeout.clock==gV){this.clock=setTimeout.clock;}else {this.clock=sinon.useFakeTimers();this.resetClock=true;};if(!this.longestTimeout){var wE=this.clock.setTimeout;var wF=this.clock.setInterval;var wH=this;this.clock.setTimeout=function(wI,wJ){wH.longestTimeout=Math.max(wJ,wH.longestTimeout||0);return wE.apply(this,arguments);};this.clock.setInterval=function(wK,wL){wH.longestTimeout=Math.max(wL,wH.longestTimeout||0);return wF.apply(this,arguments);};};};return sinon.fakeServer.addRequest.call(this,wD);};sinon.fakeServerWithClock.respond=function wM(){var wN=sinon.fakeServer.respond.apply(this,arguments);if(this.clock){this.clock.tick(this.longestTimeout||0);this.longestTimeout=0;if(this.resetClock){this.clock.restore();this.resetClock=false;};};return wN;};sinon.fakeServerWithClock.restore=function wO(){if(this.clock){this.clock.restore();};return sinon.fakeServer.restore.apply(this,arguments);};}());if(typeof module!==eL&&module.exports){var sinon=require(ce);sinon.extend(sinon,require(bs));};(function(){var wP=[].push;function wQ(wS,wT,wU,wV){if(!wV){return;};if(wT.injectInto&&!(wU in wT.injectInto)){wT.injectInto[wU]=wV;wS.injectedKeys.push(wU);}else {wP.call(wS.args,wV);};};function wR(wX){var wW=sinon.create(sinon.sandbox);if(wX.useFakeServer){if(typeof wX.useFakeServer==gV){wW.serverPrototype=wX.useFakeServer;};wW.useFakeServer();};if(wX.useFakeTimers){if(typeof wX.useFakeTimers==gV){wW.useFakeTimers.apply(wW,wX.useFakeTimers);}else {wW.useFakeTimers();};};return wW;};sinon.sandbox=sinon.extend(sinon.create(sinon.collection),{useFakeTimers:function wY(){this.clock=sinon.useFakeTimers.apply(sinon,arguments);return this.add(this.clock);},serverPrototype:sinon.fakeServer,useFakeServer:function xa(){var xb=this.serverPrototype||sinon.fakeServer;if(!xb||!xb.create){return null;};this.server=xb.create();return this.add(this.server);},inject:function(xc){sinon.collection.inject.call(this,xc);if(this.clock){xc.clock=this.clock;};if(this.server){xc.server=this.server;xc.requests=this.server.requests;};return xc;},restore:function(){sinon.collection.restore.apply(this,arguments);this.restoreContext();},restoreContext:function(){if(this.injectedKeys){for(var i=0,j=this.injectedKeys.length;i<j;i++ ){delete this.injectInto[this.injectedKeys[i]];};this.injectedKeys=[];};},create:function(xh){if(!xh){return sinon.create(sinon.sandbox);};var xg=wR(xh);xg.args=xg.args||[];xg.injectedKeys=[];xg.injectInto=xh.injectInto;var xf,xe,xd=xg.inject({});if(xh.properties){for(var i=0,l=xh.properties.length;i<l;i++ ){xf=xh.properties[i];xe=xd[xf]||xf==fE&&xg;wQ(xg,xh,xf,xe);};}else {wQ(xg,xh,fE,xe);};return xg;}});sinon.sandbox.useFakeXMLHttpRequest=sinon.sandbox.useFakeServer;if(typeof module!==eL&&module.exports){module.exports=sinon.sandbox;};}());(function(xk){var xi=typeof module!==eL&&module.exports;if(!xk&&xi){xk=require(ce);};if(!xk){return;};function xj(xl){var xm=typeof xl;if(xm!=dg){throw new TypeError(ew+xm);};return function(){var xp=xk.getConfig(xk.config);xp.injectInto=xp.injectIntoThis&&this||xp.injectInto;var xq=xk.sandbox.create(xp);var xn,xr;var xo=Array.prototype.slice.call(arguments).concat(xq.args);try{xr=xl.apply(this,xo);}catch(e){xn=e;};if(typeof xn!==bX){xq.restore();throw xn;}else {xq.verifyAndRestore();};return xr;};};xj.config={injectIntoThis:true,injectInto:null,properties:[eJ,cS,db,P,dv,gD],useFakeTimers:true,useFakeServer:true};if(xi){module.exports=xj;}else {xk.test=xj;};}(typeof sinon==gV&&sinon||null));(function(xv){var xs=typeof module!==eL&&module.exports;if(!xv&&xs){xv=require(ce);};if(!xv||!Object.prototype.hasOwnProperty){return;};function xu(xy,xx,xw){return function(){if(xx){xx.apply(this,arguments);};var xz,xA;try{xA=xy.apply(this,arguments);}catch(e){xz=e;};if(xw){xw.apply(this,arguments);};if(xz){throw xz;};return xA;};};function xt(xB,xH){if(!xB||typeof xB!=gV){throw new TypeError(bc);};xH=xH||fT;var xE=new RegExp(gy+xH);var xC={},xG,xI,xJ;var xF=xB.setUp;var xD=xB.tearDown;for(xG in xB){if(xB.hasOwnProperty(xG)){xI=xB[xG];if(/^(setUp|tearDown)$/.test(xG)){continue;};if(typeof xI==dg&&xE.test(xG)){xJ=xI;if(xF||xD){xJ=xu(xI,xF,xD);};xC[xG]=xv.test(xJ);}else {xC[xG]=xB[xG];};};};return xC;};if(xs){module.exports=xt;}else {xv.testCase=xt;};}(typeof sinon==gV&&sinon||null));(function(xR,xO){var xK=typeof module!==bX&&module.exports;var xL=Array.prototype.slice;var xP;if(!xR&&xK){xR=require(ce);};if(!xR){return;};function xQ(){var xT;for(var i=0,l=arguments.length;i<l; ++i){xT=arguments[i];if(!xT){xP.fail(es);};if(typeof xT!=dg){xP.fail(xT+dJ);};if(typeof xT.getCall!=dg){xP.fail(xT+cj);};};};function xM(xV,xU){xV=xV||xO;var xW=xV.fail||xP.fail;xW.call(xV,xU);};function xS(name,xY,xX){if(arguments.length==2){xX=xY;xY=name;};xP[name]=function(yc){xQ(yc);var yb=xL.call(arguments,1);var ya=false;if(typeof xY==dg){ya=!xY(yc);}else {ya=typeof yc[xY]==dg?!yc[xY].apply(yc,yb):!yc[xY];};if(ya){xM(this,yc.printf.apply(yc,[xX].concat(yb)));}else {xP.pass(name);};};};function xN(yd,ye){return !yd||/^fail/.test(ye)?ye:yd+ye.slice(0,1).toUpperCase()+ye.slice(1);};xP={failException:cX,fail:function yf(yg){var yh=new Error(yg);yh.name=this.failException||xP.failException;throw yh;},pass:function yj(yi){},callOrder:function ym(){xQ.apply(null,arguments);var yk=fu,yl=fu;if(!xR.calledInOrder(arguments)){try{yk=[].join.call(arguments,ef);var yn=xL.call(arguments);var i=yn.length;while(i){if(!yn[ --i].called){yn.splice(i,1);};};yl=xR.orderByFirstCall(yn).join(ef);}catch(e){};xM(this,dI+yk+fR+bG+yl);}else {xP.pass(gz);};},callCount:function yo(yq,yp){xQ(yq);if(yq.callCount!=yp){var yr=ho+xR.timesInWords(yp)+ed;xM(this,yq.printf(yr));}else {xP.pass(eQ);};},expose:function yu(yt,yv){if(!yt){throw new TypeError(eO);};var o=yv||{};var yw=typeof o.prefix==bX&&ds||o.prefix;var ys=typeof o.includeFail==bX||!!o.includeFail;for(var yx in this){if(yx!=dA&&(ys||!/^(fail)/.test(yx))){yt[xN(yw,yx)]=this[yx];};};return yt;},match:function yB(yz,yA){var yy=xR.match(yA);if(yy.test(yz)){xP.pass(C);}else {var yC=[dl,dC+xR.format(yA),dL+xR.format(yz)];xM(this,yC.join(em));};}};xS(bd,gp);xS(D,function(yD){return !yD.called;},fz);xS(Q,er);xS(gF,cp);xS(eP,V);xS(eF,dX);xS(cC,N);xS(eK,bQ);xS(fW,cV);xS(bl,eA);xS(U,cw);xS(gt,fa);xS(gv,g);xS(eb,hf);xS(bT,bD);xS(dY,eC);xS(gd,bC);xS(dK,dr);xS(fo,eS);if(xK){module.exports=xP;}else {xR.assert=xP;};}(typeof sinon==gV&&sinon||null,typeof window!=bX?window:(typeof self!=bX)?self:global));return sinon;}.call(typeof window!=eL&&window||{}));this.sinon.assert.fail=function(yE){this.fail(yE,true);};this.sinon.FakeXMLHttpRequest.statusCodes[207]=cW;var origSinon=this.sinon;var Sinon=qx.dev.unit.Sinon;Sinon.getSinon=function(){return origSinon;};}).call(this);})();(function(){var a="qx.module.event.TouchHandler",b="touchmove",c="touchcancel",d="touchstart",e="touchend";qx.Bootstrap.define(a,{statics:{TYPES:[d,e,b,c],register:function(f){if(!f.__touchHandler){if(!f.$$emitter){f.$$emitter=new qx.event.Emitter();};f.__touchHandler=new qx.event.handler.TouchCore(f,f.$$emitter);};},unregister:function(i){if(i.__touchHandler){if(!i.$$emitter){i.__touchHandler=null;}else {var h=false;var g=i.$$emitter.getListeners();qx.module.event.TouchHandler.TYPES.forEach(function(j){if(j in g&&g[j].length>0){h=true;};});if(!h){i.__touchHandler=null;};};};}},defer:function(k){qxWeb.$registerEventHook(k.TYPES,k.register,k.unregister);}});})();(function(){var a="touchmove",b="os.name",c="MSPointerDown",d="android",e="engine.version",f="pointercancel",g="qx.event.handler.TouchCore",h="event.mspointer",j="MSPointerCancel",k="y",l="pointer-events",m="pointerup",n="touchend",o="pointerdown",p="MSPointerUp",q="right",r="engine.name",s="undefined",t="touchcancel",u="MSPointerMove",v="webkit",w="none",z="left",A="pointermove",B="down",C="x",D="up",E="touchstart";qx.Bootstrap.define(g,{extend:Object,statics:{TAP_MAX_DISTANCE:qx.core.Environment.get(b)!=d?10:40,SWIPE_DIRECTION:{x:[z,q],y:[D,B]},SWIPE_MIN_DISTANCE:qx.core.Environment.get(b)!=d?11:41,SWIPE_MIN_VELOCITY:0,LONGTAP_TIME:500},construct:function(F,G){this.__target=F;this.__emitter=G;this._initTouchObserver();this.__pointers=[];this.__touchStartPosition={};},members:{__target:null,__emitter:null,__onTouchEventWrapper:null,__originalTarget:null,__touchStartPosition:null,__startTime:null,__beginScalingDistance:null,__beginRotation:null,__pointers:null,__touchEventNames:null,_initTouchObserver:function(){this.__onTouchEventWrapper=qx.lang.Function.listener(this._onTouchEvent,this);this.__touchEventNames=[E,a,n,t];if(qx.core.Environment.get(h)){var H=parseInt(qx.core.Environment.get(e),10);if(H==10){this.__touchEventNames=[c,u,p,j];}else {this.__touchEventNames=[o,A,m,f];};};for(var i=0;i<this.__touchEventNames.length;i++ ){qx.bom.Event.addNativeListener(this.__target,this.__touchEventNames[i],this.__onTouchEventWrapper);};},_stopTouchObserver:function(){for(var i=0;i<this.__touchEventNames.length;i++ ){qx.bom.Event.removeNativeListener(this.__target,this.__touchEventNames[i],this.__onTouchEventWrapper);};},_onTouchEvent:function(I){this._commonTouchEventHandler(I);},_getScalingDistance:function(K,J){return (Math.sqrt(Math.pow(K.pageX-J.pageX,2)+Math.pow(K.pageY-J.pageY,2)));},_getRotationAngle:function(M,L){var x=M.pageX-L.pageX;var y=M.pageY-L.pageY;return (Math.atan2(y,x)*180/Math.PI);},_calcTouchesDelta:function(N){var O=[];for(var i=0;i<N.length;i++ ){O.push(this._calcSingleTouchDelta(N[i]));};return O;},_calcSingleTouchDelta:function(S){if(this.__touchStartPosition.hasOwnProperty(S.identifier)){var R=this.__touchStartPosition[S.identifier];var P=Math.floor(S.clientX-R[0]);var Q=Math.floor(S.clientY-R[1]);var T=C;if(Math.abs(P/Q)<1){T=k;};return {"x":P,"y":Q,"axis":T,"identifier":S.identifier};}else {return {"x":0,"y":0,"axis":null,"identifier":S.identifier};};},_commonTouchEventHandler:function(V,ba){var ba=ba||V.type;if(qx.core.Environment.get(h)){ba=this._mapPointerEvent(ba);var U=this._detectTouchesByPointer(V,ba);V.changedTouches=U;V.targetTouches=U;V.touches=U;};V.delta=[];if(ba==E){this.__originalTarget=this._getTarget(V);if(V.touches&&V.touches.length>1){this.__beginScalingDistance=this._getScalingDistance(V.touches[0],V.touches[1]);this.__beginRotation=this._getRotationAngle(V.touches[0],V.touches[1]);};for(var i=0;i<V.changedTouches.length;i++ ){var Y=V.changedTouches[i];this.__touchStartPosition[Y.identifier]=[Y.clientX,Y.clientY];};};if(ba==a){if(typeof V.scale==s&&V.targetTouches.length>1){var W=this._getScalingDistance(V.targetTouches[0],V.targetTouches[1]);V.scale=W/this.__beginScalingDistance;};if((typeof V.rotation==s||qx.core.Environment.get(h))&&V.targetTouches.length>1){var X=this._getRotationAngle(V.targetTouches[0],V.targetTouches[1]);V._rotation=X-this.__beginRotation;};V.delta=this._calcTouchesDelta(V.targetTouches);};this._fireEvent(V,ba,this.__originalTarget);if(qx.core.Environment.get(h)){if(ba==n||ba==t){delete this.__pointers[V.pointerId];};};if(ba==n||ba==t&&V.changedTouches[0]){delete this.__touchStartPosition[V.changedTouches[0].identifier];};},_detectTouchesByPointer:function(bd,bf){var bc=[];if(bf==E){this.__pointers[bd.pointerId]=bd;}else if(bf==a){this.__pointers[bd.pointerId]=bd;};for(var be in this.__pointers){var bb=this.__pointers[be];bc.push(bb);};return bc;},_mapPointerEvent:function(bg){bg=bg.toLowerCase();if(bg.indexOf(o)!==-1){return E;}else if(bg.indexOf(m)!==-1){return n;}else if(bg.indexOf(A)!==-1){return a;}else if(bg.indexOf(f)!==-1){return t;};return bg;},_getTarget:function(bi){var bj=qx.bom.Event.getTarget(bi);if(qx.core.Environment.get(r)==v){if(bj&&bj.nodeType==3){bj=bj.parentNode;};}else if(qx.core.Environment.get(h)){var bh=this.__evaluateTarget(bi);if(bh){bj=bh;};};return bj;},__evaluateTarget:function(bm){var bk=null;var bl=null;if(bm&&bm.touches&&bm.touches.length!==0){bk=bm.touches[0].clientX;bl=bm.touches[0].clientY;};var bo=document.msElementsFromPoint(bk,bl);if(bo){for(var i=0;i<bo.length;i++ ){var bp=bo[i];var bn=qx.bom.element.Style.get(bp,l,3);if(bn!=w){return bp;};};};return null;},_fireEvent:function(bq,br,bs){if(!bs){bs=this._getTarget(bq);};var br=br||bq.type;if(bs&&bs.nodeType&&this.__emitter){this.__emitter.emit(br,bq);};},dispose:function(){this._stopTouchObserver();this.__originalTarget=this.__target=this.__touchEventNames=this.__pointers=this.__emitter=this.__beginScalingDistance=this.__beginRotation=null;}}});})();(function(){var a="landscape",b="getOrientation",c="portrait",d="orientationchange",e="isLandscape",f="function",g="qx.module.event.Orientation",h="isPortrait";qx.Bootstrap.define(g,{statics:{TYPES:[d],BIND_METHODS:[b,e,h],getOrientation:function(){return this._orientation;},isLandscape:function(){return this._mode==a;},isPortrait:function(){return this._mode==c;},normalize:function(event,k,m){if(!event){return event;};event._type=m;var j=qx.module.event.Orientation.BIND_METHODS;for(var i=0,l=j.length;i<l;i++ ){if(typeof event[j[i]]!=f){event[j[i]]=qx.module.event.Orientation[j[i]].bind(event);};};return event;}},defer:function(n){qxWeb.$registerEventNormalization(n.TYPES,n.normalize);}});})();(function(){var a="qx.util.Function",b="undefined";qx.Bootstrap.define(a,{statics:{debounce:function(d,c,e){var f=function(){arguments.callee.immediate=!!(e);arguments.callee.args=qx.lang.Array.fromArguments(arguments);var g=this;var i=arguments.callee.intervalId;if(typeof i===b){var h=window.setInterval((function(){if(!this.fired){window.clearInterval(this.intervalId);delete this.intervalId;if(this.immediate===false){d.apply(g,this.args);};};this.fired=false;}).bind(arguments.callee),c);arguments.callee.intervalId=h;if(arguments.callee.immediate){d.apply(g,arguments.callee.args);};};arguments.callee.fired=true;};return f;},throttle:function(n,m,q){if(typeof q===b){q={};};var k,l,o;var p=null;var r=0;var j=function(){r=q.leading===false?0:new Date();p=null;o=n.apply(k,l);};return function(){var s=new Date();if(!r&&q.leading===false){r=s;};var t=m-(s-r);k=this;l=arguments;if(t<=0){window.clearTimeout(p);p=null;r=s;o=n.apply(k,l);}else if(!p&&q.trailing!==false){p=window.setTimeout(j,t);};return o;};}}});})();(function(){var a="qx.module.util.Function";qx.Bootstrap.define(a,{statics:{debounce:qx.util.Function.debounce,throttle:qx.util.Function.throttle},defer:function(b){qxWeb.$attachStatic({func:{debounce:b.debounce,throttle:b.throttle}});}});})();(function(){var a="qx.module.Core";qx.Bootstrap.define(a,{});})();(function(){var a="text",b="engine.name",c="password",d="keypress",e="mshtml",f="textarea",g="function",h="input",j="gecko",k="getKeyIdentifier",m="Backspace",n="keydown",o="qx.module.event.Keyboard",p="keyup",q="browser.documentmode";qx.Bootstrap.define(o,{statics:{TYPES:[n,d,p],BIND_METHODS:[k],getKeyIdentifier:function(){if(this.type==d&&(qxWeb.env.get(b)!=j||this.charCode!==0)){return qx.event.util.Keyboard.charCodeToIdentifier(this.charCode||this.keyCode);};return qx.event.util.Keyboard.keyCodeToIdentifier(this.keyCode);},normalize:function(event,s){if(!event){return event;};var r=qx.module.event.Keyboard.BIND_METHODS;for(var i=0,l=r.length;i<l;i++ ){if(typeof event[r[i]]!=g){event[r[i]]=qx.module.event.Keyboard[r[i]].bind(event);};};return event;},registerInputFix:function(t){if(t.type===a||t.type===c||t.type===f){if(!t.__inputFix){t.__inputFix=qxWeb(t).on(p,qx.module.event.Keyboard._inputFix);};};},unregisterInputFix:function(u){if(u.__inputFix&&!qxWeb(u).hasListener(h)){qxWeb(u).off(p,qx.module.event.Keyboard._inputFix);u.__inputFix=null;};},_inputFix:function(v){if(v.getKeyIdentifier()!==m){return;};var w=v.getTarget();var x=qxWeb(w).getValue();if(!w.__oldInputValue||w.__oldInputValue!==x){w.__oldInputValue=x;v.type=v._type=h;w.$$emitter.emit(h,v);};}},defer:function(y){qxWeb.$registerEventNormalization(qx.module.event.Keyboard.TYPES,y.normalize);if(qxWeb.env.get(b)===e&&qxWeb.env.get(q)===9){qxWeb.$registerEventHook(h,y.registerInputFix,y.unregisterInputFix);};}});})();(function(){var a="-",b="PageUp",c="Escape",d="Enter",e="+",f="PrintScreen",g="os.name",h="7",i="A",j="Space",k="Left",l="5",m="F5",n="Down",o="Up",p="3",q="Meta",r="F11",s="0",t="F6",u="PageDown",v="osx",w="CapsLock",x="Insert",y="F8",z="Scroll",A="Control",B="Tab",C="Shift",D="End",E="Pause",F="Unidentified",G="/",H="8",I="Z",J="*",K="cmd",L="F1",M="F4",N="Home",O="qx.event.util.Keyboard",P="F2",Q="6",R="F7",S="Apps",T="4",U="F12",V="Alt",W="2",X="NumLock",Y="Delete",bn="1",bo="Win",bp="Backspace",bj="F9",bk="F10",bl="Right",bm="F3",bq="9",br=",";qx.Bootstrap.define(O,{statics:{specialCharCodeMap:{'8':bp,'9':B,'13':d,'27':c,'32':j},numpadToCharCode:{'96':s.charCodeAt(0),'97':bn.charCodeAt(0),'98':W.charCodeAt(0),'99':p.charCodeAt(0),'100':T.charCodeAt(0),'101':l.charCodeAt(0),'102':Q.charCodeAt(0),'103':h.charCodeAt(0),'104':H.charCodeAt(0),'105':bq.charCodeAt(0),'106':J.charCodeAt(0),'107':e.charCodeAt(0),'109':a.charCodeAt(0),'110':br.charCodeAt(0),'111':G.charCodeAt(0)},keyCodeToIdentifierMap:{'16':C,'17':A,'18':V,'20':w,'224':q,'37':k,'38':o,'39':bl,'40':n,'33':b,'34':u,'35':D,'36':N,'45':x,'46':Y,'112':L,'113':P,'114':bm,'115':M,'116':m,'117':t,'118':R,'119':y,'120':bj,'121':bk,'122':r,'123':U,'144':X,'44':f,'145':z,'19':E,'91':qx.core.Environment.get(g)==v?K:bo,'92':bo,'93':qx.core.Environment.get(g)==v?K:S},charCodeA:i.charCodeAt(0),charCodeZ:I.charCodeAt(0),charCode0:s.charCodeAt(0),charCode9:bq.charCodeAt(0),keyCodeToIdentifier:function(bs){if(this.isIdentifiableKeyCode(bs)){var bt=this.numpadToCharCode[bs];if(bt){return String.fromCharCode(bt);};return (this.keyCodeToIdentifierMap[bs]||this.specialCharCodeMap[bs]||String.fromCharCode(bs));}else {return F;};},charCodeToIdentifier:function(bu){return this.specialCharCodeMap[bu]||String.fromCharCode(bu).toUpperCase();},isIdentifiableKeyCode:function(bv){if(bv>=this.charCodeA&&bv<=this.charCodeZ){return true;};if(bv>=this.charCode0&&bv<=this.charCode9){return true;};if(this.specialCharCodeMap[bv]){return true;};if(this.numpadToCharCode[bv]){return true;};if(this.isNonPrintableKeyCode(bv)){return true;};return false;},isNonPrintableKeyCode:function(bw){return this.keyCodeToIdentifierMap[bw]?true:false;}},defer:function(bx,by){if(!bx.identifierToKeyCodeMap){bx.identifierToKeyCodeMap={};for(var bz in bx.keyCodeToIdentifierMap){bx.identifierToKeyCodeMap[bx.keyCodeToIdentifierMap[bz]]=parseInt(bz,10);};for(var bz in bx.specialCharCodeMap){bx.identifierToKeyCodeMap[bx.specialCharCodeMap[bz]]=parseInt(bz,10);};};}});})();(function(){var a="",b=";path=",c="=",d=";expires=Thu, 01-Jan-1970 00:00:01 GMT",e="qx.bom.Cookie",f=";expires=",g=";",h=";domain=",i=";secure";qx.Bootstrap.define(e,{statics:{get:function(l){var j=document.cookie.indexOf(l+c);var m=j+l.length+1;if((!j)&&(l!=document.cookie.substring(0,l.length))){return null;};if(j==-1){return null;};var k=document.cookie.indexOf(g,m);if(k==-1){k=document.cookie.length;};return unescape(document.cookie.substring(m,k));},set:function(s,q,p,t,n,o){var r=[s,c,escape(q)];if(p){var u=new Date();u.setTime(u.getTime());r.push(f,new Date(u.getTime()+(p*1000*60*60*24)).toGMTString());};if(t){r.push(b,t);};if(n){r.push(h,n);};if(o){r.push(i);};document.cookie=r.join(a);},del:function(y,v,w){if(!qx.bom.Cookie.get(y)){return;};var x=[y,c];if(v){x.push(b,v);};if(w){x.push(h,w);};x.push(d);document.cookie=x.join(a);}}});})();(function(){var a="qx.module.Cookie";qx.Bootstrap.define(a,{statics:{get:qx.bom.Cookie.get,set:qx.bom.Cookie.set,del:qx.bom.Cookie.del},defer:function(b){qxWeb.$attachStatic({"cookie":{get:b.get,set:b.set,del:b.del}});}});})();
var exp = envinfo["qx.export"];
if (exp) {
for (var name in exp) {
var c = exp[name].split(".");
var root = window;
for (var i=0; i < c.length; i++) {
root = root[c[i]];
};
window[name] = root;
}
}
window["qx"] = undefined;
try {
delete window.qx;
} catch(e) {}
})();